]> git.saurik.com Git - wxWidgets.git/blob - configure
Fix after removal of PRIOR/NEXT in common headers.
[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_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_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-constraints use layout-constraints system
957 --enable-printarch use printing architecture
958 --enable-mdi use multiple document interface architecture
959 --enable-mdidoc use docview architecture with MDI
960 --enable-loggui use standard GUI logger
961 --enable-logwin use wxLogWindow
962 --enable-logdialog use wxLogDialog
963 --enable-webkit use wxWebKitCtrl (Mac)
964 --enable-richtext use wxRichTextCtrl
965 --enable-postscript use wxPostscriptDC device context (default for gtk+)
966 --enable-prologio not available; see contrib
967 --enable-resources not available; see contrib
968 --enable-clipboard use wxClipboard class
969 --enable-dnd use Drag'n'Drop classes
970 --enable-metafile use win32 metafiles
971 --enable-controls use all usual controls
972 --enable-accel use accelerators
973 --enable-button use wxButton class
974 --enable-bmpbutton use wxBitmapButton class
975 --enable-calendar use wxCalendarCtrl class
976 --enable-caret use wxCaret class
977 --enable-checkbox use wxCheckBox class
978 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
979 --enable-choice use wxChoice class
980 --enable-choicebook use wxChoicebook class
981 --enable-combobox use wxComboBox class
982 --enable-datepick use wxDatePickerCtrl class
983 --enable-display use wxDisplay class
984 --enable-gauge use wxGauge class
985 --enable-grid use wxGrid class
986 --enable-dataviewctrl, use wxDataViewCtrl class
987 --enable-imaglist use wxImageList class
988 --enable-listbook use wxListbook class
989 --enable-listbox use wxListBox class
990 --enable-listctrl use wxListCtrl class
991 --enable-notebook use wxNotebook class
992 --enable-radiobox use wxRadioBox class
993 --enable-radiobtn use wxRadioButton class
994 --enable-sash use wxSashWindow class
995 --enable-scrollbar use wxScrollBar class and scrollable windows
996 --enable-slider use wxSlider class
997 --enable-spinbtn use wxSpinButton class
998 --enable-spinctrl use wxSpinCtrl class
999 --enable-splitter use wxSplitterWindow class
1000 --enable-statbmp use wxStaticBitmap class
1001 --enable-statbox use wxStaticBox class
1002 --enable-statline use wxStaticLine class
1003 --enable-stattext use wxStaticText class
1004 --enable-statusbar use wxStatusBar class
1005 --enable-tabdialog use wxTabControl class
1006 --enable-textctrl use wxTextCtrl class
1007 --enable-togglebtn use wxToggleButton class
1008 --enable-toolbar use wxToolBar class
1009 --enable-tbarnative use native wxToolBar class
1010 --enable-tbarsmpl use wxToolBarSimple class
1011 --enable-treebook use wxTreebook class
1012 --enable-toolbook use wxToolbook class
1013 --enable-treectrl use wxTreeCtrl class
1014 --enable-tipwindow use wxTipWindow class
1015 --enable-popupwin use wxPopUpWindow class
1016 --enable-commondlg use all common dialogs
1017 --enable-choicedlg use wxChoiceDialog
1018 --enable-coldlg use wxColourDialog
1019 --enable-filedlg use wxFileDialog
1020 --enable-finddlg use wxFindReplaceDialog
1021 --enable-fontdlg use wxFontDialog
1022 --enable-dirdlg use wxDirDialog
1023 --enable-msgdlg use wxMessageDialog
1024 --enable-numberdlg use wxNumberEntryDialog
1025 --enable-splash use wxSplashScreen
1026 --enable-textdlg use wxTextDialog
1027 --enable-tipdlg use startup tips
1028 --enable-progressdlg use wxProgressDialog
1029 --enable-wizarddlg use wxWizard
1030 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1031 --enable-miniframe use wxMiniFrame class
1032 --enable-tooltips use wxToolTip class
1033 --enable-splines use spline drawing code
1034 --enable-mousewheel use mousewheel
1035 --enable-validators use wxValidator and derived classes
1036 --enable-busyinfo use wxBusyInfo
1037 --enable-joystick use wxJoystick
1038 --enable-metafiles use wxMetaFile (Win32 only)
1039 --enable-dragimage use wxDragImage
1040 --enable-accessibility enable accessibility support
1041 --enable-dccache cache temporary wxDC objects (Win32 only)
1042 --enable-palette use wxPalette class
1043 --enable-image use wxImage class
1044 --enable-gif use gif images (GIF file format)
1045 --enable-pcx use pcx images (PCX file format)
1046 --enable-iff use iff images (IFF file format)
1047 --enable-pnm use pnm images (PNM file format)
1048 --enable-xpm use xpm images (XPM file format)
1049 --enable-icocur use Windows ICO and CUR formats
1050 --enable-official_build official build of wxWidgets (win32 DLL only)
1051 --enable-vendor=VENDOR vendor name (win32 DLL only)
1052 --disable-largefile omit support for large files
1053 --disable-gtktest do not try to compile and run a test GTK+ program
1054 --disable-gtktest Do not try to compile and run a test GTK program
1055 --disable-sdltest Do not try to compile and run a test SDL program
1056 --enable-omf use OMF object format (OS/2)
1057 --disable-dependency-tracking
1058 don't use dependency tracking even if the compiler
1059 can
1060 --disable-precomp-headers
1061 don't use precompiled headers even if compiler can
1062
1063 Optional Packages:
1064 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1065 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1066 --without-subdirs don't generate makefiles for samples/demos/...
1067 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1068 --with-motif use Motif/Lesstif
1069 --with-mac use Mac OS X
1070 --with-cocoa use Cocoa
1071 --with-wine use Wine
1072 --with-msw use MS-Windows
1073 --with-pm use OS/2 Presentation Manager
1074 --with-mgl use SciTech MGL
1075 --with-microwin use MicroWindows
1076 --with-x11 use X11
1077 --with-libpng use libpng (PNG image format)
1078 --with-libjpeg use libjpeg (JPEG file format)
1079 --with-libtiff use libtiff (TIFF file format)
1080 --with-libxpm use libxpm (XPM file format)
1081 --with-libmspack use libmspack (CHM help files loading)
1082 --with-sdl use SDL for audio on Unix
1083 --with-gnomeprint use GNOME print for printing under GNOME
1084 --with-gnomevfs use GNOME VFS for associating MIME types
1085 --with-hildon use Hildon framework for Nokia 770
1086 --with-opengl use OpenGL (or Mesa)
1087 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1088 --with-regex enable support for wxRegEx class
1089 --with-zlib use zlib for LZW compression
1090 --with-odbc use the IODBC and wxODBC classes
1091 --with-expat enable XML support using expat parser
1092 --with-flavour=NAME specify a name to identify this build
1093 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1094 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1095 --with-x use the X Window System
1096 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1097 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1098 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1099 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1100 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1101
1102 Some influential environment variables:
1103 CC C compiler command
1104 CFLAGS C compiler flags
1105 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1106 nonstandard directory <lib dir>
1107 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1108 headers in a nonstandard directory <include dir>
1109 CPP C preprocessor
1110 CXX C++ compiler command
1111 CXXFLAGS C++ compiler flags
1112 CXXCPP C++ preprocessor
1113
1114 Use these variables to override the choices made by `configure' or to help
1115 it to find libraries and programs with nonstandard names/locations.
1116
1117 Report bugs to <wx-dev@lists.wxwidgets.org>.
1118 _ACEOF
1119 fi
1120
1121 if test "$ac_init_help" = "recursive"; then
1122 # If there are subdirs, report their specific --help.
1123 ac_popdir=`pwd`
1124 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1125 test -d $ac_dir || continue
1126 ac_builddir=.
1127
1128 if test "$ac_dir" != .; then
1129 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1130 # A "../" for each directory in $ac_dir_suffix.
1131 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1132 else
1133 ac_dir_suffix= ac_top_builddir=
1134 fi
1135
1136 case $srcdir in
1137 .) # No --srcdir option. We are building in place.
1138 ac_srcdir=.
1139 if test -z "$ac_top_builddir"; then
1140 ac_top_srcdir=.
1141 else
1142 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1143 fi ;;
1144 [\\/]* | ?:[\\/]* ) # Absolute path.
1145 ac_srcdir=$srcdir$ac_dir_suffix;
1146 ac_top_srcdir=$srcdir ;;
1147 *) # Relative path.
1148 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1149 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1150 esac
1151
1152 # Do not use `cd foo && pwd` to compute absolute paths, because
1153 # the directories may not exist.
1154 case `pwd` in
1155 .) ac_abs_builddir="$ac_dir";;
1156 *)
1157 case "$ac_dir" in
1158 .) ac_abs_builddir=`pwd`;;
1159 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1160 *) ac_abs_builddir=`pwd`/"$ac_dir";;
1161 esac;;
1162 esac
1163 case $ac_abs_builddir in
1164 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1165 *)
1166 case ${ac_top_builddir}. in
1167 .) ac_abs_top_builddir=$ac_abs_builddir;;
1168 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1169 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1170 esac;;
1171 esac
1172 case $ac_abs_builddir in
1173 .) ac_abs_srcdir=$ac_srcdir;;
1174 *)
1175 case $ac_srcdir in
1176 .) ac_abs_srcdir=$ac_abs_builddir;;
1177 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1178 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1179 esac;;
1180 esac
1181 case $ac_abs_builddir in
1182 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1183 *)
1184 case $ac_top_srcdir in
1185 .) ac_abs_top_srcdir=$ac_abs_builddir;;
1186 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1187 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1188 esac;;
1189 esac
1190
1191 cd $ac_dir
1192 # Check for guested configure; otherwise get Cygnus style configure.
1193 if test -f $ac_srcdir/configure.gnu; then
1194 echo
1195 $SHELL $ac_srcdir/configure.gnu --help=recursive
1196 elif test -f $ac_srcdir/configure; then
1197 echo
1198 $SHELL $ac_srcdir/configure --help=recursive
1199 elif test -f $ac_srcdir/configure.ac ||
1200 test -f $ac_srcdir/configure.in; then
1201 echo
1202 $ac_configure --help
1203 else
1204 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1205 fi
1206 cd $ac_popdir
1207 done
1208 fi
1209
1210 test -n "$ac_init_help" && exit 0
1211 if $ac_init_version; then
1212 cat <<\_ACEOF
1213 wxWidgets configure 2.7.0
1214 generated by GNU Autoconf 2.59
1215
1216 Copyright (C) 2003 Free Software Foundation, Inc.
1217 This configure script is free software; the Free Software Foundation
1218 gives unlimited permission to copy, distribute and modify it.
1219 _ACEOF
1220 exit 0
1221 fi
1222 exec 5>config.log
1223 cat >&5 <<_ACEOF
1224 This file contains any messages produced by compilers while
1225 running configure, to aid debugging if configure makes a mistake.
1226
1227 It was created by wxWidgets $as_me 2.7.0, which was
1228 generated by GNU Autoconf 2.59. Invocation command line was
1229
1230 $ $0 $@
1231
1232 _ACEOF
1233 {
1234 cat <<_ASUNAME
1235 ## --------- ##
1236 ## Platform. ##
1237 ## --------- ##
1238
1239 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1240 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1241 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1242 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1243 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1244
1245 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1246 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1247
1248 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1249 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1250 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1251 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1252 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1253 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1254 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1255
1256 _ASUNAME
1257
1258 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1259 for as_dir in $PATH
1260 do
1261 IFS=$as_save_IFS
1262 test -z "$as_dir" && as_dir=.
1263 echo "PATH: $as_dir"
1264 done
1265
1266 } >&5
1267
1268 cat >&5 <<_ACEOF
1269
1270
1271 ## ----------- ##
1272 ## Core tests. ##
1273 ## ----------- ##
1274
1275 _ACEOF
1276
1277
1278 # Keep a trace of the command line.
1279 # Strip out --no-create and --no-recursion so they do not pile up.
1280 # Strip out --silent because we don't want to record it for future runs.
1281 # Also quote any args containing shell meta-characters.
1282 # Make two passes to allow for proper duplicate-argument suppression.
1283 ac_configure_args=
1284 ac_configure_args0=
1285 ac_configure_args1=
1286 ac_sep=
1287 ac_must_keep_next=false
1288 for ac_pass in 1 2
1289 do
1290 for ac_arg
1291 do
1292 case $ac_arg in
1293 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1294 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1295 | -silent | --silent | --silen | --sile | --sil)
1296 continue ;;
1297 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1298 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1299 esac
1300 case $ac_pass in
1301 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1302 2)
1303 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1304 if test $ac_must_keep_next = true; then
1305 ac_must_keep_next=false # Got value, back to normal.
1306 else
1307 case $ac_arg in
1308 *=* | --config-cache | -C | -disable-* | --disable-* \
1309 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1310 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1311 | -with-* | --with-* | -without-* | --without-* | --x)
1312 case "$ac_configure_args0 " in
1313 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1314 esac
1315 ;;
1316 -* ) ac_must_keep_next=true ;;
1317 esac
1318 fi
1319 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1320 # Get rid of the leading space.
1321 ac_sep=" "
1322 ;;
1323 esac
1324 done
1325 done
1326 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1327 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1328
1329 # When interrupted or exit'd, cleanup temporary files, and complete
1330 # config.log. We remove comments because anyway the quotes in there
1331 # would cause problems or look ugly.
1332 # WARNING: Be sure not to use single quotes in there, as some shells,
1333 # such as our DU 5.0 friend, will then `close' the trap.
1334 trap 'exit_status=$?
1335 # Save into config.log some information that might help in debugging.
1336 {
1337 echo
1338
1339 cat <<\_ASBOX
1340 ## ---------------- ##
1341 ## Cache variables. ##
1342 ## ---------------- ##
1343 _ASBOX
1344 echo
1345 # The following way of writing the cache mishandles newlines in values,
1346 {
1347 (set) 2>&1 |
1348 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1349 *ac_space=\ *)
1350 sed -n \
1351 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1352 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1353 ;;
1354 *)
1355 sed -n \
1356 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1357 ;;
1358 esac;
1359 }
1360 echo
1361
1362 cat <<\_ASBOX
1363 ## ----------------- ##
1364 ## Output variables. ##
1365 ## ----------------- ##
1366 _ASBOX
1367 echo
1368 for ac_var in $ac_subst_vars
1369 do
1370 eval ac_val=$`echo $ac_var`
1371 echo "$ac_var='"'"'$ac_val'"'"'"
1372 done | sort
1373 echo
1374
1375 if test -n "$ac_subst_files"; then
1376 cat <<\_ASBOX
1377 ## ------------- ##
1378 ## Output files. ##
1379 ## ------------- ##
1380 _ASBOX
1381 echo
1382 for ac_var in $ac_subst_files
1383 do
1384 eval ac_val=$`echo $ac_var`
1385 echo "$ac_var='"'"'$ac_val'"'"'"
1386 done | sort
1387 echo
1388 fi
1389
1390 if test -s confdefs.h; then
1391 cat <<\_ASBOX
1392 ## ----------- ##
1393 ## confdefs.h. ##
1394 ## ----------- ##
1395 _ASBOX
1396 echo
1397 sed "/^$/d" confdefs.h | sort
1398 echo
1399 fi
1400 test "$ac_signal" != 0 &&
1401 echo "$as_me: caught signal $ac_signal"
1402 echo "$as_me: exit $exit_status"
1403 } >&5
1404 rm -f core *.core &&
1405 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1406 exit $exit_status
1407 ' 0
1408 for ac_signal in 1 2 13 15; do
1409 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1410 done
1411 ac_signal=0
1412
1413 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1414 rm -rf conftest* confdefs.h
1415 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1416 echo >confdefs.h
1417
1418 # Predefined preprocessor variables.
1419
1420 cat >>confdefs.h <<_ACEOF
1421 #define PACKAGE_NAME "$PACKAGE_NAME"
1422 _ACEOF
1423
1424
1425 cat >>confdefs.h <<_ACEOF
1426 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1427 _ACEOF
1428
1429
1430 cat >>confdefs.h <<_ACEOF
1431 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1432 _ACEOF
1433
1434
1435 cat >>confdefs.h <<_ACEOF
1436 #define PACKAGE_STRING "$PACKAGE_STRING"
1437 _ACEOF
1438
1439
1440 cat >>confdefs.h <<_ACEOF
1441 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1442 _ACEOF
1443
1444
1445 # Let the site file select an alternate cache file if it wants to.
1446 # Prefer explicitly selected file to automatically selected ones.
1447 if test -z "$CONFIG_SITE"; then
1448 if test "x$prefix" != xNONE; then
1449 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1450 else
1451 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1452 fi
1453 fi
1454 for ac_site_file in $CONFIG_SITE; do
1455 if test -r "$ac_site_file"; then
1456 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1457 echo "$as_me: loading site script $ac_site_file" >&6;}
1458 sed 's/^/| /' "$ac_site_file" >&5
1459 . "$ac_site_file"
1460 fi
1461 done
1462
1463 if test -r "$cache_file"; then
1464 # Some versions of bash will fail to source /dev/null (special
1465 # files actually), so we avoid doing that.
1466 if test -f "$cache_file"; then
1467 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1468 echo "$as_me: loading cache $cache_file" >&6;}
1469 case $cache_file in
1470 [\\/]* | ?:[\\/]* ) . $cache_file;;
1471 *) . ./$cache_file;;
1472 esac
1473 fi
1474 else
1475 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1476 echo "$as_me: creating cache $cache_file" >&6;}
1477 >$cache_file
1478 fi
1479
1480 # Check that the precious variables saved in the cache have kept the same
1481 # value.
1482 ac_cache_corrupted=false
1483 for ac_var in `(set) 2>&1 |
1484 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1485 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1486 eval ac_new_set=\$ac_env_${ac_var}_set
1487 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1488 eval ac_new_val="\$ac_env_${ac_var}_value"
1489 case $ac_old_set,$ac_new_set in
1490 set,)
1491 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1492 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1493 ac_cache_corrupted=: ;;
1494 ,set)
1495 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1496 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1497 ac_cache_corrupted=: ;;
1498 ,);;
1499 *)
1500 if test "x$ac_old_val" != "x$ac_new_val"; then
1501 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1502 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1503 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1504 echo "$as_me: former value: $ac_old_val" >&2;}
1505 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1506 echo "$as_me: current value: $ac_new_val" >&2;}
1507 ac_cache_corrupted=:
1508 fi;;
1509 esac
1510 # Pass precious variables to config.status.
1511 if test "$ac_new_set" = set; then
1512 case $ac_new_val in
1513 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1514 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1515 *) ac_arg=$ac_var=$ac_new_val ;;
1516 esac
1517 case " $ac_configure_args " in
1518 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1519 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1520 esac
1521 fi
1522 done
1523 if $ac_cache_corrupted; then
1524 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1525 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1526 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1527 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1528 { (exit 1); exit 1; }; }
1529 fi
1530
1531 ac_ext=c
1532 ac_cpp='$CPP $CPPFLAGS'
1533 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1534 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1535 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566 ac_aux_dir=
1567 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1568 if test -f $ac_dir/install-sh; then
1569 ac_aux_dir=$ac_dir
1570 ac_install_sh="$ac_aux_dir/install-sh -c"
1571 break
1572 elif test -f $ac_dir/install.sh; then
1573 ac_aux_dir=$ac_dir
1574 ac_install_sh="$ac_aux_dir/install.sh -c"
1575 break
1576 elif test -f $ac_dir/shtool; then
1577 ac_aux_dir=$ac_dir
1578 ac_install_sh="$ac_aux_dir/shtool install -c"
1579 break
1580 fi
1581 done
1582 if test -z "$ac_aux_dir"; then
1583 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1584 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1585 { (exit 1); exit 1; }; }
1586 fi
1587 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1588 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1589 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1590
1591 # Make sure we can run config.sub.
1592 $ac_config_sub sun4 >/dev/null 2>&1 ||
1593 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1594 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1595 { (exit 1); exit 1; }; }
1596
1597 echo "$as_me:$LINENO: checking build system type" >&5
1598 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1599 if test "${ac_cv_build+set}" = set; then
1600 echo $ECHO_N "(cached) $ECHO_C" >&6
1601 else
1602 ac_cv_build_alias=$build_alias
1603 test -z "$ac_cv_build_alias" &&
1604 ac_cv_build_alias=`$ac_config_guess`
1605 test -z "$ac_cv_build_alias" &&
1606 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1607 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1608 { (exit 1); exit 1; }; }
1609 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1610 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1611 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1612 { (exit 1); exit 1; }; }
1613
1614 fi
1615 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1616 echo "${ECHO_T}$ac_cv_build" >&6
1617 build=$ac_cv_build
1618 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1619 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1620 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1621
1622
1623 echo "$as_me:$LINENO: checking host system type" >&5
1624 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1625 if test "${ac_cv_host+set}" = set; then
1626 echo $ECHO_N "(cached) $ECHO_C" >&6
1627 else
1628 ac_cv_host_alias=$host_alias
1629 test -z "$ac_cv_host_alias" &&
1630 ac_cv_host_alias=$ac_cv_build_alias
1631 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1632 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1633 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1634 { (exit 1); exit 1; }; }
1635
1636 fi
1637 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1638 echo "${ECHO_T}$ac_cv_host" >&6
1639 host=$ac_cv_host
1640 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1641 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1642 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1643
1644
1645 echo "$as_me:$LINENO: checking target system type" >&5
1646 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1647 if test "${ac_cv_target+set}" = set; then
1648 echo $ECHO_N "(cached) $ECHO_C" >&6
1649 else
1650 ac_cv_target_alias=$target_alias
1651 test "x$ac_cv_target_alias" = "x" &&
1652 ac_cv_target_alias=$ac_cv_host_alias
1653 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1654 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1655 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1656 { (exit 1); exit 1; }; }
1657
1658 fi
1659 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1660 echo "${ECHO_T}$ac_cv_target" >&6
1661 target=$ac_cv_target
1662 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1663 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1664 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1665
1666
1667 # The aliases save the names the user supplied, while $host etc.
1668 # will get canonicalized.
1669 test -n "$target_alias" &&
1670 test "$program_prefix$program_suffix$program_transform_name" = \
1671 NONENONEs,x,x, &&
1672 program_prefix=${target_alias}-
1673
1674
1675
1676 wx_major_version_number=2
1677 wx_minor_version_number=7
1678 wx_release_number=0
1679 wx_subrelease_number=0
1680
1681 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
1682 WX_VERSION=$WX_RELEASE.$wx_release_number
1683 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
1684
1685 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
1686
1687
1688
1689
1690 USE_UNIX=1
1691 USE_OS2=0
1692 USE_WIN32=0
1693 USE_DOS=0
1694 USE_BEOS=0
1695 USE_MAC=0
1696
1697 USE_AIX=
1698 USE_BSD= USE_DARWIN= USE_FREEBSD=
1699 USE_GNU= USE_HPUX=
1700 USE_LINUX=
1701 USE_NETBSD=
1702 USE_OPENBSD=
1703 USE_OSF= USE_SGI=
1704 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
1705 USE_ULTRIX=
1706 USE_UNIXWARE=
1707
1708 USE_ALPHA=
1709
1710 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
1711
1712 ALL_TOOLKITS="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11"
1713
1714 DEFAULT_wxUSE_COCOA=0
1715 DEFAULT_wxUSE_GTK=0
1716 DEFAULT_wxUSE_MAC=0
1717 DEFAULT_wxUSE_MGL=0
1718 DEFAULT_wxUSE_MICROWIN=0
1719 DEFAULT_wxUSE_MOTIF=0
1720 DEFAULT_wxUSE_MSW=0
1721 DEFAULT_wxUSE_PM=0
1722 DEFAULT_wxUSE_X11=0
1723
1724 DEFAULT_DEFAULT_wxUSE_COCOA=0
1725 DEFAULT_DEFAULT_wxUSE_GTK=0
1726 DEFAULT_DEFAULT_wxUSE_MAC=0
1727 DEFAULT_DEFAULT_wxUSE_MGL=0
1728 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
1729 DEFAULT_DEFAULT_wxUSE_MOTIF=0
1730 DEFAULT_DEFAULT_wxUSE_MSW=0
1731 DEFAULT_DEFAULT_wxUSE_PM=0
1732 DEFAULT_DEFAULT_wxUSE_X11=0
1733
1734 PROGRAM_EXT=
1735 SO_SUFFIX=so
1736 SAMPLES_RPATH_FLAG=
1737 SAMPLES_RPATH_POSTLINK=
1738
1739 DEFAULT_STD_FLAG=yes
1740
1741 case "${host}" in
1742 *-hp-hpux* )
1743 USE_HPUX=1
1744 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1745 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1746 SO_SUFFIX=sl
1747 cat >>confdefs.h <<\_ACEOF
1748 #define __HPUX__ 1
1749 _ACEOF
1750
1751
1752 CPPFLAGS="-D_HPUX_SOURCE $CPPFLAGS"
1753 ;;
1754 *-*-linux* )
1755 USE_LINUX=1
1756 cat >>confdefs.h <<\_ACEOF
1757 #define __LINUX__ 1
1758 _ACEOF
1759
1760 TMP=`uname -m`
1761 if test "x$TMP" = "xalpha"; then
1762 USE_ALPHA=1
1763 cat >>confdefs.h <<\_ACEOF
1764 #define __ALPHA__ 1
1765 _ACEOF
1766
1767 fi
1768 DEFAULT_DEFAULT_wxUSE_GTK=1
1769 ;;
1770 *-*-gnu* | *-*-k*bsd*-gnu )
1771 USE_GNU=1
1772 TMP=`uname -m`
1773 if test "x$TMP" = "xalpha"; then
1774 USE_ALPHA=1
1775 cat >>confdefs.h <<\_ACEOF
1776 #define __ALPHA__ 1
1777 _ACEOF
1778
1779 fi
1780 DEFAULT_DEFAULT_wxUSE_GTK=1
1781 ;;
1782 *-*-irix5* | *-*-irix6* )
1783 USE_SGI=1
1784 USE_SVR4=1
1785 cat >>confdefs.h <<\_ACEOF
1786 #define __SGI__ 1
1787 _ACEOF
1788
1789 cat >>confdefs.h <<\_ACEOF
1790 #define __SVR4__ 1
1791 _ACEOF
1792
1793 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1794 ;;
1795 *-*-solaris2* )
1796 USE_SUN=1
1797 USE_SOLARIS=1
1798 USE_SVR4=1
1799 cat >>confdefs.h <<\_ACEOF
1800 #define __SUN__ 1
1801 _ACEOF
1802
1803 cat >>confdefs.h <<\_ACEOF
1804 #define __SOLARIS__ 1
1805 _ACEOF
1806
1807 cat >>confdefs.h <<\_ACEOF
1808 #define __SVR4__ 1
1809 _ACEOF
1810
1811 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1812 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1813 ;;
1814 *-*-sunos4* )
1815 USE_SUN=1
1816 USE_SUNOS=1
1817 USE_BSD=1
1818 cat >>confdefs.h <<\_ACEOF
1819 #define __SUN__ 1
1820 _ACEOF
1821
1822 cat >>confdefs.h <<\_ACEOF
1823 #define __SUNOS__ 1
1824 _ACEOF
1825
1826 cat >>confdefs.h <<\_ACEOF
1827 #define __BSD__ 1
1828 _ACEOF
1829
1830 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1831 ;;
1832 *-*-freebsd*)
1833 USE_BSD=1
1834 USE_FREEBSD=1
1835 cat >>confdefs.h <<\_ACEOF
1836 #define __FREEBSD__ 1
1837 _ACEOF
1838
1839 cat >>confdefs.h <<\_ACEOF
1840 #define __BSD__ 1
1841 _ACEOF
1842
1843 DEFAULT_DEFAULT_wxUSE_GTK=1
1844 ;;
1845 *-*-openbsd*)
1846 USE_BSD=1
1847 USE_OPENBSD=1
1848 cat >>confdefs.h <<\_ACEOF
1849 #define __OPENBSD__ 1
1850 _ACEOF
1851
1852 cat >>confdefs.h <<\_ACEOF
1853 #define __BSD__ 1
1854 _ACEOF
1855
1856 DEFAULT_DEFAULT_wxUSE_GTK=1
1857 ;;
1858 *-*-netbsd*)
1859 USE_BSD=1
1860 USE_NETBSD=1
1861 cat >>confdefs.h <<\_ACEOF
1862 #define __NETBSD__ 1
1863 _ACEOF
1864
1865 cat >>confdefs.h <<\_ACEOF
1866 #define __BSD__ 1
1867 _ACEOF
1868
1869 DEFAULT_DEFAULT_wxUSE_GTK=1
1870 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1871
1872 CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
1873 ;;
1874 *-*-osf* )
1875 USE_ALPHA=1
1876 USE_OSF=1
1877 cat >>confdefs.h <<\_ACEOF
1878 #define __ALPHA__ 1
1879 _ACEOF
1880
1881 cat >>confdefs.h <<\_ACEOF
1882 #define __OSF__ 1
1883 _ACEOF
1884
1885 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1886 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1887 ;;
1888 *-*-dgux5* )
1889 USE_ALPHA=1
1890 USE_SVR4=1
1891 cat >>confdefs.h <<\_ACEOF
1892 #define __ALPHA__ 1
1893 _ACEOF
1894
1895 cat >>confdefs.h <<\_ACEOF
1896 #define __SVR4__ 1
1897 _ACEOF
1898
1899 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1900 ;;
1901 *-*-sysv5* )
1902 USE_SYSV=1
1903 USE_SVR4=1
1904 cat >>confdefs.h <<\_ACEOF
1905 #define __SYSV__ 1
1906 _ACEOF
1907
1908 cat >>confdefs.h <<\_ACEOF
1909 #define __SVR4__ 1
1910 _ACEOF
1911
1912 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1913 ;;
1914 *-*-aix* )
1915 USE_AIX=1
1916 USE_SYSV=1
1917 USE_SVR4=1
1918 SO_SUFFIX=a
1919 cat >>confdefs.h <<\_ACEOF
1920 #define __AIX__ 1
1921 _ACEOF
1922
1923 cat >>confdefs.h <<\_ACEOF
1924 #define __SYSV__ 1
1925 _ACEOF
1926
1927 cat >>confdefs.h <<\_ACEOF
1928 #define __SVR4__ 1
1929 _ACEOF
1930
1931 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1932 ;;
1933
1934 *-*-*UnixWare*)
1935 USE_SYSV=1
1936 USE_SVR4=1
1937 USE_UNIXWARE=1
1938 cat >>confdefs.h <<\_ACEOF
1939 #define __UNIXWARE__ 1
1940 _ACEOF
1941
1942 ;;
1943
1944 *-*-cygwin* | *-*-mingw32* )
1945 SO_SUFFIX=dll
1946 PROGRAM_EXT=".exe"
1947 DEFAULT_DEFAULT_wxUSE_MSW=1
1948 DEFAULT_STD_FLAG=no
1949 ;;
1950
1951 *-pc-msdosdjgpp )
1952 USE_UNIX=0
1953 USE_DOS=1
1954 cat >>confdefs.h <<\_ACEOF
1955 #define __DOS__ 1
1956 _ACEOF
1957
1958 PROGRAM_EXT=".exe"
1959 DEFAULT_DEFAULT_wxUSE_MGL=1
1960 ;;
1961
1962 *-pc-os2_emx | *-pc-os2-emx )
1963 cat >>confdefs.h <<\_ACEOF
1964 #define __EMX__ 1
1965 _ACEOF
1966
1967 USE_OS2=1
1968 cat >>confdefs.h <<\_ACEOF
1969 #define __OS2__ 1
1970 _ACEOF
1971
1972 PROGRAM_EXT=".exe"
1973 DEFAULT_DEFAULT_wxUSE_PM=1
1974 CXX=gcc
1975 LDFLAGS="$LDFLAGS -Zcrtdll"
1976 ac_executable_extensions=".exe"
1977 export ac_executable_extensions
1978 ac_save_IFS="$IFS"
1979 IFS='\\'
1980 ac_TEMP_PATH=
1981 for ac_dir in $PATH; do
1982 IFS=$ac_save_IFS
1983 if test -z "$ac_TEMP_PATH"; then
1984 ac_TEMP_PATH="$ac_dir"
1985 else
1986 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
1987 fi
1988 done
1989 export PATH="$ac_TEMP_PATH"
1990 unset ac_TEMP_PATH
1991 DEFAULT_STD_FLAG=no
1992 ;;
1993
1994 *-*-darwin* )
1995 USE_BSD=1
1996 USE_DARWIN=1
1997 SO_SUFFIX=dylib
1998 cat >>confdefs.h <<\_ACEOF
1999 #define __BSD__ 1
2000 _ACEOF
2001
2002 cat >>confdefs.h <<\_ACEOF
2003 #define __DARWIN__ 1
2004 _ACEOF
2005
2006 cat >>confdefs.h <<\_ACEOF
2007 #define TARGET_CARBON 1
2008 _ACEOF
2009
2010 DEFAULT_DEFAULT_wxUSE_MAC=1
2011 DEFAULT_STD_FLAG=no
2012 ;;
2013 powerpc-apple-macos* )
2014 USE_UNIX=0
2015 ac_cv_c_bigendian=yes
2016 SO_SUFFIX=shlib
2017 DEFAULT_DEFAULT_wxUSE_MAC=1
2018 DEFAULT_STD_FLAG=no
2019 ;;
2020
2021 *-*-beos* )
2022 USE_BEOS=1
2023 cat >>confdefs.h <<\_ACEOF
2024 #define __BEOS__ 1
2025 _ACEOF
2026
2027 ;;
2028
2029 *)
2030 { { echo "$as_me:$LINENO: error: unknown system type ${host}." >&5
2031 echo "$as_me: error: unknown system type ${host}." >&2;}
2032 { (exit 1); exit 1; }; }
2033 esac
2034
2035
2036
2037
2038 wx_arg_cache_file="configarg.cache"
2039 echo "loading argument cache $wx_arg_cache_file"
2040 rm -f ${wx_arg_cache_file}.tmp
2041 touch ${wx_arg_cache_file}.tmp
2042 touch ${wx_arg_cache_file}
2043
2044
2045 DEBUG_CONFIGURE=0
2046 if test $DEBUG_CONFIGURE = 1; then
2047 DEFAULT_wxUSE_UNIVERSAL=no
2048 DEFAULT_wxUSE_STL=no
2049
2050 DEFAULT_wxUSE_NANOX=no
2051
2052 DEFAULT_wxUSE_THREADS=yes
2053
2054 DEFAULT_wxUSE_SHARED=yes
2055 DEFAULT_wxUSE_OPTIMISE=no
2056 DEFAULT_wxUSE_PROFILE=no
2057 DEFAULT_wxUSE_NO_DEPS=no
2058 DEFAULT_wxUSE_NO_RTTI=no
2059 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2060 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
2061 DEFAULT_wxUSE_RPATH=yes
2062 DEFAULT_wxUSE_PERMISSIVE=no
2063 DEFAULT_wxUSE_DEBUG_FLAG=yes
2064 DEFAULT_wxUSE_DEBUG_INFO=yes
2065 DEFAULT_wxUSE_DEBUG_GDB=yes
2066 DEFAULT_wxUSE_MEM_TRACING=no
2067 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2068 DEFAULT_wxUSE_DMALLOC=no
2069 DEFAULT_wxUSE_APPLE_IEEE=no
2070
2071 DEFAULT_wxUSE_EXCEPTIONS=no
2072 DEFAULT_wxUSE_LOG=yes
2073 DEFAULT_wxUSE_LOGWINDOW=no
2074 DEFAULT_wxUSE_LOGGUI=no
2075 DEFAULT_wxUSE_LOGDIALOG=no
2076
2077 DEFAULT_wxUSE_GUI=yes
2078 DEFAULT_wxUSE_CONTROLS=no
2079
2080 DEFAULT_wxUSE_REGEX=no
2081 DEFAULT_wxUSE_XML=no
2082 DEFAULT_wxUSE_EXPAT=no
2083 DEFAULT_wxUSE_ZLIB=no
2084 DEFAULT_wxUSE_LIBPNG=no
2085 DEFAULT_wxUSE_LIBJPEG=no
2086 DEFAULT_wxUSE_LIBTIFF=no
2087 DEFAULT_wxUSE_LIBXPM=no
2088 DEFAULT_wxUSE_LIBMSPACK=no
2089 DEFAULT_wxUSE_LIBSDL=no
2090 DEFAULT_wxUSE_LIBGNOMEPRINT=no
2091 DEFAULT_wxUSE_LIBGNOMEVFS=no
2092 DEFAULT_wxUSE_LIBHILDON=no
2093 DEFAULT_wxUSE_ODBC=no
2094 DEFAULT_wxUSE_OPENGL=no
2095
2096 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=no
2097 DEFAULT_wxUSE_STACKWALKER=no
2098 DEFAULT_wxUSE_DEBUGREPORT=no
2099 DEFAULT_wxUSE_SNGLINST_CHECKER=no
2100 DEFAULT_wxUSE_STD_IOSTREAM=no
2101 DEFAULT_wxUSE_STD_STRING=no
2102 DEFAULT_wxUSE_CMDLINE_PARSER=no
2103 DEFAULT_wxUSE_DATETIME=no
2104 DEFAULT_wxUSE_TIMER=no
2105 DEFAULT_wxUSE_STOPWATCH=no
2106 DEFAULT_wxUSE_FILE=no
2107 DEFAULT_wxUSE_FFILE=no
2108 DEFAULT_wxUSE_STDPATHS=no
2109 DEFAULT_wxUSE_TEXTBUFFER=no
2110 DEFAULT_wxUSE_TEXTFILE=no
2111 DEFAULT_wxUSE_SOUND=no
2112 DEFAULT_wxUSE_MEDIACTRL=no
2113 DEFAULT_wxUSE_GSTREAMER8=no
2114 DEFAULT_wxUSE_INTL=no
2115 DEFAULT_wxUSE_CONFIG=no
2116 DEFAULT_wxUSE_FONTMAP=no
2117 DEFAULT_wxUSE_STREAMS=no
2118 DEFAULT_wxUSE_SOCKETS=no
2119 DEFAULT_wxUSE_OLE=no
2120 DEFAULT_wxUSE_DATAOBJ=no
2121 DEFAULT_wxUSE_DIALUP_MANAGER=no
2122 DEFAULT_wxUSE_JOYSTICK=no
2123 DEFAULT_wxUSE_DYNLIB_CLASS=no
2124 DEFAULT_wxUSE_DYNAMIC_LOADER=no
2125 DEFAULT_wxUSE_LONGLONG=no
2126 DEFAULT_wxUSE_GEOMETRY=no
2127
2128 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=no
2129 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=no
2130 DEFAULT_wxUSE_POSTSCRIPT=no
2131
2132 DEFAULT_wxUSE_CLIPBOARD=no
2133 DEFAULT_wxUSE_TOOLTIPS=no
2134 DEFAULT_wxUSE_DRAG_AND_DROP=no
2135 DEFAULT_wxUSE_DRAGIMAGE=no
2136 DEFAULT_wxUSE_SPLINES=no
2137 DEFAULT_wxUSE_MOUSEWHEEL=no
2138
2139 DEFAULT_wxUSE_MDI=no
2140 DEFAULT_wxUSE_MDI_ARCHITECTURE=no
2141 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=no
2142 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=no
2143
2144 DEFAULT_wxUSE_RESOURCES=no
2145 DEFAULT_wxUSE_CONSTRAINTS=no
2146 DEFAULT_wxUSE_IPC=no
2147 DEFAULT_wxUSE_HELP=no
2148 DEFAULT_wxUSE_MS_HTML_HELP=no
2149 DEFAULT_wxUSE_WXHTML_HELP=no
2150 DEFAULT_wxUSE_TREELAYOUT=no
2151 DEFAULT_wxUSE_METAFILE=no
2152 DEFAULT_wxUSE_MIMETYPE=no
2153 DEFAULT_wxUSE_SYSTEM_OPTIONS=no
2154 DEFAULT_wxUSE_PROTOCOL=no
2155 DEFAULT_wxUSE_PROTOCOL_HTTP=no
2156 DEFAULT_wxUSE_PROTOCOL_FTP=no
2157 DEFAULT_wxUSE_PROTOCOL_FILE=no
2158 DEFAULT_wxUSE_URL=no
2159
2160 DEFAULT_wxUSE_COMMONDLGS=no
2161 DEFAULT_wxUSE_CHOICEDLG=no
2162 DEFAULT_wxUSE_COLOURDLG=no
2163 DEFAULT_wxUSE_DIRDLG=no
2164 DEFAULT_wxUSE_FILEDLG=no
2165 DEFAULT_wxUSE_FINDREPLDLG=no
2166 DEFAULT_wxUSE_FONTDLG=no
2167 DEFAULT_wxUSE_MSGDLG=no
2168 DEFAULT_wxUSE_NUMBERDLG=no
2169 DEFAULT_wxUSE_TEXTDLG=no
2170 DEFAULT_wxUSE_SPLASH=no
2171 DEFAULT_wxUSE_STARTUP_TIPS=no
2172 DEFAULT_wxUSE_PROGRESSDLG=no
2173 DEFAULT_wxUSE_WIZARDDLG=no
2174
2175 DEFAULT_wxUSE_MENUS=no
2176 DEFAULT_wxUSE_MINIFRAME=no
2177 DEFAULT_wxUSE_HTML=no
2178 DEFAULT_wxUSE_RICHTEXT=no
2179 DEFAULT_wxUSE_XRC=no
2180 DEFAULT_wxUSE_WEBKIT=no
2181 DEFAULT_wxUSE_FILESYSTEM=no
2182 DEFAULT_wxUSE_FS_INET=no
2183 DEFAULT_wxUSE_FS_ZIP=no
2184 DEFAULT_wxUSE_BUSYINFO=no
2185 DEFAULT_wxUSE_ARCHIVE_STREAMS=no
2186 DEFAULT_wxUSE_ZIPSTREAM=no
2187 DEFAULT_wxUSE_VALIDATORS=no
2188
2189 DEFAULT_wxUSE_ACCEL=no
2190 DEFAULT_wxUSE_BUTTON=no
2191 DEFAULT_wxUSE_BMPBUTTON=no
2192 DEFAULT_wxUSE_CALCTRL=no
2193 DEFAULT_wxUSE_CARET=no
2194 DEFAULT_wxUSE_CHECKBOX=no
2195 DEFAULT_wxUSE_CHECKLST=no
2196 DEFAULT_wxUSE_CHOICE=no
2197 DEFAULT_wxUSE_CHOICEBOOK=no
2198 DEFAULT_wxUSE_COMBOBOX=no
2199 DEFAULT_wxUSE_DATEPICKCTRL=no
2200 DEFAULT_wxUSE_DISPLAY=no
2201 DEFAULT_wxUSE_GAUGE=no
2202 DEFAULT_wxUSE_GRID=no
2203 DEFAULT_wxUSE_DATAVIEWCTRL=no
2204 DEFAULT_wxUSE_IMAGLIST=no
2205 DEFAULT_wxUSE_LISTBOOK=no
2206 DEFAULT_wxUSE_LISTBOX=no
2207 DEFAULT_wxUSE_LISTCTRL=no
2208 DEFAULT_wxUSE_NOTEBOOK=no
2209 DEFAULT_wxUSE_RADIOBOX=no
2210 DEFAULT_wxUSE_RADIOBTN=no
2211 DEFAULT_wxUSE_SASH=no
2212 DEFAULT_wxUSE_SCROLLBAR=no
2213 DEFAULT_wxUSE_SLIDER=no
2214 DEFAULT_wxUSE_SPINBTN=no
2215 DEFAULT_wxUSE_SPINCTRL=no
2216 DEFAULT_wxUSE_SPLITTER=no
2217 DEFAULT_wxUSE_STATBMP=no
2218 DEFAULT_wxUSE_STATBOX=no
2219 DEFAULT_wxUSE_STATLINE=no
2220 DEFAULT_wxUSE_STATTEXT=no
2221 DEFAULT_wxUSE_STATUSBAR=yes
2222 DEFAULT_wxUSE_TAB_DIALOG=no
2223 DEFAULT_wxUSE_TEXTCTRL=no
2224 DEFAULT_wxUSE_TOGGLEBTN=no
2225 DEFAULT_wxUSE_TOOLBAR=no
2226 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
2227 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
2228 DEFAULT_wxUSE_TREEBOOK=no
2229 DEFAULT_wxUSE_TOOLBOOK=no
2230 DEFAULT_wxUSE_TREECTRL=no
2231 DEFAULT_wxUSE_POPUPWIN=no
2232 DEFAULT_wxUSE_TIPWINDOW=no
2233
2234 DEFAULT_wxUSE_UNICODE=no
2235 DEFAULT_wxUSE_UNICODE_MSLU=no
2236 DEFAULT_wxUSE_WCSRTOMBS=no
2237
2238 DEFAULT_wxUSE_PALETTE=no
2239 DEFAULT_wxUSE_IMAGE=no
2240 DEFAULT_wxUSE_GIF=no
2241 DEFAULT_wxUSE_PCX=no
2242 DEFAULT_wxUSE_PNM=no
2243 DEFAULT_wxUSE_IFF=no
2244 DEFAULT_wxUSE_XPM=no
2245 DEFAULT_wxUSE_ICO_CUR=no
2246 DEFAULT_wxUSE_ACCESSIBILITY=no
2247
2248 DEFAULT_wxUSE_MONOLITHIC=no
2249 DEFAULT_wxUSE_PLUGINS=no
2250 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2251 else
2252 DEFAULT_wxUSE_UNIVERSAL=no
2253 DEFAULT_wxUSE_STL=no
2254
2255 DEFAULT_wxUSE_NANOX=no
2256
2257 DEFAULT_wxUSE_THREADS=yes
2258
2259 DEFAULT_wxUSE_SHARED=yes
2260 DEFAULT_wxUSE_OPTIMISE=yes
2261 DEFAULT_wxUSE_PROFILE=no
2262 DEFAULT_wxUSE_NO_DEPS=no
2263 DEFAULT_wxUSE_NO_RTTI=no
2264 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2265 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
2266 DEFAULT_wxUSE_RPATH=yes
2267 DEFAULT_wxUSE_PERMISSIVE=no
2268 DEFAULT_wxUSE_DEBUG_FLAG=no
2269 DEFAULT_wxUSE_DEBUG_INFO=no
2270 DEFAULT_wxUSE_DEBUG_GDB=no
2271 DEFAULT_wxUSE_MEM_TRACING=no
2272 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2273 DEFAULT_wxUSE_DMALLOC=no
2274 DEFAULT_wxUSE_APPLE_IEEE=yes
2275
2276 DEFAULT_wxUSE_EXCEPTIONS=yes
2277 DEFAULT_wxUSE_LOG=yes
2278 DEFAULT_wxUSE_LOGWINDOW=yes
2279 DEFAULT_wxUSE_LOGGUI=yes
2280 DEFAULT_wxUSE_LOGDIALOG=yes
2281
2282 DEFAULT_wxUSE_GUI=yes
2283
2284 DEFAULT_wxUSE_REGEX=yes
2285 DEFAULT_wxUSE_XML=yes
2286 DEFAULT_wxUSE_EXPAT=yes
2287 DEFAULT_wxUSE_ZLIB=yes
2288 DEFAULT_wxUSE_LIBPNG=yes
2289 DEFAULT_wxUSE_LIBJPEG=yes
2290 DEFAULT_wxUSE_LIBTIFF=yes
2291 DEFAULT_wxUSE_LIBXPM=yes
2292 DEFAULT_wxUSE_LIBMSPACK=yes
2293 DEFAULT_wxUSE_LIBSDL=no
2294 DEFAULT_wxUSE_LIBGNOMEPRINT=no
2295 DEFAULT_wxUSE_LIBGNOMEVFS=no
2296 DEFAULT_wxUSE_LIBHILDON=no
2297 DEFAULT_wxUSE_ODBC=no
2298 DEFAULT_wxUSE_OPENGL=no
2299
2300 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=yes
2301 DEFAULT_wxUSE_STACKWALKER=yes
2302 DEFAULT_wxUSE_DEBUGREPORT=yes
2303 DEFAULT_wxUSE_SNGLINST_CHECKER=yes
2304 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
2305 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
2306 DEFAULT_wxUSE_CMDLINE_PARSER=yes
2307 DEFAULT_wxUSE_DATETIME=yes
2308 DEFAULT_wxUSE_TIMER=yes
2309 DEFAULT_wxUSE_STOPWATCH=yes
2310 DEFAULT_wxUSE_FILE=yes
2311 DEFAULT_wxUSE_FFILE=yes
2312 DEFAULT_wxUSE_STDPATHS=yes
2313 DEFAULT_wxUSE_TEXTBUFFER=yes
2314 DEFAULT_wxUSE_TEXTFILE=yes
2315 DEFAULT_wxUSE_SOUND=yes
2316 DEFAULT_wxUSE_MEDIACTRL=no
2317 DEFAULT_wxUSE_GSTREAMER8=no
2318 DEFAULT_wxUSE_INTL=yes
2319 DEFAULT_wxUSE_CONFIG=yes
2320 DEFAULT_wxUSE_FONTMAP=yes
2321 DEFAULT_wxUSE_STREAMS=yes
2322 DEFAULT_wxUSE_SOCKETS=yes
2323 DEFAULT_wxUSE_OLE=yes
2324 DEFAULT_wxUSE_DATAOBJ=yes
2325 DEFAULT_wxUSE_DIALUP_MANAGER=yes
2326 DEFAULT_wxUSE_JOYSTICK=yes
2327 DEFAULT_wxUSE_DYNLIB_CLASS=yes
2328 DEFAULT_wxUSE_DYNAMIC_LOADER=yes
2329 DEFAULT_wxUSE_LONGLONG=yes
2330 DEFAULT_wxUSE_GEOMETRY=yes
2331
2332 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=yes
2333 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=yes
2334 DEFAULT_wxUSE_POSTSCRIPT=yes
2335
2336 DEFAULT_wxUSE_CLIPBOARD=yes
2337 DEFAULT_wxUSE_TOOLTIPS=yes
2338 DEFAULT_wxUSE_DRAG_AND_DROP=yes
2339 DEFAULT_wxUSE_DRAGIMAGE=yes
2340 DEFAULT_wxUSE_SPLINES=yes
2341 DEFAULT_wxUSE_MOUSEWHEEL=yes
2342
2343 DEFAULT_wxUSE_MDI=yes
2344 DEFAULT_wxUSE_MDI_ARCHITECTURE=yes
2345 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=yes
2346 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=yes
2347
2348 DEFAULT_wxUSE_RESOURCES=no
2349 DEFAULT_wxUSE_CONSTRAINTS=yes
2350 DEFAULT_wxUSE_IPC=yes
2351 DEFAULT_wxUSE_HELP=yes
2352 DEFAULT_wxUSE_MS_HTML_HELP=yes
2353 DEFAULT_wxUSE_WXHTML_HELP=yes
2354 DEFAULT_wxUSE_TREELAYOUT=yes
2355 DEFAULT_wxUSE_METAFILE=yes
2356 DEFAULT_wxUSE_MIMETYPE=yes
2357 DEFAULT_wxUSE_SYSTEM_OPTIONS=yes
2358 DEFAULT_wxUSE_PROTOCOL=yes
2359 DEFAULT_wxUSE_PROTOCOL_HTTP=yes
2360 DEFAULT_wxUSE_PROTOCOL_FTP=yes
2361 DEFAULT_wxUSE_PROTOCOL_FILE=yes
2362 DEFAULT_wxUSE_URL=yes
2363
2364 DEFAULT_wxUSE_COMMONDLGS=yes
2365 DEFAULT_wxUSE_CHOICEDLG=yes
2366 DEFAULT_wxUSE_COLOURDLG=yes
2367 DEFAULT_wxUSE_DIRDLG=yes
2368 DEFAULT_wxUSE_FILEDLG=yes
2369 DEFAULT_wxUSE_FINDREPLDLG=yes
2370 DEFAULT_wxUSE_FONTDLG=yes
2371 DEFAULT_wxUSE_MSGDLG=yes
2372 DEFAULT_wxUSE_NUMBERDLG=yes
2373 DEFAULT_wxUSE_TEXTDLG=yes
2374 DEFAULT_wxUSE_SPLASH=yes
2375 DEFAULT_wxUSE_STARTUP_TIPS=yes
2376 DEFAULT_wxUSE_PROGRESSDLG=yes
2377 DEFAULT_wxUSE_WIZARDDLG=yes
2378
2379 DEFAULT_wxUSE_MENUS=yes
2380 DEFAULT_wxUSE_MINIFRAME=yes
2381 DEFAULT_wxUSE_HTML=yes
2382 DEFAULT_wxUSE_RICHTEXT=yes
2383 DEFAULT_wxUSE_XRC=yes
2384 DEFAULT_wxUSE_WEBKIT=yes
2385 DEFAULT_wxUSE_FILESYSTEM=yes
2386 DEFAULT_wxUSE_FS_INET=yes
2387 DEFAULT_wxUSE_FS_ZIP=yes
2388 DEFAULT_wxUSE_BUSYINFO=yes
2389 DEFAULT_wxUSE_ARCHIVE_STREAMS=yes
2390 DEFAULT_wxUSE_ZIPSTREAM=yes
2391 DEFAULT_wxUSE_VALIDATORS=yes
2392
2393 DEFAULT_wxUSE_ACCEL=yes
2394 DEFAULT_wxUSE_BUTTON=yes
2395 DEFAULT_wxUSE_BMPBUTTON=yes
2396 DEFAULT_wxUSE_CALCTRL=yes
2397 DEFAULT_wxUSE_CARET=yes
2398 DEFAULT_wxUSE_CHECKBOX=yes
2399 DEFAULT_wxUSE_CHECKLST=yes
2400 DEFAULT_wxUSE_CHOICE=yes
2401 DEFAULT_wxUSE_CHOICEBOOK=yes
2402 DEFAULT_wxUSE_COMBOBOX=yes
2403 DEFAULT_wxUSE_DATEPICKCTRL=yes
2404 DEFAULT_wxUSE_DISPLAY=yes
2405 DEFAULT_wxUSE_GAUGE=yes
2406 DEFAULT_wxUSE_GRID=yes
2407 DEFAULT_wxUSE_DATAVIEWCTRL=no
2408 DEFAULT_wxUSE_IMAGLIST=yes
2409 DEFAULT_wxUSE_LISTBOOK=yes
2410 DEFAULT_wxUSE_LISTBOX=yes
2411 DEFAULT_wxUSE_LISTCTRL=yes
2412 DEFAULT_wxUSE_NOTEBOOK=yes
2413 DEFAULT_wxUSE_RADIOBOX=yes
2414 DEFAULT_wxUSE_RADIOBTN=yes
2415 DEFAULT_wxUSE_SASH=yes
2416 DEFAULT_wxUSE_SCROLLBAR=yes
2417 DEFAULT_wxUSE_SLIDER=yes
2418 DEFAULT_wxUSE_SPINBTN=yes
2419 DEFAULT_wxUSE_SPINCTRL=yes
2420 DEFAULT_wxUSE_SPLITTER=yes
2421 DEFAULT_wxUSE_STATBMP=yes
2422 DEFAULT_wxUSE_STATBOX=yes
2423 DEFAULT_wxUSE_STATLINE=yes
2424 DEFAULT_wxUSE_STATTEXT=yes
2425 DEFAULT_wxUSE_STATUSBAR=yes
2426 DEFAULT_wxUSE_TAB_DIALOG=no
2427 DEFAULT_wxUSE_TEXTCTRL=yes
2428 DEFAULT_wxUSE_TOGGLEBTN=yes
2429 DEFAULT_wxUSE_TOOLBAR=yes
2430 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
2431 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
2432 DEFAULT_wxUSE_TREEBOOK=yes
2433 DEFAULT_wxUSE_TOOLBOOK=yes
2434 DEFAULT_wxUSE_TREECTRL=yes
2435 DEFAULT_wxUSE_POPUPWIN=yes
2436 DEFAULT_wxUSE_TIPWINDOW=yes
2437
2438 DEFAULT_wxUSE_UNICODE=no
2439 DEFAULT_wxUSE_UNICODE_MSLU=yes
2440 DEFAULT_wxUSE_WCSRTOMBS=no
2441
2442 DEFAULT_wxUSE_PALETTE=yes
2443 DEFAULT_wxUSE_IMAGE=yes
2444 DEFAULT_wxUSE_GIF=yes
2445 DEFAULT_wxUSE_PCX=yes
2446 DEFAULT_wxUSE_IFF=no
2447 DEFAULT_wxUSE_PNM=yes
2448 DEFAULT_wxUSE_XPM=yes
2449 DEFAULT_wxUSE_ICO_CUR=yes
2450 DEFAULT_wxUSE_ACCESSIBILITY=no
2451
2452 DEFAULT_wxUSE_MONOLITHIC=no
2453 DEFAULT_wxUSE_PLUGINS=no
2454 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2455
2456 DEFAULT_wxUSE_GTK2=yes
2457 fi
2458
2459
2460
2461
2462 for toolkit in `echo $ALL_TOOLKITS`; do
2463 LINE=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2464 if test "x$LINE" != "x" ; then
2465 has_toolkit_in_cache=1
2466 eval "DEFAULT_$LINE"
2467 eval "CACHE_$toolkit=1"
2468
2469 LINE=`grep "wx${toolkit}_VERSION=" ${wx_arg_cache_file}`
2470 if test "x$LINE" != "x" ; then
2471 eval "DEFAULT_$LINE"
2472 fi
2473 fi
2474 done
2475
2476
2477
2478 enablestring=
2479 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2480 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6
2481 no_cache=0
2482 # Check whether --enable-gui or --disable-gui was given.
2483 if test "${enable_gui+set}" = set; then
2484 enableval="$enable_gui"
2485
2486 if test "$enableval" = yes; then
2487 ac_cv_use_gui='wxUSE_GUI=yes'
2488 else
2489 ac_cv_use_gui='wxUSE_GUI=no'
2490 fi
2491
2492 else
2493
2494 LINE=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
2495 if test "x$LINE" != x ; then
2496 eval "DEFAULT_$LINE"
2497 else
2498 no_cache=1
2499 fi
2500
2501 ac_cv_use_gui='wxUSE_GUI='$DEFAULT_wxUSE_GUI
2502
2503 fi;
2504
2505 eval "$ac_cv_use_gui"
2506 if test "$no_cache" != 1; then
2507 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2508 fi
2509
2510 if test "$wxUSE_GUI" = yes; then
2511 echo "$as_me:$LINENO: result: yes" >&5
2512 echo "${ECHO_T}yes" >&6
2513 else
2514 echo "$as_me:$LINENO: result: no" >&5
2515 echo "${ECHO_T}no" >&6
2516 fi
2517
2518
2519 enablestring=
2520 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2521 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6
2522 no_cache=0
2523 # Check whether --enable-monolithic or --disable-monolithic was given.
2524 if test "${enable_monolithic+set}" = set; then
2525 enableval="$enable_monolithic"
2526
2527 if test "$enableval" = yes; then
2528 ac_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
2529 else
2530 ac_cv_use_monolithic='wxUSE_MONOLITHIC=no'
2531 fi
2532
2533 else
2534
2535 LINE=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
2536 if test "x$LINE" != x ; then
2537 eval "DEFAULT_$LINE"
2538 else
2539 no_cache=1
2540 fi
2541
2542 ac_cv_use_monolithic='wxUSE_MONOLITHIC='$DEFAULT_wxUSE_MONOLITHIC
2543
2544 fi;
2545
2546 eval "$ac_cv_use_monolithic"
2547 if test "$no_cache" != 1; then
2548 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
2549 fi
2550
2551 if test "$wxUSE_MONOLITHIC" = yes; then
2552 echo "$as_me:$LINENO: result: yes" >&5
2553 echo "${ECHO_T}yes" >&6
2554 else
2555 echo "$as_me:$LINENO: result: no" >&5
2556 echo "${ECHO_T}no" >&6
2557 fi
2558
2559
2560 enablestring=
2561 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
2562 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6
2563 no_cache=0
2564 # Check whether --enable-plugins or --disable-plugins was given.
2565 if test "${enable_plugins+set}" = set; then
2566 enableval="$enable_plugins"
2567
2568 if test "$enableval" = yes; then
2569 ac_cv_use_plugins='wxUSE_PLUGINS=yes'
2570 else
2571 ac_cv_use_plugins='wxUSE_PLUGINS=no'
2572 fi
2573
2574 else
2575
2576 LINE=`grep "wxUSE_PLUGINS" ${wx_arg_cache_file}`
2577 if test "x$LINE" != x ; then
2578 eval "DEFAULT_$LINE"
2579 else
2580 no_cache=1
2581 fi
2582
2583 ac_cv_use_plugins='wxUSE_PLUGINS='$DEFAULT_wxUSE_PLUGINS
2584
2585 fi;
2586
2587 eval "$ac_cv_use_plugins"
2588 if test "$no_cache" != 1; then
2589 echo $ac_cv_use_plugins >> ${wx_arg_cache_file}.tmp
2590 fi
2591
2592 if test "$wxUSE_PLUGINS" = yes; then
2593 echo "$as_me:$LINENO: result: yes" >&5
2594 echo "${ECHO_T}yes" >&6
2595 else
2596 echo "$as_me:$LINENO: result: no" >&5
2597 echo "${ECHO_T}no" >&6
2598 fi
2599
2600
2601 withstring=without
2602 echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
2603 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6
2604 no_cache=0
2605
2606 # Check whether --with-subdirs or --without-subdirs was given.
2607 if test "${with_subdirs+set}" = set; then
2608 withval="$with_subdirs"
2609
2610 if test "$withval" = yes; then
2611 ac_cv_use_subdirs='wxWITH_SUBDIRS=yes'
2612 else
2613 ac_cv_use_subdirs='wxWITH_SUBDIRS=no'
2614 fi
2615
2616 else
2617
2618 LINE=`grep "wxWITH_SUBDIRS" ${wx_arg_cache_file}`
2619 if test "x$LINE" != x ; then
2620 eval "DEFAULT_$LINE"
2621 else
2622 no_cache=1
2623 fi
2624
2625 ac_cv_use_subdirs='wxWITH_SUBDIRS='$DEFAULT_wxWITH_SUBDIRS
2626
2627 fi;
2628
2629 eval "$ac_cv_use_subdirs"
2630 if test "$no_cache" != 1; then
2631 echo $ac_cv_use_subdirs >> ${wx_arg_cache_file}.tmp
2632 fi
2633
2634 if test "$wxWITH_SUBDIRS" = yes; then
2635 echo "$as_me:$LINENO: result: yes" >&5
2636 echo "${ECHO_T}yes" >&6
2637 else
2638 echo "$as_me:$LINENO: result: no" >&5
2639 echo "${ECHO_T}no" >&6
2640 fi
2641
2642
2643 if test "$wxUSE_GUI" = "yes"; then
2644
2645
2646 enablestring=
2647 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
2648 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6
2649 no_cache=0
2650 # Check whether --enable-universal or --disable-universal was given.
2651 if test "${enable_universal+set}" = set; then
2652 enableval="$enable_universal"
2653
2654 if test "$enableval" = yes; then
2655 ac_cv_use_universal='wxUSE_UNIVERSAL=yes'
2656 else
2657 ac_cv_use_universal='wxUSE_UNIVERSAL=no'
2658 fi
2659
2660 else
2661
2662 LINE=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
2663 if test "x$LINE" != x ; then
2664 eval "DEFAULT_$LINE"
2665 else
2666 no_cache=1
2667 fi
2668
2669 ac_cv_use_universal='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
2670
2671 fi;
2672
2673 eval "$ac_cv_use_universal"
2674 if test "$no_cache" != 1; then
2675 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
2676 fi
2677
2678 if test "$wxUSE_UNIVERSAL" = yes; then
2679 echo "$as_me:$LINENO: result: yes" >&5
2680 echo "${ECHO_T}yes" >&6
2681 else
2682 echo "$as_me:$LINENO: result: no" >&5
2683 echo "${ECHO_T}no" >&6
2684 fi
2685
2686
2687 # Check whether --with-gtk or --without-gtk was given.
2688 if test "${with_gtk+set}" = set; then
2689 withval="$with_gtk"
2690 wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
2691 fi;
2692
2693 # Check whether --with-motif or --without-motif was given.
2694 if test "${with_motif+set}" = set; then
2695 withval="$with_motif"
2696 wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
2697 fi;
2698
2699 # Check whether --with-mac or --without-mac was given.
2700 if test "${with_mac+set}" = set; then
2701 withval="$with_mac"
2702 wxUSE_MAC="$withval" CACHE_MAC=1 TOOLKIT_GIVEN=1
2703 fi;
2704
2705 # Check whether --with-cocoa or --without-cocoa was given.
2706 if test "${with_cocoa+set}" = set; then
2707 withval="$with_cocoa"
2708 wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
2709 fi;
2710
2711 # Check whether --with-wine or --without-wine was given.
2712 if test "${with_wine+set}" = set; then
2713 withval="$with_wine"
2714 wxUSE_WINE="$withval" CACHE_WINE=1
2715 fi;
2716
2717 # Check whether --with-msw or --without-msw was given.
2718 if test "${with_msw+set}" = set; then
2719 withval="$with_msw"
2720 wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
2721 fi;
2722
2723 # Check whether --with-pm or --without-pm was given.
2724 if test "${with_pm+set}" = set; then
2725 withval="$with_pm"
2726 wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
2727 fi;
2728
2729 # Check whether --with-mgl or --without-mgl was given.
2730 if test "${with_mgl+set}" = set; then
2731 withval="$with_mgl"
2732 wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
2733 fi;
2734
2735 # Check whether --with-microwin or --without-microwin was given.
2736 if test "${with_microwin+set}" = set; then
2737 withval="$with_microwin"
2738 wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
2739 fi;
2740
2741 # Check whether --with-x11 or --without-x11 was given.
2742 if test "${with_x11+set}" = set; then
2743 withval="$with_x11"
2744 wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
2745 fi;
2746
2747 enablestring=
2748 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
2749 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6
2750 no_cache=0
2751 # Check whether --enable-nanox or --disable-nanox was given.
2752 if test "${enable_nanox+set}" = set; then
2753 enableval="$enable_nanox"
2754
2755 if test "$enableval" = yes; then
2756 ac_cv_use_nanox='wxUSE_NANOX=yes'
2757 else
2758 ac_cv_use_nanox='wxUSE_NANOX=no'
2759 fi
2760
2761 else
2762
2763 LINE=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
2764 if test "x$LINE" != x ; then
2765 eval "DEFAULT_$LINE"
2766 else
2767 no_cache=1
2768 fi
2769
2770 ac_cv_use_nanox='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
2771
2772 fi;
2773
2774 eval "$ac_cv_use_nanox"
2775 if test "$no_cache" != 1; then
2776 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
2777 fi
2778
2779 if test "$wxUSE_NANOX" = yes; then
2780 echo "$as_me:$LINENO: result: yes" >&5
2781 echo "${ECHO_T}yes" >&6
2782 else
2783 echo "$as_me:$LINENO: result: no" >&5
2784 echo "${ECHO_T}no" >&6
2785 fi
2786
2787
2788 # Check whether --enable-gtk2 or --disable-gtk2 was given.
2789 if test "${enable_gtk2+set}" = set; then
2790 enableval="$enable_gtk2"
2791 wxUSE_GTK2="$enableval"
2792 fi;
2793
2794 enablestring=
2795 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
2796 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6
2797 no_cache=0
2798 # Check whether --enable-gpe or --disable-gpe was given.
2799 if test "${enable_gpe+set}" = set; then
2800 enableval="$enable_gpe"
2801
2802 if test "$enableval" = yes; then
2803 ac_cv_use_gpe='wxUSE_GPE=yes'
2804 else
2805 ac_cv_use_gpe='wxUSE_GPE=no'
2806 fi
2807
2808 else
2809
2810 LINE=`grep "wxUSE_GPE" ${wx_arg_cache_file}`
2811 if test "x$LINE" != x ; then
2812 eval "DEFAULT_$LINE"
2813 else
2814 no_cache=1
2815 fi
2816
2817 ac_cv_use_gpe='wxUSE_GPE='$DEFAULT_wxUSE_GPE
2818
2819 fi;
2820
2821 eval "$ac_cv_use_gpe"
2822 if test "$no_cache" != 1; then
2823 echo $ac_cv_use_gpe >> ${wx_arg_cache_file}.tmp
2824 fi
2825
2826 if test "$wxUSE_GPE" = yes; then
2827 echo "$as_me:$LINENO: result: yes" >&5
2828 echo "${ECHO_T}yes" >&6
2829 else
2830 echo "$as_me:$LINENO: result: no" >&5
2831 echo "${ECHO_T}no" >&6
2832 fi
2833
2834
2835
2836 echo "$as_me:$LINENO: checking for --with-libpng" >&5
2837 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
2838 no_cache=0
2839
2840 # Check whether --with-libpng or --without-libpng was given.
2841 if test "${with_libpng+set}" = set; then
2842 withval="$with_libpng"
2843
2844 if test "$withval" = yes; then
2845 ac_cv_use_libpng='wxUSE_LIBPNG=yes'
2846 elif test "$withval" = no; then
2847 ac_cv_use_libpng='wxUSE_LIBPNG=no'
2848 elif test "$withval" = sys; then
2849 ac_cv_use_libpng='wxUSE_LIBPNG=sys'
2850 elif test "$withval" = builtin; then
2851 ac_cv_use_libpng='wxUSE_LIBPNG=builtin'
2852 else
2853 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2854 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2855 { (exit 1); exit 1; }; }
2856 fi
2857
2858 else
2859
2860 LINE=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
2861 if test "x$LINE" != x ; then
2862 eval "DEFAULT_$LINE"
2863 else
2864 no_cache=1
2865 fi
2866
2867 ac_cv_use_libpng='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
2868
2869 fi;
2870
2871 eval "$ac_cv_use_libpng"
2872 if test "$no_cache" != 1; then
2873 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
2874 fi
2875
2876 if test "$wxUSE_LIBPNG" = yes; then
2877 echo "$as_me:$LINENO: result: yes" >&5
2878 echo "${ECHO_T}yes" >&6
2879 elif test "$wxUSE_LIBPNG" = no; then
2880 echo "$as_me:$LINENO: result: no" >&5
2881 echo "${ECHO_T}no" >&6
2882 elif test "$wxUSE_LIBPNG" = sys; then
2883 echo "$as_me:$LINENO: result: system version" >&5
2884 echo "${ECHO_T}system version" >&6
2885 elif test "$wxUSE_LIBPNG" = builtin; then
2886 echo "$as_me:$LINENO: result: builtin version" >&5
2887 echo "${ECHO_T}builtin version" >&6
2888 else
2889 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2890 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2891 { (exit 1); exit 1; }; }
2892 fi
2893
2894
2895 echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
2896 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
2897 no_cache=0
2898
2899 # Check whether --with-libjpeg or --without-libjpeg was given.
2900 if test "${with_libjpeg+set}" = set; then
2901 withval="$with_libjpeg"
2902
2903 if test "$withval" = yes; then
2904 ac_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
2905 elif test "$withval" = no; then
2906 ac_cv_use_libjpeg='wxUSE_LIBJPEG=no'
2907 elif test "$withval" = sys; then
2908 ac_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
2909 elif test "$withval" = builtin; then
2910 ac_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
2911 else
2912 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2913 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2914 { (exit 1); exit 1; }; }
2915 fi
2916
2917 else
2918
2919 LINE=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
2920 if test "x$LINE" != x ; then
2921 eval "DEFAULT_$LINE"
2922 else
2923 no_cache=1
2924 fi
2925
2926 ac_cv_use_libjpeg='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
2927
2928 fi;
2929
2930 eval "$ac_cv_use_libjpeg"
2931 if test "$no_cache" != 1; then
2932 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
2933 fi
2934
2935 if test "$wxUSE_LIBJPEG" = yes; then
2936 echo "$as_me:$LINENO: result: yes" >&5
2937 echo "${ECHO_T}yes" >&6
2938 elif test "$wxUSE_LIBJPEG" = no; then
2939 echo "$as_me:$LINENO: result: no" >&5
2940 echo "${ECHO_T}no" >&6
2941 elif test "$wxUSE_LIBJPEG" = sys; then
2942 echo "$as_me:$LINENO: result: system version" >&5
2943 echo "${ECHO_T}system version" >&6
2944 elif test "$wxUSE_LIBJPEG" = builtin; then
2945 echo "$as_me:$LINENO: result: builtin version" >&5
2946 echo "${ECHO_T}builtin version" >&6
2947 else
2948 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2949 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2950 { (exit 1); exit 1; }; }
2951 fi
2952
2953
2954 echo "$as_me:$LINENO: checking for --with-libtiff" >&5
2955 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
2956 no_cache=0
2957
2958 # Check whether --with-libtiff or --without-libtiff was given.
2959 if test "${with_libtiff+set}" = set; then
2960 withval="$with_libtiff"
2961
2962 if test "$withval" = yes; then
2963 ac_cv_use_libtiff='wxUSE_LIBTIFF=yes'
2964 elif test "$withval" = no; then
2965 ac_cv_use_libtiff='wxUSE_LIBTIFF=no'
2966 elif test "$withval" = sys; then
2967 ac_cv_use_libtiff='wxUSE_LIBTIFF=sys'
2968 elif test "$withval" = builtin; then
2969 ac_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
2970 else
2971 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2972 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2973 { (exit 1); exit 1; }; }
2974 fi
2975
2976 else
2977
2978 LINE=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
2979 if test "x$LINE" != x ; then
2980 eval "DEFAULT_$LINE"
2981 else
2982 no_cache=1
2983 fi
2984
2985 ac_cv_use_libtiff='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
2986
2987 fi;
2988
2989 eval "$ac_cv_use_libtiff"
2990 if test "$no_cache" != 1; then
2991 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
2992 fi
2993
2994 if test "$wxUSE_LIBTIFF" = yes; then
2995 echo "$as_me:$LINENO: result: yes" >&5
2996 echo "${ECHO_T}yes" >&6
2997 elif test "$wxUSE_LIBTIFF" = no; then
2998 echo "$as_me:$LINENO: result: no" >&5
2999 echo "${ECHO_T}no" >&6
3000 elif test "$wxUSE_LIBTIFF" = sys; then
3001 echo "$as_me:$LINENO: result: system version" >&5
3002 echo "${ECHO_T}system version" >&6
3003 elif test "$wxUSE_LIBTIFF" = builtin; then
3004 echo "$as_me:$LINENO: result: builtin version" >&5
3005 echo "${ECHO_T}builtin version" >&6
3006 else
3007 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3008 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3009 { (exit 1); exit 1; }; }
3010 fi
3011
3012
3013 echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3014 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6
3015 no_cache=0
3016
3017 # Check whether --with-libxpm or --without-libxpm was given.
3018 if test "${with_libxpm+set}" = set; then
3019 withval="$with_libxpm"
3020
3021 if test "$withval" = yes; then
3022 ac_cv_use_libxpm='wxUSE_LIBXPM=yes'
3023 elif test "$withval" = no; then
3024 ac_cv_use_libxpm='wxUSE_LIBXPM=no'
3025 elif test "$withval" = sys; then
3026 ac_cv_use_libxpm='wxUSE_LIBXPM=sys'
3027 elif test "$withval" = builtin; then
3028 ac_cv_use_libxpm='wxUSE_LIBXPM=builtin'
3029 else
3030 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3031 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3032 { (exit 1); exit 1; }; }
3033 fi
3034
3035 else
3036
3037 LINE=`grep "wxUSE_LIBXPM" ${wx_arg_cache_file}`
3038 if test "x$LINE" != x ; then
3039 eval "DEFAULT_$LINE"
3040 else
3041 no_cache=1
3042 fi
3043
3044 ac_cv_use_libxpm='wxUSE_LIBXPM='$DEFAULT_wxUSE_LIBXPM
3045
3046 fi;
3047
3048 eval "$ac_cv_use_libxpm"
3049 if test "$no_cache" != 1; then
3050 echo $ac_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
3051 fi
3052
3053 if test "$wxUSE_LIBXPM" = yes; then
3054 echo "$as_me:$LINENO: result: yes" >&5
3055 echo "${ECHO_T}yes" >&6
3056 elif test "$wxUSE_LIBXPM" = no; then
3057 echo "$as_me:$LINENO: result: no" >&5
3058 echo "${ECHO_T}no" >&6
3059 elif test "$wxUSE_LIBXPM" = sys; then
3060 echo "$as_me:$LINENO: result: system version" >&5
3061 echo "${ECHO_T}system version" >&6
3062 elif test "$wxUSE_LIBXPM" = builtin; then
3063 echo "$as_me:$LINENO: result: builtin version" >&5
3064 echo "${ECHO_T}builtin version" >&6
3065 else
3066 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3067 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3068 { (exit 1); exit 1; }; }
3069 fi
3070
3071
3072 withstring=
3073 echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3074 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6
3075 no_cache=0
3076
3077 # Check whether --with-libmspack or --without-libmspack was given.
3078 if test "${with_libmspack+set}" = set; then
3079 withval="$with_libmspack"
3080
3081 if test "$withval" = yes; then
3082 ac_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3083 else
3084 ac_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3085 fi
3086
3087 else
3088
3089 LINE=`grep "wxUSE_LIBMSPACK" ${wx_arg_cache_file}`
3090 if test "x$LINE" != x ; then
3091 eval "DEFAULT_$LINE"
3092 else
3093 no_cache=1
3094 fi
3095
3096 ac_cv_use_libmspack='wxUSE_LIBMSPACK='$DEFAULT_wxUSE_LIBMSPACK
3097
3098 fi;
3099
3100 eval "$ac_cv_use_libmspack"
3101 if test "$no_cache" != 1; then
3102 echo $ac_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
3103 fi
3104
3105 if test "$wxUSE_LIBMSPACK" = yes; then
3106 echo "$as_me:$LINENO: result: yes" >&5
3107 echo "${ECHO_T}yes" >&6
3108 else
3109 echo "$as_me:$LINENO: result: no" >&5
3110 echo "${ECHO_T}no" >&6
3111 fi
3112
3113
3114 withstring=
3115 echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
3116 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6
3117 no_cache=0
3118
3119 # Check whether --with-sdl or --without-sdl was given.
3120 if test "${with_sdl+set}" = set; then
3121 withval="$with_sdl"
3122
3123 if test "$withval" = yes; then
3124 ac_cv_use_sdl='wxUSE_LIBSDL=yes'
3125 else
3126 ac_cv_use_sdl='wxUSE_LIBSDL=no'
3127 fi
3128
3129 else
3130
3131 LINE=`grep "wxUSE_LIBSDL" ${wx_arg_cache_file}`
3132 if test "x$LINE" != x ; then
3133 eval "DEFAULT_$LINE"
3134 else
3135 no_cache=1
3136 fi
3137
3138 ac_cv_use_sdl='wxUSE_LIBSDL='$DEFAULT_wxUSE_LIBSDL
3139
3140 fi;
3141
3142 eval "$ac_cv_use_sdl"
3143 if test "$no_cache" != 1; then
3144 echo $ac_cv_use_sdl >> ${wx_arg_cache_file}.tmp
3145 fi
3146
3147 if test "$wxUSE_LIBSDL" = yes; then
3148 echo "$as_me:$LINENO: result: yes" >&5
3149 echo "${ECHO_T}yes" >&6
3150 else
3151 echo "$as_me:$LINENO: result: no" >&5
3152 echo "${ECHO_T}no" >&6
3153 fi
3154
3155
3156 withstring=
3157 echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3158 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6
3159 no_cache=0
3160
3161 # Check whether --with-gnomeprint or --without-gnomeprint was given.
3162 if test "${with_gnomeprint+set}" = set; then
3163 withval="$with_gnomeprint"
3164
3165 if test "$withval" = yes; then
3166 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
3167 else
3168 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
3169 fi
3170
3171 else
3172
3173 LINE=`grep "wxUSE_LIBGNOMEPRINT" ${wx_arg_cache_file}`
3174 if test "x$LINE" != x ; then
3175 eval "DEFAULT_$LINE"
3176 else
3177 no_cache=1
3178 fi
3179
3180 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT='$DEFAULT_wxUSE_LIBGNOMEPRINT
3181
3182 fi;
3183
3184 eval "$ac_cv_use_gnomeprint"
3185 if test "$no_cache" != 1; then
3186 echo $ac_cv_use_gnomeprint >> ${wx_arg_cache_file}.tmp
3187 fi
3188
3189 if test "$wxUSE_LIBGNOMEPRINT" = yes; then
3190 echo "$as_me:$LINENO: result: yes" >&5
3191 echo "${ECHO_T}yes" >&6
3192 else
3193 echo "$as_me:$LINENO: result: no" >&5
3194 echo "${ECHO_T}no" >&6
3195 fi
3196
3197
3198 withstring=
3199 echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
3200 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6
3201 no_cache=0
3202
3203 # Check whether --with-gnomevfs or --without-gnomevfs was given.
3204 if test "${with_gnomevfs+set}" = set; then
3205 withval="$with_gnomevfs"
3206
3207 if test "$withval" = yes; then
3208 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
3209 else
3210 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
3211 fi
3212
3213 else
3214
3215 LINE=`grep "wxUSE_LIBGNOMEVFS" ${wx_arg_cache_file}`
3216 if test "x$LINE" != x ; then
3217 eval "DEFAULT_$LINE"
3218 else
3219 no_cache=1
3220 fi
3221
3222 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS='$DEFAULT_wxUSE_LIBGNOMEVFS
3223
3224 fi;
3225
3226 eval "$ac_cv_use_gnomevfs"
3227 if test "$no_cache" != 1; then
3228 echo $ac_cv_use_gnomevfs >> ${wx_arg_cache_file}.tmp
3229 fi
3230
3231 if test "$wxUSE_LIBGNOMEVFS" = yes; then
3232 echo "$as_me:$LINENO: result: yes" >&5
3233 echo "${ECHO_T}yes" >&6
3234 else
3235 echo "$as_me:$LINENO: result: no" >&5
3236 echo "${ECHO_T}no" >&6
3237 fi
3238
3239
3240 withstring=
3241 echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
3242 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6
3243 no_cache=0
3244
3245 # Check whether --with-hildon or --without-hildon was given.
3246 if test "${with_hildon+set}" = set; then
3247 withval="$with_hildon"
3248
3249 if test "$withval" = yes; then
3250 ac_cv_use_hildon='wxUSE_LIBHILDON=yes'
3251 else
3252 ac_cv_use_hildon='wxUSE_LIBHILDON=no'
3253 fi
3254
3255 else
3256
3257 LINE=`grep "wxUSE_LIBHILDON" ${wx_arg_cache_file}`
3258 if test "x$LINE" != x ; then
3259 eval "DEFAULT_$LINE"
3260 else
3261 no_cache=1
3262 fi
3263
3264 ac_cv_use_hildon='wxUSE_LIBHILDON='$DEFAULT_wxUSE_LIBHILDON
3265
3266 fi;
3267
3268 eval "$ac_cv_use_hildon"
3269 if test "$no_cache" != 1; then
3270 echo $ac_cv_use_hildon >> ${wx_arg_cache_file}.tmp
3271 fi
3272
3273 if test "$wxUSE_LIBHILDON" = yes; then
3274 echo "$as_me:$LINENO: result: yes" >&5
3275 echo "${ECHO_T}yes" >&6
3276 else
3277 echo "$as_me:$LINENO: result: no" >&5
3278 echo "${ECHO_T}no" >&6
3279 fi
3280
3281
3282 withstring=
3283 echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
3284 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6
3285 no_cache=0
3286
3287 # Check whether --with-opengl or --without-opengl was given.
3288 if test "${with_opengl+set}" = set; then
3289 withval="$with_opengl"
3290
3291 if test "$withval" = yes; then
3292 ac_cv_use_opengl='wxUSE_OPENGL=yes'
3293 else
3294 ac_cv_use_opengl='wxUSE_OPENGL=no'
3295 fi
3296
3297 else
3298
3299 LINE=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
3300 if test "x$LINE" != x ; then
3301 eval "DEFAULT_$LINE"
3302 else
3303 no_cache=1
3304 fi
3305
3306 ac_cv_use_opengl='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
3307
3308 fi;
3309
3310 eval "$ac_cv_use_opengl"
3311 if test "$no_cache" != 1; then
3312 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
3313 fi
3314
3315 if test "$wxUSE_OPENGL" = yes; then
3316 echo "$as_me:$LINENO: result: yes" >&5
3317 echo "${ECHO_T}yes" >&6
3318 else
3319 echo "$as_me:$LINENO: result: no" >&5
3320 echo "${ECHO_T}no" >&6
3321 fi
3322
3323
3324 fi
3325
3326
3327 withstring=
3328 echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
3329 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6
3330 no_cache=0
3331
3332 # Check whether --with-dmalloc or --without-dmalloc was given.
3333 if test "${with_dmalloc+set}" = set; then
3334 withval="$with_dmalloc"
3335
3336 if test "$withval" = yes; then
3337 ac_cv_use_dmalloc='wxUSE_DMALLOC=yes'
3338 else
3339 ac_cv_use_dmalloc='wxUSE_DMALLOC=no'
3340 fi
3341
3342 else
3343
3344 LINE=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
3345 if test "x$LINE" != x ; then
3346 eval "DEFAULT_$LINE"
3347 else
3348 no_cache=1
3349 fi
3350
3351 ac_cv_use_dmalloc='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
3352
3353 fi;
3354
3355 eval "$ac_cv_use_dmalloc"
3356 if test "$no_cache" != 1; then
3357 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
3358 fi
3359
3360 if test "$wxUSE_DMALLOC" = yes; then
3361 echo "$as_me:$LINENO: result: yes" >&5
3362 echo "${ECHO_T}yes" >&6
3363 else
3364 echo "$as_me:$LINENO: result: no" >&5
3365 echo "${ECHO_T}no" >&6
3366 fi
3367
3368
3369 echo "$as_me:$LINENO: checking for --with-regex" >&5
3370 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
3371 no_cache=0
3372
3373 # Check whether --with-regex or --without-regex was given.
3374 if test "${with_regex+set}" = set; then
3375 withval="$with_regex"
3376
3377 if test "$withval" = yes; then
3378 ac_cv_use_regex='wxUSE_REGEX=yes'
3379 elif test "$withval" = no; then
3380 ac_cv_use_regex='wxUSE_REGEX=no'
3381 elif test "$withval" = sys; then
3382 ac_cv_use_regex='wxUSE_REGEX=sys'
3383 elif test "$withval" = builtin; then
3384 ac_cv_use_regex='wxUSE_REGEX=builtin'
3385 else
3386 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3387 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3388 { (exit 1); exit 1; }; }
3389 fi
3390
3391 else
3392
3393 LINE=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
3394 if test "x$LINE" != x ; then
3395 eval "DEFAULT_$LINE"
3396 else
3397 no_cache=1
3398 fi
3399
3400 ac_cv_use_regex='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
3401
3402 fi;
3403
3404 eval "$ac_cv_use_regex"
3405 if test "$no_cache" != 1; then
3406 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
3407 fi
3408
3409 if test "$wxUSE_REGEX" = yes; then
3410 echo "$as_me:$LINENO: result: yes" >&5
3411 echo "${ECHO_T}yes" >&6
3412 elif test "$wxUSE_REGEX" = no; then
3413 echo "$as_me:$LINENO: result: no" >&5
3414 echo "${ECHO_T}no" >&6
3415 elif test "$wxUSE_REGEX" = sys; then
3416 echo "$as_me:$LINENO: result: system version" >&5
3417 echo "${ECHO_T}system version" >&6
3418 elif test "$wxUSE_REGEX" = builtin; then
3419 echo "$as_me:$LINENO: result: builtin version" >&5
3420 echo "${ECHO_T}builtin version" >&6
3421 else
3422 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3423 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3424 { (exit 1); exit 1; }; }
3425 fi
3426
3427
3428 echo "$as_me:$LINENO: checking for --with-zlib" >&5
3429 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
3430 no_cache=0
3431
3432 # Check whether --with-zlib or --without-zlib was given.
3433 if test "${with_zlib+set}" = set; then
3434 withval="$with_zlib"
3435
3436 if test "$withval" = yes; then
3437 ac_cv_use_zlib='wxUSE_ZLIB=yes'
3438 elif test "$withval" = no; then
3439 ac_cv_use_zlib='wxUSE_ZLIB=no'
3440 elif test "$withval" = sys; then
3441 ac_cv_use_zlib='wxUSE_ZLIB=sys'
3442 elif test "$withval" = builtin; then
3443 ac_cv_use_zlib='wxUSE_ZLIB=builtin'
3444 else
3445 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3446 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3447 { (exit 1); exit 1; }; }
3448 fi
3449
3450 else
3451
3452 LINE=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
3453 if test "x$LINE" != x ; then
3454 eval "DEFAULT_$LINE"
3455 else
3456 no_cache=1
3457 fi
3458
3459 ac_cv_use_zlib='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
3460
3461 fi;
3462
3463 eval "$ac_cv_use_zlib"
3464 if test "$no_cache" != 1; then
3465 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
3466 fi
3467
3468 if test "$wxUSE_ZLIB" = yes; then
3469 echo "$as_me:$LINENO: result: yes" >&5
3470 echo "${ECHO_T}yes" >&6
3471 elif test "$wxUSE_ZLIB" = no; then
3472 echo "$as_me:$LINENO: result: no" >&5
3473 echo "${ECHO_T}no" >&6
3474 elif test "$wxUSE_ZLIB" = sys; then
3475 echo "$as_me:$LINENO: result: system version" >&5
3476 echo "${ECHO_T}system version" >&6
3477 elif test "$wxUSE_ZLIB" = builtin; then
3478 echo "$as_me:$LINENO: result: builtin version" >&5
3479 echo "${ECHO_T}builtin version" >&6
3480 else
3481 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3482 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3483 { (exit 1); exit 1; }; }
3484 fi
3485
3486
3487 echo "$as_me:$LINENO: checking for --with-odbc" >&5
3488 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6
3489 no_cache=0
3490
3491 # Check whether --with-odbc or --without-odbc was given.
3492 if test "${with_odbc+set}" = set; then
3493 withval="$with_odbc"
3494
3495 if test "$withval" = yes; then
3496 ac_cv_use_odbc='wxUSE_ODBC=yes'
3497 elif test "$withval" = no; then
3498 ac_cv_use_odbc='wxUSE_ODBC=no'
3499 elif test "$withval" = sys; then
3500 ac_cv_use_odbc='wxUSE_ODBC=sys'
3501 elif test "$withval" = builtin; then
3502 ac_cv_use_odbc='wxUSE_ODBC=builtin'
3503 else
3504 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3505 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3506 { (exit 1); exit 1; }; }
3507 fi
3508
3509 else
3510
3511 LINE=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
3512 if test "x$LINE" != x ; then
3513 eval "DEFAULT_$LINE"
3514 else
3515 no_cache=1
3516 fi
3517
3518 ac_cv_use_odbc='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
3519
3520 fi;
3521
3522 eval "$ac_cv_use_odbc"
3523 if test "$no_cache" != 1; then
3524 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
3525 fi
3526
3527 if test "$wxUSE_ODBC" = yes; then
3528 echo "$as_me:$LINENO: result: yes" >&5
3529 echo "${ECHO_T}yes" >&6
3530 elif test "$wxUSE_ODBC" = no; then
3531 echo "$as_me:$LINENO: result: no" >&5
3532 echo "${ECHO_T}no" >&6
3533 elif test "$wxUSE_ODBC" = sys; then
3534 echo "$as_me:$LINENO: result: system version" >&5
3535 echo "${ECHO_T}system version" >&6
3536 elif test "$wxUSE_ODBC" = builtin; then
3537 echo "$as_me:$LINENO: result: builtin version" >&5
3538 echo "${ECHO_T}builtin version" >&6
3539 else
3540 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3541 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3542 { (exit 1); exit 1; }; }
3543 fi
3544
3545
3546 echo "$as_me:$LINENO: checking for --with-expat" >&5
3547 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6
3548 no_cache=0
3549
3550 # Check whether --with-expat or --without-expat was given.
3551 if test "${with_expat+set}" = set; then
3552 withval="$with_expat"
3553
3554 if test "$withval" = yes; then
3555 ac_cv_use_expat='wxUSE_EXPAT=yes'
3556 elif test "$withval" = no; then
3557 ac_cv_use_expat='wxUSE_EXPAT=no'
3558 elif test "$withval" = sys; then
3559 ac_cv_use_expat='wxUSE_EXPAT=sys'
3560 elif test "$withval" = builtin; then
3561 ac_cv_use_expat='wxUSE_EXPAT=builtin'
3562 else
3563 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3564 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3565 { (exit 1); exit 1; }; }
3566 fi
3567
3568 else
3569
3570 LINE=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
3571 if test "x$LINE" != x ; then
3572 eval "DEFAULT_$LINE"
3573 else
3574 no_cache=1
3575 fi
3576
3577 ac_cv_use_expat='wxUSE_EXPAT='$DEFAULT_wxUSE_EXPAT
3578
3579 fi;
3580
3581 eval "$ac_cv_use_expat"
3582 if test "$no_cache" != 1; then
3583 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
3584 fi
3585
3586 if test "$wxUSE_EXPAT" = yes; then
3587 echo "$as_me:$LINENO: result: yes" >&5
3588 echo "${ECHO_T}yes" >&6
3589 elif test "$wxUSE_EXPAT" = no; then
3590 echo "$as_me:$LINENO: result: no" >&5
3591 echo "${ECHO_T}no" >&6
3592 elif test "$wxUSE_EXPAT" = sys; then
3593 echo "$as_me:$LINENO: result: system version" >&5
3594 echo "${ECHO_T}system version" >&6
3595 elif test "$wxUSE_EXPAT" = builtin; then
3596 echo "$as_me:$LINENO: result: builtin version" >&5
3597 echo "${ECHO_T}builtin version" >&6
3598 else
3599 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3600 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3601 { (exit 1); exit 1; }; }
3602 fi
3603
3604
3605
3606
3607 enablestring=
3608 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
3609 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6
3610 no_cache=0
3611 # Check whether --enable-shared or --disable-shared was given.
3612 if test "${enable_shared+set}" = set; then
3613 enableval="$enable_shared"
3614
3615 if test "$enableval" = yes; then
3616 ac_cv_use_shared='wxUSE_SHARED=yes'
3617 else
3618 ac_cv_use_shared='wxUSE_SHARED=no'
3619 fi
3620
3621 else
3622
3623 LINE=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
3624 if test "x$LINE" != x ; then
3625 eval "DEFAULT_$LINE"
3626 else
3627 no_cache=1
3628 fi
3629
3630 ac_cv_use_shared='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
3631
3632 fi;
3633
3634 eval "$ac_cv_use_shared"
3635 if test "$no_cache" != 1; then
3636 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
3637 fi
3638
3639 if test "$wxUSE_SHARED" = yes; then
3640 echo "$as_me:$LINENO: result: yes" >&5
3641 echo "${ECHO_T}yes" >&6
3642 else
3643 echo "$as_me:$LINENO: result: no" >&5
3644 echo "${ECHO_T}no" >&6
3645 fi
3646
3647
3648 enablestring=
3649 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
3650 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6
3651 no_cache=0
3652 # Check whether --enable-optimise or --disable-optimise was given.
3653 if test "${enable_optimise+set}" = set; then
3654 enableval="$enable_optimise"
3655
3656 if test "$enableval" = yes; then
3657 ac_cv_use_optimise='wxUSE_OPTIMISE=yes'
3658 else
3659 ac_cv_use_optimise='wxUSE_OPTIMISE=no'
3660 fi
3661
3662 else
3663
3664 LINE=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
3665 if test "x$LINE" != x ; then
3666 eval "DEFAULT_$LINE"
3667 else
3668 no_cache=1
3669 fi
3670
3671 ac_cv_use_optimise='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
3672
3673 fi;
3674
3675 eval "$ac_cv_use_optimise"
3676 if test "$no_cache" != 1; then
3677 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
3678 fi
3679
3680 if test "$wxUSE_OPTIMISE" = yes; then
3681 echo "$as_me:$LINENO: result: yes" >&5
3682 echo "${ECHO_T}yes" >&6
3683 else
3684 echo "$as_me:$LINENO: result: no" >&5
3685 echo "${ECHO_T}no" >&6
3686 fi
3687
3688
3689 enablestring=
3690 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
3691 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6
3692 no_cache=0
3693 # Check whether --enable-debug or --disable-debug was given.
3694 if test "${enable_debug+set}" = set; then
3695 enableval="$enable_debug"
3696
3697 if test "$enableval" = yes; then
3698 ac_cv_use_debug='wxUSE_DEBUG=yes'
3699 else
3700 ac_cv_use_debug='wxUSE_DEBUG=no'
3701 fi
3702
3703 else
3704
3705 LINE=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
3706 if test "x$LINE" != x ; then
3707 eval "DEFAULT_$LINE"
3708 else
3709 no_cache=1
3710 fi
3711
3712 ac_cv_use_debug='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
3713
3714 fi;
3715
3716 eval "$ac_cv_use_debug"
3717 if test "$no_cache" != 1; then
3718 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
3719 fi
3720
3721 if test "$wxUSE_DEBUG" = yes; then
3722 echo "$as_me:$LINENO: result: yes" >&5
3723 echo "${ECHO_T}yes" >&6
3724 else
3725 echo "$as_me:$LINENO: result: no" >&5
3726 echo "${ECHO_T}no" >&6
3727 fi
3728
3729
3730 enablestring=
3731 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
3732 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6
3733 no_cache=0
3734 # Check whether --enable-stl or --disable-stl was given.
3735 if test "${enable_stl+set}" = set; then
3736 enableval="$enable_stl"
3737
3738 if test "$enableval" = yes; then
3739 ac_cv_use_stl='wxUSE_STL=yes'
3740 else
3741 ac_cv_use_stl='wxUSE_STL=no'
3742 fi
3743
3744 else
3745
3746 LINE=`grep "wxUSE_STL" ${wx_arg_cache_file}`
3747 if test "x$LINE" != x ; then
3748 eval "DEFAULT_$LINE"
3749 else
3750 no_cache=1
3751 fi
3752
3753 ac_cv_use_stl='wxUSE_STL='$DEFAULT_wxUSE_STL
3754
3755 fi;
3756
3757 eval "$ac_cv_use_stl"
3758 if test "$no_cache" != 1; then
3759 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
3760 fi
3761
3762 if test "$wxUSE_STL" = yes; then
3763 echo "$as_me:$LINENO: result: yes" >&5
3764 echo "${ECHO_T}yes" >&6
3765 else
3766 echo "$as_me:$LINENO: result: no" >&5
3767 echo "${ECHO_T}no" >&6
3768 fi
3769
3770 if test "$USE_OS2" = "1"; then
3771 DEFAULT_wxUSE_OMF=no
3772
3773 enablestring=
3774 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
3775 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6
3776 no_cache=0
3777 # Check whether --enable-omf or --disable-omf was given.
3778 if test "${enable_omf+set}" = set; then
3779 enableval="$enable_omf"
3780
3781 if test "$enableval" = yes; then
3782 ac_cv_use_omf='wxUSE_OMF=yes'
3783 else
3784 ac_cv_use_omf='wxUSE_OMF=no'
3785 fi
3786
3787 else
3788
3789 LINE=`grep "wxUSE_OMF" ${wx_arg_cache_file}`
3790 if test "x$LINE" != x ; then
3791 eval "DEFAULT_$LINE"
3792 else
3793 no_cache=1
3794 fi
3795
3796 ac_cv_use_omf='wxUSE_OMF='$DEFAULT_wxUSE_OMF
3797
3798 fi;
3799
3800 eval "$ac_cv_use_omf"
3801 if test "$no_cache" != 1; then
3802 echo $ac_cv_use_omf >> ${wx_arg_cache_file}.tmp
3803 fi
3804
3805 if test "$wxUSE_OMF" = yes; then
3806 echo "$as_me:$LINENO: result: yes" >&5
3807 echo "${ECHO_T}yes" >&6
3808 else
3809 echo "$as_me:$LINENO: result: no" >&5
3810 echo "${ECHO_T}no" >&6
3811 fi
3812
3813 fi
3814
3815 if test "$wxUSE_DEBUG" = "yes"; then
3816 DEFAULT_wxUSE_DEBUG_FLAG=yes
3817 DEFAULT_wxUSE_DEBUG_INFO=yes
3818 BUILD=debug
3819 elif test "$wxUSE_DEBUG" = "no"; then
3820 DEFAULT_wxUSE_DEBUG_FLAG=no
3821 DEFAULT_wxUSE_DEBUG_INFO=no
3822 BUILD=release
3823 fi
3824
3825
3826 enablestring=
3827 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
3828 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6
3829 no_cache=0
3830 # Check whether --enable-debug_flag or --disable-debug_flag was given.
3831 if test "${enable_debug_flag+set}" = set; then
3832 enableval="$enable_debug_flag"
3833
3834 if test "$enableval" = yes; then
3835 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
3836 else
3837 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
3838 fi
3839
3840 else
3841
3842 LINE=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
3843 if test "x$LINE" != x ; then
3844 eval "DEFAULT_$LINE"
3845 else
3846 no_cache=1
3847 fi
3848
3849 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
3850
3851 fi;
3852
3853 eval "$ac_cv_use_debug_flag"
3854 if test "$no_cache" != 1; then
3855 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
3856 fi
3857
3858 if test "$wxUSE_DEBUG_FLAG" = yes; then
3859 echo "$as_me:$LINENO: result: yes" >&5
3860 echo "${ECHO_T}yes" >&6
3861 else
3862 echo "$as_me:$LINENO: result: no" >&5
3863 echo "${ECHO_T}no" >&6
3864 fi
3865
3866
3867 enablestring=
3868 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
3869 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
3870 no_cache=0
3871 # Check whether --enable-debug_info or --disable-debug_info was given.
3872 if test "${enable_debug_info+set}" = set; then
3873 enableval="$enable_debug_info"
3874
3875 if test "$enableval" = yes; then
3876 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
3877 else
3878 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
3879 fi
3880
3881 else
3882
3883 LINE=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
3884 if test "x$LINE" != x ; then
3885 eval "DEFAULT_$LINE"
3886 else
3887 no_cache=1
3888 fi
3889
3890 ac_cv_use_debug_info='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
3891
3892 fi;
3893
3894 eval "$ac_cv_use_debug_info"
3895 if test "$no_cache" != 1; then
3896 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
3897 fi
3898
3899 if test "$wxUSE_DEBUG_INFO" = yes; then
3900 echo "$as_me:$LINENO: result: yes" >&5
3901 echo "${ECHO_T}yes" >&6
3902 else
3903 echo "$as_me:$LINENO: result: no" >&5
3904 echo "${ECHO_T}no" >&6
3905 fi
3906
3907
3908 enablestring=
3909 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
3910 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6
3911 no_cache=0
3912 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
3913 if test "${enable_debug_gdb+set}" = set; then
3914 enableval="$enable_debug_gdb"
3915
3916 if test "$enableval" = yes; then
3917 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
3918 else
3919 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
3920 fi
3921
3922 else
3923
3924 LINE=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
3925 if test "x$LINE" != x ; then
3926 eval "DEFAULT_$LINE"
3927 else
3928 no_cache=1
3929 fi
3930
3931 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
3932
3933 fi;
3934
3935 eval "$ac_cv_use_debug_gdb"
3936 if test "$no_cache" != 1; then
3937 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
3938 fi
3939
3940 if test "$wxUSE_DEBUG_GDB" = yes; then
3941 echo "$as_me:$LINENO: result: yes" >&5
3942 echo "${ECHO_T}yes" >&6
3943 else
3944 echo "$as_me:$LINENO: result: no" >&5
3945 echo "${ECHO_T}no" >&6
3946 fi
3947
3948
3949 enablestring=
3950 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
3951 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6
3952 no_cache=0
3953 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
3954 if test "${enable_debug_cntxt+set}" = set; then
3955 enableval="$enable_debug_cntxt"
3956
3957 if test "$enableval" = yes; then
3958 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
3959 else
3960 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
3961 fi
3962
3963 else
3964
3965 LINE=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
3966 if test "x$LINE" != x ; then
3967 eval "DEFAULT_$LINE"
3968 else
3969 no_cache=1
3970 fi
3971
3972 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
3973
3974 fi;
3975
3976 eval "$ac_cv_use_debug_cntxt"
3977 if test "$no_cache" != 1; then
3978 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
3979 fi
3980
3981 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
3982 echo "$as_me:$LINENO: result: yes" >&5
3983 echo "${ECHO_T}yes" >&6
3984 else
3985 echo "$as_me:$LINENO: result: no" >&5
3986 echo "${ECHO_T}no" >&6
3987 fi
3988
3989
3990 enablestring=
3991 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
3992 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
3993 no_cache=0
3994 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
3995 if test "${enable_mem_tracing+set}" = set; then
3996 enableval="$enable_mem_tracing"
3997
3998 if test "$enableval" = yes; then
3999 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
4000 else
4001 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
4002 fi
4003
4004 else
4005
4006 LINE=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
4007 if test "x$LINE" != x ; then
4008 eval "DEFAULT_$LINE"
4009 else
4010 no_cache=1
4011 fi
4012
4013 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
4014
4015 fi;
4016
4017 eval "$ac_cv_use_mem_tracing"
4018 if test "$no_cache" != 1; then
4019 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
4020 fi
4021
4022 if test "$wxUSE_MEM_TRACING" = yes; then
4023 echo "$as_me:$LINENO: result: yes" >&5
4024 echo "${ECHO_T}yes" >&6
4025 else
4026 echo "$as_me:$LINENO: result: no" >&5
4027 echo "${ECHO_T}no" >&6
4028 fi
4029
4030
4031 enablestring=
4032 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
4033 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6
4034 no_cache=0
4035 # Check whether --enable-profile or --disable-profile was given.
4036 if test "${enable_profile+set}" = set; then
4037 enableval="$enable_profile"
4038
4039 if test "$enableval" = yes; then
4040 ac_cv_use_profile='wxUSE_PROFILE=yes'
4041 else
4042 ac_cv_use_profile='wxUSE_PROFILE=no'
4043 fi
4044
4045 else
4046
4047 LINE=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
4048 if test "x$LINE" != x ; then
4049 eval "DEFAULT_$LINE"
4050 else
4051 no_cache=1
4052 fi
4053
4054 ac_cv_use_profile='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
4055
4056 fi;
4057
4058 eval "$ac_cv_use_profile"
4059 if test "$no_cache" != 1; then
4060 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
4061 fi
4062
4063 if test "$wxUSE_PROFILE" = yes; then
4064 echo "$as_me:$LINENO: result: yes" >&5
4065 echo "${ECHO_T}yes" >&6
4066 else
4067 echo "$as_me:$LINENO: result: no" >&5
4068 echo "${ECHO_T}no" >&6
4069 fi
4070
4071
4072 enablestring=
4073 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
4074 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6
4075 no_cache=0
4076 # Check whether --enable-no_rtti or --disable-no_rtti was given.
4077 if test "${enable_no_rtti+set}" = set; then
4078 enableval="$enable_no_rtti"
4079
4080 if test "$enableval" = yes; then
4081 ac_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
4082 else
4083 ac_cv_use_no_rtti='wxUSE_NO_RTTI=no'
4084 fi
4085
4086 else
4087
4088 LINE=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
4089 if test "x$LINE" != x ; then
4090 eval "DEFAULT_$LINE"
4091 else
4092 no_cache=1
4093 fi
4094
4095 ac_cv_use_no_rtti='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
4096
4097 fi;
4098
4099 eval "$ac_cv_use_no_rtti"
4100 if test "$no_cache" != 1; then
4101 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
4102 fi
4103
4104 if test "$wxUSE_NO_RTTI" = yes; then
4105 echo "$as_me:$LINENO: result: yes" >&5
4106 echo "${ECHO_T}yes" >&6
4107 else
4108 echo "$as_me:$LINENO: result: no" >&5
4109 echo "${ECHO_T}no" >&6
4110 fi
4111
4112
4113 enablestring=
4114 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
4115 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
4116 no_cache=0
4117 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
4118 if test "${enable_no_exceptions+set}" = set; then
4119 enableval="$enable_no_exceptions"
4120
4121 if test "$enableval" = yes; then
4122 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
4123 else
4124 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
4125 fi
4126
4127 else
4128
4129 LINE=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
4130 if test "x$LINE" != x ; then
4131 eval "DEFAULT_$LINE"
4132 else
4133 no_cache=1
4134 fi
4135
4136 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
4137
4138 fi;
4139
4140 eval "$ac_cv_use_no_exceptions"
4141 if test "$no_cache" != 1; then
4142 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
4143 fi
4144
4145 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
4146 echo "$as_me:$LINENO: result: yes" >&5
4147 echo "${ECHO_T}yes" >&6
4148 else
4149 echo "$as_me:$LINENO: result: no" >&5
4150 echo "${ECHO_T}no" >&6
4151 fi
4152
4153
4154 enablestring=
4155 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
4156 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6
4157 no_cache=0
4158 # Check whether --enable-permissive or --disable-permissive was given.
4159 if test "${enable_permissive+set}" = set; then
4160 enableval="$enable_permissive"
4161
4162 if test "$enableval" = yes; then
4163 ac_cv_use_permissive='wxUSE_PERMISSIVE=yes'
4164 else
4165 ac_cv_use_permissive='wxUSE_PERMISSIVE=no'
4166 fi
4167
4168 else
4169
4170 LINE=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
4171 if test "x$LINE" != x ; then
4172 eval "DEFAULT_$LINE"
4173 else
4174 no_cache=1
4175 fi
4176
4177 ac_cv_use_permissive='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
4178
4179 fi;
4180
4181 eval "$ac_cv_use_permissive"
4182 if test "$no_cache" != 1; then
4183 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
4184 fi
4185
4186 if test "$wxUSE_PERMISSIVE" = yes; then
4187 echo "$as_me:$LINENO: result: yes" >&5
4188 echo "${ECHO_T}yes" >&6
4189 else
4190 echo "$as_me:$LINENO: result: no" >&5
4191 echo "${ECHO_T}no" >&6
4192 fi
4193
4194
4195 enablestring=
4196 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
4197 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6
4198 no_cache=0
4199 # Check whether --enable-no_deps or --disable-no_deps was given.
4200 if test "${enable_no_deps+set}" = set; then
4201 enableval="$enable_no_deps"
4202
4203 if test "$enableval" = yes; then
4204 ac_cv_use_no_deps='wxUSE_NO_DEPS=yes'
4205 else
4206 ac_cv_use_no_deps='wxUSE_NO_DEPS=no'
4207 fi
4208
4209 else
4210
4211 LINE=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
4212 if test "x$LINE" != x ; then
4213 eval "DEFAULT_$LINE"
4214 else
4215 no_cache=1
4216 fi
4217
4218 ac_cv_use_no_deps='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
4219
4220 fi;
4221
4222 eval "$ac_cv_use_no_deps"
4223 if test "$no_cache" != 1; then
4224 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
4225 fi
4226
4227 if test "$wxUSE_NO_DEPS" = yes; then
4228 echo "$as_me:$LINENO: result: yes" >&5
4229 echo "${ECHO_T}yes" >&6
4230 else
4231 echo "$as_me:$LINENO: result: no" >&5
4232 echo "${ECHO_T}no" >&6
4233 fi
4234
4235
4236 enablestring=
4237 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
4238 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6
4239 no_cache=0
4240 # Check whether --enable-universal_binary or --disable-universal_binary was given.
4241 if test "${enable_universal_binary+set}" = set; then
4242 enableval="$enable_universal_binary"
4243
4244 if test "$enableval" = yes; then
4245 ac_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY=yes'
4246 else
4247 ac_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY=no'
4248 fi
4249
4250 else
4251
4252 LINE=`grep "wxUSE_UNIVERSAL_BINARY" ${wx_arg_cache_file}`
4253 if test "x$LINE" != x ; then
4254 eval "DEFAULT_$LINE"
4255 else
4256 no_cache=1
4257 fi
4258
4259 ac_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
4260
4261 fi;
4262
4263 eval "$ac_cv_use_universal_binary"
4264 if test "$no_cache" != 1; then
4265 echo $ac_cv_use_universal_binary >> ${wx_arg_cache_file}.tmp
4266 fi
4267
4268 if test "$wxUSE_UNIVERSAL_BINARY" = yes; then
4269 echo "$as_me:$LINENO: result: yes" >&5
4270 echo "${ECHO_T}yes" >&6
4271 else
4272 echo "$as_me:$LINENO: result: no" >&5
4273 echo "${ECHO_T}no" >&6
4274 fi
4275
4276
4277
4278 enablestring=enable
4279 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat24" >&5
4280 echo $ECHO_N "checking for --${enablestring:-enable}-compat24... $ECHO_C" >&6
4281 no_cache=0
4282 # Check whether --enable-compat24 or --disable-compat24 was given.
4283 if test "${enable_compat24+set}" = set; then
4284 enableval="$enable_compat24"
4285
4286 if test "$enableval" = yes; then
4287 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4=yes'
4288 else
4289 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4=no'
4290 fi
4291
4292 else
4293
4294 LINE=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
4295 if test "x$LINE" != x ; then
4296 eval "DEFAULT_$LINE"
4297 else
4298 no_cache=1
4299 fi
4300
4301 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4='$DEFAULT_WXWIN_COMPATIBILITY_2_4
4302
4303 fi;
4304
4305 eval "$ac_cv_use_compat24"
4306 if test "$no_cache" != 1; then
4307 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
4308 fi
4309
4310 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
4311 echo "$as_me:$LINENO: result: yes" >&5
4312 echo "${ECHO_T}yes" >&6
4313 else
4314 echo "$as_me:$LINENO: result: no" >&5
4315 echo "${ECHO_T}no" >&6
4316 fi
4317
4318
4319 enablestring=disable
4320 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
4321 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6
4322 no_cache=0
4323 # Check whether --enable-compat26 or --disable-compat26 was given.
4324 if test "${enable_compat26+set}" = set; then
4325 enableval="$enable_compat26"
4326
4327 if test "$enableval" = yes; then
4328 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
4329 else
4330 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
4331 fi
4332
4333 else
4334
4335 LINE=`grep "WXWIN_COMPATIBILITY_2_6" ${wx_arg_cache_file}`
4336 if test "x$LINE" != x ; then
4337 eval "DEFAULT_$LINE"
4338 else
4339 no_cache=1
4340 fi
4341
4342 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6='$DEFAULT_WXWIN_COMPATIBILITY_2_6
4343
4344 fi;
4345
4346 eval "$ac_cv_use_compat26"
4347 if test "$no_cache" != 1; then
4348 echo $ac_cv_use_compat26 >> ${wx_arg_cache_file}.tmp
4349 fi
4350
4351 if test "$WXWIN_COMPATIBILITY_2_6" = yes; then
4352 echo "$as_me:$LINENO: result: yes" >&5
4353 echo "${ECHO_T}yes" >&6
4354 else
4355 echo "$as_me:$LINENO: result: no" >&5
4356 echo "${ECHO_T}no" >&6
4357 fi
4358
4359
4360
4361 enablestring=
4362 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
4363 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6
4364 no_cache=0
4365 # Check whether --enable-rpath or --disable-rpath was given.
4366 if test "${enable_rpath+set}" = set; then
4367 enableval="$enable_rpath"
4368
4369 if test "$enableval" = yes; then
4370 ac_cv_use_rpath='wxUSE_RPATH=yes'
4371 else
4372 ac_cv_use_rpath='wxUSE_RPATH=no'
4373 fi
4374
4375 else
4376
4377 LINE=`grep "wxUSE_RPATH" ${wx_arg_cache_file}`
4378 if test "x$LINE" != x ; then
4379 eval "DEFAULT_$LINE"
4380 else
4381 no_cache=1
4382 fi
4383
4384 ac_cv_use_rpath='wxUSE_RPATH='$DEFAULT_wxUSE_RPATH
4385
4386 fi;
4387
4388 eval "$ac_cv_use_rpath"
4389 if test "$no_cache" != 1; then
4390 echo $ac_cv_use_rpath >> ${wx_arg_cache_file}.tmp
4391 fi
4392
4393 if test "$wxUSE_RPATH" = yes; then
4394 echo "$as_me:$LINENO: result: yes" >&5
4395 echo "${ECHO_T}yes" >&6
4396 else
4397 echo "$as_me:$LINENO: result: no" >&5
4398 echo "${ECHO_T}no" >&6
4399 fi
4400
4401
4402
4403
4404
4405 enablestring=
4406 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
4407 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
4408 no_cache=0
4409 # Check whether --enable-intl or --disable-intl was given.
4410 if test "${enable_intl+set}" = set; then
4411 enableval="$enable_intl"
4412
4413 if test "$enableval" = yes; then
4414 ac_cv_use_intl='wxUSE_INTL=yes'
4415 else
4416 ac_cv_use_intl='wxUSE_INTL=no'
4417 fi
4418
4419 else
4420
4421 LINE=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
4422 if test "x$LINE" != x ; then
4423 eval "DEFAULT_$LINE"
4424 else
4425 no_cache=1
4426 fi
4427
4428 ac_cv_use_intl='wxUSE_INTL='$DEFAULT_wxUSE_INTL
4429
4430 fi;
4431
4432 eval "$ac_cv_use_intl"
4433 if test "$no_cache" != 1; then
4434 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
4435 fi
4436
4437 if test "$wxUSE_INTL" = yes; then
4438 echo "$as_me:$LINENO: result: yes" >&5
4439 echo "${ECHO_T}yes" >&6
4440 else
4441 echo "$as_me:$LINENO: result: no" >&5
4442 echo "${ECHO_T}no" >&6
4443 fi
4444
4445
4446 enablestring=
4447 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
4448 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
4449 no_cache=0
4450 # Check whether --enable-config or --disable-config was given.
4451 if test "${enable_config+set}" = set; then
4452 enableval="$enable_config"
4453
4454 if test "$enableval" = yes; then
4455 ac_cv_use_config='wxUSE_CONFIG=yes'
4456 else
4457 ac_cv_use_config='wxUSE_CONFIG=no'
4458 fi
4459
4460 else
4461
4462 LINE=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
4463 if test "x$LINE" != x ; then
4464 eval "DEFAULT_$LINE"
4465 else
4466 no_cache=1
4467 fi
4468
4469 ac_cv_use_config='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
4470
4471 fi;
4472
4473 eval "$ac_cv_use_config"
4474 if test "$no_cache" != 1; then
4475 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
4476 fi
4477
4478 if test "$wxUSE_CONFIG" = yes; then
4479 echo "$as_me:$LINENO: result: yes" >&5
4480 echo "${ECHO_T}yes" >&6
4481 else
4482 echo "$as_me:$LINENO: result: no" >&5
4483 echo "${ECHO_T}no" >&6
4484 fi
4485
4486
4487
4488 enablestring=
4489 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
4490 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6
4491 no_cache=0
4492 # Check whether --enable-protocols or --disable-protocols was given.
4493 if test "${enable_protocols+set}" = set; then
4494 enableval="$enable_protocols"
4495
4496 if test "$enableval" = yes; then
4497 ac_cv_use_protocols='wxUSE_PROTOCOL=yes'
4498 else
4499 ac_cv_use_protocols='wxUSE_PROTOCOL=no'
4500 fi
4501
4502 else
4503
4504 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
4505 if test "x$LINE" != x ; then
4506 eval "DEFAULT_$LINE"
4507 else
4508 no_cache=1
4509 fi
4510
4511 ac_cv_use_protocols='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
4512
4513 fi;
4514
4515 eval "$ac_cv_use_protocols"
4516 if test "$no_cache" != 1; then
4517 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
4518 fi
4519
4520 if test "$wxUSE_PROTOCOL" = yes; then
4521 echo "$as_me:$LINENO: result: yes" >&5
4522 echo "${ECHO_T}yes" >&6
4523 else
4524 echo "$as_me:$LINENO: result: no" >&5
4525 echo "${ECHO_T}no" >&6
4526 fi
4527
4528
4529 enablestring=
4530 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
4531 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
4532 no_cache=0
4533 # Check whether --enable-ftp or --disable-ftp was given.
4534 if test "${enable_ftp+set}" = set; then
4535 enableval="$enable_ftp"
4536
4537 if test "$enableval" = yes; then
4538 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
4539 else
4540 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
4541 fi
4542
4543 else
4544
4545 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
4546 if test "x$LINE" != x ; then
4547 eval "DEFAULT_$LINE"
4548 else
4549 no_cache=1
4550 fi
4551
4552 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
4553
4554 fi;
4555
4556 eval "$ac_cv_use_ftp"
4557 if test "$no_cache" != 1; then
4558 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
4559 fi
4560
4561 if test "$wxUSE_PROTOCOL_FTP" = yes; then
4562 echo "$as_me:$LINENO: result: yes" >&5
4563 echo "${ECHO_T}yes" >&6
4564 else
4565 echo "$as_me:$LINENO: result: no" >&5
4566 echo "${ECHO_T}no" >&6
4567 fi
4568
4569
4570 enablestring=
4571 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
4572 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
4573 no_cache=0
4574 # Check whether --enable-http or --disable-http was given.
4575 if test "${enable_http+set}" = set; then
4576 enableval="$enable_http"
4577
4578 if test "$enableval" = yes; then
4579 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
4580 else
4581 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
4582 fi
4583
4584 else
4585
4586 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
4587 if test "x$LINE" != x ; then
4588 eval "DEFAULT_$LINE"
4589 else
4590 no_cache=1
4591 fi
4592
4593 ac_cv_use_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
4594
4595 fi;
4596
4597 eval "$ac_cv_use_http"
4598 if test "$no_cache" != 1; then
4599 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
4600 fi
4601
4602 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4603 echo "$as_me:$LINENO: result: yes" >&5
4604 echo "${ECHO_T}yes" >&6
4605 else
4606 echo "$as_me:$LINENO: result: no" >&5
4607 echo "${ECHO_T}no" >&6
4608 fi
4609
4610
4611 enablestring=
4612 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
4613 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6
4614 no_cache=0
4615 # Check whether --enable-fileproto or --disable-fileproto was given.
4616 if test "${enable_fileproto+set}" = set; then
4617 enableval="$enable_fileproto"
4618
4619 if test "$enableval" = yes; then
4620 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
4621 else
4622 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
4623 fi
4624
4625 else
4626
4627 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4628 if test "x$LINE" != x ; then
4629 eval "DEFAULT_$LINE"
4630 else
4631 no_cache=1
4632 fi
4633
4634 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
4635
4636 fi;
4637
4638 eval "$ac_cv_use_fileproto"
4639 if test "$no_cache" != 1; then
4640 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
4641 fi
4642
4643 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4644 echo "$as_me:$LINENO: result: yes" >&5
4645 echo "${ECHO_T}yes" >&6
4646 else
4647 echo "$as_me:$LINENO: result: no" >&5
4648 echo "${ECHO_T}no" >&6
4649 fi
4650
4651
4652 enablestring=
4653 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
4654 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
4655 no_cache=0
4656 # Check whether --enable-sockets or --disable-sockets was given.
4657 if test "${enable_sockets+set}" = set; then
4658 enableval="$enable_sockets"
4659
4660 if test "$enableval" = yes; then
4661 ac_cv_use_sockets='wxUSE_SOCKETS=yes'
4662 else
4663 ac_cv_use_sockets='wxUSE_SOCKETS=no'
4664 fi
4665
4666 else
4667
4668 LINE=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
4669 if test "x$LINE" != x ; then
4670 eval "DEFAULT_$LINE"
4671 else
4672 no_cache=1
4673 fi
4674
4675 ac_cv_use_sockets='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
4676
4677 fi;
4678
4679 eval "$ac_cv_use_sockets"
4680 if test "$no_cache" != 1; then
4681 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
4682 fi
4683
4684 if test "$wxUSE_SOCKETS" = yes; then
4685 echo "$as_me:$LINENO: result: yes" >&5
4686 echo "${ECHO_T}yes" >&6
4687 else
4688 echo "$as_me:$LINENO: result: no" >&5
4689 echo "${ECHO_T}no" >&6
4690 fi
4691
4692
4693 enablestring=
4694 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
4695 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
4696 no_cache=0
4697 # Check whether --enable-ole or --disable-ole was given.
4698 if test "${enable_ole+set}" = set; then
4699 enableval="$enable_ole"
4700
4701 if test "$enableval" = yes; then
4702 ac_cv_use_ole='wxUSE_OLE=yes'
4703 else
4704 ac_cv_use_ole='wxUSE_OLE=no'
4705 fi
4706
4707 else
4708
4709 LINE=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
4710 if test "x$LINE" != x ; then
4711 eval "DEFAULT_$LINE"
4712 else
4713 no_cache=1
4714 fi
4715
4716 ac_cv_use_ole='wxUSE_OLE='$DEFAULT_wxUSE_OLE
4717
4718 fi;
4719
4720 eval "$ac_cv_use_ole"
4721 if test "$no_cache" != 1; then
4722 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
4723 fi
4724
4725 if test "$wxUSE_OLE" = yes; then
4726 echo "$as_me:$LINENO: result: yes" >&5
4727 echo "${ECHO_T}yes" >&6
4728 else
4729 echo "$as_me:$LINENO: result: no" >&5
4730 echo "${ECHO_T}no" >&6
4731 fi
4732
4733
4734 enablestring=
4735 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
4736 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6
4737 no_cache=0
4738 # Check whether --enable-dataobj or --disable-dataobj was given.
4739 if test "${enable_dataobj+set}" = set; then
4740 enableval="$enable_dataobj"
4741
4742 if test "$enableval" = yes; then
4743 ac_cv_use_dataobj='wxUSE_DATAOBJ=yes'
4744 else
4745 ac_cv_use_dataobj='wxUSE_DATAOBJ=no'
4746 fi
4747
4748 else
4749
4750 LINE=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
4751 if test "x$LINE" != x ; then
4752 eval "DEFAULT_$LINE"
4753 else
4754 no_cache=1
4755 fi
4756
4757 ac_cv_use_dataobj='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
4758
4759 fi;
4760
4761 eval "$ac_cv_use_dataobj"
4762 if test "$no_cache" != 1; then
4763 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
4764 fi
4765
4766 if test "$wxUSE_DATAOBJ" = yes; then
4767 echo "$as_me:$LINENO: result: yes" >&5
4768 echo "${ECHO_T}yes" >&6
4769 else
4770 echo "$as_me:$LINENO: result: no" >&5
4771 echo "${ECHO_T}no" >&6
4772 fi
4773
4774
4775
4776 enablestring=
4777 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
4778 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
4779 no_cache=0
4780 # Check whether --enable-ipc or --disable-ipc was given.
4781 if test "${enable_ipc+set}" = set; then
4782 enableval="$enable_ipc"
4783
4784 if test "$enableval" = yes; then
4785 ac_cv_use_ipc='wxUSE_IPC=yes'
4786 else
4787 ac_cv_use_ipc='wxUSE_IPC=no'
4788 fi
4789
4790 else
4791
4792 LINE=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
4793 if test "x$LINE" != x ; then
4794 eval "DEFAULT_$LINE"
4795 else
4796 no_cache=1
4797 fi
4798
4799 ac_cv_use_ipc='wxUSE_IPC='$DEFAULT_wxUSE_IPC
4800
4801 fi;
4802
4803 eval "$ac_cv_use_ipc"
4804 if test "$no_cache" != 1; then
4805 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
4806 fi
4807
4808 if test "$wxUSE_IPC" = yes; then
4809 echo "$as_me:$LINENO: result: yes" >&5
4810 echo "${ECHO_T}yes" >&6
4811 else
4812 echo "$as_me:$LINENO: result: no" >&5
4813 echo "${ECHO_T}no" >&6
4814 fi
4815
4816
4817
4818 enablestring=
4819 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
4820 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6
4821 no_cache=0
4822 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
4823 if test "${enable_apple_ieee+set}" = set; then
4824 enableval="$enable_apple_ieee"
4825
4826 if test "$enableval" = yes; then
4827 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
4828 else
4829 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
4830 fi
4831
4832 else
4833
4834 LINE=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
4835 if test "x$LINE" != x ; then
4836 eval "DEFAULT_$LINE"
4837 else
4838 no_cache=1
4839 fi
4840
4841 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
4842
4843 fi;
4844
4845 eval "$ac_cv_use_apple_ieee"
4846 if test "$no_cache" != 1; then
4847 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
4848 fi
4849
4850 if test "$wxUSE_APPLE_IEEE" = yes; then
4851 echo "$as_me:$LINENO: result: yes" >&5
4852 echo "${ECHO_T}yes" >&6
4853 else
4854 echo "$as_me:$LINENO: result: no" >&5
4855 echo "${ECHO_T}no" >&6
4856 fi
4857
4858
4859 enablestring=
4860 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
4861 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6
4862 no_cache=0
4863 # Check whether --enable-arcstream or --disable-arcstream was given.
4864 if test "${enable_arcstream+set}" = set; then
4865 enableval="$enable_arcstream"
4866
4867 if test "$enableval" = yes; then
4868 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
4869 else
4870 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
4871 fi
4872
4873 else
4874
4875 LINE=`grep "wxUSE_ARCHIVE_STREAMS" ${wx_arg_cache_file}`
4876 if test "x$LINE" != x ; then
4877 eval "DEFAULT_$LINE"
4878 else
4879 no_cache=1
4880 fi
4881
4882 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS='$DEFAULT_wxUSE_ARCHIVE_STREAMS
4883
4884 fi;
4885
4886 eval "$ac_cv_use_arcstream"
4887 if test "$no_cache" != 1; then
4888 echo $ac_cv_use_arcstream >> ${wx_arg_cache_file}.tmp
4889 fi
4890
4891 if test "$wxUSE_ARCHIVE_STREAMS" = yes; then
4892 echo "$as_me:$LINENO: result: yes" >&5
4893 echo "${ECHO_T}yes" >&6
4894 else
4895 echo "$as_me:$LINENO: result: no" >&5
4896 echo "${ECHO_T}no" >&6
4897 fi
4898
4899
4900 enablestring=
4901 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
4902 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6
4903 no_cache=0
4904 # Check whether --enable-backtrace or --disable-backtrace was given.
4905 if test "${enable_backtrace+set}" = set; then
4906 enableval="$enable_backtrace"
4907
4908 if test "$enableval" = yes; then
4909 ac_cv_use_backtrace='wxUSE_STACKWALKER=yes'
4910 else
4911 ac_cv_use_backtrace='wxUSE_STACKWALKER=no'
4912 fi
4913
4914 else
4915
4916 LINE=`grep "wxUSE_STACKWALKER" ${wx_arg_cache_file}`
4917 if test "x$LINE" != x ; then
4918 eval "DEFAULT_$LINE"
4919 else
4920 no_cache=1
4921 fi
4922
4923 ac_cv_use_backtrace='wxUSE_STACKWALKER='$DEFAULT_wxUSE_STACKWALKER
4924
4925 fi;
4926
4927 eval "$ac_cv_use_backtrace"
4928 if test "$no_cache" != 1; then
4929 echo $ac_cv_use_backtrace >> ${wx_arg_cache_file}.tmp
4930 fi
4931
4932 if test "$wxUSE_STACKWALKER" = yes; then
4933 echo "$as_me:$LINENO: result: yes" >&5
4934 echo "${ECHO_T}yes" >&6
4935 else
4936 echo "$as_me:$LINENO: result: no" >&5
4937 echo "${ECHO_T}no" >&6
4938 fi
4939
4940
4941 enablestring=
4942 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
4943 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
4944 no_cache=0
4945 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
4946 if test "${enable_catch_segvs+set}" = set; then
4947 enableval="$enable_catch_segvs"
4948
4949 if test "$enableval" = yes; then
4950 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
4951 else
4952 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
4953 fi
4954
4955 else
4956
4957 LINE=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
4958 if test "x$LINE" != x ; then
4959 eval "DEFAULT_$LINE"
4960 else
4961 no_cache=1
4962 fi
4963
4964 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
4965
4966 fi;
4967
4968 eval "$ac_cv_use_catch_segvs"
4969 if test "$no_cache" != 1; then
4970 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
4971 fi
4972
4973 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
4974 echo "$as_me:$LINENO: result: yes" >&5
4975 echo "${ECHO_T}yes" >&6
4976 else
4977 echo "$as_me:$LINENO: result: no" >&5
4978 echo "${ECHO_T}no" >&6
4979 fi
4980
4981
4982 enablestring=
4983 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
4984 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
4985 no_cache=0
4986 # Check whether --enable-cmdline or --disable-cmdline was given.
4987 if test "${enable_cmdline+set}" = set; then
4988 enableval="$enable_cmdline"
4989
4990 if test "$enableval" = yes; then
4991 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
4992 else
4993 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
4994 fi
4995
4996 else
4997
4998 LINE=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
4999 if test "x$LINE" != x ; then
5000 eval "DEFAULT_$LINE"
5001 else
5002 no_cache=1
5003 fi
5004
5005 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
5006
5007 fi;
5008
5009 eval "$ac_cv_use_cmdline"
5010 if test "$no_cache" != 1; then
5011 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
5012 fi
5013
5014 if test "$wxUSE_CMDLINE_PARSER" = yes; then
5015 echo "$as_me:$LINENO: result: yes" >&5
5016 echo "${ECHO_T}yes" >&6
5017 else
5018 echo "$as_me:$LINENO: result: no" >&5
5019 echo "${ECHO_T}no" >&6
5020 fi
5021
5022
5023 enablestring=
5024 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
5025 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
5026 no_cache=0
5027 # Check whether --enable-datetime or --disable-datetime was given.
5028 if test "${enable_datetime+set}" = set; then
5029 enableval="$enable_datetime"
5030
5031 if test "$enableval" = yes; then
5032 ac_cv_use_datetime='wxUSE_DATETIME=yes'
5033 else
5034 ac_cv_use_datetime='wxUSE_DATETIME=no'
5035 fi
5036
5037 else
5038
5039 LINE=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
5040 if test "x$LINE" != x ; then
5041 eval "DEFAULT_$LINE"
5042 else
5043 no_cache=1
5044 fi
5045
5046 ac_cv_use_datetime='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
5047
5048 fi;
5049
5050 eval "$ac_cv_use_datetime"
5051 if test "$no_cache" != 1; then
5052 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
5053 fi
5054
5055 if test "$wxUSE_DATETIME" = yes; then
5056 echo "$as_me:$LINENO: result: yes" >&5
5057 echo "${ECHO_T}yes" >&6
5058 else
5059 echo "$as_me:$LINENO: result: no" >&5
5060 echo "${ECHO_T}no" >&6
5061 fi
5062
5063
5064 enablestring=
5065 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
5066 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6
5067 no_cache=0
5068 # Check whether --enable-debugreport or --disable-debugreport was given.
5069 if test "${enable_debugreport+set}" = set; then
5070 enableval="$enable_debugreport"
5071
5072 if test "$enableval" = yes; then
5073 ac_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
5074 else
5075 ac_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
5076 fi
5077
5078 else
5079
5080 LINE=`grep "wxUSE_DEBUGREPORT" ${wx_arg_cache_file}`
5081 if test "x$LINE" != x ; then
5082 eval "DEFAULT_$LINE"
5083 else
5084 no_cache=1
5085 fi
5086
5087 ac_cv_use_debugreport='wxUSE_DEBUGREPORT='$DEFAULT_wxUSE_DEBUGREPORT
5088
5089 fi;
5090
5091 eval "$ac_cv_use_debugreport"
5092 if test "$no_cache" != 1; then
5093 echo $ac_cv_use_debugreport >> ${wx_arg_cache_file}.tmp
5094 fi
5095
5096 if test "$wxUSE_DEBUGREPORT" = yes; then
5097 echo "$as_me:$LINENO: result: yes" >&5
5098 echo "${ECHO_T}yes" >&6
5099 else
5100 echo "$as_me:$LINENO: result: no" >&5
5101 echo "${ECHO_T}no" >&6
5102 fi
5103
5104
5105 enablestring=
5106 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
5107 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
5108 no_cache=0
5109 # Check whether --enable-dialupman or --disable-dialupman was given.
5110 if test "${enable_dialupman+set}" = set; then
5111 enableval="$enable_dialupman"
5112
5113 if test "$enableval" = yes; then
5114 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
5115 else
5116 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
5117 fi
5118
5119 else
5120
5121 LINE=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
5122 if test "x$LINE" != x ; then
5123 eval "DEFAULT_$LINE"
5124 else
5125 no_cache=1
5126 fi
5127
5128 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
5129
5130 fi;
5131
5132 eval "$ac_cv_use_dialupman"
5133 if test "$no_cache" != 1; then
5134 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
5135 fi
5136
5137 if test "$wxUSE_DIALUP_MANAGER" = yes; then
5138 echo "$as_me:$LINENO: result: yes" >&5
5139 echo "${ECHO_T}yes" >&6
5140 else
5141 echo "$as_me:$LINENO: result: no" >&5
5142 echo "${ECHO_T}no" >&6
5143 fi
5144
5145
5146 enablestring=
5147 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
5148 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
5149 no_cache=0
5150 # Check whether --enable-dynlib or --disable-dynlib was given.
5151 if test "${enable_dynlib+set}" = set; then
5152 enableval="$enable_dynlib"
5153
5154 if test "$enableval" = yes; then
5155 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
5156 else
5157 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
5158 fi
5159
5160 else
5161
5162 LINE=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
5163 if test "x$LINE" != x ; then
5164 eval "DEFAULT_$LINE"
5165 else
5166 no_cache=1
5167 fi
5168
5169 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
5170
5171 fi;
5172
5173 eval "$ac_cv_use_dynlib"
5174 if test "$no_cache" != 1; then
5175 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
5176 fi
5177
5178 if test "$wxUSE_DYNLIB_CLASS" = yes; then
5179 echo "$as_me:$LINENO: result: yes" >&5
5180 echo "${ECHO_T}yes" >&6
5181 else
5182 echo "$as_me:$LINENO: result: no" >&5
5183 echo "${ECHO_T}no" >&6
5184 fi
5185
5186
5187 enablestring=
5188 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
5189 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6
5190 no_cache=0
5191 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
5192 if test "${enable_dynamicloader+set}" = set; then
5193 enableval="$enable_dynamicloader"
5194
5195 if test "$enableval" = yes; then
5196 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
5197 else
5198 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
5199 fi
5200
5201 else
5202
5203 LINE=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
5204 if test "x$LINE" != x ; then
5205 eval "DEFAULT_$LINE"
5206 else
5207 no_cache=1
5208 fi
5209
5210 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
5211
5212 fi;
5213
5214 eval "$ac_cv_use_dynamicloader"
5215 if test "$no_cache" != 1; then
5216 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
5217 fi
5218
5219 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
5220 echo "$as_me:$LINENO: result: yes" >&5
5221 echo "${ECHO_T}yes" >&6
5222 else
5223 echo "$as_me:$LINENO: result: no" >&5
5224 echo "${ECHO_T}no" >&6
5225 fi
5226
5227
5228 enablestring=
5229 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
5230 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6
5231 no_cache=0
5232 # Check whether --enable-exceptions or --disable-exceptions was given.
5233 if test "${enable_exceptions+set}" = set; then
5234 enableval="$enable_exceptions"
5235
5236 if test "$enableval" = yes; then
5237 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
5238 else
5239 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
5240 fi
5241
5242 else
5243
5244 LINE=`grep "wxUSE_EXCEPTIONS" ${wx_arg_cache_file}`
5245 if test "x$LINE" != x ; then
5246 eval "DEFAULT_$LINE"
5247 else
5248 no_cache=1
5249 fi
5250
5251 ac_cv_use_exceptions='wxUSE_EXCEPTIONS='$DEFAULT_wxUSE_EXCEPTIONS
5252
5253 fi;
5254
5255 eval "$ac_cv_use_exceptions"
5256 if test "$no_cache" != 1; then
5257 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
5258 fi
5259
5260 if test "$wxUSE_EXCEPTIONS" = yes; then
5261 echo "$as_me:$LINENO: result: yes" >&5
5262 echo "${ECHO_T}yes" >&6
5263 else
5264 echo "$as_me:$LINENO: result: no" >&5
5265 echo "${ECHO_T}no" >&6
5266 fi
5267
5268
5269 enablestring=
5270 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
5271 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
5272 no_cache=0
5273 # Check whether --enable-ffile or --disable-ffile was given.
5274 if test "${enable_ffile+set}" = set; then
5275 enableval="$enable_ffile"
5276
5277 if test "$enableval" = yes; then
5278 ac_cv_use_ffile='wxUSE_FFILE=yes'
5279 else
5280 ac_cv_use_ffile='wxUSE_FFILE=no'
5281 fi
5282
5283 else
5284
5285 LINE=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
5286 if test "x$LINE" != x ; then
5287 eval "DEFAULT_$LINE"
5288 else
5289 no_cache=1
5290 fi
5291
5292 ac_cv_use_ffile='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
5293
5294 fi;
5295
5296 eval "$ac_cv_use_ffile"
5297 if test "$no_cache" != 1; then
5298 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
5299 fi
5300
5301 if test "$wxUSE_FFILE" = yes; then
5302 echo "$as_me:$LINENO: result: yes" >&5
5303 echo "${ECHO_T}yes" >&6
5304 else
5305 echo "$as_me:$LINENO: result: no" >&5
5306 echo "${ECHO_T}no" >&6
5307 fi
5308
5309
5310 enablestring=
5311 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
5312 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6
5313 no_cache=0
5314 # Check whether --enable-file or --disable-file was given.
5315 if test "${enable_file+set}" = set; then
5316 enableval="$enable_file"
5317
5318 if test "$enableval" = yes; then
5319 ac_cv_use_file='wxUSE_FILE=yes'
5320 else
5321 ac_cv_use_file='wxUSE_FILE=no'
5322 fi
5323
5324 else
5325
5326 LINE=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
5327 if test "x$LINE" != x ; then
5328 eval "DEFAULT_$LINE"
5329 else
5330 no_cache=1
5331 fi
5332
5333 ac_cv_use_file='wxUSE_FILE='$DEFAULT_wxUSE_FILE
5334
5335 fi;
5336
5337 eval "$ac_cv_use_file"
5338 if test "$no_cache" != 1; then
5339 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
5340 fi
5341
5342 if test "$wxUSE_FILE" = yes; then
5343 echo "$as_me:$LINENO: result: yes" >&5
5344 echo "${ECHO_T}yes" >&6
5345 else
5346 echo "$as_me:$LINENO: result: no" >&5
5347 echo "${ECHO_T}no" >&6
5348 fi
5349
5350
5351 enablestring=
5352 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
5353 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
5354 no_cache=0
5355 # Check whether --enable-filesystem or --disable-filesystem was given.
5356 if test "${enable_filesystem+set}" = set; then
5357 enableval="$enable_filesystem"
5358
5359 if test "$enableval" = yes; then
5360 ac_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
5361 else
5362 ac_cv_use_filesystem='wxUSE_FILESYSTEM=no'
5363 fi
5364
5365 else
5366
5367 LINE=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
5368 if test "x$LINE" != x ; then
5369 eval "DEFAULT_$LINE"
5370 else
5371 no_cache=1
5372 fi
5373
5374 ac_cv_use_filesystem='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
5375
5376 fi;
5377
5378 eval "$ac_cv_use_filesystem"
5379 if test "$no_cache" != 1; then
5380 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
5381 fi
5382
5383 if test "$wxUSE_FILESYSTEM" = yes; then
5384 echo "$as_me:$LINENO: result: yes" >&5
5385 echo "${ECHO_T}yes" >&6
5386 else
5387 echo "$as_me:$LINENO: result: no" >&5
5388 echo "${ECHO_T}no" >&6
5389 fi
5390
5391
5392 enablestring=
5393 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
5394 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6
5395 no_cache=0
5396 # Check whether --enable-fontmap or --disable-fontmap was given.
5397 if test "${enable_fontmap+set}" = set; then
5398 enableval="$enable_fontmap"
5399
5400 if test "$enableval" = yes; then
5401 ac_cv_use_fontmap='wxUSE_FONTMAP=yes'
5402 else
5403 ac_cv_use_fontmap='wxUSE_FONTMAP=no'
5404 fi
5405
5406 else
5407
5408 LINE=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
5409 if test "x$LINE" != x ; then
5410 eval "DEFAULT_$LINE"
5411 else
5412 no_cache=1
5413 fi
5414
5415 ac_cv_use_fontmap='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
5416
5417 fi;
5418
5419 eval "$ac_cv_use_fontmap"
5420 if test "$no_cache" != 1; then
5421 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
5422 fi
5423
5424 if test "$wxUSE_FONTMAP" = yes; then
5425 echo "$as_me:$LINENO: result: yes" >&5
5426 echo "${ECHO_T}yes" >&6
5427 else
5428 echo "$as_me:$LINENO: result: no" >&5
5429 echo "${ECHO_T}no" >&6
5430 fi
5431
5432
5433 enablestring=
5434 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
5435 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
5436 no_cache=0
5437 # Check whether --enable-fs_inet or --disable-fs_inet was given.
5438 if test "${enable_fs_inet+set}" = set; then
5439 enableval="$enable_fs_inet"
5440
5441 if test "$enableval" = yes; then
5442 ac_cv_use_fs_inet='wxUSE_FS_INET=yes'
5443 else
5444 ac_cv_use_fs_inet='wxUSE_FS_INET=no'
5445 fi
5446
5447 else
5448
5449 LINE=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
5450 if test "x$LINE" != x ; then
5451 eval "DEFAULT_$LINE"
5452 else
5453 no_cache=1
5454 fi
5455
5456 ac_cv_use_fs_inet='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
5457
5458 fi;
5459
5460 eval "$ac_cv_use_fs_inet"
5461 if test "$no_cache" != 1; then
5462 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
5463 fi
5464
5465 if test "$wxUSE_FS_INET" = yes; then
5466 echo "$as_me:$LINENO: result: yes" >&5
5467 echo "${ECHO_T}yes" >&6
5468 else
5469 echo "$as_me:$LINENO: result: no" >&5
5470 echo "${ECHO_T}no" >&6
5471 fi
5472
5473
5474 enablestring=
5475 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
5476 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6
5477 no_cache=0
5478 # Check whether --enable-fs_zip or --disable-fs_zip was given.
5479 if test "${enable_fs_zip+set}" = set; then
5480 enableval="$enable_fs_zip"
5481
5482 if test "$enableval" = yes; then
5483 ac_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
5484 else
5485 ac_cv_use_fs_zip='wxUSE_FS_ZIP=no'
5486 fi
5487
5488 else
5489
5490 LINE=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
5491 if test "x$LINE" != x ; then
5492 eval "DEFAULT_$LINE"
5493 else
5494 no_cache=1
5495 fi
5496
5497 ac_cv_use_fs_zip='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
5498
5499 fi;
5500
5501 eval "$ac_cv_use_fs_zip"
5502 if test "$no_cache" != 1; then
5503 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
5504 fi
5505
5506 if test "$wxUSE_FS_ZIP" = yes; then
5507 echo "$as_me:$LINENO: result: yes" >&5
5508 echo "${ECHO_T}yes" >&6
5509 else
5510 echo "$as_me:$LINENO: result: no" >&5
5511 echo "${ECHO_T}no" >&6
5512 fi
5513
5514
5515 enablestring=
5516 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
5517 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6
5518 no_cache=0
5519 # Check whether --enable-geometry or --disable-geometry was given.
5520 if test "${enable_geometry+set}" = set; then
5521 enableval="$enable_geometry"
5522
5523 if test "$enableval" = yes; then
5524 ac_cv_use_geometry='wxUSE_GEOMETRY=yes'
5525 else
5526 ac_cv_use_geometry='wxUSE_GEOMETRY=no'
5527 fi
5528
5529 else
5530
5531 LINE=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
5532 if test "x$LINE" != x ; then
5533 eval "DEFAULT_$LINE"
5534 else
5535 no_cache=1
5536 fi
5537
5538 ac_cv_use_geometry='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
5539
5540 fi;
5541
5542 eval "$ac_cv_use_geometry"
5543 if test "$no_cache" != 1; then
5544 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
5545 fi
5546
5547 if test "$wxUSE_GEOMETRY" = yes; then
5548 echo "$as_me:$LINENO: result: yes" >&5
5549 echo "${ECHO_T}yes" >&6
5550 else
5551 echo "$as_me:$LINENO: result: no" >&5
5552 echo "${ECHO_T}no" >&6
5553 fi
5554
5555
5556 enablestring=
5557 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
5558 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
5559 no_cache=0
5560 # Check whether --enable-log or --disable-log was given.
5561 if test "${enable_log+set}" = set; then
5562 enableval="$enable_log"
5563
5564 if test "$enableval" = yes; then
5565 ac_cv_use_log='wxUSE_LOG=yes'
5566 else
5567 ac_cv_use_log='wxUSE_LOG=no'
5568 fi
5569
5570 else
5571
5572 LINE=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
5573 if test "x$LINE" != x ; then
5574 eval "DEFAULT_$LINE"
5575 else
5576 no_cache=1
5577 fi
5578
5579 ac_cv_use_log='wxUSE_LOG='$DEFAULT_wxUSE_LOG
5580
5581 fi;
5582
5583 eval "$ac_cv_use_log"
5584 if test "$no_cache" != 1; then
5585 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
5586 fi
5587
5588 if test "$wxUSE_LOG" = yes; then
5589 echo "$as_me:$LINENO: result: yes" >&5
5590 echo "${ECHO_T}yes" >&6
5591 else
5592 echo "$as_me:$LINENO: result: no" >&5
5593 echo "${ECHO_T}no" >&6
5594 fi
5595
5596
5597 enablestring=
5598 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
5599 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6
5600 no_cache=0
5601 # Check whether --enable-longlong or --disable-longlong was given.
5602 if test "${enable_longlong+set}" = set; then
5603 enableval="$enable_longlong"
5604
5605 if test "$enableval" = yes; then
5606 ac_cv_use_longlong='wxUSE_LONGLONG=yes'
5607 else
5608 ac_cv_use_longlong='wxUSE_LONGLONG=no'
5609 fi
5610
5611 else
5612
5613 LINE=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
5614 if test "x$LINE" != x ; then
5615 eval "DEFAULT_$LINE"
5616 else
5617 no_cache=1
5618 fi
5619
5620 ac_cv_use_longlong='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
5621
5622 fi;
5623
5624 eval "$ac_cv_use_longlong"
5625 if test "$no_cache" != 1; then
5626 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
5627 fi
5628
5629 if test "$wxUSE_LONGLONG" = yes; then
5630 echo "$as_me:$LINENO: result: yes" >&5
5631 echo "${ECHO_T}yes" >&6
5632 else
5633 echo "$as_me:$LINENO: result: no" >&5
5634 echo "${ECHO_T}no" >&6
5635 fi
5636
5637
5638 enablestring=
5639 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
5640 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6
5641 no_cache=0
5642 # Check whether --enable-mimetype or --disable-mimetype was given.
5643 if test "${enable_mimetype+set}" = set; then
5644 enableval="$enable_mimetype"
5645
5646 if test "$enableval" = yes; then
5647 ac_cv_use_mimetype='wxUSE_MIMETYPE=yes'
5648 else
5649 ac_cv_use_mimetype='wxUSE_MIMETYPE=no'
5650 fi
5651
5652 else
5653
5654 LINE=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
5655 if test "x$LINE" != x ; then
5656 eval "DEFAULT_$LINE"
5657 else
5658 no_cache=1
5659 fi
5660
5661 ac_cv_use_mimetype='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
5662
5663 fi;
5664
5665 eval "$ac_cv_use_mimetype"
5666 if test "$no_cache" != 1; then
5667 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
5668 fi
5669
5670 if test "$wxUSE_MIMETYPE" = yes; then
5671 echo "$as_me:$LINENO: result: yes" >&5
5672 echo "${ECHO_T}yes" >&6
5673 else
5674 echo "$as_me:$LINENO: result: no" >&5
5675 echo "${ECHO_T}no" >&6
5676 fi
5677
5678
5679 enablestring=
5680 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5681 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6
5682 no_cache=0
5683 # Check whether --enable-mslu or --disable-mslu was given.
5684 if test "${enable_mslu+set}" = set; then
5685 enableval="$enable_mslu"
5686
5687 if test "$enableval" = yes; then
5688 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
5689 else
5690 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
5691 fi
5692
5693 else
5694
5695 LINE=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
5696 if test "x$LINE" != x ; then
5697 eval "DEFAULT_$LINE"
5698 else
5699 no_cache=1
5700 fi
5701
5702 ac_cv_use_mslu='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
5703
5704 fi;
5705
5706 eval "$ac_cv_use_mslu"
5707 if test "$no_cache" != 1; then
5708 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
5709 fi
5710
5711 if test "$wxUSE_UNICODE_MSLU" = yes; then
5712 echo "$as_me:$LINENO: result: yes" >&5
5713 echo "${ECHO_T}yes" >&6
5714 else
5715 echo "$as_me:$LINENO: result: no" >&5
5716 echo "${ECHO_T}no" >&6
5717 fi
5718
5719
5720 enablestring=
5721 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
5722 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
5723 no_cache=0
5724 # Check whether --enable-snglinst or --disable-snglinst was given.
5725 if test "${enable_snglinst+set}" = set; then
5726 enableval="$enable_snglinst"
5727
5728 if test "$enableval" = yes; then
5729 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
5730 else
5731 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
5732 fi
5733
5734 else
5735
5736 LINE=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
5737 if test "x$LINE" != x ; then
5738 eval "DEFAULT_$LINE"
5739 else
5740 no_cache=1
5741 fi
5742
5743 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
5744
5745 fi;
5746
5747 eval "$ac_cv_use_snglinst"
5748 if test "$no_cache" != 1; then
5749 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
5750 fi
5751
5752 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
5753 echo "$as_me:$LINENO: result: yes" >&5
5754 echo "${ECHO_T}yes" >&6
5755 else
5756 echo "$as_me:$LINENO: result: no" >&5
5757 echo "${ECHO_T}no" >&6
5758 fi
5759
5760
5761 enablestring=
5762 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
5763 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
5764 no_cache=0
5765 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
5766 if test "${enable_std_iostreams+set}" = set; then
5767 enableval="$enable_std_iostreams"
5768
5769 if test "$enableval" = yes; then
5770 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
5771 else
5772 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
5773 fi
5774
5775 else
5776
5777 LINE=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
5778 if test "x$LINE" != x ; then
5779 eval "DEFAULT_$LINE"
5780 else
5781 no_cache=1
5782 fi
5783
5784 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
5785
5786 fi;
5787
5788 eval "$ac_cv_use_std_iostreams"
5789 if test "$no_cache" != 1; then
5790 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
5791 fi
5792
5793 if test "$wxUSE_STD_IOSTREAM" = yes; then
5794 echo "$as_me:$LINENO: result: yes" >&5
5795 echo "${ECHO_T}yes" >&6
5796 else
5797 echo "$as_me:$LINENO: result: no" >&5
5798 echo "${ECHO_T}no" >&6
5799 fi
5800
5801
5802 enablestring=
5803 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
5804 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6
5805 no_cache=0
5806 # Check whether --enable-std_string or --disable-std_string was given.
5807 if test "${enable_std_string+set}" = set; then
5808 enableval="$enable_std_string"
5809
5810 if test "$enableval" = yes; then
5811 ac_cv_use_std_string='wxUSE_STD_STRING=yes'
5812 else
5813 ac_cv_use_std_string='wxUSE_STD_STRING=no'
5814 fi
5815
5816 else
5817
5818 LINE=`grep "wxUSE_STD_STRING" ${wx_arg_cache_file}`
5819 if test "x$LINE" != x ; then
5820 eval "DEFAULT_$LINE"
5821 else
5822 no_cache=1
5823 fi
5824
5825 ac_cv_use_std_string='wxUSE_STD_STRING='$DEFAULT_wxUSE_STD_STRING
5826
5827 fi;
5828
5829 eval "$ac_cv_use_std_string"
5830 if test "$no_cache" != 1; then
5831 echo $ac_cv_use_std_string >> ${wx_arg_cache_file}.tmp
5832 fi
5833
5834 if test "$wxUSE_STD_STRING" = yes; then
5835 echo "$as_me:$LINENO: result: yes" >&5
5836 echo "${ECHO_T}yes" >&6
5837 else
5838 echo "$as_me:$LINENO: result: no" >&5
5839 echo "${ECHO_T}no" >&6
5840 fi
5841
5842
5843 enablestring=
5844 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
5845 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6
5846 no_cache=0
5847 # Check whether --enable-stdpaths or --disable-stdpaths was given.
5848 if test "${enable_stdpaths+set}" = set; then
5849 enableval="$enable_stdpaths"
5850
5851 if test "$enableval" = yes; then
5852 ac_cv_use_stdpaths='wxUSE_STDPATHS=yes'
5853 else
5854 ac_cv_use_stdpaths='wxUSE_STDPATHS=no'
5855 fi
5856
5857 else
5858
5859 LINE=`grep "wxUSE_STDPATHS" ${wx_arg_cache_file}`
5860 if test "x$LINE" != x ; then
5861 eval "DEFAULT_$LINE"
5862 else
5863 no_cache=1
5864 fi
5865
5866 ac_cv_use_stdpaths='wxUSE_STDPATHS='$DEFAULT_wxUSE_STDPATHS
5867
5868 fi;
5869
5870 eval "$ac_cv_use_stdpaths"
5871 if test "$no_cache" != 1; then
5872 echo $ac_cv_use_stdpaths >> ${wx_arg_cache_file}.tmp
5873 fi
5874
5875 if test "$wxUSE_STDPATHS" = yes; then
5876 echo "$as_me:$LINENO: result: yes" >&5
5877 echo "${ECHO_T}yes" >&6
5878 else
5879 echo "$as_me:$LINENO: result: no" >&5
5880 echo "${ECHO_T}no" >&6
5881 fi
5882
5883
5884 enablestring=
5885 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
5886 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
5887 no_cache=0
5888 # Check whether --enable-stopwatch or --disable-stopwatch was given.
5889 if test "${enable_stopwatch+set}" = set; then
5890 enableval="$enable_stopwatch"
5891
5892 if test "$enableval" = yes; then
5893 ac_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
5894 else
5895 ac_cv_use_stopwatch='wxUSE_STOPWATCH=no'
5896 fi
5897
5898 else
5899
5900 LINE=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
5901 if test "x$LINE" != x ; then
5902 eval "DEFAULT_$LINE"
5903 else
5904 no_cache=1
5905 fi
5906
5907 ac_cv_use_stopwatch='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
5908
5909 fi;
5910
5911 eval "$ac_cv_use_stopwatch"
5912 if test "$no_cache" != 1; then
5913 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
5914 fi
5915
5916 if test "$wxUSE_STOPWATCH" = yes; then
5917 echo "$as_me:$LINENO: result: yes" >&5
5918 echo "${ECHO_T}yes" >&6
5919 else
5920 echo "$as_me:$LINENO: result: no" >&5
5921 echo "${ECHO_T}no" >&6
5922 fi
5923
5924
5925 enablestring=
5926 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
5927 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
5928 no_cache=0
5929 # Check whether --enable-streams or --disable-streams was given.
5930 if test "${enable_streams+set}" = set; then
5931 enableval="$enable_streams"
5932
5933 if test "$enableval" = yes; then
5934 ac_cv_use_streams='wxUSE_STREAMS=yes'
5935 else
5936 ac_cv_use_streams='wxUSE_STREAMS=no'
5937 fi
5938
5939 else
5940
5941 LINE=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
5942 if test "x$LINE" != x ; then
5943 eval "DEFAULT_$LINE"
5944 else
5945 no_cache=1
5946 fi
5947
5948 ac_cv_use_streams='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
5949
5950 fi;
5951
5952 eval "$ac_cv_use_streams"
5953 if test "$no_cache" != 1; then
5954 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
5955 fi
5956
5957 if test "$wxUSE_STREAMS" = yes; then
5958 echo "$as_me:$LINENO: result: yes" >&5
5959 echo "${ECHO_T}yes" >&6
5960 else
5961 echo "$as_me:$LINENO: result: no" >&5
5962 echo "${ECHO_T}no" >&6
5963 fi
5964
5965
5966 enablestring=
5967 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
5968 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6
5969 no_cache=0
5970 # Check whether --enable-system_options or --disable-system_options was given.
5971 if test "${enable_system_options+set}" = set; then
5972 enableval="$enable_system_options"
5973
5974 if test "$enableval" = yes; then
5975 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
5976 else
5977 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
5978 fi
5979
5980 else
5981
5982 LINE=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
5983 if test "x$LINE" != x ; then
5984 eval "DEFAULT_$LINE"
5985 else
5986 no_cache=1
5987 fi
5988
5989 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
5990
5991 fi;
5992
5993 eval "$ac_cv_use_system_options"
5994 if test "$no_cache" != 1; then
5995 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
5996 fi
5997
5998 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
5999 echo "$as_me:$LINENO: result: yes" >&5
6000 echo "${ECHO_T}yes" >&6
6001 else
6002 echo "$as_me:$LINENO: result: no" >&5
6003 echo "${ECHO_T}no" >&6
6004 fi
6005
6006
6007 enablestring=
6008 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
6009 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
6010 no_cache=0
6011 # Check whether --enable-textbuf or --disable-textbuf was given.
6012 if test "${enable_textbuf+set}" = set; then
6013 enableval="$enable_textbuf"
6014
6015 if test "$enableval" = yes; then
6016 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
6017 else
6018 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
6019 fi
6020
6021 else
6022
6023 LINE=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
6024 if test "x$LINE" != x ; then
6025 eval "DEFAULT_$LINE"
6026 else
6027 no_cache=1
6028 fi
6029
6030 ac_cv_use_textbuf='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
6031
6032 fi;
6033
6034 eval "$ac_cv_use_textbuf"
6035 if test "$no_cache" != 1; then
6036 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
6037 fi
6038
6039 if test "$wxUSE_TEXTBUFFER" = yes; then
6040 echo "$as_me:$LINENO: result: yes" >&5
6041 echo "${ECHO_T}yes" >&6
6042 else
6043 echo "$as_me:$LINENO: result: no" >&5
6044 echo "${ECHO_T}no" >&6
6045 fi
6046
6047
6048 enablestring=
6049 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
6050 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
6051 no_cache=0
6052 # Check whether --enable-textfile or --disable-textfile was given.
6053 if test "${enable_textfile+set}" = set; then
6054 enableval="$enable_textfile"
6055
6056 if test "$enableval" = yes; then
6057 ac_cv_use_textfile='wxUSE_TEXTFILE=yes'
6058 else
6059 ac_cv_use_textfile='wxUSE_TEXTFILE=no'
6060 fi
6061
6062 else
6063
6064 LINE=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
6065 if test "x$LINE" != x ; then
6066 eval "DEFAULT_$LINE"
6067 else
6068 no_cache=1
6069 fi
6070
6071 ac_cv_use_textfile='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
6072
6073 fi;
6074
6075 eval "$ac_cv_use_textfile"
6076 if test "$no_cache" != 1; then
6077 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
6078 fi
6079
6080 if test "$wxUSE_TEXTFILE" = yes; then
6081 echo "$as_me:$LINENO: result: yes" >&5
6082 echo "${ECHO_T}yes" >&6
6083 else
6084 echo "$as_me:$LINENO: result: no" >&5
6085 echo "${ECHO_T}no" >&6
6086 fi
6087
6088
6089 enablestring=
6090 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
6091 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
6092 no_cache=0
6093 # Check whether --enable-timer or --disable-timer was given.
6094 if test "${enable_timer+set}" = set; then
6095 enableval="$enable_timer"
6096
6097 if test "$enableval" = yes; then
6098 ac_cv_use_timer='wxUSE_TIMER=yes'
6099 else
6100 ac_cv_use_timer='wxUSE_TIMER=no'
6101 fi
6102
6103 else
6104
6105 LINE=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
6106 if test "x$LINE" != x ; then
6107 eval "DEFAULT_$LINE"
6108 else
6109 no_cache=1
6110 fi
6111
6112 ac_cv_use_timer='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
6113
6114 fi;
6115
6116 eval "$ac_cv_use_timer"
6117 if test "$no_cache" != 1; then
6118 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
6119 fi
6120
6121 if test "$wxUSE_TIMER" = yes; then
6122 echo "$as_me:$LINENO: result: yes" >&5
6123 echo "${ECHO_T}yes" >&6
6124 else
6125 echo "$as_me:$LINENO: result: no" >&5
6126 echo "${ECHO_T}no" >&6
6127 fi
6128
6129
6130 enablestring=
6131 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
6132 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
6133 no_cache=0
6134 # Check whether --enable-unicode or --disable-unicode was given.
6135 if test "${enable_unicode+set}" = set; then
6136 enableval="$enable_unicode"
6137
6138 if test "$enableval" = yes; then
6139 ac_cv_use_unicode='wxUSE_UNICODE=yes'
6140 else
6141 ac_cv_use_unicode='wxUSE_UNICODE=no'
6142 fi
6143
6144 else
6145
6146 LINE=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
6147 if test "x$LINE" != x ; then
6148 eval "DEFAULT_$LINE"
6149 else
6150 no_cache=1
6151 fi
6152
6153 ac_cv_use_unicode='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
6154
6155 fi;
6156
6157 eval "$ac_cv_use_unicode"
6158 if test "$no_cache" != 1; then
6159 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
6160 fi
6161
6162 if test "$wxUSE_UNICODE" = yes; then
6163 echo "$as_me:$LINENO: result: yes" >&5
6164 echo "${ECHO_T}yes" >&6
6165 else
6166 echo "$as_me:$LINENO: result: no" >&5
6167 echo "${ECHO_T}no" >&6
6168 fi
6169
6170
6171 enablestring=
6172 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
6173 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6
6174 no_cache=0
6175 # Check whether --enable-sound or --disable-sound was given.
6176 if test "${enable_sound+set}" = set; then
6177 enableval="$enable_sound"
6178
6179 if test "$enableval" = yes; then
6180 ac_cv_use_sound='wxUSE_SOUND=yes'
6181 else
6182 ac_cv_use_sound='wxUSE_SOUND=no'
6183 fi
6184
6185 else
6186
6187 LINE=`grep "wxUSE_SOUND" ${wx_arg_cache_file}`
6188 if test "x$LINE" != x ; then
6189 eval "DEFAULT_$LINE"
6190 else
6191 no_cache=1
6192 fi
6193
6194 ac_cv_use_sound='wxUSE_SOUND='$DEFAULT_wxUSE_SOUND
6195
6196 fi;
6197
6198 eval "$ac_cv_use_sound"
6199 if test "$no_cache" != 1; then
6200 echo $ac_cv_use_sound >> ${wx_arg_cache_file}.tmp
6201 fi
6202
6203 if test "$wxUSE_SOUND" = yes; then
6204 echo "$as_me:$LINENO: result: yes" >&5
6205 echo "${ECHO_T}yes" >&6
6206 else
6207 echo "$as_me:$LINENO: result: no" >&5
6208 echo "${ECHO_T}no" >&6
6209 fi
6210
6211
6212 enablestring=
6213 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
6214 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6
6215 no_cache=0
6216 # Check whether --enable-mediactrl or --disable-mediactrl was given.
6217 if test "${enable_mediactrl+set}" = set; then
6218 enableval="$enable_mediactrl"
6219
6220 if test "$enableval" = yes; then
6221 ac_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
6222 else
6223 ac_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
6224 fi
6225
6226 else
6227
6228 LINE=`grep "wxUSE_MEDIACTRL" ${wx_arg_cache_file}`
6229 if test "x$LINE" != x ; then
6230 eval "DEFAULT_$LINE"
6231 else
6232 no_cache=1
6233 fi
6234
6235 ac_cv_use_mediactrl='wxUSE_MEDIACTRL='$DEFAULT_wxUSE_MEDIACTRL
6236
6237 fi;
6238
6239 eval "$ac_cv_use_mediactrl"
6240 if test "$no_cache" != 1; then
6241 echo $ac_cv_use_mediactrl >> ${wx_arg_cache_file}.tmp
6242 fi
6243
6244 if test "$wxUSE_MEDIACTRL" = yes; then
6245 echo "$as_me:$LINENO: result: yes" >&5
6246 echo "${ECHO_T}yes" >&6
6247 else
6248 echo "$as_me:$LINENO: result: no" >&5
6249 echo "${ECHO_T}no" >&6
6250 fi
6251
6252
6253 enablestring=
6254 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
6255 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6
6256 no_cache=0
6257 # Check whether --enable-gstreamer8 or --disable-gstreamer8 was given.
6258 if test "${enable_gstreamer8+set}" = set; then
6259 enableval="$enable_gstreamer8"
6260
6261 if test "$enableval" = yes; then
6262 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
6263 else
6264 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
6265 fi
6266
6267 else
6268
6269 LINE=`grep "wxUSE_GSTREAMER8" ${wx_arg_cache_file}`
6270 if test "x$LINE" != x ; then
6271 eval "DEFAULT_$LINE"
6272 else
6273 no_cache=1
6274 fi
6275
6276 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8='$DEFAULT_wxUSE_GSTREAMER8
6277
6278 fi;
6279
6280 eval "$ac_cv_use_gstreamer8"
6281 if test "$no_cache" != 1; then
6282 echo $ac_cv_use_gstreamer8 >> ${wx_arg_cache_file}.tmp
6283 fi
6284
6285 if test "$wxUSE_GSTREAMER8" = yes; then
6286 echo "$as_me:$LINENO: result: yes" >&5
6287 echo "${ECHO_T}yes" >&6
6288 else
6289 echo "$as_me:$LINENO: result: no" >&5
6290 echo "${ECHO_T}no" >&6
6291 fi
6292
6293
6294 enablestring=
6295 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxprintfv" >&5
6296 echo $ECHO_N "checking for --${enablestring:-enable}-wxprintfv... $ECHO_C" >&6
6297 no_cache=0
6298 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
6299 if test "${enable_wxprintfv+set}" = set; then
6300 enableval="$enable_wxprintfv"
6301
6302 if test "$enableval" = yes; then
6303 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF=yes'
6304 else
6305 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF=no'
6306 fi
6307
6308 else
6309
6310 LINE=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
6311 if test "x$LINE" != x ; then
6312 eval "DEFAULT_$LINE"
6313 else
6314 no_cache=1
6315 fi
6316
6317 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
6318
6319 fi;
6320
6321 eval "$ac_cv_use_wxprintfv"
6322 if test "$no_cache" != 1; then
6323 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
6324 fi
6325
6326 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
6327 echo "$as_me:$LINENO: result: yes" >&5
6328 echo "${ECHO_T}yes" >&6
6329 else
6330 echo "$as_me:$LINENO: result: no" >&5
6331 echo "${ECHO_T}no" >&6
6332 fi
6333
6334
6335 enablestring=
6336 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
6337 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
6338 no_cache=0
6339 # Check whether --enable-zipstream or --disable-zipstream was given.
6340 if test "${enable_zipstream+set}" = set; then
6341 enableval="$enable_zipstream"
6342
6343 if test "$enableval" = yes; then
6344 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
6345 else
6346 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
6347 fi
6348
6349 else
6350
6351 LINE=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
6352 if test "x$LINE" != x ; then
6353 eval "DEFAULT_$LINE"
6354 else
6355 no_cache=1
6356 fi
6357
6358 ac_cv_use_zipstream='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
6359
6360 fi;
6361
6362 eval "$ac_cv_use_zipstream"
6363 if test "$no_cache" != 1; then
6364 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
6365 fi
6366
6367 if test "$wxUSE_ZIPSTREAM" = yes; then
6368 echo "$as_me:$LINENO: result: yes" >&5
6369 echo "${ECHO_T}yes" >&6
6370 else
6371 echo "$as_me:$LINENO: result: no" >&5
6372 echo "${ECHO_T}no" >&6
6373 fi
6374
6375
6376
6377 enablestring=
6378 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
6379 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
6380 no_cache=0
6381 # Check whether --enable-url or --disable-url was given.
6382 if test "${enable_url+set}" = set; then
6383 enableval="$enable_url"
6384
6385 if test "$enableval" = yes; then
6386 ac_cv_use_url='wxUSE_URL=yes'
6387 else
6388 ac_cv_use_url='wxUSE_URL=no'
6389 fi
6390
6391 else
6392
6393 LINE=`grep "wxUSE_URL" ${wx_arg_cache_file}`
6394 if test "x$LINE" != x ; then
6395 eval "DEFAULT_$LINE"
6396 else
6397 no_cache=1
6398 fi
6399
6400 ac_cv_use_url='wxUSE_URL='$DEFAULT_wxUSE_URL
6401
6402 fi;
6403
6404 eval "$ac_cv_use_url"
6405 if test "$no_cache" != 1; then
6406 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
6407 fi
6408
6409 if test "$wxUSE_URL" = yes; then
6410 echo "$as_me:$LINENO: result: yes" >&5
6411 echo "${ECHO_T}yes" >&6
6412 else
6413 echo "$as_me:$LINENO: result: no" >&5
6414 echo "${ECHO_T}no" >&6
6415 fi
6416
6417
6418 enablestring=
6419 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
6420 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
6421 no_cache=0
6422 # Check whether --enable-protocol or --disable-protocol was given.
6423 if test "${enable_protocol+set}" = set; then
6424 enableval="$enable_protocol"
6425
6426 if test "$enableval" = yes; then
6427 ac_cv_use_protocol='wxUSE_PROTOCOL=yes'
6428 else
6429 ac_cv_use_protocol='wxUSE_PROTOCOL=no'
6430 fi
6431
6432 else
6433
6434 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
6435 if test "x$LINE" != x ; then
6436 eval "DEFAULT_$LINE"
6437 else
6438 no_cache=1
6439 fi
6440
6441 ac_cv_use_protocol='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
6442
6443 fi;
6444
6445 eval "$ac_cv_use_protocol"
6446 if test "$no_cache" != 1; then
6447 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
6448 fi
6449
6450 if test "$wxUSE_PROTOCOL" = yes; then
6451 echo "$as_me:$LINENO: result: yes" >&5
6452 echo "${ECHO_T}yes" >&6
6453 else
6454 echo "$as_me:$LINENO: result: no" >&5
6455 echo "${ECHO_T}no" >&6
6456 fi
6457
6458
6459 enablestring=
6460 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
6461 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
6462 no_cache=0
6463 # Check whether --enable-protocol_http or --disable-protocol_http was given.
6464 if test "${enable_protocol_http+set}" = set; then
6465 enableval="$enable_protocol_http"
6466
6467 if test "$enableval" = yes; then
6468 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
6469 else
6470 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
6471 fi
6472
6473 else
6474
6475 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
6476 if test "x$LINE" != x ; then
6477 eval "DEFAULT_$LINE"
6478 else
6479 no_cache=1
6480 fi
6481
6482 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
6483
6484 fi;
6485
6486 eval "$ac_cv_use_protocol_http"
6487 if test "$no_cache" != 1; then
6488 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
6489 fi
6490
6491 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
6492 echo "$as_me:$LINENO: result: yes" >&5
6493 echo "${ECHO_T}yes" >&6
6494 else
6495 echo "$as_me:$LINENO: result: no" >&5
6496 echo "${ECHO_T}no" >&6
6497 fi
6498
6499
6500 enablestring=
6501 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
6502 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
6503 no_cache=0
6504 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
6505 if test "${enable_protocol_ftp+set}" = set; then
6506 enableval="$enable_protocol_ftp"
6507
6508 if test "$enableval" = yes; then
6509 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
6510 else
6511 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
6512 fi
6513
6514 else
6515
6516 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
6517 if test "x$LINE" != x ; then
6518 eval "DEFAULT_$LINE"
6519 else
6520 no_cache=1
6521 fi
6522
6523 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
6524
6525 fi;
6526
6527 eval "$ac_cv_use_protocol_ftp"
6528 if test "$no_cache" != 1; then
6529 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
6530 fi
6531
6532 if test "$wxUSE_PROTOCOL_FTP" = yes; then
6533 echo "$as_me:$LINENO: result: yes" >&5
6534 echo "${ECHO_T}yes" >&6
6535 else
6536 echo "$as_me:$LINENO: result: no" >&5
6537 echo "${ECHO_T}no" >&6
6538 fi
6539
6540
6541 enablestring=
6542 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
6543 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
6544 no_cache=0
6545 # Check whether --enable-protocol_file or --disable-protocol_file was given.
6546 if test "${enable_protocol_file+set}" = set; then
6547 enableval="$enable_protocol_file"
6548
6549 if test "$enableval" = yes; then
6550 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
6551 else
6552 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
6553 fi
6554
6555 else
6556
6557 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
6558 if test "x$LINE" != x ; then
6559 eval "DEFAULT_$LINE"
6560 else
6561 no_cache=1
6562 fi
6563
6564 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
6565
6566 fi;
6567
6568 eval "$ac_cv_use_protocol_file"
6569 if test "$no_cache" != 1; then
6570 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
6571 fi
6572
6573 if test "$wxUSE_PROTOCOL_FILE" = yes; then
6574 echo "$as_me:$LINENO: result: yes" >&5
6575 echo "${ECHO_T}yes" >&6
6576 else
6577 echo "$as_me:$LINENO: result: no" >&5
6578 echo "${ECHO_T}no" >&6
6579 fi
6580
6581
6582
6583
6584
6585 enablestring=
6586 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
6587 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
6588 no_cache=0
6589 # Check whether --enable-threads or --disable-threads was given.
6590 if test "${enable_threads+set}" = set; then
6591 enableval="$enable_threads"
6592
6593 if test "$enableval" = yes; then
6594 ac_cv_use_threads='wxUSE_THREADS=yes'
6595 else
6596 ac_cv_use_threads='wxUSE_THREADS=no'
6597 fi
6598
6599 else
6600
6601 LINE=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
6602 if test "x$LINE" != x ; then
6603 eval "DEFAULT_$LINE"
6604 else
6605 no_cache=1
6606 fi
6607
6608 ac_cv_use_threads='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
6609
6610 fi;
6611
6612 eval "$ac_cv_use_threads"
6613 if test "$no_cache" != 1; then
6614 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
6615 fi
6616
6617 if test "$wxUSE_THREADS" = yes; then
6618 echo "$as_me:$LINENO: result: yes" >&5
6619 echo "${ECHO_T}yes" >&6
6620 else
6621 echo "$as_me:$LINENO: result: no" >&5
6622 echo "${ECHO_T}no" >&6
6623 fi
6624
6625
6626 if test "$wxUSE_GUI" = "yes"; then
6627
6628
6629
6630 enablestring=
6631 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
6632 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
6633 no_cache=0
6634 # Check whether --enable-docview or --disable-docview was given.
6635 if test "${enable_docview+set}" = set; then
6636 enableval="$enable_docview"
6637
6638 if test "$enableval" = yes; then
6639 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
6640 else
6641 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
6642 fi
6643
6644 else
6645
6646 LINE=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
6647 if test "x$LINE" != x ; then
6648 eval "DEFAULT_$LINE"
6649 else
6650 no_cache=1
6651 fi
6652
6653 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
6654
6655 fi;
6656
6657 eval "$ac_cv_use_docview"
6658 if test "$no_cache" != 1; then
6659 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
6660 fi
6661
6662 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
6663 echo "$as_me:$LINENO: result: yes" >&5
6664 echo "${ECHO_T}yes" >&6
6665 else
6666 echo "$as_me:$LINENO: result: no" >&5
6667 echo "${ECHO_T}no" >&6
6668 fi
6669
6670
6671 enablestring=
6672 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
6673 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
6674 no_cache=0
6675 # Check whether --enable-help or --disable-help was given.
6676 if test "${enable_help+set}" = set; then
6677 enableval="$enable_help"
6678
6679 if test "$enableval" = yes; then
6680 ac_cv_use_help='wxUSE_HELP=yes'
6681 else
6682 ac_cv_use_help='wxUSE_HELP=no'
6683 fi
6684
6685 else
6686
6687 LINE=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
6688 if test "x$LINE" != x ; then
6689 eval "DEFAULT_$LINE"
6690 else
6691 no_cache=1
6692 fi
6693
6694 ac_cv_use_help='wxUSE_HELP='$DEFAULT_wxUSE_HELP
6695
6696 fi;
6697
6698 eval "$ac_cv_use_help"
6699 if test "$no_cache" != 1; then
6700 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
6701 fi
6702
6703 if test "$wxUSE_HELP" = yes; then
6704 echo "$as_me:$LINENO: result: yes" >&5
6705 echo "${ECHO_T}yes" >&6
6706 else
6707 echo "$as_me:$LINENO: result: no" >&5
6708 echo "${ECHO_T}no" >&6
6709 fi
6710
6711
6712 enablestring=
6713 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
6714 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6
6715 no_cache=0
6716 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
6717 if test "${enable_mshtmlhelp+set}" = set; then
6718 enableval="$enable_mshtmlhelp"
6719
6720 if test "$enableval" = yes; then
6721 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
6722 else
6723 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
6724 fi
6725
6726 else
6727
6728 LINE=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
6729 if test "x$LINE" != x ; then
6730 eval "DEFAULT_$LINE"
6731 else
6732 no_cache=1
6733 fi
6734
6735 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
6736
6737 fi;
6738
6739 eval "$ac_cv_use_mshtmlhelp"
6740 if test "$no_cache" != 1; then
6741 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
6742 fi
6743
6744 if test "$wxUSE_MS_HTML_HELP" = yes; then
6745 echo "$as_me:$LINENO: result: yes" >&5
6746 echo "${ECHO_T}yes" >&6
6747 else
6748 echo "$as_me:$LINENO: result: no" >&5
6749 echo "${ECHO_T}no" >&6
6750 fi
6751
6752
6753 enablestring=
6754 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
6755 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
6756 no_cache=0
6757 # Check whether --enable-html or --disable-html was given.
6758 if test "${enable_html+set}" = set; then
6759 enableval="$enable_html"
6760
6761 if test "$enableval" = yes; then
6762 ac_cv_use_html='wxUSE_HTML=yes'
6763 else
6764 ac_cv_use_html='wxUSE_HTML=no'
6765 fi
6766
6767 else
6768
6769 LINE=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
6770 if test "x$LINE" != x ; then
6771 eval "DEFAULT_$LINE"
6772 else
6773 no_cache=1
6774 fi
6775
6776 ac_cv_use_html='wxUSE_HTML='$DEFAULT_wxUSE_HTML
6777
6778 fi;
6779
6780 eval "$ac_cv_use_html"
6781 if test "$no_cache" != 1; then
6782 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
6783 fi
6784
6785 if test "$wxUSE_HTML" = yes; then
6786 echo "$as_me:$LINENO: result: yes" >&5
6787 echo "${ECHO_T}yes" >&6
6788 else
6789 echo "$as_me:$LINENO: result: no" >&5
6790 echo "${ECHO_T}no" >&6
6791 fi
6792
6793
6794 enablestring=
6795 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
6796 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
6797 no_cache=0
6798 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
6799 if test "${enable_htmlhelp+set}" = set; then
6800 enableval="$enable_htmlhelp"
6801
6802 if test "$enableval" = yes; then
6803 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
6804 else
6805 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
6806 fi
6807
6808 else
6809
6810 LINE=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
6811 if test "x$LINE" != x ; then
6812 eval "DEFAULT_$LINE"
6813 else
6814 no_cache=1
6815 fi
6816
6817 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
6818
6819 fi;
6820
6821 eval "$ac_cv_use_htmlhelp"
6822 if test "$no_cache" != 1; then
6823 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
6824 fi
6825
6826 if test "$wxUSE_WXHTML_HELP" = yes; then
6827 echo "$as_me:$LINENO: result: yes" >&5
6828 echo "${ECHO_T}yes" >&6
6829 else
6830 echo "$as_me:$LINENO: result: no" >&5
6831 echo "${ECHO_T}no" >&6
6832 fi
6833
6834
6835 enablestring=
6836 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
6837 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6
6838 no_cache=0
6839 # Check whether --enable-xrc or --disable-xrc was given.
6840 if test "${enable_xrc+set}" = set; then
6841 enableval="$enable_xrc"
6842
6843 if test "$enableval" = yes; then
6844 ac_cv_use_xrc='wxUSE_XRC=yes'
6845 else
6846 ac_cv_use_xrc='wxUSE_XRC=no'
6847 fi
6848
6849 else
6850
6851 LINE=`grep "wxUSE_XRC" ${wx_arg_cache_file}`
6852 if test "x$LINE" != x ; then
6853 eval "DEFAULT_$LINE"
6854 else
6855 no_cache=1
6856 fi
6857
6858 ac_cv_use_xrc='wxUSE_XRC='$DEFAULT_wxUSE_XRC
6859
6860 fi;
6861
6862 eval "$ac_cv_use_xrc"
6863 if test "$no_cache" != 1; then
6864 echo $ac_cv_use_xrc >> ${wx_arg_cache_file}.tmp
6865 fi
6866
6867 if test "$wxUSE_XRC" = yes; then
6868 echo "$as_me:$LINENO: result: yes" >&5
6869 echo "${ECHO_T}yes" >&6
6870 else
6871 echo "$as_me:$LINENO: result: no" >&5
6872 echo "${ECHO_T}no" >&6
6873 fi
6874
6875
6876 enablestring=
6877 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
6878 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6
6879 no_cache=0
6880 # Check whether --enable-constraints or --disable-constraints was given.
6881 if test "${enable_constraints+set}" = set; then
6882 enableval="$enable_constraints"
6883
6884 if test "$enableval" = yes; then
6885 ac_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
6886 else
6887 ac_cv_use_constraints='wxUSE_CONSTRAINTS=no'
6888 fi
6889
6890 else
6891
6892 LINE=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
6893 if test "x$LINE" != x ; then
6894 eval "DEFAULT_$LINE"
6895 else
6896 no_cache=1
6897 fi
6898
6899 ac_cv_use_constraints='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
6900
6901 fi;
6902
6903 eval "$ac_cv_use_constraints"
6904 if test "$no_cache" != 1; then
6905 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
6906 fi
6907
6908 if test "$wxUSE_CONSTRAINTS" = yes; then
6909 echo "$as_me:$LINENO: result: yes" >&5
6910 echo "${ECHO_T}yes" >&6
6911 else
6912 echo "$as_me:$LINENO: result: no" >&5
6913 echo "${ECHO_T}no" >&6
6914 fi
6915
6916
6917 enablestring=
6918 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
6919 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
6920 no_cache=0
6921 # Check whether --enable-printarch or --disable-printarch was given.
6922 if test "${enable_printarch+set}" = set; then
6923 enableval="$enable_printarch"
6924
6925 if test "$enableval" = yes; then
6926 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
6927 else
6928 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
6929 fi
6930
6931 else
6932
6933 LINE=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
6934 if test "x$LINE" != x ; then
6935 eval "DEFAULT_$LINE"
6936 else
6937 no_cache=1
6938 fi
6939
6940 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
6941
6942 fi;
6943
6944 eval "$ac_cv_use_printarch"
6945 if test "$no_cache" != 1; then
6946 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
6947 fi
6948
6949 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
6950 echo "$as_me:$LINENO: result: yes" >&5
6951 echo "${ECHO_T}yes" >&6
6952 else
6953 echo "$as_me:$LINENO: result: no" >&5
6954 echo "${ECHO_T}no" >&6
6955 fi
6956
6957
6958 enablestring=
6959 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
6960 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
6961 no_cache=0
6962 # Check whether --enable-mdi or --disable-mdi was given.
6963 if test "${enable_mdi+set}" = set; then
6964 enableval="$enable_mdi"
6965
6966 if test "$enableval" = yes; then
6967 ac_cv_use_mdi='wxUSE_MDI=yes'
6968 else
6969 ac_cv_use_mdi='wxUSE_MDI=no'
6970 fi
6971
6972 else
6973
6974 LINE=`grep "wxUSE_MDI" ${wx_arg_cache_file}`
6975 if test "x$LINE" != x ; then
6976 eval "DEFAULT_$LINE"
6977 else
6978 no_cache=1
6979 fi
6980
6981 ac_cv_use_mdi='wxUSE_MDI='$DEFAULT_wxUSE_MDI
6982
6983 fi;
6984
6985 eval "$ac_cv_use_mdi"
6986 if test "$no_cache" != 1; then
6987 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
6988 fi
6989
6990 if test "$wxUSE_MDI" = yes; then
6991 echo "$as_me:$LINENO: result: yes" >&5
6992 echo "${ECHO_T}yes" >&6
6993 else
6994 echo "$as_me:$LINENO: result: no" >&5
6995 echo "${ECHO_T}no" >&6
6996 fi
6997
6998
6999 enablestring=
7000 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
7001 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6
7002 no_cache=0
7003 # Check whether --enable-mdidoc or --disable-mdidoc was given.
7004 if test "${enable_mdidoc+set}" = set; then
7005 enableval="$enable_mdidoc"
7006
7007 if test "$enableval" = yes; then
7008 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
7009 else
7010 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
7011 fi
7012
7013 else
7014
7015 LINE=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
7016 if test "x$LINE" != x ; then
7017 eval "DEFAULT_$LINE"
7018 else
7019 no_cache=1
7020 fi
7021
7022 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
7023
7024 fi;
7025
7026 eval "$ac_cv_use_mdidoc"
7027 if test "$no_cache" != 1; then
7028 echo $ac_cv_use_mdidoc >> ${wx_arg_cache_file}.tmp
7029 fi
7030
7031 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
7032 echo "$as_me:$LINENO: result: yes" >&5
7033 echo "${ECHO_T}yes" >&6
7034 else
7035 echo "$as_me:$LINENO: result: no" >&5
7036 echo "${ECHO_T}no" >&6
7037 fi
7038
7039
7040 enablestring=
7041 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
7042 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
7043 no_cache=0
7044 # Check whether --enable-loggui or --disable-loggui was given.
7045 if test "${enable_loggui+set}" = set; then
7046 enableval="$enable_loggui"
7047
7048 if test "$enableval" = yes; then
7049 ac_cv_use_loggui='wxUSE_LOGGUI=yes'
7050 else
7051 ac_cv_use_loggui='wxUSE_LOGGUI=no'
7052 fi
7053
7054 else
7055
7056 LINE=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
7057 if test "x$LINE" != x ; then
7058 eval "DEFAULT_$LINE"
7059 else
7060 no_cache=1
7061 fi
7062
7063 ac_cv_use_loggui='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
7064
7065 fi;
7066
7067 eval "$ac_cv_use_loggui"
7068 if test "$no_cache" != 1; then
7069 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
7070 fi
7071
7072 if test "$wxUSE_LOGGUI" = yes; then
7073 echo "$as_me:$LINENO: result: yes" >&5
7074 echo "${ECHO_T}yes" >&6
7075 else
7076 echo "$as_me:$LINENO: result: no" >&5
7077 echo "${ECHO_T}no" >&6
7078 fi
7079
7080
7081 enablestring=
7082 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
7083 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
7084 no_cache=0
7085 # Check whether --enable-logwin or --disable-logwin was given.
7086 if test "${enable_logwin+set}" = set; then
7087 enableval="$enable_logwin"
7088
7089 if test "$enableval" = yes; then
7090 ac_cv_use_logwin='wxUSE_LOGWINDOW=yes'
7091 else
7092 ac_cv_use_logwin='wxUSE_LOGWINDOW=no'
7093 fi
7094
7095 else
7096
7097 LINE=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
7098 if test "x$LINE" != x ; then
7099 eval "DEFAULT_$LINE"
7100 else
7101 no_cache=1
7102 fi
7103
7104 ac_cv_use_logwin='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
7105
7106 fi;
7107
7108 eval "$ac_cv_use_logwin"
7109 if test "$no_cache" != 1; then
7110 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
7111 fi
7112
7113 if test "$wxUSE_LOGWINDOW" = yes; then
7114 echo "$as_me:$LINENO: result: yes" >&5
7115 echo "${ECHO_T}yes" >&6
7116 else
7117 echo "$as_me:$LINENO: result: no" >&5
7118 echo "${ECHO_T}no" >&6
7119 fi
7120
7121
7122 enablestring=
7123 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
7124 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6
7125 no_cache=0
7126 # Check whether --enable-logdialog or --disable-logdialog was given.
7127 if test "${enable_logdialog+set}" = set; then
7128 enableval="$enable_logdialog"
7129
7130 if test "$enableval" = yes; then
7131 ac_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
7132 else
7133 ac_cv_use_logdialog='wxUSE_LOGDIALOG=no'
7134 fi
7135
7136 else
7137
7138 LINE=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
7139 if test "x$LINE" != x ; then
7140 eval "DEFAULT_$LINE"
7141 else
7142 no_cache=1
7143 fi
7144
7145 ac_cv_use_logdialog='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
7146
7147 fi;
7148
7149 eval "$ac_cv_use_logdialog"
7150 if test "$no_cache" != 1; then
7151 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
7152 fi
7153
7154 if test "$wxUSE_LOGDIALOG" = yes; then
7155 echo "$as_me:$LINENO: result: yes" >&5
7156 echo "${ECHO_T}yes" >&6
7157 else
7158 echo "$as_me:$LINENO: result: no" >&5
7159 echo "${ECHO_T}no" >&6
7160 fi
7161
7162
7163 enablestring=
7164 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
7165 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6
7166 no_cache=0
7167 # Check whether --enable-webkit or --disable-webkit was given.
7168 if test "${enable_webkit+set}" = set; then
7169 enableval="$enable_webkit"
7170
7171 if test "$enableval" = yes; then
7172 ac_cv_use_webkit='wxUSE_WEBKIT=yes'
7173 else
7174 ac_cv_use_webkit='wxUSE_WEBKIT=no'
7175 fi
7176
7177 else
7178
7179 LINE=`grep "wxUSE_WEBKIT" ${wx_arg_cache_file}`
7180 if test "x$LINE" != x ; then
7181 eval "DEFAULT_$LINE"
7182 else
7183 no_cache=1
7184 fi
7185
7186 ac_cv_use_webkit='wxUSE_WEBKIT='$DEFAULT_wxUSE_WEBKIT
7187
7188 fi;
7189
7190 eval "$ac_cv_use_webkit"
7191 if test "$no_cache" != 1; then
7192 echo $ac_cv_use_webkit >> ${wx_arg_cache_file}.tmp
7193 fi
7194
7195 if test "$wxUSE_WEBKIT" = yes; then
7196 echo "$as_me:$LINENO: result: yes" >&5
7197 echo "${ECHO_T}yes" >&6
7198 else
7199 echo "$as_me:$LINENO: result: no" >&5
7200 echo "${ECHO_T}no" >&6
7201 fi
7202
7203
7204 enablestring=
7205 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
7206 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
7207 no_cache=0
7208 # Check whether --enable-html or --disable-html was given.
7209 if test "${enable_html+set}" = set; then
7210 enableval="$enable_html"
7211
7212 if test "$enableval" = yes; then
7213 ac_cv_use_html='wxUSE_RICHTEXT=yes'
7214 else
7215 ac_cv_use_html='wxUSE_RICHTEXT=no'
7216 fi
7217
7218 else
7219
7220 LINE=`grep "wxUSE_RICHTEXT" ${wx_arg_cache_file}`
7221 if test "x$LINE" != x ; then
7222 eval "DEFAULT_$LINE"
7223 else
7224 no_cache=1
7225 fi
7226
7227 ac_cv_use_html='wxUSE_RICHTEXT='$DEFAULT_wxUSE_RICHTEXT
7228
7229 fi;
7230
7231 eval "$ac_cv_use_html"
7232 if test "$no_cache" != 1; then
7233 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
7234 fi
7235
7236 if test "$wxUSE_RICHTEXT" = yes; then
7237 echo "$as_me:$LINENO: result: yes" >&5
7238 echo "${ECHO_T}yes" >&6
7239 else
7240 echo "$as_me:$LINENO: result: no" >&5
7241 echo "${ECHO_T}no" >&6
7242 fi
7243
7244
7245
7246 enablestring=
7247 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
7248 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
7249 no_cache=0
7250 # Check whether --enable-postscript or --disable-postscript was given.
7251 if test "${enable_postscript+set}" = set; then
7252 enableval="$enable_postscript"
7253
7254 if test "$enableval" = yes; then
7255 ac_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
7256 else
7257 ac_cv_use_postscript='wxUSE_POSTSCRIPT=no'
7258 fi
7259
7260 else
7261
7262 LINE=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
7263 if test "x$LINE" != x ; then
7264 eval "DEFAULT_$LINE"
7265 else
7266 no_cache=1
7267 fi
7268
7269 ac_cv_use_postscript='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
7270
7271 fi;
7272
7273 eval "$ac_cv_use_postscript"
7274 if test "$no_cache" != 1; then
7275 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
7276 fi
7277
7278 if test "$wxUSE_POSTSCRIPT" = yes; then
7279 echo "$as_me:$LINENO: result: yes" >&5
7280 echo "${ECHO_T}yes" >&6
7281 else
7282 echo "$as_me:$LINENO: result: no" >&5
7283 echo "${ECHO_T}no" >&6
7284 fi
7285
7286
7287
7288
7289
7290 enablestring=
7291 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
7292 echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6
7293 no_cache=0
7294 # Check whether --enable-prologio or --disable-prologio was given.
7295 if test "${enable_prologio+set}" = set; then
7296 enableval="$enable_prologio"
7297
7298 if test "$enableval" = yes; then
7299 ac_cv_use_prologio='wxUSE_PROLOGIO=yes'
7300 else
7301 ac_cv_use_prologio='wxUSE_PROLOGIO=no'
7302 fi
7303
7304 else
7305
7306 LINE=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
7307 if test "x$LINE" != x ; then
7308 eval "DEFAULT_$LINE"
7309 else
7310 no_cache=1
7311 fi
7312
7313 ac_cv_use_prologio='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
7314
7315 fi;
7316
7317 eval "$ac_cv_use_prologio"
7318 if test "$no_cache" != 1; then
7319 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
7320 fi
7321
7322 if test "$wxUSE_PROLOGIO" = yes; then
7323 echo "$as_me:$LINENO: result: yes" >&5
7324 echo "${ECHO_T}yes" >&6
7325 else
7326 echo "$as_me:$LINENO: result: no" >&5
7327 echo "${ECHO_T}no" >&6
7328 fi
7329
7330
7331 enablestring=
7332 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5
7333 echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6
7334 no_cache=0
7335 # Check whether --enable-resources or --disable-resources was given.
7336 if test "${enable_resources+set}" = set; then
7337 enableval="$enable_resources"
7338
7339 if test "$enableval" = yes; then
7340 ac_cv_use_resources='wxUSE_RESOURCES=yes'
7341 else
7342 ac_cv_use_resources='wxUSE_RESOURCES=no'
7343 fi
7344
7345 else
7346
7347 LINE=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
7348 if test "x$LINE" != x ; then
7349 eval "DEFAULT_$LINE"
7350 else
7351 no_cache=1
7352 fi
7353
7354 ac_cv_use_resources='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
7355
7356 fi;
7357
7358 eval "$ac_cv_use_resources"
7359 if test "$no_cache" != 1; then
7360 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
7361 fi
7362
7363 if test "$wxUSE_RESOURCES" = yes; then
7364 echo "$as_me:$LINENO: result: yes" >&5
7365 echo "${ECHO_T}yes" >&6
7366 else
7367 echo "$as_me:$LINENO: result: no" >&5
7368 echo "${ECHO_T}no" >&6
7369 fi
7370
7371
7372
7373
7374 enablestring=
7375 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
7376 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6
7377 no_cache=0
7378 # Check whether --enable-clipboard or --disable-clipboard was given.
7379 if test "${enable_clipboard+set}" = set; then
7380 enableval="$enable_clipboard"
7381
7382 if test "$enableval" = yes; then
7383 ac_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
7384 else
7385 ac_cv_use_clipboard='wxUSE_CLIPBOARD=no'
7386 fi
7387
7388 else
7389
7390 LINE=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
7391 if test "x$LINE" != x ; then
7392 eval "DEFAULT_$LINE"
7393 else
7394 no_cache=1
7395 fi
7396
7397 ac_cv_use_clipboard='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
7398
7399 fi;
7400
7401 eval "$ac_cv_use_clipboard"
7402 if test "$no_cache" != 1; then
7403 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
7404 fi
7405
7406 if test "$wxUSE_CLIPBOARD" = yes; then
7407 echo "$as_me:$LINENO: result: yes" >&5
7408 echo "${ECHO_T}yes" >&6
7409 else
7410 echo "$as_me:$LINENO: result: no" >&5
7411 echo "${ECHO_T}no" >&6
7412 fi
7413
7414
7415 enablestring=
7416 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
7417 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
7418 no_cache=0
7419 # Check whether --enable-dnd or --disable-dnd was given.
7420 if test "${enable_dnd+set}" = set; then
7421 enableval="$enable_dnd"
7422
7423 if test "$enableval" = yes; then
7424 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
7425 else
7426 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
7427 fi
7428
7429 else
7430
7431 LINE=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
7432 if test "x$LINE" != x ; then
7433 eval "DEFAULT_$LINE"
7434 else
7435 no_cache=1
7436 fi
7437
7438 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
7439
7440 fi;
7441
7442 eval "$ac_cv_use_dnd"
7443 if test "$no_cache" != 1; then
7444 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
7445 fi
7446
7447 if test "$wxUSE_DRAG_AND_DROP" = yes; then
7448 echo "$as_me:$LINENO: result: yes" >&5
7449 echo "${ECHO_T}yes" >&6
7450 else
7451 echo "$as_me:$LINENO: result: no" >&5
7452 echo "${ECHO_T}no" >&6
7453 fi
7454
7455
7456 enablestring=
7457 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
7458 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
7459 no_cache=0
7460 # Check whether --enable-metafile or --disable-metafile was given.
7461 if test "${enable_metafile+set}" = set; then
7462 enableval="$enable_metafile"
7463
7464 if test "$enableval" = yes; then
7465 ac_cv_use_metafile='wxUSE_METAFILE=yes'
7466 else
7467 ac_cv_use_metafile='wxUSE_METAFILE=no'
7468 fi
7469
7470 else
7471
7472 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
7473 if test "x$LINE" != x ; then
7474 eval "DEFAULT_$LINE"
7475 else
7476 no_cache=1
7477 fi
7478
7479 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
7480
7481 fi;
7482
7483 eval "$ac_cv_use_metafile"
7484 if test "$no_cache" != 1; then
7485 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
7486 fi
7487
7488 if test "$wxUSE_METAFILE" = yes; then
7489 echo "$as_me:$LINENO: result: yes" >&5
7490 echo "${ECHO_T}yes" >&6
7491 else
7492 echo "$as_me:$LINENO: result: no" >&5
7493 echo "${ECHO_T}no" >&6
7494 fi
7495
7496
7497
7498
7499
7500 enablestring=
7501 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
7502 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6
7503 no_cache=0
7504 # Check whether --enable-controls or --disable-controls was given.
7505 if test "${enable_controls+set}" = set; then
7506 enableval="$enable_controls"
7507
7508 if test "$enableval" = yes; then
7509 ac_cv_use_controls='wxUSE_CONTROLS=yes'
7510 else
7511 ac_cv_use_controls='wxUSE_CONTROLS=no'
7512 fi
7513
7514 else
7515
7516 LINE=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
7517 if test "x$LINE" != x ; then
7518 eval "DEFAULT_$LINE"
7519 else
7520 no_cache=1
7521 fi
7522
7523 ac_cv_use_controls='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
7524
7525 fi;
7526
7527 eval "$ac_cv_use_controls"
7528 if test "$no_cache" != 1; then
7529 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
7530 fi
7531
7532 if test "$wxUSE_CONTROLS" = yes; then
7533 echo "$as_me:$LINENO: result: yes" >&5
7534 echo "${ECHO_T}yes" >&6
7535 else
7536 echo "$as_me:$LINENO: result: no" >&5
7537 echo "${ECHO_T}no" >&6
7538 fi
7539
7540
7541 if test "$wxUSE_CONTROLS" = "yes"; then
7542 DEFAULT_wxUSE_ACCEL=yes
7543 DEFAULT_wxUSE_BMPBUTTON=yes
7544 DEFAULT_wxUSE_BUTTON=yes
7545 DEFAULT_wxUSE_CALCTRL=yes
7546 DEFAULT_wxUSE_CARET=yes
7547 DEFAULT_wxUSE_COMBOBOX=yes
7548 DEFAULT_wxUSE_CHECKBOX=yes
7549 DEFAULT_wxUSE_CHECKLISTBOX=yes
7550 DEFAULT_wxUSE_CHOICE=yes
7551 DEFAULT_wxUSE_CHOICEBOOK=yes
7552 DEFAULT_wxUSE_DATEPICKCTRL=yes
7553 DEFAULT_wxUSE_GAUGE=yes
7554 DEFAULT_wxUSE_GRID=yes
7555 DEFAULT_wxUSE_DATAVIEWCTRL=no
7556 DEFAULT_wxUSE_IMAGLIST=yes
7557 DEFAULT_wxUSE_LISTBOOK=yes
7558 DEFAULT_wxUSE_LISTBOX=yes
7559 DEFAULT_wxUSE_LISTCTRL=yes
7560 DEFAULT_wxUSE_NOTEBOOK=yes
7561 DEFAULT_wxUSE_RADIOBOX=yes
7562 DEFAULT_wxUSE_RADIOBTN=yes
7563 DEFAULT_wxUSE_SASH=yes
7564 DEFAULT_wxUSE_SCROLLBAR=yes
7565 DEFAULT_wxUSE_SLIDER=yes
7566 DEFAULT_wxUSE_SPINBTN=yes
7567 DEFAULT_wxUSE_SPINCTRL=yes
7568 DEFAULT_wxUSE_SPLITTER=yes
7569 DEFAULT_wxUSE_STATBMP=yes
7570 DEFAULT_wxUSE_STATBOX=yes
7571 DEFAULT_wxUSE_STATLINE=yes
7572 DEFAULT_wxUSE_STATUSBAR=yes
7573 DEFAULT_wxUSE_TAB_DIALOG=yes
7574 DEFAULT_wxUSE_TOGGLEBTN=yes
7575 DEFAULT_wxUSE_TOOLBAR=yes
7576 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
7577 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
7578 DEFAULT_wxUSE_TOOLTIPS=yes
7579 DEFAULT_wxUSE_TREEBOOK=yes
7580 DEFAULT_wxUSE_TOOLBOOK=yes
7581 DEFAULT_wxUSE_TREECTRL=yes
7582 DEFAULT_wxUSE_POPUPWIN=yes
7583 DEFAULT_wxUSE_TIPWINDOW=yes
7584 elif test "$wxUSE_CONTROLS" = "no"; then
7585 DEFAULT_wxUSE_ACCEL=no
7586 DEFAULT_wxUSE_BMPBUTTON=no
7587 DEFAULT_wxUSE_BUTTON=no
7588 DEFAULT_wxUSE_CALCTRL=no
7589 DEFAULT_wxUSE_CARET=no
7590 DEFAULT_wxUSE_COMBOBOX=no
7591 DEFAULT_wxUSE_CHECKBOX=no
7592 DEFAULT_wxUSE_CHECKLISTBOX=no
7593 DEFAULT_wxUSE_CHOICE=no
7594 DEFAULT_wxUSE_CHOICEBOOK=no
7595 DEFAULT_wxUSE_DATEPICKCTRL=no
7596 DEFAULT_wxUSE_GAUGE=no
7597 DEFAULT_wxUSE_GRID=no
7598 DEFAULT_wxUSE_DATAVIEWCTRL=no
7599 DEFAULT_wxUSE_IMAGLIST=no
7600 DEFAULT_wxUSE_LISTBOOK=no
7601 DEFAULT_wxUSE_LISTBOX=no
7602 DEFAULT_wxUSE_LISTCTRL=no
7603 DEFAULT_wxUSE_NOTEBOOK=no
7604 DEFAULT_wxUSE_RADIOBOX=no
7605 DEFAULT_wxUSE_RADIOBTN=no
7606 DEFAULT_wxUSE_SASH=no
7607 DEFAULT_wxUSE_SCROLLBAR=no
7608 DEFAULT_wxUSE_SLIDER=no
7609 DEFAULT_wxUSE_SPINBTN=no
7610 DEFAULT_wxUSE_SPINCTRL=no
7611 DEFAULT_wxUSE_SPLITTER=no
7612 DEFAULT_wxUSE_STATBMP=no
7613 DEFAULT_wxUSE_STATBOX=no
7614 DEFAULT_wxUSE_STATLINE=no
7615 DEFAULT_wxUSE_STATUSBAR=no
7616 DEFAULT_wxUSE_TAB_DIALOG=no
7617 DEFAULT_wxUSE_TOGGLEBTN=no
7618 DEFAULT_wxUSE_TOOLBAR=no
7619 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
7620 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
7621 DEFAULT_wxUSE_TOOLTIPS=no
7622 DEFAULT_wxUSE_TREEBOOK=no
7623 DEFAULT_wxUSE_TOOLBOOK=no
7624 DEFAULT_wxUSE_TREECTRL=no
7625 DEFAULT_wxUSE_POPUPWIN=no
7626 DEFAULT_wxUSE_TIPWINDOW=no
7627 fi
7628
7629
7630 enablestring=
7631 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
7632 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
7633 no_cache=0
7634 # Check whether --enable-accel or --disable-accel was given.
7635 if test "${enable_accel+set}" = set; then
7636 enableval="$enable_accel"
7637
7638 if test "$enableval" = yes; then
7639 ac_cv_use_accel='wxUSE_ACCEL=yes'
7640 else
7641 ac_cv_use_accel='wxUSE_ACCEL=no'
7642 fi
7643
7644 else
7645
7646 LINE=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
7647 if test "x$LINE" != x ; then
7648 eval "DEFAULT_$LINE"
7649 else
7650 no_cache=1
7651 fi
7652
7653 ac_cv_use_accel='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
7654
7655 fi;
7656
7657 eval "$ac_cv_use_accel"
7658 if test "$no_cache" != 1; then
7659 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
7660 fi
7661
7662 if test "$wxUSE_ACCEL" = yes; then
7663 echo "$as_me:$LINENO: result: yes" >&5
7664 echo "${ECHO_T}yes" >&6
7665 else
7666 echo "$as_me:$LINENO: result: no" >&5
7667 echo "${ECHO_T}no" >&6
7668 fi
7669
7670
7671 enablestring=
7672 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
7673 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
7674 no_cache=0
7675 # Check whether --enable-button or --disable-button was given.
7676 if test "${enable_button+set}" = set; then
7677 enableval="$enable_button"
7678
7679 if test "$enableval" = yes; then
7680 ac_cv_use_button='wxUSE_BUTTON=yes'
7681 else
7682 ac_cv_use_button='wxUSE_BUTTON=no'
7683 fi
7684
7685 else
7686
7687 LINE=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
7688 if test "x$LINE" != x ; then
7689 eval "DEFAULT_$LINE"
7690 else
7691 no_cache=1
7692 fi
7693
7694 ac_cv_use_button='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
7695
7696 fi;
7697
7698 eval "$ac_cv_use_button"
7699 if test "$no_cache" != 1; then
7700 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
7701 fi
7702
7703 if test "$wxUSE_BUTTON" = yes; then
7704 echo "$as_me:$LINENO: result: yes" >&5
7705 echo "${ECHO_T}yes" >&6
7706 else
7707 echo "$as_me:$LINENO: result: no" >&5
7708 echo "${ECHO_T}no" >&6
7709 fi
7710
7711
7712 enablestring=
7713 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
7714 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
7715 no_cache=0
7716 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
7717 if test "${enable_bmpbutton+set}" = set; then
7718 enableval="$enable_bmpbutton"
7719
7720 if test "$enableval" = yes; then
7721 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
7722 else
7723 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
7724 fi
7725
7726 else
7727
7728 LINE=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
7729 if test "x$LINE" != x ; then
7730 eval "DEFAULT_$LINE"
7731 else
7732 no_cache=1
7733 fi
7734
7735 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
7736
7737 fi;
7738
7739 eval "$ac_cv_use_bmpbutton"
7740 if test "$no_cache" != 1; then
7741 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
7742 fi
7743
7744 if test "$wxUSE_BMPBUTTON" = yes; then
7745 echo "$as_me:$LINENO: result: yes" >&5
7746 echo "${ECHO_T}yes" >&6
7747 else
7748 echo "$as_me:$LINENO: result: no" >&5
7749 echo "${ECHO_T}no" >&6
7750 fi
7751
7752
7753 enablestring=
7754 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
7755 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
7756 no_cache=0
7757 # Check whether --enable-calendar or --disable-calendar was given.
7758 if test "${enable_calendar+set}" = set; then
7759 enableval="$enable_calendar"
7760
7761 if test "$enableval" = yes; then
7762 ac_cv_use_calendar='wxUSE_CALCTRL=yes'
7763 else
7764 ac_cv_use_calendar='wxUSE_CALCTRL=no'
7765 fi
7766
7767 else
7768
7769 LINE=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
7770 if test "x$LINE" != x ; then
7771 eval "DEFAULT_$LINE"
7772 else
7773 no_cache=1
7774 fi
7775
7776 ac_cv_use_calendar='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
7777
7778 fi;
7779
7780 eval "$ac_cv_use_calendar"
7781 if test "$no_cache" != 1; then
7782 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
7783 fi
7784
7785 if test "$wxUSE_CALCTRL" = yes; then
7786 echo "$as_me:$LINENO: result: yes" >&5
7787 echo "${ECHO_T}yes" >&6
7788 else
7789 echo "$as_me:$LINENO: result: no" >&5
7790 echo "${ECHO_T}no" >&6
7791 fi
7792
7793
7794 enablestring=
7795 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
7796 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
7797 no_cache=0
7798 # Check whether --enable-caret or --disable-caret was given.
7799 if test "${enable_caret+set}" = set; then
7800 enableval="$enable_caret"
7801
7802 if test "$enableval" = yes; then
7803 ac_cv_use_caret='wxUSE_CARET=yes'
7804 else
7805 ac_cv_use_caret='wxUSE_CARET=no'
7806 fi
7807
7808 else
7809
7810 LINE=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
7811 if test "x$LINE" != x ; then
7812 eval "DEFAULT_$LINE"
7813 else
7814 no_cache=1
7815 fi
7816
7817 ac_cv_use_caret='wxUSE_CARET='$DEFAULT_wxUSE_CARET
7818
7819 fi;
7820
7821 eval "$ac_cv_use_caret"
7822 if test "$no_cache" != 1; then
7823 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
7824 fi
7825
7826 if test "$wxUSE_CARET" = yes; then
7827 echo "$as_me:$LINENO: result: yes" >&5
7828 echo "${ECHO_T}yes" >&6
7829 else
7830 echo "$as_me:$LINENO: result: no" >&5
7831 echo "${ECHO_T}no" >&6
7832 fi
7833
7834
7835 enablestring=
7836 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
7837 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
7838 no_cache=0
7839 # Check whether --enable-checkbox or --disable-checkbox was given.
7840 if test "${enable_checkbox+set}" = set; then
7841 enableval="$enable_checkbox"
7842
7843 if test "$enableval" = yes; then
7844 ac_cv_use_checkbox='wxUSE_CHECKBOX=yes'
7845 else
7846 ac_cv_use_checkbox='wxUSE_CHECKBOX=no'
7847 fi
7848
7849 else
7850
7851 LINE=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
7852 if test "x$LINE" != x ; then
7853 eval "DEFAULT_$LINE"
7854 else
7855 no_cache=1
7856 fi
7857
7858 ac_cv_use_checkbox='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
7859
7860 fi;
7861
7862 eval "$ac_cv_use_checkbox"
7863 if test "$no_cache" != 1; then
7864 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
7865 fi
7866
7867 if test "$wxUSE_CHECKBOX" = yes; then
7868 echo "$as_me:$LINENO: result: yes" >&5
7869 echo "${ECHO_T}yes" >&6
7870 else
7871 echo "$as_me:$LINENO: result: no" >&5
7872 echo "${ECHO_T}no" >&6
7873 fi
7874
7875
7876 enablestring=
7877 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
7878 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
7879 no_cache=0
7880 # Check whether --enable-checklst or --disable-checklst was given.
7881 if test "${enable_checklst+set}" = set; then
7882 enableval="$enable_checklst"
7883
7884 if test "$enableval" = yes; then
7885 ac_cv_use_checklst='wxUSE_CHECKLST=yes'
7886 else
7887 ac_cv_use_checklst='wxUSE_CHECKLST=no'
7888 fi
7889
7890 else
7891
7892 LINE=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
7893 if test "x$LINE" != x ; then
7894 eval "DEFAULT_$LINE"
7895 else
7896 no_cache=1
7897 fi
7898
7899 ac_cv_use_checklst='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
7900
7901 fi;
7902
7903 eval "$ac_cv_use_checklst"
7904 if test "$no_cache" != 1; then
7905 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
7906 fi
7907
7908 if test "$wxUSE_CHECKLST" = yes; then
7909 echo "$as_me:$LINENO: result: yes" >&5
7910 echo "${ECHO_T}yes" >&6
7911 else
7912 echo "$as_me:$LINENO: result: no" >&5
7913 echo "${ECHO_T}no" >&6
7914 fi
7915
7916
7917 enablestring=
7918 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
7919 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
7920 no_cache=0
7921 # Check whether --enable-choice or --disable-choice was given.
7922 if test "${enable_choice+set}" = set; then
7923 enableval="$enable_choice"
7924
7925 if test "$enableval" = yes; then
7926 ac_cv_use_choice='wxUSE_CHOICE=yes'
7927 else
7928 ac_cv_use_choice='wxUSE_CHOICE=no'
7929 fi
7930
7931 else
7932
7933 LINE=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
7934 if test "x$LINE" != x ; then
7935 eval "DEFAULT_$LINE"
7936 else
7937 no_cache=1
7938 fi
7939
7940 ac_cv_use_choice='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
7941
7942 fi;
7943
7944 eval "$ac_cv_use_choice"
7945 if test "$no_cache" != 1; then
7946 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
7947 fi
7948
7949 if test "$wxUSE_CHOICE" = yes; then
7950 echo "$as_me:$LINENO: result: yes" >&5
7951 echo "${ECHO_T}yes" >&6
7952 else
7953 echo "$as_me:$LINENO: result: no" >&5
7954 echo "${ECHO_T}no" >&6
7955 fi
7956
7957
7958 enablestring=
7959 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
7960 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6
7961 no_cache=0
7962 # Check whether --enable-choicebook or --disable-choicebook was given.
7963 if test "${enable_choicebook+set}" = set; then
7964 enableval="$enable_choicebook"
7965
7966 if test "$enableval" = yes; then
7967 ac_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
7968 else
7969 ac_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
7970 fi
7971
7972 else
7973
7974 LINE=`grep "wxUSE_CHOICEBOOK" ${wx_arg_cache_file}`
7975 if test "x$LINE" != x ; then
7976 eval "DEFAULT_$LINE"
7977 else
7978 no_cache=1
7979 fi
7980
7981 ac_cv_use_choicebook='wxUSE_CHOICEBOOK='$DEFAULT_wxUSE_CHOICEBOOK
7982
7983 fi;
7984
7985 eval "$ac_cv_use_choicebook"
7986 if test "$no_cache" != 1; then
7987 echo $ac_cv_use_choicebook >> ${wx_arg_cache_file}.tmp
7988 fi
7989
7990 if test "$wxUSE_CHOICEBOOK" = yes; then
7991 echo "$as_me:$LINENO: result: yes" >&5
7992 echo "${ECHO_T}yes" >&6
7993 else
7994 echo "$as_me:$LINENO: result: no" >&5
7995 echo "${ECHO_T}no" >&6
7996 fi
7997
7998
7999 enablestring=
8000 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
8001 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
8002 no_cache=0
8003 # Check whether --enable-combobox or --disable-combobox was given.
8004 if test "${enable_combobox+set}" = set; then
8005 enableval="$enable_combobox"
8006
8007 if test "$enableval" = yes; then
8008 ac_cv_use_combobox='wxUSE_COMBOBOX=yes'
8009 else
8010 ac_cv_use_combobox='wxUSE_COMBOBOX=no'
8011 fi
8012
8013 else
8014
8015 LINE=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
8016 if test "x$LINE" != x ; then
8017 eval "DEFAULT_$LINE"
8018 else
8019 no_cache=1
8020 fi
8021
8022 ac_cv_use_combobox='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
8023
8024 fi;
8025
8026 eval "$ac_cv_use_combobox"
8027 if test "$no_cache" != 1; then
8028 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
8029 fi
8030
8031 if test "$wxUSE_COMBOBOX" = yes; then
8032 echo "$as_me:$LINENO: result: yes" >&5
8033 echo "${ECHO_T}yes" >&6
8034 else
8035 echo "$as_me:$LINENO: result: no" >&5
8036 echo "${ECHO_T}no" >&6
8037 fi
8038
8039
8040 enablestring=
8041 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
8042 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6
8043 no_cache=0
8044 # Check whether --enable-datepick or --disable-datepick was given.
8045 if test "${enable_datepick+set}" = set; then
8046 enableval="$enable_datepick"
8047
8048 if test "$enableval" = yes; then
8049 ac_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
8050 else
8051 ac_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
8052 fi
8053
8054 else
8055
8056 LINE=`grep "wxUSE_DATEPICKCTRL" ${wx_arg_cache_file}`
8057 if test "x$LINE" != x ; then
8058 eval "DEFAULT_$LINE"
8059 else
8060 no_cache=1
8061 fi
8062
8063 ac_cv_use_datepick='wxUSE_DATEPICKCTRL='$DEFAULT_wxUSE_DATEPICKCTRL
8064
8065 fi;
8066
8067 eval "$ac_cv_use_datepick"
8068 if test "$no_cache" != 1; then
8069 echo $ac_cv_use_datepick >> ${wx_arg_cache_file}.tmp
8070 fi
8071
8072 if test "$wxUSE_DATEPICKCTRL" = yes; then
8073 echo "$as_me:$LINENO: result: yes" >&5
8074 echo "${ECHO_T}yes" >&6
8075 else
8076 echo "$as_me:$LINENO: result: no" >&5
8077 echo "${ECHO_T}no" >&6
8078 fi
8079
8080
8081 enablestring=
8082 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
8083 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
8084 no_cache=0
8085 # Check whether --enable-display or --disable-display was given.
8086 if test "${enable_display+set}" = set; then
8087 enableval="$enable_display"
8088
8089 if test "$enableval" = yes; then
8090 ac_cv_use_display='wxUSE_DISPLAY=yes'
8091 else
8092 ac_cv_use_display='wxUSE_DISPLAY=no'
8093 fi
8094
8095 else
8096
8097 LINE=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
8098 if test "x$LINE" != x ; then
8099 eval "DEFAULT_$LINE"
8100 else
8101 no_cache=1
8102 fi
8103
8104 ac_cv_use_display='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
8105
8106 fi;
8107
8108 eval "$ac_cv_use_display"
8109 if test "$no_cache" != 1; then
8110 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
8111 fi
8112
8113 if test "$wxUSE_DISPLAY" = yes; then
8114 echo "$as_me:$LINENO: result: yes" >&5
8115 echo "${ECHO_T}yes" >&6
8116 else
8117 echo "$as_me:$LINENO: result: no" >&5
8118 echo "${ECHO_T}no" >&6
8119 fi
8120
8121
8122 enablestring=
8123 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
8124 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
8125 no_cache=0
8126 # Check whether --enable-gauge or --disable-gauge was given.
8127 if test "${enable_gauge+set}" = set; then
8128 enableval="$enable_gauge"
8129
8130 if test "$enableval" = yes; then
8131 ac_cv_use_gauge='wxUSE_GAUGE=yes'
8132 else
8133 ac_cv_use_gauge='wxUSE_GAUGE=no'
8134 fi
8135
8136 else
8137
8138 LINE=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
8139 if test "x$LINE" != x ; then
8140 eval "DEFAULT_$LINE"
8141 else
8142 no_cache=1
8143 fi
8144
8145 ac_cv_use_gauge='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
8146
8147 fi;
8148
8149 eval "$ac_cv_use_gauge"
8150 if test "$no_cache" != 1; then
8151 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
8152 fi
8153
8154 if test "$wxUSE_GAUGE" = yes; then
8155 echo "$as_me:$LINENO: result: yes" >&5
8156 echo "${ECHO_T}yes" >&6
8157 else
8158 echo "$as_me:$LINENO: result: no" >&5
8159 echo "${ECHO_T}no" >&6
8160 fi
8161
8162
8163 enablestring=
8164 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
8165 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
8166 no_cache=0
8167 # Check whether --enable-grid or --disable-grid was given.
8168 if test "${enable_grid+set}" = set; then
8169 enableval="$enable_grid"
8170
8171 if test "$enableval" = yes; then
8172 ac_cv_use_grid='wxUSE_GRID=yes'
8173 else
8174 ac_cv_use_grid='wxUSE_GRID=no'
8175 fi
8176
8177 else
8178
8179 LINE=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
8180 if test "x$LINE" != x ; then
8181 eval "DEFAULT_$LINE"
8182 else
8183 no_cache=1
8184 fi
8185
8186 ac_cv_use_grid='wxUSE_GRID='$DEFAULT_wxUSE_GRID
8187
8188 fi;
8189
8190 eval "$ac_cv_use_grid"
8191 if test "$no_cache" != 1; then
8192 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
8193 fi
8194
8195 if test "$wxUSE_GRID" = yes; then
8196 echo "$as_me:$LINENO: result: yes" >&5
8197 echo "${ECHO_T}yes" >&6
8198 else
8199 echo "$as_me:$LINENO: result: no" >&5
8200 echo "${ECHO_T}no" >&6
8201 fi
8202
8203
8204 enablestring=
8205 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
8206 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6
8207 no_cache=0
8208 # Check whether --enable-dataviewctrl or --disable-dataviewctrl was given.
8209 if test "${enable_dataviewctrl+set}" = set; then
8210 enableval="$enable_dataviewctrl"
8211
8212 if test "$enableval" = yes; then
8213 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
8214 else
8215 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
8216 fi
8217
8218 else
8219
8220 LINE=`grep "wxUSE_DATAVIEWCTRL" ${wx_arg_cache_file}`
8221 if test "x$LINE" != x ; then
8222 eval "DEFAULT_$LINE"
8223 else
8224 no_cache=1
8225 fi
8226
8227 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL='$DEFAULT_wxUSE_DATAVIEWCTRL
8228
8229 fi;
8230
8231 eval "$ac_cv_use_dataviewctrl"
8232 if test "$no_cache" != 1; then
8233 echo $ac_cv_use_dataviewctrl >> ${wx_arg_cache_file}.tmp
8234 fi
8235
8236 if test "$wxUSE_DATAVIEWCTRL" = yes; then
8237 echo "$as_me:$LINENO: result: yes" >&5
8238 echo "${ECHO_T}yes" >&6
8239 else
8240 echo "$as_me:$LINENO: result: no" >&5
8241 echo "${ECHO_T}no" >&6
8242 fi
8243
8244
8245 enablestring=
8246 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
8247 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
8248 no_cache=0
8249 # Check whether --enable-imaglist or --disable-imaglist was given.
8250 if test "${enable_imaglist+set}" = set; then
8251 enableval="$enable_imaglist"
8252
8253 if test "$enableval" = yes; then
8254 ac_cv_use_imaglist='wxUSE_IMAGLIST=yes'
8255 else
8256 ac_cv_use_imaglist='wxUSE_IMAGLIST=no'
8257 fi
8258
8259 else
8260
8261 LINE=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
8262 if test "x$LINE" != x ; then
8263 eval "DEFAULT_$LINE"
8264 else
8265 no_cache=1
8266 fi
8267
8268 ac_cv_use_imaglist='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
8269
8270 fi;
8271
8272 eval "$ac_cv_use_imaglist"
8273 if test "$no_cache" != 1; then
8274 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
8275 fi
8276
8277 if test "$wxUSE_IMAGLIST" = yes; then
8278 echo "$as_me:$LINENO: result: yes" >&5
8279 echo "${ECHO_T}yes" >&6
8280 else
8281 echo "$as_me:$LINENO: result: no" >&5
8282 echo "${ECHO_T}no" >&6
8283 fi
8284
8285
8286 enablestring=
8287 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
8288 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6
8289 no_cache=0
8290 # Check whether --enable-listbook or --disable-listbook was given.
8291 if test "${enable_listbook+set}" = set; then
8292 enableval="$enable_listbook"
8293
8294 if test "$enableval" = yes; then
8295 ac_cv_use_listbook='wxUSE_LISTBOOK=yes'
8296 else
8297 ac_cv_use_listbook='wxUSE_LISTBOOK=no'
8298 fi
8299
8300 else
8301
8302 LINE=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}`
8303 if test "x$LINE" != x ; then
8304 eval "DEFAULT_$LINE"
8305 else
8306 no_cache=1
8307 fi
8308
8309 ac_cv_use_listbook='wxUSE_LISTBOOK='$DEFAULT_wxUSE_LISTBOOK
8310
8311 fi;
8312
8313 eval "$ac_cv_use_listbook"
8314 if test "$no_cache" != 1; then
8315 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
8316 fi
8317
8318 if test "$wxUSE_LISTBOOK" = yes; then
8319 echo "$as_me:$LINENO: result: yes" >&5
8320 echo "${ECHO_T}yes" >&6
8321 else
8322 echo "$as_me:$LINENO: result: no" >&5
8323 echo "${ECHO_T}no" >&6
8324 fi
8325
8326
8327 enablestring=
8328 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
8329 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
8330 no_cache=0
8331 # Check whether --enable-listbox or --disable-listbox was given.
8332 if test "${enable_listbox+set}" = set; then
8333 enableval="$enable_listbox"
8334
8335 if test "$enableval" = yes; then
8336 ac_cv_use_listbox='wxUSE_LISTBOX=yes'
8337 else
8338 ac_cv_use_listbox='wxUSE_LISTBOX=no'
8339 fi
8340
8341 else
8342
8343 LINE=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
8344 if test "x$LINE" != x ; then
8345 eval "DEFAULT_$LINE"
8346 else
8347 no_cache=1
8348 fi
8349
8350 ac_cv_use_listbox='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
8351
8352 fi;
8353
8354 eval "$ac_cv_use_listbox"
8355 if test "$no_cache" != 1; then
8356 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
8357 fi
8358
8359 if test "$wxUSE_LISTBOX" = yes; then
8360 echo "$as_me:$LINENO: result: yes" >&5
8361 echo "${ECHO_T}yes" >&6
8362 else
8363 echo "$as_me:$LINENO: result: no" >&5
8364 echo "${ECHO_T}no" >&6
8365 fi
8366
8367
8368 enablestring=
8369 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
8370 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
8371 no_cache=0
8372 # Check whether --enable-listctrl or --disable-listctrl was given.
8373 if test "${enable_listctrl+set}" = set; then
8374 enableval="$enable_listctrl"
8375
8376 if test "$enableval" = yes; then
8377 ac_cv_use_listctrl='wxUSE_LISTCTRL=yes'
8378 else
8379 ac_cv_use_listctrl='wxUSE_LISTCTRL=no'
8380 fi
8381
8382 else
8383
8384 LINE=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
8385 if test "x$LINE" != x ; then
8386 eval "DEFAULT_$LINE"
8387 else
8388 no_cache=1
8389 fi
8390
8391 ac_cv_use_listctrl='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
8392
8393 fi;
8394
8395 eval "$ac_cv_use_listctrl"
8396 if test "$no_cache" != 1; then
8397 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
8398 fi
8399
8400 if test "$wxUSE_LISTCTRL" = yes; then
8401 echo "$as_me:$LINENO: result: yes" >&5
8402 echo "${ECHO_T}yes" >&6
8403 else
8404 echo "$as_me:$LINENO: result: no" >&5
8405 echo "${ECHO_T}no" >&6
8406 fi
8407
8408
8409 enablestring=
8410 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
8411 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
8412 no_cache=0
8413 # Check whether --enable-notebook or --disable-notebook was given.
8414 if test "${enable_notebook+set}" = set; then
8415 enableval="$enable_notebook"
8416
8417 if test "$enableval" = yes; then
8418 ac_cv_use_notebook='wxUSE_NOTEBOOK=yes'
8419 else
8420 ac_cv_use_notebook='wxUSE_NOTEBOOK=no'
8421 fi
8422
8423 else
8424
8425 LINE=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
8426 if test "x$LINE" != x ; then
8427 eval "DEFAULT_$LINE"
8428 else
8429 no_cache=1
8430 fi
8431
8432 ac_cv_use_notebook='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
8433
8434 fi;
8435
8436 eval "$ac_cv_use_notebook"
8437 if test "$no_cache" != 1; then
8438 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
8439 fi
8440
8441 if test "$wxUSE_NOTEBOOK" = yes; then
8442 echo "$as_me:$LINENO: result: yes" >&5
8443 echo "${ECHO_T}yes" >&6
8444 else
8445 echo "$as_me:$LINENO: result: no" >&5
8446 echo "${ECHO_T}no" >&6
8447 fi
8448
8449
8450 enablestring=
8451 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
8452 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
8453 no_cache=0
8454 # Check whether --enable-radiobox or --disable-radiobox was given.
8455 if test "${enable_radiobox+set}" = set; then
8456 enableval="$enable_radiobox"
8457
8458 if test "$enableval" = yes; then
8459 ac_cv_use_radiobox='wxUSE_RADIOBOX=yes'
8460 else
8461 ac_cv_use_radiobox='wxUSE_RADIOBOX=no'
8462 fi
8463
8464 else
8465
8466 LINE=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
8467 if test "x$LINE" != x ; then
8468 eval "DEFAULT_$LINE"
8469 else
8470 no_cache=1
8471 fi
8472
8473 ac_cv_use_radiobox='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
8474
8475 fi;
8476
8477 eval "$ac_cv_use_radiobox"
8478 if test "$no_cache" != 1; then
8479 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
8480 fi
8481
8482 if test "$wxUSE_RADIOBOX" = yes; then
8483 echo "$as_me:$LINENO: result: yes" >&5
8484 echo "${ECHO_T}yes" >&6
8485 else
8486 echo "$as_me:$LINENO: result: no" >&5
8487 echo "${ECHO_T}no" >&6
8488 fi
8489
8490
8491 enablestring=
8492 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
8493 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
8494 no_cache=0
8495 # Check whether --enable-radiobtn or --disable-radiobtn was given.
8496 if test "${enable_radiobtn+set}" = set; then
8497 enableval="$enable_radiobtn"
8498
8499 if test "$enableval" = yes; then
8500 ac_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
8501 else
8502 ac_cv_use_radiobtn='wxUSE_RADIOBTN=no'
8503 fi
8504
8505 else
8506
8507 LINE=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
8508 if test "x$LINE" != x ; then
8509 eval "DEFAULT_$LINE"
8510 else
8511 no_cache=1
8512 fi
8513
8514 ac_cv_use_radiobtn='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
8515
8516 fi;
8517
8518 eval "$ac_cv_use_radiobtn"
8519 if test "$no_cache" != 1; then
8520 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
8521 fi
8522
8523 if test "$wxUSE_RADIOBTN" = yes; then
8524 echo "$as_me:$LINENO: result: yes" >&5
8525 echo "${ECHO_T}yes" >&6
8526 else
8527 echo "$as_me:$LINENO: result: no" >&5
8528 echo "${ECHO_T}no" >&6
8529 fi
8530
8531
8532 enablestring=
8533 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
8534 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
8535 no_cache=0
8536 # Check whether --enable-sash or --disable-sash was given.
8537 if test "${enable_sash+set}" = set; then
8538 enableval="$enable_sash"
8539
8540 if test "$enableval" = yes; then
8541 ac_cv_use_sash='wxUSE_SASH=yes'
8542 else
8543 ac_cv_use_sash='wxUSE_SASH=no'
8544 fi
8545
8546 else
8547
8548 LINE=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
8549 if test "x$LINE" != x ; then
8550 eval "DEFAULT_$LINE"
8551 else
8552 no_cache=1
8553 fi
8554
8555 ac_cv_use_sash='wxUSE_SASH='$DEFAULT_wxUSE_SASH
8556
8557 fi;
8558
8559 eval "$ac_cv_use_sash"
8560 if test "$no_cache" != 1; then
8561 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
8562 fi
8563
8564 if test "$wxUSE_SASH" = yes; then
8565 echo "$as_me:$LINENO: result: yes" >&5
8566 echo "${ECHO_T}yes" >&6
8567 else
8568 echo "$as_me:$LINENO: result: no" >&5
8569 echo "${ECHO_T}no" >&6
8570 fi
8571
8572
8573 enablestring=
8574 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
8575 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
8576 no_cache=0
8577 # Check whether --enable-scrollbar or --disable-scrollbar was given.
8578 if test "${enable_scrollbar+set}" = set; then
8579 enableval="$enable_scrollbar"
8580
8581 if test "$enableval" = yes; then
8582 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
8583 else
8584 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
8585 fi
8586
8587 else
8588
8589 LINE=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
8590 if test "x$LINE" != x ; then
8591 eval "DEFAULT_$LINE"
8592 else
8593 no_cache=1
8594 fi
8595
8596 ac_cv_use_scrollbar='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
8597
8598 fi;
8599
8600 eval "$ac_cv_use_scrollbar"
8601 if test "$no_cache" != 1; then
8602 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
8603 fi
8604
8605 if test "$wxUSE_SCROLLBAR" = yes; then
8606 echo "$as_me:$LINENO: result: yes" >&5
8607 echo "${ECHO_T}yes" >&6
8608 else
8609 echo "$as_me:$LINENO: result: no" >&5
8610 echo "${ECHO_T}no" >&6
8611 fi
8612
8613
8614 enablestring=
8615 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
8616 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
8617 no_cache=0
8618 # Check whether --enable-slider or --disable-slider was given.
8619 if test "${enable_slider+set}" = set; then
8620 enableval="$enable_slider"
8621
8622 if test "$enableval" = yes; then
8623 ac_cv_use_slider='wxUSE_SLIDER=yes'
8624 else
8625 ac_cv_use_slider='wxUSE_SLIDER=no'
8626 fi
8627
8628 else
8629
8630 LINE=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
8631 if test "x$LINE" != x ; then
8632 eval "DEFAULT_$LINE"
8633 else
8634 no_cache=1
8635 fi
8636
8637 ac_cv_use_slider='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
8638
8639 fi;
8640
8641 eval "$ac_cv_use_slider"
8642 if test "$no_cache" != 1; then
8643 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
8644 fi
8645
8646 if test "$wxUSE_SLIDER" = yes; then
8647 echo "$as_me:$LINENO: result: yes" >&5
8648 echo "${ECHO_T}yes" >&6
8649 else
8650 echo "$as_me:$LINENO: result: no" >&5
8651 echo "${ECHO_T}no" >&6
8652 fi
8653
8654
8655 enablestring=
8656 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
8657 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
8658 no_cache=0
8659 # Check whether --enable-spinbtn or --disable-spinbtn was given.
8660 if test "${enable_spinbtn+set}" = set; then
8661 enableval="$enable_spinbtn"
8662
8663 if test "$enableval" = yes; then
8664 ac_cv_use_spinbtn='wxUSE_SPINBTN=yes'
8665 else
8666 ac_cv_use_spinbtn='wxUSE_SPINBTN=no'
8667 fi
8668
8669 else
8670
8671 LINE=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
8672 if test "x$LINE" != x ; then
8673 eval "DEFAULT_$LINE"
8674 else
8675 no_cache=1
8676 fi
8677
8678 ac_cv_use_spinbtn='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
8679
8680 fi;
8681
8682 eval "$ac_cv_use_spinbtn"
8683 if test "$no_cache" != 1; then
8684 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
8685 fi
8686
8687 if test "$wxUSE_SPINBTN" = yes; then
8688 echo "$as_me:$LINENO: result: yes" >&5
8689 echo "${ECHO_T}yes" >&6
8690 else
8691 echo "$as_me:$LINENO: result: no" >&5
8692 echo "${ECHO_T}no" >&6
8693 fi
8694
8695
8696 enablestring=
8697 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
8698 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
8699 no_cache=0
8700 # Check whether --enable-spinctrl or --disable-spinctrl was given.
8701 if test "${enable_spinctrl+set}" = set; then
8702 enableval="$enable_spinctrl"
8703
8704 if test "$enableval" = yes; then
8705 ac_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
8706 else
8707 ac_cv_use_spinctrl='wxUSE_SPINCTRL=no'
8708 fi
8709
8710 else
8711
8712 LINE=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
8713 if test "x$LINE" != x ; then
8714 eval "DEFAULT_$LINE"
8715 else
8716 no_cache=1
8717 fi
8718
8719 ac_cv_use_spinctrl='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
8720
8721 fi;
8722
8723 eval "$ac_cv_use_spinctrl"
8724 if test "$no_cache" != 1; then
8725 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
8726 fi
8727
8728 if test "$wxUSE_SPINCTRL" = yes; then
8729 echo "$as_me:$LINENO: result: yes" >&5
8730 echo "${ECHO_T}yes" >&6
8731 else
8732 echo "$as_me:$LINENO: result: no" >&5
8733 echo "${ECHO_T}no" >&6
8734 fi
8735
8736
8737 enablestring=
8738 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
8739 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
8740 no_cache=0
8741 # Check whether --enable-splitter or --disable-splitter was given.
8742 if test "${enable_splitter+set}" = set; then
8743 enableval="$enable_splitter"
8744
8745 if test "$enableval" = yes; then
8746 ac_cv_use_splitter='wxUSE_SPLITTER=yes'
8747 else
8748 ac_cv_use_splitter='wxUSE_SPLITTER=no'
8749 fi
8750
8751 else
8752
8753 LINE=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
8754 if test "x$LINE" != x ; then
8755 eval "DEFAULT_$LINE"
8756 else
8757 no_cache=1
8758 fi
8759
8760 ac_cv_use_splitter='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
8761
8762 fi;
8763
8764 eval "$ac_cv_use_splitter"
8765 if test "$no_cache" != 1; then
8766 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
8767 fi
8768
8769 if test "$wxUSE_SPLITTER" = yes; then
8770 echo "$as_me:$LINENO: result: yes" >&5
8771 echo "${ECHO_T}yes" >&6
8772 else
8773 echo "$as_me:$LINENO: result: no" >&5
8774 echo "${ECHO_T}no" >&6
8775 fi
8776
8777
8778 enablestring=
8779 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
8780 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
8781 no_cache=0
8782 # Check whether --enable-statbmp or --disable-statbmp was given.
8783 if test "${enable_statbmp+set}" = set; then
8784 enableval="$enable_statbmp"
8785
8786 if test "$enableval" = yes; then
8787 ac_cv_use_statbmp='wxUSE_STATBMP=yes'
8788 else
8789 ac_cv_use_statbmp='wxUSE_STATBMP=no'
8790 fi
8791
8792 else
8793
8794 LINE=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
8795 if test "x$LINE" != x ; then
8796 eval "DEFAULT_$LINE"
8797 else
8798 no_cache=1
8799 fi
8800
8801 ac_cv_use_statbmp='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
8802
8803 fi;
8804
8805 eval "$ac_cv_use_statbmp"
8806 if test "$no_cache" != 1; then
8807 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
8808 fi
8809
8810 if test "$wxUSE_STATBMP" = yes; then
8811 echo "$as_me:$LINENO: result: yes" >&5
8812 echo "${ECHO_T}yes" >&6
8813 else
8814 echo "$as_me:$LINENO: result: no" >&5
8815 echo "${ECHO_T}no" >&6
8816 fi
8817
8818
8819 enablestring=
8820 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
8821 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
8822 no_cache=0
8823 # Check whether --enable-statbox or --disable-statbox was given.
8824 if test "${enable_statbox+set}" = set; then
8825 enableval="$enable_statbox"
8826
8827 if test "$enableval" = yes; then
8828 ac_cv_use_statbox='wxUSE_STATBOX=yes'
8829 else
8830 ac_cv_use_statbox='wxUSE_STATBOX=no'
8831 fi
8832
8833 else
8834
8835 LINE=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
8836 if test "x$LINE" != x ; then
8837 eval "DEFAULT_$LINE"
8838 else
8839 no_cache=1
8840 fi
8841
8842 ac_cv_use_statbox='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
8843
8844 fi;
8845
8846 eval "$ac_cv_use_statbox"
8847 if test "$no_cache" != 1; then
8848 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
8849 fi
8850
8851 if test "$wxUSE_STATBOX" = yes; then
8852 echo "$as_me:$LINENO: result: yes" >&5
8853 echo "${ECHO_T}yes" >&6
8854 else
8855 echo "$as_me:$LINENO: result: no" >&5
8856 echo "${ECHO_T}no" >&6
8857 fi
8858
8859
8860 enablestring=
8861 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
8862 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
8863 no_cache=0
8864 # Check whether --enable-statline or --disable-statline was given.
8865 if test "${enable_statline+set}" = set; then
8866 enableval="$enable_statline"
8867
8868 if test "$enableval" = yes; then
8869 ac_cv_use_statline='wxUSE_STATLINE=yes'
8870 else
8871 ac_cv_use_statline='wxUSE_STATLINE=no'
8872 fi
8873
8874 else
8875
8876 LINE=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
8877 if test "x$LINE" != x ; then
8878 eval "DEFAULT_$LINE"
8879 else
8880 no_cache=1
8881 fi
8882
8883 ac_cv_use_statline='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
8884
8885 fi;
8886
8887 eval "$ac_cv_use_statline"
8888 if test "$no_cache" != 1; then
8889 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
8890 fi
8891
8892 if test "$wxUSE_STATLINE" = yes; then
8893 echo "$as_me:$LINENO: result: yes" >&5
8894 echo "${ECHO_T}yes" >&6
8895 else
8896 echo "$as_me:$LINENO: result: no" >&5
8897 echo "${ECHO_T}no" >&6
8898 fi
8899
8900
8901 enablestring=
8902 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
8903 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
8904 no_cache=0
8905 # Check whether --enable-stattext or --disable-stattext was given.
8906 if test "${enable_stattext+set}" = set; then
8907 enableval="$enable_stattext"
8908
8909 if test "$enableval" = yes; then
8910 ac_cv_use_stattext='wxUSE_STATTEXT=yes'
8911 else
8912 ac_cv_use_stattext='wxUSE_STATTEXT=no'
8913 fi
8914
8915 else
8916
8917 LINE=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
8918 if test "x$LINE" != x ; then
8919 eval "DEFAULT_$LINE"
8920 else
8921 no_cache=1
8922 fi
8923
8924 ac_cv_use_stattext='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
8925
8926 fi;
8927
8928 eval "$ac_cv_use_stattext"
8929 if test "$no_cache" != 1; then
8930 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
8931 fi
8932
8933 if test "$wxUSE_STATTEXT" = yes; then
8934 echo "$as_me:$LINENO: result: yes" >&5
8935 echo "${ECHO_T}yes" >&6
8936 else
8937 echo "$as_me:$LINENO: result: no" >&5
8938 echo "${ECHO_T}no" >&6
8939 fi
8940
8941
8942 enablestring=
8943 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
8944 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
8945 no_cache=0
8946 # Check whether --enable-statusbar or --disable-statusbar was given.
8947 if test "${enable_statusbar+set}" = set; then
8948 enableval="$enable_statusbar"
8949
8950 if test "$enableval" = yes; then
8951 ac_cv_use_statusbar='wxUSE_STATUSBAR=yes'
8952 else
8953 ac_cv_use_statusbar='wxUSE_STATUSBAR=no'
8954 fi
8955
8956 else
8957
8958 LINE=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
8959 if test "x$LINE" != x ; then
8960 eval "DEFAULT_$LINE"
8961 else
8962 no_cache=1
8963 fi
8964
8965 ac_cv_use_statusbar='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
8966
8967 fi;
8968
8969 eval "$ac_cv_use_statusbar"
8970 if test "$no_cache" != 1; then
8971 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
8972 fi
8973
8974 if test "$wxUSE_STATUSBAR" = yes; then
8975 echo "$as_me:$LINENO: result: yes" >&5
8976 echo "${ECHO_T}yes" >&6
8977 else
8978 echo "$as_me:$LINENO: result: no" >&5
8979 echo "${ECHO_T}no" >&6
8980 fi
8981
8982
8983 enablestring=
8984 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
8985 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
8986 no_cache=0
8987 # Check whether --enable-tabdialog or --disable-tabdialog was given.
8988 if test "${enable_tabdialog+set}" = set; then
8989 enableval="$enable_tabdialog"
8990
8991 if test "$enableval" = yes; then
8992 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG=yes'
8993 else
8994 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG=no'
8995 fi
8996
8997 else
8998
8999 LINE=`grep "wxUSE_TAB_DIALOG" ${wx_arg_cache_file}`
9000 if test "x$LINE" != x ; then
9001 eval "DEFAULT_$LINE"
9002 else
9003 no_cache=1
9004 fi
9005
9006 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG='$DEFAULT_wxUSE_TAB_DIALOG
9007
9008 fi;
9009
9010 eval "$ac_cv_use_tabdialog"
9011 if test "$no_cache" != 1; then
9012 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
9013 fi
9014
9015 if test "$wxUSE_TAB_DIALOG" = yes; then
9016 echo "$as_me:$LINENO: result: yes" >&5
9017 echo "${ECHO_T}yes" >&6
9018 else
9019 echo "$as_me:$LINENO: result: no" >&5
9020 echo "${ECHO_T}no" >&6
9021 fi
9022
9023
9024 enablestring=
9025 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
9026 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
9027 no_cache=0
9028 # Check whether --enable-textctrl or --disable-textctrl was given.
9029 if test "${enable_textctrl+set}" = set; then
9030 enableval="$enable_textctrl"
9031
9032 if test "$enableval" = yes; then
9033 ac_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
9034 else
9035 ac_cv_use_textctrl='wxUSE_TEXTCTRL=no'
9036 fi
9037
9038 else
9039
9040 LINE=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
9041 if test "x$LINE" != x ; then
9042 eval "DEFAULT_$LINE"
9043 else
9044 no_cache=1
9045 fi
9046
9047 ac_cv_use_textctrl='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
9048
9049 fi;
9050
9051 eval "$ac_cv_use_textctrl"
9052 if test "$no_cache" != 1; then
9053 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
9054 fi
9055
9056 if test "$wxUSE_TEXTCTRL" = yes; then
9057 echo "$as_me:$LINENO: result: yes" >&5
9058 echo "${ECHO_T}yes" >&6
9059 else
9060 echo "$as_me:$LINENO: result: no" >&5
9061 echo "${ECHO_T}no" >&6
9062 fi
9063
9064
9065 enablestring=
9066 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
9067 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
9068 no_cache=0
9069 # Check whether --enable-togglebtn or --disable-togglebtn was given.
9070 if test "${enable_togglebtn+set}" = set; then
9071 enableval="$enable_togglebtn"
9072
9073 if test "$enableval" = yes; then
9074 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
9075 else
9076 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
9077 fi
9078
9079 else
9080
9081 LINE=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
9082 if test "x$LINE" != x ; then
9083 eval "DEFAULT_$LINE"
9084 else
9085 no_cache=1
9086 fi
9087
9088 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
9089
9090 fi;
9091
9092 eval "$ac_cv_use_togglebtn"
9093 if test "$no_cache" != 1; then
9094 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
9095 fi
9096
9097 if test "$wxUSE_TOGGLEBTN" = yes; then
9098 echo "$as_me:$LINENO: result: yes" >&5
9099 echo "${ECHO_T}yes" >&6
9100 else
9101 echo "$as_me:$LINENO: result: no" >&5
9102 echo "${ECHO_T}no" >&6
9103 fi
9104
9105
9106 enablestring=
9107 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
9108 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
9109 no_cache=0
9110 # Check whether --enable-toolbar or --disable-toolbar was given.
9111 if test "${enable_toolbar+set}" = set; then
9112 enableval="$enable_toolbar"
9113
9114 if test "$enableval" = yes; then
9115 ac_cv_use_toolbar='wxUSE_TOOLBAR=yes'
9116 else
9117 ac_cv_use_toolbar='wxUSE_TOOLBAR=no'
9118 fi
9119
9120 else
9121
9122 LINE=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
9123 if test "x$LINE" != x ; then
9124 eval "DEFAULT_$LINE"
9125 else
9126 no_cache=1
9127 fi
9128
9129 ac_cv_use_toolbar='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
9130
9131 fi;
9132
9133 eval "$ac_cv_use_toolbar"
9134 if test "$no_cache" != 1; then
9135 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
9136 fi
9137
9138 if test "$wxUSE_TOOLBAR" = yes; then
9139 echo "$as_me:$LINENO: result: yes" >&5
9140 echo "${ECHO_T}yes" >&6
9141 else
9142 echo "$as_me:$LINENO: result: no" >&5
9143 echo "${ECHO_T}no" >&6
9144 fi
9145
9146
9147 enablestring=
9148 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
9149 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
9150 no_cache=0
9151 # Check whether --enable-tbarnative or --disable-tbarnative was given.
9152 if test "${enable_tbarnative+set}" = set; then
9153 enableval="$enable_tbarnative"
9154
9155 if test "$enableval" = yes; then
9156 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
9157 else
9158 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
9159 fi
9160
9161 else
9162
9163 LINE=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
9164 if test "x$LINE" != x ; then
9165 eval "DEFAULT_$LINE"
9166 else
9167 no_cache=1
9168 fi
9169
9170 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
9171
9172 fi;
9173
9174 eval "$ac_cv_use_tbarnative"
9175 if test "$no_cache" != 1; then
9176 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
9177 fi
9178
9179 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
9180 echo "$as_me:$LINENO: result: yes" >&5
9181 echo "${ECHO_T}yes" >&6
9182 else
9183 echo "$as_me:$LINENO: result: no" >&5
9184 echo "${ECHO_T}no" >&6
9185 fi
9186
9187
9188 enablestring=
9189 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarsmpl" >&5
9190 echo $ECHO_N "checking for --${enablestring:-enable}-tbarsmpl... $ECHO_C" >&6
9191 no_cache=0
9192 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
9193 if test "${enable_tbarsmpl+set}" = set; then
9194 enableval="$enable_tbarsmpl"
9195
9196 if test "$enableval" = yes; then
9197 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE=yes'
9198 else
9199 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE=no'
9200 fi
9201
9202 else
9203
9204 LINE=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
9205 if test "x$LINE" != x ; then
9206 eval "DEFAULT_$LINE"
9207 else
9208 no_cache=1
9209 fi
9210
9211 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
9212
9213 fi;
9214
9215 eval "$ac_cv_use_tbarsmpl"
9216 if test "$no_cache" != 1; then
9217 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
9218 fi
9219
9220 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
9221 echo "$as_me:$LINENO: result: yes" >&5
9222 echo "${ECHO_T}yes" >&6
9223 else
9224 echo "$as_me:$LINENO: result: no" >&5
9225 echo "${ECHO_T}no" >&6
9226 fi
9227
9228
9229 enablestring=
9230 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
9231 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6
9232 no_cache=0
9233 # Check whether --enable-treebook or --disable-treebook was given.
9234 if test "${enable_treebook+set}" = set; then
9235 enableval="$enable_treebook"
9236
9237 if test "$enableval" = yes; then
9238 ac_cv_use_treebook='wxUSE_TREEBOOK=yes'
9239 else
9240 ac_cv_use_treebook='wxUSE_TREEBOOK=no'
9241 fi
9242
9243 else
9244
9245 LINE=`grep "wxUSE_TREEBOOK" ${wx_arg_cache_file}`
9246 if test "x$LINE" != x ; then
9247 eval "DEFAULT_$LINE"
9248 else
9249 no_cache=1
9250 fi
9251
9252 ac_cv_use_treebook='wxUSE_TREEBOOK='$DEFAULT_wxUSE_TREEBOOK
9253
9254 fi;
9255
9256 eval "$ac_cv_use_treebook"
9257 if test "$no_cache" != 1; then
9258 echo $ac_cv_use_treebook >> ${wx_arg_cache_file}.tmp
9259 fi
9260
9261 if test "$wxUSE_TREEBOOK" = yes; then
9262 echo "$as_me:$LINENO: result: yes" >&5
9263 echo "${ECHO_T}yes" >&6
9264 else
9265 echo "$as_me:$LINENO: result: no" >&5
9266 echo "${ECHO_T}no" >&6
9267 fi
9268
9269
9270 enablestring=
9271 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
9272 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6
9273 no_cache=0
9274 # Check whether --enable-toolbook or --disable-toolbook was given.
9275 if test "${enable_toolbook+set}" = set; then
9276 enableval="$enable_toolbook"
9277
9278 if test "$enableval" = yes; then
9279 ac_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
9280 else
9281 ac_cv_use_toolbook='wxUSE_TOOLBOOK=no'
9282 fi
9283
9284 else
9285
9286 LINE=`grep "wxUSE_TOOLBOOK" ${wx_arg_cache_file}`
9287 if test "x$LINE" != x ; then
9288 eval "DEFAULT_$LINE"
9289 else
9290 no_cache=1
9291 fi
9292
9293 ac_cv_use_toolbook='wxUSE_TOOLBOOK='$DEFAULT_wxUSE_TOOLBOOK
9294
9295 fi;
9296
9297 eval "$ac_cv_use_toolbook"
9298 if test "$no_cache" != 1; then
9299 echo $ac_cv_use_toolbook >> ${wx_arg_cache_file}.tmp
9300 fi
9301
9302 if test "$wxUSE_TOOLBOOK" = yes; then
9303 echo "$as_me:$LINENO: result: yes" >&5
9304 echo "${ECHO_T}yes" >&6
9305 else
9306 echo "$as_me:$LINENO: result: no" >&5
9307 echo "${ECHO_T}no" >&6
9308 fi
9309
9310
9311 enablestring=
9312 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
9313 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
9314 no_cache=0
9315 # Check whether --enable-treectrl or --disable-treectrl was given.
9316 if test "${enable_treectrl+set}" = set; then
9317 enableval="$enable_treectrl"
9318
9319 if test "$enableval" = yes; then
9320 ac_cv_use_treectrl='wxUSE_TREECTRL=yes'
9321 else
9322 ac_cv_use_treectrl='wxUSE_TREECTRL=no'
9323 fi
9324
9325 else
9326
9327 LINE=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
9328 if test "x$LINE" != x ; then
9329 eval "DEFAULT_$LINE"
9330 else
9331 no_cache=1
9332 fi
9333
9334 ac_cv_use_treectrl='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
9335
9336 fi;
9337
9338 eval "$ac_cv_use_treectrl"
9339 if test "$no_cache" != 1; then
9340 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
9341 fi
9342
9343 if test "$wxUSE_TREECTRL" = yes; then
9344 echo "$as_me:$LINENO: result: yes" >&5
9345 echo "${ECHO_T}yes" >&6
9346 else
9347 echo "$as_me:$LINENO: result: no" >&5
9348 echo "${ECHO_T}no" >&6
9349 fi
9350
9351
9352 enablestring=
9353 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
9354 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
9355 no_cache=0
9356 # Check whether --enable-tipwindow or --disable-tipwindow was given.
9357 if test "${enable_tipwindow+set}" = set; then
9358 enableval="$enable_tipwindow"
9359
9360 if test "$enableval" = yes; then
9361 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
9362 else
9363 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
9364 fi
9365
9366 else
9367
9368 LINE=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
9369 if test "x$LINE" != x ; then
9370 eval "DEFAULT_$LINE"
9371 else
9372 no_cache=1
9373 fi
9374
9375 ac_cv_use_tipwindow='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
9376
9377 fi;
9378
9379 eval "$ac_cv_use_tipwindow"
9380 if test "$no_cache" != 1; then
9381 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
9382 fi
9383
9384 if test "$wxUSE_TIPWINDOW" = yes; then
9385 echo "$as_me:$LINENO: result: yes" >&5
9386 echo "${ECHO_T}yes" >&6
9387 else
9388 echo "$as_me:$LINENO: result: no" >&5
9389 echo "${ECHO_T}no" >&6
9390 fi
9391
9392
9393 enablestring=
9394 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
9395 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
9396 no_cache=0
9397 # Check whether --enable-popupwin or --disable-popupwin was given.
9398 if test "${enable_popupwin+set}" = set; then
9399 enableval="$enable_popupwin"
9400
9401 if test "$enableval" = yes; then
9402 ac_cv_use_popupwin='wxUSE_POPUPWIN=yes'
9403 else
9404 ac_cv_use_popupwin='wxUSE_POPUPWIN=no'
9405 fi
9406
9407 else
9408
9409 LINE=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
9410 if test "x$LINE" != x ; then
9411 eval "DEFAULT_$LINE"
9412 else
9413 no_cache=1
9414 fi
9415
9416 ac_cv_use_popupwin='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
9417
9418 fi;
9419
9420 eval "$ac_cv_use_popupwin"
9421 if test "$no_cache" != 1; then
9422 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
9423 fi
9424
9425 if test "$wxUSE_POPUPWIN" = yes; then
9426 echo "$as_me:$LINENO: result: yes" >&5
9427 echo "${ECHO_T}yes" >&6
9428 else
9429 echo "$as_me:$LINENO: result: no" >&5
9430 echo "${ECHO_T}no" >&6
9431 fi
9432
9433
9434
9435
9436 enablestring=
9437 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
9438 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
9439 no_cache=0
9440 # Check whether --enable-commondlg or --disable-commondlg was given.
9441 if test "${enable_commondlg+set}" = set; then
9442 enableval="$enable_commondlg"
9443
9444 if test "$enableval" = yes; then
9445 ac_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
9446 else
9447 ac_cv_use_commondlg='wxUSE_COMMONDLGS=no'
9448 fi
9449
9450 else
9451
9452 LINE=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
9453 if test "x$LINE" != x ; then
9454 eval "DEFAULT_$LINE"
9455 else
9456 no_cache=1
9457 fi
9458
9459 ac_cv_use_commondlg='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
9460
9461 fi;
9462
9463 eval "$ac_cv_use_commondlg"
9464 if test "$no_cache" != 1; then
9465 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
9466 fi
9467
9468 if test "$wxUSE_COMMONDLGS" = yes; then
9469 echo "$as_me:$LINENO: result: yes" >&5
9470 echo "${ECHO_T}yes" >&6
9471 else
9472 echo "$as_me:$LINENO: result: no" >&5
9473 echo "${ECHO_T}no" >&6
9474 fi
9475
9476
9477 enablestring=
9478 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
9479 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
9480 no_cache=0
9481 # Check whether --enable-choicedlg or --disable-choicedlg was given.
9482 if test "${enable_choicedlg+set}" = set; then
9483 enableval="$enable_choicedlg"
9484
9485 if test "$enableval" = yes; then
9486 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
9487 else
9488 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
9489 fi
9490
9491 else
9492
9493 LINE=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
9494 if test "x$LINE" != x ; then
9495 eval "DEFAULT_$LINE"
9496 else
9497 no_cache=1
9498 fi
9499
9500 ac_cv_use_choicedlg='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
9501
9502 fi;
9503
9504 eval "$ac_cv_use_choicedlg"
9505 if test "$no_cache" != 1; then
9506 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
9507 fi
9508
9509 if test "$wxUSE_CHOICEDLG" = yes; then
9510 echo "$as_me:$LINENO: result: yes" >&5
9511 echo "${ECHO_T}yes" >&6
9512 else
9513 echo "$as_me:$LINENO: result: no" >&5
9514 echo "${ECHO_T}no" >&6
9515 fi
9516
9517
9518 enablestring=
9519 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
9520 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
9521 no_cache=0
9522 # Check whether --enable-coldlg or --disable-coldlg was given.
9523 if test "${enable_coldlg+set}" = set; then
9524 enableval="$enable_coldlg"
9525
9526 if test "$enableval" = yes; then
9527 ac_cv_use_coldlg='wxUSE_COLOURDLG=yes'
9528 else
9529 ac_cv_use_coldlg='wxUSE_COLOURDLG=no'
9530 fi
9531
9532 else
9533
9534 LINE=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
9535 if test "x$LINE" != x ; then
9536 eval "DEFAULT_$LINE"
9537 else
9538 no_cache=1
9539 fi
9540
9541 ac_cv_use_coldlg='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
9542
9543 fi;
9544
9545 eval "$ac_cv_use_coldlg"
9546 if test "$no_cache" != 1; then
9547 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
9548 fi
9549
9550 if test "$wxUSE_COLOURDLG" = yes; then
9551 echo "$as_me:$LINENO: result: yes" >&5
9552 echo "${ECHO_T}yes" >&6
9553 else
9554 echo "$as_me:$LINENO: result: no" >&5
9555 echo "${ECHO_T}no" >&6
9556 fi
9557
9558
9559 enablestring=
9560 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
9561 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
9562 no_cache=0
9563 # Check whether --enable-filedlg or --disable-filedlg was given.
9564 if test "${enable_filedlg+set}" = set; then
9565 enableval="$enable_filedlg"
9566
9567 if test "$enableval" = yes; then
9568 ac_cv_use_filedlg='wxUSE_FILEDLG=yes'
9569 else
9570 ac_cv_use_filedlg='wxUSE_FILEDLG=no'
9571 fi
9572
9573 else
9574
9575 LINE=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
9576 if test "x$LINE" != x ; then
9577 eval "DEFAULT_$LINE"
9578 else
9579 no_cache=1
9580 fi
9581
9582 ac_cv_use_filedlg='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
9583
9584 fi;
9585
9586 eval "$ac_cv_use_filedlg"
9587 if test "$no_cache" != 1; then
9588 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
9589 fi
9590
9591 if test "$wxUSE_FILEDLG" = yes; then
9592 echo "$as_me:$LINENO: result: yes" >&5
9593 echo "${ECHO_T}yes" >&6
9594 else
9595 echo "$as_me:$LINENO: result: no" >&5
9596 echo "${ECHO_T}no" >&6
9597 fi
9598
9599
9600 enablestring=
9601 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
9602 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
9603 no_cache=0
9604 # Check whether --enable-finddlg or --disable-finddlg was given.
9605 if test "${enable_finddlg+set}" = set; then
9606 enableval="$enable_finddlg"
9607
9608 if test "$enableval" = yes; then
9609 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
9610 else
9611 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
9612 fi
9613
9614 else
9615
9616 LINE=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
9617 if test "x$LINE" != x ; then
9618 eval "DEFAULT_$LINE"
9619 else
9620 no_cache=1
9621 fi
9622
9623 ac_cv_use_finddlg='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
9624
9625 fi;
9626
9627 eval "$ac_cv_use_finddlg"
9628 if test "$no_cache" != 1; then
9629 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
9630 fi
9631
9632 if test "$wxUSE_FINDREPLDLG" = yes; then
9633 echo "$as_me:$LINENO: result: yes" >&5
9634 echo "${ECHO_T}yes" >&6
9635 else
9636 echo "$as_me:$LINENO: result: no" >&5
9637 echo "${ECHO_T}no" >&6
9638 fi
9639
9640
9641 enablestring=
9642 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
9643 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
9644 no_cache=0
9645 # Check whether --enable-fontdlg or --disable-fontdlg was given.
9646 if test "${enable_fontdlg+set}" = set; then
9647 enableval="$enable_fontdlg"
9648
9649 if test "$enableval" = yes; then
9650 ac_cv_use_fontdlg='wxUSE_FONTDLG=yes'
9651 else
9652 ac_cv_use_fontdlg='wxUSE_FONTDLG=no'
9653 fi
9654
9655 else
9656
9657 LINE=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
9658 if test "x$LINE" != x ; then
9659 eval "DEFAULT_$LINE"
9660 else
9661 no_cache=1
9662 fi
9663
9664 ac_cv_use_fontdlg='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
9665
9666 fi;
9667
9668 eval "$ac_cv_use_fontdlg"
9669 if test "$no_cache" != 1; then
9670 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
9671 fi
9672
9673 if test "$wxUSE_FONTDLG" = yes; then
9674 echo "$as_me:$LINENO: result: yes" >&5
9675 echo "${ECHO_T}yes" >&6
9676 else
9677 echo "$as_me:$LINENO: result: no" >&5
9678 echo "${ECHO_T}no" >&6
9679 fi
9680
9681
9682 enablestring=
9683 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
9684 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
9685 no_cache=0
9686 # Check whether --enable-dirdlg or --disable-dirdlg was given.
9687 if test "${enable_dirdlg+set}" = set; then
9688 enableval="$enable_dirdlg"
9689
9690 if test "$enableval" = yes; then
9691 ac_cv_use_dirdlg='wxUSE_DIRDLG=yes'
9692 else
9693 ac_cv_use_dirdlg='wxUSE_DIRDLG=no'
9694 fi
9695
9696 else
9697
9698 LINE=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
9699 if test "x$LINE" != x ; then
9700 eval "DEFAULT_$LINE"
9701 else
9702 no_cache=1
9703 fi
9704
9705 ac_cv_use_dirdlg='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
9706
9707 fi;
9708
9709 eval "$ac_cv_use_dirdlg"
9710 if test "$no_cache" != 1; then
9711 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
9712 fi
9713
9714 if test "$wxUSE_DIRDLG" = yes; then
9715 echo "$as_me:$LINENO: result: yes" >&5
9716 echo "${ECHO_T}yes" >&6
9717 else
9718 echo "$as_me:$LINENO: result: no" >&5
9719 echo "${ECHO_T}no" >&6
9720 fi
9721
9722
9723 enablestring=
9724 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
9725 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
9726 no_cache=0
9727 # Check whether --enable-msgdlg or --disable-msgdlg was given.
9728 if test "${enable_msgdlg+set}" = set; then
9729 enableval="$enable_msgdlg"
9730
9731 if test "$enableval" = yes; then
9732 ac_cv_use_msgdlg='wxUSE_MSGDLG=yes'
9733 else
9734 ac_cv_use_msgdlg='wxUSE_MSGDLG=no'
9735 fi
9736
9737 else
9738
9739 LINE=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
9740 if test "x$LINE" != x ; then
9741 eval "DEFAULT_$LINE"
9742 else
9743 no_cache=1
9744 fi
9745
9746 ac_cv_use_msgdlg='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
9747
9748 fi;
9749
9750 eval "$ac_cv_use_msgdlg"
9751 if test "$no_cache" != 1; then
9752 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
9753 fi
9754
9755 if test "$wxUSE_MSGDLG" = yes; then
9756 echo "$as_me:$LINENO: result: yes" >&5
9757 echo "${ECHO_T}yes" >&6
9758 else
9759 echo "$as_me:$LINENO: result: no" >&5
9760 echo "${ECHO_T}no" >&6
9761 fi
9762
9763
9764 enablestring=
9765 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
9766 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
9767 no_cache=0
9768 # Check whether --enable-numberdlg or --disable-numberdlg was given.
9769 if test "${enable_numberdlg+set}" = set; then
9770 enableval="$enable_numberdlg"
9771
9772 if test "$enableval" = yes; then
9773 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
9774 else
9775 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
9776 fi
9777
9778 else
9779
9780 LINE=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
9781 if test "x$LINE" != x ; then
9782 eval "DEFAULT_$LINE"
9783 else
9784 no_cache=1
9785 fi
9786
9787 ac_cv_use_numberdlg='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
9788
9789 fi;
9790
9791 eval "$ac_cv_use_numberdlg"
9792 if test "$no_cache" != 1; then
9793 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
9794 fi
9795
9796 if test "$wxUSE_NUMBERDLG" = yes; then
9797 echo "$as_me:$LINENO: result: yes" >&5
9798 echo "${ECHO_T}yes" >&6
9799 else
9800 echo "$as_me:$LINENO: result: no" >&5
9801 echo "${ECHO_T}no" >&6
9802 fi
9803
9804
9805 enablestring=
9806 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
9807 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
9808 no_cache=0
9809 # Check whether --enable-splash or --disable-splash was given.
9810 if test "${enable_splash+set}" = set; then
9811 enableval="$enable_splash"
9812
9813 if test "$enableval" = yes; then
9814 ac_cv_use_splash='wxUSE_SPLASH=yes'
9815 else
9816 ac_cv_use_splash='wxUSE_SPLASH=no'
9817 fi
9818
9819 else
9820
9821 LINE=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
9822 if test "x$LINE" != x ; then
9823 eval "DEFAULT_$LINE"
9824 else
9825 no_cache=1
9826 fi
9827
9828 ac_cv_use_splash='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
9829
9830 fi;
9831
9832 eval "$ac_cv_use_splash"
9833 if test "$no_cache" != 1; then
9834 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
9835 fi
9836
9837 if test "$wxUSE_SPLASH" = yes; then
9838 echo "$as_me:$LINENO: result: yes" >&5
9839 echo "${ECHO_T}yes" >&6
9840 else
9841 echo "$as_me:$LINENO: result: no" >&5
9842 echo "${ECHO_T}no" >&6
9843 fi
9844
9845
9846 enablestring=
9847 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
9848 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
9849 no_cache=0
9850 # Check whether --enable-textdlg or --disable-textdlg was given.
9851 if test "${enable_textdlg+set}" = set; then
9852 enableval="$enable_textdlg"
9853
9854 if test "$enableval" = yes; then
9855 ac_cv_use_textdlg='wxUSE_TEXTDLG=yes'
9856 else
9857 ac_cv_use_textdlg='wxUSE_TEXTDLG=no'
9858 fi
9859
9860 else
9861
9862 LINE=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
9863 if test "x$LINE" != x ; then
9864 eval "DEFAULT_$LINE"
9865 else
9866 no_cache=1
9867 fi
9868
9869 ac_cv_use_textdlg='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
9870
9871 fi;
9872
9873 eval "$ac_cv_use_textdlg"
9874 if test "$no_cache" != 1; then
9875 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
9876 fi
9877
9878 if test "$wxUSE_TEXTDLG" = yes; then
9879 echo "$as_me:$LINENO: result: yes" >&5
9880 echo "${ECHO_T}yes" >&6
9881 else
9882 echo "$as_me:$LINENO: result: no" >&5
9883 echo "${ECHO_T}no" >&6
9884 fi
9885
9886
9887 enablestring=
9888 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
9889 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
9890 no_cache=0
9891 # Check whether --enable-tipdlg or --disable-tipdlg was given.
9892 if test "${enable_tipdlg+set}" = set; then
9893 enableval="$enable_tipdlg"
9894
9895 if test "$enableval" = yes; then
9896 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
9897 else
9898 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
9899 fi
9900
9901 else
9902
9903 LINE=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
9904 if test "x$LINE" != x ; then
9905 eval "DEFAULT_$LINE"
9906 else
9907 no_cache=1
9908 fi
9909
9910 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
9911
9912 fi;
9913
9914 eval "$ac_cv_use_tipdlg"
9915 if test "$no_cache" != 1; then
9916 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
9917 fi
9918
9919 if test "$wxUSE_STARTUP_TIPS" = yes; then
9920 echo "$as_me:$LINENO: result: yes" >&5
9921 echo "${ECHO_T}yes" >&6
9922 else
9923 echo "$as_me:$LINENO: result: no" >&5
9924 echo "${ECHO_T}no" >&6
9925 fi
9926
9927
9928 enablestring=
9929 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
9930 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
9931 no_cache=0
9932 # Check whether --enable-progressdlg or --disable-progressdlg was given.
9933 if test "${enable_progressdlg+set}" = set; then
9934 enableval="$enable_progressdlg"
9935
9936 if test "$enableval" = yes; then
9937 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
9938 else
9939 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
9940 fi
9941
9942 else
9943
9944 LINE=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
9945 if test "x$LINE" != x ; then
9946 eval "DEFAULT_$LINE"
9947 else
9948 no_cache=1
9949 fi
9950
9951 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
9952
9953 fi;
9954
9955 eval "$ac_cv_use_progressdlg"
9956 if test "$no_cache" != 1; then
9957 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
9958 fi
9959
9960 if test "$wxUSE_PROGRESSDLG" = yes; then
9961 echo "$as_me:$LINENO: result: yes" >&5
9962 echo "${ECHO_T}yes" >&6
9963 else
9964 echo "$as_me:$LINENO: result: no" >&5
9965 echo "${ECHO_T}no" >&6
9966 fi
9967
9968
9969 enablestring=
9970 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
9971 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
9972 no_cache=0
9973 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
9974 if test "${enable_wizarddlg+set}" = set; then
9975 enableval="$enable_wizarddlg"
9976
9977 if test "$enableval" = yes; then
9978 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
9979 else
9980 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
9981 fi
9982
9983 else
9984
9985 LINE=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
9986 if test "x$LINE" != x ; then
9987 eval "DEFAULT_$LINE"
9988 else
9989 no_cache=1
9990 fi
9991
9992 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
9993
9994 fi;
9995
9996 eval "$ac_cv_use_wizarddlg"
9997 if test "$no_cache" != 1; then
9998 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
9999 fi
10000
10001 if test "$wxUSE_WIZARDDLG" = yes; then
10002 echo "$as_me:$LINENO: result: yes" >&5
10003 echo "${ECHO_T}yes" >&6
10004 else
10005 echo "$as_me:$LINENO: result: no" >&5
10006 echo "${ECHO_T}no" >&6
10007 fi
10008
10009
10010
10011
10012 enablestring=
10013 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
10014 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
10015 no_cache=0
10016 # Check whether --enable-menus or --disable-menus was given.
10017 if test "${enable_menus+set}" = set; then
10018 enableval="$enable_menus"
10019
10020 if test "$enableval" = yes; then
10021 ac_cv_use_menus='wxUSE_MENUS=yes'
10022 else
10023 ac_cv_use_menus='wxUSE_MENUS=no'
10024 fi
10025
10026 else
10027
10028 LINE=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
10029 if test "x$LINE" != x ; then
10030 eval "DEFAULT_$LINE"
10031 else
10032 no_cache=1
10033 fi
10034
10035 ac_cv_use_menus='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
10036
10037 fi;
10038
10039 eval "$ac_cv_use_menus"
10040 if test "$no_cache" != 1; then
10041 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
10042 fi
10043
10044 if test "$wxUSE_MENUS" = yes; then
10045 echo "$as_me:$LINENO: result: yes" >&5
10046 echo "${ECHO_T}yes" >&6
10047 else
10048 echo "$as_me:$LINENO: result: no" >&5
10049 echo "${ECHO_T}no" >&6
10050 fi
10051
10052
10053 enablestring=
10054 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
10055 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
10056 no_cache=0
10057 # Check whether --enable-miniframe or --disable-miniframe was given.
10058 if test "${enable_miniframe+set}" = set; then
10059 enableval="$enable_miniframe"
10060
10061 if test "$enableval" = yes; then
10062 ac_cv_use_miniframe='wxUSE_MINIFRAME=yes'
10063 else
10064 ac_cv_use_miniframe='wxUSE_MINIFRAME=no'
10065 fi
10066
10067 else
10068
10069 LINE=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
10070 if test "x$LINE" != x ; then
10071 eval "DEFAULT_$LINE"
10072 else
10073 no_cache=1
10074 fi
10075
10076 ac_cv_use_miniframe='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
10077
10078 fi;
10079
10080 eval "$ac_cv_use_miniframe"
10081 if test "$no_cache" != 1; then
10082 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
10083 fi
10084
10085 if test "$wxUSE_MINIFRAME" = yes; then
10086 echo "$as_me:$LINENO: result: yes" >&5
10087 echo "${ECHO_T}yes" >&6
10088 else
10089 echo "$as_me:$LINENO: result: no" >&5
10090 echo "${ECHO_T}no" >&6
10091 fi
10092
10093
10094 enablestring=
10095 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
10096 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
10097 no_cache=0
10098 # Check whether --enable-tooltips or --disable-tooltips was given.
10099 if test "${enable_tooltips+set}" = set; then
10100 enableval="$enable_tooltips"
10101
10102 if test "$enableval" = yes; then
10103 ac_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
10104 else
10105 ac_cv_use_tooltips='wxUSE_TOOLTIPS=no'
10106 fi
10107
10108 else
10109
10110 LINE=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
10111 if test "x$LINE" != x ; then
10112 eval "DEFAULT_$LINE"
10113 else
10114 no_cache=1
10115 fi
10116
10117 ac_cv_use_tooltips='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
10118
10119 fi;
10120
10121 eval "$ac_cv_use_tooltips"
10122 if test "$no_cache" != 1; then
10123 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
10124 fi
10125
10126 if test "$wxUSE_TOOLTIPS" = yes; then
10127 echo "$as_me:$LINENO: result: yes" >&5
10128 echo "${ECHO_T}yes" >&6
10129 else
10130 echo "$as_me:$LINENO: result: no" >&5
10131 echo "${ECHO_T}no" >&6
10132 fi
10133
10134
10135 enablestring=
10136 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
10137 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
10138 no_cache=0
10139 # Check whether --enable-splines or --disable-splines was given.
10140 if test "${enable_splines+set}" = set; then
10141 enableval="$enable_splines"
10142
10143 if test "$enableval" = yes; then
10144 ac_cv_use_splines='wxUSE_SPLINES=yes'
10145 else
10146 ac_cv_use_splines='wxUSE_SPLINES=no'
10147 fi
10148
10149 else
10150
10151 LINE=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
10152 if test "x$LINE" != x ; then
10153 eval "DEFAULT_$LINE"
10154 else
10155 no_cache=1
10156 fi
10157
10158 ac_cv_use_splines='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
10159
10160 fi;
10161
10162 eval "$ac_cv_use_splines"
10163 if test "$no_cache" != 1; then
10164 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
10165 fi
10166
10167 if test "$wxUSE_SPLINES" = yes; then
10168 echo "$as_me:$LINENO: result: yes" >&5
10169 echo "${ECHO_T}yes" >&6
10170 else
10171 echo "$as_me:$LINENO: result: no" >&5
10172 echo "${ECHO_T}no" >&6
10173 fi
10174
10175
10176 enablestring=
10177 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
10178 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6
10179 no_cache=0
10180 # Check whether --enable-mousewheel or --disable-mousewheel was given.
10181 if test "${enable_mousewheel+set}" = set; then
10182 enableval="$enable_mousewheel"
10183
10184 if test "$enableval" = yes; then
10185 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
10186 else
10187 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
10188 fi
10189
10190 else
10191
10192 LINE=`grep "wxUSE_MOUSEWHEEL" ${wx_arg_cache_file}`
10193 if test "x$LINE" != x ; then
10194 eval "DEFAULT_$LINE"
10195 else
10196 no_cache=1
10197 fi
10198
10199 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL='$DEFAULT_wxUSE_MOUSEWHEEL
10200
10201 fi;
10202
10203 eval "$ac_cv_use_mousewheel"
10204 if test "$no_cache" != 1; then
10205 echo $ac_cv_use_mousewheel >> ${wx_arg_cache_file}.tmp
10206 fi
10207
10208 if test "$wxUSE_MOUSEWHEEL" = yes; then
10209 echo "$as_me:$LINENO: result: yes" >&5
10210 echo "${ECHO_T}yes" >&6
10211 else
10212 echo "$as_me:$LINENO: result: no" >&5
10213 echo "${ECHO_T}no" >&6
10214 fi
10215
10216
10217 enablestring=
10218 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
10219 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
10220 no_cache=0
10221 # Check whether --enable-validators or --disable-validators was given.
10222 if test "${enable_validators+set}" = set; then
10223 enableval="$enable_validators"
10224
10225 if test "$enableval" = yes; then
10226 ac_cv_use_validators='wxUSE_VALIDATORS=yes'
10227 else
10228 ac_cv_use_validators='wxUSE_VALIDATORS=no'
10229 fi
10230
10231 else
10232
10233 LINE=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
10234 if test "x$LINE" != x ; then
10235 eval "DEFAULT_$LINE"
10236 else
10237 no_cache=1
10238 fi
10239
10240 ac_cv_use_validators='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
10241
10242 fi;
10243
10244 eval "$ac_cv_use_validators"
10245 if test "$no_cache" != 1; then
10246 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
10247 fi
10248
10249 if test "$wxUSE_VALIDATORS" = yes; then
10250 echo "$as_me:$LINENO: result: yes" >&5
10251 echo "${ECHO_T}yes" >&6
10252 else
10253 echo "$as_me:$LINENO: result: no" >&5
10254 echo "${ECHO_T}no" >&6
10255 fi
10256
10257
10258 enablestring=
10259 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
10260 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
10261 no_cache=0
10262 # Check whether --enable-busyinfo or --disable-busyinfo was given.
10263 if test "${enable_busyinfo+set}" = set; then
10264 enableval="$enable_busyinfo"
10265
10266 if test "$enableval" = yes; then
10267 ac_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
10268 else
10269 ac_cv_use_busyinfo='wxUSE_BUSYINFO=no'
10270 fi
10271
10272 else
10273
10274 LINE=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
10275 if test "x$LINE" != x ; then
10276 eval "DEFAULT_$LINE"
10277 else
10278 no_cache=1
10279 fi
10280
10281 ac_cv_use_busyinfo='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
10282
10283 fi;
10284
10285 eval "$ac_cv_use_busyinfo"
10286 if test "$no_cache" != 1; then
10287 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
10288 fi
10289
10290 if test "$wxUSE_BUSYINFO" = yes; then
10291 echo "$as_me:$LINENO: result: yes" >&5
10292 echo "${ECHO_T}yes" >&6
10293 else
10294 echo "$as_me:$LINENO: result: no" >&5
10295 echo "${ECHO_T}no" >&6
10296 fi
10297
10298
10299 enablestring=
10300 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
10301 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
10302 no_cache=0
10303 # Check whether --enable-joystick or --disable-joystick was given.
10304 if test "${enable_joystick+set}" = set; then
10305 enableval="$enable_joystick"
10306
10307 if test "$enableval" = yes; then
10308 ac_cv_use_joystick='wxUSE_JOYSTICK=yes'
10309 else
10310 ac_cv_use_joystick='wxUSE_JOYSTICK=no'
10311 fi
10312
10313 else
10314
10315 LINE=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
10316 if test "x$LINE" != x ; then
10317 eval "DEFAULT_$LINE"
10318 else
10319 no_cache=1
10320 fi
10321
10322 ac_cv_use_joystick='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
10323
10324 fi;
10325
10326 eval "$ac_cv_use_joystick"
10327 if test "$no_cache" != 1; then
10328 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
10329 fi
10330
10331 if test "$wxUSE_JOYSTICK" = yes; then
10332 echo "$as_me:$LINENO: result: yes" >&5
10333 echo "${ECHO_T}yes" >&6
10334 else
10335 echo "$as_me:$LINENO: result: no" >&5
10336 echo "${ECHO_T}no" >&6
10337 fi
10338
10339
10340 enablestring=
10341 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
10342 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
10343 no_cache=0
10344 # Check whether --enable-metafile or --disable-metafile was given.
10345 if test "${enable_metafile+set}" = set; then
10346 enableval="$enable_metafile"
10347
10348 if test "$enableval" = yes; then
10349 ac_cv_use_metafile='wxUSE_METAFILE=yes'
10350 else
10351 ac_cv_use_metafile='wxUSE_METAFILE=no'
10352 fi
10353
10354 else
10355
10356 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
10357 if test "x$LINE" != x ; then
10358 eval "DEFAULT_$LINE"
10359 else
10360 no_cache=1
10361 fi
10362
10363 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
10364
10365 fi;
10366
10367 eval "$ac_cv_use_metafile"
10368 if test "$no_cache" != 1; then
10369 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
10370 fi
10371
10372 if test "$wxUSE_METAFILE" = yes; then
10373 echo "$as_me:$LINENO: result: yes" >&5
10374 echo "${ECHO_T}yes" >&6
10375 else
10376 echo "$as_me:$LINENO: result: no" >&5
10377 echo "${ECHO_T}no" >&6
10378 fi
10379
10380
10381 enablestring=
10382 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
10383 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
10384 no_cache=0
10385 # Check whether --enable-dragimage or --disable-dragimage was given.
10386 if test "${enable_dragimage+set}" = set; then
10387 enableval="$enable_dragimage"
10388
10389 if test "$enableval" = yes; then
10390 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
10391 else
10392 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
10393 fi
10394
10395 else
10396
10397 LINE=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
10398 if test "x$LINE" != x ; then
10399 eval "DEFAULT_$LINE"
10400 else
10401 no_cache=1
10402 fi
10403
10404 ac_cv_use_dragimage='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
10405
10406 fi;
10407
10408 eval "$ac_cv_use_dragimage"
10409 if test "$no_cache" != 1; then
10410 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
10411 fi
10412
10413 if test "$wxUSE_DRAGIMAGE" = yes; then
10414 echo "$as_me:$LINENO: result: yes" >&5
10415 echo "${ECHO_T}yes" >&6
10416 else
10417 echo "$as_me:$LINENO: result: no" >&5
10418 echo "${ECHO_T}no" >&6
10419 fi
10420
10421
10422 enablestring=
10423 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
10424 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
10425 no_cache=0
10426 # Check whether --enable-accessibility or --disable-accessibility was given.
10427 if test "${enable_accessibility+set}" = set; then
10428 enableval="$enable_accessibility"
10429
10430 if test "$enableval" = yes; then
10431 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
10432 else
10433 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
10434 fi
10435
10436 else
10437
10438 LINE=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
10439 if test "x$LINE" != x ; then
10440 eval "DEFAULT_$LINE"
10441 else
10442 no_cache=1
10443 fi
10444
10445 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
10446
10447 fi;
10448
10449 eval "$ac_cv_use_accessibility"
10450 if test "$no_cache" != 1; then
10451 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
10452 fi
10453
10454 if test "$wxUSE_ACCESSIBILITY" = yes; then
10455 echo "$as_me:$LINENO: result: yes" >&5
10456 echo "${ECHO_T}yes" >&6
10457 else
10458 echo "$as_me:$LINENO: result: no" >&5
10459 echo "${ECHO_T}no" >&6
10460 fi
10461
10462
10463 if test "$wxUSE_MSW" = "1"; then
10464
10465 enablestring=
10466 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
10467 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6
10468 no_cache=0
10469 # Check whether --enable-dccache or --disable-dccache was given.
10470 if test "${enable_dccache+set}" = set; then
10471 enableval="$enable_dccache"
10472
10473 if test "$enableval" = yes; then
10474 ac_cv_use_dccache='wxUSE_DC_CACHEING=yes'
10475 else
10476 ac_cv_use_dccache='wxUSE_DC_CACHEING=no'
10477 fi
10478
10479 else
10480
10481 LINE=`grep "wxUSE_DC_CACHEING" ${wx_arg_cache_file}`
10482 if test "x$LINE" != x ; then
10483 eval "DEFAULT_$LINE"
10484 else
10485 no_cache=1
10486 fi
10487
10488 ac_cv_use_dccache='wxUSE_DC_CACHEING='$DEFAULT_wxUSE_DC_CACHEING
10489
10490 fi;
10491
10492 eval "$ac_cv_use_dccache"
10493 if test "$no_cache" != 1; then
10494 echo $ac_cv_use_dccache >> ${wx_arg_cache_file}.tmp
10495 fi
10496
10497 if test "$wxUSE_DC_CACHEING" = yes; then
10498 echo "$as_me:$LINENO: result: yes" >&5
10499 echo "${ECHO_T}yes" >&6
10500 else
10501 echo "$as_me:$LINENO: result: no" >&5
10502 echo "${ECHO_T}no" >&6
10503 fi
10504
10505 fi
10506
10507
10508
10509 enablestring=
10510 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
10511 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
10512 no_cache=0
10513 # Check whether --enable-palette or --disable-palette was given.
10514 if test "${enable_palette+set}" = set; then
10515 enableval="$enable_palette"
10516
10517 if test "$enableval" = yes; then
10518 ac_cv_use_palette='wxUSE_PALETTE=yes'
10519 else
10520 ac_cv_use_palette='wxUSE_PALETTE=no'
10521 fi
10522
10523 else
10524
10525 LINE=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
10526 if test "x$LINE" != x ; then
10527 eval "DEFAULT_$LINE"
10528 else
10529 no_cache=1
10530 fi
10531
10532 ac_cv_use_palette='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
10533
10534 fi;
10535
10536 eval "$ac_cv_use_palette"
10537 if test "$no_cache" != 1; then
10538 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
10539 fi
10540
10541 if test "$wxUSE_PALETTE" = yes; then
10542 echo "$as_me:$LINENO: result: yes" >&5
10543 echo "${ECHO_T}yes" >&6
10544 else
10545 echo "$as_me:$LINENO: result: no" >&5
10546 echo "${ECHO_T}no" >&6
10547 fi
10548
10549
10550 enablestring=
10551 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
10552 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
10553 no_cache=0
10554 # Check whether --enable-image or --disable-image was given.
10555 if test "${enable_image+set}" = set; then
10556 enableval="$enable_image"
10557
10558 if test "$enableval" = yes; then
10559 ac_cv_use_image='wxUSE_IMAGE=yes'
10560 else
10561 ac_cv_use_image='wxUSE_IMAGE=no'
10562 fi
10563
10564 else
10565
10566 LINE=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
10567 if test "x$LINE" != x ; then
10568 eval "DEFAULT_$LINE"
10569 else
10570 no_cache=1
10571 fi
10572
10573 ac_cv_use_image='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
10574
10575 fi;
10576
10577 eval "$ac_cv_use_image"
10578 if test "$no_cache" != 1; then
10579 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
10580 fi
10581
10582 if test "$wxUSE_IMAGE" = yes; then
10583 echo "$as_me:$LINENO: result: yes" >&5
10584 echo "${ECHO_T}yes" >&6
10585 else
10586 echo "$as_me:$LINENO: result: no" >&5
10587 echo "${ECHO_T}no" >&6
10588 fi
10589
10590
10591 enablestring=
10592 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
10593 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
10594 no_cache=0
10595 # Check whether --enable-gif or --disable-gif was given.
10596 if test "${enable_gif+set}" = set; then
10597 enableval="$enable_gif"
10598
10599 if test "$enableval" = yes; then
10600 ac_cv_use_gif='wxUSE_GIF=yes'
10601 else
10602 ac_cv_use_gif='wxUSE_GIF=no'
10603 fi
10604
10605 else
10606
10607 LINE=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
10608 if test "x$LINE" != x ; then
10609 eval "DEFAULT_$LINE"
10610 else
10611 no_cache=1
10612 fi
10613
10614 ac_cv_use_gif='wxUSE_GIF='$DEFAULT_wxUSE_GIF
10615
10616 fi;
10617
10618 eval "$ac_cv_use_gif"
10619 if test "$no_cache" != 1; then
10620 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
10621 fi
10622
10623 if test "$wxUSE_GIF" = yes; then
10624 echo "$as_me:$LINENO: result: yes" >&5
10625 echo "${ECHO_T}yes" >&6
10626 else
10627 echo "$as_me:$LINENO: result: no" >&5
10628 echo "${ECHO_T}no" >&6
10629 fi
10630
10631
10632 enablestring=
10633 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
10634 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
10635 no_cache=0
10636 # Check whether --enable-pcx or --disable-pcx was given.
10637 if test "${enable_pcx+set}" = set; then
10638 enableval="$enable_pcx"
10639
10640 if test "$enableval" = yes; then
10641 ac_cv_use_pcx='wxUSE_PCX=yes'
10642 else
10643 ac_cv_use_pcx='wxUSE_PCX=no'
10644 fi
10645
10646 else
10647
10648 LINE=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
10649 if test "x$LINE" != x ; then
10650 eval "DEFAULT_$LINE"
10651 else
10652 no_cache=1
10653 fi
10654
10655 ac_cv_use_pcx='wxUSE_PCX='$DEFAULT_wxUSE_PCX
10656
10657 fi;
10658
10659 eval "$ac_cv_use_pcx"
10660 if test "$no_cache" != 1; then
10661 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
10662 fi
10663
10664 if test "$wxUSE_PCX" = yes; then
10665 echo "$as_me:$LINENO: result: yes" >&5
10666 echo "${ECHO_T}yes" >&6
10667 else
10668 echo "$as_me:$LINENO: result: no" >&5
10669 echo "${ECHO_T}no" >&6
10670 fi
10671
10672
10673 enablestring=
10674 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
10675 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
10676 no_cache=0
10677 # Check whether --enable-iff or --disable-iff was given.
10678 if test "${enable_iff+set}" = set; then
10679 enableval="$enable_iff"
10680
10681 if test "$enableval" = yes; then
10682 ac_cv_use_iff='wxUSE_IFF=yes'
10683 else
10684 ac_cv_use_iff='wxUSE_IFF=no'
10685 fi
10686
10687 else
10688
10689 LINE=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
10690 if test "x$LINE" != x ; then
10691 eval "DEFAULT_$LINE"
10692 else
10693 no_cache=1
10694 fi
10695
10696 ac_cv_use_iff='wxUSE_IFF='$DEFAULT_wxUSE_IFF
10697
10698 fi;
10699
10700 eval "$ac_cv_use_iff"
10701 if test "$no_cache" != 1; then
10702 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
10703 fi
10704
10705 if test "$wxUSE_IFF" = yes; then
10706 echo "$as_me:$LINENO: result: yes" >&5
10707 echo "${ECHO_T}yes" >&6
10708 else
10709 echo "$as_me:$LINENO: result: no" >&5
10710 echo "${ECHO_T}no" >&6
10711 fi
10712
10713
10714 enablestring=
10715 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
10716 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
10717 no_cache=0
10718 # Check whether --enable-pnm or --disable-pnm was given.
10719 if test "${enable_pnm+set}" = set; then
10720 enableval="$enable_pnm"
10721
10722 if test "$enableval" = yes; then
10723 ac_cv_use_pnm='wxUSE_PNM=yes'
10724 else
10725 ac_cv_use_pnm='wxUSE_PNM=no'
10726 fi
10727
10728 else
10729
10730 LINE=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
10731 if test "x$LINE" != x ; then
10732 eval "DEFAULT_$LINE"
10733 else
10734 no_cache=1
10735 fi
10736
10737 ac_cv_use_pnm='wxUSE_PNM='$DEFAULT_wxUSE_PNM
10738
10739 fi;
10740
10741 eval "$ac_cv_use_pnm"
10742 if test "$no_cache" != 1; then
10743 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
10744 fi
10745
10746 if test "$wxUSE_PNM" = yes; then
10747 echo "$as_me:$LINENO: result: yes" >&5
10748 echo "${ECHO_T}yes" >&6
10749 else
10750 echo "$as_me:$LINENO: result: no" >&5
10751 echo "${ECHO_T}no" >&6
10752 fi
10753
10754
10755 enablestring=
10756 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
10757 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
10758 no_cache=0
10759 # Check whether --enable-xpm or --disable-xpm was given.
10760 if test "${enable_xpm+set}" = set; then
10761 enableval="$enable_xpm"
10762
10763 if test "$enableval" = yes; then
10764 ac_cv_use_xpm='wxUSE_XPM=yes'
10765 else
10766 ac_cv_use_xpm='wxUSE_XPM=no'
10767 fi
10768
10769 else
10770
10771 LINE=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
10772 if test "x$LINE" != x ; then
10773 eval "DEFAULT_$LINE"
10774 else
10775 no_cache=1
10776 fi
10777
10778 ac_cv_use_xpm='wxUSE_XPM='$DEFAULT_wxUSE_XPM
10779
10780 fi;
10781
10782 eval "$ac_cv_use_xpm"
10783 if test "$no_cache" != 1; then
10784 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
10785 fi
10786
10787 if test "$wxUSE_XPM" = yes; then
10788 echo "$as_me:$LINENO: result: yes" >&5
10789 echo "${ECHO_T}yes" >&6
10790 else
10791 echo "$as_me:$LINENO: result: no" >&5
10792 echo "${ECHO_T}no" >&6
10793 fi
10794
10795
10796 enablestring=
10797 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
10798 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
10799 no_cache=0
10800 # Check whether --enable-ico_cur or --disable-ico_cur was given.
10801 if test "${enable_ico_cur+set}" = set; then
10802 enableval="$enable_ico_cur"
10803
10804 if test "$enableval" = yes; then
10805 ac_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
10806 else
10807 ac_cv_use_ico_cur='wxUSE_ICO_CUR=no'
10808 fi
10809
10810 else
10811
10812 LINE=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
10813 if test "x$LINE" != x ; then
10814 eval "DEFAULT_$LINE"
10815 else
10816 no_cache=1
10817 fi
10818
10819 ac_cv_use_ico_cur='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
10820
10821 fi;
10822
10823 eval "$ac_cv_use_ico_cur"
10824 if test "$no_cache" != 1; then
10825 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
10826 fi
10827
10828 if test "$wxUSE_ICO_CUR" = yes; then
10829 echo "$as_me:$LINENO: result: yes" >&5
10830 echo "${ECHO_T}yes" >&6
10831 else
10832 echo "$as_me:$LINENO: result: no" >&5
10833 echo "${ECHO_T}no" >&6
10834 fi
10835
10836
10837 fi
10838
10839
10840
10841 # Check whether --with-flavour or --without-flavour was given.
10842 if test "${with_flavour+set}" = set; then
10843 withval="$with_flavour"
10844 WX_FLAVOUR="$withval"
10845 fi;
10846
10847
10848
10849 enablestring=
10850 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
10851 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6
10852 no_cache=0
10853 # Check whether --enable-official_build or --disable-official_build was given.
10854 if test "${enable_official_build+set}" = set; then
10855 enableval="$enable_official_build"
10856
10857 if test "$enableval" = yes; then
10858 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
10859 else
10860 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
10861 fi
10862
10863 else
10864
10865 LINE=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
10866 if test "x$LINE" != x ; then
10867 eval "DEFAULT_$LINE"
10868 else
10869 no_cache=1
10870 fi
10871
10872 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD='$DEFAULT_wxUSE_OFFICIAL_BUILD
10873
10874 fi;
10875
10876 eval "$ac_cv_use_official_build"
10877 if test "$no_cache" != 1; then
10878 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
10879 fi
10880
10881 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
10882 echo "$as_me:$LINENO: result: yes" >&5
10883 echo "${ECHO_T}yes" >&6
10884 else
10885 echo "$as_me:$LINENO: result: no" >&5
10886 echo "${ECHO_T}no" >&6
10887 fi
10888
10889 # Check whether --enable-vendor or --disable-vendor was given.
10890 if test "${enable_vendor+set}" = set; then
10891 enableval="$enable_vendor"
10892 VENDOR="$enableval"
10893 fi;
10894 if test "x$VENDOR" = "x"; then
10895 VENDOR="custom"
10896 fi
10897
10898
10899
10900
10901 echo "saving argument cache $wx_arg_cache_file"
10902 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
10903
10904
10905
10906 echo "$as_me:$LINENO: checking for toolkit" >&5
10907 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
10908
10909 # In Wine, we need to default to MSW, not GTK or MOTIF
10910 if test "$wxUSE_WINE" = "yes"; then
10911 DEFAULT_DEFAULT_wxUSE_GTK=0
10912 DEFAULT_DEFAULT_wxUSE_MOTIF=0
10913 DEFAULT_DEFAULT_wxUSE_MSW=1
10914 wxUSE_SHARED=no
10915 fi
10916
10917
10918 if test "$wxUSE_GUI" = "yes"; then
10919
10920 if test "$USE_BEOS" = 1; then
10921 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
10922 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
10923 { (exit 1); exit 1; }; }
10924 fi
10925
10926 if test "$TOOLKIT_GIVEN" = 1; then
10927 for toolkit in `echo $ALL_TOOLKITS`; do
10928 var=wxUSE_$toolkit
10929 eval "value=\$${var}"
10930 if test "x$value" = "xno"; then
10931 eval "$var=0"
10932 elif test "x$value" != "x"; then
10933 eval "$var=1"
10934 fi
10935
10936 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
10937 eval "wx${toolkit}_VERSION=$value"
10938 fi
10939 done
10940 else
10941 for toolkit in `echo $ALL_TOOLKITS`; do
10942 if test "$has_toolkit_in_cache" != 1; then
10943 var=DEFAULT_DEFAULT_wxUSE_$toolkit
10944 else
10945 var=DEFAULT_wxUSE_$toolkit
10946
10947 eval "version=\$DEFAULT_wx${toolkit}_VERSION"
10948 if test "x$version" != "x"; then
10949 eval "wx${toolkit}_VERSION=$version"
10950 fi
10951 fi
10952 eval "wxUSE_$toolkit=\$${var}"
10953 done
10954 fi
10955
10956 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
10957 + ${wxUSE_MGL:-0} + ${wxUSE_MICROWIN:-0} \
10958 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
10959
10960 case "${host}" in
10961 *-pc-os2_emx | *-pc-os2-emx )
10962 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
10963 esac
10964
10965 case "$NUM_TOOLKITS" in
10966 1)
10967 ;;
10968 0)
10969 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
10970 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
10971 { (exit 1); exit 1; }; }
10972 ;;
10973 *)
10974 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
10975 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
10976 { (exit 1); exit 1; }; }
10977 esac
10978
10979 # to be removed when --disable-gtk2 isn't needed
10980 if test "x$wxUSE_GTK2" = "xyes"; then
10981 wxGTK_VERSION=2
10982 elif test "x$wxUSE_GTK2" = "xno"; then
10983 wxGTK_VERSION=1
10984 fi
10985
10986 for toolkit in `echo $ALL_TOOLKITS`; do
10987 var=wxUSE_$toolkit
10988 eval "value=\$${var}"
10989 if test "x$value" != x; then
10990 cache_var=CACHE_$toolkit
10991 eval "cache=\$${cache_var}"
10992 if test "$cache" = 1; then
10993 echo "$var=$value" >> ${wx_arg_cache_file}
10994 eval "version=\$wx${toolkit}_VERSION"
10995 if test "x$version" != "x"; then
10996 echo "wx${toolkit}_VERSION=$version" >> ${wx_arg_cache_file}
10997 fi
10998 fi
10999 if test "$value" = 1; then
11000 toolkit_echo=`echo $toolkit | tr "[A-Z]" "[a-z]"`
11001 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
11002 echo "${ECHO_T}$toolkit_echo" >&6
11003 fi
11004 fi
11005 done
11006 else
11007 if test "x$host_alias" != "x"; then
11008 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
11009 echo "${ECHO_T}base ($host_alias hosted) only" >&6
11010 else
11011 echo "$as_me:$LINENO: result: base only" >&5
11012 echo "${ECHO_T}base only" >&6
11013 fi
11014 fi
11015
11016 wants_win32=0
11017 doesnt_want_win32=0
11018 case "${host}" in
11019 *-*-cygwin*)
11020 if test "$wxUSE_MSW" = 1 ; then
11021 wants_win32=1
11022 BAKEFILE_FORCE_PLATFORM=win32
11023 else
11024 doesnt_want_win32=1
11025 fi
11026 ;;
11027 *-*-mingw*)
11028 wants_win32=1
11029 ;;
11030 esac
11031
11032 if test "$wxUSE_WINE" = "yes"; then
11033 wants_win32=1
11034 CC=winegcc
11035 CXX=wineg++
11036 LDFLAGS_GUI="-mwindows"
11037 fi
11038
11039 if test "$wants_win32" = 1 ; then
11040 USE_UNIX=0
11041 USE_WIN32=1
11042 cat >>confdefs.h <<\_ACEOF
11043 #define __WIN32__ 1
11044 _ACEOF
11045
11046 cat >>confdefs.h <<\_ACEOF
11047 #define __WIN95__ 1
11048 _ACEOF
11049
11050 cat >>confdefs.h <<\_ACEOF
11051 #define __WINDOWS__ 1
11052 _ACEOF
11053
11054 cat >>confdefs.h <<\_ACEOF
11055 #define __GNUWIN32__ 1
11056 _ACEOF
11057
11058 cat >>confdefs.h <<\_ACEOF
11059 #define STRICT 1
11060 _ACEOF
11061
11062 cat >>confdefs.h <<\_ACEOF
11063 #define WINVER 0x0400
11064 _ACEOF
11065
11066 fi
11067 if test "$doesnt_want_win32" = 1 ; then
11068 USE_UNIX=1
11069 USE_WIN32=0
11070 fi
11071
11072 if test "$USE_UNIX" = 1 ; then
11073 wxUSE_UNIX=yes
11074 cat >>confdefs.h <<\_ACEOF
11075 #define __UNIX__ 1
11076 _ACEOF
11077
11078 fi
11079
11080
11081 cat >confcache <<\_ACEOF
11082 # This file is a shell script that caches the results of configure
11083 # tests run on this system so they can be shared between configure
11084 # scripts and configure runs, see configure's option --config-cache.
11085 # It is not useful on other systems. If it contains results you don't
11086 # want to keep, you may remove or edit it.
11087 #
11088 # config.status only pays attention to the cache file if you give it
11089 # the --recheck option to rerun configure.
11090 #
11091 # `ac_cv_env_foo' variables (set or unset) will be overridden when
11092 # loading this file, other *unset* `ac_cv_foo' will be assigned the
11093 # following values.
11094
11095 _ACEOF
11096
11097 # The following way of writing the cache mishandles newlines in values,
11098 # but we know of no workaround that is simple, portable, and efficient.
11099 # So, don't put newlines in cache variables' values.
11100 # Ultrix sh set writes to stderr and can't be redirected directly,
11101 # and sets the high bit in the cache file unless we assign to the vars.
11102 {
11103 (set) 2>&1 |
11104 case `(ac_space=' '; set | grep ac_space) 2>&1` in
11105 *ac_space=\ *)
11106 # `set' does not quote correctly, so add quotes (double-quote
11107 # substitution turns \\\\ into \\, and sed turns \\ into \).
11108 sed -n \
11109 "s/'/'\\\\''/g;
11110 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
11111 ;;
11112 *)
11113 # `set' quotes correctly as required by POSIX, so do not add quotes.
11114 sed -n \
11115 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
11116 ;;
11117 esac;
11118 } |
11119 sed '
11120 t clear
11121 : clear
11122 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
11123 t end
11124 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
11125 : end' >>confcache
11126 if diff $cache_file confcache >/dev/null 2>&1; then :; else
11127 if test -w $cache_file; then
11128 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
11129 cat confcache >$cache_file
11130 else
11131 echo "not updating unwritable cache $cache_file"
11132 fi
11133 fi
11134 rm -f confcache
11135
11136 CFLAGS=${CFLAGS:=}
11137
11138
11139
11140 ac_ext=c
11141 ac_cpp='$CPP $CPPFLAGS'
11142 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11143 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11144 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11145 if test -n "$ac_tool_prefix"; then
11146 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
11147 set dummy ${ac_tool_prefix}gcc; ac_word=$2
11148 echo "$as_me:$LINENO: checking for $ac_word" >&5
11149 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11150 if test "${ac_cv_prog_CC+set}" = set; then
11151 echo $ECHO_N "(cached) $ECHO_C" >&6
11152 else
11153 if test -n "$CC"; then
11154 ac_cv_prog_CC="$CC" # Let the user override the test.
11155 else
11156 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11157 for as_dir in $PATH
11158 do
11159 IFS=$as_save_IFS
11160 test -z "$as_dir" && as_dir=.
11161 for ac_exec_ext in '' $ac_executable_extensions; do
11162 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11163 ac_cv_prog_CC="${ac_tool_prefix}gcc"
11164 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11165 break 2
11166 fi
11167 done
11168 done
11169
11170 fi
11171 fi
11172 CC=$ac_cv_prog_CC
11173 if test -n "$CC"; then
11174 echo "$as_me:$LINENO: result: $CC" >&5
11175 echo "${ECHO_T}$CC" >&6
11176 else
11177 echo "$as_me:$LINENO: result: no" >&5
11178 echo "${ECHO_T}no" >&6
11179 fi
11180
11181 fi
11182 if test -z "$ac_cv_prog_CC"; then
11183 ac_ct_CC=$CC
11184 # Extract the first word of "gcc", so it can be a program name with args.
11185 set dummy gcc; ac_word=$2
11186 echo "$as_me:$LINENO: checking for $ac_word" >&5
11187 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11188 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
11189 echo $ECHO_N "(cached) $ECHO_C" >&6
11190 else
11191 if test -n "$ac_ct_CC"; then
11192 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
11193 else
11194 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11195 for as_dir in $PATH
11196 do
11197 IFS=$as_save_IFS
11198 test -z "$as_dir" && as_dir=.
11199 for ac_exec_ext in '' $ac_executable_extensions; do
11200 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11201 ac_cv_prog_ac_ct_CC="gcc"
11202 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11203 break 2
11204 fi
11205 done
11206 done
11207
11208 fi
11209 fi
11210 ac_ct_CC=$ac_cv_prog_ac_ct_CC
11211 if test -n "$ac_ct_CC"; then
11212 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
11213 echo "${ECHO_T}$ac_ct_CC" >&6
11214 else
11215 echo "$as_me:$LINENO: result: no" >&5
11216 echo "${ECHO_T}no" >&6
11217 fi
11218
11219 CC=$ac_ct_CC
11220 else
11221 CC="$ac_cv_prog_CC"
11222 fi
11223
11224 if test -z "$CC"; then
11225 if test -n "$ac_tool_prefix"; then
11226 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
11227 set dummy ${ac_tool_prefix}cc; ac_word=$2
11228 echo "$as_me:$LINENO: checking for $ac_word" >&5
11229 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11230 if test "${ac_cv_prog_CC+set}" = set; then
11231 echo $ECHO_N "(cached) $ECHO_C" >&6
11232 else
11233 if test -n "$CC"; then
11234 ac_cv_prog_CC="$CC" # Let the user override the test.
11235 else
11236 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11237 for as_dir in $PATH
11238 do
11239 IFS=$as_save_IFS
11240 test -z "$as_dir" && as_dir=.
11241 for ac_exec_ext in '' $ac_executable_extensions; do
11242 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11243 ac_cv_prog_CC="${ac_tool_prefix}cc"
11244 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11245 break 2
11246 fi
11247 done
11248 done
11249
11250 fi
11251 fi
11252 CC=$ac_cv_prog_CC
11253 if test -n "$CC"; then
11254 echo "$as_me:$LINENO: result: $CC" >&5
11255 echo "${ECHO_T}$CC" >&6
11256 else
11257 echo "$as_me:$LINENO: result: no" >&5
11258 echo "${ECHO_T}no" >&6
11259 fi
11260
11261 fi
11262 if test -z "$ac_cv_prog_CC"; then
11263 ac_ct_CC=$CC
11264 # Extract the first word of "cc", so it can be a program name with args.
11265 set dummy cc; ac_word=$2
11266 echo "$as_me:$LINENO: checking for $ac_word" >&5
11267 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11268 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
11269 echo $ECHO_N "(cached) $ECHO_C" >&6
11270 else
11271 if test -n "$ac_ct_CC"; then
11272 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
11273 else
11274 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11275 for as_dir in $PATH
11276 do
11277 IFS=$as_save_IFS
11278 test -z "$as_dir" && as_dir=.
11279 for ac_exec_ext in '' $ac_executable_extensions; do
11280 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11281 ac_cv_prog_ac_ct_CC="cc"
11282 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11283 break 2
11284 fi
11285 done
11286 done
11287
11288 fi
11289 fi
11290 ac_ct_CC=$ac_cv_prog_ac_ct_CC
11291 if test -n "$ac_ct_CC"; then
11292 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
11293 echo "${ECHO_T}$ac_ct_CC" >&6
11294 else
11295 echo "$as_me:$LINENO: result: no" >&5
11296 echo "${ECHO_T}no" >&6
11297 fi
11298
11299 CC=$ac_ct_CC
11300 else
11301 CC="$ac_cv_prog_CC"
11302 fi
11303
11304 fi
11305 if test -z "$CC"; then
11306 # Extract the first word of "cc", so it can be a program name with args.
11307 set dummy cc; ac_word=$2
11308 echo "$as_me:$LINENO: checking for $ac_word" >&5
11309 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11310 if test "${ac_cv_prog_CC+set}" = set; then
11311 echo $ECHO_N "(cached) $ECHO_C" >&6
11312 else
11313 if test -n "$CC"; then
11314 ac_cv_prog_CC="$CC" # Let the user override the test.
11315 else
11316 ac_prog_rejected=no
11317 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11318 for as_dir in $PATH
11319 do
11320 IFS=$as_save_IFS
11321 test -z "$as_dir" && as_dir=.
11322 for ac_exec_ext in '' $ac_executable_extensions; do
11323 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11324 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
11325 ac_prog_rejected=yes
11326 continue
11327 fi
11328 ac_cv_prog_CC="cc"
11329 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11330 break 2
11331 fi
11332 done
11333 done
11334
11335 if test $ac_prog_rejected = yes; then
11336 # We found a bogon in the path, so make sure we never use it.
11337 set dummy $ac_cv_prog_CC
11338 shift
11339 if test $# != 0; then
11340 # We chose a different compiler from the bogus one.
11341 # However, it has the same basename, so the bogon will be chosen
11342 # first if we set CC to just the basename; use the full file name.
11343 shift
11344 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
11345 fi
11346 fi
11347 fi
11348 fi
11349 CC=$ac_cv_prog_CC
11350 if test -n "$CC"; then
11351 echo "$as_me:$LINENO: result: $CC" >&5
11352 echo "${ECHO_T}$CC" >&6
11353 else
11354 echo "$as_me:$LINENO: result: no" >&5
11355 echo "${ECHO_T}no" >&6
11356 fi
11357
11358 fi
11359 if test -z "$CC"; then
11360 if test -n "$ac_tool_prefix"; then
11361 for ac_prog in cl
11362 do
11363 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11364 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
11365 echo "$as_me:$LINENO: checking for $ac_word" >&5
11366 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11367 if test "${ac_cv_prog_CC+set}" = set; then
11368 echo $ECHO_N "(cached) $ECHO_C" >&6
11369 else
11370 if test -n "$CC"; then
11371 ac_cv_prog_CC="$CC" # Let the user override the test.
11372 else
11373 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11374 for as_dir in $PATH
11375 do
11376 IFS=$as_save_IFS
11377 test -z "$as_dir" && as_dir=.
11378 for ac_exec_ext in '' $ac_executable_extensions; do
11379 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11380 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
11381 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11382 break 2
11383 fi
11384 done
11385 done
11386
11387 fi
11388 fi
11389 CC=$ac_cv_prog_CC
11390 if test -n "$CC"; then
11391 echo "$as_me:$LINENO: result: $CC" >&5
11392 echo "${ECHO_T}$CC" >&6
11393 else
11394 echo "$as_me:$LINENO: result: no" >&5
11395 echo "${ECHO_T}no" >&6
11396 fi
11397
11398 test -n "$CC" && break
11399 done
11400 fi
11401 if test -z "$CC"; then
11402 ac_ct_CC=$CC
11403 for ac_prog in cl
11404 do
11405 # Extract the first word of "$ac_prog", so it can be a program name with args.
11406 set dummy $ac_prog; ac_word=$2
11407 echo "$as_me:$LINENO: checking for $ac_word" >&5
11408 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11409 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
11410 echo $ECHO_N "(cached) $ECHO_C" >&6
11411 else
11412 if test -n "$ac_ct_CC"; then
11413 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
11414 else
11415 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11416 for as_dir in $PATH
11417 do
11418 IFS=$as_save_IFS
11419 test -z "$as_dir" && as_dir=.
11420 for ac_exec_ext in '' $ac_executable_extensions; do
11421 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11422 ac_cv_prog_ac_ct_CC="$ac_prog"
11423 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11424 break 2
11425 fi
11426 done
11427 done
11428
11429 fi
11430 fi
11431 ac_ct_CC=$ac_cv_prog_ac_ct_CC
11432 if test -n "$ac_ct_CC"; then
11433 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
11434 echo "${ECHO_T}$ac_ct_CC" >&6
11435 else
11436 echo "$as_me:$LINENO: result: no" >&5
11437 echo "${ECHO_T}no" >&6
11438 fi
11439
11440 test -n "$ac_ct_CC" && break
11441 done
11442
11443 CC=$ac_ct_CC
11444 fi
11445
11446 fi
11447
11448
11449 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
11450 See \`config.log' for more details." >&5
11451 echo "$as_me: error: no acceptable C compiler found in \$PATH
11452 See \`config.log' for more details." >&2;}
11453 { (exit 1); exit 1; }; }
11454
11455 # Provide some information about the compiler.
11456 echo "$as_me:$LINENO:" \
11457 "checking for C compiler version" >&5
11458 ac_compiler=`set X $ac_compile; echo $2`
11459 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
11460 (eval $ac_compiler --version </dev/null >&5) 2>&5
11461 ac_status=$?
11462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11463 (exit $ac_status); }
11464 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
11465 (eval $ac_compiler -v </dev/null >&5) 2>&5
11466 ac_status=$?
11467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11468 (exit $ac_status); }
11469 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
11470 (eval $ac_compiler -V </dev/null >&5) 2>&5
11471 ac_status=$?
11472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11473 (exit $ac_status); }
11474
11475 cat >conftest.$ac_ext <<_ACEOF
11476 /* confdefs.h. */
11477 _ACEOF
11478 cat confdefs.h >>conftest.$ac_ext
11479 cat >>conftest.$ac_ext <<_ACEOF
11480 /* end confdefs.h. */
11481
11482 int
11483 main ()
11484 {
11485
11486 ;
11487 return 0;
11488 }
11489 _ACEOF
11490 ac_clean_files_save=$ac_clean_files
11491 ac_clean_files="$ac_clean_files a.out a.exe b.out"
11492 # Try to create an executable without -o first, disregard a.out.
11493 # It will help us diagnose broken compilers, and finding out an intuition
11494 # of exeext.
11495 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
11496 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
11497 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
11498 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
11499 (eval $ac_link_default) 2>&5
11500 ac_status=$?
11501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11502 (exit $ac_status); }; then
11503 # Find the output, starting from the most likely. This scheme is
11504 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
11505 # resort.
11506
11507 # Be careful to initialize this variable, since it used to be cached.
11508 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
11509 ac_cv_exeext=
11510 # b.out is created by i960 compilers.
11511 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
11512 do
11513 test -f "$ac_file" || continue
11514 case $ac_file in
11515 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
11516 ;;
11517 conftest.$ac_ext )
11518 # This is the source file.
11519 ;;
11520 [ab].out )
11521 # We found the default executable, but exeext='' is most
11522 # certainly right.
11523 break;;
11524 *.* )
11525 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
11526 # FIXME: I believe we export ac_cv_exeext for Libtool,
11527 # but it would be cool to find out if it's true. Does anybody
11528 # maintain Libtool? --akim.
11529 export ac_cv_exeext
11530 break;;
11531 * )
11532 break;;
11533 esac
11534 done
11535 else
11536 echo "$as_me: failed program was:" >&5
11537 sed 's/^/| /' conftest.$ac_ext >&5
11538
11539 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
11540 See \`config.log' for more details." >&5
11541 echo "$as_me: error: C compiler cannot create executables
11542 See \`config.log' for more details." >&2;}
11543 { (exit 77); exit 77; }; }
11544 fi
11545
11546 ac_exeext=$ac_cv_exeext
11547 echo "$as_me:$LINENO: result: $ac_file" >&5
11548 echo "${ECHO_T}$ac_file" >&6
11549
11550 # Check the compiler produces executables we can run. If not, either
11551 # the compiler is broken, or we cross compile.
11552 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
11553 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
11554 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
11555 # If not cross compiling, check that we can run a simple program.
11556 if test "$cross_compiling" != yes; then
11557 if { ac_try='./$ac_file'
11558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11559 (eval $ac_try) 2>&5
11560 ac_status=$?
11561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11562 (exit $ac_status); }; }; then
11563 cross_compiling=no
11564 else
11565 if test "$cross_compiling" = maybe; then
11566 cross_compiling=yes
11567 else
11568 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
11569 If you meant to cross compile, use \`--host'.
11570 See \`config.log' for more details." >&5
11571 echo "$as_me: error: cannot run C compiled programs.
11572 If you meant to cross compile, use \`--host'.
11573 See \`config.log' for more details." >&2;}
11574 { (exit 1); exit 1; }; }
11575 fi
11576 fi
11577 fi
11578 echo "$as_me:$LINENO: result: yes" >&5
11579 echo "${ECHO_T}yes" >&6
11580
11581 rm -f a.out a.exe conftest$ac_cv_exeext b.out
11582 ac_clean_files=$ac_clean_files_save
11583 # Check the compiler produces executables we can run. If not, either
11584 # the compiler is broken, or we cross compile.
11585 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
11586 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
11587 echo "$as_me:$LINENO: result: $cross_compiling" >&5
11588 echo "${ECHO_T}$cross_compiling" >&6
11589
11590 echo "$as_me:$LINENO: checking for suffix of executables" >&5
11591 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
11592 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11593 (eval $ac_link) 2>&5
11594 ac_status=$?
11595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11596 (exit $ac_status); }; then
11597 # If both `conftest.exe' and `conftest' are `present' (well, observable)
11598 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
11599 # work properly (i.e., refer to `conftest.exe'), while it won't with
11600 # `rm'.
11601 for ac_file in conftest.exe conftest conftest.*; do
11602 test -f "$ac_file" || continue
11603 case $ac_file in
11604 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
11605 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
11606 export ac_cv_exeext
11607 break;;
11608 * ) break;;
11609 esac
11610 done
11611 else
11612 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
11613 See \`config.log' for more details." >&5
11614 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
11615 See \`config.log' for more details." >&2;}
11616 { (exit 1); exit 1; }; }
11617 fi
11618
11619 rm -f conftest$ac_cv_exeext
11620 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
11621 echo "${ECHO_T}$ac_cv_exeext" >&6
11622
11623 rm -f conftest.$ac_ext
11624 EXEEXT=$ac_cv_exeext
11625 ac_exeext=$EXEEXT
11626 echo "$as_me:$LINENO: checking for suffix of object files" >&5
11627 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
11628 if test "${ac_cv_objext+set}" = set; then
11629 echo $ECHO_N "(cached) $ECHO_C" >&6
11630 else
11631 cat >conftest.$ac_ext <<_ACEOF
11632 /* confdefs.h. */
11633 _ACEOF
11634 cat confdefs.h >>conftest.$ac_ext
11635 cat >>conftest.$ac_ext <<_ACEOF
11636 /* end confdefs.h. */
11637
11638 int
11639 main ()
11640 {
11641
11642 ;
11643 return 0;
11644 }
11645 _ACEOF
11646 rm -f conftest.o conftest.obj
11647 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11648 (eval $ac_compile) 2>&5
11649 ac_status=$?
11650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11651 (exit $ac_status); }; then
11652 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
11653 case $ac_file in
11654 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
11655 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
11656 break;;
11657 esac
11658 done
11659 else
11660 echo "$as_me: failed program was:" >&5
11661 sed 's/^/| /' conftest.$ac_ext >&5
11662
11663 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
11664 See \`config.log' for more details." >&5
11665 echo "$as_me: error: cannot compute suffix of object files: cannot compile
11666 See \`config.log' for more details." >&2;}
11667 { (exit 1); exit 1; }; }
11668 fi
11669
11670 rm -f conftest.$ac_cv_objext conftest.$ac_ext
11671 fi
11672 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
11673 echo "${ECHO_T}$ac_cv_objext" >&6
11674 OBJEXT=$ac_cv_objext
11675 ac_objext=$OBJEXT
11676 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
11677 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
11678 if test "${ac_cv_c_compiler_gnu+set}" = set; then
11679 echo $ECHO_N "(cached) $ECHO_C" >&6
11680 else
11681 cat >conftest.$ac_ext <<_ACEOF
11682 /* confdefs.h. */
11683 _ACEOF
11684 cat confdefs.h >>conftest.$ac_ext
11685 cat >>conftest.$ac_ext <<_ACEOF
11686 /* end confdefs.h. */
11687
11688 int
11689 main ()
11690 {
11691 #ifndef __GNUC__
11692 choke me
11693 #endif
11694
11695 ;
11696 return 0;
11697 }
11698 _ACEOF
11699 rm -f conftest.$ac_objext
11700 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11701 (eval $ac_compile) 2>conftest.er1
11702 ac_status=$?
11703 grep -v '^ *+' conftest.er1 >conftest.err
11704 rm -f conftest.er1
11705 cat conftest.err >&5
11706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11707 (exit $ac_status); } &&
11708 { ac_try='test -z "$ac_c_werror_flag"
11709 || test ! -s conftest.err'
11710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11711 (eval $ac_try) 2>&5
11712 ac_status=$?
11713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11714 (exit $ac_status); }; } &&
11715 { ac_try='test -s conftest.$ac_objext'
11716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11717 (eval $ac_try) 2>&5
11718 ac_status=$?
11719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11720 (exit $ac_status); }; }; then
11721 ac_compiler_gnu=yes
11722 else
11723 echo "$as_me: failed program was:" >&5
11724 sed 's/^/| /' conftest.$ac_ext >&5
11725
11726 ac_compiler_gnu=no
11727 fi
11728 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11729 ac_cv_c_compiler_gnu=$ac_compiler_gnu
11730
11731 fi
11732 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
11733 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
11734 GCC=`test $ac_compiler_gnu = yes && echo yes`
11735 ac_test_CFLAGS=${CFLAGS+set}
11736 ac_save_CFLAGS=$CFLAGS
11737 CFLAGS="-g"
11738 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
11739 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
11740 if test "${ac_cv_prog_cc_g+set}" = set; then
11741 echo $ECHO_N "(cached) $ECHO_C" >&6
11742 else
11743 cat >conftest.$ac_ext <<_ACEOF
11744 /* confdefs.h. */
11745 _ACEOF
11746 cat confdefs.h >>conftest.$ac_ext
11747 cat >>conftest.$ac_ext <<_ACEOF
11748 /* end confdefs.h. */
11749
11750 int
11751 main ()
11752 {
11753
11754 ;
11755 return 0;
11756 }
11757 _ACEOF
11758 rm -f conftest.$ac_objext
11759 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11760 (eval $ac_compile) 2>conftest.er1
11761 ac_status=$?
11762 grep -v '^ *+' conftest.er1 >conftest.err
11763 rm -f conftest.er1
11764 cat conftest.err >&5
11765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11766 (exit $ac_status); } &&
11767 { ac_try='test -z "$ac_c_werror_flag"
11768 || test ! -s conftest.err'
11769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11770 (eval $ac_try) 2>&5
11771 ac_status=$?
11772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11773 (exit $ac_status); }; } &&
11774 { ac_try='test -s conftest.$ac_objext'
11775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11776 (eval $ac_try) 2>&5
11777 ac_status=$?
11778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11779 (exit $ac_status); }; }; then
11780 ac_cv_prog_cc_g=yes
11781 else
11782 echo "$as_me: failed program was:" >&5
11783 sed 's/^/| /' conftest.$ac_ext >&5
11784
11785 ac_cv_prog_cc_g=no
11786 fi
11787 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11788 fi
11789 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
11790 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
11791 if test "$ac_test_CFLAGS" = set; then
11792 CFLAGS=$ac_save_CFLAGS
11793 elif test $ac_cv_prog_cc_g = yes; then
11794 if test "$GCC" = yes; then
11795 CFLAGS="-g -O2"
11796 else
11797 CFLAGS="-g"
11798 fi
11799 else
11800 if test "$GCC" = yes; then
11801 CFLAGS="-O2"
11802 else
11803 CFLAGS=
11804 fi
11805 fi
11806 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
11807 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
11808 if test "${ac_cv_prog_cc_stdc+set}" = set; then
11809 echo $ECHO_N "(cached) $ECHO_C" >&6
11810 else
11811 ac_cv_prog_cc_stdc=no
11812 ac_save_CC=$CC
11813 cat >conftest.$ac_ext <<_ACEOF
11814 /* confdefs.h. */
11815 _ACEOF
11816 cat confdefs.h >>conftest.$ac_ext
11817 cat >>conftest.$ac_ext <<_ACEOF
11818 /* end confdefs.h. */
11819 #include <stdarg.h>
11820 #include <stdio.h>
11821 #include <sys/types.h>
11822 #include <sys/stat.h>
11823 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
11824 struct buf { int x; };
11825 FILE * (*rcsopen) (struct buf *, struct stat *, int);
11826 static char *e (p, i)
11827 char **p;
11828 int i;
11829 {
11830 return p[i];
11831 }
11832 static char *f (char * (*g) (char **, int), char **p, ...)
11833 {
11834 char *s;
11835 va_list v;
11836 va_start (v,p);
11837 s = g (p, va_arg (v,int));
11838 va_end (v);
11839 return s;
11840 }
11841
11842 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
11843 function prototypes and stuff, but not '\xHH' hex character constants.
11844 These don't provoke an error unfortunately, instead are silently treated
11845 as 'x'. The following induces an error, until -std1 is added to get
11846 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
11847 array size at least. It's necessary to write '\x00'==0 to get something
11848 that's true only with -std1. */
11849 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
11850
11851 int test (int i, double x);
11852 struct s1 {int (*f) (int a);};
11853 struct s2 {int (*f) (double a);};
11854 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
11855 int argc;
11856 char **argv;
11857 int
11858 main ()
11859 {
11860 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
11861 ;
11862 return 0;
11863 }
11864 _ACEOF
11865 # Don't try gcc -ansi; that turns off useful extensions and
11866 # breaks some systems' header files.
11867 # AIX -qlanglvl=ansi
11868 # Ultrix and OSF/1 -std1
11869 # HP-UX 10.20 and later -Ae
11870 # HP-UX older versions -Aa -D_HPUX_SOURCE
11871 # SVR4 -Xc -D__EXTENSIONS__
11872 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
11873 do
11874 CC="$ac_save_CC $ac_arg"
11875 rm -f conftest.$ac_objext
11876 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11877 (eval $ac_compile) 2>conftest.er1
11878 ac_status=$?
11879 grep -v '^ *+' conftest.er1 >conftest.err
11880 rm -f conftest.er1
11881 cat conftest.err >&5
11882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11883 (exit $ac_status); } &&
11884 { ac_try='test -z "$ac_c_werror_flag"
11885 || test ! -s conftest.err'
11886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11887 (eval $ac_try) 2>&5
11888 ac_status=$?
11889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11890 (exit $ac_status); }; } &&
11891 { ac_try='test -s conftest.$ac_objext'
11892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11893 (eval $ac_try) 2>&5
11894 ac_status=$?
11895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11896 (exit $ac_status); }; }; then
11897 ac_cv_prog_cc_stdc=$ac_arg
11898 break
11899 else
11900 echo "$as_me: failed program was:" >&5
11901 sed 's/^/| /' conftest.$ac_ext >&5
11902
11903 fi
11904 rm -f conftest.err conftest.$ac_objext
11905 done
11906 rm -f conftest.$ac_ext conftest.$ac_objext
11907 CC=$ac_save_CC
11908
11909 fi
11910
11911 case "x$ac_cv_prog_cc_stdc" in
11912 x|xno)
11913 echo "$as_me:$LINENO: result: none needed" >&5
11914 echo "${ECHO_T}none needed" >&6 ;;
11915 *)
11916 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
11917 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
11918 CC="$CC $ac_cv_prog_cc_stdc" ;;
11919 esac
11920
11921 # Some people use a C++ compiler to compile C. Since we use `exit',
11922 # in C++ we need to declare it. In case someone uses the same compiler
11923 # for both compiling C and C++ we need to have the C++ compiler decide
11924 # the declaration of exit, since it's the most demanding environment.
11925 cat >conftest.$ac_ext <<_ACEOF
11926 #ifndef __cplusplus
11927 choke me
11928 #endif
11929 _ACEOF
11930 rm -f conftest.$ac_objext
11931 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11932 (eval $ac_compile) 2>conftest.er1
11933 ac_status=$?
11934 grep -v '^ *+' conftest.er1 >conftest.err
11935 rm -f conftest.er1
11936 cat conftest.err >&5
11937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11938 (exit $ac_status); } &&
11939 { ac_try='test -z "$ac_c_werror_flag"
11940 || test ! -s conftest.err'
11941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11942 (eval $ac_try) 2>&5
11943 ac_status=$?
11944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11945 (exit $ac_status); }; } &&
11946 { ac_try='test -s conftest.$ac_objext'
11947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11948 (eval $ac_try) 2>&5
11949 ac_status=$?
11950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11951 (exit $ac_status); }; }; then
11952 for ac_declaration in \
11953 '' \
11954 'extern "C" void std::exit (int) throw (); using std::exit;' \
11955 'extern "C" void std::exit (int); using std::exit;' \
11956 'extern "C" void exit (int) throw ();' \
11957 'extern "C" void exit (int);' \
11958 'void exit (int);'
11959 do
11960 cat >conftest.$ac_ext <<_ACEOF
11961 /* confdefs.h. */
11962 _ACEOF
11963 cat confdefs.h >>conftest.$ac_ext
11964 cat >>conftest.$ac_ext <<_ACEOF
11965 /* end confdefs.h. */
11966 $ac_declaration
11967 #include <stdlib.h>
11968 int
11969 main ()
11970 {
11971 exit (42);
11972 ;
11973 return 0;
11974 }
11975 _ACEOF
11976 rm -f conftest.$ac_objext
11977 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11978 (eval $ac_compile) 2>conftest.er1
11979 ac_status=$?
11980 grep -v '^ *+' conftest.er1 >conftest.err
11981 rm -f conftest.er1
11982 cat conftest.err >&5
11983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11984 (exit $ac_status); } &&
11985 { ac_try='test -z "$ac_c_werror_flag"
11986 || test ! -s conftest.err'
11987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11988 (eval $ac_try) 2>&5
11989 ac_status=$?
11990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11991 (exit $ac_status); }; } &&
11992 { ac_try='test -s conftest.$ac_objext'
11993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11994 (eval $ac_try) 2>&5
11995 ac_status=$?
11996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11997 (exit $ac_status); }; }; then
11998 :
11999 else
12000 echo "$as_me: failed program was:" >&5
12001 sed 's/^/| /' conftest.$ac_ext >&5
12002
12003 continue
12004 fi
12005 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12006 cat >conftest.$ac_ext <<_ACEOF
12007 /* confdefs.h. */
12008 _ACEOF
12009 cat confdefs.h >>conftest.$ac_ext
12010 cat >>conftest.$ac_ext <<_ACEOF
12011 /* end confdefs.h. */
12012 $ac_declaration
12013 int
12014 main ()
12015 {
12016 exit (42);
12017 ;
12018 return 0;
12019 }
12020 _ACEOF
12021 rm -f conftest.$ac_objext
12022 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12023 (eval $ac_compile) 2>conftest.er1
12024 ac_status=$?
12025 grep -v '^ *+' conftest.er1 >conftest.err
12026 rm -f conftest.er1
12027 cat conftest.err >&5
12028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12029 (exit $ac_status); } &&
12030 { ac_try='test -z "$ac_c_werror_flag"
12031 || test ! -s conftest.err'
12032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12033 (eval $ac_try) 2>&5
12034 ac_status=$?
12035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12036 (exit $ac_status); }; } &&
12037 { ac_try='test -s conftest.$ac_objext'
12038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12039 (eval $ac_try) 2>&5
12040 ac_status=$?
12041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12042 (exit $ac_status); }; }; then
12043 break
12044 else
12045 echo "$as_me: failed program was:" >&5
12046 sed 's/^/| /' conftest.$ac_ext >&5
12047
12048 fi
12049 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12050 done
12051 rm -f conftest*
12052 if test -n "$ac_declaration"; then
12053 echo '#ifdef __cplusplus' >>confdefs.h
12054 echo $ac_declaration >>confdefs.h
12055 echo '#endif' >>confdefs.h
12056 fi
12057
12058 else
12059 echo "$as_me: failed program was:" >&5
12060 sed 's/^/| /' conftest.$ac_ext >&5
12061
12062 fi
12063 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12064 ac_ext=c
12065 ac_cpp='$CPP $CPPFLAGS'
12066 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12067 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12068 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12069
12070
12071
12072 ac_ext=c
12073 ac_cpp='$CPP $CPPFLAGS'
12074 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12075 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12076 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12077
12078 echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
12079 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6
12080 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
12081 echo $ECHO_N "(cached) $ECHO_C" >&6
12082 else
12083 cat >conftest.$ac_ext <<_ACEOF
12084 /* confdefs.h. */
12085 _ACEOF
12086 cat confdefs.h >>conftest.$ac_ext
12087 cat >>conftest.$ac_ext <<_ACEOF
12088 /* end confdefs.h. */
12089
12090 int
12091 main ()
12092 {
12093
12094 #ifndef __INTEL_COMPILER
12095 choke me
12096 #endif
12097
12098 ;
12099 return 0;
12100 }
12101 _ACEOF
12102 rm -f conftest.$ac_objext
12103 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12104 (eval $ac_compile) 2>conftest.er1
12105 ac_status=$?
12106 grep -v '^ *+' conftest.er1 >conftest.err
12107 rm -f conftest.er1
12108 cat conftest.err >&5
12109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12110 (exit $ac_status); } &&
12111 { ac_try='test -z "$ac_c_werror_flag"
12112 || test ! -s conftest.err'
12113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12114 (eval $ac_try) 2>&5
12115 ac_status=$?
12116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12117 (exit $ac_status); }; } &&
12118 { ac_try='test -s conftest.$ac_objext'
12119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12120 (eval $ac_try) 2>&5
12121 ac_status=$?
12122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12123 (exit $ac_status); }; }; then
12124 bakefile_cv_c_compiler___INTEL_COMPILER=yes
12125 else
12126 echo "$as_me: failed program was:" >&5
12127 sed 's/^/| /' conftest.$ac_ext >&5
12128
12129 bakefile_cv_c_compiler___INTEL_COMPILER=no
12130
12131 fi
12132 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12133
12134
12135 fi
12136 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
12137 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6
12138 ac_ext=c
12139 ac_cpp='$CPP $CPPFLAGS'
12140 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12141 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12142 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12143
12144 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
12145 :; INTELCC=yes
12146 else
12147 :;
12148 fi
12149
12150
12151 if test "x$GCC" != "xyes"; then
12152 if test "xCC" = "xC"; then
12153 echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
12154 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6
12155 if test "${bakefile_cv_c_exto+set}" = set; then
12156 echo $ECHO_N "(cached) $ECHO_C" >&6
12157 else
12158 cat >conftest.$ac_ext <<_ACEOF
12159 /* confdefs.h. */
12160 _ACEOF
12161 cat confdefs.h >>conftest.$ac_ext
12162 cat >>conftest.$ac_ext <<_ACEOF
12163 /* end confdefs.h. */
12164
12165 int
12166 main ()
12167 {
12168
12169 ;
12170 return 0;
12171 }
12172 _ACEOF
12173 rm -f conftest.$ac_objext conftest.$ac_ext.o
12174 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12175 (eval $ac_compile) 2>&5
12176 ac_status=$?
12177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12178 (exit $ac_status); }; then
12179 for ac_file in `(ls conftest.* 2>/dev/null)`; do
12180 case $ac_file in
12181 conftest.$ac_ext.o)
12182 bakefile_cv_c_exto="-ext o"
12183 ;;
12184 *)
12185 ;;
12186 esac
12187 done
12188 else
12189 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
12190 See \`config.log' for more details." >&5
12191 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
12192 See \`config.log' for more details." >&2;}
12193 { (exit 1); exit 1; }; }
12194
12195 fi
12196
12197 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
12198
12199 fi
12200 echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
12201 echo "${ECHO_T}$bakefile_cv_c_exto" >&6
12202 if test "x$bakefile_cv_c_exto" '!=' "x"; then
12203 if test "c" = "c"; then
12204 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
12205 fi
12206 if test "c" = "cxx"; then
12207 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
12208 fi
12209 fi
12210
12211 if test "x$bakefile_cv_c_exto" '!=' "x"; then
12212 unset ac_cv_prog_cc_g
12213 ac_test_CFLAGS=${CFLAGS+set}
12214 ac_save_CFLAGS=$CFLAGS
12215 CFLAGS="-g"
12216 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
12217 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
12218 if test "${ac_cv_prog_cc_g+set}" = set; then
12219 echo $ECHO_N "(cached) $ECHO_C" >&6
12220 else
12221 cat >conftest.$ac_ext <<_ACEOF
12222 /* confdefs.h. */
12223 _ACEOF
12224 cat confdefs.h >>conftest.$ac_ext
12225 cat >>conftest.$ac_ext <<_ACEOF
12226 /* end confdefs.h. */
12227
12228 int
12229 main ()
12230 {
12231
12232 ;
12233 return 0;
12234 }
12235 _ACEOF
12236 rm -f conftest.$ac_objext
12237 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12238 (eval $ac_compile) 2>conftest.er1
12239 ac_status=$?
12240 grep -v '^ *+' conftest.er1 >conftest.err
12241 rm -f conftest.er1
12242 cat conftest.err >&5
12243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12244 (exit $ac_status); } &&
12245 { ac_try='test -z "$ac_c_werror_flag"
12246 || test ! -s conftest.err'
12247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12248 (eval $ac_try) 2>&5
12249 ac_status=$?
12250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12251 (exit $ac_status); }; } &&
12252 { ac_try='test -s conftest.$ac_objext'
12253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12254 (eval $ac_try) 2>&5
12255 ac_status=$?
12256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12257 (exit $ac_status); }; }; then
12258 ac_cv_prog_cc_g=yes
12259 else
12260 echo "$as_me: failed program was:" >&5
12261 sed 's/^/| /' conftest.$ac_ext >&5
12262
12263 ac_cv_prog_cc_g=no
12264 fi
12265 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12266 fi
12267 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
12268 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
12269 if test "$ac_test_CFLAGS" = set; then
12270 CFLAGS=$ac_save_CFLAGS
12271 elif test $ac_cv_prog_cc_g = yes; then
12272 if test "$GCC" = yes; then
12273 CFLAGS="-g -O2"
12274 else
12275 CFLAGS="-g"
12276 fi
12277 else
12278 if test "$GCC" = yes; then
12279 CFLAGS="-O2"
12280 else
12281 CFLAGS=
12282 fi
12283 fi
12284 fi
12285 fi
12286
12287 case `uname -s` in
12288 AIX*)
12289 ac_ext=c
12290 ac_cpp='$CPP $CPPFLAGS'
12291 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12292 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12293 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12294
12295 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
12296 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6
12297 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
12298 echo $ECHO_N "(cached) $ECHO_C" >&6
12299 else
12300 cat >conftest.$ac_ext <<_ACEOF
12301 /* confdefs.h. */
12302 _ACEOF
12303 cat confdefs.h >>conftest.$ac_ext
12304 cat >>conftest.$ac_ext <<_ACEOF
12305 /* end confdefs.h. */
12306
12307 int
12308 main ()
12309 {
12310 #ifndef __xlC__
12311 choke me
12312 #endif
12313
12314 ;
12315 return 0;
12316 }
12317 _ACEOF
12318 rm -f conftest.$ac_objext
12319 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12320 (eval $ac_compile) 2>conftest.er1
12321 ac_status=$?
12322 grep -v '^ *+' conftest.er1 >conftest.err
12323 rm -f conftest.er1
12324 cat conftest.err >&5
12325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12326 (exit $ac_status); } &&
12327 { ac_try='test -z "$ac_c_werror_flag"
12328 || test ! -s conftest.err'
12329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12330 (eval $ac_try) 2>&5
12331 ac_status=$?
12332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12333 (exit $ac_status); }; } &&
12334 { ac_try='test -s conftest.$ac_objext'
12335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12336 (eval $ac_try) 2>&5
12337 ac_status=$?
12338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12339 (exit $ac_status); }; }; then
12340 bakefile_compiler_xlc=yes
12341 else
12342 echo "$as_me: failed program was:" >&5
12343 sed 's/^/| /' conftest.$ac_ext >&5
12344
12345 bakefile_compiler_xlc=no
12346 fi
12347 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12348 bakefile_cv_c_compiler_xlc=$bakefile_compiler_xlc
12349
12350 fi
12351 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
12352 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6
12353
12354 XLCC=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
12355 ac_ext=c
12356 ac_cpp='$CPP $CPPFLAGS'
12357 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12358 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12359 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12360
12361
12362 ;;
12363
12364 Darwin)
12365 ac_ext=c
12366 ac_cpp='$CPP $CPPFLAGS'
12367 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12368 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12369 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12370
12371 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
12372 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6
12373 if test "${bakefile_cv_c_compiler_mwerks+set}" = set; then
12374 echo $ECHO_N "(cached) $ECHO_C" >&6
12375 else
12376 cat >conftest.$ac_ext <<_ACEOF
12377 /* confdefs.h. */
12378 _ACEOF
12379 cat confdefs.h >>conftest.$ac_ext
12380 cat >>conftest.$ac_ext <<_ACEOF
12381 /* end confdefs.h. */
12382
12383 int
12384 main ()
12385 {
12386 #ifndef __MWERKS__
12387 choke me
12388 #endif
12389
12390 ;
12391 return 0;
12392 }
12393 _ACEOF
12394 rm -f conftest.$ac_objext
12395 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12396 (eval $ac_compile) 2>conftest.er1
12397 ac_status=$?
12398 grep -v '^ *+' conftest.er1 >conftest.err
12399 rm -f conftest.er1
12400 cat conftest.err >&5
12401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12402 (exit $ac_status); } &&
12403 { ac_try='test -z "$ac_c_werror_flag"
12404 || test ! -s conftest.err'
12405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12406 (eval $ac_try) 2>&5
12407 ac_status=$?
12408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12409 (exit $ac_status); }; } &&
12410 { ac_try='test -s conftest.$ac_objext'
12411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12412 (eval $ac_try) 2>&5
12413 ac_status=$?
12414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12415 (exit $ac_status); }; }; then
12416 bakefile_compiler_mwerks=yes
12417 else
12418 echo "$as_me: failed program was:" >&5
12419 sed 's/^/| /' conftest.$ac_ext >&5
12420
12421 bakefile_compiler_mwerks=no
12422 fi
12423 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12424 bakefile_cv_c_compiler_mwerks=$bakefile_compiler_mwerks
12425
12426 fi
12427 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_mwerks" >&5
12428 echo "${ECHO_T}$bakefile_cv_c_compiler_mwerks" >&6
12429
12430 MWCC=`test $bakefile_cv_c_compiler_mwerks = yes && echo yes`
12431 ac_ext=c
12432 ac_cpp='$CPP $CPPFLAGS'
12433 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12434 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12435 ac_compiler_gnu=$ac_cv_c_compiler_gnu
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 IBM xlC C compiler" >&5
12445 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6
12446 if test "${bakefile_cv_c_compiler_xlc+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 #ifndef __xlC__
12460 choke me
12461 #endif
12462
12463 ;
12464 return 0;
12465 }
12466 _ACEOF
12467 rm -f conftest.$ac_objext
12468 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12469 (eval $ac_compile) 2>conftest.er1
12470 ac_status=$?
12471 grep -v '^ *+' conftest.er1 >conftest.err
12472 rm -f conftest.er1
12473 cat conftest.err >&5
12474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12475 (exit $ac_status); } &&
12476 { ac_try='test -z "$ac_c_werror_flag"
12477 || test ! -s conftest.err'
12478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12479 (eval $ac_try) 2>&5
12480 ac_status=$?
12481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12482 (exit $ac_status); }; } &&
12483 { ac_try='test -s conftest.$ac_objext'
12484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12485 (eval $ac_try) 2>&5
12486 ac_status=$?
12487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12488 (exit $ac_status); }; }; then
12489 bakefile_compiler_xlc=yes
12490 else
12491 echo "$as_me: failed program was:" >&5
12492 sed 's/^/| /' conftest.$ac_ext >&5
12493
12494 bakefile_compiler_xlc=no
12495 fi
12496 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12497 bakefile_cv_c_compiler_xlc=$bakefile_compiler_xlc
12498
12499 fi
12500 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
12501 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6
12502
12503 XLCC=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
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
12511 ;;
12512
12513 IRIX*)
12514
12515
12516 ac_ext=c
12517 ac_cpp='$CPP $CPPFLAGS'
12518 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12519 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12520 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12521
12522 echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
12523 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6
12524 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
12525 echo $ECHO_N "(cached) $ECHO_C" >&6
12526 else
12527 cat >conftest.$ac_ext <<_ACEOF
12528 /* confdefs.h. */
12529 _ACEOF
12530 cat confdefs.h >>conftest.$ac_ext
12531 cat >>conftest.$ac_ext <<_ACEOF
12532 /* end confdefs.h. */
12533
12534 int
12535 main ()
12536 {
12537
12538 #ifndef _SGI_COMPILER_VERSION
12539 choke me
12540 #endif
12541
12542 ;
12543 return 0;
12544 }
12545 _ACEOF
12546 rm -f conftest.$ac_objext
12547 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12548 (eval $ac_compile) 2>conftest.er1
12549 ac_status=$?
12550 grep -v '^ *+' conftest.er1 >conftest.err
12551 rm -f conftest.er1
12552 cat conftest.err >&5
12553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12554 (exit $ac_status); } &&
12555 { ac_try='test -z "$ac_c_werror_flag"
12556 || test ! -s conftest.err'
12557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12558 (eval $ac_try) 2>&5
12559 ac_status=$?
12560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12561 (exit $ac_status); }; } &&
12562 { ac_try='test -s conftest.$ac_objext'
12563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12564 (eval $ac_try) 2>&5
12565 ac_status=$?
12566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12567 (exit $ac_status); }; }; then
12568 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
12569 else
12570 echo "$as_me: failed program was:" >&5
12571 sed 's/^/| /' conftest.$ac_ext >&5
12572
12573 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
12574
12575 fi
12576 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12577
12578
12579 fi
12580 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
12581 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6
12582 ac_ext=c
12583 ac_cpp='$CPP $CPPFLAGS'
12584 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12585 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12586 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12587
12588 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
12589 :; SGICC=yes
12590 else
12591 :;
12592 fi
12593
12594
12595 ;;
12596
12597 HP-UX*)
12598
12599
12600 ac_ext=c
12601 ac_cpp='$CPP $CPPFLAGS'
12602 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12603 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12604 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12605
12606 echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
12607 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6
12608 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
12609 echo $ECHO_N "(cached) $ECHO_C" >&6
12610 else
12611 cat >conftest.$ac_ext <<_ACEOF
12612 /* confdefs.h. */
12613 _ACEOF
12614 cat confdefs.h >>conftest.$ac_ext
12615 cat >>conftest.$ac_ext <<_ACEOF
12616 /* end confdefs.h. */
12617
12618 int
12619 main ()
12620 {
12621
12622 #ifndef __HP_cc
12623 choke me
12624 #endif
12625
12626 ;
12627 return 0;
12628 }
12629 _ACEOF
12630 rm -f conftest.$ac_objext
12631 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12632 (eval $ac_compile) 2>conftest.er1
12633 ac_status=$?
12634 grep -v '^ *+' conftest.er1 >conftest.err
12635 rm -f conftest.er1
12636 cat conftest.err >&5
12637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12638 (exit $ac_status); } &&
12639 { ac_try='test -z "$ac_c_werror_flag"
12640 || test ! -s conftest.err'
12641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12642 (eval $ac_try) 2>&5
12643 ac_status=$?
12644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12645 (exit $ac_status); }; } &&
12646 { ac_try='test -s conftest.$ac_objext'
12647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12648 (eval $ac_try) 2>&5
12649 ac_status=$?
12650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12651 (exit $ac_status); }; }; then
12652 bakefile_cv_c_compiler___HP_cc=yes
12653 else
12654 echo "$as_me: failed program was:" >&5
12655 sed 's/^/| /' conftest.$ac_ext >&5
12656
12657 bakefile_cv_c_compiler___HP_cc=no
12658
12659 fi
12660 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12661
12662
12663 fi
12664 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
12665 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6
12666 ac_ext=c
12667 ac_cpp='$CPP $CPPFLAGS'
12668 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12669 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12670 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12671
12672 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
12673 :; HPCC=yes
12674 else
12675 :;
12676 fi
12677
12678
12679 ;;
12680
12681 OSF1)
12682
12683
12684 ac_ext=c
12685 ac_cpp='$CPP $CPPFLAGS'
12686 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12687 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12688 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12689
12690 echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
12691 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6
12692 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
12693 echo $ECHO_N "(cached) $ECHO_C" >&6
12694 else
12695 cat >conftest.$ac_ext <<_ACEOF
12696 /* confdefs.h. */
12697 _ACEOF
12698 cat confdefs.h >>conftest.$ac_ext
12699 cat >>conftest.$ac_ext <<_ACEOF
12700 /* end confdefs.h. */
12701
12702 int
12703 main ()
12704 {
12705
12706 #ifndef __DECC
12707 choke me
12708 #endif
12709
12710 ;
12711 return 0;
12712 }
12713 _ACEOF
12714 rm -f conftest.$ac_objext
12715 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12716 (eval $ac_compile) 2>conftest.er1
12717 ac_status=$?
12718 grep -v '^ *+' conftest.er1 >conftest.err
12719 rm -f conftest.er1
12720 cat conftest.err >&5
12721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12722 (exit $ac_status); } &&
12723 { ac_try='test -z "$ac_c_werror_flag"
12724 || test ! -s conftest.err'
12725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12726 (eval $ac_try) 2>&5
12727 ac_status=$?
12728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12729 (exit $ac_status); }; } &&
12730 { ac_try='test -s conftest.$ac_objext'
12731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12732 (eval $ac_try) 2>&5
12733 ac_status=$?
12734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12735 (exit $ac_status); }; }; then
12736 bakefile_cv_c_compiler___DECC=yes
12737 else
12738 echo "$as_me: failed program was:" >&5
12739 sed 's/^/| /' conftest.$ac_ext >&5
12740
12741 bakefile_cv_c_compiler___DECC=no
12742
12743 fi
12744 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12745
12746
12747 fi
12748 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
12749 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6
12750 ac_ext=c
12751 ac_cpp='$CPP $CPPFLAGS'
12752 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12753 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12754 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12755
12756 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
12757 :; COMPAQCC=yes
12758 else
12759 :;
12760 fi
12761
12762
12763 ;;
12764
12765 SunOS)
12766
12767
12768 ac_ext=c
12769 ac_cpp='$CPP $CPPFLAGS'
12770 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12771 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12772 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12773
12774 echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
12775 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6
12776 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
12777 echo $ECHO_N "(cached) $ECHO_C" >&6
12778 else
12779 cat >conftest.$ac_ext <<_ACEOF
12780 /* confdefs.h. */
12781 _ACEOF
12782 cat confdefs.h >>conftest.$ac_ext
12783 cat >>conftest.$ac_ext <<_ACEOF
12784 /* end confdefs.h. */
12785
12786 int
12787 main ()
12788 {
12789
12790 #ifndef __SUNPRO_C
12791 choke me
12792 #endif
12793
12794 ;
12795 return 0;
12796 }
12797 _ACEOF
12798 rm -f conftest.$ac_objext
12799 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12800 (eval $ac_compile) 2>conftest.er1
12801 ac_status=$?
12802 grep -v '^ *+' conftest.er1 >conftest.err
12803 rm -f conftest.er1
12804 cat conftest.err >&5
12805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12806 (exit $ac_status); } &&
12807 { ac_try='test -z "$ac_c_werror_flag"
12808 || test ! -s conftest.err'
12809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12810 (eval $ac_try) 2>&5
12811 ac_status=$?
12812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12813 (exit $ac_status); }; } &&
12814 { ac_try='test -s conftest.$ac_objext'
12815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12816 (eval $ac_try) 2>&5
12817 ac_status=$?
12818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12819 (exit $ac_status); }; }; then
12820 bakefile_cv_c_compiler___SUNPRO_C=yes
12821 else
12822 echo "$as_me: failed program was:" >&5
12823 sed 's/^/| /' conftest.$ac_ext >&5
12824
12825 bakefile_cv_c_compiler___SUNPRO_C=no
12826
12827 fi
12828 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12829
12830
12831 fi
12832 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
12833 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6
12834 ac_ext=c
12835 ac_cpp='$CPP $CPPFLAGS'
12836 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12837 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12838 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12839
12840 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
12841 :; SUNCC=yes
12842 else
12843 :;
12844 fi
12845
12846
12847 ;;
12848 esac
12849 fi
12850
12851
12852
12853 ac_ext=c
12854 ac_cpp='$CPP $CPPFLAGS'
12855 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12856 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12857 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12858 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
12859 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
12860 # On Suns, sometimes $CPP names a directory.
12861 if test -n "$CPP" && test -d "$CPP"; then
12862 CPP=
12863 fi
12864 if test -z "$CPP"; then
12865 if test "${ac_cv_prog_CPP+set}" = set; then
12866 echo $ECHO_N "(cached) $ECHO_C" >&6
12867 else
12868 # Double quotes because CPP needs to be expanded
12869 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
12870 do
12871 ac_preproc_ok=false
12872 for ac_c_preproc_warn_flag in '' yes
12873 do
12874 # Use a header file that comes with gcc, so configuring glibc
12875 # with a fresh cross-compiler works.
12876 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12877 # <limits.h> exists even on freestanding compilers.
12878 # On the NeXT, cc -E runs the code through the compiler's parser,
12879 # not just through cpp. "Syntax error" is here to catch this case.
12880 cat >conftest.$ac_ext <<_ACEOF
12881 /* confdefs.h. */
12882 _ACEOF
12883 cat confdefs.h >>conftest.$ac_ext
12884 cat >>conftest.$ac_ext <<_ACEOF
12885 /* end confdefs.h. */
12886 #ifdef __STDC__
12887 # include <limits.h>
12888 #else
12889 # include <assert.h>
12890 #endif
12891 Syntax error
12892 _ACEOF
12893 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12894 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12895 ac_status=$?
12896 grep -v '^ *+' conftest.er1 >conftest.err
12897 rm -f conftest.er1
12898 cat conftest.err >&5
12899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12900 (exit $ac_status); } >/dev/null; then
12901 if test -s conftest.err; then
12902 ac_cpp_err=$ac_c_preproc_warn_flag
12903 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
12904 else
12905 ac_cpp_err=
12906 fi
12907 else
12908 ac_cpp_err=yes
12909 fi
12910 if test -z "$ac_cpp_err"; then
12911 :
12912 else
12913 echo "$as_me: failed program was:" >&5
12914 sed 's/^/| /' conftest.$ac_ext >&5
12915
12916 # Broken: fails on valid input.
12917 continue
12918 fi
12919 rm -f conftest.err conftest.$ac_ext
12920
12921 # OK, works on sane cases. Now check whether non-existent headers
12922 # can be detected and how.
12923 cat >conftest.$ac_ext <<_ACEOF
12924 /* confdefs.h. */
12925 _ACEOF
12926 cat confdefs.h >>conftest.$ac_ext
12927 cat >>conftest.$ac_ext <<_ACEOF
12928 /* end confdefs.h. */
12929 #include <ac_nonexistent.h>
12930 _ACEOF
12931 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12932 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12933 ac_status=$?
12934 grep -v '^ *+' conftest.er1 >conftest.err
12935 rm -f conftest.er1
12936 cat conftest.err >&5
12937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12938 (exit $ac_status); } >/dev/null; then
12939 if test -s conftest.err; then
12940 ac_cpp_err=$ac_c_preproc_warn_flag
12941 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
12942 else
12943 ac_cpp_err=
12944 fi
12945 else
12946 ac_cpp_err=yes
12947 fi
12948 if test -z "$ac_cpp_err"; then
12949 # Broken: success on invalid input.
12950 continue
12951 else
12952 echo "$as_me: failed program was:" >&5
12953 sed 's/^/| /' conftest.$ac_ext >&5
12954
12955 # Passes both tests.
12956 ac_preproc_ok=:
12957 break
12958 fi
12959 rm -f conftest.err conftest.$ac_ext
12960
12961 done
12962 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12963 rm -f conftest.err conftest.$ac_ext
12964 if $ac_preproc_ok; then
12965 break
12966 fi
12967
12968 done
12969 ac_cv_prog_CPP=$CPP
12970
12971 fi
12972 CPP=$ac_cv_prog_CPP
12973 else
12974 ac_cv_prog_CPP=$CPP
12975 fi
12976 echo "$as_me:$LINENO: result: $CPP" >&5
12977 echo "${ECHO_T}$CPP" >&6
12978 ac_preproc_ok=false
12979 for ac_c_preproc_warn_flag in '' yes
12980 do
12981 # Use a header file that comes with gcc, so configuring glibc
12982 # with a fresh cross-compiler works.
12983 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12984 # <limits.h> exists even on freestanding compilers.
12985 # On the NeXT, cc -E runs the code through the compiler's parser,
12986 # not just through cpp. "Syntax error" is here to catch this case.
12987 cat >conftest.$ac_ext <<_ACEOF
12988 /* confdefs.h. */
12989 _ACEOF
12990 cat confdefs.h >>conftest.$ac_ext
12991 cat >>conftest.$ac_ext <<_ACEOF
12992 /* end confdefs.h. */
12993 #ifdef __STDC__
12994 # include <limits.h>
12995 #else
12996 # include <assert.h>
12997 #endif
12998 Syntax error
12999 _ACEOF
13000 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13001 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13002 ac_status=$?
13003 grep -v '^ *+' conftest.er1 >conftest.err
13004 rm -f conftest.er1
13005 cat conftest.err >&5
13006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13007 (exit $ac_status); } >/dev/null; then
13008 if test -s conftest.err; then
13009 ac_cpp_err=$ac_c_preproc_warn_flag
13010 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13011 else
13012 ac_cpp_err=
13013 fi
13014 else
13015 ac_cpp_err=yes
13016 fi
13017 if test -z "$ac_cpp_err"; then
13018 :
13019 else
13020 echo "$as_me: failed program was:" >&5
13021 sed 's/^/| /' conftest.$ac_ext >&5
13022
13023 # Broken: fails on valid input.
13024 continue
13025 fi
13026 rm -f conftest.err conftest.$ac_ext
13027
13028 # OK, works on sane cases. Now check whether non-existent headers
13029 # can be detected and how.
13030 cat >conftest.$ac_ext <<_ACEOF
13031 /* confdefs.h. */
13032 _ACEOF
13033 cat confdefs.h >>conftest.$ac_ext
13034 cat >>conftest.$ac_ext <<_ACEOF
13035 /* end confdefs.h. */
13036 #include <ac_nonexistent.h>
13037 _ACEOF
13038 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13039 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13040 ac_status=$?
13041 grep -v '^ *+' conftest.er1 >conftest.err
13042 rm -f conftest.er1
13043 cat conftest.err >&5
13044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13045 (exit $ac_status); } >/dev/null; then
13046 if test -s conftest.err; then
13047 ac_cpp_err=$ac_c_preproc_warn_flag
13048 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13049 else
13050 ac_cpp_err=
13051 fi
13052 else
13053 ac_cpp_err=yes
13054 fi
13055 if test -z "$ac_cpp_err"; then
13056 # Broken: success on invalid input.
13057 continue
13058 else
13059 echo "$as_me: failed program was:" >&5
13060 sed 's/^/| /' conftest.$ac_ext >&5
13061
13062 # Passes both tests.
13063 ac_preproc_ok=:
13064 break
13065 fi
13066 rm -f conftest.err conftest.$ac_ext
13067
13068 done
13069 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13070 rm -f conftest.err conftest.$ac_ext
13071 if $ac_preproc_ok; then
13072 :
13073 else
13074 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
13075 See \`config.log' for more details." >&5
13076 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
13077 See \`config.log' for more details." >&2;}
13078 { (exit 1); exit 1; }; }
13079 fi
13080
13081 ac_ext=c
13082 ac_cpp='$CPP $CPPFLAGS'
13083 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13084 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13085 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13086
13087
13088 echo "$as_me:$LINENO: checking for egrep" >&5
13089 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
13090 if test "${ac_cv_prog_egrep+set}" = set; then
13091 echo $ECHO_N "(cached) $ECHO_C" >&6
13092 else
13093 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
13094 then ac_cv_prog_egrep='grep -E'
13095 else ac_cv_prog_egrep='egrep'
13096 fi
13097 fi
13098 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
13099 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
13100 EGREP=$ac_cv_prog_egrep
13101
13102
13103 if test $ac_cv_c_compiler_gnu = yes; then
13104 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
13105 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
13106 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
13107 echo $ECHO_N "(cached) $ECHO_C" >&6
13108 else
13109 ac_pattern="Autoconf.*'x'"
13110 cat >conftest.$ac_ext <<_ACEOF
13111 /* confdefs.h. */
13112 _ACEOF
13113 cat confdefs.h >>conftest.$ac_ext
13114 cat >>conftest.$ac_ext <<_ACEOF
13115 /* end confdefs.h. */
13116 #include <sgtty.h>
13117 Autoconf TIOCGETP
13118 _ACEOF
13119 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13120 $EGREP "$ac_pattern" >/dev/null 2>&1; then
13121 ac_cv_prog_gcc_traditional=yes
13122 else
13123 ac_cv_prog_gcc_traditional=no
13124 fi
13125 rm -f conftest*
13126
13127
13128 if test $ac_cv_prog_gcc_traditional = no; then
13129 cat >conftest.$ac_ext <<_ACEOF
13130 /* confdefs.h. */
13131 _ACEOF
13132 cat confdefs.h >>conftest.$ac_ext
13133 cat >>conftest.$ac_ext <<_ACEOF
13134 /* end confdefs.h. */
13135 #include <termio.h>
13136 Autoconf TCGETA
13137 _ACEOF
13138 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13139 $EGREP "$ac_pattern" >/dev/null 2>&1; then
13140 ac_cv_prog_gcc_traditional=yes
13141 fi
13142 rm -f conftest*
13143
13144 fi
13145 fi
13146 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
13147 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
13148 if test $ac_cv_prog_gcc_traditional = yes; then
13149 CC="$CC -traditional"
13150 fi
13151 fi
13152
13153
13154 ac_ext=cc
13155 ac_cpp='$CXXCPP $CPPFLAGS'
13156 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13157 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13158 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13159
13160
13161 CXXFLAGS=${CXXFLAGS:=}
13162
13163
13164
13165 ac_ext=cc
13166 ac_cpp='$CXXCPP $CPPFLAGS'
13167 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13168 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13169 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13170 if test -n "$ac_tool_prefix"; then
13171 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
13172 do
13173 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
13174 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
13175 echo "$as_me:$LINENO: checking for $ac_word" >&5
13176 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13177 if test "${ac_cv_prog_CXX+set}" = set; then
13178 echo $ECHO_N "(cached) $ECHO_C" >&6
13179 else
13180 if test -n "$CXX"; then
13181 ac_cv_prog_CXX="$CXX" # Let the user override the test.
13182 else
13183 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13184 for as_dir in $PATH
13185 do
13186 IFS=$as_save_IFS
13187 test -z "$as_dir" && as_dir=.
13188 for ac_exec_ext in '' $ac_executable_extensions; do
13189 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13190 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
13191 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13192 break 2
13193 fi
13194 done
13195 done
13196
13197 fi
13198 fi
13199 CXX=$ac_cv_prog_CXX
13200 if test -n "$CXX"; then
13201 echo "$as_me:$LINENO: result: $CXX" >&5
13202 echo "${ECHO_T}$CXX" >&6
13203 else
13204 echo "$as_me:$LINENO: result: no" >&5
13205 echo "${ECHO_T}no" >&6
13206 fi
13207
13208 test -n "$CXX" && break
13209 done
13210 fi
13211 if test -z "$CXX"; then
13212 ac_ct_CXX=$CXX
13213 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
13214 do
13215 # Extract the first word of "$ac_prog", so it can be a program name with args.
13216 set dummy $ac_prog; ac_word=$2
13217 echo "$as_me:$LINENO: checking for $ac_word" >&5
13218 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13219 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
13220 echo $ECHO_N "(cached) $ECHO_C" >&6
13221 else
13222 if test -n "$ac_ct_CXX"; then
13223 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
13224 else
13225 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13226 for as_dir in $PATH
13227 do
13228 IFS=$as_save_IFS
13229 test -z "$as_dir" && as_dir=.
13230 for ac_exec_ext in '' $ac_executable_extensions; do
13231 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13232 ac_cv_prog_ac_ct_CXX="$ac_prog"
13233 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13234 break 2
13235 fi
13236 done
13237 done
13238
13239 fi
13240 fi
13241 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
13242 if test -n "$ac_ct_CXX"; then
13243 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
13244 echo "${ECHO_T}$ac_ct_CXX" >&6
13245 else
13246 echo "$as_me:$LINENO: result: no" >&5
13247 echo "${ECHO_T}no" >&6
13248 fi
13249
13250 test -n "$ac_ct_CXX" && break
13251 done
13252 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
13253
13254 CXX=$ac_ct_CXX
13255 fi
13256
13257
13258 # Provide some information about the compiler.
13259 echo "$as_me:$LINENO:" \
13260 "checking for C++ compiler version" >&5
13261 ac_compiler=`set X $ac_compile; echo $2`
13262 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
13263 (eval $ac_compiler --version </dev/null >&5) 2>&5
13264 ac_status=$?
13265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13266 (exit $ac_status); }
13267 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
13268 (eval $ac_compiler -v </dev/null >&5) 2>&5
13269 ac_status=$?
13270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13271 (exit $ac_status); }
13272 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
13273 (eval $ac_compiler -V </dev/null >&5) 2>&5
13274 ac_status=$?
13275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13276 (exit $ac_status); }
13277
13278 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
13279 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
13280 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
13281 echo $ECHO_N "(cached) $ECHO_C" >&6
13282 else
13283 cat >conftest.$ac_ext <<_ACEOF
13284 /* confdefs.h. */
13285 _ACEOF
13286 cat confdefs.h >>conftest.$ac_ext
13287 cat >>conftest.$ac_ext <<_ACEOF
13288 /* end confdefs.h. */
13289
13290 int
13291 main ()
13292 {
13293 #ifndef __GNUC__
13294 choke me
13295 #endif
13296
13297 ;
13298 return 0;
13299 }
13300 _ACEOF
13301 rm -f conftest.$ac_objext
13302 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13303 (eval $ac_compile) 2>conftest.er1
13304 ac_status=$?
13305 grep -v '^ *+' conftest.er1 >conftest.err
13306 rm -f conftest.er1
13307 cat conftest.err >&5
13308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13309 (exit $ac_status); } &&
13310 { ac_try='test -z "$ac_cxx_werror_flag"
13311 || test ! -s conftest.err'
13312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13313 (eval $ac_try) 2>&5
13314 ac_status=$?
13315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13316 (exit $ac_status); }; } &&
13317 { ac_try='test -s conftest.$ac_objext'
13318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13319 (eval $ac_try) 2>&5
13320 ac_status=$?
13321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13322 (exit $ac_status); }; }; then
13323 ac_compiler_gnu=yes
13324 else
13325 echo "$as_me: failed program was:" >&5
13326 sed 's/^/| /' conftest.$ac_ext >&5
13327
13328 ac_compiler_gnu=no
13329 fi
13330 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13331 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
13332
13333 fi
13334 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
13335 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
13336 GXX=`test $ac_compiler_gnu = yes && echo yes`
13337 ac_test_CXXFLAGS=${CXXFLAGS+set}
13338 ac_save_CXXFLAGS=$CXXFLAGS
13339 CXXFLAGS="-g"
13340 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
13341 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
13342 if test "${ac_cv_prog_cxx_g+set}" = set; then
13343 echo $ECHO_N "(cached) $ECHO_C" >&6
13344 else
13345 cat >conftest.$ac_ext <<_ACEOF
13346 /* confdefs.h. */
13347 _ACEOF
13348 cat confdefs.h >>conftest.$ac_ext
13349 cat >>conftest.$ac_ext <<_ACEOF
13350 /* end confdefs.h. */
13351
13352 int
13353 main ()
13354 {
13355
13356 ;
13357 return 0;
13358 }
13359 _ACEOF
13360 rm -f conftest.$ac_objext
13361 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13362 (eval $ac_compile) 2>conftest.er1
13363 ac_status=$?
13364 grep -v '^ *+' conftest.er1 >conftest.err
13365 rm -f conftest.er1
13366 cat conftest.err >&5
13367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13368 (exit $ac_status); } &&
13369 { ac_try='test -z "$ac_cxx_werror_flag"
13370 || test ! -s conftest.err'
13371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13372 (eval $ac_try) 2>&5
13373 ac_status=$?
13374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13375 (exit $ac_status); }; } &&
13376 { ac_try='test -s conftest.$ac_objext'
13377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13378 (eval $ac_try) 2>&5
13379 ac_status=$?
13380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13381 (exit $ac_status); }; }; then
13382 ac_cv_prog_cxx_g=yes
13383 else
13384 echo "$as_me: failed program was:" >&5
13385 sed 's/^/| /' conftest.$ac_ext >&5
13386
13387 ac_cv_prog_cxx_g=no
13388 fi
13389 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13390 fi
13391 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
13392 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
13393 if test "$ac_test_CXXFLAGS" = set; then
13394 CXXFLAGS=$ac_save_CXXFLAGS
13395 elif test $ac_cv_prog_cxx_g = yes; then
13396 if test "$GXX" = yes; then
13397 CXXFLAGS="-g -O2"
13398 else
13399 CXXFLAGS="-g"
13400 fi
13401 else
13402 if test "$GXX" = yes; then
13403 CXXFLAGS="-O2"
13404 else
13405 CXXFLAGS=
13406 fi
13407 fi
13408 for ac_declaration in \
13409 '' \
13410 'extern "C" void std::exit (int) throw (); using std::exit;' \
13411 'extern "C" void std::exit (int); using std::exit;' \
13412 'extern "C" void exit (int) throw ();' \
13413 'extern "C" void exit (int);' \
13414 'void exit (int);'
13415 do
13416 cat >conftest.$ac_ext <<_ACEOF
13417 /* confdefs.h. */
13418 _ACEOF
13419 cat confdefs.h >>conftest.$ac_ext
13420 cat >>conftest.$ac_ext <<_ACEOF
13421 /* end confdefs.h. */
13422 $ac_declaration
13423 #include <stdlib.h>
13424 int
13425 main ()
13426 {
13427 exit (42);
13428 ;
13429 return 0;
13430 }
13431 _ACEOF
13432 rm -f conftest.$ac_objext
13433 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13434 (eval $ac_compile) 2>conftest.er1
13435 ac_status=$?
13436 grep -v '^ *+' conftest.er1 >conftest.err
13437 rm -f conftest.er1
13438 cat conftest.err >&5
13439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13440 (exit $ac_status); } &&
13441 { ac_try='test -z "$ac_cxx_werror_flag"
13442 || test ! -s conftest.err'
13443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13444 (eval $ac_try) 2>&5
13445 ac_status=$?
13446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13447 (exit $ac_status); }; } &&
13448 { ac_try='test -s conftest.$ac_objext'
13449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13450 (eval $ac_try) 2>&5
13451 ac_status=$?
13452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13453 (exit $ac_status); }; }; then
13454 :
13455 else
13456 echo "$as_me: failed program was:" >&5
13457 sed 's/^/| /' conftest.$ac_ext >&5
13458
13459 continue
13460 fi
13461 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13462 cat >conftest.$ac_ext <<_ACEOF
13463 /* confdefs.h. */
13464 _ACEOF
13465 cat confdefs.h >>conftest.$ac_ext
13466 cat >>conftest.$ac_ext <<_ACEOF
13467 /* end confdefs.h. */
13468 $ac_declaration
13469 int
13470 main ()
13471 {
13472 exit (42);
13473 ;
13474 return 0;
13475 }
13476 _ACEOF
13477 rm -f conftest.$ac_objext
13478 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13479 (eval $ac_compile) 2>conftest.er1
13480 ac_status=$?
13481 grep -v '^ *+' conftest.er1 >conftest.err
13482 rm -f conftest.er1
13483 cat conftest.err >&5
13484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13485 (exit $ac_status); } &&
13486 { ac_try='test -z "$ac_cxx_werror_flag"
13487 || test ! -s conftest.err'
13488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13489 (eval $ac_try) 2>&5
13490 ac_status=$?
13491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13492 (exit $ac_status); }; } &&
13493 { ac_try='test -s conftest.$ac_objext'
13494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13495 (eval $ac_try) 2>&5
13496 ac_status=$?
13497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13498 (exit $ac_status); }; }; then
13499 break
13500 else
13501 echo "$as_me: failed program was:" >&5
13502 sed 's/^/| /' conftest.$ac_ext >&5
13503
13504 fi
13505 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13506 done
13507 rm -f conftest*
13508 if test -n "$ac_declaration"; then
13509 echo '#ifdef __cplusplus' >>confdefs.h
13510 echo $ac_declaration >>confdefs.h
13511 echo '#endif' >>confdefs.h
13512 fi
13513
13514 ac_ext=cc
13515 ac_cpp='$CXXCPP $CPPFLAGS'
13516 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13517 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13518 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13519
13520
13521
13522 ac_ext=cc
13523 ac_cpp='$CXXCPP $CPPFLAGS'
13524 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13525 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13526 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13527
13528 echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
13529 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6
13530 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
13531 echo $ECHO_N "(cached) $ECHO_C" >&6
13532 else
13533 cat >conftest.$ac_ext <<_ACEOF
13534 /* confdefs.h. */
13535 _ACEOF
13536 cat confdefs.h >>conftest.$ac_ext
13537 cat >>conftest.$ac_ext <<_ACEOF
13538 /* end confdefs.h. */
13539
13540 int
13541 main ()
13542 {
13543
13544 #ifndef __INTEL_COMPILER
13545 choke me
13546 #endif
13547
13548 ;
13549 return 0;
13550 }
13551 _ACEOF
13552 rm -f conftest.$ac_objext
13553 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13554 (eval $ac_compile) 2>conftest.er1
13555 ac_status=$?
13556 grep -v '^ *+' conftest.er1 >conftest.err
13557 rm -f conftest.er1
13558 cat conftest.err >&5
13559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13560 (exit $ac_status); } &&
13561 { ac_try='test -z "$ac_cxx_werror_flag"
13562 || test ! -s conftest.err'
13563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13564 (eval $ac_try) 2>&5
13565 ac_status=$?
13566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13567 (exit $ac_status); }; } &&
13568 { ac_try='test -s conftest.$ac_objext'
13569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13570 (eval $ac_try) 2>&5
13571 ac_status=$?
13572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13573 (exit $ac_status); }; }; then
13574 bakefile_cv_cxx_compiler___INTEL_COMPILER=yes
13575 else
13576 echo "$as_me: failed program was:" >&5
13577 sed 's/^/| /' conftest.$ac_ext >&5
13578
13579 bakefile_cv_cxx_compiler___INTEL_COMPILER=no
13580
13581 fi
13582 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13583
13584
13585 fi
13586 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
13587 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6
13588 ac_ext=cc
13589 ac_cpp='$CXXCPP $CPPFLAGS'
13590 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13591 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13592 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13593
13594 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
13595 :; INTELCXX=yes
13596 else
13597 :;
13598 fi
13599
13600
13601 if test "x$GCXX" != "xyes"; then
13602 if test "xCXX" = "xC"; then
13603 echo "$as_me:$LINENO: checking if the C++ compiler requires -ext o" >&5
13604 echo $ECHO_N "checking if the C++ compiler requires -ext o... $ECHO_C" >&6
13605 if test "${bakefile_cv_cxx_exto+set}" = set; then
13606 echo $ECHO_N "(cached) $ECHO_C" >&6
13607 else
13608 cat >conftest.$ac_ext <<_ACEOF
13609 /* confdefs.h. */
13610 _ACEOF
13611 cat confdefs.h >>conftest.$ac_ext
13612 cat >>conftest.$ac_ext <<_ACEOF
13613 /* end confdefs.h. */
13614
13615 int
13616 main ()
13617 {
13618
13619 ;
13620 return 0;
13621 }
13622 _ACEOF
13623 rm -f conftest.$ac_objext conftest.$ac_ext.o
13624 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13625 (eval $ac_compile) 2>&5
13626 ac_status=$?
13627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13628 (exit $ac_status); }; then
13629 for ac_file in `(ls conftest.* 2>/dev/null)`; do
13630 case $ac_file in
13631 conftest.$ac_ext.o)
13632 bakefile_cv_cxx_exto="-ext o"
13633 ;;
13634 *)
13635 ;;
13636 esac
13637 done
13638 else
13639 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
13640 See \`config.log' for more details." >&5
13641 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
13642 See \`config.log' for more details." >&2;}
13643 { (exit 1); exit 1; }; }
13644
13645 fi
13646
13647 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
13648
13649 fi
13650 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_exto" >&5
13651 echo "${ECHO_T}$bakefile_cv_cxx_exto" >&6
13652 if test "x$bakefile_cv_cxx_exto" '!=' "x"; then
13653 if test "cxx" = "c"; then
13654 CFLAGS="$bakefile_cv_cxx_exto $CFLAGS"
13655 fi
13656 if test "cxx" = "cxx"; then
13657 CXXFLAGS="$bakefile_cv_cxx_exto $CXXFLAGS"
13658 fi
13659 fi
13660
13661 if test "x$bakefile_cv_c_exto" '!=' "x"; then
13662 unset ac_cv_prog_cc_g
13663 ac_test_CFLAGS=${CFLAGS+set}
13664 ac_save_CFLAGS=$CFLAGS
13665 CFLAGS="-g"
13666 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
13667 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
13668 if test "${ac_cv_prog_cc_g+set}" = set; then
13669 echo $ECHO_N "(cached) $ECHO_C" >&6
13670 else
13671 cat >conftest.$ac_ext <<_ACEOF
13672 /* confdefs.h. */
13673 _ACEOF
13674 cat confdefs.h >>conftest.$ac_ext
13675 cat >>conftest.$ac_ext <<_ACEOF
13676 /* end confdefs.h. */
13677
13678 int
13679 main ()
13680 {
13681
13682 ;
13683 return 0;
13684 }
13685 _ACEOF
13686 rm -f conftest.$ac_objext
13687 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13688 (eval $ac_compile) 2>conftest.er1
13689 ac_status=$?
13690 grep -v '^ *+' conftest.er1 >conftest.err
13691 rm -f conftest.er1
13692 cat conftest.err >&5
13693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13694 (exit $ac_status); } &&
13695 { ac_try='test -z "$ac_cxx_werror_flag"
13696 || test ! -s conftest.err'
13697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13698 (eval $ac_try) 2>&5
13699 ac_status=$?
13700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13701 (exit $ac_status); }; } &&
13702 { ac_try='test -s conftest.$ac_objext'
13703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13704 (eval $ac_try) 2>&5
13705 ac_status=$?
13706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13707 (exit $ac_status); }; }; then
13708 ac_cv_prog_cc_g=yes
13709 else
13710 echo "$as_me: failed program was:" >&5
13711 sed 's/^/| /' conftest.$ac_ext >&5
13712
13713 ac_cv_prog_cc_g=no
13714 fi
13715 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13716 fi
13717 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
13718 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
13719 if test "$ac_test_CFLAGS" = set; then
13720 CFLAGS=$ac_save_CFLAGS
13721 elif test $ac_cv_prog_cc_g = yes; then
13722 if test "$GCC" = yes; then
13723 CFLAGS="-g -O2"
13724 else
13725 CFLAGS="-g"
13726 fi
13727 else
13728 if test "$GCC" = yes; then
13729 CFLAGS="-O2"
13730 else
13731 CFLAGS=
13732 fi
13733 fi
13734 fi
13735 fi
13736
13737 case `uname -s` in
13738 AIX*)
13739 ac_ext=cc
13740 ac_cpp='$CXXCPP $CPPFLAGS'
13741 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13742 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13743 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13744
13745 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
13746 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6
13747 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
13748 echo $ECHO_N "(cached) $ECHO_C" >&6
13749 else
13750 cat >conftest.$ac_ext <<_ACEOF
13751 /* confdefs.h. */
13752 _ACEOF
13753 cat confdefs.h >>conftest.$ac_ext
13754 cat >>conftest.$ac_ext <<_ACEOF
13755 /* end confdefs.h. */
13756
13757 int
13758 main ()
13759 {
13760 #ifndef __xlC__
13761 choke me
13762 #endif
13763
13764 ;
13765 return 0;
13766 }
13767 _ACEOF
13768 rm -f conftest.$ac_objext
13769 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13770 (eval $ac_compile) 2>conftest.er1
13771 ac_status=$?
13772 grep -v '^ *+' conftest.er1 >conftest.err
13773 rm -f conftest.er1
13774 cat conftest.err >&5
13775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13776 (exit $ac_status); } &&
13777 { ac_try='test -z "$ac_cxx_werror_flag"
13778 || test ! -s conftest.err'
13779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13780 (eval $ac_try) 2>&5
13781 ac_status=$?
13782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13783 (exit $ac_status); }; } &&
13784 { ac_try='test -s conftest.$ac_objext'
13785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13786 (eval $ac_try) 2>&5
13787 ac_status=$?
13788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13789 (exit $ac_status); }; }; then
13790 bakefile_compiler_xlc=yes
13791 else
13792 echo "$as_me: failed program was:" >&5
13793 sed 's/^/| /' conftest.$ac_ext >&5
13794
13795 bakefile_compiler_xlc=no
13796 fi
13797 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13798 bakefile_cv_cxx_compiler_xlc=$bakefile_compiler_xlc
13799
13800 fi
13801 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
13802 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6
13803
13804 XLCXX=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
13805 ac_ext=cc
13806 ac_cpp='$CXXCPP $CPPFLAGS'
13807 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13808 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13809 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13810
13811
13812 ;;
13813
13814 Darwin)
13815 ac_ext=cc
13816 ac_cpp='$CXXCPP $CPPFLAGS'
13817 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13818 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13819 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13820
13821 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
13822 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6
13823 if test "${bakefile_cv_cxx_compiler_mwerks+set}" = set; then
13824 echo $ECHO_N "(cached) $ECHO_C" >&6
13825 else
13826 cat >conftest.$ac_ext <<_ACEOF
13827 /* confdefs.h. */
13828 _ACEOF
13829 cat confdefs.h >>conftest.$ac_ext
13830 cat >>conftest.$ac_ext <<_ACEOF
13831 /* end confdefs.h. */
13832
13833 int
13834 main ()
13835 {
13836 #ifndef __MWERKS__
13837 choke me
13838 #endif
13839
13840 ;
13841 return 0;
13842 }
13843 _ACEOF
13844 rm -f conftest.$ac_objext
13845 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13846 (eval $ac_compile) 2>conftest.er1
13847 ac_status=$?
13848 grep -v '^ *+' conftest.er1 >conftest.err
13849 rm -f conftest.er1
13850 cat conftest.err >&5
13851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13852 (exit $ac_status); } &&
13853 { ac_try='test -z "$ac_cxx_werror_flag"
13854 || test ! -s conftest.err'
13855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13856 (eval $ac_try) 2>&5
13857 ac_status=$?
13858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13859 (exit $ac_status); }; } &&
13860 { ac_try='test -s conftest.$ac_objext'
13861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13862 (eval $ac_try) 2>&5
13863 ac_status=$?
13864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13865 (exit $ac_status); }; }; then
13866 bakefile_compiler_mwerks=yes
13867 else
13868 echo "$as_me: failed program was:" >&5
13869 sed 's/^/| /' conftest.$ac_ext >&5
13870
13871 bakefile_compiler_mwerks=no
13872 fi
13873 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13874 bakefile_cv_cxx_compiler_mwerks=$bakefile_compiler_mwerks
13875
13876 fi
13877 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_mwerks" >&5
13878 echo "${ECHO_T}$bakefile_cv_cxx_compiler_mwerks" >&6
13879
13880 MWCXX=`test $bakefile_cv_cxx_compiler_mwerks = yes && echo yes`
13881 ac_ext=cc
13882 ac_cpp='$CXXCPP $CPPFLAGS'
13883 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13884 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13885 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
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 IBM xlC C++ compiler" >&5
13895 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6
13896 if test "${bakefile_cv_cxx_compiler_xlc+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 #ifndef __xlC__
13910 choke me
13911 #endif
13912
13913 ;
13914 return 0;
13915 }
13916 _ACEOF
13917 rm -f conftest.$ac_objext
13918 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13919 (eval $ac_compile) 2>conftest.er1
13920 ac_status=$?
13921 grep -v '^ *+' conftest.er1 >conftest.err
13922 rm -f conftest.er1
13923 cat conftest.err >&5
13924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13925 (exit $ac_status); } &&
13926 { ac_try='test -z "$ac_cxx_werror_flag"
13927 || test ! -s conftest.err'
13928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13929 (eval $ac_try) 2>&5
13930 ac_status=$?
13931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13932 (exit $ac_status); }; } &&
13933 { ac_try='test -s conftest.$ac_objext'
13934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13935 (eval $ac_try) 2>&5
13936 ac_status=$?
13937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13938 (exit $ac_status); }; }; then
13939 bakefile_compiler_xlc=yes
13940 else
13941 echo "$as_me: failed program was:" >&5
13942 sed 's/^/| /' conftest.$ac_ext >&5
13943
13944 bakefile_compiler_xlc=no
13945 fi
13946 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13947 bakefile_cv_cxx_compiler_xlc=$bakefile_compiler_xlc
13948
13949 fi
13950 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
13951 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6
13952
13953 XLCXX=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
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
13961 ;;
13962
13963 IRIX*)
13964
13965
13966 ac_ext=cc
13967 ac_cpp='$CXXCPP $CPPFLAGS'
13968 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13969 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13970 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13971
13972 echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
13973 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6
13974 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
13975 echo $ECHO_N "(cached) $ECHO_C" >&6
13976 else
13977 cat >conftest.$ac_ext <<_ACEOF
13978 /* confdefs.h. */
13979 _ACEOF
13980 cat confdefs.h >>conftest.$ac_ext
13981 cat >>conftest.$ac_ext <<_ACEOF
13982 /* end confdefs.h. */
13983
13984 int
13985 main ()
13986 {
13987
13988 #ifndef _SGI_COMPILER_VERSION
13989 choke me
13990 #endif
13991
13992 ;
13993 return 0;
13994 }
13995 _ACEOF
13996 rm -f conftest.$ac_objext
13997 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13998 (eval $ac_compile) 2>conftest.er1
13999 ac_status=$?
14000 grep -v '^ *+' conftest.er1 >conftest.err
14001 rm -f conftest.er1
14002 cat conftest.err >&5
14003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14004 (exit $ac_status); } &&
14005 { ac_try='test -z "$ac_cxx_werror_flag"
14006 || test ! -s conftest.err'
14007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14008 (eval $ac_try) 2>&5
14009 ac_status=$?
14010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14011 (exit $ac_status); }; } &&
14012 { ac_try='test -s conftest.$ac_objext'
14013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14014 (eval $ac_try) 2>&5
14015 ac_status=$?
14016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14017 (exit $ac_status); }; }; then
14018 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
14019 else
14020 echo "$as_me: failed program was:" >&5
14021 sed 's/^/| /' conftest.$ac_ext >&5
14022
14023 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
14024
14025 fi
14026 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14027
14028
14029 fi
14030 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
14031 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6
14032 ac_ext=cc
14033 ac_cpp='$CXXCPP $CPPFLAGS'
14034 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14035 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14036 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14037
14038 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
14039 :; SGICXX=yes
14040 else
14041 :;
14042 fi
14043
14044
14045 ;;
14046
14047 HP-UX*)
14048
14049
14050 ac_ext=cc
14051 ac_cpp='$CXXCPP $CPPFLAGS'
14052 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14053 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14054 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14055
14056 echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
14057 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6
14058 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
14059 echo $ECHO_N "(cached) $ECHO_C" >&6
14060 else
14061 cat >conftest.$ac_ext <<_ACEOF
14062 /* confdefs.h. */
14063 _ACEOF
14064 cat confdefs.h >>conftest.$ac_ext
14065 cat >>conftest.$ac_ext <<_ACEOF
14066 /* end confdefs.h. */
14067
14068 int
14069 main ()
14070 {
14071
14072 #ifndef __HP_aCC
14073 choke me
14074 #endif
14075
14076 ;
14077 return 0;
14078 }
14079 _ACEOF
14080 rm -f conftest.$ac_objext
14081 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14082 (eval $ac_compile) 2>conftest.er1
14083 ac_status=$?
14084 grep -v '^ *+' conftest.er1 >conftest.err
14085 rm -f conftest.er1
14086 cat conftest.err >&5
14087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14088 (exit $ac_status); } &&
14089 { ac_try='test -z "$ac_cxx_werror_flag"
14090 || test ! -s conftest.err'
14091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14092 (eval $ac_try) 2>&5
14093 ac_status=$?
14094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14095 (exit $ac_status); }; } &&
14096 { ac_try='test -s conftest.$ac_objext'
14097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14098 (eval $ac_try) 2>&5
14099 ac_status=$?
14100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14101 (exit $ac_status); }; }; then
14102 bakefile_cv_cxx_compiler___HP_aCC=yes
14103 else
14104 echo "$as_me: failed program was:" >&5
14105 sed 's/^/| /' conftest.$ac_ext >&5
14106
14107 bakefile_cv_cxx_compiler___HP_aCC=no
14108
14109 fi
14110 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14111
14112
14113 fi
14114 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
14115 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6
14116 ac_ext=cc
14117 ac_cpp='$CXXCPP $CPPFLAGS'
14118 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14119 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14120 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14121
14122 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
14123 :; HPCXX=yes
14124 else
14125 :;
14126 fi
14127
14128
14129 ;;
14130
14131 OSF1)
14132
14133
14134 ac_ext=cc
14135 ac_cpp='$CXXCPP $CPPFLAGS'
14136 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14137 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14138 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14139
14140 echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
14141 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6
14142 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
14143 echo $ECHO_N "(cached) $ECHO_C" >&6
14144 else
14145 cat >conftest.$ac_ext <<_ACEOF
14146 /* confdefs.h. */
14147 _ACEOF
14148 cat confdefs.h >>conftest.$ac_ext
14149 cat >>conftest.$ac_ext <<_ACEOF
14150 /* end confdefs.h. */
14151
14152 int
14153 main ()
14154 {
14155
14156 #ifndef __DECCXX
14157 choke me
14158 #endif
14159
14160 ;
14161 return 0;
14162 }
14163 _ACEOF
14164 rm -f conftest.$ac_objext
14165 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14166 (eval $ac_compile) 2>conftest.er1
14167 ac_status=$?
14168 grep -v '^ *+' conftest.er1 >conftest.err
14169 rm -f conftest.er1
14170 cat conftest.err >&5
14171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14172 (exit $ac_status); } &&
14173 { ac_try='test -z "$ac_cxx_werror_flag"
14174 || test ! -s conftest.err'
14175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14176 (eval $ac_try) 2>&5
14177 ac_status=$?
14178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14179 (exit $ac_status); }; } &&
14180 { ac_try='test -s conftest.$ac_objext'
14181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14182 (eval $ac_try) 2>&5
14183 ac_status=$?
14184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14185 (exit $ac_status); }; }; then
14186 bakefile_cv_cxx_compiler___DECCXX=yes
14187 else
14188 echo "$as_me: failed program was:" >&5
14189 sed 's/^/| /' conftest.$ac_ext >&5
14190
14191 bakefile_cv_cxx_compiler___DECCXX=no
14192
14193 fi
14194 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14195
14196
14197 fi
14198 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
14199 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6
14200 ac_ext=cc
14201 ac_cpp='$CXXCPP $CPPFLAGS'
14202 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14203 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14204 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14205
14206 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
14207 :; COMPAQCXX=yes
14208 else
14209 :;
14210 fi
14211
14212
14213 ;;
14214
14215 SunOS)
14216
14217
14218 ac_ext=cc
14219 ac_cpp='$CXXCPP $CPPFLAGS'
14220 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14221 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14222 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14223
14224 echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
14225 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6
14226 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
14227 echo $ECHO_N "(cached) $ECHO_C" >&6
14228 else
14229 cat >conftest.$ac_ext <<_ACEOF
14230 /* confdefs.h. */
14231 _ACEOF
14232 cat confdefs.h >>conftest.$ac_ext
14233 cat >>conftest.$ac_ext <<_ACEOF
14234 /* end confdefs.h. */
14235
14236 int
14237 main ()
14238 {
14239
14240 #ifndef __SUNPRO_CC
14241 choke me
14242 #endif
14243
14244 ;
14245 return 0;
14246 }
14247 _ACEOF
14248 rm -f conftest.$ac_objext
14249 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14250 (eval $ac_compile) 2>conftest.er1
14251 ac_status=$?
14252 grep -v '^ *+' conftest.er1 >conftest.err
14253 rm -f conftest.er1
14254 cat conftest.err >&5
14255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14256 (exit $ac_status); } &&
14257 { ac_try='test -z "$ac_cxx_werror_flag"
14258 || test ! -s conftest.err'
14259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14260 (eval $ac_try) 2>&5
14261 ac_status=$?
14262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14263 (exit $ac_status); }; } &&
14264 { ac_try='test -s conftest.$ac_objext'
14265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14266 (eval $ac_try) 2>&5
14267 ac_status=$?
14268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14269 (exit $ac_status); }; }; then
14270 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
14271 else
14272 echo "$as_me: failed program was:" >&5
14273 sed 's/^/| /' conftest.$ac_ext >&5
14274
14275 bakefile_cv_cxx_compiler___SUNPRO_CC=no
14276
14277 fi
14278 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14279
14280
14281 fi
14282 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
14283 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6
14284 ac_ext=cc
14285 ac_cpp='$CXXCPP $CPPFLAGS'
14286 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14287 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14288 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14289
14290 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
14291 :; SUNCXX=yes
14292 else
14293 :;
14294 fi
14295
14296
14297 ;;
14298 esac
14299 fi
14300
14301
14302
14303 ac_ext=c
14304 ac_cpp='$CPP $CPPFLAGS'
14305 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14306 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14307 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14308
14309
14310 if test -n "$ac_tool_prefix"; then
14311 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
14312 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
14313 echo "$as_me:$LINENO: checking for $ac_word" >&5
14314 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14315 if test "${ac_cv_prog_RANLIB+set}" = set; then
14316 echo $ECHO_N "(cached) $ECHO_C" >&6
14317 else
14318 if test -n "$RANLIB"; then
14319 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
14320 else
14321 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14322 for as_dir in $PATH
14323 do
14324 IFS=$as_save_IFS
14325 test -z "$as_dir" && as_dir=.
14326 for ac_exec_ext in '' $ac_executable_extensions; do
14327 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14328 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
14329 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14330 break 2
14331 fi
14332 done
14333 done
14334
14335 fi
14336 fi
14337 RANLIB=$ac_cv_prog_RANLIB
14338 if test -n "$RANLIB"; then
14339 echo "$as_me:$LINENO: result: $RANLIB" >&5
14340 echo "${ECHO_T}$RANLIB" >&6
14341 else
14342 echo "$as_me:$LINENO: result: no" >&5
14343 echo "${ECHO_T}no" >&6
14344 fi
14345
14346 fi
14347 if test -z "$ac_cv_prog_RANLIB"; then
14348 ac_ct_RANLIB=$RANLIB
14349 # Extract the first word of "ranlib", so it can be a program name with args.
14350 set dummy ranlib; ac_word=$2
14351 echo "$as_me:$LINENO: checking for $ac_word" >&5
14352 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14353 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
14354 echo $ECHO_N "(cached) $ECHO_C" >&6
14355 else
14356 if test -n "$ac_ct_RANLIB"; then
14357 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
14358 else
14359 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14360 for as_dir in $PATH
14361 do
14362 IFS=$as_save_IFS
14363 test -z "$as_dir" && as_dir=.
14364 for ac_exec_ext in '' $ac_executable_extensions; do
14365 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14366 ac_cv_prog_ac_ct_RANLIB="ranlib"
14367 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14368 break 2
14369 fi
14370 done
14371 done
14372
14373 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
14374 fi
14375 fi
14376 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
14377 if test -n "$ac_ct_RANLIB"; then
14378 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
14379 echo "${ECHO_T}$ac_ct_RANLIB" >&6
14380 else
14381 echo "$as_me:$LINENO: result: no" >&5
14382 echo "${ECHO_T}no" >&6
14383 fi
14384
14385 RANLIB=$ac_ct_RANLIB
14386 else
14387 RANLIB="$ac_cv_prog_RANLIB"
14388 fi
14389
14390
14391 if test -n "$ac_tool_prefix"; then
14392 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
14393 set dummy ${ac_tool_prefix}ar; ac_word=$2
14394 echo "$as_me:$LINENO: checking for $ac_word" >&5
14395 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14396 if test "${ac_cv_prog_AR+set}" = set; then
14397 echo $ECHO_N "(cached) $ECHO_C" >&6
14398 else
14399 if test -n "$AR"; then
14400 ac_cv_prog_AR="$AR" # Let the user override the test.
14401 else
14402 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14403 for as_dir in $PATH
14404 do
14405 IFS=$as_save_IFS
14406 test -z "$as_dir" && as_dir=.
14407 for ac_exec_ext in '' $ac_executable_extensions; do
14408 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14409 ac_cv_prog_AR="${ac_tool_prefix}ar"
14410 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14411 break 2
14412 fi
14413 done
14414 done
14415
14416 fi
14417 fi
14418 AR=$ac_cv_prog_AR
14419 if test -n "$AR"; then
14420 echo "$as_me:$LINENO: result: $AR" >&5
14421 echo "${ECHO_T}$AR" >&6
14422 else
14423 echo "$as_me:$LINENO: result: no" >&5
14424 echo "${ECHO_T}no" >&6
14425 fi
14426
14427 fi
14428 if test -z "$ac_cv_prog_AR"; then
14429 ac_ct_AR=$AR
14430 # Extract the first word of "ar", so it can be a program name with args.
14431 set dummy ar; ac_word=$2
14432 echo "$as_me:$LINENO: checking for $ac_word" >&5
14433 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14434 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
14435 echo $ECHO_N "(cached) $ECHO_C" >&6
14436 else
14437 if test -n "$ac_ct_AR"; then
14438 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
14439 else
14440 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14441 for as_dir in $PATH
14442 do
14443 IFS=$as_save_IFS
14444 test -z "$as_dir" && as_dir=.
14445 for ac_exec_ext in '' $ac_executable_extensions; do
14446 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14447 ac_cv_prog_ac_ct_AR="ar"
14448 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14449 break 2
14450 fi
14451 done
14452 done
14453
14454 fi
14455 fi
14456 ac_ct_AR=$ac_cv_prog_ac_ct_AR
14457 if test -n "$ac_ct_AR"; then
14458 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
14459 echo "${ECHO_T}$ac_ct_AR" >&6
14460 else
14461 echo "$as_me:$LINENO: result: no" >&5
14462 echo "${ECHO_T}no" >&6
14463 fi
14464
14465 AR=$ac_ct_AR
14466 else
14467 AR="$ac_cv_prog_AR"
14468 fi
14469
14470 if test "x$AR" = "x" ; then
14471 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
14472 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
14473 { (exit 1); exit 1; }; }
14474 fi
14475
14476 # Find a good install program. We prefer a C program (faster),
14477 # so one script is as good as another. But avoid the broken or
14478 # incompatible versions:
14479 # SysV /etc/install, /usr/sbin/install
14480 # SunOS /usr/etc/install
14481 # IRIX /sbin/install
14482 # AIX /bin/install
14483 # AmigaOS /C/install, which installs bootblocks on floppy discs
14484 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
14485 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
14486 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
14487 # OS/2's system install, which has a completely different semantic
14488 # ./install, which can be erroneously created by make from ./install.sh.
14489 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
14490 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
14491 if test -z "$INSTALL"; then
14492 if test "${ac_cv_path_install+set}" = set; then
14493 echo $ECHO_N "(cached) $ECHO_C" >&6
14494 else
14495 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14496 for as_dir in $PATH
14497 do
14498 IFS=$as_save_IFS
14499 test -z "$as_dir" && as_dir=.
14500 # Account for people who put trailing slashes in PATH elements.
14501 case $as_dir/ in
14502 ./ | .// | /cC/* | \
14503 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
14504 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
14505 /usr/ucb/* ) ;;
14506 *)
14507 # OSF1 and SCO ODT 3.0 have their own names for install.
14508 # Don't use installbsd from OSF since it installs stuff as root
14509 # by default.
14510 for ac_prog in ginstall scoinst install; do
14511 for ac_exec_ext in '' $ac_executable_extensions; do
14512 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
14513 if test $ac_prog = install &&
14514 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
14515 # AIX install. It has an incompatible calling convention.
14516 :
14517 elif test $ac_prog = install &&
14518 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
14519 # program-specific install script used by HP pwplus--don't use.
14520 :
14521 else
14522 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
14523 break 3
14524 fi
14525 fi
14526 done
14527 done
14528 ;;
14529 esac
14530 done
14531
14532
14533 fi
14534 if test "${ac_cv_path_install+set}" = set; then
14535 INSTALL=$ac_cv_path_install
14536 else
14537 # As a last resort, use the slow shell script. We don't cache a
14538 # path for INSTALL within a source directory, because that will
14539 # break other packages using the cache if that directory is
14540 # removed, or if the path is relative.
14541 INSTALL=$ac_install_sh
14542 fi
14543 fi
14544 echo "$as_me:$LINENO: result: $INSTALL" >&5
14545 echo "${ECHO_T}$INSTALL" >&6
14546
14547 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
14548 # It thinks the first close brace ends the variable substitution.
14549 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
14550
14551 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
14552
14553 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
14554
14555
14556 case ${INSTALL} in
14557 /* ) # Absolute
14558 ;;
14559 ?:* ) # Drive letter, considered as absolute.
14560 ;;
14561 *)
14562 INSTALL=`pwd`/${INSTALL} ;;
14563 esac
14564
14565
14566 case "${host}" in
14567
14568 *-*-darwin* )
14569 INSTALL_PROGRAM="cp -fp"
14570 INSTALL_DATA="cp -fp"
14571 ;;
14572 *)
14573 ;;
14574 esac
14575
14576 if test -n "$ac_tool_prefix"; then
14577 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
14578 set dummy ${ac_tool_prefix}strip; ac_word=$2
14579 echo "$as_me:$LINENO: checking for $ac_word" >&5
14580 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14581 if test "${ac_cv_prog_STRIP+set}" = set; then
14582 echo $ECHO_N "(cached) $ECHO_C" >&6
14583 else
14584 if test -n "$STRIP"; then
14585 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
14586 else
14587 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14588 for as_dir in $PATH
14589 do
14590 IFS=$as_save_IFS
14591 test -z "$as_dir" && as_dir=.
14592 for ac_exec_ext in '' $ac_executable_extensions; do
14593 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14594 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
14595 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14596 break 2
14597 fi
14598 done
14599 done
14600
14601 fi
14602 fi
14603 STRIP=$ac_cv_prog_STRIP
14604 if test -n "$STRIP"; then
14605 echo "$as_me:$LINENO: result: $STRIP" >&5
14606 echo "${ECHO_T}$STRIP" >&6
14607 else
14608 echo "$as_me:$LINENO: result: no" >&5
14609 echo "${ECHO_T}no" >&6
14610 fi
14611
14612 fi
14613 if test -z "$ac_cv_prog_STRIP"; then
14614 ac_ct_STRIP=$STRIP
14615 # Extract the first word of "strip", so it can be a program name with args.
14616 set dummy strip; ac_word=$2
14617 echo "$as_me:$LINENO: checking for $ac_word" >&5
14618 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14619 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
14620 echo $ECHO_N "(cached) $ECHO_C" >&6
14621 else
14622 if test -n "$ac_ct_STRIP"; then
14623 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
14624 else
14625 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14626 for as_dir in $PATH
14627 do
14628 IFS=$as_save_IFS
14629 test -z "$as_dir" && as_dir=.
14630 for ac_exec_ext in '' $ac_executable_extensions; do
14631 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14632 ac_cv_prog_ac_ct_STRIP="strip"
14633 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14634 break 2
14635 fi
14636 done
14637 done
14638
14639 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP="true"
14640 fi
14641 fi
14642 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
14643 if test -n "$ac_ct_STRIP"; then
14644 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
14645 echo "${ECHO_T}$ac_ct_STRIP" >&6
14646 else
14647 echo "$as_me:$LINENO: result: no" >&5
14648 echo "${ECHO_T}no" >&6
14649 fi
14650
14651 STRIP=$ac_ct_STRIP
14652 else
14653 STRIP="$ac_cv_prog_STRIP"
14654 fi
14655
14656
14657 if test "$wxUSE_WINE" = "yes"; then
14658 if test -n "$ac_tool_prefix"; then
14659 # Extract the first word of "${ac_tool_prefix}wrc", so it can be a program name with args.
14660 set dummy ${ac_tool_prefix}wrc; ac_word=$2
14661 echo "$as_me:$LINENO: checking for $ac_word" >&5
14662 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14663 if test "${ac_cv_prog_WINDRES+set}" = set; then
14664 echo $ECHO_N "(cached) $ECHO_C" >&6
14665 else
14666 if test -n "$WINDRES"; then
14667 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
14668 else
14669 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14670 for as_dir in $PATH
14671 do
14672 IFS=$as_save_IFS
14673 test -z "$as_dir" && as_dir=.
14674 for ac_exec_ext in '' $ac_executable_extensions; do
14675 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14676 ac_cv_prog_WINDRES="${ac_tool_prefix}wrc"
14677 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14678 break 2
14679 fi
14680 done
14681 done
14682
14683 fi
14684 fi
14685 WINDRES=$ac_cv_prog_WINDRES
14686 if test -n "$WINDRES"; then
14687 echo "$as_me:$LINENO: result: $WINDRES" >&5
14688 echo "${ECHO_T}$WINDRES" >&6
14689 else
14690 echo "$as_me:$LINENO: result: no" >&5
14691 echo "${ECHO_T}no" >&6
14692 fi
14693
14694 fi
14695 if test -z "$ac_cv_prog_WINDRES"; then
14696 ac_ct_WINDRES=$WINDRES
14697 # Extract the first word of "wrc", so it can be a program name with args.
14698 set dummy wrc; ac_word=$2
14699 echo "$as_me:$LINENO: checking for $ac_word" >&5
14700 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14701 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
14702 echo $ECHO_N "(cached) $ECHO_C" >&6
14703 else
14704 if test -n "$ac_ct_WINDRES"; then
14705 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
14706 else
14707 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14708 for as_dir in $PATH
14709 do
14710 IFS=$as_save_IFS
14711 test -z "$as_dir" && as_dir=.
14712 for ac_exec_ext in '' $ac_executable_extensions; do
14713 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14714 ac_cv_prog_ac_ct_WINDRES="wrc"
14715 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14716 break 2
14717 fi
14718 done
14719 done
14720
14721 fi
14722 fi
14723 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
14724 if test -n "$ac_ct_WINDRES"; then
14725 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
14726 echo "${ECHO_T}$ac_ct_WINDRES" >&6
14727 else
14728 echo "$as_me:$LINENO: result: no" >&5
14729 echo "${ECHO_T}no" >&6
14730 fi
14731
14732 WINDRES=$ac_ct_WINDRES
14733 else
14734 WINDRES="$ac_cv_prog_WINDRES"
14735 fi
14736
14737 RESCOMP="$WINDRES"
14738 else
14739 case "${host}" in
14740 *-*-cygwin* | *-*-mingw32* )
14741 if test -n "$ac_tool_prefix"; then
14742 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
14743 set dummy ${ac_tool_prefix}windres; ac_word=$2
14744 echo "$as_me:$LINENO: checking for $ac_word" >&5
14745 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14746 if test "${ac_cv_prog_WINDRES+set}" = set; then
14747 echo $ECHO_N "(cached) $ECHO_C" >&6
14748 else
14749 if test -n "$WINDRES"; then
14750 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
14751 else
14752 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14753 for as_dir in $PATH
14754 do
14755 IFS=$as_save_IFS
14756 test -z "$as_dir" && as_dir=.
14757 for ac_exec_ext in '' $ac_executable_extensions; do
14758 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14759 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
14760 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14761 break 2
14762 fi
14763 done
14764 done
14765
14766 fi
14767 fi
14768 WINDRES=$ac_cv_prog_WINDRES
14769 if test -n "$WINDRES"; then
14770 echo "$as_me:$LINENO: result: $WINDRES" >&5
14771 echo "${ECHO_T}$WINDRES" >&6
14772 else
14773 echo "$as_me:$LINENO: result: no" >&5
14774 echo "${ECHO_T}no" >&6
14775 fi
14776
14777 fi
14778 if test -z "$ac_cv_prog_WINDRES"; then
14779 ac_ct_WINDRES=$WINDRES
14780 # Extract the first word of "windres", so it can be a program name with args.
14781 set dummy windres; ac_word=$2
14782 echo "$as_me:$LINENO: checking for $ac_word" >&5
14783 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14784 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
14785 echo $ECHO_N "(cached) $ECHO_C" >&6
14786 else
14787 if test -n "$ac_ct_WINDRES"; then
14788 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
14789 else
14790 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14791 for as_dir in $PATH
14792 do
14793 IFS=$as_save_IFS
14794 test -z "$as_dir" && as_dir=.
14795 for ac_exec_ext in '' $ac_executable_extensions; do
14796 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14797 ac_cv_prog_ac_ct_WINDRES="windres"
14798 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14799 break 2
14800 fi
14801 done
14802 done
14803
14804 fi
14805 fi
14806 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
14807 if test -n "$ac_ct_WINDRES"; then
14808 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
14809 echo "${ECHO_T}$ac_ct_WINDRES" >&6
14810 else
14811 echo "$as_me:$LINENO: result: no" >&5
14812 echo "${ECHO_T}no" >&6
14813 fi
14814
14815 WINDRES=$ac_ct_WINDRES
14816 else
14817 WINDRES="$ac_cv_prog_WINDRES"
14818 fi
14819
14820 RESCOMP="$WINDRES"
14821 if test -n "$ac_tool_prefix"; then
14822 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
14823 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
14824 echo "$as_me:$LINENO: checking for $ac_word" >&5
14825 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14826 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
14827 echo $ECHO_N "(cached) $ECHO_C" >&6
14828 else
14829 if test -n "$DLLTOOL"; then
14830 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
14831 else
14832 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14833 for as_dir in $PATH
14834 do
14835 IFS=$as_save_IFS
14836 test -z "$as_dir" && as_dir=.
14837 for ac_exec_ext in '' $ac_executable_extensions; do
14838 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14839 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
14840 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14841 break 2
14842 fi
14843 done
14844 done
14845
14846 fi
14847 fi
14848 DLLTOOL=$ac_cv_prog_DLLTOOL
14849 if test -n "$DLLTOOL"; then
14850 echo "$as_me:$LINENO: result: $DLLTOOL" >&5
14851 echo "${ECHO_T}$DLLTOOL" >&6
14852 else
14853 echo "$as_me:$LINENO: result: no" >&5
14854 echo "${ECHO_T}no" >&6
14855 fi
14856
14857 fi
14858 if test -z "$ac_cv_prog_DLLTOOL"; then
14859 ac_ct_DLLTOOL=$DLLTOOL
14860 # Extract the first word of "dlltool", so it can be a program name with args.
14861 set dummy dlltool; ac_word=$2
14862 echo "$as_me:$LINENO: checking for $ac_word" >&5
14863 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14864 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
14865 echo $ECHO_N "(cached) $ECHO_C" >&6
14866 else
14867 if test -n "$ac_ct_DLLTOOL"; then
14868 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
14869 else
14870 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14871 for as_dir in $PATH
14872 do
14873 IFS=$as_save_IFS
14874 test -z "$as_dir" && as_dir=.
14875 for ac_exec_ext in '' $ac_executable_extensions; do
14876 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14877 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
14878 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14879 break 2
14880 fi
14881 done
14882 done
14883
14884 fi
14885 fi
14886 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
14887 if test -n "$ac_ct_DLLTOOL"; then
14888 echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
14889 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6
14890 else
14891 echo "$as_me:$LINENO: result: no" >&5
14892 echo "${ECHO_T}no" >&6
14893 fi
14894
14895 DLLTOOL=$ac_ct_DLLTOOL
14896 else
14897 DLLTOOL="$ac_cv_prog_DLLTOOL"
14898 fi
14899
14900 ;;
14901 esac
14902 fi
14903
14904 echo "$as_me:$LINENO: checking if make is GNU make" >&5
14905 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
14906 if test "${wx_cv_prog_makeisgnu+set}" = set; then
14907 echo $ECHO_N "(cached) $ECHO_C" >&6
14908 else
14909
14910 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
14911 egrep -s GNU > /dev/null); then
14912 wx_cv_prog_makeisgnu="yes"
14913 else
14914 wx_cv_prog_makeisgnu="no"
14915 fi
14916
14917 fi
14918 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
14919 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
14920
14921 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
14922 IF_GNU_MAKE=""
14923 else
14924 IF_GNU_MAKE="#"
14925 fi
14926
14927
14928
14929 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
14930 echo "$as_me:$LINENO: checking if make supports VPATH" >&5
14931 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
14932 if test "${wx_cv_prog_makevpath+set}" = set; then
14933 echo $ECHO_N "(cached) $ECHO_C" >&6
14934 else
14935
14936 cat - << EOF > confMake
14937 check : file
14938 cp \$? \$@
14939 cp \$? final_file
14940 EOF
14941
14942 if test ! -d sub ; then
14943 mkdir sub
14944 fi
14945 echo dummy > sub/file
14946 ${MAKE-make} -f confMake VPATH=sub 2>&5 > /dev/null
14947 RESULT=$?
14948 rm -f sub/file check final_file confMake
14949 rmdir sub
14950 if test "$RESULT" = 0; then
14951 wx_cv_prog_makevpath="yes"
14952 else
14953 wx_cv_prog_makevpath="no"
14954 fi
14955
14956 fi
14957 echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
14958 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
14959
14960 if test "x$wx_cv_prog_makevpath" != "xyes"; then
14961 { { echo "$as_me:$LINENO: error:
14962 You need a make-utility that is able to use the variable
14963 VPATH correctly.
14964 If your version of make does not support VPATH correctly,
14965 please install GNU-make (possibly as gmake), and start
14966 configure with the following command:
14967 export MAKE=gmake; ./configure for sh-type shells
14968 setenv MAKE gmake; ./configure for csh-type shells
14969 Also please do remember to use gmake in this case every time
14970 you are trying to compile.
14971 " >&5
14972 echo "$as_me: error:
14973 You need a make-utility that is able to use the variable
14974 VPATH correctly.
14975 If your version of make does not support VPATH correctly,
14976 please install GNU-make (possibly as gmake), and start
14977 configure with the following command:
14978 export MAKE=gmake; ./configure for sh-type shells
14979 setenv MAKE gmake; ./configure for csh-type shells
14980 Also please do remember to use gmake in this case every time
14981 you are trying to compile.
14982 " >&2;}
14983 { (exit 1); exit 1; }; }
14984 fi fi
14985 echo "$as_me:$LINENO: checking whether ln -s works" >&5
14986 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
14987 LN_S=$as_ln_s
14988 if test "$LN_S" = "ln -s"; then
14989 echo "$as_me:$LINENO: result: yes" >&5
14990 echo "${ECHO_T}yes" >&6
14991 else
14992 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
14993 echo "${ECHO_T}no, using $LN_S" >&6
14994 fi
14995
14996
14997
14998
14999 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
15000 CXXFLAGS="-qunique $CXXFLAGS"
15001 fi
15002
15003 case "${host}" in
15004 powerpc-*-darwin* )
15005 echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
15006 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6
15007 cat >conftest.$ac_ext <<_ACEOF
15008 /* confdefs.h. */
15009 _ACEOF
15010 cat confdefs.h >>conftest.$ac_ext
15011 cat >>conftest.$ac_ext <<_ACEOF
15012 /* end confdefs.h. */
15013
15014 int
15015 main ()
15016 {
15017 #ifndef __POWERPC__
15018 choke me for lack of PowerPC
15019 #endif
15020
15021 ;
15022 return 0;
15023 }
15024 _ACEOF
15025 rm -f conftest.$ac_objext
15026 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15027 (eval $ac_compile) 2>conftest.er1
15028 ac_status=$?
15029 grep -v '^ *+' conftest.er1 >conftest.err
15030 rm -f conftest.er1
15031 cat conftest.err >&5
15032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15033 (exit $ac_status); } &&
15034 { ac_try='test -z "$ac_c_werror_flag"
15035 || test ! -s conftest.err'
15036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15037 (eval $ac_try) 2>&5
15038 ac_status=$?
15039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15040 (exit $ac_status); }; } &&
15041 { ac_try='test -s conftest.$ac_objext'
15042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15043 (eval $ac_try) 2>&5
15044 ac_status=$?
15045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15046 (exit $ac_status); }; }; then
15047 echo "$as_me:$LINENO: result: yes" >&5
15048 echo "${ECHO_T}yes" >&6
15049 else
15050 echo "$as_me: failed program was:" >&5
15051 sed 's/^/| /' conftest.$ac_ext >&5
15052
15053 echo "$as_me:$LINENO: result: no" >&5
15054 echo "${ECHO_T}no" >&6
15055 cat >>confdefs.h <<\_ACEOF
15056 #define __POWERPC__ 1
15057 _ACEOF
15058
15059
15060 fi
15061 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15062 ;;
15063 esac
15064
15065 case "${host}" in
15066 *-*-darwin* )
15067 echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
15068 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6
15069 cat >conftest.$ac_ext <<_ACEOF
15070 /* confdefs.h. */
15071 _ACEOF
15072 cat confdefs.h >>conftest.$ac_ext
15073 cat >>conftest.$ac_ext <<_ACEOF
15074 /* end confdefs.h. */
15075 #include <CoreFoundation/CFBase.h>
15076
15077 int
15078 main ()
15079 {
15080
15081 ;
15082 return 0;
15083 }
15084 _ACEOF
15085 rm -f conftest.$ac_objext
15086 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15087 (eval $ac_compile) 2>conftest.er1
15088 ac_status=$?
15089 grep -v '^ *+' conftest.er1 >conftest.err
15090 rm -f conftest.er1
15091 cat conftest.err >&5
15092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15093 (exit $ac_status); } &&
15094 { ac_try='test -z "$ac_c_werror_flag"
15095 || test ! -s conftest.err'
15096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15097 (eval $ac_try) 2>&5
15098 ac_status=$?
15099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15100 (exit $ac_status); }; } &&
15101 { ac_try='test -s conftest.$ac_objext'
15102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15103 (eval $ac_try) 2>&5
15104 ac_status=$?
15105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15106 (exit $ac_status); }; }; then
15107 echo "$as_me:$LINENO: result: yes" >&5
15108 echo "${ECHO_T}yes" >&6
15109 else
15110 echo "$as_me: failed program was:" >&5
15111 sed 's/^/| /' conftest.$ac_ext >&5
15112
15113 echo "$as_me:$LINENO: result: no" >&5
15114 echo "${ECHO_T}no" >&6
15115 echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
15116 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6
15117 cat >conftest.$ac_ext <<_ACEOF
15118 /* confdefs.h. */
15119 _ACEOF
15120 cat confdefs.h >>conftest.$ac_ext
15121 cat >>conftest.$ac_ext <<_ACEOF
15122 /* end confdefs.h. */
15123 #define __CF_USE_FRAMEWORK_INCLUDES__
15124 #include <CoreFoundation/CFBase.h>
15125
15126 int
15127 main ()
15128 {
15129
15130 ;
15131 return 0;
15132 }
15133 _ACEOF
15134 rm -f conftest.$ac_objext
15135 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15136 (eval $ac_compile) 2>conftest.er1
15137 ac_status=$?
15138 grep -v '^ *+' conftest.er1 >conftest.err
15139 rm -f conftest.er1
15140 cat conftest.err >&5
15141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15142 (exit $ac_status); } &&
15143 { ac_try='test -z "$ac_c_werror_flag"
15144 || test ! -s conftest.err'
15145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15146 (eval $ac_try) 2>&5
15147 ac_status=$?
15148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15149 (exit $ac_status); }; } &&
15150 { ac_try='test -s conftest.$ac_objext'
15151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15152 (eval $ac_try) 2>&5
15153 ac_status=$?
15154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15155 (exit $ac_status); }; }; then
15156 echo "$as_me:$LINENO: result: yes" >&5
15157 echo "${ECHO_T}yes" >&6
15158 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
15159 else
15160 echo "$as_me: failed program was:" >&5
15161 sed 's/^/| /' conftest.$ac_ext >&5
15162
15163 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
15164 See \`config.log' for more details." >&5
15165 echo "$as_me: error: no. CoreFoundation not available.
15166 See \`config.log' for more details." >&2;}
15167 { (exit 1); exit 1; }; }
15168
15169 fi
15170 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15171
15172
15173 fi
15174 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15175 ;;
15176 esac
15177
15178 case "${host}" in
15179 *-pc-os2_emx | *-pc-os2-emx )
15180 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
15181 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
15182 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
15183 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
15184 echo $ECHO_N "(cached) $ECHO_C" >&6
15185 else
15186 ac_check_lib_save_LIBS=$LIBS
15187 LIBS="-lcExt $LIBS"
15188 cat >conftest.$ac_ext <<_ACEOF
15189 /* confdefs.h. */
15190 _ACEOF
15191 cat confdefs.h >>conftest.$ac_ext
15192 cat >>conftest.$ac_ext <<_ACEOF
15193 /* end confdefs.h. */
15194
15195 /* Override any gcc2 internal prototype to avoid an error. */
15196 #ifdef __cplusplus
15197 extern "C"
15198 #endif
15199 /* We use char because int might match the return type of a gcc2
15200 builtin and then its argument prototype would still apply. */
15201 char drand48 ();
15202 int
15203 main ()
15204 {
15205 drand48 ();
15206 ;
15207 return 0;
15208 }
15209 _ACEOF
15210 rm -f conftest.$ac_objext conftest$ac_exeext
15211 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15212 (eval $ac_link) 2>conftest.er1
15213 ac_status=$?
15214 grep -v '^ *+' conftest.er1 >conftest.err
15215 rm -f conftest.er1
15216 cat conftest.err >&5
15217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15218 (exit $ac_status); } &&
15219 { ac_try='test -z "$ac_c_werror_flag"
15220 || test ! -s conftest.err'
15221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15222 (eval $ac_try) 2>&5
15223 ac_status=$?
15224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15225 (exit $ac_status); }; } &&
15226 { ac_try='test -s conftest$ac_exeext'
15227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15228 (eval $ac_try) 2>&5
15229 ac_status=$?
15230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15231 (exit $ac_status); }; }; then
15232 ac_cv_lib_cExt_drand48=yes
15233 else
15234 echo "$as_me: failed program was:" >&5
15235 sed 's/^/| /' conftest.$ac_ext >&5
15236
15237 ac_cv_lib_cExt_drand48=no
15238 fi
15239 rm -f conftest.err conftest.$ac_objext \
15240 conftest$ac_exeext conftest.$ac_ext
15241 LIBS=$ac_check_lib_save_LIBS
15242 fi
15243 echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
15244 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
15245 if test $ac_cv_lib_cExt_drand48 = yes; then
15246 LIBS="$LIBS -lcExt"
15247 fi
15248
15249 else
15250 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
15251 fi
15252 echo "$as_me:$LINENO: checking for gcc/libc version" >&5
15253 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6
15254 if test "${wx_cv_gccversion+set}" = set; then
15255 echo $ECHO_N "(cached) $ECHO_C" >&6
15256 else
15257
15258 if test "$cross_compiling" = yes; then
15259 wx_cv_gccversion="EMX2"
15260
15261 else
15262 cat >conftest.$ac_ext <<_ACEOF
15263 /* confdefs.h. */
15264 _ACEOF
15265 cat confdefs.h >>conftest.$ac_ext
15266 cat >>conftest.$ac_ext <<_ACEOF
15267 /* end confdefs.h. */
15268
15269 #include <stdio.h>
15270
15271 int main()
15272 {
15273 FILE *f=fopen("conftestval", "w");
15274 if (!f) exit(1);
15275 fprintf(f,
15276 #if (__GNUC__ < 3)
15277 "EMX2"
15278 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
15279 "EMX3"
15280 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
15281 "Innotek5"
15282 #else
15283 "Innotek6"
15284 #endif
15285 );
15286 exit(0);
15287 }
15288
15289 _ACEOF
15290 rm -f conftest$ac_exeext
15291 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15292 (eval $ac_link) 2>&5
15293 ac_status=$?
15294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15295 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15297 (eval $ac_try) 2>&5
15298 ac_status=$?
15299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15300 (exit $ac_status); }; }; then
15301 wx_cv_gccversion=`cat conftestval`
15302 else
15303 echo "$as_me: program exited with status $ac_status" >&5
15304 echo "$as_me: failed program was:" >&5
15305 sed 's/^/| /' conftest.$ac_ext >&5
15306
15307 ( exit $ac_status )
15308 wx_cv_gccversion="EMX2"
15309 fi
15310 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15311 fi
15312
15313 fi
15314 echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
15315 echo "${ECHO_T}$wx_cv_gccversion" >&6
15316 if test "$wx_cv_gccversion" = "EMX2"; then
15317 LIBS="$LIBS -lstdcpp"
15318 LDFLAGS="$LDFLAGS -Zsysv-signals"
15319 else
15320 if test "$wx_cv_gccversion" = "EMX3"; then
15321 LIBS="$LIBS -lstdcxx -lgcc"
15322 LDFLAGS="$LDFLAGS -Zsysv-signals"
15323 else
15324 LIBS="$LIBS -lstdc++"
15325 fi
15326 fi
15327 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
15328 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
15329 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
15330 wxUSE_OMF=yes
15331 enable_omf=yes
15332 fi
15333 ;;
15334 *)
15335
15336 ac_ext=cc
15337 ac_cpp='$CXXCPP $CPPFLAGS'
15338 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15339 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15340 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15341
15342
15343 echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
15344 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6
15345 if test "${ac_cv_string_strcasecmp+set}" = set; then
15346 echo $ECHO_N "(cached) $ECHO_C" >&6
15347 else
15348
15349 cat >conftest.$ac_ext <<_ACEOF
15350 /* confdefs.h. */
15351 _ACEOF
15352 cat confdefs.h >>conftest.$ac_ext
15353 cat >>conftest.$ac_ext <<_ACEOF
15354 /* end confdefs.h. */
15355
15356 #include <string.h>
15357
15358 int
15359 main ()
15360 {
15361
15362 strcasecmp("foo", "bar");
15363
15364 ;
15365 return 0;
15366 }
15367 _ACEOF
15368 rm -f conftest.$ac_objext conftest$ac_exeext
15369 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15370 (eval $ac_link) 2>conftest.er1
15371 ac_status=$?
15372 grep -v '^ *+' conftest.er1 >conftest.err
15373 rm -f conftest.er1
15374 cat conftest.err >&5
15375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15376 (exit $ac_status); } &&
15377 { ac_try='test -z "$ac_cxx_werror_flag"
15378 || test ! -s conftest.err'
15379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15380 (eval $ac_try) 2>&5
15381 ac_status=$?
15382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15383 (exit $ac_status); }; } &&
15384 { ac_try='test -s conftest$ac_exeext'
15385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15386 (eval $ac_try) 2>&5
15387 ac_status=$?
15388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15389 (exit $ac_status); }; }; then
15390 ac_cv_string_strcasecmp=yes
15391 else
15392 echo "$as_me: failed program was:" >&5
15393 sed 's/^/| /' conftest.$ac_ext >&5
15394
15395 ac_cv_string_strcasecmp=no
15396
15397 fi
15398 rm -f conftest.err conftest.$ac_objext \
15399 conftest$ac_exeext conftest.$ac_ext
15400
15401 fi
15402 echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
15403 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6
15404
15405 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
15406 cat >>confdefs.h <<\_ACEOF
15407 #define HAVE_STRCASECMP_IN_STRING_H 1
15408 _ACEOF
15409
15410 else
15411 echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
15412 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6
15413 if test "${ac_cv_strings_strcasecmp+set}" = set; then
15414 echo $ECHO_N "(cached) $ECHO_C" >&6
15415 else
15416
15417 cat >conftest.$ac_ext <<_ACEOF
15418 /* confdefs.h. */
15419 _ACEOF
15420 cat confdefs.h >>conftest.$ac_ext
15421 cat >>conftest.$ac_ext <<_ACEOF
15422 /* end confdefs.h. */
15423
15424 #include <strings.h>
15425
15426 int
15427 main ()
15428 {
15429
15430 strcasecmp("foo", "bar");
15431
15432 ;
15433 return 0;
15434 }
15435 _ACEOF
15436 rm -f conftest.$ac_objext conftest$ac_exeext
15437 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15438 (eval $ac_link) 2>conftest.er1
15439 ac_status=$?
15440 grep -v '^ *+' conftest.er1 >conftest.err
15441 rm -f conftest.er1
15442 cat conftest.err >&5
15443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15444 (exit $ac_status); } &&
15445 { ac_try='test -z "$ac_cxx_werror_flag"
15446 || test ! -s conftest.err'
15447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15448 (eval $ac_try) 2>&5
15449 ac_status=$?
15450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15451 (exit $ac_status); }; } &&
15452 { ac_try='test -s conftest$ac_exeext'
15453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15454 (eval $ac_try) 2>&5
15455 ac_status=$?
15456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15457 (exit $ac_status); }; }; then
15458 ac_cv_strings_strcasecmp=yes
15459 else
15460 echo "$as_me: failed program was:" >&5
15461 sed 's/^/| /' conftest.$ac_ext >&5
15462
15463 ac_cv_strings_strcasecmp=no
15464
15465 fi
15466 rm -f conftest.err conftest.$ac_objext \
15467 conftest$ac_exeext conftest.$ac_ext
15468
15469 fi
15470 echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
15471 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6
15472
15473 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
15474 cat >>confdefs.h <<\_ACEOF
15475 #define HAVE_STRCASECMP_IN_STRINGS_H 1
15476 _ACEOF
15477
15478 else
15479 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
15480 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
15481 { (exit 1); exit 1; }; }
15482 fi
15483 fi
15484
15485 ac_ext=c
15486 ac_cpp='$CPP $CPPFLAGS'
15487 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15488 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15489 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15490
15491 ;;
15492 esac
15493
15494
15495 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
15496 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
15497 if test "${ac_cv_header_stdc+set}" = set; then
15498 echo $ECHO_N "(cached) $ECHO_C" >&6
15499 else
15500 cat >conftest.$ac_ext <<_ACEOF
15501 /* confdefs.h. */
15502 _ACEOF
15503 cat confdefs.h >>conftest.$ac_ext
15504 cat >>conftest.$ac_ext <<_ACEOF
15505 /* end confdefs.h. */
15506 #include <stdlib.h>
15507 #include <stdarg.h>
15508 #include <string.h>
15509 #include <float.h>
15510
15511 int
15512 main ()
15513 {
15514
15515 ;
15516 return 0;
15517 }
15518 _ACEOF
15519 rm -f conftest.$ac_objext
15520 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15521 (eval $ac_compile) 2>conftest.er1
15522 ac_status=$?
15523 grep -v '^ *+' conftest.er1 >conftest.err
15524 rm -f conftest.er1
15525 cat conftest.err >&5
15526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15527 (exit $ac_status); } &&
15528 { ac_try='test -z "$ac_c_werror_flag"
15529 || test ! -s conftest.err'
15530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15531 (eval $ac_try) 2>&5
15532 ac_status=$?
15533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15534 (exit $ac_status); }; } &&
15535 { ac_try='test -s conftest.$ac_objext'
15536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15537 (eval $ac_try) 2>&5
15538 ac_status=$?
15539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15540 (exit $ac_status); }; }; then
15541 ac_cv_header_stdc=yes
15542 else
15543 echo "$as_me: failed program was:" >&5
15544 sed 's/^/| /' conftest.$ac_ext >&5
15545
15546 ac_cv_header_stdc=no
15547 fi
15548 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15549
15550 if test $ac_cv_header_stdc = yes; then
15551 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
15552 cat >conftest.$ac_ext <<_ACEOF
15553 /* confdefs.h. */
15554 _ACEOF
15555 cat confdefs.h >>conftest.$ac_ext
15556 cat >>conftest.$ac_ext <<_ACEOF
15557 /* end confdefs.h. */
15558 #include <string.h>
15559
15560 _ACEOF
15561 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15562 $EGREP "memchr" >/dev/null 2>&1; then
15563 :
15564 else
15565 ac_cv_header_stdc=no
15566 fi
15567 rm -f conftest*
15568
15569 fi
15570
15571 if test $ac_cv_header_stdc = yes; then
15572 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
15573 cat >conftest.$ac_ext <<_ACEOF
15574 /* confdefs.h. */
15575 _ACEOF
15576 cat confdefs.h >>conftest.$ac_ext
15577 cat >>conftest.$ac_ext <<_ACEOF
15578 /* end confdefs.h. */
15579 #include <stdlib.h>
15580
15581 _ACEOF
15582 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15583 $EGREP "free" >/dev/null 2>&1; then
15584 :
15585 else
15586 ac_cv_header_stdc=no
15587 fi
15588 rm -f conftest*
15589
15590 fi
15591
15592 if test $ac_cv_header_stdc = yes; then
15593 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
15594 if test "$cross_compiling" = yes; then
15595 :
15596 else
15597 cat >conftest.$ac_ext <<_ACEOF
15598 /* confdefs.h. */
15599 _ACEOF
15600 cat confdefs.h >>conftest.$ac_ext
15601 cat >>conftest.$ac_ext <<_ACEOF
15602 /* end confdefs.h. */
15603 #include <ctype.h>
15604 #if ((' ' & 0x0FF) == 0x020)
15605 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
15606 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
15607 #else
15608 # define ISLOWER(c) \
15609 (('a' <= (c) && (c) <= 'i') \
15610 || ('j' <= (c) && (c) <= 'r') \
15611 || ('s' <= (c) && (c) <= 'z'))
15612 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
15613 #endif
15614
15615 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
15616 int
15617 main ()
15618 {
15619 int i;
15620 for (i = 0; i < 256; i++)
15621 if (XOR (islower (i), ISLOWER (i))
15622 || toupper (i) != TOUPPER (i))
15623 exit(2);
15624 exit (0);
15625 }
15626 _ACEOF
15627 rm -f conftest$ac_exeext
15628 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15629 (eval $ac_link) 2>&5
15630 ac_status=$?
15631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15632 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15634 (eval $ac_try) 2>&5
15635 ac_status=$?
15636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15637 (exit $ac_status); }; }; then
15638 :
15639 else
15640 echo "$as_me: program exited with status $ac_status" >&5
15641 echo "$as_me: failed program was:" >&5
15642 sed 's/^/| /' conftest.$ac_ext >&5
15643
15644 ( exit $ac_status )
15645 ac_cv_header_stdc=no
15646 fi
15647 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15648 fi
15649 fi
15650 fi
15651 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
15652 echo "${ECHO_T}$ac_cv_header_stdc" >&6
15653 if test $ac_cv_header_stdc = yes; then
15654
15655 cat >>confdefs.h <<\_ACEOF
15656 #define STDC_HEADERS 1
15657 _ACEOF
15658
15659 fi
15660
15661 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
15662
15663
15664
15665
15666
15667
15668
15669
15670
15671 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
15672 inttypes.h stdint.h unistd.h
15673 do
15674 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15675 echo "$as_me:$LINENO: checking for $ac_header" >&5
15676 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15677 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15678 echo $ECHO_N "(cached) $ECHO_C" >&6
15679 else
15680 cat >conftest.$ac_ext <<_ACEOF
15681 /* confdefs.h. */
15682 _ACEOF
15683 cat confdefs.h >>conftest.$ac_ext
15684 cat >>conftest.$ac_ext <<_ACEOF
15685 /* end confdefs.h. */
15686 $ac_includes_default
15687
15688 #include <$ac_header>
15689 _ACEOF
15690 rm -f conftest.$ac_objext
15691 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15692 (eval $ac_compile) 2>conftest.er1
15693 ac_status=$?
15694 grep -v '^ *+' conftest.er1 >conftest.err
15695 rm -f conftest.er1
15696 cat conftest.err >&5
15697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15698 (exit $ac_status); } &&
15699 { ac_try='test -z "$ac_c_werror_flag"
15700 || test ! -s conftest.err'
15701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15702 (eval $ac_try) 2>&5
15703 ac_status=$?
15704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15705 (exit $ac_status); }; } &&
15706 { ac_try='test -s conftest.$ac_objext'
15707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15708 (eval $ac_try) 2>&5
15709 ac_status=$?
15710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15711 (exit $ac_status); }; }; then
15712 eval "$as_ac_Header=yes"
15713 else
15714 echo "$as_me: failed program was:" >&5
15715 sed 's/^/| /' conftest.$ac_ext >&5
15716
15717 eval "$as_ac_Header=no"
15718 fi
15719 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15720 fi
15721 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15722 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15723 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15724 cat >>confdefs.h <<_ACEOF
15725 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15726 _ACEOF
15727
15728 fi
15729
15730 done
15731
15732
15733
15734 for ac_header in stdlib.h
15735 do
15736 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15737 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15738 echo "$as_me:$LINENO: checking for $ac_header" >&5
15739 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15740 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15741 echo $ECHO_N "(cached) $ECHO_C" >&6
15742 fi
15743 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15744 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15745 else
15746 # Is the header compilable?
15747 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15748 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15749 cat >conftest.$ac_ext <<_ACEOF
15750 /* confdefs.h. */
15751 _ACEOF
15752 cat confdefs.h >>conftest.$ac_ext
15753 cat >>conftest.$ac_ext <<_ACEOF
15754 /* end confdefs.h. */
15755 $ac_includes_default
15756 #include <$ac_header>
15757 _ACEOF
15758 rm -f conftest.$ac_objext
15759 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15760 (eval $ac_compile) 2>conftest.er1
15761 ac_status=$?
15762 grep -v '^ *+' conftest.er1 >conftest.err
15763 rm -f conftest.er1
15764 cat conftest.err >&5
15765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15766 (exit $ac_status); } &&
15767 { ac_try='test -z "$ac_c_werror_flag"
15768 || test ! -s conftest.err'
15769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15770 (eval $ac_try) 2>&5
15771 ac_status=$?
15772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15773 (exit $ac_status); }; } &&
15774 { ac_try='test -s conftest.$ac_objext'
15775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15776 (eval $ac_try) 2>&5
15777 ac_status=$?
15778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15779 (exit $ac_status); }; }; then
15780 ac_header_compiler=yes
15781 else
15782 echo "$as_me: failed program was:" >&5
15783 sed 's/^/| /' conftest.$ac_ext >&5
15784
15785 ac_header_compiler=no
15786 fi
15787 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15788 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15789 echo "${ECHO_T}$ac_header_compiler" >&6
15790
15791 # Is the header present?
15792 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15793 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15794 cat >conftest.$ac_ext <<_ACEOF
15795 /* confdefs.h. */
15796 _ACEOF
15797 cat confdefs.h >>conftest.$ac_ext
15798 cat >>conftest.$ac_ext <<_ACEOF
15799 /* end confdefs.h. */
15800 #include <$ac_header>
15801 _ACEOF
15802 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15803 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
15804 ac_status=$?
15805 grep -v '^ *+' conftest.er1 >conftest.err
15806 rm -f conftest.er1
15807 cat conftest.err >&5
15808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15809 (exit $ac_status); } >/dev/null; then
15810 if test -s conftest.err; then
15811 ac_cpp_err=$ac_c_preproc_warn_flag
15812 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
15813 else
15814 ac_cpp_err=
15815 fi
15816 else
15817 ac_cpp_err=yes
15818 fi
15819 if test -z "$ac_cpp_err"; then
15820 ac_header_preproc=yes
15821 else
15822 echo "$as_me: failed program was:" >&5
15823 sed 's/^/| /' conftest.$ac_ext >&5
15824
15825 ac_header_preproc=no
15826 fi
15827 rm -f conftest.err conftest.$ac_ext
15828 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15829 echo "${ECHO_T}$ac_header_preproc" >&6
15830
15831 # So? What about this header?
15832 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15833 yes:no: )
15834 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15835 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15836 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15837 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15838 ac_header_preproc=yes
15839 ;;
15840 no:yes:* )
15841 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15842 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15843 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15844 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15845 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15846 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15847 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15848 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15849 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15850 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15851 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15852 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15853 (
15854 cat <<\_ASBOX
15855 ## ----------------------------------------- ##
15856 ## Report this to wx-dev@lists.wxwidgets.org ##
15857 ## ----------------------------------------- ##
15858 _ASBOX
15859 ) |
15860 sed "s/^/$as_me: WARNING: /" >&2
15861 ;;
15862 esac
15863 echo "$as_me:$LINENO: checking for $ac_header" >&5
15864 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15865 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15866 echo $ECHO_N "(cached) $ECHO_C" >&6
15867 else
15868 eval "$as_ac_Header=\$ac_header_preproc"
15869 fi
15870 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15871 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15872
15873 fi
15874 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15875 cat >>confdefs.h <<_ACEOF
15876 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15877 _ACEOF
15878
15879 fi
15880
15881 done
15882
15883
15884 for ac_header in malloc.h
15885 do
15886 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15887 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15888 echo "$as_me:$LINENO: checking for $ac_header" >&5
15889 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15890 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15891 echo $ECHO_N "(cached) $ECHO_C" >&6
15892 fi
15893 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15894 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15895 else
15896 # Is the header compilable?
15897 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15898 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15899 cat >conftest.$ac_ext <<_ACEOF
15900 /* confdefs.h. */
15901 _ACEOF
15902 cat confdefs.h >>conftest.$ac_ext
15903 cat >>conftest.$ac_ext <<_ACEOF
15904 /* end confdefs.h. */
15905 $ac_includes_default
15906 #include <$ac_header>
15907 _ACEOF
15908 rm -f conftest.$ac_objext
15909 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15910 (eval $ac_compile) 2>conftest.er1
15911 ac_status=$?
15912 grep -v '^ *+' conftest.er1 >conftest.err
15913 rm -f conftest.er1
15914 cat conftest.err >&5
15915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15916 (exit $ac_status); } &&
15917 { ac_try='test -z "$ac_c_werror_flag"
15918 || test ! -s conftest.err'
15919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15920 (eval $ac_try) 2>&5
15921 ac_status=$?
15922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15923 (exit $ac_status); }; } &&
15924 { ac_try='test -s conftest.$ac_objext'
15925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15926 (eval $ac_try) 2>&5
15927 ac_status=$?
15928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15929 (exit $ac_status); }; }; then
15930 ac_header_compiler=yes
15931 else
15932 echo "$as_me: failed program was:" >&5
15933 sed 's/^/| /' conftest.$ac_ext >&5
15934
15935 ac_header_compiler=no
15936 fi
15937 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15938 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15939 echo "${ECHO_T}$ac_header_compiler" >&6
15940
15941 # Is the header present?
15942 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15943 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15944 cat >conftest.$ac_ext <<_ACEOF
15945 /* confdefs.h. */
15946 _ACEOF
15947 cat confdefs.h >>conftest.$ac_ext
15948 cat >>conftest.$ac_ext <<_ACEOF
15949 /* end confdefs.h. */
15950 #include <$ac_header>
15951 _ACEOF
15952 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15953 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
15954 ac_status=$?
15955 grep -v '^ *+' conftest.er1 >conftest.err
15956 rm -f conftest.er1
15957 cat conftest.err >&5
15958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15959 (exit $ac_status); } >/dev/null; then
15960 if test -s conftest.err; then
15961 ac_cpp_err=$ac_c_preproc_warn_flag
15962 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
15963 else
15964 ac_cpp_err=
15965 fi
15966 else
15967 ac_cpp_err=yes
15968 fi
15969 if test -z "$ac_cpp_err"; then
15970 ac_header_preproc=yes
15971 else
15972 echo "$as_me: failed program was:" >&5
15973 sed 's/^/| /' conftest.$ac_ext >&5
15974
15975 ac_header_preproc=no
15976 fi
15977 rm -f conftest.err conftest.$ac_ext
15978 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15979 echo "${ECHO_T}$ac_header_preproc" >&6
15980
15981 # So? What about this header?
15982 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15983 yes:no: )
15984 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15985 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15986 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15987 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15988 ac_header_preproc=yes
15989 ;;
15990 no:yes:* )
15991 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15992 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15993 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15994 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15995 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15996 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15997 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15998 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15999 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16000 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16001 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16002 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16003 (
16004 cat <<\_ASBOX
16005 ## ----------------------------------------- ##
16006 ## Report this to wx-dev@lists.wxwidgets.org ##
16007 ## ----------------------------------------- ##
16008 _ASBOX
16009 ) |
16010 sed "s/^/$as_me: WARNING: /" >&2
16011 ;;
16012 esac
16013 echo "$as_me:$LINENO: checking for $ac_header" >&5
16014 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16015 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16016 echo $ECHO_N "(cached) $ECHO_C" >&6
16017 else
16018 eval "$as_ac_Header=\$ac_header_preproc"
16019 fi
16020 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16021 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16022
16023 fi
16024 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16025 cat >>confdefs.h <<_ACEOF
16026 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16027 _ACEOF
16028
16029 fi
16030
16031 done
16032
16033
16034 for ac_header in unistd.h
16035 do
16036 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16037 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16038 echo "$as_me:$LINENO: checking for $ac_header" >&5
16039 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16040 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16041 echo $ECHO_N "(cached) $ECHO_C" >&6
16042 fi
16043 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16044 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16045 else
16046 # Is the header compilable?
16047 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16048 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16049 cat >conftest.$ac_ext <<_ACEOF
16050 /* confdefs.h. */
16051 _ACEOF
16052 cat confdefs.h >>conftest.$ac_ext
16053 cat >>conftest.$ac_ext <<_ACEOF
16054 /* end confdefs.h. */
16055 $ac_includes_default
16056 #include <$ac_header>
16057 _ACEOF
16058 rm -f conftest.$ac_objext
16059 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16060 (eval $ac_compile) 2>conftest.er1
16061 ac_status=$?
16062 grep -v '^ *+' conftest.er1 >conftest.err
16063 rm -f conftest.er1
16064 cat conftest.err >&5
16065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16066 (exit $ac_status); } &&
16067 { ac_try='test -z "$ac_c_werror_flag"
16068 || test ! -s conftest.err'
16069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16070 (eval $ac_try) 2>&5
16071 ac_status=$?
16072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16073 (exit $ac_status); }; } &&
16074 { ac_try='test -s conftest.$ac_objext'
16075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16076 (eval $ac_try) 2>&5
16077 ac_status=$?
16078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16079 (exit $ac_status); }; }; then
16080 ac_header_compiler=yes
16081 else
16082 echo "$as_me: failed program was:" >&5
16083 sed 's/^/| /' conftest.$ac_ext >&5
16084
16085 ac_header_compiler=no
16086 fi
16087 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16088 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16089 echo "${ECHO_T}$ac_header_compiler" >&6
16090
16091 # Is the header present?
16092 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16093 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16094 cat >conftest.$ac_ext <<_ACEOF
16095 /* confdefs.h. */
16096 _ACEOF
16097 cat confdefs.h >>conftest.$ac_ext
16098 cat >>conftest.$ac_ext <<_ACEOF
16099 /* end confdefs.h. */
16100 #include <$ac_header>
16101 _ACEOF
16102 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16103 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16104 ac_status=$?
16105 grep -v '^ *+' conftest.er1 >conftest.err
16106 rm -f conftest.er1
16107 cat conftest.err >&5
16108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16109 (exit $ac_status); } >/dev/null; then
16110 if test -s conftest.err; then
16111 ac_cpp_err=$ac_c_preproc_warn_flag
16112 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
16113 else
16114 ac_cpp_err=
16115 fi
16116 else
16117 ac_cpp_err=yes
16118 fi
16119 if test -z "$ac_cpp_err"; then
16120 ac_header_preproc=yes
16121 else
16122 echo "$as_me: failed program was:" >&5
16123 sed 's/^/| /' conftest.$ac_ext >&5
16124
16125 ac_header_preproc=no
16126 fi
16127 rm -f conftest.err conftest.$ac_ext
16128 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16129 echo "${ECHO_T}$ac_header_preproc" >&6
16130
16131 # So? What about this header?
16132 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16133 yes:no: )
16134 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16135 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16136 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16137 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16138 ac_header_preproc=yes
16139 ;;
16140 no:yes:* )
16141 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16142 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16143 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16144 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16145 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16146 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16147 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16148 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16149 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16150 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16151 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16152 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16153 (
16154 cat <<\_ASBOX
16155 ## ----------------------------------------- ##
16156 ## Report this to wx-dev@lists.wxwidgets.org ##
16157 ## ----------------------------------------- ##
16158 _ASBOX
16159 ) |
16160 sed "s/^/$as_me: WARNING: /" >&2
16161 ;;
16162 esac
16163 echo "$as_me:$LINENO: checking for $ac_header" >&5
16164 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16165 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16166 echo $ECHO_N "(cached) $ECHO_C" >&6
16167 else
16168 eval "$as_ac_Header=\$ac_header_preproc"
16169 fi
16170 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16171 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16172
16173 fi
16174 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16175 cat >>confdefs.h <<_ACEOF
16176 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16177 _ACEOF
16178
16179 fi
16180
16181 done
16182
16183
16184 for ac_header in wchar.h
16185 do
16186 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16187 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16188 echo "$as_me:$LINENO: checking for $ac_header" >&5
16189 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16190 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16191 echo $ECHO_N "(cached) $ECHO_C" >&6
16192 fi
16193 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16194 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16195 else
16196 # Is the header compilable?
16197 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16198 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16199 cat >conftest.$ac_ext <<_ACEOF
16200 /* confdefs.h. */
16201 _ACEOF
16202 cat confdefs.h >>conftest.$ac_ext
16203 cat >>conftest.$ac_ext <<_ACEOF
16204 /* end confdefs.h. */
16205 $ac_includes_default
16206 #include <$ac_header>
16207 _ACEOF
16208 rm -f conftest.$ac_objext
16209 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16210 (eval $ac_compile) 2>conftest.er1
16211 ac_status=$?
16212 grep -v '^ *+' conftest.er1 >conftest.err
16213 rm -f conftest.er1
16214 cat conftest.err >&5
16215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16216 (exit $ac_status); } &&
16217 { ac_try='test -z "$ac_c_werror_flag"
16218 || test ! -s conftest.err'
16219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16220 (eval $ac_try) 2>&5
16221 ac_status=$?
16222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16223 (exit $ac_status); }; } &&
16224 { ac_try='test -s conftest.$ac_objext'
16225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16226 (eval $ac_try) 2>&5
16227 ac_status=$?
16228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16229 (exit $ac_status); }; }; then
16230 ac_header_compiler=yes
16231 else
16232 echo "$as_me: failed program was:" >&5
16233 sed 's/^/| /' conftest.$ac_ext >&5
16234
16235 ac_header_compiler=no
16236 fi
16237 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16238 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16239 echo "${ECHO_T}$ac_header_compiler" >&6
16240
16241 # Is the header present?
16242 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16243 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16244 cat >conftest.$ac_ext <<_ACEOF
16245 /* confdefs.h. */
16246 _ACEOF
16247 cat confdefs.h >>conftest.$ac_ext
16248 cat >>conftest.$ac_ext <<_ACEOF
16249 /* end confdefs.h. */
16250 #include <$ac_header>
16251 _ACEOF
16252 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16253 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16254 ac_status=$?
16255 grep -v '^ *+' conftest.er1 >conftest.err
16256 rm -f conftest.er1
16257 cat conftest.err >&5
16258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16259 (exit $ac_status); } >/dev/null; then
16260 if test -s conftest.err; then
16261 ac_cpp_err=$ac_c_preproc_warn_flag
16262 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
16263 else
16264 ac_cpp_err=
16265 fi
16266 else
16267 ac_cpp_err=yes
16268 fi
16269 if test -z "$ac_cpp_err"; then
16270 ac_header_preproc=yes
16271 else
16272 echo "$as_me: failed program was:" >&5
16273 sed 's/^/| /' conftest.$ac_ext >&5
16274
16275 ac_header_preproc=no
16276 fi
16277 rm -f conftest.err conftest.$ac_ext
16278 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16279 echo "${ECHO_T}$ac_header_preproc" >&6
16280
16281 # So? What about this header?
16282 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16283 yes:no: )
16284 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16285 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16286 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16287 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16288 ac_header_preproc=yes
16289 ;;
16290 no:yes:* )
16291 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16292 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16293 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16294 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16295 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16296 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16297 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16298 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16299 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16300 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16301 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16302 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16303 (
16304 cat <<\_ASBOX
16305 ## ----------------------------------------- ##
16306 ## Report this to wx-dev@lists.wxwidgets.org ##
16307 ## ----------------------------------------- ##
16308 _ASBOX
16309 ) |
16310 sed "s/^/$as_me: WARNING: /" >&2
16311 ;;
16312 esac
16313 echo "$as_me:$LINENO: checking for $ac_header" >&5
16314 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16315 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16316 echo $ECHO_N "(cached) $ECHO_C" >&6
16317 else
16318 eval "$as_ac_Header=\$ac_header_preproc"
16319 fi
16320 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16321 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16322
16323 fi
16324 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16325 cat >>confdefs.h <<_ACEOF
16326 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16327 _ACEOF
16328
16329 fi
16330
16331 done
16332
16333
16334 if test "$ac_cv_header_wchar_h" != "yes"; then
16335
16336 for ac_header in wcstr.h
16337 do
16338 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16339 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16340 echo "$as_me:$LINENO: checking for $ac_header" >&5
16341 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16342 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16343 echo $ECHO_N "(cached) $ECHO_C" >&6
16344 fi
16345 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16346 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16347 else
16348 # Is the header compilable?
16349 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16350 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16351 cat >conftest.$ac_ext <<_ACEOF
16352 /* confdefs.h. */
16353 _ACEOF
16354 cat confdefs.h >>conftest.$ac_ext
16355 cat >>conftest.$ac_ext <<_ACEOF
16356 /* end confdefs.h. */
16357 $ac_includes_default
16358 #include <$ac_header>
16359 _ACEOF
16360 rm -f conftest.$ac_objext
16361 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16362 (eval $ac_compile) 2>conftest.er1
16363 ac_status=$?
16364 grep -v '^ *+' conftest.er1 >conftest.err
16365 rm -f conftest.er1
16366 cat conftest.err >&5
16367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16368 (exit $ac_status); } &&
16369 { ac_try='test -z "$ac_c_werror_flag"
16370 || test ! -s conftest.err'
16371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16372 (eval $ac_try) 2>&5
16373 ac_status=$?
16374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16375 (exit $ac_status); }; } &&
16376 { ac_try='test -s conftest.$ac_objext'
16377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16378 (eval $ac_try) 2>&5
16379 ac_status=$?
16380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16381 (exit $ac_status); }; }; then
16382 ac_header_compiler=yes
16383 else
16384 echo "$as_me: failed program was:" >&5
16385 sed 's/^/| /' conftest.$ac_ext >&5
16386
16387 ac_header_compiler=no
16388 fi
16389 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16390 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16391 echo "${ECHO_T}$ac_header_compiler" >&6
16392
16393 # Is the header present?
16394 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16395 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16396 cat >conftest.$ac_ext <<_ACEOF
16397 /* confdefs.h. */
16398 _ACEOF
16399 cat confdefs.h >>conftest.$ac_ext
16400 cat >>conftest.$ac_ext <<_ACEOF
16401 /* end confdefs.h. */
16402 #include <$ac_header>
16403 _ACEOF
16404 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16405 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16406 ac_status=$?
16407 grep -v '^ *+' conftest.er1 >conftest.err
16408 rm -f conftest.er1
16409 cat conftest.err >&5
16410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16411 (exit $ac_status); } >/dev/null; then
16412 if test -s conftest.err; then
16413 ac_cpp_err=$ac_c_preproc_warn_flag
16414 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
16415 else
16416 ac_cpp_err=
16417 fi
16418 else
16419 ac_cpp_err=yes
16420 fi
16421 if test -z "$ac_cpp_err"; then
16422 ac_header_preproc=yes
16423 else
16424 echo "$as_me: failed program was:" >&5
16425 sed 's/^/| /' conftest.$ac_ext >&5
16426
16427 ac_header_preproc=no
16428 fi
16429 rm -f conftest.err conftest.$ac_ext
16430 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16431 echo "${ECHO_T}$ac_header_preproc" >&6
16432
16433 # So? What about this header?
16434 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16435 yes:no: )
16436 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16437 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16438 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16439 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16440 ac_header_preproc=yes
16441 ;;
16442 no:yes:* )
16443 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16444 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16445 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16446 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16447 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16448 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16449 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16450 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16451 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16452 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16453 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16454 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16455 (
16456 cat <<\_ASBOX
16457 ## ----------------------------------------- ##
16458 ## Report this to wx-dev@lists.wxwidgets.org ##
16459 ## ----------------------------------------- ##
16460 _ASBOX
16461 ) |
16462 sed "s/^/$as_me: WARNING: /" >&2
16463 ;;
16464 esac
16465 echo "$as_me:$LINENO: checking for $ac_header" >&5
16466 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16467 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16468 echo $ECHO_N "(cached) $ECHO_C" >&6
16469 else
16470 eval "$as_ac_Header=\$ac_header_preproc"
16471 fi
16472 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16473 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16474
16475 fi
16476 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16477 cat >>confdefs.h <<_ACEOF
16478 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16479 _ACEOF
16480
16481 fi
16482
16483 done
16484
16485 fi
16486
16487
16488 for ac_header in fnmatch.h
16489 do
16490 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16491 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16492 echo "$as_me:$LINENO: checking for $ac_header" >&5
16493 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16494 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16495 echo $ECHO_N "(cached) $ECHO_C" >&6
16496 fi
16497 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16498 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16499 else
16500 # Is the header compilable?
16501 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16502 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16503 cat >conftest.$ac_ext <<_ACEOF
16504 /* confdefs.h. */
16505 _ACEOF
16506 cat confdefs.h >>conftest.$ac_ext
16507 cat >>conftest.$ac_ext <<_ACEOF
16508 /* end confdefs.h. */
16509 $ac_includes_default
16510 #include <$ac_header>
16511 _ACEOF
16512 rm -f conftest.$ac_objext
16513 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16514 (eval $ac_compile) 2>conftest.er1
16515 ac_status=$?
16516 grep -v '^ *+' conftest.er1 >conftest.err
16517 rm -f conftest.er1
16518 cat conftest.err >&5
16519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16520 (exit $ac_status); } &&
16521 { ac_try='test -z "$ac_c_werror_flag"
16522 || test ! -s conftest.err'
16523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16524 (eval $ac_try) 2>&5
16525 ac_status=$?
16526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16527 (exit $ac_status); }; } &&
16528 { ac_try='test -s conftest.$ac_objext'
16529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16530 (eval $ac_try) 2>&5
16531 ac_status=$?
16532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16533 (exit $ac_status); }; }; then
16534 ac_header_compiler=yes
16535 else
16536 echo "$as_me: failed program was:" >&5
16537 sed 's/^/| /' conftest.$ac_ext >&5
16538
16539 ac_header_compiler=no
16540 fi
16541 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16542 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16543 echo "${ECHO_T}$ac_header_compiler" >&6
16544
16545 # Is the header present?
16546 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16547 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16548 cat >conftest.$ac_ext <<_ACEOF
16549 /* confdefs.h. */
16550 _ACEOF
16551 cat confdefs.h >>conftest.$ac_ext
16552 cat >>conftest.$ac_ext <<_ACEOF
16553 /* end confdefs.h. */
16554 #include <$ac_header>
16555 _ACEOF
16556 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16557 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16558 ac_status=$?
16559 grep -v '^ *+' conftest.er1 >conftest.err
16560 rm -f conftest.er1
16561 cat conftest.err >&5
16562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16563 (exit $ac_status); } >/dev/null; then
16564 if test -s conftest.err; then
16565 ac_cpp_err=$ac_c_preproc_warn_flag
16566 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
16567 else
16568 ac_cpp_err=
16569 fi
16570 else
16571 ac_cpp_err=yes
16572 fi
16573 if test -z "$ac_cpp_err"; then
16574 ac_header_preproc=yes
16575 else
16576 echo "$as_me: failed program was:" >&5
16577 sed 's/^/| /' conftest.$ac_ext >&5
16578
16579 ac_header_preproc=no
16580 fi
16581 rm -f conftest.err conftest.$ac_ext
16582 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16583 echo "${ECHO_T}$ac_header_preproc" >&6
16584
16585 # So? What about this header?
16586 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16587 yes:no: )
16588 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16589 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16590 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16591 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16592 ac_header_preproc=yes
16593 ;;
16594 no:yes:* )
16595 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16596 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16597 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16598 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16599 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16600 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16601 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16602 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16603 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16604 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16605 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16606 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16607 (
16608 cat <<\_ASBOX
16609 ## ----------------------------------------- ##
16610 ## Report this to wx-dev@lists.wxwidgets.org ##
16611 ## ----------------------------------------- ##
16612 _ASBOX
16613 ) |
16614 sed "s/^/$as_me: WARNING: /" >&2
16615 ;;
16616 esac
16617 echo "$as_me:$LINENO: checking for $ac_header" >&5
16618 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16619 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16620 echo $ECHO_N "(cached) $ECHO_C" >&6
16621 else
16622 eval "$as_ac_Header=\$ac_header_preproc"
16623 fi
16624 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16625 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16626
16627 fi
16628 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16629 cat >>confdefs.h <<_ACEOF
16630 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16631 _ACEOF
16632
16633 fi
16634
16635 done
16636
16637
16638
16639 for ac_header in langinfo.h
16640 do
16641 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16642 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16643 echo "$as_me:$LINENO: checking for $ac_header" >&5
16644 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16645 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16646 echo $ECHO_N "(cached) $ECHO_C" >&6
16647 fi
16648 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16649 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16650 else
16651 # Is the header compilable?
16652 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16653 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16654 cat >conftest.$ac_ext <<_ACEOF
16655 /* confdefs.h. */
16656 _ACEOF
16657 cat confdefs.h >>conftest.$ac_ext
16658 cat >>conftest.$ac_ext <<_ACEOF
16659 /* end confdefs.h. */
16660 $ac_includes_default
16661 #include <$ac_header>
16662 _ACEOF
16663 rm -f conftest.$ac_objext
16664 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16665 (eval $ac_compile) 2>conftest.er1
16666 ac_status=$?
16667 grep -v '^ *+' conftest.er1 >conftest.err
16668 rm -f conftest.er1
16669 cat conftest.err >&5
16670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16671 (exit $ac_status); } &&
16672 { ac_try='test -z "$ac_c_werror_flag"
16673 || test ! -s conftest.err'
16674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16675 (eval $ac_try) 2>&5
16676 ac_status=$?
16677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16678 (exit $ac_status); }; } &&
16679 { ac_try='test -s conftest.$ac_objext'
16680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16681 (eval $ac_try) 2>&5
16682 ac_status=$?
16683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16684 (exit $ac_status); }; }; then
16685 ac_header_compiler=yes
16686 else
16687 echo "$as_me: failed program was:" >&5
16688 sed 's/^/| /' conftest.$ac_ext >&5
16689
16690 ac_header_compiler=no
16691 fi
16692 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16693 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16694 echo "${ECHO_T}$ac_header_compiler" >&6
16695
16696 # Is the header present?
16697 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16698 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16699 cat >conftest.$ac_ext <<_ACEOF
16700 /* confdefs.h. */
16701 _ACEOF
16702 cat confdefs.h >>conftest.$ac_ext
16703 cat >>conftest.$ac_ext <<_ACEOF
16704 /* end confdefs.h. */
16705 #include <$ac_header>
16706 _ACEOF
16707 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16708 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16709 ac_status=$?
16710 grep -v '^ *+' conftest.er1 >conftest.err
16711 rm -f conftest.er1
16712 cat conftest.err >&5
16713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16714 (exit $ac_status); } >/dev/null; then
16715 if test -s conftest.err; then
16716 ac_cpp_err=$ac_c_preproc_warn_flag
16717 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
16718 else
16719 ac_cpp_err=
16720 fi
16721 else
16722 ac_cpp_err=yes
16723 fi
16724 if test -z "$ac_cpp_err"; then
16725 ac_header_preproc=yes
16726 else
16727 echo "$as_me: failed program was:" >&5
16728 sed 's/^/| /' conftest.$ac_ext >&5
16729
16730 ac_header_preproc=no
16731 fi
16732 rm -f conftest.err conftest.$ac_ext
16733 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16734 echo "${ECHO_T}$ac_header_preproc" >&6
16735
16736 # So? What about this header?
16737 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16738 yes:no: )
16739 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16740 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16741 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16742 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16743 ac_header_preproc=yes
16744 ;;
16745 no:yes:* )
16746 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16747 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16748 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16749 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16750 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16751 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16752 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16753 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16754 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16755 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16756 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16757 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16758 (
16759 cat <<\_ASBOX
16760 ## ----------------------------------------- ##
16761 ## Report this to wx-dev@lists.wxwidgets.org ##
16762 ## ----------------------------------------- ##
16763 _ASBOX
16764 ) |
16765 sed "s/^/$as_me: WARNING: /" >&2
16766 ;;
16767 esac
16768 echo "$as_me:$LINENO: checking for $ac_header" >&5
16769 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16770 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16771 echo $ECHO_N "(cached) $ECHO_C" >&6
16772 else
16773 eval "$as_ac_Header=\$ac_header_preproc"
16774 fi
16775 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16776 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16777
16778 fi
16779 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16780 cat >>confdefs.h <<_ACEOF
16781 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16782 _ACEOF
16783
16784 fi
16785
16786 done
16787
16788
16789 case "${host}" in
16790 *-pc-os2_emx | *-pc-os2-emx )
16791 if test $ac_cv_header_langinfo_h = "yes" \
16792 -a \( "$wx_cv_gccversion" = "EMX2" \
16793 -o "$wx_cv_gccversion" = "EMX3" \
16794 -o "$wx_cv_gccversion" = "Innotek5" \); then
16795 LIBS="$LIBS -lintl"
16796 fi
16797 ;;
16798 esac
16799
16800
16801 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
16802 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
16803 if test "${ac_cv_c_const+set}" = set; then
16804 echo $ECHO_N "(cached) $ECHO_C" >&6
16805 else
16806 cat >conftest.$ac_ext <<_ACEOF
16807 /* confdefs.h. */
16808 _ACEOF
16809 cat confdefs.h >>conftest.$ac_ext
16810 cat >>conftest.$ac_ext <<_ACEOF
16811 /* end confdefs.h. */
16812
16813 int
16814 main ()
16815 {
16816 /* FIXME: Include the comments suggested by Paul. */
16817 #ifndef __cplusplus
16818 /* Ultrix mips cc rejects this. */
16819 typedef int charset[2];
16820 const charset x;
16821 /* SunOS 4.1.1 cc rejects this. */
16822 char const *const *ccp;
16823 char **p;
16824 /* NEC SVR4.0.2 mips cc rejects this. */
16825 struct point {int x, y;};
16826 static struct point const zero = {0,0};
16827 /* AIX XL C 1.02.0.0 rejects this.
16828 It does not let you subtract one const X* pointer from another in
16829 an arm of an if-expression whose if-part is not a constant
16830 expression */
16831 const char *g = "string";
16832 ccp = &g + (g ? g-g : 0);
16833 /* HPUX 7.0 cc rejects these. */
16834 ++ccp;
16835 p = (char**) ccp;
16836 ccp = (char const *const *) p;
16837 { /* SCO 3.2v4 cc rejects this. */
16838 char *t;
16839 char const *s = 0 ? (char *) 0 : (char const *) 0;
16840
16841 *t++ = 0;
16842 }
16843 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
16844 int x[] = {25, 17};
16845 const int *foo = &x[0];
16846 ++foo;
16847 }
16848 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
16849 typedef const int *iptr;
16850 iptr p = 0;
16851 ++p;
16852 }
16853 { /* AIX XL C 1.02.0.0 rejects this saying
16854 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
16855 struct s { int j; const int *ap[3]; };
16856 struct s *b; b->j = 5;
16857 }
16858 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
16859 const int foo = 10;
16860 }
16861 #endif
16862
16863 ;
16864 return 0;
16865 }
16866 _ACEOF
16867 rm -f conftest.$ac_objext
16868 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16869 (eval $ac_compile) 2>conftest.er1
16870 ac_status=$?
16871 grep -v '^ *+' conftest.er1 >conftest.err
16872 rm -f conftest.er1
16873 cat conftest.err >&5
16874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16875 (exit $ac_status); } &&
16876 { ac_try='test -z "$ac_c_werror_flag"
16877 || test ! -s conftest.err'
16878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16879 (eval $ac_try) 2>&5
16880 ac_status=$?
16881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16882 (exit $ac_status); }; } &&
16883 { ac_try='test -s conftest.$ac_objext'
16884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16885 (eval $ac_try) 2>&5
16886 ac_status=$?
16887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16888 (exit $ac_status); }; }; then
16889 ac_cv_c_const=yes
16890 else
16891 echo "$as_me: failed program was:" >&5
16892 sed 's/^/| /' conftest.$ac_ext >&5
16893
16894 ac_cv_c_const=no
16895 fi
16896 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16897 fi
16898 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
16899 echo "${ECHO_T}$ac_cv_c_const" >&6
16900 if test $ac_cv_c_const = no; then
16901
16902 cat >>confdefs.h <<\_ACEOF
16903 #define const
16904 _ACEOF
16905
16906 fi
16907
16908 echo "$as_me:$LINENO: checking for inline" >&5
16909 echo $ECHO_N "checking for inline... $ECHO_C" >&6
16910 if test "${ac_cv_c_inline+set}" = set; then
16911 echo $ECHO_N "(cached) $ECHO_C" >&6
16912 else
16913 ac_cv_c_inline=no
16914 for ac_kw in inline __inline__ __inline; do
16915 cat >conftest.$ac_ext <<_ACEOF
16916 /* confdefs.h. */
16917 _ACEOF
16918 cat confdefs.h >>conftest.$ac_ext
16919 cat >>conftest.$ac_ext <<_ACEOF
16920 /* end confdefs.h. */
16921 #ifndef __cplusplus
16922 typedef int foo_t;
16923 static $ac_kw foo_t static_foo () {return 0; }
16924 $ac_kw foo_t foo () {return 0; }
16925 #endif
16926
16927 _ACEOF
16928 rm -f conftest.$ac_objext
16929 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16930 (eval $ac_compile) 2>conftest.er1
16931 ac_status=$?
16932 grep -v '^ *+' conftest.er1 >conftest.err
16933 rm -f conftest.er1
16934 cat conftest.err >&5
16935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16936 (exit $ac_status); } &&
16937 { ac_try='test -z "$ac_c_werror_flag"
16938 || test ! -s conftest.err'
16939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16940 (eval $ac_try) 2>&5
16941 ac_status=$?
16942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16943 (exit $ac_status); }; } &&
16944 { ac_try='test -s conftest.$ac_objext'
16945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16946 (eval $ac_try) 2>&5
16947 ac_status=$?
16948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16949 (exit $ac_status); }; }; then
16950 ac_cv_c_inline=$ac_kw; break
16951 else
16952 echo "$as_me: failed program was:" >&5
16953 sed 's/^/| /' conftest.$ac_ext >&5
16954
16955 fi
16956 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16957 done
16958
16959 fi
16960 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
16961 echo "${ECHO_T}$ac_cv_c_inline" >&6
16962
16963
16964 case $ac_cv_c_inline in
16965 inline | yes) ;;
16966 *)
16967 case $ac_cv_c_inline in
16968 no) ac_val=;;
16969 *) ac_val=$ac_cv_c_inline;;
16970 esac
16971 cat >>confdefs.h <<_ACEOF
16972 #ifndef __cplusplus
16973 #define inline $ac_val
16974 #endif
16975 _ACEOF
16976 ;;
16977 esac
16978
16979
16980 echo "$as_me:$LINENO: checking for char" >&5
16981 echo $ECHO_N "checking for char... $ECHO_C" >&6
16982 if test "${ac_cv_type_char+set}" = set; then
16983 echo $ECHO_N "(cached) $ECHO_C" >&6
16984 else
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 $ac_includes_default
16992 int
16993 main ()
16994 {
16995 if ((char *) 0)
16996 return 0;
16997 if (sizeof (char))
16998 return 0;
16999 ;
17000 return 0;
17001 }
17002 _ACEOF
17003 rm -f conftest.$ac_objext
17004 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17005 (eval $ac_compile) 2>conftest.er1
17006 ac_status=$?
17007 grep -v '^ *+' conftest.er1 >conftest.err
17008 rm -f conftest.er1
17009 cat conftest.err >&5
17010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17011 (exit $ac_status); } &&
17012 { ac_try='test -z "$ac_c_werror_flag"
17013 || test ! -s conftest.err'
17014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17015 (eval $ac_try) 2>&5
17016 ac_status=$?
17017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17018 (exit $ac_status); }; } &&
17019 { ac_try='test -s conftest.$ac_objext'
17020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17021 (eval $ac_try) 2>&5
17022 ac_status=$?
17023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17024 (exit $ac_status); }; }; then
17025 ac_cv_type_char=yes
17026 else
17027 echo "$as_me: failed program was:" >&5
17028 sed 's/^/| /' conftest.$ac_ext >&5
17029
17030 ac_cv_type_char=no
17031 fi
17032 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17033 fi
17034 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
17035 echo "${ECHO_T}$ac_cv_type_char" >&6
17036
17037 echo "$as_me:$LINENO: checking size of char" >&5
17038 echo $ECHO_N "checking size of char... $ECHO_C" >&6
17039 if test "${ac_cv_sizeof_char+set}" = set; then
17040 echo $ECHO_N "(cached) $ECHO_C" >&6
17041 else
17042 if test "$ac_cv_type_char" = yes; then
17043 # The cast to unsigned long works around a bug in the HP C Compiler
17044 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17045 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17046 # This bug is HP SR number 8606223364.
17047 if test "$cross_compiling" = yes; then
17048 # Depending upon the size, compute the lo and hi bounds.
17049 cat >conftest.$ac_ext <<_ACEOF
17050 /* confdefs.h. */
17051 _ACEOF
17052 cat confdefs.h >>conftest.$ac_ext
17053 cat >>conftest.$ac_ext <<_ACEOF
17054 /* end confdefs.h. */
17055 $ac_includes_default
17056 int
17057 main ()
17058 {
17059 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
17060 test_array [0] = 0
17061
17062 ;
17063 return 0;
17064 }
17065 _ACEOF
17066 rm -f conftest.$ac_objext
17067 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17068 (eval $ac_compile) 2>conftest.er1
17069 ac_status=$?
17070 grep -v '^ *+' conftest.er1 >conftest.err
17071 rm -f conftest.er1
17072 cat conftest.err >&5
17073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17074 (exit $ac_status); } &&
17075 { ac_try='test -z "$ac_c_werror_flag"
17076 || test ! -s conftest.err'
17077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17078 (eval $ac_try) 2>&5
17079 ac_status=$?
17080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17081 (exit $ac_status); }; } &&
17082 { ac_try='test -s conftest.$ac_objext'
17083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17084 (eval $ac_try) 2>&5
17085 ac_status=$?
17086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17087 (exit $ac_status); }; }; then
17088 ac_lo=0 ac_mid=0
17089 while :; do
17090 cat >conftest.$ac_ext <<_ACEOF
17091 /* confdefs.h. */
17092 _ACEOF
17093 cat confdefs.h >>conftest.$ac_ext
17094 cat >>conftest.$ac_ext <<_ACEOF
17095 /* end confdefs.h. */
17096 $ac_includes_default
17097 int
17098 main ()
17099 {
17100 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
17101 test_array [0] = 0
17102
17103 ;
17104 return 0;
17105 }
17106 _ACEOF
17107 rm -f conftest.$ac_objext
17108 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17109 (eval $ac_compile) 2>conftest.er1
17110 ac_status=$?
17111 grep -v '^ *+' conftest.er1 >conftest.err
17112 rm -f conftest.er1
17113 cat conftest.err >&5
17114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17115 (exit $ac_status); } &&
17116 { ac_try='test -z "$ac_c_werror_flag"
17117 || test ! -s conftest.err'
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); }; } &&
17123 { ac_try='test -s conftest.$ac_objext'
17124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17125 (eval $ac_try) 2>&5
17126 ac_status=$?
17127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17128 (exit $ac_status); }; }; then
17129 ac_hi=$ac_mid; break
17130 else
17131 echo "$as_me: failed program was:" >&5
17132 sed 's/^/| /' conftest.$ac_ext >&5
17133
17134 ac_lo=`expr $ac_mid + 1`
17135 if test $ac_lo -le $ac_mid; then
17136 ac_lo= ac_hi=
17137 break
17138 fi
17139 ac_mid=`expr 2 '*' $ac_mid + 1`
17140 fi
17141 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17142 done
17143 else
17144 echo "$as_me: failed program was:" >&5
17145 sed 's/^/| /' conftest.$ac_ext >&5
17146
17147 cat >conftest.$ac_ext <<_ACEOF
17148 /* confdefs.h. */
17149 _ACEOF
17150 cat confdefs.h >>conftest.$ac_ext
17151 cat >>conftest.$ac_ext <<_ACEOF
17152 /* end confdefs.h. */
17153 $ac_includes_default
17154 int
17155 main ()
17156 {
17157 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
17158 test_array [0] = 0
17159
17160 ;
17161 return 0;
17162 }
17163 _ACEOF
17164 rm -f conftest.$ac_objext
17165 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17166 (eval $ac_compile) 2>conftest.er1
17167 ac_status=$?
17168 grep -v '^ *+' conftest.er1 >conftest.err
17169 rm -f conftest.er1
17170 cat conftest.err >&5
17171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17172 (exit $ac_status); } &&
17173 { ac_try='test -z "$ac_c_werror_flag"
17174 || test ! -s conftest.err'
17175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17176 (eval $ac_try) 2>&5
17177 ac_status=$?
17178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17179 (exit $ac_status); }; } &&
17180 { ac_try='test -s conftest.$ac_objext'
17181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17182 (eval $ac_try) 2>&5
17183 ac_status=$?
17184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17185 (exit $ac_status); }; }; then
17186 ac_hi=-1 ac_mid=-1
17187 while :; do
17188 cat >conftest.$ac_ext <<_ACEOF
17189 /* confdefs.h. */
17190 _ACEOF
17191 cat confdefs.h >>conftest.$ac_ext
17192 cat >>conftest.$ac_ext <<_ACEOF
17193 /* end confdefs.h. */
17194 $ac_includes_default
17195 int
17196 main ()
17197 {
17198 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
17199 test_array [0] = 0
17200
17201 ;
17202 return 0;
17203 }
17204 _ACEOF
17205 rm -f conftest.$ac_objext
17206 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17207 (eval $ac_compile) 2>conftest.er1
17208 ac_status=$?
17209 grep -v '^ *+' conftest.er1 >conftest.err
17210 rm -f conftest.er1
17211 cat conftest.err >&5
17212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17213 (exit $ac_status); } &&
17214 { ac_try='test -z "$ac_c_werror_flag"
17215 || test ! -s conftest.err'
17216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17217 (eval $ac_try) 2>&5
17218 ac_status=$?
17219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17220 (exit $ac_status); }; } &&
17221 { ac_try='test -s conftest.$ac_objext'
17222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17223 (eval $ac_try) 2>&5
17224 ac_status=$?
17225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17226 (exit $ac_status); }; }; then
17227 ac_lo=$ac_mid; break
17228 else
17229 echo "$as_me: failed program was:" >&5
17230 sed 's/^/| /' conftest.$ac_ext >&5
17231
17232 ac_hi=`expr '(' $ac_mid ')' - 1`
17233 if test $ac_mid -le $ac_hi; then
17234 ac_lo= ac_hi=
17235 break
17236 fi
17237 ac_mid=`expr 2 '*' $ac_mid`
17238 fi
17239 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17240 done
17241 else
17242 echo "$as_me: failed program was:" >&5
17243 sed 's/^/| /' conftest.$ac_ext >&5
17244
17245 ac_lo= ac_hi=
17246 fi
17247 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17248 fi
17249 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17250 # Binary search between lo and hi bounds.
17251 while test "x$ac_lo" != "x$ac_hi"; do
17252 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17253 cat >conftest.$ac_ext <<_ACEOF
17254 /* confdefs.h. */
17255 _ACEOF
17256 cat confdefs.h >>conftest.$ac_ext
17257 cat >>conftest.$ac_ext <<_ACEOF
17258 /* end confdefs.h. */
17259 $ac_includes_default
17260 int
17261 main ()
17262 {
17263 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
17264 test_array [0] = 0
17265
17266 ;
17267 return 0;
17268 }
17269 _ACEOF
17270 rm -f conftest.$ac_objext
17271 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17272 (eval $ac_compile) 2>conftest.er1
17273 ac_status=$?
17274 grep -v '^ *+' conftest.er1 >conftest.err
17275 rm -f conftest.er1
17276 cat conftest.err >&5
17277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17278 (exit $ac_status); } &&
17279 { ac_try='test -z "$ac_c_werror_flag"
17280 || test ! -s conftest.err'
17281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17282 (eval $ac_try) 2>&5
17283 ac_status=$?
17284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17285 (exit $ac_status); }; } &&
17286 { ac_try='test -s conftest.$ac_objext'
17287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17288 (eval $ac_try) 2>&5
17289 ac_status=$?
17290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17291 (exit $ac_status); }; }; then
17292 ac_hi=$ac_mid
17293 else
17294 echo "$as_me: failed program was:" >&5
17295 sed 's/^/| /' conftest.$ac_ext >&5
17296
17297 ac_lo=`expr '(' $ac_mid ')' + 1`
17298 fi
17299 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17300 done
17301 case $ac_lo in
17302 ?*) ac_cv_sizeof_char=$ac_lo;;
17303 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
17304 See \`config.log' for more details." >&5
17305 echo "$as_me: error: cannot compute sizeof (char), 77
17306 See \`config.log' for more details." >&2;}
17307 { (exit 1); exit 1; }; } ;;
17308 esac
17309 else
17310 if test "$cross_compiling" = yes; then
17311 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17312 See \`config.log' for more details." >&5
17313 echo "$as_me: error: cannot run test program while cross compiling
17314 See \`config.log' for more details." >&2;}
17315 { (exit 1); exit 1; }; }
17316 else
17317 cat >conftest.$ac_ext <<_ACEOF
17318 /* confdefs.h. */
17319 _ACEOF
17320 cat confdefs.h >>conftest.$ac_ext
17321 cat >>conftest.$ac_ext <<_ACEOF
17322 /* end confdefs.h. */
17323 $ac_includes_default
17324 long longval () { return (long) (sizeof (char)); }
17325 unsigned long ulongval () { return (long) (sizeof (char)); }
17326 #include <stdio.h>
17327 #include <stdlib.h>
17328 int
17329 main ()
17330 {
17331
17332 FILE *f = fopen ("conftest.val", "w");
17333 if (! f)
17334 exit (1);
17335 if (((long) (sizeof (char))) < 0)
17336 {
17337 long i = longval ();
17338 if (i != ((long) (sizeof (char))))
17339 exit (1);
17340 fprintf (f, "%ld\n", i);
17341 }
17342 else
17343 {
17344 unsigned long i = ulongval ();
17345 if (i != ((long) (sizeof (char))))
17346 exit (1);
17347 fprintf (f, "%lu\n", i);
17348 }
17349 exit (ferror (f) || fclose (f) != 0);
17350
17351 ;
17352 return 0;
17353 }
17354 _ACEOF
17355 rm -f conftest$ac_exeext
17356 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17357 (eval $ac_link) 2>&5
17358 ac_status=$?
17359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17360 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17362 (eval $ac_try) 2>&5
17363 ac_status=$?
17364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17365 (exit $ac_status); }; }; then
17366 ac_cv_sizeof_char=`cat conftest.val`
17367 else
17368 echo "$as_me: program exited with status $ac_status" >&5
17369 echo "$as_me: failed program was:" >&5
17370 sed 's/^/| /' conftest.$ac_ext >&5
17371
17372 ( exit $ac_status )
17373 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
17374 See \`config.log' for more details." >&5
17375 echo "$as_me: error: cannot compute sizeof (char), 77
17376 See \`config.log' for more details." >&2;}
17377 { (exit 1); exit 1; }; }
17378 fi
17379 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17380 fi
17381 fi
17382 rm -f conftest.val
17383 else
17384 ac_cv_sizeof_char=0
17385 fi
17386 fi
17387 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
17388 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
17389 cat >>confdefs.h <<_ACEOF
17390 #define SIZEOF_CHAR $ac_cv_sizeof_char
17391 _ACEOF
17392
17393
17394 echo "$as_me:$LINENO: checking for short" >&5
17395 echo $ECHO_N "checking for short... $ECHO_C" >&6
17396 if test "${ac_cv_type_short+set}" = set; then
17397 echo $ECHO_N "(cached) $ECHO_C" >&6
17398 else
17399 cat >conftest.$ac_ext <<_ACEOF
17400 /* confdefs.h. */
17401 _ACEOF
17402 cat confdefs.h >>conftest.$ac_ext
17403 cat >>conftest.$ac_ext <<_ACEOF
17404 /* end confdefs.h. */
17405 $ac_includes_default
17406 int
17407 main ()
17408 {
17409 if ((short *) 0)
17410 return 0;
17411 if (sizeof (short))
17412 return 0;
17413 ;
17414 return 0;
17415 }
17416 _ACEOF
17417 rm -f conftest.$ac_objext
17418 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17419 (eval $ac_compile) 2>conftest.er1
17420 ac_status=$?
17421 grep -v '^ *+' conftest.er1 >conftest.err
17422 rm -f conftest.er1
17423 cat conftest.err >&5
17424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17425 (exit $ac_status); } &&
17426 { ac_try='test -z "$ac_c_werror_flag"
17427 || test ! -s conftest.err'
17428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17429 (eval $ac_try) 2>&5
17430 ac_status=$?
17431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17432 (exit $ac_status); }; } &&
17433 { ac_try='test -s conftest.$ac_objext'
17434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17435 (eval $ac_try) 2>&5
17436 ac_status=$?
17437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17438 (exit $ac_status); }; }; then
17439 ac_cv_type_short=yes
17440 else
17441 echo "$as_me: failed program was:" >&5
17442 sed 's/^/| /' conftest.$ac_ext >&5
17443
17444 ac_cv_type_short=no
17445 fi
17446 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17447 fi
17448 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
17449 echo "${ECHO_T}$ac_cv_type_short" >&6
17450
17451 echo "$as_me:$LINENO: checking size of short" >&5
17452 echo $ECHO_N "checking size of short... $ECHO_C" >&6
17453 if test "${ac_cv_sizeof_short+set}" = set; then
17454 echo $ECHO_N "(cached) $ECHO_C" >&6
17455 else
17456 if test "$ac_cv_type_short" = yes; then
17457 # The cast to unsigned long works around a bug in the HP C Compiler
17458 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17459 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17460 # This bug is HP SR number 8606223364.
17461 if test "$cross_compiling" = yes; then
17462 # Depending upon the size, compute the lo and hi bounds.
17463 cat >conftest.$ac_ext <<_ACEOF
17464 /* confdefs.h. */
17465 _ACEOF
17466 cat confdefs.h >>conftest.$ac_ext
17467 cat >>conftest.$ac_ext <<_ACEOF
17468 /* end confdefs.h. */
17469 $ac_includes_default
17470 int
17471 main ()
17472 {
17473 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
17474 test_array [0] = 0
17475
17476 ;
17477 return 0;
17478 }
17479 _ACEOF
17480 rm -f conftest.$ac_objext
17481 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17482 (eval $ac_compile) 2>conftest.er1
17483 ac_status=$?
17484 grep -v '^ *+' conftest.er1 >conftest.err
17485 rm -f conftest.er1
17486 cat conftest.err >&5
17487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17488 (exit $ac_status); } &&
17489 { ac_try='test -z "$ac_c_werror_flag"
17490 || test ! -s conftest.err'
17491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17492 (eval $ac_try) 2>&5
17493 ac_status=$?
17494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17495 (exit $ac_status); }; } &&
17496 { ac_try='test -s conftest.$ac_objext'
17497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17498 (eval $ac_try) 2>&5
17499 ac_status=$?
17500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17501 (exit $ac_status); }; }; then
17502 ac_lo=0 ac_mid=0
17503 while :; 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 $ac_includes_default
17511 int
17512 main ()
17513 {
17514 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
17515 test_array [0] = 0
17516
17517 ;
17518 return 0;
17519 }
17520 _ACEOF
17521 rm -f conftest.$ac_objext
17522 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17523 (eval $ac_compile) 2>conftest.er1
17524 ac_status=$?
17525 grep -v '^ *+' conftest.er1 >conftest.err
17526 rm -f conftest.er1
17527 cat conftest.err >&5
17528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17529 (exit $ac_status); } &&
17530 { ac_try='test -z "$ac_c_werror_flag"
17531 || test ! -s conftest.err'
17532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17533 (eval $ac_try) 2>&5
17534 ac_status=$?
17535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17536 (exit $ac_status); }; } &&
17537 { ac_try='test -s conftest.$ac_objext'
17538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17539 (eval $ac_try) 2>&5
17540 ac_status=$?
17541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17542 (exit $ac_status); }; }; then
17543 ac_hi=$ac_mid; break
17544 else
17545 echo "$as_me: failed program was:" >&5
17546 sed 's/^/| /' conftest.$ac_ext >&5
17547
17548 ac_lo=`expr $ac_mid + 1`
17549 if test $ac_lo -le $ac_mid; then
17550 ac_lo= ac_hi=
17551 break
17552 fi
17553 ac_mid=`expr 2 '*' $ac_mid + 1`
17554 fi
17555 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17556 done
17557 else
17558 echo "$as_me: failed program was:" >&5
17559 sed 's/^/| /' conftest.$ac_ext >&5
17560
17561 cat >conftest.$ac_ext <<_ACEOF
17562 /* confdefs.h. */
17563 _ACEOF
17564 cat confdefs.h >>conftest.$ac_ext
17565 cat >>conftest.$ac_ext <<_ACEOF
17566 /* end confdefs.h. */
17567 $ac_includes_default
17568 int
17569 main ()
17570 {
17571 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
17572 test_array [0] = 0
17573
17574 ;
17575 return 0;
17576 }
17577 _ACEOF
17578 rm -f conftest.$ac_objext
17579 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17580 (eval $ac_compile) 2>conftest.er1
17581 ac_status=$?
17582 grep -v '^ *+' conftest.er1 >conftest.err
17583 rm -f conftest.er1
17584 cat conftest.err >&5
17585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17586 (exit $ac_status); } &&
17587 { ac_try='test -z "$ac_c_werror_flag"
17588 || test ! -s conftest.err'
17589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17590 (eval $ac_try) 2>&5
17591 ac_status=$?
17592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17593 (exit $ac_status); }; } &&
17594 { ac_try='test -s conftest.$ac_objext'
17595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17596 (eval $ac_try) 2>&5
17597 ac_status=$?
17598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17599 (exit $ac_status); }; }; then
17600 ac_hi=-1 ac_mid=-1
17601 while :; do
17602 cat >conftest.$ac_ext <<_ACEOF
17603 /* confdefs.h. */
17604 _ACEOF
17605 cat confdefs.h >>conftest.$ac_ext
17606 cat >>conftest.$ac_ext <<_ACEOF
17607 /* end confdefs.h. */
17608 $ac_includes_default
17609 int
17610 main ()
17611 {
17612 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
17613 test_array [0] = 0
17614
17615 ;
17616 return 0;
17617 }
17618 _ACEOF
17619 rm -f conftest.$ac_objext
17620 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17621 (eval $ac_compile) 2>conftest.er1
17622 ac_status=$?
17623 grep -v '^ *+' conftest.er1 >conftest.err
17624 rm -f conftest.er1
17625 cat conftest.err >&5
17626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17627 (exit $ac_status); } &&
17628 { ac_try='test -z "$ac_c_werror_flag"
17629 || test ! -s conftest.err'
17630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17631 (eval $ac_try) 2>&5
17632 ac_status=$?
17633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17634 (exit $ac_status); }; } &&
17635 { ac_try='test -s conftest.$ac_objext'
17636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17637 (eval $ac_try) 2>&5
17638 ac_status=$?
17639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17640 (exit $ac_status); }; }; then
17641 ac_lo=$ac_mid; break
17642 else
17643 echo "$as_me: failed program was:" >&5
17644 sed 's/^/| /' conftest.$ac_ext >&5
17645
17646 ac_hi=`expr '(' $ac_mid ')' - 1`
17647 if test $ac_mid -le $ac_hi; then
17648 ac_lo= ac_hi=
17649 break
17650 fi
17651 ac_mid=`expr 2 '*' $ac_mid`
17652 fi
17653 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17654 done
17655 else
17656 echo "$as_me: failed program was:" >&5
17657 sed 's/^/| /' conftest.$ac_ext >&5
17658
17659 ac_lo= ac_hi=
17660 fi
17661 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17662 fi
17663 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17664 # Binary search between lo and hi bounds.
17665 while test "x$ac_lo" != "x$ac_hi"; do
17666 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17667 cat >conftest.$ac_ext <<_ACEOF
17668 /* confdefs.h. */
17669 _ACEOF
17670 cat confdefs.h >>conftest.$ac_ext
17671 cat >>conftest.$ac_ext <<_ACEOF
17672 /* end confdefs.h. */
17673 $ac_includes_default
17674 int
17675 main ()
17676 {
17677 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
17678 test_array [0] = 0
17679
17680 ;
17681 return 0;
17682 }
17683 _ACEOF
17684 rm -f conftest.$ac_objext
17685 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17686 (eval $ac_compile) 2>conftest.er1
17687 ac_status=$?
17688 grep -v '^ *+' conftest.er1 >conftest.err
17689 rm -f conftest.er1
17690 cat conftest.err >&5
17691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17692 (exit $ac_status); } &&
17693 { ac_try='test -z "$ac_c_werror_flag"
17694 || test ! -s conftest.err'
17695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17696 (eval $ac_try) 2>&5
17697 ac_status=$?
17698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17699 (exit $ac_status); }; } &&
17700 { ac_try='test -s conftest.$ac_objext'
17701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17702 (eval $ac_try) 2>&5
17703 ac_status=$?
17704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17705 (exit $ac_status); }; }; then
17706 ac_hi=$ac_mid
17707 else
17708 echo "$as_me: failed program was:" >&5
17709 sed 's/^/| /' conftest.$ac_ext >&5
17710
17711 ac_lo=`expr '(' $ac_mid ')' + 1`
17712 fi
17713 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17714 done
17715 case $ac_lo in
17716 ?*) ac_cv_sizeof_short=$ac_lo;;
17717 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
17718 See \`config.log' for more details." >&5
17719 echo "$as_me: error: cannot compute sizeof (short), 77
17720 See \`config.log' for more details." >&2;}
17721 { (exit 1); exit 1; }; } ;;
17722 esac
17723 else
17724 if test "$cross_compiling" = yes; then
17725 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17726 See \`config.log' for more details." >&5
17727 echo "$as_me: error: cannot run test program while cross compiling
17728 See \`config.log' for more details." >&2;}
17729 { (exit 1); exit 1; }; }
17730 else
17731 cat >conftest.$ac_ext <<_ACEOF
17732 /* confdefs.h. */
17733 _ACEOF
17734 cat confdefs.h >>conftest.$ac_ext
17735 cat >>conftest.$ac_ext <<_ACEOF
17736 /* end confdefs.h. */
17737 $ac_includes_default
17738 long longval () { return (long) (sizeof (short)); }
17739 unsigned long ulongval () { return (long) (sizeof (short)); }
17740 #include <stdio.h>
17741 #include <stdlib.h>
17742 int
17743 main ()
17744 {
17745
17746 FILE *f = fopen ("conftest.val", "w");
17747 if (! f)
17748 exit (1);
17749 if (((long) (sizeof (short))) < 0)
17750 {
17751 long i = longval ();
17752 if (i != ((long) (sizeof (short))))
17753 exit (1);
17754 fprintf (f, "%ld\n", i);
17755 }
17756 else
17757 {
17758 unsigned long i = ulongval ();
17759 if (i != ((long) (sizeof (short))))
17760 exit (1);
17761 fprintf (f, "%lu\n", i);
17762 }
17763 exit (ferror (f) || fclose (f) != 0);
17764
17765 ;
17766 return 0;
17767 }
17768 _ACEOF
17769 rm -f conftest$ac_exeext
17770 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17771 (eval $ac_link) 2>&5
17772 ac_status=$?
17773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17774 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17776 (eval $ac_try) 2>&5
17777 ac_status=$?
17778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17779 (exit $ac_status); }; }; then
17780 ac_cv_sizeof_short=`cat conftest.val`
17781 else
17782 echo "$as_me: program exited with status $ac_status" >&5
17783 echo "$as_me: failed program was:" >&5
17784 sed 's/^/| /' conftest.$ac_ext >&5
17785
17786 ( exit $ac_status )
17787 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
17788 See \`config.log' for more details." >&5
17789 echo "$as_me: error: cannot compute sizeof (short), 77
17790 See \`config.log' for more details." >&2;}
17791 { (exit 1); exit 1; }; }
17792 fi
17793 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17794 fi
17795 fi
17796 rm -f conftest.val
17797 else
17798 ac_cv_sizeof_short=0
17799 fi
17800 fi
17801 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
17802 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
17803 cat >>confdefs.h <<_ACEOF
17804 #define SIZEOF_SHORT $ac_cv_sizeof_short
17805 _ACEOF
17806
17807
17808 echo "$as_me:$LINENO: checking for void *" >&5
17809 echo $ECHO_N "checking for void *... $ECHO_C" >&6
17810 if test "${ac_cv_type_void_p+set}" = set; then
17811 echo $ECHO_N "(cached) $ECHO_C" >&6
17812 else
17813 cat >conftest.$ac_ext <<_ACEOF
17814 /* confdefs.h. */
17815 _ACEOF
17816 cat confdefs.h >>conftest.$ac_ext
17817 cat >>conftest.$ac_ext <<_ACEOF
17818 /* end confdefs.h. */
17819 $ac_includes_default
17820 int
17821 main ()
17822 {
17823 if ((void * *) 0)
17824 return 0;
17825 if (sizeof (void *))
17826 return 0;
17827 ;
17828 return 0;
17829 }
17830 _ACEOF
17831 rm -f conftest.$ac_objext
17832 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17833 (eval $ac_compile) 2>conftest.er1
17834 ac_status=$?
17835 grep -v '^ *+' conftest.er1 >conftest.err
17836 rm -f conftest.er1
17837 cat conftest.err >&5
17838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17839 (exit $ac_status); } &&
17840 { ac_try='test -z "$ac_c_werror_flag"
17841 || test ! -s conftest.err'
17842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17843 (eval $ac_try) 2>&5
17844 ac_status=$?
17845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17846 (exit $ac_status); }; } &&
17847 { ac_try='test -s conftest.$ac_objext'
17848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17849 (eval $ac_try) 2>&5
17850 ac_status=$?
17851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17852 (exit $ac_status); }; }; then
17853 ac_cv_type_void_p=yes
17854 else
17855 echo "$as_me: failed program was:" >&5
17856 sed 's/^/| /' conftest.$ac_ext >&5
17857
17858 ac_cv_type_void_p=no
17859 fi
17860 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17861 fi
17862 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
17863 echo "${ECHO_T}$ac_cv_type_void_p" >&6
17864
17865 echo "$as_me:$LINENO: checking size of void *" >&5
17866 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
17867 if test "${ac_cv_sizeof_void_p+set}" = set; then
17868 echo $ECHO_N "(cached) $ECHO_C" >&6
17869 else
17870 if test "$ac_cv_type_void_p" = yes; then
17871 # The cast to unsigned long works around a bug in the HP C Compiler
17872 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17873 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17874 # This bug is HP SR number 8606223364.
17875 if test "$cross_compiling" = yes; then
17876 # Depending upon the size, compute the lo and hi bounds.
17877 cat >conftest.$ac_ext <<_ACEOF
17878 /* confdefs.h. */
17879 _ACEOF
17880 cat confdefs.h >>conftest.$ac_ext
17881 cat >>conftest.$ac_ext <<_ACEOF
17882 /* end confdefs.h. */
17883 $ac_includes_default
17884 int
17885 main ()
17886 {
17887 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
17888 test_array [0] = 0
17889
17890 ;
17891 return 0;
17892 }
17893 _ACEOF
17894 rm -f conftest.$ac_objext
17895 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17896 (eval $ac_compile) 2>conftest.er1
17897 ac_status=$?
17898 grep -v '^ *+' conftest.er1 >conftest.err
17899 rm -f conftest.er1
17900 cat conftest.err >&5
17901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17902 (exit $ac_status); } &&
17903 { ac_try='test -z "$ac_c_werror_flag"
17904 || test ! -s conftest.err'
17905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17906 (eval $ac_try) 2>&5
17907 ac_status=$?
17908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17909 (exit $ac_status); }; } &&
17910 { ac_try='test -s conftest.$ac_objext'
17911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17912 (eval $ac_try) 2>&5
17913 ac_status=$?
17914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17915 (exit $ac_status); }; }; then
17916 ac_lo=0 ac_mid=0
17917 while :; do
17918 cat >conftest.$ac_ext <<_ACEOF
17919 /* confdefs.h. */
17920 _ACEOF
17921 cat confdefs.h >>conftest.$ac_ext
17922 cat >>conftest.$ac_ext <<_ACEOF
17923 /* end confdefs.h. */
17924 $ac_includes_default
17925 int
17926 main ()
17927 {
17928 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
17929 test_array [0] = 0
17930
17931 ;
17932 return 0;
17933 }
17934 _ACEOF
17935 rm -f conftest.$ac_objext
17936 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17937 (eval $ac_compile) 2>conftest.er1
17938 ac_status=$?
17939 grep -v '^ *+' conftest.er1 >conftest.err
17940 rm -f conftest.er1
17941 cat conftest.err >&5
17942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17943 (exit $ac_status); } &&
17944 { ac_try='test -z "$ac_c_werror_flag"
17945 || test ! -s conftest.err'
17946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17947 (eval $ac_try) 2>&5
17948 ac_status=$?
17949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17950 (exit $ac_status); }; } &&
17951 { ac_try='test -s conftest.$ac_objext'
17952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17953 (eval $ac_try) 2>&5
17954 ac_status=$?
17955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17956 (exit $ac_status); }; }; then
17957 ac_hi=$ac_mid; break
17958 else
17959 echo "$as_me: failed program was:" >&5
17960 sed 's/^/| /' conftest.$ac_ext >&5
17961
17962 ac_lo=`expr $ac_mid + 1`
17963 if test $ac_lo -le $ac_mid; then
17964 ac_lo= ac_hi=
17965 break
17966 fi
17967 ac_mid=`expr 2 '*' $ac_mid + 1`
17968 fi
17969 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17970 done
17971 else
17972 echo "$as_me: failed program was:" >&5
17973 sed 's/^/| /' conftest.$ac_ext >&5
17974
17975 cat >conftest.$ac_ext <<_ACEOF
17976 /* confdefs.h. */
17977 _ACEOF
17978 cat confdefs.h >>conftest.$ac_ext
17979 cat >>conftest.$ac_ext <<_ACEOF
17980 /* end confdefs.h. */
17981 $ac_includes_default
17982 int
17983 main ()
17984 {
17985 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
17986 test_array [0] = 0
17987
17988 ;
17989 return 0;
17990 }
17991 _ACEOF
17992 rm -f conftest.$ac_objext
17993 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17994 (eval $ac_compile) 2>conftest.er1
17995 ac_status=$?
17996 grep -v '^ *+' conftest.er1 >conftest.err
17997 rm -f conftest.er1
17998 cat conftest.err >&5
17999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18000 (exit $ac_status); } &&
18001 { ac_try='test -z "$ac_c_werror_flag"
18002 || test ! -s conftest.err'
18003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18004 (eval $ac_try) 2>&5
18005 ac_status=$?
18006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18007 (exit $ac_status); }; } &&
18008 { ac_try='test -s conftest.$ac_objext'
18009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18010 (eval $ac_try) 2>&5
18011 ac_status=$?
18012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18013 (exit $ac_status); }; }; then
18014 ac_hi=-1 ac_mid=-1
18015 while :; do
18016 cat >conftest.$ac_ext <<_ACEOF
18017 /* confdefs.h. */
18018 _ACEOF
18019 cat confdefs.h >>conftest.$ac_ext
18020 cat >>conftest.$ac_ext <<_ACEOF
18021 /* end confdefs.h. */
18022 $ac_includes_default
18023 int
18024 main ()
18025 {
18026 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
18027 test_array [0] = 0
18028
18029 ;
18030 return 0;
18031 }
18032 _ACEOF
18033 rm -f conftest.$ac_objext
18034 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18035 (eval $ac_compile) 2>conftest.er1
18036 ac_status=$?
18037 grep -v '^ *+' conftest.er1 >conftest.err
18038 rm -f conftest.er1
18039 cat conftest.err >&5
18040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18041 (exit $ac_status); } &&
18042 { ac_try='test -z "$ac_c_werror_flag"
18043 || test ! -s conftest.err'
18044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18045 (eval $ac_try) 2>&5
18046 ac_status=$?
18047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18048 (exit $ac_status); }; } &&
18049 { ac_try='test -s conftest.$ac_objext'
18050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18051 (eval $ac_try) 2>&5
18052 ac_status=$?
18053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18054 (exit $ac_status); }; }; then
18055 ac_lo=$ac_mid; break
18056 else
18057 echo "$as_me: failed program was:" >&5
18058 sed 's/^/| /' conftest.$ac_ext >&5
18059
18060 ac_hi=`expr '(' $ac_mid ')' - 1`
18061 if test $ac_mid -le $ac_hi; then
18062 ac_lo= ac_hi=
18063 break
18064 fi
18065 ac_mid=`expr 2 '*' $ac_mid`
18066 fi
18067 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18068 done
18069 else
18070 echo "$as_me: failed program was:" >&5
18071 sed 's/^/| /' conftest.$ac_ext >&5
18072
18073 ac_lo= ac_hi=
18074 fi
18075 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18076 fi
18077 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18078 # Binary search between lo and hi bounds.
18079 while test "x$ac_lo" != "x$ac_hi"; do
18080 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18081 cat >conftest.$ac_ext <<_ACEOF
18082 /* confdefs.h. */
18083 _ACEOF
18084 cat confdefs.h >>conftest.$ac_ext
18085 cat >>conftest.$ac_ext <<_ACEOF
18086 /* end confdefs.h. */
18087 $ac_includes_default
18088 int
18089 main ()
18090 {
18091 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
18092 test_array [0] = 0
18093
18094 ;
18095 return 0;
18096 }
18097 _ACEOF
18098 rm -f conftest.$ac_objext
18099 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18100 (eval $ac_compile) 2>conftest.er1
18101 ac_status=$?
18102 grep -v '^ *+' conftest.er1 >conftest.err
18103 rm -f conftest.er1
18104 cat conftest.err >&5
18105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18106 (exit $ac_status); } &&
18107 { ac_try='test -z "$ac_c_werror_flag"
18108 || test ! -s conftest.err'
18109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18110 (eval $ac_try) 2>&5
18111 ac_status=$?
18112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18113 (exit $ac_status); }; } &&
18114 { ac_try='test -s conftest.$ac_objext'
18115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18116 (eval $ac_try) 2>&5
18117 ac_status=$?
18118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18119 (exit $ac_status); }; }; then
18120 ac_hi=$ac_mid
18121 else
18122 echo "$as_me: failed program was:" >&5
18123 sed 's/^/| /' conftest.$ac_ext >&5
18124
18125 ac_lo=`expr '(' $ac_mid ')' + 1`
18126 fi
18127 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18128 done
18129 case $ac_lo in
18130 ?*) ac_cv_sizeof_void_p=$ac_lo;;
18131 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
18132 See \`config.log' for more details." >&5
18133 echo "$as_me: error: cannot compute sizeof (void *), 77
18134 See \`config.log' for more details." >&2;}
18135 { (exit 1); exit 1; }; } ;;
18136 esac
18137 else
18138 if test "$cross_compiling" = yes; then
18139 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
18140 See \`config.log' for more details." >&5
18141 echo "$as_me: error: cannot run test program while cross compiling
18142 See \`config.log' for more details." >&2;}
18143 { (exit 1); exit 1; }; }
18144 else
18145 cat >conftest.$ac_ext <<_ACEOF
18146 /* confdefs.h. */
18147 _ACEOF
18148 cat confdefs.h >>conftest.$ac_ext
18149 cat >>conftest.$ac_ext <<_ACEOF
18150 /* end confdefs.h. */
18151 $ac_includes_default
18152 long longval () { return (long) (sizeof (void *)); }
18153 unsigned long ulongval () { return (long) (sizeof (void *)); }
18154 #include <stdio.h>
18155 #include <stdlib.h>
18156 int
18157 main ()
18158 {
18159
18160 FILE *f = fopen ("conftest.val", "w");
18161 if (! f)
18162 exit (1);
18163 if (((long) (sizeof (void *))) < 0)
18164 {
18165 long i = longval ();
18166 if (i != ((long) (sizeof (void *))))
18167 exit (1);
18168 fprintf (f, "%ld\n", i);
18169 }
18170 else
18171 {
18172 unsigned long i = ulongval ();
18173 if (i != ((long) (sizeof (void *))))
18174 exit (1);
18175 fprintf (f, "%lu\n", i);
18176 }
18177 exit (ferror (f) || fclose (f) != 0);
18178
18179 ;
18180 return 0;
18181 }
18182 _ACEOF
18183 rm -f conftest$ac_exeext
18184 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18185 (eval $ac_link) 2>&5
18186 ac_status=$?
18187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18188 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18190 (eval $ac_try) 2>&5
18191 ac_status=$?
18192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18193 (exit $ac_status); }; }; then
18194 ac_cv_sizeof_void_p=`cat conftest.val`
18195 else
18196 echo "$as_me: program exited with status $ac_status" >&5
18197 echo "$as_me: failed program was:" >&5
18198 sed 's/^/| /' conftest.$ac_ext >&5
18199
18200 ( exit $ac_status )
18201 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
18202 See \`config.log' for more details." >&5
18203 echo "$as_me: error: cannot compute sizeof (void *), 77
18204 See \`config.log' for more details." >&2;}
18205 { (exit 1); exit 1; }; }
18206 fi
18207 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18208 fi
18209 fi
18210 rm -f conftest.val
18211 else
18212 ac_cv_sizeof_void_p=0
18213 fi
18214 fi
18215 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
18216 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
18217 cat >>confdefs.h <<_ACEOF
18218 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
18219 _ACEOF
18220
18221
18222 echo "$as_me:$LINENO: checking for int" >&5
18223 echo $ECHO_N "checking for int... $ECHO_C" >&6
18224 if test "${ac_cv_type_int+set}" = set; then
18225 echo $ECHO_N "(cached) $ECHO_C" >&6
18226 else
18227 cat >conftest.$ac_ext <<_ACEOF
18228 /* confdefs.h. */
18229 _ACEOF
18230 cat confdefs.h >>conftest.$ac_ext
18231 cat >>conftest.$ac_ext <<_ACEOF
18232 /* end confdefs.h. */
18233 $ac_includes_default
18234 int
18235 main ()
18236 {
18237 if ((int *) 0)
18238 return 0;
18239 if (sizeof (int))
18240 return 0;
18241 ;
18242 return 0;
18243 }
18244 _ACEOF
18245 rm -f conftest.$ac_objext
18246 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18247 (eval $ac_compile) 2>conftest.er1
18248 ac_status=$?
18249 grep -v '^ *+' conftest.er1 >conftest.err
18250 rm -f conftest.er1
18251 cat conftest.err >&5
18252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18253 (exit $ac_status); } &&
18254 { ac_try='test -z "$ac_c_werror_flag"
18255 || test ! -s conftest.err'
18256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18257 (eval $ac_try) 2>&5
18258 ac_status=$?
18259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18260 (exit $ac_status); }; } &&
18261 { ac_try='test -s conftest.$ac_objext'
18262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18263 (eval $ac_try) 2>&5
18264 ac_status=$?
18265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18266 (exit $ac_status); }; }; then
18267 ac_cv_type_int=yes
18268 else
18269 echo "$as_me: failed program was:" >&5
18270 sed 's/^/| /' conftest.$ac_ext >&5
18271
18272 ac_cv_type_int=no
18273 fi
18274 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18275 fi
18276 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
18277 echo "${ECHO_T}$ac_cv_type_int" >&6
18278
18279 echo "$as_me:$LINENO: checking size of int" >&5
18280 echo $ECHO_N "checking size of int... $ECHO_C" >&6
18281 if test "${ac_cv_sizeof_int+set}" = set; then
18282 echo $ECHO_N "(cached) $ECHO_C" >&6
18283 else
18284 if test "$ac_cv_type_int" = yes; then
18285 # The cast to unsigned long works around a bug in the HP C Compiler
18286 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18287 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18288 # This bug is HP SR number 8606223364.
18289 if test "$cross_compiling" = yes; then
18290 # Depending upon the size, compute the lo and hi bounds.
18291 cat >conftest.$ac_ext <<_ACEOF
18292 /* confdefs.h. */
18293 _ACEOF
18294 cat confdefs.h >>conftest.$ac_ext
18295 cat >>conftest.$ac_ext <<_ACEOF
18296 /* end confdefs.h. */
18297 $ac_includes_default
18298 int
18299 main ()
18300 {
18301 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
18302 test_array [0] = 0
18303
18304 ;
18305 return 0;
18306 }
18307 _ACEOF
18308 rm -f conftest.$ac_objext
18309 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18310 (eval $ac_compile) 2>conftest.er1
18311 ac_status=$?
18312 grep -v '^ *+' conftest.er1 >conftest.err
18313 rm -f conftest.er1
18314 cat conftest.err >&5
18315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18316 (exit $ac_status); } &&
18317 { ac_try='test -z "$ac_c_werror_flag"
18318 || test ! -s conftest.err'
18319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18320 (eval $ac_try) 2>&5
18321 ac_status=$?
18322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18323 (exit $ac_status); }; } &&
18324 { ac_try='test -s conftest.$ac_objext'
18325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18326 (eval $ac_try) 2>&5
18327 ac_status=$?
18328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18329 (exit $ac_status); }; }; then
18330 ac_lo=0 ac_mid=0
18331 while :; do
18332 cat >conftest.$ac_ext <<_ACEOF
18333 /* confdefs.h. */
18334 _ACEOF
18335 cat confdefs.h >>conftest.$ac_ext
18336 cat >>conftest.$ac_ext <<_ACEOF
18337 /* end confdefs.h. */
18338 $ac_includes_default
18339 int
18340 main ()
18341 {
18342 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
18343 test_array [0] = 0
18344
18345 ;
18346 return 0;
18347 }
18348 _ACEOF
18349 rm -f conftest.$ac_objext
18350 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18351 (eval $ac_compile) 2>conftest.er1
18352 ac_status=$?
18353 grep -v '^ *+' conftest.er1 >conftest.err
18354 rm -f conftest.er1
18355 cat conftest.err >&5
18356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18357 (exit $ac_status); } &&
18358 { ac_try='test -z "$ac_c_werror_flag"
18359 || test ! -s conftest.err'
18360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18361 (eval $ac_try) 2>&5
18362 ac_status=$?
18363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18364 (exit $ac_status); }; } &&
18365 { ac_try='test -s conftest.$ac_objext'
18366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18367 (eval $ac_try) 2>&5
18368 ac_status=$?
18369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18370 (exit $ac_status); }; }; then
18371 ac_hi=$ac_mid; break
18372 else
18373 echo "$as_me: failed program was:" >&5
18374 sed 's/^/| /' conftest.$ac_ext >&5
18375
18376 ac_lo=`expr $ac_mid + 1`
18377 if test $ac_lo -le $ac_mid; then
18378 ac_lo= ac_hi=
18379 break
18380 fi
18381 ac_mid=`expr 2 '*' $ac_mid + 1`
18382 fi
18383 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18384 done
18385 else
18386 echo "$as_me: failed program was:" >&5
18387 sed 's/^/| /' conftest.$ac_ext >&5
18388
18389 cat >conftest.$ac_ext <<_ACEOF
18390 /* confdefs.h. */
18391 _ACEOF
18392 cat confdefs.h >>conftest.$ac_ext
18393 cat >>conftest.$ac_ext <<_ACEOF
18394 /* end confdefs.h. */
18395 $ac_includes_default
18396 int
18397 main ()
18398 {
18399 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
18400 test_array [0] = 0
18401
18402 ;
18403 return 0;
18404 }
18405 _ACEOF
18406 rm -f conftest.$ac_objext
18407 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18408 (eval $ac_compile) 2>conftest.er1
18409 ac_status=$?
18410 grep -v '^ *+' conftest.er1 >conftest.err
18411 rm -f conftest.er1
18412 cat conftest.err >&5
18413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18414 (exit $ac_status); } &&
18415 { ac_try='test -z "$ac_c_werror_flag"
18416 || test ! -s conftest.err'
18417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18418 (eval $ac_try) 2>&5
18419 ac_status=$?
18420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18421 (exit $ac_status); }; } &&
18422 { ac_try='test -s conftest.$ac_objext'
18423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18424 (eval $ac_try) 2>&5
18425 ac_status=$?
18426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18427 (exit $ac_status); }; }; then
18428 ac_hi=-1 ac_mid=-1
18429 while :; do
18430 cat >conftest.$ac_ext <<_ACEOF
18431 /* confdefs.h. */
18432 _ACEOF
18433 cat confdefs.h >>conftest.$ac_ext
18434 cat >>conftest.$ac_ext <<_ACEOF
18435 /* end confdefs.h. */
18436 $ac_includes_default
18437 int
18438 main ()
18439 {
18440 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
18441 test_array [0] = 0
18442
18443 ;
18444 return 0;
18445 }
18446 _ACEOF
18447 rm -f conftest.$ac_objext
18448 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18449 (eval $ac_compile) 2>conftest.er1
18450 ac_status=$?
18451 grep -v '^ *+' conftest.er1 >conftest.err
18452 rm -f conftest.er1
18453 cat conftest.err >&5
18454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18455 (exit $ac_status); } &&
18456 { ac_try='test -z "$ac_c_werror_flag"
18457 || test ! -s conftest.err'
18458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18459 (eval $ac_try) 2>&5
18460 ac_status=$?
18461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18462 (exit $ac_status); }; } &&
18463 { ac_try='test -s conftest.$ac_objext'
18464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18465 (eval $ac_try) 2>&5
18466 ac_status=$?
18467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18468 (exit $ac_status); }; }; then
18469 ac_lo=$ac_mid; break
18470 else
18471 echo "$as_me: failed program was:" >&5
18472 sed 's/^/| /' conftest.$ac_ext >&5
18473
18474 ac_hi=`expr '(' $ac_mid ')' - 1`
18475 if test $ac_mid -le $ac_hi; then
18476 ac_lo= ac_hi=
18477 break
18478 fi
18479 ac_mid=`expr 2 '*' $ac_mid`
18480 fi
18481 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18482 done
18483 else
18484 echo "$as_me: failed program was:" >&5
18485 sed 's/^/| /' conftest.$ac_ext >&5
18486
18487 ac_lo= ac_hi=
18488 fi
18489 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18490 fi
18491 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18492 # Binary search between lo and hi bounds.
18493 while test "x$ac_lo" != "x$ac_hi"; do
18494 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18495 cat >conftest.$ac_ext <<_ACEOF
18496 /* confdefs.h. */
18497 _ACEOF
18498 cat confdefs.h >>conftest.$ac_ext
18499 cat >>conftest.$ac_ext <<_ACEOF
18500 /* end confdefs.h. */
18501 $ac_includes_default
18502 int
18503 main ()
18504 {
18505 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
18506 test_array [0] = 0
18507
18508 ;
18509 return 0;
18510 }
18511 _ACEOF
18512 rm -f conftest.$ac_objext
18513 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18514 (eval $ac_compile) 2>conftest.er1
18515 ac_status=$?
18516 grep -v '^ *+' conftest.er1 >conftest.err
18517 rm -f conftest.er1
18518 cat conftest.err >&5
18519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18520 (exit $ac_status); } &&
18521 { ac_try='test -z "$ac_c_werror_flag"
18522 || test ! -s conftest.err'
18523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18524 (eval $ac_try) 2>&5
18525 ac_status=$?
18526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18527 (exit $ac_status); }; } &&
18528 { ac_try='test -s conftest.$ac_objext'
18529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18530 (eval $ac_try) 2>&5
18531 ac_status=$?
18532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18533 (exit $ac_status); }; }; then
18534 ac_hi=$ac_mid
18535 else
18536 echo "$as_me: failed program was:" >&5
18537 sed 's/^/| /' conftest.$ac_ext >&5
18538
18539 ac_lo=`expr '(' $ac_mid ')' + 1`
18540 fi
18541 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18542 done
18543 case $ac_lo in
18544 ?*) ac_cv_sizeof_int=$ac_lo;;
18545 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
18546 See \`config.log' for more details." >&5
18547 echo "$as_me: error: cannot compute sizeof (int), 77
18548 See \`config.log' for more details." >&2;}
18549 { (exit 1); exit 1; }; } ;;
18550 esac
18551 else
18552 if test "$cross_compiling" = yes; then
18553 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
18554 See \`config.log' for more details." >&5
18555 echo "$as_me: error: cannot run test program while cross compiling
18556 See \`config.log' for more details." >&2;}
18557 { (exit 1); exit 1; }; }
18558 else
18559 cat >conftest.$ac_ext <<_ACEOF
18560 /* confdefs.h. */
18561 _ACEOF
18562 cat confdefs.h >>conftest.$ac_ext
18563 cat >>conftest.$ac_ext <<_ACEOF
18564 /* end confdefs.h. */
18565 $ac_includes_default
18566 long longval () { return (long) (sizeof (int)); }
18567 unsigned long ulongval () { return (long) (sizeof (int)); }
18568 #include <stdio.h>
18569 #include <stdlib.h>
18570 int
18571 main ()
18572 {
18573
18574 FILE *f = fopen ("conftest.val", "w");
18575 if (! f)
18576 exit (1);
18577 if (((long) (sizeof (int))) < 0)
18578 {
18579 long i = longval ();
18580 if (i != ((long) (sizeof (int))))
18581 exit (1);
18582 fprintf (f, "%ld\n", i);
18583 }
18584 else
18585 {
18586 unsigned long i = ulongval ();
18587 if (i != ((long) (sizeof (int))))
18588 exit (1);
18589 fprintf (f, "%lu\n", i);
18590 }
18591 exit (ferror (f) || fclose (f) != 0);
18592
18593 ;
18594 return 0;
18595 }
18596 _ACEOF
18597 rm -f conftest$ac_exeext
18598 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18599 (eval $ac_link) 2>&5
18600 ac_status=$?
18601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18602 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18604 (eval $ac_try) 2>&5
18605 ac_status=$?
18606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18607 (exit $ac_status); }; }; then
18608 ac_cv_sizeof_int=`cat conftest.val`
18609 else
18610 echo "$as_me: program exited with status $ac_status" >&5
18611 echo "$as_me: failed program was:" >&5
18612 sed 's/^/| /' conftest.$ac_ext >&5
18613
18614 ( exit $ac_status )
18615 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
18616 See \`config.log' for more details." >&5
18617 echo "$as_me: error: cannot compute sizeof (int), 77
18618 See \`config.log' for more details." >&2;}
18619 { (exit 1); exit 1; }; }
18620 fi
18621 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18622 fi
18623 fi
18624 rm -f conftest.val
18625 else
18626 ac_cv_sizeof_int=0
18627 fi
18628 fi
18629 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
18630 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
18631 cat >>confdefs.h <<_ACEOF
18632 #define SIZEOF_INT $ac_cv_sizeof_int
18633 _ACEOF
18634
18635
18636 echo "$as_me:$LINENO: checking for long" >&5
18637 echo $ECHO_N "checking for long... $ECHO_C" >&6
18638 if test "${ac_cv_type_long+set}" = set; then
18639 echo $ECHO_N "(cached) $ECHO_C" >&6
18640 else
18641 cat >conftest.$ac_ext <<_ACEOF
18642 /* confdefs.h. */
18643 _ACEOF
18644 cat confdefs.h >>conftest.$ac_ext
18645 cat >>conftest.$ac_ext <<_ACEOF
18646 /* end confdefs.h. */
18647 $ac_includes_default
18648 int
18649 main ()
18650 {
18651 if ((long *) 0)
18652 return 0;
18653 if (sizeof (long))
18654 return 0;
18655 ;
18656 return 0;
18657 }
18658 _ACEOF
18659 rm -f conftest.$ac_objext
18660 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18661 (eval $ac_compile) 2>conftest.er1
18662 ac_status=$?
18663 grep -v '^ *+' conftest.er1 >conftest.err
18664 rm -f conftest.er1
18665 cat conftest.err >&5
18666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18667 (exit $ac_status); } &&
18668 { ac_try='test -z "$ac_c_werror_flag"
18669 || test ! -s conftest.err'
18670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18671 (eval $ac_try) 2>&5
18672 ac_status=$?
18673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18674 (exit $ac_status); }; } &&
18675 { ac_try='test -s conftest.$ac_objext'
18676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18677 (eval $ac_try) 2>&5
18678 ac_status=$?
18679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18680 (exit $ac_status); }; }; then
18681 ac_cv_type_long=yes
18682 else
18683 echo "$as_me: failed program was:" >&5
18684 sed 's/^/| /' conftest.$ac_ext >&5
18685
18686 ac_cv_type_long=no
18687 fi
18688 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18689 fi
18690 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
18691 echo "${ECHO_T}$ac_cv_type_long" >&6
18692
18693 echo "$as_me:$LINENO: checking size of long" >&5
18694 echo $ECHO_N "checking size of long... $ECHO_C" >&6
18695 if test "${ac_cv_sizeof_long+set}" = set; then
18696 echo $ECHO_N "(cached) $ECHO_C" >&6
18697 else
18698 if test "$ac_cv_type_long" = yes; then
18699 # The cast to unsigned long works around a bug in the HP C Compiler
18700 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18701 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18702 # This bug is HP SR number 8606223364.
18703 if test "$cross_compiling" = yes; then
18704 # Depending upon the size, compute the lo and hi bounds.
18705 cat >conftest.$ac_ext <<_ACEOF
18706 /* confdefs.h. */
18707 _ACEOF
18708 cat confdefs.h >>conftest.$ac_ext
18709 cat >>conftest.$ac_ext <<_ACEOF
18710 /* end confdefs.h. */
18711 $ac_includes_default
18712 int
18713 main ()
18714 {
18715 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
18716 test_array [0] = 0
18717
18718 ;
18719 return 0;
18720 }
18721 _ACEOF
18722 rm -f conftest.$ac_objext
18723 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18724 (eval $ac_compile) 2>conftest.er1
18725 ac_status=$?
18726 grep -v '^ *+' conftest.er1 >conftest.err
18727 rm -f conftest.er1
18728 cat conftest.err >&5
18729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18730 (exit $ac_status); } &&
18731 { ac_try='test -z "$ac_c_werror_flag"
18732 || test ! -s conftest.err'
18733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18734 (eval $ac_try) 2>&5
18735 ac_status=$?
18736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18737 (exit $ac_status); }; } &&
18738 { ac_try='test -s conftest.$ac_objext'
18739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18740 (eval $ac_try) 2>&5
18741 ac_status=$?
18742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18743 (exit $ac_status); }; }; then
18744 ac_lo=0 ac_mid=0
18745 while :; do
18746 cat >conftest.$ac_ext <<_ACEOF
18747 /* confdefs.h. */
18748 _ACEOF
18749 cat confdefs.h >>conftest.$ac_ext
18750 cat >>conftest.$ac_ext <<_ACEOF
18751 /* end confdefs.h. */
18752 $ac_includes_default
18753 int
18754 main ()
18755 {
18756 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
18757 test_array [0] = 0
18758
18759 ;
18760 return 0;
18761 }
18762 _ACEOF
18763 rm -f conftest.$ac_objext
18764 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18765 (eval $ac_compile) 2>conftest.er1
18766 ac_status=$?
18767 grep -v '^ *+' conftest.er1 >conftest.err
18768 rm -f conftest.er1
18769 cat conftest.err >&5
18770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18771 (exit $ac_status); } &&
18772 { ac_try='test -z "$ac_c_werror_flag"
18773 || test ! -s conftest.err'
18774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18775 (eval $ac_try) 2>&5
18776 ac_status=$?
18777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18778 (exit $ac_status); }; } &&
18779 { ac_try='test -s conftest.$ac_objext'
18780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18781 (eval $ac_try) 2>&5
18782 ac_status=$?
18783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18784 (exit $ac_status); }; }; then
18785 ac_hi=$ac_mid; break
18786 else
18787 echo "$as_me: failed program was:" >&5
18788 sed 's/^/| /' conftest.$ac_ext >&5
18789
18790 ac_lo=`expr $ac_mid + 1`
18791 if test $ac_lo -le $ac_mid; then
18792 ac_lo= ac_hi=
18793 break
18794 fi
18795 ac_mid=`expr 2 '*' $ac_mid + 1`
18796 fi
18797 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18798 done
18799 else
18800 echo "$as_me: failed program was:" >&5
18801 sed 's/^/| /' conftest.$ac_ext >&5
18802
18803 cat >conftest.$ac_ext <<_ACEOF
18804 /* confdefs.h. */
18805 _ACEOF
18806 cat confdefs.h >>conftest.$ac_ext
18807 cat >>conftest.$ac_ext <<_ACEOF
18808 /* end confdefs.h. */
18809 $ac_includes_default
18810 int
18811 main ()
18812 {
18813 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
18814 test_array [0] = 0
18815
18816 ;
18817 return 0;
18818 }
18819 _ACEOF
18820 rm -f conftest.$ac_objext
18821 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18822 (eval $ac_compile) 2>conftest.er1
18823 ac_status=$?
18824 grep -v '^ *+' conftest.er1 >conftest.err
18825 rm -f conftest.er1
18826 cat conftest.err >&5
18827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18828 (exit $ac_status); } &&
18829 { ac_try='test -z "$ac_c_werror_flag"
18830 || test ! -s conftest.err'
18831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18832 (eval $ac_try) 2>&5
18833 ac_status=$?
18834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18835 (exit $ac_status); }; } &&
18836 { ac_try='test -s conftest.$ac_objext'
18837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18838 (eval $ac_try) 2>&5
18839 ac_status=$?
18840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18841 (exit $ac_status); }; }; then
18842 ac_hi=-1 ac_mid=-1
18843 while :; do
18844 cat >conftest.$ac_ext <<_ACEOF
18845 /* confdefs.h. */
18846 _ACEOF
18847 cat confdefs.h >>conftest.$ac_ext
18848 cat >>conftest.$ac_ext <<_ACEOF
18849 /* end confdefs.h. */
18850 $ac_includes_default
18851 int
18852 main ()
18853 {
18854 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
18855 test_array [0] = 0
18856
18857 ;
18858 return 0;
18859 }
18860 _ACEOF
18861 rm -f conftest.$ac_objext
18862 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18863 (eval $ac_compile) 2>conftest.er1
18864 ac_status=$?
18865 grep -v '^ *+' conftest.er1 >conftest.err
18866 rm -f conftest.er1
18867 cat conftest.err >&5
18868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18869 (exit $ac_status); } &&
18870 { ac_try='test -z "$ac_c_werror_flag"
18871 || test ! -s conftest.err'
18872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18873 (eval $ac_try) 2>&5
18874 ac_status=$?
18875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18876 (exit $ac_status); }; } &&
18877 { ac_try='test -s conftest.$ac_objext'
18878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18879 (eval $ac_try) 2>&5
18880 ac_status=$?
18881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18882 (exit $ac_status); }; }; then
18883 ac_lo=$ac_mid; break
18884 else
18885 echo "$as_me: failed program was:" >&5
18886 sed 's/^/| /' conftest.$ac_ext >&5
18887
18888 ac_hi=`expr '(' $ac_mid ')' - 1`
18889 if test $ac_mid -le $ac_hi; then
18890 ac_lo= ac_hi=
18891 break
18892 fi
18893 ac_mid=`expr 2 '*' $ac_mid`
18894 fi
18895 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18896 done
18897 else
18898 echo "$as_me: failed program was:" >&5
18899 sed 's/^/| /' conftest.$ac_ext >&5
18900
18901 ac_lo= ac_hi=
18902 fi
18903 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18904 fi
18905 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18906 # Binary search between lo and hi bounds.
18907 while test "x$ac_lo" != "x$ac_hi"; do
18908 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18909 cat >conftest.$ac_ext <<_ACEOF
18910 /* confdefs.h. */
18911 _ACEOF
18912 cat confdefs.h >>conftest.$ac_ext
18913 cat >>conftest.$ac_ext <<_ACEOF
18914 /* end confdefs.h. */
18915 $ac_includes_default
18916 int
18917 main ()
18918 {
18919 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
18920 test_array [0] = 0
18921
18922 ;
18923 return 0;
18924 }
18925 _ACEOF
18926 rm -f conftest.$ac_objext
18927 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18928 (eval $ac_compile) 2>conftest.er1
18929 ac_status=$?
18930 grep -v '^ *+' conftest.er1 >conftest.err
18931 rm -f conftest.er1
18932 cat conftest.err >&5
18933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18934 (exit $ac_status); } &&
18935 { ac_try='test -z "$ac_c_werror_flag"
18936 || test ! -s conftest.err'
18937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18938 (eval $ac_try) 2>&5
18939 ac_status=$?
18940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18941 (exit $ac_status); }; } &&
18942 { ac_try='test -s conftest.$ac_objext'
18943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18944 (eval $ac_try) 2>&5
18945 ac_status=$?
18946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18947 (exit $ac_status); }; }; then
18948 ac_hi=$ac_mid
18949 else
18950 echo "$as_me: failed program was:" >&5
18951 sed 's/^/| /' conftest.$ac_ext >&5
18952
18953 ac_lo=`expr '(' $ac_mid ')' + 1`
18954 fi
18955 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18956 done
18957 case $ac_lo in
18958 ?*) ac_cv_sizeof_long=$ac_lo;;
18959 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
18960 See \`config.log' for more details." >&5
18961 echo "$as_me: error: cannot compute sizeof (long), 77
18962 See \`config.log' for more details." >&2;}
18963 { (exit 1); exit 1; }; } ;;
18964 esac
18965 else
18966 if test "$cross_compiling" = yes; then
18967 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
18968 See \`config.log' for more details." >&5
18969 echo "$as_me: error: cannot run test program while cross compiling
18970 See \`config.log' for more details." >&2;}
18971 { (exit 1); exit 1; }; }
18972 else
18973 cat >conftest.$ac_ext <<_ACEOF
18974 /* confdefs.h. */
18975 _ACEOF
18976 cat confdefs.h >>conftest.$ac_ext
18977 cat >>conftest.$ac_ext <<_ACEOF
18978 /* end confdefs.h. */
18979 $ac_includes_default
18980 long longval () { return (long) (sizeof (long)); }
18981 unsigned long ulongval () { return (long) (sizeof (long)); }
18982 #include <stdio.h>
18983 #include <stdlib.h>
18984 int
18985 main ()
18986 {
18987
18988 FILE *f = fopen ("conftest.val", "w");
18989 if (! f)
18990 exit (1);
18991 if (((long) (sizeof (long))) < 0)
18992 {
18993 long i = longval ();
18994 if (i != ((long) (sizeof (long))))
18995 exit (1);
18996 fprintf (f, "%ld\n", i);
18997 }
18998 else
18999 {
19000 unsigned long i = ulongval ();
19001 if (i != ((long) (sizeof (long))))
19002 exit (1);
19003 fprintf (f, "%lu\n", i);
19004 }
19005 exit (ferror (f) || fclose (f) != 0);
19006
19007 ;
19008 return 0;
19009 }
19010 _ACEOF
19011 rm -f conftest$ac_exeext
19012 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19013 (eval $ac_link) 2>&5
19014 ac_status=$?
19015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19016 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19018 (eval $ac_try) 2>&5
19019 ac_status=$?
19020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19021 (exit $ac_status); }; }; then
19022 ac_cv_sizeof_long=`cat conftest.val`
19023 else
19024 echo "$as_me: program exited with status $ac_status" >&5
19025 echo "$as_me: failed program was:" >&5
19026 sed 's/^/| /' conftest.$ac_ext >&5
19027
19028 ( exit $ac_status )
19029 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
19030 See \`config.log' for more details." >&5
19031 echo "$as_me: error: cannot compute sizeof (long), 77
19032 See \`config.log' for more details." >&2;}
19033 { (exit 1); exit 1; }; }
19034 fi
19035 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19036 fi
19037 fi
19038 rm -f conftest.val
19039 else
19040 ac_cv_sizeof_long=0
19041 fi
19042 fi
19043 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
19044 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
19045 cat >>confdefs.h <<_ACEOF
19046 #define SIZEOF_LONG $ac_cv_sizeof_long
19047 _ACEOF
19048
19049
19050 echo "$as_me:$LINENO: checking for size_t" >&5
19051 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
19052 if test "${ac_cv_type_size_t+set}" = set; then
19053 echo $ECHO_N "(cached) $ECHO_C" >&6
19054 else
19055 cat >conftest.$ac_ext <<_ACEOF
19056 /* confdefs.h. */
19057 _ACEOF
19058 cat confdefs.h >>conftest.$ac_ext
19059 cat >>conftest.$ac_ext <<_ACEOF
19060 /* end confdefs.h. */
19061 $ac_includes_default
19062 int
19063 main ()
19064 {
19065 if ((size_t *) 0)
19066 return 0;
19067 if (sizeof (size_t))
19068 return 0;
19069 ;
19070 return 0;
19071 }
19072 _ACEOF
19073 rm -f conftest.$ac_objext
19074 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19075 (eval $ac_compile) 2>conftest.er1
19076 ac_status=$?
19077 grep -v '^ *+' conftest.er1 >conftest.err
19078 rm -f conftest.er1
19079 cat conftest.err >&5
19080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19081 (exit $ac_status); } &&
19082 { ac_try='test -z "$ac_c_werror_flag"
19083 || test ! -s conftest.err'
19084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19085 (eval $ac_try) 2>&5
19086 ac_status=$?
19087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19088 (exit $ac_status); }; } &&
19089 { ac_try='test -s conftest.$ac_objext'
19090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19091 (eval $ac_try) 2>&5
19092 ac_status=$?
19093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19094 (exit $ac_status); }; }; then
19095 ac_cv_type_size_t=yes
19096 else
19097 echo "$as_me: failed program was:" >&5
19098 sed 's/^/| /' conftest.$ac_ext >&5
19099
19100 ac_cv_type_size_t=no
19101 fi
19102 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19103 fi
19104 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
19105 echo "${ECHO_T}$ac_cv_type_size_t" >&6
19106
19107 echo "$as_me:$LINENO: checking size of size_t" >&5
19108 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6
19109 if test "${ac_cv_sizeof_size_t+set}" = set; then
19110 echo $ECHO_N "(cached) $ECHO_C" >&6
19111 else
19112 if test "$ac_cv_type_size_t" = yes; then
19113 # The cast to unsigned long works around a bug in the HP C Compiler
19114 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19115 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19116 # This bug is HP SR number 8606223364.
19117 if test "$cross_compiling" = yes; then
19118 # Depending upon the size, compute the lo and hi bounds.
19119 cat >conftest.$ac_ext <<_ACEOF
19120 /* confdefs.h. */
19121 _ACEOF
19122 cat confdefs.h >>conftest.$ac_ext
19123 cat >>conftest.$ac_ext <<_ACEOF
19124 /* end confdefs.h. */
19125 $ac_includes_default
19126 int
19127 main ()
19128 {
19129 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= 0)];
19130 test_array [0] = 0
19131
19132 ;
19133 return 0;
19134 }
19135 _ACEOF
19136 rm -f conftest.$ac_objext
19137 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19138 (eval $ac_compile) 2>conftest.er1
19139 ac_status=$?
19140 grep -v '^ *+' conftest.er1 >conftest.err
19141 rm -f conftest.er1
19142 cat conftest.err >&5
19143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19144 (exit $ac_status); } &&
19145 { ac_try='test -z "$ac_c_werror_flag"
19146 || test ! -s conftest.err'
19147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19148 (eval $ac_try) 2>&5
19149 ac_status=$?
19150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19151 (exit $ac_status); }; } &&
19152 { ac_try='test -s conftest.$ac_objext'
19153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19154 (eval $ac_try) 2>&5
19155 ac_status=$?
19156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19157 (exit $ac_status); }; }; then
19158 ac_lo=0 ac_mid=0
19159 while :; do
19160 cat >conftest.$ac_ext <<_ACEOF
19161 /* confdefs.h. */
19162 _ACEOF
19163 cat confdefs.h >>conftest.$ac_ext
19164 cat >>conftest.$ac_ext <<_ACEOF
19165 /* end confdefs.h. */
19166 $ac_includes_default
19167 int
19168 main ()
19169 {
19170 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
19171 test_array [0] = 0
19172
19173 ;
19174 return 0;
19175 }
19176 _ACEOF
19177 rm -f conftest.$ac_objext
19178 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19179 (eval $ac_compile) 2>conftest.er1
19180 ac_status=$?
19181 grep -v '^ *+' conftest.er1 >conftest.err
19182 rm -f conftest.er1
19183 cat conftest.err >&5
19184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19185 (exit $ac_status); } &&
19186 { ac_try='test -z "$ac_c_werror_flag"
19187 || test ! -s conftest.err'
19188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19189 (eval $ac_try) 2>&5
19190 ac_status=$?
19191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19192 (exit $ac_status); }; } &&
19193 { ac_try='test -s conftest.$ac_objext'
19194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19195 (eval $ac_try) 2>&5
19196 ac_status=$?
19197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19198 (exit $ac_status); }; }; then
19199 ac_hi=$ac_mid; break
19200 else
19201 echo "$as_me: failed program was:" >&5
19202 sed 's/^/| /' conftest.$ac_ext >&5
19203
19204 ac_lo=`expr $ac_mid + 1`
19205 if test $ac_lo -le $ac_mid; then
19206 ac_lo= ac_hi=
19207 break
19208 fi
19209 ac_mid=`expr 2 '*' $ac_mid + 1`
19210 fi
19211 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19212 done
19213 else
19214 echo "$as_me: failed program was:" >&5
19215 sed 's/^/| /' conftest.$ac_ext >&5
19216
19217 cat >conftest.$ac_ext <<_ACEOF
19218 /* confdefs.h. */
19219 _ACEOF
19220 cat confdefs.h >>conftest.$ac_ext
19221 cat >>conftest.$ac_ext <<_ACEOF
19222 /* end confdefs.h. */
19223 $ac_includes_default
19224 int
19225 main ()
19226 {
19227 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) < 0)];
19228 test_array [0] = 0
19229
19230 ;
19231 return 0;
19232 }
19233 _ACEOF
19234 rm -f conftest.$ac_objext
19235 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19236 (eval $ac_compile) 2>conftest.er1
19237 ac_status=$?
19238 grep -v '^ *+' conftest.er1 >conftest.err
19239 rm -f conftest.er1
19240 cat conftest.err >&5
19241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19242 (exit $ac_status); } &&
19243 { ac_try='test -z "$ac_c_werror_flag"
19244 || test ! -s conftest.err'
19245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19246 (eval $ac_try) 2>&5
19247 ac_status=$?
19248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19249 (exit $ac_status); }; } &&
19250 { ac_try='test -s conftest.$ac_objext'
19251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19252 (eval $ac_try) 2>&5
19253 ac_status=$?
19254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19255 (exit $ac_status); }; }; then
19256 ac_hi=-1 ac_mid=-1
19257 while :; do
19258 cat >conftest.$ac_ext <<_ACEOF
19259 /* confdefs.h. */
19260 _ACEOF
19261 cat confdefs.h >>conftest.$ac_ext
19262 cat >>conftest.$ac_ext <<_ACEOF
19263 /* end confdefs.h. */
19264 $ac_includes_default
19265 int
19266 main ()
19267 {
19268 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= $ac_mid)];
19269 test_array [0] = 0
19270
19271 ;
19272 return 0;
19273 }
19274 _ACEOF
19275 rm -f conftest.$ac_objext
19276 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19277 (eval $ac_compile) 2>conftest.er1
19278 ac_status=$?
19279 grep -v '^ *+' conftest.er1 >conftest.err
19280 rm -f conftest.er1
19281 cat conftest.err >&5
19282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19283 (exit $ac_status); } &&
19284 { ac_try='test -z "$ac_c_werror_flag"
19285 || test ! -s conftest.err'
19286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19287 (eval $ac_try) 2>&5
19288 ac_status=$?
19289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19290 (exit $ac_status); }; } &&
19291 { ac_try='test -s conftest.$ac_objext'
19292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19293 (eval $ac_try) 2>&5
19294 ac_status=$?
19295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19296 (exit $ac_status); }; }; then
19297 ac_lo=$ac_mid; break
19298 else
19299 echo "$as_me: failed program was:" >&5
19300 sed 's/^/| /' conftest.$ac_ext >&5
19301
19302 ac_hi=`expr '(' $ac_mid ')' - 1`
19303 if test $ac_mid -le $ac_hi; then
19304 ac_lo= ac_hi=
19305 break
19306 fi
19307 ac_mid=`expr 2 '*' $ac_mid`
19308 fi
19309 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19310 done
19311 else
19312 echo "$as_me: failed program was:" >&5
19313 sed 's/^/| /' conftest.$ac_ext >&5
19314
19315 ac_lo= ac_hi=
19316 fi
19317 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19318 fi
19319 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19320 # Binary search between lo and hi bounds.
19321 while test "x$ac_lo" != "x$ac_hi"; do
19322 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19323 cat >conftest.$ac_ext <<_ACEOF
19324 /* confdefs.h. */
19325 _ACEOF
19326 cat confdefs.h >>conftest.$ac_ext
19327 cat >>conftest.$ac_ext <<_ACEOF
19328 /* end confdefs.h. */
19329 $ac_includes_default
19330 int
19331 main ()
19332 {
19333 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
19334 test_array [0] = 0
19335
19336 ;
19337 return 0;
19338 }
19339 _ACEOF
19340 rm -f conftest.$ac_objext
19341 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19342 (eval $ac_compile) 2>conftest.er1
19343 ac_status=$?
19344 grep -v '^ *+' conftest.er1 >conftest.err
19345 rm -f conftest.er1
19346 cat conftest.err >&5
19347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19348 (exit $ac_status); } &&
19349 { ac_try='test -z "$ac_c_werror_flag"
19350 || test ! -s conftest.err'
19351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19352 (eval $ac_try) 2>&5
19353 ac_status=$?
19354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19355 (exit $ac_status); }; } &&
19356 { ac_try='test -s conftest.$ac_objext'
19357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19358 (eval $ac_try) 2>&5
19359 ac_status=$?
19360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19361 (exit $ac_status); }; }; then
19362 ac_hi=$ac_mid
19363 else
19364 echo "$as_me: failed program was:" >&5
19365 sed 's/^/| /' conftest.$ac_ext >&5
19366
19367 ac_lo=`expr '(' $ac_mid ')' + 1`
19368 fi
19369 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19370 done
19371 case $ac_lo in
19372 ?*) ac_cv_sizeof_size_t=$ac_lo;;
19373 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
19374 See \`config.log' for more details." >&5
19375 echo "$as_me: error: cannot compute sizeof (size_t), 77
19376 See \`config.log' for more details." >&2;}
19377 { (exit 1); exit 1; }; } ;;
19378 esac
19379 else
19380 if test "$cross_compiling" = yes; then
19381 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
19382 See \`config.log' for more details." >&5
19383 echo "$as_me: error: cannot run test program while cross compiling
19384 See \`config.log' for more details." >&2;}
19385 { (exit 1); exit 1; }; }
19386 else
19387 cat >conftest.$ac_ext <<_ACEOF
19388 /* confdefs.h. */
19389 _ACEOF
19390 cat confdefs.h >>conftest.$ac_ext
19391 cat >>conftest.$ac_ext <<_ACEOF
19392 /* end confdefs.h. */
19393 $ac_includes_default
19394 long longval () { return (long) (sizeof (size_t)); }
19395 unsigned long ulongval () { return (long) (sizeof (size_t)); }
19396 #include <stdio.h>
19397 #include <stdlib.h>
19398 int
19399 main ()
19400 {
19401
19402 FILE *f = fopen ("conftest.val", "w");
19403 if (! f)
19404 exit (1);
19405 if (((long) (sizeof (size_t))) < 0)
19406 {
19407 long i = longval ();
19408 if (i != ((long) (sizeof (size_t))))
19409 exit (1);
19410 fprintf (f, "%ld\n", i);
19411 }
19412 else
19413 {
19414 unsigned long i = ulongval ();
19415 if (i != ((long) (sizeof (size_t))))
19416 exit (1);
19417 fprintf (f, "%lu\n", i);
19418 }
19419 exit (ferror (f) || fclose (f) != 0);
19420
19421 ;
19422 return 0;
19423 }
19424 _ACEOF
19425 rm -f conftest$ac_exeext
19426 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19427 (eval $ac_link) 2>&5
19428 ac_status=$?
19429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19430 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19432 (eval $ac_try) 2>&5
19433 ac_status=$?
19434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19435 (exit $ac_status); }; }; then
19436 ac_cv_sizeof_size_t=`cat conftest.val`
19437 else
19438 echo "$as_me: program exited with status $ac_status" >&5
19439 echo "$as_me: failed program was:" >&5
19440 sed 's/^/| /' conftest.$ac_ext >&5
19441
19442 ( exit $ac_status )
19443 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
19444 See \`config.log' for more details." >&5
19445 echo "$as_me: error: cannot compute sizeof (size_t), 77
19446 See \`config.log' for more details." >&2;}
19447 { (exit 1); exit 1; }; }
19448 fi
19449 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19450 fi
19451 fi
19452 rm -f conftest.val
19453 else
19454 ac_cv_sizeof_size_t=0
19455 fi
19456 fi
19457 echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
19458 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6
19459 cat >>confdefs.h <<_ACEOF
19460 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
19461 _ACEOF
19462
19463
19464
19465 case "${host}" in
19466 arm-*-linux* )
19467 echo "$as_me:$LINENO: checking for long long" >&5
19468 echo $ECHO_N "checking for long long... $ECHO_C" >&6
19469 if test "${ac_cv_type_long_long+set}" = set; then
19470 echo $ECHO_N "(cached) $ECHO_C" >&6
19471 else
19472 cat >conftest.$ac_ext <<_ACEOF
19473 /* confdefs.h. */
19474 _ACEOF
19475 cat confdefs.h >>conftest.$ac_ext
19476 cat >>conftest.$ac_ext <<_ACEOF
19477 /* end confdefs.h. */
19478 $ac_includes_default
19479 int
19480 main ()
19481 {
19482 if ((long long *) 0)
19483 return 0;
19484 if (sizeof (long long))
19485 return 0;
19486 ;
19487 return 0;
19488 }
19489 _ACEOF
19490 rm -f conftest.$ac_objext
19491 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19492 (eval $ac_compile) 2>conftest.er1
19493 ac_status=$?
19494 grep -v '^ *+' conftest.er1 >conftest.err
19495 rm -f conftest.er1
19496 cat conftest.err >&5
19497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19498 (exit $ac_status); } &&
19499 { ac_try='test -z "$ac_c_werror_flag"
19500 || test ! -s conftest.err'
19501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19502 (eval $ac_try) 2>&5
19503 ac_status=$?
19504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19505 (exit $ac_status); }; } &&
19506 { ac_try='test -s conftest.$ac_objext'
19507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19508 (eval $ac_try) 2>&5
19509 ac_status=$?
19510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19511 (exit $ac_status); }; }; then
19512 ac_cv_type_long_long=yes
19513 else
19514 echo "$as_me: failed program was:" >&5
19515 sed 's/^/| /' conftest.$ac_ext >&5
19516
19517 ac_cv_type_long_long=no
19518 fi
19519 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19520 fi
19521 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
19522 echo "${ECHO_T}$ac_cv_type_long_long" >&6
19523
19524 echo "$as_me:$LINENO: checking size of long long" >&5
19525 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
19526 if test "${ac_cv_sizeof_long_long+set}" = set; then
19527 echo $ECHO_N "(cached) $ECHO_C" >&6
19528 else
19529 if test "$ac_cv_type_long_long" = yes; then
19530 # The cast to unsigned long works around a bug in the HP C Compiler
19531 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19532 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19533 # This bug is HP SR number 8606223364.
19534 if test "$cross_compiling" = yes; then
19535 # Depending upon the size, compute the lo and hi bounds.
19536 cat >conftest.$ac_ext <<_ACEOF
19537 /* confdefs.h. */
19538 _ACEOF
19539 cat confdefs.h >>conftest.$ac_ext
19540 cat >>conftest.$ac_ext <<_ACEOF
19541 /* end confdefs.h. */
19542 $ac_includes_default
19543 int
19544 main ()
19545 {
19546 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
19547 test_array [0] = 0
19548
19549 ;
19550 return 0;
19551 }
19552 _ACEOF
19553 rm -f conftest.$ac_objext
19554 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19555 (eval $ac_compile) 2>conftest.er1
19556 ac_status=$?
19557 grep -v '^ *+' conftest.er1 >conftest.err
19558 rm -f conftest.er1
19559 cat conftest.err >&5
19560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19561 (exit $ac_status); } &&
19562 { ac_try='test -z "$ac_c_werror_flag"
19563 || test ! -s conftest.err'
19564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19565 (eval $ac_try) 2>&5
19566 ac_status=$?
19567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19568 (exit $ac_status); }; } &&
19569 { ac_try='test -s conftest.$ac_objext'
19570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19571 (eval $ac_try) 2>&5
19572 ac_status=$?
19573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19574 (exit $ac_status); }; }; then
19575 ac_lo=0 ac_mid=0
19576 while :; do
19577 cat >conftest.$ac_ext <<_ACEOF
19578 /* confdefs.h. */
19579 _ACEOF
19580 cat confdefs.h >>conftest.$ac_ext
19581 cat >>conftest.$ac_ext <<_ACEOF
19582 /* end confdefs.h. */
19583 $ac_includes_default
19584 int
19585 main ()
19586 {
19587 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
19588 test_array [0] = 0
19589
19590 ;
19591 return 0;
19592 }
19593 _ACEOF
19594 rm -f conftest.$ac_objext
19595 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19596 (eval $ac_compile) 2>conftest.er1
19597 ac_status=$?
19598 grep -v '^ *+' conftest.er1 >conftest.err
19599 rm -f conftest.er1
19600 cat conftest.err >&5
19601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19602 (exit $ac_status); } &&
19603 { ac_try='test -z "$ac_c_werror_flag"
19604 || test ! -s conftest.err'
19605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19606 (eval $ac_try) 2>&5
19607 ac_status=$?
19608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19609 (exit $ac_status); }; } &&
19610 { ac_try='test -s conftest.$ac_objext'
19611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19612 (eval $ac_try) 2>&5
19613 ac_status=$?
19614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19615 (exit $ac_status); }; }; then
19616 ac_hi=$ac_mid; break
19617 else
19618 echo "$as_me: failed program was:" >&5
19619 sed 's/^/| /' conftest.$ac_ext >&5
19620
19621 ac_lo=`expr $ac_mid + 1`
19622 if test $ac_lo -le $ac_mid; then
19623 ac_lo= ac_hi=
19624 break
19625 fi
19626 ac_mid=`expr 2 '*' $ac_mid + 1`
19627 fi
19628 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19629 done
19630 else
19631 echo "$as_me: failed program was:" >&5
19632 sed 's/^/| /' conftest.$ac_ext >&5
19633
19634 cat >conftest.$ac_ext <<_ACEOF
19635 /* confdefs.h. */
19636 _ACEOF
19637 cat confdefs.h >>conftest.$ac_ext
19638 cat >>conftest.$ac_ext <<_ACEOF
19639 /* end confdefs.h. */
19640 $ac_includes_default
19641 int
19642 main ()
19643 {
19644 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
19645 test_array [0] = 0
19646
19647 ;
19648 return 0;
19649 }
19650 _ACEOF
19651 rm -f conftest.$ac_objext
19652 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19653 (eval $ac_compile) 2>conftest.er1
19654 ac_status=$?
19655 grep -v '^ *+' conftest.er1 >conftest.err
19656 rm -f conftest.er1
19657 cat conftest.err >&5
19658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19659 (exit $ac_status); } &&
19660 { ac_try='test -z "$ac_c_werror_flag"
19661 || test ! -s conftest.err'
19662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19663 (eval $ac_try) 2>&5
19664 ac_status=$?
19665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19666 (exit $ac_status); }; } &&
19667 { ac_try='test -s conftest.$ac_objext'
19668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19669 (eval $ac_try) 2>&5
19670 ac_status=$?
19671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19672 (exit $ac_status); }; }; then
19673 ac_hi=-1 ac_mid=-1
19674 while :; do
19675 cat >conftest.$ac_ext <<_ACEOF
19676 /* confdefs.h. */
19677 _ACEOF
19678 cat confdefs.h >>conftest.$ac_ext
19679 cat >>conftest.$ac_ext <<_ACEOF
19680 /* end confdefs.h. */
19681 $ac_includes_default
19682 int
19683 main ()
19684 {
19685 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
19686 test_array [0] = 0
19687
19688 ;
19689 return 0;
19690 }
19691 _ACEOF
19692 rm -f conftest.$ac_objext
19693 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19694 (eval $ac_compile) 2>conftest.er1
19695 ac_status=$?
19696 grep -v '^ *+' conftest.er1 >conftest.err
19697 rm -f conftest.er1
19698 cat conftest.err >&5
19699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19700 (exit $ac_status); } &&
19701 { ac_try='test -z "$ac_c_werror_flag"
19702 || test ! -s conftest.err'
19703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19704 (eval $ac_try) 2>&5
19705 ac_status=$?
19706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19707 (exit $ac_status); }; } &&
19708 { ac_try='test -s conftest.$ac_objext'
19709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19710 (eval $ac_try) 2>&5
19711 ac_status=$?
19712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19713 (exit $ac_status); }; }; then
19714 ac_lo=$ac_mid; break
19715 else
19716 echo "$as_me: failed program was:" >&5
19717 sed 's/^/| /' conftest.$ac_ext >&5
19718
19719 ac_hi=`expr '(' $ac_mid ')' - 1`
19720 if test $ac_mid -le $ac_hi; then
19721 ac_lo= ac_hi=
19722 break
19723 fi
19724 ac_mid=`expr 2 '*' $ac_mid`
19725 fi
19726 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19727 done
19728 else
19729 echo "$as_me: failed program was:" >&5
19730 sed 's/^/| /' conftest.$ac_ext >&5
19731
19732 ac_lo= ac_hi=
19733 fi
19734 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19735 fi
19736 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19737 # Binary search between lo and hi bounds.
19738 while test "x$ac_lo" != "x$ac_hi"; do
19739 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19740 cat >conftest.$ac_ext <<_ACEOF
19741 /* confdefs.h. */
19742 _ACEOF
19743 cat confdefs.h >>conftest.$ac_ext
19744 cat >>conftest.$ac_ext <<_ACEOF
19745 /* end confdefs.h. */
19746 $ac_includes_default
19747 int
19748 main ()
19749 {
19750 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
19751 test_array [0] = 0
19752
19753 ;
19754 return 0;
19755 }
19756 _ACEOF
19757 rm -f conftest.$ac_objext
19758 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19759 (eval $ac_compile) 2>conftest.er1
19760 ac_status=$?
19761 grep -v '^ *+' conftest.er1 >conftest.err
19762 rm -f conftest.er1
19763 cat conftest.err >&5
19764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19765 (exit $ac_status); } &&
19766 { ac_try='test -z "$ac_c_werror_flag"
19767 || test ! -s conftest.err'
19768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19769 (eval $ac_try) 2>&5
19770 ac_status=$?
19771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19772 (exit $ac_status); }; } &&
19773 { ac_try='test -s conftest.$ac_objext'
19774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19775 (eval $ac_try) 2>&5
19776 ac_status=$?
19777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19778 (exit $ac_status); }; }; then
19779 ac_hi=$ac_mid
19780 else
19781 echo "$as_me: failed program was:" >&5
19782 sed 's/^/| /' conftest.$ac_ext >&5
19783
19784 ac_lo=`expr '(' $ac_mid ')' + 1`
19785 fi
19786 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19787 done
19788 case $ac_lo in
19789 ?*) ac_cv_sizeof_long_long=$ac_lo;;
19790 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
19791 See \`config.log' for more details." >&5
19792 echo "$as_me: error: cannot compute sizeof (long long), 77
19793 See \`config.log' for more details." >&2;}
19794 { (exit 1); exit 1; }; } ;;
19795 esac
19796 else
19797 if test "$cross_compiling" = yes; then
19798 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
19799 See \`config.log' for more details." >&5
19800 echo "$as_me: error: cannot run test program while cross compiling
19801 See \`config.log' for more details." >&2;}
19802 { (exit 1); exit 1; }; }
19803 else
19804 cat >conftest.$ac_ext <<_ACEOF
19805 /* confdefs.h. */
19806 _ACEOF
19807 cat confdefs.h >>conftest.$ac_ext
19808 cat >>conftest.$ac_ext <<_ACEOF
19809 /* end confdefs.h. */
19810 $ac_includes_default
19811 long longval () { return (long) (sizeof (long long)); }
19812 unsigned long ulongval () { return (long) (sizeof (long long)); }
19813 #include <stdio.h>
19814 #include <stdlib.h>
19815 int
19816 main ()
19817 {
19818
19819 FILE *f = fopen ("conftest.val", "w");
19820 if (! f)
19821 exit (1);
19822 if (((long) (sizeof (long long))) < 0)
19823 {
19824 long i = longval ();
19825 if (i != ((long) (sizeof (long long))))
19826 exit (1);
19827 fprintf (f, "%ld\n", i);
19828 }
19829 else
19830 {
19831 unsigned long i = ulongval ();
19832 if (i != ((long) (sizeof (long long))))
19833 exit (1);
19834 fprintf (f, "%lu\n", i);
19835 }
19836 exit (ferror (f) || fclose (f) != 0);
19837
19838 ;
19839 return 0;
19840 }
19841 _ACEOF
19842 rm -f conftest$ac_exeext
19843 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19844 (eval $ac_link) 2>&5
19845 ac_status=$?
19846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19847 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19849 (eval $ac_try) 2>&5
19850 ac_status=$?
19851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19852 (exit $ac_status); }; }; then
19853 ac_cv_sizeof_long_long=`cat conftest.val`
19854 else
19855 echo "$as_me: program exited with status $ac_status" >&5
19856 echo "$as_me: failed program was:" >&5
19857 sed 's/^/| /' conftest.$ac_ext >&5
19858
19859 ( exit $ac_status )
19860 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
19861 See \`config.log' for more details." >&5
19862 echo "$as_me: error: cannot compute sizeof (long long), 77
19863 See \`config.log' for more details." >&2;}
19864 { (exit 1); exit 1; }; }
19865 fi
19866 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19867 fi
19868 fi
19869 rm -f conftest.val
19870 else
19871 ac_cv_sizeof_long_long=0
19872 fi
19873 fi
19874 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
19875 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
19876 cat >>confdefs.h <<_ACEOF
19877 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
19878 _ACEOF
19879
19880
19881 ;;
19882 *-hp-hpux* )
19883 echo "$as_me:$LINENO: checking for long long" >&5
19884 echo $ECHO_N "checking for long long... $ECHO_C" >&6
19885 if test "${ac_cv_type_long_long+set}" = set; then
19886 echo $ECHO_N "(cached) $ECHO_C" >&6
19887 else
19888 cat >conftest.$ac_ext <<_ACEOF
19889 /* confdefs.h. */
19890 _ACEOF
19891 cat confdefs.h >>conftest.$ac_ext
19892 cat >>conftest.$ac_ext <<_ACEOF
19893 /* end confdefs.h. */
19894 $ac_includes_default
19895 int
19896 main ()
19897 {
19898 if ((long long *) 0)
19899 return 0;
19900 if (sizeof (long long))
19901 return 0;
19902 ;
19903 return 0;
19904 }
19905 _ACEOF
19906 rm -f conftest.$ac_objext
19907 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19908 (eval $ac_compile) 2>conftest.er1
19909 ac_status=$?
19910 grep -v '^ *+' conftest.er1 >conftest.err
19911 rm -f conftest.er1
19912 cat conftest.err >&5
19913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19914 (exit $ac_status); } &&
19915 { ac_try='test -z "$ac_c_werror_flag"
19916 || test ! -s conftest.err'
19917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19918 (eval $ac_try) 2>&5
19919 ac_status=$?
19920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19921 (exit $ac_status); }; } &&
19922 { ac_try='test -s conftest.$ac_objext'
19923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19924 (eval $ac_try) 2>&5
19925 ac_status=$?
19926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19927 (exit $ac_status); }; }; then
19928 ac_cv_type_long_long=yes
19929 else
19930 echo "$as_me: failed program was:" >&5
19931 sed 's/^/| /' conftest.$ac_ext >&5
19932
19933 ac_cv_type_long_long=no
19934 fi
19935 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19936 fi
19937 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
19938 echo "${ECHO_T}$ac_cv_type_long_long" >&6
19939
19940 echo "$as_me:$LINENO: checking size of long long" >&5
19941 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
19942 if test "${ac_cv_sizeof_long_long+set}" = set; then
19943 echo $ECHO_N "(cached) $ECHO_C" >&6
19944 else
19945 if test "$ac_cv_type_long_long" = yes; then
19946 # The cast to unsigned long works around a bug in the HP C Compiler
19947 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19948 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19949 # This bug is HP SR number 8606223364.
19950 if test "$cross_compiling" = yes; then
19951 # Depending upon the size, compute the lo and hi bounds.
19952 cat >conftest.$ac_ext <<_ACEOF
19953 /* confdefs.h. */
19954 _ACEOF
19955 cat confdefs.h >>conftest.$ac_ext
19956 cat >>conftest.$ac_ext <<_ACEOF
19957 /* end confdefs.h. */
19958 $ac_includes_default
19959 int
19960 main ()
19961 {
19962 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
19963 test_array [0] = 0
19964
19965 ;
19966 return 0;
19967 }
19968 _ACEOF
19969 rm -f conftest.$ac_objext
19970 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19971 (eval $ac_compile) 2>conftest.er1
19972 ac_status=$?
19973 grep -v '^ *+' conftest.er1 >conftest.err
19974 rm -f conftest.er1
19975 cat conftest.err >&5
19976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19977 (exit $ac_status); } &&
19978 { ac_try='test -z "$ac_c_werror_flag"
19979 || test ! -s conftest.err'
19980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19981 (eval $ac_try) 2>&5
19982 ac_status=$?
19983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19984 (exit $ac_status); }; } &&
19985 { ac_try='test -s conftest.$ac_objext'
19986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19987 (eval $ac_try) 2>&5
19988 ac_status=$?
19989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19990 (exit $ac_status); }; }; then
19991 ac_lo=0 ac_mid=0
19992 while :; do
19993 cat >conftest.$ac_ext <<_ACEOF
19994 /* confdefs.h. */
19995 _ACEOF
19996 cat confdefs.h >>conftest.$ac_ext
19997 cat >>conftest.$ac_ext <<_ACEOF
19998 /* end confdefs.h. */
19999 $ac_includes_default
20000 int
20001 main ()
20002 {
20003 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20004 test_array [0] = 0
20005
20006 ;
20007 return 0;
20008 }
20009 _ACEOF
20010 rm -f conftest.$ac_objext
20011 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20012 (eval $ac_compile) 2>conftest.er1
20013 ac_status=$?
20014 grep -v '^ *+' conftest.er1 >conftest.err
20015 rm -f conftest.er1
20016 cat conftest.err >&5
20017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20018 (exit $ac_status); } &&
20019 { ac_try='test -z "$ac_c_werror_flag"
20020 || test ! -s conftest.err'
20021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20022 (eval $ac_try) 2>&5
20023 ac_status=$?
20024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20025 (exit $ac_status); }; } &&
20026 { ac_try='test -s conftest.$ac_objext'
20027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20028 (eval $ac_try) 2>&5
20029 ac_status=$?
20030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20031 (exit $ac_status); }; }; then
20032 ac_hi=$ac_mid; break
20033 else
20034 echo "$as_me: failed program was:" >&5
20035 sed 's/^/| /' conftest.$ac_ext >&5
20036
20037 ac_lo=`expr $ac_mid + 1`
20038 if test $ac_lo -le $ac_mid; then
20039 ac_lo= ac_hi=
20040 break
20041 fi
20042 ac_mid=`expr 2 '*' $ac_mid + 1`
20043 fi
20044 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20045 done
20046 else
20047 echo "$as_me: failed program was:" >&5
20048 sed 's/^/| /' conftest.$ac_ext >&5
20049
20050 cat >conftest.$ac_ext <<_ACEOF
20051 /* confdefs.h. */
20052 _ACEOF
20053 cat confdefs.h >>conftest.$ac_ext
20054 cat >>conftest.$ac_ext <<_ACEOF
20055 /* end confdefs.h. */
20056 $ac_includes_default
20057 int
20058 main ()
20059 {
20060 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
20061 test_array [0] = 0
20062
20063 ;
20064 return 0;
20065 }
20066 _ACEOF
20067 rm -f conftest.$ac_objext
20068 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20069 (eval $ac_compile) 2>conftest.er1
20070 ac_status=$?
20071 grep -v '^ *+' conftest.er1 >conftest.err
20072 rm -f conftest.er1
20073 cat conftest.err >&5
20074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20075 (exit $ac_status); } &&
20076 { ac_try='test -z "$ac_c_werror_flag"
20077 || test ! -s conftest.err'
20078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20079 (eval $ac_try) 2>&5
20080 ac_status=$?
20081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20082 (exit $ac_status); }; } &&
20083 { ac_try='test -s conftest.$ac_objext'
20084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20085 (eval $ac_try) 2>&5
20086 ac_status=$?
20087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20088 (exit $ac_status); }; }; then
20089 ac_hi=-1 ac_mid=-1
20090 while :; do
20091 cat >conftest.$ac_ext <<_ACEOF
20092 /* confdefs.h. */
20093 _ACEOF
20094 cat confdefs.h >>conftest.$ac_ext
20095 cat >>conftest.$ac_ext <<_ACEOF
20096 /* end confdefs.h. */
20097 $ac_includes_default
20098 int
20099 main ()
20100 {
20101 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
20102 test_array [0] = 0
20103
20104 ;
20105 return 0;
20106 }
20107 _ACEOF
20108 rm -f conftest.$ac_objext
20109 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20110 (eval $ac_compile) 2>conftest.er1
20111 ac_status=$?
20112 grep -v '^ *+' conftest.er1 >conftest.err
20113 rm -f conftest.er1
20114 cat conftest.err >&5
20115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20116 (exit $ac_status); } &&
20117 { ac_try='test -z "$ac_c_werror_flag"
20118 || test ! -s conftest.err'
20119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20120 (eval $ac_try) 2>&5
20121 ac_status=$?
20122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20123 (exit $ac_status); }; } &&
20124 { ac_try='test -s conftest.$ac_objext'
20125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20126 (eval $ac_try) 2>&5
20127 ac_status=$?
20128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20129 (exit $ac_status); }; }; then
20130 ac_lo=$ac_mid; break
20131 else
20132 echo "$as_me: failed program was:" >&5
20133 sed 's/^/| /' conftest.$ac_ext >&5
20134
20135 ac_hi=`expr '(' $ac_mid ')' - 1`
20136 if test $ac_mid -le $ac_hi; then
20137 ac_lo= ac_hi=
20138 break
20139 fi
20140 ac_mid=`expr 2 '*' $ac_mid`
20141 fi
20142 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20143 done
20144 else
20145 echo "$as_me: failed program was:" >&5
20146 sed 's/^/| /' conftest.$ac_ext >&5
20147
20148 ac_lo= ac_hi=
20149 fi
20150 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20151 fi
20152 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20153 # Binary search between lo and hi bounds.
20154 while test "x$ac_lo" != "x$ac_hi"; do
20155 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20156 cat >conftest.$ac_ext <<_ACEOF
20157 /* confdefs.h. */
20158 _ACEOF
20159 cat confdefs.h >>conftest.$ac_ext
20160 cat >>conftest.$ac_ext <<_ACEOF
20161 /* end confdefs.h. */
20162 $ac_includes_default
20163 int
20164 main ()
20165 {
20166 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20167 test_array [0] = 0
20168
20169 ;
20170 return 0;
20171 }
20172 _ACEOF
20173 rm -f conftest.$ac_objext
20174 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20175 (eval $ac_compile) 2>conftest.er1
20176 ac_status=$?
20177 grep -v '^ *+' conftest.er1 >conftest.err
20178 rm -f conftest.er1
20179 cat conftest.err >&5
20180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20181 (exit $ac_status); } &&
20182 { ac_try='test -z "$ac_c_werror_flag"
20183 || test ! -s conftest.err'
20184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20185 (eval $ac_try) 2>&5
20186 ac_status=$?
20187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20188 (exit $ac_status); }; } &&
20189 { ac_try='test -s conftest.$ac_objext'
20190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20191 (eval $ac_try) 2>&5
20192 ac_status=$?
20193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20194 (exit $ac_status); }; }; then
20195 ac_hi=$ac_mid
20196 else
20197 echo "$as_me: failed program was:" >&5
20198 sed 's/^/| /' conftest.$ac_ext >&5
20199
20200 ac_lo=`expr '(' $ac_mid ')' + 1`
20201 fi
20202 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20203 done
20204 case $ac_lo in
20205 ?*) ac_cv_sizeof_long_long=$ac_lo;;
20206 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20207 See \`config.log' for more details." >&5
20208 echo "$as_me: error: cannot compute sizeof (long long), 77
20209 See \`config.log' for more details." >&2;}
20210 { (exit 1); exit 1; }; } ;;
20211 esac
20212 else
20213 if test "$cross_compiling" = yes; then
20214 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
20215 See \`config.log' for more details." >&5
20216 echo "$as_me: error: cannot run test program while cross compiling
20217 See \`config.log' for more details." >&2;}
20218 { (exit 1); exit 1; }; }
20219 else
20220 cat >conftest.$ac_ext <<_ACEOF
20221 /* confdefs.h. */
20222 _ACEOF
20223 cat confdefs.h >>conftest.$ac_ext
20224 cat >>conftest.$ac_ext <<_ACEOF
20225 /* end confdefs.h. */
20226 $ac_includes_default
20227 long longval () { return (long) (sizeof (long long)); }
20228 unsigned long ulongval () { return (long) (sizeof (long long)); }
20229 #include <stdio.h>
20230 #include <stdlib.h>
20231 int
20232 main ()
20233 {
20234
20235 FILE *f = fopen ("conftest.val", "w");
20236 if (! f)
20237 exit (1);
20238 if (((long) (sizeof (long long))) < 0)
20239 {
20240 long i = longval ();
20241 if (i != ((long) (sizeof (long long))))
20242 exit (1);
20243 fprintf (f, "%ld\n", i);
20244 }
20245 else
20246 {
20247 unsigned long i = ulongval ();
20248 if (i != ((long) (sizeof (long long))))
20249 exit (1);
20250 fprintf (f, "%lu\n", i);
20251 }
20252 exit (ferror (f) || fclose (f) != 0);
20253
20254 ;
20255 return 0;
20256 }
20257 _ACEOF
20258 rm -f conftest$ac_exeext
20259 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20260 (eval $ac_link) 2>&5
20261 ac_status=$?
20262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20263 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20265 (eval $ac_try) 2>&5
20266 ac_status=$?
20267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20268 (exit $ac_status); }; }; then
20269 ac_cv_sizeof_long_long=`cat conftest.val`
20270 else
20271 echo "$as_me: program exited with status $ac_status" >&5
20272 echo "$as_me: failed program was:" >&5
20273 sed 's/^/| /' conftest.$ac_ext >&5
20274
20275 ( exit $ac_status )
20276 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20277 See \`config.log' for more details." >&5
20278 echo "$as_me: error: cannot compute sizeof (long long), 77
20279 See \`config.log' for more details." >&2;}
20280 { (exit 1); exit 1; }; }
20281 fi
20282 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20283 fi
20284 fi
20285 rm -f conftest.val
20286 else
20287 ac_cv_sizeof_long_long=0
20288 fi
20289 fi
20290 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
20291 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
20292 cat >>confdefs.h <<_ACEOF
20293 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20294 _ACEOF
20295
20296
20297 if test "$ac_cv_sizeof_long_long" != "0"; then
20298 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
20299 fi
20300 ;;
20301 * )
20302 echo "$as_me:$LINENO: checking for long long" >&5
20303 echo $ECHO_N "checking for long long... $ECHO_C" >&6
20304 if test "${ac_cv_type_long_long+set}" = set; then
20305 echo $ECHO_N "(cached) $ECHO_C" >&6
20306 else
20307 cat >conftest.$ac_ext <<_ACEOF
20308 /* confdefs.h. */
20309 _ACEOF
20310 cat confdefs.h >>conftest.$ac_ext
20311 cat >>conftest.$ac_ext <<_ACEOF
20312 /* end confdefs.h. */
20313 $ac_includes_default
20314 int
20315 main ()
20316 {
20317 if ((long long *) 0)
20318 return 0;
20319 if (sizeof (long long))
20320 return 0;
20321 ;
20322 return 0;
20323 }
20324 _ACEOF
20325 rm -f conftest.$ac_objext
20326 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20327 (eval $ac_compile) 2>conftest.er1
20328 ac_status=$?
20329 grep -v '^ *+' conftest.er1 >conftest.err
20330 rm -f conftest.er1
20331 cat conftest.err >&5
20332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20333 (exit $ac_status); } &&
20334 { ac_try='test -z "$ac_c_werror_flag"
20335 || test ! -s conftest.err'
20336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20337 (eval $ac_try) 2>&5
20338 ac_status=$?
20339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20340 (exit $ac_status); }; } &&
20341 { ac_try='test -s conftest.$ac_objext'
20342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20343 (eval $ac_try) 2>&5
20344 ac_status=$?
20345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20346 (exit $ac_status); }; }; then
20347 ac_cv_type_long_long=yes
20348 else
20349 echo "$as_me: failed program was:" >&5
20350 sed 's/^/| /' conftest.$ac_ext >&5
20351
20352 ac_cv_type_long_long=no
20353 fi
20354 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20355 fi
20356 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
20357 echo "${ECHO_T}$ac_cv_type_long_long" >&6
20358
20359 echo "$as_me:$LINENO: checking size of long long" >&5
20360 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
20361 if test "${ac_cv_sizeof_long_long+set}" = set; then
20362 echo $ECHO_N "(cached) $ECHO_C" >&6
20363 else
20364 if test "$ac_cv_type_long_long" = yes; then
20365 # The cast to unsigned long works around a bug in the HP C Compiler
20366 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20367 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20368 # This bug is HP SR number 8606223364.
20369 if test "$cross_compiling" = yes; then
20370 # Depending upon the size, compute the lo and hi bounds.
20371 cat >conftest.$ac_ext <<_ACEOF
20372 /* confdefs.h. */
20373 _ACEOF
20374 cat confdefs.h >>conftest.$ac_ext
20375 cat >>conftest.$ac_ext <<_ACEOF
20376 /* end confdefs.h. */
20377 $ac_includes_default
20378 int
20379 main ()
20380 {
20381 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
20382 test_array [0] = 0
20383
20384 ;
20385 return 0;
20386 }
20387 _ACEOF
20388 rm -f conftest.$ac_objext
20389 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20390 (eval $ac_compile) 2>conftest.er1
20391 ac_status=$?
20392 grep -v '^ *+' conftest.er1 >conftest.err
20393 rm -f conftest.er1
20394 cat conftest.err >&5
20395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20396 (exit $ac_status); } &&
20397 { ac_try='test -z "$ac_c_werror_flag"
20398 || test ! -s conftest.err'
20399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20400 (eval $ac_try) 2>&5
20401 ac_status=$?
20402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20403 (exit $ac_status); }; } &&
20404 { ac_try='test -s conftest.$ac_objext'
20405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20406 (eval $ac_try) 2>&5
20407 ac_status=$?
20408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20409 (exit $ac_status); }; }; then
20410 ac_lo=0 ac_mid=0
20411 while :; do
20412 cat >conftest.$ac_ext <<_ACEOF
20413 /* confdefs.h. */
20414 _ACEOF
20415 cat confdefs.h >>conftest.$ac_ext
20416 cat >>conftest.$ac_ext <<_ACEOF
20417 /* end confdefs.h. */
20418 $ac_includes_default
20419 int
20420 main ()
20421 {
20422 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20423 test_array [0] = 0
20424
20425 ;
20426 return 0;
20427 }
20428 _ACEOF
20429 rm -f conftest.$ac_objext
20430 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20431 (eval $ac_compile) 2>conftest.er1
20432 ac_status=$?
20433 grep -v '^ *+' conftest.er1 >conftest.err
20434 rm -f conftest.er1
20435 cat conftest.err >&5
20436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20437 (exit $ac_status); } &&
20438 { ac_try='test -z "$ac_c_werror_flag"
20439 || test ! -s conftest.err'
20440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20441 (eval $ac_try) 2>&5
20442 ac_status=$?
20443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20444 (exit $ac_status); }; } &&
20445 { ac_try='test -s conftest.$ac_objext'
20446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20447 (eval $ac_try) 2>&5
20448 ac_status=$?
20449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20450 (exit $ac_status); }; }; then
20451 ac_hi=$ac_mid; break
20452 else
20453 echo "$as_me: failed program was:" >&5
20454 sed 's/^/| /' conftest.$ac_ext >&5
20455
20456 ac_lo=`expr $ac_mid + 1`
20457 if test $ac_lo -le $ac_mid; then
20458 ac_lo= ac_hi=
20459 break
20460 fi
20461 ac_mid=`expr 2 '*' $ac_mid + 1`
20462 fi
20463 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20464 done
20465 else
20466 echo "$as_me: failed program was:" >&5
20467 sed 's/^/| /' conftest.$ac_ext >&5
20468
20469 cat >conftest.$ac_ext <<_ACEOF
20470 /* confdefs.h. */
20471 _ACEOF
20472 cat confdefs.h >>conftest.$ac_ext
20473 cat >>conftest.$ac_ext <<_ACEOF
20474 /* end confdefs.h. */
20475 $ac_includes_default
20476 int
20477 main ()
20478 {
20479 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
20480 test_array [0] = 0
20481
20482 ;
20483 return 0;
20484 }
20485 _ACEOF
20486 rm -f conftest.$ac_objext
20487 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20488 (eval $ac_compile) 2>conftest.er1
20489 ac_status=$?
20490 grep -v '^ *+' conftest.er1 >conftest.err
20491 rm -f conftest.er1
20492 cat conftest.err >&5
20493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20494 (exit $ac_status); } &&
20495 { ac_try='test -z "$ac_c_werror_flag"
20496 || test ! -s conftest.err'
20497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20498 (eval $ac_try) 2>&5
20499 ac_status=$?
20500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20501 (exit $ac_status); }; } &&
20502 { ac_try='test -s conftest.$ac_objext'
20503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20504 (eval $ac_try) 2>&5
20505 ac_status=$?
20506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20507 (exit $ac_status); }; }; then
20508 ac_hi=-1 ac_mid=-1
20509 while :; do
20510 cat >conftest.$ac_ext <<_ACEOF
20511 /* confdefs.h. */
20512 _ACEOF
20513 cat confdefs.h >>conftest.$ac_ext
20514 cat >>conftest.$ac_ext <<_ACEOF
20515 /* end confdefs.h. */
20516 $ac_includes_default
20517 int
20518 main ()
20519 {
20520 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
20521 test_array [0] = 0
20522
20523 ;
20524 return 0;
20525 }
20526 _ACEOF
20527 rm -f conftest.$ac_objext
20528 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20529 (eval $ac_compile) 2>conftest.er1
20530 ac_status=$?
20531 grep -v '^ *+' conftest.er1 >conftest.err
20532 rm -f conftest.er1
20533 cat conftest.err >&5
20534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20535 (exit $ac_status); } &&
20536 { ac_try='test -z "$ac_c_werror_flag"
20537 || test ! -s conftest.err'
20538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20539 (eval $ac_try) 2>&5
20540 ac_status=$?
20541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20542 (exit $ac_status); }; } &&
20543 { ac_try='test -s conftest.$ac_objext'
20544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20545 (eval $ac_try) 2>&5
20546 ac_status=$?
20547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20548 (exit $ac_status); }; }; then
20549 ac_lo=$ac_mid; break
20550 else
20551 echo "$as_me: failed program was:" >&5
20552 sed 's/^/| /' conftest.$ac_ext >&5
20553
20554 ac_hi=`expr '(' $ac_mid ')' - 1`
20555 if test $ac_mid -le $ac_hi; then
20556 ac_lo= ac_hi=
20557 break
20558 fi
20559 ac_mid=`expr 2 '*' $ac_mid`
20560 fi
20561 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20562 done
20563 else
20564 echo "$as_me: failed program was:" >&5
20565 sed 's/^/| /' conftest.$ac_ext >&5
20566
20567 ac_lo= ac_hi=
20568 fi
20569 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20570 fi
20571 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20572 # Binary search between lo and hi bounds.
20573 while test "x$ac_lo" != "x$ac_hi"; do
20574 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20575 cat >conftest.$ac_ext <<_ACEOF
20576 /* confdefs.h. */
20577 _ACEOF
20578 cat confdefs.h >>conftest.$ac_ext
20579 cat >>conftest.$ac_ext <<_ACEOF
20580 /* end confdefs.h. */
20581 $ac_includes_default
20582 int
20583 main ()
20584 {
20585 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20586 test_array [0] = 0
20587
20588 ;
20589 return 0;
20590 }
20591 _ACEOF
20592 rm -f conftest.$ac_objext
20593 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20594 (eval $ac_compile) 2>conftest.er1
20595 ac_status=$?
20596 grep -v '^ *+' conftest.er1 >conftest.err
20597 rm -f conftest.er1
20598 cat conftest.err >&5
20599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20600 (exit $ac_status); } &&
20601 { ac_try='test -z "$ac_c_werror_flag"
20602 || test ! -s conftest.err'
20603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20604 (eval $ac_try) 2>&5
20605 ac_status=$?
20606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20607 (exit $ac_status); }; } &&
20608 { ac_try='test -s conftest.$ac_objext'
20609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20610 (eval $ac_try) 2>&5
20611 ac_status=$?
20612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20613 (exit $ac_status); }; }; then
20614 ac_hi=$ac_mid
20615 else
20616 echo "$as_me: failed program was:" >&5
20617 sed 's/^/| /' conftest.$ac_ext >&5
20618
20619 ac_lo=`expr '(' $ac_mid ')' + 1`
20620 fi
20621 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20622 done
20623 case $ac_lo in
20624 ?*) ac_cv_sizeof_long_long=$ac_lo;;
20625 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20626 See \`config.log' for more details." >&5
20627 echo "$as_me: error: cannot compute sizeof (long long), 77
20628 See \`config.log' for more details." >&2;}
20629 { (exit 1); exit 1; }; } ;;
20630 esac
20631 else
20632 if test "$cross_compiling" = yes; then
20633 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
20634 See \`config.log' for more details." >&5
20635 echo "$as_me: error: cannot run test program while cross compiling
20636 See \`config.log' for more details." >&2;}
20637 { (exit 1); exit 1; }; }
20638 else
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 long longval () { return (long) (sizeof (long long)); }
20647 unsigned long ulongval () { return (long) (sizeof (long long)); }
20648 #include <stdio.h>
20649 #include <stdlib.h>
20650 int
20651 main ()
20652 {
20653
20654 FILE *f = fopen ("conftest.val", "w");
20655 if (! f)
20656 exit (1);
20657 if (((long) (sizeof (long long))) < 0)
20658 {
20659 long i = longval ();
20660 if (i != ((long) (sizeof (long long))))
20661 exit (1);
20662 fprintf (f, "%ld\n", i);
20663 }
20664 else
20665 {
20666 unsigned long i = ulongval ();
20667 if (i != ((long) (sizeof (long long))))
20668 exit (1);
20669 fprintf (f, "%lu\n", i);
20670 }
20671 exit (ferror (f) || fclose (f) != 0);
20672
20673 ;
20674 return 0;
20675 }
20676 _ACEOF
20677 rm -f conftest$ac_exeext
20678 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20679 (eval $ac_link) 2>&5
20680 ac_status=$?
20681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20682 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20684 (eval $ac_try) 2>&5
20685 ac_status=$?
20686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20687 (exit $ac_status); }; }; then
20688 ac_cv_sizeof_long_long=`cat conftest.val`
20689 else
20690 echo "$as_me: program exited with status $ac_status" >&5
20691 echo "$as_me: failed program was:" >&5
20692 sed 's/^/| /' conftest.$ac_ext >&5
20693
20694 ( exit $ac_status )
20695 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20696 See \`config.log' for more details." >&5
20697 echo "$as_me: error: cannot compute sizeof (long long), 77
20698 See \`config.log' for more details." >&2;}
20699 { (exit 1); exit 1; }; }
20700 fi
20701 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20702 fi
20703 fi
20704 rm -f conftest.val
20705 else
20706 ac_cv_sizeof_long_long=0
20707 fi
20708 fi
20709 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
20710 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
20711 cat >>confdefs.h <<_ACEOF
20712 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20713 _ACEOF
20714
20715
20716 esac
20717
20718 echo "$as_me:$LINENO: checking for wchar_t" >&5
20719 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6
20720 if test "${ac_cv_type_wchar_t+set}" = set; then
20721 echo $ECHO_N "(cached) $ECHO_C" >&6
20722 else
20723 cat >conftest.$ac_ext <<_ACEOF
20724 /* confdefs.h. */
20725 _ACEOF
20726 cat confdefs.h >>conftest.$ac_ext
20727 cat >>conftest.$ac_ext <<_ACEOF
20728 /* end confdefs.h. */
20729
20730 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
20731 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
20732 # error "fake wchar_t"
20733 #endif
20734 #ifdef HAVE_WCHAR_H
20735 # ifdef __CYGWIN__
20736 # include <stddef.h>
20737 # endif
20738 # include <wchar.h>
20739 #endif
20740 #ifdef HAVE_STDLIB_H
20741 # include <stdlib.h>
20742 #endif
20743 #include <stdio.h>
20744
20745
20746
20747 int
20748 main ()
20749 {
20750 if ((wchar_t *) 0)
20751 return 0;
20752 if (sizeof (wchar_t))
20753 return 0;
20754 ;
20755 return 0;
20756 }
20757 _ACEOF
20758 rm -f conftest.$ac_objext
20759 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20760 (eval $ac_compile) 2>conftest.er1
20761 ac_status=$?
20762 grep -v '^ *+' conftest.er1 >conftest.err
20763 rm -f conftest.er1
20764 cat conftest.err >&5
20765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20766 (exit $ac_status); } &&
20767 { ac_try='test -z "$ac_c_werror_flag"
20768 || test ! -s conftest.err'
20769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20770 (eval $ac_try) 2>&5
20771 ac_status=$?
20772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20773 (exit $ac_status); }; } &&
20774 { ac_try='test -s conftest.$ac_objext'
20775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20776 (eval $ac_try) 2>&5
20777 ac_status=$?
20778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20779 (exit $ac_status); }; }; then
20780 ac_cv_type_wchar_t=yes
20781 else
20782 echo "$as_me: failed program was:" >&5
20783 sed 's/^/| /' conftest.$ac_ext >&5
20784
20785 ac_cv_type_wchar_t=no
20786 fi
20787 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20788 fi
20789 echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
20790 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6
20791
20792 echo "$as_me:$LINENO: checking size of wchar_t" >&5
20793 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
20794 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
20795 echo $ECHO_N "(cached) $ECHO_C" >&6
20796 else
20797 if test "$ac_cv_type_wchar_t" = yes; then
20798 # The cast to unsigned long works around a bug in the HP C Compiler
20799 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20800 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20801 # This bug is HP SR number 8606223364.
20802 if test "$cross_compiling" = yes; then
20803 # Depending upon the size, compute the lo and hi bounds.
20804 cat >conftest.$ac_ext <<_ACEOF
20805 /* confdefs.h. */
20806 _ACEOF
20807 cat confdefs.h >>conftest.$ac_ext
20808 cat >>conftest.$ac_ext <<_ACEOF
20809 /* end confdefs.h. */
20810
20811 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
20812 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
20813 # error "fake wchar_t"
20814 #endif
20815 #ifdef HAVE_WCHAR_H
20816 # ifdef __CYGWIN__
20817 # include <stddef.h>
20818 # endif
20819 # include <wchar.h>
20820 #endif
20821 #ifdef HAVE_STDLIB_H
20822 # include <stdlib.h>
20823 #endif
20824 #include <stdio.h>
20825
20826
20827
20828 int
20829 main ()
20830 {
20831 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= 0)];
20832 test_array [0] = 0
20833
20834 ;
20835 return 0;
20836 }
20837 _ACEOF
20838 rm -f conftest.$ac_objext
20839 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20840 (eval $ac_compile) 2>conftest.er1
20841 ac_status=$?
20842 grep -v '^ *+' conftest.er1 >conftest.err
20843 rm -f conftest.er1
20844 cat conftest.err >&5
20845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20846 (exit $ac_status); } &&
20847 { ac_try='test -z "$ac_c_werror_flag"
20848 || test ! -s conftest.err'
20849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20850 (eval $ac_try) 2>&5
20851 ac_status=$?
20852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20853 (exit $ac_status); }; } &&
20854 { ac_try='test -s conftest.$ac_objext'
20855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20856 (eval $ac_try) 2>&5
20857 ac_status=$?
20858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20859 (exit $ac_status); }; }; then
20860 ac_lo=0 ac_mid=0
20861 while :; do
20862 cat >conftest.$ac_ext <<_ACEOF
20863 /* confdefs.h. */
20864 _ACEOF
20865 cat confdefs.h >>conftest.$ac_ext
20866 cat >>conftest.$ac_ext <<_ACEOF
20867 /* end confdefs.h. */
20868
20869 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
20870 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
20871 # error "fake wchar_t"
20872 #endif
20873 #ifdef HAVE_WCHAR_H
20874 # ifdef __CYGWIN__
20875 # include <stddef.h>
20876 # endif
20877 # include <wchar.h>
20878 #endif
20879 #ifdef HAVE_STDLIB_H
20880 # include <stdlib.h>
20881 #endif
20882 #include <stdio.h>
20883
20884
20885
20886 int
20887 main ()
20888 {
20889 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
20890 test_array [0] = 0
20891
20892 ;
20893 return 0;
20894 }
20895 _ACEOF
20896 rm -f conftest.$ac_objext
20897 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20898 (eval $ac_compile) 2>conftest.er1
20899 ac_status=$?
20900 grep -v '^ *+' conftest.er1 >conftest.err
20901 rm -f conftest.er1
20902 cat conftest.err >&5
20903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20904 (exit $ac_status); } &&
20905 { ac_try='test -z "$ac_c_werror_flag"
20906 || test ! -s conftest.err'
20907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20908 (eval $ac_try) 2>&5
20909 ac_status=$?
20910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20911 (exit $ac_status); }; } &&
20912 { ac_try='test -s conftest.$ac_objext'
20913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20914 (eval $ac_try) 2>&5
20915 ac_status=$?
20916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20917 (exit $ac_status); }; }; then
20918 ac_hi=$ac_mid; break
20919 else
20920 echo "$as_me: failed program was:" >&5
20921 sed 's/^/| /' conftest.$ac_ext >&5
20922
20923 ac_lo=`expr $ac_mid + 1`
20924 if test $ac_lo -le $ac_mid; then
20925 ac_lo= ac_hi=
20926 break
20927 fi
20928 ac_mid=`expr 2 '*' $ac_mid + 1`
20929 fi
20930 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20931 done
20932 else
20933 echo "$as_me: failed program was:" >&5
20934 sed 's/^/| /' conftest.$ac_ext >&5
20935
20936 cat >conftest.$ac_ext <<_ACEOF
20937 /* confdefs.h. */
20938 _ACEOF
20939 cat confdefs.h >>conftest.$ac_ext
20940 cat >>conftest.$ac_ext <<_ACEOF
20941 /* end confdefs.h. */
20942
20943 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
20944 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
20945 # error "fake wchar_t"
20946 #endif
20947 #ifdef HAVE_WCHAR_H
20948 # ifdef __CYGWIN__
20949 # include <stddef.h>
20950 # endif
20951 # include <wchar.h>
20952 #endif
20953 #ifdef HAVE_STDLIB_H
20954 # include <stdlib.h>
20955 #endif
20956 #include <stdio.h>
20957
20958
20959
20960 int
20961 main ()
20962 {
20963 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) < 0)];
20964 test_array [0] = 0
20965
20966 ;
20967 return 0;
20968 }
20969 _ACEOF
20970 rm -f conftest.$ac_objext
20971 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20972 (eval $ac_compile) 2>conftest.er1
20973 ac_status=$?
20974 grep -v '^ *+' conftest.er1 >conftest.err
20975 rm -f conftest.er1
20976 cat conftest.err >&5
20977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20978 (exit $ac_status); } &&
20979 { ac_try='test -z "$ac_c_werror_flag"
20980 || test ! -s conftest.err'
20981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20982 (eval $ac_try) 2>&5
20983 ac_status=$?
20984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20985 (exit $ac_status); }; } &&
20986 { ac_try='test -s conftest.$ac_objext'
20987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20988 (eval $ac_try) 2>&5
20989 ac_status=$?
20990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20991 (exit $ac_status); }; }; then
20992 ac_hi=-1 ac_mid=-1
20993 while :; do
20994 cat >conftest.$ac_ext <<_ACEOF
20995 /* confdefs.h. */
20996 _ACEOF
20997 cat confdefs.h >>conftest.$ac_ext
20998 cat >>conftest.$ac_ext <<_ACEOF
20999 /* end confdefs.h. */
21000
21001 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21002 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21003 # error "fake wchar_t"
21004 #endif
21005 #ifdef HAVE_WCHAR_H
21006 # ifdef __CYGWIN__
21007 # include <stddef.h>
21008 # endif
21009 # include <wchar.h>
21010 #endif
21011 #ifdef HAVE_STDLIB_H
21012 # include <stdlib.h>
21013 #endif
21014 #include <stdio.h>
21015
21016
21017
21018 int
21019 main ()
21020 {
21021 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= $ac_mid)];
21022 test_array [0] = 0
21023
21024 ;
21025 return 0;
21026 }
21027 _ACEOF
21028 rm -f conftest.$ac_objext
21029 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21030 (eval $ac_compile) 2>conftest.er1
21031 ac_status=$?
21032 grep -v '^ *+' conftest.er1 >conftest.err
21033 rm -f conftest.er1
21034 cat conftest.err >&5
21035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21036 (exit $ac_status); } &&
21037 { ac_try='test -z "$ac_c_werror_flag"
21038 || test ! -s conftest.err'
21039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21040 (eval $ac_try) 2>&5
21041 ac_status=$?
21042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21043 (exit $ac_status); }; } &&
21044 { ac_try='test -s conftest.$ac_objext'
21045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21046 (eval $ac_try) 2>&5
21047 ac_status=$?
21048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21049 (exit $ac_status); }; }; then
21050 ac_lo=$ac_mid; break
21051 else
21052 echo "$as_me: failed program was:" >&5
21053 sed 's/^/| /' conftest.$ac_ext >&5
21054
21055 ac_hi=`expr '(' $ac_mid ')' - 1`
21056 if test $ac_mid -le $ac_hi; then
21057 ac_lo= ac_hi=
21058 break
21059 fi
21060 ac_mid=`expr 2 '*' $ac_mid`
21061 fi
21062 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21063 done
21064 else
21065 echo "$as_me: failed program was:" >&5
21066 sed 's/^/| /' conftest.$ac_ext >&5
21067
21068 ac_lo= ac_hi=
21069 fi
21070 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21071 fi
21072 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21073 # Binary search between lo and hi bounds.
21074 while test "x$ac_lo" != "x$ac_hi"; do
21075 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21076 cat >conftest.$ac_ext <<_ACEOF
21077 /* confdefs.h. */
21078 _ACEOF
21079 cat confdefs.h >>conftest.$ac_ext
21080 cat >>conftest.$ac_ext <<_ACEOF
21081 /* end confdefs.h. */
21082
21083 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21084 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21085 # error "fake wchar_t"
21086 #endif
21087 #ifdef HAVE_WCHAR_H
21088 # ifdef __CYGWIN__
21089 # include <stddef.h>
21090 # endif
21091 # include <wchar.h>
21092 #endif
21093 #ifdef HAVE_STDLIB_H
21094 # include <stdlib.h>
21095 #endif
21096 #include <stdio.h>
21097
21098
21099
21100 int
21101 main ()
21102 {
21103 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
21104 test_array [0] = 0
21105
21106 ;
21107 return 0;
21108 }
21109 _ACEOF
21110 rm -f conftest.$ac_objext
21111 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21112 (eval $ac_compile) 2>conftest.er1
21113 ac_status=$?
21114 grep -v '^ *+' conftest.er1 >conftest.err
21115 rm -f conftest.er1
21116 cat conftest.err >&5
21117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21118 (exit $ac_status); } &&
21119 { ac_try='test -z "$ac_c_werror_flag"
21120 || test ! -s conftest.err'
21121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21122 (eval $ac_try) 2>&5
21123 ac_status=$?
21124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21125 (exit $ac_status); }; } &&
21126 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
21132 ac_hi=$ac_mid
21133 else
21134 echo "$as_me: failed program was:" >&5
21135 sed 's/^/| /' conftest.$ac_ext >&5
21136
21137 ac_lo=`expr '(' $ac_mid ')' + 1`
21138 fi
21139 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21140 done
21141 case $ac_lo in
21142 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
21143 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
21144 See \`config.log' for more details." >&5
21145 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
21146 See \`config.log' for more details." >&2;}
21147 { (exit 1); exit 1; }; } ;;
21148 esac
21149 else
21150 if test "$cross_compiling" = yes; then
21151 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
21152 See \`config.log' for more details." >&5
21153 echo "$as_me: error: cannot run test program while cross compiling
21154 See \`config.log' for more details." >&2;}
21155 { (exit 1); exit 1; }; }
21156 else
21157 cat >conftest.$ac_ext <<_ACEOF
21158 /* confdefs.h. */
21159 _ACEOF
21160 cat confdefs.h >>conftest.$ac_ext
21161 cat >>conftest.$ac_ext <<_ACEOF
21162 /* end confdefs.h. */
21163
21164 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21165 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21166 # error "fake wchar_t"
21167 #endif
21168 #ifdef HAVE_WCHAR_H
21169 # ifdef __CYGWIN__
21170 # include <stddef.h>
21171 # endif
21172 # include <wchar.h>
21173 #endif
21174 #ifdef HAVE_STDLIB_H
21175 # include <stdlib.h>
21176 #endif
21177 #include <stdio.h>
21178
21179
21180
21181 long longval () { return (long) (sizeof (wchar_t)); }
21182 unsigned long ulongval () { return (long) (sizeof (wchar_t)); }
21183 #include <stdio.h>
21184 #include <stdlib.h>
21185 int
21186 main ()
21187 {
21188
21189 FILE *f = fopen ("conftest.val", "w");
21190 if (! f)
21191 exit (1);
21192 if (((long) (sizeof (wchar_t))) < 0)
21193 {
21194 long i = longval ();
21195 if (i != ((long) (sizeof (wchar_t))))
21196 exit (1);
21197 fprintf (f, "%ld\n", i);
21198 }
21199 else
21200 {
21201 unsigned long i = ulongval ();
21202 if (i != ((long) (sizeof (wchar_t))))
21203 exit (1);
21204 fprintf (f, "%lu\n", i);
21205 }
21206 exit (ferror (f) || fclose (f) != 0);
21207
21208 ;
21209 return 0;
21210 }
21211 _ACEOF
21212 rm -f conftest$ac_exeext
21213 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21214 (eval $ac_link) 2>&5
21215 ac_status=$?
21216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21217 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21219 (eval $ac_try) 2>&5
21220 ac_status=$?
21221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21222 (exit $ac_status); }; }; then
21223 ac_cv_sizeof_wchar_t=`cat conftest.val`
21224 else
21225 echo "$as_me: program exited with status $ac_status" >&5
21226 echo "$as_me: failed program was:" >&5
21227 sed 's/^/| /' conftest.$ac_ext >&5
21228
21229 ( exit $ac_status )
21230 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
21231 See \`config.log' for more details." >&5
21232 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
21233 See \`config.log' for more details." >&2;}
21234 { (exit 1); exit 1; }; }
21235 fi
21236 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21237 fi
21238 fi
21239 rm -f conftest.val
21240 else
21241 ac_cv_sizeof_wchar_t=0
21242 fi
21243 fi
21244 echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
21245 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6
21246 cat >>confdefs.h <<_ACEOF
21247 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
21248 _ACEOF
21249
21250
21251 if test "$ac_cv_sizeof_wchar_t" != "0"; then
21252 wxUSE_WCHAR_T=yes
21253 else
21254 wxUSE_WCHAR_T=no
21255 fi
21256
21257 echo "$as_me:$LINENO: checking for va_copy" >&5
21258 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6
21259 if test "${wx_cv_func_va_copy+set}" = set; then
21260 echo $ECHO_N "(cached) $ECHO_C" >&6
21261 else
21262
21263 cat >conftest.$ac_ext <<_ACEOF
21264
21265 #include <stdarg.h>
21266 void foo(char *f, ...)
21267 {
21268 va_list ap1, ap2;
21269 va_start(ap1, f);
21270 va_copy(ap2, ap1);
21271 va_end(ap2);
21272 va_end(ap1);
21273 }
21274 int main()
21275 {
21276 foo("hi", 17);
21277 return 0;
21278 }
21279 _ACEOF
21280 rm -f conftest.$ac_objext conftest$ac_exeext
21281 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21282 (eval $ac_link) 2>conftest.er1
21283 ac_status=$?
21284 grep -v '^ *+' conftest.er1 >conftest.err
21285 rm -f conftest.er1
21286 cat conftest.err >&5
21287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21288 (exit $ac_status); } &&
21289 { ac_try='test -z "$ac_c_werror_flag"
21290 || test ! -s conftest.err'
21291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21292 (eval $ac_try) 2>&5
21293 ac_status=$?
21294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21295 (exit $ac_status); }; } &&
21296 { ac_try='test -s conftest$ac_exeext'
21297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21298 (eval $ac_try) 2>&5
21299 ac_status=$?
21300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21301 (exit $ac_status); }; }; then
21302 wx_cv_func_va_copy=yes
21303 else
21304 echo "$as_me: failed program was:" >&5
21305 sed 's/^/| /' conftest.$ac_ext >&5
21306
21307 wx_cv_func_va_copy=no
21308
21309 fi
21310 rm -f conftest.err conftest.$ac_objext \
21311 conftest$ac_exeext conftest.$ac_ext
21312
21313
21314 fi
21315 echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
21316 echo "${ECHO_T}$wx_cv_func_va_copy" >&6
21317
21318 if test $wx_cv_func_va_copy = "yes"; then
21319 cat >>confdefs.h <<\_ACEOF
21320 #define HAVE_VA_COPY 1
21321 _ACEOF
21322
21323 else
21324 echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
21325 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6
21326 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
21327 echo $ECHO_N "(cached) $ECHO_C" >&6
21328 else
21329
21330 if test "$cross_compiling" = yes; then
21331 wx_cv_type_va_list_lvalue=yes
21332
21333 else
21334 cat >conftest.$ac_ext <<_ACEOF
21335
21336 #include <stdarg.h>
21337 int foo(char *f, ...)
21338 {
21339 va_list ap1, ap2;
21340 va_start(ap1, f);
21341 ap2 = ap1;
21342 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
21343 return 1;
21344 va_end(ap2);
21345 va_end(ap1);
21346 return 0;
21347 }
21348 int main()
21349 {
21350 return foo("hi", 17);
21351 }
21352 _ACEOF
21353 rm -f conftest$ac_exeext
21354 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21355 (eval $ac_link) 2>&5
21356 ac_status=$?
21357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21358 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21360 (eval $ac_try) 2>&5
21361 ac_status=$?
21362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21363 (exit $ac_status); }; }; then
21364 wx_cv_type_va_list_lvalue=yes
21365 else
21366 echo "$as_me: program exited with status $ac_status" >&5
21367 echo "$as_me: failed program was:" >&5
21368 sed 's/^/| /' conftest.$ac_ext >&5
21369
21370 ( exit $ac_status )
21371 wx_cv_type_va_list_lvalue=no
21372 fi
21373 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21374 fi
21375
21376
21377 fi
21378 echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
21379 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6
21380
21381 if test $wx_cv_type_va_list_lvalue != "yes"; then
21382 cat >>confdefs.h <<\_ACEOF
21383 #define VA_LIST_IS_ARRAY 1
21384 _ACEOF
21385
21386 fi
21387 fi
21388
21389 # Check whether --enable-largefile or --disable-largefile was given.
21390 if test "${enable_largefile+set}" = set; then
21391 enableval="$enable_largefile"
21392
21393 fi;
21394 if test "$enable_largefile" != no; then
21395 wx_largefile=no
21396
21397 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
21398 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
21399 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
21400 echo $ECHO_N "(cached) $ECHO_C" >&6
21401 else
21402
21403 cat >conftest.$ac_ext <<_ACEOF
21404 /* confdefs.h. */
21405 _ACEOF
21406 cat confdefs.h >>conftest.$ac_ext
21407 cat >>conftest.$ac_ext <<_ACEOF
21408 /* end confdefs.h. */
21409 #define _FILE_OFFSET_BITS 64
21410 #include <sys/types.h>
21411 int
21412 main ()
21413 {
21414 typedef struct {
21415 unsigned int field: sizeof(off_t) == 8;
21416 } wxlf;
21417
21418 ;
21419 return 0;
21420 }
21421 _ACEOF
21422 rm -f conftest.$ac_objext
21423 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21424 (eval $ac_compile) 2>conftest.er1
21425 ac_status=$?
21426 grep -v '^ *+' conftest.er1 >conftest.err
21427 rm -f conftest.er1
21428 cat conftest.err >&5
21429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21430 (exit $ac_status); } &&
21431 { ac_try='test -z "$ac_c_werror_flag"
21432 || test ! -s conftest.err'
21433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21434 (eval $ac_try) 2>&5
21435 ac_status=$?
21436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21437 (exit $ac_status); }; } &&
21438 { ac_try='test -s conftest.$ac_objext'
21439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21440 (eval $ac_try) 2>&5
21441 ac_status=$?
21442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21443 (exit $ac_status); }; }; then
21444 ac_cv_sys_file_offset_bits=64
21445 else
21446 echo "$as_me: failed program was:" >&5
21447 sed 's/^/| /' conftest.$ac_ext >&5
21448
21449 ac_cv_sys_file_offset_bits=no
21450 fi
21451 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21452
21453
21454 fi
21455 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
21456 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
21457
21458 if test "$ac_cv_sys_file_offset_bits" != no; then
21459 wx_largefile=yes
21460 cat >>confdefs.h <<_ACEOF
21461 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
21462 _ACEOF
21463
21464 fi
21465
21466 if test "x$wx_largefile" != "xyes"; then
21467
21468 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
21469 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
21470 if test "${ac_cv_sys_large_files+set}" = set; then
21471 echo $ECHO_N "(cached) $ECHO_C" >&6
21472 else
21473
21474 cat >conftest.$ac_ext <<_ACEOF
21475 /* confdefs.h. */
21476 _ACEOF
21477 cat confdefs.h >>conftest.$ac_ext
21478 cat >>conftest.$ac_ext <<_ACEOF
21479 /* end confdefs.h. */
21480 #define _LARGE_FILES 1
21481 #include <sys/types.h>
21482 int
21483 main ()
21484 {
21485 typedef struct {
21486 unsigned int field: sizeof(off_t) == 8;
21487 } wxlf;
21488
21489 ;
21490 return 0;
21491 }
21492 _ACEOF
21493 rm -f conftest.$ac_objext
21494 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21495 (eval $ac_compile) 2>conftest.er1
21496 ac_status=$?
21497 grep -v '^ *+' conftest.er1 >conftest.err
21498 rm -f conftest.er1
21499 cat conftest.err >&5
21500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21501 (exit $ac_status); } &&
21502 { ac_try='test -z "$ac_c_werror_flag"
21503 || test ! -s conftest.err'
21504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21505 (eval $ac_try) 2>&5
21506 ac_status=$?
21507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21508 (exit $ac_status); }; } &&
21509 { ac_try='test -s conftest.$ac_objext'
21510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21511 (eval $ac_try) 2>&5
21512 ac_status=$?
21513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21514 (exit $ac_status); }; }; then
21515 ac_cv_sys_large_files=1
21516 else
21517 echo "$as_me: failed program was:" >&5
21518 sed 's/^/| /' conftest.$ac_ext >&5
21519
21520 ac_cv_sys_large_files=no
21521 fi
21522 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21523
21524
21525 fi
21526 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
21527 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
21528
21529 if test "$ac_cv_sys_large_files" != no; then
21530 wx_largefile=yes
21531 cat >>confdefs.h <<_ACEOF
21532 #define _LARGE_FILES $ac_cv_sys_large_files
21533 _ACEOF
21534
21535 fi
21536
21537 fi
21538
21539 echo "$as_me:$LINENO: checking if large file support is available" >&5
21540 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
21541 if test "x$wx_largefile" = "xyes"; then
21542 cat >>confdefs.h <<\_ACEOF
21543 #define HAVE_LARGEFILE_SUPPORT 1
21544 _ACEOF
21545
21546 fi
21547 echo "$as_me:$LINENO: result: $wx_largefile" >&5
21548 echo "${ECHO_T}$wx_largefile" >&6
21549 fi
21550
21551
21552 if test "x$wx_largefile" = "xyes"; then
21553 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
21554 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
21555
21556 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
21557 echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
21558 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6
21559 if test "${wx_cv_STDC_EXT_required+set}" = set; then
21560 echo $ECHO_N "(cached) $ECHO_C" >&6
21561 else
21562
21563 ac_ext=cc
21564 ac_cpp='$CXXCPP $CPPFLAGS'
21565 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21566 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21567 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21568
21569 cat >conftest.$ac_ext <<_ACEOF
21570 /* confdefs.h. */
21571 _ACEOF
21572 cat confdefs.h >>conftest.$ac_ext
21573 cat >>conftest.$ac_ext <<_ACEOF
21574 /* end confdefs.h. */
21575
21576 int
21577 main ()
21578 {
21579
21580 #ifndef __STDC_EXT__
21581 choke me
21582 #endif
21583
21584 ;
21585 return 0;
21586 }
21587 _ACEOF
21588 rm -f conftest.$ac_objext
21589 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21590 (eval $ac_compile) 2>conftest.er1
21591 ac_status=$?
21592 grep -v '^ *+' conftest.er1 >conftest.err
21593 rm -f conftest.er1
21594 cat conftest.err >&5
21595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21596 (exit $ac_status); } &&
21597 { ac_try='test -z "$ac_cxx_werror_flag"
21598 || test ! -s conftest.err'
21599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21600 (eval $ac_try) 2>&5
21601 ac_status=$?
21602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21603 (exit $ac_status); }; } &&
21604 { ac_try='test -s conftest.$ac_objext'
21605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21606 (eval $ac_try) 2>&5
21607 ac_status=$?
21608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21609 (exit $ac_status); }; }; then
21610 wx_cv_STDC_EXT_required=no
21611 else
21612 echo "$as_me: failed program was:" >&5
21613 sed 's/^/| /' conftest.$ac_ext >&5
21614
21615 wx_cv_STDC_EXT_required=yes
21616
21617 fi
21618 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21619 ac_ext=c
21620 ac_cpp='$CPP $CPPFLAGS'
21621 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21622 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21623 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21624
21625
21626
21627 fi
21628 echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
21629 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6
21630 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
21631 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
21632 fi
21633 fi
21634 else
21635 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGE_FILES"
21636 fi
21637 echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
21638 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6
21639 if test "${ac_cv_sys_largefile_source+set}" = set; then
21640 echo $ECHO_N "(cached) $ECHO_C" >&6
21641 else
21642 while :; do
21643 ac_cv_sys_largefile_source=no
21644 cat >conftest.$ac_ext <<_ACEOF
21645 /* confdefs.h. */
21646 _ACEOF
21647 cat confdefs.h >>conftest.$ac_ext
21648 cat >>conftest.$ac_ext <<_ACEOF
21649 /* end confdefs.h. */
21650 #include <stdio.h>
21651 int
21652 main ()
21653 {
21654 return !fseeko;
21655 ;
21656 return 0;
21657 }
21658 _ACEOF
21659 rm -f conftest.$ac_objext
21660 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21661 (eval $ac_compile) 2>conftest.er1
21662 ac_status=$?
21663 grep -v '^ *+' conftest.er1 >conftest.err
21664 rm -f conftest.er1
21665 cat conftest.err >&5
21666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21667 (exit $ac_status); } &&
21668 { ac_try='test -z "$ac_c_werror_flag"
21669 || test ! -s conftest.err'
21670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21671 (eval $ac_try) 2>&5
21672 ac_status=$?
21673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21674 (exit $ac_status); }; } &&
21675 { ac_try='test -s conftest.$ac_objext'
21676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21677 (eval $ac_try) 2>&5
21678 ac_status=$?
21679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21680 (exit $ac_status); }; }; then
21681 break
21682 else
21683 echo "$as_me: failed program was:" >&5
21684 sed 's/^/| /' conftest.$ac_ext >&5
21685
21686 fi
21687 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21688 cat >conftest.$ac_ext <<_ACEOF
21689 /* confdefs.h. */
21690 _ACEOF
21691 cat confdefs.h >>conftest.$ac_ext
21692 cat >>conftest.$ac_ext <<_ACEOF
21693 /* end confdefs.h. */
21694 #define _LARGEFILE_SOURCE 1
21695 #include <stdio.h>
21696 int
21697 main ()
21698 {
21699 return !fseeko;
21700 ;
21701 return 0;
21702 }
21703 _ACEOF
21704 rm -f conftest.$ac_objext
21705 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21706 (eval $ac_compile) 2>conftest.er1
21707 ac_status=$?
21708 grep -v '^ *+' conftest.er1 >conftest.err
21709 rm -f conftest.er1
21710 cat conftest.err >&5
21711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21712 (exit $ac_status); } &&
21713 { ac_try='test -z "$ac_c_werror_flag"
21714 || test ! -s conftest.err'
21715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21716 (eval $ac_try) 2>&5
21717 ac_status=$?
21718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21719 (exit $ac_status); }; } &&
21720 { ac_try='test -s conftest.$ac_objext'
21721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21722 (eval $ac_try) 2>&5
21723 ac_status=$?
21724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21725 (exit $ac_status); }; }; then
21726 ac_cv_sys_largefile_source=1; break
21727 else
21728 echo "$as_me: failed program was:" >&5
21729 sed 's/^/| /' conftest.$ac_ext >&5
21730
21731 fi
21732 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21733 break
21734 done
21735 fi
21736 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
21737 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6
21738 if test "$ac_cv_sys_largefile_source" != no; then
21739
21740 cat >>confdefs.h <<_ACEOF
21741 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
21742 _ACEOF
21743
21744 fi
21745 rm -f conftest*
21746
21747 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
21748 # in glibc 2.1.3, but that breaks too many other things.
21749 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
21750 echo "$as_me:$LINENO: checking for fseeko" >&5
21751 echo $ECHO_N "checking for fseeko... $ECHO_C" >&6
21752 if test "${ac_cv_func_fseeko+set}" = set; then
21753 echo $ECHO_N "(cached) $ECHO_C" >&6
21754 else
21755 cat >conftest.$ac_ext <<_ACEOF
21756 /* confdefs.h. */
21757 _ACEOF
21758 cat confdefs.h >>conftest.$ac_ext
21759 cat >>conftest.$ac_ext <<_ACEOF
21760 /* end confdefs.h. */
21761 #include <stdio.h>
21762 int
21763 main ()
21764 {
21765 return fseeko && fseeko (stdin, 0, 0);
21766 ;
21767 return 0;
21768 }
21769 _ACEOF
21770 rm -f conftest.$ac_objext conftest$ac_exeext
21771 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21772 (eval $ac_link) 2>conftest.er1
21773 ac_status=$?
21774 grep -v '^ *+' conftest.er1 >conftest.err
21775 rm -f conftest.er1
21776 cat conftest.err >&5
21777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21778 (exit $ac_status); } &&
21779 { ac_try='test -z "$ac_c_werror_flag"
21780 || test ! -s conftest.err'
21781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21782 (eval $ac_try) 2>&5
21783 ac_status=$?
21784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21785 (exit $ac_status); }; } &&
21786 { ac_try='test -s conftest$ac_exeext'
21787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21788 (eval $ac_try) 2>&5
21789 ac_status=$?
21790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21791 (exit $ac_status); }; }; then
21792 ac_cv_func_fseeko=yes
21793 else
21794 echo "$as_me: failed program was:" >&5
21795 sed 's/^/| /' conftest.$ac_ext >&5
21796
21797 ac_cv_func_fseeko=no
21798 fi
21799 rm -f conftest.err conftest.$ac_objext \
21800 conftest$ac_exeext conftest.$ac_ext
21801 fi
21802 echo "$as_me:$LINENO: result: $ac_cv_func_fseeko" >&5
21803 echo "${ECHO_T}$ac_cv_func_fseeko" >&6
21804 if test $ac_cv_func_fseeko = yes; then
21805
21806 cat >>confdefs.h <<\_ACEOF
21807 #define HAVE_FSEEKO 1
21808 _ACEOF
21809
21810 fi
21811
21812 if test "$ac_cv_sys_largefile_source" != no; then
21813 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
21814 fi
21815 fi
21816
21817 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
21818 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
21819 if test "${ac_cv_c_bigendian+set}" = set; then
21820 echo $ECHO_N "(cached) $ECHO_C" >&6
21821 else
21822 ac_cv_c_bigendian=unknown
21823 # See if sys/param.h defines the BYTE_ORDER macro.
21824 cat >conftest.$ac_ext <<_ACEOF
21825 /* confdefs.h. */
21826 _ACEOF
21827 cat confdefs.h >>conftest.$ac_ext
21828 cat >>conftest.$ac_ext <<_ACEOF
21829 /* end confdefs.h. */
21830 #include <sys/types.h>
21831 #include <sys/param.h>
21832 int
21833 main ()
21834 {
21835
21836 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
21837 bogus endian macros
21838 #endif
21839 ;
21840 return 0;
21841 }
21842 _ACEOF
21843 rm -f conftest.$ac_objext
21844 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21845 (eval $ac_compile) 2>conftest.er1
21846 ac_status=$?
21847 grep -v '^ *+' conftest.er1 >conftest.err
21848 rm -f conftest.er1
21849 cat conftest.err >&5
21850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21851 (exit $ac_status); } &&
21852 { ac_try='test -z "$ac_c_werror_flag"
21853 || test ! -s conftest.err'
21854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21855 (eval $ac_try) 2>&5
21856 ac_status=$?
21857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21858 (exit $ac_status); }; } &&
21859 { ac_try='test -s conftest.$ac_objext'
21860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21861 (eval $ac_try) 2>&5
21862 ac_status=$?
21863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21864 (exit $ac_status); }; }; then
21865 # It does; now see whether it defined to BIG_ENDIAN or not.
21866 cat >conftest.$ac_ext <<_ACEOF
21867 /* confdefs.h. */
21868 _ACEOF
21869 cat confdefs.h >>conftest.$ac_ext
21870 cat >>conftest.$ac_ext <<_ACEOF
21871 /* end confdefs.h. */
21872 #include <sys/types.h>
21873 #include <sys/param.h>
21874 int
21875 main ()
21876 {
21877
21878 #if BYTE_ORDER != BIG_ENDIAN
21879 not big endian
21880 #endif
21881 ;
21882 return 0;
21883 }
21884 _ACEOF
21885 rm -f conftest.$ac_objext
21886 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21887 (eval $ac_compile) 2>conftest.er1
21888 ac_status=$?
21889 grep -v '^ *+' conftest.er1 >conftest.err
21890 rm -f conftest.er1
21891 cat conftest.err >&5
21892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21893 (exit $ac_status); } &&
21894 { ac_try='test -z "$ac_c_werror_flag"
21895 || test ! -s conftest.err'
21896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21897 (eval $ac_try) 2>&5
21898 ac_status=$?
21899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21900 (exit $ac_status); }; } &&
21901 { ac_try='test -s conftest.$ac_objext'
21902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21903 (eval $ac_try) 2>&5
21904 ac_status=$?
21905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21906 (exit $ac_status); }; }; then
21907 ac_cv_c_bigendian=yes
21908 else
21909 echo "$as_me: failed program was:" >&5
21910 sed 's/^/| /' conftest.$ac_ext >&5
21911
21912 ac_cv_c_bigendian=no
21913 fi
21914 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21915 else
21916 echo "$as_me: failed program was:" >&5
21917 sed 's/^/| /' conftest.$ac_ext >&5
21918
21919 fi
21920 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21921 if test $ac_cv_c_bigendian = unknown; then
21922 if test "$cross_compiling" = yes; then
21923 ac_cv_c_bigendian=unknown
21924 else
21925 cat >conftest.$ac_ext <<_ACEOF
21926 /* confdefs.h. */
21927 _ACEOF
21928 cat confdefs.h >>conftest.$ac_ext
21929 cat >>conftest.$ac_ext <<_ACEOF
21930 /* end confdefs.h. */
21931 main () {
21932 /* Are we little or big endian? From Harbison&Steele. */
21933 union
21934 {
21935 long l;
21936 char c[sizeof (long)];
21937 } u;
21938 u.l = 1;
21939 exit (u.c[sizeof (long) - 1] == 1);
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 ac_cv_c_bigendian=no
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 ac_cv_c_bigendian=yes
21961 fi
21962 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21963 fi
21964 fi
21965 fi
21966 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
21967 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
21968 if test $ac_cv_c_bigendian = unknown; then
21969 { 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
21970 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;}
21971 fi
21972 if test $ac_cv_c_bigendian = yes; then
21973 cat >>confdefs.h <<\_ACEOF
21974 #define WORDS_BIGENDIAN 1
21975 _ACEOF
21976
21977 fi
21978
21979
21980 ac_ext=cc
21981 ac_cpp='$CXXCPP $CPPFLAGS'
21982 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21983 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21984 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21985 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
21986 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
21987 if test -z "$CXXCPP"; then
21988 if test "${ac_cv_prog_CXXCPP+set}" = set; then
21989 echo $ECHO_N "(cached) $ECHO_C" >&6
21990 else
21991 # Double quotes because CXXCPP needs to be expanded
21992 for CXXCPP in "$CXX -E" "/lib/cpp"
21993 do
21994 ac_preproc_ok=false
21995 for ac_cxx_preproc_warn_flag in '' yes
21996 do
21997 # Use a header file that comes with gcc, so configuring glibc
21998 # with a fresh cross-compiler works.
21999 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22000 # <limits.h> exists even on freestanding compilers.
22001 # On the NeXT, cc -E runs the code through the compiler's parser,
22002 # not just through cpp. "Syntax error" is here to catch this case.
22003 cat >conftest.$ac_ext <<_ACEOF
22004 /* confdefs.h. */
22005 _ACEOF
22006 cat confdefs.h >>conftest.$ac_ext
22007 cat >>conftest.$ac_ext <<_ACEOF
22008 /* end confdefs.h. */
22009 #ifdef __STDC__
22010 # include <limits.h>
22011 #else
22012 # include <assert.h>
22013 #endif
22014 Syntax error
22015 _ACEOF
22016 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22017 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
22018 ac_status=$?
22019 grep -v '^ *+' conftest.er1 >conftest.err
22020 rm -f conftest.er1
22021 cat conftest.err >&5
22022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22023 (exit $ac_status); } >/dev/null; then
22024 if test -s conftest.err; then
22025 ac_cpp_err=$ac_cxx_preproc_warn_flag
22026 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
22027 else
22028 ac_cpp_err=
22029 fi
22030 else
22031 ac_cpp_err=yes
22032 fi
22033 if test -z "$ac_cpp_err"; then
22034 :
22035 else
22036 echo "$as_me: failed program was:" >&5
22037 sed 's/^/| /' conftest.$ac_ext >&5
22038
22039 # Broken: fails on valid input.
22040 continue
22041 fi
22042 rm -f conftest.err conftest.$ac_ext
22043
22044 # OK, works on sane cases. Now check whether non-existent headers
22045 # can be detected and how.
22046 cat >conftest.$ac_ext <<_ACEOF
22047 /* confdefs.h. */
22048 _ACEOF
22049 cat confdefs.h >>conftest.$ac_ext
22050 cat >>conftest.$ac_ext <<_ACEOF
22051 /* end confdefs.h. */
22052 #include <ac_nonexistent.h>
22053 _ACEOF
22054 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22055 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
22056 ac_status=$?
22057 grep -v '^ *+' conftest.er1 >conftest.err
22058 rm -f conftest.er1
22059 cat conftest.err >&5
22060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22061 (exit $ac_status); } >/dev/null; then
22062 if test -s conftest.err; then
22063 ac_cpp_err=$ac_cxx_preproc_warn_flag
22064 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
22065 else
22066 ac_cpp_err=
22067 fi
22068 else
22069 ac_cpp_err=yes
22070 fi
22071 if test -z "$ac_cpp_err"; then
22072 # Broken: success on invalid input.
22073 continue
22074 else
22075 echo "$as_me: failed program was:" >&5
22076 sed 's/^/| /' conftest.$ac_ext >&5
22077
22078 # Passes both tests.
22079 ac_preproc_ok=:
22080 break
22081 fi
22082 rm -f conftest.err conftest.$ac_ext
22083
22084 done
22085 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
22086 rm -f conftest.err conftest.$ac_ext
22087 if $ac_preproc_ok; then
22088 break
22089 fi
22090
22091 done
22092 ac_cv_prog_CXXCPP=$CXXCPP
22093
22094 fi
22095 CXXCPP=$ac_cv_prog_CXXCPP
22096 else
22097 ac_cv_prog_CXXCPP=$CXXCPP
22098 fi
22099 echo "$as_me:$LINENO: result: $CXXCPP" >&5
22100 echo "${ECHO_T}$CXXCPP" >&6
22101 ac_preproc_ok=false
22102 for ac_cxx_preproc_warn_flag in '' yes
22103 do
22104 # Use a header file that comes with gcc, so configuring glibc
22105 # with a fresh cross-compiler works.
22106 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22107 # <limits.h> exists even on freestanding compilers.
22108 # On the NeXT, cc -E runs the code through the compiler's parser,
22109 # not just through cpp. "Syntax error" is here to catch this case.
22110 cat >conftest.$ac_ext <<_ACEOF
22111 /* confdefs.h. */
22112 _ACEOF
22113 cat confdefs.h >>conftest.$ac_ext
22114 cat >>conftest.$ac_ext <<_ACEOF
22115 /* end confdefs.h. */
22116 #ifdef __STDC__
22117 # include <limits.h>
22118 #else
22119 # include <assert.h>
22120 #endif
22121 Syntax error
22122 _ACEOF
22123 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22124 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
22125 ac_status=$?
22126 grep -v '^ *+' conftest.er1 >conftest.err
22127 rm -f conftest.er1
22128 cat conftest.err >&5
22129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22130 (exit $ac_status); } >/dev/null; then
22131 if test -s conftest.err; then
22132 ac_cpp_err=$ac_cxx_preproc_warn_flag
22133 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
22134 else
22135 ac_cpp_err=
22136 fi
22137 else
22138 ac_cpp_err=yes
22139 fi
22140 if test -z "$ac_cpp_err"; then
22141 :
22142 else
22143 echo "$as_me: failed program was:" >&5
22144 sed 's/^/| /' conftest.$ac_ext >&5
22145
22146 # Broken: fails on valid input.
22147 continue
22148 fi
22149 rm -f conftest.err conftest.$ac_ext
22150
22151 # OK, works on sane cases. Now check whether non-existent headers
22152 # can be detected and how.
22153 cat >conftest.$ac_ext <<_ACEOF
22154 /* confdefs.h. */
22155 _ACEOF
22156 cat confdefs.h >>conftest.$ac_ext
22157 cat >>conftest.$ac_ext <<_ACEOF
22158 /* end confdefs.h. */
22159 #include <ac_nonexistent.h>
22160 _ACEOF
22161 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22162 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
22163 ac_status=$?
22164 grep -v '^ *+' conftest.er1 >conftest.err
22165 rm -f conftest.er1
22166 cat conftest.err >&5
22167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22168 (exit $ac_status); } >/dev/null; then
22169 if test -s conftest.err; then
22170 ac_cpp_err=$ac_cxx_preproc_warn_flag
22171 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
22172 else
22173 ac_cpp_err=
22174 fi
22175 else
22176 ac_cpp_err=yes
22177 fi
22178 if test -z "$ac_cpp_err"; then
22179 # Broken: success on invalid input.
22180 continue
22181 else
22182 echo "$as_me: failed program was:" >&5
22183 sed 's/^/| /' conftest.$ac_ext >&5
22184
22185 # Passes both tests.
22186 ac_preproc_ok=:
22187 break
22188 fi
22189 rm -f conftest.err conftest.$ac_ext
22190
22191 done
22192 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
22193 rm -f conftest.err conftest.$ac_ext
22194 if $ac_preproc_ok; then
22195 :
22196 else
22197 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
22198 See \`config.log' for more details." >&5
22199 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
22200 See \`config.log' for more details." >&2;}
22201 { (exit 1); exit 1; }; }
22202 fi
22203
22204 ac_ext=cc
22205 ac_cpp='$CXXCPP $CPPFLAGS'
22206 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22207 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22208 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22209
22210
22211
22212
22213
22214 ac_ext=cc
22215 ac_cpp='$CXXCPP $CPPFLAGS'
22216 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22217 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22218 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22219
22220
22221
22222 for ac_header in iostream
22223 do
22224 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
22225 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22226 echo "$as_me:$LINENO: checking for $ac_header" >&5
22227 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22228 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22229 echo $ECHO_N "(cached) $ECHO_C" >&6
22230 fi
22231 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22232 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
22233 else
22234 # Is the header compilable?
22235 echo "$as_me:$LINENO: checking $ac_header usability" >&5
22236 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
22237 cat >conftest.$ac_ext <<_ACEOF
22238 /* confdefs.h. */
22239 _ACEOF
22240 cat confdefs.h >>conftest.$ac_ext
22241 cat >>conftest.$ac_ext <<_ACEOF
22242 /* end confdefs.h. */
22243 $ac_includes_default
22244 #include <$ac_header>
22245 _ACEOF
22246 rm -f conftest.$ac_objext
22247 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22248 (eval $ac_compile) 2>conftest.er1
22249 ac_status=$?
22250 grep -v '^ *+' conftest.er1 >conftest.err
22251 rm -f conftest.er1
22252 cat conftest.err >&5
22253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22254 (exit $ac_status); } &&
22255 { ac_try='test -z "$ac_cxx_werror_flag"
22256 || test ! -s conftest.err'
22257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22258 (eval $ac_try) 2>&5
22259 ac_status=$?
22260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22261 (exit $ac_status); }; } &&
22262 { ac_try='test -s conftest.$ac_objext'
22263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22264 (eval $ac_try) 2>&5
22265 ac_status=$?
22266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22267 (exit $ac_status); }; }; then
22268 ac_header_compiler=yes
22269 else
22270 echo "$as_me: failed program was:" >&5
22271 sed 's/^/| /' conftest.$ac_ext >&5
22272
22273 ac_header_compiler=no
22274 fi
22275 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22276 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22277 echo "${ECHO_T}$ac_header_compiler" >&6
22278
22279 # Is the header present?
22280 echo "$as_me:$LINENO: checking $ac_header presence" >&5
22281 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
22282 cat >conftest.$ac_ext <<_ACEOF
22283 /* confdefs.h. */
22284 _ACEOF
22285 cat confdefs.h >>conftest.$ac_ext
22286 cat >>conftest.$ac_ext <<_ACEOF
22287 /* end confdefs.h. */
22288 #include <$ac_header>
22289 _ACEOF
22290 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22291 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
22292 ac_status=$?
22293 grep -v '^ *+' conftest.er1 >conftest.err
22294 rm -f conftest.er1
22295 cat conftest.err >&5
22296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22297 (exit $ac_status); } >/dev/null; then
22298 if test -s conftest.err; then
22299 ac_cpp_err=$ac_cxx_preproc_warn_flag
22300 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
22301 else
22302 ac_cpp_err=
22303 fi
22304 else
22305 ac_cpp_err=yes
22306 fi
22307 if test -z "$ac_cpp_err"; then
22308 ac_header_preproc=yes
22309 else
22310 echo "$as_me: failed program was:" >&5
22311 sed 's/^/| /' conftest.$ac_ext >&5
22312
22313 ac_header_preproc=no
22314 fi
22315 rm -f conftest.err conftest.$ac_ext
22316 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22317 echo "${ECHO_T}$ac_header_preproc" >&6
22318
22319 # So? What about this header?
22320 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
22321 yes:no: )
22322 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
22323 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
22324 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
22325 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
22326 ac_header_preproc=yes
22327 ;;
22328 no:yes:* )
22329 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
22330 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
22331 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
22332 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
22333 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
22334 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
22335 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
22336 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
22337 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
22338 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
22339 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
22340 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
22341 (
22342 cat <<\_ASBOX
22343 ## ----------------------------------------- ##
22344 ## Report this to wx-dev@lists.wxwidgets.org ##
22345 ## ----------------------------------------- ##
22346 _ASBOX
22347 ) |
22348 sed "s/^/$as_me: WARNING: /" >&2
22349 ;;
22350 esac
22351 echo "$as_me:$LINENO: checking for $ac_header" >&5
22352 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22353 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22354 echo $ECHO_N "(cached) $ECHO_C" >&6
22355 else
22356 eval "$as_ac_Header=\$ac_header_preproc"
22357 fi
22358 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22359 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
22360
22361 fi
22362 if test `eval echo '${'$as_ac_Header'}'` = yes; then
22363 cat >>confdefs.h <<_ACEOF
22364 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
22365 _ACEOF
22366
22367 fi
22368
22369 done
22370
22371
22372 if test "$ac_cv_header_iostream" = "yes" ; then
22373 :
22374 else
22375 cat >>confdefs.h <<\_ACEOF
22376 #define wxUSE_IOSTREAMH 1
22377 _ACEOF
22378
22379 fi
22380
22381 ac_ext=c
22382 ac_cpp='$CPP $CPPFLAGS'
22383 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22384 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22385 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22386
22387
22388
22389
22390 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
22391 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
22392 if test "${wx_cv_cpp_bool+set}" = set; then
22393 echo $ECHO_N "(cached) $ECHO_C" >&6
22394 else
22395
22396
22397
22398 ac_ext=cc
22399 ac_cpp='$CXXCPP $CPPFLAGS'
22400 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22401 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22402 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22403
22404
22405 cat >conftest.$ac_ext <<_ACEOF
22406 /* confdefs.h. */
22407 _ACEOF
22408 cat confdefs.h >>conftest.$ac_ext
22409 cat >>conftest.$ac_ext <<_ACEOF
22410 /* end confdefs.h. */
22411
22412
22413 int
22414 main ()
22415 {
22416
22417 bool b = true;
22418
22419 return 0;
22420
22421 ;
22422 return 0;
22423 }
22424 _ACEOF
22425 rm -f conftest.$ac_objext
22426 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22427 (eval $ac_compile) 2>conftest.er1
22428 ac_status=$?
22429 grep -v '^ *+' conftest.er1 >conftest.err
22430 rm -f conftest.er1
22431 cat conftest.err >&5
22432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22433 (exit $ac_status); } &&
22434 { ac_try='test -z "$ac_cxx_werror_flag"
22435 || test ! -s conftest.err'
22436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22437 (eval $ac_try) 2>&5
22438 ac_status=$?
22439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22440 (exit $ac_status); }; } &&
22441 { ac_try='test -s conftest.$ac_objext'
22442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22443 (eval $ac_try) 2>&5
22444 ac_status=$?
22445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22446 (exit $ac_status); }; }; then
22447
22448 wx_cv_cpp_bool=yes
22449
22450 else
22451 echo "$as_me: failed program was:" >&5
22452 sed 's/^/| /' conftest.$ac_ext >&5
22453
22454
22455 wx_cv_cpp_bool=no
22456
22457
22458 fi
22459 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22460
22461 ac_ext=c
22462 ac_cpp='$CPP $CPPFLAGS'
22463 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22464 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22465 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22466
22467
22468 fi
22469 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
22470 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
22471
22472 if test "$wx_cv_cpp_bool" = "yes"; then
22473 cat >>confdefs.h <<\_ACEOF
22474 #define HAVE_BOOL 1
22475 _ACEOF
22476
22477 fi
22478
22479
22480
22481 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
22482 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
22483 if test "${wx_cv_explicit+set}" = set; then
22484 echo $ECHO_N "(cached) $ECHO_C" >&6
22485 else
22486
22487
22488
22489 ac_ext=cc
22490 ac_cpp='$CXXCPP $CPPFLAGS'
22491 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22492 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22493 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22494
22495
22496 cat >conftest.$ac_ext <<_ACEOF
22497 /* confdefs.h. */
22498 _ACEOF
22499 cat confdefs.h >>conftest.$ac_ext
22500 cat >>conftest.$ac_ext <<_ACEOF
22501 /* end confdefs.h. */
22502
22503 class Foo { public: explicit Foo(int) {} };
22504
22505 int
22506 main ()
22507 {
22508
22509 return 0;
22510
22511 ;
22512 return 0;
22513 }
22514 _ACEOF
22515 rm -f conftest.$ac_objext
22516 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22517 (eval $ac_compile) 2>conftest.er1
22518 ac_status=$?
22519 grep -v '^ *+' conftest.er1 >conftest.err
22520 rm -f conftest.er1
22521 cat conftest.err >&5
22522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22523 (exit $ac_status); } &&
22524 { ac_try='test -z "$ac_cxx_werror_flag"
22525 || test ! -s conftest.err'
22526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22527 (eval $ac_try) 2>&5
22528 ac_status=$?
22529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22530 (exit $ac_status); }; } &&
22531 { ac_try='test -s conftest.$ac_objext'
22532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22533 (eval $ac_try) 2>&5
22534 ac_status=$?
22535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22536 (exit $ac_status); }; }; then
22537
22538 cat >conftest.$ac_ext <<_ACEOF
22539 /* confdefs.h. */
22540 _ACEOF
22541 cat confdefs.h >>conftest.$ac_ext
22542 cat >>conftest.$ac_ext <<_ACEOF
22543 /* end confdefs.h. */
22544
22545 class Foo { public: explicit Foo(int) {} };
22546 static void TakeFoo(const Foo& foo) { }
22547
22548 int
22549 main ()
22550 {
22551
22552 TakeFoo(17);
22553 return 0;
22554
22555 ;
22556 return 0;
22557 }
22558 _ACEOF
22559 rm -f conftest.$ac_objext
22560 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22561 (eval $ac_compile) 2>conftest.er1
22562 ac_status=$?
22563 grep -v '^ *+' conftest.er1 >conftest.err
22564 rm -f conftest.er1
22565 cat conftest.err >&5
22566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22567 (exit $ac_status); } &&
22568 { ac_try='test -z "$ac_cxx_werror_flag"
22569 || test ! -s conftest.err'
22570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22571 (eval $ac_try) 2>&5
22572 ac_status=$?
22573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22574 (exit $ac_status); }; } &&
22575 { ac_try='test -s conftest.$ac_objext'
22576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22577 (eval $ac_try) 2>&5
22578 ac_status=$?
22579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22580 (exit $ac_status); }; }; then
22581 wx_cv_explicit=no
22582 else
22583 echo "$as_me: failed program was:" >&5
22584 sed 's/^/| /' conftest.$ac_ext >&5
22585
22586 wx_cv_explicit=yes
22587
22588 fi
22589 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22590
22591 else
22592 echo "$as_me: failed program was:" >&5
22593 sed 's/^/| /' conftest.$ac_ext >&5
22594
22595 wx_cv_explicit=no
22596
22597 fi
22598 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22599
22600 ac_ext=c
22601 ac_cpp='$CPP $CPPFLAGS'
22602 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22603 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22604 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22605
22606
22607 fi
22608 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
22609 echo "${ECHO_T}$wx_cv_explicit" >&6
22610
22611 if test "$wx_cv_explicit" = "yes"; then
22612 cat >>confdefs.h <<\_ACEOF
22613 #define HAVE_EXPLICIT 1
22614 _ACEOF
22615
22616 fi
22617
22618
22619 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
22620 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
22621 if test "${ac_cv_cxx_const_cast+set}" = set; then
22622 echo $ECHO_N "(cached) $ECHO_C" >&6
22623 else
22624
22625
22626 ac_ext=cc
22627 ac_cpp='$CXXCPP $CPPFLAGS'
22628 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22629 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22630 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22631
22632 cat >conftest.$ac_ext <<_ACEOF
22633 /* confdefs.h. */
22634 _ACEOF
22635 cat confdefs.h >>conftest.$ac_ext
22636 cat >>conftest.$ac_ext <<_ACEOF
22637 /* end confdefs.h. */
22638
22639 int
22640 main ()
22641 {
22642 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
22643 ;
22644 return 0;
22645 }
22646 _ACEOF
22647 rm -f conftest.$ac_objext
22648 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22649 (eval $ac_compile) 2>conftest.er1
22650 ac_status=$?
22651 grep -v '^ *+' conftest.er1 >conftest.err
22652 rm -f conftest.er1
22653 cat conftest.err >&5
22654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22655 (exit $ac_status); } &&
22656 { ac_try='test -z "$ac_cxx_werror_flag"
22657 || test ! -s conftest.err'
22658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22659 (eval $ac_try) 2>&5
22660 ac_status=$?
22661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22662 (exit $ac_status); }; } &&
22663 { ac_try='test -s conftest.$ac_objext'
22664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22665 (eval $ac_try) 2>&5
22666 ac_status=$?
22667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22668 (exit $ac_status); }; }; then
22669 ac_cv_cxx_const_cast=yes
22670 else
22671 echo "$as_me: failed program was:" >&5
22672 sed 's/^/| /' conftest.$ac_ext >&5
22673
22674 ac_cv_cxx_const_cast=no
22675 fi
22676 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22677 ac_ext=c
22678 ac_cpp='$CPP $CPPFLAGS'
22679 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22680 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22681 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22682
22683
22684 fi
22685 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
22686 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
22687 if test "$ac_cv_cxx_const_cast" = yes; then
22688
22689 cat >>confdefs.h <<\_ACEOF
22690 #define HAVE_CONST_CAST
22691 _ACEOF
22692
22693 fi
22694
22695 echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
22696 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6
22697 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
22698 echo $ECHO_N "(cached) $ECHO_C" >&6
22699 else
22700
22701
22702 ac_ext=cc
22703 ac_cpp='$CXXCPP $CPPFLAGS'
22704 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22705 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22706 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22707
22708 cat >conftest.$ac_ext <<_ACEOF
22709 /* confdefs.h. */
22710 _ACEOF
22711 cat confdefs.h >>conftest.$ac_ext
22712 cat >>conftest.$ac_ext <<_ACEOF
22713 /* end confdefs.h. */
22714 #include <typeinfo>
22715 class Base { public : Base () {} virtual void f () = 0;};
22716 class Derived : public Base { public : Derived () {} virtual void f () {} };
22717 class Unrelated { public : Unrelated () {} };
22718 int g (Unrelated&) { return 0; }
22719 int
22720 main ()
22721 {
22722
22723 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
22724 ;
22725 return 0;
22726 }
22727 _ACEOF
22728 rm -f conftest.$ac_objext
22729 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22730 (eval $ac_compile) 2>conftest.er1
22731 ac_status=$?
22732 grep -v '^ *+' conftest.er1 >conftest.err
22733 rm -f conftest.er1
22734 cat conftest.err >&5
22735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22736 (exit $ac_status); } &&
22737 { ac_try='test -z "$ac_cxx_werror_flag"
22738 || test ! -s conftest.err'
22739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22740 (eval $ac_try) 2>&5
22741 ac_status=$?
22742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22743 (exit $ac_status); }; } &&
22744 { ac_try='test -s conftest.$ac_objext'
22745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22746 (eval $ac_try) 2>&5
22747 ac_status=$?
22748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22749 (exit $ac_status); }; }; then
22750 ac_cv_cxx_reinterpret_cast=yes
22751 else
22752 echo "$as_me: failed program was:" >&5
22753 sed 's/^/| /' conftest.$ac_ext >&5
22754
22755 ac_cv_cxx_reinterpret_cast=no
22756 fi
22757 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22758 ac_ext=c
22759 ac_cpp='$CPP $CPPFLAGS'
22760 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22761 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22762 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22763
22764
22765 fi
22766 echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
22767 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6
22768 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
22769
22770 cat >>confdefs.h <<\_ACEOF
22771 #define HAVE_REINTERPRET_CAST
22772 _ACEOF
22773
22774 fi
22775
22776 echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
22777 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6
22778 if test "${ac_cv_cxx_static_cast+set}" = set; then
22779 echo $ECHO_N "(cached) $ECHO_C" >&6
22780 else
22781
22782
22783 ac_ext=cc
22784 ac_cpp='$CXXCPP $CPPFLAGS'
22785 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22786 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22787 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22788
22789 cat >conftest.$ac_ext <<_ACEOF
22790 /* confdefs.h. */
22791 _ACEOF
22792 cat confdefs.h >>conftest.$ac_ext
22793 cat >>conftest.$ac_ext <<_ACEOF
22794 /* end confdefs.h. */
22795 #include <typeinfo>
22796 class Base { public : Base () {} virtual void f () = 0; };
22797 class Derived : public Base { public : Derived () {} virtual void f () {} };
22798 int g (Derived&) { return 0; }
22799 int
22800 main ()
22801 {
22802
22803 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
22804 ;
22805 return 0;
22806 }
22807 _ACEOF
22808 rm -f conftest.$ac_objext
22809 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22810 (eval $ac_compile) 2>conftest.er1
22811 ac_status=$?
22812 grep -v '^ *+' conftest.er1 >conftest.err
22813 rm -f conftest.er1
22814 cat conftest.err >&5
22815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22816 (exit $ac_status); } &&
22817 { ac_try='test -z "$ac_cxx_werror_flag"
22818 || test ! -s conftest.err'
22819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22820 (eval $ac_try) 2>&5
22821 ac_status=$?
22822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22823 (exit $ac_status); }; } &&
22824 { ac_try='test -s conftest.$ac_objext'
22825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22826 (eval $ac_try) 2>&5
22827 ac_status=$?
22828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22829 (exit $ac_status); }; }; then
22830 ac_cv_cxx_static_cast=yes
22831 else
22832 echo "$as_me: failed program was:" >&5
22833 sed 's/^/| /' conftest.$ac_ext >&5
22834
22835 ac_cv_cxx_static_cast=no
22836 fi
22837 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22838 ac_ext=c
22839 ac_cpp='$CPP $CPPFLAGS'
22840 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22841 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22842 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22843
22844
22845 fi
22846 echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
22847 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6
22848 if test "$ac_cv_cxx_static_cast" = yes; then
22849
22850 cat >>confdefs.h <<\_ACEOF
22851 #define HAVE_STATIC_CAST
22852 _ACEOF
22853
22854 fi
22855
22856
22857 if test "x$SUNCXX" = xyes; then
22858 CXXFLAGS="-features=tmplife $CXXFLAGS"
22859 fi
22860
22861 if test "x$SUNCC" = xyes; then
22862 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
22863 fi
22864
22865 if test "x$SGICC" = "xyes"; then
22866 CFLAGS="-woff 3970 $CFLAGS"
22867 fi
22868 if test "x$SGICXX" = "xyes"; then
22869 CXXFLAGS="-woff 3970 $CXXFLAGS"
22870 fi
22871
22872 if test "x$HPCC" = "xyes"; then
22873 CFLAGS="+W 2011,2450 $CFLAGS"
22874 fi
22875 if test "x$HPCXX" = "xyes"; then
22876 CXXFLAGS="+W 2340 $CXXFLAGS"
22877 fi
22878
22879 if test "x$COMPAQCXX" = "xyes"; then
22880 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
22881 fi
22882
22883 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
22884 ac_ext=cc
22885 ac_cpp='$CXXCPP $CPPFLAGS'
22886 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22887 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22888 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22889
22890
22891 if test "$wxUSE_UNICODE" = "yes"; then
22892 std_string="std::wstring"
22893 char_type="wchar_t"
22894 else
22895 std_string="std::string"
22896 char_type="char"
22897 fi
22898
22899 echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
22900 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6
22901 cat >conftest.$ac_ext <<_ACEOF
22902 /* confdefs.h. */
22903 _ACEOF
22904 cat confdefs.h >>conftest.$ac_ext
22905 cat >>conftest.$ac_ext <<_ACEOF
22906 /* end confdefs.h. */
22907 #include <string>
22908 int
22909 main ()
22910 {
22911 $std_string foo;
22912 ;
22913 return 0;
22914 }
22915 _ACEOF
22916 rm -f conftest.$ac_objext
22917 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22918 (eval $ac_compile) 2>conftest.er1
22919 ac_status=$?
22920 grep -v '^ *+' conftest.er1 >conftest.err
22921 rm -f conftest.er1
22922 cat conftest.err >&5
22923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22924 (exit $ac_status); } &&
22925 { ac_try='test -z "$ac_cxx_werror_flag"
22926 || test ! -s conftest.err'
22927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22928 (eval $ac_try) 2>&5
22929 ac_status=$?
22930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22931 (exit $ac_status); }; } &&
22932 { ac_try='test -s conftest.$ac_objext'
22933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22934 (eval $ac_try) 2>&5
22935 ac_status=$?
22936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22937 (exit $ac_status); }; }; then
22938 echo "$as_me:$LINENO: result: yes" >&5
22939 echo "${ECHO_T}yes" >&6
22940 cat >>confdefs.h <<\_ACEOF
22941 #define HAVE_STD_WSTRING 1
22942 _ACEOF
22943
22944 else
22945 echo "$as_me: failed program was:" >&5
22946 sed 's/^/| /' conftest.$ac_ext >&5
22947
22948 echo "$as_me:$LINENO: result: no" >&5
22949 echo "${ECHO_T}no" >&6
22950 echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
22951 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6
22952 cat >conftest.$ac_ext <<_ACEOF
22953 /* confdefs.h. */
22954 _ACEOF
22955 cat confdefs.h >>conftest.$ac_ext
22956 cat >>conftest.$ac_ext <<_ACEOF
22957 /* end confdefs.h. */
22958
22959 #ifdef HAVE_WCHAR_H
22960 # ifdef __CYGWIN__
22961 # include <stddef.h>
22962 # endif
22963 # include <wchar.h>
22964 #endif
22965 #ifdef HAVE_STDLIB_H
22966 # include <stdlib.h>
22967 #endif
22968 #include <stdio.h>
22969 #include <string>
22970
22971 int
22972 main ()
22973 {
22974 std::basic_string<$char_type> foo;
22975 const $char_type* dummy = foo.c_str();
22976 ;
22977 return 0;
22978 }
22979 _ACEOF
22980 rm -f conftest.$ac_objext
22981 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22982 (eval $ac_compile) 2>conftest.er1
22983 ac_status=$?
22984 grep -v '^ *+' conftest.er1 >conftest.err
22985 rm -f conftest.er1
22986 cat conftest.err >&5
22987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22988 (exit $ac_status); } &&
22989 { ac_try='test -z "$ac_cxx_werror_flag"
22990 || test ! -s conftest.err'
22991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22992 (eval $ac_try) 2>&5
22993 ac_status=$?
22994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22995 (exit $ac_status); }; } &&
22996 { ac_try='test -s conftest.$ac_objext'
22997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22998 (eval $ac_try) 2>&5
22999 ac_status=$?
23000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23001 (exit $ac_status); }; }; then
23002 echo "$as_me:$LINENO: result: yes" >&5
23003 echo "${ECHO_T}yes" >&6
23004 else
23005 echo "$as_me: failed program was:" >&5
23006 sed 's/^/| /' conftest.$ac_ext >&5
23007
23008 echo "$as_me:$LINENO: result: no" >&5
23009 echo "${ECHO_T}no" >&6
23010 if test "$wxUSE_STL" = "yes"; then
23011 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
23012 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
23013 { (exit 1); exit 1; }; }
23014 elif grep wxUSE_STD_STRING $wx_arg_cache_file >/dev/null; then
23015 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
23016 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
23017 { (exit 1); exit 1; }; }
23018 else
23019 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
23020 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
23021 wxUSE_STD_STRING=no
23022 fi
23023
23024
23025 fi
23026 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23027
23028 fi
23029 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23030
23031 ac_ext=c
23032 ac_cpp='$CPP $CPPFLAGS'
23033 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23034 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23035 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23036
23037 fi
23038
23039 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
23040 ac_ext=cc
23041 ac_cpp='$CXXCPP $CPPFLAGS'
23042 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23043 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23044 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23045
23046
23047 echo "$as_me:$LINENO: checking for std::istream" >&5
23048 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6
23049 if test "${ac_cv_type_std__istream+set}" = set; then
23050 echo $ECHO_N "(cached) $ECHO_C" >&6
23051 else
23052 cat >conftest.$ac_ext <<_ACEOF
23053 /* confdefs.h. */
23054 _ACEOF
23055 cat confdefs.h >>conftest.$ac_ext
23056 cat >>conftest.$ac_ext <<_ACEOF
23057 /* end confdefs.h. */
23058 #include <iostream>
23059
23060 int
23061 main ()
23062 {
23063 if ((std::istream *) 0)
23064 return 0;
23065 if (sizeof (std::istream))
23066 return 0;
23067 ;
23068 return 0;
23069 }
23070 _ACEOF
23071 rm -f conftest.$ac_objext
23072 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23073 (eval $ac_compile) 2>conftest.er1
23074 ac_status=$?
23075 grep -v '^ *+' conftest.er1 >conftest.err
23076 rm -f conftest.er1
23077 cat conftest.err >&5
23078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23079 (exit $ac_status); } &&
23080 { ac_try='test -z "$ac_cxx_werror_flag"
23081 || test ! -s conftest.err'
23082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23083 (eval $ac_try) 2>&5
23084 ac_status=$?
23085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23086 (exit $ac_status); }; } &&
23087 { ac_try='test -s conftest.$ac_objext'
23088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23089 (eval $ac_try) 2>&5
23090 ac_status=$?
23091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23092 (exit $ac_status); }; }; then
23093 ac_cv_type_std__istream=yes
23094 else
23095 echo "$as_me: failed program was:" >&5
23096 sed 's/^/| /' conftest.$ac_ext >&5
23097
23098 ac_cv_type_std__istream=no
23099 fi
23100 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23101 fi
23102 echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
23103 echo "${ECHO_T}$ac_cv_type_std__istream" >&6
23104 if test $ac_cv_type_std__istream = yes; then
23105
23106 cat >>confdefs.h <<_ACEOF
23107 #define HAVE_STD__ISTREAM 1
23108 _ACEOF
23109
23110
23111 else
23112 wxUSE_STD_IOSTREAM=no
23113 fi
23114 echo "$as_me:$LINENO: checking for std::ostream" >&5
23115 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6
23116 if test "${ac_cv_type_std__ostream+set}" = set; then
23117 echo $ECHO_N "(cached) $ECHO_C" >&6
23118 else
23119 cat >conftest.$ac_ext <<_ACEOF
23120 /* confdefs.h. */
23121 _ACEOF
23122 cat confdefs.h >>conftest.$ac_ext
23123 cat >>conftest.$ac_ext <<_ACEOF
23124 /* end confdefs.h. */
23125 #include <iostream>
23126
23127 int
23128 main ()
23129 {
23130 if ((std::ostream *) 0)
23131 return 0;
23132 if (sizeof (std::ostream))
23133 return 0;
23134 ;
23135 return 0;
23136 }
23137 _ACEOF
23138 rm -f conftest.$ac_objext
23139 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23140 (eval $ac_compile) 2>conftest.er1
23141 ac_status=$?
23142 grep -v '^ *+' conftest.er1 >conftest.err
23143 rm -f conftest.er1
23144 cat conftest.err >&5
23145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23146 (exit $ac_status); } &&
23147 { ac_try='test -z "$ac_cxx_werror_flag"
23148 || test ! -s conftest.err'
23149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23150 (eval $ac_try) 2>&5
23151 ac_status=$?
23152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23153 (exit $ac_status); }; } &&
23154 { ac_try='test -s conftest.$ac_objext'
23155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23156 (eval $ac_try) 2>&5
23157 ac_status=$?
23158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23159 (exit $ac_status); }; }; then
23160 ac_cv_type_std__ostream=yes
23161 else
23162 echo "$as_me: failed program was:" >&5
23163 sed 's/^/| /' conftest.$ac_ext >&5
23164
23165 ac_cv_type_std__ostream=no
23166 fi
23167 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23168 fi
23169 echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
23170 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6
23171 if test $ac_cv_type_std__ostream = yes; then
23172
23173 cat >>confdefs.h <<_ACEOF
23174 #define HAVE_STD__OSTREAM 1
23175 _ACEOF
23176
23177
23178 else
23179 wxUSE_STD_IOSTREAM=no
23180 fi
23181
23182
23183 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
23184 if grep wxUSE_STD_IOSTREAM $wx_arg_cache_file >/dev/null; then
23185 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
23186 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
23187 { (exit 1); exit 1; }; }
23188 else
23189 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
23190 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
23191 fi
23192 fi
23193
23194 ac_ext=c
23195 ac_cpp='$CPP $CPPFLAGS'
23196 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23197 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23198 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23199
23200 fi
23201
23202 if test "$wxUSE_STL" = "yes"; then
23203 ac_ext=cc
23204 ac_cpp='$CXXCPP $CPPFLAGS'
23205 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23206 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23207 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23208
23209
23210 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
23211 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
23212 cat >conftest.$ac_ext <<_ACEOF
23213 /* confdefs.h. */
23214 _ACEOF
23215 cat confdefs.h >>conftest.$ac_ext
23216 cat >>conftest.$ac_ext <<_ACEOF
23217 /* end confdefs.h. */
23218 #include <string>
23219 #include <functional>
23220 #include <algorithm>
23221 #include <vector>
23222 #include <list>
23223 int
23224 main ()
23225 {
23226 std::vector<int> moo;
23227 std::list<int> foo;
23228 std::vector<int>::iterator it =
23229 std::find_if(moo.begin(), moo.end(),
23230 std::bind2nd(std::less<int>(), 3));
23231 ;
23232 return 0;
23233 }
23234 _ACEOF
23235 rm -f conftest.$ac_objext
23236 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23237 (eval $ac_compile) 2>conftest.er1
23238 ac_status=$?
23239 grep -v '^ *+' conftest.er1 >conftest.err
23240 rm -f conftest.er1
23241 cat conftest.err >&5
23242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23243 (exit $ac_status); } &&
23244 { ac_try='test -z "$ac_cxx_werror_flag"
23245 || test ! -s conftest.err'
23246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23247 (eval $ac_try) 2>&5
23248 ac_status=$?
23249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23250 (exit $ac_status); }; } &&
23251 { ac_try='test -s conftest.$ac_objext'
23252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23253 (eval $ac_try) 2>&5
23254 ac_status=$?
23255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23256 (exit $ac_status); }; }; then
23257 echo "$as_me:$LINENO: result: yes" >&5
23258 echo "${ECHO_T}yes" >&6
23259 else
23260 echo "$as_me: failed program was:" >&5
23261 sed 's/^/| /' conftest.$ac_ext >&5
23262
23263 echo "$as_me:$LINENO: result: no" >&5
23264 echo "${ECHO_T}no" >&6
23265 { { echo "$as_me:$LINENO: error: Basic STL functionality missing" >&5
23266 echo "$as_me: error: Basic STL functionality missing" >&2;}
23267 { (exit 1); exit 1; }; }
23268 fi
23269 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23270
23271 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
23272 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
23273 cat >conftest.$ac_ext <<_ACEOF
23274 /* confdefs.h. */
23275 _ACEOF
23276 cat confdefs.h >>conftest.$ac_ext
23277 cat >>conftest.$ac_ext <<_ACEOF
23278 /* end confdefs.h. */
23279 #include <string>
23280 int
23281 main ()
23282 {
23283 std::string foo, bar;
23284 foo.compare(bar);
23285 foo.compare(1, 1, bar);
23286 foo.compare(1, 1, bar, 1, 1);
23287 foo.compare("");
23288 foo.compare(1, 1, "");
23289 foo.compare(1, 1, "", 2);
23290 ;
23291 return 0;
23292 }
23293 _ACEOF
23294 rm -f conftest.$ac_objext
23295 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23296 (eval $ac_compile) 2>conftest.er1
23297 ac_status=$?
23298 grep -v '^ *+' conftest.er1 >conftest.err
23299 rm -f conftest.er1
23300 cat conftest.err >&5
23301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23302 (exit $ac_status); } &&
23303 { ac_try='test -z "$ac_cxx_werror_flag"
23304 || test ! -s conftest.err'
23305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23306 (eval $ac_try) 2>&5
23307 ac_status=$?
23308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23309 (exit $ac_status); }; } &&
23310 { ac_try='test -s conftest.$ac_objext'
23311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23312 (eval $ac_try) 2>&5
23313 ac_status=$?
23314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23315 (exit $ac_status); }; }; then
23316 echo "$as_me:$LINENO: result: yes" >&5
23317 echo "${ECHO_T}yes" >&6
23318 cat >>confdefs.h <<\_ACEOF
23319 #define HAVE_STD_STRING_COMPARE 1
23320 _ACEOF
23321
23322 else
23323 echo "$as_me: failed program was:" >&5
23324 sed 's/^/| /' conftest.$ac_ext >&5
23325
23326 echo "$as_me:$LINENO: result: no" >&5
23327 echo "${ECHO_T}no" >&6
23328 fi
23329 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23330
23331 if test "${ac_cv_header_hash_map+set}" = set; then
23332 echo "$as_me:$LINENO: checking for hash_map" >&5
23333 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
23334 if test "${ac_cv_header_hash_map+set}" = set; then
23335 echo $ECHO_N "(cached) $ECHO_C" >&6
23336 fi
23337 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
23338 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
23339 else
23340 # Is the header compilable?
23341 echo "$as_me:$LINENO: checking hash_map usability" >&5
23342 echo $ECHO_N "checking hash_map usability... $ECHO_C" >&6
23343 cat >conftest.$ac_ext <<_ACEOF
23344 /* confdefs.h. */
23345 _ACEOF
23346 cat confdefs.h >>conftest.$ac_ext
23347 cat >>conftest.$ac_ext <<_ACEOF
23348 /* end confdefs.h. */
23349 $ac_includes_default
23350 #include <hash_map>
23351 _ACEOF
23352 rm -f conftest.$ac_objext
23353 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23354 (eval $ac_compile) 2>conftest.er1
23355 ac_status=$?
23356 grep -v '^ *+' conftest.er1 >conftest.err
23357 rm -f conftest.er1
23358 cat conftest.err >&5
23359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23360 (exit $ac_status); } &&
23361 { ac_try='test -z "$ac_cxx_werror_flag"
23362 || test ! -s conftest.err'
23363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23364 (eval $ac_try) 2>&5
23365 ac_status=$?
23366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23367 (exit $ac_status); }; } &&
23368 { ac_try='test -s conftest.$ac_objext'
23369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23370 (eval $ac_try) 2>&5
23371 ac_status=$?
23372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23373 (exit $ac_status); }; }; then
23374 ac_header_compiler=yes
23375 else
23376 echo "$as_me: failed program was:" >&5
23377 sed 's/^/| /' conftest.$ac_ext >&5
23378
23379 ac_header_compiler=no
23380 fi
23381 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23382 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23383 echo "${ECHO_T}$ac_header_compiler" >&6
23384
23385 # Is the header present?
23386 echo "$as_me:$LINENO: checking hash_map presence" >&5
23387 echo $ECHO_N "checking hash_map presence... $ECHO_C" >&6
23388 cat >conftest.$ac_ext <<_ACEOF
23389 /* confdefs.h. */
23390 _ACEOF
23391 cat confdefs.h >>conftest.$ac_ext
23392 cat >>conftest.$ac_ext <<_ACEOF
23393 /* end confdefs.h. */
23394 #include <hash_map>
23395 _ACEOF
23396 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23397 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
23398 ac_status=$?
23399 grep -v '^ *+' conftest.er1 >conftest.err
23400 rm -f conftest.er1
23401 cat conftest.err >&5
23402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23403 (exit $ac_status); } >/dev/null; then
23404 if test -s conftest.err; then
23405 ac_cpp_err=$ac_cxx_preproc_warn_flag
23406 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
23407 else
23408 ac_cpp_err=
23409 fi
23410 else
23411 ac_cpp_err=yes
23412 fi
23413 if test -z "$ac_cpp_err"; then
23414 ac_header_preproc=yes
23415 else
23416 echo "$as_me: failed program was:" >&5
23417 sed 's/^/| /' conftest.$ac_ext >&5
23418
23419 ac_header_preproc=no
23420 fi
23421 rm -f conftest.err conftest.$ac_ext
23422 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23423 echo "${ECHO_T}$ac_header_preproc" >&6
23424
23425 # So? What about this header?
23426 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
23427 yes:no: )
23428 { echo "$as_me:$LINENO: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
23429 echo "$as_me: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
23430 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the compiler's result" >&5
23431 echo "$as_me: WARNING: hash_map: proceeding with the compiler's result" >&2;}
23432 ac_header_preproc=yes
23433 ;;
23434 no:yes:* )
23435 { echo "$as_me:$LINENO: WARNING: hash_map: present but cannot be compiled" >&5
23436 echo "$as_me: WARNING: hash_map: present but cannot be compiled" >&2;}
23437 { echo "$as_me:$LINENO: WARNING: hash_map: check for missing prerequisite headers?" >&5
23438 echo "$as_me: WARNING: hash_map: check for missing prerequisite headers?" >&2;}
23439 { echo "$as_me:$LINENO: WARNING: hash_map: see the Autoconf documentation" >&5
23440 echo "$as_me: WARNING: hash_map: see the Autoconf documentation" >&2;}
23441 { echo "$as_me:$LINENO: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&5
23442 echo "$as_me: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
23443 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the preprocessor's result" >&5
23444 echo "$as_me: WARNING: hash_map: proceeding with the preprocessor's result" >&2;}
23445 { echo "$as_me:$LINENO: WARNING: hash_map: in the future, the compiler will take precedence" >&5
23446 echo "$as_me: WARNING: hash_map: in the future, the compiler will take precedence" >&2;}
23447 (
23448 cat <<\_ASBOX
23449 ## ----------------------------------------- ##
23450 ## Report this to wx-dev@lists.wxwidgets.org ##
23451 ## ----------------------------------------- ##
23452 _ASBOX
23453 ) |
23454 sed "s/^/$as_me: WARNING: /" >&2
23455 ;;
23456 esac
23457 echo "$as_me:$LINENO: checking for hash_map" >&5
23458 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
23459 if test "${ac_cv_header_hash_map+set}" = set; then
23460 echo $ECHO_N "(cached) $ECHO_C" >&6
23461 else
23462 ac_cv_header_hash_map=$ac_header_preproc
23463 fi
23464 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
23465 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
23466
23467 fi
23468 if test $ac_cv_header_hash_map = yes; then
23469 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
23470 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
23471 cat >conftest.$ac_ext <<_ACEOF
23472 /* confdefs.h. */
23473 _ACEOF
23474 cat confdefs.h >>conftest.$ac_ext
23475 cat >>conftest.$ac_ext <<_ACEOF
23476 /* end confdefs.h. */
23477 #include <hash_map>
23478 #include <hash_set>
23479 int
23480 main ()
23481 {
23482 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
23483 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
23484 ;
23485 return 0;
23486 }
23487 _ACEOF
23488 rm -f conftest.$ac_objext
23489 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23490 (eval $ac_compile) 2>conftest.er1
23491 ac_status=$?
23492 grep -v '^ *+' conftest.er1 >conftest.err
23493 rm -f conftest.er1
23494 cat conftest.err >&5
23495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23496 (exit $ac_status); } &&
23497 { ac_try='test -z "$ac_cxx_werror_flag"
23498 || test ! -s conftest.err'
23499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23500 (eval $ac_try) 2>&5
23501 ac_status=$?
23502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23503 (exit $ac_status); }; } &&
23504 { ac_try='test -s conftest.$ac_objext'
23505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23506 (eval $ac_try) 2>&5
23507 ac_status=$?
23508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23509 (exit $ac_status); }; }; then
23510 echo "$as_me:$LINENO: result: yes" >&5
23511 echo "${ECHO_T}yes" >&6
23512 cat >>confdefs.h <<\_ACEOF
23513 #define HAVE_HASH_MAP 1
23514 _ACEOF
23515
23516 cat >>confdefs.h <<\_ACEOF
23517 #define HAVE_STD_HASH_MAP 1
23518 _ACEOF
23519
23520 else
23521 echo "$as_me: failed program was:" >&5
23522 sed 's/^/| /' conftest.$ac_ext >&5
23523
23524 echo "$as_me:$LINENO: result: no" >&5
23525 echo "${ECHO_T}no" >&6
23526 fi
23527 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23528
23529 fi
23530
23531
23532
23533 if test "${ac_cv_header_ext_hash_map+set}" = set; then
23534 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
23535 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
23536 if test "${ac_cv_header_ext_hash_map+set}" = set; then
23537 echo $ECHO_N "(cached) $ECHO_C" >&6
23538 fi
23539 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
23540 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
23541 else
23542 # Is the header compilable?
23543 echo "$as_me:$LINENO: checking ext/hash_map usability" >&5
23544 echo $ECHO_N "checking ext/hash_map usability... $ECHO_C" >&6
23545 cat >conftest.$ac_ext <<_ACEOF
23546 /* confdefs.h. */
23547 _ACEOF
23548 cat confdefs.h >>conftest.$ac_ext
23549 cat >>conftest.$ac_ext <<_ACEOF
23550 /* end confdefs.h. */
23551 $ac_includes_default
23552 #include <ext/hash_map>
23553 _ACEOF
23554 rm -f conftest.$ac_objext
23555 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23556 (eval $ac_compile) 2>conftest.er1
23557 ac_status=$?
23558 grep -v '^ *+' conftest.er1 >conftest.err
23559 rm -f conftest.er1
23560 cat conftest.err >&5
23561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23562 (exit $ac_status); } &&
23563 { ac_try='test -z "$ac_cxx_werror_flag"
23564 || test ! -s conftest.err'
23565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23566 (eval $ac_try) 2>&5
23567 ac_status=$?
23568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23569 (exit $ac_status); }; } &&
23570 { ac_try='test -s conftest.$ac_objext'
23571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23572 (eval $ac_try) 2>&5
23573 ac_status=$?
23574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23575 (exit $ac_status); }; }; then
23576 ac_header_compiler=yes
23577 else
23578 echo "$as_me: failed program was:" >&5
23579 sed 's/^/| /' conftest.$ac_ext >&5
23580
23581 ac_header_compiler=no
23582 fi
23583 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23584 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23585 echo "${ECHO_T}$ac_header_compiler" >&6
23586
23587 # Is the header present?
23588 echo "$as_me:$LINENO: checking ext/hash_map presence" >&5
23589 echo $ECHO_N "checking ext/hash_map presence... $ECHO_C" >&6
23590 cat >conftest.$ac_ext <<_ACEOF
23591 /* confdefs.h. */
23592 _ACEOF
23593 cat confdefs.h >>conftest.$ac_ext
23594 cat >>conftest.$ac_ext <<_ACEOF
23595 /* end confdefs.h. */
23596 #include <ext/hash_map>
23597 _ACEOF
23598 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23599 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
23600 ac_status=$?
23601 grep -v '^ *+' conftest.er1 >conftest.err
23602 rm -f conftest.er1
23603 cat conftest.err >&5
23604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23605 (exit $ac_status); } >/dev/null; then
23606 if test -s conftest.err; then
23607 ac_cpp_err=$ac_cxx_preproc_warn_flag
23608 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
23609 else
23610 ac_cpp_err=
23611 fi
23612 else
23613 ac_cpp_err=yes
23614 fi
23615 if test -z "$ac_cpp_err"; then
23616 ac_header_preproc=yes
23617 else
23618 echo "$as_me: failed program was:" >&5
23619 sed 's/^/| /' conftest.$ac_ext >&5
23620
23621 ac_header_preproc=no
23622 fi
23623 rm -f conftest.err conftest.$ac_ext
23624 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23625 echo "${ECHO_T}$ac_header_preproc" >&6
23626
23627 # So? What about this header?
23628 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
23629 yes:no: )
23630 { echo "$as_me:$LINENO: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
23631 echo "$as_me: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
23632 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the compiler's result" >&5
23633 echo "$as_me: WARNING: ext/hash_map: proceeding with the compiler's result" >&2;}
23634 ac_header_preproc=yes
23635 ;;
23636 no:yes:* )
23637 { echo "$as_me:$LINENO: WARNING: ext/hash_map: present but cannot be compiled" >&5
23638 echo "$as_me: WARNING: ext/hash_map: present but cannot be compiled" >&2;}
23639 { echo "$as_me:$LINENO: WARNING: ext/hash_map: check for missing prerequisite headers?" >&5
23640 echo "$as_me: WARNING: ext/hash_map: check for missing prerequisite headers?" >&2;}
23641 { echo "$as_me:$LINENO: WARNING: ext/hash_map: see the Autoconf documentation" >&5
23642 echo "$as_me: WARNING: ext/hash_map: see the Autoconf documentation" >&2;}
23643 { echo "$as_me:$LINENO: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&5
23644 echo "$as_me: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
23645 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&5
23646 echo "$as_me: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&2;}
23647 { echo "$as_me:$LINENO: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&5
23648 echo "$as_me: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&2;}
23649 (
23650 cat <<\_ASBOX
23651 ## ----------------------------------------- ##
23652 ## Report this to wx-dev@lists.wxwidgets.org ##
23653 ## ----------------------------------------- ##
23654 _ASBOX
23655 ) |
23656 sed "s/^/$as_me: WARNING: /" >&2
23657 ;;
23658 esac
23659 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
23660 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
23661 if test "${ac_cv_header_ext_hash_map+set}" = set; then
23662 echo $ECHO_N "(cached) $ECHO_C" >&6
23663 else
23664 ac_cv_header_ext_hash_map=$ac_header_preproc
23665 fi
23666 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
23667 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
23668
23669 fi
23670 if test $ac_cv_header_ext_hash_map = yes; then
23671 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
23672 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
23673 cat >conftest.$ac_ext <<_ACEOF
23674 /* confdefs.h. */
23675 _ACEOF
23676 cat confdefs.h >>conftest.$ac_ext
23677 cat >>conftest.$ac_ext <<_ACEOF
23678 /* end confdefs.h. */
23679 #include <ext/hash_map>
23680 #include <ext/hash_set>
23681 int
23682 main ()
23683 {
23684 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
23685 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
23686 ;
23687 return 0;
23688 }
23689 _ACEOF
23690 rm -f conftest.$ac_objext
23691 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23692 (eval $ac_compile) 2>conftest.er1
23693 ac_status=$?
23694 grep -v '^ *+' conftest.er1 >conftest.err
23695 rm -f conftest.er1
23696 cat conftest.err >&5
23697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23698 (exit $ac_status); } &&
23699 { ac_try='test -z "$ac_cxx_werror_flag"
23700 || test ! -s conftest.err'
23701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23702 (eval $ac_try) 2>&5
23703 ac_status=$?
23704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23705 (exit $ac_status); }; } &&
23706 { ac_try='test -s conftest.$ac_objext'
23707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23708 (eval $ac_try) 2>&5
23709 ac_status=$?
23710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23711 (exit $ac_status); }; }; then
23712 echo "$as_me:$LINENO: result: yes" >&5
23713 echo "${ECHO_T}yes" >&6
23714 cat >>confdefs.h <<\_ACEOF
23715 #define HAVE_EXT_HASH_MAP 1
23716 _ACEOF
23717
23718 cat >>confdefs.h <<\_ACEOF
23719 #define HAVE_GNU_CXX_HASH_MAP 1
23720 _ACEOF
23721
23722 else
23723 echo "$as_me: failed program was:" >&5
23724 sed 's/^/| /' conftest.$ac_ext >&5
23725
23726 echo "$as_me:$LINENO: result: no" >&5
23727 echo "${ECHO_T}no" >&6
23728 fi
23729 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23730
23731 fi
23732
23733
23734
23735 ac_ext=c
23736 ac_cpp='$CPP $CPPFLAGS'
23737 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23738 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23739 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23740
23741 fi
23742
23743
23744 SEARCH_INCLUDE="\
23745 /usr/local/include \
23746 \
23747 /usr/Motif-2.1/include \
23748 /usr/Motif-1.2/include \
23749 /usr/include/Motif1.2 \
23750 \
23751 /usr/dt/include \
23752 /usr/openwin/include \
23753 \
23754 /usr/include/Xm \
23755 \
23756 /usr/X11R6/include \
23757 /usr/X11R6.4/include \
23758 /usr/X11R5/include \
23759 /usr/X11R4/include \
23760 \
23761 /usr/include/X11R6 \
23762 /usr/include/X11R5 \
23763 /usr/include/X11R4 \
23764 \
23765 /usr/local/X11R6/include \
23766 /usr/local/X11R5/include \
23767 /usr/local/X11R4/include \
23768 \
23769 /usr/local/include/X11R6 \
23770 /usr/local/include/X11R5 \
23771 /usr/local/include/X11R4 \
23772 \
23773 /usr/X11/include \
23774 /usr/include/X11 \
23775 /usr/local/X11/include \
23776 /usr/local/include/X11 \
23777 \
23778 /usr/XFree86/include/X11 \
23779 /usr/pkg/include \
23780 \
23781 /usr/openwin/share/include"
23782
23783 echo "$as_me:$LINENO: checking for libraries directory" >&5
23784 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6
23785
23786 case "${host}" in
23787 *-*-irix6* )
23788 if test "${wx_cv_std_libpath+set}" = set; then
23789 echo $ECHO_N "(cached) $ECHO_C" >&6
23790 else
23791
23792 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
23793 for e in a so sl dylib dll.a; do
23794 libc="$d/libc.$e"
23795 if test -f $libc; then
23796 save_LIBS="$LIBS"
23797 LIBS="$libc"
23798 cat >conftest.$ac_ext <<_ACEOF
23799 int main() { return 0; }
23800 _ACEOF
23801 rm -f conftest.$ac_objext conftest$ac_exeext
23802 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23803 (eval $ac_link) 2>conftest.er1
23804 ac_status=$?
23805 grep -v '^ *+' conftest.er1 >conftest.err
23806 rm -f conftest.er1
23807 cat conftest.err >&5
23808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23809 (exit $ac_status); } &&
23810 { ac_try='test -z "$ac_c_werror_flag"
23811 || test ! -s conftest.err'
23812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23813 (eval $ac_try) 2>&5
23814 ac_status=$?
23815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23816 (exit $ac_status); }; } &&
23817 { ac_try='test -s conftest$ac_exeext'
23818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23819 (eval $ac_try) 2>&5
23820 ac_status=$?
23821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23822 (exit $ac_status); }; }; then
23823 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
23824 else
23825 echo "$as_me: failed program was:" >&5
23826 sed 's/^/| /' conftest.$ac_ext >&5
23827
23828 fi
23829 rm -f conftest.err conftest.$ac_objext \
23830 conftest$ac_exeext conftest.$ac_ext
23831 LIBS="$save_LIBS"
23832 if test "x$wx_cv_std_libpath" != "x"; then
23833 break 2
23834 fi
23835 fi
23836 done
23837 done
23838 if test "x$wx_cv_std_libpath" = "x"; then
23839 wx_cv_std_libpath="lib"
23840 fi
23841
23842
23843 fi
23844
23845 ;;
23846
23847 *-*-solaris2* )
23848 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
23849 wx_cv_std_libpath="lib/64"
23850 else
23851 wx_cv_std_libpath="lib"
23852 fi
23853 ;;
23854
23855 *-*-linux* )
23856 if test "$ac_cv_sizeof_void_p" = 8 -a \
23857 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
23858 wx_cv_std_libpath="lib64"
23859 else
23860 wx_cv_std_libpath="lib"
23861 fi
23862 ;;
23863
23864 *)
23865 wx_cv_std_libpath="lib";
23866 ;;
23867 esac
23868
23869 echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
23870 echo "${ECHO_T}$wx_cv_std_libpath" >&6
23871
23872 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
23873
23874 if test "$build" != "$host" -a "$GCC" = yes; then
23875 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
23876 cross_root=`dirname $cross_root`
23877 cross_root=`dirname $cross_root`
23878
23879 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
23880 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
23881 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
23882
23883 if test -z "$PKG_CONFIG_PATH"; then
23884 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
23885 export PKG_CONFIG_PATH
23886 fi
23887
23888 if test -z "$x_includes" -o "$x_includes" = NONE; then
23889
23890 ac_find_includes=
23891 for ac_dir in $SEARCH_INCLUDE /usr/include;
23892 do
23893 if test -f "$ac_dir/X11/Intrinsic.h"; then
23894 ac_find_includes=$ac_dir
23895 break
23896 fi
23897 done
23898
23899 x_includes=$ac_find_includes
23900 fi
23901 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
23902
23903 ac_find_libraries=
23904 for ac_dir in $SEARCH_LIB;
23905 do
23906 for ac_extension in a so sl dylib dll.a; do
23907 if test -f "$ac_dir/libXt.$ac_extension"; then
23908 ac_find_libraries=$ac_dir
23909 break 2
23910 fi
23911 done
23912 done
23913
23914 x_libraries=$ac_find_libraries
23915 fi
23916 fi
23917 fi
23918
23919
23920 cat >confcache <<\_ACEOF
23921 # This file is a shell script that caches the results of configure
23922 # tests run on this system so they can be shared between configure
23923 # scripts and configure runs, see configure's option --config-cache.
23924 # It is not useful on other systems. If it contains results you don't
23925 # want to keep, you may remove or edit it.
23926 #
23927 # config.status only pays attention to the cache file if you give it
23928 # the --recheck option to rerun configure.
23929 #
23930 # `ac_cv_env_foo' variables (set or unset) will be overridden when
23931 # loading this file, other *unset* `ac_cv_foo' will be assigned the
23932 # following values.
23933
23934 _ACEOF
23935
23936 # The following way of writing the cache mishandles newlines in values,
23937 # but we know of no workaround that is simple, portable, and efficient.
23938 # So, don't put newlines in cache variables' values.
23939 # Ultrix sh set writes to stderr and can't be redirected directly,
23940 # and sets the high bit in the cache file unless we assign to the vars.
23941 {
23942 (set) 2>&1 |
23943 case `(ac_space=' '; set | grep ac_space) 2>&1` in
23944 *ac_space=\ *)
23945 # `set' does not quote correctly, so add quotes (double-quote
23946 # substitution turns \\\\ into \\, and sed turns \\ into \).
23947 sed -n \
23948 "s/'/'\\\\''/g;
23949 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
23950 ;;
23951 *)
23952 # `set' quotes correctly as required by POSIX, so do not add quotes.
23953 sed -n \
23954 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
23955 ;;
23956 esac;
23957 } |
23958 sed '
23959 t clear
23960 : clear
23961 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
23962 t end
23963 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
23964 : end' >>confcache
23965 if diff $cache_file confcache >/dev/null 2>&1; then :; else
23966 if test -w $cache_file; then
23967 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
23968 cat confcache >$cache_file
23969 else
23970 echo "not updating unwritable cache $cache_file"
23971 fi
23972 fi
23973 rm -f confcache
23974
23975 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
23976 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
23977 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
23978 if test "${wx_cv_lib_glibc21+set}" = set; then
23979 echo $ECHO_N "(cached) $ECHO_C" >&6
23980 else
23981
23982 cat >conftest.$ac_ext <<_ACEOF
23983 /* confdefs.h. */
23984 _ACEOF
23985 cat confdefs.h >>conftest.$ac_ext
23986 cat >>conftest.$ac_ext <<_ACEOF
23987 /* end confdefs.h. */
23988 #include <features.h>
23989 int
23990 main ()
23991 {
23992
23993 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
23994 not glibc 2.1
23995 #endif
23996
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_c_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
24024 wx_cv_lib_glibc21=yes
24025
24026 else
24027 echo "$as_me: failed program was:" >&5
24028 sed 's/^/| /' conftest.$ac_ext >&5
24029
24030
24031 wx_cv_lib_glibc21=no
24032
24033
24034 fi
24035 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24036
24037 fi
24038 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
24039 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
24040 if test "$wx_cv_lib_glibc21" = "yes"; then
24041 cat >>confdefs.h <<\_ACEOF
24042 #define wxHAVE_GLIBC2 1
24043 _ACEOF
24044
24045 fi
24046 fi
24047
24048 if test "x$wx_cv_lib_glibc21" = "xyes"; then
24049 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
24050 cat >>confdefs.h <<\_ACEOF
24051 #define _GNU_SOURCE 1
24052 _ACEOF
24053
24054 fi
24055 fi
24056
24057
24058
24059 if test "$wxUSE_REGEX" != "no"; then
24060 cat >>confdefs.h <<\_ACEOF
24061 #define wxUSE_REGEX 1
24062 _ACEOF
24063
24064
24065 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
24066 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
24067 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
24068 wxUSE_REGEX=builtin
24069 fi
24070
24071 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
24072 if test "${ac_cv_header_regex_h+set}" = set; then
24073 echo "$as_me:$LINENO: checking for regex.h" >&5
24074 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
24075 if test "${ac_cv_header_regex_h+set}" = set; then
24076 echo $ECHO_N "(cached) $ECHO_C" >&6
24077 fi
24078 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
24079 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
24080 else
24081 # Is the header compilable?
24082 echo "$as_me:$LINENO: checking regex.h usability" >&5
24083 echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
24084 cat >conftest.$ac_ext <<_ACEOF
24085 /* confdefs.h. */
24086 _ACEOF
24087 cat confdefs.h >>conftest.$ac_ext
24088 cat >>conftest.$ac_ext <<_ACEOF
24089 /* end confdefs.h. */
24090 $ac_includes_default
24091 #include <regex.h>
24092 _ACEOF
24093 rm -f conftest.$ac_objext
24094 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24095 (eval $ac_compile) 2>conftest.er1
24096 ac_status=$?
24097 grep -v '^ *+' conftest.er1 >conftest.err
24098 rm -f conftest.er1
24099 cat conftest.err >&5
24100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24101 (exit $ac_status); } &&
24102 { ac_try='test -z "$ac_c_werror_flag"
24103 || test ! -s conftest.err'
24104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24105 (eval $ac_try) 2>&5
24106 ac_status=$?
24107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24108 (exit $ac_status); }; } &&
24109 { ac_try='test -s conftest.$ac_objext'
24110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24111 (eval $ac_try) 2>&5
24112 ac_status=$?
24113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24114 (exit $ac_status); }; }; then
24115 ac_header_compiler=yes
24116 else
24117 echo "$as_me: failed program was:" >&5
24118 sed 's/^/| /' conftest.$ac_ext >&5
24119
24120 ac_header_compiler=no
24121 fi
24122 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24123 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24124 echo "${ECHO_T}$ac_header_compiler" >&6
24125
24126 # Is the header present?
24127 echo "$as_me:$LINENO: checking regex.h presence" >&5
24128 echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
24129 cat >conftest.$ac_ext <<_ACEOF
24130 /* confdefs.h. */
24131 _ACEOF
24132 cat confdefs.h >>conftest.$ac_ext
24133 cat >>conftest.$ac_ext <<_ACEOF
24134 /* end confdefs.h. */
24135 #include <regex.h>
24136 _ACEOF
24137 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24138 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
24139 ac_status=$?
24140 grep -v '^ *+' conftest.er1 >conftest.err
24141 rm -f conftest.er1
24142 cat conftest.err >&5
24143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24144 (exit $ac_status); } >/dev/null; then
24145 if test -s conftest.err; then
24146 ac_cpp_err=$ac_c_preproc_warn_flag
24147 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
24148 else
24149 ac_cpp_err=
24150 fi
24151 else
24152 ac_cpp_err=yes
24153 fi
24154 if test -z "$ac_cpp_err"; then
24155 ac_header_preproc=yes
24156 else
24157 echo "$as_me: failed program was:" >&5
24158 sed 's/^/| /' conftest.$ac_ext >&5
24159
24160 ac_header_preproc=no
24161 fi
24162 rm -f conftest.err conftest.$ac_ext
24163 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24164 echo "${ECHO_T}$ac_header_preproc" >&6
24165
24166 # So? What about this header?
24167 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24168 yes:no: )
24169 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
24170 echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24171 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the compiler's result" >&5
24172 echo "$as_me: WARNING: regex.h: proceeding with the compiler's result" >&2;}
24173 ac_header_preproc=yes
24174 ;;
24175 no:yes:* )
24176 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
24177 echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
24178 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
24179 echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
24180 { echo "$as_me:$LINENO: WARNING: regex.h: see the Autoconf documentation" >&5
24181 echo "$as_me: WARNING: regex.h: see the Autoconf documentation" >&2;}
24182 { echo "$as_me:$LINENO: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&5
24183 echo "$as_me: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&2;}
24184 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
24185 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
24186 { echo "$as_me:$LINENO: WARNING: regex.h: in the future, the compiler will take precedence" >&5
24187 echo "$as_me: WARNING: regex.h: in the future, the compiler will take precedence" >&2;}
24188 (
24189 cat <<\_ASBOX
24190 ## ----------------------------------------- ##
24191 ## Report this to wx-dev@lists.wxwidgets.org ##
24192 ## ----------------------------------------- ##
24193 _ASBOX
24194 ) |
24195 sed "s/^/$as_me: WARNING: /" >&2
24196 ;;
24197 esac
24198 echo "$as_me:$LINENO: checking for regex.h" >&5
24199 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
24200 if test "${ac_cv_header_regex_h+set}" = set; then
24201 echo $ECHO_N "(cached) $ECHO_C" >&6
24202 else
24203 ac_cv_header_regex_h=$ac_header_preproc
24204 fi
24205 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
24206 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
24207
24208 fi
24209 if test $ac_cv_header_regex_h = yes; then
24210
24211
24212 for ac_func in regcomp re_search
24213 do
24214 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24215 echo "$as_me:$LINENO: checking for $ac_func" >&5
24216 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24217 if eval "test \"\${$as_ac_var+set}\" = set"; then
24218 echo $ECHO_N "(cached) $ECHO_C" >&6
24219 else
24220 cat >conftest.$ac_ext <<_ACEOF
24221 /* confdefs.h. */
24222 _ACEOF
24223 cat confdefs.h >>conftest.$ac_ext
24224 cat >>conftest.$ac_ext <<_ACEOF
24225 /* end confdefs.h. */
24226 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24227 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24228 #define $ac_func innocuous_$ac_func
24229
24230 /* System header to define __stub macros and hopefully few prototypes,
24231 which can conflict with char $ac_func (); below.
24232 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24233 <limits.h> exists even on freestanding compilers. */
24234
24235 #ifdef __STDC__
24236 # include <limits.h>
24237 #else
24238 # include <assert.h>
24239 #endif
24240
24241 #undef $ac_func
24242
24243 /* Override any gcc2 internal prototype to avoid an error. */
24244 #ifdef __cplusplus
24245 extern "C"
24246 {
24247 #endif
24248 /* We use char because int might match the return type of a gcc2
24249 builtin and then its argument prototype would still apply. */
24250 char $ac_func ();
24251 /* The GNU C library defines this for functions which it implements
24252 to always fail with ENOSYS. Some functions are actually named
24253 something starting with __ and the normal name is an alias. */
24254 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24255 choke me
24256 #else
24257 char (*f) () = $ac_func;
24258 #endif
24259 #ifdef __cplusplus
24260 }
24261 #endif
24262
24263 int
24264 main ()
24265 {
24266 return f != $ac_func;
24267 ;
24268 return 0;
24269 }
24270 _ACEOF
24271 rm -f conftest.$ac_objext conftest$ac_exeext
24272 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24273 (eval $ac_link) 2>conftest.er1
24274 ac_status=$?
24275 grep -v '^ *+' conftest.er1 >conftest.err
24276 rm -f conftest.er1
24277 cat conftest.err >&5
24278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24279 (exit $ac_status); } &&
24280 { ac_try='test -z "$ac_c_werror_flag"
24281 || test ! -s conftest.err'
24282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24283 (eval $ac_try) 2>&5
24284 ac_status=$?
24285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24286 (exit $ac_status); }; } &&
24287 { ac_try='test -s conftest$ac_exeext'
24288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24289 (eval $ac_try) 2>&5
24290 ac_status=$?
24291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24292 (exit $ac_status); }; }; then
24293 eval "$as_ac_var=yes"
24294 else
24295 echo "$as_me: failed program was:" >&5
24296 sed 's/^/| /' conftest.$ac_ext >&5
24297
24298 eval "$as_ac_var=no"
24299 fi
24300 rm -f conftest.err conftest.$ac_objext \
24301 conftest$ac_exeext conftest.$ac_ext
24302 fi
24303 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24304 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24305 if test `eval echo '${'$as_ac_var'}'` = yes; then
24306 cat >>confdefs.h <<_ACEOF
24307 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24308 _ACEOF
24309
24310 fi
24311 done
24312
24313 fi
24314
24315
24316
24317 if test "x$ac_cv_func_regcomp" != "xyes"; then
24318 if test "$wxUSE_REGEX" = "sys" ; then
24319 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
24320 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
24321 { (exit 1); exit 1; }; }
24322 else
24323 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
24324 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
24325 wxUSE_REGEX=builtin
24326 fi
24327 else
24328 wxUSE_REGEX=sys
24329 cat >>confdefs.h <<\_ACEOF
24330 #define WX_NO_REGEX_ADVANCED 1
24331 _ACEOF
24332
24333 fi
24334 fi
24335 fi
24336
24337
24338 ZLIB_LINK=
24339 if test "$wxUSE_ZLIB" != "no" ; then
24340 cat >>confdefs.h <<\_ACEOF
24341 #define wxUSE_ZLIB 1
24342 _ACEOF
24343
24344
24345 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
24346 if test "$USE_DARWIN" = 1; then
24347 system_zlib_h_ok="yes"
24348 else
24349 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
24350 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
24351 if test "${ac_cv_header_zlib_h+set}" = set; then
24352 echo $ECHO_N "(cached) $ECHO_C" >&6
24353 else
24354 if test "$cross_compiling" = yes; then
24355 unset ac_cv_header_zlib_h
24356
24357 else
24358 cat >conftest.$ac_ext <<_ACEOF
24359 /* confdefs.h. */
24360 _ACEOF
24361 cat confdefs.h >>conftest.$ac_ext
24362 cat >>conftest.$ac_ext <<_ACEOF
24363 /* end confdefs.h. */
24364
24365 #include <zlib.h>
24366 #include <stdio.h>
24367
24368 int main()
24369 {
24370 FILE *f=fopen("conftestval", "w");
24371 if (!f) exit(1);
24372 fprintf(f, "%s",
24373 ZLIB_VERSION[0] == '1' &&
24374 (ZLIB_VERSION[2] > '1' ||
24375 (ZLIB_VERSION[2] == '1' &&
24376 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
24377 exit(0);
24378 }
24379
24380 _ACEOF
24381 rm -f conftest$ac_exeext
24382 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24383 (eval $ac_link) 2>&5
24384 ac_status=$?
24385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24386 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24388 (eval $ac_try) 2>&5
24389 ac_status=$?
24390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24391 (exit $ac_status); }; }; then
24392 ac_cv_header_zlib_h=`cat conftestval`
24393 else
24394 echo "$as_me: program exited with status $ac_status" >&5
24395 echo "$as_me: failed program was:" >&5
24396 sed 's/^/| /' conftest.$ac_ext >&5
24397
24398 ( exit $ac_status )
24399 ac_cv_header_zlib_h=no
24400 fi
24401 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24402 fi
24403
24404 fi
24405 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
24406 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
24407 if test "${ac_cv_header_zlib_h+set}" = set; then
24408 echo "$as_me:$LINENO: checking for zlib.h" >&5
24409 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
24410 if test "${ac_cv_header_zlib_h+set}" = set; then
24411 echo $ECHO_N "(cached) $ECHO_C" >&6
24412 fi
24413 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
24414 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
24415 else
24416 # Is the header compilable?
24417 echo "$as_me:$LINENO: checking zlib.h usability" >&5
24418 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
24419 cat >conftest.$ac_ext <<_ACEOF
24420 /* confdefs.h. */
24421 _ACEOF
24422 cat confdefs.h >>conftest.$ac_ext
24423 cat >>conftest.$ac_ext <<_ACEOF
24424 /* end confdefs.h. */
24425 $ac_includes_default
24426 #include <zlib.h>
24427 _ACEOF
24428 rm -f conftest.$ac_objext
24429 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24430 (eval $ac_compile) 2>conftest.er1
24431 ac_status=$?
24432 grep -v '^ *+' conftest.er1 >conftest.err
24433 rm -f conftest.er1
24434 cat conftest.err >&5
24435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24436 (exit $ac_status); } &&
24437 { ac_try='test -z "$ac_c_werror_flag"
24438 || test ! -s conftest.err'
24439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24440 (eval $ac_try) 2>&5
24441 ac_status=$?
24442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24443 (exit $ac_status); }; } &&
24444 { ac_try='test -s conftest.$ac_objext'
24445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24446 (eval $ac_try) 2>&5
24447 ac_status=$?
24448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24449 (exit $ac_status); }; }; then
24450 ac_header_compiler=yes
24451 else
24452 echo "$as_me: failed program was:" >&5
24453 sed 's/^/| /' conftest.$ac_ext >&5
24454
24455 ac_header_compiler=no
24456 fi
24457 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24458 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24459 echo "${ECHO_T}$ac_header_compiler" >&6
24460
24461 # Is the header present?
24462 echo "$as_me:$LINENO: checking zlib.h presence" >&5
24463 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
24464 cat >conftest.$ac_ext <<_ACEOF
24465 /* confdefs.h. */
24466 _ACEOF
24467 cat confdefs.h >>conftest.$ac_ext
24468 cat >>conftest.$ac_ext <<_ACEOF
24469 /* end confdefs.h. */
24470 #include <zlib.h>
24471 _ACEOF
24472 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24473 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
24474 ac_status=$?
24475 grep -v '^ *+' conftest.er1 >conftest.err
24476 rm -f conftest.er1
24477 cat conftest.err >&5
24478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24479 (exit $ac_status); } >/dev/null; then
24480 if test -s conftest.err; then
24481 ac_cpp_err=$ac_c_preproc_warn_flag
24482 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
24483 else
24484 ac_cpp_err=
24485 fi
24486 else
24487 ac_cpp_err=yes
24488 fi
24489 if test -z "$ac_cpp_err"; then
24490 ac_header_preproc=yes
24491 else
24492 echo "$as_me: failed program was:" >&5
24493 sed 's/^/| /' conftest.$ac_ext >&5
24494
24495 ac_header_preproc=no
24496 fi
24497 rm -f conftest.err conftest.$ac_ext
24498 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24499 echo "${ECHO_T}$ac_header_preproc" >&6
24500
24501 # So? What about this header?
24502 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24503 yes:no: )
24504 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
24505 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24506 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5
24507 echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;}
24508 ac_header_preproc=yes
24509 ;;
24510 no:yes:* )
24511 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
24512 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
24513 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
24514 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
24515 { echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
24516 echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
24517 { echo "$as_me:$LINENO: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&5
24518 echo "$as_me: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
24519 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
24520 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
24521 { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
24522 echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
24523 (
24524 cat <<\_ASBOX
24525 ## ----------------------------------------- ##
24526 ## Report this to wx-dev@lists.wxwidgets.org ##
24527 ## ----------------------------------------- ##
24528 _ASBOX
24529 ) |
24530 sed "s/^/$as_me: WARNING: /" >&2
24531 ;;
24532 esac
24533 echo "$as_me:$LINENO: checking for zlib.h" >&5
24534 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
24535 if test "${ac_cv_header_zlib_h+set}" = set; then
24536 echo $ECHO_N "(cached) $ECHO_C" >&6
24537 else
24538 ac_cv_header_zlib_h=$ac_header_preproc
24539 fi
24540 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
24541 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
24542
24543 fi
24544
24545
24546
24547 system_zlib_h_ok=$ac_cv_header_zlib_h
24548 fi
24549
24550 if test "$system_zlib_h_ok" = "yes"; then
24551 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
24552 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
24553 if test "${ac_cv_lib_z_deflate+set}" = set; then
24554 echo $ECHO_N "(cached) $ECHO_C" >&6
24555 else
24556 ac_check_lib_save_LIBS=$LIBS
24557 LIBS="-lz $LIBS"
24558 cat >conftest.$ac_ext <<_ACEOF
24559 /* confdefs.h. */
24560 _ACEOF
24561 cat confdefs.h >>conftest.$ac_ext
24562 cat >>conftest.$ac_ext <<_ACEOF
24563 /* end confdefs.h. */
24564
24565 /* Override any gcc2 internal prototype to avoid an error. */
24566 #ifdef __cplusplus
24567 extern "C"
24568 #endif
24569 /* We use char because int might match the return type of a gcc2
24570 builtin and then its argument prototype would still apply. */
24571 char deflate ();
24572 int
24573 main ()
24574 {
24575 deflate ();
24576 ;
24577 return 0;
24578 }
24579 _ACEOF
24580 rm -f conftest.$ac_objext conftest$ac_exeext
24581 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24582 (eval $ac_link) 2>conftest.er1
24583 ac_status=$?
24584 grep -v '^ *+' conftest.er1 >conftest.err
24585 rm -f conftest.er1
24586 cat conftest.err >&5
24587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24588 (exit $ac_status); } &&
24589 { ac_try='test -z "$ac_c_werror_flag"
24590 || test ! -s conftest.err'
24591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24592 (eval $ac_try) 2>&5
24593 ac_status=$?
24594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24595 (exit $ac_status); }; } &&
24596 { ac_try='test -s conftest$ac_exeext'
24597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24598 (eval $ac_try) 2>&5
24599 ac_status=$?
24600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24601 (exit $ac_status); }; }; then
24602 ac_cv_lib_z_deflate=yes
24603 else
24604 echo "$as_me: failed program was:" >&5
24605 sed 's/^/| /' conftest.$ac_ext >&5
24606
24607 ac_cv_lib_z_deflate=no
24608 fi
24609 rm -f conftest.err conftest.$ac_objext \
24610 conftest$ac_exeext conftest.$ac_ext
24611 LIBS=$ac_check_lib_save_LIBS
24612 fi
24613 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
24614 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
24615 if test $ac_cv_lib_z_deflate = yes; then
24616 ZLIB_LINK=" -lz"
24617 fi
24618
24619 fi
24620
24621 if test "x$ZLIB_LINK" = "x" ; then
24622 if test "$wxUSE_ZLIB" = "sys" ; then
24623 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
24624 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
24625 { (exit 1); exit 1; }; }
24626 else
24627 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
24628 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
24629 wxUSE_ZLIB=builtin
24630 fi
24631 else
24632 wxUSE_ZLIB=sys
24633 fi
24634 fi
24635 fi
24636
24637
24638 PNG_LINK=
24639 if test "$wxUSE_LIBPNG" != "no" ; then
24640 cat >>confdefs.h <<\_ACEOF
24641 #define wxUSE_LIBPNG 1
24642 _ACEOF
24643
24644
24645 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
24646 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
24647 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
24648 wxUSE_LIBPNG=sys
24649 fi
24650
24651 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
24652 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
24653 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
24654 wxUSE_LIBPNG=builtin
24655 fi
24656
24657 if test "$wxUSE_MGL" != 1 ; then
24658 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
24659 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
24660 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
24661 if test "${ac_cv_header_png_h+set}" = set; then
24662 echo $ECHO_N "(cached) $ECHO_C" >&6
24663 else
24664 if test "$cross_compiling" = yes; then
24665 unset ac_cv_header_png_h
24666
24667 else
24668 cat >conftest.$ac_ext <<_ACEOF
24669 /* confdefs.h. */
24670 _ACEOF
24671 cat confdefs.h >>conftest.$ac_ext
24672 cat >>conftest.$ac_ext <<_ACEOF
24673 /* end confdefs.h. */
24674
24675 #include <png.h>
24676 #include <stdio.h>
24677
24678 int main()
24679 {
24680 FILE *f=fopen("conftestval", "w");
24681 if (!f) exit(1);
24682 fprintf(f, "%s",
24683 PNG_LIBPNG_VER > 90 ? "yes" : "no");
24684 exit(0);
24685 }
24686
24687 _ACEOF
24688 rm -f conftest$ac_exeext
24689 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24690 (eval $ac_link) 2>&5
24691 ac_status=$?
24692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24693 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24695 (eval $ac_try) 2>&5
24696 ac_status=$?
24697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24698 (exit $ac_status); }; }; then
24699 ac_cv_header_png_h=`cat conftestval`
24700 else
24701 echo "$as_me: program exited with status $ac_status" >&5
24702 echo "$as_me: failed program was:" >&5
24703 sed 's/^/| /' conftest.$ac_ext >&5
24704
24705 ( exit $ac_status )
24706 ac_cv_header_png_h=no
24707 fi
24708 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24709 fi
24710
24711 fi
24712 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
24713 echo "${ECHO_T}$ac_cv_header_png_h" >&6
24714 if test "${ac_cv_header_png_h+set}" = set; then
24715 echo "$as_me:$LINENO: checking for png.h" >&5
24716 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
24717 if test "${ac_cv_header_png_h+set}" = set; then
24718 echo $ECHO_N "(cached) $ECHO_C" >&6
24719 fi
24720 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
24721 echo "${ECHO_T}$ac_cv_header_png_h" >&6
24722 else
24723 # Is the header compilable?
24724 echo "$as_me:$LINENO: checking png.h usability" >&5
24725 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
24726 cat >conftest.$ac_ext <<_ACEOF
24727 /* confdefs.h. */
24728 _ACEOF
24729 cat confdefs.h >>conftest.$ac_ext
24730 cat >>conftest.$ac_ext <<_ACEOF
24731 /* end confdefs.h. */
24732 $ac_includes_default
24733 #include <png.h>
24734 _ACEOF
24735 rm -f conftest.$ac_objext
24736 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24737 (eval $ac_compile) 2>conftest.er1
24738 ac_status=$?
24739 grep -v '^ *+' conftest.er1 >conftest.err
24740 rm -f conftest.er1
24741 cat conftest.err >&5
24742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24743 (exit $ac_status); } &&
24744 { ac_try='test -z "$ac_c_werror_flag"
24745 || test ! -s conftest.err'
24746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24747 (eval $ac_try) 2>&5
24748 ac_status=$?
24749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24750 (exit $ac_status); }; } &&
24751 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
24757 ac_header_compiler=yes
24758 else
24759 echo "$as_me: failed program was:" >&5
24760 sed 's/^/| /' conftest.$ac_ext >&5
24761
24762 ac_header_compiler=no
24763 fi
24764 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24765 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24766 echo "${ECHO_T}$ac_header_compiler" >&6
24767
24768 # Is the header present?
24769 echo "$as_me:$LINENO: checking png.h presence" >&5
24770 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
24771 cat >conftest.$ac_ext <<_ACEOF
24772 /* confdefs.h. */
24773 _ACEOF
24774 cat confdefs.h >>conftest.$ac_ext
24775 cat >>conftest.$ac_ext <<_ACEOF
24776 /* end confdefs.h. */
24777 #include <png.h>
24778 _ACEOF
24779 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24780 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
24781 ac_status=$?
24782 grep -v '^ *+' conftest.er1 >conftest.err
24783 rm -f conftest.er1
24784 cat conftest.err >&5
24785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24786 (exit $ac_status); } >/dev/null; then
24787 if test -s conftest.err; then
24788 ac_cpp_err=$ac_c_preproc_warn_flag
24789 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
24790 else
24791 ac_cpp_err=
24792 fi
24793 else
24794 ac_cpp_err=yes
24795 fi
24796 if test -z "$ac_cpp_err"; then
24797 ac_header_preproc=yes
24798 else
24799 echo "$as_me: failed program was:" >&5
24800 sed 's/^/| /' conftest.$ac_ext >&5
24801
24802 ac_header_preproc=no
24803 fi
24804 rm -f conftest.err conftest.$ac_ext
24805 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24806 echo "${ECHO_T}$ac_header_preproc" >&6
24807
24808 # So? What about this header?
24809 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24810 yes:no: )
24811 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
24812 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24813 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the compiler's result" >&5
24814 echo "$as_me: WARNING: png.h: proceeding with the compiler's result" >&2;}
24815 ac_header_preproc=yes
24816 ;;
24817 no:yes:* )
24818 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
24819 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
24820 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
24821 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
24822 { echo "$as_me:$LINENO: WARNING: png.h: see the Autoconf documentation" >&5
24823 echo "$as_me: WARNING: png.h: see the Autoconf documentation" >&2;}
24824 { echo "$as_me:$LINENO: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&5
24825 echo "$as_me: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&2;}
24826 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
24827 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
24828 { echo "$as_me:$LINENO: WARNING: png.h: in the future, the compiler will take precedence" >&5
24829 echo "$as_me: WARNING: png.h: in the future, the compiler will take precedence" >&2;}
24830 (
24831 cat <<\_ASBOX
24832 ## ----------------------------------------- ##
24833 ## Report this to wx-dev@lists.wxwidgets.org ##
24834 ## ----------------------------------------- ##
24835 _ASBOX
24836 ) |
24837 sed "s/^/$as_me: WARNING: /" >&2
24838 ;;
24839 esac
24840 echo "$as_me:$LINENO: checking for png.h" >&5
24841 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
24842 if test "${ac_cv_header_png_h+set}" = set; then
24843 echo $ECHO_N "(cached) $ECHO_C" >&6
24844 else
24845 ac_cv_header_png_h=$ac_header_preproc
24846 fi
24847 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
24848 echo "${ECHO_T}$ac_cv_header_png_h" >&6
24849
24850 fi
24851
24852
24853
24854 if test "$ac_cv_header_png_h" = "yes"; then
24855 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
24856 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
24857 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
24858 echo $ECHO_N "(cached) $ECHO_C" >&6
24859 else
24860 ac_check_lib_save_LIBS=$LIBS
24861 LIBS="-lpng -lz -lm $LIBS"
24862 cat >conftest.$ac_ext <<_ACEOF
24863 /* confdefs.h. */
24864 _ACEOF
24865 cat confdefs.h >>conftest.$ac_ext
24866 cat >>conftest.$ac_ext <<_ACEOF
24867 /* end confdefs.h. */
24868
24869 /* Override any gcc2 internal prototype to avoid an error. */
24870 #ifdef __cplusplus
24871 extern "C"
24872 #endif
24873 /* We use char because int might match the return type of a gcc2
24874 builtin and then its argument prototype would still apply. */
24875 char png_check_sig ();
24876 int
24877 main ()
24878 {
24879 png_check_sig ();
24880 ;
24881 return 0;
24882 }
24883 _ACEOF
24884 rm -f conftest.$ac_objext conftest$ac_exeext
24885 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24886 (eval $ac_link) 2>conftest.er1
24887 ac_status=$?
24888 grep -v '^ *+' conftest.er1 >conftest.err
24889 rm -f conftest.er1
24890 cat conftest.err >&5
24891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24892 (exit $ac_status); } &&
24893 { ac_try='test -z "$ac_c_werror_flag"
24894 || test ! -s conftest.err'
24895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24896 (eval $ac_try) 2>&5
24897 ac_status=$?
24898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24899 (exit $ac_status); }; } &&
24900 { ac_try='test -s conftest$ac_exeext'
24901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24902 (eval $ac_try) 2>&5
24903 ac_status=$?
24904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24905 (exit $ac_status); }; }; then
24906 ac_cv_lib_png_png_check_sig=yes
24907 else
24908 echo "$as_me: failed program was:" >&5
24909 sed 's/^/| /' conftest.$ac_ext >&5
24910
24911 ac_cv_lib_png_png_check_sig=no
24912 fi
24913 rm -f conftest.err conftest.$ac_objext \
24914 conftest$ac_exeext conftest.$ac_ext
24915 LIBS=$ac_check_lib_save_LIBS
24916 fi
24917 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
24918 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
24919 if test $ac_cv_lib_png_png_check_sig = yes; then
24920 PNG_LINK=" -lpng -lz"
24921 fi
24922
24923 fi
24924
24925 if test "x$PNG_LINK" = "x" ; then
24926 if test "$wxUSE_LIBPNG" = "sys" ; then
24927 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
24928 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
24929 { (exit 1); exit 1; }; }
24930 else
24931 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
24932 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
24933 wxUSE_LIBPNG=builtin
24934 fi
24935 else
24936 wxUSE_LIBPNG=sys
24937 fi
24938 fi
24939 fi
24940
24941 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS png"
24942 fi
24943
24944
24945 JPEG_LINK=
24946 if test "$wxUSE_LIBJPEG" != "no" ; then
24947 cat >>confdefs.h <<\_ACEOF
24948 #define wxUSE_LIBJPEG 1
24949 _ACEOF
24950
24951
24952 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
24953 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
24954 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
24955 wxUSE_LIBJPEG=sys
24956 fi
24957
24958 if test "$wxUSE_MGL" != 1 ; then
24959 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
24960 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
24961 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
24962 if test "${ac_cv_header_jpeglib_h+set}" = set; then
24963 echo $ECHO_N "(cached) $ECHO_C" >&6
24964 else
24965 cat >conftest.$ac_ext <<_ACEOF
24966 /* confdefs.h. */
24967 _ACEOF
24968 cat confdefs.h >>conftest.$ac_ext
24969 cat >>conftest.$ac_ext <<_ACEOF
24970 /* end confdefs.h. */
24971
24972 #undef HAVE_STDLIB_H
24973 #include <stdio.h>
24974 #include <jpeglib.h>
24975
24976 int
24977 main ()
24978 {
24979
24980
24981 ;
24982 return 0;
24983 }
24984 _ACEOF
24985 rm -f conftest.$ac_objext
24986 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24987 (eval $ac_compile) 2>conftest.er1
24988 ac_status=$?
24989 grep -v '^ *+' conftest.er1 >conftest.err
24990 rm -f conftest.er1
24991 cat conftest.err >&5
24992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24993 (exit $ac_status); } &&
24994 { ac_try='test -z "$ac_c_werror_flag"
24995 || test ! -s conftest.err'
24996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24997 (eval $ac_try) 2>&5
24998 ac_status=$?
24999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25000 (exit $ac_status); }; } &&
25001 { ac_try='test -s conftest.$ac_objext'
25002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25003 (eval $ac_try) 2>&5
25004 ac_status=$?
25005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25006 (exit $ac_status); }; }; then
25007 ac_cv_header_jpeglib_h=yes
25008 else
25009 echo "$as_me: failed program was:" >&5
25010 sed 's/^/| /' conftest.$ac_ext >&5
25011
25012 ac_cv_header_jpeglib_h=no
25013
25014 fi
25015 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25016
25017 fi
25018
25019 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
25020 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
25021
25022 if test "$ac_cv_header_jpeglib_h" = "yes"; then
25023 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
25024 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
25025 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
25026 echo $ECHO_N "(cached) $ECHO_C" >&6
25027 else
25028 ac_check_lib_save_LIBS=$LIBS
25029 LIBS="-ljpeg $LIBS"
25030 cat >conftest.$ac_ext <<_ACEOF
25031 /* confdefs.h. */
25032 _ACEOF
25033 cat confdefs.h >>conftest.$ac_ext
25034 cat >>conftest.$ac_ext <<_ACEOF
25035 /* end confdefs.h. */
25036
25037 /* Override any gcc2 internal prototype to avoid an error. */
25038 #ifdef __cplusplus
25039 extern "C"
25040 #endif
25041 /* We use char because int might match the return type of a gcc2
25042 builtin and then its argument prototype would still apply. */
25043 char jpeg_read_header ();
25044 int
25045 main ()
25046 {
25047 jpeg_read_header ();
25048 ;
25049 return 0;
25050 }
25051 _ACEOF
25052 rm -f conftest.$ac_objext conftest$ac_exeext
25053 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25054 (eval $ac_link) 2>conftest.er1
25055 ac_status=$?
25056 grep -v '^ *+' conftest.er1 >conftest.err
25057 rm -f conftest.er1
25058 cat conftest.err >&5
25059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25060 (exit $ac_status); } &&
25061 { ac_try='test -z "$ac_c_werror_flag"
25062 || test ! -s conftest.err'
25063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25064 (eval $ac_try) 2>&5
25065 ac_status=$?
25066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25067 (exit $ac_status); }; } &&
25068 { ac_try='test -s conftest$ac_exeext'
25069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25070 (eval $ac_try) 2>&5
25071 ac_status=$?
25072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25073 (exit $ac_status); }; }; then
25074 ac_cv_lib_jpeg_jpeg_read_header=yes
25075 else
25076 echo "$as_me: failed program was:" >&5
25077 sed 's/^/| /' conftest.$ac_ext >&5
25078
25079 ac_cv_lib_jpeg_jpeg_read_header=no
25080 fi
25081 rm -f conftest.err conftest.$ac_objext \
25082 conftest$ac_exeext conftest.$ac_ext
25083 LIBS=$ac_check_lib_save_LIBS
25084 fi
25085 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
25086 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
25087 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
25088 JPEG_LINK=" -ljpeg"
25089 fi
25090
25091 fi
25092
25093 if test "x$JPEG_LINK" = "x" ; then
25094 if test "$wxUSE_LIBJPEG" = "sys" ; then
25095 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
25096 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
25097 { (exit 1); exit 1; }; }
25098 else
25099 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
25100 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
25101 wxUSE_LIBJPEG=builtin
25102 fi
25103 else
25104 wxUSE_LIBJPEG=sys
25105 fi
25106 fi
25107 fi
25108 fi
25109
25110
25111 TIFF_LINK=
25112 TIFF_PREREQ_LINKS=-lm
25113 if test "$wxUSE_LIBTIFF" != "no" ; then
25114 cat >>confdefs.h <<\_ACEOF
25115 #define wxUSE_LIBTIFF 1
25116 _ACEOF
25117
25118
25119 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
25120 if test "$wxUSE_LIBJPEG" = "sys"; then
25121 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
25122 fi
25123 if test "$wxUSE_ZLIB" = "sys"; then
25124 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
25125 fi
25126 if test "${ac_cv_header_tiffio_h+set}" = set; then
25127 echo "$as_me:$LINENO: checking for tiffio.h" >&5
25128 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
25129 if test "${ac_cv_header_tiffio_h+set}" = set; then
25130 echo $ECHO_N "(cached) $ECHO_C" >&6
25131 fi
25132 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
25133 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
25134 else
25135 # Is the header compilable?
25136 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
25137 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
25138 cat >conftest.$ac_ext <<_ACEOF
25139 /* confdefs.h. */
25140 _ACEOF
25141 cat confdefs.h >>conftest.$ac_ext
25142 cat >>conftest.$ac_ext <<_ACEOF
25143 /* end confdefs.h. */
25144 $ac_includes_default
25145 #include <tiffio.h>
25146 _ACEOF
25147 rm -f conftest.$ac_objext
25148 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25149 (eval $ac_compile) 2>conftest.er1
25150 ac_status=$?
25151 grep -v '^ *+' conftest.er1 >conftest.err
25152 rm -f conftest.er1
25153 cat conftest.err >&5
25154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25155 (exit $ac_status); } &&
25156 { ac_try='test -z "$ac_c_werror_flag"
25157 || test ! -s conftest.err'
25158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25159 (eval $ac_try) 2>&5
25160 ac_status=$?
25161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25162 (exit $ac_status); }; } &&
25163 { ac_try='test -s conftest.$ac_objext'
25164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25165 (eval $ac_try) 2>&5
25166 ac_status=$?
25167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25168 (exit $ac_status); }; }; then
25169 ac_header_compiler=yes
25170 else
25171 echo "$as_me: failed program was:" >&5
25172 sed 's/^/| /' conftest.$ac_ext >&5
25173
25174 ac_header_compiler=no
25175 fi
25176 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25177 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25178 echo "${ECHO_T}$ac_header_compiler" >&6
25179
25180 # Is the header present?
25181 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
25182 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
25183 cat >conftest.$ac_ext <<_ACEOF
25184 /* confdefs.h. */
25185 _ACEOF
25186 cat confdefs.h >>conftest.$ac_ext
25187 cat >>conftest.$ac_ext <<_ACEOF
25188 /* end confdefs.h. */
25189 #include <tiffio.h>
25190 _ACEOF
25191 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25192 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
25193 ac_status=$?
25194 grep -v '^ *+' conftest.er1 >conftest.err
25195 rm -f conftest.er1
25196 cat conftest.err >&5
25197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25198 (exit $ac_status); } >/dev/null; then
25199 if test -s conftest.err; then
25200 ac_cpp_err=$ac_c_preproc_warn_flag
25201 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
25202 else
25203 ac_cpp_err=
25204 fi
25205 else
25206 ac_cpp_err=yes
25207 fi
25208 if test -z "$ac_cpp_err"; then
25209 ac_header_preproc=yes
25210 else
25211 echo "$as_me: failed program was:" >&5
25212 sed 's/^/| /' conftest.$ac_ext >&5
25213
25214 ac_header_preproc=no
25215 fi
25216 rm -f conftest.err conftest.$ac_ext
25217 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25218 echo "${ECHO_T}$ac_header_preproc" >&6
25219
25220 # So? What about this header?
25221 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
25222 yes:no: )
25223 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
25224 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25225 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the compiler's result" >&5
25226 echo "$as_me: WARNING: tiffio.h: proceeding with the compiler's result" >&2;}
25227 ac_header_preproc=yes
25228 ;;
25229 no:yes:* )
25230 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
25231 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
25232 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
25233 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
25234 { echo "$as_me:$LINENO: WARNING: tiffio.h: see the Autoconf documentation" >&5
25235 echo "$as_me: WARNING: tiffio.h: see the Autoconf documentation" >&2;}
25236 { echo "$as_me:$LINENO: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&5
25237 echo "$as_me: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&2;}
25238 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
25239 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
25240 { echo "$as_me:$LINENO: WARNING: tiffio.h: in the future, the compiler will take precedence" >&5
25241 echo "$as_me: WARNING: tiffio.h: in the future, the compiler will take precedence" >&2;}
25242 (
25243 cat <<\_ASBOX
25244 ## ----------------------------------------- ##
25245 ## Report this to wx-dev@lists.wxwidgets.org ##
25246 ## ----------------------------------------- ##
25247 _ASBOX
25248 ) |
25249 sed "s/^/$as_me: WARNING: /" >&2
25250 ;;
25251 esac
25252 echo "$as_me:$LINENO: checking for tiffio.h" >&5
25253 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
25254 if test "${ac_cv_header_tiffio_h+set}" = set; then
25255 echo $ECHO_N "(cached) $ECHO_C" >&6
25256 else
25257 ac_cv_header_tiffio_h=$ac_header_preproc
25258 fi
25259 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
25260 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
25261
25262 fi
25263 if test $ac_cv_header_tiffio_h = yes; then
25264
25265 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
25266 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
25267 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
25268 echo $ECHO_N "(cached) $ECHO_C" >&6
25269 else
25270 ac_check_lib_save_LIBS=$LIBS
25271 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
25272 cat >conftest.$ac_ext <<_ACEOF
25273 /* confdefs.h. */
25274 _ACEOF
25275 cat confdefs.h >>conftest.$ac_ext
25276 cat >>conftest.$ac_ext <<_ACEOF
25277 /* end confdefs.h. */
25278
25279 /* Override any gcc2 internal prototype to avoid an error. */
25280 #ifdef __cplusplus
25281 extern "C"
25282 #endif
25283 /* We use char because int might match the return type of a gcc2
25284 builtin and then its argument prototype would still apply. */
25285 char TIFFError ();
25286 int
25287 main ()
25288 {
25289 TIFFError ();
25290 ;
25291 return 0;
25292 }
25293 _ACEOF
25294 rm -f conftest.$ac_objext conftest$ac_exeext
25295 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25296 (eval $ac_link) 2>conftest.er1
25297 ac_status=$?
25298 grep -v '^ *+' conftest.er1 >conftest.err
25299 rm -f conftest.er1
25300 cat conftest.err >&5
25301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25302 (exit $ac_status); } &&
25303 { ac_try='test -z "$ac_c_werror_flag"
25304 || test ! -s conftest.err'
25305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25306 (eval $ac_try) 2>&5
25307 ac_status=$?
25308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25309 (exit $ac_status); }; } &&
25310 { ac_try='test -s conftest$ac_exeext'
25311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25312 (eval $ac_try) 2>&5
25313 ac_status=$?
25314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25315 (exit $ac_status); }; }; then
25316 ac_cv_lib_tiff_TIFFError=yes
25317 else
25318 echo "$as_me: failed program was:" >&5
25319 sed 's/^/| /' conftest.$ac_ext >&5
25320
25321 ac_cv_lib_tiff_TIFFError=no
25322 fi
25323 rm -f conftest.err conftest.$ac_objext \
25324 conftest$ac_exeext conftest.$ac_ext
25325 LIBS=$ac_check_lib_save_LIBS
25326 fi
25327 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
25328 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
25329 if test $ac_cv_lib_tiff_TIFFError = yes; then
25330 TIFF_LINK=" -ltiff"
25331 fi
25332
25333
25334
25335 fi
25336
25337
25338
25339 if test "x$TIFF_LINK" = "x" ; then
25340 if test "$wxUSE_LIBTIFF" = "sys" ; then
25341 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
25342 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
25343 { (exit 1); exit 1; }; }
25344 else
25345 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
25346 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
25347 wxUSE_LIBTIFF=builtin
25348 fi
25349 else
25350 wxUSE_LIBTIFF=sys
25351 fi
25352 fi
25353 fi
25354
25355
25356 if test "$wxUSE_WCHAR_T" != "yes"; then
25357 if test "$wxUSE_EXPAT" != "no"; then
25358 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
25359 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
25360 wxUSE_EXPAT=no
25361 fi
25362 if test "$wxUSE_XML" != "no"; then
25363 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
25364 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
25365 wxUSE_XML=no
25366 fi
25367 fi
25368
25369 if test "$wxUSE_EXPAT" != "no"; then
25370 wxUSE_XML=yes
25371 cat >>confdefs.h <<\_ACEOF
25372 #define wxUSE_EXPAT 1
25373 _ACEOF
25374
25375 cat >>confdefs.h <<\_ACEOF
25376 #define wxUSE_XML 1
25377 _ACEOF
25378
25379
25380 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
25381 if test "${ac_cv_header_expat_h+set}" = set; then
25382 echo "$as_me:$LINENO: checking for expat.h" >&5
25383 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
25384 if test "${ac_cv_header_expat_h+set}" = set; then
25385 echo $ECHO_N "(cached) $ECHO_C" >&6
25386 fi
25387 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
25388 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
25389 else
25390 # Is the header compilable?
25391 echo "$as_me:$LINENO: checking expat.h usability" >&5
25392 echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6
25393 cat >conftest.$ac_ext <<_ACEOF
25394 /* confdefs.h. */
25395 _ACEOF
25396 cat confdefs.h >>conftest.$ac_ext
25397 cat >>conftest.$ac_ext <<_ACEOF
25398 /* end confdefs.h. */
25399 $ac_includes_default
25400 #include <expat.h>
25401 _ACEOF
25402 rm -f conftest.$ac_objext
25403 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25404 (eval $ac_compile) 2>conftest.er1
25405 ac_status=$?
25406 grep -v '^ *+' conftest.er1 >conftest.err
25407 rm -f conftest.er1
25408 cat conftest.err >&5
25409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25410 (exit $ac_status); } &&
25411 { ac_try='test -z "$ac_c_werror_flag"
25412 || test ! -s conftest.err'
25413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25414 (eval $ac_try) 2>&5
25415 ac_status=$?
25416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25417 (exit $ac_status); }; } &&
25418 { ac_try='test -s conftest.$ac_objext'
25419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25420 (eval $ac_try) 2>&5
25421 ac_status=$?
25422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25423 (exit $ac_status); }; }; then
25424 ac_header_compiler=yes
25425 else
25426 echo "$as_me: failed program was:" >&5
25427 sed 's/^/| /' conftest.$ac_ext >&5
25428
25429 ac_header_compiler=no
25430 fi
25431 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25432 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25433 echo "${ECHO_T}$ac_header_compiler" >&6
25434
25435 # Is the header present?
25436 echo "$as_me:$LINENO: checking expat.h presence" >&5
25437 echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6
25438 cat >conftest.$ac_ext <<_ACEOF
25439 /* confdefs.h. */
25440 _ACEOF
25441 cat confdefs.h >>conftest.$ac_ext
25442 cat >>conftest.$ac_ext <<_ACEOF
25443 /* end confdefs.h. */
25444 #include <expat.h>
25445 _ACEOF
25446 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25447 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
25448 ac_status=$?
25449 grep -v '^ *+' conftest.er1 >conftest.err
25450 rm -f conftest.er1
25451 cat conftest.err >&5
25452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25453 (exit $ac_status); } >/dev/null; then
25454 if test -s conftest.err; then
25455 ac_cpp_err=$ac_c_preproc_warn_flag
25456 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
25457 else
25458 ac_cpp_err=
25459 fi
25460 else
25461 ac_cpp_err=yes
25462 fi
25463 if test -z "$ac_cpp_err"; then
25464 ac_header_preproc=yes
25465 else
25466 echo "$as_me: failed program was:" >&5
25467 sed 's/^/| /' conftest.$ac_ext >&5
25468
25469 ac_header_preproc=no
25470 fi
25471 rm -f conftest.err conftest.$ac_ext
25472 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25473 echo "${ECHO_T}$ac_header_preproc" >&6
25474
25475 # So? What about this header?
25476 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
25477 yes:no: )
25478 { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
25479 echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25480 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the compiler's result" >&5
25481 echo "$as_me: WARNING: expat.h: proceeding with the compiler's result" >&2;}
25482 ac_header_preproc=yes
25483 ;;
25484 no:yes:* )
25485 { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
25486 echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
25487 { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
25488 echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
25489 { echo "$as_me:$LINENO: WARNING: expat.h: see the Autoconf documentation" >&5
25490 echo "$as_me: WARNING: expat.h: see the Autoconf documentation" >&2;}
25491 { echo "$as_me:$LINENO: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&5
25492 echo "$as_me: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&2;}
25493 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
25494 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
25495 { echo "$as_me:$LINENO: WARNING: expat.h: in the future, the compiler will take precedence" >&5
25496 echo "$as_me: WARNING: expat.h: in the future, the compiler will take precedence" >&2;}
25497 (
25498 cat <<\_ASBOX
25499 ## ----------------------------------------- ##
25500 ## Report this to wx-dev@lists.wxwidgets.org ##
25501 ## ----------------------------------------- ##
25502 _ASBOX
25503 ) |
25504 sed "s/^/$as_me: WARNING: /" >&2
25505 ;;
25506 esac
25507 echo "$as_me:$LINENO: checking for expat.h" >&5
25508 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
25509 if test "${ac_cv_header_expat_h+set}" = set; then
25510 echo $ECHO_N "(cached) $ECHO_C" >&6
25511 else
25512 ac_cv_header_expat_h=$ac_header_preproc
25513 fi
25514 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
25515 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
25516
25517 fi
25518 if test $ac_cv_header_expat_h = yes; then
25519 found_expat_h=1
25520 fi
25521
25522
25523 if test "x$found_expat_h" = "x1"; then
25524 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
25525 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
25526 if test "${wx_cv_expat_is_not_broken+set}" = set; then
25527 echo $ECHO_N "(cached) $ECHO_C" >&6
25528 else
25529
25530 ac_ext=cc
25531 ac_cpp='$CXXCPP $CPPFLAGS'
25532 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25533 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25534 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25535
25536 cat >conftest.$ac_ext <<_ACEOF
25537 /* confdefs.h. */
25538 _ACEOF
25539 cat confdefs.h >>conftest.$ac_ext
25540 cat >>conftest.$ac_ext <<_ACEOF
25541 /* end confdefs.h. */
25542 #include <expat.h>
25543 int
25544 main ()
25545 {
25546
25547 ;
25548 return 0;
25549 }
25550 _ACEOF
25551 rm -f conftest.$ac_objext
25552 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25553 (eval $ac_compile) 2>conftest.er1
25554 ac_status=$?
25555 grep -v '^ *+' conftest.er1 >conftest.err
25556 rm -f conftest.er1
25557 cat conftest.err >&5
25558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25559 (exit $ac_status); } &&
25560 { ac_try='test -z "$ac_cxx_werror_flag"
25561 || test ! -s conftest.err'
25562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25563 (eval $ac_try) 2>&5
25564 ac_status=$?
25565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25566 (exit $ac_status); }; } &&
25567 { ac_try='test -s conftest.$ac_objext'
25568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25569 (eval $ac_try) 2>&5
25570 ac_status=$?
25571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25572 (exit $ac_status); }; }; then
25573 wx_cv_expat_is_not_broken=yes
25574 else
25575 echo "$as_me: failed program was:" >&5
25576 sed 's/^/| /' conftest.$ac_ext >&5
25577
25578 wx_cv_expat_is_not_broken=no
25579
25580 fi
25581 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25582 ac_ext=c
25583 ac_cpp='$CPP $CPPFLAGS'
25584 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25585 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25586 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25587
25588
25589
25590 fi
25591 echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
25592 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
25593 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
25594 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
25595 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
25596 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
25597 echo $ECHO_N "(cached) $ECHO_C" >&6
25598 else
25599 ac_check_lib_save_LIBS=$LIBS
25600 LIBS="-lexpat $LIBS"
25601 cat >conftest.$ac_ext <<_ACEOF
25602 /* confdefs.h. */
25603 _ACEOF
25604 cat confdefs.h >>conftest.$ac_ext
25605 cat >>conftest.$ac_ext <<_ACEOF
25606 /* end confdefs.h. */
25607
25608 /* Override any gcc2 internal prototype to avoid an error. */
25609 #ifdef __cplusplus
25610 extern "C"
25611 #endif
25612 /* We use char because int might match the return type of a gcc2
25613 builtin and then its argument prototype would still apply. */
25614 char XML_ParserCreate ();
25615 int
25616 main ()
25617 {
25618 XML_ParserCreate ();
25619 ;
25620 return 0;
25621 }
25622 _ACEOF
25623 rm -f conftest.$ac_objext conftest$ac_exeext
25624 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25625 (eval $ac_link) 2>conftest.er1
25626 ac_status=$?
25627 grep -v '^ *+' conftest.er1 >conftest.err
25628 rm -f conftest.er1
25629 cat conftest.err >&5
25630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25631 (exit $ac_status); } &&
25632 { ac_try='test -z "$ac_c_werror_flag"
25633 || test ! -s conftest.err'
25634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25635 (eval $ac_try) 2>&5
25636 ac_status=$?
25637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25638 (exit $ac_status); }; } &&
25639 { ac_try='test -s conftest$ac_exeext'
25640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25641 (eval $ac_try) 2>&5
25642 ac_status=$?
25643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25644 (exit $ac_status); }; }; then
25645 ac_cv_lib_expat_XML_ParserCreate=yes
25646 else
25647 echo "$as_me: failed program was:" >&5
25648 sed 's/^/| /' conftest.$ac_ext >&5
25649
25650 ac_cv_lib_expat_XML_ParserCreate=no
25651 fi
25652 rm -f conftest.err conftest.$ac_objext \
25653 conftest$ac_exeext conftest.$ac_ext
25654 LIBS=$ac_check_lib_save_LIBS
25655 fi
25656 echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
25657 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
25658 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
25659 EXPAT_LINK=" -lexpat"
25660 fi
25661
25662 fi
25663 fi
25664 if test "x$EXPAT_LINK" = "x" ; then
25665 if test "$wxUSE_EXPAT" = "sys" ; then
25666 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
25667 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
25668 { (exit 1); exit 1; }; }
25669 else
25670 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
25671 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
25672 wxUSE_EXPAT=builtin
25673 fi
25674 else
25675 wxUSE_EXPAT=sys
25676 fi
25677 fi
25678 if test "$wxUSE_EXPAT" = "builtin" ; then
25679
25680
25681 subdirs="$subdirs src/expat"
25682
25683 fi
25684 fi
25685
25686
25687
25688 if test "$wxUSE_LIBMSPACK" != "no"; then
25689 if test "${ac_cv_header_mspack_h+set}" = set; then
25690 echo "$as_me:$LINENO: checking for mspack.h" >&5
25691 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
25692 if test "${ac_cv_header_mspack_h+set}" = set; then
25693 echo $ECHO_N "(cached) $ECHO_C" >&6
25694 fi
25695 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
25696 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
25697 else
25698 # Is the header compilable?
25699 echo "$as_me:$LINENO: checking mspack.h usability" >&5
25700 echo $ECHO_N "checking mspack.h usability... $ECHO_C" >&6
25701 cat >conftest.$ac_ext <<_ACEOF
25702 /* confdefs.h. */
25703 _ACEOF
25704 cat confdefs.h >>conftest.$ac_ext
25705 cat >>conftest.$ac_ext <<_ACEOF
25706 /* end confdefs.h. */
25707 $ac_includes_default
25708 #include <mspack.h>
25709 _ACEOF
25710 rm -f conftest.$ac_objext
25711 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25712 (eval $ac_compile) 2>conftest.er1
25713 ac_status=$?
25714 grep -v '^ *+' conftest.er1 >conftest.err
25715 rm -f conftest.er1
25716 cat conftest.err >&5
25717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25718 (exit $ac_status); } &&
25719 { ac_try='test -z "$ac_c_werror_flag"
25720 || test ! -s conftest.err'
25721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25722 (eval $ac_try) 2>&5
25723 ac_status=$?
25724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25725 (exit $ac_status); }; } &&
25726 { ac_try='test -s conftest.$ac_objext'
25727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25728 (eval $ac_try) 2>&5
25729 ac_status=$?
25730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25731 (exit $ac_status); }; }; then
25732 ac_header_compiler=yes
25733 else
25734 echo "$as_me: failed program was:" >&5
25735 sed 's/^/| /' conftest.$ac_ext >&5
25736
25737 ac_header_compiler=no
25738 fi
25739 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25740 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25741 echo "${ECHO_T}$ac_header_compiler" >&6
25742
25743 # Is the header present?
25744 echo "$as_me:$LINENO: checking mspack.h presence" >&5
25745 echo $ECHO_N "checking mspack.h presence... $ECHO_C" >&6
25746 cat >conftest.$ac_ext <<_ACEOF
25747 /* confdefs.h. */
25748 _ACEOF
25749 cat confdefs.h >>conftest.$ac_ext
25750 cat >>conftest.$ac_ext <<_ACEOF
25751 /* end confdefs.h. */
25752 #include <mspack.h>
25753 _ACEOF
25754 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25755 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
25756 ac_status=$?
25757 grep -v '^ *+' conftest.er1 >conftest.err
25758 rm -f conftest.er1
25759 cat conftest.err >&5
25760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25761 (exit $ac_status); } >/dev/null; then
25762 if test -s conftest.err; then
25763 ac_cpp_err=$ac_c_preproc_warn_flag
25764 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
25765 else
25766 ac_cpp_err=
25767 fi
25768 else
25769 ac_cpp_err=yes
25770 fi
25771 if test -z "$ac_cpp_err"; then
25772 ac_header_preproc=yes
25773 else
25774 echo "$as_me: failed program was:" >&5
25775 sed 's/^/| /' conftest.$ac_ext >&5
25776
25777 ac_header_preproc=no
25778 fi
25779 rm -f conftest.err conftest.$ac_ext
25780 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25781 echo "${ECHO_T}$ac_header_preproc" >&6
25782
25783 # So? What about this header?
25784 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
25785 yes:no: )
25786 { echo "$as_me:$LINENO: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&5
25787 echo "$as_me: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25788 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the compiler's result" >&5
25789 echo "$as_me: WARNING: mspack.h: proceeding with the compiler's result" >&2;}
25790 ac_header_preproc=yes
25791 ;;
25792 no:yes:* )
25793 { echo "$as_me:$LINENO: WARNING: mspack.h: present but cannot be compiled" >&5
25794 echo "$as_me: WARNING: mspack.h: present but cannot be compiled" >&2;}
25795 { echo "$as_me:$LINENO: WARNING: mspack.h: check for missing prerequisite headers?" >&5
25796 echo "$as_me: WARNING: mspack.h: check for missing prerequisite headers?" >&2;}
25797 { echo "$as_me:$LINENO: WARNING: mspack.h: see the Autoconf documentation" >&5
25798 echo "$as_me: WARNING: mspack.h: see the Autoconf documentation" >&2;}
25799 { echo "$as_me:$LINENO: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&5
25800 echo "$as_me: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&2;}
25801 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the preprocessor's result" >&5
25802 echo "$as_me: WARNING: mspack.h: proceeding with the preprocessor's result" >&2;}
25803 { echo "$as_me:$LINENO: WARNING: mspack.h: in the future, the compiler will take precedence" >&5
25804 echo "$as_me: WARNING: mspack.h: in the future, the compiler will take precedence" >&2;}
25805 (
25806 cat <<\_ASBOX
25807 ## ----------------------------------------- ##
25808 ## Report this to wx-dev@lists.wxwidgets.org ##
25809 ## ----------------------------------------- ##
25810 _ASBOX
25811 ) |
25812 sed "s/^/$as_me: WARNING: /" >&2
25813 ;;
25814 esac
25815 echo "$as_me:$LINENO: checking for mspack.h" >&5
25816 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
25817 if test "${ac_cv_header_mspack_h+set}" = set; then
25818 echo $ECHO_N "(cached) $ECHO_C" >&6
25819 else
25820 ac_cv_header_mspack_h=$ac_header_preproc
25821 fi
25822 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
25823 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
25824
25825 fi
25826 if test $ac_cv_header_mspack_h = yes; then
25827 found_mspack_h=1
25828 fi
25829
25830
25831 if test "x$found_mspack_h" = "x1"; then
25832 echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
25833 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6
25834 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
25835 echo $ECHO_N "(cached) $ECHO_C" >&6
25836 else
25837 ac_check_lib_save_LIBS=$LIBS
25838 LIBS="-lmspack $LIBS"
25839 cat >conftest.$ac_ext <<_ACEOF
25840 /* confdefs.h. */
25841 _ACEOF
25842 cat confdefs.h >>conftest.$ac_ext
25843 cat >>conftest.$ac_ext <<_ACEOF
25844 /* end confdefs.h. */
25845
25846 /* Override any gcc2 internal prototype to avoid an error. */
25847 #ifdef __cplusplus
25848 extern "C"
25849 #endif
25850 /* We use char because int might match the return type of a gcc2
25851 builtin and then its argument prototype would still apply. */
25852 char mspack_create_chm_decompressor ();
25853 int
25854 main ()
25855 {
25856 mspack_create_chm_decompressor ();
25857 ;
25858 return 0;
25859 }
25860 _ACEOF
25861 rm -f conftest.$ac_objext conftest$ac_exeext
25862 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25863 (eval $ac_link) 2>conftest.er1
25864 ac_status=$?
25865 grep -v '^ *+' conftest.er1 >conftest.err
25866 rm -f conftest.er1
25867 cat conftest.err >&5
25868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25869 (exit $ac_status); } &&
25870 { ac_try='test -z "$ac_c_werror_flag"
25871 || test ! -s conftest.err'
25872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25873 (eval $ac_try) 2>&5
25874 ac_status=$?
25875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25876 (exit $ac_status); }; } &&
25877 { ac_try='test -s conftest$ac_exeext'
25878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25879 (eval $ac_try) 2>&5
25880 ac_status=$?
25881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25882 (exit $ac_status); }; }; then
25883 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
25884 else
25885 echo "$as_me: failed program was:" >&5
25886 sed 's/^/| /' conftest.$ac_ext >&5
25887
25888 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
25889 fi
25890 rm -f conftest.err conftest.$ac_objext \
25891 conftest$ac_exeext conftest.$ac_ext
25892 LIBS=$ac_check_lib_save_LIBS
25893 fi
25894 echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
25895 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6
25896 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
25897 MSPACK_LINK=" -lmspack"
25898 fi
25899
25900 fi
25901 if test "x$MSPACK_LINK" = "x" ; then
25902 wxUSE_LIBMSPACK=no
25903 fi
25904 fi
25905
25906 if test "$wxUSE_LIBMSPACK" != "no"; then
25907 cat >>confdefs.h <<\_ACEOF
25908 #define wxUSE_LIBMSPACK 1
25909 _ACEOF
25910
25911 fi
25912
25913
25914
25915 AFMINSTALL=
25916 WIN32INSTALL=
25917
25918 TOOLKIT=
25919 TOOLKIT_INCLUDE=
25920 WIDGET_SET=
25921
25922 if test "$USE_WIN32" = 1 ; then
25923
25924 for ac_header in w32api.h
25925 do
25926 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
25927 if eval "test \"\${$as_ac_Header+set}\" = set"; then
25928 echo "$as_me:$LINENO: checking for $ac_header" >&5
25929 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
25930 if eval "test \"\${$as_ac_Header+set}\" = set"; then
25931 echo $ECHO_N "(cached) $ECHO_C" >&6
25932 fi
25933 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
25934 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
25935 else
25936 # Is the header compilable?
25937 echo "$as_me:$LINENO: checking $ac_header usability" >&5
25938 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
25939 cat >conftest.$ac_ext <<_ACEOF
25940 /* confdefs.h. */
25941 _ACEOF
25942 cat confdefs.h >>conftest.$ac_ext
25943 cat >>conftest.$ac_ext <<_ACEOF
25944 /* end confdefs.h. */
25945 $ac_includes_default
25946 #include <$ac_header>
25947 _ACEOF
25948 rm -f conftest.$ac_objext
25949 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25950 (eval $ac_compile) 2>conftest.er1
25951 ac_status=$?
25952 grep -v '^ *+' conftest.er1 >conftest.err
25953 rm -f conftest.er1
25954 cat conftest.err >&5
25955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25956 (exit $ac_status); } &&
25957 { ac_try='test -z "$ac_c_werror_flag"
25958 || test ! -s conftest.err'
25959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25960 (eval $ac_try) 2>&5
25961 ac_status=$?
25962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25963 (exit $ac_status); }; } &&
25964 { ac_try='test -s conftest.$ac_objext'
25965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25966 (eval $ac_try) 2>&5
25967 ac_status=$?
25968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25969 (exit $ac_status); }; }; then
25970 ac_header_compiler=yes
25971 else
25972 echo "$as_me: failed program was:" >&5
25973 sed 's/^/| /' conftest.$ac_ext >&5
25974
25975 ac_header_compiler=no
25976 fi
25977 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25978 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25979 echo "${ECHO_T}$ac_header_compiler" >&6
25980
25981 # Is the header present?
25982 echo "$as_me:$LINENO: checking $ac_header presence" >&5
25983 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
25984 cat >conftest.$ac_ext <<_ACEOF
25985 /* confdefs.h. */
25986 _ACEOF
25987 cat confdefs.h >>conftest.$ac_ext
25988 cat >>conftest.$ac_ext <<_ACEOF
25989 /* end confdefs.h. */
25990 #include <$ac_header>
25991 _ACEOF
25992 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25993 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
25994 ac_status=$?
25995 grep -v '^ *+' conftest.er1 >conftest.err
25996 rm -f conftest.er1
25997 cat conftest.err >&5
25998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25999 (exit $ac_status); } >/dev/null; then
26000 if test -s conftest.err; then
26001 ac_cpp_err=$ac_c_preproc_warn_flag
26002 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
26003 else
26004 ac_cpp_err=
26005 fi
26006 else
26007 ac_cpp_err=yes
26008 fi
26009 if test -z "$ac_cpp_err"; then
26010 ac_header_preproc=yes
26011 else
26012 echo "$as_me: failed program was:" >&5
26013 sed 's/^/| /' conftest.$ac_ext >&5
26014
26015 ac_header_preproc=no
26016 fi
26017 rm -f conftest.err conftest.$ac_ext
26018 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26019 echo "${ECHO_T}$ac_header_preproc" >&6
26020
26021 # So? What about this header?
26022 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
26023 yes:no: )
26024 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
26025 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
26026 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
26027 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
26028 ac_header_preproc=yes
26029 ;;
26030 no:yes:* )
26031 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
26032 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
26033 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
26034 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
26035 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
26036 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
26037 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
26038 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
26039 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
26040 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
26041 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
26042 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
26043 (
26044 cat <<\_ASBOX
26045 ## ----------------------------------------- ##
26046 ## Report this to wx-dev@lists.wxwidgets.org ##
26047 ## ----------------------------------------- ##
26048 _ASBOX
26049 ) |
26050 sed "s/^/$as_me: WARNING: /" >&2
26051 ;;
26052 esac
26053 echo "$as_me:$LINENO: checking for $ac_header" >&5
26054 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
26055 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26056 echo $ECHO_N "(cached) $ECHO_C" >&6
26057 else
26058 eval "$as_ac_Header=\$ac_header_preproc"
26059 fi
26060 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
26061 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
26062
26063 fi
26064 if test `eval echo '${'$as_ac_Header'}'` = yes; then
26065 cat >>confdefs.h <<_ACEOF
26066 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
26067 _ACEOF
26068
26069 fi
26070
26071 done
26072
26073 if test "${ac_cv_header_windows_h+set}" = set; then
26074 echo "$as_me:$LINENO: checking for windows.h" >&5
26075 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
26076 if test "${ac_cv_header_windows_h+set}" = set; then
26077 echo $ECHO_N "(cached) $ECHO_C" >&6
26078 fi
26079 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
26080 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
26081 else
26082 # Is the header compilable?
26083 echo "$as_me:$LINENO: checking windows.h usability" >&5
26084 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
26085 cat >conftest.$ac_ext <<_ACEOF
26086 /* confdefs.h. */
26087 _ACEOF
26088 cat confdefs.h >>conftest.$ac_ext
26089 cat >>conftest.$ac_ext <<_ACEOF
26090 /* end confdefs.h. */
26091 $ac_includes_default
26092 #include <windows.h>
26093 _ACEOF
26094 rm -f conftest.$ac_objext
26095 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26096 (eval $ac_compile) 2>conftest.er1
26097 ac_status=$?
26098 grep -v '^ *+' conftest.er1 >conftest.err
26099 rm -f conftest.er1
26100 cat conftest.err >&5
26101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26102 (exit $ac_status); } &&
26103 { ac_try='test -z "$ac_c_werror_flag"
26104 || test ! -s conftest.err'
26105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26106 (eval $ac_try) 2>&5
26107 ac_status=$?
26108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26109 (exit $ac_status); }; } &&
26110 { ac_try='test -s conftest.$ac_objext'
26111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26112 (eval $ac_try) 2>&5
26113 ac_status=$?
26114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26115 (exit $ac_status); }; }; then
26116 ac_header_compiler=yes
26117 else
26118 echo "$as_me: failed program was:" >&5
26119 sed 's/^/| /' conftest.$ac_ext >&5
26120
26121 ac_header_compiler=no
26122 fi
26123 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26124 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26125 echo "${ECHO_T}$ac_header_compiler" >&6
26126
26127 # Is the header present?
26128 echo "$as_me:$LINENO: checking windows.h presence" >&5
26129 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
26130 cat >conftest.$ac_ext <<_ACEOF
26131 /* confdefs.h. */
26132 _ACEOF
26133 cat confdefs.h >>conftest.$ac_ext
26134 cat >>conftest.$ac_ext <<_ACEOF
26135 /* end confdefs.h. */
26136 #include <windows.h>
26137 _ACEOF
26138 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26139 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
26140 ac_status=$?
26141 grep -v '^ *+' conftest.er1 >conftest.err
26142 rm -f conftest.er1
26143 cat conftest.err >&5
26144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26145 (exit $ac_status); } >/dev/null; then
26146 if test -s conftest.err; then
26147 ac_cpp_err=$ac_c_preproc_warn_flag
26148 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
26149 else
26150 ac_cpp_err=
26151 fi
26152 else
26153 ac_cpp_err=yes
26154 fi
26155 if test -z "$ac_cpp_err"; then
26156 ac_header_preproc=yes
26157 else
26158 echo "$as_me: failed program was:" >&5
26159 sed 's/^/| /' conftest.$ac_ext >&5
26160
26161 ac_header_preproc=no
26162 fi
26163 rm -f conftest.err conftest.$ac_ext
26164 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26165 echo "${ECHO_T}$ac_header_preproc" >&6
26166
26167 # So? What about this header?
26168 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
26169 yes:no: )
26170 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
26171 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26172 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the compiler's result" >&5
26173 echo "$as_me: WARNING: windows.h: proceeding with the compiler's result" >&2;}
26174 ac_header_preproc=yes
26175 ;;
26176 no:yes:* )
26177 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
26178 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
26179 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
26180 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
26181 { echo "$as_me:$LINENO: WARNING: windows.h: see the Autoconf documentation" >&5
26182 echo "$as_me: WARNING: windows.h: see the Autoconf documentation" >&2;}
26183 { echo "$as_me:$LINENO: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&5
26184 echo "$as_me: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&2;}
26185 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
26186 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
26187 { echo "$as_me:$LINENO: WARNING: windows.h: in the future, the compiler will take precedence" >&5
26188 echo "$as_me: WARNING: windows.h: in the future, the compiler will take precedence" >&2;}
26189 (
26190 cat <<\_ASBOX
26191 ## ----------------------------------------- ##
26192 ## Report this to wx-dev@lists.wxwidgets.org ##
26193 ## ----------------------------------------- ##
26194 _ASBOX
26195 ) |
26196 sed "s/^/$as_me: WARNING: /" >&2
26197 ;;
26198 esac
26199 echo "$as_me:$LINENO: checking for windows.h" >&5
26200 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
26201 if test "${ac_cv_header_windows_h+set}" = set; then
26202 echo $ECHO_N "(cached) $ECHO_C" >&6
26203 else
26204 ac_cv_header_windows_h=$ac_header_preproc
26205 fi
26206 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
26207 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
26208
26209 fi
26210 if test $ac_cv_header_windows_h = yes; then
26211 :
26212 else
26213
26214 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
26215 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
26216 { (exit 1); exit 1; }; }
26217
26218 fi
26219
26220
26221
26222 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
26223
26224 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
26225 LIBS="$LIBS -loleacc"
26226 fi
26227
26228 case "${host}" in
26229 *-*-cygwin* )
26230 LIBS="$LIBS -lkernel32 -luser32"
26231 esac
26232
26233 if test "$wxUSE_ODBC" = "sys" ; then
26234 wxUSE_ODBC = "yes"
26235 fi
26236 if test "$wxUSE_ODBC" = "yes" ; then
26237 LIBS=" -lodbc32 -lole32 -loleaut32 $LIBS"
26238 cat >>confdefs.h <<\_ACEOF
26239 #define wxUSE_ODBC 1
26240 _ACEOF
26241
26242 fi
26243
26244 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
26245 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
26246
26247 WXCONFIG_RESFLAGS="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
26248
26249 WIN32INSTALL=win32install
26250 fi
26251
26252 if test "$wxUSE_GUI" = "yes"; then
26253 USE_GUI=1
26254
26255 GUI_TK_LIBRARY=
26256
26257 WXGTK12=
26258 WXGTK127=
26259 WXGTK20=
26260 WXGPE=
26261
26262 if test "$wxUSE_COCOA" = 1 ; then
26263 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
26264 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
26265 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
26266 wxUSE_PRINTING_ARCHITECTURE=no
26267 fi
26268 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
26269 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
26270 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
26271 wxUSE_DRAG_AND_DROP=no
26272 fi
26273 if test "$wxUSE_DRAGIMAGE" = "yes"; then
26274 { echo "$as_me:$LINENO: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&5
26275 echo "$as_me: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&2;}
26276 wxUSE_DRAGIMAGE=no
26277 fi
26278 fi
26279
26280 if test "$wxUSE_MSW" = 1 ; then
26281 TOOLKIT=MSW
26282 GUIDIST=MSW_DIST
26283
26284 case "${host}" in
26285 *-*-mingw32* )
26286 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
26287 esac
26288 fi
26289
26290 if test "$wxUSE_GTK" = 1; then
26291 echo "$as_me:$LINENO: checking for GTK+ version" >&5
26292 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
26293
26294 gtk_version_cached=1
26295 if test "${wx_cv_lib_gtk+set}" = set; then
26296 echo $ECHO_N "(cached) $ECHO_C" >&6
26297 else
26298
26299 gtk_version_cached=0
26300 echo "$as_me:$LINENO: result: " >&5
26301 echo "${ECHO_T}" >&6
26302
26303 GTK_MODULES=
26304 if test "$wxUSE_THREADS" = "yes"; then
26305 GTK_MODULES=gthread
26306 fi
26307
26308 wx_cv_lib_gtk=
26309 if test "x$wxGTK_VERSION" != "x1"
26310 then
26311 case "${host}" in
26312 *-*-solaris2* )
26313 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
26314 enable_gtktest=no
26315 fi
26316 esac
26317
26318 # Check whether --enable-gtktest or --disable-gtktest was given.
26319 if test "${enable_gtktest+set}" = set; then
26320 enableval="$enable_gtktest"
26321
26322 else
26323 enable_gtktest=yes
26324 fi;
26325
26326 pkg_config_args=gtk+-2.0
26327 for module in . $GTK_MODULES
26328 do
26329 case "$module" in
26330 gthread)
26331 pkg_config_args="$pkg_config_args gthread-2.0"
26332 ;;
26333 esac
26334 done
26335
26336 no_gtk=""
26337
26338 # Extract the first word of "pkg-config", so it can be a program name with args.
26339 set dummy pkg-config; ac_word=$2
26340 echo "$as_me:$LINENO: checking for $ac_word" >&5
26341 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
26342 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
26343 echo $ECHO_N "(cached) $ECHO_C" >&6
26344 else
26345 case $PKG_CONFIG in
26346 [\\/]* | ?:[\\/]*)
26347 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
26348 ;;
26349 *)
26350 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26351 for as_dir in $PATH
26352 do
26353 IFS=$as_save_IFS
26354 test -z "$as_dir" && as_dir=.
26355 for ac_exec_ext in '' $ac_executable_extensions; do
26356 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
26357 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
26358 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
26359 break 2
26360 fi
26361 done
26362 done
26363
26364 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
26365 ;;
26366 esac
26367 fi
26368 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
26369
26370 if test -n "$PKG_CONFIG"; then
26371 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
26372 echo "${ECHO_T}$PKG_CONFIG" >&6
26373 else
26374 echo "$as_me:$LINENO: result: no" >&5
26375 echo "${ECHO_T}no" >&6
26376 fi
26377
26378
26379 if test x$PKG_CONFIG != xno ; then
26380 if pkg-config --atleast-pkgconfig-version 0.7 ; then
26381 :
26382 else
26383 echo "*** pkg-config too old; version 0.7 or better required."
26384 no_gtk=yes
26385 PKG_CONFIG=no
26386 fi
26387 else
26388 no_gtk=yes
26389 fi
26390
26391 min_gtk_version=2.0.0
26392 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
26393 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
26394
26395 if test x$PKG_CONFIG != xno ; then
26396 ## don't try to run the test against uninstalled libtool libs
26397 if $PKG_CONFIG --uninstalled $pkg_config_args; then
26398 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
26399 enable_gtktest=no
26400 fi
26401
26402 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
26403 :
26404 else
26405 no_gtk=yes
26406 fi
26407 fi
26408
26409 if test x"$no_gtk" = x ; then
26410 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
26411 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
26412 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
26413 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
26414 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
26415 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
26416 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
26417 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
26418 if test "x$enable_gtktest" = "xyes" ; then
26419 ac_save_CFLAGS="$CFLAGS"
26420 ac_save_LIBS="$LIBS"
26421 CFLAGS="$CFLAGS $GTK_CFLAGS"
26422 LIBS="$GTK_LIBS $LIBS"
26423 rm -f conf.gtktest
26424 if test "$cross_compiling" = yes; then
26425 echo $ac_n "cross compiling; assumed OK... $ac_c"
26426 else
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
26434 #include <gtk/gtk.h>
26435 #include <stdio.h>
26436 #include <stdlib.h>
26437
26438 int
26439 main ()
26440 {
26441 int major, minor, micro;
26442 char *tmp_version;
26443
26444 system ("touch conf.gtktest");
26445
26446 /* HP/UX 9 (%@#!) writes to sscanf strings */
26447 tmp_version = g_strdup("$min_gtk_version");
26448 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
26449 printf("%s, bad version string\n", "$min_gtk_version");
26450 exit(1);
26451 }
26452
26453 if ((gtk_major_version != $gtk_config_major_version) ||
26454 (gtk_minor_version != $gtk_config_minor_version) ||
26455 (gtk_micro_version != $gtk_config_micro_version))
26456 {
26457 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
26458 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
26459 gtk_major_version, gtk_minor_version, gtk_micro_version);
26460 printf ("*** was found! If pkg-config was correct, then it is best\n");
26461 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
26462 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
26463 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
26464 printf("*** required on your system.\n");
26465 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
26466 printf("*** to point to the correct configuration files\n");
26467 }
26468 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
26469 (gtk_minor_version != GTK_MINOR_VERSION) ||
26470 (gtk_micro_version != GTK_MICRO_VERSION))
26471 {
26472 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
26473 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
26474 printf("*** library (version %d.%d.%d)\n",
26475 gtk_major_version, gtk_minor_version, gtk_micro_version);
26476 }
26477 else
26478 {
26479 if ((gtk_major_version > major) ||
26480 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
26481 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
26482 {
26483 return 0;
26484 }
26485 else
26486 {
26487 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
26488 gtk_major_version, gtk_minor_version, gtk_micro_version);
26489 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
26490 major, minor, micro);
26491 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
26492 printf("***\n");
26493 printf("*** If you have already installed a sufficiently new version, this error\n");
26494 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
26495 printf("*** being found. The easiest way to fix this is to remove the old version\n");
26496 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
26497 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
26498 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
26499 printf("*** so that the correct libraries are found at run-time))\n");
26500 }
26501 }
26502 return 1;
26503 }
26504
26505 _ACEOF
26506 rm -f conftest$ac_exeext
26507 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26508 (eval $ac_link) 2>&5
26509 ac_status=$?
26510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26511 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
26512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26513 (eval $ac_try) 2>&5
26514 ac_status=$?
26515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26516 (exit $ac_status); }; }; then
26517 :
26518 else
26519 echo "$as_me: program exited with status $ac_status" >&5
26520 echo "$as_me: failed program was:" >&5
26521 sed 's/^/| /' conftest.$ac_ext >&5
26522
26523 ( exit $ac_status )
26524 no_gtk=yes
26525 fi
26526 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26527 fi
26528 CFLAGS="$ac_save_CFLAGS"
26529 LIBS="$ac_save_LIBS"
26530 fi
26531 fi
26532 if test "x$no_gtk" = x ; then
26533 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
26534 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
26535 wx_cv_lib_gtk=2.0
26536 else
26537 echo "$as_me:$LINENO: result: no" >&5
26538 echo "${ECHO_T}no" >&6
26539 if test "$PKG_CONFIG" = "no" ; then
26540 echo "*** A new enough version of pkg-config was not found."
26541 echo "*** See http://pkgconfig.sourceforge.net"
26542 else
26543 if test -f conf.gtktest ; then
26544 :
26545 else
26546 echo "*** Could not run GTK+ test program, checking why..."
26547 ac_save_CFLAGS="$CFLAGS"
26548 ac_save_LIBS="$LIBS"
26549 CFLAGS="$CFLAGS $GTK_CFLAGS"
26550 LIBS="$LIBS $GTK_LIBS"
26551 cat >conftest.$ac_ext <<_ACEOF
26552 /* confdefs.h. */
26553 _ACEOF
26554 cat confdefs.h >>conftest.$ac_ext
26555 cat >>conftest.$ac_ext <<_ACEOF
26556 /* end confdefs.h. */
26557
26558 #include <gtk/gtk.h>
26559 #include <stdio.h>
26560
26561 int
26562 main ()
26563 {
26564 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
26565 ;
26566 return 0;
26567 }
26568 _ACEOF
26569 rm -f conftest.$ac_objext conftest$ac_exeext
26570 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26571 (eval $ac_link) 2>conftest.er1
26572 ac_status=$?
26573 grep -v '^ *+' conftest.er1 >conftest.err
26574 rm -f conftest.er1
26575 cat conftest.err >&5
26576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26577 (exit $ac_status); } &&
26578 { ac_try='test -z "$ac_c_werror_flag"
26579 || test ! -s conftest.err'
26580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26581 (eval $ac_try) 2>&5
26582 ac_status=$?
26583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26584 (exit $ac_status); }; } &&
26585 { ac_try='test -s conftest$ac_exeext'
26586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26587 (eval $ac_try) 2>&5
26588 ac_status=$?
26589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26590 (exit $ac_status); }; }; then
26591 echo "*** The test program compiled, but did not run. This usually means"
26592 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
26593 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
26594 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
26595 echo "*** to the installed location Also, make sure you have run ldconfig if that"
26596 echo "*** is required on your system"
26597 echo "***"
26598 echo "*** If you have an old version installed, it is best to remove it, although"
26599 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
26600 else
26601 echo "$as_me: failed program was:" >&5
26602 sed 's/^/| /' conftest.$ac_ext >&5
26603
26604 echo "*** The test program failed to compile or link. See the file config.log for the"
26605 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
26606 fi
26607 rm -f conftest.err conftest.$ac_objext \
26608 conftest$ac_exeext conftest.$ac_ext
26609 CFLAGS="$ac_save_CFLAGS"
26610 LIBS="$ac_save_LIBS"
26611 fi
26612 fi
26613 GTK_CFLAGS=""
26614 GTK_LIBS=""
26615 :
26616 fi
26617
26618
26619 rm -f conf.gtktest
26620
26621
26622 case "${host}" in
26623 *-*-solaris2* )
26624 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
26625 GTK_CFLAGS=`echo $GTK_CFLAGS | sed 's/-mt//'`
26626 GTK_LIBS=`echo $GTK_LIBS | sed 's/-mt//'`
26627 fi
26628 if test "$wxUSE_SHARED" != "yes"; then
26629 GTK_LIBS="$GTK_LIBS -lX11"
26630 fi
26631 esac
26632 fi
26633
26634 if test -z "$wx_cv_lib_gtk"; then
26635 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
26636
26637 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
26638 if test "${with_gtk_prefix+set}" = set; then
26639 withval="$with_gtk_prefix"
26640 gtk_config_prefix="$withval"
26641 else
26642 gtk_config_prefix=""
26643 fi;
26644
26645 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
26646 if test "${with_gtk_exec_prefix+set}" = set; then
26647 withval="$with_gtk_exec_prefix"
26648 gtk_config_exec_prefix="$withval"
26649 else
26650 gtk_config_exec_prefix=""
26651 fi;
26652 # Check whether --enable-gtktest or --disable-gtktest was given.
26653 if test "${enable_gtktest+set}" = set; then
26654 enableval="$enable_gtktest"
26655
26656 else
26657 enable_gtktest=yes
26658 fi;
26659
26660 for module in . $GTK_MODULES
26661 do
26662 case "$module" in
26663 gthread)
26664 gtk_config_args="$gtk_config_args gthread"
26665 ;;
26666 esac
26667 done
26668
26669 if test x$gtk_config_exec_prefix != x ; then
26670 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
26671 if test x${GTK_CONFIG+set} != xset ; then
26672 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
26673 fi
26674 fi
26675 if test x$gtk_config_prefix != x ; then
26676 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
26677 if test x${GTK_CONFIG+set} != xset ; then
26678 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
26679 fi
26680 fi
26681
26682 # Extract the first word of "gtk-config", so it can be a program name with args.
26683 set dummy gtk-config; ac_word=$2
26684 echo "$as_me:$LINENO: checking for $ac_word" >&5
26685 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
26686 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
26687 echo $ECHO_N "(cached) $ECHO_C" >&6
26688 else
26689 case $GTK_CONFIG in
26690 [\\/]* | ?:[\\/]*)
26691 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
26692 ;;
26693 *)
26694 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26695 for as_dir in $PATH
26696 do
26697 IFS=$as_save_IFS
26698 test -z "$as_dir" && as_dir=.
26699 for ac_exec_ext in '' $ac_executable_extensions; do
26700 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
26701 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
26702 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
26703 break 2
26704 fi
26705 done
26706 done
26707
26708 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
26709 ;;
26710 esac
26711 fi
26712 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
26713
26714 if test -n "$GTK_CONFIG"; then
26715 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
26716 echo "${ECHO_T}$GTK_CONFIG" >&6
26717 else
26718 echo "$as_me:$LINENO: result: no" >&5
26719 echo "${ECHO_T}no" >&6
26720 fi
26721
26722 min_gtk_version=1.2.7
26723 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
26724 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
26725 no_gtk=""
26726 if test "$GTK_CONFIG" = "no" ; then
26727 no_gtk=yes
26728 else
26729 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
26730 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
26731 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
26732 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
26733 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
26734 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
26735 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
26736 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
26737 if test "x$enable_gtktest" = "xyes" ; then
26738 ac_save_CFLAGS="$CFLAGS"
26739 ac_save_LIBS="$LIBS"
26740 CFLAGS="$CFLAGS $GTK_CFLAGS"
26741 LIBS="$GTK_LIBS $LIBS"
26742 rm -f conf.gtktest
26743 if test "$cross_compiling" = yes; then
26744 echo $ac_n "cross compiling; assumed OK... $ac_c"
26745 else
26746 cat >conftest.$ac_ext <<_ACEOF
26747 /* confdefs.h. */
26748 _ACEOF
26749 cat confdefs.h >>conftest.$ac_ext
26750 cat >>conftest.$ac_ext <<_ACEOF
26751 /* end confdefs.h. */
26752
26753 #include <gtk/gtk.h>
26754 #include <stdio.h>
26755 #include <stdlib.h>
26756
26757 int
26758 main ()
26759 {
26760 int major, minor, micro;
26761 char *tmp_version;
26762
26763 system ("touch conf.gtktest");
26764
26765 /* HP/UX 9 (%@#!) writes to sscanf strings */
26766 tmp_version = g_strdup("$min_gtk_version");
26767 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
26768 printf("%s, bad version string\n", "$min_gtk_version");
26769 exit(1);
26770 }
26771
26772 if ((gtk_major_version != $gtk_config_major_version) ||
26773 (gtk_minor_version != $gtk_config_minor_version) ||
26774 (gtk_micro_version != $gtk_config_micro_version))
26775 {
26776 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
26777 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
26778 gtk_major_version, gtk_minor_version, gtk_micro_version);
26779 printf ("*** was found! If gtk-config was correct, then it is best\n");
26780 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
26781 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
26782 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
26783 printf("*** required on your system.\n");
26784 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
26785 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
26786 printf("*** before re-running configure\n");
26787 }
26788 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
26789 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
26790 (gtk_minor_version != GTK_MINOR_VERSION) ||
26791 (gtk_micro_version != GTK_MICRO_VERSION))
26792 {
26793 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
26794 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
26795 printf("*** library (version %d.%d.%d)\n",
26796 gtk_major_version, gtk_minor_version, gtk_micro_version);
26797 }
26798 #endif /* defined (GTK_MAJOR_VERSION) ... */
26799 else
26800 {
26801 if ((gtk_major_version > major) ||
26802 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
26803 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
26804 {
26805 return 0;
26806 }
26807 else
26808 {
26809 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
26810 gtk_major_version, gtk_minor_version, gtk_micro_version);
26811 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
26812 major, minor, micro);
26813 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
26814 printf("***\n");
26815 printf("*** If you have already installed a sufficiently new version, this error\n");
26816 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
26817 printf("*** being found. The easiest way to fix this is to remove the old version\n");
26818 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
26819 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
26820 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
26821 printf("*** so that the correct libraries are found at run-time))\n");
26822 }
26823 }
26824 return 1;
26825 }
26826
26827 _ACEOF
26828 rm -f conftest$ac_exeext
26829 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26830 (eval $ac_link) 2>&5
26831 ac_status=$?
26832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26833 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
26834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26835 (eval $ac_try) 2>&5
26836 ac_status=$?
26837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26838 (exit $ac_status); }; }; then
26839 :
26840 else
26841 echo "$as_me: program exited with status $ac_status" >&5
26842 echo "$as_me: failed program was:" >&5
26843 sed 's/^/| /' conftest.$ac_ext >&5
26844
26845 ( exit $ac_status )
26846 no_gtk=yes
26847 fi
26848 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26849 fi
26850 CFLAGS="$ac_save_CFLAGS"
26851 LIBS="$ac_save_LIBS"
26852 fi
26853 fi
26854 if test "x$no_gtk" = x ; then
26855 echo "$as_me:$LINENO: result: yes" >&5
26856 echo "${ECHO_T}yes" >&6
26857 wx_cv_lib_gtk=1.2.7
26858 else
26859 echo "$as_me:$LINENO: result: no" >&5
26860 echo "${ECHO_T}no" >&6
26861 if test "$GTK_CONFIG" = "no" ; then
26862 echo "*** The gtk-config script installed by GTK could not be found"
26863 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
26864 echo "*** your path, or set the GTK_CONFIG environment variable to the"
26865 echo "*** full path to gtk-config."
26866 else
26867 if test -f conf.gtktest ; then
26868 :
26869 else
26870 echo "*** Could not run GTK test program, checking why..."
26871 CFLAGS="$CFLAGS $GTK_CFLAGS"
26872 LIBS="$LIBS $GTK_LIBS"
26873 cat >conftest.$ac_ext <<_ACEOF
26874 /* confdefs.h. */
26875 _ACEOF
26876 cat confdefs.h >>conftest.$ac_ext
26877 cat >>conftest.$ac_ext <<_ACEOF
26878 /* end confdefs.h. */
26879
26880 #include <gtk/gtk.h>
26881 #include <stdio.h>
26882
26883 int
26884 main ()
26885 {
26886 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
26887 ;
26888 return 0;
26889 }
26890 _ACEOF
26891 rm -f conftest.$ac_objext conftest$ac_exeext
26892 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26893 (eval $ac_link) 2>conftest.er1
26894 ac_status=$?
26895 grep -v '^ *+' conftest.er1 >conftest.err
26896 rm -f conftest.er1
26897 cat conftest.err >&5
26898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26899 (exit $ac_status); } &&
26900 { ac_try='test -z "$ac_c_werror_flag"
26901 || test ! -s conftest.err'
26902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26903 (eval $ac_try) 2>&5
26904 ac_status=$?
26905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26906 (exit $ac_status); }; } &&
26907 { ac_try='test -s conftest$ac_exeext'
26908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26909 (eval $ac_try) 2>&5
26910 ac_status=$?
26911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26912 (exit $ac_status); }; }; then
26913 echo "*** The test program compiled, but did not run. This usually means"
26914 echo "*** that the run-time linker is not finding GTK or finding the wrong"
26915 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
26916 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
26917 echo "*** to the installed location Also, make sure you have run ldconfig if that"
26918 echo "*** is required on your system"
26919 echo "***"
26920 echo "*** If you have an old version installed, it is best to remove it, although"
26921 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
26922 echo "***"
26923 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
26924 echo "*** came with the system with the command"
26925 echo "***"
26926 echo "*** rpm --erase --nodeps gtk gtk-devel"
26927 else
26928 echo "$as_me: failed program was:" >&5
26929 sed 's/^/| /' conftest.$ac_ext >&5
26930
26931 echo "*** The test program failed to compile or link. See the file config.log for the"
26932 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
26933 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
26934 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
26935 fi
26936 rm -f conftest.err conftest.$ac_objext \
26937 conftest$ac_exeext conftest.$ac_ext
26938 CFLAGS="$ac_save_CFLAGS"
26939 LIBS="$ac_save_LIBS"
26940 fi
26941 fi
26942 GTK_CFLAGS=""
26943 GTK_LIBS=""
26944 :
26945 fi
26946
26947
26948 rm -f conf.gtktest
26949
26950
26951 if test -z "$wx_cv_lib_gtk"; then
26952
26953 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
26954 if test "${with_gtk_prefix+set}" = set; then
26955 withval="$with_gtk_prefix"
26956 gtk_config_prefix="$withval"
26957 else
26958 gtk_config_prefix=""
26959 fi;
26960
26961 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
26962 if test "${with_gtk_exec_prefix+set}" = set; then
26963 withval="$with_gtk_exec_prefix"
26964 gtk_config_exec_prefix="$withval"
26965 else
26966 gtk_config_exec_prefix=""
26967 fi;
26968 # Check whether --enable-gtktest or --disable-gtktest was given.
26969 if test "${enable_gtktest+set}" = set; then
26970 enableval="$enable_gtktest"
26971
26972 else
26973 enable_gtktest=yes
26974 fi;
26975
26976 for module in . $GTK_MODULES
26977 do
26978 case "$module" in
26979 gthread)
26980 gtk_config_args="$gtk_config_args gthread"
26981 ;;
26982 esac
26983 done
26984
26985 if test x$gtk_config_exec_prefix != x ; then
26986 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
26987 if test x${GTK_CONFIG+set} != xset ; then
26988 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
26989 fi
26990 fi
26991 if test x$gtk_config_prefix != x ; then
26992 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
26993 if test x${GTK_CONFIG+set} != xset ; then
26994 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
26995 fi
26996 fi
26997
26998 # Extract the first word of "gtk-config", so it can be a program name with args.
26999 set dummy gtk-config; ac_word=$2
27000 echo "$as_me:$LINENO: checking for $ac_word" >&5
27001 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27002 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
27003 echo $ECHO_N "(cached) $ECHO_C" >&6
27004 else
27005 case $GTK_CONFIG in
27006 [\\/]* | ?:[\\/]*)
27007 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
27008 ;;
27009 *)
27010 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27011 for as_dir in $PATH
27012 do
27013 IFS=$as_save_IFS
27014 test -z "$as_dir" && as_dir=.
27015 for ac_exec_ext in '' $ac_executable_extensions; do
27016 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27017 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27018 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27019 break 2
27020 fi
27021 done
27022 done
27023
27024 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
27025 ;;
27026 esac
27027 fi
27028 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
27029
27030 if test -n "$GTK_CONFIG"; then
27031 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
27032 echo "${ECHO_T}$GTK_CONFIG" >&6
27033 else
27034 echo "$as_me:$LINENO: result: no" >&5
27035 echo "${ECHO_T}no" >&6
27036 fi
27037
27038 min_gtk_version=1.2.3
27039 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
27040 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
27041 no_gtk=""
27042 if test "$GTK_CONFIG" = "no" ; then
27043 no_gtk=yes
27044 else
27045 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
27046 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
27047 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
27048 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
27049 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
27050 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
27051 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
27052 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
27053 if test "x$enable_gtktest" = "xyes" ; then
27054 ac_save_CFLAGS="$CFLAGS"
27055 ac_save_LIBS="$LIBS"
27056 CFLAGS="$CFLAGS $GTK_CFLAGS"
27057 LIBS="$GTK_LIBS $LIBS"
27058 rm -f conf.gtktest
27059 if test "$cross_compiling" = yes; then
27060 echo $ac_n "cross compiling; assumed OK... $ac_c"
27061 else
27062 cat >conftest.$ac_ext <<_ACEOF
27063 /* confdefs.h. */
27064 _ACEOF
27065 cat confdefs.h >>conftest.$ac_ext
27066 cat >>conftest.$ac_ext <<_ACEOF
27067 /* end confdefs.h. */
27068
27069 #include <gtk/gtk.h>
27070 #include <stdio.h>
27071 #include <stdlib.h>
27072
27073 int
27074 main ()
27075 {
27076 int major, minor, micro;
27077 char *tmp_version;
27078
27079 system ("touch conf.gtktest");
27080
27081 /* HP/UX 9 (%@#!) writes to sscanf strings */
27082 tmp_version = g_strdup("$min_gtk_version");
27083 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
27084 printf("%s, bad version string\n", "$min_gtk_version");
27085 exit(1);
27086 }
27087
27088 if ((gtk_major_version != $gtk_config_major_version) ||
27089 (gtk_minor_version != $gtk_config_minor_version) ||
27090 (gtk_micro_version != $gtk_config_micro_version))
27091 {
27092 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
27093 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
27094 gtk_major_version, gtk_minor_version, gtk_micro_version);
27095 printf ("*** was found! If gtk-config was correct, then it is best\n");
27096 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
27097 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
27098 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
27099 printf("*** required on your system.\n");
27100 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
27101 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
27102 printf("*** before re-running configure\n");
27103 }
27104 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
27105 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
27106 (gtk_minor_version != GTK_MINOR_VERSION) ||
27107 (gtk_micro_version != GTK_MICRO_VERSION))
27108 {
27109 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
27110 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
27111 printf("*** library (version %d.%d.%d)\n",
27112 gtk_major_version, gtk_minor_version, gtk_micro_version);
27113 }
27114 #endif /* defined (GTK_MAJOR_VERSION) ... */
27115 else
27116 {
27117 if ((gtk_major_version > major) ||
27118 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
27119 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
27120 {
27121 return 0;
27122 }
27123 else
27124 {
27125 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
27126 gtk_major_version, gtk_minor_version, gtk_micro_version);
27127 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
27128 major, minor, micro);
27129 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
27130 printf("***\n");
27131 printf("*** If you have already installed a sufficiently new version, this error\n");
27132 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
27133 printf("*** being found. The easiest way to fix this is to remove the old version\n");
27134 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
27135 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
27136 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
27137 printf("*** so that the correct libraries are found at run-time))\n");
27138 }
27139 }
27140 return 1;
27141 }
27142
27143 _ACEOF
27144 rm -f conftest$ac_exeext
27145 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27146 (eval $ac_link) 2>&5
27147 ac_status=$?
27148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27149 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27151 (eval $ac_try) 2>&5
27152 ac_status=$?
27153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27154 (exit $ac_status); }; }; then
27155 :
27156 else
27157 echo "$as_me: program exited with status $ac_status" >&5
27158 echo "$as_me: failed program was:" >&5
27159 sed 's/^/| /' conftest.$ac_ext >&5
27160
27161 ( exit $ac_status )
27162 no_gtk=yes
27163 fi
27164 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27165 fi
27166 CFLAGS="$ac_save_CFLAGS"
27167 LIBS="$ac_save_LIBS"
27168 fi
27169 fi
27170 if test "x$no_gtk" = x ; then
27171 echo "$as_me:$LINENO: result: yes" >&5
27172 echo "${ECHO_T}yes" >&6
27173 wx_cv_lib_gtk=1.2.3
27174 else
27175 echo "$as_me:$LINENO: result: no" >&5
27176 echo "${ECHO_T}no" >&6
27177 if test "$GTK_CONFIG" = "no" ; then
27178 echo "*** The gtk-config script installed by GTK could not be found"
27179 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
27180 echo "*** your path, or set the GTK_CONFIG environment variable to the"
27181 echo "*** full path to gtk-config."
27182 else
27183 if test -f conf.gtktest ; then
27184 :
27185 else
27186 echo "*** Could not run GTK test program, checking why..."
27187 CFLAGS="$CFLAGS $GTK_CFLAGS"
27188 LIBS="$LIBS $GTK_LIBS"
27189 cat >conftest.$ac_ext <<_ACEOF
27190 /* confdefs.h. */
27191 _ACEOF
27192 cat confdefs.h >>conftest.$ac_ext
27193 cat >>conftest.$ac_ext <<_ACEOF
27194 /* end confdefs.h. */
27195
27196 #include <gtk/gtk.h>
27197 #include <stdio.h>
27198
27199 int
27200 main ()
27201 {
27202 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
27203 ;
27204 return 0;
27205 }
27206 _ACEOF
27207 rm -f conftest.$ac_objext conftest$ac_exeext
27208 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27209 (eval $ac_link) 2>conftest.er1
27210 ac_status=$?
27211 grep -v '^ *+' conftest.er1 >conftest.err
27212 rm -f conftest.er1
27213 cat conftest.err >&5
27214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27215 (exit $ac_status); } &&
27216 { ac_try='test -z "$ac_c_werror_flag"
27217 || test ! -s conftest.err'
27218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27219 (eval $ac_try) 2>&5
27220 ac_status=$?
27221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27222 (exit $ac_status); }; } &&
27223 { ac_try='test -s conftest$ac_exeext'
27224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27225 (eval $ac_try) 2>&5
27226 ac_status=$?
27227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27228 (exit $ac_status); }; }; then
27229 echo "*** The test program compiled, but did not run. This usually means"
27230 echo "*** that the run-time linker is not finding GTK or finding the wrong"
27231 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
27232 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
27233 echo "*** to the installed location Also, make sure you have run ldconfig if that"
27234 echo "*** is required on your system"
27235 echo "***"
27236 echo "*** If you have an old version installed, it is best to remove it, although"
27237 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
27238 echo "***"
27239 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
27240 echo "*** came with the system with the command"
27241 echo "***"
27242 echo "*** rpm --erase --nodeps gtk gtk-devel"
27243 else
27244 echo "$as_me: failed program was:" >&5
27245 sed 's/^/| /' conftest.$ac_ext >&5
27246
27247 echo "*** The test program failed to compile or link. See the file config.log for the"
27248 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
27249 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
27250 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
27251 fi
27252 rm -f conftest.err conftest.$ac_objext \
27253 conftest$ac_exeext conftest.$ac_ext
27254 CFLAGS="$ac_save_CFLAGS"
27255 LIBS="$ac_save_LIBS"
27256 fi
27257 fi
27258 GTK_CFLAGS=""
27259 GTK_LIBS=""
27260 :
27261 fi
27262
27263
27264 rm -f conf.gtktest
27265
27266 fi
27267 fi
27268 fi
27269
27270 if test -z "$wx_cv_lib_gtk"; then
27271 wx_cv_lib_gtk=none
27272 else
27273 wx_cv_cflags_gtk=$GTK_CFLAGS
27274 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's/ -l[^ ]*cairo[^ ]*//g'`
27275 fi
27276
27277
27278 fi
27279
27280
27281 if test "$gtk_version_cached" = 1; then
27282 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
27283 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
27284 fi
27285
27286 case "$wx_cv_lib_gtk" in
27287 2.0) WXGTK20=1
27288 TOOLKIT_VERSION=2
27289 ;;
27290 1.2.7) WXGTK127=1
27291 WXGTK12=1
27292 ;;
27293 1.2.3) WXGTK12=1
27294 ;;
27295 *) { { echo "$as_me:$LINENO: error:
27296 The development files for GTK+ were not found. For GTK+ 2, please
27297 ensure that pkg-config is in the path and that gtk+-2.0.pc is
27298 installed. For GTK+ 1.2 please check that gtk-config is in the path,
27299 and that the version is 1.2.3 or above. Also check that the
27300 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
27301 --libs' are in the LD_LIBRARY_PATH or equivalent.
27302 " >&5
27303 echo "$as_me: error:
27304 The development files for GTK+ were not found. For GTK+ 2, please
27305 ensure that pkg-config is in the path and that gtk+-2.0.pc is
27306 installed. For GTK+ 1.2 please check that gtk-config is in the path,
27307 and that the version is 1.2.3 or above. Also check that the
27308 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
27309 --libs' are in the LD_LIBRARY_PATH or equivalent.
27310 " >&2;}
27311 { (exit 1); exit 1; }; }
27312 ;;
27313 esac
27314
27315 if test "$WXGTK20" = 1; then
27316 save_CFLAGS="$CFLAGS"
27317 save_LIBS="$LIBS"
27318 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
27319 LIBS="$LIBS $wx_cv_libs_gtk"
27320
27321 echo "$as_me:$LINENO: checking if gtk_icon_size_lookup is missing" >&5
27322 echo $ECHO_N "checking if gtk_icon_size_lookup is missing... $ECHO_C" >&6
27323 cat >conftest.$ac_ext <<_ACEOF
27324 /* confdefs.h. */
27325 _ACEOF
27326 cat confdefs.h >>conftest.$ac_ext
27327 cat >>conftest.$ac_ext <<_ACEOF
27328 /* end confdefs.h. */
27329
27330 #include <gtk/gtk.h>
27331
27332 int
27333 main ()
27334 {
27335
27336 void *f = gtk_icon_size_lookup;
27337
27338 ;
27339 return 0;
27340 }
27341 _ACEOF
27342 rm -f conftest.$ac_objext
27343 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27344 (eval $ac_compile) 2>conftest.er1
27345 ac_status=$?
27346 grep -v '^ *+' conftest.er1 >conftest.err
27347 rm -f conftest.er1
27348 cat conftest.err >&5
27349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27350 (exit $ac_status); } &&
27351 { ac_try='test -z "$ac_c_werror_flag"
27352 || test ! -s conftest.err'
27353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27354 (eval $ac_try) 2>&5
27355 ac_status=$?
27356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27357 (exit $ac_status); }; } &&
27358 { ac_try='test -s conftest.$ac_objext'
27359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27360 (eval $ac_try) 2>&5
27361 ac_status=$?
27362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27363 (exit $ac_status); }; }; then
27364
27365 echo "$as_me:$LINENO: result: no" >&5
27366 echo "${ECHO_T}no" >&6
27367
27368 else
27369 echo "$as_me: failed program was:" >&5
27370 sed 's/^/| /' conftest.$ac_ext >&5
27371
27372
27373 cat >>confdefs.h <<\_ACEOF
27374 #define NEED_GTK_ICON_SIZE_LOOKUP 1
27375 _ACEOF
27376
27377 echo "$as_me:$LINENO: result: yes" >&5
27378 echo "${ECHO_T}yes" >&6
27379
27380 fi
27381 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27382
27383 echo "$as_me:$LINENO: checking if GTK+ is version >= 2.4" >&5
27384 echo $ECHO_N "checking if GTK+ is version >= 2.4... $ECHO_C" >&6
27385 cat >conftest.$ac_ext <<_ACEOF
27386 /* confdefs.h. */
27387 _ACEOF
27388 cat confdefs.h >>conftest.$ac_ext
27389 cat >>conftest.$ac_ext <<_ACEOF
27390 /* end confdefs.h. */
27391
27392 #include <gtk/gtk.h>
27393
27394 int
27395 main ()
27396 {
27397
27398 #if !GTK_CHECK_VERSION(2,4,0)
27399 Not GTK+ 2.4
27400 #endif
27401
27402 ;
27403 return 0;
27404 }
27405 _ACEOF
27406 rm -f conftest.$ac_objext
27407 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27408 (eval $ac_compile) 2>conftest.er1
27409 ac_status=$?
27410 grep -v '^ *+' conftest.er1 >conftest.err
27411 rm -f conftest.er1
27412 cat conftest.err >&5
27413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27414 (exit $ac_status); } &&
27415 { ac_try='test -z "$ac_c_werror_flag"
27416 || test ! -s conftest.err'
27417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27418 (eval $ac_try) 2>&5
27419 ac_status=$?
27420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27421 (exit $ac_status); }; } &&
27422 { ac_try='test -s conftest.$ac_objext'
27423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27424 (eval $ac_try) 2>&5
27425 ac_status=$?
27426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27427 (exit $ac_status); }; }; then
27428
27429 cat >>confdefs.h <<\_ACEOF
27430 #define __WXGTK24__ 1
27431 _ACEOF
27432
27433 echo "$as_me:$LINENO: result: yes" >&5
27434 echo "${ECHO_T}yes" >&6
27435
27436 else
27437 echo "$as_me: failed program was:" >&5
27438 sed 's/^/| /' conftest.$ac_ext >&5
27439
27440
27441 echo "$as_me:$LINENO: result: no" >&5
27442 echo "${ECHO_T}no" >&6
27443
27444 fi
27445 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27446
27447 CFLAGS="$save_CFLAGS"
27448 LIBS="$save_LIBS"
27449 else
27450 if test "$wxUSE_UNICODE" = "yes"; then
27451 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
27452 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
27453 wxUSE_UNICODE=no
27454 fi
27455 fi
27456
27457 if test "$USE_DARWIN" != 1; then
27458
27459 for ac_func in poll
27460 do
27461 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27462 echo "$as_me:$LINENO: checking for $ac_func" >&5
27463 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27464 if eval "test \"\${$as_ac_var+set}\" = set"; then
27465 echo $ECHO_N "(cached) $ECHO_C" >&6
27466 else
27467 cat >conftest.$ac_ext <<_ACEOF
27468 /* confdefs.h. */
27469 _ACEOF
27470 cat confdefs.h >>conftest.$ac_ext
27471 cat >>conftest.$ac_ext <<_ACEOF
27472 /* end confdefs.h. */
27473 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27474 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27475 #define $ac_func innocuous_$ac_func
27476
27477 /* System header to define __stub macros and hopefully few prototypes,
27478 which can conflict with char $ac_func (); below.
27479 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27480 <limits.h> exists even on freestanding compilers. */
27481
27482 #ifdef __STDC__
27483 # include <limits.h>
27484 #else
27485 # include <assert.h>
27486 #endif
27487
27488 #undef $ac_func
27489
27490 /* Override any gcc2 internal prototype to avoid an error. */
27491 #ifdef __cplusplus
27492 extern "C"
27493 {
27494 #endif
27495 /* We use char because int might match the return type of a gcc2
27496 builtin and then its argument prototype would still apply. */
27497 char $ac_func ();
27498 /* The GNU C library defines this for functions which it implements
27499 to always fail with ENOSYS. Some functions are actually named
27500 something starting with __ and the normal name is an alias. */
27501 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27502 choke me
27503 #else
27504 char (*f) () = $ac_func;
27505 #endif
27506 #ifdef __cplusplus
27507 }
27508 #endif
27509
27510 int
27511 main ()
27512 {
27513 return f != $ac_func;
27514 ;
27515 return 0;
27516 }
27517 _ACEOF
27518 rm -f conftest.$ac_objext conftest$ac_exeext
27519 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27520 (eval $ac_link) 2>conftest.er1
27521 ac_status=$?
27522 grep -v '^ *+' conftest.er1 >conftest.err
27523 rm -f conftest.er1
27524 cat conftest.err >&5
27525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27526 (exit $ac_status); } &&
27527 { ac_try='test -z "$ac_c_werror_flag"
27528 || test ! -s conftest.err'
27529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27530 (eval $ac_try) 2>&5
27531 ac_status=$?
27532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27533 (exit $ac_status); }; } &&
27534 { ac_try='test -s conftest$ac_exeext'
27535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27536 (eval $ac_try) 2>&5
27537 ac_status=$?
27538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27539 (exit $ac_status); }; }; then
27540 eval "$as_ac_var=yes"
27541 else
27542 echo "$as_me: failed program was:" >&5
27543 sed 's/^/| /' conftest.$ac_ext >&5
27544
27545 eval "$as_ac_var=no"
27546 fi
27547 rm -f conftest.err conftest.$ac_objext \
27548 conftest$ac_exeext conftest.$ac_ext
27549 fi
27550 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27551 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27552 if test `eval echo '${'$as_ac_var'}'` = yes; then
27553 cat >>confdefs.h <<_ACEOF
27554 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27555 _ACEOF
27556
27557 fi
27558 done
27559
27560 fi
27561
27562 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
27563 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
27564
27565 AFMINSTALL=afminstall
27566 TOOLKIT=GTK
27567 GUIDIST=GTK_DIST
27568
27569 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
27570 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
27571 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
27572 echo $ECHO_N "(cached) $ECHO_C" >&6
27573 else
27574 ac_check_lib_save_LIBS=$LIBS
27575 LIBS="-lgdk $LIBS"
27576 cat >conftest.$ac_ext <<_ACEOF
27577 /* confdefs.h. */
27578 _ACEOF
27579 cat confdefs.h >>conftest.$ac_ext
27580 cat >>conftest.$ac_ext <<_ACEOF
27581 /* end confdefs.h. */
27582
27583 /* Override any gcc2 internal prototype to avoid an error. */
27584 #ifdef __cplusplus
27585 extern "C"
27586 #endif
27587 /* We use char because int might match the return type of a gcc2
27588 builtin and then its argument prototype would still apply. */
27589 char gdk_im_open ();
27590 int
27591 main ()
27592 {
27593 gdk_im_open ();
27594 ;
27595 return 0;
27596 }
27597 _ACEOF
27598 rm -f conftest.$ac_objext conftest$ac_exeext
27599 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27600 (eval $ac_link) 2>conftest.er1
27601 ac_status=$?
27602 grep -v '^ *+' conftest.er1 >conftest.err
27603 rm -f conftest.er1
27604 cat conftest.err >&5
27605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27606 (exit $ac_status); } &&
27607 { ac_try='test -z "$ac_c_werror_flag"
27608 || test ! -s conftest.err'
27609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27610 (eval $ac_try) 2>&5
27611 ac_status=$?
27612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27613 (exit $ac_status); }; } &&
27614 { ac_try='test -s conftest$ac_exeext'
27615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27616 (eval $ac_try) 2>&5
27617 ac_status=$?
27618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27619 (exit $ac_status); }; }; then
27620 ac_cv_lib_gdk_gdk_im_open=yes
27621 else
27622 echo "$as_me: failed program was:" >&5
27623 sed 's/^/| /' conftest.$ac_ext >&5
27624
27625 ac_cv_lib_gdk_gdk_im_open=no
27626 fi
27627 rm -f conftest.err conftest.$ac_objext \
27628 conftest$ac_exeext conftest.$ac_ext
27629 LIBS=$ac_check_lib_save_LIBS
27630 fi
27631 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
27632 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
27633 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
27634 cat >>confdefs.h <<\_ACEOF
27635 #define HAVE_XIM 1
27636 _ACEOF
27637
27638 fi
27639
27640
27641
27642 if test "$wxUSE_GPE" = "yes"; then
27643 echo "$as_me:$LINENO: checking for gpewidget library" >&5
27644 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6
27645
27646 ac_find_libraries=
27647 for ac_dir in $SEARCH_LIB;
27648 do
27649 for ac_extension in a so sl dylib dll.a; do
27650 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
27651 ac_find_libraries=$ac_dir
27652 break 2
27653 fi
27654 done
27655 done
27656
27657 if test "$ac_find_libraries" != "" ; then
27658
27659 if test "$ac_find_libraries" = "default location"; then
27660 ac_path_to_link=""
27661 else
27662 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
27663 result=$?
27664 if test $result = 0; then
27665 ac_path_to_link=""
27666 else
27667 ac_path_to_link=" -L$ac_find_libraries"
27668 fi
27669 fi
27670
27671 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
27672 WXGPE=1
27673 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
27674 echo "${ECHO_T}found in $ac_find_libraries" >&6
27675 else
27676 echo "$as_me:$LINENO: result: not found" >&5
27677 echo "${ECHO_T}not found" >&6
27678 fi
27679
27680 fi
27681 fi
27682
27683 if test "$wxUSE_MGL" = 1; then
27684 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
27685 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
27686 if test "x$MGL_ROOT" = x ; then
27687 echo "$as_me:$LINENO: result: not found" >&5
27688 echo "${ECHO_T}not found" >&6
27689 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
27690 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
27691 { (exit 1); exit 1; }; }
27692 else
27693 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
27694 echo "${ECHO_T}$MGL_ROOT" >&6
27695 fi
27696
27697 echo "$as_me:$LINENO: checking for libmgl location" >&5
27698 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
27699 case "${host}" in
27700 *-*-linux* )
27701 if test "x$wxUSE_SHARED" = xyes ; then
27702 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
27703 else
27704 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
27705 fi
27706 ;;
27707 *-pc-msdosdjgpp )
27708 mgl_os_candidates="dos32/dj2"
27709 ;;
27710 *)
27711 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
27712 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
27713 { (exit 1); exit 1; }; }
27714 esac
27715
27716 mgl_lib_type=""
27717 mgl_os=""
27718
27719 for mgl_os_i in $mgl_os_candidates ; do
27720 if test "x$mgl_os" = x ; then
27721 if test "$wxUSE_DEBUG_FLAG" = yes ; then
27722 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
27723 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
27724 mgl_lib_type=debug
27725 mgl_os=$mgl_os_i
27726 fi
27727 fi
27728 if test "x$mgl_lib_type" = x ; then
27729 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
27730 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
27731 mgl_lib_type=release
27732 mgl_os=$mgl_os_i
27733 fi
27734 fi
27735 fi
27736 done
27737
27738 if test "x$mgl_os" = x ; then
27739 echo "$as_me:$LINENO: result: not found" >&5
27740 echo "${ECHO_T}not found" >&6
27741 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
27742 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
27743 { (exit 1); exit 1; }; }
27744 fi
27745 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
27746 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
27747
27748 wxUSE_UNIVERSAL="yes"
27749
27750 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
27751 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
27752
27753 AFMINSTALL=afminstall
27754 TOOLKIT=MGL
27755 GUIDIST=MGL_DIST
27756 fi
27757
27758 if test "$wxUSE_MICROWIN" = 1; then
27759 echo "$as_me:$LINENO: checking for MicroWindows" >&5
27760 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
27761 if test "x$MICROWINDOWS" = x ; then
27762 echo "$as_me:$LINENO: result: not found" >&5
27763 echo "${ECHO_T}not found" >&6
27764 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
27765 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
27766 { (exit 1); exit 1; }; }
27767 else
27768 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
27769 echo "${ECHO_T}$MICROWINDOWS" >&6
27770 fi
27771
27772 if test -f $MICROWINDOWS/lib/libmwin.a; then
27773 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
27774 echo "${ECHO_T}MicroWindows' libraries found." >&6
27775 else
27776 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
27777 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
27778 { (exit 1); exit 1; }; }
27779 fi
27780
27781 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
27782 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
27783
27784 wxUSE_UNIVERSAL="yes"
27785
27786 AFMINSTALL=afminstall
27787 TOOLKIT=MICROWIN
27788 GUIDIST=MICROWIN_DIST
27789
27790 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
27791 fi
27792
27793 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
27794 echo "$as_me:$LINENO: checking for X" >&5
27795 echo $ECHO_N "checking for X... $ECHO_C" >&6
27796
27797
27798 # Check whether --with-x or --without-x was given.
27799 if test "${with_x+set}" = set; then
27800 withval="$with_x"
27801
27802 fi;
27803 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
27804 if test "x$with_x" = xno; then
27805 # The user explicitly disabled X.
27806 have_x=disabled
27807 else
27808 if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then
27809 # Both variables are already set.
27810 have_x=yes
27811 else
27812 if test "${ac_cv_have_x+set}" = set; then
27813 echo $ECHO_N "(cached) $ECHO_C" >&6
27814 else
27815 # One or both of the vars are not set, and there is no cached value.
27816 ac_x_includes=no ac_x_libraries=no
27817 rm -fr conftest.dir
27818 if mkdir conftest.dir; then
27819 cd conftest.dir
27820 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
27821 cat >Imakefile <<'_ACEOF'
27822 acfindx:
27823 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
27824 _ACEOF
27825 if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
27826 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
27827 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
27828 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
27829 for ac_extension in a so sl; do
27830 if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
27831 test -f $ac_im_libdir/libX11.$ac_extension; then
27832 ac_im_usrlibdir=$ac_im_libdir; break
27833 fi
27834 done
27835 # Screen out bogus values from the imake configuration. They are
27836 # bogus both because they are the default anyway, and because
27837 # using them would break gcc on systems where it needs fixed includes.
27838 case $ac_im_incroot in
27839 /usr/include) ;;
27840 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
27841 esac
27842 case $ac_im_usrlibdir in
27843 /usr/lib | /lib) ;;
27844 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
27845 esac
27846 fi
27847 cd ..
27848 rm -fr conftest.dir
27849 fi
27850
27851 # Standard set of common directories for X headers.
27852 # Check X11 before X11Rn because it is often a symlink to the current release.
27853 ac_x_header_dirs='
27854 /usr/X11/include
27855 /usr/X11R6/include
27856 /usr/X11R5/include
27857 /usr/X11R4/include
27858
27859 /usr/include/X11
27860 /usr/include/X11R6
27861 /usr/include/X11R5
27862 /usr/include/X11R4
27863
27864 /usr/local/X11/include
27865 /usr/local/X11R6/include
27866 /usr/local/X11R5/include
27867 /usr/local/X11R4/include
27868
27869 /usr/local/include/X11
27870 /usr/local/include/X11R6
27871 /usr/local/include/X11R5
27872 /usr/local/include/X11R4
27873
27874 /usr/X386/include
27875 /usr/x386/include
27876 /usr/XFree86/include/X11
27877
27878 /usr/include
27879 /usr/local/include
27880 /usr/unsupported/include
27881 /usr/athena/include
27882 /usr/local/x11r5/include
27883 /usr/lpp/Xamples/include
27884
27885 /usr/openwin/include
27886 /usr/openwin/share/include'
27887
27888 if test "$ac_x_includes" = no; then
27889 # Guess where to find include files, by looking for Intrinsic.h.
27890 # First, try using that file with no special directory specified.
27891 cat >conftest.$ac_ext <<_ACEOF
27892 /* confdefs.h. */
27893 _ACEOF
27894 cat confdefs.h >>conftest.$ac_ext
27895 cat >>conftest.$ac_ext <<_ACEOF
27896 /* end confdefs.h. */
27897 #include <X11/Intrinsic.h>
27898 _ACEOF
27899 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27900 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
27901 ac_status=$?
27902 grep -v '^ *+' conftest.er1 >conftest.err
27903 rm -f conftest.er1
27904 cat conftest.err >&5
27905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27906 (exit $ac_status); } >/dev/null; then
27907 if test -s conftest.err; then
27908 ac_cpp_err=$ac_c_preproc_warn_flag
27909 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
27910 else
27911 ac_cpp_err=
27912 fi
27913 else
27914 ac_cpp_err=yes
27915 fi
27916 if test -z "$ac_cpp_err"; then
27917 # We can compile using X headers with no special include directory.
27918 ac_x_includes=
27919 else
27920 echo "$as_me: failed program was:" >&5
27921 sed 's/^/| /' conftest.$ac_ext >&5
27922
27923 for ac_dir in $ac_x_header_dirs; do
27924 if test -r "$ac_dir/X11/Intrinsic.h"; then
27925 ac_x_includes=$ac_dir
27926 break
27927 fi
27928 done
27929 fi
27930 rm -f conftest.err conftest.$ac_ext
27931 fi # $ac_x_includes = no
27932
27933 if test "$ac_x_libraries" = no; then
27934 # Check for the libraries.
27935 # See if we find them without any special options.
27936 # Don't add to $LIBS permanently.
27937 ac_save_LIBS=$LIBS
27938 LIBS="-lXt $LIBS"
27939 cat >conftest.$ac_ext <<_ACEOF
27940 /* confdefs.h. */
27941 _ACEOF
27942 cat confdefs.h >>conftest.$ac_ext
27943 cat >>conftest.$ac_ext <<_ACEOF
27944 /* end confdefs.h. */
27945 #include <X11/Intrinsic.h>
27946 int
27947 main ()
27948 {
27949 XtMalloc (0)
27950 ;
27951 return 0;
27952 }
27953 _ACEOF
27954 rm -f conftest.$ac_objext conftest$ac_exeext
27955 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27956 (eval $ac_link) 2>conftest.er1
27957 ac_status=$?
27958 grep -v '^ *+' conftest.er1 >conftest.err
27959 rm -f conftest.er1
27960 cat conftest.err >&5
27961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27962 (exit $ac_status); } &&
27963 { ac_try='test -z "$ac_c_werror_flag"
27964 || test ! -s conftest.err'
27965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27966 (eval $ac_try) 2>&5
27967 ac_status=$?
27968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27969 (exit $ac_status); }; } &&
27970 { ac_try='test -s conftest$ac_exeext'
27971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27972 (eval $ac_try) 2>&5
27973 ac_status=$?
27974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27975 (exit $ac_status); }; }; then
27976 LIBS=$ac_save_LIBS
27977 # We can link X programs with no special library path.
27978 ac_x_libraries=
27979 else
27980 echo "$as_me: failed program was:" >&5
27981 sed 's/^/| /' conftest.$ac_ext >&5
27982
27983 LIBS=$ac_save_LIBS
27984 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
27985 do
27986 # Don't even attempt the hair of trying to link an X program!
27987 for ac_extension in a so sl; do
27988 if test -r $ac_dir/libXt.$ac_extension; then
27989 ac_x_libraries=$ac_dir
27990 break 2
27991 fi
27992 done
27993 done
27994 fi
27995 rm -f conftest.err conftest.$ac_objext \
27996 conftest$ac_exeext conftest.$ac_ext
27997 fi # $ac_x_libraries = no
27998
27999 if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then
28000 # Didn't find X anywhere. Cache the known absence of X.
28001 ac_cv_have_x="have_x=no"
28002 else
28003 # Record where we found X for the cache.
28004 ac_cv_have_x="have_x=yes \
28005 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
28006 fi
28007 fi
28008
28009 fi
28010 eval "$ac_cv_have_x"
28011 fi # $with_x != no
28012
28013 if test "$have_x" != yes; then
28014 echo "$as_me:$LINENO: result: $have_x" >&5
28015 echo "${ECHO_T}$have_x" >&6
28016 no_x=yes
28017 else
28018 # If each of the values was on the command line, it overrides each guess.
28019 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
28020 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
28021 # Update the cache value to reflect the command line values.
28022 ac_cv_have_x="have_x=yes \
28023 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
28024 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
28025 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
28026 fi
28027
28028 if test "$no_x" = yes; then
28029 # Not all programs may use this symbol, but it does not hurt to define it.
28030
28031 cat >>confdefs.h <<\_ACEOF
28032 #define X_DISPLAY_MISSING 1
28033 _ACEOF
28034
28035 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
28036 else
28037 if test -n "$x_includes"; then
28038 X_CFLAGS="$X_CFLAGS -I$x_includes"
28039 fi
28040
28041 # It would also be nice to do this for all -L options, not just this one.
28042 if test -n "$x_libraries"; then
28043 X_LIBS="$X_LIBS -L$x_libraries"
28044 # For Solaris; some versions of Sun CC require a space after -R and
28045 # others require no space. Words are not sufficient . . . .
28046 case `(uname -sr) 2>/dev/null` in
28047 "SunOS 5"*)
28048 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
28049 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
28050 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
28051 cat >conftest.$ac_ext <<_ACEOF
28052 /* confdefs.h. */
28053 _ACEOF
28054 cat confdefs.h >>conftest.$ac_ext
28055 cat >>conftest.$ac_ext <<_ACEOF
28056 /* end confdefs.h. */
28057
28058 int
28059 main ()
28060 {
28061
28062 ;
28063 return 0;
28064 }
28065 _ACEOF
28066 rm -f conftest.$ac_objext conftest$ac_exeext
28067 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28068 (eval $ac_link) 2>conftest.er1
28069 ac_status=$?
28070 grep -v '^ *+' conftest.er1 >conftest.err
28071 rm -f conftest.er1
28072 cat conftest.err >&5
28073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28074 (exit $ac_status); } &&
28075 { ac_try='test -z "$ac_c_werror_flag"
28076 || test ! -s conftest.err'
28077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28078 (eval $ac_try) 2>&5
28079 ac_status=$?
28080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28081 (exit $ac_status); }; } &&
28082 { ac_try='test -s conftest$ac_exeext'
28083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28084 (eval $ac_try) 2>&5
28085 ac_status=$?
28086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28087 (exit $ac_status); }; }; then
28088 ac_R_nospace=yes
28089 else
28090 echo "$as_me: failed program was:" >&5
28091 sed 's/^/| /' conftest.$ac_ext >&5
28092
28093 ac_R_nospace=no
28094 fi
28095 rm -f conftest.err conftest.$ac_objext \
28096 conftest$ac_exeext conftest.$ac_ext
28097 if test $ac_R_nospace = yes; then
28098 echo "$as_me:$LINENO: result: no" >&5
28099 echo "${ECHO_T}no" >&6
28100 X_LIBS="$X_LIBS -R$x_libraries"
28101 else
28102 LIBS="$ac_xsave_LIBS -R $x_libraries"
28103 cat >conftest.$ac_ext <<_ACEOF
28104 /* confdefs.h. */
28105 _ACEOF
28106 cat confdefs.h >>conftest.$ac_ext
28107 cat >>conftest.$ac_ext <<_ACEOF
28108 /* end confdefs.h. */
28109
28110 int
28111 main ()
28112 {
28113
28114 ;
28115 return 0;
28116 }
28117 _ACEOF
28118 rm -f conftest.$ac_objext conftest$ac_exeext
28119 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28120 (eval $ac_link) 2>conftest.er1
28121 ac_status=$?
28122 grep -v '^ *+' conftest.er1 >conftest.err
28123 rm -f conftest.er1
28124 cat conftest.err >&5
28125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28126 (exit $ac_status); } &&
28127 { ac_try='test -z "$ac_c_werror_flag"
28128 || test ! -s conftest.err'
28129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28130 (eval $ac_try) 2>&5
28131 ac_status=$?
28132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28133 (exit $ac_status); }; } &&
28134 { ac_try='test -s conftest$ac_exeext'
28135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28136 (eval $ac_try) 2>&5
28137 ac_status=$?
28138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28139 (exit $ac_status); }; }; then
28140 ac_R_space=yes
28141 else
28142 echo "$as_me: failed program was:" >&5
28143 sed 's/^/| /' conftest.$ac_ext >&5
28144
28145 ac_R_space=no
28146 fi
28147 rm -f conftest.err conftest.$ac_objext \
28148 conftest$ac_exeext conftest.$ac_ext
28149 if test $ac_R_space = yes; then
28150 echo "$as_me:$LINENO: result: yes" >&5
28151 echo "${ECHO_T}yes" >&6
28152 X_LIBS="$X_LIBS -R $x_libraries"
28153 else
28154 echo "$as_me:$LINENO: result: neither works" >&5
28155 echo "${ECHO_T}neither works" >&6
28156 fi
28157 fi
28158 LIBS=$ac_xsave_LIBS
28159 esac
28160 fi
28161
28162 # Check for system-dependent libraries X programs must link with.
28163 # Do this before checking for the system-independent R6 libraries
28164 # (-lICE), since we may need -lsocket or whatever for X linking.
28165
28166 if test "$ISC" = yes; then
28167 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
28168 else
28169 # Martyn Johnson says this is needed for Ultrix, if the X
28170 # libraries were built with DECnet support. And Karl Berry says
28171 # the Alpha needs dnet_stub (dnet does not exist).
28172 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
28173 cat >conftest.$ac_ext <<_ACEOF
28174 /* confdefs.h. */
28175 _ACEOF
28176 cat confdefs.h >>conftest.$ac_ext
28177 cat >>conftest.$ac_ext <<_ACEOF
28178 /* end confdefs.h. */
28179
28180 /* Override any gcc2 internal prototype to avoid an error. */
28181 #ifdef __cplusplus
28182 extern "C"
28183 #endif
28184 /* We use char because int might match the return type of a gcc2
28185 builtin and then its argument prototype would still apply. */
28186 char XOpenDisplay ();
28187 int
28188 main ()
28189 {
28190 XOpenDisplay ();
28191 ;
28192 return 0;
28193 }
28194 _ACEOF
28195 rm -f conftest.$ac_objext conftest$ac_exeext
28196 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28197 (eval $ac_link) 2>conftest.er1
28198 ac_status=$?
28199 grep -v '^ *+' conftest.er1 >conftest.err
28200 rm -f conftest.er1
28201 cat conftest.err >&5
28202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28203 (exit $ac_status); } &&
28204 { ac_try='test -z "$ac_c_werror_flag"
28205 || test ! -s conftest.err'
28206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28207 (eval $ac_try) 2>&5
28208 ac_status=$?
28209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28210 (exit $ac_status); }; } &&
28211 { ac_try='test -s conftest$ac_exeext'
28212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28213 (eval $ac_try) 2>&5
28214 ac_status=$?
28215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28216 (exit $ac_status); }; }; then
28217 :
28218 else
28219 echo "$as_me: failed program was:" >&5
28220 sed 's/^/| /' conftest.$ac_ext >&5
28221
28222 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
28223 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
28224 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
28225 echo $ECHO_N "(cached) $ECHO_C" >&6
28226 else
28227 ac_check_lib_save_LIBS=$LIBS
28228 LIBS="-ldnet $LIBS"
28229 cat >conftest.$ac_ext <<_ACEOF
28230 /* confdefs.h. */
28231 _ACEOF
28232 cat confdefs.h >>conftest.$ac_ext
28233 cat >>conftest.$ac_ext <<_ACEOF
28234 /* end confdefs.h. */
28235
28236 /* Override any gcc2 internal prototype to avoid an error. */
28237 #ifdef __cplusplus
28238 extern "C"
28239 #endif
28240 /* We use char because int might match the return type of a gcc2
28241 builtin and then its argument prototype would still apply. */
28242 char dnet_ntoa ();
28243 int
28244 main ()
28245 {
28246 dnet_ntoa ();
28247 ;
28248 return 0;
28249 }
28250 _ACEOF
28251 rm -f conftest.$ac_objext conftest$ac_exeext
28252 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28253 (eval $ac_link) 2>conftest.er1
28254 ac_status=$?
28255 grep -v '^ *+' conftest.er1 >conftest.err
28256 rm -f conftest.er1
28257 cat conftest.err >&5
28258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28259 (exit $ac_status); } &&
28260 { ac_try='test -z "$ac_c_werror_flag"
28261 || test ! -s conftest.err'
28262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28263 (eval $ac_try) 2>&5
28264 ac_status=$?
28265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28266 (exit $ac_status); }; } &&
28267 { ac_try='test -s conftest$ac_exeext'
28268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28269 (eval $ac_try) 2>&5
28270 ac_status=$?
28271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28272 (exit $ac_status); }; }; then
28273 ac_cv_lib_dnet_dnet_ntoa=yes
28274 else
28275 echo "$as_me: failed program was:" >&5
28276 sed 's/^/| /' conftest.$ac_ext >&5
28277
28278 ac_cv_lib_dnet_dnet_ntoa=no
28279 fi
28280 rm -f conftest.err conftest.$ac_objext \
28281 conftest$ac_exeext conftest.$ac_ext
28282 LIBS=$ac_check_lib_save_LIBS
28283 fi
28284 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
28285 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
28286 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
28287 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
28288 fi
28289
28290 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
28291 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
28292 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
28293 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
28294 echo $ECHO_N "(cached) $ECHO_C" >&6
28295 else
28296 ac_check_lib_save_LIBS=$LIBS
28297 LIBS="-ldnet_stub $LIBS"
28298 cat >conftest.$ac_ext <<_ACEOF
28299 /* confdefs.h. */
28300 _ACEOF
28301 cat confdefs.h >>conftest.$ac_ext
28302 cat >>conftest.$ac_ext <<_ACEOF
28303 /* end confdefs.h. */
28304
28305 /* Override any gcc2 internal prototype to avoid an error. */
28306 #ifdef __cplusplus
28307 extern "C"
28308 #endif
28309 /* We use char because int might match the return type of a gcc2
28310 builtin and then its argument prototype would still apply. */
28311 char dnet_ntoa ();
28312 int
28313 main ()
28314 {
28315 dnet_ntoa ();
28316 ;
28317 return 0;
28318 }
28319 _ACEOF
28320 rm -f conftest.$ac_objext conftest$ac_exeext
28321 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28322 (eval $ac_link) 2>conftest.er1
28323 ac_status=$?
28324 grep -v '^ *+' conftest.er1 >conftest.err
28325 rm -f conftest.er1
28326 cat conftest.err >&5
28327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28328 (exit $ac_status); } &&
28329 { ac_try='test -z "$ac_c_werror_flag"
28330 || test ! -s conftest.err'
28331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28332 (eval $ac_try) 2>&5
28333 ac_status=$?
28334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28335 (exit $ac_status); }; } &&
28336 { ac_try='test -s conftest$ac_exeext'
28337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28338 (eval $ac_try) 2>&5
28339 ac_status=$?
28340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28341 (exit $ac_status); }; }; then
28342 ac_cv_lib_dnet_stub_dnet_ntoa=yes
28343 else
28344 echo "$as_me: failed program was:" >&5
28345 sed 's/^/| /' conftest.$ac_ext >&5
28346
28347 ac_cv_lib_dnet_stub_dnet_ntoa=no
28348 fi
28349 rm -f conftest.err conftest.$ac_objext \
28350 conftest$ac_exeext conftest.$ac_ext
28351 LIBS=$ac_check_lib_save_LIBS
28352 fi
28353 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
28354 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
28355 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
28356 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
28357 fi
28358
28359 fi
28360 fi
28361 rm -f conftest.err conftest.$ac_objext \
28362 conftest$ac_exeext conftest.$ac_ext
28363 LIBS="$ac_xsave_LIBS"
28364
28365 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
28366 # to get the SysV transport functions.
28367 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
28368 # needs -lnsl.
28369 # The nsl library prevents programs from opening the X display
28370 # on Irix 5.2, according to T.E. Dickey.
28371 # The functions gethostbyname, getservbyname, and inet_addr are
28372 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
28373 echo "$as_me:$LINENO: checking for gethostbyname" >&5
28374 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
28375 if test "${ac_cv_func_gethostbyname+set}" = set; then
28376 echo $ECHO_N "(cached) $ECHO_C" >&6
28377 else
28378 cat >conftest.$ac_ext <<_ACEOF
28379 /* confdefs.h. */
28380 _ACEOF
28381 cat confdefs.h >>conftest.$ac_ext
28382 cat >>conftest.$ac_ext <<_ACEOF
28383 /* end confdefs.h. */
28384 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
28385 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28386 #define gethostbyname innocuous_gethostbyname
28387
28388 /* System header to define __stub macros and hopefully few prototypes,
28389 which can conflict with char gethostbyname (); below.
28390 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28391 <limits.h> exists even on freestanding compilers. */
28392
28393 #ifdef __STDC__
28394 # include <limits.h>
28395 #else
28396 # include <assert.h>
28397 #endif
28398
28399 #undef gethostbyname
28400
28401 /* Override any gcc2 internal prototype to avoid an error. */
28402 #ifdef __cplusplus
28403 extern "C"
28404 {
28405 #endif
28406 /* We use char because int might match the return type of a gcc2
28407 builtin and then its argument prototype would still apply. */
28408 char gethostbyname ();
28409 /* The GNU C library defines this for functions which it implements
28410 to always fail with ENOSYS. Some functions are actually named
28411 something starting with __ and the normal name is an alias. */
28412 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
28413 choke me
28414 #else
28415 char (*f) () = gethostbyname;
28416 #endif
28417 #ifdef __cplusplus
28418 }
28419 #endif
28420
28421 int
28422 main ()
28423 {
28424 return f != gethostbyname;
28425 ;
28426 return 0;
28427 }
28428 _ACEOF
28429 rm -f conftest.$ac_objext conftest$ac_exeext
28430 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28431 (eval $ac_link) 2>conftest.er1
28432 ac_status=$?
28433 grep -v '^ *+' conftest.er1 >conftest.err
28434 rm -f conftest.er1
28435 cat conftest.err >&5
28436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28437 (exit $ac_status); } &&
28438 { ac_try='test -z "$ac_c_werror_flag"
28439 || test ! -s conftest.err'
28440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28441 (eval $ac_try) 2>&5
28442 ac_status=$?
28443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28444 (exit $ac_status); }; } &&
28445 { ac_try='test -s conftest$ac_exeext'
28446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28447 (eval $ac_try) 2>&5
28448 ac_status=$?
28449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28450 (exit $ac_status); }; }; then
28451 ac_cv_func_gethostbyname=yes
28452 else
28453 echo "$as_me: failed program was:" >&5
28454 sed 's/^/| /' conftest.$ac_ext >&5
28455
28456 ac_cv_func_gethostbyname=no
28457 fi
28458 rm -f conftest.err conftest.$ac_objext \
28459 conftest$ac_exeext conftest.$ac_ext
28460 fi
28461 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
28462 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
28463
28464 if test $ac_cv_func_gethostbyname = no; then
28465 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
28466 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
28467 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
28468 echo $ECHO_N "(cached) $ECHO_C" >&6
28469 else
28470 ac_check_lib_save_LIBS=$LIBS
28471 LIBS="-lnsl $LIBS"
28472 cat >conftest.$ac_ext <<_ACEOF
28473 /* confdefs.h. */
28474 _ACEOF
28475 cat confdefs.h >>conftest.$ac_ext
28476 cat >>conftest.$ac_ext <<_ACEOF
28477 /* end confdefs.h. */
28478
28479 /* Override any gcc2 internal prototype to avoid an error. */
28480 #ifdef __cplusplus
28481 extern "C"
28482 #endif
28483 /* We use char because int might match the return type of a gcc2
28484 builtin and then its argument prototype would still apply. */
28485 char gethostbyname ();
28486 int
28487 main ()
28488 {
28489 gethostbyname ();
28490 ;
28491 return 0;
28492 }
28493 _ACEOF
28494 rm -f conftest.$ac_objext conftest$ac_exeext
28495 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28496 (eval $ac_link) 2>conftest.er1
28497 ac_status=$?
28498 grep -v '^ *+' conftest.er1 >conftest.err
28499 rm -f conftest.er1
28500 cat conftest.err >&5
28501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28502 (exit $ac_status); } &&
28503 { ac_try='test -z "$ac_c_werror_flag"
28504 || test ! -s conftest.err'
28505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28506 (eval $ac_try) 2>&5
28507 ac_status=$?
28508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28509 (exit $ac_status); }; } &&
28510 { ac_try='test -s conftest$ac_exeext'
28511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28512 (eval $ac_try) 2>&5
28513 ac_status=$?
28514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28515 (exit $ac_status); }; }; then
28516 ac_cv_lib_nsl_gethostbyname=yes
28517 else
28518 echo "$as_me: failed program was:" >&5
28519 sed 's/^/| /' conftest.$ac_ext >&5
28520
28521 ac_cv_lib_nsl_gethostbyname=no
28522 fi
28523 rm -f conftest.err conftest.$ac_objext \
28524 conftest$ac_exeext conftest.$ac_ext
28525 LIBS=$ac_check_lib_save_LIBS
28526 fi
28527 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
28528 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
28529 if test $ac_cv_lib_nsl_gethostbyname = yes; then
28530 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
28531 fi
28532
28533 if test $ac_cv_lib_nsl_gethostbyname = no; then
28534 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
28535 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
28536 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
28537 echo $ECHO_N "(cached) $ECHO_C" >&6
28538 else
28539 ac_check_lib_save_LIBS=$LIBS
28540 LIBS="-lbsd $LIBS"
28541 cat >conftest.$ac_ext <<_ACEOF
28542 /* confdefs.h. */
28543 _ACEOF
28544 cat confdefs.h >>conftest.$ac_ext
28545 cat >>conftest.$ac_ext <<_ACEOF
28546 /* end confdefs.h. */
28547
28548 /* Override any gcc2 internal prototype to avoid an error. */
28549 #ifdef __cplusplus
28550 extern "C"
28551 #endif
28552 /* We use char because int might match the return type of a gcc2
28553 builtin and then its argument prototype would still apply. */
28554 char gethostbyname ();
28555 int
28556 main ()
28557 {
28558 gethostbyname ();
28559 ;
28560 return 0;
28561 }
28562 _ACEOF
28563 rm -f conftest.$ac_objext conftest$ac_exeext
28564 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28565 (eval $ac_link) 2>conftest.er1
28566 ac_status=$?
28567 grep -v '^ *+' conftest.er1 >conftest.err
28568 rm -f conftest.er1
28569 cat conftest.err >&5
28570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28571 (exit $ac_status); } &&
28572 { ac_try='test -z "$ac_c_werror_flag"
28573 || test ! -s conftest.err'
28574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28575 (eval $ac_try) 2>&5
28576 ac_status=$?
28577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28578 (exit $ac_status); }; } &&
28579 { ac_try='test -s conftest$ac_exeext'
28580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28581 (eval $ac_try) 2>&5
28582 ac_status=$?
28583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28584 (exit $ac_status); }; }; then
28585 ac_cv_lib_bsd_gethostbyname=yes
28586 else
28587 echo "$as_me: failed program was:" >&5
28588 sed 's/^/| /' conftest.$ac_ext >&5
28589
28590 ac_cv_lib_bsd_gethostbyname=no
28591 fi
28592 rm -f conftest.err conftest.$ac_objext \
28593 conftest$ac_exeext conftest.$ac_ext
28594 LIBS=$ac_check_lib_save_LIBS
28595 fi
28596 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
28597 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
28598 if test $ac_cv_lib_bsd_gethostbyname = yes; then
28599 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
28600 fi
28601
28602 fi
28603 fi
28604
28605 # lieder@skyler.mavd.honeywell.com says without -lsocket,
28606 # socket/setsockopt and other routines are undefined under SCO ODT
28607 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
28608 # on later versions), says Simon Leinen: it contains gethostby*
28609 # variants that don't use the name server (or something). -lsocket
28610 # must be given before -lnsl if both are needed. We assume that
28611 # if connect needs -lnsl, so does gethostbyname.
28612 echo "$as_me:$LINENO: checking for connect" >&5
28613 echo $ECHO_N "checking for connect... $ECHO_C" >&6
28614 if test "${ac_cv_func_connect+set}" = set; then
28615 echo $ECHO_N "(cached) $ECHO_C" >&6
28616 else
28617 cat >conftest.$ac_ext <<_ACEOF
28618 /* confdefs.h. */
28619 _ACEOF
28620 cat confdefs.h >>conftest.$ac_ext
28621 cat >>conftest.$ac_ext <<_ACEOF
28622 /* end confdefs.h. */
28623 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
28624 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28625 #define connect innocuous_connect
28626
28627 /* System header to define __stub macros and hopefully few prototypes,
28628 which can conflict with char connect (); below.
28629 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28630 <limits.h> exists even on freestanding compilers. */
28631
28632 #ifdef __STDC__
28633 # include <limits.h>
28634 #else
28635 # include <assert.h>
28636 #endif
28637
28638 #undef connect
28639
28640 /* Override any gcc2 internal prototype to avoid an error. */
28641 #ifdef __cplusplus
28642 extern "C"
28643 {
28644 #endif
28645 /* We use char because int might match the return type of a gcc2
28646 builtin and then its argument prototype would still apply. */
28647 char connect ();
28648 /* The GNU C library defines this for functions which it implements
28649 to always fail with ENOSYS. Some functions are actually named
28650 something starting with __ and the normal name is an alias. */
28651 #if defined (__stub_connect) || defined (__stub___connect)
28652 choke me
28653 #else
28654 char (*f) () = connect;
28655 #endif
28656 #ifdef __cplusplus
28657 }
28658 #endif
28659
28660 int
28661 main ()
28662 {
28663 return f != connect;
28664 ;
28665 return 0;
28666 }
28667 _ACEOF
28668 rm -f conftest.$ac_objext conftest$ac_exeext
28669 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28670 (eval $ac_link) 2>conftest.er1
28671 ac_status=$?
28672 grep -v '^ *+' conftest.er1 >conftest.err
28673 rm -f conftest.er1
28674 cat conftest.err >&5
28675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28676 (exit $ac_status); } &&
28677 { ac_try='test -z "$ac_c_werror_flag"
28678 || test ! -s conftest.err'
28679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28680 (eval $ac_try) 2>&5
28681 ac_status=$?
28682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28683 (exit $ac_status); }; } &&
28684 { ac_try='test -s conftest$ac_exeext'
28685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28686 (eval $ac_try) 2>&5
28687 ac_status=$?
28688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28689 (exit $ac_status); }; }; then
28690 ac_cv_func_connect=yes
28691 else
28692 echo "$as_me: failed program was:" >&5
28693 sed 's/^/| /' conftest.$ac_ext >&5
28694
28695 ac_cv_func_connect=no
28696 fi
28697 rm -f conftest.err conftest.$ac_objext \
28698 conftest$ac_exeext conftest.$ac_ext
28699 fi
28700 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
28701 echo "${ECHO_T}$ac_cv_func_connect" >&6
28702
28703 if test $ac_cv_func_connect = no; then
28704 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
28705 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
28706 if test "${ac_cv_lib_socket_connect+set}" = set; then
28707 echo $ECHO_N "(cached) $ECHO_C" >&6
28708 else
28709 ac_check_lib_save_LIBS=$LIBS
28710 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
28711 cat >conftest.$ac_ext <<_ACEOF
28712 /* confdefs.h. */
28713 _ACEOF
28714 cat confdefs.h >>conftest.$ac_ext
28715 cat >>conftest.$ac_ext <<_ACEOF
28716 /* end confdefs.h. */
28717
28718 /* Override any gcc2 internal prototype to avoid an error. */
28719 #ifdef __cplusplus
28720 extern "C"
28721 #endif
28722 /* We use char because int might match the return type of a gcc2
28723 builtin and then its argument prototype would still apply. */
28724 char connect ();
28725 int
28726 main ()
28727 {
28728 connect ();
28729 ;
28730 return 0;
28731 }
28732 _ACEOF
28733 rm -f conftest.$ac_objext conftest$ac_exeext
28734 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28735 (eval $ac_link) 2>conftest.er1
28736 ac_status=$?
28737 grep -v '^ *+' conftest.er1 >conftest.err
28738 rm -f conftest.er1
28739 cat conftest.err >&5
28740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28741 (exit $ac_status); } &&
28742 { ac_try='test -z "$ac_c_werror_flag"
28743 || test ! -s conftest.err'
28744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28745 (eval $ac_try) 2>&5
28746 ac_status=$?
28747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28748 (exit $ac_status); }; } &&
28749 { ac_try='test -s conftest$ac_exeext'
28750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28751 (eval $ac_try) 2>&5
28752 ac_status=$?
28753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28754 (exit $ac_status); }; }; then
28755 ac_cv_lib_socket_connect=yes
28756 else
28757 echo "$as_me: failed program was:" >&5
28758 sed 's/^/| /' conftest.$ac_ext >&5
28759
28760 ac_cv_lib_socket_connect=no
28761 fi
28762 rm -f conftest.err conftest.$ac_objext \
28763 conftest$ac_exeext conftest.$ac_ext
28764 LIBS=$ac_check_lib_save_LIBS
28765 fi
28766 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
28767 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
28768 if test $ac_cv_lib_socket_connect = yes; then
28769 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
28770 fi
28771
28772 fi
28773
28774 # Guillermo Gomez says -lposix is necessary on A/UX.
28775 echo "$as_me:$LINENO: checking for remove" >&5
28776 echo $ECHO_N "checking for remove... $ECHO_C" >&6
28777 if test "${ac_cv_func_remove+set}" = set; then
28778 echo $ECHO_N "(cached) $ECHO_C" >&6
28779 else
28780 cat >conftest.$ac_ext <<_ACEOF
28781 /* confdefs.h. */
28782 _ACEOF
28783 cat confdefs.h >>conftest.$ac_ext
28784 cat >>conftest.$ac_ext <<_ACEOF
28785 /* end confdefs.h. */
28786 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
28787 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28788 #define remove innocuous_remove
28789
28790 /* System header to define __stub macros and hopefully few prototypes,
28791 which can conflict with char remove (); below.
28792 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28793 <limits.h> exists even on freestanding compilers. */
28794
28795 #ifdef __STDC__
28796 # include <limits.h>
28797 #else
28798 # include <assert.h>
28799 #endif
28800
28801 #undef remove
28802
28803 /* Override any gcc2 internal prototype to avoid an error. */
28804 #ifdef __cplusplus
28805 extern "C"
28806 {
28807 #endif
28808 /* We use char because int might match the return type of a gcc2
28809 builtin and then its argument prototype would still apply. */
28810 char remove ();
28811 /* The GNU C library defines this for functions which it implements
28812 to always fail with ENOSYS. Some functions are actually named
28813 something starting with __ and the normal name is an alias. */
28814 #if defined (__stub_remove) || defined (__stub___remove)
28815 choke me
28816 #else
28817 char (*f) () = remove;
28818 #endif
28819 #ifdef __cplusplus
28820 }
28821 #endif
28822
28823 int
28824 main ()
28825 {
28826 return f != remove;
28827 ;
28828 return 0;
28829 }
28830 _ACEOF
28831 rm -f conftest.$ac_objext conftest$ac_exeext
28832 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28833 (eval $ac_link) 2>conftest.er1
28834 ac_status=$?
28835 grep -v '^ *+' conftest.er1 >conftest.err
28836 rm -f conftest.er1
28837 cat conftest.err >&5
28838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28839 (exit $ac_status); } &&
28840 { ac_try='test -z "$ac_c_werror_flag"
28841 || test ! -s conftest.err'
28842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28843 (eval $ac_try) 2>&5
28844 ac_status=$?
28845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28846 (exit $ac_status); }; } &&
28847 { ac_try='test -s conftest$ac_exeext'
28848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28849 (eval $ac_try) 2>&5
28850 ac_status=$?
28851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28852 (exit $ac_status); }; }; then
28853 ac_cv_func_remove=yes
28854 else
28855 echo "$as_me: failed program was:" >&5
28856 sed 's/^/| /' conftest.$ac_ext >&5
28857
28858 ac_cv_func_remove=no
28859 fi
28860 rm -f conftest.err conftest.$ac_objext \
28861 conftest$ac_exeext conftest.$ac_ext
28862 fi
28863 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
28864 echo "${ECHO_T}$ac_cv_func_remove" >&6
28865
28866 if test $ac_cv_func_remove = no; then
28867 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
28868 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
28869 if test "${ac_cv_lib_posix_remove+set}" = set; then
28870 echo $ECHO_N "(cached) $ECHO_C" >&6
28871 else
28872 ac_check_lib_save_LIBS=$LIBS
28873 LIBS="-lposix $LIBS"
28874 cat >conftest.$ac_ext <<_ACEOF
28875 /* confdefs.h. */
28876 _ACEOF
28877 cat confdefs.h >>conftest.$ac_ext
28878 cat >>conftest.$ac_ext <<_ACEOF
28879 /* end confdefs.h. */
28880
28881 /* Override any gcc2 internal prototype to avoid an error. */
28882 #ifdef __cplusplus
28883 extern "C"
28884 #endif
28885 /* We use char because int might match the return type of a gcc2
28886 builtin and then its argument prototype would still apply. */
28887 char remove ();
28888 int
28889 main ()
28890 {
28891 remove ();
28892 ;
28893 return 0;
28894 }
28895 _ACEOF
28896 rm -f conftest.$ac_objext conftest$ac_exeext
28897 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28898 (eval $ac_link) 2>conftest.er1
28899 ac_status=$?
28900 grep -v '^ *+' conftest.er1 >conftest.err
28901 rm -f conftest.er1
28902 cat conftest.err >&5
28903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28904 (exit $ac_status); } &&
28905 { ac_try='test -z "$ac_c_werror_flag"
28906 || test ! -s conftest.err'
28907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28908 (eval $ac_try) 2>&5
28909 ac_status=$?
28910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28911 (exit $ac_status); }; } &&
28912 { ac_try='test -s conftest$ac_exeext'
28913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28914 (eval $ac_try) 2>&5
28915 ac_status=$?
28916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28917 (exit $ac_status); }; }; then
28918 ac_cv_lib_posix_remove=yes
28919 else
28920 echo "$as_me: failed program was:" >&5
28921 sed 's/^/| /' conftest.$ac_ext >&5
28922
28923 ac_cv_lib_posix_remove=no
28924 fi
28925 rm -f conftest.err conftest.$ac_objext \
28926 conftest$ac_exeext conftest.$ac_ext
28927 LIBS=$ac_check_lib_save_LIBS
28928 fi
28929 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
28930 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
28931 if test $ac_cv_lib_posix_remove = yes; then
28932 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
28933 fi
28934
28935 fi
28936
28937 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
28938 echo "$as_me:$LINENO: checking for shmat" >&5
28939 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
28940 if test "${ac_cv_func_shmat+set}" = set; then
28941 echo $ECHO_N "(cached) $ECHO_C" >&6
28942 else
28943 cat >conftest.$ac_ext <<_ACEOF
28944 /* confdefs.h. */
28945 _ACEOF
28946 cat confdefs.h >>conftest.$ac_ext
28947 cat >>conftest.$ac_ext <<_ACEOF
28948 /* end confdefs.h. */
28949 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
28950 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28951 #define shmat innocuous_shmat
28952
28953 /* System header to define __stub macros and hopefully few prototypes,
28954 which can conflict with char shmat (); below.
28955 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28956 <limits.h> exists even on freestanding compilers. */
28957
28958 #ifdef __STDC__
28959 # include <limits.h>
28960 #else
28961 # include <assert.h>
28962 #endif
28963
28964 #undef shmat
28965
28966 /* Override any gcc2 internal prototype to avoid an error. */
28967 #ifdef __cplusplus
28968 extern "C"
28969 {
28970 #endif
28971 /* We use char because int might match the return type of a gcc2
28972 builtin and then its argument prototype would still apply. */
28973 char shmat ();
28974 /* The GNU C library defines this for functions which it implements
28975 to always fail with ENOSYS. Some functions are actually named
28976 something starting with __ and the normal name is an alias. */
28977 #if defined (__stub_shmat) || defined (__stub___shmat)
28978 choke me
28979 #else
28980 char (*f) () = shmat;
28981 #endif
28982 #ifdef __cplusplus
28983 }
28984 #endif
28985
28986 int
28987 main ()
28988 {
28989 return f != shmat;
28990 ;
28991 return 0;
28992 }
28993 _ACEOF
28994 rm -f conftest.$ac_objext conftest$ac_exeext
28995 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28996 (eval $ac_link) 2>conftest.er1
28997 ac_status=$?
28998 grep -v '^ *+' conftest.er1 >conftest.err
28999 rm -f conftest.er1
29000 cat conftest.err >&5
29001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29002 (exit $ac_status); } &&
29003 { ac_try='test -z "$ac_c_werror_flag"
29004 || test ! -s conftest.err'
29005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29006 (eval $ac_try) 2>&5
29007 ac_status=$?
29008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29009 (exit $ac_status); }; } &&
29010 { ac_try='test -s conftest$ac_exeext'
29011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29012 (eval $ac_try) 2>&5
29013 ac_status=$?
29014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29015 (exit $ac_status); }; }; then
29016 ac_cv_func_shmat=yes
29017 else
29018 echo "$as_me: failed program was:" >&5
29019 sed 's/^/| /' conftest.$ac_ext >&5
29020
29021 ac_cv_func_shmat=no
29022 fi
29023 rm -f conftest.err conftest.$ac_objext \
29024 conftest$ac_exeext conftest.$ac_ext
29025 fi
29026 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
29027 echo "${ECHO_T}$ac_cv_func_shmat" >&6
29028
29029 if test $ac_cv_func_shmat = no; then
29030 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
29031 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
29032 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
29033 echo $ECHO_N "(cached) $ECHO_C" >&6
29034 else
29035 ac_check_lib_save_LIBS=$LIBS
29036 LIBS="-lipc $LIBS"
29037 cat >conftest.$ac_ext <<_ACEOF
29038 /* confdefs.h. */
29039 _ACEOF
29040 cat confdefs.h >>conftest.$ac_ext
29041 cat >>conftest.$ac_ext <<_ACEOF
29042 /* end confdefs.h. */
29043
29044 /* Override any gcc2 internal prototype to avoid an error. */
29045 #ifdef __cplusplus
29046 extern "C"
29047 #endif
29048 /* We use char because int might match the return type of a gcc2
29049 builtin and then its argument prototype would still apply. */
29050 char shmat ();
29051 int
29052 main ()
29053 {
29054 shmat ();
29055 ;
29056 return 0;
29057 }
29058 _ACEOF
29059 rm -f conftest.$ac_objext conftest$ac_exeext
29060 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29061 (eval $ac_link) 2>conftest.er1
29062 ac_status=$?
29063 grep -v '^ *+' conftest.er1 >conftest.err
29064 rm -f conftest.er1
29065 cat conftest.err >&5
29066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29067 (exit $ac_status); } &&
29068 { ac_try='test -z "$ac_c_werror_flag"
29069 || test ! -s conftest.err'
29070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29071 (eval $ac_try) 2>&5
29072 ac_status=$?
29073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29074 (exit $ac_status); }; } &&
29075 { ac_try='test -s conftest$ac_exeext'
29076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29077 (eval $ac_try) 2>&5
29078 ac_status=$?
29079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29080 (exit $ac_status); }; }; then
29081 ac_cv_lib_ipc_shmat=yes
29082 else
29083 echo "$as_me: failed program was:" >&5
29084 sed 's/^/| /' conftest.$ac_ext >&5
29085
29086 ac_cv_lib_ipc_shmat=no
29087 fi
29088 rm -f conftest.err conftest.$ac_objext \
29089 conftest$ac_exeext conftest.$ac_ext
29090 LIBS=$ac_check_lib_save_LIBS
29091 fi
29092 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
29093 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
29094 if test $ac_cv_lib_ipc_shmat = yes; then
29095 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
29096 fi
29097
29098 fi
29099 fi
29100
29101 # Check for libraries that X11R6 Xt/Xaw programs need.
29102 ac_save_LDFLAGS=$LDFLAGS
29103 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
29104 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
29105 # check for ICE first), but we must link in the order -lSM -lICE or
29106 # we get undefined symbols. So assume we have SM if we have ICE.
29107 # These have to be linked with before -lX11, unlike the other
29108 # libraries we check for below, so use a different variable.
29109 # John Interrante, Karl Berry
29110 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
29111 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
29112 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
29113 echo $ECHO_N "(cached) $ECHO_C" >&6
29114 else
29115 ac_check_lib_save_LIBS=$LIBS
29116 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
29117 cat >conftest.$ac_ext <<_ACEOF
29118 /* confdefs.h. */
29119 _ACEOF
29120 cat confdefs.h >>conftest.$ac_ext
29121 cat >>conftest.$ac_ext <<_ACEOF
29122 /* end confdefs.h. */
29123
29124 /* Override any gcc2 internal prototype to avoid an error. */
29125 #ifdef __cplusplus
29126 extern "C"
29127 #endif
29128 /* We use char because int might match the return type of a gcc2
29129 builtin and then its argument prototype would still apply. */
29130 char IceConnectionNumber ();
29131 int
29132 main ()
29133 {
29134 IceConnectionNumber ();
29135 ;
29136 return 0;
29137 }
29138 _ACEOF
29139 rm -f conftest.$ac_objext conftest$ac_exeext
29140 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29141 (eval $ac_link) 2>conftest.er1
29142 ac_status=$?
29143 grep -v '^ *+' conftest.er1 >conftest.err
29144 rm -f conftest.er1
29145 cat conftest.err >&5
29146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29147 (exit $ac_status); } &&
29148 { ac_try='test -z "$ac_c_werror_flag"
29149 || test ! -s conftest.err'
29150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29151 (eval $ac_try) 2>&5
29152 ac_status=$?
29153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29154 (exit $ac_status); }; } &&
29155 { ac_try='test -s conftest$ac_exeext'
29156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29157 (eval $ac_try) 2>&5
29158 ac_status=$?
29159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29160 (exit $ac_status); }; }; then
29161 ac_cv_lib_ICE_IceConnectionNumber=yes
29162 else
29163 echo "$as_me: failed program was:" >&5
29164 sed 's/^/| /' conftest.$ac_ext >&5
29165
29166 ac_cv_lib_ICE_IceConnectionNumber=no
29167 fi
29168 rm -f conftest.err conftest.$ac_objext \
29169 conftest$ac_exeext conftest.$ac_ext
29170 LIBS=$ac_check_lib_save_LIBS
29171 fi
29172 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
29173 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
29174 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
29175 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
29176 fi
29177
29178 LDFLAGS=$ac_save_LDFLAGS
29179
29180 fi
29181
29182
29183 if test "$no_x" = "yes"; then
29184 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
29185 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
29186 { (exit 1); exit 1; }; }
29187 fi
29188
29189 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
29190 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
29191 AFMINSTALL=afminstall
29192 COMPILED_X_PROGRAM=0
29193
29194 fi
29195
29196 if test "$wxUSE_X11" = 1; then
29197 if test "$wxUSE_NANOX" = "yes"; then
29198 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
29199 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
29200 if test "x$MICROWIN" = x ; then
29201 echo "$as_me:$LINENO: result: not found" >&5
29202 echo "${ECHO_T}not found" >&6
29203 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
29204 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
29205 { (exit 1); exit 1; }; }
29206 else
29207 echo "$as_me:$LINENO: result: $MICROWIN" >&5
29208 echo "${ECHO_T}$MICROWIN" >&6
29209 cat >>confdefs.h <<\_ACEOF
29210 #define wxUSE_NANOX 1
29211 _ACEOF
29212
29213 fi
29214 fi
29215
29216 if test "$wxUSE_UNICODE" = "yes"; then
29217
29218 succeeded=no
29219
29220 if test -z "$PKG_CONFIG"; then
29221 # Extract the first word of "pkg-config", so it can be a program name with args.
29222 set dummy pkg-config; ac_word=$2
29223 echo "$as_me:$LINENO: checking for $ac_word" >&5
29224 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29225 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29226 echo $ECHO_N "(cached) $ECHO_C" >&6
29227 else
29228 case $PKG_CONFIG in
29229 [\\/]* | ?:[\\/]*)
29230 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
29231 ;;
29232 *)
29233 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29234 for as_dir in $PATH
29235 do
29236 IFS=$as_save_IFS
29237 test -z "$as_dir" && as_dir=.
29238 for ac_exec_ext in '' $ac_executable_extensions; do
29239 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29240 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29241 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29242 break 2
29243 fi
29244 done
29245 done
29246
29247 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
29248 ;;
29249 esac
29250 fi
29251 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
29252
29253 if test -n "$PKG_CONFIG"; then
29254 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
29255 echo "${ECHO_T}$PKG_CONFIG" >&6
29256 else
29257 echo "$as_me:$LINENO: result: no" >&5
29258 echo "${ECHO_T}no" >&6
29259 fi
29260
29261 fi
29262
29263 if test "$PKG_CONFIG" = "no" ; then
29264 echo "*** The pkg-config script could not be found. Make sure it is"
29265 echo "*** in your path, or set the PKG_CONFIG environment variable"
29266 echo "*** to the full path to pkg-config."
29267 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
29268 else
29269 PKG_CONFIG_MIN_VERSION=0.9.0
29270 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
29271 echo "$as_me:$LINENO: checking for pangox" >&5
29272 echo $ECHO_N "checking for pangox... $ECHO_C" >&6
29273
29274 if $PKG_CONFIG --exists "pangox" ; then
29275 echo "$as_me:$LINENO: result: yes" >&5
29276 echo "${ECHO_T}yes" >&6
29277 succeeded=yes
29278
29279 echo "$as_me:$LINENO: checking PANGOX_CFLAGS" >&5
29280 echo $ECHO_N "checking PANGOX_CFLAGS... $ECHO_C" >&6
29281 PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox"`
29282 echo "$as_me:$LINENO: result: $PANGOX_CFLAGS" >&5
29283 echo "${ECHO_T}$PANGOX_CFLAGS" >&6
29284
29285 echo "$as_me:$LINENO: checking PANGOX_LIBS" >&5
29286 echo $ECHO_N "checking PANGOX_LIBS... $ECHO_C" >&6
29287 PANGOX_LIBS=`$PKG_CONFIG --libs "pangox"`
29288 echo "$as_me:$LINENO: result: $PANGOX_LIBS" >&5
29289 echo "${ECHO_T}$PANGOX_LIBS" >&6
29290 else
29291 PANGOX_CFLAGS=""
29292 PANGOX_LIBS=""
29293 ## If we have a custom action on failure, don't print errors, but
29294 ## do set a variable so people can do so.
29295 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
29296
29297 fi
29298
29299
29300
29301 else
29302 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
29303 echo "*** See http://www.freedesktop.org/software/pkgconfig"
29304 fi
29305 fi
29306
29307 if test $succeeded = yes; then
29308
29309 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
29310 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
29311
29312 else
29313
29314 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
29315 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
29316 { (exit 1); exit 1; }; }
29317
29318
29319 fi
29320
29321
29322 succeeded=no
29323
29324 if test -z "$PKG_CONFIG"; then
29325 # Extract the first word of "pkg-config", so it can be a program name with args.
29326 set dummy pkg-config; ac_word=$2
29327 echo "$as_me:$LINENO: checking for $ac_word" >&5
29328 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29329 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29330 echo $ECHO_N "(cached) $ECHO_C" >&6
29331 else
29332 case $PKG_CONFIG in
29333 [\\/]* | ?:[\\/]*)
29334 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
29335 ;;
29336 *)
29337 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29338 for as_dir in $PATH
29339 do
29340 IFS=$as_save_IFS
29341 test -z "$as_dir" && as_dir=.
29342 for ac_exec_ext in '' $ac_executable_extensions; do
29343 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29344 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29345 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29346 break 2
29347 fi
29348 done
29349 done
29350
29351 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
29352 ;;
29353 esac
29354 fi
29355 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
29356
29357 if test -n "$PKG_CONFIG"; then
29358 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
29359 echo "${ECHO_T}$PKG_CONFIG" >&6
29360 else
29361 echo "$as_me:$LINENO: result: no" >&5
29362 echo "${ECHO_T}no" >&6
29363 fi
29364
29365 fi
29366
29367 if test "$PKG_CONFIG" = "no" ; then
29368 echo "*** The pkg-config script could not be found. Make sure it is"
29369 echo "*** in your path, or set the PKG_CONFIG environment variable"
29370 echo "*** to the full path to pkg-config."
29371 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
29372 else
29373 PKG_CONFIG_MIN_VERSION=0.9.0
29374 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
29375 echo "$as_me:$LINENO: checking for pangoft2" >&5
29376 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
29377
29378 if $PKG_CONFIG --exists "pangoft2" ; then
29379 echo "$as_me:$LINENO: result: yes" >&5
29380 echo "${ECHO_T}yes" >&6
29381 succeeded=yes
29382
29383 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
29384 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
29385 PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2"`
29386 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
29387 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
29388
29389 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
29390 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
29391 PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2"`
29392 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
29393 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
29394 else
29395 PANGOFT2_CFLAGS=""
29396 PANGOFT2_LIBS=""
29397 ## If we have a custom action on failure, don't print errors, but
29398 ## do set a variable so people can do so.
29399 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
29400
29401 fi
29402
29403
29404
29405 else
29406 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
29407 echo "*** See http://www.freedesktop.org/software/pkgconfig"
29408 fi
29409 fi
29410
29411 if test $succeeded = yes; then
29412
29413 CXXFLAGS="$PANGOFT2_CFLAGS $CXXFLAGS"
29414 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
29415
29416 else
29417
29418 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
29419 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
29420 wxUSE_PRINTING_ARCHITECTURE="no"
29421
29422
29423 fi
29424
29425
29426 succeeded=no
29427
29428 if test -z "$PKG_CONFIG"; then
29429 # Extract the first word of "pkg-config", so it can be a program name with args.
29430 set dummy pkg-config; ac_word=$2
29431 echo "$as_me:$LINENO: checking for $ac_word" >&5
29432 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29433 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29434 echo $ECHO_N "(cached) $ECHO_C" >&6
29435 else
29436 case $PKG_CONFIG in
29437 [\\/]* | ?:[\\/]*)
29438 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
29439 ;;
29440 *)
29441 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29442 for as_dir in $PATH
29443 do
29444 IFS=$as_save_IFS
29445 test -z "$as_dir" && as_dir=.
29446 for ac_exec_ext in '' $ac_executable_extensions; do
29447 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29448 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29449 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29450 break 2
29451 fi
29452 done
29453 done
29454
29455 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
29456 ;;
29457 esac
29458 fi
29459 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
29460
29461 if test -n "$PKG_CONFIG"; then
29462 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
29463 echo "${ECHO_T}$PKG_CONFIG" >&6
29464 else
29465 echo "$as_me:$LINENO: result: no" >&5
29466 echo "${ECHO_T}no" >&6
29467 fi
29468
29469 fi
29470
29471 if test "$PKG_CONFIG" = "no" ; then
29472 echo "*** The pkg-config script could not be found. Make sure it is"
29473 echo "*** in your path, or set the PKG_CONFIG environment variable"
29474 echo "*** to the full path to pkg-config."
29475 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
29476 else
29477 PKG_CONFIG_MIN_VERSION=0.9.0
29478 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
29479 echo "$as_me:$LINENO: checking for pangoxft" >&5
29480 echo $ECHO_N "checking for pangoxft... $ECHO_C" >&6
29481
29482 if $PKG_CONFIG --exists "pangoxft" ; then
29483 echo "$as_me:$LINENO: result: yes" >&5
29484 echo "${ECHO_T}yes" >&6
29485 succeeded=yes
29486
29487 echo "$as_me:$LINENO: checking PANGOXFT_CFLAGS" >&5
29488 echo $ECHO_N "checking PANGOXFT_CFLAGS... $ECHO_C" >&6
29489 PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft"`
29490 echo "$as_me:$LINENO: result: $PANGOXFT_CFLAGS" >&5
29491 echo "${ECHO_T}$PANGOXFT_CFLAGS" >&6
29492
29493 echo "$as_me:$LINENO: checking PANGOXFT_LIBS" >&5
29494 echo $ECHO_N "checking PANGOXFT_LIBS... $ECHO_C" >&6
29495 PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft"`
29496 echo "$as_me:$LINENO: result: $PANGOXFT_LIBS" >&5
29497 echo "${ECHO_T}$PANGOXFT_LIBS" >&6
29498 else
29499 PANGOXFT_CFLAGS=""
29500 PANGOXFT_LIBS=""
29501 ## If we have a custom action on failure, don't print errors, but
29502 ## do set a variable so people can do so.
29503 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
29504
29505 fi
29506
29507
29508
29509 else
29510 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
29511 echo "*** See http://www.freedesktop.org/software/pkgconfig"
29512 fi
29513 fi
29514
29515 if test $succeeded = yes; then
29516
29517 cat >>confdefs.h <<\_ACEOF
29518 #define HAVE_PANGO_XFT 1
29519 _ACEOF
29520
29521 CXXFLAGS="$PANGOXFT_CFLAGS $CXXFLAGS"
29522 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
29523
29524 else
29525
29526 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
29527 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
29528
29529
29530 fi
29531
29532 save_CFLAGS="$CFLAGS"
29533 save_LIBS="$LIBS"
29534 CFLAGS="$PANGOX_CFLAGS $CFLAGS"
29535 LIBS="$LIBS $PANGOX_LIBS"
29536
29537 for ac_func in pango_font_family_is_monospace
29538 do
29539 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29540 echo "$as_me:$LINENO: checking for $ac_func" >&5
29541 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29542 if eval "test \"\${$as_ac_var+set}\" = set"; then
29543 echo $ECHO_N "(cached) $ECHO_C" >&6
29544 else
29545 cat >conftest.$ac_ext <<_ACEOF
29546 /* confdefs.h. */
29547 _ACEOF
29548 cat confdefs.h >>conftest.$ac_ext
29549 cat >>conftest.$ac_ext <<_ACEOF
29550 /* end confdefs.h. */
29551 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29552 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29553 #define $ac_func innocuous_$ac_func
29554
29555 /* System header to define __stub macros and hopefully few prototypes,
29556 which can conflict with char $ac_func (); below.
29557 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29558 <limits.h> exists even on freestanding compilers. */
29559
29560 #ifdef __STDC__
29561 # include <limits.h>
29562 #else
29563 # include <assert.h>
29564 #endif
29565
29566 #undef $ac_func
29567
29568 /* Override any gcc2 internal prototype to avoid an error. */
29569 #ifdef __cplusplus
29570 extern "C"
29571 {
29572 #endif
29573 /* We use char because int might match the return type of a gcc2
29574 builtin and then its argument prototype would still apply. */
29575 char $ac_func ();
29576 /* The GNU C library defines this for functions which it implements
29577 to always fail with ENOSYS. Some functions are actually named
29578 something starting with __ and the normal name is an alias. */
29579 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29580 choke me
29581 #else
29582 char (*f) () = $ac_func;
29583 #endif
29584 #ifdef __cplusplus
29585 }
29586 #endif
29587
29588 int
29589 main ()
29590 {
29591 return f != $ac_func;
29592 ;
29593 return 0;
29594 }
29595 _ACEOF
29596 rm -f conftest.$ac_objext conftest$ac_exeext
29597 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29598 (eval $ac_link) 2>conftest.er1
29599 ac_status=$?
29600 grep -v '^ *+' conftest.er1 >conftest.err
29601 rm -f conftest.er1
29602 cat conftest.err >&5
29603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29604 (exit $ac_status); } &&
29605 { ac_try='test -z "$ac_c_werror_flag"
29606 || test ! -s conftest.err'
29607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29608 (eval $ac_try) 2>&5
29609 ac_status=$?
29610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29611 (exit $ac_status); }; } &&
29612 { ac_try='test -s conftest$ac_exeext'
29613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29614 (eval $ac_try) 2>&5
29615 ac_status=$?
29616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29617 (exit $ac_status); }; }; then
29618 eval "$as_ac_var=yes"
29619 else
29620 echo "$as_me: failed program was:" >&5
29621 sed 's/^/| /' conftest.$ac_ext >&5
29622
29623 eval "$as_ac_var=no"
29624 fi
29625 rm -f conftest.err conftest.$ac_objext \
29626 conftest$ac_exeext conftest.$ac_ext
29627 fi
29628 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29629 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29630 if test `eval echo '${'$as_ac_var'}'` = yes; then
29631 cat >>confdefs.h <<_ACEOF
29632 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29633 _ACEOF
29634
29635 fi
29636 done
29637
29638 CFLAGS="$save_CFLAGS"
29639 LIBS="$save_LIBS"
29640 fi
29641
29642 wxUSE_UNIVERSAL="yes"
29643
29644 if test "$wxUSE_NANOX" = "yes"; then
29645 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
29646 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"
29647 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
29648 else
29649 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
29650 fi
29651
29652 TOOLKIT=X11
29653 GUIDIST=X11_DIST
29654 fi
29655
29656 if test "$wxUSE_MOTIF" = 1; then
29657 if test "$wxUSE_UNICODE" = "yes"; then
29658 { { echo "$as_me:$LINENO: error: Unicode configuration not supported with Motif" >&5
29659 echo "$as_me: error: Unicode configuration not supported with Motif" >&2;}
29660 { (exit 1); exit 1; }; }
29661 fi
29662
29663 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
29664 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
29665
29666 ac_find_includes=
29667 for ac_dir in $SEARCH_INCLUDE /usr/include;
29668 do
29669 if test -f "$ac_dir/Xm/Xm.h"; then
29670 ac_find_includes=$ac_dir
29671 break
29672 fi
29673 done
29674
29675 if test "$ac_find_includes" != "" ; then
29676 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
29677 echo "${ECHO_T}found in $ac_find_includes" >&6
29678
29679 if test "x$ac_find_includes" = "x/usr/include"; then
29680 ac_path_to_include=""
29681 else
29682 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
29683 result=$?
29684 if test $result = 0; then
29685 ac_path_to_include=""
29686 else
29687 ac_path_to_include=" -I$ac_find_includes"
29688 fi
29689 fi
29690
29691 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
29692 else
29693 save_CFLAGS=$CFLAGS
29694 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
29695
29696 cat >conftest.$ac_ext <<_ACEOF
29697 /* confdefs.h. */
29698 _ACEOF
29699 cat confdefs.h >>conftest.$ac_ext
29700 cat >>conftest.$ac_ext <<_ACEOF
29701 /* end confdefs.h. */
29702
29703 #include <Xm/Xm.h>
29704
29705 int
29706 main ()
29707 {
29708
29709 int version;
29710 version = xmUseVersion;
29711
29712 ;
29713 return 0;
29714 }
29715 _ACEOF
29716 rm -f conftest.$ac_objext
29717 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29718 (eval $ac_compile) 2>conftest.er1
29719 ac_status=$?
29720 grep -v '^ *+' conftest.er1 >conftest.err
29721 rm -f conftest.er1
29722 cat conftest.err >&5
29723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29724 (exit $ac_status); } &&
29725 { ac_try='test -z "$ac_c_werror_flag"
29726 || test ! -s conftest.err'
29727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29728 (eval $ac_try) 2>&5
29729 ac_status=$?
29730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29731 (exit $ac_status); }; } &&
29732 { ac_try='test -s conftest.$ac_objext'
29733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29734 (eval $ac_try) 2>&5
29735 ac_status=$?
29736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29737 (exit $ac_status); }; }; then
29738
29739 echo "$as_me:$LINENO: result: found in default search path" >&5
29740 echo "${ECHO_T}found in default search path" >&6
29741 COMPILED_X_PROGRAM=1
29742
29743 else
29744 echo "$as_me: failed program was:" >&5
29745 sed 's/^/| /' conftest.$ac_ext >&5
29746
29747
29748 echo "$as_me:$LINENO: result: no" >&5
29749 echo "${ECHO_T}no" >&6
29750 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
29751 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
29752 { (exit 1); exit 1; }; }
29753
29754
29755 fi
29756 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29757
29758 CFLAGS=$save_CFLAGS
29759 fi
29760
29761
29762 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
29763 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
29764
29765 ac_find_libraries=
29766 for ac_dir in $SEARCH_LIB;
29767 do
29768 for ac_extension in a so sl dylib dll.a; do
29769 if test -f "$ac_dir/libXm.$ac_extension"; then
29770 ac_find_libraries=$ac_dir
29771 break 2
29772 fi
29773 done
29774 done
29775
29776
29777 if test "x$ac_find_libraries" != "x" ; then
29778 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
29779 echo "${ECHO_T}found in $ac_find_libraries" >&6
29780
29781
29782 if test "$ac_find_libraries" = "default location"; then
29783 ac_path_to_link=""
29784 else
29785 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
29786 result=$?
29787 if test $result = 0; then
29788 ac_path_to_link=""
29789 else
29790 ac_path_to_link=" -L$ac_find_libraries"
29791 fi
29792 fi
29793
29794 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
29795 else
29796 save_CFLAGS=$CFLAGS
29797 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
29798 save_LIBS="$LIBS"
29799 LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
29800
29801 cat >conftest.$ac_ext <<_ACEOF
29802 /* confdefs.h. */
29803 _ACEOF
29804 cat confdefs.h >>conftest.$ac_ext
29805 cat >>conftest.$ac_ext <<_ACEOF
29806 /* end confdefs.h. */
29807
29808 #include <Xm/Xm.h>
29809
29810 int
29811 main ()
29812 {
29813
29814 int version;
29815 version = xmUseVersion;
29816
29817 ;
29818 return 0;
29819 }
29820 _ACEOF
29821 rm -f conftest.$ac_objext conftest$ac_exeext
29822 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29823 (eval $ac_link) 2>conftest.er1
29824 ac_status=$?
29825 grep -v '^ *+' conftest.er1 >conftest.err
29826 rm -f conftest.er1
29827 cat conftest.err >&5
29828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29829 (exit $ac_status); } &&
29830 { ac_try='test -z "$ac_c_werror_flag"
29831 || test ! -s conftest.err'
29832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29833 (eval $ac_try) 2>&5
29834 ac_status=$?
29835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29836 (exit $ac_status); }; } &&
29837 { ac_try='test -s conftest$ac_exeext'
29838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29839 (eval $ac_try) 2>&5
29840 ac_status=$?
29841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29842 (exit $ac_status); }; }; then
29843
29844 echo "$as_me:$LINENO: result: found in default search path" >&5
29845 echo "${ECHO_T}found in default search path" >&6
29846 COMPILED_X_PROGRAM=1
29847
29848 else
29849 echo "$as_me: failed program was:" >&5
29850 sed 's/^/| /' conftest.$ac_ext >&5
29851
29852
29853 echo "$as_me:$LINENO: result: no" >&5
29854 echo "${ECHO_T}no" >&6
29855 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
29856 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
29857 { (exit 1); exit 1; }; }
29858
29859
29860 fi
29861 rm -f conftest.err conftest.$ac_objext \
29862 conftest$ac_exeext conftest.$ac_ext
29863
29864 CFLAGS=$save_CFLAGS
29865 LIBS="$save_LIBS"
29866 fi
29867
29868 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
29869 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
29870 libp_link=""
29871 libsm_ice_link=""
29872 libs_found=0
29873 for libp in "" " -lXp"; do
29874 if test "$libs_found" = "0"; then
29875 for libsm_ice in "" " -lSM -lICE"; do
29876 if test "$libs_found" = "0"; then
29877 save_LIBS="$LIBS"
29878 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
29879 save_CFLAGS=$CFLAGS
29880 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
29881
29882 cat >conftest.$ac_ext <<_ACEOF
29883 /* confdefs.h. */
29884 _ACEOF
29885 cat confdefs.h >>conftest.$ac_ext
29886 cat >>conftest.$ac_ext <<_ACEOF
29887 /* end confdefs.h. */
29888
29889 #include <Xm/Xm.h>
29890 #include <Xm/List.h>
29891
29892 int
29893 main ()
29894 {
29895
29896 XmString string = NULL;
29897 Widget w = NULL;
29898 int position = 0;
29899 XmListAddItem(w, string, position);
29900
29901 ;
29902 return 0;
29903 }
29904 _ACEOF
29905 rm -f conftest.$ac_objext conftest$ac_exeext
29906 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29907 (eval $ac_link) 2>conftest.er1
29908 ac_status=$?
29909 grep -v '^ *+' conftest.er1 >conftest.err
29910 rm -f conftest.er1
29911 cat conftest.err >&5
29912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29913 (exit $ac_status); } &&
29914 { ac_try='test -z "$ac_c_werror_flag"
29915 || test ! -s conftest.err'
29916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29917 (eval $ac_try) 2>&5
29918 ac_status=$?
29919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29920 (exit $ac_status); }; } &&
29921 { ac_try='test -s conftest$ac_exeext'
29922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29923 (eval $ac_try) 2>&5
29924 ac_status=$?
29925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29926 (exit $ac_status); }; }; then
29927
29928 libp_link="$libp"
29929 libsm_ice_link="$libsm_ice"
29930 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
29931 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
29932 libs_found=1
29933
29934 else
29935 echo "$as_me: failed program was:" >&5
29936 sed 's/^/| /' conftest.$ac_ext >&5
29937
29938
29939
29940 fi
29941 rm -f conftest.err conftest.$ac_objext \
29942 conftest$ac_exeext conftest.$ac_ext
29943
29944 LIBS="$save_LIBS"
29945 CFLAGS=$save_CFLAGS
29946 fi
29947 done
29948 fi
29949 done
29950
29951 if test "$libs_found" = "0"; then
29952 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
29953 echo "${ECHO_T}can't find the right libraries" >&6
29954 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
29955 echo "$as_me: error: can't link a simple motif program" >&2;}
29956 { (exit 1); exit 1; }; }
29957 fi
29958
29959 echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
29960 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6
29961 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
29962 echo $ECHO_N "(cached) $ECHO_C" >&6
29963 else
29964 ac_check_lib_save_LIBS=$LIBS
29965 LIBS="-lSgm $LIBS"
29966 cat >conftest.$ac_ext <<_ACEOF
29967 /* confdefs.h. */
29968 _ACEOF
29969 cat confdefs.h >>conftest.$ac_ext
29970 cat >>conftest.$ac_ext <<_ACEOF
29971 /* end confdefs.h. */
29972
29973 /* Override any gcc2 internal prototype to avoid an error. */
29974 #ifdef __cplusplus
29975 extern "C"
29976 #endif
29977 /* We use char because int might match the return type of a gcc2
29978 builtin and then its argument prototype would still apply. */
29979 char SgCreateList ();
29980 int
29981 main ()
29982 {
29983 SgCreateList ();
29984 ;
29985 return 0;
29986 }
29987 _ACEOF
29988 rm -f conftest.$ac_objext conftest$ac_exeext
29989 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29990 (eval $ac_link) 2>conftest.er1
29991 ac_status=$?
29992 grep -v '^ *+' conftest.er1 >conftest.err
29993 rm -f conftest.er1
29994 cat conftest.err >&5
29995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29996 (exit $ac_status); } &&
29997 { ac_try='test -z "$ac_c_werror_flag"
29998 || test ! -s conftest.err'
29999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30000 (eval $ac_try) 2>&5
30001 ac_status=$?
30002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30003 (exit $ac_status); }; } &&
30004 { ac_try='test -s conftest$ac_exeext'
30005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30006 (eval $ac_try) 2>&5
30007 ac_status=$?
30008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30009 (exit $ac_status); }; }; then
30010 ac_cv_lib_Sgm_SgCreateList=yes
30011 else
30012 echo "$as_me: failed program was:" >&5
30013 sed 's/^/| /' conftest.$ac_ext >&5
30014
30015 ac_cv_lib_Sgm_SgCreateList=no
30016 fi
30017 rm -f conftest.err conftest.$ac_objext \
30018 conftest$ac_exeext conftest.$ac_ext
30019 LIBS=$ac_check_lib_save_LIBS
30020 fi
30021 echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
30022 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6
30023 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
30024 libsgm_link=" -lSgm"
30025 fi
30026
30027
30028 save_CFLAGS=$CFLAGS
30029 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
30030
30031 echo "$as_me:$LINENO: checking for Motif 2" >&5
30032 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
30033 if test "${wx_cv_lib_motif2+set}" = set; then
30034 echo $ECHO_N "(cached) $ECHO_C" >&6
30035 else
30036 cat >conftest.$ac_ext <<_ACEOF
30037 /* confdefs.h. */
30038 _ACEOF
30039 cat confdefs.h >>conftest.$ac_ext
30040 cat >>conftest.$ac_ext <<_ACEOF
30041 /* end confdefs.h. */
30042
30043 #include <Xm/Xm.h>
30044
30045 int
30046 main ()
30047 {
30048
30049 #if XmVersion < 2000
30050 Not Motif 2
30051 #endif
30052
30053 ;
30054 return 0;
30055 }
30056 _ACEOF
30057 rm -f conftest.$ac_objext
30058 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30059 (eval $ac_compile) 2>conftest.er1
30060 ac_status=$?
30061 grep -v '^ *+' conftest.er1 >conftest.err
30062 rm -f conftest.er1
30063 cat conftest.err >&5
30064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30065 (exit $ac_status); } &&
30066 { ac_try='test -z "$ac_c_werror_flag"
30067 || test ! -s conftest.err'
30068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30069 (eval $ac_try) 2>&5
30070 ac_status=$?
30071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30072 (exit $ac_status); }; } &&
30073 { ac_try='test -s conftest.$ac_objext'
30074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30075 (eval $ac_try) 2>&5
30076 ac_status=$?
30077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30078 (exit $ac_status); }; }; then
30079 wx_cv_lib_motif2="yes"
30080 else
30081 echo "$as_me: failed program was:" >&5
30082 sed 's/^/| /' conftest.$ac_ext >&5
30083
30084 wx_cv_lib_motif2="no"
30085 fi
30086 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30087 fi
30088 echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
30089 echo "${ECHO_T}$wx_cv_lib_motif2" >&6
30090 if test "$wx_cv_lib_motif2" = "yes"; then
30091 cat >>confdefs.h <<\_ACEOF
30092 #define __WXMOTIF20__ 1
30093 _ACEOF
30094
30095 else
30096 cat >>confdefs.h <<\_ACEOF
30097 #define __WXMOTIF20__ 0
30098 _ACEOF
30099
30100 fi
30101
30102 echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
30103 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6
30104 if test "${wx_cv_lib_lesstif+set}" = set; then
30105 echo $ECHO_N "(cached) $ECHO_C" >&6
30106 else
30107 cat >conftest.$ac_ext <<_ACEOF
30108 /* confdefs.h. */
30109 _ACEOF
30110 cat confdefs.h >>conftest.$ac_ext
30111 cat >>conftest.$ac_ext <<_ACEOF
30112 /* end confdefs.h. */
30113
30114 #include <Xm/Xm.h>
30115
30116 int
30117 main ()
30118 {
30119
30120 #if !defined(LesstifVersion) || LesstifVersion <= 0
30121 Not Lesstif
30122 #endif
30123
30124 ;
30125 return 0;
30126 }
30127 _ACEOF
30128 rm -f conftest.$ac_objext
30129 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30130 (eval $ac_compile) 2>conftest.er1
30131 ac_status=$?
30132 grep -v '^ *+' conftest.er1 >conftest.err
30133 rm -f conftest.er1
30134 cat conftest.err >&5
30135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30136 (exit $ac_status); } &&
30137 { ac_try='test -z "$ac_c_werror_flag"
30138 || test ! -s conftest.err'
30139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30140 (eval $ac_try) 2>&5
30141 ac_status=$?
30142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30143 (exit $ac_status); }; } &&
30144 { ac_try='test -s conftest.$ac_objext'
30145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30146 (eval $ac_try) 2>&5
30147 ac_status=$?
30148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30149 (exit $ac_status); }; }; then
30150 wx_cv_lib_lesstif="yes"
30151 else
30152 echo "$as_me: failed program was:" >&5
30153 sed 's/^/| /' conftest.$ac_ext >&5
30154
30155 wx_cv_lib_lesstif="no"
30156 fi
30157 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30158
30159 fi
30160 echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
30161 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6
30162 if test "$wx_cv_lib_lesstif" = "yes"; then
30163 cat >>confdefs.h <<\_ACEOF
30164 #define __WXLESSTIF__ 1
30165 _ACEOF
30166
30167 else
30168 cat >>confdefs.h <<\_ACEOF
30169 #define __WXLESSTIF__ 0
30170 _ACEOF
30171
30172 fi
30173
30174 CFLAGS=$save_CFLAGS
30175
30176 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
30177 TOOLKIT=MOTIF
30178 GUIDIST=MOTIF_DIST
30179 fi
30180
30181 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
30182 if test "$wxUSE_LIBXPM" = "sys"; then
30183 echo "$as_me:$LINENO: checking for Xpm library" >&5
30184 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
30185
30186 ac_find_libraries=
30187 for ac_dir in $SEARCH_LIB;
30188 do
30189 for ac_extension in a so sl dylib dll.a; do
30190 if test -f "$ac_dir/libXpm.$ac_extension"; then
30191 ac_find_libraries=$ac_dir
30192 break 2
30193 fi
30194 done
30195 done
30196
30197 if test "$ac_find_libraries" != "" ; then
30198
30199 if test "$ac_find_libraries" = "default location"; then
30200 ac_path_to_link=""
30201 else
30202 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
30203 result=$?
30204 if test $result = 0; then
30205 ac_path_to_link=""
30206 else
30207 ac_path_to_link=" -L$ac_find_libraries"
30208 fi
30209 fi
30210
30211 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
30212 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
30213 echo "${ECHO_T}found in $ac_find_libraries" >&6
30214
30215 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
30216 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
30217 if test "${wx_cv_x11_xpm_h+set}" = set; then
30218 echo $ECHO_N "(cached) $ECHO_C" >&6
30219 else
30220
30221 save_CFLAGS=$CFLAGS
30222 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
30223
30224 cat >conftest.$ac_ext <<_ACEOF
30225 /* confdefs.h. */
30226 _ACEOF
30227 cat confdefs.h >>conftest.$ac_ext
30228 cat >>conftest.$ac_ext <<_ACEOF
30229 /* end confdefs.h. */
30230
30231 #include <X11/xpm.h>
30232
30233 int
30234 main ()
30235 {
30236
30237 int version;
30238 version = XpmLibraryVersion();
30239
30240 ;
30241 return 0;
30242 }
30243 _ACEOF
30244 rm -f conftest.$ac_objext
30245 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30246 (eval $ac_compile) 2>conftest.er1
30247 ac_status=$?
30248 grep -v '^ *+' conftest.er1 >conftest.err
30249 rm -f conftest.er1
30250 cat conftest.err >&5
30251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30252 (exit $ac_status); } &&
30253 { ac_try='test -z "$ac_c_werror_flag"
30254 || test ! -s conftest.err'
30255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30256 (eval $ac_try) 2>&5
30257 ac_status=$?
30258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30259 (exit $ac_status); }; } &&
30260 { ac_try='test -s conftest.$ac_objext'
30261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30262 (eval $ac_try) 2>&5
30263 ac_status=$?
30264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30265 (exit $ac_status); }; }; then
30266 wx_cv_x11_xpm_h=yes
30267 else
30268 echo "$as_me: failed program was:" >&5
30269 sed 's/^/| /' conftest.$ac_ext >&5
30270
30271 wx_cv_x11_xpm_h=no
30272
30273 fi
30274 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30275
30276 CFLAGS=$save_CFLAGS
30277
30278
30279 fi
30280 echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
30281 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6
30282
30283 if test $wx_cv_x11_xpm_h = "yes"; then
30284 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
30285 cat >>confdefs.h <<\_ACEOF
30286 #define wxHAVE_LIB_XPM 1
30287 _ACEOF
30288
30289 else
30290 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
30291 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
30292 fi
30293 fi
30294
30295 fi
30296
30297 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
30298 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
30299 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
30300 echo $ECHO_N "(cached) $ECHO_C" >&6
30301 else
30302 ac_check_lib_save_LIBS=$LIBS
30303 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
30304 cat >conftest.$ac_ext <<_ACEOF
30305 /* confdefs.h. */
30306 _ACEOF
30307 cat confdefs.h >>conftest.$ac_ext
30308 cat >>conftest.$ac_ext <<_ACEOF
30309 /* end confdefs.h. */
30310
30311 /* Override any gcc2 internal prototype to avoid an error. */
30312 #ifdef __cplusplus
30313 extern "C"
30314 #endif
30315 /* We use char because int might match the return type of a gcc2
30316 builtin and then its argument prototype would still apply. */
30317 char XShapeQueryExtension ();
30318 int
30319 main ()
30320 {
30321 XShapeQueryExtension ();
30322 ;
30323 return 0;
30324 }
30325 _ACEOF
30326 rm -f conftest.$ac_objext conftest$ac_exeext
30327 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30328 (eval $ac_link) 2>conftest.er1
30329 ac_status=$?
30330 grep -v '^ *+' conftest.er1 >conftest.err
30331 rm -f conftest.er1
30332 cat conftest.err >&5
30333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30334 (exit $ac_status); } &&
30335 { ac_try='test -z "$ac_c_werror_flag"
30336 || test ! -s conftest.err'
30337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30338 (eval $ac_try) 2>&5
30339 ac_status=$?
30340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30341 (exit $ac_status); }; } &&
30342 { ac_try='test -s conftest$ac_exeext'
30343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30344 (eval $ac_try) 2>&5
30345 ac_status=$?
30346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30347 (exit $ac_status); }; }; then
30348 ac_cv_lib_Xext_XShapeQueryExtension=yes
30349 else
30350 echo "$as_me: failed program was:" >&5
30351 sed 's/^/| /' conftest.$ac_ext >&5
30352
30353 ac_cv_lib_Xext_XShapeQueryExtension=no
30354 fi
30355 rm -f conftest.err conftest.$ac_objext \
30356 conftest$ac_exeext conftest.$ac_ext
30357 LIBS=$ac_check_lib_save_LIBS
30358 fi
30359 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
30360 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
30361 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
30362
30363 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
30364 wxHAVE_XEXT_LIB=1
30365
30366 fi
30367
30368
30369 if test "$wxHAVE_XEXT_LIB" = 1; then
30370 save_CFLAGS="$CFLAGS"
30371 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
30372
30373 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
30374 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
30375 cat >conftest.$ac_ext <<_ACEOF
30376 /* confdefs.h. */
30377 _ACEOF
30378 cat confdefs.h >>conftest.$ac_ext
30379 cat >>conftest.$ac_ext <<_ACEOF
30380 /* end confdefs.h. */
30381
30382 #include <X11/Xlib.h>
30383 #include <X11/extensions/shape.h>
30384
30385 int
30386 main ()
30387 {
30388
30389 int dummy1, dummy2;
30390 XShapeQueryExtension((Display*)NULL,
30391 (int*)NULL, (int*)NULL);
30392
30393 ;
30394 return 0;
30395 }
30396 _ACEOF
30397 rm -f conftest.$ac_objext
30398 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30399 (eval $ac_compile) 2>conftest.er1
30400 ac_status=$?
30401 grep -v '^ *+' conftest.er1 >conftest.err
30402 rm -f conftest.er1
30403 cat conftest.err >&5
30404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30405 (exit $ac_status); } &&
30406 { ac_try='test -z "$ac_c_werror_flag"
30407 || test ! -s conftest.err'
30408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30409 (eval $ac_try) 2>&5
30410 ac_status=$?
30411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30412 (exit $ac_status); }; } &&
30413 { ac_try='test -s conftest.$ac_objext'
30414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30415 (eval $ac_try) 2>&5
30416 ac_status=$?
30417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30418 (exit $ac_status); }; }; then
30419
30420 cat >>confdefs.h <<\_ACEOF
30421 #define HAVE_XSHAPE 1
30422 _ACEOF
30423
30424 echo "$as_me:$LINENO: result: found" >&5
30425 echo "${ECHO_T}found" >&6
30426
30427 else
30428 echo "$as_me: failed program was:" >&5
30429 sed 's/^/| /' conftest.$ac_ext >&5
30430
30431
30432 echo "$as_me:$LINENO: result: not found" >&5
30433 echo "${ECHO_T}not found" >&6
30434
30435 fi
30436 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30437 CFLAGS="$save_CFLAGS"
30438
30439 fi
30440 fi
30441
30442 if test "$wxUSE_MAC" = 1; then
30443 echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
30444 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6
30445 if test "$GCC" = yes; then
30446 echo "$as_me:$LINENO: result: gcc" >&5
30447 echo "${ECHO_T}gcc" >&6
30448 CPPFLAGS_PASCAL="-fpascal-strings"
30449 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
30450 echo "$as_me:$LINENO: result: xlc" >&5
30451 echo "${ECHO_T}xlc" >&6
30452 CPPFLAGS_PASCAL="-qmacpstr"
30453 else
30454 echo "$as_me:$LINENO: result: none" >&5
30455 echo "${ECHO_T}none" >&6
30456 fi
30457
30458 if test "x$wxUSE_UNIX" = "xyes"; then
30459 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
30460 else
30461 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
30462 fi
30463
30464 TOOLKIT=MAC
30465 GUIDIST=MACX_DIST
30466 WXBASEPORT="_carbon"
30467 fi
30468
30469 if test "$wxUSE_COCOA" = 1; then
30470 TOOLKIT=COCOA
30471 GUIDIST=COCOA_DIST
30472 fi
30473
30474 if test "$wxUSE_PM" = 1; then
30475 TOOLKIT=PM
30476 GUIDIST=PM_DIST
30477 echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
30478 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6
30479 if test "${wx_cv_spbcdata+set}" = set; then
30480 echo $ECHO_N "(cached) $ECHO_C" >&6
30481 else
30482
30483 cat >conftest.$ac_ext <<_ACEOF
30484 /* confdefs.h. */
30485 _ACEOF
30486 cat confdefs.h >>conftest.$ac_ext
30487 cat >>conftest.$ac_ext <<_ACEOF
30488 /* end confdefs.h. */
30489
30490 #define INCL_PM
30491 #include <os2.h>
30492
30493 int
30494 main ()
30495 {
30496
30497 SPBCDATA test;
30498
30499 ;
30500 return 0;
30501 }
30502 _ACEOF
30503 rm -f conftest.$ac_objext
30504 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30505 (eval $ac_compile) 2>conftest.er1
30506 ac_status=$?
30507 grep -v '^ *+' conftest.er1 >conftest.err
30508 rm -f conftest.er1
30509 cat conftest.err >&5
30510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30511 (exit $ac_status); } &&
30512 { ac_try='test -z "$ac_c_werror_flag"
30513 || test ! -s conftest.err'
30514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30515 (eval $ac_try) 2>&5
30516 ac_status=$?
30517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30518 (exit $ac_status); }; } &&
30519 { ac_try='test -s conftest.$ac_objext'
30520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30521 (eval $ac_try) 2>&5
30522 ac_status=$?
30523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30524 (exit $ac_status); }; }; then
30525 wx_cv_spbcdata=yes
30526 else
30527 echo "$as_me: failed program was:" >&5
30528 sed 's/^/| /' conftest.$ac_ext >&5
30529
30530 wx_cv_spbcdata=no
30531
30532 fi
30533 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30534
30535
30536 fi
30537 echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
30538 echo "${ECHO_T}$wx_cv_spbcdata" >&6
30539
30540 if test $wx_cv_spbcdata = "yes"; then
30541 cat >>confdefs.h <<\_ACEOF
30542 #define HAVE_SPBCDATA 1
30543 _ACEOF
30544
30545 fi
30546 fi
30547
30548 if test "$TOOLKIT" = "PM" ; then
30549 TOOLKIT_DIR="os2"
30550 else
30551 TOOLKIT_DIR=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
30552 fi
30553
30554 if test "$wxUSE_UNIVERSAL" = "yes"; then
30555 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
30556 WIDGET_SET=univ
30557 fi
30558
30559 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
30560 DISTDIR="wx\$(TOOLKIT)"
30561 else
30562 USE_GUI=0
30563
30564 TOOLKIT_DIR="base"
30565
30566 if test "$USE_WIN32" = 1 ; then
30567 TOOLKIT="MSW"
30568 fi
30569
30570 GUIDIST="BASE_DIST"
30571 DISTDIR="wxBase"
30572 fi
30573
30574
30575 if test "$wxUSE_GUI" = "yes"; then
30576 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
30577
30578 for ac_header in X11/Xlib.h
30579 do
30580 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
30581 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30582 echo "$as_me:$LINENO: checking for $ac_header" >&5
30583 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30584 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30585 echo $ECHO_N "(cached) $ECHO_C" >&6
30586 fi
30587 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30588 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30589 else
30590 # Is the header compilable?
30591 echo "$as_me:$LINENO: checking $ac_header usability" >&5
30592 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
30593 cat >conftest.$ac_ext <<_ACEOF
30594 /* confdefs.h. */
30595 _ACEOF
30596 cat confdefs.h >>conftest.$ac_ext
30597 cat >>conftest.$ac_ext <<_ACEOF
30598 /* end confdefs.h. */
30599 $ac_includes_default
30600 #include <$ac_header>
30601 _ACEOF
30602 rm -f conftest.$ac_objext
30603 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30604 (eval $ac_compile) 2>conftest.er1
30605 ac_status=$?
30606 grep -v '^ *+' conftest.er1 >conftest.err
30607 rm -f conftest.er1
30608 cat conftest.err >&5
30609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30610 (exit $ac_status); } &&
30611 { ac_try='test -z "$ac_c_werror_flag"
30612 || test ! -s conftest.err'
30613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30614 (eval $ac_try) 2>&5
30615 ac_status=$?
30616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30617 (exit $ac_status); }; } &&
30618 { ac_try='test -s conftest.$ac_objext'
30619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30620 (eval $ac_try) 2>&5
30621 ac_status=$?
30622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30623 (exit $ac_status); }; }; then
30624 ac_header_compiler=yes
30625 else
30626 echo "$as_me: failed program was:" >&5
30627 sed 's/^/| /' conftest.$ac_ext >&5
30628
30629 ac_header_compiler=no
30630 fi
30631 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30632 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
30633 echo "${ECHO_T}$ac_header_compiler" >&6
30634
30635 # Is the header present?
30636 echo "$as_me:$LINENO: checking $ac_header presence" >&5
30637 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
30638 cat >conftest.$ac_ext <<_ACEOF
30639 /* confdefs.h. */
30640 _ACEOF
30641 cat confdefs.h >>conftest.$ac_ext
30642 cat >>conftest.$ac_ext <<_ACEOF
30643 /* end confdefs.h. */
30644 #include <$ac_header>
30645 _ACEOF
30646 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
30647 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
30648 ac_status=$?
30649 grep -v '^ *+' conftest.er1 >conftest.err
30650 rm -f conftest.er1
30651 cat conftest.err >&5
30652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30653 (exit $ac_status); } >/dev/null; then
30654 if test -s conftest.err; then
30655 ac_cpp_err=$ac_c_preproc_warn_flag
30656 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
30657 else
30658 ac_cpp_err=
30659 fi
30660 else
30661 ac_cpp_err=yes
30662 fi
30663 if test -z "$ac_cpp_err"; then
30664 ac_header_preproc=yes
30665 else
30666 echo "$as_me: failed program was:" >&5
30667 sed 's/^/| /' conftest.$ac_ext >&5
30668
30669 ac_header_preproc=no
30670 fi
30671 rm -f conftest.err conftest.$ac_ext
30672 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30673 echo "${ECHO_T}$ac_header_preproc" >&6
30674
30675 # So? What about this header?
30676 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
30677 yes:no: )
30678 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
30679 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
30680 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
30681 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
30682 ac_header_preproc=yes
30683 ;;
30684 no:yes:* )
30685 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
30686 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
30687 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
30688 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
30689 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
30690 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
30691 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
30692 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
30693 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
30694 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
30695 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
30696 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
30697 (
30698 cat <<\_ASBOX
30699 ## ----------------------------------------- ##
30700 ## Report this to wx-dev@lists.wxwidgets.org ##
30701 ## ----------------------------------------- ##
30702 _ASBOX
30703 ) |
30704 sed "s/^/$as_me: WARNING: /" >&2
30705 ;;
30706 esac
30707 echo "$as_me:$LINENO: checking for $ac_header" >&5
30708 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30709 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30710 echo $ECHO_N "(cached) $ECHO_C" >&6
30711 else
30712 eval "$as_ac_Header=\$ac_header_preproc"
30713 fi
30714 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30715 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30716
30717 fi
30718 if test `eval echo '${'$as_ac_Header'}'` = yes; then
30719 cat >>confdefs.h <<_ACEOF
30720 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
30721 _ACEOF
30722
30723 fi
30724
30725 done
30726
30727
30728 for ac_header in X11/XKBlib.h
30729 do
30730 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
30731 echo "$as_me:$LINENO: checking for $ac_header" >&5
30732 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30733 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30734 echo $ECHO_N "(cached) $ECHO_C" >&6
30735 else
30736 cat >conftest.$ac_ext <<_ACEOF
30737 /* confdefs.h. */
30738 _ACEOF
30739 cat confdefs.h >>conftest.$ac_ext
30740 cat >>conftest.$ac_ext <<_ACEOF
30741 /* end confdefs.h. */
30742
30743 #if HAVE_X11_XLIB_H
30744 #include <X11/Xlib.h>
30745 #endif
30746
30747
30748 #include <$ac_header>
30749 _ACEOF
30750 rm -f conftest.$ac_objext
30751 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30752 (eval $ac_compile) 2>conftest.er1
30753 ac_status=$?
30754 grep -v '^ *+' conftest.er1 >conftest.err
30755 rm -f conftest.er1
30756 cat conftest.err >&5
30757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30758 (exit $ac_status); } &&
30759 { ac_try='test -z "$ac_c_werror_flag"
30760 || test ! -s conftest.err'
30761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30762 (eval $ac_try) 2>&5
30763 ac_status=$?
30764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30765 (exit $ac_status); }; } &&
30766 { ac_try='test -s conftest.$ac_objext'
30767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30768 (eval $ac_try) 2>&5
30769 ac_status=$?
30770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30771 (exit $ac_status); }; }; then
30772 eval "$as_ac_Header=yes"
30773 else
30774 echo "$as_me: failed program was:" >&5
30775 sed 's/^/| /' conftest.$ac_ext >&5
30776
30777 eval "$as_ac_Header=no"
30778 fi
30779 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30780 fi
30781 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30782 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30783 if test `eval echo '${'$as_ac_Header'}'` = yes; then
30784 cat >>confdefs.h <<_ACEOF
30785 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
30786 _ACEOF
30787
30788 fi
30789
30790 done
30791
30792 fi
30793 fi
30794
30795
30796
30797 IODBC_C_SRC=""
30798
30799
30800 if test "$TOOLKIT" != "MSW" ; then
30801
30802 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
30803
30804 if test "${ac_cv_header_sql_h+set}" = set; then
30805 echo "$as_me:$LINENO: checking for sql.h" >&5
30806 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
30807 if test "${ac_cv_header_sql_h+set}" = set; then
30808 echo $ECHO_N "(cached) $ECHO_C" >&6
30809 fi
30810 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
30811 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
30812 else
30813 # Is the header compilable?
30814 echo "$as_me:$LINENO: checking sql.h usability" >&5
30815 echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
30816 cat >conftest.$ac_ext <<_ACEOF
30817 /* confdefs.h. */
30818 _ACEOF
30819 cat confdefs.h >>conftest.$ac_ext
30820 cat >>conftest.$ac_ext <<_ACEOF
30821 /* end confdefs.h. */
30822 $ac_includes_default
30823 #include <sql.h>
30824 _ACEOF
30825 rm -f conftest.$ac_objext
30826 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30827 (eval $ac_compile) 2>conftest.er1
30828 ac_status=$?
30829 grep -v '^ *+' conftest.er1 >conftest.err
30830 rm -f conftest.er1
30831 cat conftest.err >&5
30832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30833 (exit $ac_status); } &&
30834 { ac_try='test -z "$ac_c_werror_flag"
30835 || test ! -s conftest.err'
30836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30837 (eval $ac_try) 2>&5
30838 ac_status=$?
30839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30840 (exit $ac_status); }; } &&
30841 { ac_try='test -s conftest.$ac_objext'
30842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30843 (eval $ac_try) 2>&5
30844 ac_status=$?
30845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30846 (exit $ac_status); }; }; then
30847 ac_header_compiler=yes
30848 else
30849 echo "$as_me: failed program was:" >&5
30850 sed 's/^/| /' conftest.$ac_ext >&5
30851
30852 ac_header_compiler=no
30853 fi
30854 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30855 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
30856 echo "${ECHO_T}$ac_header_compiler" >&6
30857
30858 # Is the header present?
30859 echo "$as_me:$LINENO: checking sql.h presence" >&5
30860 echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
30861 cat >conftest.$ac_ext <<_ACEOF
30862 /* confdefs.h. */
30863 _ACEOF
30864 cat confdefs.h >>conftest.$ac_ext
30865 cat >>conftest.$ac_ext <<_ACEOF
30866 /* end confdefs.h. */
30867 #include <sql.h>
30868 _ACEOF
30869 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
30870 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
30871 ac_status=$?
30872 grep -v '^ *+' conftest.er1 >conftest.err
30873 rm -f conftest.er1
30874 cat conftest.err >&5
30875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30876 (exit $ac_status); } >/dev/null; then
30877 if test -s conftest.err; then
30878 ac_cpp_err=$ac_c_preproc_warn_flag
30879 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
30880 else
30881 ac_cpp_err=
30882 fi
30883 else
30884 ac_cpp_err=yes
30885 fi
30886 if test -z "$ac_cpp_err"; then
30887 ac_header_preproc=yes
30888 else
30889 echo "$as_me: failed program was:" >&5
30890 sed 's/^/| /' conftest.$ac_ext >&5
30891
30892 ac_header_preproc=no
30893 fi
30894 rm -f conftest.err conftest.$ac_ext
30895 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30896 echo "${ECHO_T}$ac_header_preproc" >&6
30897
30898 # So? What about this header?
30899 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
30900 yes:no: )
30901 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
30902 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
30903 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the compiler's result" >&5
30904 echo "$as_me: WARNING: sql.h: proceeding with the compiler's result" >&2;}
30905 ac_header_preproc=yes
30906 ;;
30907 no:yes:* )
30908 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
30909 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
30910 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
30911 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
30912 { echo "$as_me:$LINENO: WARNING: sql.h: see the Autoconf documentation" >&5
30913 echo "$as_me: WARNING: sql.h: see the Autoconf documentation" >&2;}
30914 { echo "$as_me:$LINENO: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&5
30915 echo "$as_me: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&2;}
30916 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
30917 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
30918 { echo "$as_me:$LINENO: WARNING: sql.h: in the future, the compiler will take precedence" >&5
30919 echo "$as_me: WARNING: sql.h: in the future, the compiler will take precedence" >&2;}
30920 (
30921 cat <<\_ASBOX
30922 ## ----------------------------------------- ##
30923 ## Report this to wx-dev@lists.wxwidgets.org ##
30924 ## ----------------------------------------- ##
30925 _ASBOX
30926 ) |
30927 sed "s/^/$as_me: WARNING: /" >&2
30928 ;;
30929 esac
30930 echo "$as_me:$LINENO: checking for sql.h" >&5
30931 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
30932 if test "${ac_cv_header_sql_h+set}" = set; then
30933 echo $ECHO_N "(cached) $ECHO_C" >&6
30934 else
30935 ac_cv_header_sql_h=$ac_header_preproc
30936 fi
30937 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
30938 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
30939
30940 fi
30941 if test $ac_cv_header_sql_h = yes; then
30942 found_sql_h=1
30943 fi
30944
30945
30946 if test "x$found_sql_h" = "x1" ; then
30947 echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
30948 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6
30949 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
30950 echo $ECHO_N "(cached) $ECHO_C" >&6
30951 else
30952 ac_check_lib_save_LIBS=$LIBS
30953 LIBS="-liodbc $LIBS"
30954 cat >conftest.$ac_ext <<_ACEOF
30955 /* confdefs.h. */
30956 _ACEOF
30957 cat confdefs.h >>conftest.$ac_ext
30958 cat >>conftest.$ac_ext <<_ACEOF
30959 /* end confdefs.h. */
30960
30961 /* Override any gcc2 internal prototype to avoid an error. */
30962 #ifdef __cplusplus
30963 extern "C"
30964 #endif
30965 /* We use char because int might match the return type of a gcc2
30966 builtin and then its argument prototype would still apply. */
30967 char SQLAllocEnv ();
30968 int
30969 main ()
30970 {
30971 SQLAllocEnv ();
30972 ;
30973 return 0;
30974 }
30975 _ACEOF
30976 rm -f conftest.$ac_objext conftest$ac_exeext
30977 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30978 (eval $ac_link) 2>conftest.er1
30979 ac_status=$?
30980 grep -v '^ *+' conftest.er1 >conftest.err
30981 rm -f conftest.er1
30982 cat conftest.err >&5
30983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30984 (exit $ac_status); } &&
30985 { ac_try='test -z "$ac_c_werror_flag"
30986 || test ! -s conftest.err'
30987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30988 (eval $ac_try) 2>&5
30989 ac_status=$?
30990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30991 (exit $ac_status); }; } &&
30992 { ac_try='test -s conftest$ac_exeext'
30993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30994 (eval $ac_try) 2>&5
30995 ac_status=$?
30996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30997 (exit $ac_status); }; }; then
30998 ac_cv_lib_iodbc_SQLAllocEnv=yes
30999 else
31000 echo "$as_me: failed program was:" >&5
31001 sed 's/^/| /' conftest.$ac_ext >&5
31002
31003 ac_cv_lib_iodbc_SQLAllocEnv=no
31004 fi
31005 rm -f conftest.err conftest.$ac_objext \
31006 conftest$ac_exeext conftest.$ac_ext
31007 LIBS=$ac_check_lib_save_LIBS
31008 fi
31009 echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
31010 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6
31011 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
31012 ODBC_LINK=" -liodbc"
31013 else
31014
31015 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
31016 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6
31017 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
31018 echo $ECHO_N "(cached) $ECHO_C" >&6
31019 else
31020 ac_check_lib_save_LIBS=$LIBS
31021 LIBS="-lunixodbc $LIBS"
31022 cat >conftest.$ac_ext <<_ACEOF
31023 /* confdefs.h. */
31024 _ACEOF
31025 cat confdefs.h >>conftest.$ac_ext
31026 cat >>conftest.$ac_ext <<_ACEOF
31027 /* end confdefs.h. */
31028
31029 /* Override any gcc2 internal prototype to avoid an error. */
31030 #ifdef __cplusplus
31031 extern "C"
31032 #endif
31033 /* We use char because int might match the return type of a gcc2
31034 builtin and then its argument prototype would still apply. */
31035 char SQLAllocEnv ();
31036 int
31037 main ()
31038 {
31039 SQLAllocEnv ();
31040 ;
31041 return 0;
31042 }
31043 _ACEOF
31044 rm -f conftest.$ac_objext conftest$ac_exeext
31045 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31046 (eval $ac_link) 2>conftest.er1
31047 ac_status=$?
31048 grep -v '^ *+' conftest.er1 >conftest.err
31049 rm -f conftest.er1
31050 cat conftest.err >&5
31051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31052 (exit $ac_status); } &&
31053 { ac_try='test -z "$ac_c_werror_flag"
31054 || test ! -s conftest.err'
31055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31056 (eval $ac_try) 2>&5
31057 ac_status=$?
31058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31059 (exit $ac_status); }; } &&
31060 { ac_try='test -s conftest$ac_exeext'
31061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31062 (eval $ac_try) 2>&5
31063 ac_status=$?
31064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31065 (exit $ac_status); }; }; then
31066 ac_cv_lib_unixodbc_SQLAllocEnv=yes
31067 else
31068 echo "$as_me: failed program was:" >&5
31069 sed 's/^/| /' conftest.$ac_ext >&5
31070
31071 ac_cv_lib_unixodbc_SQLAllocEnv=no
31072 fi
31073 rm -f conftest.err conftest.$ac_objext \
31074 conftest$ac_exeext conftest.$ac_ext
31075 LIBS=$ac_check_lib_save_LIBS
31076 fi
31077 echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
31078 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6
31079 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
31080 ODBC_LINK=" -lunixodbc"
31081 else
31082
31083 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
31084 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6
31085 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
31086 echo $ECHO_N "(cached) $ECHO_C" >&6
31087 else
31088 ac_check_lib_save_LIBS=$LIBS
31089 LIBS="-lodbc $LIBS"
31090 cat >conftest.$ac_ext <<_ACEOF
31091 /* confdefs.h. */
31092 _ACEOF
31093 cat confdefs.h >>conftest.$ac_ext
31094 cat >>conftest.$ac_ext <<_ACEOF
31095 /* end confdefs.h. */
31096
31097 /* Override any gcc2 internal prototype to avoid an error. */
31098 #ifdef __cplusplus
31099 extern "C"
31100 #endif
31101 /* We use char because int might match the return type of a gcc2
31102 builtin and then its argument prototype would still apply. */
31103 char SQLAllocEnv ();
31104 int
31105 main ()
31106 {
31107 SQLAllocEnv ();
31108 ;
31109 return 0;
31110 }
31111 _ACEOF
31112 rm -f conftest.$ac_objext conftest$ac_exeext
31113 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31114 (eval $ac_link) 2>conftest.er1
31115 ac_status=$?
31116 grep -v '^ *+' conftest.er1 >conftest.err
31117 rm -f conftest.er1
31118 cat conftest.err >&5
31119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31120 (exit $ac_status); } &&
31121 { ac_try='test -z "$ac_c_werror_flag"
31122 || test ! -s conftest.err'
31123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31124 (eval $ac_try) 2>&5
31125 ac_status=$?
31126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31127 (exit $ac_status); }; } &&
31128 { ac_try='test -s conftest$ac_exeext'
31129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31130 (eval $ac_try) 2>&5
31131 ac_status=$?
31132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31133 (exit $ac_status); }; }; then
31134 ac_cv_lib_odbc_SQLAllocEnv=yes
31135 else
31136 echo "$as_me: failed program was:" >&5
31137 sed 's/^/| /' conftest.$ac_ext >&5
31138
31139 ac_cv_lib_odbc_SQLAllocEnv=no
31140 fi
31141 rm -f conftest.err conftest.$ac_objext \
31142 conftest$ac_exeext conftest.$ac_ext
31143 LIBS=$ac_check_lib_save_LIBS
31144 fi
31145 echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
31146 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6
31147 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
31148 ODBC_LINK=" -lodbc"
31149 fi
31150
31151
31152 fi
31153
31154
31155 fi
31156
31157 fi
31158 if test "x$ODBC_LINK" = "x" ; then
31159 if test "$wxUSE_ODBC" = "sys" ; then
31160 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
31161 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
31162 { (exit 1); exit 1; }; }
31163 else
31164 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
31165 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
31166 wxUSE_ODBC=builtin
31167 fi
31168 else
31169 wxUSE_ODBC=sys
31170 fi
31171 fi
31172
31173 if test "$wxUSE_ODBC" = "builtin" ; then
31174 cat >>confdefs.h <<\_ACEOF
31175 #define wxUSE_BUILTIN_IODBC 1
31176 _ACEOF
31177
31178 fi
31179 fi
31180
31181 if test "$wxUSE_ODBC" != "no" ; then
31182 cat >>confdefs.h <<\_ACEOF
31183 #define wxUSE_ODBC 1
31184 _ACEOF
31185
31186 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS db"
31187
31188 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_IODBC_"
31189 fi
31190
31191
31192 if test "$wxUSE_DISPLAY" = "yes"; then
31193 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
31194 echo "$as_me:$LINENO: checking for Xinerama" >&5
31195 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6
31196
31197 ac_find_libraries=
31198 for ac_dir in $SEARCH_LIB;
31199 do
31200 for ac_extension in a so sl dylib dll.a; do
31201 if test -f "$ac_dir/libXinerama.$ac_extension"; then
31202 ac_find_libraries=$ac_dir
31203 break 2
31204 fi
31205 done
31206 done
31207
31208 if test "$ac_find_libraries" != "" ; then
31209
31210 if test "$ac_find_libraries" = "default location"; then
31211 ac_path_to_link=""
31212 else
31213 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
31214 result=$?
31215 if test $result = 0; then
31216 ac_path_to_link=""
31217 else
31218 ac_path_to_link=" -L$ac_find_libraries"
31219 fi
31220 fi
31221
31222 if test "$ac_path_to_link" != " -L/usr/lib" ; then
31223 LDFLAGS="$LDFLAGS $ac_path_to_link"
31224 fi
31225 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
31226 echo "$as_me:$LINENO: result: yes" >&5
31227 echo "${ECHO_T}yes" >&6
31228
31229 echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
31230 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6
31231
31232 ac_find_libraries=
31233 for ac_dir in $SEARCH_LIB;
31234 do
31235 for ac_extension in a so sl dylib dll.a; do
31236 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
31237 ac_find_libraries=$ac_dir
31238 break 2
31239 fi
31240 done
31241 done
31242
31243 if test "$ac_find_libraries" != "" ; then
31244 echo "$as_me:$LINENO: result: yes" >&5
31245 echo "${ECHO_T}yes" >&6
31246
31247 for ac_header in X11/extensions/xf86vmode.h
31248 do
31249 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31250 echo "$as_me:$LINENO: checking for $ac_header" >&5
31251 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31252 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31253 echo $ECHO_N "(cached) $ECHO_C" >&6
31254 else
31255 cat >conftest.$ac_ext <<_ACEOF
31256 /* confdefs.h. */
31257 _ACEOF
31258 cat confdefs.h >>conftest.$ac_ext
31259 cat >>conftest.$ac_ext <<_ACEOF
31260 /* end confdefs.h. */
31261
31262 #if HAVE_X11_XLIB_H
31263 #include <X11/Xlib.h>
31264 #endif
31265
31266
31267 #include <$ac_header>
31268 _ACEOF
31269 rm -f conftest.$ac_objext
31270 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31271 (eval $ac_compile) 2>conftest.er1
31272 ac_status=$?
31273 grep -v '^ *+' conftest.er1 >conftest.err
31274 rm -f conftest.er1
31275 cat conftest.err >&5
31276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31277 (exit $ac_status); } &&
31278 { ac_try='test -z "$ac_c_werror_flag"
31279 || test ! -s conftest.err'
31280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31281 (eval $ac_try) 2>&5
31282 ac_status=$?
31283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31284 (exit $ac_status); }; } &&
31285 { ac_try='test -s conftest.$ac_objext'
31286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31287 (eval $ac_try) 2>&5
31288 ac_status=$?
31289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31290 (exit $ac_status); }; }; then
31291 eval "$as_ac_Header=yes"
31292 else
31293 echo "$as_me: failed program was:" >&5
31294 sed 's/^/| /' conftest.$ac_ext >&5
31295
31296 eval "$as_ac_Header=no"
31297 fi
31298 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31299 fi
31300 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31301 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31302 if test `eval echo '${'$as_ac_Header'}'` = yes; then
31303 cat >>confdefs.h <<_ACEOF
31304 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31305 _ACEOF
31306
31307 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
31308
31309 fi
31310
31311 done
31312
31313 else
31314 echo "$as_me:$LINENO: result: no" >&5
31315 echo "${ECHO_T}no" >&6
31316 fi
31317
31318 else
31319 echo "$as_me:$LINENO: result: no" >&5
31320 echo "${ECHO_T}no" >&6
31321 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
31322 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
31323 wxUSE_DISPLAY="no"
31324 fi
31325 elif test "$wxUSE_MSW" = 1; then
31326
31327 for ac_header in ddraw.h
31328 do
31329 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31330 echo "$as_me:$LINENO: checking for $ac_header" >&5
31331 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31332 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31333 echo $ECHO_N "(cached) $ECHO_C" >&6
31334 else
31335 cat >conftest.$ac_ext <<_ACEOF
31336 /* confdefs.h. */
31337 _ACEOF
31338 cat confdefs.h >>conftest.$ac_ext
31339 cat >>conftest.$ac_ext <<_ACEOF
31340 /* end confdefs.h. */
31341 #include <windows.h>
31342
31343 #include <$ac_header>
31344 _ACEOF
31345 rm -f conftest.$ac_objext
31346 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31347 (eval $ac_compile) 2>conftest.er1
31348 ac_status=$?
31349 grep -v '^ *+' conftest.er1 >conftest.err
31350 rm -f conftest.er1
31351 cat conftest.err >&5
31352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31353 (exit $ac_status); } &&
31354 { ac_try='test -z "$ac_c_werror_flag"
31355 || test ! -s conftest.err'
31356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31357 (eval $ac_try) 2>&5
31358 ac_status=$?
31359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31360 (exit $ac_status); }; } &&
31361 { ac_try='test -s conftest.$ac_objext'
31362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31363 (eval $ac_try) 2>&5
31364 ac_status=$?
31365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31366 (exit $ac_status); }; }; then
31367 eval "$as_ac_Header=yes"
31368 else
31369 echo "$as_me: failed program was:" >&5
31370 sed 's/^/| /' conftest.$ac_ext >&5
31371
31372 eval "$as_ac_Header=no"
31373 fi
31374 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31375 fi
31376 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31377 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31378 if test `eval echo '${'$as_ac_Header'}'` = yes; then
31379 cat >>confdefs.h <<_ACEOF
31380 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31381 _ACEOF
31382
31383 fi
31384
31385 done
31386
31387 fi
31388 fi
31389
31390
31391 USE_OPENGL=0
31392 if test "$wxUSE_OPENGL" = "yes"; then
31393 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
31394 OPENGL_LIBS="-framework OpenGL -framework AGL"
31395 elif test "$wxUSE_MSW" = 1; then
31396 OPENGL_LIBS="-lopengl32 -lglu32"
31397 else
31398
31399
31400 ac_find_includes=
31401 for ac_dir in $SEARCH_INCLUDE /usr/include;
31402 do
31403 if test -f "$ac_dir/GL/gl.h"; then
31404 ac_find_includes=$ac_dir
31405 break
31406 fi
31407 done
31408
31409 if test "$ac_find_includes" != "" ; then
31410 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
31411 echo "${ECHO_T}found in $ac_find_includes" >&6
31412
31413 if test "x$ac_find_includes" = "x/usr/include"; then
31414 ac_path_to_include=""
31415 else
31416 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
31417 result=$?
31418 if test $result = 0; then
31419 ac_path_to_include=""
31420 else
31421 ac_path_to_include=" -I$ac_find_includes"
31422 fi
31423 fi
31424
31425 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
31426 fi
31427
31428 if test "${ac_cv_header_GL_gl_h+set}" = set; then
31429 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
31430 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
31431 if test "${ac_cv_header_GL_gl_h+set}" = set; then
31432 echo $ECHO_N "(cached) $ECHO_C" >&6
31433 fi
31434 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
31435 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
31436 else
31437 # Is the header compilable?
31438 echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
31439 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
31440 cat >conftest.$ac_ext <<_ACEOF
31441 /* confdefs.h. */
31442 _ACEOF
31443 cat confdefs.h >>conftest.$ac_ext
31444 cat >>conftest.$ac_ext <<_ACEOF
31445 /* end confdefs.h. */
31446 $ac_includes_default
31447 #include <GL/gl.h>
31448 _ACEOF
31449 rm -f conftest.$ac_objext
31450 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31451 (eval $ac_compile) 2>conftest.er1
31452 ac_status=$?
31453 grep -v '^ *+' conftest.er1 >conftest.err
31454 rm -f conftest.er1
31455 cat conftest.err >&5
31456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31457 (exit $ac_status); } &&
31458 { ac_try='test -z "$ac_c_werror_flag"
31459 || test ! -s conftest.err'
31460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31461 (eval $ac_try) 2>&5
31462 ac_status=$?
31463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31464 (exit $ac_status); }; } &&
31465 { ac_try='test -s conftest.$ac_objext'
31466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31467 (eval $ac_try) 2>&5
31468 ac_status=$?
31469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31470 (exit $ac_status); }; }; then
31471 ac_header_compiler=yes
31472 else
31473 echo "$as_me: failed program was:" >&5
31474 sed 's/^/| /' conftest.$ac_ext >&5
31475
31476 ac_header_compiler=no
31477 fi
31478 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31479 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31480 echo "${ECHO_T}$ac_header_compiler" >&6
31481
31482 # Is the header present?
31483 echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
31484 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
31485 cat >conftest.$ac_ext <<_ACEOF
31486 /* confdefs.h. */
31487 _ACEOF
31488 cat confdefs.h >>conftest.$ac_ext
31489 cat >>conftest.$ac_ext <<_ACEOF
31490 /* end confdefs.h. */
31491 #include <GL/gl.h>
31492 _ACEOF
31493 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31494 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
31495 ac_status=$?
31496 grep -v '^ *+' conftest.er1 >conftest.err
31497 rm -f conftest.er1
31498 cat conftest.err >&5
31499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31500 (exit $ac_status); } >/dev/null; then
31501 if test -s conftest.err; then
31502 ac_cpp_err=$ac_c_preproc_warn_flag
31503 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
31504 else
31505 ac_cpp_err=
31506 fi
31507 else
31508 ac_cpp_err=yes
31509 fi
31510 if test -z "$ac_cpp_err"; then
31511 ac_header_preproc=yes
31512 else
31513 echo "$as_me: failed program was:" >&5
31514 sed 's/^/| /' conftest.$ac_ext >&5
31515
31516 ac_header_preproc=no
31517 fi
31518 rm -f conftest.err conftest.$ac_ext
31519 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31520 echo "${ECHO_T}$ac_header_preproc" >&6
31521
31522 # So? What about this header?
31523 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
31524 yes:no: )
31525 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
31526 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
31527 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the compiler's result" >&5
31528 echo "$as_me: WARNING: GL/gl.h: proceeding with the compiler's result" >&2;}
31529 ac_header_preproc=yes
31530 ;;
31531 no:yes:* )
31532 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
31533 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
31534 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
31535 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
31536 { echo "$as_me:$LINENO: WARNING: GL/gl.h: see the Autoconf documentation" >&5
31537 echo "$as_me: WARNING: GL/gl.h: see the Autoconf documentation" >&2;}
31538 { echo "$as_me:$LINENO: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&5
31539 echo "$as_me: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&2;}
31540 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
31541 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
31542 { echo "$as_me:$LINENO: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&5
31543 echo "$as_me: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&2;}
31544 (
31545 cat <<\_ASBOX
31546 ## ----------------------------------------- ##
31547 ## Report this to wx-dev@lists.wxwidgets.org ##
31548 ## ----------------------------------------- ##
31549 _ASBOX
31550 ) |
31551 sed "s/^/$as_me: WARNING: /" >&2
31552 ;;
31553 esac
31554 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
31555 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
31556 if test "${ac_cv_header_GL_gl_h+set}" = set; then
31557 echo $ECHO_N "(cached) $ECHO_C" >&6
31558 else
31559 ac_cv_header_GL_gl_h=$ac_header_preproc
31560 fi
31561 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
31562 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
31563
31564 fi
31565 if test $ac_cv_header_GL_gl_h = yes; then
31566
31567 found_gl=0
31568
31569 echo "$as_me:$LINENO: checking for -lGL" >&5
31570 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
31571
31572 ac_find_libraries=
31573 for ac_dir in $SEARCH_LIB;
31574 do
31575 for ac_extension in a so sl dylib dll.a; do
31576 if test -f "$ac_dir/libGL.$ac_extension"; then
31577 ac_find_libraries=$ac_dir
31578 break 2
31579 fi
31580 done
31581 done
31582
31583 if test "$ac_find_libraries" != "" ; then
31584 echo "$as_me:$LINENO: result: yes" >&5
31585 echo "${ECHO_T}yes" >&6
31586
31587
31588 if test "$ac_find_libraries" = "default location"; then
31589 ac_path_to_link=""
31590 else
31591 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
31592 result=$?
31593 if test $result = 0; then
31594 ac_path_to_link=""
31595 else
31596 ac_path_to_link=" -L$ac_find_libraries"
31597 fi
31598 fi
31599
31600 if test "$ac_path_to_link" != " -L/usr/lib" ; then
31601 LDFLAGS_GL="$ac_path_to_link"
31602 fi
31603
31604 echo "$as_me:$LINENO: checking for -lGLU" >&5
31605 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6
31606
31607 ac_find_libraries=
31608 for ac_dir in $SEARCH_LIB;
31609 do
31610 for ac_extension in a so sl dylib dll.a; do
31611 if test -f "$ac_dir/libGLU.$ac_extension"; then
31612 ac_find_libraries=$ac_dir
31613 break 2
31614 fi
31615 done
31616 done
31617
31618 if test "$ac_find_libraries" != "" ; then
31619
31620 if test "$ac_find_libraries" = "default location"; then
31621 ac_path_to_link=""
31622 else
31623 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
31624 result=$?
31625 if test $result = 0; then
31626 ac_path_to_link=""
31627 else
31628 ac_path_to_link=" -L$ac_find_libraries"
31629 fi
31630 fi
31631
31632 if test "$ac_path_to_link" != " -L/usr/lib" -a \
31633 "$ac_path_to_link" != "$LDFLAGS_GL"; then
31634 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
31635 fi
31636
31637 found_gl=1
31638 OPENGL_LIBS="-lGL -lGLU"
31639 echo "$as_me:$LINENO: result: yes" >&5
31640 echo "${ECHO_T}yes" >&6
31641 else
31642 echo "$as_me:$LINENO: result: no" >&5
31643 echo "${ECHO_T}no" >&6
31644 fi
31645 else
31646 echo "$as_me:$LINENO: result: no" >&5
31647 echo "${ECHO_T}no" >&6
31648 fi
31649
31650 if test "$found_gl" != 1; then
31651 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
31652 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
31653
31654 ac_find_libraries=
31655 for ac_dir in $SEARCH_LIB;
31656 do
31657 for ac_extension in a so sl dylib dll.a; do
31658 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
31659 ac_find_libraries=$ac_dir
31660 break 2
31661 fi
31662 done
31663 done
31664
31665 if test "$ac_find_libraries" != "" ; then
31666
31667 if test "$ac_find_libraries" = "default location"; then
31668 ac_path_to_link=""
31669 else
31670 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
31671 result=$?
31672 if test $result = 0; then
31673 ac_path_to_link=""
31674 else
31675 ac_path_to_link=" -L$ac_find_libraries"
31676 fi
31677 fi
31678
31679 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
31680 OPENGL_LIBS="-lMesaGL -lMesaGLU"
31681 echo "$as_me:$LINENO: result: yes" >&5
31682 echo "${ECHO_T}yes" >&6
31683 else
31684 echo "$as_me:$LINENO: result: no" >&5
31685 echo "${ECHO_T}no" >&6
31686 fi
31687 fi
31688
31689 fi
31690
31691
31692
31693 if test "x$OPENGL_LIBS" = "x"; then
31694 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
31695 echo "$as_me: error: OpenGL libraries not available" >&2;}
31696 { (exit 1); exit 1; }; }
31697 fi
31698 fi
31699
31700 if test "$wxUSE_OPENGL" = "yes"; then
31701 USE_OPENGL=1
31702 cat >>confdefs.h <<\_ACEOF
31703 #define wxUSE_OPENGL 1
31704 _ACEOF
31705
31706 cat >>confdefs.h <<\_ACEOF
31707 #define wxUSE_GLCANVAS 1
31708 _ACEOF
31709
31710 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
31711 fi
31712 fi
31713
31714
31715 if test -n "$TOOLKIT" ; then
31716 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
31717 fi
31718
31719
31720
31721 if test "$wxUSE_SHARED" = "yes"; then
31722 case "${host}" in
31723 *-pc-msdosdjgpp )
31724 wxUSE_SHARED=no
31725 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
31726 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
31727 ;;
31728 esac
31729 fi
31730
31731 if test "$wxUSE_SHARED" = "yes"; then
31732
31733
31734 found_versioning=no
31735
31736
31737 if test $found_versioning = no ; then
31738 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
31739 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
31740 if test "${wx_cv_version_script+set}" = set; then
31741 echo $ECHO_N "(cached) $ECHO_C" >&6
31742 else
31743
31744 echo "VER_1 { *; };" >conftest.sym
31745 echo "int main() { return 0; }" >conftest.cpp
31746
31747 if { ac_try='
31748 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
31749 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
31750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31751 (eval $ac_try) 2>&5
31752 ac_status=$?
31753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31754 (exit $ac_status); }; } ; then
31755 if test -s conftest.stderr ; then
31756 wx_cv_version_script=no
31757 else
31758 wx_cv_version_script=yes
31759 fi
31760 else
31761 wx_cv_version_script=no
31762 fi
31763
31764 if test $wx_cv_version_script = yes
31765 then
31766 echo "struct B { virtual ~B() { } }; \
31767 struct D : public B { }; \
31768 void F() { D d; }" > conftest.cpp
31769
31770 if { ac_try='
31771 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
31772 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
31773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31774 (eval $ac_try) 2>&5
31775 ac_status=$?
31776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31777 (exit $ac_status); }; } &&
31778 { ac_try='
31779 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
31780 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
31781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31782 (eval $ac_try) 2>&5
31783 ac_status=$?
31784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31785 (exit $ac_status); }; }
31786 then
31787 if { ac_try='
31788 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
31789 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
31790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31791 (eval $ac_try) 2>&5
31792 ac_status=$?
31793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31794 (exit $ac_status); }; }
31795 then
31796 wx_cv_version_script=yes
31797 else
31798 wx_cv_version_script=no
31799 fi
31800 fi
31801 fi
31802
31803 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
31804 rm -f conftest1.output conftest2.output conftest3.output
31805
31806 fi
31807 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
31808 echo "${ECHO_T}$wx_cv_version_script" >&6
31809 if test $wx_cv_version_script = yes ; then
31810 LDFLAGS_VERSIONING="-Wl,--version-script,\$(top_builddir)version-script"
31811 fi
31812 fi
31813
31814
31815 case "${host}" in
31816 *-*-linux* | *-*-gnu* )
31817 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(top_builddir)lib"
31818 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
31819 ;;
31820
31821 *-*-solaris2* )
31822 if test "$GCC" = yes ; then
31823 CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
31824
31825 saveLdflags="$LDFLAGS"
31826 LDFLAGS="$saveLdflags -Wl,-rpath,/"
31827 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
31828 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
31829 cat >conftest.$ac_ext <<_ACEOF
31830 /* confdefs.h. */
31831 _ACEOF
31832 cat confdefs.h >>conftest.$ac_ext
31833 cat >>conftest.$ac_ext <<_ACEOF
31834 /* end confdefs.h. */
31835
31836 int
31837 main ()
31838 {
31839
31840 ;
31841 return 0;
31842 }
31843 _ACEOF
31844 rm -f conftest.$ac_objext conftest$ac_exeext
31845 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31846 (eval $ac_link) 2>conftest.er1
31847 ac_status=$?
31848 grep -v '^ *+' conftest.er1 >conftest.err
31849 rm -f conftest.er1
31850 cat conftest.err >&5
31851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31852 (exit $ac_status); } &&
31853 { ac_try='test -z "$ac_c_werror_flag"
31854 || test ! -s conftest.err'
31855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31856 (eval $ac_try) 2>&5
31857 ac_status=$?
31858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31859 (exit $ac_status); }; } &&
31860 { ac_try='test -s conftest$ac_exeext'
31861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31862 (eval $ac_try) 2>&5
31863 ac_status=$?
31864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31865 (exit $ac_status); }; }; then
31866
31867 echo "$as_me:$LINENO: result: yes" >&5
31868 echo "${ECHO_T}yes" >&6
31869 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(top_builddir)lib"
31870 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
31871
31872 else
31873 echo "$as_me: failed program was:" >&5
31874 sed 's/^/| /' conftest.$ac_ext >&5
31875
31876
31877 echo "$as_me:$LINENO: result: no" >&5
31878 echo "${ECHO_T}no" >&6
31879 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
31880 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
31881 LDFLAGS="$saveLdflags -Wl,-R,/"
31882 cat >conftest.$ac_ext <<_ACEOF
31883 /* confdefs.h. */
31884 _ACEOF
31885 cat confdefs.h >>conftest.$ac_ext
31886 cat >>conftest.$ac_ext <<_ACEOF
31887 /* end confdefs.h. */
31888
31889 int
31890 main ()
31891 {
31892
31893 ;
31894 return 0;
31895 }
31896 _ACEOF
31897 rm -f conftest.$ac_objext conftest$ac_exeext
31898 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31899 (eval $ac_link) 2>conftest.er1
31900 ac_status=$?
31901 grep -v '^ *+' conftest.er1 >conftest.err
31902 rm -f conftest.er1
31903 cat conftest.err >&5
31904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31905 (exit $ac_status); } &&
31906 { ac_try='test -z "$ac_c_werror_flag"
31907 || test ! -s conftest.err'
31908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31909 (eval $ac_try) 2>&5
31910 ac_status=$?
31911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31912 (exit $ac_status); }; } &&
31913 { ac_try='test -s conftest$ac_exeext'
31914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31915 (eval $ac_try) 2>&5
31916 ac_status=$?
31917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31918 (exit $ac_status); }; }; then
31919
31920 echo "$as_me:$LINENO: result: yes" >&5
31921 echo "${ECHO_T}yes" >&6
31922 SAMPLES_RPATH_FLAG="-Wl,-R,\$(top_builddir)lib"
31923 WXCONFIG_RPATH="-Wl,-R,\$libdir"
31924
31925 else
31926 echo "$as_me: failed program was:" >&5
31927 sed 's/^/| /' conftest.$ac_ext >&5
31928
31929
31930 echo "$as_me:$LINENO: result: no" >&5
31931 echo "${ECHO_T}no" >&6
31932
31933 fi
31934 rm -f conftest.err conftest.$ac_objext \
31935 conftest$ac_exeext conftest.$ac_ext
31936
31937 fi
31938 rm -f conftest.err conftest.$ac_objext \
31939 conftest$ac_exeext conftest.$ac_ext
31940 LDFLAGS="$saveLdflags"
31941 else
31942 SAMPLES_RPATH_FLAG="-R\$(top_builddir)lib"
31943 WXCONFIG_RPATH="-R\$libdir"
31944 fi
31945 ;;
31946
31947 *-*-darwin* )
31948 install_name_tool=`which install_name_tool`
31949 if test "$install_name_tool" -a -x "$install_name_tool"; then
31950 SAMPLES_RPATH_POSTLINK="\$(top_builddir)change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
31951 cat <<EOF >change-install-names
31952 #!/bin/sh
31953 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
31954 inst_cmd="install_name_tool "
31955 for i in \${libnames} ; do
31956 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
31957 done
31958 \${inst_cmd} \${3}
31959 EOF
31960 chmod +x change-install-names
31961 fi
31962 ;;
31963
31964 *-*-cygwin* | *-*-mingw32* )
31965 WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
31966 ;;
31967
31968 *-*-hpux* )
31969 SAMPLES_RPATH_FLAG="-Wl,+b,\$(top_builddir)lib"
31970 WXCONFIG_RPATH="-Wl,+b,\$libdir"
31971 ;;
31972
31973 esac
31974
31975 if test $wxUSE_RPATH = "no"; then
31976 SAMPLES_RPATH_FLAG=''
31977 SAMPLES_RPATH_POSTLINK=''
31978 WXCONFIG_RPATH=''
31979 fi
31980
31981 SHARED=1
31982
31983 else
31984
31985 config_linkage_component="-static"
31986 SHARED=0
31987
31988 fi
31989
31990
31991 UNICODE=0
31992 lib_unicode_suffix=
31993 WX_CHARTYPE="ansi"
31994 if test "$wxUSE_UNICODE" = "yes"; then
31995 lib_unicode_suffix=u
31996 WX_CHARTYPE="unicode"
31997 UNICODE=1
31998 fi
31999
32000 lib_debug_suffix=
32001 WX_DEBUGTYPE="release"
32002 DEBUG_FLAG=0
32003 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
32004 lib_debug_suffix=d
32005 WX_DEBUGTYPE="debug"
32006 DEBUG_FLAG=1
32007 fi
32008
32009 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
32010 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
32011
32012 DEBUG_INFO=0
32013 if test "$wxUSE_DEBUG_INFO" = "yes"; then
32014 DEBUG_INFO=1
32015 fi
32016
32017 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
32018
32019 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
32020
32021 TOOLCHAIN_FULLNAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
32022
32023 if test "$cross_compiling" = "yes"; then
32024 HOST_SUFFIX="-$host_alias"
32025 TOOLCHAIN_NAME="$TOOLCHAIN_NAME$HOST_SUFFIX"
32026 TOOLCHAIN_FULLNAME="${host_alias}-$TOOLCHAIN_FULLNAME"
32027 fi
32028
32029 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
32030 if test "${TOOLKIT_DIR}" = "os2"; then
32031 WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
32032 else
32033 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
32034 fi
32035
32036
32037
32038 if test "$wxUSE_COCOA" = 1; then
32039
32040
32041 ac_ext=c
32042 ac_cpp='$CPP $CPPFLAGS'
32043 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32044 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32045 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32046
32047 ac_ext=m
32048
32049 echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
32050 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6
32051 cat >conftest.$ac_ext <<_ACEOF
32052 /* confdefs.h. */
32053 _ACEOF
32054 cat confdefs.h >>conftest.$ac_ext
32055 cat >>conftest.$ac_ext <<_ACEOF
32056 /* end confdefs.h. */
32057 #include <AppKit/NSEvent.h>
32058 #include <CoreFoundation/CoreFoundation.h>
32059
32060 int
32061 main ()
32062 {
32063
32064 ;
32065 return 0;
32066 }
32067 _ACEOF
32068 rm -f conftest.$ac_objext
32069 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32070 (eval $ac_compile) 2>conftest.er1
32071 ac_status=$?
32072 grep -v '^ *+' conftest.er1 >conftest.err
32073 rm -f conftest.er1
32074 cat conftest.err >&5
32075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32076 (exit $ac_status); } &&
32077 { ac_try='test -z "$ac_c_werror_flag"
32078 || test ! -s conftest.err'
32079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32080 (eval $ac_try) 2>&5
32081 ac_status=$?
32082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32083 (exit $ac_status); }; } &&
32084 { ac_try='test -s conftest.$ac_objext'
32085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32086 (eval $ac_try) 2>&5
32087 ac_status=$?
32088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32089 (exit $ac_status); }; }; then
32090 echo "$as_me:$LINENO: result: no" >&5
32091 echo "${ECHO_T}no" >&6
32092 else
32093 echo "$as_me: failed program was:" >&5
32094 sed 's/^/| /' conftest.$ac_ext >&5
32095
32096 echo "$as_me:$LINENO: result: yes" >&5
32097 echo "${ECHO_T}yes" >&6
32098 echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
32099 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6
32100 cat >conftest.$ac_ext <<_ACEOF
32101 /* confdefs.h. */
32102 _ACEOF
32103 cat confdefs.h >>conftest.$ac_ext
32104 cat >>conftest.$ac_ext <<_ACEOF
32105 /* end confdefs.h. */
32106 #define __Point__ 1
32107 #include <AppKit/NSEvent.h>
32108 #include <CoreFoundation/CoreFoundation.h>
32109
32110 int
32111 main ()
32112 {
32113
32114 ;
32115 return 0;
32116 }
32117 _ACEOF
32118 rm -f conftest.$ac_objext
32119 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32120 (eval $ac_compile) 2>conftest.er1
32121 ac_status=$?
32122 grep -v '^ *+' conftest.er1 >conftest.err
32123 rm -f conftest.er1
32124 cat conftest.err >&5
32125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32126 (exit $ac_status); } &&
32127 { ac_try='test -z "$ac_c_werror_flag"
32128 || test ! -s conftest.err'
32129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32130 (eval $ac_try) 2>&5
32131 ac_status=$?
32132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32133 (exit $ac_status); }; } &&
32134 { ac_try='test -s conftest.$ac_objext'
32135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32136 (eval $ac_try) 2>&5
32137 ac_status=$?
32138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32139 (exit $ac_status); }; }; then
32140 echo "$as_me:$LINENO: result: yes" >&5
32141 echo "${ECHO_T}yes" >&6
32142 cat >>confdefs.h <<\_ACEOF
32143 #define __Point__ 1
32144 _ACEOF
32145
32146
32147 else
32148 echo "$as_me: failed program was:" >&5
32149 sed 's/^/| /' conftest.$ac_ext >&5
32150
32151 { { echo "$as_me:$LINENO: error: no
32152 See \`config.log' for more details." >&5
32153 echo "$as_me: error: no
32154 See \`config.log' for more details." >&2;}
32155 { (exit 1); exit 1; }; }
32156
32157 fi
32158 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32159
32160 fi
32161 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32162 ac_ext=c
32163 ac_cpp='$CPP $CPPFLAGS'
32164 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32165 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32166 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32167
32168 fi
32169
32170 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
32171 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
32172 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
32173
32174 LIBWXMACRES="\$(top_builddir)lib/${WX_RESOURCES_MACOSX_ASCII}"
32175
32176 # Extract the first word of "Rez", so it can be a program name with args.
32177 set dummy Rez; ac_word=$2
32178 echo "$as_me:$LINENO: checking for $ac_word" >&5
32179 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
32180 if test "${ac_cv_prog_REZ+set}" = set; then
32181 echo $ECHO_N "(cached) $ECHO_C" >&6
32182 else
32183 if test -n "$REZ"; then
32184 ac_cv_prog_REZ="$REZ" # Let the user override the test.
32185 else
32186 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32187 for as_dir in $PATH
32188 do
32189 IFS=$as_save_IFS
32190 test -z "$as_dir" && as_dir=.
32191 for ac_exec_ext in '' $ac_executable_extensions; do
32192 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
32193 ac_cv_prog_REZ="Rez"
32194 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32195 break 2
32196 fi
32197 done
32198 done
32199
32200 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
32201 fi
32202 fi
32203 REZ=$ac_cv_prog_REZ
32204 if test -n "$REZ"; then
32205 echo "$as_me:$LINENO: result: $REZ" >&5
32206 echo "${ECHO_T}$REZ" >&6
32207 else
32208 echo "$as_me:$LINENO: result: no" >&5
32209 echo "${ECHO_T}no" >&6
32210 fi
32211
32212 # Extract the first word of "DeRez", so it can be a program name with args.
32213 set dummy DeRez; ac_word=$2
32214 echo "$as_me:$LINENO: checking for $ac_word" >&5
32215 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
32216 if test "${ac_cv_prog_DEREZ+set}" = set; then
32217 echo $ECHO_N "(cached) $ECHO_C" >&6
32218 else
32219 if test -n "$DEREZ"; then
32220 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
32221 else
32222 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32223 for as_dir in $PATH
32224 do
32225 IFS=$as_save_IFS
32226 test -z "$as_dir" && as_dir=.
32227 for ac_exec_ext in '' $ac_executable_extensions; do
32228 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
32229 ac_cv_prog_DEREZ="DeRez"
32230 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32231 break 2
32232 fi
32233 done
32234 done
32235
32236 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
32237 fi
32238 fi
32239 DEREZ=$ac_cv_prog_DEREZ
32240 if test -n "$DEREZ"; then
32241 echo "$as_me:$LINENO: result: $DEREZ" >&5
32242 echo "${ECHO_T}$DEREZ" >&6
32243 else
32244 echo "$as_me:$LINENO: result: no" >&5
32245 echo "${ECHO_T}no" >&6
32246 fi
32247
32248 # Extract the first word of "SetFile", so it can be a program name with args.
32249 set dummy SetFile; ac_word=$2
32250 echo "$as_me:$LINENO: checking for $ac_word" >&5
32251 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
32252 if test "${ac_cv_prog_SETFILE+set}" = set; then
32253 echo $ECHO_N "(cached) $ECHO_C" >&6
32254 else
32255 if test -n "$SETFILE"; then
32256 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
32257 else
32258 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32259 for as_dir in $PATH
32260 do
32261 IFS=$as_save_IFS
32262 test -z "$as_dir" && as_dir=.
32263 for ac_exec_ext in '' $ac_executable_extensions; do
32264 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
32265 ac_cv_prog_SETFILE="SetFile"
32266 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32267 break 2
32268 fi
32269 done
32270 done
32271
32272 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
32273 fi
32274 fi
32275 SETFILE=$ac_cv_prog_SETFILE
32276 if test -n "$SETFILE"; then
32277 echo "$as_me:$LINENO: result: $SETFILE" >&5
32278 echo "${ECHO_T}$SETFILE" >&6
32279 else
32280 echo "$as_me:$LINENO: result: no" >&5
32281 echo "${ECHO_T}no" >&6
32282 fi
32283
32284
32285 MACSETFILE="\$(SETFILE)"
32286
32287 if test "$wxUSE_MAC" = 1; then
32288 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
32289 RESCOMP="$REZ"
32290 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
32291 else
32292 POSTLINK_COMMAND="echo -n | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
32293 RESCOMP="echo -n \| $REZ"
32294 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
32295 fi
32296
32297 else
32298 MACSETFILE="@true"
32299
32300 if test "$wxUSE_PM" = 1; then
32301 RESCOMP="emxbind"
32302 WXCONFIG_RESFLAGS="-ep"
32303
32304 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
32305 else
32306 POSTLINK_COMMAND="@true"
32307 fi
32308
32309 fi
32310
32311
32312
32313 echo "$as_me:$LINENO: checking for mode_t" >&5
32314 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
32315 if test "${ac_cv_type_mode_t+set}" = set; then
32316 echo $ECHO_N "(cached) $ECHO_C" >&6
32317 else
32318 cat >conftest.$ac_ext <<_ACEOF
32319 /* confdefs.h. */
32320 _ACEOF
32321 cat confdefs.h >>conftest.$ac_ext
32322 cat >>conftest.$ac_ext <<_ACEOF
32323 /* end confdefs.h. */
32324 $ac_includes_default
32325 int
32326 main ()
32327 {
32328 if ((mode_t *) 0)
32329 return 0;
32330 if (sizeof (mode_t))
32331 return 0;
32332 ;
32333 return 0;
32334 }
32335 _ACEOF
32336 rm -f conftest.$ac_objext
32337 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32338 (eval $ac_compile) 2>conftest.er1
32339 ac_status=$?
32340 grep -v '^ *+' conftest.er1 >conftest.err
32341 rm -f conftest.er1
32342 cat conftest.err >&5
32343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32344 (exit $ac_status); } &&
32345 { ac_try='test -z "$ac_c_werror_flag"
32346 || test ! -s conftest.err'
32347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32348 (eval $ac_try) 2>&5
32349 ac_status=$?
32350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32351 (exit $ac_status); }; } &&
32352 { ac_try='test -s conftest.$ac_objext'
32353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32354 (eval $ac_try) 2>&5
32355 ac_status=$?
32356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32357 (exit $ac_status); }; }; then
32358 ac_cv_type_mode_t=yes
32359 else
32360 echo "$as_me: failed program was:" >&5
32361 sed 's/^/| /' conftest.$ac_ext >&5
32362
32363 ac_cv_type_mode_t=no
32364 fi
32365 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32366 fi
32367 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
32368 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
32369 if test $ac_cv_type_mode_t = yes; then
32370 :
32371 else
32372
32373 cat >>confdefs.h <<_ACEOF
32374 #define mode_t int
32375 _ACEOF
32376
32377 fi
32378
32379 echo "$as_me:$LINENO: checking for off_t" >&5
32380 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
32381 if test "${ac_cv_type_off_t+set}" = set; then
32382 echo $ECHO_N "(cached) $ECHO_C" >&6
32383 else
32384 cat >conftest.$ac_ext <<_ACEOF
32385 /* confdefs.h. */
32386 _ACEOF
32387 cat confdefs.h >>conftest.$ac_ext
32388 cat >>conftest.$ac_ext <<_ACEOF
32389 /* end confdefs.h. */
32390 $ac_includes_default
32391 int
32392 main ()
32393 {
32394 if ((off_t *) 0)
32395 return 0;
32396 if (sizeof (off_t))
32397 return 0;
32398 ;
32399 return 0;
32400 }
32401 _ACEOF
32402 rm -f conftest.$ac_objext
32403 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32404 (eval $ac_compile) 2>conftest.er1
32405 ac_status=$?
32406 grep -v '^ *+' conftest.er1 >conftest.err
32407 rm -f conftest.er1
32408 cat conftest.err >&5
32409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32410 (exit $ac_status); } &&
32411 { ac_try='test -z "$ac_c_werror_flag"
32412 || test ! -s conftest.err'
32413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32414 (eval $ac_try) 2>&5
32415 ac_status=$?
32416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32417 (exit $ac_status); }; } &&
32418 { ac_try='test -s conftest.$ac_objext'
32419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32420 (eval $ac_try) 2>&5
32421 ac_status=$?
32422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32423 (exit $ac_status); }; }; then
32424 ac_cv_type_off_t=yes
32425 else
32426 echo "$as_me: failed program was:" >&5
32427 sed 's/^/| /' conftest.$ac_ext >&5
32428
32429 ac_cv_type_off_t=no
32430 fi
32431 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32432 fi
32433 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
32434 echo "${ECHO_T}$ac_cv_type_off_t" >&6
32435 if test $ac_cv_type_off_t = yes; then
32436 :
32437 else
32438
32439 cat >>confdefs.h <<_ACEOF
32440 #define off_t long
32441 _ACEOF
32442
32443 fi
32444
32445 echo "$as_me:$LINENO: checking for pid_t" >&5
32446 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
32447 if test "${ac_cv_type_pid_t+set}" = set; then
32448 echo $ECHO_N "(cached) $ECHO_C" >&6
32449 else
32450 cat >conftest.$ac_ext <<_ACEOF
32451 /* confdefs.h. */
32452 _ACEOF
32453 cat confdefs.h >>conftest.$ac_ext
32454 cat >>conftest.$ac_ext <<_ACEOF
32455 /* end confdefs.h. */
32456 $ac_includes_default
32457 int
32458 main ()
32459 {
32460 if ((pid_t *) 0)
32461 return 0;
32462 if (sizeof (pid_t))
32463 return 0;
32464 ;
32465 return 0;
32466 }
32467 _ACEOF
32468 rm -f conftest.$ac_objext
32469 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32470 (eval $ac_compile) 2>conftest.er1
32471 ac_status=$?
32472 grep -v '^ *+' conftest.er1 >conftest.err
32473 rm -f conftest.er1
32474 cat conftest.err >&5
32475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32476 (exit $ac_status); } &&
32477 { ac_try='test -z "$ac_c_werror_flag"
32478 || test ! -s conftest.err'
32479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32480 (eval $ac_try) 2>&5
32481 ac_status=$?
32482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32483 (exit $ac_status); }; } &&
32484 { ac_try='test -s conftest.$ac_objext'
32485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32486 (eval $ac_try) 2>&5
32487 ac_status=$?
32488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32489 (exit $ac_status); }; }; then
32490 ac_cv_type_pid_t=yes
32491 else
32492 echo "$as_me: failed program was:" >&5
32493 sed 's/^/| /' conftest.$ac_ext >&5
32494
32495 ac_cv_type_pid_t=no
32496 fi
32497 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32498 fi
32499 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
32500 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
32501 if test $ac_cv_type_pid_t = yes; then
32502 :
32503 else
32504
32505 cat >>confdefs.h <<_ACEOF
32506 #define pid_t int
32507 _ACEOF
32508
32509 fi
32510
32511 echo "$as_me:$LINENO: checking for size_t" >&5
32512 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
32513 if test "${ac_cv_type_size_t+set}" = set; then
32514 echo $ECHO_N "(cached) $ECHO_C" >&6
32515 else
32516 cat >conftest.$ac_ext <<_ACEOF
32517 /* confdefs.h. */
32518 _ACEOF
32519 cat confdefs.h >>conftest.$ac_ext
32520 cat >>conftest.$ac_ext <<_ACEOF
32521 /* end confdefs.h. */
32522 $ac_includes_default
32523 int
32524 main ()
32525 {
32526 if ((size_t *) 0)
32527 return 0;
32528 if (sizeof (size_t))
32529 return 0;
32530 ;
32531 return 0;
32532 }
32533 _ACEOF
32534 rm -f conftest.$ac_objext
32535 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32536 (eval $ac_compile) 2>conftest.er1
32537 ac_status=$?
32538 grep -v '^ *+' conftest.er1 >conftest.err
32539 rm -f conftest.er1
32540 cat conftest.err >&5
32541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32542 (exit $ac_status); } &&
32543 { ac_try='test -z "$ac_c_werror_flag"
32544 || test ! -s conftest.err'
32545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32546 (eval $ac_try) 2>&5
32547 ac_status=$?
32548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32549 (exit $ac_status); }; } &&
32550 { ac_try='test -s conftest.$ac_objext'
32551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32552 (eval $ac_try) 2>&5
32553 ac_status=$?
32554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32555 (exit $ac_status); }; }; then
32556 ac_cv_type_size_t=yes
32557 else
32558 echo "$as_me: failed program was:" >&5
32559 sed 's/^/| /' conftest.$ac_ext >&5
32560
32561 ac_cv_type_size_t=no
32562 fi
32563 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32564 fi
32565 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
32566 echo "${ECHO_T}$ac_cv_type_size_t" >&6
32567 if test $ac_cv_type_size_t = yes; then
32568 :
32569 else
32570
32571 cat >>confdefs.h <<_ACEOF
32572 #define size_t unsigned
32573 _ACEOF
32574
32575 fi
32576
32577 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
32578 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
32579 if test "${ac_cv_type_uid_t+set}" = set; then
32580 echo $ECHO_N "(cached) $ECHO_C" >&6
32581 else
32582 cat >conftest.$ac_ext <<_ACEOF
32583 /* confdefs.h. */
32584 _ACEOF
32585 cat confdefs.h >>conftest.$ac_ext
32586 cat >>conftest.$ac_ext <<_ACEOF
32587 /* end confdefs.h. */
32588 #include <sys/types.h>
32589
32590 _ACEOF
32591 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
32592 $EGREP "uid_t" >/dev/null 2>&1; then
32593 ac_cv_type_uid_t=yes
32594 else
32595 ac_cv_type_uid_t=no
32596 fi
32597 rm -f conftest*
32598
32599 fi
32600 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
32601 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
32602 if test $ac_cv_type_uid_t = no; then
32603
32604 cat >>confdefs.h <<\_ACEOF
32605 #define uid_t int
32606 _ACEOF
32607
32608
32609 cat >>confdefs.h <<\_ACEOF
32610 #define gid_t int
32611 _ACEOF
32612
32613 fi
32614
32615
32616 echo "$as_me:$LINENO: checking for ssize_t" >&5
32617 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
32618 if test "${ac_cv_type_ssize_t+set}" = set; then
32619 echo $ECHO_N "(cached) $ECHO_C" >&6
32620 else
32621 cat >conftest.$ac_ext <<_ACEOF
32622 /* confdefs.h. */
32623 _ACEOF
32624 cat confdefs.h >>conftest.$ac_ext
32625 cat >>conftest.$ac_ext <<_ACEOF
32626 /* end confdefs.h. */
32627 $ac_includes_default
32628 int
32629 main ()
32630 {
32631 if ((ssize_t *) 0)
32632 return 0;
32633 if (sizeof (ssize_t))
32634 return 0;
32635 ;
32636 return 0;
32637 }
32638 _ACEOF
32639 rm -f conftest.$ac_objext
32640 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32641 (eval $ac_compile) 2>conftest.er1
32642 ac_status=$?
32643 grep -v '^ *+' conftest.er1 >conftest.err
32644 rm -f conftest.er1
32645 cat conftest.err >&5
32646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32647 (exit $ac_status); } &&
32648 { ac_try='test -z "$ac_c_werror_flag"
32649 || test ! -s conftest.err'
32650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32651 (eval $ac_try) 2>&5
32652 ac_status=$?
32653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32654 (exit $ac_status); }; } &&
32655 { ac_try='test -s conftest.$ac_objext'
32656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32657 (eval $ac_try) 2>&5
32658 ac_status=$?
32659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32660 (exit $ac_status); }; }; then
32661 ac_cv_type_ssize_t=yes
32662 else
32663 echo "$as_me: failed program was:" >&5
32664 sed 's/^/| /' conftest.$ac_ext >&5
32665
32666 ac_cv_type_ssize_t=no
32667 fi
32668 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32669 fi
32670 echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
32671 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
32672 if test $ac_cv_type_ssize_t = yes; then
32673
32674 cat >>confdefs.h <<_ACEOF
32675 #define HAVE_SSIZE_T 1
32676 _ACEOF
32677
32678
32679 fi
32680
32681
32682 ac_ext=cc
32683 ac_cpp='$CXXCPP $CPPFLAGS'
32684 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32685 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32686 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32687
32688 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
32689 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
32690 if test "${wx_cv_size_t_is_uint+set}" = set; then
32691 echo $ECHO_N "(cached) $ECHO_C" >&6
32692 else
32693
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 #include <stddef.h>
32701 int
32702 main ()
32703 {
32704
32705 return 0; }
32706
32707 struct Foo { void foo(size_t); void foo(unsigned int); };
32708
32709 int bar() {
32710
32711 ;
32712 return 0;
32713 }
32714 _ACEOF
32715 rm -f conftest.$ac_objext
32716 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32717 (eval $ac_compile) 2>conftest.er1
32718 ac_status=$?
32719 grep -v '^ *+' conftest.er1 >conftest.err
32720 rm -f conftest.er1
32721 cat conftest.err >&5
32722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32723 (exit $ac_status); } &&
32724 { ac_try='test -z "$ac_cxx_werror_flag"
32725 || test ! -s conftest.err'
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); }; } &&
32731 { ac_try='test -s conftest.$ac_objext'
32732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32733 (eval $ac_try) 2>&5
32734 ac_status=$?
32735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32736 (exit $ac_status); }; }; then
32737 wx_cv_size_t_is_uint=no
32738 else
32739 echo "$as_me: failed program was:" >&5
32740 sed 's/^/| /' conftest.$ac_ext >&5
32741
32742 wx_cv_size_t_is_uint=yes
32743
32744 fi
32745 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32746
32747
32748 fi
32749 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
32750 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
32751
32752 if test "$wx_cv_size_t_is_uint" = "yes"; then
32753 cat >>confdefs.h <<\_ACEOF
32754 #define wxSIZE_T_IS_UINT 1
32755 _ACEOF
32756
32757 else
32758 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
32759 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
32760 if test "${wx_cv_size_t_is_ulong+set}" = set; then
32761 echo $ECHO_N "(cached) $ECHO_C" >&6
32762 else
32763 cat >conftest.$ac_ext <<_ACEOF
32764 /* confdefs.h. */
32765 _ACEOF
32766 cat confdefs.h >>conftest.$ac_ext
32767 cat >>conftest.$ac_ext <<_ACEOF
32768 /* end confdefs.h. */
32769 #include <stddef.h>
32770 int
32771 main ()
32772 {
32773
32774 return 0; }
32775
32776 struct Foo { void foo(size_t); void foo(unsigned long); };
32777
32778 int bar() {
32779
32780 ;
32781 return 0;
32782 }
32783 _ACEOF
32784 rm -f conftest.$ac_objext
32785 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32786 (eval $ac_compile) 2>conftest.er1
32787 ac_status=$?
32788 grep -v '^ *+' conftest.er1 >conftest.err
32789 rm -f conftest.er1
32790 cat conftest.err >&5
32791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32792 (exit $ac_status); } &&
32793 { ac_try='test -z "$ac_cxx_werror_flag"
32794 || test ! -s conftest.err'
32795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32796 (eval $ac_try) 2>&5
32797 ac_status=$?
32798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32799 (exit $ac_status); }; } &&
32800 { ac_try='test -s conftest.$ac_objext'
32801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32802 (eval $ac_try) 2>&5
32803 ac_status=$?
32804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32805 (exit $ac_status); }; }; then
32806 wx_cv_size_t_is_ulong=no
32807 else
32808 echo "$as_me: failed program was:" >&5
32809 sed 's/^/| /' conftest.$ac_ext >&5
32810
32811 wx_cv_size_t_is_ulong=yes
32812
32813 fi
32814 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32815
32816 fi
32817 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
32818 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
32819
32820 if test "$wx_cv_size_t_is_ulong" = "yes"; then
32821 cat >>confdefs.h <<\_ACEOF
32822 #define wxSIZE_T_IS_ULONG 1
32823 _ACEOF
32824
32825 fi
32826 fi
32827
32828 ac_ext=c
32829 ac_cpp='$CPP $CPPFLAGS'
32830 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32831 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32832 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32833
32834
32835
32836 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
32837 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
32838 if test "${wx_cv_struct_pw_gecos+set}" = set; then
32839 echo $ECHO_N "(cached) $ECHO_C" >&6
32840 else
32841
32842 cat >conftest.$ac_ext <<_ACEOF
32843 /* confdefs.h. */
32844 _ACEOF
32845 cat confdefs.h >>conftest.$ac_ext
32846 cat >>conftest.$ac_ext <<_ACEOF
32847 /* end confdefs.h. */
32848 #include <pwd.h>
32849 int
32850 main ()
32851 {
32852
32853 char *p;
32854 struct passwd *pw;
32855 p = pw->pw_gecos;
32856
32857 ;
32858 return 0;
32859 }
32860 _ACEOF
32861 rm -f conftest.$ac_objext
32862 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32863 (eval $ac_compile) 2>conftest.er1
32864 ac_status=$?
32865 grep -v '^ *+' conftest.er1 >conftest.err
32866 rm -f conftest.er1
32867 cat conftest.err >&5
32868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32869 (exit $ac_status); } &&
32870 { ac_try='test -z "$ac_c_werror_flag"
32871 || test ! -s conftest.err'
32872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32873 (eval $ac_try) 2>&5
32874 ac_status=$?
32875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32876 (exit $ac_status); }; } &&
32877 { ac_try='test -s conftest.$ac_objext'
32878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32879 (eval $ac_try) 2>&5
32880 ac_status=$?
32881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32882 (exit $ac_status); }; }; then
32883
32884 wx_cv_struct_pw_gecos=yes
32885
32886 else
32887 echo "$as_me: failed program was:" >&5
32888 sed 's/^/| /' conftest.$ac_ext >&5
32889
32890
32891 wx_cv_struct_pw_gecos=no
32892
32893
32894 fi
32895 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32896
32897
32898 fi
32899 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
32900 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
32901
32902 if test "$wx_cv_struct_pw_gecos" = "yes"; then
32903 cat >>confdefs.h <<\_ACEOF
32904 #define HAVE_PW_GECOS 1
32905 _ACEOF
32906
32907 fi
32908
32909
32910 if test "$wxUSE_WCHAR_T" = "yes"; then
32911 cat >>confdefs.h <<\_ACEOF
32912 #define wxUSE_WCHAR_T 1
32913 _ACEOF
32914
32915
32916 WCSLEN_FOUND=0
32917 WCHAR_LINK=
32918
32919 for ac_func in wcslen
32920 do
32921 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32922 echo "$as_me:$LINENO: checking for $ac_func" >&5
32923 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32924 if eval "test \"\${$as_ac_var+set}\" = set"; then
32925 echo $ECHO_N "(cached) $ECHO_C" >&6
32926 else
32927 cat >conftest.$ac_ext <<_ACEOF
32928 /* confdefs.h. */
32929 _ACEOF
32930 cat confdefs.h >>conftest.$ac_ext
32931 cat >>conftest.$ac_ext <<_ACEOF
32932 /* end confdefs.h. */
32933 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32934 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32935 #define $ac_func innocuous_$ac_func
32936
32937 /* System header to define __stub macros and hopefully few prototypes,
32938 which can conflict with char $ac_func (); below.
32939 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32940 <limits.h> exists even on freestanding compilers. */
32941
32942 #ifdef __STDC__
32943 # include <limits.h>
32944 #else
32945 # include <assert.h>
32946 #endif
32947
32948 #undef $ac_func
32949
32950 /* Override any gcc2 internal prototype to avoid an error. */
32951 #ifdef __cplusplus
32952 extern "C"
32953 {
32954 #endif
32955 /* We use char because int might match the return type of a gcc2
32956 builtin and then its argument prototype would still apply. */
32957 char $ac_func ();
32958 /* The GNU C library defines this for functions which it implements
32959 to always fail with ENOSYS. Some functions are actually named
32960 something starting with __ and the normal name is an alias. */
32961 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32962 choke me
32963 #else
32964 char (*f) () = $ac_func;
32965 #endif
32966 #ifdef __cplusplus
32967 }
32968 #endif
32969
32970 int
32971 main ()
32972 {
32973 return f != $ac_func;
32974 ;
32975 return 0;
32976 }
32977 _ACEOF
32978 rm -f conftest.$ac_objext conftest$ac_exeext
32979 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32980 (eval $ac_link) 2>conftest.er1
32981 ac_status=$?
32982 grep -v '^ *+' conftest.er1 >conftest.err
32983 rm -f conftest.er1
32984 cat conftest.err >&5
32985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32986 (exit $ac_status); } &&
32987 { ac_try='test -z "$ac_c_werror_flag"
32988 || test ! -s conftest.err'
32989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32990 (eval $ac_try) 2>&5
32991 ac_status=$?
32992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32993 (exit $ac_status); }; } &&
32994 { ac_try='test -s conftest$ac_exeext'
32995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32996 (eval $ac_try) 2>&5
32997 ac_status=$?
32998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32999 (exit $ac_status); }; }; then
33000 eval "$as_ac_var=yes"
33001 else
33002 echo "$as_me: failed program was:" >&5
33003 sed 's/^/| /' conftest.$ac_ext >&5
33004
33005 eval "$as_ac_var=no"
33006 fi
33007 rm -f conftest.err conftest.$ac_objext \
33008 conftest$ac_exeext conftest.$ac_ext
33009 fi
33010 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33011 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33012 if test `eval echo '${'$as_ac_var'}'` = yes; then
33013 cat >>confdefs.h <<_ACEOF
33014 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33015 _ACEOF
33016 WCSLEN_FOUND=1
33017 fi
33018 done
33019
33020
33021 if test "$WCSLEN_FOUND" = 0; then
33022 if test "$TOOLKIT" = "MSW"; then
33023 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
33024 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
33025 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
33026 echo $ECHO_N "(cached) $ECHO_C" >&6
33027 else
33028 ac_check_lib_save_LIBS=$LIBS
33029 LIBS="-lmsvcrt $LIBS"
33030 cat >conftest.$ac_ext <<_ACEOF
33031 /* confdefs.h. */
33032 _ACEOF
33033 cat confdefs.h >>conftest.$ac_ext
33034 cat >>conftest.$ac_ext <<_ACEOF
33035 /* end confdefs.h. */
33036
33037 /* Override any gcc2 internal prototype to avoid an error. */
33038 #ifdef __cplusplus
33039 extern "C"
33040 #endif
33041 /* We use char because int might match the return type of a gcc2
33042 builtin and then its argument prototype would still apply. */
33043 char wcslen ();
33044 int
33045 main ()
33046 {
33047 wcslen ();
33048 ;
33049 return 0;
33050 }
33051 _ACEOF
33052 rm -f conftest.$ac_objext conftest$ac_exeext
33053 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33054 (eval $ac_link) 2>conftest.er1
33055 ac_status=$?
33056 grep -v '^ *+' conftest.er1 >conftest.err
33057 rm -f conftest.er1
33058 cat conftest.err >&5
33059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33060 (exit $ac_status); } &&
33061 { ac_try='test -z "$ac_c_werror_flag"
33062 || test ! -s conftest.err'
33063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33064 (eval $ac_try) 2>&5
33065 ac_status=$?
33066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33067 (exit $ac_status); }; } &&
33068 { ac_try='test -s conftest$ac_exeext'
33069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33070 (eval $ac_try) 2>&5
33071 ac_status=$?
33072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33073 (exit $ac_status); }; }; then
33074 ac_cv_lib_msvcrt_wcslen=yes
33075 else
33076 echo "$as_me: failed program was:" >&5
33077 sed 's/^/| /' conftest.$ac_ext >&5
33078
33079 ac_cv_lib_msvcrt_wcslen=no
33080 fi
33081 rm -f conftest.err conftest.$ac_objext \
33082 conftest$ac_exeext conftest.$ac_ext
33083 LIBS=$ac_check_lib_save_LIBS
33084 fi
33085 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
33086 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
33087 if test $ac_cv_lib_msvcrt_wcslen = yes; then
33088 WCHAR_OK=1
33089 fi
33090
33091 else
33092 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
33093 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
33094 if test "${ac_cv_lib_w_wcslen+set}" = set; then
33095 echo $ECHO_N "(cached) $ECHO_C" >&6
33096 else
33097 ac_check_lib_save_LIBS=$LIBS
33098 LIBS="-lw $LIBS"
33099 cat >conftest.$ac_ext <<_ACEOF
33100 /* confdefs.h. */
33101 _ACEOF
33102 cat confdefs.h >>conftest.$ac_ext
33103 cat >>conftest.$ac_ext <<_ACEOF
33104 /* end confdefs.h. */
33105
33106 /* Override any gcc2 internal prototype to avoid an error. */
33107 #ifdef __cplusplus
33108 extern "C"
33109 #endif
33110 /* We use char because int might match the return type of a gcc2
33111 builtin and then its argument prototype would still apply. */
33112 char wcslen ();
33113 int
33114 main ()
33115 {
33116 wcslen ();
33117 ;
33118 return 0;
33119 }
33120 _ACEOF
33121 rm -f conftest.$ac_objext conftest$ac_exeext
33122 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33123 (eval $ac_link) 2>conftest.er1
33124 ac_status=$?
33125 grep -v '^ *+' conftest.er1 >conftest.err
33126 rm -f conftest.er1
33127 cat conftest.err >&5
33128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33129 (exit $ac_status); } &&
33130 { ac_try='test -z "$ac_c_werror_flag"
33131 || test ! -s conftest.err'
33132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33133 (eval $ac_try) 2>&5
33134 ac_status=$?
33135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33136 (exit $ac_status); }; } &&
33137 { ac_try='test -s conftest$ac_exeext'
33138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33139 (eval $ac_try) 2>&5
33140 ac_status=$?
33141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33142 (exit $ac_status); }; }; then
33143 ac_cv_lib_w_wcslen=yes
33144 else
33145 echo "$as_me: failed program was:" >&5
33146 sed 's/^/| /' conftest.$ac_ext >&5
33147
33148 ac_cv_lib_w_wcslen=no
33149 fi
33150 rm -f conftest.err conftest.$ac_objext \
33151 conftest$ac_exeext conftest.$ac_ext
33152 LIBS=$ac_check_lib_save_LIBS
33153 fi
33154 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
33155 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
33156 if test $ac_cv_lib_w_wcslen = yes; then
33157
33158 WCHAR_LINK=" -lw"
33159 WCSLEN_FOUND=1
33160
33161 fi
33162
33163 fi
33164 fi
33165
33166 if test "$WCSLEN_FOUND" = 1; then
33167 cat >>confdefs.h <<\_ACEOF
33168 #define HAVE_WCSLEN 1
33169 _ACEOF
33170
33171 fi
33172
33173 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
33174 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
33175 fi
33176
33177 echo "$as_me:$LINENO: checking for mbstate_t" >&5
33178 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
33179 if test "${ac_cv_type_mbstate_t+set}" = set; then
33180 echo $ECHO_N "(cached) $ECHO_C" >&6
33181 else
33182 cat >conftest.$ac_ext <<_ACEOF
33183 /* confdefs.h. */
33184 _ACEOF
33185 cat confdefs.h >>conftest.$ac_ext
33186 cat >>conftest.$ac_ext <<_ACEOF
33187 /* end confdefs.h. */
33188 #include <wchar.h>
33189
33190 int
33191 main ()
33192 {
33193 if ((mbstate_t *) 0)
33194 return 0;
33195 if (sizeof (mbstate_t))
33196 return 0;
33197 ;
33198 return 0;
33199 }
33200 _ACEOF
33201 rm -f conftest.$ac_objext
33202 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33203 (eval $ac_compile) 2>conftest.er1
33204 ac_status=$?
33205 grep -v '^ *+' conftest.er1 >conftest.err
33206 rm -f conftest.er1
33207 cat conftest.err >&5
33208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33209 (exit $ac_status); } &&
33210 { ac_try='test -z "$ac_c_werror_flag"
33211 || test ! -s conftest.err'
33212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33213 (eval $ac_try) 2>&5
33214 ac_status=$?
33215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33216 (exit $ac_status); }; } &&
33217 { ac_try='test -s conftest.$ac_objext'
33218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33219 (eval $ac_try) 2>&5
33220 ac_status=$?
33221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33222 (exit $ac_status); }; }; then
33223 ac_cv_type_mbstate_t=yes
33224 else
33225 echo "$as_me: failed program was:" >&5
33226 sed 's/^/| /' conftest.$ac_ext >&5
33227
33228 ac_cv_type_mbstate_t=no
33229 fi
33230 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33231 fi
33232 echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
33233 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6
33234 if test $ac_cv_type_mbstate_t = yes; then
33235
33236 cat >>confdefs.h <<_ACEOF
33237 #define HAVE_MBSTATE_T 1
33238 _ACEOF
33239
33240
33241 for ac_func in wcsrtombs
33242 do
33243 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33244 echo "$as_me:$LINENO: checking for $ac_func" >&5
33245 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33246 if eval "test \"\${$as_ac_var+set}\" = set"; then
33247 echo $ECHO_N "(cached) $ECHO_C" >&6
33248 else
33249 cat >conftest.$ac_ext <<_ACEOF
33250 /* confdefs.h. */
33251 _ACEOF
33252 cat confdefs.h >>conftest.$ac_ext
33253 cat >>conftest.$ac_ext <<_ACEOF
33254 /* end confdefs.h. */
33255 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33256 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33257 #define $ac_func innocuous_$ac_func
33258
33259 /* System header to define __stub macros and hopefully few prototypes,
33260 which can conflict with char $ac_func (); below.
33261 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33262 <limits.h> exists even on freestanding compilers. */
33263
33264 #ifdef __STDC__
33265 # include <limits.h>
33266 #else
33267 # include <assert.h>
33268 #endif
33269
33270 #undef $ac_func
33271
33272 /* Override any gcc2 internal prototype to avoid an error. */
33273 #ifdef __cplusplus
33274 extern "C"
33275 {
33276 #endif
33277 /* We use char because int might match the return type of a gcc2
33278 builtin and then its argument prototype would still apply. */
33279 char $ac_func ();
33280 /* The GNU C library defines this for functions which it implements
33281 to always fail with ENOSYS. Some functions are actually named
33282 something starting with __ and the normal name is an alias. */
33283 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33284 choke me
33285 #else
33286 char (*f) () = $ac_func;
33287 #endif
33288 #ifdef __cplusplus
33289 }
33290 #endif
33291
33292 int
33293 main ()
33294 {
33295 return f != $ac_func;
33296 ;
33297 return 0;
33298 }
33299 _ACEOF
33300 rm -f conftest.$ac_objext conftest$ac_exeext
33301 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33302 (eval $ac_link) 2>conftest.er1
33303 ac_status=$?
33304 grep -v '^ *+' conftest.er1 >conftest.err
33305 rm -f conftest.er1
33306 cat conftest.err >&5
33307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33308 (exit $ac_status); } &&
33309 { ac_try='test -z "$ac_c_werror_flag"
33310 || test ! -s conftest.err'
33311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33312 (eval $ac_try) 2>&5
33313 ac_status=$?
33314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33315 (exit $ac_status); }; } &&
33316 { ac_try='test -s conftest$ac_exeext'
33317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33318 (eval $ac_try) 2>&5
33319 ac_status=$?
33320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33321 (exit $ac_status); }; }; then
33322 eval "$as_ac_var=yes"
33323 else
33324 echo "$as_me: failed program was:" >&5
33325 sed 's/^/| /' conftest.$ac_ext >&5
33326
33327 eval "$as_ac_var=no"
33328 fi
33329 rm -f conftest.err conftest.$ac_objext \
33330 conftest$ac_exeext conftest.$ac_ext
33331 fi
33332 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33333 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33334 if test `eval echo '${'$as_ac_var'}'` = yes; then
33335 cat >>confdefs.h <<_ACEOF
33336 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33337 _ACEOF
33338
33339 fi
33340 done
33341
33342 fi
33343
33344 else
33345 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
33346 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
33347 fi
33348
33349 ac_ext=cc
33350 ac_cpp='$CXXCPP $CPPFLAGS'
33351 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33352 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33353 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33354
33355
33356
33357
33358 for ac_func in snprintf vsnprintf
33359 do
33360 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33361 echo "$as_me:$LINENO: checking for $ac_func" >&5
33362 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33363 if eval "test \"\${$as_ac_var+set}\" = set"; then
33364 echo $ECHO_N "(cached) $ECHO_C" >&6
33365 else
33366 cat >conftest.$ac_ext <<_ACEOF
33367 /* confdefs.h. */
33368 _ACEOF
33369 cat confdefs.h >>conftest.$ac_ext
33370 cat >>conftest.$ac_ext <<_ACEOF
33371 /* end confdefs.h. */
33372 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33373 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33374 #define $ac_func innocuous_$ac_func
33375
33376 /* System header to define __stub macros and hopefully few prototypes,
33377 which can conflict with char $ac_func (); below.
33378 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33379 <limits.h> exists even on freestanding compilers. */
33380
33381 #ifdef __STDC__
33382 # include <limits.h>
33383 #else
33384 # include <assert.h>
33385 #endif
33386
33387 #undef $ac_func
33388
33389 /* Override any gcc2 internal prototype to avoid an error. */
33390 #ifdef __cplusplus
33391 extern "C"
33392 {
33393 #endif
33394 /* We use char because int might match the return type of a gcc2
33395 builtin and then its argument prototype would still apply. */
33396 char $ac_func ();
33397 /* The GNU C library defines this for functions which it implements
33398 to always fail with ENOSYS. Some functions are actually named
33399 something starting with __ and the normal name is an alias. */
33400 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33401 choke me
33402 #else
33403 char (*f) () = $ac_func;
33404 #endif
33405 #ifdef __cplusplus
33406 }
33407 #endif
33408
33409 int
33410 main ()
33411 {
33412 return f != $ac_func;
33413 ;
33414 return 0;
33415 }
33416 _ACEOF
33417 rm -f conftest.$ac_objext conftest$ac_exeext
33418 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33419 (eval $ac_link) 2>conftest.er1
33420 ac_status=$?
33421 grep -v '^ *+' conftest.er1 >conftest.err
33422 rm -f conftest.er1
33423 cat conftest.err >&5
33424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33425 (exit $ac_status); } &&
33426 { ac_try='test -z "$ac_cxx_werror_flag"
33427 || test ! -s conftest.err'
33428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33429 (eval $ac_try) 2>&5
33430 ac_status=$?
33431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33432 (exit $ac_status); }; } &&
33433 { ac_try='test -s conftest$ac_exeext'
33434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33435 (eval $ac_try) 2>&5
33436 ac_status=$?
33437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33438 (exit $ac_status); }; }; then
33439 eval "$as_ac_var=yes"
33440 else
33441 echo "$as_me: failed program was:" >&5
33442 sed 's/^/| /' conftest.$ac_ext >&5
33443
33444 eval "$as_ac_var=no"
33445 fi
33446 rm -f conftest.err conftest.$ac_objext \
33447 conftest$ac_exeext conftest.$ac_ext
33448 fi
33449 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33450 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33451 if test `eval echo '${'$as_ac_var'}'` = yes; then
33452 cat >>confdefs.h <<_ACEOF
33453 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33454 _ACEOF
33455
33456 fi
33457 done
33458
33459
33460 if test "$ac_cv_func_vsnprintf" = "yes"; then
33461 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
33462 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
33463 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
33464 echo $ECHO_N "(cached) $ECHO_C" >&6
33465 else
33466
33467 cat >conftest.$ac_ext <<_ACEOF
33468 /* confdefs.h. */
33469 _ACEOF
33470 cat confdefs.h >>conftest.$ac_ext
33471 cat >>conftest.$ac_ext <<_ACEOF
33472 /* end confdefs.h. */
33473
33474 #include <stdio.h>
33475 #include <stdarg.h>
33476 #ifdef __MSL__
33477 #if __MSL__ >= 0x6000
33478 namespace std {}
33479 using namespace std;
33480 #endif
33481 #endif
33482
33483 int
33484 main ()
33485 {
33486
33487 char *buf;
33488 va_list ap;
33489 vsnprintf(buf, 10u, "%s", ap);
33490
33491 ;
33492 return 0;
33493 }
33494 _ACEOF
33495 rm -f conftest.$ac_objext
33496 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33497 (eval $ac_compile) 2>conftest.er1
33498 ac_status=$?
33499 grep -v '^ *+' conftest.er1 >conftest.err
33500 rm -f conftest.er1
33501 cat conftest.err >&5
33502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33503 (exit $ac_status); } &&
33504 { ac_try='test -z "$ac_cxx_werror_flag"
33505 || test ! -s conftest.err'
33506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33507 (eval $ac_try) 2>&5
33508 ac_status=$?
33509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33510 (exit $ac_status); }; } &&
33511 { ac_try='test -s conftest.$ac_objext'
33512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33513 (eval $ac_try) 2>&5
33514 ac_status=$?
33515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33516 (exit $ac_status); }; }; then
33517 wx_cv_func_vsnprintf_decl=yes
33518 else
33519 echo "$as_me: failed program was:" >&5
33520 sed 's/^/| /' conftest.$ac_ext >&5
33521
33522 wx_cv_func_vsnprintf_decl=no
33523
33524 fi
33525 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33526
33527
33528 fi
33529 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
33530 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
33531
33532 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
33533 cat >>confdefs.h <<\_ACEOF
33534 #define HAVE_VSNPRINTF_DECL 1
33535 _ACEOF
33536
33537
33538 echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
33539 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6
33540 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
33541 echo $ECHO_N "(cached) $ECHO_C" >&6
33542 else
33543
33544 cat >conftest.$ac_ext <<_ACEOF
33545 /* confdefs.h. */
33546 _ACEOF
33547 cat confdefs.h >>conftest.$ac_ext
33548 cat >>conftest.$ac_ext <<_ACEOF
33549 /* end confdefs.h. */
33550
33551 #include <stdio.h>
33552 #include <stdarg.h>
33553 #ifdef __MSL__
33554 #if __MSL__ >= 0x6000
33555 namespace std {}
33556 using namespace std;
33557 #endif
33558 #endif
33559
33560 int
33561 main ()
33562 {
33563
33564 char *buf;
33565 va_list ap;
33566 const char *fmt = "%s";
33567 vsnprintf(buf, 10u, fmt, ap);
33568
33569 ;
33570 return 0;
33571 }
33572 _ACEOF
33573 rm -f conftest.$ac_objext
33574 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33575 (eval $ac_compile) 2>conftest.er1
33576 ac_status=$?
33577 grep -v '^ *+' conftest.er1 >conftest.err
33578 rm -f conftest.er1
33579 cat conftest.err >&5
33580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33581 (exit $ac_status); } &&
33582 { ac_try='test -z "$ac_cxx_werror_flag"
33583 || test ! -s conftest.err'
33584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33585 (eval $ac_try) 2>&5
33586 ac_status=$?
33587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33588 (exit $ac_status); }; } &&
33589 { ac_try='test -s conftest.$ac_objext'
33590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33591 (eval $ac_try) 2>&5
33592 ac_status=$?
33593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33594 (exit $ac_status); }; }; then
33595 wx_cv_func_broken_vsnprintf_decl=no
33596 else
33597 echo "$as_me: failed program was:" >&5
33598 sed 's/^/| /' conftest.$ac_ext >&5
33599
33600 wx_cv_func_broken_vsnprintf_decl=yes
33601
33602 fi
33603 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33604
33605
33606 fi
33607 echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
33608 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6
33609
33610 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
33611 cat >>confdefs.h <<\_ACEOF
33612 #define HAVE_BROKEN_VSNPRINTF_DECL 1
33613 _ACEOF
33614
33615 fi
33616 fi
33617 fi
33618
33619 if test "$ac_cv_func_snprintf" = "yes"; then
33620 echo "$as_me:$LINENO: checking for snprintf declaration" >&5
33621 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6
33622 if test "${wx_cv_func_snprintf_decl+set}" = set; then
33623 echo $ECHO_N "(cached) $ECHO_C" >&6
33624 else
33625
33626 cat >conftest.$ac_ext <<_ACEOF
33627 /* confdefs.h. */
33628 _ACEOF
33629 cat confdefs.h >>conftest.$ac_ext
33630 cat >>conftest.$ac_ext <<_ACEOF
33631 /* end confdefs.h. */
33632
33633 #include <stdio.h>
33634 #include <stdarg.h>
33635 #ifdef __MSL__
33636 #if __MSL__ >= 0x6000
33637 namespace std {}
33638 using namespace std;
33639 #endif
33640 #endif
33641
33642 int
33643 main ()
33644 {
33645
33646 char *buf;
33647 snprintf(buf, 10u, "%s", "wx");
33648
33649 ;
33650 return 0;
33651 }
33652 _ACEOF
33653 rm -f conftest.$ac_objext
33654 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33655 (eval $ac_compile) 2>conftest.er1
33656 ac_status=$?
33657 grep -v '^ *+' conftest.er1 >conftest.err
33658 rm -f conftest.er1
33659 cat conftest.err >&5
33660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33661 (exit $ac_status); } &&
33662 { ac_try='test -z "$ac_cxx_werror_flag"
33663 || test ! -s conftest.err'
33664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33665 (eval $ac_try) 2>&5
33666 ac_status=$?
33667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33668 (exit $ac_status); }; } &&
33669 { ac_try='test -s conftest.$ac_objext'
33670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33671 (eval $ac_try) 2>&5
33672 ac_status=$?
33673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33674 (exit $ac_status); }; }; then
33675 wx_cv_func_snprintf_decl=yes
33676 else
33677 echo "$as_me: failed program was:" >&5
33678 sed 's/^/| /' conftest.$ac_ext >&5
33679
33680 wx_cv_func_snprintf_decl=no
33681
33682 fi
33683 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33684
33685
33686 fi
33687 echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
33688 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6
33689
33690 if test "$wx_cv_func_snprintf_decl" = "yes"; then
33691 cat >>confdefs.h <<\_ACEOF
33692 #define HAVE_SNPRINTF_DECL 1
33693 _ACEOF
33694
33695
33696 echo "$as_me:$LINENO: checking if snprintf declaration is broken" >&5
33697 echo $ECHO_N "checking if snprintf declaration is broken... $ECHO_C" >&6
33698 if test "${wx_cv_func_broken_snprintf_decl+set}" = set; then
33699 echo $ECHO_N "(cached) $ECHO_C" >&6
33700 else
33701
33702 cat >conftest.$ac_ext <<_ACEOF
33703 /* confdefs.h. */
33704 _ACEOF
33705 cat confdefs.h >>conftest.$ac_ext
33706 cat >>conftest.$ac_ext <<_ACEOF
33707 /* end confdefs.h. */
33708
33709 #include <stdio.h>
33710 #include <stdarg.h>
33711 #ifdef __MSL__
33712 #if __MSL__ >= 0x6000
33713 namespace std {}
33714 using namespace std;
33715 #endif
33716 #endif
33717
33718 int
33719 main ()
33720 {
33721
33722 char *buf;
33723 const char *fmt = "%s";
33724 snprintf(buf, 10u, fmt, "wx");
33725
33726 ;
33727 return 0;
33728 }
33729 _ACEOF
33730 rm -f conftest.$ac_objext
33731 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33732 (eval $ac_compile) 2>conftest.er1
33733 ac_status=$?
33734 grep -v '^ *+' conftest.er1 >conftest.err
33735 rm -f conftest.er1
33736 cat conftest.err >&5
33737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33738 (exit $ac_status); } &&
33739 { ac_try='test -z "$ac_cxx_werror_flag"
33740 || test ! -s conftest.err'
33741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33742 (eval $ac_try) 2>&5
33743 ac_status=$?
33744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33745 (exit $ac_status); }; } &&
33746 { ac_try='test -s conftest.$ac_objext'
33747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33748 (eval $ac_try) 2>&5
33749 ac_status=$?
33750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33751 (exit $ac_status); }; }; then
33752 wx_cv_func_broken_snprintf_decl=no
33753 else
33754 echo "$as_me: failed program was:" >&5
33755 sed 's/^/| /' conftest.$ac_ext >&5
33756
33757 wx_cv_func_broken_snprintf_decl=yes
33758
33759 fi
33760 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33761
33762
33763 fi
33764 echo "$as_me:$LINENO: result: $wx_cv_func_broken_snprintf_decl" >&5
33765 echo "${ECHO_T}$wx_cv_func_broken_snprintf_decl" >&6
33766
33767 if test "$wx_cv_func_broken_snprintf_decl" = "yes"; then
33768 cat >>confdefs.h <<\_ACEOF
33769 #define HAVE_BROKEN_SNPRINTF_DECL 1
33770 _ACEOF
33771
33772 fi
33773 fi
33774 fi
33775
33776 if test "$wxUSE_UNICODE" = yes; then
33777
33778
33779
33780
33781
33782
33783 for ac_func in wputc wputchar putws fputws wprintf vswprintf
33784 do
33785 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33786 echo "$as_me:$LINENO: checking for $ac_func" >&5
33787 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33788 if eval "test \"\${$as_ac_var+set}\" = set"; then
33789 echo $ECHO_N "(cached) $ECHO_C" >&6
33790 else
33791 cat >conftest.$ac_ext <<_ACEOF
33792 /* confdefs.h. */
33793 _ACEOF
33794 cat confdefs.h >>conftest.$ac_ext
33795 cat >>conftest.$ac_ext <<_ACEOF
33796 /* end confdefs.h. */
33797 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33798 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33799 #define $ac_func innocuous_$ac_func
33800
33801 /* System header to define __stub macros and hopefully few prototypes,
33802 which can conflict with char $ac_func (); below.
33803 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33804 <limits.h> exists even on freestanding compilers. */
33805
33806 #ifdef __STDC__
33807 # include <limits.h>
33808 #else
33809 # include <assert.h>
33810 #endif
33811
33812 #undef $ac_func
33813
33814 /* Override any gcc2 internal prototype to avoid an error. */
33815 #ifdef __cplusplus
33816 extern "C"
33817 {
33818 #endif
33819 /* We use char because int might match the return type of a gcc2
33820 builtin and then its argument prototype would still apply. */
33821 char $ac_func ();
33822 /* The GNU C library defines this for functions which it implements
33823 to always fail with ENOSYS. Some functions are actually named
33824 something starting with __ and the normal name is an alias. */
33825 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33826 choke me
33827 #else
33828 char (*f) () = $ac_func;
33829 #endif
33830 #ifdef __cplusplus
33831 }
33832 #endif
33833
33834 int
33835 main ()
33836 {
33837 return f != $ac_func;
33838 ;
33839 return 0;
33840 }
33841 _ACEOF
33842 rm -f conftest.$ac_objext conftest$ac_exeext
33843 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33844 (eval $ac_link) 2>conftest.er1
33845 ac_status=$?
33846 grep -v '^ *+' conftest.er1 >conftest.err
33847 rm -f conftest.er1
33848 cat conftest.err >&5
33849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33850 (exit $ac_status); } &&
33851 { ac_try='test -z "$ac_cxx_werror_flag"
33852 || test ! -s conftest.err'
33853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33854 (eval $ac_try) 2>&5
33855 ac_status=$?
33856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33857 (exit $ac_status); }; } &&
33858 { ac_try='test -s conftest$ac_exeext'
33859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33860 (eval $ac_try) 2>&5
33861 ac_status=$?
33862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33863 (exit $ac_status); }; }; then
33864 eval "$as_ac_var=yes"
33865 else
33866 echo "$as_me: failed program was:" >&5
33867 sed 's/^/| /' conftest.$ac_ext >&5
33868
33869 eval "$as_ac_var=no"
33870 fi
33871 rm -f conftest.err conftest.$ac_objext \
33872 conftest$ac_exeext conftest.$ac_ext
33873 fi
33874 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33875 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33876 if test `eval echo '${'$as_ac_var'}'` = yes; then
33877 cat >>confdefs.h <<_ACEOF
33878 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33879 _ACEOF
33880
33881 fi
33882 done
33883
33884
33885 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
33886 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
33887 cat >conftest.$ac_ext <<_ACEOF
33888 /* confdefs.h. */
33889 _ACEOF
33890 cat confdefs.h >>conftest.$ac_ext
33891 cat >>conftest.$ac_ext <<_ACEOF
33892 /* end confdefs.h. */
33893 #include <wchar.h>
33894 int
33895 main ()
33896 {
33897 &_vsnwprintf;
33898 ;
33899 return 0;
33900 }
33901 _ACEOF
33902 rm -f conftest.$ac_objext
33903 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33904 (eval $ac_compile) 2>conftest.er1
33905 ac_status=$?
33906 grep -v '^ *+' conftest.er1 >conftest.err
33907 rm -f conftest.er1
33908 cat conftest.err >&5
33909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33910 (exit $ac_status); } &&
33911 { ac_try='test -z "$ac_cxx_werror_flag"
33912 || test ! -s conftest.err'
33913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33914 (eval $ac_try) 2>&5
33915 ac_status=$?
33916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33917 (exit $ac_status); }; } &&
33918 { ac_try='test -s conftest.$ac_objext'
33919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33920 (eval $ac_try) 2>&5
33921 ac_status=$?
33922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33923 (exit $ac_status); }; }; then
33924 echo "$as_me:$LINENO: result: yes" >&5
33925 echo "${ECHO_T}yes" >&6
33926 cat >>confdefs.h <<\_ACEOF
33927 #define HAVE__VSNWPRINTF 1
33928 _ACEOF
33929
33930 else
33931 echo "$as_me: failed program was:" >&5
33932 sed 's/^/| /' conftest.$ac_ext >&5
33933
33934 echo "$as_me:$LINENO: result: no" >&5
33935 echo "${ECHO_T}no" >&6
33936 fi
33937 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext;
33938 fi
33939
33940 ac_ext=c
33941 ac_cpp='$CPP $CPPFLAGS'
33942 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33943 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33944 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33945
33946
33947 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
33948
33949 for ac_func in fnmatch
33950 do
33951 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33952 echo "$as_me:$LINENO: checking for $ac_func" >&5
33953 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33954 if eval "test \"\${$as_ac_var+set}\" = set"; then
33955 echo $ECHO_N "(cached) $ECHO_C" >&6
33956 else
33957 cat >conftest.$ac_ext <<_ACEOF
33958 /* confdefs.h. */
33959 _ACEOF
33960 cat confdefs.h >>conftest.$ac_ext
33961 cat >>conftest.$ac_ext <<_ACEOF
33962 /* end confdefs.h. */
33963 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33964 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33965 #define $ac_func innocuous_$ac_func
33966
33967 /* System header to define __stub macros and hopefully few prototypes,
33968 which can conflict with char $ac_func (); below.
33969 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33970 <limits.h> exists even on freestanding compilers. */
33971
33972 #ifdef __STDC__
33973 # include <limits.h>
33974 #else
33975 # include <assert.h>
33976 #endif
33977
33978 #undef $ac_func
33979
33980 /* Override any gcc2 internal prototype to avoid an error. */
33981 #ifdef __cplusplus
33982 extern "C"
33983 {
33984 #endif
33985 /* We use char because int might match the return type of a gcc2
33986 builtin and then its argument prototype would still apply. */
33987 char $ac_func ();
33988 /* The GNU C library defines this for functions which it implements
33989 to always fail with ENOSYS. Some functions are actually named
33990 something starting with __ and the normal name is an alias. */
33991 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33992 choke me
33993 #else
33994 char (*f) () = $ac_func;
33995 #endif
33996 #ifdef __cplusplus
33997 }
33998 #endif
33999
34000 int
34001 main ()
34002 {
34003 return f != $ac_func;
34004 ;
34005 return 0;
34006 }
34007 _ACEOF
34008 rm -f conftest.$ac_objext conftest$ac_exeext
34009 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34010 (eval $ac_link) 2>conftest.er1
34011 ac_status=$?
34012 grep -v '^ *+' conftest.er1 >conftest.err
34013 rm -f conftest.er1
34014 cat conftest.err >&5
34015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34016 (exit $ac_status); } &&
34017 { ac_try='test -z "$ac_c_werror_flag"
34018 || test ! -s conftest.err'
34019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34020 (eval $ac_try) 2>&5
34021 ac_status=$?
34022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34023 (exit $ac_status); }; } &&
34024 { ac_try='test -s conftest$ac_exeext'
34025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34026 (eval $ac_try) 2>&5
34027 ac_status=$?
34028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34029 (exit $ac_status); }; }; then
34030 eval "$as_ac_var=yes"
34031 else
34032 echo "$as_me: failed program was:" >&5
34033 sed 's/^/| /' conftest.$ac_ext >&5
34034
34035 eval "$as_ac_var=no"
34036 fi
34037 rm -f conftest.err conftest.$ac_objext \
34038 conftest$ac_exeext conftest.$ac_ext
34039 fi
34040 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34041 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34042 if test `eval echo '${'$as_ac_var'}'` = yes; then
34043 cat >>confdefs.h <<_ACEOF
34044 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34045 _ACEOF
34046
34047 fi
34048 done
34049
34050 fi
34051
34052 if test "$wxUSE_FILE" = "yes"; then
34053
34054 for ac_func in fsync
34055 do
34056 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34057 echo "$as_me:$LINENO: checking for $ac_func" >&5
34058 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34059 if eval "test \"\${$as_ac_var+set}\" = set"; then
34060 echo $ECHO_N "(cached) $ECHO_C" >&6
34061 else
34062 cat >conftest.$ac_ext <<_ACEOF
34063 /* confdefs.h. */
34064 _ACEOF
34065 cat confdefs.h >>conftest.$ac_ext
34066 cat >>conftest.$ac_ext <<_ACEOF
34067 /* end confdefs.h. */
34068 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34069 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34070 #define $ac_func innocuous_$ac_func
34071
34072 /* System header to define __stub macros and hopefully few prototypes,
34073 which can conflict with char $ac_func (); below.
34074 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34075 <limits.h> exists even on freestanding compilers. */
34076
34077 #ifdef __STDC__
34078 # include <limits.h>
34079 #else
34080 # include <assert.h>
34081 #endif
34082
34083 #undef $ac_func
34084
34085 /* Override any gcc2 internal prototype to avoid an error. */
34086 #ifdef __cplusplus
34087 extern "C"
34088 {
34089 #endif
34090 /* We use char because int might match the return type of a gcc2
34091 builtin and then its argument prototype would still apply. */
34092 char $ac_func ();
34093 /* The GNU C library defines this for functions which it implements
34094 to always fail with ENOSYS. Some functions are actually named
34095 something starting with __ and the normal name is an alias. */
34096 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34097 choke me
34098 #else
34099 char (*f) () = $ac_func;
34100 #endif
34101 #ifdef __cplusplus
34102 }
34103 #endif
34104
34105 int
34106 main ()
34107 {
34108 return f != $ac_func;
34109 ;
34110 return 0;
34111 }
34112 _ACEOF
34113 rm -f conftest.$ac_objext conftest$ac_exeext
34114 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34115 (eval $ac_link) 2>conftest.er1
34116 ac_status=$?
34117 grep -v '^ *+' conftest.er1 >conftest.err
34118 rm -f conftest.er1
34119 cat conftest.err >&5
34120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34121 (exit $ac_status); } &&
34122 { ac_try='test -z "$ac_c_werror_flag"
34123 || test ! -s conftest.err'
34124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34125 (eval $ac_try) 2>&5
34126 ac_status=$?
34127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34128 (exit $ac_status); }; } &&
34129 { ac_try='test -s conftest$ac_exeext'
34130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34131 (eval $ac_try) 2>&5
34132 ac_status=$?
34133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34134 (exit $ac_status); }; }; then
34135 eval "$as_ac_var=yes"
34136 else
34137 echo "$as_me: failed program was:" >&5
34138 sed 's/^/| /' conftest.$ac_ext >&5
34139
34140 eval "$as_ac_var=no"
34141 fi
34142 rm -f conftest.err conftest.$ac_objext \
34143 conftest$ac_exeext conftest.$ac_ext
34144 fi
34145 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34146 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34147 if test `eval echo '${'$as_ac_var'}'` = yes; then
34148 cat >>confdefs.h <<_ACEOF
34149 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34150 _ACEOF
34151
34152 fi
34153 done
34154
34155 fi
34156
34157
34158 if test "$TOOLKIT" != "MSW"; then
34159
34160
34161 ac_ext=cc
34162 ac_cpp='$CXXCPP $CPPFLAGS'
34163 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34164 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34165 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34166
34167
34168
34169
34170 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
34171 if test "${with_libiconv_prefix+set}" = set; then
34172 withval="$with_libiconv_prefix"
34173
34174 for dir in `echo "$withval" | tr : ' '`; do
34175 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
34176 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
34177 done
34178
34179 fi;
34180
34181 echo "$as_me:$LINENO: checking for iconv" >&5
34182 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
34183 if test "${am_cv_func_iconv+set}" = set; then
34184 echo $ECHO_N "(cached) $ECHO_C" >&6
34185 else
34186
34187 am_cv_func_iconv="no, consider installing GNU libiconv"
34188 am_cv_lib_iconv=no
34189 cat >conftest.$ac_ext <<_ACEOF
34190 /* confdefs.h. */
34191 _ACEOF
34192 cat confdefs.h >>conftest.$ac_ext
34193 cat >>conftest.$ac_ext <<_ACEOF
34194 /* end confdefs.h. */
34195 #include <stdlib.h>
34196 #include <iconv.h>
34197 int
34198 main ()
34199 {
34200 iconv_t cd = iconv_open("","");
34201 iconv(cd,NULL,NULL,NULL,NULL);
34202 iconv_close(cd);
34203 ;
34204 return 0;
34205 }
34206 _ACEOF
34207 rm -f conftest.$ac_objext conftest$ac_exeext
34208 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34209 (eval $ac_link) 2>conftest.er1
34210 ac_status=$?
34211 grep -v '^ *+' conftest.er1 >conftest.err
34212 rm -f conftest.er1
34213 cat conftest.err >&5
34214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34215 (exit $ac_status); } &&
34216 { ac_try='test -z "$ac_cxx_werror_flag"
34217 || test ! -s conftest.err'
34218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34219 (eval $ac_try) 2>&5
34220 ac_status=$?
34221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34222 (exit $ac_status); }; } &&
34223 { ac_try='test -s conftest$ac_exeext'
34224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34225 (eval $ac_try) 2>&5
34226 ac_status=$?
34227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34228 (exit $ac_status); }; }; then
34229 am_cv_func_iconv=yes
34230 else
34231 echo "$as_me: failed program was:" >&5
34232 sed 's/^/| /' conftest.$ac_ext >&5
34233
34234 fi
34235 rm -f conftest.err conftest.$ac_objext \
34236 conftest$ac_exeext conftest.$ac_ext
34237 if test "$am_cv_func_iconv" != yes; then
34238 am_save_LIBS="$LIBS"
34239 LIBS="$LIBS -liconv"
34240 cat >conftest.$ac_ext <<_ACEOF
34241 /* confdefs.h. */
34242 _ACEOF
34243 cat confdefs.h >>conftest.$ac_ext
34244 cat >>conftest.$ac_ext <<_ACEOF
34245 /* end confdefs.h. */
34246 #include <stdlib.h>
34247 #include <iconv.h>
34248 int
34249 main ()
34250 {
34251 iconv_t cd = iconv_open("","");
34252 iconv(cd,NULL,NULL,NULL,NULL);
34253 iconv_close(cd);
34254 ;
34255 return 0;
34256 }
34257 _ACEOF
34258 rm -f conftest.$ac_objext conftest$ac_exeext
34259 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34260 (eval $ac_link) 2>conftest.er1
34261 ac_status=$?
34262 grep -v '^ *+' conftest.er1 >conftest.err
34263 rm -f conftest.er1
34264 cat conftest.err >&5
34265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34266 (exit $ac_status); } &&
34267 { ac_try='test -z "$ac_cxx_werror_flag"
34268 || test ! -s conftest.err'
34269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34270 (eval $ac_try) 2>&5
34271 ac_status=$?
34272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34273 (exit $ac_status); }; } &&
34274 { ac_try='test -s conftest$ac_exeext'
34275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34276 (eval $ac_try) 2>&5
34277 ac_status=$?
34278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34279 (exit $ac_status); }; }; then
34280 am_cv_lib_iconv=yes
34281 am_cv_func_iconv=yes
34282 else
34283 echo "$as_me: failed program was:" >&5
34284 sed 's/^/| /' conftest.$ac_ext >&5
34285
34286 fi
34287 rm -f conftest.err conftest.$ac_objext \
34288 conftest$ac_exeext conftest.$ac_ext
34289 LIBS="$am_save_LIBS"
34290 fi
34291
34292 fi
34293 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
34294 echo "${ECHO_T}$am_cv_func_iconv" >&6
34295 if test "$am_cv_func_iconv" = yes; then
34296
34297 cat >>confdefs.h <<\_ACEOF
34298 #define HAVE_ICONV 1
34299 _ACEOF
34300
34301 echo "$as_me:$LINENO: checking if iconv needs const" >&5
34302 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
34303 if test "${wx_cv_func_iconv_const+set}" = set; then
34304 echo $ECHO_N "(cached) $ECHO_C" >&6
34305 else
34306 cat >conftest.$ac_ext <<_ACEOF
34307 /* confdefs.h. */
34308 _ACEOF
34309 cat confdefs.h >>conftest.$ac_ext
34310 cat >>conftest.$ac_ext <<_ACEOF
34311 /* end confdefs.h. */
34312
34313 #include <stdlib.h>
34314 #include <iconv.h>
34315 extern
34316 #ifdef __cplusplus
34317 "C"
34318 #endif
34319 #if defined(__STDC__) || defined(__cplusplus)
34320 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
34321 #else
34322 size_t iconv();
34323 #endif
34324
34325 int
34326 main ()
34327 {
34328
34329 ;
34330 return 0;
34331 }
34332 _ACEOF
34333 rm -f conftest.$ac_objext
34334 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34335 (eval $ac_compile) 2>conftest.er1
34336 ac_status=$?
34337 grep -v '^ *+' conftest.er1 >conftest.err
34338 rm -f conftest.er1
34339 cat conftest.err >&5
34340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34341 (exit $ac_status); } &&
34342 { ac_try='test -z "$ac_cxx_werror_flag"
34343 || test ! -s conftest.err'
34344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34345 (eval $ac_try) 2>&5
34346 ac_status=$?
34347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34348 (exit $ac_status); }; } &&
34349 { ac_try='test -s conftest.$ac_objext'
34350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34351 (eval $ac_try) 2>&5
34352 ac_status=$?
34353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34354 (exit $ac_status); }; }; then
34355 wx_cv_func_iconv_const="no"
34356 else
34357 echo "$as_me: failed program was:" >&5
34358 sed 's/^/| /' conftest.$ac_ext >&5
34359
34360 wx_cv_func_iconv_const="yes"
34361
34362 fi
34363 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34364
34365 fi
34366 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
34367 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
34368
34369 iconv_const=
34370 if test "x$wx_cv_func_iconv_const" = "xyes"; then
34371 iconv_const="const"
34372 fi
34373
34374
34375 cat >>confdefs.h <<_ACEOF
34376 #define ICONV_CONST $iconv_const
34377 _ACEOF
34378
34379 fi
34380 LIBICONV=
34381 if test "$am_cv_lib_iconv" = yes; then
34382 LIBICONV="-liconv"
34383 fi
34384
34385
34386 LIBS="$LIBICONV $LIBS"
34387 ac_ext=c
34388 ac_cpp='$CPP $CPPFLAGS'
34389 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34390 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34391 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34392
34393
34394 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
34395
34396 for ac_func in sigaction
34397 do
34398 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34399 echo "$as_me:$LINENO: checking for $ac_func" >&5
34400 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34401 if eval "test \"\${$as_ac_var+set}\" = set"; then
34402 echo $ECHO_N "(cached) $ECHO_C" >&6
34403 else
34404 cat >conftest.$ac_ext <<_ACEOF
34405 /* confdefs.h. */
34406 _ACEOF
34407 cat confdefs.h >>conftest.$ac_ext
34408 cat >>conftest.$ac_ext <<_ACEOF
34409 /* end confdefs.h. */
34410 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34411 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34412 #define $ac_func innocuous_$ac_func
34413
34414 /* System header to define __stub macros and hopefully few prototypes,
34415 which can conflict with char $ac_func (); below.
34416 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34417 <limits.h> exists even on freestanding compilers. */
34418
34419 #ifdef __STDC__
34420 # include <limits.h>
34421 #else
34422 # include <assert.h>
34423 #endif
34424
34425 #undef $ac_func
34426
34427 /* Override any gcc2 internal prototype to avoid an error. */
34428 #ifdef __cplusplus
34429 extern "C"
34430 {
34431 #endif
34432 /* We use char because int might match the return type of a gcc2
34433 builtin and then its argument prototype would still apply. */
34434 char $ac_func ();
34435 /* The GNU C library defines this for functions which it implements
34436 to always fail with ENOSYS. Some functions are actually named
34437 something starting with __ and the normal name is an alias. */
34438 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34439 choke me
34440 #else
34441 char (*f) () = $ac_func;
34442 #endif
34443 #ifdef __cplusplus
34444 }
34445 #endif
34446
34447 int
34448 main ()
34449 {
34450 return f != $ac_func;
34451 ;
34452 return 0;
34453 }
34454 _ACEOF
34455 rm -f conftest.$ac_objext conftest$ac_exeext
34456 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34457 (eval $ac_link) 2>conftest.er1
34458 ac_status=$?
34459 grep -v '^ *+' conftest.er1 >conftest.err
34460 rm -f conftest.er1
34461 cat conftest.err >&5
34462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34463 (exit $ac_status); } &&
34464 { ac_try='test -z "$ac_c_werror_flag"
34465 || test ! -s conftest.err'
34466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34467 (eval $ac_try) 2>&5
34468 ac_status=$?
34469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34470 (exit $ac_status); }; } &&
34471 { ac_try='test -s conftest$ac_exeext'
34472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34473 (eval $ac_try) 2>&5
34474 ac_status=$?
34475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34476 (exit $ac_status); }; }; then
34477 eval "$as_ac_var=yes"
34478 else
34479 echo "$as_me: failed program was:" >&5
34480 sed 's/^/| /' conftest.$ac_ext >&5
34481
34482 eval "$as_ac_var=no"
34483 fi
34484 rm -f conftest.err conftest.$ac_objext \
34485 conftest$ac_exeext conftest.$ac_ext
34486 fi
34487 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34488 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34489 if test `eval echo '${'$as_ac_var'}'` = yes; then
34490 cat >>confdefs.h <<_ACEOF
34491 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34492 _ACEOF
34493
34494 fi
34495 done
34496
34497
34498 if test "$ac_cv_func_sigaction" = "no"; then
34499 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
34500 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
34501 wxUSE_ON_FATAL_EXCEPTION=no
34502 fi
34503
34504 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
34505 ac_ext=cc
34506 ac_cpp='$CXXCPP $CPPFLAGS'
34507 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34508 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34509 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34510
34511
34512 echo "$as_me:$LINENO: checking for sa_handler type" >&5
34513 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
34514 if test "${wx_cv_type_sa_handler+set}" = set; then
34515 echo $ECHO_N "(cached) $ECHO_C" >&6
34516 else
34517
34518 cat >conftest.$ac_ext <<_ACEOF
34519 /* confdefs.h. */
34520 _ACEOF
34521 cat confdefs.h >>conftest.$ac_ext
34522 cat >>conftest.$ac_ext <<_ACEOF
34523 /* end confdefs.h. */
34524 #include <signal.h>
34525 int
34526 main ()
34527 {
34528
34529 extern void testSigHandler(int);
34530
34531 struct sigaction sa;
34532 sa.sa_handler = testSigHandler;
34533
34534 ;
34535 return 0;
34536 }
34537 _ACEOF
34538 rm -f conftest.$ac_objext
34539 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34540 (eval $ac_compile) 2>conftest.er1
34541 ac_status=$?
34542 grep -v '^ *+' conftest.er1 >conftest.err
34543 rm -f conftest.er1
34544 cat conftest.err >&5
34545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34546 (exit $ac_status); } &&
34547 { ac_try='test -z "$ac_cxx_werror_flag"
34548 || test ! -s conftest.err'
34549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34550 (eval $ac_try) 2>&5
34551 ac_status=$?
34552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34553 (exit $ac_status); }; } &&
34554 { ac_try='test -s conftest.$ac_objext'
34555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34556 (eval $ac_try) 2>&5
34557 ac_status=$?
34558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34559 (exit $ac_status); }; }; then
34560
34561 wx_cv_type_sa_handler=int
34562
34563 else
34564 echo "$as_me: failed program was:" >&5
34565 sed 's/^/| /' conftest.$ac_ext >&5
34566
34567
34568 wx_cv_type_sa_handler=void
34569
34570 fi
34571 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34572
34573 fi
34574 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
34575 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
34576
34577 ac_ext=c
34578 ac_cpp='$CPP $CPPFLAGS'
34579 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34580 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34581 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34582
34583
34584 cat >>confdefs.h <<_ACEOF
34585 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
34586 _ACEOF
34587
34588 fi
34589 fi
34590
34591 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
34592 ac_ext=cc
34593 ac_cpp='$CXXCPP $CPPFLAGS'
34594 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34595 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34596 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34597
34598
34599 echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
34600 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6
34601 if test "${wx_cv_func_backtrace+set}" = set; then
34602 echo $ECHO_N "(cached) $ECHO_C" >&6
34603 else
34604
34605 cat >conftest.$ac_ext <<_ACEOF
34606 /* confdefs.h. */
34607 _ACEOF
34608 cat confdefs.h >>conftest.$ac_ext
34609 cat >>conftest.$ac_ext <<_ACEOF
34610 /* end confdefs.h. */
34611 #include <execinfo.h>
34612 int
34613 main ()
34614 {
34615
34616 void *trace[1];
34617 char **messages;
34618
34619 backtrace(trace, 1);
34620 messages = backtrace_symbols(trace, 1);
34621
34622 ;
34623 return 0;
34624 }
34625 _ACEOF
34626 rm -f conftest.$ac_objext
34627 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34628 (eval $ac_compile) 2>conftest.er1
34629 ac_status=$?
34630 grep -v '^ *+' conftest.er1 >conftest.err
34631 rm -f conftest.er1
34632 cat conftest.err >&5
34633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34634 (exit $ac_status); } &&
34635 { ac_try='test -z "$ac_cxx_werror_flag"
34636 || test ! -s conftest.err'
34637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34638 (eval $ac_try) 2>&5
34639 ac_status=$?
34640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34641 (exit $ac_status); }; } &&
34642 { ac_try='test -s conftest.$ac_objext'
34643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34644 (eval $ac_try) 2>&5
34645 ac_status=$?
34646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34647 (exit $ac_status); }; }; then
34648 wx_cv_func_backtrace=yes
34649 else
34650 echo "$as_me: failed program was:" >&5
34651 sed 's/^/| /' conftest.$ac_ext >&5
34652
34653 wx_cv_func_backtrace=no
34654
34655 fi
34656 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34657
34658
34659 fi
34660 echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
34661 echo "${ECHO_T}$wx_cv_func_backtrace" >&6
34662
34663
34664 if test "$wx_cv_func_backtrace" = "no"; then
34665 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
34666 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
34667 wxUSE_STACKWALKER=no
34668 else
34669 echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
34670 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6
34671 if test "${wx_cv_func_cxa_demangle+set}" = set; then
34672 echo $ECHO_N "(cached) $ECHO_C" >&6
34673 else
34674
34675 cat >conftest.$ac_ext <<_ACEOF
34676 /* confdefs.h. */
34677 _ACEOF
34678 cat confdefs.h >>conftest.$ac_ext
34679 cat >>conftest.$ac_ext <<_ACEOF
34680 /* end confdefs.h. */
34681 #include <cxxabi.h>
34682 int
34683 main ()
34684 {
34685
34686 int rc;
34687 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
34688
34689 ;
34690 return 0;
34691 }
34692 _ACEOF
34693 rm -f conftest.$ac_objext conftest$ac_exeext
34694 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34695 (eval $ac_link) 2>conftest.er1
34696 ac_status=$?
34697 grep -v '^ *+' conftest.er1 >conftest.err
34698 rm -f conftest.er1
34699 cat conftest.err >&5
34700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34701 (exit $ac_status); } &&
34702 { ac_try='test -z "$ac_cxx_werror_flag"
34703 || test ! -s conftest.err'
34704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34705 (eval $ac_try) 2>&5
34706 ac_status=$?
34707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34708 (exit $ac_status); }; } &&
34709 { ac_try='test -s conftest$ac_exeext'
34710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34711 (eval $ac_try) 2>&5
34712 ac_status=$?
34713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34714 (exit $ac_status); }; }; then
34715 wx_cv_func_cxa_demangle=yes
34716 else
34717 echo "$as_me: failed program was:" >&5
34718 sed 's/^/| /' conftest.$ac_ext >&5
34719
34720 wx_cv_func_cxa_demangle=no
34721
34722 fi
34723 rm -f conftest.err conftest.$ac_objext \
34724 conftest$ac_exeext conftest.$ac_ext
34725
34726
34727 fi
34728 echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
34729 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6
34730
34731 if test "$wx_cv_func_cxa_demangle" = "yes"; then
34732 cat >>confdefs.h <<\_ACEOF
34733 #define HAVE_CXA_DEMANGLE 1
34734 _ACEOF
34735
34736 fi
34737 fi
34738
34739 ac_ext=c
34740 ac_cpp='$CPP $CPPFLAGS'
34741 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34742 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34743 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34744
34745 fi
34746
34747 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != "1" -a "$USE_UNIX" != "1"; then
34748 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
34749 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
34750 wxUSE_STACKWALKER=no
34751 fi
34752
34753
34754
34755
34756 for ac_func in mkstemp mktemp
34757 do
34758 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34759 echo "$as_me:$LINENO: checking for $ac_func" >&5
34760 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34761 if eval "test \"\${$as_ac_var+set}\" = set"; then
34762 echo $ECHO_N "(cached) $ECHO_C" >&6
34763 else
34764 cat >conftest.$ac_ext <<_ACEOF
34765 /* confdefs.h. */
34766 _ACEOF
34767 cat confdefs.h >>conftest.$ac_ext
34768 cat >>conftest.$ac_ext <<_ACEOF
34769 /* end confdefs.h. */
34770 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34771 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34772 #define $ac_func innocuous_$ac_func
34773
34774 /* System header to define __stub macros and hopefully few prototypes,
34775 which can conflict with char $ac_func (); below.
34776 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34777 <limits.h> exists even on freestanding compilers. */
34778
34779 #ifdef __STDC__
34780 # include <limits.h>
34781 #else
34782 # include <assert.h>
34783 #endif
34784
34785 #undef $ac_func
34786
34787 /* Override any gcc2 internal prototype to avoid an error. */
34788 #ifdef __cplusplus
34789 extern "C"
34790 {
34791 #endif
34792 /* We use char because int might match the return type of a gcc2
34793 builtin and then its argument prototype would still apply. */
34794 char $ac_func ();
34795 /* The GNU C library defines this for functions which it implements
34796 to always fail with ENOSYS. Some functions are actually named
34797 something starting with __ and the normal name is an alias. */
34798 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34799 choke me
34800 #else
34801 char (*f) () = $ac_func;
34802 #endif
34803 #ifdef __cplusplus
34804 }
34805 #endif
34806
34807 int
34808 main ()
34809 {
34810 return f != $ac_func;
34811 ;
34812 return 0;
34813 }
34814 _ACEOF
34815 rm -f conftest.$ac_objext conftest$ac_exeext
34816 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34817 (eval $ac_link) 2>conftest.er1
34818 ac_status=$?
34819 grep -v '^ *+' conftest.er1 >conftest.err
34820 rm -f conftest.er1
34821 cat conftest.err >&5
34822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34823 (exit $ac_status); } &&
34824 { ac_try='test -z "$ac_c_werror_flag"
34825 || test ! -s conftest.err'
34826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34827 (eval $ac_try) 2>&5
34828 ac_status=$?
34829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34830 (exit $ac_status); }; } &&
34831 { ac_try='test -s conftest$ac_exeext'
34832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34833 (eval $ac_try) 2>&5
34834 ac_status=$?
34835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34836 (exit $ac_status); }; }; then
34837 eval "$as_ac_var=yes"
34838 else
34839 echo "$as_me: failed program was:" >&5
34840 sed 's/^/| /' conftest.$ac_ext >&5
34841
34842 eval "$as_ac_var=no"
34843 fi
34844 rm -f conftest.err conftest.$ac_objext \
34845 conftest$ac_exeext conftest.$ac_ext
34846 fi
34847 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34848 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34849 if test `eval echo '${'$as_ac_var'}'` = yes; then
34850 cat >>confdefs.h <<_ACEOF
34851 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34852 _ACEOF
34853 break
34854 fi
34855 done
34856
34857
34858 echo "$as_me:$LINENO: checking for statfs" >&5
34859 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
34860 if test "${wx_cv_func_statfs+set}" = set; then
34861 echo $ECHO_N "(cached) $ECHO_C" >&6
34862 else
34863 cat >conftest.$ac_ext <<_ACEOF
34864 /* confdefs.h. */
34865 _ACEOF
34866 cat confdefs.h >>conftest.$ac_ext
34867 cat >>conftest.$ac_ext <<_ACEOF
34868 /* end confdefs.h. */
34869
34870 #if defined(__BSD__)
34871 #include <sys/param.h>
34872 #include <sys/mount.h>
34873 #else
34874 #include <sys/vfs.h>
34875 #endif
34876
34877 int
34878 main ()
34879 {
34880
34881 long l;
34882 struct statfs fs;
34883 statfs("/", &fs);
34884 l = fs.f_bsize;
34885 l += fs.f_blocks;
34886 l += fs.f_bavail;
34887
34888 ;
34889 return 0;
34890 }
34891 _ACEOF
34892 rm -f conftest.$ac_objext
34893 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34894 (eval $ac_compile) 2>conftest.er1
34895 ac_status=$?
34896 grep -v '^ *+' conftest.er1 >conftest.err
34897 rm -f conftest.er1
34898 cat conftest.err >&5
34899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34900 (exit $ac_status); } &&
34901 { ac_try='test -z "$ac_c_werror_flag"
34902 || test ! -s conftest.err'
34903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34904 (eval $ac_try) 2>&5
34905 ac_status=$?
34906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34907 (exit $ac_status); }; } &&
34908 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
34914 wx_cv_func_statfs=yes
34915 else
34916 echo "$as_me: failed program was:" >&5
34917 sed 's/^/| /' conftest.$ac_ext >&5
34918
34919 wx_cv_func_statfs=no
34920
34921 fi
34922 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34923
34924 fi
34925 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
34926 echo "${ECHO_T}$wx_cv_func_statfs" >&6
34927
34928 if test "$wx_cv_func_statfs" = "yes"; then
34929 ac_ext=cc
34930 ac_cpp='$CXXCPP $CPPFLAGS'
34931 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34932 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34933 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34934
34935 echo "$as_me:$LINENO: checking for statfs declaration" >&5
34936 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6
34937 if test "${wx_cv_func_statfs_decl+set}" = set; then
34938 echo $ECHO_N "(cached) $ECHO_C" >&6
34939 else
34940 cat >conftest.$ac_ext <<_ACEOF
34941 /* confdefs.h. */
34942 _ACEOF
34943 cat confdefs.h >>conftest.$ac_ext
34944 cat >>conftest.$ac_ext <<_ACEOF
34945 /* end confdefs.h. */
34946
34947 #if defined(__BSD__)
34948 #include <sys/param.h>
34949 #include <sys/mount.h>
34950 #else
34951 #include <sys/vfs.h>
34952 #endif
34953
34954 int
34955 main ()
34956 {
34957
34958 struct statfs fs;
34959 statfs("", &fs);
34960
34961 ;
34962 return 0;
34963 }
34964 _ACEOF
34965 rm -f conftest.$ac_objext
34966 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34967 (eval $ac_compile) 2>conftest.er1
34968 ac_status=$?
34969 grep -v '^ *+' conftest.er1 >conftest.err
34970 rm -f conftest.er1
34971 cat conftest.err >&5
34972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34973 (exit $ac_status); } &&
34974 { ac_try='test -z "$ac_cxx_werror_flag"
34975 || test ! -s conftest.err'
34976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34977 (eval $ac_try) 2>&5
34978 ac_status=$?
34979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34980 (exit $ac_status); }; } &&
34981 { ac_try='test -s conftest.$ac_objext'
34982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34983 (eval $ac_try) 2>&5
34984 ac_status=$?
34985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34986 (exit $ac_status); }; }; then
34987 wx_cv_func_statfs_decl=yes
34988 else
34989 echo "$as_me: failed program was:" >&5
34990 sed 's/^/| /' conftest.$ac_ext >&5
34991
34992 wx_cv_func_statfs_decl=no
34993
34994 fi
34995 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34996
34997 fi
34998 echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
34999 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6
35000 ac_ext=c
35001 ac_cpp='$CPP $CPPFLAGS'
35002 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35003 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35004 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35005
35006
35007 if test "$wx_cv_func_statfs_decl" = "yes"; then
35008 cat >>confdefs.h <<\_ACEOF
35009 #define HAVE_STATFS_DECL 1
35010 _ACEOF
35011
35012 fi
35013
35014 wx_cv_type_statvfs_t="struct statfs"
35015 cat >>confdefs.h <<\_ACEOF
35016 #define HAVE_STATFS 1
35017 _ACEOF
35018
35019 else
35020 echo "$as_me:$LINENO: checking for statvfs" >&5
35021 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
35022 if test "${wx_cv_func_statvfs+set}" = set; then
35023 echo $ECHO_N "(cached) $ECHO_C" >&6
35024 else
35025 cat >conftest.$ac_ext <<_ACEOF
35026 /* confdefs.h. */
35027 _ACEOF
35028 cat confdefs.h >>conftest.$ac_ext
35029 cat >>conftest.$ac_ext <<_ACEOF
35030 /* end confdefs.h. */
35031
35032 #include <stddef.h>
35033 #include <sys/statvfs.h>
35034
35035 int
35036 main ()
35037 {
35038
35039 statvfs("/", NULL);
35040
35041 ;
35042 return 0;
35043 }
35044 _ACEOF
35045 rm -f conftest.$ac_objext
35046 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35047 (eval $ac_compile) 2>conftest.er1
35048 ac_status=$?
35049 grep -v '^ *+' conftest.er1 >conftest.err
35050 rm -f conftest.er1
35051 cat conftest.err >&5
35052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35053 (exit $ac_status); } &&
35054 { ac_try='test -z "$ac_c_werror_flag"
35055 || test ! -s conftest.err'
35056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35057 (eval $ac_try) 2>&5
35058 ac_status=$?
35059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35060 (exit $ac_status); }; } &&
35061 { ac_try='test -s conftest.$ac_objext'
35062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35063 (eval $ac_try) 2>&5
35064 ac_status=$?
35065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35066 (exit $ac_status); }; }; then
35067 wx_cv_func_statvfs=yes
35068 else
35069 echo "$as_me: failed program was:" >&5
35070 sed 's/^/| /' conftest.$ac_ext >&5
35071
35072 wx_cv_func_statvfs=no
35073
35074 fi
35075 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35076
35077 fi
35078 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
35079 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
35080
35081 if test "$wx_cv_func_statvfs" = "yes"; then
35082 ac_ext=cc
35083 ac_cpp='$CXXCPP $CPPFLAGS'
35084 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35085 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35086 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35087
35088
35089 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
35090 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
35091 if test "${wx_cv_type_statvfs_t+set}" = set; then
35092 echo $ECHO_N "(cached) $ECHO_C" >&6
35093 else
35094 cat >conftest.$ac_ext <<_ACEOF
35095 /* confdefs.h. */
35096 _ACEOF
35097 cat confdefs.h >>conftest.$ac_ext
35098 cat >>conftest.$ac_ext <<_ACEOF
35099 /* end confdefs.h. */
35100
35101 #include <sys/statvfs.h>
35102
35103 int
35104 main ()
35105 {
35106
35107 long l;
35108 statvfs_t fs;
35109 statvfs("/", &fs);
35110 l = fs.f_bsize;
35111 l += fs.f_blocks;
35112 l += fs.f_bavail;
35113
35114 ;
35115 return 0;
35116 }
35117 _ACEOF
35118 rm -f conftest.$ac_objext
35119 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35120 (eval $ac_compile) 2>conftest.er1
35121 ac_status=$?
35122 grep -v '^ *+' conftest.er1 >conftest.err
35123 rm -f conftest.er1
35124 cat conftest.err >&5
35125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35126 (exit $ac_status); } &&
35127 { ac_try='test -z "$ac_cxx_werror_flag"
35128 || test ! -s conftest.err'
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); }; } &&
35134 { ac_try='test -s conftest.$ac_objext'
35135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35136 (eval $ac_try) 2>&5
35137 ac_status=$?
35138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35139 (exit $ac_status); }; }; then
35140 wx_cv_type_statvfs_t=statvfs_t
35141 else
35142 echo "$as_me: failed program was:" >&5
35143 sed 's/^/| /' conftest.$ac_ext >&5
35144
35145
35146 cat >conftest.$ac_ext <<_ACEOF
35147 /* confdefs.h. */
35148 _ACEOF
35149 cat confdefs.h >>conftest.$ac_ext
35150 cat >>conftest.$ac_ext <<_ACEOF
35151 /* end confdefs.h. */
35152
35153 #include <sys/statvfs.h>
35154
35155 int
35156 main ()
35157 {
35158
35159 long l;
35160 struct statvfs fs;
35161 statvfs("/", &fs);
35162 l = fs.f_bsize;
35163 l += fs.f_blocks;
35164 l += fs.f_bavail;
35165
35166 ;
35167 return 0;
35168 }
35169 _ACEOF
35170 rm -f conftest.$ac_objext
35171 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35172 (eval $ac_compile) 2>conftest.er1
35173 ac_status=$?
35174 grep -v '^ *+' conftest.er1 >conftest.err
35175 rm -f conftest.er1
35176 cat conftest.err >&5
35177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35178 (exit $ac_status); } &&
35179 { ac_try='test -z "$ac_cxx_werror_flag"
35180 || test ! -s conftest.err'
35181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35182 (eval $ac_try) 2>&5
35183 ac_status=$?
35184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35185 (exit $ac_status); }; } &&
35186 { ac_try='test -s conftest.$ac_objext'
35187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35188 (eval $ac_try) 2>&5
35189 ac_status=$?
35190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35191 (exit $ac_status); }; }; then
35192 wx_cv_type_statvfs_t="struct statvfs"
35193 else
35194 echo "$as_me: failed program was:" >&5
35195 sed 's/^/| /' conftest.$ac_ext >&5
35196
35197 wx_cv_type_statvfs_t="unknown"
35198
35199 fi
35200 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35201
35202
35203 fi
35204 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35205
35206 fi
35207 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
35208 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
35209
35210 ac_ext=c
35211 ac_cpp='$CPP $CPPFLAGS'
35212 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35213 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35214 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35215
35216
35217 if test "$wx_cv_type_statvfs_t" != "unknown"; then
35218 cat >>confdefs.h <<\_ACEOF
35219 #define HAVE_STATVFS 1
35220 _ACEOF
35221
35222 fi
35223 else
35224 wx_cv_type_statvfs_t="unknown"
35225 fi
35226 fi
35227
35228 if test "$wx_cv_type_statvfs_t" != "unknown"; then
35229 cat >>confdefs.h <<_ACEOF
35230 #define WX_STATFS_T $wx_cv_type_statvfs_t
35231 _ACEOF
35232
35233 else
35234 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
35235 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
35236 fi
35237
35238 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
35239
35240
35241 for ac_func in fcntl flock
35242 do
35243 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35244 echo "$as_me:$LINENO: checking for $ac_func" >&5
35245 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35246 if eval "test \"\${$as_ac_var+set}\" = set"; then
35247 echo $ECHO_N "(cached) $ECHO_C" >&6
35248 else
35249 cat >conftest.$ac_ext <<_ACEOF
35250 /* confdefs.h. */
35251 _ACEOF
35252 cat confdefs.h >>conftest.$ac_ext
35253 cat >>conftest.$ac_ext <<_ACEOF
35254 /* end confdefs.h. */
35255 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35256 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35257 #define $ac_func innocuous_$ac_func
35258
35259 /* System header to define __stub macros and hopefully few prototypes,
35260 which can conflict with char $ac_func (); below.
35261 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35262 <limits.h> exists even on freestanding compilers. */
35263
35264 #ifdef __STDC__
35265 # include <limits.h>
35266 #else
35267 # include <assert.h>
35268 #endif
35269
35270 #undef $ac_func
35271
35272 /* Override any gcc2 internal prototype to avoid an error. */
35273 #ifdef __cplusplus
35274 extern "C"
35275 {
35276 #endif
35277 /* We use char because int might match the return type of a gcc2
35278 builtin and then its argument prototype would still apply. */
35279 char $ac_func ();
35280 /* The GNU C library defines this for functions which it implements
35281 to always fail with ENOSYS. Some functions are actually named
35282 something starting with __ and the normal name is an alias. */
35283 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35284 choke me
35285 #else
35286 char (*f) () = $ac_func;
35287 #endif
35288 #ifdef __cplusplus
35289 }
35290 #endif
35291
35292 int
35293 main ()
35294 {
35295 return f != $ac_func;
35296 ;
35297 return 0;
35298 }
35299 _ACEOF
35300 rm -f conftest.$ac_objext conftest$ac_exeext
35301 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35302 (eval $ac_link) 2>conftest.er1
35303 ac_status=$?
35304 grep -v '^ *+' conftest.er1 >conftest.err
35305 rm -f conftest.er1
35306 cat conftest.err >&5
35307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35308 (exit $ac_status); } &&
35309 { ac_try='test -z "$ac_c_werror_flag"
35310 || test ! -s conftest.err'
35311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35312 (eval $ac_try) 2>&5
35313 ac_status=$?
35314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35315 (exit $ac_status); }; } &&
35316 { ac_try='test -s conftest$ac_exeext'
35317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35318 (eval $ac_try) 2>&5
35319 ac_status=$?
35320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35321 (exit $ac_status); }; }; then
35322 eval "$as_ac_var=yes"
35323 else
35324 echo "$as_me: failed program was:" >&5
35325 sed 's/^/| /' conftest.$ac_ext >&5
35326
35327 eval "$as_ac_var=no"
35328 fi
35329 rm -f conftest.err conftest.$ac_objext \
35330 conftest$ac_exeext conftest.$ac_ext
35331 fi
35332 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35333 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35334 if test `eval echo '${'$as_ac_var'}'` = yes; then
35335 cat >>confdefs.h <<_ACEOF
35336 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35337 _ACEOF
35338 break
35339 fi
35340 done
35341
35342
35343 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
35344 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
35345 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
35346 wxUSE_SNGLINST_CHECKER=no
35347 fi
35348 fi
35349
35350
35351 for ac_func in timegm
35352 do
35353 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35354 echo "$as_me:$LINENO: checking for $ac_func" >&5
35355 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35356 if eval "test \"\${$as_ac_var+set}\" = set"; then
35357 echo $ECHO_N "(cached) $ECHO_C" >&6
35358 else
35359 cat >conftest.$ac_ext <<_ACEOF
35360 /* confdefs.h. */
35361 _ACEOF
35362 cat confdefs.h >>conftest.$ac_ext
35363 cat >>conftest.$ac_ext <<_ACEOF
35364 /* end confdefs.h. */
35365 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35366 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35367 #define $ac_func innocuous_$ac_func
35368
35369 /* System header to define __stub macros and hopefully few prototypes,
35370 which can conflict with char $ac_func (); below.
35371 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35372 <limits.h> exists even on freestanding compilers. */
35373
35374 #ifdef __STDC__
35375 # include <limits.h>
35376 #else
35377 # include <assert.h>
35378 #endif
35379
35380 #undef $ac_func
35381
35382 /* Override any gcc2 internal prototype to avoid an error. */
35383 #ifdef __cplusplus
35384 extern "C"
35385 {
35386 #endif
35387 /* We use char because int might match the return type of a gcc2
35388 builtin and then its argument prototype would still apply. */
35389 char $ac_func ();
35390 /* The GNU C library defines this for functions which it implements
35391 to always fail with ENOSYS. Some functions are actually named
35392 something starting with __ and the normal name is an alias. */
35393 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35394 choke me
35395 #else
35396 char (*f) () = $ac_func;
35397 #endif
35398 #ifdef __cplusplus
35399 }
35400 #endif
35401
35402 int
35403 main ()
35404 {
35405 return f != $ac_func;
35406 ;
35407 return 0;
35408 }
35409 _ACEOF
35410 rm -f conftest.$ac_objext conftest$ac_exeext
35411 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35412 (eval $ac_link) 2>conftest.er1
35413 ac_status=$?
35414 grep -v '^ *+' conftest.er1 >conftest.err
35415 rm -f conftest.er1
35416 cat conftest.err >&5
35417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35418 (exit $ac_status); } &&
35419 { ac_try='test -z "$ac_c_werror_flag"
35420 || test ! -s conftest.err'
35421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35422 (eval $ac_try) 2>&5
35423 ac_status=$?
35424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35425 (exit $ac_status); }; } &&
35426 { ac_try='test -s conftest$ac_exeext'
35427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35428 (eval $ac_try) 2>&5
35429 ac_status=$?
35430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35431 (exit $ac_status); }; }; then
35432 eval "$as_ac_var=yes"
35433 else
35434 echo "$as_me: failed program was:" >&5
35435 sed 's/^/| /' conftest.$ac_ext >&5
35436
35437 eval "$as_ac_var=no"
35438 fi
35439 rm -f conftest.err conftest.$ac_objext \
35440 conftest$ac_exeext conftest.$ac_ext
35441 fi
35442 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35443 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35444 if test `eval echo '${'$as_ac_var'}'` = yes; then
35445 cat >>confdefs.h <<_ACEOF
35446 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35447 _ACEOF
35448
35449 fi
35450 done
35451
35452
35453
35454
35455 for ac_func in putenv setenv
35456 do
35457 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35458 echo "$as_me:$LINENO: checking for $ac_func" >&5
35459 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35460 if eval "test \"\${$as_ac_var+set}\" = set"; then
35461 echo $ECHO_N "(cached) $ECHO_C" >&6
35462 else
35463 cat >conftest.$ac_ext <<_ACEOF
35464 /* confdefs.h. */
35465 _ACEOF
35466 cat confdefs.h >>conftest.$ac_ext
35467 cat >>conftest.$ac_ext <<_ACEOF
35468 /* end confdefs.h. */
35469 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35470 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35471 #define $ac_func innocuous_$ac_func
35472
35473 /* System header to define __stub macros and hopefully few prototypes,
35474 which can conflict with char $ac_func (); below.
35475 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35476 <limits.h> exists even on freestanding compilers. */
35477
35478 #ifdef __STDC__
35479 # include <limits.h>
35480 #else
35481 # include <assert.h>
35482 #endif
35483
35484 #undef $ac_func
35485
35486 /* Override any gcc2 internal prototype to avoid an error. */
35487 #ifdef __cplusplus
35488 extern "C"
35489 {
35490 #endif
35491 /* We use char because int might match the return type of a gcc2
35492 builtin and then its argument prototype would still apply. */
35493 char $ac_func ();
35494 /* The GNU C library defines this for functions which it implements
35495 to always fail with ENOSYS. Some functions are actually named
35496 something starting with __ and the normal name is an alias. */
35497 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35498 choke me
35499 #else
35500 char (*f) () = $ac_func;
35501 #endif
35502 #ifdef __cplusplus
35503 }
35504 #endif
35505
35506 int
35507 main ()
35508 {
35509 return f != $ac_func;
35510 ;
35511 return 0;
35512 }
35513 _ACEOF
35514 rm -f conftest.$ac_objext conftest$ac_exeext
35515 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35516 (eval $ac_link) 2>conftest.er1
35517 ac_status=$?
35518 grep -v '^ *+' conftest.er1 >conftest.err
35519 rm -f conftest.er1
35520 cat conftest.err >&5
35521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35522 (exit $ac_status); } &&
35523 { ac_try='test -z "$ac_c_werror_flag"
35524 || test ! -s conftest.err'
35525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35526 (eval $ac_try) 2>&5
35527 ac_status=$?
35528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35529 (exit $ac_status); }; } &&
35530 { ac_try='test -s conftest$ac_exeext'
35531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35532 (eval $ac_try) 2>&5
35533 ac_status=$?
35534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35535 (exit $ac_status); }; }; then
35536 eval "$as_ac_var=yes"
35537 else
35538 echo "$as_me: failed program was:" >&5
35539 sed 's/^/| /' conftest.$ac_ext >&5
35540
35541 eval "$as_ac_var=no"
35542 fi
35543 rm -f conftest.err conftest.$ac_objext \
35544 conftest$ac_exeext conftest.$ac_ext
35545 fi
35546 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35547 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35548 if test `eval echo '${'$as_ac_var'}'` = yes; then
35549 cat >>confdefs.h <<_ACEOF
35550 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35551 _ACEOF
35552 break
35553 fi
35554 done
35555
35556
35557 HAVE_SOME_SLEEP_FUNC=0
35558 if test "$USE_BEOS" = 1; then
35559 cat >>confdefs.h <<\_ACEOF
35560 #define HAVE_SLEEP 1
35561 _ACEOF
35562
35563 HAVE_SOME_SLEEP_FUNC=1
35564 fi
35565
35566 if test "$USE_DARWIN" = 1; then
35567 cat >>confdefs.h <<\_ACEOF
35568 #define HAVE_USLEEP 1
35569 _ACEOF
35570
35571 HAVE_SOME_SLEEP_FUNC=1
35572 fi
35573
35574 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
35575 POSIX4_LINK=
35576
35577 for ac_func in nanosleep
35578 do
35579 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35580 echo "$as_me:$LINENO: checking for $ac_func" >&5
35581 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35582 if eval "test \"\${$as_ac_var+set}\" = set"; then
35583 echo $ECHO_N "(cached) $ECHO_C" >&6
35584 else
35585 cat >conftest.$ac_ext <<_ACEOF
35586 /* confdefs.h. */
35587 _ACEOF
35588 cat confdefs.h >>conftest.$ac_ext
35589 cat >>conftest.$ac_ext <<_ACEOF
35590 /* end confdefs.h. */
35591 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35592 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35593 #define $ac_func innocuous_$ac_func
35594
35595 /* System header to define __stub macros and hopefully few prototypes,
35596 which can conflict with char $ac_func (); below.
35597 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35598 <limits.h> exists even on freestanding compilers. */
35599
35600 #ifdef __STDC__
35601 # include <limits.h>
35602 #else
35603 # include <assert.h>
35604 #endif
35605
35606 #undef $ac_func
35607
35608 /* Override any gcc2 internal prototype to avoid an error. */
35609 #ifdef __cplusplus
35610 extern "C"
35611 {
35612 #endif
35613 /* We use char because int might match the return type of a gcc2
35614 builtin and then its argument prototype would still apply. */
35615 char $ac_func ();
35616 /* The GNU C library defines this for functions which it implements
35617 to always fail with ENOSYS. Some functions are actually named
35618 something starting with __ and the normal name is an alias. */
35619 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35620 choke me
35621 #else
35622 char (*f) () = $ac_func;
35623 #endif
35624 #ifdef __cplusplus
35625 }
35626 #endif
35627
35628 int
35629 main ()
35630 {
35631 return f != $ac_func;
35632 ;
35633 return 0;
35634 }
35635 _ACEOF
35636 rm -f conftest.$ac_objext conftest$ac_exeext
35637 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35638 (eval $ac_link) 2>conftest.er1
35639 ac_status=$?
35640 grep -v '^ *+' conftest.er1 >conftest.err
35641 rm -f conftest.er1
35642 cat conftest.err >&5
35643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35644 (exit $ac_status); } &&
35645 { ac_try='test -z "$ac_c_werror_flag"
35646 || test ! -s conftest.err'
35647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35648 (eval $ac_try) 2>&5
35649 ac_status=$?
35650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35651 (exit $ac_status); }; } &&
35652 { ac_try='test -s conftest$ac_exeext'
35653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35654 (eval $ac_try) 2>&5
35655 ac_status=$?
35656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35657 (exit $ac_status); }; }; then
35658 eval "$as_ac_var=yes"
35659 else
35660 echo "$as_me: failed program was:" >&5
35661 sed 's/^/| /' conftest.$ac_ext >&5
35662
35663 eval "$as_ac_var=no"
35664 fi
35665 rm -f conftest.err conftest.$ac_objext \
35666 conftest$ac_exeext conftest.$ac_ext
35667 fi
35668 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35669 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35670 if test `eval echo '${'$as_ac_var'}'` = yes; then
35671 cat >>confdefs.h <<_ACEOF
35672 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35673 _ACEOF
35674 cat >>confdefs.h <<\_ACEOF
35675 #define HAVE_NANOSLEEP 1
35676 _ACEOF
35677
35678 else
35679
35680 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
35681 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
35682 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
35683 echo $ECHO_N "(cached) $ECHO_C" >&6
35684 else
35685 ac_check_lib_save_LIBS=$LIBS
35686 LIBS="-lposix4 $LIBS"
35687 cat >conftest.$ac_ext <<_ACEOF
35688 /* confdefs.h. */
35689 _ACEOF
35690 cat confdefs.h >>conftest.$ac_ext
35691 cat >>conftest.$ac_ext <<_ACEOF
35692 /* end confdefs.h. */
35693
35694 /* Override any gcc2 internal prototype to avoid an error. */
35695 #ifdef __cplusplus
35696 extern "C"
35697 #endif
35698 /* We use char because int might match the return type of a gcc2
35699 builtin and then its argument prototype would still apply. */
35700 char nanosleep ();
35701 int
35702 main ()
35703 {
35704 nanosleep ();
35705 ;
35706 return 0;
35707 }
35708 _ACEOF
35709 rm -f conftest.$ac_objext conftest$ac_exeext
35710 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35711 (eval $ac_link) 2>conftest.er1
35712 ac_status=$?
35713 grep -v '^ *+' conftest.er1 >conftest.err
35714 rm -f conftest.er1
35715 cat conftest.err >&5
35716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35717 (exit $ac_status); } &&
35718 { ac_try='test -z "$ac_c_werror_flag"
35719 || test ! -s conftest.err'
35720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35721 (eval $ac_try) 2>&5
35722 ac_status=$?
35723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35724 (exit $ac_status); }; } &&
35725 { ac_try='test -s conftest$ac_exeext'
35726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35727 (eval $ac_try) 2>&5
35728 ac_status=$?
35729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35730 (exit $ac_status); }; }; then
35731 ac_cv_lib_posix4_nanosleep=yes
35732 else
35733 echo "$as_me: failed program was:" >&5
35734 sed 's/^/| /' conftest.$ac_ext >&5
35735
35736 ac_cv_lib_posix4_nanosleep=no
35737 fi
35738 rm -f conftest.err conftest.$ac_objext \
35739 conftest$ac_exeext conftest.$ac_ext
35740 LIBS=$ac_check_lib_save_LIBS
35741 fi
35742 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
35743 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
35744 if test $ac_cv_lib_posix4_nanosleep = yes; then
35745
35746 cat >>confdefs.h <<\_ACEOF
35747 #define HAVE_NANOSLEEP 1
35748 _ACEOF
35749
35750 POSIX4_LINK=" -lposix4"
35751
35752 else
35753
35754
35755 for ac_func in usleep
35756 do
35757 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35758 echo "$as_me:$LINENO: checking for $ac_func" >&5
35759 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35760 if eval "test \"\${$as_ac_var+set}\" = set"; then
35761 echo $ECHO_N "(cached) $ECHO_C" >&6
35762 else
35763 cat >conftest.$ac_ext <<_ACEOF
35764 /* confdefs.h. */
35765 _ACEOF
35766 cat confdefs.h >>conftest.$ac_ext
35767 cat >>conftest.$ac_ext <<_ACEOF
35768 /* end confdefs.h. */
35769 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35770 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35771 #define $ac_func innocuous_$ac_func
35772
35773 /* System header to define __stub macros and hopefully few prototypes,
35774 which can conflict with char $ac_func (); below.
35775 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35776 <limits.h> exists even on freestanding compilers. */
35777
35778 #ifdef __STDC__
35779 # include <limits.h>
35780 #else
35781 # include <assert.h>
35782 #endif
35783
35784 #undef $ac_func
35785
35786 /* Override any gcc2 internal prototype to avoid an error. */
35787 #ifdef __cplusplus
35788 extern "C"
35789 {
35790 #endif
35791 /* We use char because int might match the return type of a gcc2
35792 builtin and then its argument prototype would still apply. */
35793 char $ac_func ();
35794 /* The GNU C library defines this for functions which it implements
35795 to always fail with ENOSYS. Some functions are actually named
35796 something starting with __ and the normal name is an alias. */
35797 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35798 choke me
35799 #else
35800 char (*f) () = $ac_func;
35801 #endif
35802 #ifdef __cplusplus
35803 }
35804 #endif
35805
35806 int
35807 main ()
35808 {
35809 return f != $ac_func;
35810 ;
35811 return 0;
35812 }
35813 _ACEOF
35814 rm -f conftest.$ac_objext conftest$ac_exeext
35815 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35816 (eval $ac_link) 2>conftest.er1
35817 ac_status=$?
35818 grep -v '^ *+' conftest.er1 >conftest.err
35819 rm -f conftest.er1
35820 cat conftest.err >&5
35821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35822 (exit $ac_status); } &&
35823 { ac_try='test -z "$ac_c_werror_flag"
35824 || test ! -s conftest.err'
35825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35826 (eval $ac_try) 2>&5
35827 ac_status=$?
35828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35829 (exit $ac_status); }; } &&
35830 { ac_try='test -s conftest$ac_exeext'
35831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35832 (eval $ac_try) 2>&5
35833 ac_status=$?
35834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35835 (exit $ac_status); }; }; then
35836 eval "$as_ac_var=yes"
35837 else
35838 echo "$as_me: failed program was:" >&5
35839 sed 's/^/| /' conftest.$ac_ext >&5
35840
35841 eval "$as_ac_var=no"
35842 fi
35843 rm -f conftest.err conftest.$ac_objext \
35844 conftest$ac_exeext conftest.$ac_ext
35845 fi
35846 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35847 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35848 if test `eval echo '${'$as_ac_var'}'` = yes; then
35849 cat >>confdefs.h <<_ACEOF
35850 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35851 _ACEOF
35852 cat >>confdefs.h <<\_ACEOF
35853 #define HAVE_USLEEP 1
35854 _ACEOF
35855
35856 else
35857 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
35858 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
35859
35860 fi
35861 done
35862
35863
35864
35865 fi
35866
35867
35868
35869 fi
35870 done
35871
35872 fi
35873
35874
35875
35876 for ac_func in uname gethostname
35877 do
35878 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35879 echo "$as_me:$LINENO: checking for $ac_func" >&5
35880 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35881 if eval "test \"\${$as_ac_var+set}\" = set"; then
35882 echo $ECHO_N "(cached) $ECHO_C" >&6
35883 else
35884 cat >conftest.$ac_ext <<_ACEOF
35885 /* confdefs.h. */
35886 _ACEOF
35887 cat confdefs.h >>conftest.$ac_ext
35888 cat >>conftest.$ac_ext <<_ACEOF
35889 /* end confdefs.h. */
35890 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35891 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35892 #define $ac_func innocuous_$ac_func
35893
35894 /* System header to define __stub macros and hopefully few prototypes,
35895 which can conflict with char $ac_func (); below.
35896 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35897 <limits.h> exists even on freestanding compilers. */
35898
35899 #ifdef __STDC__
35900 # include <limits.h>
35901 #else
35902 # include <assert.h>
35903 #endif
35904
35905 #undef $ac_func
35906
35907 /* Override any gcc2 internal prototype to avoid an error. */
35908 #ifdef __cplusplus
35909 extern "C"
35910 {
35911 #endif
35912 /* We use char because int might match the return type of a gcc2
35913 builtin and then its argument prototype would still apply. */
35914 char $ac_func ();
35915 /* The GNU C library defines this for functions which it implements
35916 to always fail with ENOSYS. Some functions are actually named
35917 something starting with __ and the normal name is an alias. */
35918 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35919 choke me
35920 #else
35921 char (*f) () = $ac_func;
35922 #endif
35923 #ifdef __cplusplus
35924 }
35925 #endif
35926
35927 int
35928 main ()
35929 {
35930 return f != $ac_func;
35931 ;
35932 return 0;
35933 }
35934 _ACEOF
35935 rm -f conftest.$ac_objext conftest$ac_exeext
35936 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35937 (eval $ac_link) 2>conftest.er1
35938 ac_status=$?
35939 grep -v '^ *+' conftest.er1 >conftest.err
35940 rm -f conftest.er1
35941 cat conftest.err >&5
35942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35943 (exit $ac_status); } &&
35944 { ac_try='test -z "$ac_c_werror_flag"
35945 || test ! -s conftest.err'
35946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35947 (eval $ac_try) 2>&5
35948 ac_status=$?
35949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35950 (exit $ac_status); }; } &&
35951 { ac_try='test -s conftest$ac_exeext'
35952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35953 (eval $ac_try) 2>&5
35954 ac_status=$?
35955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35956 (exit $ac_status); }; }; then
35957 eval "$as_ac_var=yes"
35958 else
35959 echo "$as_me: failed program was:" >&5
35960 sed 's/^/| /' conftest.$ac_ext >&5
35961
35962 eval "$as_ac_var=no"
35963 fi
35964 rm -f conftest.err conftest.$ac_objext \
35965 conftest$ac_exeext conftest.$ac_ext
35966 fi
35967 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35968 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35969 if test `eval echo '${'$as_ac_var'}'` = yes; then
35970 cat >>confdefs.h <<_ACEOF
35971 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35972 _ACEOF
35973 break
35974 fi
35975 done
35976
35977
35978 ac_ext=cc
35979 ac_cpp='$CXXCPP $CPPFLAGS'
35980 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35981 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35982 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35983
35984
35985
35986 for ac_func in strtok_r
35987 do
35988 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35989 echo "$as_me:$LINENO: checking for $ac_func" >&5
35990 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35991 if eval "test \"\${$as_ac_var+set}\" = set"; then
35992 echo $ECHO_N "(cached) $ECHO_C" >&6
35993 else
35994 cat >conftest.$ac_ext <<_ACEOF
35995 /* confdefs.h. */
35996 _ACEOF
35997 cat confdefs.h >>conftest.$ac_ext
35998 cat >>conftest.$ac_ext <<_ACEOF
35999 /* end confdefs.h. */
36000 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36001 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36002 #define $ac_func innocuous_$ac_func
36003
36004 /* System header to define __stub macros and hopefully few prototypes,
36005 which can conflict with char $ac_func (); below.
36006 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36007 <limits.h> exists even on freestanding compilers. */
36008
36009 #ifdef __STDC__
36010 # include <limits.h>
36011 #else
36012 # include <assert.h>
36013 #endif
36014
36015 #undef $ac_func
36016
36017 /* Override any gcc2 internal prototype to avoid an error. */
36018 #ifdef __cplusplus
36019 extern "C"
36020 {
36021 #endif
36022 /* We use char because int might match the return type of a gcc2
36023 builtin and then its argument prototype would still apply. */
36024 char $ac_func ();
36025 /* The GNU C library defines this for functions which it implements
36026 to always fail with ENOSYS. Some functions are actually named
36027 something starting with __ and the normal name is an alias. */
36028 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36029 choke me
36030 #else
36031 char (*f) () = $ac_func;
36032 #endif
36033 #ifdef __cplusplus
36034 }
36035 #endif
36036
36037 int
36038 main ()
36039 {
36040 return f != $ac_func;
36041 ;
36042 return 0;
36043 }
36044 _ACEOF
36045 rm -f conftest.$ac_objext conftest$ac_exeext
36046 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36047 (eval $ac_link) 2>conftest.er1
36048 ac_status=$?
36049 grep -v '^ *+' conftest.er1 >conftest.err
36050 rm -f conftest.er1
36051 cat conftest.err >&5
36052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36053 (exit $ac_status); } &&
36054 { ac_try='test -z "$ac_cxx_werror_flag"
36055 || test ! -s conftest.err'
36056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36057 (eval $ac_try) 2>&5
36058 ac_status=$?
36059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36060 (exit $ac_status); }; } &&
36061 { ac_try='test -s conftest$ac_exeext'
36062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36063 (eval $ac_try) 2>&5
36064 ac_status=$?
36065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36066 (exit $ac_status); }; }; then
36067 eval "$as_ac_var=yes"
36068 else
36069 echo "$as_me: failed program was:" >&5
36070 sed 's/^/| /' conftest.$ac_ext >&5
36071
36072 eval "$as_ac_var=no"
36073 fi
36074 rm -f conftest.err conftest.$ac_objext \
36075 conftest$ac_exeext conftest.$ac_ext
36076 fi
36077 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36078 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36079 if test `eval echo '${'$as_ac_var'}'` = yes; then
36080 cat >>confdefs.h <<_ACEOF
36081 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36082 _ACEOF
36083
36084 fi
36085 done
36086
36087
36088 ac_ext=c
36089 ac_cpp='$CPP $CPPFLAGS'
36090 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36091 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36092 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36093
36094
36095 INET_LINK=
36096
36097 for ac_func in inet_addr
36098 do
36099 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36100 echo "$as_me:$LINENO: checking for $ac_func" >&5
36101 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36102 if eval "test \"\${$as_ac_var+set}\" = set"; then
36103 echo $ECHO_N "(cached) $ECHO_C" >&6
36104 else
36105 cat >conftest.$ac_ext <<_ACEOF
36106 /* confdefs.h. */
36107 _ACEOF
36108 cat confdefs.h >>conftest.$ac_ext
36109 cat >>conftest.$ac_ext <<_ACEOF
36110 /* end confdefs.h. */
36111 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36112 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36113 #define $ac_func innocuous_$ac_func
36114
36115 /* System header to define __stub macros and hopefully few prototypes,
36116 which can conflict with char $ac_func (); below.
36117 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36118 <limits.h> exists even on freestanding compilers. */
36119
36120 #ifdef __STDC__
36121 # include <limits.h>
36122 #else
36123 # include <assert.h>
36124 #endif
36125
36126 #undef $ac_func
36127
36128 /* Override any gcc2 internal prototype to avoid an error. */
36129 #ifdef __cplusplus
36130 extern "C"
36131 {
36132 #endif
36133 /* We use char because int might match the return type of a gcc2
36134 builtin and then its argument prototype would still apply. */
36135 char $ac_func ();
36136 /* The GNU C library defines this for functions which it implements
36137 to always fail with ENOSYS. Some functions are actually named
36138 something starting with __ and the normal name is an alias. */
36139 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36140 choke me
36141 #else
36142 char (*f) () = $ac_func;
36143 #endif
36144 #ifdef __cplusplus
36145 }
36146 #endif
36147
36148 int
36149 main ()
36150 {
36151 return f != $ac_func;
36152 ;
36153 return 0;
36154 }
36155 _ACEOF
36156 rm -f conftest.$ac_objext conftest$ac_exeext
36157 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36158 (eval $ac_link) 2>conftest.er1
36159 ac_status=$?
36160 grep -v '^ *+' conftest.er1 >conftest.err
36161 rm -f conftest.er1
36162 cat conftest.err >&5
36163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36164 (exit $ac_status); } &&
36165 { ac_try='test -z "$ac_c_werror_flag"
36166 || test ! -s conftest.err'
36167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36168 (eval $ac_try) 2>&5
36169 ac_status=$?
36170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36171 (exit $ac_status); }; } &&
36172 { ac_try='test -s conftest$ac_exeext'
36173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36174 (eval $ac_try) 2>&5
36175 ac_status=$?
36176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36177 (exit $ac_status); }; }; then
36178 eval "$as_ac_var=yes"
36179 else
36180 echo "$as_me: failed program was:" >&5
36181 sed 's/^/| /' conftest.$ac_ext >&5
36182
36183 eval "$as_ac_var=no"
36184 fi
36185 rm -f conftest.err conftest.$ac_objext \
36186 conftest$ac_exeext conftest.$ac_ext
36187 fi
36188 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36189 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36190 if test `eval echo '${'$as_ac_var'}'` = yes; then
36191 cat >>confdefs.h <<_ACEOF
36192 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36193 _ACEOF
36194 cat >>confdefs.h <<\_ACEOF
36195 #define HAVE_INET_ADDR 1
36196 _ACEOF
36197
36198 else
36199
36200 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
36201 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
36202 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
36203 echo $ECHO_N "(cached) $ECHO_C" >&6
36204 else
36205 ac_check_lib_save_LIBS=$LIBS
36206 LIBS="-lnsl $LIBS"
36207 cat >conftest.$ac_ext <<_ACEOF
36208 /* confdefs.h. */
36209 _ACEOF
36210 cat confdefs.h >>conftest.$ac_ext
36211 cat >>conftest.$ac_ext <<_ACEOF
36212 /* end confdefs.h. */
36213
36214 /* Override any gcc2 internal prototype to avoid an error. */
36215 #ifdef __cplusplus
36216 extern "C"
36217 #endif
36218 /* We use char because int might match the return type of a gcc2
36219 builtin and then its argument prototype would still apply. */
36220 char inet_addr ();
36221 int
36222 main ()
36223 {
36224 inet_addr ();
36225 ;
36226 return 0;
36227 }
36228 _ACEOF
36229 rm -f conftest.$ac_objext conftest$ac_exeext
36230 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36231 (eval $ac_link) 2>conftest.er1
36232 ac_status=$?
36233 grep -v '^ *+' conftest.er1 >conftest.err
36234 rm -f conftest.er1
36235 cat conftest.err >&5
36236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36237 (exit $ac_status); } &&
36238 { ac_try='test -z "$ac_c_werror_flag"
36239 || test ! -s conftest.err'
36240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36241 (eval $ac_try) 2>&5
36242 ac_status=$?
36243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36244 (exit $ac_status); }; } &&
36245 { ac_try='test -s conftest$ac_exeext'
36246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36247 (eval $ac_try) 2>&5
36248 ac_status=$?
36249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36250 (exit $ac_status); }; }; then
36251 ac_cv_lib_nsl_inet_addr=yes
36252 else
36253 echo "$as_me: failed program was:" >&5
36254 sed 's/^/| /' conftest.$ac_ext >&5
36255
36256 ac_cv_lib_nsl_inet_addr=no
36257 fi
36258 rm -f conftest.err conftest.$ac_objext \
36259 conftest$ac_exeext conftest.$ac_ext
36260 LIBS=$ac_check_lib_save_LIBS
36261 fi
36262 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
36263 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
36264 if test $ac_cv_lib_nsl_inet_addr = yes; then
36265 INET_LINK="nsl"
36266 else
36267
36268 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
36269 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
36270 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
36271 echo $ECHO_N "(cached) $ECHO_C" >&6
36272 else
36273 ac_check_lib_save_LIBS=$LIBS
36274 LIBS="-lresolv $LIBS"
36275 cat >conftest.$ac_ext <<_ACEOF
36276 /* confdefs.h. */
36277 _ACEOF
36278 cat confdefs.h >>conftest.$ac_ext
36279 cat >>conftest.$ac_ext <<_ACEOF
36280 /* end confdefs.h. */
36281
36282 /* Override any gcc2 internal prototype to avoid an error. */
36283 #ifdef __cplusplus
36284 extern "C"
36285 #endif
36286 /* We use char because int might match the return type of a gcc2
36287 builtin and then its argument prototype would still apply. */
36288 char inet_addr ();
36289 int
36290 main ()
36291 {
36292 inet_addr ();
36293 ;
36294 return 0;
36295 }
36296 _ACEOF
36297 rm -f conftest.$ac_objext conftest$ac_exeext
36298 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36299 (eval $ac_link) 2>conftest.er1
36300 ac_status=$?
36301 grep -v '^ *+' conftest.er1 >conftest.err
36302 rm -f conftest.er1
36303 cat conftest.err >&5
36304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36305 (exit $ac_status); } &&
36306 { ac_try='test -z "$ac_c_werror_flag"
36307 || test ! -s conftest.err'
36308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36309 (eval $ac_try) 2>&5
36310 ac_status=$?
36311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36312 (exit $ac_status); }; } &&
36313 { ac_try='test -s conftest$ac_exeext'
36314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36315 (eval $ac_try) 2>&5
36316 ac_status=$?
36317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36318 (exit $ac_status); }; }; then
36319 ac_cv_lib_resolv_inet_addr=yes
36320 else
36321 echo "$as_me: failed program was:" >&5
36322 sed 's/^/| /' conftest.$ac_ext >&5
36323
36324 ac_cv_lib_resolv_inet_addr=no
36325 fi
36326 rm -f conftest.err conftest.$ac_objext \
36327 conftest$ac_exeext conftest.$ac_ext
36328 LIBS=$ac_check_lib_save_LIBS
36329 fi
36330 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
36331 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
36332 if test $ac_cv_lib_resolv_inet_addr = yes; then
36333 INET_LINK="resolv"
36334 else
36335
36336 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
36337 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
36338 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
36339 echo $ECHO_N "(cached) $ECHO_C" >&6
36340 else
36341 ac_check_lib_save_LIBS=$LIBS
36342 LIBS="-lsocket $LIBS"
36343 cat >conftest.$ac_ext <<_ACEOF
36344 /* confdefs.h. */
36345 _ACEOF
36346 cat confdefs.h >>conftest.$ac_ext
36347 cat >>conftest.$ac_ext <<_ACEOF
36348 /* end confdefs.h. */
36349
36350 /* Override any gcc2 internal prototype to avoid an error. */
36351 #ifdef __cplusplus
36352 extern "C"
36353 #endif
36354 /* We use char because int might match the return type of a gcc2
36355 builtin and then its argument prototype would still apply. */
36356 char inet_addr ();
36357 int
36358 main ()
36359 {
36360 inet_addr ();
36361 ;
36362 return 0;
36363 }
36364 _ACEOF
36365 rm -f conftest.$ac_objext conftest$ac_exeext
36366 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36367 (eval $ac_link) 2>conftest.er1
36368 ac_status=$?
36369 grep -v '^ *+' conftest.er1 >conftest.err
36370 rm -f conftest.er1
36371 cat conftest.err >&5
36372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36373 (exit $ac_status); } &&
36374 { ac_try='test -z "$ac_c_werror_flag"
36375 || test ! -s conftest.err'
36376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36377 (eval $ac_try) 2>&5
36378 ac_status=$?
36379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36380 (exit $ac_status); }; } &&
36381 { ac_try='test -s conftest$ac_exeext'
36382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36383 (eval $ac_try) 2>&5
36384 ac_status=$?
36385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36386 (exit $ac_status); }; }; then
36387 ac_cv_lib_socket_inet_addr=yes
36388 else
36389 echo "$as_me: failed program was:" >&5
36390 sed 's/^/| /' conftest.$ac_ext >&5
36391
36392 ac_cv_lib_socket_inet_addr=no
36393 fi
36394 rm -f conftest.err conftest.$ac_objext \
36395 conftest$ac_exeext conftest.$ac_ext
36396 LIBS=$ac_check_lib_save_LIBS
36397 fi
36398 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
36399 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
36400 if test $ac_cv_lib_socket_inet_addr = yes; then
36401 INET_LINK="socket"
36402
36403 fi
36404
36405
36406
36407 fi
36408
36409
36410
36411 fi
36412
36413
36414
36415 fi
36416 done
36417
36418
36419
36420 for ac_func in inet_aton
36421 do
36422 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36423 echo "$as_me:$LINENO: checking for $ac_func" >&5
36424 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36425 if eval "test \"\${$as_ac_var+set}\" = set"; then
36426 echo $ECHO_N "(cached) $ECHO_C" >&6
36427 else
36428 cat >conftest.$ac_ext <<_ACEOF
36429 /* confdefs.h. */
36430 _ACEOF
36431 cat confdefs.h >>conftest.$ac_ext
36432 cat >>conftest.$ac_ext <<_ACEOF
36433 /* end confdefs.h. */
36434 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36435 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36436 #define $ac_func innocuous_$ac_func
36437
36438 /* System header to define __stub macros and hopefully few prototypes,
36439 which can conflict with char $ac_func (); below.
36440 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36441 <limits.h> exists even on freestanding compilers. */
36442
36443 #ifdef __STDC__
36444 # include <limits.h>
36445 #else
36446 # include <assert.h>
36447 #endif
36448
36449 #undef $ac_func
36450
36451 /* Override any gcc2 internal prototype to avoid an error. */
36452 #ifdef __cplusplus
36453 extern "C"
36454 {
36455 #endif
36456 /* We use char because int might match the return type of a gcc2
36457 builtin and then its argument prototype would still apply. */
36458 char $ac_func ();
36459 /* The GNU C library defines this for functions which it implements
36460 to always fail with ENOSYS. Some functions are actually named
36461 something starting with __ and the normal name is an alias. */
36462 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36463 choke me
36464 #else
36465 char (*f) () = $ac_func;
36466 #endif
36467 #ifdef __cplusplus
36468 }
36469 #endif
36470
36471 int
36472 main ()
36473 {
36474 return f != $ac_func;
36475 ;
36476 return 0;
36477 }
36478 _ACEOF
36479 rm -f conftest.$ac_objext conftest$ac_exeext
36480 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36481 (eval $ac_link) 2>conftest.er1
36482 ac_status=$?
36483 grep -v '^ *+' conftest.er1 >conftest.err
36484 rm -f conftest.er1
36485 cat conftest.err >&5
36486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36487 (exit $ac_status); } &&
36488 { ac_try='test -z "$ac_c_werror_flag"
36489 || test ! -s conftest.err'
36490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36491 (eval $ac_try) 2>&5
36492 ac_status=$?
36493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36494 (exit $ac_status); }; } &&
36495 { ac_try='test -s conftest$ac_exeext'
36496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36497 (eval $ac_try) 2>&5
36498 ac_status=$?
36499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36500 (exit $ac_status); }; }; then
36501 eval "$as_ac_var=yes"
36502 else
36503 echo "$as_me: failed program was:" >&5
36504 sed 's/^/| /' conftest.$ac_ext >&5
36505
36506 eval "$as_ac_var=no"
36507 fi
36508 rm -f conftest.err conftest.$ac_objext \
36509 conftest$ac_exeext conftest.$ac_ext
36510 fi
36511 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36512 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36513 if test `eval echo '${'$as_ac_var'}'` = yes; then
36514 cat >>confdefs.h <<_ACEOF
36515 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36516 _ACEOF
36517 cat >>confdefs.h <<\_ACEOF
36518 #define HAVE_INET_ATON 1
36519 _ACEOF
36520
36521 else
36522
36523 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
36524 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
36525 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
36526 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
36527 echo $ECHO_N "(cached) $ECHO_C" >&6
36528 else
36529 ac_check_lib_save_LIBS=$LIBS
36530 LIBS="-l$INET_LINK $LIBS"
36531 cat >conftest.$ac_ext <<_ACEOF
36532 /* confdefs.h. */
36533 _ACEOF
36534 cat confdefs.h >>conftest.$ac_ext
36535 cat >>conftest.$ac_ext <<_ACEOF
36536 /* end confdefs.h. */
36537
36538 /* Override any gcc2 internal prototype to avoid an error. */
36539 #ifdef __cplusplus
36540 extern "C"
36541 #endif
36542 /* We use char because int might match the return type of a gcc2
36543 builtin and then its argument prototype would still apply. */
36544 char inet_aton ();
36545 int
36546 main ()
36547 {
36548 inet_aton ();
36549 ;
36550 return 0;
36551 }
36552 _ACEOF
36553 rm -f conftest.$ac_objext conftest$ac_exeext
36554 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36555 (eval $ac_link) 2>conftest.er1
36556 ac_status=$?
36557 grep -v '^ *+' conftest.er1 >conftest.err
36558 rm -f conftest.er1
36559 cat conftest.err >&5
36560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36561 (exit $ac_status); } &&
36562 { ac_try='test -z "$ac_c_werror_flag"
36563 || test ! -s conftest.err'
36564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36565 (eval $ac_try) 2>&5
36566 ac_status=$?
36567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36568 (exit $ac_status); }; } &&
36569 { ac_try='test -s conftest$ac_exeext'
36570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36571 (eval $ac_try) 2>&5
36572 ac_status=$?
36573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36574 (exit $ac_status); }; }; then
36575 eval "$as_ac_Lib=yes"
36576 else
36577 echo "$as_me: failed program was:" >&5
36578 sed 's/^/| /' conftest.$ac_ext >&5
36579
36580 eval "$as_ac_Lib=no"
36581 fi
36582 rm -f conftest.err conftest.$ac_objext \
36583 conftest$ac_exeext conftest.$ac_ext
36584 LIBS=$ac_check_lib_save_LIBS
36585 fi
36586 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
36587 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
36588 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
36589 cat >>confdefs.h <<\_ACEOF
36590 #define HAVE_INET_ATON 1
36591 _ACEOF
36592
36593 fi
36594
36595
36596 fi
36597 done
36598
36599
36600 if test "x$INET_LINK" != "x"; then
36601 cat >>confdefs.h <<\_ACEOF
36602 #define HAVE_INET_ADDR 1
36603 _ACEOF
36604
36605 INET_LINK=" -l$INET_LINK"
36606 fi
36607
36608 fi
36609
36610
36611
36612 EXTRALIBS_ESD=
36613 echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
36614 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
36615 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
36616 echo $ECHO_N "(cached) $ECHO_C" >&6
36617 else
36618 ac_check_lib_save_LIBS=$LIBS
36619 LIBS="-lesd $LIBS"
36620 cat >conftest.$ac_ext <<_ACEOF
36621 /* confdefs.h. */
36622 _ACEOF
36623 cat confdefs.h >>conftest.$ac_ext
36624 cat >>conftest.$ac_ext <<_ACEOF
36625 /* end confdefs.h. */
36626
36627 /* Override any gcc2 internal prototype to avoid an error. */
36628 #ifdef __cplusplus
36629 extern "C"
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 esd_close ();
36634 int
36635 main ()
36636 {
36637 esd_close ();
36638 ;
36639 return 0;
36640 }
36641 _ACEOF
36642 rm -f conftest.$ac_objext conftest$ac_exeext
36643 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36644 (eval $ac_link) 2>conftest.er1
36645 ac_status=$?
36646 grep -v '^ *+' conftest.er1 >conftest.err
36647 rm -f conftest.er1
36648 cat conftest.err >&5
36649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36650 (exit $ac_status); } &&
36651 { ac_try='test -z "$ac_c_werror_flag"
36652 || test ! -s conftest.err'
36653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36654 (eval $ac_try) 2>&5
36655 ac_status=$?
36656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36657 (exit $ac_status); }; } &&
36658 { ac_try='test -s conftest$ac_exeext'
36659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36660 (eval $ac_try) 2>&5
36661 ac_status=$?
36662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36663 (exit $ac_status); }; }; then
36664 ac_cv_lib_esd_esd_close=yes
36665 else
36666 echo "$as_me: failed program was:" >&5
36667 sed 's/^/| /' conftest.$ac_ext >&5
36668
36669 ac_cv_lib_esd_esd_close=no
36670 fi
36671 rm -f conftest.err conftest.$ac_objext \
36672 conftest$ac_exeext conftest.$ac_ext
36673 LIBS=$ac_check_lib_save_LIBS
36674 fi
36675 echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
36676 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
36677 if test $ac_cv_lib_esd_esd_close = yes; then
36678
36679
36680 for ac_header in esd.h
36681 do
36682 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
36683 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36684 echo "$as_me:$LINENO: checking for $ac_header" >&5
36685 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36686 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36687 echo $ECHO_N "(cached) $ECHO_C" >&6
36688 fi
36689 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36690 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36691 else
36692 # Is the header compilable?
36693 echo "$as_me:$LINENO: checking $ac_header usability" >&5
36694 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
36695 cat >conftest.$ac_ext <<_ACEOF
36696 /* confdefs.h. */
36697 _ACEOF
36698 cat confdefs.h >>conftest.$ac_ext
36699 cat >>conftest.$ac_ext <<_ACEOF
36700 /* end confdefs.h. */
36701 $ac_includes_default
36702 #include <$ac_header>
36703 _ACEOF
36704 rm -f conftest.$ac_objext
36705 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36706 (eval $ac_compile) 2>conftest.er1
36707 ac_status=$?
36708 grep -v '^ *+' conftest.er1 >conftest.err
36709 rm -f conftest.er1
36710 cat conftest.err >&5
36711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36712 (exit $ac_status); } &&
36713 { ac_try='test -z "$ac_c_werror_flag"
36714 || test ! -s conftest.err'
36715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36716 (eval $ac_try) 2>&5
36717 ac_status=$?
36718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36719 (exit $ac_status); }; } &&
36720 { ac_try='test -s conftest.$ac_objext'
36721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36722 (eval $ac_try) 2>&5
36723 ac_status=$?
36724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36725 (exit $ac_status); }; }; then
36726 ac_header_compiler=yes
36727 else
36728 echo "$as_me: failed program was:" >&5
36729 sed 's/^/| /' conftest.$ac_ext >&5
36730
36731 ac_header_compiler=no
36732 fi
36733 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36734 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
36735 echo "${ECHO_T}$ac_header_compiler" >&6
36736
36737 # Is the header present?
36738 echo "$as_me:$LINENO: checking $ac_header presence" >&5
36739 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
36740 cat >conftest.$ac_ext <<_ACEOF
36741 /* confdefs.h. */
36742 _ACEOF
36743 cat confdefs.h >>conftest.$ac_ext
36744 cat >>conftest.$ac_ext <<_ACEOF
36745 /* end confdefs.h. */
36746 #include <$ac_header>
36747 _ACEOF
36748 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
36749 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
36750 ac_status=$?
36751 grep -v '^ *+' conftest.er1 >conftest.err
36752 rm -f conftest.er1
36753 cat conftest.err >&5
36754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36755 (exit $ac_status); } >/dev/null; then
36756 if test -s conftest.err; then
36757 ac_cpp_err=$ac_c_preproc_warn_flag
36758 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
36759 else
36760 ac_cpp_err=
36761 fi
36762 else
36763 ac_cpp_err=yes
36764 fi
36765 if test -z "$ac_cpp_err"; then
36766 ac_header_preproc=yes
36767 else
36768 echo "$as_me: failed program was:" >&5
36769 sed 's/^/| /' conftest.$ac_ext >&5
36770
36771 ac_header_preproc=no
36772 fi
36773 rm -f conftest.err conftest.$ac_ext
36774 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
36775 echo "${ECHO_T}$ac_header_preproc" >&6
36776
36777 # So? What about this header?
36778 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
36779 yes:no: )
36780 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
36781 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
36782 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
36783 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
36784 ac_header_preproc=yes
36785 ;;
36786 no:yes:* )
36787 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
36788 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
36789 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
36790 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
36791 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
36792 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
36793 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
36794 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
36795 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
36796 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
36797 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
36798 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
36799 (
36800 cat <<\_ASBOX
36801 ## ----------------------------------------- ##
36802 ## Report this to wx-dev@lists.wxwidgets.org ##
36803 ## ----------------------------------------- ##
36804 _ASBOX
36805 ) |
36806 sed "s/^/$as_me: WARNING: /" >&2
36807 ;;
36808 esac
36809 echo "$as_me:$LINENO: checking for $ac_header" >&5
36810 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36811 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36812 echo $ECHO_N "(cached) $ECHO_C" >&6
36813 else
36814 eval "$as_ac_Header=\$ac_header_preproc"
36815 fi
36816 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36817 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36818
36819 fi
36820 if test `eval echo '${'$as_ac_Header'}'` = yes; then
36821 cat >>confdefs.h <<_ACEOF
36822 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
36823 _ACEOF
36824
36825 EXTRALIBS_ESD="-lesd"
36826
36827 fi
36828
36829 done
36830
36831
36832 fi
36833
36834
36835
36836 echo "$as_me:$LINENO: checking for known CD-ROM interface" >&5
36837 echo $ECHO_N "checking for known CD-ROM interface... $ECHO_C" >&6
36838 cat >conftest.$ac_ext <<_ACEOF
36839 /* confdefs.h. */
36840 _ACEOF
36841 cat confdefs.h >>conftest.$ac_ext
36842 cat >>conftest.$ac_ext <<_ACEOF
36843 /* end confdefs.h. */
36844 #ifdef __linux__
36845 #include <linux/cdrom.h>
36846 #else
36847 /* For Solaris */
36848 #include <sys/cdio.h>
36849 #endif
36850
36851 int
36852 main ()
36853 {
36854 struct cdrom_tocentry entry, old_entry;
36855 ;
36856 return 0;
36857 }
36858 _ACEOF
36859 rm -f conftest.$ac_objext
36860 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36861 (eval $ac_compile) 2>conftest.er1
36862 ac_status=$?
36863 grep -v '^ *+' conftest.er1 >conftest.err
36864 rm -f conftest.er1
36865 cat conftest.err >&5
36866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36867 (exit $ac_status); } &&
36868 { ac_try='test -z "$ac_c_werror_flag"
36869 || test ! -s conftest.err'
36870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36871 (eval $ac_try) 2>&5
36872 ac_status=$?
36873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36874 (exit $ac_status); }; } &&
36875 { ac_try='test -s conftest.$ac_objext'
36876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36877 (eval $ac_try) 2>&5
36878 ac_status=$?
36879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36880 (exit $ac_status); }; }; then
36881 echo "$as_me:$LINENO: result: yes" >&5
36882 echo "${ECHO_T}yes" >&6
36883 cat >>confdefs.h <<\_ACEOF
36884 #define HAVE_KNOWN_CDROM_INTERFACE 1
36885 _ACEOF
36886
36887 else
36888 echo "$as_me: failed program was:" >&5
36889 sed 's/^/| /' conftest.$ac_ext >&5
36890
36891 echo "$as_me:$LINENO: result: no" >&5
36892 echo "${ECHO_T}no" >&6
36893 fi
36894 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36895
36896
36897 cat >confcache <<\_ACEOF
36898 # This file is a shell script that caches the results of configure
36899 # tests run on this system so they can be shared between configure
36900 # scripts and configure runs, see configure's option --config-cache.
36901 # It is not useful on other systems. If it contains results you don't
36902 # want to keep, you may remove or edit it.
36903 #
36904 # config.status only pays attention to the cache file if you give it
36905 # the --recheck option to rerun configure.
36906 #
36907 # `ac_cv_env_foo' variables (set or unset) will be overridden when
36908 # loading this file, other *unset* `ac_cv_foo' will be assigned the
36909 # following values.
36910
36911 _ACEOF
36912
36913 # The following way of writing the cache mishandles newlines in values,
36914 # but we know of no workaround that is simple, portable, and efficient.
36915 # So, don't put newlines in cache variables' values.
36916 # Ultrix sh set writes to stderr and can't be redirected directly,
36917 # and sets the high bit in the cache file unless we assign to the vars.
36918 {
36919 (set) 2>&1 |
36920 case `(ac_space=' '; set | grep ac_space) 2>&1` in
36921 *ac_space=\ *)
36922 # `set' does not quote correctly, so add quotes (double-quote
36923 # substitution turns \\\\ into \\, and sed turns \\ into \).
36924 sed -n \
36925 "s/'/'\\\\''/g;
36926 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
36927 ;;
36928 *)
36929 # `set' quotes correctly as required by POSIX, so do not add quotes.
36930 sed -n \
36931 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
36932 ;;
36933 esac;
36934 } |
36935 sed '
36936 t clear
36937 : clear
36938 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
36939 t end
36940 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
36941 : end' >>confcache
36942 if diff $cache_file confcache >/dev/null 2>&1; then :; else
36943 if test -w $cache_file; then
36944 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
36945 cat confcache >$cache_file
36946 else
36947 echo "not updating unwritable cache $cache_file"
36948 fi
36949 fi
36950 rm -f confcache
36951
36952
36953 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
36954
36955
36956 THREADS_LINK=
36957 THREADS_CFLAGS=
36958
36959 if test "$wxUSE_THREADS" = "yes" ; then
36960 if test "$USE_BEOS" = 1; then
36961 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
36962 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
36963 wxUSE_THREADS="no"
36964 fi
36965 fi
36966
36967 if test "$wxUSE_THREADS" = "yes" ; then
36968
36969
36970 THREAD_OPTS="-pthread"
36971 case "${host}" in
36972 *-*-solaris2* | *-*-sunos4* )
36973 if test "x$GCC" = "xyes"; then
36974 THREAD_OPTS="-pthreads $THREAD_OPTS"
36975 else
36976 THREAD_OPTS="-mt $THREAD_OPTS"
36977 fi
36978 ;;
36979 *-*-freebsd*)
36980 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
36981 ;;
36982 *-*-darwin* | *-*-cygwin* )
36983 THREAD_OPTS=""
36984 ;;
36985 *-*-aix*)
36986 THREAD_OPTS="pthreads"
36987 ;;
36988 *-hp-hpux* )
36989 if test "x$GCC" = "xyes"; then
36990 $CXX -dumpspecs | grep 'pthread:' >/dev/null ||
36991 THREAD_OPTS=""
36992 else
36993 THREAD_OPTS="-mt"
36994 fi
36995 ;;
36996
36997 *-*-irix* )
36998 if test "x$GCC" = "xyes"; then
36999 THREAD_OPTS=""
37000 fi
37001 ;;
37002
37003 *-*-*UnixWare*)
37004 if test "x$GCC" != "xyes"; then
37005 THREAD_OPTS="-Ethread"
37006 fi
37007 ;;
37008 esac
37009
37010 THREAD_OPTS="$THREAD_OPTS pthread none"
37011
37012 THREADS_OK=no
37013 for flag in $THREAD_OPTS; do
37014 case $flag in
37015 none)
37016 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
37017 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
37018 ;;
37019
37020 -*)
37021 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
37022 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
37023 THREADS_CFLAGS="$flag"
37024 ;;
37025
37026 *)
37027 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
37028 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
37029 THREADS_LINK="-l$flag"
37030 ;;
37031 esac
37032
37033 save_LIBS="$LIBS"
37034 save_CFLAGS="$CFLAGS"
37035 LIBS="$THREADS_LINK $LIBS"
37036 CFLAGS="$THREADS_CFLAGS $CFLAGS"
37037
37038 cat >conftest.$ac_ext <<_ACEOF
37039 /* confdefs.h. */
37040 _ACEOF
37041 cat confdefs.h >>conftest.$ac_ext
37042 cat >>conftest.$ac_ext <<_ACEOF
37043 /* end confdefs.h. */
37044 #include <pthread.h>
37045 int
37046 main ()
37047 {
37048 pthread_create(0,0,0,0);
37049 ;
37050 return 0;
37051 }
37052 _ACEOF
37053 rm -f conftest.$ac_objext conftest$ac_exeext
37054 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37055 (eval $ac_link) 2>conftest.er1
37056 ac_status=$?
37057 grep -v '^ *+' conftest.er1 >conftest.err
37058 rm -f conftest.er1
37059 cat conftest.err >&5
37060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37061 (exit $ac_status); } &&
37062 { ac_try='test -z "$ac_c_werror_flag"
37063 || test ! -s conftest.err'
37064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37065 (eval $ac_try) 2>&5
37066 ac_status=$?
37067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37068 (exit $ac_status); }; } &&
37069 { ac_try='test -s conftest$ac_exeext'
37070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37071 (eval $ac_try) 2>&5
37072 ac_status=$?
37073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37074 (exit $ac_status); }; }; then
37075 THREADS_OK=yes
37076 else
37077 echo "$as_me: failed program was:" >&5
37078 sed 's/^/| /' conftest.$ac_ext >&5
37079
37080 fi
37081 rm -f conftest.err conftest.$ac_objext \
37082 conftest$ac_exeext conftest.$ac_ext
37083
37084 LIBS="$save_LIBS"
37085 CFLAGS="$save_CFLAGS"
37086
37087 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
37088 echo "${ECHO_T}$THREADS_OK" >&6
37089 if test "x$THREADS_OK" = "xyes"; then
37090 break;
37091 fi
37092
37093 THREADS_LINK=""
37094 THREADS_CFLAGS=""
37095 done
37096
37097 if test "x$THREADS_OK" != "xyes"; then
37098 wxUSE_THREADS=no
37099 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
37100 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
37101 else
37102 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
37103 LIBS="$THREADS_LINK $LIBS"
37104
37105 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
37106 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
37107 flag=no
37108 case "${host}" in
37109 *-aix*)
37110 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
37111 flag="-D_THREAD_SAFE"
37112 ;;
37113 *-freebsd*)
37114 flag="-D_THREAD_SAFE"
37115 ;;
37116 *-hp-hpux* )
37117 flag="-D_REENTRANT"
37118 if test "x$GCC" != "xyes"; then
37119 flag="$flag -D_RWSTD_MULTI_THREAD"
37120 fi
37121 ;;
37122 *solaris* | alpha*-osf*)
37123 flag="-D_REENTRANT"
37124 ;;
37125 esac
37126 echo "$as_me:$LINENO: result: ${flag}" >&5
37127 echo "${ECHO_T}${flag}" >&6
37128 if test "x$flag" != xno; then
37129 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
37130 fi
37131
37132 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
37133 fi
37134 fi
37135
37136 if test "$wxUSE_THREADS" = "yes" ; then
37137
37138 for ac_func in thr_setconcurrency
37139 do
37140 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37141 echo "$as_me:$LINENO: checking for $ac_func" >&5
37142 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37143 if eval "test \"\${$as_ac_var+set}\" = set"; then
37144 echo $ECHO_N "(cached) $ECHO_C" >&6
37145 else
37146 cat >conftest.$ac_ext <<_ACEOF
37147 /* confdefs.h. */
37148 _ACEOF
37149 cat confdefs.h >>conftest.$ac_ext
37150 cat >>conftest.$ac_ext <<_ACEOF
37151 /* end confdefs.h. */
37152 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37153 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37154 #define $ac_func innocuous_$ac_func
37155
37156 /* System header to define __stub macros and hopefully few prototypes,
37157 which can conflict with char $ac_func (); below.
37158 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37159 <limits.h> exists even on freestanding compilers. */
37160
37161 #ifdef __STDC__
37162 # include <limits.h>
37163 #else
37164 # include <assert.h>
37165 #endif
37166
37167 #undef $ac_func
37168
37169 /* Override any gcc2 internal prototype to avoid an error. */
37170 #ifdef __cplusplus
37171 extern "C"
37172 {
37173 #endif
37174 /* We use char because int might match the return type of a gcc2
37175 builtin and then its argument prototype would still apply. */
37176 char $ac_func ();
37177 /* The GNU C library defines this for functions which it implements
37178 to always fail with ENOSYS. Some functions are actually named
37179 something starting with __ and the normal name is an alias. */
37180 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37181 choke me
37182 #else
37183 char (*f) () = $ac_func;
37184 #endif
37185 #ifdef __cplusplus
37186 }
37187 #endif
37188
37189 int
37190 main ()
37191 {
37192 return f != $ac_func;
37193 ;
37194 return 0;
37195 }
37196 _ACEOF
37197 rm -f conftest.$ac_objext conftest$ac_exeext
37198 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37199 (eval $ac_link) 2>conftest.er1
37200 ac_status=$?
37201 grep -v '^ *+' conftest.er1 >conftest.err
37202 rm -f conftest.er1
37203 cat conftest.err >&5
37204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37205 (exit $ac_status); } &&
37206 { ac_try='test -z "$ac_c_werror_flag"
37207 || test ! -s conftest.err'
37208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37209 (eval $ac_try) 2>&5
37210 ac_status=$?
37211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37212 (exit $ac_status); }; } &&
37213 { ac_try='test -s conftest$ac_exeext'
37214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37215 (eval $ac_try) 2>&5
37216 ac_status=$?
37217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37218 (exit $ac_status); }; }; then
37219 eval "$as_ac_var=yes"
37220 else
37221 echo "$as_me: failed program was:" >&5
37222 sed 's/^/| /' conftest.$ac_ext >&5
37223
37224 eval "$as_ac_var=no"
37225 fi
37226 rm -f conftest.err conftest.$ac_objext \
37227 conftest$ac_exeext conftest.$ac_ext
37228 fi
37229 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37230 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37231 if test `eval echo '${'$as_ac_var'}'` = yes; then
37232 cat >>confdefs.h <<_ACEOF
37233 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37234 _ACEOF
37235
37236 fi
37237 done
37238
37239
37240 echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
37241 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6
37242 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
37243 echo $ECHO_N "(cached) $ECHO_C" >&6
37244 else
37245
37246 cat >conftest.$ac_ext <<_ACEOF
37247 /* confdefs.h. */
37248 _ACEOF
37249 cat confdefs.h >>conftest.$ac_ext
37250 cat >>conftest.$ac_ext <<_ACEOF
37251 /* end confdefs.h. */
37252 #include <pthread.h>
37253 void ThreadCleanupFunc(void *p);
37254
37255 int
37256 main ()
37257 {
37258
37259 void *p;
37260 pthread_cleanup_push(ThreadCleanupFunc, p);
37261 pthread_cleanup_pop(0);
37262
37263 ;
37264 return 0;
37265 }
37266 _ACEOF
37267 rm -f conftest.$ac_objext
37268 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37269 (eval $ac_compile) 2>conftest.er1
37270 ac_status=$?
37271 grep -v '^ *+' conftest.er1 >conftest.err
37272 rm -f conftest.er1
37273 cat conftest.err >&5
37274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37275 (exit $ac_status); } &&
37276 { ac_try='test -z "$ac_c_werror_flag"
37277 || test ! -s conftest.err'
37278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37279 (eval $ac_try) 2>&5
37280 ac_status=$?
37281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37282 (exit $ac_status); }; } &&
37283 { ac_try='test -s conftest.$ac_objext'
37284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37285 (eval $ac_try) 2>&5
37286 ac_status=$?
37287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37288 (exit $ac_status); }; }; then
37289
37290 wx_cv_func_pthread_cleanup=yes
37291
37292 else
37293 echo "$as_me: failed program was:" >&5
37294 sed 's/^/| /' conftest.$ac_ext >&5
37295
37296
37297 wx_cv_func_pthread_cleanup=no
37298
37299
37300 fi
37301 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37302
37303 fi
37304 echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
37305 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6
37306 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
37307 cat >>confdefs.h <<\_ACEOF
37308 #define wxHAVE_PTHREAD_CLEANUP 1
37309 _ACEOF
37310
37311 fi
37312
37313
37314 for ac_header in sched.h
37315 do
37316 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
37317 if eval "test \"\${$as_ac_Header+set}\" = set"; then
37318 echo "$as_me:$LINENO: checking for $ac_header" >&5
37319 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
37320 if eval "test \"\${$as_ac_Header+set}\" = set"; then
37321 echo $ECHO_N "(cached) $ECHO_C" >&6
37322 fi
37323 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
37324 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
37325 else
37326 # Is the header compilable?
37327 echo "$as_me:$LINENO: checking $ac_header usability" >&5
37328 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
37329 cat >conftest.$ac_ext <<_ACEOF
37330 /* confdefs.h. */
37331 _ACEOF
37332 cat confdefs.h >>conftest.$ac_ext
37333 cat >>conftest.$ac_ext <<_ACEOF
37334 /* end confdefs.h. */
37335 $ac_includes_default
37336 #include <$ac_header>
37337 _ACEOF
37338 rm -f conftest.$ac_objext
37339 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37340 (eval $ac_compile) 2>conftest.er1
37341 ac_status=$?
37342 grep -v '^ *+' conftest.er1 >conftest.err
37343 rm -f conftest.er1
37344 cat conftest.err >&5
37345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37346 (exit $ac_status); } &&
37347 { ac_try='test -z "$ac_c_werror_flag"
37348 || test ! -s conftest.err'
37349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37350 (eval $ac_try) 2>&5
37351 ac_status=$?
37352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37353 (exit $ac_status); }; } &&
37354 { ac_try='test -s conftest.$ac_objext'
37355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37356 (eval $ac_try) 2>&5
37357 ac_status=$?
37358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37359 (exit $ac_status); }; }; then
37360 ac_header_compiler=yes
37361 else
37362 echo "$as_me: failed program was:" >&5
37363 sed 's/^/| /' conftest.$ac_ext >&5
37364
37365 ac_header_compiler=no
37366 fi
37367 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37368 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
37369 echo "${ECHO_T}$ac_header_compiler" >&6
37370
37371 # Is the header present?
37372 echo "$as_me:$LINENO: checking $ac_header presence" >&5
37373 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
37374 cat >conftest.$ac_ext <<_ACEOF
37375 /* confdefs.h. */
37376 _ACEOF
37377 cat confdefs.h >>conftest.$ac_ext
37378 cat >>conftest.$ac_ext <<_ACEOF
37379 /* end confdefs.h. */
37380 #include <$ac_header>
37381 _ACEOF
37382 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
37383 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
37384 ac_status=$?
37385 grep -v '^ *+' conftest.er1 >conftest.err
37386 rm -f conftest.er1
37387 cat conftest.err >&5
37388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37389 (exit $ac_status); } >/dev/null; then
37390 if test -s conftest.err; then
37391 ac_cpp_err=$ac_c_preproc_warn_flag
37392 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
37393 else
37394 ac_cpp_err=
37395 fi
37396 else
37397 ac_cpp_err=yes
37398 fi
37399 if test -z "$ac_cpp_err"; then
37400 ac_header_preproc=yes
37401 else
37402 echo "$as_me: failed program was:" >&5
37403 sed 's/^/| /' conftest.$ac_ext >&5
37404
37405 ac_header_preproc=no
37406 fi
37407 rm -f conftest.err conftest.$ac_ext
37408 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
37409 echo "${ECHO_T}$ac_header_preproc" >&6
37410
37411 # So? What about this header?
37412 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
37413 yes:no: )
37414 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
37415 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
37416 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
37417 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
37418 ac_header_preproc=yes
37419 ;;
37420 no:yes:* )
37421 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
37422 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
37423 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
37424 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
37425 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
37426 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
37427 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
37428 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
37429 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
37430 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
37431 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
37432 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
37433 (
37434 cat <<\_ASBOX
37435 ## ----------------------------------------- ##
37436 ## Report this to wx-dev@lists.wxwidgets.org ##
37437 ## ----------------------------------------- ##
37438 _ASBOX
37439 ) |
37440 sed "s/^/$as_me: WARNING: /" >&2
37441 ;;
37442 esac
37443 echo "$as_me:$LINENO: checking for $ac_header" >&5
37444 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
37445 if eval "test \"\${$as_ac_Header+set}\" = set"; then
37446 echo $ECHO_N "(cached) $ECHO_C" >&6
37447 else
37448 eval "$as_ac_Header=\$ac_header_preproc"
37449 fi
37450 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
37451 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
37452
37453 fi
37454 if test `eval echo '${'$as_ac_Header'}'` = yes; then
37455 cat >>confdefs.h <<_ACEOF
37456 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
37457 _ACEOF
37458
37459 fi
37460
37461 done
37462
37463 if test "$ac_cv_header_sched_h" = "yes"; then
37464 echo "$as_me:$LINENO: checking for sched_yield" >&5
37465 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
37466 if test "${ac_cv_func_sched_yield+set}" = set; then
37467 echo $ECHO_N "(cached) $ECHO_C" >&6
37468 else
37469 cat >conftest.$ac_ext <<_ACEOF
37470 /* confdefs.h. */
37471 _ACEOF
37472 cat confdefs.h >>conftest.$ac_ext
37473 cat >>conftest.$ac_ext <<_ACEOF
37474 /* end confdefs.h. */
37475 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
37476 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37477 #define sched_yield innocuous_sched_yield
37478
37479 /* System header to define __stub macros and hopefully few prototypes,
37480 which can conflict with char sched_yield (); below.
37481 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37482 <limits.h> exists even on freestanding compilers. */
37483
37484 #ifdef __STDC__
37485 # include <limits.h>
37486 #else
37487 # include <assert.h>
37488 #endif
37489
37490 #undef sched_yield
37491
37492 /* Override any gcc2 internal prototype to avoid an error. */
37493 #ifdef __cplusplus
37494 extern "C"
37495 {
37496 #endif
37497 /* We use char because int might match the return type of a gcc2
37498 builtin and then its argument prototype would still apply. */
37499 char sched_yield ();
37500 /* The GNU C library defines this for functions which it implements
37501 to always fail with ENOSYS. Some functions are actually named
37502 something starting with __ and the normal name is an alias. */
37503 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
37504 choke me
37505 #else
37506 char (*f) () = sched_yield;
37507 #endif
37508 #ifdef __cplusplus
37509 }
37510 #endif
37511
37512 int
37513 main ()
37514 {
37515 return f != sched_yield;
37516 ;
37517 return 0;
37518 }
37519 _ACEOF
37520 rm -f conftest.$ac_objext conftest$ac_exeext
37521 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37522 (eval $ac_link) 2>conftest.er1
37523 ac_status=$?
37524 grep -v '^ *+' conftest.er1 >conftest.err
37525 rm -f conftest.er1
37526 cat conftest.err >&5
37527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37528 (exit $ac_status); } &&
37529 { ac_try='test -z "$ac_c_werror_flag"
37530 || test ! -s conftest.err'
37531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37532 (eval $ac_try) 2>&5
37533 ac_status=$?
37534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37535 (exit $ac_status); }; } &&
37536 { ac_try='test -s conftest$ac_exeext'
37537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37538 (eval $ac_try) 2>&5
37539 ac_status=$?
37540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37541 (exit $ac_status); }; }; then
37542 ac_cv_func_sched_yield=yes
37543 else
37544 echo "$as_me: failed program was:" >&5
37545 sed 's/^/| /' conftest.$ac_ext >&5
37546
37547 ac_cv_func_sched_yield=no
37548 fi
37549 rm -f conftest.err conftest.$ac_objext \
37550 conftest$ac_exeext conftest.$ac_ext
37551 fi
37552 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
37553 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
37554 if test $ac_cv_func_sched_yield = yes; then
37555 cat >>confdefs.h <<\_ACEOF
37556 #define HAVE_SCHED_YIELD 1
37557 _ACEOF
37558
37559 else
37560
37561 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
37562 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
37563 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
37564 echo $ECHO_N "(cached) $ECHO_C" >&6
37565 else
37566 ac_check_lib_save_LIBS=$LIBS
37567 LIBS="-lposix4 $LIBS"
37568 cat >conftest.$ac_ext <<_ACEOF
37569 /* confdefs.h. */
37570 _ACEOF
37571 cat confdefs.h >>conftest.$ac_ext
37572 cat >>conftest.$ac_ext <<_ACEOF
37573 /* end confdefs.h. */
37574
37575 /* Override any gcc2 internal prototype to avoid an error. */
37576 #ifdef __cplusplus
37577 extern "C"
37578 #endif
37579 /* We use char because int might match the return type of a gcc2
37580 builtin and then its argument prototype would still apply. */
37581 char sched_yield ();
37582 int
37583 main ()
37584 {
37585 sched_yield ();
37586 ;
37587 return 0;
37588 }
37589 _ACEOF
37590 rm -f conftest.$ac_objext conftest$ac_exeext
37591 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37592 (eval $ac_link) 2>conftest.er1
37593 ac_status=$?
37594 grep -v '^ *+' conftest.er1 >conftest.err
37595 rm -f conftest.er1
37596 cat conftest.err >&5
37597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37598 (exit $ac_status); } &&
37599 { ac_try='test -z "$ac_c_werror_flag"
37600 || test ! -s conftest.err'
37601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37602 (eval $ac_try) 2>&5
37603 ac_status=$?
37604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37605 (exit $ac_status); }; } &&
37606 { ac_try='test -s conftest$ac_exeext'
37607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37608 (eval $ac_try) 2>&5
37609 ac_status=$?
37610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37611 (exit $ac_status); }; }; then
37612 ac_cv_lib_posix4_sched_yield=yes
37613 else
37614 echo "$as_me: failed program was:" >&5
37615 sed 's/^/| /' conftest.$ac_ext >&5
37616
37617 ac_cv_lib_posix4_sched_yield=no
37618 fi
37619 rm -f conftest.err conftest.$ac_objext \
37620 conftest$ac_exeext conftest.$ac_ext
37621 LIBS=$ac_check_lib_save_LIBS
37622 fi
37623 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
37624 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
37625 if test $ac_cv_lib_posix4_sched_yield = yes; then
37626 cat >>confdefs.h <<\_ACEOF
37627 #define HAVE_SCHED_YIELD 1
37628 _ACEOF
37629 POSIX4_LINK=" -lposix4"
37630 else
37631 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
37632 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
37633
37634 fi
37635
37636
37637
37638 fi
37639
37640 fi
37641
37642 HAVE_PRIOR_FUNCS=0
37643 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
37644 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
37645 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
37646 echo $ECHO_N "(cached) $ECHO_C" >&6
37647 else
37648 cat >conftest.$ac_ext <<_ACEOF
37649 /* confdefs.h. */
37650 _ACEOF
37651 cat confdefs.h >>conftest.$ac_ext
37652 cat >>conftest.$ac_ext <<_ACEOF
37653 /* end confdefs.h. */
37654 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
37655 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37656 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
37657
37658 /* System header to define __stub macros and hopefully few prototypes,
37659 which can conflict with char pthread_attr_getschedpolicy (); below.
37660 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37661 <limits.h> exists even on freestanding compilers. */
37662
37663 #ifdef __STDC__
37664 # include <limits.h>
37665 #else
37666 # include <assert.h>
37667 #endif
37668
37669 #undef pthread_attr_getschedpolicy
37670
37671 /* Override any gcc2 internal prototype to avoid an error. */
37672 #ifdef __cplusplus
37673 extern "C"
37674 {
37675 #endif
37676 /* We use char because int might match the return type of a gcc2
37677 builtin and then its argument prototype would still apply. */
37678 char pthread_attr_getschedpolicy ();
37679 /* The GNU C library defines this for functions which it implements
37680 to always fail with ENOSYS. Some functions are actually named
37681 something starting with __ and the normal name is an alias. */
37682 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
37683 choke me
37684 #else
37685 char (*f) () = pthread_attr_getschedpolicy;
37686 #endif
37687 #ifdef __cplusplus
37688 }
37689 #endif
37690
37691 int
37692 main ()
37693 {
37694 return f != pthread_attr_getschedpolicy;
37695 ;
37696 return 0;
37697 }
37698 _ACEOF
37699 rm -f conftest.$ac_objext conftest$ac_exeext
37700 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37701 (eval $ac_link) 2>conftest.er1
37702 ac_status=$?
37703 grep -v '^ *+' conftest.er1 >conftest.err
37704 rm -f conftest.er1
37705 cat conftest.err >&5
37706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37707 (exit $ac_status); } &&
37708 { ac_try='test -z "$ac_c_werror_flag"
37709 || test ! -s conftest.err'
37710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37711 (eval $ac_try) 2>&5
37712 ac_status=$?
37713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37714 (exit $ac_status); }; } &&
37715 { ac_try='test -s conftest$ac_exeext'
37716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37717 (eval $ac_try) 2>&5
37718 ac_status=$?
37719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37720 (exit $ac_status); }; }; then
37721 ac_cv_func_pthread_attr_getschedpolicy=yes
37722 else
37723 echo "$as_me: failed program was:" >&5
37724 sed 's/^/| /' conftest.$ac_ext >&5
37725
37726 ac_cv_func_pthread_attr_getschedpolicy=no
37727 fi
37728 rm -f conftest.err conftest.$ac_objext \
37729 conftest$ac_exeext conftest.$ac_ext
37730 fi
37731 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
37732 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
37733 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
37734 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
37735 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
37736 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
37737 echo $ECHO_N "(cached) $ECHO_C" >&6
37738 else
37739 cat >conftest.$ac_ext <<_ACEOF
37740 /* confdefs.h. */
37741 _ACEOF
37742 cat confdefs.h >>conftest.$ac_ext
37743 cat >>conftest.$ac_ext <<_ACEOF
37744 /* end confdefs.h. */
37745 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
37746 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37747 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
37748
37749 /* System header to define __stub macros and hopefully few prototypes,
37750 which can conflict with char pthread_attr_setschedparam (); below.
37751 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37752 <limits.h> exists even on freestanding compilers. */
37753
37754 #ifdef __STDC__
37755 # include <limits.h>
37756 #else
37757 # include <assert.h>
37758 #endif
37759
37760 #undef pthread_attr_setschedparam
37761
37762 /* Override any gcc2 internal prototype to avoid an error. */
37763 #ifdef __cplusplus
37764 extern "C"
37765 {
37766 #endif
37767 /* We use char because int might match the return type of a gcc2
37768 builtin and then its argument prototype would still apply. */
37769 char pthread_attr_setschedparam ();
37770 /* The GNU C library defines this for functions which it implements
37771 to always fail with ENOSYS. Some functions are actually named
37772 something starting with __ and the normal name is an alias. */
37773 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
37774 choke me
37775 #else
37776 char (*f) () = pthread_attr_setschedparam;
37777 #endif
37778 #ifdef __cplusplus
37779 }
37780 #endif
37781
37782 int
37783 main ()
37784 {
37785 return f != pthread_attr_setschedparam;
37786 ;
37787 return 0;
37788 }
37789 _ACEOF
37790 rm -f conftest.$ac_objext conftest$ac_exeext
37791 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37792 (eval $ac_link) 2>conftest.er1
37793 ac_status=$?
37794 grep -v '^ *+' conftest.er1 >conftest.err
37795 rm -f conftest.er1
37796 cat conftest.err >&5
37797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37798 (exit $ac_status); } &&
37799 { ac_try='test -z "$ac_c_werror_flag"
37800 || test ! -s conftest.err'
37801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37802 (eval $ac_try) 2>&5
37803 ac_status=$?
37804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37805 (exit $ac_status); }; } &&
37806 { ac_try='test -s conftest$ac_exeext'
37807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37808 (eval $ac_try) 2>&5
37809 ac_status=$?
37810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37811 (exit $ac_status); }; }; then
37812 ac_cv_func_pthread_attr_setschedparam=yes
37813 else
37814 echo "$as_me: failed program was:" >&5
37815 sed 's/^/| /' conftest.$ac_ext >&5
37816
37817 ac_cv_func_pthread_attr_setschedparam=no
37818 fi
37819 rm -f conftest.err conftest.$ac_objext \
37820 conftest$ac_exeext conftest.$ac_ext
37821 fi
37822 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
37823 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
37824 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
37825 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
37826 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
37827 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
37828 echo $ECHO_N "(cached) $ECHO_C" >&6
37829 else
37830 cat >conftest.$ac_ext <<_ACEOF
37831 /* confdefs.h. */
37832 _ACEOF
37833 cat confdefs.h >>conftest.$ac_ext
37834 cat >>conftest.$ac_ext <<_ACEOF
37835 /* end confdefs.h. */
37836 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
37837 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37838 #define sched_get_priority_max innocuous_sched_get_priority_max
37839
37840 /* System header to define __stub macros and hopefully few prototypes,
37841 which can conflict with char sched_get_priority_max (); below.
37842 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37843 <limits.h> exists even on freestanding compilers. */
37844
37845 #ifdef __STDC__
37846 # include <limits.h>
37847 #else
37848 # include <assert.h>
37849 #endif
37850
37851 #undef sched_get_priority_max
37852
37853 /* Override any gcc2 internal prototype to avoid an error. */
37854 #ifdef __cplusplus
37855 extern "C"
37856 {
37857 #endif
37858 /* We use char because int might match the return type of a gcc2
37859 builtin and then its argument prototype would still apply. */
37860 char sched_get_priority_max ();
37861 /* The GNU C library defines this for functions which it implements
37862 to always fail with ENOSYS. Some functions are actually named
37863 something starting with __ and the normal name is an alias. */
37864 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
37865 choke me
37866 #else
37867 char (*f) () = sched_get_priority_max;
37868 #endif
37869 #ifdef __cplusplus
37870 }
37871 #endif
37872
37873 int
37874 main ()
37875 {
37876 return f != sched_get_priority_max;
37877 ;
37878 return 0;
37879 }
37880 _ACEOF
37881 rm -f conftest.$ac_objext conftest$ac_exeext
37882 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37883 (eval $ac_link) 2>conftest.er1
37884 ac_status=$?
37885 grep -v '^ *+' conftest.er1 >conftest.err
37886 rm -f conftest.er1
37887 cat conftest.err >&5
37888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37889 (exit $ac_status); } &&
37890 { ac_try='test -z "$ac_c_werror_flag"
37891 || test ! -s conftest.err'
37892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37893 (eval $ac_try) 2>&5
37894 ac_status=$?
37895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37896 (exit $ac_status); }; } &&
37897 { ac_try='test -s conftest$ac_exeext'
37898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37899 (eval $ac_try) 2>&5
37900 ac_status=$?
37901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37902 (exit $ac_status); }; }; then
37903 ac_cv_func_sched_get_priority_max=yes
37904 else
37905 echo "$as_me: failed program was:" >&5
37906 sed 's/^/| /' conftest.$ac_ext >&5
37907
37908 ac_cv_func_sched_get_priority_max=no
37909 fi
37910 rm -f conftest.err conftest.$ac_objext \
37911 conftest$ac_exeext conftest.$ac_ext
37912 fi
37913 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
37914 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
37915 if test $ac_cv_func_sched_get_priority_max = yes; then
37916 HAVE_PRIOR_FUNCS=1
37917 else
37918 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
37919 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
37920 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
37921 echo $ECHO_N "(cached) $ECHO_C" >&6
37922 else
37923 ac_check_lib_save_LIBS=$LIBS
37924 LIBS="-lposix4 $LIBS"
37925 cat >conftest.$ac_ext <<_ACEOF
37926 /* confdefs.h. */
37927 _ACEOF
37928 cat confdefs.h >>conftest.$ac_ext
37929 cat >>conftest.$ac_ext <<_ACEOF
37930 /* end confdefs.h. */
37931
37932 /* Override any gcc2 internal prototype to avoid an error. */
37933 #ifdef __cplusplus
37934 extern "C"
37935 #endif
37936 /* We use char because int might match the return type of a gcc2
37937 builtin and then its argument prototype would still apply. */
37938 char sched_get_priority_max ();
37939 int
37940 main ()
37941 {
37942 sched_get_priority_max ();
37943 ;
37944 return 0;
37945 }
37946 _ACEOF
37947 rm -f conftest.$ac_objext conftest$ac_exeext
37948 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37949 (eval $ac_link) 2>conftest.er1
37950 ac_status=$?
37951 grep -v '^ *+' conftest.er1 >conftest.err
37952 rm -f conftest.er1
37953 cat conftest.err >&5
37954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37955 (exit $ac_status); } &&
37956 { ac_try='test -z "$ac_c_werror_flag"
37957 || test ! -s conftest.err'
37958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37959 (eval $ac_try) 2>&5
37960 ac_status=$?
37961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37962 (exit $ac_status); }; } &&
37963 { ac_try='test -s conftest$ac_exeext'
37964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37965 (eval $ac_try) 2>&5
37966 ac_status=$?
37967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37968 (exit $ac_status); }; }; then
37969 ac_cv_lib_posix4_sched_get_priority_max=yes
37970 else
37971 echo "$as_me: failed program was:" >&5
37972 sed 's/^/| /' conftest.$ac_ext >&5
37973
37974 ac_cv_lib_posix4_sched_get_priority_max=no
37975 fi
37976 rm -f conftest.err conftest.$ac_objext \
37977 conftest$ac_exeext conftest.$ac_ext
37978 LIBS=$ac_check_lib_save_LIBS
37979 fi
37980 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
37981 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
37982 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
37983
37984 HAVE_PRIOR_FUNCS=1
37985 POSIX4_LINK=" -lposix4"
37986
37987 fi
37988
37989
37990 fi
37991
37992
37993 fi
37994
37995
37996 fi
37997
37998
37999 if test "$HAVE_PRIOR_FUNCS" = 1; then
38000 cat >>confdefs.h <<\_ACEOF
38001 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
38002 _ACEOF
38003
38004 else
38005 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
38006 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
38007 fi
38008
38009 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
38010 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
38011 if test "${ac_cv_func_pthread_cancel+set}" = set; then
38012 echo $ECHO_N "(cached) $ECHO_C" >&6
38013 else
38014 cat >conftest.$ac_ext <<_ACEOF
38015 /* confdefs.h. */
38016 _ACEOF
38017 cat confdefs.h >>conftest.$ac_ext
38018 cat >>conftest.$ac_ext <<_ACEOF
38019 /* end confdefs.h. */
38020 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
38021 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38022 #define pthread_cancel innocuous_pthread_cancel
38023
38024 /* System header to define __stub macros and hopefully few prototypes,
38025 which can conflict with char pthread_cancel (); below.
38026 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38027 <limits.h> exists even on freestanding compilers. */
38028
38029 #ifdef __STDC__
38030 # include <limits.h>
38031 #else
38032 # include <assert.h>
38033 #endif
38034
38035 #undef pthread_cancel
38036
38037 /* Override any gcc2 internal prototype to avoid an error. */
38038 #ifdef __cplusplus
38039 extern "C"
38040 {
38041 #endif
38042 /* We use char because int might match the return type of a gcc2
38043 builtin and then its argument prototype would still apply. */
38044 char pthread_cancel ();
38045 /* The GNU C library defines this for functions which it implements
38046 to always fail with ENOSYS. Some functions are actually named
38047 something starting with __ and the normal name is an alias. */
38048 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
38049 choke me
38050 #else
38051 char (*f) () = pthread_cancel;
38052 #endif
38053 #ifdef __cplusplus
38054 }
38055 #endif
38056
38057 int
38058 main ()
38059 {
38060 return f != pthread_cancel;
38061 ;
38062 return 0;
38063 }
38064 _ACEOF
38065 rm -f conftest.$ac_objext conftest$ac_exeext
38066 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38067 (eval $ac_link) 2>conftest.er1
38068 ac_status=$?
38069 grep -v '^ *+' conftest.er1 >conftest.err
38070 rm -f conftest.er1
38071 cat conftest.err >&5
38072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38073 (exit $ac_status); } &&
38074 { ac_try='test -z "$ac_c_werror_flag"
38075 || test ! -s conftest.err'
38076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38077 (eval $ac_try) 2>&5
38078 ac_status=$?
38079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38080 (exit $ac_status); }; } &&
38081 { ac_try='test -s conftest$ac_exeext'
38082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38083 (eval $ac_try) 2>&5
38084 ac_status=$?
38085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38086 (exit $ac_status); }; }; then
38087 ac_cv_func_pthread_cancel=yes
38088 else
38089 echo "$as_me: failed program was:" >&5
38090 sed 's/^/| /' conftest.$ac_ext >&5
38091
38092 ac_cv_func_pthread_cancel=no
38093 fi
38094 rm -f conftest.err conftest.$ac_objext \
38095 conftest$ac_exeext conftest.$ac_ext
38096 fi
38097 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
38098 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
38099 if test $ac_cv_func_pthread_cancel = yes; then
38100 cat >>confdefs.h <<\_ACEOF
38101 #define HAVE_PTHREAD_CANCEL 1
38102 _ACEOF
38103
38104 else
38105 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
38106 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
38107 fi
38108
38109
38110 echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
38111 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6
38112 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
38113 echo $ECHO_N "(cached) $ECHO_C" >&6
38114 else
38115 cat >conftest.$ac_ext <<_ACEOF
38116 /* confdefs.h. */
38117 _ACEOF
38118 cat confdefs.h >>conftest.$ac_ext
38119 cat >>conftest.$ac_ext <<_ACEOF
38120 /* end confdefs.h. */
38121 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
38122 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38123 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
38124
38125 /* System header to define __stub macros and hopefully few prototypes,
38126 which can conflict with char pthread_attr_setstacksize (); below.
38127 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38128 <limits.h> exists even on freestanding compilers. */
38129
38130 #ifdef __STDC__
38131 # include <limits.h>
38132 #else
38133 # include <assert.h>
38134 #endif
38135
38136 #undef pthread_attr_setstacksize
38137
38138 /* Override any gcc2 internal prototype to avoid an error. */
38139 #ifdef __cplusplus
38140 extern "C"
38141 {
38142 #endif
38143 /* We use char because int might match the return type of a gcc2
38144 builtin and then its argument prototype would still apply. */
38145 char pthread_attr_setstacksize ();
38146 /* The GNU C library defines this for functions which it implements
38147 to always fail with ENOSYS. Some functions are actually named
38148 something starting with __ and the normal name is an alias. */
38149 #if defined (__stub_pthread_attr_setstacksize) || defined (__stub___pthread_attr_setstacksize)
38150 choke me
38151 #else
38152 char (*f) () = pthread_attr_setstacksize;
38153 #endif
38154 #ifdef __cplusplus
38155 }
38156 #endif
38157
38158 int
38159 main ()
38160 {
38161 return f != pthread_attr_setstacksize;
38162 ;
38163 return 0;
38164 }
38165 _ACEOF
38166 rm -f conftest.$ac_objext conftest$ac_exeext
38167 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38168 (eval $ac_link) 2>conftest.er1
38169 ac_status=$?
38170 grep -v '^ *+' conftest.er1 >conftest.err
38171 rm -f conftest.er1
38172 cat conftest.err >&5
38173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38174 (exit $ac_status); } &&
38175 { ac_try='test -z "$ac_c_werror_flag"
38176 || test ! -s conftest.err'
38177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38178 (eval $ac_try) 2>&5
38179 ac_status=$?
38180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38181 (exit $ac_status); }; } &&
38182 { ac_try='test -s conftest$ac_exeext'
38183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38184 (eval $ac_try) 2>&5
38185 ac_status=$?
38186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38187 (exit $ac_status); }; }; then
38188 ac_cv_func_pthread_attr_setstacksize=yes
38189 else
38190 echo "$as_me: failed program was:" >&5
38191 sed 's/^/| /' conftest.$ac_ext >&5
38192
38193 ac_cv_func_pthread_attr_setstacksize=no
38194 fi
38195 rm -f conftest.err conftest.$ac_objext \
38196 conftest$ac_exeext conftest.$ac_ext
38197 fi
38198 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
38199 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6
38200 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
38201 cat >>confdefs.h <<\_ACEOF
38202 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
38203 _ACEOF
38204
38205 fi
38206
38207
38208
38209 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
38210 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
38211 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
38212 echo $ECHO_N "(cached) $ECHO_C" >&6
38213 else
38214
38215 cat >conftest.$ac_ext <<_ACEOF
38216 /* confdefs.h. */
38217 _ACEOF
38218 cat confdefs.h >>conftest.$ac_ext
38219 cat >>conftest.$ac_ext <<_ACEOF
38220 /* end confdefs.h. */
38221 #include <pthread.h>
38222 int
38223 main ()
38224 {
38225
38226 pthread_mutexattr_t attr;
38227 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
38228
38229 ;
38230 return 0;
38231 }
38232 _ACEOF
38233 rm -f conftest.$ac_objext
38234 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38235 (eval $ac_compile) 2>conftest.er1
38236 ac_status=$?
38237 grep -v '^ *+' conftest.er1 >conftest.err
38238 rm -f conftest.er1
38239 cat conftest.err >&5
38240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38241 (exit $ac_status); } &&
38242 { ac_try='test -z "$ac_c_werror_flag"
38243 || test ! -s conftest.err'
38244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38245 (eval $ac_try) 2>&5
38246 ac_status=$?
38247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38248 (exit $ac_status); }; } &&
38249 { ac_try='test -s conftest.$ac_objext'
38250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38251 (eval $ac_try) 2>&5
38252 ac_status=$?
38253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38254 (exit $ac_status); }; }; then
38255 wx_cv_type_pthread_mutexattr_t=yes
38256 else
38257 echo "$as_me: failed program was:" >&5
38258 sed 's/^/| /' conftest.$ac_ext >&5
38259
38260 wx_cv_type_pthread_mutexattr_t=no
38261
38262 fi
38263 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38264
38265 fi
38266 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
38267 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
38268
38269 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
38270 cat >>confdefs.h <<\_ACEOF
38271 #define HAVE_PTHREAD_MUTEXATTR_T 1
38272 _ACEOF
38273
38274
38275 echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
38276 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6
38277 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
38278 echo $ECHO_N "(cached) $ECHO_C" >&6
38279 else
38280
38281 cat >conftest.$ac_ext <<_ACEOF
38282 /* confdefs.h. */
38283 _ACEOF
38284 cat confdefs.h >>conftest.$ac_ext
38285 cat >>conftest.$ac_ext <<_ACEOF
38286 /* end confdefs.h. */
38287 #include <pthread.h>
38288 int
38289 main ()
38290 {
38291
38292 pthread_mutexattr_t attr;
38293 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
38294
38295 ;
38296 return 0;
38297 }
38298 _ACEOF
38299 rm -f conftest.$ac_objext
38300 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38301 (eval $ac_compile) 2>conftest.er1
38302 ac_status=$?
38303 grep -v '^ *+' conftest.er1 >conftest.err
38304 rm -f conftest.er1
38305 cat conftest.err >&5
38306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38307 (exit $ac_status); } &&
38308 { ac_try='test -z "$ac_c_werror_flag"
38309 || test ! -s conftest.err'
38310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38311 (eval $ac_try) 2>&5
38312 ac_status=$?
38313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38314 (exit $ac_status); }; } &&
38315 { ac_try='test -s conftest.$ac_objext'
38316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38317 (eval $ac_try) 2>&5
38318 ac_status=$?
38319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38320 (exit $ac_status); }; }; then
38321 wx_cv_func_pthread_mutexattr_settype_decl=yes
38322 else
38323 echo "$as_me: failed program was:" >&5
38324 sed 's/^/| /' conftest.$ac_ext >&5
38325
38326 wx_cv_func_pthread_mutexattr_settype_decl=no
38327
38328 fi
38329 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38330
38331 fi
38332 echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
38333 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6
38334 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
38335 cat >>confdefs.h <<\_ACEOF
38336 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
38337 _ACEOF
38338
38339 fi
38340 else
38341 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
38342 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
38343 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
38344 echo $ECHO_N "(cached) $ECHO_C" >&6
38345 else
38346
38347 cat >conftest.$ac_ext <<_ACEOF
38348 /* confdefs.h. */
38349 _ACEOF
38350 cat confdefs.h >>conftest.$ac_ext
38351 cat >>conftest.$ac_ext <<_ACEOF
38352 /* end confdefs.h. */
38353 #include <pthread.h>
38354 int
38355 main ()
38356 {
38357
38358 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
38359
38360 ;
38361 return 0;
38362 }
38363 _ACEOF
38364 rm -f conftest.$ac_objext
38365 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38366 (eval $ac_compile) 2>conftest.er1
38367 ac_status=$?
38368 grep -v '^ *+' conftest.er1 >conftest.err
38369 rm -f conftest.er1
38370 cat conftest.err >&5
38371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38372 (exit $ac_status); } &&
38373 { ac_try='test -z "$ac_c_werror_flag"
38374 || test ! -s conftest.err'
38375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38376 (eval $ac_try) 2>&5
38377 ac_status=$?
38378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38379 (exit $ac_status); }; } &&
38380 { ac_try='test -s conftest.$ac_objext'
38381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38382 (eval $ac_try) 2>&5
38383 ac_status=$?
38384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38385 (exit $ac_status); }; }; then
38386
38387 wx_cv_type_pthread_rec_mutex_init=yes
38388
38389 else
38390 echo "$as_me: failed program was:" >&5
38391 sed 's/^/| /' conftest.$ac_ext >&5
38392
38393
38394 wx_cv_type_pthread_rec_mutex_init=no
38395
38396
38397 fi
38398 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38399
38400 fi
38401 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
38402 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
38403 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
38404 cat >>confdefs.h <<\_ACEOF
38405 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
38406 _ACEOF
38407
38408 else
38409 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
38410 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
38411 fi
38412 fi
38413 fi
38414
38415 else
38416 if test "$wxUSE_THREADS" = "yes" ; then
38417 case "${host}" in
38418 *-*-mingw32* )
38419 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
38420 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
38421 if test "${wx_cv_cflags_mthread+set}" = set; then
38422 echo $ECHO_N "(cached) $ECHO_C" >&6
38423 else
38424
38425 CFLAGS_OLD="$CFLAGS"
38426 CFLAGS="-mthreads $CFLAGS"
38427 cat >conftest.$ac_ext <<_ACEOF
38428 /* confdefs.h. */
38429 _ACEOF
38430 cat confdefs.h >>conftest.$ac_ext
38431 cat >>conftest.$ac_ext <<_ACEOF
38432 /* end confdefs.h. */
38433
38434 int
38435 main ()
38436 {
38437
38438 ;
38439 return 0;
38440 }
38441 _ACEOF
38442 rm -f conftest.$ac_objext
38443 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38444 (eval $ac_compile) 2>conftest.er1
38445 ac_status=$?
38446 grep -v '^ *+' conftest.er1 >conftest.err
38447 rm -f conftest.er1
38448 cat conftest.err >&5
38449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38450 (exit $ac_status); } &&
38451 { ac_try='test -z "$ac_c_werror_flag"
38452 || test ! -s conftest.err'
38453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38454 (eval $ac_try) 2>&5
38455 ac_status=$?
38456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38457 (exit $ac_status); }; } &&
38458 { ac_try='test -s conftest.$ac_objext'
38459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38460 (eval $ac_try) 2>&5
38461 ac_status=$?
38462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38463 (exit $ac_status); }; }; then
38464 wx_cv_cflags_mthread=yes
38465 else
38466 echo "$as_me: failed program was:" >&5
38467 sed 's/^/| /' conftest.$ac_ext >&5
38468
38469 wx_cv_cflags_mthread=no
38470
38471 fi
38472 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38473
38474
38475 fi
38476 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
38477 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
38478
38479 if test "$wx_cv_cflags_mthread" = "yes"; then
38480 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mthreads"
38481 LDFLAGS="$LDFLAGS -mthreads"
38482 else
38483 CFLAGS="$CFLAGS_OLD"
38484 fi
38485 ;;
38486 *-pc-os2*emx )
38487 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
38488 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -Zmt -D__ST_MT_ERRNO__"
38489 LDFLAGS="$LDFLAGS -Zmt"
38490 ;;
38491 esac
38492 fi
38493 fi
38494
38495 echo "$as_me:$LINENO: checking for localtime_r" >&5
38496 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6
38497 if test "${ac_cv_func_localtime_r+set}" = set; then
38498 echo $ECHO_N "(cached) $ECHO_C" >&6
38499 else
38500 cat >conftest.$ac_ext <<_ACEOF
38501 /* confdefs.h. */
38502 _ACEOF
38503 cat confdefs.h >>conftest.$ac_ext
38504 cat >>conftest.$ac_ext <<_ACEOF
38505 /* end confdefs.h. */
38506 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
38507 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38508 #define localtime_r innocuous_localtime_r
38509
38510 /* System header to define __stub macros and hopefully few prototypes,
38511 which can conflict with char localtime_r (); below.
38512 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38513 <limits.h> exists even on freestanding compilers. */
38514
38515 #ifdef __STDC__
38516 # include <limits.h>
38517 #else
38518 # include <assert.h>
38519 #endif
38520
38521 #undef localtime_r
38522
38523 /* Override any gcc2 internal prototype to avoid an error. */
38524 #ifdef __cplusplus
38525 extern "C"
38526 {
38527 #endif
38528 /* We use char because int might match the return type of a gcc2
38529 builtin and then its argument prototype would still apply. */
38530 char localtime_r ();
38531 /* The GNU C library defines this for functions which it implements
38532 to always fail with ENOSYS. Some functions are actually named
38533 something starting with __ and the normal name is an alias. */
38534 #if defined (__stub_localtime_r) || defined (__stub___localtime_r)
38535 choke me
38536 #else
38537 char (*f) () = localtime_r;
38538 #endif
38539 #ifdef __cplusplus
38540 }
38541 #endif
38542
38543 int
38544 main ()
38545 {
38546 return f != localtime_r;
38547 ;
38548 return 0;
38549 }
38550 _ACEOF
38551 rm -f conftest.$ac_objext conftest$ac_exeext
38552 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38553 (eval $ac_link) 2>conftest.er1
38554 ac_status=$?
38555 grep -v '^ *+' conftest.er1 >conftest.err
38556 rm -f conftest.er1
38557 cat conftest.err >&5
38558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38559 (exit $ac_status); } &&
38560 { ac_try='test -z "$ac_c_werror_flag"
38561 || test ! -s conftest.err'
38562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38563 (eval $ac_try) 2>&5
38564 ac_status=$?
38565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38566 (exit $ac_status); }; } &&
38567 { ac_try='test -s conftest$ac_exeext'
38568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38569 (eval $ac_try) 2>&5
38570 ac_status=$?
38571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38572 (exit $ac_status); }; }; then
38573 ac_cv_func_localtime_r=yes
38574 else
38575 echo "$as_me: failed program was:" >&5
38576 sed 's/^/| /' conftest.$ac_ext >&5
38577
38578 ac_cv_func_localtime_r=no
38579 fi
38580 rm -f conftest.err conftest.$ac_objext \
38581 conftest$ac_exeext conftest.$ac_ext
38582 fi
38583 echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
38584 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6
38585 if test $ac_cv_func_localtime_r = yes; then
38586 cat >>confdefs.h <<\_ACEOF
38587 #define HAVE_LOCALTIME_R 1
38588 _ACEOF
38589
38590 fi
38591
38592 echo "$as_me:$LINENO: checking for gmtime_r" >&5
38593 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6
38594 if test "${ac_cv_func_gmtime_r+set}" = set; then
38595 echo $ECHO_N "(cached) $ECHO_C" >&6
38596 else
38597 cat >conftest.$ac_ext <<_ACEOF
38598 /* confdefs.h. */
38599 _ACEOF
38600 cat confdefs.h >>conftest.$ac_ext
38601 cat >>conftest.$ac_ext <<_ACEOF
38602 /* end confdefs.h. */
38603 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
38604 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38605 #define gmtime_r innocuous_gmtime_r
38606
38607 /* System header to define __stub macros and hopefully few prototypes,
38608 which can conflict with char gmtime_r (); below.
38609 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38610 <limits.h> exists even on freestanding compilers. */
38611
38612 #ifdef __STDC__
38613 # include <limits.h>
38614 #else
38615 # include <assert.h>
38616 #endif
38617
38618 #undef gmtime_r
38619
38620 /* Override any gcc2 internal prototype to avoid an error. */
38621 #ifdef __cplusplus
38622 extern "C"
38623 {
38624 #endif
38625 /* We use char because int might match the return type of a gcc2
38626 builtin and then its argument prototype would still apply. */
38627 char gmtime_r ();
38628 /* The GNU C library defines this for functions which it implements
38629 to always fail with ENOSYS. Some functions are actually named
38630 something starting with __ and the normal name is an alias. */
38631 #if defined (__stub_gmtime_r) || defined (__stub___gmtime_r)
38632 choke me
38633 #else
38634 char (*f) () = gmtime_r;
38635 #endif
38636 #ifdef __cplusplus
38637 }
38638 #endif
38639
38640 int
38641 main ()
38642 {
38643 return f != gmtime_r;
38644 ;
38645 return 0;
38646 }
38647 _ACEOF
38648 rm -f conftest.$ac_objext conftest$ac_exeext
38649 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38650 (eval $ac_link) 2>conftest.er1
38651 ac_status=$?
38652 grep -v '^ *+' conftest.er1 >conftest.err
38653 rm -f conftest.er1
38654 cat conftest.err >&5
38655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38656 (exit $ac_status); } &&
38657 { ac_try='test -z "$ac_c_werror_flag"
38658 || test ! -s conftest.err'
38659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38660 (eval $ac_try) 2>&5
38661 ac_status=$?
38662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38663 (exit $ac_status); }; } &&
38664 { ac_try='test -s conftest$ac_exeext'
38665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38666 (eval $ac_try) 2>&5
38667 ac_status=$?
38668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38669 (exit $ac_status); }; }; then
38670 ac_cv_func_gmtime_r=yes
38671 else
38672 echo "$as_me: failed program was:" >&5
38673 sed 's/^/| /' conftest.$ac_ext >&5
38674
38675 ac_cv_func_gmtime_r=no
38676 fi
38677 rm -f conftest.err conftest.$ac_objext \
38678 conftest$ac_exeext conftest.$ac_ext
38679 fi
38680 echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
38681 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6
38682 if test $ac_cv_func_gmtime_r = yes; then
38683 cat >>confdefs.h <<\_ACEOF
38684 #define HAVE_GMTIME_R 1
38685 _ACEOF
38686
38687 fi
38688
38689 echo "$as_me:$LINENO: checking for readdir_r" >&5
38690 echo $ECHO_N "checking for readdir_r... $ECHO_C" >&6
38691 if test "${ac_cv_func_readdir_r+set}" = set; then
38692 echo $ECHO_N "(cached) $ECHO_C" >&6
38693 else
38694 cat >conftest.$ac_ext <<_ACEOF
38695 /* confdefs.h. */
38696 _ACEOF
38697 cat confdefs.h >>conftest.$ac_ext
38698 cat >>conftest.$ac_ext <<_ACEOF
38699 /* end confdefs.h. */
38700 /* Define readdir_r to an innocuous variant, in case <limits.h> declares readdir_r.
38701 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38702 #define readdir_r innocuous_readdir_r
38703
38704 /* System header to define __stub macros and hopefully few prototypes,
38705 which can conflict with char readdir_r (); below.
38706 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38707 <limits.h> exists even on freestanding compilers. */
38708
38709 #ifdef __STDC__
38710 # include <limits.h>
38711 #else
38712 # include <assert.h>
38713 #endif
38714
38715 #undef readdir_r
38716
38717 /* Override any gcc2 internal prototype to avoid an error. */
38718 #ifdef __cplusplus
38719 extern "C"
38720 {
38721 #endif
38722 /* We use char because int might match the return type of a gcc2
38723 builtin and then its argument prototype would still apply. */
38724 char readdir_r ();
38725 /* The GNU C library defines this for functions which it implements
38726 to always fail with ENOSYS. Some functions are actually named
38727 something starting with __ and the normal name is an alias. */
38728 #if defined (__stub_readdir_r) || defined (__stub___readdir_r)
38729 choke me
38730 #else
38731 char (*f) () = readdir_r;
38732 #endif
38733 #ifdef __cplusplus
38734 }
38735 #endif
38736
38737 int
38738 main ()
38739 {
38740 return f != readdir_r;
38741 ;
38742 return 0;
38743 }
38744 _ACEOF
38745 rm -f conftest.$ac_objext conftest$ac_exeext
38746 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38747 (eval $ac_link) 2>conftest.er1
38748 ac_status=$?
38749 grep -v '^ *+' conftest.er1 >conftest.err
38750 rm -f conftest.er1
38751 cat conftest.err >&5
38752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38753 (exit $ac_status); } &&
38754 { ac_try='test -z "$ac_c_werror_flag"
38755 || test ! -s conftest.err'
38756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38757 (eval $ac_try) 2>&5
38758 ac_status=$?
38759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38760 (exit $ac_status); }; } &&
38761 { ac_try='test -s conftest$ac_exeext'
38762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38763 (eval $ac_try) 2>&5
38764 ac_status=$?
38765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38766 (exit $ac_status); }; }; then
38767 ac_cv_func_readdir_r=yes
38768 else
38769 echo "$as_me: failed program was:" >&5
38770 sed 's/^/| /' conftest.$ac_ext >&5
38771
38772 ac_cv_func_readdir_r=no
38773 fi
38774 rm -f conftest.err conftest.$ac_objext \
38775 conftest$ac_exeext conftest.$ac_ext
38776 fi
38777 echo "$as_me:$LINENO: result: $ac_cv_func_readdir_r" >&5
38778 echo "${ECHO_T}$ac_cv_func_readdir_r" >&6
38779 if test $ac_cv_func_readdir_r = yes; then
38780 cat >>confdefs.h <<\_ACEOF
38781 #define HAVE_READDIR_R 1
38782 _ACEOF
38783
38784 fi
38785
38786
38787 ac_ext=cc
38788 ac_cpp='$CXXCPP $CPPFLAGS'
38789 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38790 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38791 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38792
38793
38794
38795 ac_ext=c
38796 ac_cpp='$CPP $CPPFLAGS'
38797 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38798 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38799 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38800
38801 echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
38802 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6
38803
38804 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
38805 echo $ECHO_N "(cached) $ECHO_C" >&6
38806 else
38807
38808
38809 ################################################################
38810
38811 ac_cv_func_which_gethostbyname_r=unknown
38812
38813 #
38814 # ONE ARGUMENT (sanity check)
38815 #
38816
38817 # This should fail, as there is no variant of gethostbyname_r() that takes
38818 # a single argument. If it actually compiles, then we can assume that
38819 # netdb.h is not declaring the function, and the compiler is thereby
38820 # assuming an implicit prototype. In which case, we're out of luck.
38821 #
38822 cat >conftest.$ac_ext <<_ACEOF
38823 /* confdefs.h. */
38824 _ACEOF
38825 cat confdefs.h >>conftest.$ac_ext
38826 cat >>conftest.$ac_ext <<_ACEOF
38827 /* end confdefs.h. */
38828 #include <netdb.h>
38829 int
38830 main ()
38831 {
38832
38833 char *name = "www.gnu.org";
38834 (void)gethostbyname_r(name) /* ; */
38835
38836 ;
38837 return 0;
38838 }
38839 _ACEOF
38840 rm -f conftest.$ac_objext
38841 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38842 (eval $ac_compile) 2>conftest.er1
38843 ac_status=$?
38844 grep -v '^ *+' conftest.er1 >conftest.err
38845 rm -f conftest.er1
38846 cat conftest.err >&5
38847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38848 (exit $ac_status); } &&
38849 { ac_try='test -z "$ac_c_werror_flag"
38850 || test ! -s conftest.err'
38851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38852 (eval $ac_try) 2>&5
38853 ac_status=$?
38854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38855 (exit $ac_status); }; } &&
38856 { ac_try='test -s conftest.$ac_objext'
38857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38858 (eval $ac_try) 2>&5
38859 ac_status=$?
38860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38861 (exit $ac_status); }; }; then
38862 ac_cv_func_which_gethostbyname_r=no
38863 else
38864 echo "$as_me: failed program was:" >&5
38865 sed 's/^/| /' conftest.$ac_ext >&5
38866
38867 fi
38868 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38869
38870 #
38871 # SIX ARGUMENTS
38872 # (e.g. Linux)
38873 #
38874
38875 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
38876
38877 cat >conftest.$ac_ext <<_ACEOF
38878 /* confdefs.h. */
38879 _ACEOF
38880 cat confdefs.h >>conftest.$ac_ext
38881 cat >>conftest.$ac_ext <<_ACEOF
38882 /* end confdefs.h. */
38883 #include <netdb.h>
38884 int
38885 main ()
38886 {
38887
38888 char *name = "www.gnu.org";
38889 struct hostent ret, *retp;
38890 char buf[1024];
38891 int buflen = 1024;
38892 int my_h_errno;
38893 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
38894
38895 ;
38896 return 0;
38897 }
38898 _ACEOF
38899 rm -f conftest.$ac_objext
38900 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38901 (eval $ac_compile) 2>conftest.er1
38902 ac_status=$?
38903 grep -v '^ *+' conftest.er1 >conftest.err
38904 rm -f conftest.er1
38905 cat conftest.err >&5
38906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38907 (exit $ac_status); } &&
38908 { ac_try='test -z "$ac_c_werror_flag"
38909 || test ! -s conftest.err'
38910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38911 (eval $ac_try) 2>&5
38912 ac_status=$?
38913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38914 (exit $ac_status); }; } &&
38915 { ac_try='test -s conftest.$ac_objext'
38916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38917 (eval $ac_try) 2>&5
38918 ac_status=$?
38919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38920 (exit $ac_status); }; }; then
38921 ac_cv_func_which_gethostbyname_r=six
38922 else
38923 echo "$as_me: failed program was:" >&5
38924 sed 's/^/| /' conftest.$ac_ext >&5
38925
38926 fi
38927 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38928
38929 fi
38930
38931 #
38932 # FIVE ARGUMENTS
38933 # (e.g. Solaris)
38934 #
38935
38936 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
38937
38938 cat >conftest.$ac_ext <<_ACEOF
38939 /* confdefs.h. */
38940 _ACEOF
38941 cat confdefs.h >>conftest.$ac_ext
38942 cat >>conftest.$ac_ext <<_ACEOF
38943 /* end confdefs.h. */
38944 #include <netdb.h>
38945 int
38946 main ()
38947 {
38948
38949 char *name = "www.gnu.org";
38950 struct hostent ret;
38951 char buf[1024];
38952 int buflen = 1024;
38953 int my_h_errno;
38954 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
38955
38956 ;
38957 return 0;
38958 }
38959 _ACEOF
38960 rm -f conftest.$ac_objext
38961 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38962 (eval $ac_compile) 2>conftest.er1
38963 ac_status=$?
38964 grep -v '^ *+' conftest.er1 >conftest.err
38965 rm -f conftest.er1
38966 cat conftest.err >&5
38967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38968 (exit $ac_status); } &&
38969 { ac_try='test -z "$ac_c_werror_flag"
38970 || test ! -s conftest.err'
38971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38972 (eval $ac_try) 2>&5
38973 ac_status=$?
38974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38975 (exit $ac_status); }; } &&
38976 { ac_try='test -s conftest.$ac_objext'
38977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38978 (eval $ac_try) 2>&5
38979 ac_status=$?
38980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38981 (exit $ac_status); }; }; then
38982 ac_cv_func_which_gethostbyname_r=five
38983 else
38984 echo "$as_me: failed program was:" >&5
38985 sed 's/^/| /' conftest.$ac_ext >&5
38986
38987 fi
38988 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38989
38990 fi
38991
38992 #
38993 # THREE ARGUMENTS
38994 # (e.g. AIX, HP-UX, Tru64)
38995 #
38996
38997 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
38998
38999 cat >conftest.$ac_ext <<_ACEOF
39000 /* confdefs.h. */
39001 _ACEOF
39002 cat confdefs.h >>conftest.$ac_ext
39003 cat >>conftest.$ac_ext <<_ACEOF
39004 /* end confdefs.h. */
39005 #include <netdb.h>
39006 int
39007 main ()
39008 {
39009
39010 char *name = "www.gnu.org";
39011 struct hostent ret;
39012 struct hostent_data data;
39013 (void)gethostbyname_r(name, &ret, &data) /* ; */
39014
39015 ;
39016 return 0;
39017 }
39018 _ACEOF
39019 rm -f conftest.$ac_objext
39020 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39021 (eval $ac_compile) 2>conftest.er1
39022 ac_status=$?
39023 grep -v '^ *+' conftest.er1 >conftest.err
39024 rm -f conftest.er1
39025 cat conftest.err >&5
39026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39027 (exit $ac_status); } &&
39028 { ac_try='test -z "$ac_c_werror_flag"
39029 || test ! -s conftest.err'
39030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39031 (eval $ac_try) 2>&5
39032 ac_status=$?
39033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39034 (exit $ac_status); }; } &&
39035 { ac_try='test -s conftest.$ac_objext'
39036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39037 (eval $ac_try) 2>&5
39038 ac_status=$?
39039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39040 (exit $ac_status); }; }; then
39041 ac_cv_func_which_gethostbyname_r=three
39042 else
39043 echo "$as_me: failed program was:" >&5
39044 sed 's/^/| /' conftest.$ac_ext >&5
39045
39046 fi
39047 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39048
39049 fi
39050
39051 ################################################################
39052
39053
39054 fi
39055
39056 case "$ac_cv_func_which_gethostbyname_r" in
39057 three)
39058 echo "$as_me:$LINENO: result: three" >&5
39059 echo "${ECHO_T}three" >&6
39060 cat >>confdefs.h <<\_ACEOF
39061 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
39062 _ACEOF
39063
39064 ;;
39065
39066 five)
39067 echo "$as_me:$LINENO: result: five" >&5
39068 echo "${ECHO_T}five" >&6
39069 cat >>confdefs.h <<\_ACEOF
39070 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
39071 _ACEOF
39072
39073 ;;
39074
39075 six)
39076 echo "$as_me:$LINENO: result: six" >&5
39077 echo "${ECHO_T}six" >&6
39078 cat >>confdefs.h <<\_ACEOF
39079 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
39080 _ACEOF
39081
39082 ;;
39083
39084 no)
39085 echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
39086 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6
39087 ;;
39088
39089 unknown)
39090 echo "$as_me:$LINENO: result: can't tell" >&5
39091 echo "${ECHO_T}can't tell" >&6
39092 ;;
39093
39094 *)
39095 { { echo "$as_me:$LINENO: error: internal error" >&5
39096 echo "$as_me: error: internal error" >&2;}
39097 { (exit 1); exit 1; }; }
39098 ;;
39099 esac
39100
39101 ac_ext=cc
39102 ac_cpp='$CXXCPP $CPPFLAGS'
39103 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39104 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39105 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39106
39107
39108
39109 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
39110 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
39111 echo "$as_me:$LINENO: checking for gethostbyname" >&5
39112 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
39113 if test "${ac_cv_func_gethostbyname+set}" = set; then
39114 echo $ECHO_N "(cached) $ECHO_C" >&6
39115 else
39116 cat >conftest.$ac_ext <<_ACEOF
39117 /* confdefs.h. */
39118 _ACEOF
39119 cat confdefs.h >>conftest.$ac_ext
39120 cat >>conftest.$ac_ext <<_ACEOF
39121 /* end confdefs.h. */
39122 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
39123 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39124 #define gethostbyname innocuous_gethostbyname
39125
39126 /* System header to define __stub macros and hopefully few prototypes,
39127 which can conflict with char gethostbyname (); below.
39128 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39129 <limits.h> exists even on freestanding compilers. */
39130
39131 #ifdef __STDC__
39132 # include <limits.h>
39133 #else
39134 # include <assert.h>
39135 #endif
39136
39137 #undef gethostbyname
39138
39139 /* Override any gcc2 internal prototype to avoid an error. */
39140 #ifdef __cplusplus
39141 extern "C"
39142 {
39143 #endif
39144 /* We use char because int might match the return type of a gcc2
39145 builtin and then its argument prototype would still apply. */
39146 char gethostbyname ();
39147 /* The GNU C library defines this for functions which it implements
39148 to always fail with ENOSYS. Some functions are actually named
39149 something starting with __ and the normal name is an alias. */
39150 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
39151 choke me
39152 #else
39153 char (*f) () = gethostbyname;
39154 #endif
39155 #ifdef __cplusplus
39156 }
39157 #endif
39158
39159 int
39160 main ()
39161 {
39162 return f != gethostbyname;
39163 ;
39164 return 0;
39165 }
39166 _ACEOF
39167 rm -f conftest.$ac_objext conftest$ac_exeext
39168 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39169 (eval $ac_link) 2>conftest.er1
39170 ac_status=$?
39171 grep -v '^ *+' conftest.er1 >conftest.err
39172 rm -f conftest.er1
39173 cat conftest.err >&5
39174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39175 (exit $ac_status); } &&
39176 { ac_try='test -z "$ac_cxx_werror_flag"
39177 || test ! -s conftest.err'
39178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39179 (eval $ac_try) 2>&5
39180 ac_status=$?
39181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39182 (exit $ac_status); }; } &&
39183 { ac_try='test -s conftest$ac_exeext'
39184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39185 (eval $ac_try) 2>&5
39186 ac_status=$?
39187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39188 (exit $ac_status); }; }; then
39189 ac_cv_func_gethostbyname=yes
39190 else
39191 echo "$as_me: failed program was:" >&5
39192 sed 's/^/| /' conftest.$ac_ext >&5
39193
39194 ac_cv_func_gethostbyname=no
39195 fi
39196 rm -f conftest.err conftest.$ac_objext \
39197 conftest$ac_exeext conftest.$ac_ext
39198 fi
39199 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
39200 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
39201 if test $ac_cv_func_gethostbyname = yes; then
39202 cat >>confdefs.h <<\_ACEOF
39203 #define HAVE_GETHOSTBYNAME 1
39204 _ACEOF
39205
39206 fi
39207
39208 fi
39209 echo "$as_me:$LINENO: checking for getservbyname_r" >&5
39210 echo $ECHO_N "checking for getservbyname_r... $ECHO_C" >&6
39211 if test "${ac_cv_func_getservbyname_r+set}" = set; then
39212 echo $ECHO_N "(cached) $ECHO_C" >&6
39213 else
39214 cat >conftest.$ac_ext <<_ACEOF
39215 /* confdefs.h. */
39216 _ACEOF
39217 cat confdefs.h >>conftest.$ac_ext
39218 cat >>conftest.$ac_ext <<_ACEOF
39219 /* end confdefs.h. */
39220 /* Define getservbyname_r to an innocuous variant, in case <limits.h> declares getservbyname_r.
39221 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39222 #define getservbyname_r innocuous_getservbyname_r
39223
39224 /* System header to define __stub macros and hopefully few prototypes,
39225 which can conflict with char getservbyname_r (); below.
39226 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39227 <limits.h> exists even on freestanding compilers. */
39228
39229 #ifdef __STDC__
39230 # include <limits.h>
39231 #else
39232 # include <assert.h>
39233 #endif
39234
39235 #undef getservbyname_r
39236
39237 /* Override any gcc2 internal prototype to avoid an error. */
39238 #ifdef __cplusplus
39239 extern "C"
39240 {
39241 #endif
39242 /* We use char because int might match the return type of a gcc2
39243 builtin and then its argument prototype would still apply. */
39244 char getservbyname_r ();
39245 /* The GNU C library defines this for functions which it implements
39246 to always fail with ENOSYS. Some functions are actually named
39247 something starting with __ and the normal name is an alias. */
39248 #if defined (__stub_getservbyname_r) || defined (__stub___getservbyname_r)
39249 choke me
39250 #else
39251 char (*f) () = getservbyname_r;
39252 #endif
39253 #ifdef __cplusplus
39254 }
39255 #endif
39256
39257 int
39258 main ()
39259 {
39260 return f != getservbyname_r;
39261 ;
39262 return 0;
39263 }
39264 _ACEOF
39265 rm -f conftest.$ac_objext conftest$ac_exeext
39266 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39267 (eval $ac_link) 2>conftest.er1
39268 ac_status=$?
39269 grep -v '^ *+' conftest.er1 >conftest.err
39270 rm -f conftest.er1
39271 cat conftest.err >&5
39272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39273 (exit $ac_status); } &&
39274 { ac_try='test -z "$ac_cxx_werror_flag"
39275 || test ! -s conftest.err'
39276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39277 (eval $ac_try) 2>&5
39278 ac_status=$?
39279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39280 (exit $ac_status); }; } &&
39281 { ac_try='test -s conftest$ac_exeext'
39282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39283 (eval $ac_try) 2>&5
39284 ac_status=$?
39285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39286 (exit $ac_status); }; }; then
39287 ac_cv_func_getservbyname_r=yes
39288 else
39289 echo "$as_me: failed program was:" >&5
39290 sed 's/^/| /' conftest.$ac_ext >&5
39291
39292 ac_cv_func_getservbyname_r=no
39293 fi
39294 rm -f conftest.err conftest.$ac_objext \
39295 conftest$ac_exeext conftest.$ac_ext
39296 fi
39297 echo "$as_me:$LINENO: result: $ac_cv_func_getservbyname_r" >&5
39298 echo "${ECHO_T}$ac_cv_func_getservbyname_r" >&6
39299 if test $ac_cv_func_getservbyname_r = yes; then
39300 cat >conftest.$ac_ext <<_ACEOF
39301 /* confdefs.h. */
39302 _ACEOF
39303 cat confdefs.h >>conftest.$ac_ext
39304 cat >>conftest.$ac_ext <<_ACEOF
39305 /* end confdefs.h. */
39306 #include <netdb.h>
39307 int
39308 main ()
39309 {
39310
39311 char *name;
39312 char *proto;
39313 struct servent *se;
39314 struct servent_data data;
39315 (void) getservbyname_r(name, proto, se, &data);
39316
39317 ;
39318 return 0;
39319 }
39320 _ACEOF
39321 rm -f conftest.$ac_objext
39322 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39323 (eval $ac_compile) 2>conftest.er1
39324 ac_status=$?
39325 grep -v '^ *+' conftest.er1 >conftest.err
39326 rm -f conftest.er1
39327 cat conftest.err >&5
39328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39329 (exit $ac_status); } &&
39330 { ac_try='test -z "$ac_cxx_werror_flag"
39331 || test ! -s conftest.err'
39332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39333 (eval $ac_try) 2>&5
39334 ac_status=$?
39335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39336 (exit $ac_status); }; } &&
39337 { ac_try='test -s conftest.$ac_objext'
39338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39339 (eval $ac_try) 2>&5
39340 ac_status=$?
39341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39342 (exit $ac_status); }; }; then
39343 ac_cv_func_which_getservbyname_r=four
39344 else
39345 echo "$as_me: failed program was:" >&5
39346 sed 's/^/| /' conftest.$ac_ext >&5
39347
39348 cat >conftest.$ac_ext <<_ACEOF
39349 /* confdefs.h. */
39350 _ACEOF
39351 cat confdefs.h >>conftest.$ac_ext
39352 cat >>conftest.$ac_ext <<_ACEOF
39353 /* end confdefs.h. */
39354 #include <netdb.h>
39355 int
39356 main ()
39357 {
39358
39359 char *name;
39360 char *proto;
39361 struct servent *se, *res;
39362 char buffer[2048];
39363 int buflen = 2048;
39364 (void) getservbyname_r(name, proto, se, buffer, buflen, &res);
39365
39366 ;
39367 return 0;
39368 }
39369 _ACEOF
39370 rm -f conftest.$ac_objext
39371 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39372 (eval $ac_compile) 2>conftest.er1
39373 ac_status=$?
39374 grep -v '^ *+' conftest.er1 >conftest.err
39375 rm -f conftest.er1
39376 cat conftest.err >&5
39377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39378 (exit $ac_status); } &&
39379 { ac_try='test -z "$ac_cxx_werror_flag"
39380 || test ! -s conftest.err'
39381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39382 (eval $ac_try) 2>&5
39383 ac_status=$?
39384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39385 (exit $ac_status); }; } &&
39386 { ac_try='test -s conftest.$ac_objext'
39387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39388 (eval $ac_try) 2>&5
39389 ac_status=$?
39390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39391 (exit $ac_status); }; }; then
39392 ac_cv_func_which_getservbyname_r=six
39393 else
39394 echo "$as_me: failed program was:" >&5
39395 sed 's/^/| /' conftest.$ac_ext >&5
39396
39397 cat >conftest.$ac_ext <<_ACEOF
39398 /* confdefs.h. */
39399 _ACEOF
39400 cat confdefs.h >>conftest.$ac_ext
39401 cat >>conftest.$ac_ext <<_ACEOF
39402 /* end confdefs.h. */
39403 #include <netdb.h>
39404 int
39405 main ()
39406 {
39407
39408 char *name;
39409 char *proto;
39410 struct servent *se;
39411 char buffer[2048];
39412 int buflen = 2048;
39413 (void) getservbyname_r(name, proto, se, buffer, buflen)
39414
39415 ;
39416 return 0;
39417 }
39418 _ACEOF
39419 rm -f conftest.$ac_objext
39420 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39421 (eval $ac_compile) 2>conftest.er1
39422 ac_status=$?
39423 grep -v '^ *+' conftest.er1 >conftest.err
39424 rm -f conftest.er1
39425 cat conftest.err >&5
39426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39427 (exit $ac_status); } &&
39428 { ac_try='test -z "$ac_cxx_werror_flag"
39429 || test ! -s conftest.err'
39430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39431 (eval $ac_try) 2>&5
39432 ac_status=$?
39433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39434 (exit $ac_status); }; } &&
39435 { ac_try='test -s conftest.$ac_objext'
39436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39437 (eval $ac_try) 2>&5
39438 ac_status=$?
39439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39440 (exit $ac_status); }; }; then
39441 ac_cv_func_which_getservbyname_r=five
39442 else
39443 echo "$as_me: failed program was:" >&5
39444 sed 's/^/| /' conftest.$ac_ext >&5
39445
39446 ac_cv_func_which_getservbyname_r=no
39447
39448 fi
39449 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39450
39451 fi
39452 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39453
39454 fi
39455 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39456 else
39457 ac_cv_func_which_getservbyname_r=no
39458 fi
39459
39460
39461 if test $ac_cv_func_which_getservbyname_r = six; then
39462 cat >>confdefs.h <<\_ACEOF
39463 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
39464 _ACEOF
39465
39466 elif test $ac_cv_func_which_getservbyname_r = five; then
39467 cat >>confdefs.h <<\_ACEOF
39468 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
39469 _ACEOF
39470
39471 elif test $ac_cv_func_which_getservbyname_r = four; then
39472 cat >>confdefs.h <<\_ACEOF
39473 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
39474 _ACEOF
39475
39476 fi
39477
39478
39479 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
39480 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
39481
39482 for ac_func in getservbyname
39483 do
39484 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39485 echo "$as_me:$LINENO: checking for $ac_func" >&5
39486 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39487 if eval "test \"\${$as_ac_var+set}\" = set"; then
39488 echo $ECHO_N "(cached) $ECHO_C" >&6
39489 else
39490 cat >conftest.$ac_ext <<_ACEOF
39491 /* confdefs.h. */
39492 _ACEOF
39493 cat confdefs.h >>conftest.$ac_ext
39494 cat >>conftest.$ac_ext <<_ACEOF
39495 /* end confdefs.h. */
39496 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39497 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39498 #define $ac_func innocuous_$ac_func
39499
39500 /* System header to define __stub macros and hopefully few prototypes,
39501 which can conflict with char $ac_func (); below.
39502 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39503 <limits.h> exists even on freestanding compilers. */
39504
39505 #ifdef __STDC__
39506 # include <limits.h>
39507 #else
39508 # include <assert.h>
39509 #endif
39510
39511 #undef $ac_func
39512
39513 /* Override any gcc2 internal prototype to avoid an error. */
39514 #ifdef __cplusplus
39515 extern "C"
39516 {
39517 #endif
39518 /* We use char because int might match the return type of a gcc2
39519 builtin and then its argument prototype would still apply. */
39520 char $ac_func ();
39521 /* The GNU C library defines this for functions which it implements
39522 to always fail with ENOSYS. Some functions are actually named
39523 something starting with __ and the normal name is an alias. */
39524 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39525 choke me
39526 #else
39527 char (*f) () = $ac_func;
39528 #endif
39529 #ifdef __cplusplus
39530 }
39531 #endif
39532
39533 int
39534 main ()
39535 {
39536 return f != $ac_func;
39537 ;
39538 return 0;
39539 }
39540 _ACEOF
39541 rm -f conftest.$ac_objext conftest$ac_exeext
39542 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39543 (eval $ac_link) 2>conftest.er1
39544 ac_status=$?
39545 grep -v '^ *+' conftest.er1 >conftest.err
39546 rm -f conftest.er1
39547 cat conftest.err >&5
39548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39549 (exit $ac_status); } &&
39550 { ac_try='test -z "$ac_cxx_werror_flag"
39551 || test ! -s conftest.err'
39552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39553 (eval $ac_try) 2>&5
39554 ac_status=$?
39555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39556 (exit $ac_status); }; } &&
39557 { ac_try='test -s conftest$ac_exeext'
39558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39559 (eval $ac_try) 2>&5
39560 ac_status=$?
39561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39562 (exit $ac_status); }; }; then
39563 eval "$as_ac_var=yes"
39564 else
39565 echo "$as_me: failed program was:" >&5
39566 sed 's/^/| /' conftest.$ac_ext >&5
39567
39568 eval "$as_ac_var=no"
39569 fi
39570 rm -f conftest.err conftest.$ac_objext \
39571 conftest$ac_exeext conftest.$ac_ext
39572 fi
39573 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39574 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39575 if test `eval echo '${'$as_ac_var'}'` = yes; then
39576 cat >>confdefs.h <<_ACEOF
39577 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39578 _ACEOF
39579 cat >>confdefs.h <<\_ACEOF
39580 #define HAVE_GETSERVBYNAME 1
39581 _ACEOF
39582
39583 fi
39584 done
39585
39586 fi
39587 ac_ext=c
39588 ac_cpp='$CPP $CPPFLAGS'
39589 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39590 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39591 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39592
39593
39594 if test "$wxUSE_THREADS" = "yes"; then
39595 cat >>confdefs.h <<\_ACEOF
39596 #define wxUSE_THREADS 1
39597 _ACEOF
39598
39599
39600 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
39601 else
39602 if test "$ac_cv_func_strtok_r" = "yes"; then
39603 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
39604 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
39605 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
39606 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
39607 echo "$as_me:$LINENO: result: yes" >&5
39608 echo "${ECHO_T}yes" >&6
39609 else
39610 echo "$as_me:$LINENO: result: no" >&5
39611 echo "${ECHO_T}no" >&6
39612 fi
39613 fi
39614 fi
39615
39616 if test "$WXGTK20" = 1 ; then
39617 cat >>confdefs.h <<_ACEOF
39618 #define __WXGTK20__ $WXGTK20
39619 _ACEOF
39620
39621 WXGTK12=1
39622 fi
39623
39624 if test "$WXGTK12" = 1 ; then
39625 cat >>confdefs.h <<_ACEOF
39626 #define __WXGTK12__ $WXGTK12
39627 _ACEOF
39628
39629 fi
39630
39631 if test "$WXGTK127" = 1 ; then
39632 cat >>confdefs.h <<_ACEOF
39633 #define __WXGTK127__ $WXGTK127
39634 _ACEOF
39635
39636 fi
39637
39638 if test "$WXGPE" = 1 ; then
39639 cat >>confdefs.h <<_ACEOF
39640 #define __WXGPE__ $WXGPE
39641 _ACEOF
39642
39643 fi
39644
39645 DEBUG_CFLAGS=
39646 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
39647 DEBUG_CFLAGS="-g"
39648 wxUSE_OPTIMISE=no
39649 fi
39650
39651 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
39652 wxUSE_DEBUG_INFO=yes
39653 if test "$GCC" = yes; then
39654 DEBUG_CFLAGS="-ggdb"
39655 fi
39656 fi
39657
39658 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
39659 cat >>confdefs.h <<\_ACEOF
39660 #define WXDEBUG 1
39661 _ACEOF
39662
39663 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
39664 else
39665 if test "$wxUSE_GTK" = 1 ; then
39666 if test "x$wxGTK_VERSION" = "x1" ; then
39667 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
39668 fi
39669 fi
39670 fi
39671
39672 if test "$wxUSE_MEM_TRACING" = "yes" ; then
39673 cat >>confdefs.h <<\_ACEOF
39674 #define wxUSE_MEMORY_TRACING 1
39675 _ACEOF
39676
39677 cat >>confdefs.h <<\_ACEOF
39678 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
39679 _ACEOF
39680
39681 cat >>confdefs.h <<\_ACEOF
39682 #define wxUSE_DEBUG_NEW_ALWAYS 1
39683 _ACEOF
39684
39685 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
39686 fi
39687
39688 if test "$wxUSE_DMALLOC" = "yes" ; then
39689 DMALLOC_LIBS="-ldmallocthcxx"
39690 fi
39691
39692 PROFILE_FLAGS=
39693 if test "$wxUSE_PROFILE" = "yes" ; then
39694 PROFILE_FLAGS=" -pg"
39695 fi
39696
39697 if test "$GCC" = "yes" ; then
39698 if test "$wxUSE_NO_RTTI" = "yes" ; then
39699 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-rtti"
39700 fi
39701 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
39702 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
39703 fi
39704 if test "$wxUSE_PERMISSIVE" = "yes" ; then
39705 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
39706 fi
39707
39708 case "${host}" in
39709 powerpc*-*-aix* )
39710 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
39711 ;;
39712 *-hppa* )
39713 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
39714 ;;
39715 esac
39716 fi
39717
39718 OPTIMISE_CFLAGS=
39719 if test "$wxUSE_OPTIMISE" = "no" ; then
39720 if test "$GCC" = yes ; then
39721 OPTIMISE_CFLAGS="-O0"
39722 fi
39723 else
39724 if test "$GCC" = yes ; then
39725 case "${host}" in
39726 *-pc-os2_emx | *-pc-os2-emx )
39727 OPTIMISE_CFLAGS="-O2"
39728 ;;
39729 *)
39730 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
39731 ;;
39732 esac
39733 else
39734 OPTIMISE_CFLAGS="-O"
39735 fi
39736 fi
39737
39738
39739 if test "x$WXWIN_COMPATIBILITY_2_4" = "xyes"; then
39740 cat >>confdefs.h <<\_ACEOF
39741 #define WXWIN_COMPATIBILITY_2_4 1
39742 _ACEOF
39743
39744
39745 WXWIN_COMPATIBILITY_2_6="yes"
39746 fi
39747
39748 if test "x$WXWIN_COMPATIBILITY_2_6" != "xno"; then
39749 cat >>confdefs.h <<\_ACEOF
39750 #define WXWIN_COMPATIBILITY_2_6 1
39751 _ACEOF
39752
39753 fi
39754
39755
39756 if test "$wxUSE_GUI" = "yes"; then
39757 cat >>confdefs.h <<\_ACEOF
39758 #define wxUSE_GUI 1
39759 _ACEOF
39760
39761
39762 fi
39763
39764
39765 if test "$wxUSE_UNIX" = "yes"; then
39766 cat >>confdefs.h <<\_ACEOF
39767 #define wxUSE_UNIX 1
39768 _ACEOF
39769
39770 fi
39771
39772
39773 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
39774
39775 HAVE_DL_FUNCS=0
39776 HAVE_SHL_FUNCS=0
39777 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
39778 if test "$USE_DARWIN" = 1; then
39779 HAVE_DL_FUNCS=1
39780 elif test "$USE_DOS" = 1; then
39781 HAVE_DL_FUNCS=0
39782 else
39783
39784 for ac_func in dlopen
39785 do
39786 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39787 echo "$as_me:$LINENO: checking for $ac_func" >&5
39788 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39789 if eval "test \"\${$as_ac_var+set}\" = set"; then
39790 echo $ECHO_N "(cached) $ECHO_C" >&6
39791 else
39792 cat >conftest.$ac_ext <<_ACEOF
39793 /* confdefs.h. */
39794 _ACEOF
39795 cat confdefs.h >>conftest.$ac_ext
39796 cat >>conftest.$ac_ext <<_ACEOF
39797 /* end confdefs.h. */
39798 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39799 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39800 #define $ac_func innocuous_$ac_func
39801
39802 /* System header to define __stub macros and hopefully few prototypes,
39803 which can conflict with char $ac_func (); below.
39804 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39805 <limits.h> exists even on freestanding compilers. */
39806
39807 #ifdef __STDC__
39808 # include <limits.h>
39809 #else
39810 # include <assert.h>
39811 #endif
39812
39813 #undef $ac_func
39814
39815 /* Override any gcc2 internal prototype to avoid an error. */
39816 #ifdef __cplusplus
39817 extern "C"
39818 {
39819 #endif
39820 /* We use char because int might match the return type of a gcc2
39821 builtin and then its argument prototype would still apply. */
39822 char $ac_func ();
39823 /* The GNU C library defines this for functions which it implements
39824 to always fail with ENOSYS. Some functions are actually named
39825 something starting with __ and the normal name is an alias. */
39826 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39827 choke me
39828 #else
39829 char (*f) () = $ac_func;
39830 #endif
39831 #ifdef __cplusplus
39832 }
39833 #endif
39834
39835 int
39836 main ()
39837 {
39838 return f != $ac_func;
39839 ;
39840 return 0;
39841 }
39842 _ACEOF
39843 rm -f conftest.$ac_objext conftest$ac_exeext
39844 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39845 (eval $ac_link) 2>conftest.er1
39846 ac_status=$?
39847 grep -v '^ *+' conftest.er1 >conftest.err
39848 rm -f conftest.er1
39849 cat conftest.err >&5
39850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39851 (exit $ac_status); } &&
39852 { ac_try='test -z "$ac_c_werror_flag"
39853 || test ! -s conftest.err'
39854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39855 (eval $ac_try) 2>&5
39856 ac_status=$?
39857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39858 (exit $ac_status); }; } &&
39859 { ac_try='test -s conftest$ac_exeext'
39860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39861 (eval $ac_try) 2>&5
39862 ac_status=$?
39863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39864 (exit $ac_status); }; }; then
39865 eval "$as_ac_var=yes"
39866 else
39867 echo "$as_me: failed program was:" >&5
39868 sed 's/^/| /' conftest.$ac_ext >&5
39869
39870 eval "$as_ac_var=no"
39871 fi
39872 rm -f conftest.err conftest.$ac_objext \
39873 conftest$ac_exeext conftest.$ac_ext
39874 fi
39875 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39876 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39877 if test `eval echo '${'$as_ac_var'}'` = yes; then
39878 cat >>confdefs.h <<_ACEOF
39879 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39880 _ACEOF
39881
39882 cat >>confdefs.h <<\_ACEOF
39883 #define HAVE_DLOPEN 1
39884 _ACEOF
39885
39886 HAVE_DL_FUNCS=1
39887
39888 else
39889
39890 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
39891 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
39892 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
39893 echo $ECHO_N "(cached) $ECHO_C" >&6
39894 else
39895 ac_check_lib_save_LIBS=$LIBS
39896 LIBS="-ldl $LIBS"
39897 cat >conftest.$ac_ext <<_ACEOF
39898 /* confdefs.h. */
39899 _ACEOF
39900 cat confdefs.h >>conftest.$ac_ext
39901 cat >>conftest.$ac_ext <<_ACEOF
39902 /* end confdefs.h. */
39903
39904 /* Override any gcc2 internal prototype to avoid an error. */
39905 #ifdef __cplusplus
39906 extern "C"
39907 #endif
39908 /* We use char because int might match the return type of a gcc2
39909 builtin and then its argument prototype would still apply. */
39910 char dlopen ();
39911 int
39912 main ()
39913 {
39914 dlopen ();
39915 ;
39916 return 0;
39917 }
39918 _ACEOF
39919 rm -f conftest.$ac_objext conftest$ac_exeext
39920 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39921 (eval $ac_link) 2>conftest.er1
39922 ac_status=$?
39923 grep -v '^ *+' conftest.er1 >conftest.err
39924 rm -f conftest.er1
39925 cat conftest.err >&5
39926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39927 (exit $ac_status); } &&
39928 { ac_try='test -z "$ac_c_werror_flag"
39929 || test ! -s conftest.err'
39930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39931 (eval $ac_try) 2>&5
39932 ac_status=$?
39933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39934 (exit $ac_status); }; } &&
39935 { ac_try='test -s conftest$ac_exeext'
39936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39937 (eval $ac_try) 2>&5
39938 ac_status=$?
39939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39940 (exit $ac_status); }; }; then
39941 ac_cv_lib_dl_dlopen=yes
39942 else
39943 echo "$as_me: failed program was:" >&5
39944 sed 's/^/| /' conftest.$ac_ext >&5
39945
39946 ac_cv_lib_dl_dlopen=no
39947 fi
39948 rm -f conftest.err conftest.$ac_objext \
39949 conftest$ac_exeext conftest.$ac_ext
39950 LIBS=$ac_check_lib_save_LIBS
39951 fi
39952 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
39953 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
39954 if test $ac_cv_lib_dl_dlopen = yes; then
39955
39956 cat >>confdefs.h <<\_ACEOF
39957 #define HAVE_DLOPEN 1
39958 _ACEOF
39959
39960 HAVE_DL_FUNCS=1
39961 DL_LINK=" -ldl$DL_LINK"
39962
39963 else
39964
39965
39966 for ac_func in shl_load
39967 do
39968 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39969 echo "$as_me:$LINENO: checking for $ac_func" >&5
39970 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39971 if eval "test \"\${$as_ac_var+set}\" = set"; then
39972 echo $ECHO_N "(cached) $ECHO_C" >&6
39973 else
39974 cat >conftest.$ac_ext <<_ACEOF
39975 /* confdefs.h. */
39976 _ACEOF
39977 cat confdefs.h >>conftest.$ac_ext
39978 cat >>conftest.$ac_ext <<_ACEOF
39979 /* end confdefs.h. */
39980 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39981 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39982 #define $ac_func innocuous_$ac_func
39983
39984 /* System header to define __stub macros and hopefully few prototypes,
39985 which can conflict with char $ac_func (); below.
39986 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39987 <limits.h> exists even on freestanding compilers. */
39988
39989 #ifdef __STDC__
39990 # include <limits.h>
39991 #else
39992 # include <assert.h>
39993 #endif
39994
39995 #undef $ac_func
39996
39997 /* Override any gcc2 internal prototype to avoid an error. */
39998 #ifdef __cplusplus
39999 extern "C"
40000 {
40001 #endif
40002 /* We use char because int might match the return type of a gcc2
40003 builtin and then its argument prototype would still apply. */
40004 char $ac_func ();
40005 /* The GNU C library defines this for functions which it implements
40006 to always fail with ENOSYS. Some functions are actually named
40007 something starting with __ and the normal name is an alias. */
40008 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40009 choke me
40010 #else
40011 char (*f) () = $ac_func;
40012 #endif
40013 #ifdef __cplusplus
40014 }
40015 #endif
40016
40017 int
40018 main ()
40019 {
40020 return f != $ac_func;
40021 ;
40022 return 0;
40023 }
40024 _ACEOF
40025 rm -f conftest.$ac_objext conftest$ac_exeext
40026 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40027 (eval $ac_link) 2>conftest.er1
40028 ac_status=$?
40029 grep -v '^ *+' conftest.er1 >conftest.err
40030 rm -f conftest.er1
40031 cat conftest.err >&5
40032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40033 (exit $ac_status); } &&
40034 { ac_try='test -z "$ac_c_werror_flag"
40035 || test ! -s conftest.err'
40036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40037 (eval $ac_try) 2>&5
40038 ac_status=$?
40039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40040 (exit $ac_status); }; } &&
40041 { ac_try='test -s conftest$ac_exeext'
40042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40043 (eval $ac_try) 2>&5
40044 ac_status=$?
40045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40046 (exit $ac_status); }; }; then
40047 eval "$as_ac_var=yes"
40048 else
40049 echo "$as_me: failed program was:" >&5
40050 sed 's/^/| /' conftest.$ac_ext >&5
40051
40052 eval "$as_ac_var=no"
40053 fi
40054 rm -f conftest.err conftest.$ac_objext \
40055 conftest$ac_exeext conftest.$ac_ext
40056 fi
40057 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40058 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40059 if test `eval echo '${'$as_ac_var'}'` = yes; then
40060 cat >>confdefs.h <<_ACEOF
40061 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40062 _ACEOF
40063
40064 cat >>confdefs.h <<\_ACEOF
40065 #define HAVE_SHL_LOAD 1
40066 _ACEOF
40067
40068 HAVE_SHL_FUNCS=1
40069
40070 else
40071
40072 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
40073 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
40074 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
40075 echo $ECHO_N "(cached) $ECHO_C" >&6
40076 else
40077 ac_check_lib_save_LIBS=$LIBS
40078 LIBS="-lshl_load $LIBS"
40079 cat >conftest.$ac_ext <<_ACEOF
40080 /* confdefs.h. */
40081 _ACEOF
40082 cat confdefs.h >>conftest.$ac_ext
40083 cat >>conftest.$ac_ext <<_ACEOF
40084 /* end confdefs.h. */
40085
40086 /* Override any gcc2 internal prototype to avoid an error. */
40087 #ifdef __cplusplus
40088 extern "C"
40089 #endif
40090 /* We use char because int might match the return type of a gcc2
40091 builtin and then its argument prototype would still apply. */
40092 char dld ();
40093 int
40094 main ()
40095 {
40096 dld ();
40097 ;
40098 return 0;
40099 }
40100 _ACEOF
40101 rm -f conftest.$ac_objext conftest$ac_exeext
40102 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40103 (eval $ac_link) 2>conftest.er1
40104 ac_status=$?
40105 grep -v '^ *+' conftest.er1 >conftest.err
40106 rm -f conftest.er1
40107 cat conftest.err >&5
40108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40109 (exit $ac_status); } &&
40110 { ac_try='test -z "$ac_c_werror_flag"
40111 || test ! -s conftest.err'
40112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40113 (eval $ac_try) 2>&5
40114 ac_status=$?
40115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40116 (exit $ac_status); }; } &&
40117 { ac_try='test -s conftest$ac_exeext'
40118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40119 (eval $ac_try) 2>&5
40120 ac_status=$?
40121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40122 (exit $ac_status); }; }; then
40123 ac_cv_lib_shl_load_dld=yes
40124 else
40125 echo "$as_me: failed program was:" >&5
40126 sed 's/^/| /' conftest.$ac_ext >&5
40127
40128 ac_cv_lib_shl_load_dld=no
40129 fi
40130 rm -f conftest.err conftest.$ac_objext \
40131 conftest$ac_exeext conftest.$ac_ext
40132 LIBS=$ac_check_lib_save_LIBS
40133 fi
40134 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
40135 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
40136 if test $ac_cv_lib_shl_load_dld = yes; then
40137
40138 HAVE_SHL_FUNCS=1
40139 DL_LINK=" -ldld$DL_LINK"
40140
40141 fi
40142
40143
40144 fi
40145 done
40146
40147
40148 fi
40149
40150
40151 fi
40152 done
40153
40154
40155 if test "$HAVE_DL_FUNCS" = 1; then
40156
40157 for ac_func in dlerror
40158 do
40159 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40160 echo "$as_me:$LINENO: checking for $ac_func" >&5
40161 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40162 if eval "test \"\${$as_ac_var+set}\" = set"; then
40163 echo $ECHO_N "(cached) $ECHO_C" >&6
40164 else
40165 cat >conftest.$ac_ext <<_ACEOF
40166 /* confdefs.h. */
40167 _ACEOF
40168 cat confdefs.h >>conftest.$ac_ext
40169 cat >>conftest.$ac_ext <<_ACEOF
40170 /* end confdefs.h. */
40171 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40172 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40173 #define $ac_func innocuous_$ac_func
40174
40175 /* System header to define __stub macros and hopefully few prototypes,
40176 which can conflict with char $ac_func (); below.
40177 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40178 <limits.h> exists even on freestanding compilers. */
40179
40180 #ifdef __STDC__
40181 # include <limits.h>
40182 #else
40183 # include <assert.h>
40184 #endif
40185
40186 #undef $ac_func
40187
40188 /* Override any gcc2 internal prototype to avoid an error. */
40189 #ifdef __cplusplus
40190 extern "C"
40191 {
40192 #endif
40193 /* We use char because int might match the return type of a gcc2
40194 builtin and then its argument prototype would still apply. */
40195 char $ac_func ();
40196 /* The GNU C library defines this for functions which it implements
40197 to always fail with ENOSYS. Some functions are actually named
40198 something starting with __ and the normal name is an alias. */
40199 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40200 choke me
40201 #else
40202 char (*f) () = $ac_func;
40203 #endif
40204 #ifdef __cplusplus
40205 }
40206 #endif
40207
40208 int
40209 main ()
40210 {
40211 return f != $ac_func;
40212 ;
40213 return 0;
40214 }
40215 _ACEOF
40216 rm -f conftest.$ac_objext conftest$ac_exeext
40217 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40218 (eval $ac_link) 2>conftest.er1
40219 ac_status=$?
40220 grep -v '^ *+' conftest.er1 >conftest.err
40221 rm -f conftest.er1
40222 cat conftest.err >&5
40223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40224 (exit $ac_status); } &&
40225 { ac_try='test -z "$ac_c_werror_flag"
40226 || test ! -s conftest.err'
40227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40228 (eval $ac_try) 2>&5
40229 ac_status=$?
40230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40231 (exit $ac_status); }; } &&
40232 { ac_try='test -s conftest$ac_exeext'
40233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40234 (eval $ac_try) 2>&5
40235 ac_status=$?
40236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40237 (exit $ac_status); }; }; then
40238 eval "$as_ac_var=yes"
40239 else
40240 echo "$as_me: failed program was:" >&5
40241 sed 's/^/| /' conftest.$ac_ext >&5
40242
40243 eval "$as_ac_var=no"
40244 fi
40245 rm -f conftest.err conftest.$ac_objext \
40246 conftest$ac_exeext conftest.$ac_ext
40247 fi
40248 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40249 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40250 if test `eval echo '${'$as_ac_var'}'` = yes; then
40251 cat >>confdefs.h <<_ACEOF
40252 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40253 _ACEOF
40254 cat >>confdefs.h <<\_ACEOF
40255 #define HAVE_DLERROR 1
40256 _ACEOF
40257
40258 else
40259
40260 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
40261 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
40262 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
40263 echo $ECHO_N "(cached) $ECHO_C" >&6
40264 else
40265 ac_check_lib_save_LIBS=$LIBS
40266 LIBS="-ldl $LIBS"
40267 cat >conftest.$ac_ext <<_ACEOF
40268 /* confdefs.h. */
40269 _ACEOF
40270 cat confdefs.h >>conftest.$ac_ext
40271 cat >>conftest.$ac_ext <<_ACEOF
40272 /* end confdefs.h. */
40273
40274 /* Override any gcc2 internal prototype to avoid an error. */
40275 #ifdef __cplusplus
40276 extern "C"
40277 #endif
40278 /* We use char because int might match the return type of a gcc2
40279 builtin and then its argument prototype would still apply. */
40280 char dlerror ();
40281 int
40282 main ()
40283 {
40284 dlerror ();
40285 ;
40286 return 0;
40287 }
40288 _ACEOF
40289 rm -f conftest.$ac_objext conftest$ac_exeext
40290 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40291 (eval $ac_link) 2>conftest.er1
40292 ac_status=$?
40293 grep -v '^ *+' conftest.er1 >conftest.err
40294 rm -f conftest.er1
40295 cat conftest.err >&5
40296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40297 (exit $ac_status); } &&
40298 { ac_try='test -z "$ac_c_werror_flag"
40299 || test ! -s conftest.err'
40300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40301 (eval $ac_try) 2>&5
40302 ac_status=$?
40303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40304 (exit $ac_status); }; } &&
40305 { ac_try='test -s conftest$ac_exeext'
40306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40307 (eval $ac_try) 2>&5
40308 ac_status=$?
40309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40310 (exit $ac_status); }; }; then
40311 ac_cv_lib_dl_dlerror=yes
40312 else
40313 echo "$as_me: failed program was:" >&5
40314 sed 's/^/| /' conftest.$ac_ext >&5
40315
40316 ac_cv_lib_dl_dlerror=no
40317 fi
40318 rm -f conftest.err conftest.$ac_objext \
40319 conftest$ac_exeext conftest.$ac_ext
40320 LIBS=$ac_check_lib_save_LIBS
40321 fi
40322 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
40323 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
40324 if test $ac_cv_lib_dl_dlerror = yes; then
40325 cat >>confdefs.h <<\_ACEOF
40326 #define HAVE_DLERROR 1
40327 _ACEOF
40328
40329 fi
40330
40331
40332
40333 fi
40334 done
40335
40336 fi
40337 fi
40338
40339 if test "$HAVE_DL_FUNCS" = 0; then
40340 if test "$HAVE_SHL_FUNCS" = 0; then
40341 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
40342 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
40343 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
40344 wxUSE_DYNAMIC_LOADER=no
40345 wxUSE_DYNLIB_CLASS=no
40346 else
40347 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
40348 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
40349 fi
40350 fi
40351 fi
40352 fi
40353 fi
40354
40355 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
40356 cat >>confdefs.h <<\_ACEOF
40357 #define wxUSE_DYNAMIC_LOADER 1
40358 _ACEOF
40359
40360 fi
40361 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
40362 cat >>confdefs.h <<\_ACEOF
40363 #define wxUSE_DYNLIB_CLASS 1
40364 _ACEOF
40365
40366 fi
40367
40368
40369
40370 if test "$wxUSE_PLUGINS" = "yes" ; then
40371 if test "$wxUSE_SHARED" = "no" ; then
40372 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
40373 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
40374 wxUSE_PLUGINS=no
40375 fi
40376 if test "$wxUSE_MONOLITHIC" = "yes" ; then
40377 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
40378 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
40379 wxUSE_PLUGINS=no
40380 fi
40381 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
40382 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
40383 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
40384 wxUSE_PLUGINS=no
40385 fi
40386 if test "$wxUSE_PLUGINS" = "yes" ; then
40387 cat >>confdefs.h <<\_ACEOF
40388 #define wxUSE_PLUGINS 1
40389 _ACEOF
40390
40391 fi
40392 fi
40393
40394
40395 if test "$wxUSE_STL" = "yes"; then
40396 cat >>confdefs.h <<\_ACEOF
40397 #define wxUSE_STL 1
40398 _ACEOF
40399
40400 fi
40401
40402 if test "$wxUSE_APPLE_IEEE" = "yes"; then
40403 cat >>confdefs.h <<\_ACEOF
40404 #define wxUSE_APPLE_IEEE 1
40405 _ACEOF
40406
40407 fi
40408
40409 if test "$wxUSE_TIMER" = "yes"; then
40410 cat >>confdefs.h <<\_ACEOF
40411 #define wxUSE_TIMER 1
40412 _ACEOF
40413
40414 fi
40415
40416 if test "$USE_UNIX" = "1" ; then
40417 echo "$as_me:$LINENO: checking for ioctl() in sys/soundcard.h" >&5
40418 echo $ECHO_N "checking for ioctl() in sys/soundcard.h... $ECHO_C" >&6
40419 if test "${ac_cv_header_sys_soundcard+set}" = set; then
40420 echo $ECHO_N "(cached) $ECHO_C" >&6
40421 else
40422
40423 cat >conftest.$ac_ext <<_ACEOF
40424 /* confdefs.h. */
40425 _ACEOF
40426 cat confdefs.h >>conftest.$ac_ext
40427 cat >>conftest.$ac_ext <<_ACEOF
40428 /* end confdefs.h. */
40429
40430 #include <sys/soundcard.h>
40431
40432 int
40433 main ()
40434 {
40435
40436 ioctl(0, SNDCTL_DSP_SYNC, 0);
40437
40438 ;
40439 return 0;
40440 }
40441 _ACEOF
40442 rm -f conftest.$ac_objext conftest$ac_exeext
40443 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40444 (eval $ac_link) 2>conftest.er1
40445 ac_status=$?
40446 grep -v '^ *+' conftest.er1 >conftest.err
40447 rm -f conftest.er1
40448 cat conftest.err >&5
40449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40450 (exit $ac_status); } &&
40451 { ac_try='test -z "$ac_c_werror_flag"
40452 || test ! -s conftest.err'
40453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40454 (eval $ac_try) 2>&5
40455 ac_status=$?
40456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40457 (exit $ac_status); }; } &&
40458 { ac_try='test -s conftest$ac_exeext'
40459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40460 (eval $ac_try) 2>&5
40461 ac_status=$?
40462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40463 (exit $ac_status); }; }; then
40464 ac_cv_header_sys_soundcard=yes
40465 else
40466 echo "$as_me: failed program was:" >&5
40467 sed 's/^/| /' conftest.$ac_ext >&5
40468
40469
40470 saveLibs="$LIBS"
40471 LIBS="$saveLibs -lossaudio"
40472 cat >conftest.$ac_ext <<_ACEOF
40473 /* confdefs.h. */
40474 _ACEOF
40475 cat confdefs.h >>conftest.$ac_ext
40476 cat >>conftest.$ac_ext <<_ACEOF
40477 /* end confdefs.h. */
40478
40479 #include <sys/soundcard.h>
40480
40481 int
40482 main ()
40483 {
40484
40485 ioctl(0, SNDCTL_DSP_SYNC, 0);
40486
40487 ;
40488 return 0;
40489 }
40490 _ACEOF
40491 rm -f conftest.$ac_objext conftest$ac_exeext
40492 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40493 (eval $ac_link) 2>conftest.er1
40494 ac_status=$?
40495 grep -v '^ *+' conftest.er1 >conftest.err
40496 rm -f conftest.er1
40497 cat conftest.err >&5
40498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40499 (exit $ac_status); } &&
40500 { ac_try='test -z "$ac_c_werror_flag"
40501 || test ! -s conftest.err'
40502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40503 (eval $ac_try) 2>&5
40504 ac_status=$?
40505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40506 (exit $ac_status); }; } &&
40507 { ac_try='test -s conftest$ac_exeext'
40508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40509 (eval $ac_try) 2>&5
40510 ac_status=$?
40511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40512 (exit $ac_status); }; }; then
40513 ac_cv_header_sys_soundcard=yes
40514 else
40515 echo "$as_me: failed program was:" >&5
40516 sed 's/^/| /' conftest.$ac_ext >&5
40517
40518
40519 LIBS="$saveLibs"
40520 ac_cv_header_sys_soundcard=no
40521
40522
40523 fi
40524 rm -f conftest.err conftest.$ac_objext \
40525 conftest$ac_exeext conftest.$ac_ext
40526
40527
40528 fi
40529 rm -f conftest.err conftest.$ac_objext \
40530 conftest$ac_exeext conftest.$ac_ext
40531
40532 fi
40533 echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
40534 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6
40535
40536 if test "$ac_cv_header_sys_soundcard" = "yes"; then
40537 cat >>confdefs.h <<\_ACEOF
40538 #define HAVE_SYS_SOUNDCARD_H 1
40539 _ACEOF
40540
40541 else
40542 DISABLED_CONTRIB="$DISABLED_CONTRIB mmedia"
40543 fi
40544 fi
40545 WITH_PLUGIN_SDL=0
40546 if test "$wxUSE_SOUND" = "yes"; then
40547 if test "$USE_UNIX" = "1" ; then
40548 if test "$wxUSE_LIBSDL" != "no"; then
40549
40550 # Check whether --with-sdl-prefix or --without-sdl-prefix was given.
40551 if test "${with_sdl_prefix+set}" = set; then
40552 withval="$with_sdl_prefix"
40553 sdl_prefix="$withval"
40554 else
40555 sdl_prefix=""
40556 fi;
40557
40558 # Check whether --with-sdl-exec-prefix or --without-sdl-exec-prefix was given.
40559 if test "${with_sdl_exec_prefix+set}" = set; then
40560 withval="$with_sdl_exec_prefix"
40561 sdl_exec_prefix="$withval"
40562 else
40563 sdl_exec_prefix=""
40564 fi;
40565 # Check whether --enable-sdltest or --disable-sdltest was given.
40566 if test "${enable_sdltest+set}" = set; then
40567 enableval="$enable_sdltest"
40568
40569 else
40570 enable_sdltest=yes
40571 fi;
40572
40573 if test x$sdl_exec_prefix != x ; then
40574 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
40575 if test x${SDL_CONFIG+set} != xset ; then
40576 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
40577 fi
40578 fi
40579 if test x$sdl_prefix != x ; then
40580 sdl_args="$sdl_args --prefix=$sdl_prefix"
40581 if test x${SDL_CONFIG+set} != xset ; then
40582 SDL_CONFIG=$sdl_prefix/bin/sdl-config
40583 fi
40584 fi
40585
40586
40587 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
40588 # Extract the first word of "sdl-config", so it can be a program name with args.
40589 set dummy sdl-config; ac_word=$2
40590 echo "$as_me:$LINENO: checking for $ac_word" >&5
40591 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40592 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
40593 echo $ECHO_N "(cached) $ECHO_C" >&6
40594 else
40595 case $SDL_CONFIG in
40596 [\\/]* | ?:[\\/]*)
40597 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
40598 ;;
40599 *)
40600 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
40601 for as_dir in $PATH
40602 do
40603 IFS=$as_save_IFS
40604 test -z "$as_dir" && as_dir=.
40605 for ac_exec_ext in '' $ac_executable_extensions; do
40606 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40607 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
40608 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40609 break 2
40610 fi
40611 done
40612 done
40613
40614 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
40615 ;;
40616 esac
40617 fi
40618 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
40619
40620 if test -n "$SDL_CONFIG"; then
40621 echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
40622 echo "${ECHO_T}$SDL_CONFIG" >&6
40623 else
40624 echo "$as_me:$LINENO: result: no" >&5
40625 echo "${ECHO_T}no" >&6
40626 fi
40627
40628 min_sdl_version=1.2.0
40629 echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
40630 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6
40631 no_sdl=""
40632 if test "$SDL_CONFIG" = "no" ; then
40633 no_sdl=yes
40634 else
40635 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
40636 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
40637
40638 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
40639 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
40640 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
40641 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
40642 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
40643 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
40644 if test "x$enable_sdltest" = "xyes" ; then
40645 ac_save_CFLAGS="$CFLAGS"
40646 ac_save_CXXFLAGS="$CXXFLAGS"
40647 ac_save_LIBS="$LIBS"
40648 CFLAGS="$CFLAGS $SDL_CFLAGS"
40649 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
40650 LIBS="$LIBS $SDL_LIBS"
40651 rm -f conf.sdltest
40652 if test "$cross_compiling" = yes; then
40653 echo $ac_n "cross compiling; assumed OK... $ac_c"
40654 else
40655 cat >conftest.$ac_ext <<_ACEOF
40656 /* confdefs.h. */
40657 _ACEOF
40658 cat confdefs.h >>conftest.$ac_ext
40659 cat >>conftest.$ac_ext <<_ACEOF
40660 /* end confdefs.h. */
40661
40662 #include <stdio.h>
40663 #include <stdlib.h>
40664 #include <string.h>
40665 #include "SDL.h"
40666
40667 char*
40668 my_strdup (char *str)
40669 {
40670 char *new_str;
40671
40672 if (str)
40673 {
40674 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
40675 strcpy (new_str, str);
40676 }
40677 else
40678 new_str = NULL;
40679
40680 return new_str;
40681 }
40682
40683 int main (int argc, char *argv[])
40684 {
40685 int major, minor, micro;
40686 char *tmp_version;
40687
40688 /* This hangs on some systems (?)
40689 system ("touch conf.sdltest");
40690 */
40691 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
40692
40693 /* HP/UX 9 (%@#!) writes to sscanf strings */
40694 tmp_version = my_strdup("$min_sdl_version");
40695 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
40696 printf("%s, bad version string\n", "$min_sdl_version");
40697 exit(1);
40698 }
40699
40700 if (($sdl_major_version > major) ||
40701 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
40702 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
40703 {
40704 return 0;
40705 }
40706 else
40707 {
40708 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
40709 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
40710 printf("*** best to upgrade to the required version.\n");
40711 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
40712 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
40713 printf("*** config.cache before re-running configure\n");
40714 return 1;
40715 }
40716 }
40717
40718
40719 _ACEOF
40720 rm -f conftest$ac_exeext
40721 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40722 (eval $ac_link) 2>&5
40723 ac_status=$?
40724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40725 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
40726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40727 (eval $ac_try) 2>&5
40728 ac_status=$?
40729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40730 (exit $ac_status); }; }; then
40731 :
40732 else
40733 echo "$as_me: program exited with status $ac_status" >&5
40734 echo "$as_me: failed program was:" >&5
40735 sed 's/^/| /' conftest.$ac_ext >&5
40736
40737 ( exit $ac_status )
40738 no_sdl=yes
40739 fi
40740 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
40741 fi
40742 CFLAGS="$ac_save_CFLAGS"
40743 CXXFLAGS="$ac_save_CXXFLAGS"
40744 LIBS="$ac_save_LIBS"
40745 fi
40746 fi
40747 if test "x$no_sdl" = x ; then
40748 echo "$as_me:$LINENO: result: yes" >&5
40749 echo "${ECHO_T}yes" >&6
40750
40751 EXTRALIBS_SDL="$SDL_LIBS"
40752 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
40753 cat >>confdefs.h <<\_ACEOF
40754 #define wxUSE_LIBSDL 1
40755 _ACEOF
40756
40757
40758 else
40759 echo "$as_me:$LINENO: result: no" >&5
40760 echo "${ECHO_T}no" >&6
40761 if test "$SDL_CONFIG" = "no" ; then
40762 echo "*** The sdl-config script installed by SDL could not be found"
40763 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
40764 echo "*** your path, or set the SDL_CONFIG environment variable to the"
40765 echo "*** full path to sdl-config."
40766 else
40767 if test -f conf.sdltest ; then
40768 :
40769 else
40770 echo "*** Could not run SDL test program, checking why..."
40771 CFLAGS="$CFLAGS $SDL_CFLAGS"
40772 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
40773 LIBS="$LIBS $SDL_LIBS"
40774 cat >conftest.$ac_ext <<_ACEOF
40775 /* confdefs.h. */
40776 _ACEOF
40777 cat confdefs.h >>conftest.$ac_ext
40778 cat >>conftest.$ac_ext <<_ACEOF
40779 /* end confdefs.h. */
40780
40781 #include <stdio.h>
40782 #include "SDL.h"
40783
40784 int main(int argc, char *argv[])
40785 { return 0; }
40786 #undef main
40787 #define main K_and_R_C_main
40788
40789 int
40790 main ()
40791 {
40792 return 0;
40793 ;
40794 return 0;
40795 }
40796 _ACEOF
40797 rm -f conftest.$ac_objext conftest$ac_exeext
40798 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40799 (eval $ac_link) 2>conftest.er1
40800 ac_status=$?
40801 grep -v '^ *+' conftest.er1 >conftest.err
40802 rm -f conftest.er1
40803 cat conftest.err >&5
40804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40805 (exit $ac_status); } &&
40806 { ac_try='test -z "$ac_c_werror_flag"
40807 || test ! -s conftest.err'
40808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40809 (eval $ac_try) 2>&5
40810 ac_status=$?
40811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40812 (exit $ac_status); }; } &&
40813 { ac_try='test -s conftest$ac_exeext'
40814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40815 (eval $ac_try) 2>&5
40816 ac_status=$?
40817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40818 (exit $ac_status); }; }; then
40819 echo "*** The test program compiled, but did not run. This usually means"
40820 echo "*** that the run-time linker is not finding SDL or finding the wrong"
40821 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
40822 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
40823 echo "*** to the installed location Also, make sure you have run ldconfig if that"
40824 echo "*** is required on your system"
40825 echo "***"
40826 echo "*** If you have an old version installed, it is best to remove it, although"
40827 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
40828 else
40829 echo "$as_me: failed program was:" >&5
40830 sed 's/^/| /' conftest.$ac_ext >&5
40831
40832 echo "*** The test program failed to compile or link. See the file config.log for the"
40833 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
40834 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
40835 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
40836 fi
40837 rm -f conftest.err conftest.$ac_objext \
40838 conftest$ac_exeext conftest.$ac_ext
40839 CFLAGS="$ac_save_CFLAGS"
40840 CXXFLAGS="$ac_save_CXXFLAGS"
40841 LIBS="$ac_save_LIBS"
40842 fi
40843 fi
40844 SDL_CFLAGS=""
40845 SDL_LIBS=""
40846 wxUSE_LIBSDL="no"
40847 fi
40848
40849
40850 rm -f conf.sdltest
40851
40852 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
40853 WITH_PLUGIN_SDL=1
40854 fi
40855 fi
40856 fi
40857
40858 cat >>confdefs.h <<\_ACEOF
40859 #define wxUSE_SOUND 1
40860 _ACEOF
40861
40862 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
40863 fi
40864
40865 if test "$WXGTK20" = 1; then
40866 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
40867 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
40868
40869
40870 succeeded=no
40871
40872 if test -z "$PKG_CONFIG"; then
40873 # Extract the first word of "pkg-config", so it can be a program name with args.
40874 set dummy pkg-config; ac_word=$2
40875 echo "$as_me:$LINENO: checking for $ac_word" >&5
40876 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40877 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
40878 echo $ECHO_N "(cached) $ECHO_C" >&6
40879 else
40880 case $PKG_CONFIG in
40881 [\\/]* | ?:[\\/]*)
40882 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
40883 ;;
40884 *)
40885 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
40886 for as_dir in $PATH
40887 do
40888 IFS=$as_save_IFS
40889 test -z "$as_dir" && as_dir=.
40890 for ac_exec_ext in '' $ac_executable_extensions; do
40891 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40892 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
40893 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40894 break 2
40895 fi
40896 done
40897 done
40898
40899 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
40900 ;;
40901 esac
40902 fi
40903 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
40904
40905 if test -n "$PKG_CONFIG"; then
40906 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
40907 echo "${ECHO_T}$PKG_CONFIG" >&6
40908 else
40909 echo "$as_me:$LINENO: result: no" >&5
40910 echo "${ECHO_T}no" >&6
40911 fi
40912
40913 fi
40914
40915 if test "$PKG_CONFIG" = "no" ; then
40916 echo "*** The pkg-config script could not be found. Make sure it is"
40917 echo "*** in your path, or set the PKG_CONFIG environment variable"
40918 echo "*** to the full path to pkg-config."
40919 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
40920 else
40921 PKG_CONFIG_MIN_VERSION=0.9.0
40922 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
40923 echo "$as_me:$LINENO: checking for libgnomeprintui-2.2 >= 2.8" >&5
40924 echo $ECHO_N "checking for libgnomeprintui-2.2 >= 2.8... $ECHO_C" >&6
40925
40926 if $PKG_CONFIG --exists "libgnomeprintui-2.2 >= 2.8" ; then
40927 echo "$as_me:$LINENO: result: yes" >&5
40928 echo "${ECHO_T}yes" >&6
40929 succeeded=yes
40930
40931 echo "$as_me:$LINENO: checking LIBGNOMEPRINTUI_CFLAGS" >&5
40932 echo $ECHO_N "checking LIBGNOMEPRINTUI_CFLAGS... $ECHO_C" >&6
40933 LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8"`
40934 echo "$as_me:$LINENO: result: $LIBGNOMEPRINTUI_CFLAGS" >&5
40935 echo "${ECHO_T}$LIBGNOMEPRINTUI_CFLAGS" >&6
40936
40937 echo "$as_me:$LINENO: checking LIBGNOMEPRINTUI_LIBS" >&5
40938 echo $ECHO_N "checking LIBGNOMEPRINTUI_LIBS... $ECHO_C" >&6
40939 LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8"`
40940 echo "$as_me:$LINENO: result: $LIBGNOMEPRINTUI_LIBS" >&5
40941 echo "${ECHO_T}$LIBGNOMEPRINTUI_LIBS" >&6
40942 else
40943 LIBGNOMEPRINTUI_CFLAGS=""
40944 LIBGNOMEPRINTUI_LIBS=""
40945 ## If we have a custom action on failure, don't print errors, but
40946 ## do set a variable so people can do so.
40947 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
40948
40949 fi
40950
40951
40952
40953 else
40954 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
40955 echo "*** See http://www.freedesktop.org/software/pkgconfig"
40956 fi
40957 fi
40958
40959 if test $succeeded = yes; then
40960
40961 CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
40962 cat >>confdefs.h <<\_ACEOF
40963 #define wxUSE_LIBGNOMEPRINT 1
40964 _ACEOF
40965
40966
40967 else
40968
40969 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
40970 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
40971 wxUSE_LIBGNOMEPRINT="no"
40972
40973
40974 fi
40975
40976 fi
40977 fi
40978 fi
40979
40980 if test "$WXGTK20" = 1; then
40981 if test "$wxUSE_MIMETYPE" = "yes" ; then
40982 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
40983
40984
40985 succeeded=no
40986
40987 if test -z "$PKG_CONFIG"; then
40988 # Extract the first word of "pkg-config", so it can be a program name with args.
40989 set dummy pkg-config; ac_word=$2
40990 echo "$as_me:$LINENO: checking for $ac_word" >&5
40991 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40992 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
40993 echo $ECHO_N "(cached) $ECHO_C" >&6
40994 else
40995 case $PKG_CONFIG in
40996 [\\/]* | ?:[\\/]*)
40997 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
40998 ;;
40999 *)
41000 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41001 for as_dir in $PATH
41002 do
41003 IFS=$as_save_IFS
41004 test -z "$as_dir" && as_dir=.
41005 for ac_exec_ext in '' $ac_executable_extensions; do
41006 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41007 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
41008 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41009 break 2
41010 fi
41011 done
41012 done
41013
41014 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
41015 ;;
41016 esac
41017 fi
41018 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
41019
41020 if test -n "$PKG_CONFIG"; then
41021 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
41022 echo "${ECHO_T}$PKG_CONFIG" >&6
41023 else
41024 echo "$as_me:$LINENO: result: no" >&5
41025 echo "${ECHO_T}no" >&6
41026 fi
41027
41028 fi
41029
41030 if test "$PKG_CONFIG" = "no" ; then
41031 echo "*** The pkg-config script could not be found. Make sure it is"
41032 echo "*** in your path, or set the PKG_CONFIG environment variable"
41033 echo "*** to the full path to pkg-config."
41034 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
41035 else
41036 PKG_CONFIG_MIN_VERSION=0.9.0
41037 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
41038 echo "$as_me:$LINENO: checking for gnome-vfs-2.0 >= 2.0" >&5
41039 echo $ECHO_N "checking for gnome-vfs-2.0 >= 2.0... $ECHO_C" >&6
41040
41041 if $PKG_CONFIG --exists "gnome-vfs-2.0 >= 2.0" ; then
41042 echo "$as_me:$LINENO: result: yes" >&5
41043 echo "${ECHO_T}yes" >&6
41044 succeeded=yes
41045
41046 echo "$as_me:$LINENO: checking GNOMEVFS_CFLAGS" >&5
41047 echo $ECHO_N "checking GNOMEVFS_CFLAGS... $ECHO_C" >&6
41048 GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0"`
41049 echo "$as_me:$LINENO: result: $GNOMEVFS_CFLAGS" >&5
41050 echo "${ECHO_T}$GNOMEVFS_CFLAGS" >&6
41051
41052 echo "$as_me:$LINENO: checking GNOMEVFS_LIBS" >&5
41053 echo $ECHO_N "checking GNOMEVFS_LIBS... $ECHO_C" >&6
41054 GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0"`
41055 echo "$as_me:$LINENO: result: $GNOMEVFS_LIBS" >&5
41056 echo "${ECHO_T}$GNOMEVFS_LIBS" >&6
41057 else
41058 GNOMEVFS_CFLAGS=""
41059 GNOMEVFS_LIBS=""
41060 ## If we have a custom action on failure, don't print errors, but
41061 ## do set a variable so people can do so.
41062 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
41063
41064 fi
41065
41066
41067
41068 else
41069 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
41070 echo "*** See http://www.freedesktop.org/software/pkgconfig"
41071 fi
41072 fi
41073
41074 if test $succeeded = yes; then
41075
41076 CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
41077 cat >>confdefs.h <<\_ACEOF
41078 #define wxUSE_LIBGNOMEVFS 1
41079 _ACEOF
41080
41081
41082 else
41083
41084 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
41085 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
41086 wxUSE_LIBGNOMEVFS="no"
41087
41088
41089 fi
41090
41091 fi
41092 fi
41093 fi
41094
41095 if test "$WXGTK20" = 1; then
41096 if test "$wxUSE_LIBHILDON" = "yes" ; then
41097
41098 succeeded=no
41099
41100 if test -z "$PKG_CONFIG"; then
41101 # Extract the first word of "pkg-config", so it can be a program name with args.
41102 set dummy pkg-config; ac_word=$2
41103 echo "$as_me:$LINENO: checking for $ac_word" >&5
41104 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41105 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
41106 echo $ECHO_N "(cached) $ECHO_C" >&6
41107 else
41108 case $PKG_CONFIG in
41109 [\\/]* | ?:[\\/]*)
41110 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
41111 ;;
41112 *)
41113 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41114 for as_dir in $PATH
41115 do
41116 IFS=$as_save_IFS
41117 test -z "$as_dir" && as_dir=.
41118 for ac_exec_ext in '' $ac_executable_extensions; do
41119 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41120 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
41121 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41122 break 2
41123 fi
41124 done
41125 done
41126
41127 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
41128 ;;
41129 esac
41130 fi
41131 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
41132
41133 if test -n "$PKG_CONFIG"; then
41134 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
41135 echo "${ECHO_T}$PKG_CONFIG" >&6
41136 else
41137 echo "$as_me:$LINENO: result: no" >&5
41138 echo "${ECHO_T}no" >&6
41139 fi
41140
41141 fi
41142
41143 if test "$PKG_CONFIG" = "no" ; then
41144 echo "*** The pkg-config script could not be found. Make sure it is"
41145 echo "*** in your path, or set the PKG_CONFIG environment variable"
41146 echo "*** to the full path to pkg-config."
41147 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
41148 else
41149 PKG_CONFIG_MIN_VERSION=0.9.0
41150 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
41151 echo "$as_me:$LINENO: checking for hildon-lgpl >= 0.9" >&5
41152 echo $ECHO_N "checking for hildon-lgpl >= 0.9... $ECHO_C" >&6
41153
41154 if $PKG_CONFIG --exists "hildon-lgpl >= 0.9" ; then
41155 echo "$as_me:$LINENO: result: yes" >&5
41156 echo "${ECHO_T}yes" >&6
41157 succeeded=yes
41158
41159 echo "$as_me:$LINENO: checking HILDON_CFLAGS" >&5
41160 echo $ECHO_N "checking HILDON_CFLAGS... $ECHO_C" >&6
41161 HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9"`
41162 echo "$as_me:$LINENO: result: $HILDON_CFLAGS" >&5
41163 echo "${ECHO_T}$HILDON_CFLAGS" >&6
41164
41165 echo "$as_me:$LINENO: checking HILDON_LIBS" >&5
41166 echo $ECHO_N "checking HILDON_LIBS... $ECHO_C" >&6
41167 HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9"`
41168 echo "$as_me:$LINENO: result: $HILDON_LIBS" >&5
41169 echo "${ECHO_T}$HILDON_LIBS" >&6
41170 else
41171 HILDON_CFLAGS=""
41172 HILDON_LIBS=""
41173 ## If we have a custom action on failure, don't print errors, but
41174 ## do set a variable so people can do so.
41175 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
41176
41177 fi
41178
41179
41180
41181 else
41182 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
41183 echo "*** See http://www.freedesktop.org/software/pkgconfig"
41184 fi
41185 fi
41186
41187 if test $succeeded = yes; then
41188
41189 EXTRALIBS_HILDON="$HILDON_LIBS"
41190 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
41191 cat >>confdefs.h <<\_ACEOF
41192 #define wxUSE_LIBHILDON 1
41193 _ACEOF
41194
41195
41196 else
41197
41198 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
41199 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
41200 wxUSE_LIBHILDON="no"
41201
41202
41203 fi
41204
41205 fi
41206 fi
41207
41208 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
41209 cat >>confdefs.h <<\_ACEOF
41210 #define wxUSE_CMDLINE_PARSER 1
41211 _ACEOF
41212
41213 fi
41214
41215 if test "$wxUSE_STOPWATCH" = "yes"; then
41216 cat >>confdefs.h <<\_ACEOF
41217 #define wxUSE_STOPWATCH 1
41218 _ACEOF
41219
41220 fi
41221
41222 if test "$wxUSE_DATETIME" = "yes"; then
41223 cat >>confdefs.h <<\_ACEOF
41224 #define wxUSE_DATETIME 1
41225 _ACEOF
41226
41227 fi
41228
41229 if test "$wxUSE_FILE" = "yes"; then
41230 cat >>confdefs.h <<\_ACEOF
41231 #define wxUSE_FILE 1
41232 _ACEOF
41233
41234 fi
41235
41236 if test "$wxUSE_FFILE" = "yes"; then
41237 cat >>confdefs.h <<\_ACEOF
41238 #define wxUSE_FFILE 1
41239 _ACEOF
41240
41241 fi
41242
41243 if test "$wxUSE_FILESYSTEM" = "yes"; then
41244 cat >>confdefs.h <<\_ACEOF
41245 #define wxUSE_FILESYSTEM 1
41246 _ACEOF
41247
41248 fi
41249
41250 if test "$wxUSE_FS_ZIP" = "yes"; then
41251 cat >>confdefs.h <<\_ACEOF
41252 #define wxUSE_FS_ZIP 1
41253 _ACEOF
41254
41255 fi
41256
41257 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
41258 cat >>confdefs.h <<\_ACEOF
41259 #define wxUSE_ARCHIVE_STREAMS 1
41260 _ACEOF
41261
41262 fi
41263
41264 if test "$wxUSE_ZIPSTREAM" = "yes"; then
41265 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
41266 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
41267 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
41268 elif test "$wxUSE_ZLIB" = "no"; then
41269 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
41270 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
41271 else
41272 cat >>confdefs.h <<\_ACEOF
41273 #define wxUSE_ZIPSTREAM 1
41274 _ACEOF
41275
41276 fi
41277 fi
41278
41279 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
41280 if test "$USE_UNIX" != 1; then
41281 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
41282 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
41283 wxUSE_ON_FATAL_EXCEPTION=no
41284 else
41285 cat >>confdefs.h <<\_ACEOF
41286 #define wxUSE_ON_FATAL_EXCEPTION 1
41287 _ACEOF
41288
41289 fi
41290 fi
41291
41292 if test "$wxUSE_STACKWALKER" = "yes"; then
41293 cat >>confdefs.h <<\_ACEOF
41294 #define wxUSE_STACKWALKER 1
41295 _ACEOF
41296
41297 fi
41298
41299 if test "$wxUSE_DEBUGREPORT" = "yes"; then
41300 if test "$USE_UNIX" != "1" -a "$USE_WIN32" != "1"; then
41301 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
41302 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
41303 wxUSE_DEBUGREPORT=no
41304 else
41305 cat >>confdefs.h <<\_ACEOF
41306 #define wxUSE_DEBUGREPORT 1
41307 _ACEOF
41308
41309 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
41310 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
41311 fi
41312 fi
41313 fi
41314
41315 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
41316 cat >>confdefs.h <<\_ACEOF
41317 #define wxUSE_SNGLINST_CHECKER 1
41318 _ACEOF
41319
41320 fi
41321
41322 if test "$wxUSE_BUSYINFO" = "yes"; then
41323 cat >>confdefs.h <<\_ACEOF
41324 #define wxUSE_BUSYINFO 1
41325 _ACEOF
41326
41327 fi
41328
41329 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
41330 cat >>confdefs.h <<\_ACEOF
41331 #define wxUSE_STD_IOSTREAM 1
41332 _ACEOF
41333
41334 fi
41335
41336 if test "$wxUSE_STD_STRING" = "yes"; then
41337 cat >>confdefs.h <<\_ACEOF
41338 #define wxUSE_STD_STRING 1
41339 _ACEOF
41340
41341 fi
41342
41343 if test "$wxUSE_STDPATHS" = "yes"; then
41344 cat >>confdefs.h <<\_ACEOF
41345 #define wxUSE_STDPATHS 1
41346 _ACEOF
41347
41348 fi
41349
41350 if test "$wxUSE_TEXTBUFFER" = "yes"; then
41351 cat >>confdefs.h <<\_ACEOF
41352 #define wxUSE_TEXTBUFFER 1
41353 _ACEOF
41354
41355 fi
41356
41357 if test "$wxUSE_TEXTFILE" = "yes"; then
41358 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
41359 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
41360 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
41361 else
41362 cat >>confdefs.h <<\_ACEOF
41363 #define wxUSE_TEXTFILE 1
41364 _ACEOF
41365
41366 fi
41367 fi
41368
41369 if test "$wxUSE_CONFIG" = "yes" ; then
41370 if test "$wxUSE_TEXTFILE" != "yes"; then
41371 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
41372 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
41373 else
41374 cat >>confdefs.h <<\_ACEOF
41375 #define wxUSE_CONFIG 1
41376 _ACEOF
41377
41378 cat >>confdefs.h <<\_ACEOF
41379 #define wxUSE_CONFIG_NATIVE 1
41380 _ACEOF
41381
41382 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
41383 fi
41384 fi
41385
41386 if test "$wxUSE_INTL" = "yes" ; then
41387 if test "$wxUSE_FILE" != "yes"; then
41388 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
41389 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
41390 else
41391 cat >>confdefs.h <<\_ACEOF
41392 #define wxUSE_INTL 1
41393 _ACEOF
41394
41395 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
41396 GUIDIST="$GUIDIST INTL_DIST"
41397 fi
41398 fi
41399
41400 if test "$wxUSE_LOG" = "yes"; then
41401 cat >>confdefs.h <<\_ACEOF
41402 #define wxUSE_LOG 1
41403 _ACEOF
41404
41405
41406 if test "$wxUSE_LOGGUI" = "yes"; then
41407 cat >>confdefs.h <<\_ACEOF
41408 #define wxUSE_LOGGUI 1
41409 _ACEOF
41410
41411 fi
41412
41413 if test "$wxUSE_LOGWINDOW" = "yes"; then
41414 cat >>confdefs.h <<\_ACEOF
41415 #define wxUSE_LOGWINDOW 1
41416 _ACEOF
41417
41418 fi
41419
41420 if test "$wxUSE_LOGDIALOG" = "yes"; then
41421 cat >>confdefs.h <<\_ACEOF
41422 #define wxUSE_LOG_DIALOG 1
41423 _ACEOF
41424
41425 fi
41426
41427 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
41428 fi
41429
41430 if test "$wxUSE_LONGLONG" = "yes"; then
41431 cat >>confdefs.h <<\_ACEOF
41432 #define wxUSE_LONGLONG 1
41433 _ACEOF
41434
41435 fi
41436
41437 if test "$wxUSE_GEOMETRY" = "yes"; then
41438 cat >>confdefs.h <<\_ACEOF
41439 #define wxUSE_GEOMETRY 1
41440 _ACEOF
41441
41442 fi
41443
41444 if test "$wxUSE_STREAMS" = "yes" ; then
41445 cat >>confdefs.h <<\_ACEOF
41446 #define wxUSE_STREAMS 1
41447 _ACEOF
41448
41449 fi
41450
41451
41452 if test "$wxUSE_DATETIME" = "yes"; then
41453
41454 for ac_func in strptime
41455 do
41456 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41457 echo "$as_me:$LINENO: checking for $ac_func" >&5
41458 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41459 if eval "test \"\${$as_ac_var+set}\" = set"; then
41460 echo $ECHO_N "(cached) $ECHO_C" >&6
41461 else
41462 cat >conftest.$ac_ext <<_ACEOF
41463 /* confdefs.h. */
41464 _ACEOF
41465 cat confdefs.h >>conftest.$ac_ext
41466 cat >>conftest.$ac_ext <<_ACEOF
41467 /* end confdefs.h. */
41468 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41469 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41470 #define $ac_func innocuous_$ac_func
41471
41472 /* System header to define __stub macros and hopefully few prototypes,
41473 which can conflict with char $ac_func (); below.
41474 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41475 <limits.h> exists even on freestanding compilers. */
41476
41477 #ifdef __STDC__
41478 # include <limits.h>
41479 #else
41480 # include <assert.h>
41481 #endif
41482
41483 #undef $ac_func
41484
41485 /* Override any gcc2 internal prototype to avoid an error. */
41486 #ifdef __cplusplus
41487 extern "C"
41488 {
41489 #endif
41490 /* We use char because int might match the return type of a gcc2
41491 builtin and then its argument prototype would still apply. */
41492 char $ac_func ();
41493 /* The GNU C library defines this for functions which it implements
41494 to always fail with ENOSYS. Some functions are actually named
41495 something starting with __ and the normal name is an alias. */
41496 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41497 choke me
41498 #else
41499 char (*f) () = $ac_func;
41500 #endif
41501 #ifdef __cplusplus
41502 }
41503 #endif
41504
41505 int
41506 main ()
41507 {
41508 return f != $ac_func;
41509 ;
41510 return 0;
41511 }
41512 _ACEOF
41513 rm -f conftest.$ac_objext conftest$ac_exeext
41514 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41515 (eval $ac_link) 2>conftest.er1
41516 ac_status=$?
41517 grep -v '^ *+' conftest.er1 >conftest.err
41518 rm -f conftest.er1
41519 cat conftest.err >&5
41520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41521 (exit $ac_status); } &&
41522 { ac_try='test -z "$ac_c_werror_flag"
41523 || test ! -s conftest.err'
41524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41525 (eval $ac_try) 2>&5
41526 ac_status=$?
41527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41528 (exit $ac_status); }; } &&
41529 { ac_try='test -s conftest$ac_exeext'
41530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41531 (eval $ac_try) 2>&5
41532 ac_status=$?
41533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41534 (exit $ac_status); }; }; then
41535 eval "$as_ac_var=yes"
41536 else
41537 echo "$as_me: failed program was:" >&5
41538 sed 's/^/| /' conftest.$ac_ext >&5
41539
41540 eval "$as_ac_var=no"
41541 fi
41542 rm -f conftest.err conftest.$ac_objext \
41543 conftest$ac_exeext conftest.$ac_ext
41544 fi
41545 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41546 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41547 if test `eval echo '${'$as_ac_var'}'` = yes; then
41548 cat >>confdefs.h <<_ACEOF
41549 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41550 _ACEOF
41551
41552 fi
41553 done
41554
41555 if test "$ac_cv_func_strptime" = "yes"; then
41556 echo "$as_me:$LINENO: checking for strptime declaration" >&5
41557 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6
41558 if test "${wx_cv_func_strptime_decl+set}" = set; then
41559 echo $ECHO_N "(cached) $ECHO_C" >&6
41560 else
41561
41562 ac_ext=cc
41563 ac_cpp='$CXXCPP $CPPFLAGS'
41564 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41565 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41566 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41567
41568 cat >conftest.$ac_ext <<_ACEOF
41569 /* confdefs.h. */
41570 _ACEOF
41571 cat confdefs.h >>conftest.$ac_ext
41572 cat >>conftest.$ac_ext <<_ACEOF
41573 /* end confdefs.h. */
41574
41575 #include <time.h>
41576
41577 int
41578 main ()
41579 {
41580
41581 struct tm t;
41582 strptime("foo", "bar", &t);
41583
41584 ;
41585 return 0;
41586 }
41587 _ACEOF
41588 rm -f conftest.$ac_objext
41589 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41590 (eval $ac_compile) 2>conftest.er1
41591 ac_status=$?
41592 grep -v '^ *+' conftest.er1 >conftest.err
41593 rm -f conftest.er1
41594 cat conftest.err >&5
41595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41596 (exit $ac_status); } &&
41597 { ac_try='test -z "$ac_cxx_werror_flag"
41598 || test ! -s conftest.err'
41599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41600 (eval $ac_try) 2>&5
41601 ac_status=$?
41602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41603 (exit $ac_status); }; } &&
41604 { ac_try='test -s conftest.$ac_objext'
41605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41606 (eval $ac_try) 2>&5
41607 ac_status=$?
41608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41609 (exit $ac_status); }; }; then
41610 wx_cv_func_strptime_decl=yes
41611 else
41612 echo "$as_me: failed program was:" >&5
41613 sed 's/^/| /' conftest.$ac_ext >&5
41614
41615 wx_cv_func_strptime_decl=no
41616
41617 fi
41618 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41619 ac_ext=c
41620 ac_cpp='$CPP $CPPFLAGS'
41621 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41622 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41623 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41624
41625
41626
41627 fi
41628 echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
41629 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6
41630 fi
41631 if test "$wx_cv_func_strptime_decl" = "yes"; then
41632 cat >>confdefs.h <<\_ACEOF
41633 #define HAVE_STRPTIME_DECL 1
41634 _ACEOF
41635
41636 fi
41637
41638 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
41639 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
41640 if test "${wx_cv_var_timezone+set}" = set; then
41641 echo $ECHO_N "(cached) $ECHO_C" >&6
41642 else
41643
41644 cat >conftest.$ac_ext <<_ACEOF
41645 /* confdefs.h. */
41646 _ACEOF
41647 cat confdefs.h >>conftest.$ac_ext
41648 cat >>conftest.$ac_ext <<_ACEOF
41649 /* end confdefs.h. */
41650
41651 #include <time.h>
41652
41653 int
41654 main ()
41655 {
41656
41657 int tz;
41658 tz = timezone;
41659
41660 ;
41661 return 0;
41662 }
41663 _ACEOF
41664 rm -f conftest.$ac_objext
41665 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41666 (eval $ac_compile) 2>conftest.er1
41667 ac_status=$?
41668 grep -v '^ *+' conftest.er1 >conftest.err
41669 rm -f conftest.er1
41670 cat conftest.err >&5
41671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41672 (exit $ac_status); } &&
41673 { ac_try='test -z "$ac_c_werror_flag"
41674 || test ! -s conftest.err'
41675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41676 (eval $ac_try) 2>&5
41677 ac_status=$?
41678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41679 (exit $ac_status); }; } &&
41680 { ac_try='test -s conftest.$ac_objext'
41681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41682 (eval $ac_try) 2>&5
41683 ac_status=$?
41684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41685 (exit $ac_status); }; }; then
41686
41687 wx_cv_var_timezone=timezone
41688
41689 else
41690 echo "$as_me: failed program was:" >&5
41691 sed 's/^/| /' conftest.$ac_ext >&5
41692
41693
41694 cat >conftest.$ac_ext <<_ACEOF
41695 /* confdefs.h. */
41696 _ACEOF
41697 cat confdefs.h >>conftest.$ac_ext
41698 cat >>conftest.$ac_ext <<_ACEOF
41699 /* end confdefs.h. */
41700
41701 #include <time.h>
41702
41703 int
41704 main ()
41705 {
41706
41707 int tz;
41708 tz = _timezone;
41709
41710 ;
41711 return 0;
41712 }
41713 _ACEOF
41714 rm -f conftest.$ac_objext
41715 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41716 (eval $ac_compile) 2>conftest.er1
41717 ac_status=$?
41718 grep -v '^ *+' conftest.er1 >conftest.err
41719 rm -f conftest.er1
41720 cat conftest.err >&5
41721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41722 (exit $ac_status); } &&
41723 { ac_try='test -z "$ac_c_werror_flag"
41724 || test ! -s conftest.err'
41725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41726 (eval $ac_try) 2>&5
41727 ac_status=$?
41728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41729 (exit $ac_status); }; } &&
41730 { ac_try='test -s conftest.$ac_objext'
41731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41732 (eval $ac_try) 2>&5
41733 ac_status=$?
41734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41735 (exit $ac_status); }; }; then
41736
41737 wx_cv_var_timezone=_timezone
41738
41739 else
41740 echo "$as_me: failed program was:" >&5
41741 sed 's/^/| /' conftest.$ac_ext >&5
41742
41743
41744 cat >conftest.$ac_ext <<_ACEOF
41745 /* confdefs.h. */
41746 _ACEOF
41747 cat confdefs.h >>conftest.$ac_ext
41748 cat >>conftest.$ac_ext <<_ACEOF
41749 /* end confdefs.h. */
41750
41751 #include <time.h>
41752
41753 int
41754 main ()
41755 {
41756
41757 int tz;
41758 tz = __timezone;
41759
41760 ;
41761 return 0;
41762 }
41763 _ACEOF
41764 rm -f conftest.$ac_objext
41765 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41766 (eval $ac_compile) 2>conftest.er1
41767 ac_status=$?
41768 grep -v '^ *+' conftest.er1 >conftest.err
41769 rm -f conftest.er1
41770 cat conftest.err >&5
41771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41772 (exit $ac_status); } &&
41773 { ac_try='test -z "$ac_c_werror_flag"
41774 || test ! -s conftest.err'
41775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41776 (eval $ac_try) 2>&5
41777 ac_status=$?
41778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41779 (exit $ac_status); }; } &&
41780 { ac_try='test -s conftest.$ac_objext'
41781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41782 (eval $ac_try) 2>&5
41783 ac_status=$?
41784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41785 (exit $ac_status); }; }; then
41786
41787 wx_cv_var_timezone=__timezone
41788
41789 else
41790 echo "$as_me: failed program was:" >&5
41791 sed 's/^/| /' conftest.$ac_ext >&5
41792
41793
41794 if test "$USE_DOS" = 0 ; then
41795 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
41796 echo "$as_me: WARNING: no timezone variable" >&2;}
41797 fi
41798
41799
41800 fi
41801 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41802
41803
41804 fi
41805 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41806
41807
41808 fi
41809 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41810
41811
41812 fi
41813 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
41814 echo "${ECHO_T}$wx_cv_var_timezone" >&6
41815
41816 if test "x$wx_cv_var_timezone" != x ; then
41817 cat >>confdefs.h <<_ACEOF
41818 #define WX_TIMEZONE $wx_cv_var_timezone
41819 _ACEOF
41820
41821 fi
41822
41823
41824 for ac_func in localtime
41825 do
41826 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41827 echo "$as_me:$LINENO: checking for $ac_func" >&5
41828 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41829 if eval "test \"\${$as_ac_var+set}\" = set"; then
41830 echo $ECHO_N "(cached) $ECHO_C" >&6
41831 else
41832 cat >conftest.$ac_ext <<_ACEOF
41833 /* confdefs.h. */
41834 _ACEOF
41835 cat confdefs.h >>conftest.$ac_ext
41836 cat >>conftest.$ac_ext <<_ACEOF
41837 /* end confdefs.h. */
41838 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41839 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41840 #define $ac_func innocuous_$ac_func
41841
41842 /* System header to define __stub macros and hopefully few prototypes,
41843 which can conflict with char $ac_func (); below.
41844 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41845 <limits.h> exists even on freestanding compilers. */
41846
41847 #ifdef __STDC__
41848 # include <limits.h>
41849 #else
41850 # include <assert.h>
41851 #endif
41852
41853 #undef $ac_func
41854
41855 /* Override any gcc2 internal prototype to avoid an error. */
41856 #ifdef __cplusplus
41857 extern "C"
41858 {
41859 #endif
41860 /* We use char because int might match the return type of a gcc2
41861 builtin and then its argument prototype would still apply. */
41862 char $ac_func ();
41863 /* The GNU C library defines this for functions which it implements
41864 to always fail with ENOSYS. Some functions are actually named
41865 something starting with __ and the normal name is an alias. */
41866 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41867 choke me
41868 #else
41869 char (*f) () = $ac_func;
41870 #endif
41871 #ifdef __cplusplus
41872 }
41873 #endif
41874
41875 int
41876 main ()
41877 {
41878 return f != $ac_func;
41879 ;
41880 return 0;
41881 }
41882 _ACEOF
41883 rm -f conftest.$ac_objext conftest$ac_exeext
41884 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41885 (eval $ac_link) 2>conftest.er1
41886 ac_status=$?
41887 grep -v '^ *+' conftest.er1 >conftest.err
41888 rm -f conftest.er1
41889 cat conftest.err >&5
41890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41891 (exit $ac_status); } &&
41892 { ac_try='test -z "$ac_c_werror_flag"
41893 || test ! -s conftest.err'
41894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41895 (eval $ac_try) 2>&5
41896 ac_status=$?
41897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41898 (exit $ac_status); }; } &&
41899 { ac_try='test -s conftest$ac_exeext'
41900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41901 (eval $ac_try) 2>&5
41902 ac_status=$?
41903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41904 (exit $ac_status); }; }; then
41905 eval "$as_ac_var=yes"
41906 else
41907 echo "$as_me: failed program was:" >&5
41908 sed 's/^/| /' conftest.$ac_ext >&5
41909
41910 eval "$as_ac_var=no"
41911 fi
41912 rm -f conftest.err conftest.$ac_objext \
41913 conftest$ac_exeext conftest.$ac_ext
41914 fi
41915 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41916 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41917 if test `eval echo '${'$as_ac_var'}'` = yes; then
41918 cat >>confdefs.h <<_ACEOF
41919 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41920 _ACEOF
41921
41922 fi
41923 done
41924
41925
41926 if test "$ac_cv_func_localtime" = "yes"; then
41927 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
41928 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
41929 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
41930 echo $ECHO_N "(cached) $ECHO_C" >&6
41931 else
41932
41933 cat >conftest.$ac_ext <<_ACEOF
41934 /* confdefs.h. */
41935 _ACEOF
41936 cat confdefs.h >>conftest.$ac_ext
41937 cat >>conftest.$ac_ext <<_ACEOF
41938 /* end confdefs.h. */
41939
41940 #include <time.h>
41941
41942 int
41943 main ()
41944 {
41945
41946 struct tm tm;
41947 tm.tm_gmtoff++;
41948
41949 ;
41950 return 0;
41951 }
41952 _ACEOF
41953 rm -f conftest.$ac_objext
41954 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41955 (eval $ac_compile) 2>conftest.er1
41956 ac_status=$?
41957 grep -v '^ *+' conftest.er1 >conftest.err
41958 rm -f conftest.er1
41959 cat conftest.err >&5
41960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41961 (exit $ac_status); } &&
41962 { ac_try='test -z "$ac_c_werror_flag"
41963 || test ! -s conftest.err'
41964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41965 (eval $ac_try) 2>&5
41966 ac_status=$?
41967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41968 (exit $ac_status); }; } &&
41969 { ac_try='test -s conftest.$ac_objext'
41970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41971 (eval $ac_try) 2>&5
41972 ac_status=$?
41973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41974 (exit $ac_status); }; }; then
41975
41976 wx_cv_struct_tm_has_gmtoff=yes
41977
41978 else
41979 echo "$as_me: failed program was:" >&5
41980 sed 's/^/| /' conftest.$ac_ext >&5
41981
41982 wx_cv_struct_tm_has_gmtoff=no
41983
41984 fi
41985 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41986
41987 fi
41988 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
41989 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
41990 fi
41991
41992 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
41993 cat >>confdefs.h <<\_ACEOF
41994 #define WX_GMTOFF_IN_TM 1
41995 _ACEOF
41996
41997 fi
41998
41999
42000
42001 for ac_func in gettimeofday ftime
42002 do
42003 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42004 echo "$as_me:$LINENO: checking for $ac_func" >&5
42005 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42006 if eval "test \"\${$as_ac_var+set}\" = set"; then
42007 echo $ECHO_N "(cached) $ECHO_C" >&6
42008 else
42009 cat >conftest.$ac_ext <<_ACEOF
42010 /* confdefs.h. */
42011 _ACEOF
42012 cat confdefs.h >>conftest.$ac_ext
42013 cat >>conftest.$ac_ext <<_ACEOF
42014 /* end confdefs.h. */
42015 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42016 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42017 #define $ac_func innocuous_$ac_func
42018
42019 /* System header to define __stub macros and hopefully few prototypes,
42020 which can conflict with char $ac_func (); below.
42021 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42022 <limits.h> exists even on freestanding compilers. */
42023
42024 #ifdef __STDC__
42025 # include <limits.h>
42026 #else
42027 # include <assert.h>
42028 #endif
42029
42030 #undef $ac_func
42031
42032 /* Override any gcc2 internal prototype to avoid an error. */
42033 #ifdef __cplusplus
42034 extern "C"
42035 {
42036 #endif
42037 /* We use char because int might match the return type of a gcc2
42038 builtin and then its argument prototype would still apply. */
42039 char $ac_func ();
42040 /* The GNU C library defines this for functions which it implements
42041 to always fail with ENOSYS. Some functions are actually named
42042 something starting with __ and the normal name is an alias. */
42043 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42044 choke me
42045 #else
42046 char (*f) () = $ac_func;
42047 #endif
42048 #ifdef __cplusplus
42049 }
42050 #endif
42051
42052 int
42053 main ()
42054 {
42055 return f != $ac_func;
42056 ;
42057 return 0;
42058 }
42059 _ACEOF
42060 rm -f conftest.$ac_objext conftest$ac_exeext
42061 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42062 (eval $ac_link) 2>conftest.er1
42063 ac_status=$?
42064 grep -v '^ *+' conftest.er1 >conftest.err
42065 rm -f conftest.er1
42066 cat conftest.err >&5
42067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42068 (exit $ac_status); } &&
42069 { ac_try='test -z "$ac_c_werror_flag"
42070 || test ! -s conftest.err'
42071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42072 (eval $ac_try) 2>&5
42073 ac_status=$?
42074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42075 (exit $ac_status); }; } &&
42076 { ac_try='test -s conftest$ac_exeext'
42077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42078 (eval $ac_try) 2>&5
42079 ac_status=$?
42080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42081 (exit $ac_status); }; }; then
42082 eval "$as_ac_var=yes"
42083 else
42084 echo "$as_me: failed program was:" >&5
42085 sed 's/^/| /' conftest.$ac_ext >&5
42086
42087 eval "$as_ac_var=no"
42088 fi
42089 rm -f conftest.err conftest.$ac_objext \
42090 conftest$ac_exeext conftest.$ac_ext
42091 fi
42092 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42093 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42094 if test `eval echo '${'$as_ac_var'}'` = yes; then
42095 cat >>confdefs.h <<_ACEOF
42096 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42097 _ACEOF
42098 break
42099 fi
42100 done
42101
42102
42103 if test "$ac_cv_func_gettimeofday" = "yes"; then
42104 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
42105 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
42106 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
42107 echo $ECHO_N "(cached) $ECHO_C" >&6
42108 else
42109
42110 ac_ext=cc
42111 ac_cpp='$CXXCPP $CPPFLAGS'
42112 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42113 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42114 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42115
42116
42117 cat >conftest.$ac_ext <<_ACEOF
42118 /* confdefs.h. */
42119 _ACEOF
42120 cat confdefs.h >>conftest.$ac_ext
42121 cat >>conftest.$ac_ext <<_ACEOF
42122 /* end confdefs.h. */
42123
42124 #include <sys/time.h>
42125 #include <unistd.h>
42126
42127 int
42128 main ()
42129 {
42130
42131 struct timeval tv;
42132 gettimeofday(&tv, NULL);
42133
42134 ;
42135 return 0;
42136 }
42137 _ACEOF
42138 rm -f conftest.$ac_objext
42139 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42140 (eval $ac_compile) 2>conftest.er1
42141 ac_status=$?
42142 grep -v '^ *+' conftest.er1 >conftest.err
42143 rm -f conftest.er1
42144 cat conftest.err >&5
42145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42146 (exit $ac_status); } &&
42147 { ac_try='test -z "$ac_cxx_werror_flag"
42148 || test ! -s conftest.err'
42149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42150 (eval $ac_try) 2>&5
42151 ac_status=$?
42152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42153 (exit $ac_status); }; } &&
42154 { ac_try='test -s conftest.$ac_objext'
42155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42156 (eval $ac_try) 2>&5
42157 ac_status=$?
42158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42159 (exit $ac_status); }; }; then
42160 wx_cv_func_gettimeofday_has_2_args=yes
42161 else
42162 echo "$as_me: failed program was:" >&5
42163 sed 's/^/| /' conftest.$ac_ext >&5
42164
42165 cat >conftest.$ac_ext <<_ACEOF
42166 /* confdefs.h. */
42167 _ACEOF
42168 cat confdefs.h >>conftest.$ac_ext
42169 cat >>conftest.$ac_ext <<_ACEOF
42170 /* end confdefs.h. */
42171
42172 #include <sys/time.h>
42173 #include <unistd.h>
42174
42175 int
42176 main ()
42177 {
42178
42179 struct timeval tv;
42180 gettimeofday(&tv);
42181
42182 ;
42183 return 0;
42184 }
42185 _ACEOF
42186 rm -f conftest.$ac_objext
42187 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42188 (eval $ac_compile) 2>conftest.er1
42189 ac_status=$?
42190 grep -v '^ *+' conftest.er1 >conftest.err
42191 rm -f conftest.er1
42192 cat conftest.err >&5
42193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42194 (exit $ac_status); } &&
42195 { ac_try='test -z "$ac_cxx_werror_flag"
42196 || test ! -s conftest.err'
42197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42198 (eval $ac_try) 2>&5
42199 ac_status=$?
42200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42201 (exit $ac_status); }; } &&
42202 { ac_try='test -s conftest.$ac_objext'
42203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42204 (eval $ac_try) 2>&5
42205 ac_status=$?
42206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42207 (exit $ac_status); }; }; then
42208 wx_cv_func_gettimeofday_has_2_args=no
42209 else
42210 echo "$as_me: failed program was:" >&5
42211 sed 's/^/| /' conftest.$ac_ext >&5
42212
42213
42214 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
42215 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
42216 wx_cv_func_gettimeofday_has_2_args=unknown
42217
42218
42219 fi
42220 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42221
42222 fi
42223 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42224 ac_ext=c
42225 ac_cpp='$CPP $CPPFLAGS'
42226 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42227 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42228 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42229
42230
42231 fi
42232 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
42233 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
42234
42235 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
42236 cat >>confdefs.h <<\_ACEOF
42237 #define WX_GETTIMEOFDAY_NO_TZ 1
42238 _ACEOF
42239
42240 fi
42241 fi
42242
42243 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
42244 fi
42245
42246
42247 if test "$wxUSE_SOCKETS" = "yes"; then
42248 if test "$wxUSE_MGL" = "1"; then
42249 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
42250 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
42251 wxUSE_SOCKETS="no"
42252 fi
42253 fi
42254
42255 if test "$wxUSE_SOCKETS" = "yes"; then
42256 if test "$TOOLKIT" != "MSW"; then
42257 echo "$as_me:$LINENO: checking for socket" >&5
42258 echo $ECHO_N "checking for socket... $ECHO_C" >&6
42259 if test "${ac_cv_func_socket+set}" = set; then
42260 echo $ECHO_N "(cached) $ECHO_C" >&6
42261 else
42262 cat >conftest.$ac_ext <<_ACEOF
42263 /* confdefs.h. */
42264 _ACEOF
42265 cat confdefs.h >>conftest.$ac_ext
42266 cat >>conftest.$ac_ext <<_ACEOF
42267 /* end confdefs.h. */
42268 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
42269 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42270 #define socket innocuous_socket
42271
42272 /* System header to define __stub macros and hopefully few prototypes,
42273 which can conflict with char socket (); below.
42274 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42275 <limits.h> exists even on freestanding compilers. */
42276
42277 #ifdef __STDC__
42278 # include <limits.h>
42279 #else
42280 # include <assert.h>
42281 #endif
42282
42283 #undef socket
42284
42285 /* Override any gcc2 internal prototype to avoid an error. */
42286 #ifdef __cplusplus
42287 extern "C"
42288 {
42289 #endif
42290 /* We use char because int might match the return type of a gcc2
42291 builtin and then its argument prototype would still apply. */
42292 char socket ();
42293 /* The GNU C library defines this for functions which it implements
42294 to always fail with ENOSYS. Some functions are actually named
42295 something starting with __ and the normal name is an alias. */
42296 #if defined (__stub_socket) || defined (__stub___socket)
42297 choke me
42298 #else
42299 char (*f) () = socket;
42300 #endif
42301 #ifdef __cplusplus
42302 }
42303 #endif
42304
42305 int
42306 main ()
42307 {
42308 return f != socket;
42309 ;
42310 return 0;
42311 }
42312 _ACEOF
42313 rm -f conftest.$ac_objext conftest$ac_exeext
42314 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42315 (eval $ac_link) 2>conftest.er1
42316 ac_status=$?
42317 grep -v '^ *+' conftest.er1 >conftest.err
42318 rm -f conftest.er1
42319 cat conftest.err >&5
42320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42321 (exit $ac_status); } &&
42322 { ac_try='test -z "$ac_c_werror_flag"
42323 || test ! -s conftest.err'
42324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42325 (eval $ac_try) 2>&5
42326 ac_status=$?
42327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42328 (exit $ac_status); }; } &&
42329 { ac_try='test -s conftest$ac_exeext'
42330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42331 (eval $ac_try) 2>&5
42332 ac_status=$?
42333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42334 (exit $ac_status); }; }; then
42335 ac_cv_func_socket=yes
42336 else
42337 echo "$as_me: failed program was:" >&5
42338 sed 's/^/| /' conftest.$ac_ext >&5
42339
42340 ac_cv_func_socket=no
42341 fi
42342 rm -f conftest.err conftest.$ac_objext \
42343 conftest$ac_exeext conftest.$ac_ext
42344 fi
42345 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
42346 echo "${ECHO_T}$ac_cv_func_socket" >&6
42347 if test $ac_cv_func_socket = yes; then
42348 :
42349 else
42350
42351 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
42352 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
42353 if test "${ac_cv_lib_socket_socket+set}" = set; then
42354 echo $ECHO_N "(cached) $ECHO_C" >&6
42355 else
42356 ac_check_lib_save_LIBS=$LIBS
42357 LIBS="-lsocket $LIBS"
42358 cat >conftest.$ac_ext <<_ACEOF
42359 /* confdefs.h. */
42360 _ACEOF
42361 cat confdefs.h >>conftest.$ac_ext
42362 cat >>conftest.$ac_ext <<_ACEOF
42363 /* end confdefs.h. */
42364
42365 /* Override any gcc2 internal prototype to avoid an error. */
42366 #ifdef __cplusplus
42367 extern "C"
42368 #endif
42369 /* We use char because int might match the return type of a gcc2
42370 builtin and then its argument prototype would still apply. */
42371 char socket ();
42372 int
42373 main ()
42374 {
42375 socket ();
42376 ;
42377 return 0;
42378 }
42379 _ACEOF
42380 rm -f conftest.$ac_objext conftest$ac_exeext
42381 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42382 (eval $ac_link) 2>conftest.er1
42383 ac_status=$?
42384 grep -v '^ *+' conftest.er1 >conftest.err
42385 rm -f conftest.er1
42386 cat conftest.err >&5
42387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42388 (exit $ac_status); } &&
42389 { ac_try='test -z "$ac_c_werror_flag"
42390 || test ! -s conftest.err'
42391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42392 (eval $ac_try) 2>&5
42393 ac_status=$?
42394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42395 (exit $ac_status); }; } &&
42396 { ac_try='test -s conftest$ac_exeext'
42397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42398 (eval $ac_try) 2>&5
42399 ac_status=$?
42400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42401 (exit $ac_status); }; }; then
42402 ac_cv_lib_socket_socket=yes
42403 else
42404 echo "$as_me: failed program was:" >&5
42405 sed 's/^/| /' conftest.$ac_ext >&5
42406
42407 ac_cv_lib_socket_socket=no
42408 fi
42409 rm -f conftest.err conftest.$ac_objext \
42410 conftest$ac_exeext conftest.$ac_ext
42411 LIBS=$ac_check_lib_save_LIBS
42412 fi
42413 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
42414 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
42415 if test $ac_cv_lib_socket_socket = yes; then
42416 if test "$INET_LINK" != " -lsocket"; then
42417 INET_LINK="$INET_LINK -lsocket"
42418 fi
42419 else
42420
42421 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
42422 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
42423 wxUSE_SOCKETS=no
42424
42425
42426 fi
42427
42428
42429
42430 fi
42431
42432 fi
42433 fi
42434
42435 if test "$wxUSE_SOCKETS" = "yes" ; then
42436 if test "$TOOLKIT" != "MSW"; then
42437 ac_ext=cc
42438 ac_cpp='$CXXCPP $CPPFLAGS'
42439 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42440 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42441 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42442
42443 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
42444 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
42445 if test "${wx_cv_type_getsockname3+set}" = set; then
42446 echo $ECHO_N "(cached) $ECHO_C" >&6
42447 else
42448
42449 cat >conftest.$ac_ext <<_ACEOF
42450 /* confdefs.h. */
42451 _ACEOF
42452 cat confdefs.h >>conftest.$ac_ext
42453 cat >>conftest.$ac_ext <<_ACEOF
42454 /* end confdefs.h. */
42455
42456 #include <sys/types.h>
42457 #include <sys/socket.h>
42458
42459 int
42460 main ()
42461 {
42462
42463 socklen_t len;
42464 getsockname(0, 0, &len);
42465
42466 ;
42467 return 0;
42468 }
42469 _ACEOF
42470 rm -f conftest.$ac_objext
42471 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42472 (eval $ac_compile) 2>conftest.er1
42473 ac_status=$?
42474 grep -v '^ *+' conftest.er1 >conftest.err
42475 rm -f conftest.er1
42476 cat conftest.err >&5
42477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42478 (exit $ac_status); } &&
42479 { ac_try='test -z "$ac_cxx_werror_flag"
42480 || test ! -s conftest.err'
42481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42482 (eval $ac_try) 2>&5
42483 ac_status=$?
42484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42485 (exit $ac_status); }; } &&
42486 { ac_try='test -s conftest.$ac_objext'
42487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42488 (eval $ac_try) 2>&5
42489 ac_status=$?
42490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42491 (exit $ac_status); }; }; then
42492 wx_cv_type_getsockname3=socklen_t
42493 else
42494 echo "$as_me: failed program was:" >&5
42495 sed 's/^/| /' conftest.$ac_ext >&5
42496
42497
42498 CXXFLAGS_OLD="$CXXFLAGS"
42499 if test "$GCC" = yes ; then
42500 CXXFLAGS="-Werror $CXXFLAGS"
42501 fi
42502
42503 cat >conftest.$ac_ext <<_ACEOF
42504 /* confdefs.h. */
42505 _ACEOF
42506 cat confdefs.h >>conftest.$ac_ext
42507 cat >>conftest.$ac_ext <<_ACEOF
42508 /* end confdefs.h. */
42509
42510 #include <sys/types.h>
42511 #include <sys/socket.h>
42512
42513 int
42514 main ()
42515 {
42516
42517 size_t len;
42518 getsockname(0, 0, &len);
42519
42520 ;
42521 return 0;
42522 }
42523 _ACEOF
42524 rm -f conftest.$ac_objext
42525 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42526 (eval $ac_compile) 2>conftest.er1
42527 ac_status=$?
42528 grep -v '^ *+' conftest.er1 >conftest.err
42529 rm -f conftest.er1
42530 cat conftest.err >&5
42531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42532 (exit $ac_status); } &&
42533 { ac_try='test -z "$ac_cxx_werror_flag"
42534 || test ! -s conftest.err'
42535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42536 (eval $ac_try) 2>&5
42537 ac_status=$?
42538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42539 (exit $ac_status); }; } &&
42540 { ac_try='test -s conftest.$ac_objext'
42541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42542 (eval $ac_try) 2>&5
42543 ac_status=$?
42544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42545 (exit $ac_status); }; }; then
42546 wx_cv_type_getsockname3=size_t
42547 else
42548 echo "$as_me: failed program was:" >&5
42549 sed 's/^/| /' conftest.$ac_ext >&5
42550
42551 cat >conftest.$ac_ext <<_ACEOF
42552 /* confdefs.h. */
42553 _ACEOF
42554 cat confdefs.h >>conftest.$ac_ext
42555 cat >>conftest.$ac_ext <<_ACEOF
42556 /* end confdefs.h. */
42557
42558 #include <sys/types.h>
42559 #include <sys/socket.h>
42560
42561 int
42562 main ()
42563 {
42564
42565 int len;
42566 getsockname(0, 0, &len);
42567
42568 ;
42569 return 0;
42570 }
42571 _ACEOF
42572 rm -f conftest.$ac_objext
42573 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42574 (eval $ac_compile) 2>conftest.er1
42575 ac_status=$?
42576 grep -v '^ *+' conftest.er1 >conftest.err
42577 rm -f conftest.er1
42578 cat conftest.err >&5
42579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42580 (exit $ac_status); } &&
42581 { ac_try='test -z "$ac_cxx_werror_flag"
42582 || test ! -s conftest.err'
42583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42584 (eval $ac_try) 2>&5
42585 ac_status=$?
42586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42587 (exit $ac_status); }; } &&
42588 { ac_try='test -s conftest.$ac_objext'
42589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42590 (eval $ac_try) 2>&5
42591 ac_status=$?
42592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42593 (exit $ac_status); }; }; then
42594 wx_cv_type_getsockname3=int
42595 else
42596 echo "$as_me: failed program was:" >&5
42597 sed 's/^/| /' conftest.$ac_ext >&5
42598
42599 wx_cv_type_getsockname3=unknown
42600
42601 fi
42602 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42603
42604 fi
42605 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42606
42607 CXXFLAGS="$CXXFLAGS_OLD"
42608
42609
42610 fi
42611 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42612
42613 fi
42614 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
42615 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
42616
42617 if test "$wx_cv_type_getsockname3" = "unknown"; then
42618 wxUSE_SOCKETS=no
42619 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
42620 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
42621 else
42622 cat >>confdefs.h <<_ACEOF
42623 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
42624 _ACEOF
42625
42626 fi
42627 echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
42628 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6
42629 if test "${wx_cv_type_getsockopt5+set}" = set; then
42630 echo $ECHO_N "(cached) $ECHO_C" >&6
42631 else
42632
42633 cat >conftest.$ac_ext <<_ACEOF
42634 /* confdefs.h. */
42635 _ACEOF
42636 cat confdefs.h >>conftest.$ac_ext
42637 cat >>conftest.$ac_ext <<_ACEOF
42638 /* end confdefs.h. */
42639
42640 #include <sys/types.h>
42641 #include <sys/socket.h>
42642
42643 int
42644 main ()
42645 {
42646
42647 socklen_t len;
42648 getsockopt(0, 0, 0, 0, &len);
42649
42650 ;
42651 return 0;
42652 }
42653 _ACEOF
42654 rm -f conftest.$ac_objext
42655 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42656 (eval $ac_compile) 2>conftest.er1
42657 ac_status=$?
42658 grep -v '^ *+' conftest.er1 >conftest.err
42659 rm -f conftest.er1
42660 cat conftest.err >&5
42661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42662 (exit $ac_status); } &&
42663 { ac_try='test -z "$ac_cxx_werror_flag"
42664 || test ! -s conftest.err'
42665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42666 (eval $ac_try) 2>&5
42667 ac_status=$?
42668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42669 (exit $ac_status); }; } &&
42670 { ac_try='test -s conftest.$ac_objext'
42671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42672 (eval $ac_try) 2>&5
42673 ac_status=$?
42674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42675 (exit $ac_status); }; }; then
42676 wx_cv_type_getsockopt5=socklen_t
42677 else
42678 echo "$as_me: failed program was:" >&5
42679 sed 's/^/| /' conftest.$ac_ext >&5
42680
42681
42682 CXXFLAGS_OLD="$CXXFLAGS"
42683 if test "$GCC" = yes ; then
42684 CXXFLAGS="-Werror $CXXFLAGS"
42685 fi
42686
42687 cat >conftest.$ac_ext <<_ACEOF
42688 /* confdefs.h. */
42689 _ACEOF
42690 cat confdefs.h >>conftest.$ac_ext
42691 cat >>conftest.$ac_ext <<_ACEOF
42692 /* end confdefs.h. */
42693
42694 #include <sys/types.h>
42695 #include <sys/socket.h>
42696
42697 int
42698 main ()
42699 {
42700
42701 size_t len;
42702 getsockopt(0, 0, 0, 0, &len);
42703
42704 ;
42705 return 0;
42706 }
42707 _ACEOF
42708 rm -f conftest.$ac_objext
42709 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42710 (eval $ac_compile) 2>conftest.er1
42711 ac_status=$?
42712 grep -v '^ *+' conftest.er1 >conftest.err
42713 rm -f conftest.er1
42714 cat conftest.err >&5
42715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42716 (exit $ac_status); } &&
42717 { ac_try='test -z "$ac_cxx_werror_flag"
42718 || test ! -s conftest.err'
42719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42720 (eval $ac_try) 2>&5
42721 ac_status=$?
42722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42723 (exit $ac_status); }; } &&
42724 { ac_try='test -s conftest.$ac_objext'
42725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42726 (eval $ac_try) 2>&5
42727 ac_status=$?
42728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42729 (exit $ac_status); }; }; then
42730 wx_cv_type_getsockopt5=size_t
42731 else
42732 echo "$as_me: failed program was:" >&5
42733 sed 's/^/| /' conftest.$ac_ext >&5
42734
42735 cat >conftest.$ac_ext <<_ACEOF
42736 /* confdefs.h. */
42737 _ACEOF
42738 cat confdefs.h >>conftest.$ac_ext
42739 cat >>conftest.$ac_ext <<_ACEOF
42740 /* end confdefs.h. */
42741
42742 #include <sys/types.h>
42743 #include <sys/socket.h>
42744
42745 int
42746 main ()
42747 {
42748
42749 int len;
42750 getsockopt(0, 0, 0, 0, &len);
42751
42752 ;
42753 return 0;
42754 }
42755 _ACEOF
42756 rm -f conftest.$ac_objext
42757 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42758 (eval $ac_compile) 2>conftest.er1
42759 ac_status=$?
42760 grep -v '^ *+' conftest.er1 >conftest.err
42761 rm -f conftest.er1
42762 cat conftest.err >&5
42763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42764 (exit $ac_status); } &&
42765 { ac_try='test -z "$ac_cxx_werror_flag"
42766 || test ! -s conftest.err'
42767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42768 (eval $ac_try) 2>&5
42769 ac_status=$?
42770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42771 (exit $ac_status); }; } &&
42772 { ac_try='test -s conftest.$ac_objext'
42773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42774 (eval $ac_try) 2>&5
42775 ac_status=$?
42776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42777 (exit $ac_status); }; }; then
42778 wx_cv_type_getsockopt5=int
42779 else
42780 echo "$as_me: failed program was:" >&5
42781 sed 's/^/| /' conftest.$ac_ext >&5
42782
42783 wx_cv_type_getsockopt5=unknown
42784
42785 fi
42786 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42787
42788 fi
42789 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42790
42791 CXXFLAGS="$CXXFLAGS_OLD"
42792
42793
42794 fi
42795 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42796
42797 fi
42798 echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
42799 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6
42800
42801 if test "$wx_cv_type_getsockopt5" = "unknown"; then
42802 wxUSE_SOCKETS=no
42803 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
42804 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
42805 else
42806 cat >>confdefs.h <<_ACEOF
42807 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
42808 _ACEOF
42809
42810 fi
42811 ac_ext=c
42812 ac_cpp='$CPP $CPPFLAGS'
42813 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42814 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42815 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42816
42817 fi
42818 fi
42819
42820 if test "$wxUSE_SOCKETS" = "yes" ; then
42821 cat >>confdefs.h <<\_ACEOF
42822 #define wxUSE_SOCKETS 1
42823 _ACEOF
42824
42825 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
42826 fi
42827
42828 if test "$wxUSE_PROTOCOL" = "yes"; then
42829 if test "$wxUSE_SOCKETS" != "yes"; then
42830 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
42831 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
42832 wxUSE_PROTOCOL=no
42833 fi
42834 fi
42835
42836 if test "$wxUSE_PROTOCOL" = "yes"; then
42837 cat >>confdefs.h <<\_ACEOF
42838 #define wxUSE_PROTOCOL 1
42839 _ACEOF
42840
42841
42842 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
42843 cat >>confdefs.h <<\_ACEOF
42844 #define wxUSE_PROTOCOL_HTTP 1
42845 _ACEOF
42846
42847 fi
42848 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
42849 cat >>confdefs.h <<\_ACEOF
42850 #define wxUSE_PROTOCOL_FTP 1
42851 _ACEOF
42852
42853 fi
42854 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
42855 cat >>confdefs.h <<\_ACEOF
42856 #define wxUSE_PROTOCOL_FILE 1
42857 _ACEOF
42858
42859 fi
42860 else
42861 if test "$wxUSE_FS_INET" = "yes"; then
42862 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
42863 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
42864 wxUSE_FS_INET="no"
42865 fi
42866 fi
42867
42868 if test "$wxUSE_URL" = "yes"; then
42869 if test "$wxUSE_PROTOCOL" != "yes"; then
42870 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
42871 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
42872 wxUSE_URL=no
42873 fi
42874 if test "$wxUSE_URL" = "yes"; then
42875 cat >>confdefs.h <<\_ACEOF
42876 #define wxUSE_URL 1
42877 _ACEOF
42878
42879 fi
42880 fi
42881
42882 if test "$wxUSE_FS_INET" = "yes"; then
42883 cat >>confdefs.h <<\_ACEOF
42884 #define wxUSE_FS_INET 1
42885 _ACEOF
42886
42887 fi
42888
42889
42890 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
42891 wxUSE_JOYSTICK=no
42892
42893 if test "$TOOLKIT" = "MSW"; then
42894 wxUSE_JOYSTICK=yes
42895
42896 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
42897 if test "$USE_DARWIN" = 1; then
42898 echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
42899 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6
42900 ac_ext=cc
42901 ac_cpp='$CXXCPP $CPPFLAGS'
42902 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42903 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42904 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42905
42906 cat >conftest.$ac_ext <<_ACEOF
42907 /* confdefs.h. */
42908 _ACEOF
42909 cat confdefs.h >>conftest.$ac_ext
42910 cat >>conftest.$ac_ext <<_ACEOF
42911 /* end confdefs.h. */
42912 #include <IOKit/hid/IOHIDLib.h>
42913 int
42914 main ()
42915 {
42916 IOHIDQueueInterface *qi = NULL;
42917 IOHIDCallbackFunction cb = NULL;
42918 qi->setEventCallout(NULL, cb, NULL, NULL);
42919 ;
42920 return 0;
42921 }
42922 _ACEOF
42923 rm -f conftest.$ac_objext
42924 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42925 (eval $ac_compile) 2>conftest.er1
42926 ac_status=$?
42927 grep -v '^ *+' conftest.er1 >conftest.err
42928 rm -f conftest.er1
42929 cat conftest.err >&5
42930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42931 (exit $ac_status); } &&
42932 { ac_try='test -z "$ac_cxx_werror_flag"
42933 || test ! -s conftest.err'
42934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42935 (eval $ac_try) 2>&5
42936 ac_status=$?
42937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42938 (exit $ac_status); }; } &&
42939 { ac_try='test -s conftest.$ac_objext'
42940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42941 (eval $ac_try) 2>&5
42942 ac_status=$?
42943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42944 (exit $ac_status); }; }; then
42945 wxUSE_JOYSTICK=yes
42946
42947 else
42948 echo "$as_me: failed program was:" >&5
42949 sed 's/^/| /' conftest.$ac_ext >&5
42950
42951 fi
42952 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42953 ac_ext=c
42954 ac_cpp='$CPP $CPPFLAGS'
42955 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42956 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42957 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42958
42959 echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
42960 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6
42961 fi
42962
42963 else
42964
42965 for ac_header in linux/joystick.h
42966 do
42967 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
42968 if eval "test \"\${$as_ac_Header+set}\" = set"; then
42969 echo "$as_me:$LINENO: checking for $ac_header" >&5
42970 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
42971 if eval "test \"\${$as_ac_Header+set}\" = set"; then
42972 echo $ECHO_N "(cached) $ECHO_C" >&6
42973 fi
42974 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
42975 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
42976 else
42977 # Is the header compilable?
42978 echo "$as_me:$LINENO: checking $ac_header usability" >&5
42979 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
42980 cat >conftest.$ac_ext <<_ACEOF
42981 /* confdefs.h. */
42982 _ACEOF
42983 cat confdefs.h >>conftest.$ac_ext
42984 cat >>conftest.$ac_ext <<_ACEOF
42985 /* end confdefs.h. */
42986 $ac_includes_default
42987 #include <$ac_header>
42988 _ACEOF
42989 rm -f conftest.$ac_objext
42990 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42991 (eval $ac_compile) 2>conftest.er1
42992 ac_status=$?
42993 grep -v '^ *+' conftest.er1 >conftest.err
42994 rm -f conftest.er1
42995 cat conftest.err >&5
42996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42997 (exit $ac_status); } &&
42998 { ac_try='test -z "$ac_c_werror_flag"
42999 || test ! -s conftest.err'
43000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43001 (eval $ac_try) 2>&5
43002 ac_status=$?
43003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43004 (exit $ac_status); }; } &&
43005 { ac_try='test -s conftest.$ac_objext'
43006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43007 (eval $ac_try) 2>&5
43008 ac_status=$?
43009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43010 (exit $ac_status); }; }; then
43011 ac_header_compiler=yes
43012 else
43013 echo "$as_me: failed program was:" >&5
43014 sed 's/^/| /' conftest.$ac_ext >&5
43015
43016 ac_header_compiler=no
43017 fi
43018 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43019 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
43020 echo "${ECHO_T}$ac_header_compiler" >&6
43021
43022 # Is the header present?
43023 echo "$as_me:$LINENO: checking $ac_header presence" >&5
43024 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
43025 cat >conftest.$ac_ext <<_ACEOF
43026 /* confdefs.h. */
43027 _ACEOF
43028 cat confdefs.h >>conftest.$ac_ext
43029 cat >>conftest.$ac_ext <<_ACEOF
43030 /* end confdefs.h. */
43031 #include <$ac_header>
43032 _ACEOF
43033 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
43034 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
43035 ac_status=$?
43036 grep -v '^ *+' conftest.er1 >conftest.err
43037 rm -f conftest.er1
43038 cat conftest.err >&5
43039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43040 (exit $ac_status); } >/dev/null; then
43041 if test -s conftest.err; then
43042 ac_cpp_err=$ac_c_preproc_warn_flag
43043 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
43044 else
43045 ac_cpp_err=
43046 fi
43047 else
43048 ac_cpp_err=yes
43049 fi
43050 if test -z "$ac_cpp_err"; then
43051 ac_header_preproc=yes
43052 else
43053 echo "$as_me: failed program was:" >&5
43054 sed 's/^/| /' conftest.$ac_ext >&5
43055
43056 ac_header_preproc=no
43057 fi
43058 rm -f conftest.err conftest.$ac_ext
43059 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
43060 echo "${ECHO_T}$ac_header_preproc" >&6
43061
43062 # So? What about this header?
43063 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
43064 yes:no: )
43065 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
43066 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
43067 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
43068 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
43069 ac_header_preproc=yes
43070 ;;
43071 no:yes:* )
43072 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
43073 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
43074 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
43075 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
43076 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
43077 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
43078 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
43079 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
43080 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
43081 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
43082 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
43083 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
43084 (
43085 cat <<\_ASBOX
43086 ## ----------------------------------------- ##
43087 ## Report this to wx-dev@lists.wxwidgets.org ##
43088 ## ----------------------------------------- ##
43089 _ASBOX
43090 ) |
43091 sed "s/^/$as_me: WARNING: /" >&2
43092 ;;
43093 esac
43094 echo "$as_me:$LINENO: checking for $ac_header" >&5
43095 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
43096 if eval "test \"\${$as_ac_Header+set}\" = set"; then
43097 echo $ECHO_N "(cached) $ECHO_C" >&6
43098 else
43099 eval "$as_ac_Header=\$ac_header_preproc"
43100 fi
43101 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
43102 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
43103
43104 fi
43105 if test `eval echo '${'$as_ac_Header'}'` = yes; then
43106 cat >>confdefs.h <<_ACEOF
43107 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
43108 _ACEOF
43109 wxUSE_JOYSTICK=yes
43110 fi
43111
43112 done
43113
43114 fi
43115
43116 if test "$wxUSE_JOYSTICK" = "yes"; then
43117 cat >>confdefs.h <<\_ACEOF
43118 #define wxUSE_JOYSTICK 1
43119 _ACEOF
43120
43121 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
43122 else
43123 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
43124 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
43125 fi
43126 fi
43127
43128
43129
43130 if test "$wxUSE_FONTMAP" = "yes" ; then
43131 cat >>confdefs.h <<\_ACEOF
43132 #define wxUSE_FONTMAP 1
43133 _ACEOF
43134
43135 fi
43136
43137 if test "$wxUSE_UNICODE" = "yes" ; then
43138 cat >>confdefs.h <<\_ACEOF
43139 #define wxUSE_UNICODE 1
43140 _ACEOF
43141
43142
43143 if test "$USE_WIN32" != 1; then
43144 wxUSE_UNICODE_MSLU=no
43145 fi
43146
43147 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
43148 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
43149 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
43150 if test "${ac_cv_lib_unicows_main+set}" = set; then
43151 echo $ECHO_N "(cached) $ECHO_C" >&6
43152 else
43153 ac_check_lib_save_LIBS=$LIBS
43154 LIBS="-lunicows $LIBS"
43155 cat >conftest.$ac_ext <<_ACEOF
43156 /* confdefs.h. */
43157 _ACEOF
43158 cat confdefs.h >>conftest.$ac_ext
43159 cat >>conftest.$ac_ext <<_ACEOF
43160 /* end confdefs.h. */
43161
43162
43163 int
43164 main ()
43165 {
43166 main ();
43167 ;
43168 return 0;
43169 }
43170 _ACEOF
43171 rm -f conftest.$ac_objext conftest$ac_exeext
43172 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43173 (eval $ac_link) 2>conftest.er1
43174 ac_status=$?
43175 grep -v '^ *+' conftest.er1 >conftest.err
43176 rm -f conftest.er1
43177 cat conftest.err >&5
43178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43179 (exit $ac_status); } &&
43180 { ac_try='test -z "$ac_c_werror_flag"
43181 || test ! -s conftest.err'
43182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43183 (eval $ac_try) 2>&5
43184 ac_status=$?
43185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43186 (exit $ac_status); }; } &&
43187 { ac_try='test -s conftest$ac_exeext'
43188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43189 (eval $ac_try) 2>&5
43190 ac_status=$?
43191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43192 (exit $ac_status); }; }; then
43193 ac_cv_lib_unicows_main=yes
43194 else
43195 echo "$as_me: failed program was:" >&5
43196 sed 's/^/| /' conftest.$ac_ext >&5
43197
43198 ac_cv_lib_unicows_main=no
43199 fi
43200 rm -f conftest.err conftest.$ac_objext \
43201 conftest$ac_exeext conftest.$ac_ext
43202 LIBS=$ac_check_lib_save_LIBS
43203 fi
43204 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
43205 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
43206 if test $ac_cv_lib_unicows_main = yes; then
43207
43208 cat >>confdefs.h <<\_ACEOF
43209 #define wxUSE_UNICODE_MSLU 1
43210 _ACEOF
43211
43212
43213 else
43214
43215 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
43216 Applications will only run on Windows NT/2000/XP!" >&5
43217 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
43218 Applications will only run on Windows NT/2000/XP!" >&2;}
43219 wxUSE_UNICODE_MSLU=no
43220
43221 fi
43222
43223 fi
43224 fi
43225
43226 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
43227 cat >>confdefs.h <<\_ACEOF
43228 #define wxUSE_EXPERIMENTAL_PRINTF 1
43229 _ACEOF
43230
43231 fi
43232
43233
43234 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
43235 cat >>confdefs.h <<\_ACEOF
43236 #define wxUSE_POSTSCRIPT 1
43237 _ACEOF
43238
43239 fi
43240
43241 cat >>confdefs.h <<\_ACEOF
43242 #define wxUSE_AFM_FOR_POSTSCRIPT 1
43243 _ACEOF
43244
43245
43246 cat >>confdefs.h <<\_ACEOF
43247 #define wxUSE_NORMALIZED_PS_FONTS 1
43248 _ACEOF
43249
43250
43251
43252 if test "$wxUSE_CONSTRAINTS" = "yes"; then
43253 cat >>confdefs.h <<\_ACEOF
43254 #define wxUSE_CONSTRAINTS 1
43255 _ACEOF
43256
43257 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
43258 fi
43259
43260 if test "$wxUSE_MDI" = "yes"; then
43261 cat >>confdefs.h <<\_ACEOF
43262 #define wxUSE_MDI 1
43263 _ACEOF
43264
43265
43266 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
43267 cat >>confdefs.h <<\_ACEOF
43268 #define wxUSE_MDI_ARCHITECTURE 1
43269 _ACEOF
43270
43271 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
43272 fi
43273 fi
43274
43275 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
43276 cat >>confdefs.h <<\_ACEOF
43277 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
43278 _ACEOF
43279
43280 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
43281 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
43282 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
43283 fi
43284 fi
43285
43286 if test "$wxUSE_HELP" = "yes"; then
43287 cat >>confdefs.h <<\_ACEOF
43288 #define wxUSE_HELP 1
43289 _ACEOF
43290
43291 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
43292
43293 if test "$wxUSE_MSW" = 1; then
43294 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
43295 cat >>confdefs.h <<\_ACEOF
43296 #define wxUSE_MS_HTML_HELP 1
43297 _ACEOF
43298
43299 fi
43300 fi
43301
43302 if test "$wxUSE_WXHTML_HELP" = "yes"; then
43303 if test "$wxUSE_HTML" = "yes"; then
43304 cat >>confdefs.h <<\_ACEOF
43305 #define wxUSE_WXHTML_HELP 1
43306 _ACEOF
43307
43308 else
43309 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
43310 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
43311 wxUSE_WXHTML_HELP=no
43312 fi
43313 fi
43314 fi
43315
43316 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
43317 if test "$wxUSE_CONSTRAINTS" != "yes"; then
43318 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
43319 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
43320 else
43321 cat >>confdefs.h <<\_ACEOF
43322 #define wxUSE_PRINTING_ARCHITECTURE 1
43323 _ACEOF
43324
43325 fi
43326 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
43327 fi
43328
43329 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
43330 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
43331 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
43332 { (exit 1); exit 1; }; }
43333 fi
43334
43335
43336 if test "$wxUSE_METAFILE" = "yes"; then
43337 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
43338 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
43339 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
43340 wxUSE_METAFILE=no
43341 fi
43342 fi
43343
43344
43345 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
43346 -o "$wxUSE_CLIPBOARD" = "yes" \
43347 -o "$wxUSE_OLE" = "yes" \
43348 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
43349
43350 for ac_header in ole2.h
43351 do
43352 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
43353 if eval "test \"\${$as_ac_Header+set}\" = set"; then
43354 echo "$as_me:$LINENO: checking for $ac_header" >&5
43355 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
43356 if eval "test \"\${$as_ac_Header+set}\" = set"; then
43357 echo $ECHO_N "(cached) $ECHO_C" >&6
43358 fi
43359 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
43360 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
43361 else
43362 # Is the header compilable?
43363 echo "$as_me:$LINENO: checking $ac_header usability" >&5
43364 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
43365 cat >conftest.$ac_ext <<_ACEOF
43366 /* confdefs.h. */
43367 _ACEOF
43368 cat confdefs.h >>conftest.$ac_ext
43369 cat >>conftest.$ac_ext <<_ACEOF
43370 /* end confdefs.h. */
43371 $ac_includes_default
43372 #include <$ac_header>
43373 _ACEOF
43374 rm -f conftest.$ac_objext
43375 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43376 (eval $ac_compile) 2>conftest.er1
43377 ac_status=$?
43378 grep -v '^ *+' conftest.er1 >conftest.err
43379 rm -f conftest.er1
43380 cat conftest.err >&5
43381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43382 (exit $ac_status); } &&
43383 { ac_try='test -z "$ac_c_werror_flag"
43384 || test ! -s conftest.err'
43385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43386 (eval $ac_try) 2>&5
43387 ac_status=$?
43388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43389 (exit $ac_status); }; } &&
43390 { ac_try='test -s conftest.$ac_objext'
43391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43392 (eval $ac_try) 2>&5
43393 ac_status=$?
43394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43395 (exit $ac_status); }; }; then
43396 ac_header_compiler=yes
43397 else
43398 echo "$as_me: failed program was:" >&5
43399 sed 's/^/| /' conftest.$ac_ext >&5
43400
43401 ac_header_compiler=no
43402 fi
43403 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43404 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
43405 echo "${ECHO_T}$ac_header_compiler" >&6
43406
43407 # Is the header present?
43408 echo "$as_me:$LINENO: checking $ac_header presence" >&5
43409 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
43410 cat >conftest.$ac_ext <<_ACEOF
43411 /* confdefs.h. */
43412 _ACEOF
43413 cat confdefs.h >>conftest.$ac_ext
43414 cat >>conftest.$ac_ext <<_ACEOF
43415 /* end confdefs.h. */
43416 #include <$ac_header>
43417 _ACEOF
43418 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
43419 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
43420 ac_status=$?
43421 grep -v '^ *+' conftest.er1 >conftest.err
43422 rm -f conftest.er1
43423 cat conftest.err >&5
43424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43425 (exit $ac_status); } >/dev/null; then
43426 if test -s conftest.err; then
43427 ac_cpp_err=$ac_c_preproc_warn_flag
43428 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
43429 else
43430 ac_cpp_err=
43431 fi
43432 else
43433 ac_cpp_err=yes
43434 fi
43435 if test -z "$ac_cpp_err"; then
43436 ac_header_preproc=yes
43437 else
43438 echo "$as_me: failed program was:" >&5
43439 sed 's/^/| /' conftest.$ac_ext >&5
43440
43441 ac_header_preproc=no
43442 fi
43443 rm -f conftest.err conftest.$ac_ext
43444 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
43445 echo "${ECHO_T}$ac_header_preproc" >&6
43446
43447 # So? What about this header?
43448 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
43449 yes:no: )
43450 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
43451 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
43452 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
43453 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
43454 ac_header_preproc=yes
43455 ;;
43456 no:yes:* )
43457 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
43458 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
43459 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
43460 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
43461 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
43462 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
43463 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
43464 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
43465 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
43466 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
43467 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
43468 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
43469 (
43470 cat <<\_ASBOX
43471 ## ----------------------------------------- ##
43472 ## Report this to wx-dev@lists.wxwidgets.org ##
43473 ## ----------------------------------------- ##
43474 _ASBOX
43475 ) |
43476 sed "s/^/$as_me: WARNING: /" >&2
43477 ;;
43478 esac
43479 echo "$as_me:$LINENO: checking for $ac_header" >&5
43480 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
43481 if eval "test \"\${$as_ac_Header+set}\" = set"; then
43482 echo $ECHO_N "(cached) $ECHO_C" >&6
43483 else
43484 eval "$as_ac_Header=\$ac_header_preproc"
43485 fi
43486 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
43487 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
43488
43489 fi
43490 if test `eval echo '${'$as_ac_Header'}'` = yes; then
43491 cat >>confdefs.h <<_ACEOF
43492 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
43493 _ACEOF
43494
43495 fi
43496
43497 done
43498
43499
43500 if test "$ac_cv_header_ole2_h" = "yes" ; then
43501 if test "$GCC" = yes ; then
43502 ac_ext=cc
43503 ac_cpp='$CXXCPP $CPPFLAGS'
43504 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43505 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43506 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43507
43508
43509 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
43510 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
43511 cat >conftest.$ac_ext <<_ACEOF
43512 /* confdefs.h. */
43513 _ACEOF
43514 cat confdefs.h >>conftest.$ac_ext
43515 cat >>conftest.$ac_ext <<_ACEOF
43516 /* end confdefs.h. */
43517 #include <windows.h>
43518 #include <ole2.h>
43519 int
43520 main ()
43521 {
43522
43523 ;
43524 return 0;
43525 }
43526 _ACEOF
43527 rm -f conftest.$ac_objext
43528 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43529 (eval $ac_compile) 2>conftest.er1
43530 ac_status=$?
43531 grep -v '^ *+' conftest.er1 >conftest.err
43532 rm -f conftest.er1
43533 cat conftest.err >&5
43534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43535 (exit $ac_status); } &&
43536 { ac_try='test -z "$ac_cxx_werror_flag"
43537 || test ! -s conftest.err'
43538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43539 (eval $ac_try) 2>&5
43540 ac_status=$?
43541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43542 (exit $ac_status); }; } &&
43543 { ac_try='test -s conftest.$ac_objext'
43544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43545 (eval $ac_try) 2>&5
43546 ac_status=$?
43547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43548 (exit $ac_status); }; }; then
43549 echo "$as_me:$LINENO: result: no" >&5
43550 echo "${ECHO_T}no" >&6
43551 else
43552 echo "$as_me: failed program was:" >&5
43553 sed 's/^/| /' conftest.$ac_ext >&5
43554
43555 echo "$as_me:$LINENO: result: yes" >&5
43556 echo "${ECHO_T}yes" >&6
43557 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
43558 fi
43559 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43560 ac_ext=c
43561 ac_cpp='$CPP $CPPFLAGS'
43562 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43563 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43564 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43565
43566 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
43567 if test "$wxUSE_OLE" = "yes" ; then
43568 cat >>confdefs.h <<\_ACEOF
43569 #define wxUSE_OLE 1
43570 _ACEOF
43571
43572 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
43573 fi
43574 fi
43575
43576 if test "$wxUSE_DATAOBJ" = "yes" ; then
43577 cat >>confdefs.h <<\_ACEOF
43578 #define wxUSE_DATAOBJ 1
43579 _ACEOF
43580
43581 fi
43582 else
43583 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
43584 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
43585
43586 wxUSE_CLIPBOARD=no
43587 wxUSE_DRAG_AND_DROP=no
43588 wxUSE_DATAOBJ=no
43589 wxUSE_OLE=no
43590 fi
43591
43592 if test "$wxUSE_METAFILE" = "yes"; then
43593 cat >>confdefs.h <<\_ACEOF
43594 #define wxUSE_METAFILE 1
43595 _ACEOF
43596
43597
43598 cat >>confdefs.h <<\_ACEOF
43599 #define wxUSE_ENH_METAFILE 1
43600 _ACEOF
43601
43602 fi
43603 fi
43604
43605 if test "$wxUSE_IPC" = "yes"; then
43606 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
43607 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
43608 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
43609 wxUSE_IPC=no
43610 fi
43611
43612 if test "$wxUSE_IPC" = "yes"; then
43613 cat >>confdefs.h <<\_ACEOF
43614 #define wxUSE_IPC 1
43615 _ACEOF
43616
43617 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
43618 fi
43619 fi
43620
43621 if test "$wxUSE_DATAOBJ" = "yes"; then
43622 if test "$wxUSE_MGL" = 1; then
43623 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under MGL... disabled" >&5
43624 echo "$as_me: WARNING: wxDataObject not yet supported under MGL... disabled" >&2;}
43625 wxUSE_DATAOBJ=no
43626 else
43627 cat >>confdefs.h <<\_ACEOF
43628 #define wxUSE_DATAOBJ 1
43629 _ACEOF
43630
43631 fi
43632 else
43633 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
43634 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
43635 wxUSE_CLIPBOARD=no
43636 wxUSE_DRAG_AND_DROP=no
43637 fi
43638
43639 if test "$wxUSE_CLIPBOARD" = "yes"; then
43640 if test "$wxUSE_MGL" = 1; then
43641 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
43642 echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
43643 wxUSE_CLIPBOARD=no
43644 fi
43645
43646 if test "$wxUSE_CLIPBOARD" = "yes"; then
43647 cat >>confdefs.h <<\_ACEOF
43648 #define wxUSE_CLIPBOARD 1
43649 _ACEOF
43650
43651 fi
43652 fi
43653
43654 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
43655 if test "$wxUSE_GTK" = 1; then
43656 if test "$WXGTK12" != 1; then
43657 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
43658 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
43659 wxUSE_DRAG_AND_DROP=no
43660 fi
43661 fi
43662
43663 if test "$wxUSE_MOTIF" = 1; then
43664 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
43665 echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
43666 wxUSE_DRAG_AND_DROP=no
43667 fi
43668
43669 if test "$wxUSE_X11" = 1; then
43670 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
43671 echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
43672 wxUSE_DRAG_AND_DROP=no
43673 fi
43674
43675 if test "$wxUSE_MGL" = 1; then
43676 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
43677 echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
43678 wxUSE_DRAG_AND_DROP=no
43679 fi
43680
43681 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
43682 cat >>confdefs.h <<\_ACEOF
43683 #define wxUSE_DRAG_AND_DROP 1
43684 _ACEOF
43685
43686 fi
43687
43688 fi
43689
43690 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
43691 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
43692 fi
43693
43694 if test "$wxUSE_SPLINES" = "yes" ; then
43695 cat >>confdefs.h <<\_ACEOF
43696 #define wxUSE_SPLINES 1
43697 _ACEOF
43698
43699 fi
43700
43701 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
43702 cat >>confdefs.h <<\_ACEOF
43703 #define wxUSE_MOUSEWHEEL 1
43704 _ACEOF
43705
43706 fi
43707
43708
43709 USES_CONTROLS=0
43710 if test "$wxUSE_CONTROLS" = "yes"; then
43711 USES_CONTROLS=1
43712 fi
43713
43714 if test "$wxUSE_ACCEL" = "yes"; then
43715 cat >>confdefs.h <<\_ACEOF
43716 #define wxUSE_ACCEL 1
43717 _ACEOF
43718
43719 USES_CONTROLS=1
43720 fi
43721
43722 if test "$wxUSE_BUTTON" = "yes"; then
43723 cat >>confdefs.h <<\_ACEOF
43724 #define wxUSE_BUTTON 1
43725 _ACEOF
43726
43727 USES_CONTROLS=1
43728 fi
43729
43730 if test "$wxUSE_BMPBUTTON" = "yes"; then
43731 cat >>confdefs.h <<\_ACEOF
43732 #define wxUSE_BMPBUTTON 1
43733 _ACEOF
43734
43735 USES_CONTROLS=1
43736 fi
43737
43738 if test "$wxUSE_CALCTRL" = "yes"; then
43739 cat >>confdefs.h <<\_ACEOF
43740 #define wxUSE_CALENDARCTRL 1
43741 _ACEOF
43742
43743 USES_CONTROLS=1
43744 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
43745 fi
43746
43747 if test "$wxUSE_CARET" = "yes"; then
43748 cat >>confdefs.h <<\_ACEOF
43749 #define wxUSE_CARET 1
43750 _ACEOF
43751
43752 USES_CONTROLS=1
43753 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
43754 fi
43755
43756 if test "$wxUSE_COMBOBOX" = "yes"; then
43757 cat >>confdefs.h <<\_ACEOF
43758 #define wxUSE_COMBOBOX 1
43759 _ACEOF
43760
43761 USES_CONTROLS=1
43762 fi
43763
43764 if test "$wxUSE_CHOICE" = "yes"; then
43765 cat >>confdefs.h <<\_ACEOF
43766 #define wxUSE_CHOICE 1
43767 _ACEOF
43768
43769 USES_CONTROLS=1
43770 fi
43771
43772 if test "$wxUSE_CHOICEBOOK" = "yes"; then
43773 cat >>confdefs.h <<\_ACEOF
43774 #define wxUSE_CHOICEBOOK 1
43775 _ACEOF
43776
43777 USES_CONTROLS=1
43778 fi
43779
43780 if test "$wxUSE_CHECKBOX" = "yes"; then
43781 cat >>confdefs.h <<\_ACEOF
43782 #define wxUSE_CHECKBOX 1
43783 _ACEOF
43784
43785 USES_CONTROLS=1
43786 fi
43787
43788 if test "$wxUSE_CHECKLST" = "yes"; then
43789 cat >>confdefs.h <<\_ACEOF
43790 #define wxUSE_CHECKLISTBOX 1
43791 _ACEOF
43792
43793 USES_CONTROLS=1
43794 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS checklst"
43795 fi
43796
43797 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
43798 cat >>confdefs.h <<\_ACEOF
43799 #define wxUSE_DATEPICKCTRL 1
43800 _ACEOF
43801
43802 USES_CONTROLS=1
43803 fi
43804
43805 if test "$wxUSE_DISPLAY" = "yes"; then
43806 cat >>confdefs.h <<\_ACEOF
43807 #define wxUSE_DISPLAY 1
43808 _ACEOF
43809
43810 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display multimon"
43811 fi
43812
43813 if test "$wxUSE_GAUGE" = "yes"; then
43814 cat >>confdefs.h <<\_ACEOF
43815 #define wxUSE_GAUGE 1
43816 _ACEOF
43817
43818 USES_CONTROLS=1
43819 fi
43820
43821 if test "$wxUSE_GRID" = "yes"; then
43822 cat >>confdefs.h <<\_ACEOF
43823 #define wxUSE_GRID 1
43824 _ACEOF
43825
43826 USES_CONTROLS=1
43827 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
43828 fi
43829
43830 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
43831 cat >>confdefs.h <<\_ACEOF
43832 #define wxUSE_DATAVIEWCTRL 1
43833 _ACEOF
43834
43835 USES_CONTROLS=1
43836 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
43837 fi
43838
43839 if test "$wxUSE_IMAGLIST" = "yes"; then
43840 cat >>confdefs.h <<\_ACEOF
43841 #define wxUSE_IMAGLIST 1
43842 _ACEOF
43843
43844 fi
43845
43846 if test "$wxUSE_LISTBOOK" = "yes"; then
43847 cat >>confdefs.h <<\_ACEOF
43848 #define wxUSE_LISTBOOK 1
43849 _ACEOF
43850
43851 USES_CONTROLS=1
43852 fi
43853
43854 if test "$wxUSE_LISTBOX" = "yes"; then
43855 cat >>confdefs.h <<\_ACEOF
43856 #define wxUSE_LISTBOX 1
43857 _ACEOF
43858
43859 USES_CONTROLS=1
43860 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listbox"
43861 fi
43862
43863 if test "$wxUSE_LISTCTRL" = "yes"; then
43864 if test "$wxUSE_IMAGLIST" = "yes"; then
43865 cat >>confdefs.h <<\_ACEOF
43866 #define wxUSE_LISTCTRL 1
43867 _ACEOF
43868
43869 USES_CONTROLS=1
43870 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
43871 else
43872 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
43873 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
43874 fi
43875 fi
43876
43877 if test "$wxUSE_NOTEBOOK" = "yes"; then
43878 cat >>confdefs.h <<\_ACEOF
43879 #define wxUSE_NOTEBOOK 1
43880 _ACEOF
43881
43882 USES_CONTROLS=1
43883 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
43884 fi
43885
43886
43887 if test "$wxUSE_RADIOBOX" = "yes"; then
43888 cat >>confdefs.h <<\_ACEOF
43889 #define wxUSE_RADIOBOX 1
43890 _ACEOF
43891
43892 USES_CONTROLS=1
43893 fi
43894
43895 if test "$wxUSE_RADIOBTN" = "yes"; then
43896 cat >>confdefs.h <<\_ACEOF
43897 #define wxUSE_RADIOBTN 1
43898 _ACEOF
43899
43900 USES_CONTROLS=1
43901 fi
43902
43903 if test "$wxUSE_SASH" = "yes"; then
43904 cat >>confdefs.h <<\_ACEOF
43905 #define wxUSE_SASH 1
43906 _ACEOF
43907
43908 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
43909 fi
43910
43911 if test "$wxUSE_SCROLLBAR" = "yes"; then
43912 cat >>confdefs.h <<\_ACEOF
43913 #define wxUSE_SCROLLBAR 1
43914 _ACEOF
43915
43916 USES_CONTROLS=1
43917 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
43918 fi
43919
43920 if test "$wxUSE_SLIDER" = "yes"; then
43921 cat >>confdefs.h <<\_ACEOF
43922 #define wxUSE_SLIDER 1
43923 _ACEOF
43924
43925 USES_CONTROLS=1
43926 fi
43927
43928 if test "$wxUSE_SPINBTN" = "yes"; then
43929 cat >>confdefs.h <<\_ACEOF
43930 #define wxUSE_SPINBTN 1
43931 _ACEOF
43932
43933 USES_CONTROLS=1
43934 fi
43935
43936 if test "$wxUSE_SPINCTRL" = "yes"; then
43937 cat >>confdefs.h <<\_ACEOF
43938 #define wxUSE_SPINCTRL 1
43939 _ACEOF
43940
43941 USES_CONTROLS=1
43942 fi
43943
43944 if test "$wxUSE_SPLITTER" = "yes"; then
43945 cat >>confdefs.h <<\_ACEOF
43946 #define wxUSE_SPLITTER 1
43947 _ACEOF
43948
43949 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
43950 fi
43951
43952 if test "$wxUSE_STATBMP" = "yes"; then
43953 cat >>confdefs.h <<\_ACEOF
43954 #define wxUSE_STATBMP 1
43955 _ACEOF
43956
43957 USES_CONTROLS=1
43958 fi
43959
43960 if test "$wxUSE_STATBOX" = "yes"; then
43961 cat >>confdefs.h <<\_ACEOF
43962 #define wxUSE_STATBOX 1
43963 _ACEOF
43964
43965 USES_CONTROLS=1
43966 fi
43967
43968 if test "$wxUSE_STATTEXT" = "yes"; then
43969 cat >>confdefs.h <<\_ACEOF
43970 #define wxUSE_STATTEXT 1
43971 _ACEOF
43972
43973 USES_CONTROLS=1
43974 fi
43975
43976 if test "$wxUSE_STATLINE" = "yes"; then
43977 cat >>confdefs.h <<\_ACEOF
43978 #define wxUSE_STATLINE 1
43979 _ACEOF
43980
43981 USES_CONTROLS=1
43982 fi
43983
43984 if test "$wxUSE_STATUSBAR" = "yes"; then
43985 cat >>confdefs.h <<\_ACEOF
43986 #define wxUSE_NATIVE_STATUSBAR 1
43987 _ACEOF
43988
43989 cat >>confdefs.h <<\_ACEOF
43990 #define wxUSE_STATUSBAR 1
43991 _ACEOF
43992
43993 USES_CONTROLS=1
43994
43995 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
43996 fi
43997
43998 if test "$wxUSE_TAB_DIALOG" = "yes"; then
43999 cat >>confdefs.h <<\_ACEOF
44000 #define wxUSE_TAB_DIALOG 1
44001 _ACEOF
44002
44003 fi
44004
44005 if test "$wxUSE_TEXTCTRL" = "yes"; then
44006 cat >>confdefs.h <<\_ACEOF
44007 #define wxUSE_TEXTCTRL 1
44008 _ACEOF
44009
44010 USES_CONTROLS=1
44011 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
44012 fi
44013
44014 if test "$wxUSE_TOGGLEBTN" = "yes"; then
44015 if test "$wxUSE_COCOA" = 1 ; then
44016 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
44017 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
44018 wxUSE_TOGGLEBTN=no
44019 fi
44020 if test "$wxUSE_UNIVERSAL" = "yes"; then
44021 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&5
44022 echo "$as_me: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&2;}
44023 wxUSE_TOGGLEBTN=no
44024 fi
44025
44026 if test "$wxUSE_TOGGLEBTN" = "yes"; then
44027 cat >>confdefs.h <<\_ACEOF
44028 #define wxUSE_TOGGLEBTN 1
44029 _ACEOF
44030
44031 USES_CONTROLS=1
44032 fi
44033 fi
44034
44035 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
44036 cat >>confdefs.h <<\_ACEOF
44037 #define wxUSE_TOOLBAR_SIMPLE 1
44038 _ACEOF
44039
44040 wxUSE_TOOLBAR="yes"
44041 USES_CONTROLS=1
44042 fi
44043
44044 if test "$wxUSE_TOOLBAR" = "yes"; then
44045 cat >>confdefs.h <<\_ACEOF
44046 #define wxUSE_TOOLBAR 1
44047 _ACEOF
44048
44049 USES_CONTROLS=1
44050
44051 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
44052 wxUSE_TOOLBAR_NATIVE="yes"
44053 fi
44054
44055 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
44056 cat >>confdefs.h <<\_ACEOF
44057 #define wxUSE_TOOLBAR_NATIVE 1
44058 _ACEOF
44059
44060 USES_CONTROLS=1
44061 fi
44062
44063 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
44064 fi
44065
44066 if test "$wxUSE_TOOLTIPS" = "yes"; then
44067 if test "$wxUSE_MOTIF" = 1; then
44068 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
44069 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
44070 else
44071 if test "$wxUSE_UNIVERSAL" = "yes"; then
44072 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
44073 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
44074 else
44075 cat >>confdefs.h <<\_ACEOF
44076 #define wxUSE_TOOLTIPS 1
44077 _ACEOF
44078
44079 fi
44080 fi
44081 fi
44082
44083 if test "$wxUSE_TREEBOOK" = "yes"; then
44084 cat >>confdefs.h <<\_ACEOF
44085 #define wxUSE_TREEBOOK 1
44086 _ACEOF
44087
44088 USES_CONTROLS=1
44089 fi
44090
44091 if test "$wxUSE_TOOLBOOK" = "yes"; then
44092 cat >>confdefs.h <<\_ACEOF
44093 #define wxUSE_TOOLBOOK 1
44094 _ACEOF
44095
44096 USES_CONTROLS=1
44097 fi
44098
44099 if test "$wxUSE_TREECTRL" = "yes"; then
44100 if test "$wxUSE_IMAGLIST" = "yes"; then
44101 cat >>confdefs.h <<\_ACEOF
44102 #define wxUSE_TREECTRL 1
44103 _ACEOF
44104
44105 USES_CONTROLS=1
44106 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
44107 else
44108 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
44109 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
44110 fi
44111 fi
44112
44113 if test "$wxUSE_POPUPWIN" = "yes"; then
44114 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
44115 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
44116 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
44117 else
44118 if test "$wxUSE_PM" = 1; then
44119 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
44120 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
44121 else
44122 cat >>confdefs.h <<\_ACEOF
44123 #define wxUSE_POPUPWIN 1
44124 _ACEOF
44125
44126 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
44127
44128 USES_CONTROLS=1
44129 fi
44130 fi
44131 fi
44132
44133 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
44134 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
44135 { echo "$as_me:$LINENO: WARNING: Dialup manager not yet supported under Mac OS X... disabled" >&5
44136 echo "$as_me: WARNING: Dialup manager not yet supported under Mac OS X... disabled" >&2;}
44137 else
44138 cat >>confdefs.h <<\_ACEOF
44139 #define wxUSE_DIALUP_MANAGER 1
44140 _ACEOF
44141
44142 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
44143 fi
44144 fi
44145
44146 if test "$wxUSE_TIPWINDOW" = "yes"; then
44147 if test "$wxUSE_PM" = 1; then
44148 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
44149 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
44150 else
44151 cat >>confdefs.h <<\_ACEOF
44152 #define wxUSE_TIPWINDOW 1
44153 _ACEOF
44154
44155 fi
44156 fi
44157
44158 if test "$USES_CONTROLS" = 1; then
44159 cat >>confdefs.h <<\_ACEOF
44160 #define wxUSE_CONTROLS 1
44161 _ACEOF
44162
44163 fi
44164
44165
44166 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
44167 cat >>confdefs.h <<\_ACEOF
44168 #define wxUSE_ACCESSIBILITY 1
44169 _ACEOF
44170
44171 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
44172 fi
44173
44174 if test "$wxUSE_DC_CACHEING" = "yes"; then
44175 cat >>confdefs.h <<\_ACEOF
44176 #define wxUSE_DC_CACHEING 1
44177 _ACEOF
44178
44179 fi
44180
44181 if test "$wxUSE_DRAGIMAGE" = "yes"; then
44182 cat >>confdefs.h <<\_ACEOF
44183 #define wxUSE_DRAGIMAGE 1
44184 _ACEOF
44185
44186 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
44187 fi
44188
44189 if test "$wxUSE_EXCEPTIONS" = "yes"; then
44190 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
44191 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
44192 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
44193 else
44194 cat >>confdefs.h <<\_ACEOF
44195 #define wxUSE_EXCEPTIONS 1
44196 _ACEOF
44197
44198 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
44199 fi
44200 fi
44201
44202 USE_HTML=0
44203 if test "$wxUSE_HTML" = "yes"; then
44204 cat >>confdefs.h <<\_ACEOF
44205 #define wxUSE_HTML 1
44206 _ACEOF
44207
44208 USE_HTML=1
44209 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
44210 if test "$wxUSE_MAC" = 1; then
44211 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
44212 fi
44213 fi
44214 if test "$wxUSE_WEBKIT" = "yes"; then
44215 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
44216 old_CPPFLAGS="$CPPFLAGS"
44217 CPPFLAGS="-x objective-c++ $CPPFLAGS"
44218 echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
44219 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6
44220 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
44221 echo $ECHO_N "(cached) $ECHO_C" >&6
44222 else
44223 cat >conftest.$ac_ext <<_ACEOF
44224 /* confdefs.h. */
44225 _ACEOF
44226 cat confdefs.h >>conftest.$ac_ext
44227 cat >>conftest.$ac_ext <<_ACEOF
44228 /* end confdefs.h. */
44229 #include <Carbon/Carbon.h>
44230
44231 #include <WebKit/HIWebView.h>
44232 _ACEOF
44233 rm -f conftest.$ac_objext
44234 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44235 (eval $ac_compile) 2>conftest.er1
44236 ac_status=$?
44237 grep -v '^ *+' conftest.er1 >conftest.err
44238 rm -f conftest.er1
44239 cat conftest.err >&5
44240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44241 (exit $ac_status); } &&
44242 { ac_try='test -z "$ac_c_werror_flag"
44243 || test ! -s conftest.err'
44244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44245 (eval $ac_try) 2>&5
44246 ac_status=$?
44247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44248 (exit $ac_status); }; } &&
44249 { ac_try='test -s conftest.$ac_objext'
44250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44251 (eval $ac_try) 2>&5
44252 ac_status=$?
44253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44254 (exit $ac_status); }; }; then
44255 ac_cv_header_WebKit_HIWebView_h=yes
44256 else
44257 echo "$as_me: failed program was:" >&5
44258 sed 's/^/| /' conftest.$ac_ext >&5
44259
44260 ac_cv_header_WebKit_HIWebView_h=no
44261 fi
44262 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44263 fi
44264 echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
44265 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6
44266 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
44267
44268 cat >>confdefs.h <<\_ACEOF
44269 #define wxUSE_WEBKIT 1
44270 _ACEOF
44271
44272 WEBKIT_LINK="-framework WebKit"
44273
44274 else
44275
44276 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
44277 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
44278 wxUSE_WEBKIT=no
44279
44280 fi
44281
44282
44283 CPPFLAGS="$old_CPPFLAGS"
44284 elif test "$wxUSE_COCOA" = 1; then
44285 cat >>confdefs.h <<\_ACEOF
44286 #define wxUSE_WEBKIT 1
44287 _ACEOF
44288
44289 else
44290 wxUSE_WEBKIT=no
44291 fi
44292 fi
44293
44294 USE_XRC=0
44295 if test "$wxUSE_XRC" = "yes"; then
44296 if test "$wxUSE_XML" != "yes"; then
44297 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
44298 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
44299 wxUSE_XRC=no
44300 else
44301 cat >>confdefs.h <<\_ACEOF
44302 #define wxUSE_XRC 1
44303 _ACEOF
44304
44305 USE_XRC=1
44306 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
44307 fi
44308 fi
44309
44310 if test "$wxUSE_MENUS" = "yes"; then
44311 cat >>confdefs.h <<\_ACEOF
44312 #define wxUSE_MENUS 1
44313 _ACEOF
44314
44315 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
44316 fi
44317
44318 if test "$wxUSE_METAFILE" = "yes"; then
44319 cat >>confdefs.h <<\_ACEOF
44320 #define wxUSE_METAFILE 1
44321 _ACEOF
44322
44323 fi
44324
44325 if test "$wxUSE_MIMETYPE" = "yes"; then
44326 cat >>confdefs.h <<\_ACEOF
44327 #define wxUSE_MIMETYPE 1
44328 _ACEOF
44329
44330 fi
44331
44332 if test "$wxUSE_MINIFRAME" = "yes"; then
44333 cat >>confdefs.h <<\_ACEOF
44334 #define wxUSE_MINIFRAME 1
44335 _ACEOF
44336
44337 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS minifram"
44338 fi
44339
44340 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
44341 cat >>confdefs.h <<\_ACEOF
44342 #define wxUSE_SYSTEM_OPTIONS 1
44343 _ACEOF
44344
44345 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
44346 "$TOOLKIT" = "MOTIF" -o "$TOOLKIT" = "COCOA"; then
44347 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
44348 fi
44349 fi
44350
44351
44352 if test "$wxUSE_VALIDATORS" = "yes"; then
44353 cat >>confdefs.h <<\_ACEOF
44354 #define wxUSE_VALIDATORS 1
44355 _ACEOF
44356
44357 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
44358 fi
44359
44360 if test "$wxUSE_PALETTE" = "yes" ; then
44361 cat >>confdefs.h <<\_ACEOF
44362 #define wxUSE_PALETTE 1
44363 _ACEOF
44364
44365 fi
44366
44367 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
44368 LIBS=" -lunicows $LIBS"
44369 fi
44370
44371 USE_RICHTEXT=0
44372 if test "$wxUSE_RICHTEXT" = "yes"; then
44373 cat >>confdefs.h <<\_ACEOF
44374 #define wxUSE_RICHTEXT 1
44375 _ACEOF
44376
44377 USE_RICHTEXT=1
44378 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
44379 fi
44380
44381
44382 if test "$wxUSE_IMAGE" = "yes" ; then
44383 cat >>confdefs.h <<\_ACEOF
44384 #define wxUSE_IMAGE 1
44385 _ACEOF
44386
44387
44388 if test "$wxUSE_GIF" = "yes" ; then
44389 cat >>confdefs.h <<\_ACEOF
44390 #define wxUSE_GIF 1
44391 _ACEOF
44392
44393 fi
44394
44395 if test "$wxUSE_PCX" = "yes" ; then
44396 cat >>confdefs.h <<\_ACEOF
44397 #define wxUSE_PCX 1
44398 _ACEOF
44399
44400 fi
44401
44402 if test "$wxUSE_IFF" = "yes" ; then
44403 cat >>confdefs.h <<\_ACEOF
44404 #define wxUSE_IFF 1
44405 _ACEOF
44406
44407 fi
44408
44409 if test "$wxUSE_PNM" = "yes" ; then
44410 cat >>confdefs.h <<\_ACEOF
44411 #define wxUSE_PNM 1
44412 _ACEOF
44413
44414 fi
44415
44416 if test "$wxUSE_XPM" = "yes" ; then
44417 cat >>confdefs.h <<\_ACEOF
44418 #define wxUSE_XPM 1
44419 _ACEOF
44420
44421 fi
44422
44423 if test "$wxUSE_ICO_CUR" = "yes" ; then
44424 cat >>confdefs.h <<\_ACEOF
44425 #define wxUSE_ICO_CUR 1
44426 _ACEOF
44427
44428 fi
44429 fi
44430
44431
44432 if test "$wxUSE_CHOICEDLG" = "yes"; then
44433 cat >>confdefs.h <<\_ACEOF
44434 #define wxUSE_CHOICEDLG 1
44435 _ACEOF
44436
44437 fi
44438
44439 if test "$wxUSE_COLOURDLG" = "yes"; then
44440 cat >>confdefs.h <<\_ACEOF
44441 #define wxUSE_COLOURDLG 1
44442 _ACEOF
44443
44444 fi
44445
44446 if test "$wxUSE_FILEDLG" = "yes"; then
44447 cat >>confdefs.h <<\_ACEOF
44448 #define wxUSE_FILEDLG 1
44449 _ACEOF
44450
44451 fi
44452
44453 if test "$wxUSE_FINDREPLDLG" = "yes"; then
44454 cat >>confdefs.h <<\_ACEOF
44455 #define wxUSE_FINDREPLDLG 1
44456 _ACEOF
44457
44458 fi
44459
44460 if test "$wxUSE_FONTDLG" = "yes"; then
44461 cat >>confdefs.h <<\_ACEOF
44462 #define wxUSE_FONTDLG 1
44463 _ACEOF
44464
44465 fi
44466
44467 if test "$wxUSE_DIRDLG" = "yes"; then
44468 if test "$wxUSE_TREECTRL" != "yes"; then
44469 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
44470 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
44471 else
44472 cat >>confdefs.h <<\_ACEOF
44473 #define wxUSE_DIRDLG 1
44474 _ACEOF
44475
44476 fi
44477 fi
44478
44479 if test "$wxUSE_MSGDLG" = "yes"; then
44480 cat >>confdefs.h <<\_ACEOF
44481 #define wxUSE_MSGDLG 1
44482 _ACEOF
44483
44484 fi
44485
44486 if test "$wxUSE_NUMBERDLG" = "yes"; then
44487 cat >>confdefs.h <<\_ACEOF
44488 #define wxUSE_NUMBERDLG 1
44489 _ACEOF
44490
44491 fi
44492
44493 if test "$wxUSE_PROGRESSDLG" = "yes"; then
44494 if test "$wxUSE_CONSTRAINTS" != "yes"; then
44495 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
44496 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
44497 else
44498 cat >>confdefs.h <<\_ACEOF
44499 #define wxUSE_PROGRESSDLG 1
44500 _ACEOF
44501
44502 fi
44503 fi
44504
44505 if test "$wxUSE_SPLASH" = "yes"; then
44506 cat >>confdefs.h <<\_ACEOF
44507 #define wxUSE_SPLASH 1
44508 _ACEOF
44509
44510 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
44511 fi
44512
44513 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
44514 if test "$wxUSE_CONSTRAINTS" != "yes"; then
44515 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
44516 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
44517 else
44518 cat >>confdefs.h <<\_ACEOF
44519 #define wxUSE_STARTUP_TIPS 1
44520 _ACEOF
44521
44522 fi
44523 fi
44524
44525 if test "$wxUSE_TEXTDLG" = "yes"; then
44526 cat >>confdefs.h <<\_ACEOF
44527 #define wxUSE_TEXTDLG 1
44528 _ACEOF
44529
44530 fi
44531
44532 if test "$wxUSE_WIZARDDLG" = "yes"; then
44533 cat >>confdefs.h <<\_ACEOF
44534 #define wxUSE_WIZARDDLG 1
44535 _ACEOF
44536
44537 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
44538 fi
44539
44540
44541 USE_MEDIA=0
44542
44543 if test "$wxUSE_MEDIACTRL" = "yes"; then
44544 if test "$wxUSE_GTK" = 1; then
44545 wxUSE_GSTREAMER="yes"
44546
44547 GST_VERSION_MAJOR=0
44548 GST_VERSION_MINOR=10
44549 GST_VERSION_RELEASE=0
44550 GSTREAMER_REQ=$GST_VERSION_MAJOR.$GST_VERSION_MINOR.$GST_VERSION_RELEASE
44551 GST_MAJORMINOR=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
44552
44553 if test "$wxUSE_GSTREAMER8" = "no"; then
44554
44555 succeeded=no
44556
44557 if test -z "$PKG_CONFIG"; then
44558 # Extract the first word of "pkg-config", so it can be a program name with args.
44559 set dummy pkg-config; ac_word=$2
44560 echo "$as_me:$LINENO: checking for $ac_word" >&5
44561 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
44562 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
44563 echo $ECHO_N "(cached) $ECHO_C" >&6
44564 else
44565 case $PKG_CONFIG in
44566 [\\/]* | ?:[\\/]*)
44567 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
44568 ;;
44569 *)
44570 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
44571 for as_dir in $PATH
44572 do
44573 IFS=$as_save_IFS
44574 test -z "$as_dir" && as_dir=.
44575 for ac_exec_ext in '' $ac_executable_extensions; do
44576 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
44577 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
44578 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44579 break 2
44580 fi
44581 done
44582 done
44583
44584 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
44585 ;;
44586 esac
44587 fi
44588 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
44589
44590 if test -n "$PKG_CONFIG"; then
44591 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
44592 echo "${ECHO_T}$PKG_CONFIG" >&6
44593 else
44594 echo "$as_me:$LINENO: result: no" >&5
44595 echo "${ECHO_T}no" >&6
44596 fi
44597
44598 fi
44599
44600 if test "$PKG_CONFIG" = "no" ; then
44601 echo "*** The pkg-config script could not be found. Make sure it is"
44602 echo "*** in your path, or set the PKG_CONFIG environment variable"
44603 echo "*** to the full path to pkg-config."
44604 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
44605 else
44606 PKG_CONFIG_MIN_VERSION=0.9.0
44607 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
44608 echo "$as_me:$LINENO: checking for gstreamer-$GST_MAJORMINOR
44609 gstreamer-plugins-base-$GST_MAJORMINOR
44610 gconf-2.0" >&5
44611 echo $ECHO_N "checking for gstreamer-$GST_MAJORMINOR
44612 gstreamer-plugins-base-$GST_MAJORMINOR
44613 gconf-2.0... $ECHO_C" >&6
44614
44615 if $PKG_CONFIG --exists "gstreamer-$GST_MAJORMINOR
44616 gstreamer-plugins-base-$GST_MAJORMINOR
44617 gconf-2.0" ; then
44618 echo "$as_me:$LINENO: result: yes" >&5
44619 echo "${ECHO_T}yes" >&6
44620 succeeded=yes
44621
44622 echo "$as_me:$LINENO: checking GST_CFLAGS" >&5
44623 echo $ECHO_N "checking GST_CFLAGS... $ECHO_C" >&6
44624 GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_MAJORMINOR
44625 gstreamer-plugins-base-$GST_MAJORMINOR
44626 gconf-2.0"`
44627 echo "$as_me:$LINENO: result: $GST_CFLAGS" >&5
44628 echo "${ECHO_T}$GST_CFLAGS" >&6
44629
44630 echo "$as_me:$LINENO: checking GST_LIBS" >&5
44631 echo $ECHO_N "checking GST_LIBS... $ECHO_C" >&6
44632 GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_MAJORMINOR
44633 gstreamer-plugins-base-$GST_MAJORMINOR
44634 gconf-2.0"`
44635 echo "$as_me:$LINENO: result: $GST_LIBS" >&5
44636 echo "${ECHO_T}$GST_LIBS" >&6
44637 else
44638 GST_CFLAGS=""
44639 GST_LIBS=""
44640 ## If we have a custom action on failure, don't print errors, but
44641 ## do set a variable so people can do so.
44642 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_MAJORMINOR
44643 gstreamer-plugins-base-$GST_MAJORMINOR
44644 gconf-2.0"`
44645
44646 fi
44647
44648
44649
44650 else
44651 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
44652 echo "*** See http://www.freedesktop.org/software/pkgconfig"
44653 fi
44654 fi
44655
44656 if test $succeeded = yes; then
44657
44658 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
44659 LIBS="$LIBS $GST_LIBS -lgstinterfaces-$GST_MAJORMINOR"
44660
44661 else
44662
44663 GST_VERSION_MINOR=8
44664
44665 fi
44666
44667 else
44668 GST_VERSION_MINOR=8
44669 fi
44670
44671 GSTREAMER_REQ=$GST_VERSION_MAJOR.$GST_VERSION_MINOR.$GST_VERSION_RELEASE
44672 GST_MAJORMINOR=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
44673
44674 if test x$GST_VERSION_MINOR = x8; then
44675
44676 succeeded=no
44677
44678 if test -z "$PKG_CONFIG"; then
44679 # Extract the first word of "pkg-config", so it can be a program name with args.
44680 set dummy pkg-config; ac_word=$2
44681 echo "$as_me:$LINENO: checking for $ac_word" >&5
44682 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
44683 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
44684 echo $ECHO_N "(cached) $ECHO_C" >&6
44685 else
44686 case $PKG_CONFIG in
44687 [\\/]* | ?:[\\/]*)
44688 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
44689 ;;
44690 *)
44691 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
44692 for as_dir in $PATH
44693 do
44694 IFS=$as_save_IFS
44695 test -z "$as_dir" && as_dir=.
44696 for ac_exec_ext in '' $ac_executable_extensions; do
44697 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
44698 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
44699 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44700 break 2
44701 fi
44702 done
44703 done
44704
44705 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
44706 ;;
44707 esac
44708 fi
44709 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
44710
44711 if test -n "$PKG_CONFIG"; then
44712 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
44713 echo "${ECHO_T}$PKG_CONFIG" >&6
44714 else
44715 echo "$as_me:$LINENO: result: no" >&5
44716 echo "${ECHO_T}no" >&6
44717 fi
44718
44719 fi
44720
44721 if test "$PKG_CONFIG" = "no" ; then
44722 echo "*** The pkg-config script could not be found. Make sure it is"
44723 echo "*** in your path, or set the PKG_CONFIG environment variable"
44724 echo "*** to the full path to pkg-config."
44725 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
44726 else
44727 PKG_CONFIG_MIN_VERSION=0.9.0
44728 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
44729 echo "$as_me:$LINENO: checking for gstreamer-$GST_MAJORMINOR
44730 gstreamer-interfaces-$GST_MAJORMINOR
44731 gstreamer-gconf-$GST_MAJORMINOR" >&5
44732 echo $ECHO_N "checking for gstreamer-$GST_MAJORMINOR
44733 gstreamer-interfaces-$GST_MAJORMINOR
44734 gstreamer-gconf-$GST_MAJORMINOR... $ECHO_C" >&6
44735
44736 if $PKG_CONFIG --exists "gstreamer-$GST_MAJORMINOR
44737 gstreamer-interfaces-$GST_MAJORMINOR
44738 gstreamer-gconf-$GST_MAJORMINOR" ; then
44739 echo "$as_me:$LINENO: result: yes" >&5
44740 echo "${ECHO_T}yes" >&6
44741 succeeded=yes
44742
44743 echo "$as_me:$LINENO: checking GST_CFLAGS" >&5
44744 echo $ECHO_N "checking GST_CFLAGS... $ECHO_C" >&6
44745 GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_MAJORMINOR
44746 gstreamer-interfaces-$GST_MAJORMINOR
44747 gstreamer-gconf-$GST_MAJORMINOR"`
44748 echo "$as_me:$LINENO: result: $GST_CFLAGS" >&5
44749 echo "${ECHO_T}$GST_CFLAGS" >&6
44750
44751 echo "$as_me:$LINENO: checking GST_LIBS" >&5
44752 echo $ECHO_N "checking GST_LIBS... $ECHO_C" >&6
44753 GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_MAJORMINOR
44754 gstreamer-interfaces-$GST_MAJORMINOR
44755 gstreamer-gconf-$GST_MAJORMINOR"`
44756 echo "$as_me:$LINENO: result: $GST_LIBS" >&5
44757 echo "${ECHO_T}$GST_LIBS" >&6
44758 else
44759 GST_CFLAGS=""
44760 GST_LIBS=""
44761 ## If we have a custom action on failure, don't print errors, but
44762 ## do set a variable so people can do so.
44763 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_MAJORMINOR
44764 gstreamer-interfaces-$GST_MAJORMINOR
44765 gstreamer-gconf-$GST_MAJORMINOR"`
44766
44767 fi
44768
44769
44770
44771 else
44772 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
44773 echo "*** See http://www.freedesktop.org/software/pkgconfig"
44774 fi
44775 fi
44776
44777 if test $succeeded = yes; then
44778
44779 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
44780 LIBS="$LIBS $GST_LIBS"
44781
44782 else
44783
44784 { echo "$as_me:$LINENO: WARNING: Proper GStreamer .8/.10 installation not found" >&5
44785 echo "$as_me: WARNING: Proper GStreamer .8/.10 installation not found" >&2;}
44786 wxUSE_GSTREAMER="no"
44787
44788 fi
44789
44790 fi
44791
44792
44793 if test "$wxUSE_GSTREAMER" = "yes"; then
44794 cat >>confdefs.h <<\_ACEOF
44795 #define wxUSE_GSTREAMER 1
44796 _ACEOF
44797
44798 echo "$as_me:$LINENO: result: GStreamer detection successful" >&5
44799 echo "${ECHO_T}GStreamer detection successful" >&6
44800 fi
44801 fi
44802 USE_MEDIA=1
44803 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
44804 cat >>confdefs.h <<\_ACEOF
44805 #define wxUSE_MEDIACTRL 1
44806 _ACEOF
44807
44808 fi
44809
44810
44811 if test "$cross_compiling" = "yes"; then
44812 OSINFO="\"$host\""
44813 else
44814 OSINFO=`uname -s -r -m`
44815 OSINFO="\"$OSINFO\""
44816 fi
44817
44818 cat >>confdefs.h <<_ACEOF
44819 #define WXWIN_OS_DESCRIPTION $OSINFO
44820 _ACEOF
44821
44822
44823
44824 if test "x$prefix" != "xNONE"; then
44825 wxPREFIX=$prefix
44826 else
44827 wxPREFIX=$ac_default_prefix
44828 fi
44829
44830 cat >>confdefs.h <<_ACEOF
44831 #define wxINSTALL_PREFIX "$wxPREFIX"
44832 _ACEOF
44833
44834
44835
44836
44837 CORE_BASE_LIBS="net base"
44838 CORE_GUI_LIBS="adv core"
44839
44840 if test "$wxUSE_XML" = "yes" ; then
44841 CORE_BASE_LIBS="xml $CORE_BASE_LIBS"
44842 fi
44843 if test "$wxUSE_ODBC" != "no" ; then
44844 CORE_BASE_LIBS="odbc $CORE_BASE_LIBS"
44845 CORE_GUI_LIBS="dbgrid $CORE_GUI_LIBS"
44846 fi
44847 if test "$wxUSE_HTML" = "yes" ; then
44848 CORE_GUI_LIBS="html $CORE_GUI_LIBS"
44849 fi
44850 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
44851 CORE_GUI_LIBS="qa $CORE_GUI_LIBS"
44852 fi
44853 if test "$wxUSE_XRC" = "yes" ; then
44854 CORE_GUI_LIBS="xrc $CORE_GUI_LIBS"
44855 fi
44856
44857 if test "$wxUSE_GUI" != "yes"; then
44858 CORE_GUI_LIBS=""
44859 fi
44860
44861
44862
44863
44864
44865
44866
44867 if test "$wxUSE_MAC" = 1 ; then
44868 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
44869 if test "$USE_DARWIN" = 1; then
44870 LDFLAGS="$LDFLAGS -framework QuickTime"
44871 else
44872 LDFLAGS="$LDFLAGS -lQuickTimeLib"
44873 fi
44874 fi
44875 if test "$USE_DARWIN" = 1; then
44876 LDFLAGS="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
44877 else
44878 LDFLAGS="$LDFLAGS -lCarbonLib"
44879 fi
44880 fi
44881 if test "$wxUSE_COCOA" = 1 ; then
44882 LDFLAGS="$LDFLAGS -framework IOKit -framework Cocoa"
44883 if test "$wxUSE_MEDIACTRL" = "yes"; then
44884 LDFLAGS="$LDFLAGS -framework QuickTime"
44885 fi
44886 fi
44887 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
44888 LDFLAGS="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
44889 fi
44890
44891
44892 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
44893
44894 have_cos=0
44895 have_floor=0
44896
44897 for ac_func in cos
44898 do
44899 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44900 echo "$as_me:$LINENO: checking for $ac_func" >&5
44901 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44902 if eval "test \"\${$as_ac_var+set}\" = set"; then
44903 echo $ECHO_N "(cached) $ECHO_C" >&6
44904 else
44905 cat >conftest.$ac_ext <<_ACEOF
44906 /* confdefs.h. */
44907 _ACEOF
44908 cat confdefs.h >>conftest.$ac_ext
44909 cat >>conftest.$ac_ext <<_ACEOF
44910 /* end confdefs.h. */
44911 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44912 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44913 #define $ac_func innocuous_$ac_func
44914
44915 /* System header to define __stub macros and hopefully few prototypes,
44916 which can conflict with char $ac_func (); below.
44917 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44918 <limits.h> exists even on freestanding compilers. */
44919
44920 #ifdef __STDC__
44921 # include <limits.h>
44922 #else
44923 # include <assert.h>
44924 #endif
44925
44926 #undef $ac_func
44927
44928 /* Override any gcc2 internal prototype to avoid an error. */
44929 #ifdef __cplusplus
44930 extern "C"
44931 {
44932 #endif
44933 /* We use char because int might match the return type of a gcc2
44934 builtin and then its argument prototype would still apply. */
44935 char $ac_func ();
44936 /* The GNU C library defines this for functions which it implements
44937 to always fail with ENOSYS. Some functions are actually named
44938 something starting with __ and the normal name is an alias. */
44939 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44940 choke me
44941 #else
44942 char (*f) () = $ac_func;
44943 #endif
44944 #ifdef __cplusplus
44945 }
44946 #endif
44947
44948 int
44949 main ()
44950 {
44951 return f != $ac_func;
44952 ;
44953 return 0;
44954 }
44955 _ACEOF
44956 rm -f conftest.$ac_objext conftest$ac_exeext
44957 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44958 (eval $ac_link) 2>conftest.er1
44959 ac_status=$?
44960 grep -v '^ *+' conftest.er1 >conftest.err
44961 rm -f conftest.er1
44962 cat conftest.err >&5
44963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44964 (exit $ac_status); } &&
44965 { ac_try='test -z "$ac_c_werror_flag"
44966 || test ! -s conftest.err'
44967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44968 (eval $ac_try) 2>&5
44969 ac_status=$?
44970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44971 (exit $ac_status); }; } &&
44972 { ac_try='test -s conftest$ac_exeext'
44973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44974 (eval $ac_try) 2>&5
44975 ac_status=$?
44976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44977 (exit $ac_status); }; }; then
44978 eval "$as_ac_var=yes"
44979 else
44980 echo "$as_me: failed program was:" >&5
44981 sed 's/^/| /' conftest.$ac_ext >&5
44982
44983 eval "$as_ac_var=no"
44984 fi
44985 rm -f conftest.err conftest.$ac_objext \
44986 conftest$ac_exeext conftest.$ac_ext
44987 fi
44988 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44989 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44990 if test `eval echo '${'$as_ac_var'}'` = yes; then
44991 cat >>confdefs.h <<_ACEOF
44992 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44993 _ACEOF
44994 have_cos=1
44995 fi
44996 done
44997
44998
44999 for ac_func in floor
45000 do
45001 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45002 echo "$as_me:$LINENO: checking for $ac_func" >&5
45003 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45004 if eval "test \"\${$as_ac_var+set}\" = set"; then
45005 echo $ECHO_N "(cached) $ECHO_C" >&6
45006 else
45007 cat >conftest.$ac_ext <<_ACEOF
45008 /* confdefs.h. */
45009 _ACEOF
45010 cat confdefs.h >>conftest.$ac_ext
45011 cat >>conftest.$ac_ext <<_ACEOF
45012 /* end confdefs.h. */
45013 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45014 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45015 #define $ac_func innocuous_$ac_func
45016
45017 /* System header to define __stub macros and hopefully few prototypes,
45018 which can conflict with char $ac_func (); below.
45019 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45020 <limits.h> exists even on freestanding compilers. */
45021
45022 #ifdef __STDC__
45023 # include <limits.h>
45024 #else
45025 # include <assert.h>
45026 #endif
45027
45028 #undef $ac_func
45029
45030 /* Override any gcc2 internal prototype to avoid an error. */
45031 #ifdef __cplusplus
45032 extern "C"
45033 {
45034 #endif
45035 /* We use char because int might match the return type of a gcc2
45036 builtin and then its argument prototype would still apply. */
45037 char $ac_func ();
45038 /* The GNU C library defines this for functions which it implements
45039 to always fail with ENOSYS. Some functions are actually named
45040 something starting with __ and the normal name is an alias. */
45041 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45042 choke me
45043 #else
45044 char (*f) () = $ac_func;
45045 #endif
45046 #ifdef __cplusplus
45047 }
45048 #endif
45049
45050 int
45051 main ()
45052 {
45053 return f != $ac_func;
45054 ;
45055 return 0;
45056 }
45057 _ACEOF
45058 rm -f conftest.$ac_objext conftest$ac_exeext
45059 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45060 (eval $ac_link) 2>conftest.er1
45061 ac_status=$?
45062 grep -v '^ *+' conftest.er1 >conftest.err
45063 rm -f conftest.er1
45064 cat conftest.err >&5
45065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45066 (exit $ac_status); } &&
45067 { ac_try='test -z "$ac_c_werror_flag"
45068 || test ! -s conftest.err'
45069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45070 (eval $ac_try) 2>&5
45071 ac_status=$?
45072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45073 (exit $ac_status); }; } &&
45074 { ac_try='test -s conftest$ac_exeext'
45075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45076 (eval $ac_try) 2>&5
45077 ac_status=$?
45078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45079 (exit $ac_status); }; }; then
45080 eval "$as_ac_var=yes"
45081 else
45082 echo "$as_me: failed program was:" >&5
45083 sed 's/^/| /' conftest.$ac_ext >&5
45084
45085 eval "$as_ac_var=no"
45086 fi
45087 rm -f conftest.err conftest.$ac_objext \
45088 conftest$ac_exeext conftest.$ac_ext
45089 fi
45090 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45091 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45092 if test `eval echo '${'$as_ac_var'}'` = yes; then
45093 cat >>confdefs.h <<_ACEOF
45094 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45095 _ACEOF
45096 have_floor=1
45097 fi
45098 done
45099
45100 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
45101 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
45102 if test "$have_cos" = 1 -a "$have_floor" = 1; then
45103 echo "$as_me:$LINENO: result: yes" >&5
45104 echo "${ECHO_T}yes" >&6
45105 else
45106 echo "$as_me:$LINENO: result: no" >&5
45107 echo "${ECHO_T}no" >&6
45108 LIBS="$LIBS -lm"
45109 # use different functions to avoid configure caching
45110 have_sin=0
45111 have_ceil=0
45112
45113 for ac_func in sin
45114 do
45115 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45116 echo "$as_me:$LINENO: checking for $ac_func" >&5
45117 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45118 if eval "test \"\${$as_ac_var+set}\" = set"; then
45119 echo $ECHO_N "(cached) $ECHO_C" >&6
45120 else
45121 cat >conftest.$ac_ext <<_ACEOF
45122 /* confdefs.h. */
45123 _ACEOF
45124 cat confdefs.h >>conftest.$ac_ext
45125 cat >>conftest.$ac_ext <<_ACEOF
45126 /* end confdefs.h. */
45127 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45128 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45129 #define $ac_func innocuous_$ac_func
45130
45131 /* System header to define __stub macros and hopefully few prototypes,
45132 which can conflict with char $ac_func (); below.
45133 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45134 <limits.h> exists even on freestanding compilers. */
45135
45136 #ifdef __STDC__
45137 # include <limits.h>
45138 #else
45139 # include <assert.h>
45140 #endif
45141
45142 #undef $ac_func
45143
45144 /* Override any gcc2 internal prototype to avoid an error. */
45145 #ifdef __cplusplus
45146 extern "C"
45147 {
45148 #endif
45149 /* We use char because int might match the return type of a gcc2
45150 builtin and then its argument prototype would still apply. */
45151 char $ac_func ();
45152 /* The GNU C library defines this for functions which it implements
45153 to always fail with ENOSYS. Some functions are actually named
45154 something starting with __ and the normal name is an alias. */
45155 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45156 choke me
45157 #else
45158 char (*f) () = $ac_func;
45159 #endif
45160 #ifdef __cplusplus
45161 }
45162 #endif
45163
45164 int
45165 main ()
45166 {
45167 return f != $ac_func;
45168 ;
45169 return 0;
45170 }
45171 _ACEOF
45172 rm -f conftest.$ac_objext conftest$ac_exeext
45173 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45174 (eval $ac_link) 2>conftest.er1
45175 ac_status=$?
45176 grep -v '^ *+' conftest.er1 >conftest.err
45177 rm -f conftest.er1
45178 cat conftest.err >&5
45179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45180 (exit $ac_status); } &&
45181 { ac_try='test -z "$ac_c_werror_flag"
45182 || test ! -s conftest.err'
45183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45184 (eval $ac_try) 2>&5
45185 ac_status=$?
45186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45187 (exit $ac_status); }; } &&
45188 { ac_try='test -s conftest$ac_exeext'
45189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45190 (eval $ac_try) 2>&5
45191 ac_status=$?
45192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45193 (exit $ac_status); }; }; then
45194 eval "$as_ac_var=yes"
45195 else
45196 echo "$as_me: failed program was:" >&5
45197 sed 's/^/| /' conftest.$ac_ext >&5
45198
45199 eval "$as_ac_var=no"
45200 fi
45201 rm -f conftest.err conftest.$ac_objext \
45202 conftest$ac_exeext conftest.$ac_ext
45203 fi
45204 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45205 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45206 if test `eval echo '${'$as_ac_var'}'` = yes; then
45207 cat >>confdefs.h <<_ACEOF
45208 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45209 _ACEOF
45210 have_sin=1
45211 fi
45212 done
45213
45214
45215 for ac_func in ceil
45216 do
45217 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45218 echo "$as_me:$LINENO: checking for $ac_func" >&5
45219 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45220 if eval "test \"\${$as_ac_var+set}\" = set"; then
45221 echo $ECHO_N "(cached) $ECHO_C" >&6
45222 else
45223 cat >conftest.$ac_ext <<_ACEOF
45224 /* confdefs.h. */
45225 _ACEOF
45226 cat confdefs.h >>conftest.$ac_ext
45227 cat >>conftest.$ac_ext <<_ACEOF
45228 /* end confdefs.h. */
45229 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45230 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45231 #define $ac_func innocuous_$ac_func
45232
45233 /* System header to define __stub macros and hopefully few prototypes,
45234 which can conflict with char $ac_func (); below.
45235 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45236 <limits.h> exists even on freestanding compilers. */
45237
45238 #ifdef __STDC__
45239 # include <limits.h>
45240 #else
45241 # include <assert.h>
45242 #endif
45243
45244 #undef $ac_func
45245
45246 /* Override any gcc2 internal prototype to avoid an error. */
45247 #ifdef __cplusplus
45248 extern "C"
45249 {
45250 #endif
45251 /* We use char because int might match the return type of a gcc2
45252 builtin and then its argument prototype would still apply. */
45253 char $ac_func ();
45254 /* The GNU C library defines this for functions which it implements
45255 to always fail with ENOSYS. Some functions are actually named
45256 something starting with __ and the normal name is an alias. */
45257 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45258 choke me
45259 #else
45260 char (*f) () = $ac_func;
45261 #endif
45262 #ifdef __cplusplus
45263 }
45264 #endif
45265
45266 int
45267 main ()
45268 {
45269 return f != $ac_func;
45270 ;
45271 return 0;
45272 }
45273 _ACEOF
45274 rm -f conftest.$ac_objext conftest$ac_exeext
45275 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45276 (eval $ac_link) 2>conftest.er1
45277 ac_status=$?
45278 grep -v '^ *+' conftest.er1 >conftest.err
45279 rm -f conftest.er1
45280 cat conftest.err >&5
45281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45282 (exit $ac_status); } &&
45283 { ac_try='test -z "$ac_c_werror_flag"
45284 || test ! -s conftest.err'
45285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45286 (eval $ac_try) 2>&5
45287 ac_status=$?
45288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45289 (exit $ac_status); }; } &&
45290 { ac_try='test -s conftest$ac_exeext'
45291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45292 (eval $ac_try) 2>&5
45293 ac_status=$?
45294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45295 (exit $ac_status); }; }; then
45296 eval "$as_ac_var=yes"
45297 else
45298 echo "$as_me: failed program was:" >&5
45299 sed 's/^/| /' conftest.$ac_ext >&5
45300
45301 eval "$as_ac_var=no"
45302 fi
45303 rm -f conftest.err conftest.$ac_objext \
45304 conftest$ac_exeext conftest.$ac_ext
45305 fi
45306 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45307 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45308 if test `eval echo '${'$as_ac_var'}'` = yes; then
45309 cat >>confdefs.h <<_ACEOF
45310 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45311 _ACEOF
45312 have_ceil=1
45313 fi
45314 done
45315
45316 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
45317 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
45318 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
45319 echo "$as_me:$LINENO: result: yes" >&5
45320 echo "${ECHO_T}yes" >&6
45321 else
45322 echo "$as_me:$LINENO: result: no" >&5
45323 echo "${ECHO_T}no" >&6
45324 # not sure we should warn the user, crash, etc.
45325 fi
45326 fi
45327
45328 if test "$wxUSE_GUI" = "yes"; then
45329
45330
45331 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
45332 dynamic erase event exec font image minimal mobile \
45333 mobile/wxedit mobile/styles propsize render \
45334 rotate shaped vscroll widgets"
45335
45336 if test "$wxUSE_MONOLITHIC" != "yes"; then
45337 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
45338 fi
45339 if test "$TOOLKIT" = "MSW"; then
45340 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
45341 if test "$wxUSE_UNIVERSAL" != "yes"; then
45342 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg"
45343 fi
45344 fi
45345 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
45346 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
45347 fi
45348 else
45349 SAMPLES_SUBDIRS="console"
45350 fi
45351
45352
45353 if test "x$INTELCC" = "xyes" ; then
45354 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684"
45355 elif test "$GCC" = yes ; then
45356 CWARNINGS="-Wall -Wundef"
45357 fi
45358
45359 if test "x$INTELCXX" = "xyes" ; then
45360 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419"
45361 elif test "$GXX" = yes ; then
45362 CXXWARNINGS="-Wall -Wundef -Wno-ctor-dtor-privacy"
45363 fi
45364
45365
45366 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
45367 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
45368
45369
45370 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
45371 -I\\${top_builddir}lib/wx/include/${TOOLCHAIN_FULLNAME} \
45372 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
45373 $CPPFLAGS `
45374
45375 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
45376 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
45377 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $CXXWARNINGS $C_AND_CXX_FLAGS $CXXFLAGS `
45378
45379 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
45380
45381
45382 if test "x$MWCC" = "xyes"; then
45383
45384 CC="$CC -cwd source -I-"
45385 CXX="$CXX -cwd source -I-"
45386 fi
45387
45388
45389 LIBS=`echo $LIBS`
45390 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
45391 EXTRALIBS_XML="$EXPAT_LINK"
45392 EXTRALIBS_HTML="$MSPACK_LINK"
45393 EXTRALIBS_ODBC="$ODBC_LINK"
45394 if test "$wxUSE_GUI" = "yes"; then
45395 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
45396 fi
45397 if test "$wxUSE_OPENGL" = "yes"; then
45398 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
45399 fi
45400
45401 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
45402
45403 WXCONFIG_LIBS="$LIBS"
45404
45405 if test "$wxUSE_REGEX" = "builtin" ; then
45406 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
45407 fi
45408 if test "$wxUSE_EXPAT" = "builtin" ; then
45409 wxconfig_3rdparty="expat $wxconfig_3rdparty"
45410 fi
45411 if test "$wxUSE_ODBC" = "builtin" ; then
45412 wxconfig_3rdparty="odbc $wxconfig_3rdparty"
45413 fi
45414 if test "$wxUSE_LIBTIFF" = "builtin" ; then
45415 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
45416 fi
45417 if test "$wxUSE_LIBJPEG" = "builtin" ; then
45418 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
45419 fi
45420 if test "$wxUSE_LIBPNG" = "builtin" ; then
45421 wxconfig_3rdparty="png $wxconfig_3rdparty"
45422 fi
45423 if test "$wxUSE_ZLIB" = "builtin" ; then
45424 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
45425 fi
45426
45427 for i in $wxconfig_3rdparty ; do
45428 WXCONFIG_LIBS="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
45429 done
45430
45431
45432 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
45433 WXUNIV=1
45434 else
45435 WXUNIV=0
45436 fi
45437
45438
45439
45440
45441
45442
45443
45444
45445
45446 if test $wxUSE_MONOLITHIC = "yes" ; then
45447 MONOLITHIC=1
45448 else
45449 MONOLITHIC=0
45450 fi
45451
45452 if test $wxUSE_PLUGINS = "yes" ; then
45453 USE_PLUGINS=1
45454 else
45455 USE_PLUGINS=0
45456 fi
45457
45458 if test $wxUSE_ODBC != "no" ; then
45459 USE_ODBC=1
45460 else
45461 USE_ODBC=0
45462 fi
45463
45464 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
45465 USE_QA=1
45466 else
45467 USE_QA=0
45468 fi
45469
45470 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
45471 OFFICIAL_BUILD=1
45472 else
45473 OFFICIAL_BUILD=0
45474 fi
45475
45476
45477
45478
45479
45480
45481
45482
45483
45484
45485
45486
45487
45488
45489
45490
45491
45492
45493
45494
45495
45496
45497
45498
45499
45500 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
45501
45502
45503
45504
45505
45506
45507
45508
45509 case "$TOOLKIT" in
45510 GTK)
45511 TOOLKIT_USER="GTK+"
45512 if test "$WXGTK20" = 1; then
45513 TOOLKIT_USER="$TOOLKIT_USER 2"
45514 fi
45515 ;;
45516
45517 *)
45518 TOOLKIT_USER=$TOOLKIT_LOWERCASE
45519 ;;
45520 esac
45521
45522 if test "$wxUSE_WINE" = "yes"; then
45523 BAKEFILE_FORCE_PLATFORM=win32
45524 fi
45525
45526 if test "$wxUSE_MAC" = 1 ; then
45527 if test "$wxUSE_UNIVERSAL_BINARY" = "yes" ; then
45528 CXXFLAGS="-isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch ppc -arch i386 $CXXFLAGS"
45529 CFLAGS="-isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch ppc -arch i386 $CFLAGS"
45530 LDFLAGS="-isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch ppc -arch i386 $LDFLAGS"
45531 bk_use_pch=no
45532 fi
45533 # TODO: where do we add "-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk" for libtool (static builds only)?
45534 # The makefile currently uses AR and RANLIB, which libtool apparently supercedes.
45535 # TODO: how can we avoid a hardwired reference to the SDK, above? (Someone used -lSystemStubs to avoid it)
45536 fi
45537
45538
45539
45540
45541 if test "x$BAKEFILE_HOST" = "x"; then
45542 if test "x${host}" = "x" ; then
45543 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
45544 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
45545 { (exit 1); exit 1; }; }
45546 fi
45547
45548 BAKEFILE_HOST="${host}"
45549 fi
45550
45551 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
45552
45553 if test -n "$ac_tool_prefix"; then
45554 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
45555 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
45556 echo "$as_me:$LINENO: checking for $ac_word" >&5
45557 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45558 if test "${ac_cv_prog_RANLIB+set}" = set; then
45559 echo $ECHO_N "(cached) $ECHO_C" >&6
45560 else
45561 if test -n "$RANLIB"; then
45562 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
45563 else
45564 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45565 for as_dir in $PATH
45566 do
45567 IFS=$as_save_IFS
45568 test -z "$as_dir" && as_dir=.
45569 for ac_exec_ext in '' $ac_executable_extensions; do
45570 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45571 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
45572 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45573 break 2
45574 fi
45575 done
45576 done
45577
45578 fi
45579 fi
45580 RANLIB=$ac_cv_prog_RANLIB
45581 if test -n "$RANLIB"; then
45582 echo "$as_me:$LINENO: result: $RANLIB" >&5
45583 echo "${ECHO_T}$RANLIB" >&6
45584 else
45585 echo "$as_me:$LINENO: result: no" >&5
45586 echo "${ECHO_T}no" >&6
45587 fi
45588
45589 fi
45590 if test -z "$ac_cv_prog_RANLIB"; then
45591 ac_ct_RANLIB=$RANLIB
45592 # Extract the first word of "ranlib", so it can be a program name with args.
45593 set dummy ranlib; ac_word=$2
45594 echo "$as_me:$LINENO: checking for $ac_word" >&5
45595 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45596 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
45597 echo $ECHO_N "(cached) $ECHO_C" >&6
45598 else
45599 if test -n "$ac_ct_RANLIB"; then
45600 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
45601 else
45602 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45603 for as_dir in $PATH
45604 do
45605 IFS=$as_save_IFS
45606 test -z "$as_dir" && as_dir=.
45607 for ac_exec_ext in '' $ac_executable_extensions; do
45608 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45609 ac_cv_prog_ac_ct_RANLIB="ranlib"
45610 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45611 break 2
45612 fi
45613 done
45614 done
45615
45616 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
45617 fi
45618 fi
45619 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
45620 if test -n "$ac_ct_RANLIB"; then
45621 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
45622 echo "${ECHO_T}$ac_ct_RANLIB" >&6
45623 else
45624 echo "$as_me:$LINENO: result: no" >&5
45625 echo "${ECHO_T}no" >&6
45626 fi
45627
45628 RANLIB=$ac_ct_RANLIB
45629 else
45630 RANLIB="$ac_cv_prog_RANLIB"
45631 fi
45632
45633 # Find a good install program. We prefer a C program (faster),
45634 # so one script is as good as another. But avoid the broken or
45635 # incompatible versions:
45636 # SysV /etc/install, /usr/sbin/install
45637 # SunOS /usr/etc/install
45638 # IRIX /sbin/install
45639 # AIX /bin/install
45640 # AmigaOS /C/install, which installs bootblocks on floppy discs
45641 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
45642 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
45643 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
45644 # OS/2's system install, which has a completely different semantic
45645 # ./install, which can be erroneously created by make from ./install.sh.
45646 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
45647 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
45648 if test -z "$INSTALL"; then
45649 if test "${ac_cv_path_install+set}" = set; then
45650 echo $ECHO_N "(cached) $ECHO_C" >&6
45651 else
45652 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45653 for as_dir in $PATH
45654 do
45655 IFS=$as_save_IFS
45656 test -z "$as_dir" && as_dir=.
45657 # Account for people who put trailing slashes in PATH elements.
45658 case $as_dir/ in
45659 ./ | .// | /cC/* | \
45660 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
45661 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
45662 /usr/ucb/* ) ;;
45663 *)
45664 # OSF1 and SCO ODT 3.0 have their own names for install.
45665 # Don't use installbsd from OSF since it installs stuff as root
45666 # by default.
45667 for ac_prog in ginstall scoinst install; do
45668 for ac_exec_ext in '' $ac_executable_extensions; do
45669 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
45670 if test $ac_prog = install &&
45671 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
45672 # AIX install. It has an incompatible calling convention.
45673 :
45674 elif test $ac_prog = install &&
45675 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
45676 # program-specific install script used by HP pwplus--don't use.
45677 :
45678 else
45679 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
45680 break 3
45681 fi
45682 fi
45683 done
45684 done
45685 ;;
45686 esac
45687 done
45688
45689
45690 fi
45691 if test "${ac_cv_path_install+set}" = set; then
45692 INSTALL=$ac_cv_path_install
45693 else
45694 # As a last resort, use the slow shell script. We don't cache a
45695 # path for INSTALL within a source directory, because that will
45696 # break other packages using the cache if that directory is
45697 # removed, or if the path is relative.
45698 INSTALL=$ac_install_sh
45699 fi
45700 fi
45701 echo "$as_me:$LINENO: result: $INSTALL" >&5
45702 echo "${ECHO_T}$INSTALL" >&6
45703
45704 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
45705 # It thinks the first close brace ends the variable substitution.
45706 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
45707
45708 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
45709
45710 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
45711
45712 echo "$as_me:$LINENO: checking whether ln -s works" >&5
45713 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
45714 LN_S=$as_ln_s
45715 if test "$LN_S" = "ln -s"; then
45716 echo "$as_me:$LINENO: result: yes" >&5
45717 echo "${ECHO_T}yes" >&6
45718 else
45719 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
45720 echo "${ECHO_T}no, using $LN_S" >&6
45721 fi
45722
45723
45724 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
45725 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
45726 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
45727 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
45728 echo $ECHO_N "(cached) $ECHO_C" >&6
45729 else
45730 cat >conftest.make <<\_ACEOF
45731 all:
45732 @echo 'ac_maketemp="$(MAKE)"'
45733 _ACEOF
45734 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
45735 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
45736 if test -n "$ac_maketemp"; then
45737 eval ac_cv_prog_make_${ac_make}_set=yes
45738 else
45739 eval ac_cv_prog_make_${ac_make}_set=no
45740 fi
45741 rm -f conftest.make
45742 fi
45743 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
45744 echo "$as_me:$LINENO: result: yes" >&5
45745 echo "${ECHO_T}yes" >&6
45746 SET_MAKE=
45747 else
45748 echo "$as_me:$LINENO: result: no" >&5
45749 echo "${ECHO_T}no" >&6
45750 SET_MAKE="MAKE=${MAKE-make}"
45751 fi
45752
45753
45754
45755 if test -n "$ac_tool_prefix"; then
45756 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
45757 set dummy ${ac_tool_prefix}ar; ac_word=$2
45758 echo "$as_me:$LINENO: checking for $ac_word" >&5
45759 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45760 if test "${ac_cv_prog_AR+set}" = set; then
45761 echo $ECHO_N "(cached) $ECHO_C" >&6
45762 else
45763 if test -n "$AR"; then
45764 ac_cv_prog_AR="$AR" # Let the user override the test.
45765 else
45766 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45767 for as_dir in $PATH
45768 do
45769 IFS=$as_save_IFS
45770 test -z "$as_dir" && as_dir=.
45771 for ac_exec_ext in '' $ac_executable_extensions; do
45772 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45773 ac_cv_prog_AR="${ac_tool_prefix}ar"
45774 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45775 break 2
45776 fi
45777 done
45778 done
45779
45780 fi
45781 fi
45782 AR=$ac_cv_prog_AR
45783 if test -n "$AR"; then
45784 echo "$as_me:$LINENO: result: $AR" >&5
45785 echo "${ECHO_T}$AR" >&6
45786 else
45787 echo "$as_me:$LINENO: result: no" >&5
45788 echo "${ECHO_T}no" >&6
45789 fi
45790
45791 fi
45792 if test -z "$ac_cv_prog_AR"; then
45793 ac_ct_AR=$AR
45794 # Extract the first word of "ar", so it can be a program name with args.
45795 set dummy ar; ac_word=$2
45796 echo "$as_me:$LINENO: checking for $ac_word" >&5
45797 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45798 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
45799 echo $ECHO_N "(cached) $ECHO_C" >&6
45800 else
45801 if test -n "$ac_ct_AR"; then
45802 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
45803 else
45804 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45805 for as_dir in $PATH
45806 do
45807 IFS=$as_save_IFS
45808 test -z "$as_dir" && as_dir=.
45809 for ac_exec_ext in '' $ac_executable_extensions; do
45810 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45811 ac_cv_prog_ac_ct_AR="ar"
45812 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45813 break 2
45814 fi
45815 done
45816 done
45817
45818 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="ar"
45819 fi
45820 fi
45821 ac_ct_AR=$ac_cv_prog_ac_ct_AR
45822 if test -n "$ac_ct_AR"; then
45823 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
45824 echo "${ECHO_T}$ac_ct_AR" >&6
45825 else
45826 echo "$as_me:$LINENO: result: no" >&5
45827 echo "${ECHO_T}no" >&6
45828 fi
45829
45830 AR=$ac_ct_AR
45831 else
45832 AR="$ac_cv_prog_AR"
45833 fi
45834
45835 if test -n "$ac_tool_prefix"; then
45836 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
45837 set dummy ${ac_tool_prefix}strip; ac_word=$2
45838 echo "$as_me:$LINENO: checking for $ac_word" >&5
45839 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45840 if test "${ac_cv_prog_STRIP+set}" = set; then
45841 echo $ECHO_N "(cached) $ECHO_C" >&6
45842 else
45843 if test -n "$STRIP"; then
45844 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
45845 else
45846 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45847 for as_dir in $PATH
45848 do
45849 IFS=$as_save_IFS
45850 test -z "$as_dir" && as_dir=.
45851 for ac_exec_ext in '' $ac_executable_extensions; do
45852 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45853 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
45854 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45855 break 2
45856 fi
45857 done
45858 done
45859
45860 fi
45861 fi
45862 STRIP=$ac_cv_prog_STRIP
45863 if test -n "$STRIP"; then
45864 echo "$as_me:$LINENO: result: $STRIP" >&5
45865 echo "${ECHO_T}$STRIP" >&6
45866 else
45867 echo "$as_me:$LINENO: result: no" >&5
45868 echo "${ECHO_T}no" >&6
45869 fi
45870
45871 fi
45872 if test -z "$ac_cv_prog_STRIP"; then
45873 ac_ct_STRIP=$STRIP
45874 # Extract the first word of "strip", so it can be a program name with args.
45875 set dummy strip; ac_word=$2
45876 echo "$as_me:$LINENO: checking for $ac_word" >&5
45877 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45878 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
45879 echo $ECHO_N "(cached) $ECHO_C" >&6
45880 else
45881 if test -n "$ac_ct_STRIP"; then
45882 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
45883 else
45884 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45885 for as_dir in $PATH
45886 do
45887 IFS=$as_save_IFS
45888 test -z "$as_dir" && as_dir=.
45889 for ac_exec_ext in '' $ac_executable_extensions; do
45890 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45891 ac_cv_prog_ac_ct_STRIP="strip"
45892 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45893 break 2
45894 fi
45895 done
45896 done
45897
45898 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
45899 fi
45900 fi
45901 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
45902 if test -n "$ac_ct_STRIP"; then
45903 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
45904 echo "${ECHO_T}$ac_ct_STRIP" >&6
45905 else
45906 echo "$as_me:$LINENO: result: no" >&5
45907 echo "${ECHO_T}no" >&6
45908 fi
45909
45910 STRIP=$ac_ct_STRIP
45911 else
45912 STRIP="$ac_cv_prog_STRIP"
45913 fi
45914
45915 if test -n "$ac_tool_prefix"; then
45916 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
45917 set dummy ${ac_tool_prefix}nm; ac_word=$2
45918 echo "$as_me:$LINENO: checking for $ac_word" >&5
45919 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45920 if test "${ac_cv_prog_NM+set}" = set; then
45921 echo $ECHO_N "(cached) $ECHO_C" >&6
45922 else
45923 if test -n "$NM"; then
45924 ac_cv_prog_NM="$NM" # Let the user override the test.
45925 else
45926 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45927 for as_dir in $PATH
45928 do
45929 IFS=$as_save_IFS
45930 test -z "$as_dir" && as_dir=.
45931 for ac_exec_ext in '' $ac_executable_extensions; do
45932 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45933 ac_cv_prog_NM="${ac_tool_prefix}nm"
45934 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45935 break 2
45936 fi
45937 done
45938 done
45939
45940 fi
45941 fi
45942 NM=$ac_cv_prog_NM
45943 if test -n "$NM"; then
45944 echo "$as_me:$LINENO: result: $NM" >&5
45945 echo "${ECHO_T}$NM" >&6
45946 else
45947 echo "$as_me:$LINENO: result: no" >&5
45948 echo "${ECHO_T}no" >&6
45949 fi
45950
45951 fi
45952 if test -z "$ac_cv_prog_NM"; then
45953 ac_ct_NM=$NM
45954 # Extract the first word of "nm", so it can be a program name with args.
45955 set dummy nm; ac_word=$2
45956 echo "$as_me:$LINENO: checking for $ac_word" >&5
45957 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45958 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
45959 echo $ECHO_N "(cached) $ECHO_C" >&6
45960 else
45961 if test -n "$ac_ct_NM"; then
45962 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
45963 else
45964 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45965 for as_dir in $PATH
45966 do
45967 IFS=$as_save_IFS
45968 test -z "$as_dir" && as_dir=.
45969 for ac_exec_ext in '' $ac_executable_extensions; do
45970 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45971 ac_cv_prog_ac_ct_NM="nm"
45972 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45973 break 2
45974 fi
45975 done
45976 done
45977
45978 test -z "$ac_cv_prog_ac_ct_NM" && ac_cv_prog_ac_ct_NM=":"
45979 fi
45980 fi
45981 ac_ct_NM=$ac_cv_prog_ac_ct_NM
45982 if test -n "$ac_ct_NM"; then
45983 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
45984 echo "${ECHO_T}$ac_ct_NM" >&6
45985 else
45986 echo "$as_me:$LINENO: result: no" >&5
45987 echo "${ECHO_T}no" >&6
45988 fi
45989
45990 NM=$ac_ct_NM
45991 else
45992 NM="$ac_cv_prog_NM"
45993 fi
45994
45995
45996 case ${BAKEFILE_HOST} in
45997 *-hp-hpux* )
45998 INSTALL_DIR="mkdir -p"
45999 ;;
46000 *) INSTALL_DIR="$INSTALL -d"
46001 ;;
46002 esac
46003
46004
46005 LDFLAGS_GUI=
46006 case ${BAKEFILE_HOST} in
46007 *-*-cygwin* | *-*-mingw32* )
46008 LDFLAGS_GUI="-mwindows"
46009 esac
46010
46011
46012 fi
46013
46014 echo "$as_me:$LINENO: checking if make is GNU make" >&5
46015 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
46016 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
46017 echo $ECHO_N "(cached) $ECHO_C" >&6
46018 else
46019
46020 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
46021 egrep -s GNU > /dev/null); then
46022 bakefile_cv_prog_makeisgnu="yes"
46023 else
46024 bakefile_cv_prog_makeisgnu="no"
46025 fi
46026
46027 fi
46028 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
46029 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
46030
46031 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
46032 IF_GNU_MAKE=""
46033 else
46034 IF_GNU_MAKE="#"
46035 fi
46036
46037
46038
46039 PLATFORM_UNIX=0
46040 PLATFORM_WIN32=0
46041 PLATFORM_MSDOS=0
46042 PLATFORM_MAC=0
46043 PLATFORM_MACOS=0
46044 PLATFORM_MACOSX=0
46045 PLATFORM_OS2=0
46046 PLATFORM_BEOS=0
46047
46048 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
46049 case "${BAKEFILE_HOST}" in
46050 *-*-mingw32* )
46051 PLATFORM_WIN32=1
46052 ;;
46053 *-pc-msdosdjgpp )
46054 PLATFORM_MSDOS=1
46055 ;;
46056 *-pc-os2_emx | *-pc-os2-emx )
46057 PLATFORM_OS2=1
46058 ;;
46059 *-*-darwin* )
46060 PLATFORM_MAC=1
46061 PLATFORM_MACOSX=1
46062 ;;
46063 *-*-beos* )
46064 PLATFORM_BEOS=1
46065 ;;
46066 powerpc-apple-macos* )
46067 PLATFORM_MAC=1
46068 PLATFORM_MACOS=1
46069 ;;
46070 * )
46071 PLATFORM_UNIX=1
46072 ;;
46073 esac
46074 else
46075 case "$BAKEFILE_FORCE_PLATFORM" in
46076 win32 )
46077 PLATFORM_WIN32=1
46078 ;;
46079 msdos )
46080 PLATFORM_MSDOS=1
46081 ;;
46082 os2 )
46083 PLATFORM_OS2=1
46084 ;;
46085 darwin )
46086 PLATFORM_MAC=1
46087 PLATFORM_MACOSX=1
46088 ;;
46089 unix )
46090 PLATFORM_UNIX=1
46091 ;;
46092 beos )
46093 PLATFORM_BEOS=1
46094 ;;
46095 * )
46096 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
46097 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
46098 { (exit 1); exit 1; }; }
46099 ;;
46100 esac
46101 fi
46102
46103
46104
46105
46106
46107
46108
46109
46110
46111
46112
46113 # Check whether --enable-omf or --disable-omf was given.
46114 if test "${enable_omf+set}" = set; then
46115 enableval="$enable_omf"
46116 bk_os2_use_omf="$enableval"
46117 fi;
46118
46119 case "${BAKEFILE_HOST}" in
46120 *-*-darwin* )
46121 if test "x$GCC" = "xyes"; then
46122 CFLAGS="$CFLAGS -fno-common"
46123 CXXFLAGS="$CXXFLAGS -fno-common"
46124 fi
46125 if test "x$XLCC" = "xyes"; then
46126 CFLAGS="$CFLAGS -qnocommon"
46127 CXXFLAGS="$CXXFLAGS -qnocommon"
46128 fi
46129 ;;
46130
46131 *-pc-os2_emx | *-pc-os2-emx )
46132 if test "x$bk_os2_use_omf" = "xyes" ; then
46133 AR=emxomfar
46134 RANLIB=:
46135 LDFLAGS="-Zomf $LDFLAGS"
46136 CFLAGS="-Zomf $CFLAGS"
46137 CXXFLAGS="-Zomf $CXXFLAGS"
46138 OS2_LIBEXT="lib"
46139 else
46140 OS2_LIBEXT="a"
46141 fi
46142 ;;
46143
46144 i*86-*-beos* )
46145 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
46146 ;;
46147 esac
46148
46149
46150 SO_SUFFIX="so"
46151 SO_SUFFIX_MODULE="so"
46152 EXEEXT=""
46153 LIBPREFIX="lib"
46154 LIBEXT=".a"
46155 DLLPREFIX="lib"
46156 DLLPREFIX_MODULE=""
46157 DLLIMP_SUFFIX=""
46158 dlldir="$libdir"
46159
46160 case "${BAKEFILE_HOST}" in
46161 *-hp-hpux* )
46162 SO_SUFFIX="sl"
46163 SO_SUFFIX_MODULE="sl"
46164 ;;
46165 *-*-aix* )
46166 SO_SUFFIX="a"
46167 SO_SUFFIX_MODULE="a"
46168 ;;
46169 *-*-cygwin* )
46170 SO_SUFFIX="dll"
46171 SO_SUFFIX_MODULE="dll"
46172 DLLIMP_SUFFIX="dll.a"
46173 EXEEXT=".exe"
46174 DLLPREFIX="cyg"
46175 dlldir="$bindir"
46176 ;;
46177 *-*-mingw32* )
46178 SO_SUFFIX="dll"
46179 SO_SUFFIX_MODULE="dll"
46180 DLLIMP_SUFFIX="dll.a"
46181 EXEEXT=".exe"
46182 DLLPREFIX=""
46183 dlldir="$bindir"
46184 ;;
46185 *-pc-msdosdjgpp )
46186 EXEEXT=".exe"
46187 DLLPREFIX=""
46188 dlldir="$bindir"
46189 ;;
46190 *-pc-os2_emx | *-pc-os2-emx )
46191 SO_SUFFIX="dll"
46192 SO_SUFFIX_MODULE="dll"
46193 DLLIMP_SUFFIX=$OS2_LIBEXT
46194 EXEEXT=".exe"
46195 DLLPREFIX=""
46196 LIBPREFIX=""
46197 LIBEXT=".$OS2_LIBEXT"
46198 dlldir="$bindir"
46199 ;;
46200 *-*-darwin* )
46201 SO_SUFFIX="dylib"
46202 SO_SUFFIX_MODULE="bundle"
46203 ;;
46204 esac
46205
46206 if test "x$DLLIMP_SUFFIX" = "x" ; then
46207 DLLIMP_SUFFIX="$SO_SUFFIX"
46208 fi
46209
46210
46211
46212
46213
46214
46215
46216
46217
46218
46219
46220
46221 PIC_FLAG=""
46222 if test "x$GCC" = "xyes"; then
46223 PIC_FLAG="-fPIC"
46224 fi
46225
46226 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
46227 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
46228 WINDOWS_IMPLIB=0
46229
46230 case "${BAKEFILE_HOST}" in
46231 *-hp-hpux* )
46232 if test "x$GCC" != "xyes"; then
46233 LDFLAGS="$LDFLAGS -L/usr/lib"
46234
46235 SHARED_LD_CC="${CC} -b -o"
46236 SHARED_LD_CXX="${CXX} -b -o"
46237 PIC_FLAG="+Z"
46238 fi
46239 ;;
46240
46241 *-*-linux* )
46242 if test "x$GCC" != "xyes"; then
46243 echo "$as_me:$LINENO: checking for Intel compiler" >&5
46244 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
46245 if test "${bakefile_cv_prog_icc+set}" = set; then
46246 echo $ECHO_N "(cached) $ECHO_C" >&6
46247 else
46248
46249 cat >conftest.$ac_ext <<_ACEOF
46250 /* confdefs.h. */
46251 _ACEOF
46252 cat confdefs.h >>conftest.$ac_ext
46253 cat >>conftest.$ac_ext <<_ACEOF
46254 /* end confdefs.h. */
46255
46256 int
46257 main ()
46258 {
46259
46260 #ifndef __INTEL_COMPILER
46261 This is not ICC
46262 #endif
46263
46264 ;
46265 return 0;
46266 }
46267 _ACEOF
46268 rm -f conftest.$ac_objext
46269 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46270 (eval $ac_compile) 2>conftest.er1
46271 ac_status=$?
46272 grep -v '^ *+' conftest.er1 >conftest.err
46273 rm -f conftest.er1
46274 cat conftest.err >&5
46275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46276 (exit $ac_status); } &&
46277 { ac_try='test -z "$ac_c_werror_flag"
46278 || test ! -s conftest.err'
46279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46280 (eval $ac_try) 2>&5
46281 ac_status=$?
46282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46283 (exit $ac_status); }; } &&
46284 { ac_try='test -s conftest.$ac_objext'
46285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46286 (eval $ac_try) 2>&5
46287 ac_status=$?
46288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46289 (exit $ac_status); }; }; then
46290 bakefile_cv_prog_icc=yes
46291 else
46292 echo "$as_me: failed program was:" >&5
46293 sed 's/^/| /' conftest.$ac_ext >&5
46294
46295 bakefile_cv_prog_icc=no
46296
46297 fi
46298 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46299
46300 fi
46301 echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
46302 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
46303 if test "$bakefile_cv_prog_icc" = "yes"; then
46304 PIC_FLAG="-KPIC"
46305 fi
46306 fi
46307 ;;
46308
46309 *-*-solaris2* )
46310 if test "x$GCC" != xyes ; then
46311 SHARED_LD_CC="${CC} -G -o"
46312 SHARED_LD_CXX="${CXX} -G -o"
46313 PIC_FLAG="-KPIC"
46314 fi
46315 ;;
46316
46317 *-*-darwin* )
46318
46319 D='$'
46320 cat <<EOF >shared-ld-sh
46321 #!/bin/sh
46322 #-----------------------------------------------------------------------------
46323 #-- Name: distrib/mac/shared-ld-sh
46324 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
46325 #-- Author: Gilles Depeyrot
46326 #-- Copyright: (c) 2002 Gilles Depeyrot
46327 #-- Licence: any use permitted
46328 #-----------------------------------------------------------------------------
46329
46330 verbose=0
46331 args=""
46332 objects=""
46333 linking_flag="-dynamiclib"
46334 ldargs="-r -keep_private_externs -nostdlib"
46335
46336 while test ${D}# -gt 0; do
46337 case ${D}1 in
46338
46339 -v)
46340 verbose=1
46341 ;;
46342
46343 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
46344 # collect these options and values
46345 args="${D}{args} ${D}1 ${D}2"
46346 shift
46347 ;;
46348
46349 -s|-Wl,*)
46350 # collect these load args
46351 ldargs="${D}{ldargs} ${D}1"
46352 ;;
46353
46354 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
46355 # collect these options
46356 args="${D}{args} ${D}1"
46357 ;;
46358
46359 -dynamiclib|-bundle)
46360 linking_flag="${D}1"
46361 ;;
46362
46363 -*)
46364 echo "shared-ld: unhandled option '${D}1'"
46365 exit 1
46366 ;;
46367
46368 *.o | *.a | *.dylib)
46369 # collect object files
46370 objects="${D}{objects} ${D}1"
46371 ;;
46372
46373 *)
46374 echo "shared-ld: unhandled argument '${D}1'"
46375 exit 1
46376 ;;
46377
46378 esac
46379 shift
46380 done
46381
46382 status=0
46383
46384 #
46385 # Link one module containing all the others
46386 #
46387 if test ${D}{verbose} = 1; then
46388 echo "c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
46389 fi
46390 c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
46391 status=${D}?
46392
46393 #
46394 # Link the shared library from the single module created, but only if the
46395 # previous command didn't fail:
46396 #
46397 if test ${D}{status} = 0; then
46398 if test ${D}{verbose} = 1; then
46399 echo "c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
46400 fi
46401 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
46402 status=${D}?
46403 fi
46404
46405 #
46406 # Remove intermediate module
46407 #
46408 rm -f master.${D}${D}.o
46409
46410 exit ${D}status
46411 EOF
46412
46413 chmod +x shared-ld-sh
46414
46415 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
46416 SHARED_LD_MODULE_CXX="$SHARED_LD_MODULE_CC"
46417
46418
46419 echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
46420 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6
46421 if test "${bakefile_cv_gcc31+set}" = set; then
46422 echo $ECHO_N "(cached) $ECHO_C" >&6
46423 else
46424
46425 cat >conftest.$ac_ext <<_ACEOF
46426 /* confdefs.h. */
46427 _ACEOF
46428 cat confdefs.h >>conftest.$ac_ext
46429 cat >>conftest.$ac_ext <<_ACEOF
46430 /* end confdefs.h. */
46431
46432 int
46433 main ()
46434 {
46435
46436 #if (__GNUC__ < 3) || \
46437 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
46438 This is old gcc
46439 #endif
46440
46441 ;
46442 return 0;
46443 }
46444 _ACEOF
46445 rm -f conftest.$ac_objext
46446 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46447 (eval $ac_compile) 2>conftest.er1
46448 ac_status=$?
46449 grep -v '^ *+' conftest.er1 >conftest.err
46450 rm -f conftest.er1
46451 cat conftest.err >&5
46452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46453 (exit $ac_status); } &&
46454 { ac_try='test -z "$ac_c_werror_flag"
46455 || test ! -s conftest.err'
46456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46457 (eval $ac_try) 2>&5
46458 ac_status=$?
46459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46460 (exit $ac_status); }; } &&
46461 { ac_try='test -s conftest.$ac_objext'
46462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46463 (eval $ac_try) 2>&5
46464 ac_status=$?
46465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46466 (exit $ac_status); }; }; then
46467
46468 bakefile_cv_gcc31=yes
46469
46470 else
46471 echo "$as_me: failed program was:" >&5
46472 sed 's/^/| /' conftest.$ac_ext >&5
46473
46474
46475 bakefile_cv_gcc31=no
46476
46477
46478 fi
46479 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46480
46481 fi
46482 echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
46483 echo "${ECHO_T}$bakefile_cv_gcc31" >&6
46484 if test "$bakefile_cv_gcc31" = "no"; then
46485 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
46486 SHARED_LD_CXX="$SHARED_LD_CC"
46487 else
46488 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
46489 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
46490 fi
46491
46492 if test "x$GCC" == "xyes"; then
46493 PIC_FLAG="-dynamic -fPIC"
46494 fi
46495 if test "x$XLCC" = "xyes"; then
46496 PIC_FLAG="-dynamic -DPIC"
46497 fi
46498 ;;
46499
46500 *-*-aix* )
46501 if test "x$GCC" = "xyes"; then
46502 PIC_FLAG=""
46503
46504 case "${BAKEFILE_HOST}" in
46505 *-*-aix5* )
46506 LD_EXPFULL="-Wl,-bexpfull"
46507 ;;
46508 esac
46509
46510 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
46511 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
46512 else
46513 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
46514 set dummy makeC++SharedLib; ac_word=$2
46515 echo "$as_me:$LINENO: checking for $ac_word" >&5
46516 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
46517 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
46518 echo $ECHO_N "(cached) $ECHO_C" >&6
46519 else
46520 if test -n "$AIX_CXX_LD"; then
46521 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
46522 else
46523 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46524 for as_dir in $PATH
46525 do
46526 IFS=$as_save_IFS
46527 test -z "$as_dir" && as_dir=.
46528 for ac_exec_ext in '' $ac_executable_extensions; do
46529 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
46530 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
46531 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46532 break 2
46533 fi
46534 done
46535 done
46536
46537 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
46538 fi
46539 fi
46540 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
46541 if test -n "$AIX_CXX_LD"; then
46542 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
46543 echo "${ECHO_T}$AIX_CXX_LD" >&6
46544 else
46545 echo "$as_me:$LINENO: result: no" >&5
46546 echo "${ECHO_T}no" >&6
46547 fi
46548
46549 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
46550 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
46551 fi
46552 ;;
46553
46554 *-*-beos* )
46555 SHARED_LD_CC="${LD} -nostart -o"
46556 SHARED_LD_CXX="${LD} -nostart -o"
46557 ;;
46558
46559 *-*-irix* )
46560 if test "x$GCC" != "xyes"; then
46561 PIC_FLAG="-KPIC"
46562 fi
46563 ;;
46564
46565 *-*-cygwin* | *-*-mingw32* )
46566 PIC_FLAG=""
46567 SHARED_LD_CC="\$(CC) -shared -o"
46568 SHARED_LD_CXX="\$(CXX) -shared -o"
46569 WINDOWS_IMPLIB=1
46570 ;;
46571
46572 *-pc-os2_emx | *-pc-os2-emx )
46573 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
46574 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
46575 PIC_FLAG=""
46576
46577 D='$'
46578 cat <<EOF >dllar.sh
46579 #!/bin/sh
46580 #
46581 # dllar - a tool to build both a .dll and an .a file
46582 # from a set of object (.o) files for EMX/OS2.
46583 #
46584 # Written by Andrew Zabolotny, bit@freya.etu.ru
46585 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
46586 #
46587 # This script will accept a set of files on the command line.
46588 # All the public symbols from the .o files will be exported into
46589 # a .DEF file, then linker will be run (through gcc) against them to
46590 # build a shared library consisting of all given .o files. All libraries
46591 # (.a) will be first decompressed into component .o files then act as
46592 # described above. You can optionally give a description (-d "description")
46593 # which will be put into .DLL. To see the list of accepted options (as well
46594 # as command-line format) simply run this program without options. The .DLL
46595 # is built to be imported by name (there is no guarantee that new versions
46596 # of the library you build will have same ordinals for same symbols).
46597 #
46598 # dllar is free software; you can redistribute it and/or modify
46599 # it under the terms of the GNU General Public License as published by
46600 # the Free Software Foundation; either version 2, or (at your option)
46601 # any later version.
46602 #
46603 # dllar is distributed in the hope that it will be useful,
46604 # but WITHOUT ANY WARRANTY; without even the implied warranty of
46605 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
46606 # GNU General Public License for more details.
46607 #
46608 # You should have received a copy of the GNU General Public License
46609 # along with dllar; see the file COPYING. If not, write to the Free
46610 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
46611 # 02111-1307, USA.
46612
46613 # To successfuly run this program you will need:
46614 # - Current drive should have LFN support (HPFS, ext2, network, etc)
46615 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
46616 # - gcc
46617 # (used to build the .dll)
46618 # - emxexp
46619 # (used to create .def file from .o files)
46620 # - emximp
46621 # (used to create .a file from .def file)
46622 # - GNU text utilites (cat, sort, uniq)
46623 # used to process emxexp output
46624 # - GNU file utilities (mv, rm)
46625 # - GNU sed
46626 # - lxlite (optional, see flag below)
46627 # (used for general .dll cleanup)
46628 #
46629
46630 flag_USE_LXLITE=1;
46631
46632 #
46633 # helper functions
46634 # basnam, variant of basename, which does _not_ remove the path, _iff_
46635 # second argument (suffix to remove) is given
46636 basnam(){
46637 case ${D}# in
46638 1)
46639 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
46640 ;;
46641 2)
46642 echo ${D}1 | sed 's/'${D}2'${D}//'
46643 ;;
46644 *)
46645 echo "error in basnam ${D}*"
46646 exit 8
46647 ;;
46648 esac
46649 }
46650
46651 # Cleanup temporary files and output
46652 CleanUp() {
46653 cd ${D}curDir
46654 for i in ${D}inputFiles ; do
46655 case ${D}i in
46656 *!)
46657 rm -rf \`basnam ${D}i !\`
46658 ;;
46659 *)
46660 ;;
46661 esac
46662 done
46663
46664 # Kill result in case of failure as there is just to many stupid make/nmake
46665 # things out there which doesn't do this.
46666 if [ ${D}# -eq 0 ]; then
46667 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
46668 fi
46669 }
46670
46671 # Print usage and exit script with rc=1.
46672 PrintHelp() {
46673 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
46674 echo ' [-name-mangler-script script.sh]'
46675 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
46676 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
46677 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
46678 echo ' [*.o] [*.a]'
46679 echo '*> "output_file" should have no extension.'
46680 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
46681 echo ' The import library name is derived from this and is set to "name".a,'
46682 echo ' unless overridden by -import'
46683 echo '*> "importlib_name" should have no extension.'
46684 echo ' If it has the .o, or .a extension, it is automatically removed.'
46685 echo ' This name is used as the import library name and may be longer and'
46686 echo ' more descriptive than the DLL name which has to follow the old '
46687 echo ' 8.3 convention of FAT.'
46688 echo '*> "script.sh may be given to override the output_file name by a'
46689 echo ' different name. It is mainly useful if the regular make process'
46690 echo ' of some package does not take into account OS/2 restriction of'
46691 echo ' DLL name lengths. It takes the importlib name as input and is'
46692 echo ' supposed to procude a shorter name as output. The script should'
46693 echo ' expect to get importlib_name without extension and should produce'
46694 echo ' a (max.) 8 letter name without extension.'
46695 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
46696 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
46697 echo ' These flags will be put at the start of GCC command line.'
46698 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
46699 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
46700 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
46701 echo ' If the last character of a symbol is "*", all symbols beginning'
46702 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
46703 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
46704 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
46705 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
46706 echo ' C runtime DLLs.'
46707 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
46708 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
46709 echo ' unchanged to GCC at the end of command line.'
46710 echo '*> If you create a DLL from a library and you do not specify -o,'
46711 echo ' the basename for DLL and import library will be set to library name,'
46712 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
46713 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
46714 echo ' library will be renamed into gcc_s.a.'
46715 echo '--------'
46716 echo 'Example:'
46717 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
46718 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
46719 CleanUp
46720 exit 1
46721 }
46722
46723 # Execute a command.
46724 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
46725 # @Uses Whatever CleanUp() uses.
46726 doCommand() {
46727 echo "${D}*"
46728 eval ${D}*
46729 rcCmd=${D}?
46730
46731 if [ ${D}rcCmd -ne 0 ]; then
46732 echo "command failed, exit code="${D}rcCmd
46733 CleanUp
46734 exit ${D}rcCmd
46735 fi
46736 }
46737
46738 # main routine
46739 # setup globals
46740 cmdLine=${D}*
46741 outFile=""
46742 outimpFile=""
46743 inputFiles=""
46744 renameScript=""
46745 description=""
46746 CC=gcc.exe
46747 CFLAGS="-s -Zcrtdll"
46748 EXTRA_CFLAGS=""
46749 EXPORT_BY_ORDINALS=0
46750 exclude_symbols=""
46751 library_flags=""
46752 curDir=\`pwd\`
46753 curDirS=curDir
46754 case ${D}curDirS in
46755 */)
46756 ;;
46757 *)
46758 curDirS=${D}{curDirS}"/"
46759 ;;
46760 esac
46761 # Parse commandline
46762 libsToLink=0
46763 omfLinking=0
46764 while [ ${D}1 ]; do
46765 case ${D}1 in
46766 -ord*)
46767 EXPORT_BY_ORDINALS=1;
46768 ;;
46769 -o*)
46770 shift
46771 outFile=${D}1
46772 ;;
46773 -i*)
46774 shift
46775 outimpFile=${D}1
46776 ;;
46777 -name-mangler-script)
46778 shift
46779 renameScript=${D}1
46780 ;;
46781 -d*)
46782 shift
46783 description=${D}1
46784 ;;
46785 -f*)
46786 shift
46787 CFLAGS=${D}1
46788 ;;
46789 -c*)
46790 shift
46791 CC=${D}1
46792 ;;
46793 -h*)
46794 PrintHelp
46795 ;;
46796 -ex*)
46797 shift
46798 exclude_symbols=${D}{exclude_symbols}${D}1" "
46799 ;;
46800 -libf*)
46801 shift
46802 library_flags=${D}{library_flags}${D}1" "
46803 ;;
46804 -nocrt*)
46805 CFLAGS="-s"
46806 ;;
46807 -nolxl*)
46808 flag_USE_LXLITE=0
46809 ;;
46810 -* | /*)
46811 case ${D}1 in
46812 -L* | -l*)
46813 libsToLink=1
46814 ;;
46815 -Zomf)
46816 omfLinking=1
46817 ;;
46818 *)
46819 ;;
46820 esac
46821 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
46822 ;;
46823 *.dll)
46824 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
46825 if [ ${D}omfLinking -eq 1 ]; then
46826 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
46827 else
46828 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
46829 fi
46830 ;;
46831 *)
46832 found=0;
46833 if [ ${D}libsToLink -ne 0 ]; then
46834 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
46835 else
46836 for file in ${D}1 ; do
46837 if [ -f ${D}file ]; then
46838 inputFiles="${D}{inputFiles} ${D}file"
46839 found=1
46840 fi
46841 done
46842 if [ ${D}found -eq 0 ]; then
46843 echo "ERROR: No file(s) found: "${D}1
46844 exit 8
46845 fi
46846 fi
46847 ;;
46848 esac
46849 shift
46850 done # iterate cmdline words
46851
46852 #
46853 if [ -z "${D}inputFiles" ]; then
46854 echo "dllar: no input files"
46855 PrintHelp
46856 fi
46857
46858 # Now extract all .o files from .a files
46859 newInputFiles=""
46860 for file in ${D}inputFiles ; do
46861 case ${D}file in
46862 *.a | *.lib)
46863 case ${D}file in
46864 *.a)
46865 suffix=".a"
46866 AR="ar"
46867 ;;
46868 *.lib)
46869 suffix=".lib"
46870 AR="emxomfar"
46871 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
46872 ;;
46873 *)
46874 ;;
46875 esac
46876 dirname=\`basnam ${D}file ${D}suffix\`"_%"
46877 mkdir ${D}dirname
46878 if [ ${D}? -ne 0 ]; then
46879 echo "Failed to create subdirectory ./${D}dirname"
46880 CleanUp
46881 exit 8;
46882 fi
46883 # Append '!' to indicate archive
46884 newInputFiles="${D}newInputFiles ${D}{dirname}!"
46885 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
46886 cd ${D}curDir
46887 found=0;
46888 for subfile in ${D}dirname/*.o* ; do
46889 if [ -f ${D}subfile ]; then
46890 found=1
46891 if [ -s ${D}subfile ]; then
46892 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
46893 newInputFiles="${D}newInputFiles ${D}subfile"
46894 fi
46895 fi
46896 done
46897 if [ ${D}found -eq 0 ]; then
46898 echo "WARNING: there are no files in archive \\'${D}file\\'"
46899 fi
46900 ;;
46901 *)
46902 newInputFiles="${D}{newInputFiles} ${D}file"
46903 ;;
46904 esac
46905 done
46906 inputFiles="${D}newInputFiles"
46907
46908 # Output filename(s).
46909 do_backup=0;
46910 if [ -z ${D}outFile ]; then
46911 do_backup=1;
46912 set outFile ${D}inputFiles; outFile=${D}2
46913 fi
46914
46915 # If it is an archive, remove the '!' and the '_%' suffixes
46916 case ${D}outFile in
46917 *_%!)
46918 outFile=\`basnam ${D}outFile _%!\`
46919 ;;
46920 *)
46921 ;;
46922 esac
46923 case ${D}outFile in
46924 *.dll)
46925 outFile=\`basnam ${D}outFile .dll\`
46926 ;;
46927 *.DLL)
46928 outFile=\`basnam ${D}outFile .DLL\`
46929 ;;
46930 *.o)
46931 outFile=\`basnam ${D}outFile .o\`
46932 ;;
46933 *.obj)
46934 outFile=\`basnam ${D}outFile .obj\`
46935 ;;
46936 *.a)
46937 outFile=\`basnam ${D}outFile .a\`
46938 ;;
46939 *.lib)
46940 outFile=\`basnam ${D}outFile .lib\`
46941 ;;
46942 *)
46943 ;;
46944 esac
46945 case ${D}outimpFile in
46946 *.a)
46947 outimpFile=\`basnam ${D}outimpFile .a\`
46948 ;;
46949 *.lib)
46950 outimpFile=\`basnam ${D}outimpFile .lib\`
46951 ;;
46952 *)
46953 ;;
46954 esac
46955 if [ -z ${D}outimpFile ]; then
46956 outimpFile=${D}outFile
46957 fi
46958 defFile="${D}{outFile}.def"
46959 arcFile="${D}{outimpFile}.a"
46960 arcFile2="${D}{outimpFile}.lib"
46961
46962 #create ${D}dllFile as something matching 8.3 restrictions,
46963 if [ -z ${D}renameScript ] ; then
46964 dllFile="${D}outFile"
46965 else
46966 dllFile=\`${D}renameScript ${D}outimpFile\`
46967 fi
46968
46969 if [ ${D}do_backup -ne 0 ] ; then
46970 if [ -f ${D}arcFile ] ; then
46971 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
46972 fi
46973 if [ -f ${D}arcFile2 ] ; then
46974 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
46975 fi
46976 fi
46977
46978 # Extract public symbols from all the object files.
46979 tmpdefFile=${D}{defFile}_%
46980 rm -f ${D}tmpdefFile
46981 for file in ${D}inputFiles ; do
46982 case ${D}file in
46983 *!)
46984 ;;
46985 *)
46986 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
46987 ;;
46988 esac
46989 done
46990
46991 # Create the def file.
46992 rm -f ${D}defFile
46993 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
46994 dllFile="${D}{dllFile}.dll"
46995 if [ ! -z ${D}description ]; then
46996 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
46997 fi
46998 echo "EXPORTS" >> ${D}defFile
46999
47000 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
47001 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
47002
47003 # Checks if the export is ok or not.
47004 for word in ${D}exclude_symbols; do
47005 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
47006 mv ${D}{tmpdefFile}% ${D}tmpdefFile
47007 done
47008
47009
47010 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
47011 sed "=" < ${D}tmpdefFile | \\
47012 sed '
47013 N
47014 : loop
47015 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
47016 t loop
47017 ' > ${D}{tmpdefFile}%
47018 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
47019 else
47020 rm -f ${D}{tmpdefFile}%
47021 fi
47022 cat ${D}tmpdefFile >> ${D}defFile
47023 rm -f ${D}tmpdefFile
47024
47025 # Do linking, create implib, and apply lxlite.
47026 gccCmdl="";
47027 for file in ${D}inputFiles ; do
47028 case ${D}file in
47029 *!)
47030 ;;
47031 *)
47032 gccCmdl="${D}gccCmdl ${D}file"
47033 ;;
47034 esac
47035 done
47036 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
47037 touch "${D}{outFile}.dll"
47038
47039 doCommand "emximp -o ${D}arcFile ${D}defFile"
47040 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
47041 add_flags="";
47042 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
47043 add_flags="-ynd"
47044 fi
47045 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
47046 fi
47047 doCommand "emxomf -s -l ${D}arcFile"
47048
47049 # Successful exit.
47050 CleanUp 1
47051 exit 0
47052 EOF
47053
47054 chmod +x dllar.sh
47055 ;;
47056
47057 powerpc-apple-macos* | \
47058 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
47059 *-*-sunos4* | \
47060 *-*-osf* | \
47061 *-*-dgux5* | \
47062 *-*-sysv5* | \
47063 *-pc-msdosdjgpp )
47064 ;;
47065
47066 *)
47067 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
47068 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
47069 { (exit 1); exit 1; }; }
47070 esac
47071
47072 if test "x$PIC_FLAG" != "x" ; then
47073 PIC_FLAG="$PIC_FLAG -DPIC"
47074 fi
47075
47076 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
47077 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
47078 fi
47079 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
47080 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
47081 fi
47082
47083
47084
47085
47086
47087
47088
47089
47090
47091 USE_SOVERSION=0
47092 USE_SOVERLINUX=0
47093 USE_SOVERSOLARIS=0
47094 USE_SOVERCYGWIN=0
47095 USE_SOSYMLINKS=0
47096 USE_MACVERSION=0
47097 SONAME_FLAG=
47098
47099 case "${BAKEFILE_HOST}" in
47100 *-*-linux* | *-*-freebsd* | *-*-k*bsd*-gnu )
47101 SONAME_FLAG="-Wl,-soname,"
47102 USE_SOVERSION=1
47103 USE_SOVERLINUX=1
47104 USE_SOSYMLINKS=1
47105 ;;
47106
47107 *-*-solaris2* )
47108 SONAME_FLAG="-h "
47109 USE_SOVERSION=1
47110 USE_SOVERSOLARIS=1
47111 USE_SOSYMLINKS=1
47112 ;;
47113
47114 *-*-darwin* )
47115 USE_MACVERSION=1
47116 USE_SOVERSION=1
47117 USE_SOSYMLINKS=1
47118 ;;
47119
47120 *-*-cygwin* )
47121 USE_SOVERSION=1
47122 USE_SOVERCYGWIN=1
47123 ;;
47124 esac
47125
47126
47127
47128
47129
47130
47131
47132
47133
47134
47135 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
47136 if test "${enable_dependency_tracking+set}" = set; then
47137 enableval="$enable_dependency_tracking"
47138 bk_use_trackdeps="$enableval"
47139 fi;
47140
47141 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
47142 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
47143
47144 if test "x$bk_use_trackdeps" = "xno" ; then
47145 DEPS_TRACKING=0
47146 echo "$as_me:$LINENO: result: disabled" >&5
47147 echo "${ECHO_T}disabled" >&6
47148 else
47149 DEPS_TRACKING=1
47150
47151 if test "x$GCC" = "xyes"; then
47152 DEPSMODE=gcc
47153 case "${BAKEFILE_HOST}" in
47154 *-*-darwin* )
47155 DEPSFLAG="-no-cpp-precomp -MMD"
47156 ;;
47157 * )
47158 DEPSFLAG="-MMD"
47159 ;;
47160 esac
47161 echo "$as_me:$LINENO: result: gcc" >&5
47162 echo "${ECHO_T}gcc" >&6
47163 elif test "x$MWCC" = "xyes"; then
47164 DEPSMODE=mwcc
47165 DEPSFLAG="-MM"
47166 echo "$as_me:$LINENO: result: mwcc" >&5
47167 echo "${ECHO_T}mwcc" >&6
47168 elif test "x$SUNCC" = "xyes"; then
47169 DEPSMODE=unixcc
47170 DEPSFLAG="-xM1"
47171 echo "$as_me:$LINENO: result: Sun cc" >&5
47172 echo "${ECHO_T}Sun cc" >&6
47173 elif test "x$SGICC" = "xyes"; then
47174 DEPSMODE=unixcc
47175 DEPSFLAG="-M"
47176 echo "$as_me:$LINENO: result: SGI cc" >&5
47177 echo "${ECHO_T}SGI cc" >&6
47178 elif test "x$HPCC" = "xyes"; then
47179 DEPSMODE=unixcc
47180 DEPSFLAG="+make"
47181 echo "$as_me:$LINENO: result: HP cc" >&5
47182 echo "${ECHO_T}HP cc" >&6
47183 elif test "x$COMPAQCC" = "xyes"; then
47184 DEPSMODE=gcc
47185 DEPSFLAG="-MD"
47186 echo "$as_me:$LINENO: result: Compaq cc" >&5
47187 echo "${ECHO_T}Compaq cc" >&6
47188 else
47189 DEPS_TRACKING=0
47190 echo "$as_me:$LINENO: result: none" >&5
47191 echo "${ECHO_T}none" >&6
47192 fi
47193
47194 if test $DEPS_TRACKING = 1 ; then
47195
47196 D='$'
47197 cat <<EOF >bk-deps
47198 #!/bin/sh
47199
47200 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
47201 # script. It is used to track C/C++ files dependencies in portable way.
47202 #
47203 # Permission is given to use this file in any way.
47204
47205 DEPSMODE=${DEPSMODE}
47206 DEPSDIR=.deps
47207 DEPSFLAG="${DEPSFLAG}"
47208
47209 mkdir -p ${D}DEPSDIR
47210
47211 if test ${D}DEPSMODE = gcc ; then
47212 ${D}* ${D}{DEPSFLAG}
47213 status=${D}?
47214 if test ${D}{status} != 0 ; then
47215 exit ${D}{status}
47216 fi
47217 # move created file to the location we want it in:
47218 while test ${D}# -gt 0; do
47219 case "${D}1" in
47220 -o )
47221 shift
47222 objfile=${D}1
47223 ;;
47224 -* )
47225 ;;
47226 * )
47227 srcfile=${D}1
47228 ;;
47229 esac
47230 shift
47231 done
47232 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
47233 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
47234 if test -f ${D}depfile ; then
47235 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
47236 rm -f ${D}depfile
47237 else
47238 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
47239 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
47240 if test ! -f ${D}depfile ; then
47241 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
47242 depfile="${D}objfile.d"
47243 fi
47244 if test -f ${D}depfile ; then
47245 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
47246 rm -f ${D}depfile
47247 fi
47248 fi
47249 exit 0
47250 elif test ${D}DEPSMODE = mwcc ; then
47251 ${D}* || exit ${D}?
47252 # Run mwcc again with -MM and redirect into the dep file we want
47253 # NOTE: We can't use shift here because we need ${D}* to be valid
47254 prevarg=
47255 for arg in ${D}* ; do
47256 if test "${D}prevarg" = "-o"; then
47257 objfile=${D}arg
47258 else
47259 case "${D}arg" in
47260 -* )
47261 ;;
47262 * )
47263 srcfile=${D}arg
47264 ;;
47265 esac
47266 fi
47267 prevarg="${D}arg"
47268 done
47269 ${D}* ${D}DEPSFLAG >${D}{DEPSDIR}/${D}{objfile}.d
47270 exit 0
47271 elif test ${D}DEPSMODE = unixcc; then
47272 ${D}* || exit ${D}?
47273 # Run compiler again with deps flag and redirect into the dep file.
47274 # It doesn't work if the '-o FILE' option is used, but without it the
47275 # dependency file will contain the wrong name for the object. So it is
47276 # removed from the command line, and the dep file is fixed with sed.
47277 cmd=""
47278 while test ${D}# -gt 0; do
47279 case "${D}1" in
47280 -o )
47281 shift
47282 objfile=${D}1
47283 ;;
47284 * )
47285 eval arg${D}#=\\${D}1
47286 cmd="${D}cmd \\${D}arg${D}#"
47287 ;;
47288 esac
47289 shift
47290 done
47291 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
47292 exit 0
47293 else
47294 ${D}*
47295 exit ${D}?
47296 fi
47297 EOF
47298
47299 chmod +x bk-deps
47300 fi
47301 fi
47302
47303
47304
47305
47306 case ${BAKEFILE_HOST} in
47307 *-*-cygwin* | *-*-mingw32* )
47308 if test -n "$ac_tool_prefix"; then
47309 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
47310 set dummy ${ac_tool_prefix}windres; ac_word=$2
47311 echo "$as_me:$LINENO: checking for $ac_word" >&5
47312 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47313 if test "${ac_cv_prog_WINDRES+set}" = set; then
47314 echo $ECHO_N "(cached) $ECHO_C" >&6
47315 else
47316 if test -n "$WINDRES"; then
47317 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
47318 else
47319 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47320 for as_dir in $PATH
47321 do
47322 IFS=$as_save_IFS
47323 test -z "$as_dir" && as_dir=.
47324 for ac_exec_ext in '' $ac_executable_extensions; do
47325 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47326 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
47327 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47328 break 2
47329 fi
47330 done
47331 done
47332
47333 fi
47334 fi
47335 WINDRES=$ac_cv_prog_WINDRES
47336 if test -n "$WINDRES"; then
47337 echo "$as_me:$LINENO: result: $WINDRES" >&5
47338 echo "${ECHO_T}$WINDRES" >&6
47339 else
47340 echo "$as_me:$LINENO: result: no" >&5
47341 echo "${ECHO_T}no" >&6
47342 fi
47343
47344 fi
47345 if test -z "$ac_cv_prog_WINDRES"; then
47346 ac_ct_WINDRES=$WINDRES
47347 # Extract the first word of "windres", so it can be a program name with args.
47348 set dummy windres; ac_word=$2
47349 echo "$as_me:$LINENO: checking for $ac_word" >&5
47350 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47351 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
47352 echo $ECHO_N "(cached) $ECHO_C" >&6
47353 else
47354 if test -n "$ac_ct_WINDRES"; then
47355 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
47356 else
47357 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47358 for as_dir in $PATH
47359 do
47360 IFS=$as_save_IFS
47361 test -z "$as_dir" && as_dir=.
47362 for ac_exec_ext in '' $ac_executable_extensions; do
47363 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47364 ac_cv_prog_ac_ct_WINDRES="windres"
47365 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47366 break 2
47367 fi
47368 done
47369 done
47370
47371 fi
47372 fi
47373 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
47374 if test -n "$ac_ct_WINDRES"; then
47375 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
47376 echo "${ECHO_T}$ac_ct_WINDRES" >&6
47377 else
47378 echo "$as_me:$LINENO: result: no" >&5
47379 echo "${ECHO_T}no" >&6
47380 fi
47381
47382 WINDRES=$ac_ct_WINDRES
47383 else
47384 WINDRES="$ac_cv_prog_WINDRES"
47385 fi
47386
47387 ;;
47388
47389 *-*-darwin* | powerpc-apple-macos* )
47390 # Extract the first word of "Rez", so it can be a program name with args.
47391 set dummy Rez; ac_word=$2
47392 echo "$as_me:$LINENO: checking for $ac_word" >&5
47393 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47394 if test "${ac_cv_prog_REZ+set}" = set; then
47395 echo $ECHO_N "(cached) $ECHO_C" >&6
47396 else
47397 if test -n "$REZ"; then
47398 ac_cv_prog_REZ="$REZ" # Let the user override the test.
47399 else
47400 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47401 for as_dir in $PATH
47402 do
47403 IFS=$as_save_IFS
47404 test -z "$as_dir" && as_dir=.
47405 for ac_exec_ext in '' $ac_executable_extensions; do
47406 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47407 ac_cv_prog_REZ="Rez"
47408 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47409 break 2
47410 fi
47411 done
47412 done
47413
47414 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
47415 fi
47416 fi
47417 REZ=$ac_cv_prog_REZ
47418 if test -n "$REZ"; then
47419 echo "$as_me:$LINENO: result: $REZ" >&5
47420 echo "${ECHO_T}$REZ" >&6
47421 else
47422 echo "$as_me:$LINENO: result: no" >&5
47423 echo "${ECHO_T}no" >&6
47424 fi
47425
47426 # Extract the first word of "SetFile", so it can be a program name with args.
47427 set dummy SetFile; ac_word=$2
47428 echo "$as_me:$LINENO: checking for $ac_word" >&5
47429 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47430 if test "${ac_cv_prog_SETFILE+set}" = set; then
47431 echo $ECHO_N "(cached) $ECHO_C" >&6
47432 else
47433 if test -n "$SETFILE"; then
47434 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
47435 else
47436 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47437 for as_dir in $PATH
47438 do
47439 IFS=$as_save_IFS
47440 test -z "$as_dir" && as_dir=.
47441 for ac_exec_ext in '' $ac_executable_extensions; do
47442 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47443 ac_cv_prog_SETFILE="SetFile"
47444 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47445 break 2
47446 fi
47447 done
47448 done
47449
47450 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
47451 fi
47452 fi
47453 SETFILE=$ac_cv_prog_SETFILE
47454 if test -n "$SETFILE"; then
47455 echo "$as_me:$LINENO: result: $SETFILE" >&5
47456 echo "${ECHO_T}$SETFILE" >&6
47457 else
47458 echo "$as_me:$LINENO: result: no" >&5
47459 echo "${ECHO_T}no" >&6
47460 fi
47461
47462 ;;
47463 esac
47464
47465
47466
47467
47468
47469
47470 BAKEFILE_BAKEFILE_M4_VERSION="0.2.0"
47471
47472
47473 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.0"
47474
47475
47476
47477 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
47478 if test "${enable_precomp_headers+set}" = set; then
47479 enableval="$enable_precomp_headers"
47480 bk_use_pch="$enableval"
47481 fi;
47482
47483 GCC_PCH=0
47484 ICC_PCH=0
47485 USE_PCH=0
47486
47487 case ${BAKEFILE_HOST} in
47488 *-*-cygwin* )
47489 bk_use_pch="no"
47490 ;;
47491 esac
47492
47493 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
47494 if test "x$GCC" = "xyes"; then
47495 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
47496 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
47497 cat >conftest.$ac_ext <<_ACEOF
47498 /* confdefs.h. */
47499 _ACEOF
47500 cat confdefs.h >>conftest.$ac_ext
47501 cat >>conftest.$ac_ext <<_ACEOF
47502 /* end confdefs.h. */
47503
47504 int
47505 main ()
47506 {
47507
47508 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
47509 There is no PCH support
47510 #endif
47511 #if (__GNUC__ < 3)
47512 There is no PCH support
47513 #endif
47514 #if (__GNUC__ == 3) && \
47515 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
47516 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
47517 ( defined(__INTEL_COMPILER) )
47518 There is no PCH support
47519 #endif
47520
47521 ;
47522 return 0;
47523 }
47524 _ACEOF
47525 rm -f conftest.$ac_objext
47526 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47527 (eval $ac_compile) 2>conftest.er1
47528 ac_status=$?
47529 grep -v '^ *+' conftest.er1 >conftest.err
47530 rm -f conftest.er1
47531 cat conftest.err >&5
47532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47533 (exit $ac_status); } &&
47534 { ac_try='test -z "$ac_c_werror_flag"
47535 || test ! -s conftest.err'
47536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47537 (eval $ac_try) 2>&5
47538 ac_status=$?
47539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47540 (exit $ac_status); }; } &&
47541 { ac_try='test -s conftest.$ac_objext'
47542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47543 (eval $ac_try) 2>&5
47544 ac_status=$?
47545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47546 (exit $ac_status); }; }; then
47547
47548 echo "$as_me:$LINENO: result: yes" >&5
47549 echo "${ECHO_T}yes" >&6
47550 GCC_PCH=1
47551
47552 else
47553 echo "$as_me: failed program was:" >&5
47554 sed 's/^/| /' conftest.$ac_ext >&5
47555
47556
47557 cat >conftest.$ac_ext <<_ACEOF
47558 /* confdefs.h. */
47559 _ACEOF
47560 cat confdefs.h >>conftest.$ac_ext
47561 cat >>conftest.$ac_ext <<_ACEOF
47562 /* end confdefs.h. */
47563
47564 int
47565 main ()
47566 {
47567
47568 #if !defined(__INTEL_COMPILER) || \
47569 (__INTEL_COMPILER < 800)
47570 There is no PCH support
47571 #endif
47572
47573 ;
47574 return 0;
47575 }
47576 _ACEOF
47577 rm -f conftest.$ac_objext
47578 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47579 (eval $ac_compile) 2>conftest.er1
47580 ac_status=$?
47581 grep -v '^ *+' conftest.er1 >conftest.err
47582 rm -f conftest.er1
47583 cat conftest.err >&5
47584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47585 (exit $ac_status); } &&
47586 { ac_try='test -z "$ac_c_werror_flag"
47587 || test ! -s conftest.err'
47588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47589 (eval $ac_try) 2>&5
47590 ac_status=$?
47591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47592 (exit $ac_status); }; } &&
47593 { ac_try='test -s conftest.$ac_objext'
47594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47595 (eval $ac_try) 2>&5
47596 ac_status=$?
47597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47598 (exit $ac_status); }; }; then
47599
47600 echo "$as_me:$LINENO: result: yes" >&5
47601 echo "${ECHO_T}yes" >&6
47602 ICC_PCH=1
47603
47604 else
47605 echo "$as_me: failed program was:" >&5
47606 sed 's/^/| /' conftest.$ac_ext >&5
47607
47608
47609 echo "$as_me:$LINENO: result: no" >&5
47610 echo "${ECHO_T}no" >&6
47611
47612 fi
47613 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47614
47615 fi
47616 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47617 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
47618 USE_PCH=1
47619
47620 D='$'
47621 cat <<EOF >bk-make-pch
47622 #!/bin/sh
47623
47624 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
47625 # script. It is used to generated precompiled headers.
47626 #
47627 # Permission is given to use this file in any way.
47628
47629 outfile="${D}{1}"
47630 header="${D}{2}"
47631 shift
47632 shift
47633
47634 compiler=""
47635 headerfile=""
47636
47637 while test ${D}{#} -gt 0; do
47638 add_to_cmdline=1
47639 case "${D}{1}" in
47640 -I* )
47641 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
47642 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
47643 headerfile="${D}{incdir}/${D}{header}"
47644 fi
47645 ;;
47646 -use-pch|-use_pch )
47647 shift
47648 add_to_cmdline=0
47649 ;;
47650 esac
47651 if test ${D}add_to_cmdline = 1 ; then
47652 compiler="${D}{compiler} ${D}{1}"
47653 fi
47654 shift
47655 done
47656
47657 if test "x${D}{headerfile}" = "x" ; then
47658 echo "error: can't find header ${D}{header} in include paths" >&2
47659 else
47660 if test -f ${D}{outfile} ; then
47661 rm -f ${D}{outfile}
47662 else
47663 mkdir -p \`dirname ${D}{outfile}\`
47664 fi
47665 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
47666 mkdir -p .deps
47667 if test "x${GCC_PCH}" = "x1" ; then
47668 # can do this because gcc is >= 3.4:
47669 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
47670 elif test "x${ICC_PCH}" = "x1" ; then
47671 filename=pch_gen-${D}${D}
47672 file=${D}{filename}.c
47673 dfile=${D}{filename}.d
47674 cat > ${D}file <<EOT
47675 #include "${D}header"
47676 EOT
47677 # using -MF icc complains about differing command lines in creation/use
47678 ${D}compiler -c -create_pch ${D}outfile -MMD ${D}file && \\
47679 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
47680 rm -f ${D}file ${D}dfile ${D}{filename}.o
47681 fi
47682 exit ${D}{?}
47683 fi
47684 EOF
47685
47686 chmod +x bk-make-pch
47687 fi
47688 fi
47689 fi
47690
47691
47692
47693
47694 COND_BUILD_DEBUG="#"
47695 if test "x$BUILD" = "xdebug" ; then
47696 COND_BUILD_DEBUG=""
47697 fi
47698
47699 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
47700 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
47701 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
47702 fi
47703
47704 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
47705 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
47706 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
47707 fi
47708
47709 COND_BUILD_DEBUG_UNICODE_0="#"
47710 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
47711 COND_BUILD_DEBUG_UNICODE_0=""
47712 fi
47713
47714 COND_BUILD_DEBUG_UNICODE_1="#"
47715 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
47716 COND_BUILD_DEBUG_UNICODE_1=""
47717 fi
47718
47719 COND_BUILD_RELEASE="#"
47720 if test "x$BUILD" = "xrelease" ; then
47721 COND_BUILD_RELEASE=""
47722 fi
47723
47724 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
47725 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
47726 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
47727 fi
47728
47729 COND_BUILD_RELEASE_UNICODE_0="#"
47730 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
47731 COND_BUILD_RELEASE_UNICODE_0=""
47732 fi
47733
47734 COND_BUILD_RELEASE_UNICODE_1="#"
47735 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
47736 COND_BUILD_RELEASE_UNICODE_1=""
47737 fi
47738
47739 COND_DEBUG_FLAG_1="#"
47740 if test "x$DEBUG_FLAG" = "x1" ; then
47741 COND_DEBUG_FLAG_1=""
47742 fi
47743
47744 COND_DEBUG_INFO_0="#"
47745 if test "x$DEBUG_INFO" = "x0" ; then
47746 COND_DEBUG_INFO_0=""
47747 fi
47748
47749 COND_DEBUG_INFO_1="#"
47750 if test "x$DEBUG_INFO" = "x1" ; then
47751 COND_DEBUG_INFO_1=""
47752 fi
47753
47754 COND_DEPS_TRACKING_0="#"
47755 if test "x$DEPS_TRACKING" = "x0" ; then
47756 COND_DEPS_TRACKING_0=""
47757 fi
47758
47759 COND_DEPS_TRACKING_1="#"
47760 if test "x$DEPS_TRACKING" = "x1" ; then
47761 COND_DEPS_TRACKING_1=""
47762 fi
47763
47764 COND_GCC_PCH_1="#"
47765 if test "x$GCC_PCH" = "x1" ; then
47766 COND_GCC_PCH_1=""
47767 fi
47768
47769 COND_ICC_PCH_1="#"
47770 if test "x$ICC_PCH" = "x1" ; then
47771 COND_ICC_PCH_1=""
47772 fi
47773
47774 COND_MONOLITHIC_0="#"
47775 if test "x$MONOLITHIC" = "x0" ; then
47776 COND_MONOLITHIC_0=""
47777 fi
47778
47779 COND_MONOLITHIC_0_SHARED_0="#"
47780 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
47781 COND_MONOLITHIC_0_SHARED_0=""
47782 fi
47783
47784 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
47785 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
47786 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
47787 fi
47788
47789 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
47790 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
47791 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
47792 fi
47793
47794 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
47795 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
47796 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
47797 fi
47798
47799 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1="#"
47800 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
47801 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1=""
47802 fi
47803
47804 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
47805 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
47806 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
47807 fi
47808
47809 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1="#"
47810 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
47811 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1=""
47812 fi
47813
47814 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
47815 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
47816 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
47817 fi
47818
47819 COND_MONOLITHIC_0_SHARED_1="#"
47820 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
47821 COND_MONOLITHIC_0_SHARED_1=""
47822 fi
47823
47824 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
47825 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
47826 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
47827 fi
47828
47829 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
47830 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
47831 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
47832 fi
47833
47834 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
47835 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
47836 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
47837 fi
47838
47839 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1="#"
47840 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
47841 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1=""
47842 fi
47843
47844 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
47845 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
47846 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
47847 fi
47848
47849 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1="#"
47850 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
47851 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1=""
47852 fi
47853
47854 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
47855 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
47856 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
47857 fi
47858
47859 COND_MONOLITHIC_0_USE_MEDIA_1="#"
47860 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
47861 COND_MONOLITHIC_0_USE_MEDIA_1=""
47862 fi
47863
47864 COND_MONOLITHIC_0_USE_ODBC_1="#"
47865 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
47866 COND_MONOLITHIC_0_USE_ODBC_1=""
47867 fi
47868
47869 COND_MONOLITHIC_1="#"
47870 if test "x$MONOLITHIC" = "x1" ; then
47871 COND_MONOLITHIC_1=""
47872 fi
47873
47874 COND_MONOLITHIC_1_SHARED_0="#"
47875 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
47876 COND_MONOLITHIC_1_SHARED_0=""
47877 fi
47878
47879 COND_MONOLITHIC_1_SHARED_1="#"
47880 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
47881 COND_MONOLITHIC_1_SHARED_1=""
47882 fi
47883
47884 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
47885 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
47886 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
47887 fi
47888
47889 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
47890 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
47891 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
47892 fi
47893
47894 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
47895 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
47896 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
47897 fi
47898
47899 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
47900 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
47901 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
47902 fi
47903
47904 COND_PLATFORM_MACOSX_1="#"
47905 if test "x$PLATFORM_MACOSX" = "x1" ; then
47906 COND_PLATFORM_MACOSX_1=""
47907 fi
47908
47909 COND_PLATFORM_MACOSX_1_TOOLKIT_="#"
47910 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
47911 COND_PLATFORM_MACOSX_1_TOOLKIT_=""
47912 fi
47913
47914 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#"
47915 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
47916 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA=""
47917 fi
47918
47919 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="#"
47920 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
47921 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK=""
47922 fi
47923
47924 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="#"
47925 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
47926 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC=""
47927 fi
47928
47929 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1="#"
47930 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
47931 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1=""
47932 fi
47933
47934 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
47935 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
47936 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
47937 fi
47938
47939 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF="#"
47940 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
47941 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF=""
47942 fi
47943
47944 COND_PLATFORM_MACOSX_1_TOOLKIT_X11="#"
47945 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
47946 COND_PLATFORM_MACOSX_1_TOOLKIT_X11=""
47947 fi
47948
47949 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
47950 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
47951 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
47952 fi
47953
47954 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
47955 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
47956 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
47957 fi
47958
47959 COND_PLATFORM_MACOS_1="#"
47960 if test "x$PLATFORM_MACOS" = "x1" ; then
47961 COND_PLATFORM_MACOS_1=""
47962 fi
47963
47964 COND_PLATFORM_MAC_1="#"
47965 if test "x$PLATFORM_MAC" = "x1" ; then
47966 COND_PLATFORM_MAC_1=""
47967 fi
47968
47969 COND_PLATFORM_MSDOS_0="#"
47970 if test "x$PLATFORM_MSDOS" = "x0" ; then
47971 COND_PLATFORM_MSDOS_0=""
47972 fi
47973
47974 COND_PLATFORM_MSDOS_1="#"
47975 if test "x$PLATFORM_MSDOS" = "x1" ; then
47976 COND_PLATFORM_MSDOS_1=""
47977 fi
47978
47979 COND_PLATFORM_OS2_1="#"
47980 if test "x$PLATFORM_OS2" = "x1" ; then
47981 COND_PLATFORM_OS2_1=""
47982 fi
47983
47984 COND_PLATFORM_UNIX_0="#"
47985 if test "x$PLATFORM_UNIX" = "x0" ; then
47986 COND_PLATFORM_UNIX_0=""
47987 fi
47988
47989 COND_PLATFORM_UNIX_1="#"
47990 if test "x$PLATFORM_UNIX" = "x1" ; then
47991 COND_PLATFORM_UNIX_1=""
47992 fi
47993
47994 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
47995 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
47996 COND_PLATFORM_UNIX_1_USE_GUI_1=""
47997 fi
47998
47999 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
48000 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
48001 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
48002 fi
48003
48004 COND_PLATFORM_WIN32_0="#"
48005 if test "x$PLATFORM_WIN32" = "x0" ; then
48006 COND_PLATFORM_WIN32_0=""
48007 fi
48008
48009 COND_PLATFORM_WIN32_1="#"
48010 if test "x$PLATFORM_WIN32" = "x1" ; then
48011 COND_PLATFORM_WIN32_1=""
48012 fi
48013
48014 COND_SHARED_0="#"
48015 if test "x$SHARED" = "x0" ; then
48016 COND_SHARED_0=""
48017 fi
48018
48019 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
48020 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
48021 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
48022 fi
48023
48024 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
48025 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
48026 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
48027 fi
48028
48029 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
48030 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
48031 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
48032 fi
48033
48034 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
48035 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
48036 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
48037 fi
48038
48039 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
48040 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
48041 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
48042 fi
48043
48044 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
48045 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
48046 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
48047 fi
48048
48049 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
48050 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
48051 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
48052 fi
48053
48054 COND_SHARED_0_USE_XRC_1="#"
48055 if test "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
48056 COND_SHARED_0_USE_XRC_1=""
48057 fi
48058
48059 COND_SHARED_0_WXUSE_EXPAT_BUILTIN="#"
48060 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
48061 COND_SHARED_0_WXUSE_EXPAT_BUILTIN=""
48062 fi
48063
48064 COND_SHARED_0_WXUSE_ODBC_BUILTIN="#"
48065 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
48066 COND_SHARED_0_WXUSE_ODBC_BUILTIN=""
48067 fi
48068
48069 COND_SHARED_0_WXUSE_REGEX_BUILTIN="#"
48070 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
48071 COND_SHARED_0_WXUSE_REGEX_BUILTIN=""
48072 fi
48073
48074 COND_SHARED_0_WXUSE_ZLIB_BUILTIN="#"
48075 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
48076 COND_SHARED_0_WXUSE_ZLIB_BUILTIN=""
48077 fi
48078
48079 COND_SHARED_1="#"
48080 if test "x$SHARED" = "x1" ; then
48081 COND_SHARED_1=""
48082 fi
48083
48084 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
48085 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
48086 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
48087 fi
48088
48089 COND_SHARED_1_USE_XRC_1="#"
48090 if test "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
48091 COND_SHARED_1_USE_XRC_1=""
48092 fi
48093
48094 COND_TOOLKIT_="#"
48095 if test "x$TOOLKIT" = "x" ; then
48096 COND_TOOLKIT_=""
48097 fi
48098
48099 COND_TOOLKIT_COCOA="#"
48100 if test "x$TOOLKIT" = "xCOCOA" ; then
48101 COND_TOOLKIT_COCOA=""
48102 fi
48103
48104 COND_TOOLKIT_COCOA_USE_GUI_1="#"
48105 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
48106 COND_TOOLKIT_COCOA_USE_GUI_1=""
48107 fi
48108
48109 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
48110 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48111 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
48112 fi
48113
48114 COND_TOOLKIT_GTK="#"
48115 if test "x$TOOLKIT" = "xGTK" ; then
48116 COND_TOOLKIT_GTK=""
48117 fi
48118
48119 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
48120 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
48121 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
48122 fi
48123
48124 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
48125 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
48126 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
48127 fi
48128
48129 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
48130 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
48131 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
48132 fi
48133
48134 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
48135 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48136 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
48137 fi
48138
48139 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
48140 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
48141 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
48142 fi
48143
48144 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
48145 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48146 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
48147 fi
48148
48149 COND_TOOLKIT_GTK_USE_GUI_1="#"
48150 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
48151 COND_TOOLKIT_GTK_USE_GUI_1=""
48152 fi
48153
48154 COND_TOOLKIT_MAC="#"
48155 if test "x$TOOLKIT" = "xMAC" ; then
48156 COND_TOOLKIT_MAC=""
48157 fi
48158
48159 COND_TOOLKIT_MAC_USE_GUI_1="#"
48160 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
48161 COND_TOOLKIT_MAC_USE_GUI_1=""
48162 fi
48163
48164 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
48165 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48166 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
48167 fi
48168
48169 COND_TOOLKIT_MGL="#"
48170 if test "x$TOOLKIT" = "xMGL" ; then
48171 COND_TOOLKIT_MGL=""
48172 fi
48173
48174 COND_TOOLKIT_MGL_USE_GUI_1="#"
48175 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
48176 COND_TOOLKIT_MGL_USE_GUI_1=""
48177 fi
48178
48179 COND_TOOLKIT_MOTIF="#"
48180 if test "x$TOOLKIT" = "xMOTIF" ; then
48181 COND_TOOLKIT_MOTIF=""
48182 fi
48183
48184 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
48185 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
48186 COND_TOOLKIT_MOTIF_USE_GUI_1=""
48187 fi
48188
48189 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
48190 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48191 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
48192 fi
48193
48194 COND_TOOLKIT_MSW="#"
48195 if test "x$TOOLKIT" = "xMSW" ; then
48196 COND_TOOLKIT_MSW=""
48197 fi
48198
48199 COND_TOOLKIT_MSW_USE_GUI_1="#"
48200 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
48201 COND_TOOLKIT_MSW_USE_GUI_1=""
48202 fi
48203
48204 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
48205 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48206 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
48207 fi
48208
48209 COND_TOOLKIT_MSW_WXUNIV_0="#"
48210 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
48211 COND_TOOLKIT_MSW_WXUNIV_0=""
48212 fi
48213
48214 COND_TOOLKIT_PM="#"
48215 if test "x$TOOLKIT" = "xPM" ; then
48216 COND_TOOLKIT_PM=""
48217 fi
48218
48219 COND_TOOLKIT_PM_USE_GUI_1="#"
48220 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
48221 COND_TOOLKIT_PM_USE_GUI_1=""
48222 fi
48223
48224 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
48225 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48226 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
48227 fi
48228
48229 COND_TOOLKIT_WINCE="#"
48230 if test "x$TOOLKIT" = "xWINCE" ; then
48231 COND_TOOLKIT_WINCE=""
48232 fi
48233
48234 COND_TOOLKIT_WINCE_USE_GUI_1="#"
48235 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
48236 COND_TOOLKIT_WINCE_USE_GUI_1=""
48237 fi
48238
48239 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
48240 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48241 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
48242 fi
48243
48244 COND_TOOLKIT_WINCE_WXUNIV_0="#"
48245 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
48246 COND_TOOLKIT_WINCE_WXUNIV_0=""
48247 fi
48248
48249 COND_TOOLKIT_X11="#"
48250 if test "x$TOOLKIT" = "xX11" ; then
48251 COND_TOOLKIT_X11=""
48252 fi
48253
48254 COND_TOOLKIT_X11_USE_GUI_1="#"
48255 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
48256 COND_TOOLKIT_X11_USE_GUI_1=""
48257 fi
48258
48259 COND_UNICODE_1="#"
48260 if test "x$UNICODE" = "x1" ; then
48261 COND_UNICODE_1=""
48262 fi
48263
48264 COND_USE_EXCEPTIONS_0="#"
48265 if test "x$USE_EXCEPTIONS" = "x0" ; then
48266 COND_USE_EXCEPTIONS_0=""
48267 fi
48268
48269 COND_USE_EXCEPTIONS_1="#"
48270 if test "x$USE_EXCEPTIONS" = "x1" ; then
48271 COND_USE_EXCEPTIONS_1=""
48272 fi
48273
48274 COND_USE_GUI_0="#"
48275 if test "x$USE_GUI" = "x0" ; then
48276 COND_USE_GUI_0=""
48277 fi
48278
48279 COND_USE_GUI_1="#"
48280 if test "x$USE_GUI" = "x1" ; then
48281 COND_USE_GUI_1=""
48282 fi
48283
48284 COND_USE_GUI_1_WXUNIV_0="#"
48285 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48286 COND_USE_GUI_1_WXUNIV_0=""
48287 fi
48288
48289 COND_USE_GUI_1_WXUNIV_1="#"
48290 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
48291 COND_USE_GUI_1_WXUNIV_1=""
48292 fi
48293
48294 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
48295 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
48296 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
48297 fi
48298
48299 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
48300 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
48301 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
48302 fi
48303
48304 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
48305 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
48306 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
48307 fi
48308
48309 COND_USE_ODBC_1="#"
48310 if test "x$USE_ODBC" = "x1" ; then
48311 COND_USE_ODBC_1=""
48312 fi
48313
48314 COND_USE_OPENGL_1="#"
48315 if test "x$USE_OPENGL" = "x1" ; then
48316 COND_USE_OPENGL_1=""
48317 fi
48318
48319 COND_USE_PCH_1="#"
48320 if test "x$USE_PCH" = "x1" ; then
48321 COND_USE_PCH_1=""
48322 fi
48323
48324 COND_USE_PLUGINS_0="#"
48325 if test "x$USE_PLUGINS" = "x0" ; then
48326 COND_USE_PLUGINS_0=""
48327 fi
48328
48329 COND_USE_RTTI_0="#"
48330 if test "x$USE_RTTI" = "x0" ; then
48331 COND_USE_RTTI_0=""
48332 fi
48333
48334 COND_USE_RTTI_1="#"
48335 if test "x$USE_RTTI" = "x1" ; then
48336 COND_USE_RTTI_1=""
48337 fi
48338
48339 COND_USE_SOSYMLINKS_1="#"
48340 if test "x$USE_SOSYMLINKS" = "x1" ; then
48341 COND_USE_SOSYMLINKS_1=""
48342 fi
48343
48344 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
48345 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
48346 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
48347 fi
48348
48349 COND_USE_SOVERLINUX_1="#"
48350 if test "x$USE_SOVERLINUX" = "x1" ; then
48351 COND_USE_SOVERLINUX_1=""
48352 fi
48353
48354 COND_USE_SOVERSION_0="#"
48355 if test "x$USE_SOVERSION" = "x0" ; then
48356 COND_USE_SOVERSION_0=""
48357 fi
48358
48359 COND_USE_SOVERSOLARIS_1="#"
48360 if test "x$USE_SOVERSOLARIS" = "x1" ; then
48361 COND_USE_SOVERSOLARIS_1=""
48362 fi
48363
48364 COND_USE_THREADS_0="#"
48365 if test "x$USE_THREADS" = "x0" ; then
48366 COND_USE_THREADS_0=""
48367 fi
48368
48369 COND_USE_THREADS_1="#"
48370 if test "x$USE_THREADS" = "x1" ; then
48371 COND_USE_THREADS_1=""
48372 fi
48373
48374 COND_USE_XRC_1="#"
48375 if test "x$USE_XRC" = "x1" ; then
48376 COND_USE_XRC_1=""
48377 fi
48378
48379 COND_WINDOWS_IMPLIB_1="#"
48380 if test "x$WINDOWS_IMPLIB" = "x1" ; then
48381 COND_WINDOWS_IMPLIB_1=""
48382 fi
48383
48384 COND_WITH_PLUGIN_SDL_1="#"
48385 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
48386 COND_WITH_PLUGIN_SDL_1=""
48387 fi
48388
48389 COND_WXUNIV_0="#"
48390 if test "x$WXUNIV" = "x0" ; then
48391 COND_WXUNIV_0=""
48392 fi
48393
48394 COND_WXUNIV_1="#"
48395 if test "x$WXUNIV" = "x1" ; then
48396 COND_WXUNIV_1=""
48397 fi
48398
48399 COND_WXUSE_EXPAT_BUILTIN="#"
48400 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
48401 COND_WXUSE_EXPAT_BUILTIN=""
48402 fi
48403
48404 COND_WXUSE_LIBJPEG_BUILTIN="#"
48405 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
48406 COND_WXUSE_LIBJPEG_BUILTIN=""
48407 fi
48408
48409 COND_WXUSE_LIBPNG_BUILTIN="#"
48410 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
48411 COND_WXUSE_LIBPNG_BUILTIN=""
48412 fi
48413
48414 COND_WXUSE_LIBTIFF_BUILTIN="#"
48415 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
48416 COND_WXUSE_LIBTIFF_BUILTIN=""
48417 fi
48418
48419 COND_WXUSE_ODBC_BUILTIN="#"
48420 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
48421 COND_WXUSE_ODBC_BUILTIN=""
48422 fi
48423
48424 COND_WXUSE_REGEX_BUILTIN="#"
48425 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
48426 COND_WXUSE_REGEX_BUILTIN=""
48427 fi
48428
48429 COND_WXUSE_ZLIB_BUILTIN="#"
48430 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
48431 COND_WXUSE_ZLIB_BUILTIN=""
48432 fi
48433
48434
48435
48436 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
48437 { { 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
48438 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;}
48439 { (exit 1); exit 1; }; }
48440 fi
48441
48442 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
48443 { { 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
48444 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;}
48445 { (exit 1); exit 1; }; }
48446 fi
48447
48448
48449
48450 if test "$wxUSE_MAC" = 1 ; then
48451 if test "$wxUSE_UNIVERSAL_BINARY" = "yes" ; then
48452 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
48453 mv temp bk-deps
48454 chmod +x bk-deps
48455 fi
48456 fi
48457
48458 if test "$wxUSE_SHARED" = "yes"; then
48459
48460 sanitised_bakefile_mess=`echo "$SHARED_LD_CXX" | tr -d '()'`
48461 EXE_LINKER=`eval echo "$sanitised_bakefile_mess"`
48462
48463 case "${host}" in
48464 *-pc-os2_emx | *-pc-os2-emx )
48465 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48466 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48467 cp -p ${srcdir}/src/os2/dllnames.sh .
48468 cp -p ${srcdir}/src/os2/dllar.sh .
48469 ;;
48470 esac
48471 else
48472
48473 EXE_LINKER="$CXX -o"
48474
48475 fi
48476 if test "$wxUSE_OMF" = "yes"; then
48477 case "${host}" in
48478 *-pc-os2_emx | *-pc-os2-emx )
48479 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
48480 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
48481 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
48482 ;;
48483 esac
48484 fi
48485
48486 if test $GCC_PCH = 1 ; then
48487 CPPFLAGS="-DWX_PRECOMP $CPPFLAGS"
48488 fi
48489
48490 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
48491
48492 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
48493
48494
48495
48496
48497
48498
48499
48500
48501
48502
48503
48504
48505
48506
48507
48508
48509
48510
48511
48512
48513
48514
48515
48516
48517
48518
48519
48520
48521
48522
48523
48524
48525
48526
48527
48528
48529
48530
48531
48532
48533
48534
48535
48536
48537
48538
48539
48540
48541
48542
48543
48544
48545
48546
48547
48548
48549
48550
48551
48552
48553
48554 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
48555 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
48556 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
48557 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
48558 echo $ECHO_N "(cached) $ECHO_C" >&6
48559 else
48560 cat >conftest.make <<\_ACEOF
48561 all:
48562 @echo 'ac_maketemp="$(MAKE)"'
48563 _ACEOF
48564 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
48565 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
48566 if test -n "$ac_maketemp"; then
48567 eval ac_cv_prog_make_${ac_make}_set=yes
48568 else
48569 eval ac_cv_prog_make_${ac_make}_set=no
48570 fi
48571 rm -f conftest.make
48572 fi
48573 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
48574 echo "$as_me:$LINENO: result: yes" >&5
48575 echo "${ECHO_T}yes" >&6
48576 SET_MAKE=
48577 else
48578 echo "$as_me:$LINENO: result: no" >&5
48579 echo "${ECHO_T}no" >&6
48580 SET_MAKE="MAKE=${MAKE-make}"
48581 fi
48582
48583
48584
48585 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
48586
48587
48588 if test "$USE_WIN32" = 1; then
48589 ac_config_commands="$ac_config_commands
48590 rcdefs.h
48591 "
48592
48593 fi
48594
48595 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
48596
48597
48598 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
48599
48600
48601 ac_config_files="$ac_config_files version-script Makefile"
48602
48603
48604 ac_config_commands="$ac_config_commands wx-config"
48605
48606
48607
48608 if test "$wxWITH_SUBDIRS" != "no"; then
48609 if test "$wxUSE_GUI" = "yes"; then
48610 SUBDIRS="samples demos utils contrib"
48611 else SUBDIRS="samples utils"
48612 fi
48613
48614
48615
48616 # Check whether --with-cppunit-prefix or --without-cppunit-prefix was given.
48617 if test "${with_cppunit_prefix+set}" = set; then
48618 withval="$with_cppunit_prefix"
48619 cppunit_config_prefix="$withval"
48620 else
48621 cppunit_config_prefix=""
48622 fi;
48623
48624 # Check whether --with-cppunit-exec-prefix or --without-cppunit-exec-prefix was given.
48625 if test "${with_cppunit_exec_prefix+set}" = set; then
48626 withval="$with_cppunit_exec_prefix"
48627 cppunit_config_exec_prefix="$withval"
48628 else
48629 cppunit_config_exec_prefix=""
48630 fi;
48631
48632 if test x$cppunit_config_exec_prefix != x ; then
48633 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
48634 if test x${CPPUNIT_CONFIG+set} != xset ; then
48635 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
48636 fi
48637 fi
48638 if test x$cppunit_config_prefix != x ; then
48639 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
48640 if test x${CPPUNIT_CONFIG+set} != xset ; then
48641 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
48642 fi
48643 fi
48644
48645 # Extract the first word of "cppunit-config", so it can be a program name with args.
48646 set dummy cppunit-config; ac_word=$2
48647 echo "$as_me:$LINENO: checking for $ac_word" >&5
48648 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48649 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
48650 echo $ECHO_N "(cached) $ECHO_C" >&6
48651 else
48652 case $CPPUNIT_CONFIG in
48653 [\\/]* | ?:[\\/]*)
48654 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
48655 ;;
48656 *)
48657 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48658 for as_dir in $PATH
48659 do
48660 IFS=$as_save_IFS
48661 test -z "$as_dir" && as_dir=.
48662 for ac_exec_ext in '' $ac_executable_extensions; do
48663 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48664 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
48665 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48666 break 2
48667 fi
48668 done
48669 done
48670
48671 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
48672 ;;
48673 esac
48674 fi
48675 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
48676
48677 if test -n "$CPPUNIT_CONFIG"; then
48678 echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
48679 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6
48680 else
48681 echo "$as_me:$LINENO: result: no" >&5
48682 echo "${ECHO_T}no" >&6
48683 fi
48684
48685 cppunit_version_min=1.8.0
48686
48687 echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
48688 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6
48689 no_cppunit=""
48690 if test "$CPPUNIT_CONFIG" = "no" ; then
48691 no_cppunit=yes
48692 else
48693 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
48694 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
48695 cppunit_version=`$CPPUNIT_CONFIG --version`
48696
48697 cppunit_major_version=`echo $cppunit_version | \
48698 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
48699 cppunit_minor_version=`echo $cppunit_version | \
48700 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
48701 cppunit_micro_version=`echo $cppunit_version | \
48702 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
48703
48704 cppunit_major_min=`echo $cppunit_version_min | \
48705 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
48706 cppunit_minor_min=`echo $cppunit_version_min | \
48707 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
48708 cppunit_micro_min=`echo $cppunit_version_min | \
48709 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
48710
48711 cppunit_version_proper=`expr \
48712 $cppunit_major_version \> $cppunit_major_min \| \
48713 $cppunit_major_version \= $cppunit_major_min \& \
48714 $cppunit_minor_version \> $cppunit_minor_min \| \
48715 $cppunit_major_version \= $cppunit_major_min \& \
48716 $cppunit_minor_version \= $cppunit_minor_min \& \
48717 $cppunit_micro_version \>= $cppunit_micro_min `
48718
48719 if test "$cppunit_version_proper" = "1" ; then
48720 echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
48721 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6
48722 else
48723 echo "$as_me:$LINENO: result: no" >&5
48724 echo "${ECHO_T}no" >&6
48725 no_cppunit=yes
48726 fi
48727 fi
48728
48729 if test "x$no_cppunit" = x ; then
48730 SUBDIRS="$SUBDIRS tests"
48731 else
48732 CPPUNIT_CFLAGS=""
48733 CPPUNIT_LIBS=""
48734 :
48735 fi
48736
48737
48738
48739
48740
48741 for subdir in `echo $SUBDIRS`; do
48742 if test -d ${srcdir}/${subdir} ; then
48743 if test "$wxUSE_GUI" = "yes"; then
48744 if test ${subdir} = "samples"; then
48745 makefiles="samples/Makefile.in $makefiles"
48746 for sample in `echo $SAMPLES_SUBDIRS`; do
48747 if test -d $srcdir/samples/$sample; then
48748 makefiles="samples/$sample/Makefile.in $makefiles"
48749 fi
48750 done
48751 else
48752 disabled_var=DISABLED_`echo $subdir | tr [a-z] [A-Z]`;
48753 eval "disabled=\$$disabled_var"
48754 disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
48755 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | egrep -v "$disabled"`
48756 fi
48757 else if test ${subdir} = "samples"; then
48758 makefiles="samples/Makefile.in samples/console/Makefile.in"
48759 elif test ${subdir} = "utils"; then
48760 makefiles=""
48761 for util in HelpGen tex2rtf ; do
48762 if test -d $srcdir/utils/$util ; then
48763 makefiles="utils/$util/Makefile.in \
48764 utils/$util/src/Makefile.in \
48765 $makefiles"
48766 fi
48767 done
48768 else makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
48769 fi
48770 fi
48771
48772 for mkin in $makefiles ; do
48773 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
48774 ac_config_files="$ac_config_files $mk"
48775
48776 done
48777 fi
48778 done
48779 fi
48780 cat >confcache <<\_ACEOF
48781 # This file is a shell script that caches the results of configure
48782 # tests run on this system so they can be shared between configure
48783 # scripts and configure runs, see configure's option --config-cache.
48784 # It is not useful on other systems. If it contains results you don't
48785 # want to keep, you may remove or edit it.
48786 #
48787 # config.status only pays attention to the cache file if you give it
48788 # the --recheck option to rerun configure.
48789 #
48790 # `ac_cv_env_foo' variables (set or unset) will be overridden when
48791 # loading this file, other *unset* `ac_cv_foo' will be assigned the
48792 # following values.
48793
48794 _ACEOF
48795
48796 # The following way of writing the cache mishandles newlines in values,
48797 # but we know of no workaround that is simple, portable, and efficient.
48798 # So, don't put newlines in cache variables' values.
48799 # Ultrix sh set writes to stderr and can't be redirected directly,
48800 # and sets the high bit in the cache file unless we assign to the vars.
48801 {
48802 (set) 2>&1 |
48803 case `(ac_space=' '; set | grep ac_space) 2>&1` in
48804 *ac_space=\ *)
48805 # `set' does not quote correctly, so add quotes (double-quote
48806 # substitution turns \\\\ into \\, and sed turns \\ into \).
48807 sed -n \
48808 "s/'/'\\\\''/g;
48809 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
48810 ;;
48811 *)
48812 # `set' quotes correctly as required by POSIX, so do not add quotes.
48813 sed -n \
48814 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
48815 ;;
48816 esac;
48817 } |
48818 sed '
48819 t clear
48820 : clear
48821 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
48822 t end
48823 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
48824 : end' >>confcache
48825 if diff $cache_file confcache >/dev/null 2>&1; then :; else
48826 if test -w $cache_file; then
48827 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
48828 cat confcache >$cache_file
48829 else
48830 echo "not updating unwritable cache $cache_file"
48831 fi
48832 fi
48833 rm -f confcache
48834
48835 test "x$prefix" = xNONE && prefix=$ac_default_prefix
48836 # Let make expand exec_prefix.
48837 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
48838
48839 # VPATH may cause trouble with some makes, so we remove $(srcdir),
48840 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
48841 # trailing colons and then remove the whole line if VPATH becomes empty
48842 # (actually we leave an empty line to preserve line numbers).
48843 if test "x$srcdir" = x.; then
48844 ac_vpsub='/^[ ]*VPATH[ ]*=/{
48845 s/:*\$(srcdir):*/:/;
48846 s/:*\${srcdir}:*/:/;
48847 s/:*@srcdir@:*/:/;
48848 s/^\([^=]*=[ ]*\):*/\1/;
48849 s/:*$//;
48850 s/^[^=]*=[ ]*$//;
48851 }'
48852 fi
48853
48854 DEFS=-DHAVE_CONFIG_H
48855
48856 ac_libobjs=
48857 ac_ltlibobjs=
48858 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
48859 # 1. Remove the extension, and $U if already installed.
48860 ac_i=`echo "$ac_i" |
48861 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
48862 # 2. Add them.
48863 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
48864 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
48865 done
48866 LIBOBJS=$ac_libobjs
48867
48868 LTLIBOBJS=$ac_ltlibobjs
48869
48870
48871
48872 : ${CONFIG_STATUS=./config.status}
48873 ac_clean_files_save=$ac_clean_files
48874 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
48875 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
48876 echo "$as_me: creating $CONFIG_STATUS" >&6;}
48877 cat >$CONFIG_STATUS <<_ACEOF
48878 #! $SHELL
48879 # Generated by $as_me.
48880 # Run this file to recreate the current configuration.
48881 # Compiler output produced by configure, useful for debugging
48882 # configure, is in config.log if it exists.
48883
48884 debug=false
48885 ac_cs_recheck=false
48886 ac_cs_silent=false
48887 SHELL=\${CONFIG_SHELL-$SHELL}
48888 _ACEOF
48889
48890 cat >>$CONFIG_STATUS <<\_ACEOF
48891 ## --------------------- ##
48892 ## M4sh Initialization. ##
48893 ## --------------------- ##
48894
48895 # Be Bourne compatible
48896 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
48897 emulate sh
48898 NULLCMD=:
48899 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
48900 # is contrary to our usage. Disable this feature.
48901 alias -g '${1+"$@"}'='"$@"'
48902 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
48903 set -o posix
48904 fi
48905 DUALCASE=1; export DUALCASE # for MKS sh
48906
48907 # Support unset when possible.
48908 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
48909 as_unset=unset
48910 else
48911 as_unset=false
48912 fi
48913
48914
48915 # Work around bugs in pre-3.0 UWIN ksh.
48916 $as_unset ENV MAIL MAILPATH
48917 PS1='$ '
48918 PS2='> '
48919 PS4='+ '
48920
48921 # NLS nuisances.
48922 for as_var in \
48923 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
48924 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
48925 LC_TELEPHONE LC_TIME
48926 do
48927 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
48928 eval $as_var=C; export $as_var
48929 else
48930 $as_unset $as_var
48931 fi
48932 done
48933
48934 # Required to use basename.
48935 if expr a : '\(a\)' >/dev/null 2>&1; then
48936 as_expr=expr
48937 else
48938 as_expr=false
48939 fi
48940
48941 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
48942 as_basename=basename
48943 else
48944 as_basename=false
48945 fi
48946
48947
48948 # Name of the executable.
48949 as_me=`$as_basename "$0" ||
48950 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
48951 X"$0" : 'X\(//\)$' \| \
48952 X"$0" : 'X\(/\)$' \| \
48953 . : '\(.\)' 2>/dev/null ||
48954 echo X/"$0" |
48955 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
48956 /^X\/\(\/\/\)$/{ s//\1/; q; }
48957 /^X\/\(\/\).*/{ s//\1/; q; }
48958 s/.*/./; q'`
48959
48960
48961 # PATH needs CR, and LINENO needs CR and PATH.
48962 # Avoid depending upon Character Ranges.
48963 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
48964 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
48965 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
48966 as_cr_digits='0123456789'
48967 as_cr_alnum=$as_cr_Letters$as_cr_digits
48968
48969 # The user is always right.
48970 if test "${PATH_SEPARATOR+set}" != set; then
48971 echo "#! /bin/sh" >conf$$.sh
48972 echo "exit 0" >>conf$$.sh
48973 chmod +x conf$$.sh
48974 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
48975 PATH_SEPARATOR=';'
48976 else
48977 PATH_SEPARATOR=:
48978 fi
48979 rm -f conf$$.sh
48980 fi
48981
48982
48983 as_lineno_1=$LINENO
48984 as_lineno_2=$LINENO
48985 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
48986 test "x$as_lineno_1" != "x$as_lineno_2" &&
48987 test "x$as_lineno_3" = "x$as_lineno_2" || {
48988 # Find who we are. Look in the path if we contain no path at all
48989 # relative or not.
48990 case $0 in
48991 *[\\/]* ) as_myself=$0 ;;
48992 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48993 for as_dir in $PATH
48994 do
48995 IFS=$as_save_IFS
48996 test -z "$as_dir" && as_dir=.
48997 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
48998 done
48999
49000 ;;
49001 esac
49002 # We did not find ourselves, most probably we were run as `sh COMMAND'
49003 # in which case we are not to be found in the path.
49004 if test "x$as_myself" = x; then
49005 as_myself=$0
49006 fi
49007 if test ! -f "$as_myself"; then
49008 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
49009 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
49010 { (exit 1); exit 1; }; }
49011 fi
49012 case $CONFIG_SHELL in
49013 '')
49014 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49015 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
49016 do
49017 IFS=$as_save_IFS
49018 test -z "$as_dir" && as_dir=.
49019 for as_base in sh bash ksh sh5; do
49020 case $as_dir in
49021 /*)
49022 if ("$as_dir/$as_base" -c '
49023 as_lineno_1=$LINENO
49024 as_lineno_2=$LINENO
49025 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
49026 test "x$as_lineno_1" != "x$as_lineno_2" &&
49027 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
49028 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
49029 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
49030 CONFIG_SHELL=$as_dir/$as_base
49031 export CONFIG_SHELL
49032 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
49033 fi;;
49034 esac
49035 done
49036 done
49037 ;;
49038 esac
49039
49040 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
49041 # uniformly replaced by the line number. The first 'sed' inserts a
49042 # line-number line before each line; the second 'sed' does the real
49043 # work. The second script uses 'N' to pair each line-number line
49044 # with the numbered line, and appends trailing '-' during
49045 # substitution so that $LINENO is not a special case at line end.
49046 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
49047 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
49048 sed '=' <$as_myself |
49049 sed '
49050 N
49051 s,$,-,
49052 : loop
49053 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
49054 t loop
49055 s,-$,,
49056 s,^['$as_cr_digits']*\n,,
49057 ' >$as_me.lineno &&
49058 chmod +x $as_me.lineno ||
49059 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
49060 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
49061 { (exit 1); exit 1; }; }
49062
49063 # Don't try to exec as it changes $[0], causing all sort of problems
49064 # (the dirname of $[0] is not the place where we might find the
49065 # original and so on. Autoconf is especially sensible to this).
49066 . ./$as_me.lineno
49067 # Exit status is that of the last command.
49068 exit
49069 }
49070
49071
49072 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
49073 *c*,-n*) ECHO_N= ECHO_C='
49074 ' ECHO_T=' ' ;;
49075 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
49076 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
49077 esac
49078
49079 if expr a : '\(a\)' >/dev/null 2>&1; then
49080 as_expr=expr
49081 else
49082 as_expr=false
49083 fi
49084
49085 rm -f conf$$ conf$$.exe conf$$.file
49086 echo >conf$$.file
49087 if ln -s conf$$.file conf$$ 2>/dev/null; then
49088 # We could just check for DJGPP; but this test a) works b) is more generic
49089 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
49090 if test -f conf$$.exe; then
49091 # Don't use ln at all; we don't have any links
49092 as_ln_s='cp -p'
49093 else
49094 as_ln_s='ln -s'
49095 fi
49096 elif ln conf$$.file conf$$ 2>/dev/null; then
49097 as_ln_s=ln
49098 else
49099 as_ln_s='cp -p'
49100 fi
49101 rm -f conf$$ conf$$.exe conf$$.file
49102
49103 if mkdir -p . 2>/dev/null; then
49104 as_mkdir_p=:
49105 else
49106 test -d ./-p && rmdir ./-p
49107 as_mkdir_p=false
49108 fi
49109
49110 as_executable_p="test -f"
49111
49112 # Sed expression to map a string onto a valid CPP name.
49113 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
49114
49115 # Sed expression to map a string onto a valid variable name.
49116 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
49117
49118
49119 # IFS
49120 # We need space, tab and new line, in precisely that order.
49121 as_nl='
49122 '
49123 IFS=" $as_nl"
49124
49125 # CDPATH.
49126 $as_unset CDPATH
49127
49128 exec 6>&1
49129
49130 # Open the log real soon, to keep \$[0] and so on meaningful, and to
49131 # report actual input values of CONFIG_FILES etc. instead of their
49132 # values after options handling. Logging --version etc. is OK.
49133 exec 5>>config.log
49134 {
49135 echo
49136 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
49137 ## Running $as_me. ##
49138 _ASBOX
49139 } >&5
49140 cat >&5 <<_CSEOF
49141
49142 This file was extended by wxWidgets $as_me 2.7.0, which was
49143 generated by GNU Autoconf 2.59. Invocation command line was
49144
49145 CONFIG_FILES = $CONFIG_FILES
49146 CONFIG_HEADERS = $CONFIG_HEADERS
49147 CONFIG_LINKS = $CONFIG_LINKS
49148 CONFIG_COMMANDS = $CONFIG_COMMANDS
49149 $ $0 $@
49150
49151 _CSEOF
49152 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
49153 echo >&5
49154 _ACEOF
49155
49156 # Files that config.status was made for.
49157 if test -n "$ac_config_files"; then
49158 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
49159 fi
49160
49161 if test -n "$ac_config_headers"; then
49162 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
49163 fi
49164
49165 if test -n "$ac_config_links"; then
49166 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
49167 fi
49168
49169 if test -n "$ac_config_commands"; then
49170 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
49171 fi
49172
49173 cat >>$CONFIG_STATUS <<\_ACEOF
49174
49175 ac_cs_usage="\
49176 \`$as_me' instantiates files from templates according to the
49177 current configuration.
49178
49179 Usage: $0 [OPTIONS] [FILE]...
49180
49181 -h, --help print this help, then exit
49182 -V, --version print version number, then exit
49183 -q, --quiet do not print progress messages
49184 -d, --debug don't remove temporary files
49185 --recheck update $as_me by reconfiguring in the same conditions
49186 --file=FILE[:TEMPLATE]
49187 instantiate the configuration file FILE
49188 --header=FILE[:TEMPLATE]
49189 instantiate the configuration header FILE
49190
49191 Configuration files:
49192 $config_files
49193
49194 Configuration headers:
49195 $config_headers
49196
49197 Configuration commands:
49198 $config_commands
49199
49200 Report bugs to <bug-autoconf@gnu.org>."
49201 _ACEOF
49202
49203 cat >>$CONFIG_STATUS <<_ACEOF
49204 ac_cs_version="\\
49205 wxWidgets config.status 2.7.0
49206 configured by $0, generated by GNU Autoconf 2.59,
49207 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
49208
49209 Copyright (C) 2003 Free Software Foundation, Inc.
49210 This config.status script is free software; the Free Software Foundation
49211 gives unlimited permission to copy, distribute and modify it."
49212 srcdir=$srcdir
49213 INSTALL="$INSTALL"
49214 _ACEOF
49215
49216 cat >>$CONFIG_STATUS <<\_ACEOF
49217 # If no file are specified by the user, then we need to provide default
49218 # value. By we need to know if files were specified by the user.
49219 ac_need_defaults=:
49220 while test $# != 0
49221 do
49222 case $1 in
49223 --*=*)
49224 ac_option=`expr "x$1" : 'x\([^=]*\)='`
49225 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
49226 ac_shift=:
49227 ;;
49228 -*)
49229 ac_option=$1
49230 ac_optarg=$2
49231 ac_shift=shift
49232 ;;
49233 *) # This is not an option, so the user has probably given explicit
49234 # arguments.
49235 ac_option=$1
49236 ac_need_defaults=false;;
49237 esac
49238
49239 case $ac_option in
49240 # Handling of the options.
49241 _ACEOF
49242 cat >>$CONFIG_STATUS <<\_ACEOF
49243 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
49244 ac_cs_recheck=: ;;
49245 --version | --vers* | -V )
49246 echo "$ac_cs_version"; exit 0 ;;
49247 --he | --h)
49248 # Conflict between --help and --header
49249 { { echo "$as_me:$LINENO: error: ambiguous option: $1
49250 Try \`$0 --help' for more information." >&5
49251 echo "$as_me: error: ambiguous option: $1
49252 Try \`$0 --help' for more information." >&2;}
49253 { (exit 1); exit 1; }; };;
49254 --help | --hel | -h )
49255 echo "$ac_cs_usage"; exit 0 ;;
49256 --debug | --d* | -d )
49257 debug=: ;;
49258 --file | --fil | --fi | --f )
49259 $ac_shift
49260 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
49261 ac_need_defaults=false;;
49262 --header | --heade | --head | --hea )
49263 $ac_shift
49264 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
49265 ac_need_defaults=false;;
49266 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
49267 | -silent | --silent | --silen | --sile | --sil | --si | --s)
49268 ac_cs_silent=: ;;
49269
49270 # This is an error.
49271 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
49272 Try \`$0 --help' for more information." >&5
49273 echo "$as_me: error: unrecognized option: $1
49274 Try \`$0 --help' for more information." >&2;}
49275 { (exit 1); exit 1; }; } ;;
49276
49277 *) ac_config_targets="$ac_config_targets $1" ;;
49278
49279 esac
49280 shift
49281 done
49282
49283 ac_configure_extra_args=
49284
49285 if $ac_cs_silent; then
49286 exec 6>/dev/null
49287 ac_configure_extra_args="$ac_configure_extra_args --silent"
49288 fi
49289
49290 _ACEOF
49291 cat >>$CONFIG_STATUS <<_ACEOF
49292 if \$ac_cs_recheck; then
49293 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
49294 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
49295 fi
49296
49297 _ACEOF
49298
49299 cat >>$CONFIG_STATUS <<_ACEOF
49300 #
49301 # INIT-COMMANDS section.
49302 #
49303
49304
49305 CPP="$CPP"
49306 infile="$srcdir/include/wx/msw/genrcdefs.h"
49307 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
49308
49309
49310 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
49311 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
49312 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
49313 LN_S="${LN_S}"
49314
49315
49316 _ACEOF
49317
49318
49319
49320 cat >>$CONFIG_STATUS <<\_ACEOF
49321 for ac_config_target in $ac_config_targets
49322 do
49323 case "$ac_config_target" in
49324 # Handling of arguments.
49325 "lib/wx/config/${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
49326 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
49327 "version-script" ) CONFIG_FILES="$CONFIG_FILES version-script" ;;
49328 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
49329 "$mk" ) CONFIG_FILES="$CONFIG_FILES $mk" ;;
49330 "rcdefs.h" ) CONFIG_COMMANDS="$CONFIG_COMMANDS rcdefs.h" ;;
49331 "wx-config" ) CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
49332 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h" ) CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
49333 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
49334 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
49335 { (exit 1); exit 1; }; };;
49336 esac
49337 done
49338
49339 # If the user did not use the arguments to specify the items to instantiate,
49340 # then the envvar interface is used. Set only those that are not.
49341 # We use the long form for the default assignment because of an extremely
49342 # bizarre bug on SunOS 4.1.3.
49343 if $ac_need_defaults; then
49344 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
49345 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
49346 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
49347 fi
49348
49349 # Have a temporary directory for convenience. Make it in the build tree
49350 # simply because there is no reason to put it here, and in addition,
49351 # creating and moving files from /tmp can sometimes cause problems.
49352 # Create a temporary directory, and hook for its removal unless debugging.
49353 $debug ||
49354 {
49355 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
49356 trap '{ (exit 1); exit 1; }' 1 2 13 15
49357 }
49358
49359 # Create a (secure) tmp directory for tmp files.
49360
49361 {
49362 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
49363 test -n "$tmp" && test -d "$tmp"
49364 } ||
49365 {
49366 tmp=./confstat$$-$RANDOM
49367 (umask 077 && mkdir $tmp)
49368 } ||
49369 {
49370 echo "$me: cannot create a temporary directory in ." >&2
49371 { (exit 1); exit 1; }
49372 }
49373
49374 _ACEOF
49375
49376 cat >>$CONFIG_STATUS <<_ACEOF
49377
49378 #
49379 # CONFIG_FILES section.
49380 #
49381
49382 # No need to generate the scripts if there are no CONFIG_FILES.
49383 # This happens for instance when ./config.status config.h
49384 if test -n "\$CONFIG_FILES"; then
49385 # Protect against being on the right side of a sed subst in config.status.
49386 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
49387 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
49388 s,@SHELL@,$SHELL,;t t
49389 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
49390 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
49391 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
49392 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
49393 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
49394 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
49395 s,@exec_prefix@,$exec_prefix,;t t
49396 s,@prefix@,$prefix,;t t
49397 s,@program_transform_name@,$program_transform_name,;t t
49398 s,@bindir@,$bindir,;t t
49399 s,@sbindir@,$sbindir,;t t
49400 s,@libexecdir@,$libexecdir,;t t
49401 s,@datadir@,$datadir,;t t
49402 s,@sysconfdir@,$sysconfdir,;t t
49403 s,@sharedstatedir@,$sharedstatedir,;t t
49404 s,@localstatedir@,$localstatedir,;t t
49405 s,@libdir@,$libdir,;t t
49406 s,@includedir@,$includedir,;t t
49407 s,@oldincludedir@,$oldincludedir,;t t
49408 s,@infodir@,$infodir,;t t
49409 s,@mandir@,$mandir,;t t
49410 s,@build_alias@,$build_alias,;t t
49411 s,@host_alias@,$host_alias,;t t
49412 s,@target_alias@,$target_alias,;t t
49413 s,@DEFS@,$DEFS,;t t
49414 s,@ECHO_C@,$ECHO_C,;t t
49415 s,@ECHO_N@,$ECHO_N,;t t
49416 s,@ECHO_T@,$ECHO_T,;t t
49417 s,@LIBS@,$LIBS,;t t
49418 s,@build@,$build,;t t
49419 s,@build_cpu@,$build_cpu,;t t
49420 s,@build_vendor@,$build_vendor,;t t
49421 s,@build_os@,$build_os,;t t
49422 s,@host@,$host,;t t
49423 s,@host_cpu@,$host_cpu,;t t
49424 s,@host_vendor@,$host_vendor,;t t
49425 s,@host_os@,$host_os,;t t
49426 s,@target@,$target,;t t
49427 s,@target_cpu@,$target_cpu,;t t
49428 s,@target_vendor@,$target_vendor,;t t
49429 s,@target_os@,$target_os,;t t
49430 s,@CC@,$CC,;t t
49431 s,@CFLAGS@,$CFLAGS,;t t
49432 s,@LDFLAGS@,$LDFLAGS,;t t
49433 s,@CPPFLAGS@,$CPPFLAGS,;t t
49434 s,@ac_ct_CC@,$ac_ct_CC,;t t
49435 s,@EXEEXT@,$EXEEXT,;t t
49436 s,@OBJEXT@,$OBJEXT,;t t
49437 s,@CPP@,$CPP,;t t
49438 s,@EGREP@,$EGREP,;t t
49439 s,@CXX@,$CXX,;t t
49440 s,@CXXFLAGS@,$CXXFLAGS,;t t
49441 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
49442 s,@RANLIB@,$RANLIB,;t t
49443 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
49444 s,@AR@,$AR,;t t
49445 s,@ac_ct_AR@,$ac_ct_AR,;t t
49446 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
49447 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
49448 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
49449 s,@STRIP@,$STRIP,;t t
49450 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
49451 s,@WINDRES@,$WINDRES,;t t
49452 s,@ac_ct_WINDRES@,$ac_ct_WINDRES,;t t
49453 s,@DLLTOOL@,$DLLTOOL,;t t
49454 s,@ac_ct_DLLTOOL@,$ac_ct_DLLTOOL,;t t
49455 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
49456 s,@LN_S@,$LN_S,;t t
49457 s,@CXXCPP@,$CXXCPP,;t t
49458 s,@subdirs@,$subdirs,;t t
49459 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
49460 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
49461 s,@GTK_LIBS@,$GTK_LIBS,;t t
49462 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
49463 s,@X_CFLAGS@,$X_CFLAGS,;t t
49464 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
49465 s,@X_LIBS@,$X_LIBS,;t t
49466 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
49467 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
49468 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
49469 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
49470 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
49471 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
49472 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
49473 s,@REZ@,$REZ,;t t
49474 s,@DEREZ@,$DEREZ,;t t
49475 s,@SETFILE@,$SETFILE,;t t
49476 s,@LIBICONV@,$LIBICONV,;t t
49477 s,@EXTRALIBS_ESD@,$EXTRALIBS_ESD,;t t
49478 s,@SDL_CONFIG@,$SDL_CONFIG,;t t
49479 s,@SDL_CFLAGS@,$SDL_CFLAGS,;t t
49480 s,@SDL_LIBS@,$SDL_LIBS,;t t
49481 s,@LIBGNOMEPRINTUI_CFLAGS@,$LIBGNOMEPRINTUI_CFLAGS,;t t
49482 s,@LIBGNOMEPRINTUI_LIBS@,$LIBGNOMEPRINTUI_LIBS,;t t
49483 s,@GNOMEVFS_CFLAGS@,$GNOMEVFS_CFLAGS,;t t
49484 s,@GNOMEVFS_LIBS@,$GNOMEVFS_LIBS,;t t
49485 s,@HILDON_CFLAGS@,$HILDON_CFLAGS,;t t
49486 s,@HILDON_LIBS@,$HILDON_LIBS,;t t
49487 s,@GST_CFLAGS@,$GST_CFLAGS,;t t
49488 s,@GST_LIBS@,$GST_LIBS,;t t
49489 s,@CORE_BASE_LIBS@,$CORE_BASE_LIBS,;t t
49490 s,@CORE_GUI_LIBS@,$CORE_GUI_LIBS,;t t
49491 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
49492 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
49493 s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
49494 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
49495 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
49496 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
49497 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
49498 s,@VENDOR@,$VENDOR,;t t
49499 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
49500 s,@WX_FLAVOUR@,$WX_FLAVOUR,;t t
49501 s,@WX_LIB_FLAVOUR@,$WX_LIB_FLAVOUR,;t t
49502 s,@WXUNIV@,$WXUNIV,;t t
49503 s,@MONOLITHIC@,$MONOLITHIC,;t t
49504 s,@USE_PLUGINS@,$USE_PLUGINS,;t t
49505 s,@EXTRALIBS@,$EXTRALIBS,;t t
49506 s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
49507 s,@EXTRALIBS_HTML@,$EXTRALIBS_HTML,;t t
49508 s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
49509 s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
49510 s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
49511 s,@EXTRALIBS_SDL@,$EXTRALIBS_SDL,;t t
49512 s,@WITH_PLUGIN_SDL@,$WITH_PLUGIN_SDL,;t t
49513 s,@EXTRALIBS_GNOMEPRINT@,$EXTRALIBS_GNOMEPRINT,;t t
49514 s,@EXTRALIBS_GNOMEVFS@,$EXTRALIBS_GNOMEVFS,;t t
49515 s,@EXTRALIBS_HILDON@,$EXTRALIBS_HILDON,;t t
49516 s,@UNICODE@,$UNICODE,;t t
49517 s,@BUILD@,$BUILD,;t t
49518 s,@DEBUG_INFO@,$DEBUG_INFO,;t t
49519 s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
49520 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
49521 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
49522 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
49523 s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
49524 s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
49525 s,@CPPUNIT_CFLAGS@,$CPPUNIT_CFLAGS,;t t
49526 s,@CPPUNIT_LIBS@,$CPPUNIT_LIBS,;t t
49527 s,@SET_MAKE@,$SET_MAKE,;t t
49528 s,@MAKE_SET@,$MAKE_SET,;t t
49529 s,@NM@,$NM,;t t
49530 s,@ac_ct_NM@,$ac_ct_NM,;t t
49531 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
49532 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
49533 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
49534 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
49535 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
49536 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
49537 s,@PLATFORM_MACOS@,$PLATFORM_MACOS,;t t
49538 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
49539 s,@PLATFORM_OS2@,$PLATFORM_OS2,;t t
49540 s,@PLATFORM_BEOS@,$PLATFORM_BEOS,;t t
49541 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
49542 s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
49543 s,@DLLIMP_SUFFIX@,$DLLIMP_SUFFIX,;t t
49544 s,@LIBPREFIX@,$LIBPREFIX,;t t
49545 s,@LIBEXT@,$LIBEXT,;t t
49546 s,@DLLPREFIX@,$DLLPREFIX,;t t
49547 s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
49548 s,@dlldir@,$dlldir,;t t
49549 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
49550 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
49551 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
49552 s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
49553 s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
49554 s,@PIC_FLAG@,$PIC_FLAG,;t t
49555 s,@WINDOWS_IMPLIB@,$WINDOWS_IMPLIB,;t t
49556 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
49557 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
49558 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
49559 s,@USE_SOVERCYGWIN@,$USE_SOVERCYGWIN,;t t
49560 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
49561 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
49562 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
49563 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
49564 s,@GCC_PCH@,$GCC_PCH,;t t
49565 s,@ICC_PCH@,$ICC_PCH,;t t
49566 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
49567 s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
49568 s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
49569 s,@COND_BUILD_DEBUG_UNICODE_0@,$COND_BUILD_DEBUG_UNICODE_0,;t t
49570 s,@COND_BUILD_DEBUG_UNICODE_1@,$COND_BUILD_DEBUG_UNICODE_1,;t t
49571 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
49572 s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
49573 s,@COND_BUILD_RELEASE_UNICODE_0@,$COND_BUILD_RELEASE_UNICODE_0,;t t
49574 s,@COND_BUILD_RELEASE_UNICODE_1@,$COND_BUILD_RELEASE_UNICODE_1,;t t
49575 s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
49576 s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
49577 s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
49578 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
49579 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
49580 s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
49581 s,@COND_ICC_PCH_1@,$COND_ICC_PCH_1,;t t
49582 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
49583 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
49584 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
49585 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
49586 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
49587 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
49588 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
49589 s,@COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1,;t t
49590 s,@COND_MONOLITHIC_0_SHARED_0_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1,;t t
49591 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
49592 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
49593 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
49594 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
49595 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
49596 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
49597 s,@COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1,;t t
49598 s,@COND_MONOLITHIC_0_SHARED_1_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1,;t t
49599 s,@COND_MONOLITHIC_0_USE_MEDIA_1@,$COND_MONOLITHIC_0_USE_MEDIA_1,;t t
49600 s,@COND_MONOLITHIC_0_USE_ODBC_1@,$COND_MONOLITHIC_0_USE_ODBC_1,;t t
49601 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
49602 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
49603 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
49604 s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
49605 s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
49606 s,@COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1,;t t
49607 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
49608 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
49609 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_@,$COND_PLATFORM_MACOSX_1_TOOLKIT_,;t t
49610 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
49611 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
49612 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
49613 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1,;t t
49614 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
49615 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF,;t t
49616 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_X11@,$COND_PLATFORM_MACOSX_1_TOOLKIT_X11,;t t
49617 s,@COND_PLATFORM_MACOSX_1_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_USE_GUI_1,;t t
49618 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
49619 s,@COND_PLATFORM_MACOS_1@,$COND_PLATFORM_MACOS_1,;t t
49620 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
49621 s,@COND_PLATFORM_MSDOS_0@,$COND_PLATFORM_MSDOS_0,;t t
49622 s,@COND_PLATFORM_MSDOS_1@,$COND_PLATFORM_MSDOS_1,;t t
49623 s,@COND_PLATFORM_OS2_1@,$COND_PLATFORM_OS2_1,;t t
49624 s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
49625 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
49626 s,@COND_PLATFORM_UNIX_1_USE_GUI_1@,$COND_PLATFORM_UNIX_1_USE_GUI_1,;t t
49627 s,@COND_PLATFORM_UNIX_1_USE_PLUGINS_0@,$COND_PLATFORM_UNIX_1_USE_PLUGINS_0,;t t
49628 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
49629 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
49630 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
49631 s,@COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0,;t t
49632 s,@COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0,;t t
49633 s,@COND_SHARED_0_TOOLKIT_PM_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0,;t t
49634 s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
49635 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
49636 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
49637 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
49638 s,@COND_SHARED_0_USE_XRC_1@,$COND_SHARED_0_USE_XRC_1,;t t
49639 s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
49640 s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
49641 s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
49642 s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
49643 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
49644 s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
49645 s,@COND_SHARED_1_USE_XRC_1@,$COND_SHARED_1_USE_XRC_1,;t t
49646 s,@COND_TOOLKIT_@,$COND_TOOLKIT_,;t t
49647 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
49648 s,@COND_TOOLKIT_COCOA_USE_GUI_1@,$COND_TOOLKIT_COCOA_USE_GUI_1,;t t
49649 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
49650 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
49651 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_,;t t
49652 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_2@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2,;t t
49653 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1,;t t
49654 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
49655 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1,;t t
49656 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0,;t t
49657 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
49658 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
49659 s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
49660 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
49661 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
49662 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
49663 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
49664 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
49665 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
49666 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
49667 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
49668 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
49669 s,@COND_TOOLKIT_MSW_WXUNIV_0@,$COND_TOOLKIT_MSW_WXUNIV_0,;t t
49670 s,@COND_TOOLKIT_PM@,$COND_TOOLKIT_PM,;t t
49671 s,@COND_TOOLKIT_PM_USE_GUI_1@,$COND_TOOLKIT_PM_USE_GUI_1,;t t
49672 s,@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0,;t t
49673 s,@COND_TOOLKIT_WINCE@,$COND_TOOLKIT_WINCE,;t t
49674 s,@COND_TOOLKIT_WINCE_USE_GUI_1@,$COND_TOOLKIT_WINCE_USE_GUI_1,;t t
49675 s,@COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0,;t t
49676 s,@COND_TOOLKIT_WINCE_WXUNIV_0@,$COND_TOOLKIT_WINCE_WXUNIV_0,;t t
49677 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
49678 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
49679 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
49680 s,@COND_USE_EXCEPTIONS_0@,$COND_USE_EXCEPTIONS_0,;t t
49681 s,@COND_USE_EXCEPTIONS_1@,$COND_USE_EXCEPTIONS_1,;t t
49682 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
49683 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
49684 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
49685 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
49686 s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
49687 s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
49688 s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
49689 s,@COND_USE_ODBC_1@,$COND_USE_ODBC_1,;t t
49690 s,@COND_USE_OPENGL_1@,$COND_USE_OPENGL_1,;t t
49691 s,@COND_USE_PCH_1@,$COND_USE_PCH_1,;t t
49692 s,@COND_USE_PLUGINS_0@,$COND_USE_PLUGINS_0,;t t
49693 s,@COND_USE_RTTI_0@,$COND_USE_RTTI_0,;t t
49694 s,@COND_USE_RTTI_1@,$COND_USE_RTTI_1,;t t
49695 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
49696 s,@COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1@,$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1,;t t
49697 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
49698 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
49699 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
49700 s,@COND_USE_THREADS_0@,$COND_USE_THREADS_0,;t t
49701 s,@COND_USE_THREADS_1@,$COND_USE_THREADS_1,;t t
49702 s,@COND_USE_XRC_1@,$COND_USE_XRC_1,;t t
49703 s,@COND_WINDOWS_IMPLIB_1@,$COND_WINDOWS_IMPLIB_1,;t t
49704 s,@COND_WITH_PLUGIN_SDL_1@,$COND_WITH_PLUGIN_SDL_1,;t t
49705 s,@COND_WXUNIV_0@,$COND_WXUNIV_0,;t t
49706 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
49707 s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
49708 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
49709 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
49710 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
49711 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
49712 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
49713 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
49714 s,@SHARED@,$SHARED,;t t
49715 s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
49716 s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
49717 s,@USE_GUI@,$USE_GUI,;t t
49718 s,@AFMINSTALL@,$AFMINSTALL,;t t
49719 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
49720 s,@TOOLKIT@,$TOOLKIT,;t t
49721 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
49722 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
49723 s,@TOOLCHAIN_FULLNAME@,$TOOLCHAIN_FULLNAME,;t t
49724 s,@cross_compiling@,$cross_compiling,;t t
49725 s,@WIDGET_SET@,$WIDGET_SET,;t t
49726 s,@WX_RELEASE@,$WX_RELEASE,;t t
49727 s,@WX_VERSION@,$WX_VERSION,;t t
49728 s,@WX_SUBVERSION@,$WX_SUBVERSION,;t t
49729 s,@WX_CHARTYPE@,$WX_CHARTYPE,;t t
49730 s,@WX_DEBUGTYPE@,$WX_DEBUGTYPE,;t t
49731 s,@WXCONFIG_CPPFLAGS@,$WXCONFIG_CPPFLAGS,;t t
49732 s,@WXCONFIG_CFLAGS@,$WXCONFIG_CFLAGS,;t t
49733 s,@WXCONFIG_CXXFLAGS@,$WXCONFIG_CXXFLAGS,;t t
49734 s,@WXCONFIG_LIBS@,$WXCONFIG_LIBS,;t t
49735 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
49736 s,@WXCONFIG_LDFLAGS_GUI@,$WXCONFIG_LDFLAGS_GUI,;t t
49737 s,@WXCONFIG_RESFLAGS@,$WXCONFIG_RESFLAGS,;t t
49738 s,@EXE_LINKER@,$EXE_LINKER,;t t
49739 s,@GUIDIST@,$GUIDIST,;t t
49740 s,@DISTDIR@,$DISTDIR,;t t
49741 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
49742 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
49743 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
49744 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
49745 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
49746 s,@RESCOMP@,$RESCOMP,;t t
49747 s,@RESFLAGS@,$RESFLAGS,;t t
49748 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
49749 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
49750 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
49751 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
49752 s,@POSTLINK_COMMAND@,$POSTLINK_COMMAND,;t t
49753 s,@MACSETFILE@,$MACSETFILE,;t t
49754 s,@GCC@,$GCC,;t t
49755 s,@CPPUNIT_CONFIG@,$CPPUNIT_CONFIG,;t t
49756 s,@LIBOBJS@,$LIBOBJS,;t t
49757 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
49758 CEOF
49759
49760 _ACEOF
49761
49762 cat >>$CONFIG_STATUS <<\_ACEOF
49763 # Split the substitutions into bite-sized pieces for seds with
49764 # small command number limits, like on Digital OSF/1 and HP-UX.
49765 ac_max_sed_lines=48
49766 ac_sed_frag=1 # Number of current file.
49767 ac_beg=1 # First line for current file.
49768 ac_end=$ac_max_sed_lines # Line after last line for current file.
49769 ac_more_lines=:
49770 ac_sed_cmds=
49771 while $ac_more_lines; do
49772 if test $ac_beg -gt 1; then
49773 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
49774 else
49775 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
49776 fi
49777 if test ! -s $tmp/subs.frag; then
49778 ac_more_lines=false
49779 else
49780 # The purpose of the label and of the branching condition is to
49781 # speed up the sed processing (if there are no `@' at all, there
49782 # is no need to browse any of the substitutions).
49783 # These are the two extra sed commands mentioned above.
49784 (echo ':t
49785 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
49786 if test -z "$ac_sed_cmds"; then
49787 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
49788 else
49789 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
49790 fi
49791 ac_sed_frag=`expr $ac_sed_frag + 1`
49792 ac_beg=$ac_end
49793 ac_end=`expr $ac_end + $ac_max_sed_lines`
49794 fi
49795 done
49796 if test -z "$ac_sed_cmds"; then
49797 ac_sed_cmds=cat
49798 fi
49799 fi # test -n "$CONFIG_FILES"
49800
49801 _ACEOF
49802 cat >>$CONFIG_STATUS <<\_ACEOF
49803 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
49804 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
49805 case $ac_file in
49806 - | *:- | *:-:* ) # input from stdin
49807 cat >$tmp/stdin
49808 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
49809 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
49810 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
49811 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
49812 * ) ac_file_in=$ac_file.in ;;
49813 esac
49814
49815 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
49816 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
49817 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
49818 X"$ac_file" : 'X\(//\)[^/]' \| \
49819 X"$ac_file" : 'X\(//\)$' \| \
49820 X"$ac_file" : 'X\(/\)' \| \
49821 . : '\(.\)' 2>/dev/null ||
49822 echo X"$ac_file" |
49823 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
49824 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
49825 /^X\(\/\/\)$/{ s//\1/; q; }
49826 /^X\(\/\).*/{ s//\1/; q; }
49827 s/.*/./; q'`
49828 { if $as_mkdir_p; then
49829 mkdir -p "$ac_dir"
49830 else
49831 as_dir="$ac_dir"
49832 as_dirs=
49833 while test ! -d "$as_dir"; do
49834 as_dirs="$as_dir $as_dirs"
49835 as_dir=`(dirname "$as_dir") 2>/dev/null ||
49836 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
49837 X"$as_dir" : 'X\(//\)[^/]' \| \
49838 X"$as_dir" : 'X\(//\)$' \| \
49839 X"$as_dir" : 'X\(/\)' \| \
49840 . : '\(.\)' 2>/dev/null ||
49841 echo X"$as_dir" |
49842 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
49843 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
49844 /^X\(\/\/\)$/{ s//\1/; q; }
49845 /^X\(\/\).*/{ s//\1/; q; }
49846 s/.*/./; q'`
49847 done
49848 test ! -n "$as_dirs" || mkdir $as_dirs
49849 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
49850 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
49851 { (exit 1); exit 1; }; }; }
49852
49853 ac_builddir=.
49854
49855 if test "$ac_dir" != .; then
49856 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
49857 # A "../" for each directory in $ac_dir_suffix.
49858 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
49859 else
49860 ac_dir_suffix= ac_top_builddir=
49861 fi
49862
49863 case $srcdir in
49864 .) # No --srcdir option. We are building in place.
49865 ac_srcdir=.
49866 if test -z "$ac_top_builddir"; then
49867 ac_top_srcdir=.
49868 else
49869 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
49870 fi ;;
49871 [\\/]* | ?:[\\/]* ) # Absolute path.
49872 ac_srcdir=$srcdir$ac_dir_suffix;
49873 ac_top_srcdir=$srcdir ;;
49874 *) # Relative path.
49875 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
49876 ac_top_srcdir=$ac_top_builddir$srcdir ;;
49877 esac
49878
49879 # Do not use `cd foo && pwd` to compute absolute paths, because
49880 # the directories may not exist.
49881 case `pwd` in
49882 .) ac_abs_builddir="$ac_dir";;
49883 *)
49884 case "$ac_dir" in
49885 .) ac_abs_builddir=`pwd`;;
49886 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
49887 *) ac_abs_builddir=`pwd`/"$ac_dir";;
49888 esac;;
49889 esac
49890 case $ac_abs_builddir in
49891 .) ac_abs_top_builddir=${ac_top_builddir}.;;
49892 *)
49893 case ${ac_top_builddir}. in
49894 .) ac_abs_top_builddir=$ac_abs_builddir;;
49895 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
49896 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
49897 esac;;
49898 esac
49899 case $ac_abs_builddir in
49900 .) ac_abs_srcdir=$ac_srcdir;;
49901 *)
49902 case $ac_srcdir in
49903 .) ac_abs_srcdir=$ac_abs_builddir;;
49904 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
49905 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
49906 esac;;
49907 esac
49908 case $ac_abs_builddir in
49909 .) ac_abs_top_srcdir=$ac_top_srcdir;;
49910 *)
49911 case $ac_top_srcdir in
49912 .) ac_abs_top_srcdir=$ac_abs_builddir;;
49913 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
49914 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
49915 esac;;
49916 esac
49917
49918
49919 case $INSTALL in
49920 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
49921 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
49922 esac
49923
49924 if test x"$ac_file" != x-; then
49925 { echo "$as_me:$LINENO: creating $ac_file" >&5
49926 echo "$as_me: creating $ac_file" >&6;}
49927 rm -f "$ac_file"
49928 fi
49929 # Let's still pretend it is `configure' which instantiates (i.e., don't
49930 # use $as_me), people would be surprised to read:
49931 # /* config.h. Generated by config.status. */
49932 if test x"$ac_file" = x-; then
49933 configure_input=
49934 else
49935 configure_input="$ac_file. "
49936 fi
49937 configure_input=$configure_input"Generated from `echo $ac_file_in |
49938 sed 's,.*/,,'` by configure."
49939
49940 # First look for the input files in the build tree, otherwise in the
49941 # src tree.
49942 ac_file_inputs=`IFS=:
49943 for f in $ac_file_in; do
49944 case $f in
49945 -) echo $tmp/stdin ;;
49946 [\\/$]*)
49947 # Absolute (can't be DOS-style, as IFS=:)
49948 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
49949 echo "$as_me: error: cannot find input file: $f" >&2;}
49950 { (exit 1); exit 1; }; }
49951 echo "$f";;
49952 *) # Relative
49953 if test -f "$f"; then
49954 # Build tree
49955 echo "$f"
49956 elif test -f "$srcdir/$f"; then
49957 # Source tree
49958 echo "$srcdir/$f"
49959 else
49960 # /dev/null tree
49961 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
49962 echo "$as_me: error: cannot find input file: $f" >&2;}
49963 { (exit 1); exit 1; }; }
49964 fi;;
49965 esac
49966 done` || { (exit 1); exit 1; }
49967 _ACEOF
49968 cat >>$CONFIG_STATUS <<_ACEOF
49969 sed "$ac_vpsub
49970 $extrasub
49971 _ACEOF
49972 cat >>$CONFIG_STATUS <<\_ACEOF
49973 :t
49974 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
49975 s,@configure_input@,$configure_input,;t t
49976 s,@srcdir@,$ac_srcdir,;t t
49977 s,@abs_srcdir@,$ac_abs_srcdir,;t t
49978 s,@top_srcdir@,$ac_top_srcdir,;t t
49979 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
49980 s,@builddir@,$ac_builddir,;t t
49981 s,@abs_builddir@,$ac_abs_builddir,;t t
49982 s,@top_builddir@,$ac_top_builddir,;t t
49983 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
49984 s,@INSTALL@,$ac_INSTALL,;t t
49985 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
49986 rm -f $tmp/stdin
49987 if test x"$ac_file" != x-; then
49988 mv $tmp/out $ac_file
49989 else
49990 cat $tmp/out
49991 rm -f $tmp/out
49992 fi
49993
49994 # Run the commands associated with the file.
49995 case $ac_file in
49996 lib/wx/config/${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
49997 lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
49998 esac
49999 done
50000 _ACEOF
50001 cat >>$CONFIG_STATUS <<\_ACEOF
50002
50003 #
50004 # CONFIG_HEADER section.
50005 #
50006
50007 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
50008 # NAME is the cpp macro being defined and VALUE is the value it is being given.
50009 #
50010 # ac_d sets the value in "#define NAME VALUE" lines.
50011 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
50012 ac_dB='[ ].*$,\1#\2'
50013 ac_dC=' '
50014 ac_dD=',;t'
50015 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
50016 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
50017 ac_uB='$,\1#\2define\3'
50018 ac_uC=' '
50019 ac_uD=',;t'
50020
50021 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
50022 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
50023 case $ac_file in
50024 - | *:- | *:-:* ) # input from stdin
50025 cat >$tmp/stdin
50026 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
50027 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
50028 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
50029 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
50030 * ) ac_file_in=$ac_file.in ;;
50031 esac
50032
50033 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
50034 echo "$as_me: creating $ac_file" >&6;}
50035
50036 # First look for the input files in the build tree, otherwise in the
50037 # src tree.
50038 ac_file_inputs=`IFS=:
50039 for f in $ac_file_in; do
50040 case $f in
50041 -) echo $tmp/stdin ;;
50042 [\\/$]*)
50043 # Absolute (can't be DOS-style, as IFS=:)
50044 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
50045 echo "$as_me: error: cannot find input file: $f" >&2;}
50046 { (exit 1); exit 1; }; }
50047 # Do quote $f, to prevent DOS paths from being IFS'd.
50048 echo "$f";;
50049 *) # Relative
50050 if test -f "$f"; then
50051 # Build tree
50052 echo "$f"
50053 elif test -f "$srcdir/$f"; then
50054 # Source tree
50055 echo "$srcdir/$f"
50056 else
50057 # /dev/null tree
50058 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
50059 echo "$as_me: error: cannot find input file: $f" >&2;}
50060 { (exit 1); exit 1; }; }
50061 fi;;
50062 esac
50063 done` || { (exit 1); exit 1; }
50064 # Remove the trailing spaces.
50065 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
50066
50067 _ACEOF
50068
50069 # Transform confdefs.h into two sed scripts, `conftest.defines' and
50070 # `conftest.undefs', that substitutes the proper values into
50071 # config.h.in to produce config.h. The first handles `#define'
50072 # templates, and the second `#undef' templates.
50073 # And first: Protect against being on the right side of a sed subst in
50074 # config.status. Protect against being in an unquoted here document
50075 # in config.status.
50076 rm -f conftest.defines conftest.undefs
50077 # Using a here document instead of a string reduces the quoting nightmare.
50078 # Putting comments in sed scripts is not portable.
50079 #
50080 # `end' is used to avoid that the second main sed command (meant for
50081 # 0-ary CPP macros) applies to n-ary macro definitions.
50082 # See the Autoconf documentation for `clear'.
50083 cat >confdef2sed.sed <<\_ACEOF
50084 s/[\\&,]/\\&/g
50085 s,[\\$`],\\&,g
50086 t clear
50087 : clear
50088 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
50089 t end
50090 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
50091 : end
50092 _ACEOF
50093 # If some macros were called several times there might be several times
50094 # the same #defines, which is useless. Nevertheless, we may not want to
50095 # sort them, since we want the *last* AC-DEFINE to be honored.
50096 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
50097 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
50098 rm -f confdef2sed.sed
50099
50100 # This sed command replaces #undef with comments. This is necessary, for
50101 # example, in the case of _POSIX_SOURCE, which is predefined and required
50102 # on some systems where configure will not decide to define it.
50103 cat >>conftest.undefs <<\_ACEOF
50104 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
50105 _ACEOF
50106
50107 # Break up conftest.defines because some shells have a limit on the size
50108 # of here documents, and old seds have small limits too (100 cmds).
50109 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
50110 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
50111 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
50112 echo ' :' >>$CONFIG_STATUS
50113 rm -f conftest.tail
50114 while grep . conftest.defines >/dev/null
50115 do
50116 # Write a limited-size here document to $tmp/defines.sed.
50117 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
50118 # Speed up: don't consider the non `#define' lines.
50119 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
50120 # Work around the forget-to-reset-the-flag bug.
50121 echo 't clr' >>$CONFIG_STATUS
50122 echo ': clr' >>$CONFIG_STATUS
50123 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
50124 echo 'CEOF
50125 sed -f $tmp/defines.sed $tmp/in >$tmp/out
50126 rm -f $tmp/in
50127 mv $tmp/out $tmp/in
50128 ' >>$CONFIG_STATUS
50129 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
50130 rm -f conftest.defines
50131 mv conftest.tail conftest.defines
50132 done
50133 rm -f conftest.defines
50134 echo ' fi # grep' >>$CONFIG_STATUS
50135 echo >>$CONFIG_STATUS
50136
50137 # Break up conftest.undefs because some shells have a limit on the size
50138 # of here documents, and old seds have small limits too (100 cmds).
50139 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
50140 rm -f conftest.tail
50141 while grep . conftest.undefs >/dev/null
50142 do
50143 # Write a limited-size here document to $tmp/undefs.sed.
50144 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
50145 # Speed up: don't consider the non `#undef'
50146 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
50147 # Work around the forget-to-reset-the-flag bug.
50148 echo 't clr' >>$CONFIG_STATUS
50149 echo ': clr' >>$CONFIG_STATUS
50150 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
50151 echo 'CEOF
50152 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
50153 rm -f $tmp/in
50154 mv $tmp/out $tmp/in
50155 ' >>$CONFIG_STATUS
50156 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
50157 rm -f conftest.undefs
50158 mv conftest.tail conftest.undefs
50159 done
50160 rm -f conftest.undefs
50161
50162 cat >>$CONFIG_STATUS <<\_ACEOF
50163 # Let's still pretend it is `configure' which instantiates (i.e., don't
50164 # use $as_me), people would be surprised to read:
50165 # /* config.h. Generated by config.status. */
50166 if test x"$ac_file" = x-; then
50167 echo "/* Generated by configure. */" >$tmp/config.h
50168 else
50169 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
50170 fi
50171 cat $tmp/in >>$tmp/config.h
50172 rm -f $tmp/in
50173 if test x"$ac_file" != x-; then
50174 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
50175 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
50176 echo "$as_me: $ac_file is unchanged" >&6;}
50177 else
50178 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
50179 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
50180 X"$ac_file" : 'X\(//\)[^/]' \| \
50181 X"$ac_file" : 'X\(//\)$' \| \
50182 X"$ac_file" : 'X\(/\)' \| \
50183 . : '\(.\)' 2>/dev/null ||
50184 echo X"$ac_file" |
50185 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
50186 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
50187 /^X\(\/\/\)$/{ s//\1/; q; }
50188 /^X\(\/\).*/{ s//\1/; q; }
50189 s/.*/./; q'`
50190 { if $as_mkdir_p; then
50191 mkdir -p "$ac_dir"
50192 else
50193 as_dir="$ac_dir"
50194 as_dirs=
50195 while test ! -d "$as_dir"; do
50196 as_dirs="$as_dir $as_dirs"
50197 as_dir=`(dirname "$as_dir") 2>/dev/null ||
50198 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
50199 X"$as_dir" : 'X\(//\)[^/]' \| \
50200 X"$as_dir" : 'X\(//\)$' \| \
50201 X"$as_dir" : 'X\(/\)' \| \
50202 . : '\(.\)' 2>/dev/null ||
50203 echo X"$as_dir" |
50204 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
50205 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
50206 /^X\(\/\/\)$/{ s//\1/; q; }
50207 /^X\(\/\).*/{ s//\1/; q; }
50208 s/.*/./; q'`
50209 done
50210 test ! -n "$as_dirs" || mkdir $as_dirs
50211 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
50212 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
50213 { (exit 1); exit 1; }; }; }
50214
50215 rm -f $ac_file
50216 mv $tmp/config.h $ac_file
50217 fi
50218 else
50219 cat $tmp/config.h
50220 rm -f $tmp/config.h
50221 fi
50222 done
50223 _ACEOF
50224 cat >>$CONFIG_STATUS <<\_ACEOF
50225
50226 #
50227 # CONFIG_COMMANDS section.
50228 #
50229 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
50230 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
50231 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
50232 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
50233 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
50234 X"$ac_dest" : 'X\(//\)[^/]' \| \
50235 X"$ac_dest" : 'X\(//\)$' \| \
50236 X"$ac_dest" : 'X\(/\)' \| \
50237 . : '\(.\)' 2>/dev/null ||
50238 echo X"$ac_dest" |
50239 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
50240 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
50241 /^X\(\/\/\)$/{ s//\1/; q; }
50242 /^X\(\/\).*/{ s//\1/; q; }
50243 s/.*/./; q'`
50244 { if $as_mkdir_p; then
50245 mkdir -p "$ac_dir"
50246 else
50247 as_dir="$ac_dir"
50248 as_dirs=
50249 while test ! -d "$as_dir"; do
50250 as_dirs="$as_dir $as_dirs"
50251 as_dir=`(dirname "$as_dir") 2>/dev/null ||
50252 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
50253 X"$as_dir" : 'X\(//\)[^/]' \| \
50254 X"$as_dir" : 'X\(//\)$' \| \
50255 X"$as_dir" : 'X\(/\)' \| \
50256 . : '\(.\)' 2>/dev/null ||
50257 echo X"$as_dir" |
50258 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
50259 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
50260 /^X\(\/\/\)$/{ s//\1/; q; }
50261 /^X\(\/\).*/{ s//\1/; q; }
50262 s/.*/./; q'`
50263 done
50264 test ! -n "$as_dirs" || mkdir $as_dirs
50265 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
50266 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
50267 { (exit 1); exit 1; }; }; }
50268
50269 ac_builddir=.
50270
50271 if test "$ac_dir" != .; then
50272 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
50273 # A "../" for each directory in $ac_dir_suffix.
50274 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
50275 else
50276 ac_dir_suffix= ac_top_builddir=
50277 fi
50278
50279 case $srcdir in
50280 .) # No --srcdir option. We are building in place.
50281 ac_srcdir=.
50282 if test -z "$ac_top_builddir"; then
50283 ac_top_srcdir=.
50284 else
50285 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
50286 fi ;;
50287 [\\/]* | ?:[\\/]* ) # Absolute path.
50288 ac_srcdir=$srcdir$ac_dir_suffix;
50289 ac_top_srcdir=$srcdir ;;
50290 *) # Relative path.
50291 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
50292 ac_top_srcdir=$ac_top_builddir$srcdir ;;
50293 esac
50294
50295 # Do not use `cd foo && pwd` to compute absolute paths, because
50296 # the directories may not exist.
50297 case `pwd` in
50298 .) ac_abs_builddir="$ac_dir";;
50299 *)
50300 case "$ac_dir" in
50301 .) ac_abs_builddir=`pwd`;;
50302 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
50303 *) ac_abs_builddir=`pwd`/"$ac_dir";;
50304 esac;;
50305 esac
50306 case $ac_abs_builddir in
50307 .) ac_abs_top_builddir=${ac_top_builddir}.;;
50308 *)
50309 case ${ac_top_builddir}. in
50310 .) ac_abs_top_builddir=$ac_abs_builddir;;
50311 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
50312 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
50313 esac;;
50314 esac
50315 case $ac_abs_builddir in
50316 .) ac_abs_srcdir=$ac_srcdir;;
50317 *)
50318 case $ac_srcdir in
50319 .) ac_abs_srcdir=$ac_abs_builddir;;
50320 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
50321 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
50322 esac;;
50323 esac
50324 case $ac_abs_builddir in
50325 .) ac_abs_top_srcdir=$ac_top_srcdir;;
50326 *)
50327 case $ac_top_srcdir in
50328 .) ac_abs_top_srcdir=$ac_abs_builddir;;
50329 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
50330 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
50331 esac;;
50332 esac
50333
50334
50335 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
50336 echo "$as_me: executing $ac_dest commands" >&6;}
50337 case $ac_dest in
50338 rcdefs.h )
50339 mkdir -p $outdir &&
50340 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
50341 ;;
50342 wx-config ) rm -f wx-config
50343 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
50344 ;;
50345 esac
50346 done
50347 _ACEOF
50348
50349 cat >>$CONFIG_STATUS <<\_ACEOF
50350
50351 { (exit 0); exit 0; }
50352 _ACEOF
50353 chmod +x $CONFIG_STATUS
50354 ac_clean_files=$ac_clean_files_save
50355
50356
50357 # configure is writing to config.log, and then calls config.status.
50358 # config.status does its own redirection, appending to config.log.
50359 # Unfortunately, on DOS this fails, as config.log is still kept open
50360 # by configure, so config.status won't be able to write to it; its
50361 # output is simply discarded. So we exec the FD to /dev/null,
50362 # effectively closing config.log, so it can be properly (re)opened and
50363 # appended to by config.status. When coming back to configure, we
50364 # need to make the FD available again.
50365 if test "$no_create" != yes; then
50366 ac_cs_success=:
50367 ac_config_status_args=
50368 test "$silent" = yes &&
50369 ac_config_status_args="$ac_config_status_args --quiet"
50370 exec 5>/dev/null
50371 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
50372 exec 5>>config.log
50373 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
50374 # would make configure fail if this is the last instruction.
50375 $ac_cs_success || { (exit 1); exit 1; }
50376 fi
50377
50378 #
50379 # CONFIG_SUBDIRS section.
50380 #
50381 if test "$no_recursion" != yes; then
50382
50383 # Remove --cache-file and --srcdir arguments so they do not pile up.
50384 ac_sub_configure_args=
50385 ac_prev=
50386 for ac_arg in $ac_configure_args; do
50387 if test -n "$ac_prev"; then
50388 ac_prev=
50389 continue
50390 fi
50391 case $ac_arg in
50392 -cache-file | --cache-file | --cache-fil | --cache-fi \
50393 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
50394 ac_prev=cache_file ;;
50395 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
50396 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
50397 | --c=*)
50398 ;;
50399 --config-cache | -C)
50400 ;;
50401 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
50402 ac_prev=srcdir ;;
50403 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
50404 ;;
50405 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
50406 ac_prev=prefix ;;
50407 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
50408 ;;
50409 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
50410 esac
50411 done
50412
50413 # Always prepend --prefix to ensure using the same prefix
50414 # in subdir configurations.
50415 ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args"
50416
50417 ac_popdir=`pwd`
50418 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
50419
50420 # Do not complain, so a configure script can configure whichever
50421 # parts of a large source tree are present.
50422 test -d $srcdir/$ac_dir || continue
50423
50424 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
50425 echo "$as_me: configuring in $ac_dir" >&6;}
50426 { if $as_mkdir_p; then
50427 mkdir -p "$ac_dir"
50428 else
50429 as_dir="$ac_dir"
50430 as_dirs=
50431 while test ! -d "$as_dir"; do
50432 as_dirs="$as_dir $as_dirs"
50433 as_dir=`(dirname "$as_dir") 2>/dev/null ||
50434 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
50435 X"$as_dir" : 'X\(//\)[^/]' \| \
50436 X"$as_dir" : 'X\(//\)$' \| \
50437 X"$as_dir" : 'X\(/\)' \| \
50438 . : '\(.\)' 2>/dev/null ||
50439 echo X"$as_dir" |
50440 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
50441 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
50442 /^X\(\/\/\)$/{ s//\1/; q; }
50443 /^X\(\/\).*/{ s//\1/; q; }
50444 s/.*/./; q'`
50445 done
50446 test ! -n "$as_dirs" || mkdir $as_dirs
50447 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
50448 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
50449 { (exit 1); exit 1; }; }; }
50450
50451 ac_builddir=.
50452
50453 if test "$ac_dir" != .; then
50454 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
50455 # A "../" for each directory in $ac_dir_suffix.
50456 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
50457 else
50458 ac_dir_suffix= ac_top_builddir=
50459 fi
50460
50461 case $srcdir in
50462 .) # No --srcdir option. We are building in place.
50463 ac_srcdir=.
50464 if test -z "$ac_top_builddir"; then
50465 ac_top_srcdir=.
50466 else
50467 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
50468 fi ;;
50469 [\\/]* | ?:[\\/]* ) # Absolute path.
50470 ac_srcdir=$srcdir$ac_dir_suffix;
50471 ac_top_srcdir=$srcdir ;;
50472 *) # Relative path.
50473 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
50474 ac_top_srcdir=$ac_top_builddir$srcdir ;;
50475 esac
50476
50477 # Do not use `cd foo && pwd` to compute absolute paths, because
50478 # the directories may not exist.
50479 case `pwd` in
50480 .) ac_abs_builddir="$ac_dir";;
50481 *)
50482 case "$ac_dir" in
50483 .) ac_abs_builddir=`pwd`;;
50484 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
50485 *) ac_abs_builddir=`pwd`/"$ac_dir";;
50486 esac;;
50487 esac
50488 case $ac_abs_builddir in
50489 .) ac_abs_top_builddir=${ac_top_builddir}.;;
50490 *)
50491 case ${ac_top_builddir}. in
50492 .) ac_abs_top_builddir=$ac_abs_builddir;;
50493 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
50494 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
50495 esac;;
50496 esac
50497 case $ac_abs_builddir in
50498 .) ac_abs_srcdir=$ac_srcdir;;
50499 *)
50500 case $ac_srcdir in
50501 .) ac_abs_srcdir=$ac_abs_builddir;;
50502 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
50503 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
50504 esac;;
50505 esac
50506 case $ac_abs_builddir in
50507 .) ac_abs_top_srcdir=$ac_top_srcdir;;
50508 *)
50509 case $ac_top_srcdir in
50510 .) ac_abs_top_srcdir=$ac_abs_builddir;;
50511 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
50512 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
50513 esac;;
50514 esac
50515
50516
50517 cd $ac_dir
50518
50519 # Check for guested configure; otherwise get Cygnus style configure.
50520 if test -f $ac_srcdir/configure.gnu; then
50521 ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'"
50522 elif test -f $ac_srcdir/configure; then
50523 ac_sub_configure="$SHELL '$ac_srcdir/configure'"
50524 elif test -f $ac_srcdir/configure.in; then
50525 ac_sub_configure=$ac_configure
50526 else
50527 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
50528 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
50529 ac_sub_configure=
50530 fi
50531
50532 # The recursion is here.
50533 if test -n "$ac_sub_configure"; then
50534 # Make the cache file name correct relative to the subdirectory.
50535 case $cache_file in
50536 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
50537 *) # Relative path.
50538 ac_sub_cache_file=$ac_top_builddir$cache_file ;;
50539 esac
50540
50541 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
50542 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
50543 # The eval makes quoting arguments work.
50544 eval $ac_sub_configure $ac_sub_configure_args \
50545 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
50546 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
50547 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
50548 { (exit 1); exit 1; }; }
50549 fi
50550
50551 cd $ac_popdir
50552 done
50553 fi
50554
50555
50556 echo
50557 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
50558 echo ""
50559 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_USER:-base only}"
50560 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
50561
50562 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
50563 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
50564 echo " Should wxWidgets be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
50565
50566 echo " What level of wxWidgets compatibility should be enabled?"
50567 echo " wxWidgets 2.4 ${WXWIN_COMPATIBILITY_2_4:-no}"
50568 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-yes}"
50569
50570 echo " Which libraries should wxWidgets use?"
50571 echo " jpeg ${wxUSE_LIBJPEG-none}"
50572 echo " png ${wxUSE_LIBPNG-none}"
50573 echo " regex ${wxUSE_REGEX}"
50574 echo " tiff ${wxUSE_LIBTIFF-none}"
50575 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
50576 echo " xpm ${wxUSE_LIBXPM-none}"
50577 fi
50578 echo " zlib ${wxUSE_ZLIB}"
50579 echo " odbc ${wxUSE_ODBC}"
50580 echo " expat ${wxUSE_EXPAT}"
50581 echo " libmspack ${wxUSE_LIBMSPACK}"
50582 echo " sdl ${wxUSE_LIBSDL}"
50583 echo " gnomeprint ${wxUSE_LIBGNOMEPRINT-none}"
50584 echo " gnomevfs ${wxUSE_LIBGNOMEVFS-none}"
50585 echo " hildon ${wxUSE_LIBHILDON-none}"
50586
50587 echo ""
50588