]> git.saurik.com Git - wxWidgets.git/blob - configure
don't define unused functions
[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 RESCOMP ac_ct_RESCOMP 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 DEREZ SETFILE LIBICONV EXTRALIBS_ESD SDL_CONFIG SDL_CFLAGS SDL_LIBS LIBGNOMEPRINTUI_CFLAGS LIBGNOMEPRINTUI_LIBS GSTREAMER_CFLAGS GSTREAMER_LIBS GST_INSPECT 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 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 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_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_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_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_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_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_USE_GUI_1 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0 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_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 WXDEBUG_DEFINE USE_GUI AFMINSTALL WIN32INSTALL TOOLKIT TOOLKIT_DIR TOOLCHAIN_NAME TOOLCHAIN_FULLNAME TOOLCHAIN_DEFS TOOLCHAIN_DLL_DEFS cross_compiling WIDGET_SET WX_RELEASE WX_VERSION WX_SUBVERSION WX_CHARTYPE WX_DEBUGTYPE WXCONFIG_EXTRALIBS WXCONFIG_INCLUDE WXCONFIG_RPATH WXCONFIG_LDFLAGS_GUI WX_LARGEFILE_FLAGS GCC_PRAGMA_FLAGS CODE_GEN_FLAGS CODE_GEN_FLAGS_CXX EXE_LINKER GUIDIST DISTDIR SAMPLES_SUBDIRS LDFLAGS_GL OPENGL_LIBS DMALLOC_LIBS WX_VERSION_TAG RESFLAGS RESPROGRAMOBJ WX_RESOURCES_MACOSX_ASCII WX_RESOURCES_MACOSX_DATA LIBWXMACRES MACRESCOMP MACSETFILE MACRESWXCONFIG 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-compat22 enable wxWidgets 2.2 compatibility
893 --disable-compat24 disable wxWidgets 2.4 compatibility
894 --disable-rpath disable use of rpath for uninstalled builds
895 --enable-intl use internationalization system
896 --enable-config use wxConfig (and derived) classes
897 --enable-protocols use wxProtocol and derived classes
898 --enable-ftp use wxFTP (requires wxProtocol
899 --enable-http use wxHTTP (requires wxProtocol
900 --enable-fileproto use wxFileProto class (requires wxProtocol
901 --enable-sockets use socket/network classes
902 --enable-ole use OLE classes (Win32 only)
903 --enable-dataobj use data object classes
904 --enable-ipc use interprocess communication (wxSocket etc.)
905 --enable-apple_ieee use the Apple IEEE codec
906 --enable-arcstream use wxArchive streams
907 --enable-backtrace use wxStackWalker class for getting backtraces
908 --enable-catch_segvs catch signals in wxApp::OnFatalException (Unix only)
909 --enable-cmdline use wxCmdLineParser class
910 --enable-datetime use wxDateTime class
911 --enable-debugreport use wxDebugReport class
912 --enable-dialupman use dialup network classes
913 --enable-dynlib use wxLibrary class for DLL loading
914 --enable-dynamicloader use (new) wxDynamicLibrary class
915 --enable-exceptions build exception-safe library
916 --enable-ffile use wxFFile class
917 --enable-file use wxFile class
918 --enable-filesystem use virtual file systems classes
919 --enable-fontmap use font encodings conversion classes
920 --enable-fs_inet use virtual HTTP/FTP filesystems
921 --enable-fs_zip use virtual ZIP filesystems
922 --enable-geometry use geometry class
923 --enable-log use logging system
924 --enable-longlong use wxLongLong class
925 --enable-mimetype use wxMimeTypesManager
926 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
927 --enable-snglinst use wxSingleInstanceChecker class
928 --enable-std_iostreams use standard C++ stream classes
929 --enable-std_string use standard C++ string classes
930 --enable-stdpaths use wxStandardPaths class
931 --enable-stopwatch use wxStopWatch class
932 --enable-streams use wxStream etc classes
933 --enable-sysoptions use wxSystemOptions
934 --enable-textbuf use wxTextBuffer class
935 --enable-textfile use wxTextFile class
936 --enable-timer use wxTimer class
937 --enable-unicode compile wxString with Unicode support
938 --enable-sound use wxSound class
939 --enable-mediactrl use wxMediaCtrl class
940 --enable-wxprintfv use wxWidgets implementation of vprintf()
941 --enable-zipstream use wxZip streams
942 --enable-url use wxURL class
943 --enable-protocol use wxProtocol class
944 --enable-protocol-http HTTP support in wxProtocol
945 --enable-protocol-ftp FTP support in wxProtocol
946 --enable-protocol-file FILE support in wxProtocol
947 --enable-threads use threads
948 --enable-docview use document view architecture
949 --enable-help use help subsystem
950 --enable-mshtmlhelp use MS HTML Help (win32)
951 --enable-html use wxHTML sub-library
952 --enable-htmlhelp use wxHTML-based help
953 --enable-xrc use XRC resources sub-library
954 --enable-constraints use layout-constraints system
955 --enable-printarch use printing architecture
956 --enable-mdi use multiple document interface architecture
957 --enable-mdidoc use docview architecture with MDI
958 --enable-loggui use standard GUI logger
959 --enable-logwin use wxLogWindow
960 --enable-logdialog use wxLogDialog
961 --enable-webkit use wxWebKitCtrl (Mac)
962 --enable-postscript use wxPostscriptDC device context (default for gtk+)
963 --enable-prologio not available; see contrib
964 --enable-resources not available; see contrib
965 --enable-clipboard use wxClipboard class
966 --enable-dnd use Drag'n'Drop classes
967 --enable-metafile use win32 metafiles
968 --enable-controls use all usual controls
969 --enable-accel use accelerators
970 --enable-button use wxButton class
971 --enable-bmpbutton use wxBitmapButton class
972 --enable-calendar use wxCalendarCtrl class
973 --enable-caret use wxCaret class
974 --enable-checkbox use wxCheckBox class
975 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
976 --enable-choice use wxChoice class
977 --enable-choicebook use wxChoicebook class
978 --enable-combobox use wxComboBox class
979 --enable-datepick use wxDatePickerCtrl class
980 --enable-display use wxDisplay class
981 --enable-gauge use wxGauge class
982 --enable-grid use wxGrid class
983 --enable-imaglist use wxImageList class
984 --enable-listbook use wxListbook class
985 --enable-listbox use wxListBox class
986 --enable-listctrl use wxListCtrl class
987 --enable-notebook use wxNotebook class
988 --enable-radiobox use wxRadioBox class
989 --enable-radiobtn use wxRadioButton class
990 --enable-sash use wxSashWindow class
991 --enable-scrollbar use wxScrollBar class and scrollable windows
992 --enable-slider use wxSlider class
993 --enable-spinbtn use wxSpinButton class
994 --enable-spinctrl use wxSpinCtrl class
995 --enable-splitter use wxSplitterWindow class
996 --enable-statbmp use wxStaticBitmap class
997 --enable-statbox use wxStaticBox class
998 --enable-statline use wxStaticLine class
999 --enable-stattext use wxStaticText class
1000 --enable-statusbar use wxStatusBar class
1001 --enable-tabdialog use wxTabControl class
1002 --enable-textctrl use wxTextCtrl class
1003 --enable-togglebtn use wxToggleButton class
1004 --enable-toolbar use wxToolBar class
1005 --enable-tbarnative use native wxToolBar class
1006 --enable-tbarsmpl use wxToolBarSimple class
1007 --enable-treectrl use wxTreeCtrl class
1008 --enable-tipwindow use wxTipWindow class
1009 --enable-popupwin use wxPopUpWindow class
1010 --enable-commondlg use all common dialogs
1011 --enable-choicedlg use wxChoiceDialog
1012 --enable-coldlg use wxColourDialog
1013 --enable-filedlg use wxFileDialog
1014 --enable-finddlg use wxFindReplaceDialog
1015 --enable-fontdlg use wxFontDialog
1016 --enable-dirdlg use wxDirDialog
1017 --enable-msgdlg use wxMessageDialog
1018 --enable-numberdlg use wxNumberEntryDialog
1019 --enable-splash use wxSplashScreen
1020 --enable-textdlg use wxTextDialog
1021 --enable-tipdlg use startup tips
1022 --enable-progressdlg use wxProgressDialog
1023 --enable-wizarddlg use wxWizard
1024 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1025 --enable-miniframe use wxMiniFrame class
1026 --enable-tooltips use wxToolTip class
1027 --enable-splines use spline drawing code
1028 --enable-mousewheel use mousewheel
1029 --enable-validators use wxValidator and derived classes
1030 --enable-busyinfo use wxBusyInfo
1031 --enable-joystick use wxJoystick
1032 --enable-metafiles use wxMetaFile (Win32 only)
1033 --enable-dragimage use wxDragImage
1034 --enable-accessibility enable accessibility support
1035 --enable-dccache cache temporary wxDC objects (Win32 only)
1036 --enable-palette use wxPalette class
1037 --enable-image use wxImage class
1038 --enable-gif use gif images (GIF file format)
1039 --enable-pcx use pcx images (PCX file format)
1040 --enable-iff use iff images (IFF file format)
1041 --enable-pnm use pnm images (PNM file format)
1042 --enable-xpm use xpm images (XPM file format)
1043 --enable-icocur use Windows ICO and CUR formats
1044 --enable-official_build official build of wxWidgets (win32 DLL only)
1045 --enable-vendor=VENDOR vendor name (win32 DLL only)
1046 --disable-largefile omit support for large files
1047 --disable-gtktest do not try to compile and run a test GTK+ program
1048 --disable-gtktest Do not try to compile and run a test GTK program
1049 --disable-sdltest Do not try to compile and run a test SDL program
1050 --enable-omf use OMF object format (OS/2)
1051 --disable-precomp-headers
1052 don't use precompiled headers even if compiler can
1053
1054 Optional Packages:
1055 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1056 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1057 --without-subdirs don't generate makefiles for samples/demos/...
1058 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1059 --with-motif use Motif/Lesstif
1060 --with-mac use Mac OS X
1061 --with-cocoa use Cocoa
1062 --with-wine use Wine
1063 --with-msw use MS-Windows
1064 --with-pm use OS/2 Presentation Manager
1065 --with-mgl use SciTech MGL
1066 --with-microwin use MicroWindows
1067 --with-x11 use X11
1068 --with-libpng use libpng (PNG image format)
1069 --with-libjpeg use libjpeg (JPEG file format)
1070 --with-libtiff use libtiff (TIFF file format)
1071 --with-libxpm use libxpm (XPM file format)
1072 --with-libmspack use libmspack (CHM help files loading)
1073 --with-sdl use SDL for audio on Unix
1074 --with-gnomeprint use GNOME print for printing under Unix
1075 --with-opengl use OpenGL (or Mesa)
1076 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1077 --with-regex enable support for wxRegEx class
1078 --with-zlib use zlib for LZW compression
1079 --with-odbc use the IODBC and wxODBC classes
1080 --with-expat enable XML support using expat parser
1081 --with-flavour=NAME specify a name to identify this build
1082 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1083 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1084 --with-x use the X Window System
1085 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1086 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1087 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1088 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1089 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1090
1091 Some influential environment variables:
1092 CC C compiler command
1093 CFLAGS C compiler flags
1094 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1095 nonstandard directory <lib dir>
1096 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1097 headers in a nonstandard directory <include dir>
1098 CPP C preprocessor
1099 CXX C++ compiler command
1100 CXXFLAGS C++ compiler flags
1101 CXXCPP C++ preprocessor
1102
1103 Use these variables to override the choices made by `configure' or to help
1104 it to find libraries and programs with nonstandard names/locations.
1105
1106 Report bugs to <wx-dev@lists.wxwidgets.org>.
1107 _ACEOF
1108 fi
1109
1110 if test "$ac_init_help" = "recursive"; then
1111 # If there are subdirs, report their specific --help.
1112 ac_popdir=`pwd`
1113 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1114 test -d $ac_dir || continue
1115 ac_builddir=.
1116
1117 if test "$ac_dir" != .; then
1118 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1119 # A "../" for each directory in $ac_dir_suffix.
1120 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1121 else
1122 ac_dir_suffix= ac_top_builddir=
1123 fi
1124
1125 case $srcdir in
1126 .) # No --srcdir option. We are building in place.
1127 ac_srcdir=.
1128 if test -z "$ac_top_builddir"; then
1129 ac_top_srcdir=.
1130 else
1131 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1132 fi ;;
1133 [\\/]* | ?:[\\/]* ) # Absolute path.
1134 ac_srcdir=$srcdir$ac_dir_suffix;
1135 ac_top_srcdir=$srcdir ;;
1136 *) # Relative path.
1137 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1138 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1139 esac
1140
1141 # Do not use `cd foo && pwd` to compute absolute paths, because
1142 # the directories may not exist.
1143 case `pwd` in
1144 .) ac_abs_builddir="$ac_dir";;
1145 *)
1146 case "$ac_dir" in
1147 .) ac_abs_builddir=`pwd`;;
1148 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1149 *) ac_abs_builddir=`pwd`/"$ac_dir";;
1150 esac;;
1151 esac
1152 case $ac_abs_builddir in
1153 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1154 *)
1155 case ${ac_top_builddir}. in
1156 .) ac_abs_top_builddir=$ac_abs_builddir;;
1157 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1158 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1159 esac;;
1160 esac
1161 case $ac_abs_builddir in
1162 .) ac_abs_srcdir=$ac_srcdir;;
1163 *)
1164 case $ac_srcdir in
1165 .) ac_abs_srcdir=$ac_abs_builddir;;
1166 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1167 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1168 esac;;
1169 esac
1170 case $ac_abs_builddir in
1171 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1172 *)
1173 case $ac_top_srcdir in
1174 .) ac_abs_top_srcdir=$ac_abs_builddir;;
1175 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1176 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1177 esac;;
1178 esac
1179
1180 cd $ac_dir
1181 # Check for guested configure; otherwise get Cygnus style configure.
1182 if test -f $ac_srcdir/configure.gnu; then
1183 echo
1184 $SHELL $ac_srcdir/configure.gnu --help=recursive
1185 elif test -f $ac_srcdir/configure; then
1186 echo
1187 $SHELL $ac_srcdir/configure --help=recursive
1188 elif test -f $ac_srcdir/configure.ac ||
1189 test -f $ac_srcdir/configure.in; then
1190 echo
1191 $ac_configure --help
1192 else
1193 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1194 fi
1195 cd "$ac_popdir"
1196 done
1197 fi
1198
1199 test -n "$ac_init_help" && exit 0
1200 if $ac_init_version; then
1201 cat <<\_ACEOF
1202 wxWidgets configure 2.7.0
1203 generated by GNU Autoconf 2.59
1204
1205 Copyright (C) 2003 Free Software Foundation, Inc.
1206 This configure script is free software; the Free Software Foundation
1207 gives unlimited permission to copy, distribute and modify it.
1208 _ACEOF
1209 exit 0
1210 fi
1211 exec 5>config.log
1212 cat >&5 <<_ACEOF
1213 This file contains any messages produced by compilers while
1214 running configure, to aid debugging if configure makes a mistake.
1215
1216 It was created by wxWidgets $as_me 2.7.0, which was
1217 generated by GNU Autoconf 2.59. Invocation command line was
1218
1219 $ $0 $@
1220
1221 _ACEOF
1222 {
1223 cat <<_ASUNAME
1224 ## --------- ##
1225 ## Platform. ##
1226 ## --------- ##
1227
1228 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1229 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1230 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1231 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1232 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1233
1234 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1235 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1236
1237 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1238 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1239 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1240 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1241 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1242 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1243 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1244
1245 _ASUNAME
1246
1247 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1248 for as_dir in $PATH
1249 do
1250 IFS=$as_save_IFS
1251 test -z "$as_dir" && as_dir=.
1252 echo "PATH: $as_dir"
1253 done
1254
1255 } >&5
1256
1257 cat >&5 <<_ACEOF
1258
1259
1260 ## ----------- ##
1261 ## Core tests. ##
1262 ## ----------- ##
1263
1264 _ACEOF
1265
1266
1267 # Keep a trace of the command line.
1268 # Strip out --no-create and --no-recursion so they do not pile up.
1269 # Strip out --silent because we don't want to record it for future runs.
1270 # Also quote any args containing shell meta-characters.
1271 # Make two passes to allow for proper duplicate-argument suppression.
1272 ac_configure_args=
1273 ac_configure_args0=
1274 ac_configure_args1=
1275 ac_sep=
1276 ac_must_keep_next=false
1277 for ac_pass in 1 2
1278 do
1279 for ac_arg
1280 do
1281 case $ac_arg in
1282 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1283 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1284 | -silent | --silent | --silen | --sile | --sil)
1285 continue ;;
1286 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1287 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1288 esac
1289 case $ac_pass in
1290 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1291 2)
1292 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1293 if test $ac_must_keep_next = true; then
1294 ac_must_keep_next=false # Got value, back to normal.
1295 else
1296 case $ac_arg in
1297 *=* | --config-cache | -C | -disable-* | --disable-* \
1298 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1299 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1300 | -with-* | --with-* | -without-* | --without-* | --x)
1301 case "$ac_configure_args0 " in
1302 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1303 esac
1304 ;;
1305 -* ) ac_must_keep_next=true ;;
1306 esac
1307 fi
1308 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1309 # Get rid of the leading space.
1310 ac_sep=" "
1311 ;;
1312 esac
1313 done
1314 done
1315 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1316 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1317
1318 # When interrupted or exit'd, cleanup temporary files, and complete
1319 # config.log. We remove comments because anyway the quotes in there
1320 # would cause problems or look ugly.
1321 # WARNING: Be sure not to use single quotes in there, as some shells,
1322 # such as our DU 5.0 friend, will then `close' the trap.
1323 trap 'exit_status=$?
1324 # Save into config.log some information that might help in debugging.
1325 {
1326 echo
1327
1328 cat <<\_ASBOX
1329 ## ---------------- ##
1330 ## Cache variables. ##
1331 ## ---------------- ##
1332 _ASBOX
1333 echo
1334 # The following way of writing the cache mishandles newlines in values,
1335 {
1336 (set) 2>&1 |
1337 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1338 *ac_space=\ *)
1339 sed -n \
1340 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1341 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1342 ;;
1343 *)
1344 sed -n \
1345 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1346 ;;
1347 esac;
1348 }
1349 echo
1350
1351 cat <<\_ASBOX
1352 ## ----------------- ##
1353 ## Output variables. ##
1354 ## ----------------- ##
1355 _ASBOX
1356 echo
1357 for ac_var in $ac_subst_vars
1358 do
1359 eval ac_val=$`echo $ac_var`
1360 echo "$ac_var='"'"'$ac_val'"'"'"
1361 done | sort
1362 echo
1363
1364 if test -n "$ac_subst_files"; then
1365 cat <<\_ASBOX
1366 ## ------------- ##
1367 ## Output files. ##
1368 ## ------------- ##
1369 _ASBOX
1370 echo
1371 for ac_var in $ac_subst_files
1372 do
1373 eval ac_val=$`echo $ac_var`
1374 echo "$ac_var='"'"'$ac_val'"'"'"
1375 done | sort
1376 echo
1377 fi
1378
1379 if test -s confdefs.h; then
1380 cat <<\_ASBOX
1381 ## ----------- ##
1382 ## confdefs.h. ##
1383 ## ----------- ##
1384 _ASBOX
1385 echo
1386 sed "/^$/d" confdefs.h | sort
1387 echo
1388 fi
1389 test "$ac_signal" != 0 &&
1390 echo "$as_me: caught signal $ac_signal"
1391 echo "$as_me: exit $exit_status"
1392 } >&5
1393 rm -f core *.core &&
1394 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1395 exit $exit_status
1396 ' 0
1397 for ac_signal in 1 2 13 15; do
1398 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1399 done
1400 ac_signal=0
1401
1402 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1403 rm -rf conftest* confdefs.h
1404 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1405 echo >confdefs.h
1406
1407 # Predefined preprocessor variables.
1408
1409 cat >>confdefs.h <<_ACEOF
1410 #define PACKAGE_NAME "$PACKAGE_NAME"
1411 _ACEOF
1412
1413
1414 cat >>confdefs.h <<_ACEOF
1415 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1416 _ACEOF
1417
1418
1419 cat >>confdefs.h <<_ACEOF
1420 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1421 _ACEOF
1422
1423
1424 cat >>confdefs.h <<_ACEOF
1425 #define PACKAGE_STRING "$PACKAGE_STRING"
1426 _ACEOF
1427
1428
1429 cat >>confdefs.h <<_ACEOF
1430 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1431 _ACEOF
1432
1433
1434 # Let the site file select an alternate cache file if it wants to.
1435 # Prefer explicitly selected file to automatically selected ones.
1436 if test -z "$CONFIG_SITE"; then
1437 if test "x$prefix" != xNONE; then
1438 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1439 else
1440 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1441 fi
1442 fi
1443 for ac_site_file in $CONFIG_SITE; do
1444 if test -r "$ac_site_file"; then
1445 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1446 echo "$as_me: loading site script $ac_site_file" >&6;}
1447 sed 's/^/| /' "$ac_site_file" >&5
1448 . "$ac_site_file"
1449 fi
1450 done
1451
1452 if test -r "$cache_file"; then
1453 # Some versions of bash will fail to source /dev/null (special
1454 # files actually), so we avoid doing that.
1455 if test -f "$cache_file"; then
1456 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1457 echo "$as_me: loading cache $cache_file" >&6;}
1458 case $cache_file in
1459 [\\/]* | ?:[\\/]* ) . $cache_file;;
1460 *) . ./$cache_file;;
1461 esac
1462 fi
1463 else
1464 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1465 echo "$as_me: creating cache $cache_file" >&6;}
1466 >$cache_file
1467 fi
1468
1469 # Check that the precious variables saved in the cache have kept the same
1470 # value.
1471 ac_cache_corrupted=false
1472 for ac_var in `(set) 2>&1 |
1473 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1474 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1475 eval ac_new_set=\$ac_env_${ac_var}_set
1476 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1477 eval ac_new_val="\$ac_env_${ac_var}_value"
1478 case $ac_old_set,$ac_new_set in
1479 set,)
1480 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1481 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1482 ac_cache_corrupted=: ;;
1483 ,set)
1484 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1485 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1486 ac_cache_corrupted=: ;;
1487 ,);;
1488 *)
1489 if test "x$ac_old_val" != "x$ac_new_val"; then
1490 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1491 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1492 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1493 echo "$as_me: former value: $ac_old_val" >&2;}
1494 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1495 echo "$as_me: current value: $ac_new_val" >&2;}
1496 ac_cache_corrupted=:
1497 fi;;
1498 esac
1499 # Pass precious variables to config.status.
1500 if test "$ac_new_set" = set; then
1501 case $ac_new_val in
1502 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1503 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1504 *) ac_arg=$ac_var=$ac_new_val ;;
1505 esac
1506 case " $ac_configure_args " in
1507 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1508 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1509 esac
1510 fi
1511 done
1512 if $ac_cache_corrupted; then
1513 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1514 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1515 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1516 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1517 { (exit 1); exit 1; }; }
1518 fi
1519
1520 ac_ext=c
1521 ac_cpp='$CPP $CPPFLAGS'
1522 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1523 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1524 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555 ac_aux_dir=
1556 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1557 if test -f $ac_dir/install-sh; then
1558 ac_aux_dir=$ac_dir
1559 ac_install_sh="$ac_aux_dir/install-sh -c"
1560 break
1561 elif test -f $ac_dir/install.sh; then
1562 ac_aux_dir=$ac_dir
1563 ac_install_sh="$ac_aux_dir/install.sh -c"
1564 break
1565 elif test -f $ac_dir/shtool; then
1566 ac_aux_dir=$ac_dir
1567 ac_install_sh="$ac_aux_dir/shtool install -c"
1568 break
1569 fi
1570 done
1571 if test -z "$ac_aux_dir"; then
1572 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1573 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1574 { (exit 1); exit 1; }; }
1575 fi
1576 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1577 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1578 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1579
1580 # Make sure we can run config.sub.
1581 $ac_config_sub sun4 >/dev/null 2>&1 ||
1582 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1583 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1584 { (exit 1); exit 1; }; }
1585
1586 echo "$as_me:$LINENO: checking build system type" >&5
1587 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1588 if test "${ac_cv_build+set}" = set; then
1589 echo $ECHO_N "(cached) $ECHO_C" >&6
1590 else
1591 ac_cv_build_alias=$build_alias
1592 test -z "$ac_cv_build_alias" &&
1593 ac_cv_build_alias=`$ac_config_guess`
1594 test -z "$ac_cv_build_alias" &&
1595 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1596 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1597 { (exit 1); exit 1; }; }
1598 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1599 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1600 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1601 { (exit 1); exit 1; }; }
1602
1603 fi
1604 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1605 echo "${ECHO_T}$ac_cv_build" >&6
1606 build=$ac_cv_build
1607 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1608 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1609 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1610
1611
1612 echo "$as_me:$LINENO: checking host system type" >&5
1613 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1614 if test "${ac_cv_host+set}" = set; then
1615 echo $ECHO_N "(cached) $ECHO_C" >&6
1616 else
1617 ac_cv_host_alias=$host_alias
1618 test -z "$ac_cv_host_alias" &&
1619 ac_cv_host_alias=$ac_cv_build_alias
1620 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1621 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1622 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1623 { (exit 1); exit 1; }; }
1624
1625 fi
1626 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1627 echo "${ECHO_T}$ac_cv_host" >&6
1628 host=$ac_cv_host
1629 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1630 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1631 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1632
1633
1634 echo "$as_me:$LINENO: checking target system type" >&5
1635 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1636 if test "${ac_cv_target+set}" = set; then
1637 echo $ECHO_N "(cached) $ECHO_C" >&6
1638 else
1639 ac_cv_target_alias=$target_alias
1640 test "x$ac_cv_target_alias" = "x" &&
1641 ac_cv_target_alias=$ac_cv_host_alias
1642 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1643 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1644 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1645 { (exit 1); exit 1; }; }
1646
1647 fi
1648 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1649 echo "${ECHO_T}$ac_cv_target" >&6
1650 target=$ac_cv_target
1651 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1652 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1653 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1654
1655
1656 # The aliases save the names the user supplied, while $host etc.
1657 # will get canonicalized.
1658 test -n "$target_alias" &&
1659 test "$program_prefix$program_suffix$program_transform_name" = \
1660 NONENONEs,x,x, &&
1661 program_prefix=${target_alias}-
1662
1663
1664
1665 wx_major_version_number=2
1666 wx_minor_version_number=7
1667 wx_release_number=0
1668 wx_subrelease_number=0
1669
1670 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
1671 WX_VERSION=$WX_RELEASE.$wx_release_number
1672 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
1673
1674 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
1675
1676
1677
1678
1679 USE_UNIX=1
1680 USE_OS2=0
1681 USE_WIN32=0
1682 USE_DOS=0
1683 USE_BEOS=0
1684 USE_MAC=0
1685
1686 USE_AIX=
1687 USE_BSD= USE_DARWIN= USE_FREEBSD=
1688 USE_GNU= USE_HPUX=
1689 USE_LINUX=
1690 USE_NETBSD=
1691 USE_OPENBSD=
1692 USE_OSF= USE_SGI=
1693 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
1694 USE_ULTRIX=
1695 USE_UNIXWARE=
1696
1697 USE_ALPHA=
1698
1699 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
1700
1701 ALL_TOOLKITS="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11"
1702
1703 DEFAULT_wxUSE_COCOA=0
1704 DEFAULT_wxUSE_GTK=0
1705 DEFAULT_wxUSE_MAC=0
1706 DEFAULT_wxUSE_MGL=0
1707 DEFAULT_wxUSE_MICROWIN=0
1708 DEFAULT_wxUSE_MOTIF=0
1709 DEFAULT_wxUSE_MSW=0
1710 DEFAULT_wxUSE_PM=0
1711 DEFAULT_wxUSE_X11=0
1712
1713 DEFAULT_DEFAULT_wxUSE_COCOA=0
1714 DEFAULT_DEFAULT_wxUSE_GTK=0
1715 DEFAULT_DEFAULT_wxUSE_MAC=0
1716 DEFAULT_DEFAULT_wxUSE_MGL=0
1717 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
1718 DEFAULT_DEFAULT_wxUSE_MOTIF=0
1719 DEFAULT_DEFAULT_wxUSE_MSW=0
1720 DEFAULT_DEFAULT_wxUSE_PM=0
1721 DEFAULT_DEFAULT_wxUSE_X11=0
1722
1723 PROGRAM_EXT=
1724 SO_SUFFIX=so
1725 SAMPLES_RPATH_FLAG=
1726 SAMPLES_RPATH_POSTLINK=
1727
1728 DEFAULT_STD_FLAG=yes
1729
1730 case "${host}" in
1731 *-hp-hpux* )
1732 USE_HPUX=1
1733 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1734 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1735 SO_SUFFIX=sl
1736 cat >>confdefs.h <<\_ACEOF
1737 #define __HPUX__ 1
1738 _ACEOF
1739
1740 ;;
1741 *-*-linux* )
1742 USE_LINUX=1
1743 cat >>confdefs.h <<\_ACEOF
1744 #define __LINUX__ 1
1745 _ACEOF
1746
1747 TMP=`uname -m`
1748 if test "x$TMP" = "xalpha"; then
1749 USE_ALPHA=1
1750 cat >>confdefs.h <<\_ACEOF
1751 #define __ALPHA__ 1
1752 _ACEOF
1753
1754 fi
1755 DEFAULT_DEFAULT_wxUSE_GTK=1
1756 ;;
1757 *-*-gnu* | *-*-k*bsd*-gnu )
1758 USE_GNU=1
1759 TMP=`uname -m`
1760 if test "x$TMP" = "xalpha"; then
1761 USE_ALPHA=1
1762 cat >>confdefs.h <<\_ACEOF
1763 #define __ALPHA__ 1
1764 _ACEOF
1765
1766 fi
1767 DEFAULT_DEFAULT_wxUSE_GTK=1
1768 ;;
1769 *-*-irix5* | *-*-irix6* )
1770 USE_SGI=1
1771 USE_SVR4=1
1772 cat >>confdefs.h <<\_ACEOF
1773 #define __SGI__ 1
1774 _ACEOF
1775
1776 cat >>confdefs.h <<\_ACEOF
1777 #define __SVR4__ 1
1778 _ACEOF
1779
1780 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1781 ;;
1782 *-*-solaris2* )
1783 USE_SUN=1
1784 USE_SOLARIS=1
1785 USE_SVR4=1
1786 cat >>confdefs.h <<\_ACEOF
1787 #define __SUN__ 1
1788 _ACEOF
1789
1790 cat >>confdefs.h <<\_ACEOF
1791 #define __SOLARIS__ 1
1792 _ACEOF
1793
1794 cat >>confdefs.h <<\_ACEOF
1795 #define __SVR4__ 1
1796 _ACEOF
1797
1798 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1799 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1800 ;;
1801 *-*-sunos4* )
1802 USE_SUN=1
1803 USE_SUNOS=1
1804 USE_BSD=1
1805 cat >>confdefs.h <<\_ACEOF
1806 #define __SUN__ 1
1807 _ACEOF
1808
1809 cat >>confdefs.h <<\_ACEOF
1810 #define __SUNOS__ 1
1811 _ACEOF
1812
1813 cat >>confdefs.h <<\_ACEOF
1814 #define __BSD__ 1
1815 _ACEOF
1816
1817 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1818 ;;
1819 *-*-freebsd*)
1820 USE_BSD=1
1821 USE_FREEBSD=1
1822 cat >>confdefs.h <<\_ACEOF
1823 #define __FREEBSD__ 1
1824 _ACEOF
1825
1826 cat >>confdefs.h <<\_ACEOF
1827 #define __BSD__ 1
1828 _ACEOF
1829
1830 DEFAULT_DEFAULT_wxUSE_GTK=1
1831 ;;
1832 *-*-openbsd*)
1833 USE_BSD=1
1834 USE_OPENBSD=1
1835 cat >>confdefs.h <<\_ACEOF
1836 #define __OPENBSD__ 1
1837 _ACEOF
1838
1839 cat >>confdefs.h <<\_ACEOF
1840 #define __BSD__ 1
1841 _ACEOF
1842
1843 DEFAULT_DEFAULT_wxUSE_GTK=1
1844 ;;
1845 *-*-netbsd*)
1846 USE_BSD=1
1847 USE_NETBSD=1
1848 cat >>confdefs.h <<\_ACEOF
1849 #define __NETBSD__ 1
1850 _ACEOF
1851
1852 cat >>confdefs.h <<\_ACEOF
1853 #define __BSD__ 1
1854 _ACEOF
1855
1856 DEFAULT_DEFAULT_wxUSE_GTK=1
1857 ;;
1858 *-*-osf* )
1859 USE_ALPHA=1
1860 USE_OSF=1
1861 cat >>confdefs.h <<\_ACEOF
1862 #define __ALPHA__ 1
1863 _ACEOF
1864
1865 cat >>confdefs.h <<\_ACEOF
1866 #define __OSF__ 1
1867 _ACEOF
1868
1869 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1870 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1871 ;;
1872 *-*-dgux5* )
1873 USE_ALPHA=1
1874 USE_SVR4=1
1875 cat >>confdefs.h <<\_ACEOF
1876 #define __ALPHA__ 1
1877 _ACEOF
1878
1879 cat >>confdefs.h <<\_ACEOF
1880 #define __SVR4__ 1
1881 _ACEOF
1882
1883 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1884 ;;
1885 *-*-sysv5* )
1886 USE_SYSV=1
1887 USE_SVR4=1
1888 cat >>confdefs.h <<\_ACEOF
1889 #define __SYSV__ 1
1890 _ACEOF
1891
1892 cat >>confdefs.h <<\_ACEOF
1893 #define __SVR4__ 1
1894 _ACEOF
1895
1896 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1897 ;;
1898 *-*-aix* )
1899 USE_AIX=1
1900 USE_SYSV=1
1901 USE_SVR4=1
1902 SO_SUFFIX=a
1903 cat >>confdefs.h <<\_ACEOF
1904 #define __AIX__ 1
1905 _ACEOF
1906
1907 cat >>confdefs.h <<\_ACEOF
1908 #define __SYSV__ 1
1909 _ACEOF
1910
1911 cat >>confdefs.h <<\_ACEOF
1912 #define __SVR4__ 1
1913 _ACEOF
1914
1915 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1916 ;;
1917
1918 *-*-*UnixWare*)
1919 USE_SYSV=1
1920 USE_SVR4=1
1921 USE_UNIXWARE=1
1922 cat >>confdefs.h <<\_ACEOF
1923 #define __UNIXWARE__ 1
1924 _ACEOF
1925
1926 ;;
1927
1928 *-*-cygwin* | *-*-mingw32* )
1929 SO_SUFFIX=dll
1930 PROGRAM_EXT=".exe"
1931 DEFAULT_DEFAULT_wxUSE_MSW=1
1932 DEFAULT_STD_FLAG=no
1933 ;;
1934
1935 *-pc-msdosdjgpp )
1936 USE_UNIX=0
1937 USE_DOS=1
1938 cat >>confdefs.h <<\_ACEOF
1939 #define __DOS__ 1
1940 _ACEOF
1941
1942 PROGRAM_EXT=".exe"
1943 DEFAULT_DEFAULT_wxUSE_MGL=1
1944 ;;
1945
1946 *-pc-os2_emx | *-pc-os2-emx )
1947 cat >>confdefs.h <<\_ACEOF
1948 #define __EMX__ 1
1949 _ACEOF
1950
1951 USE_OS2=1
1952 cat >>confdefs.h <<\_ACEOF
1953 #define __OS2__ 1
1954 _ACEOF
1955
1956 PROGRAM_EXT=".exe"
1957 DEFAULT_DEFAULT_wxUSE_PM=1
1958 CXX=gcc
1959 LDFLAGS="$LDFLAGS -Zcrtdll"
1960 ac_executable_extensions=".exe"
1961 export ac_executable_extensions
1962 ac_save_IFS="$IFS"
1963 IFS='\\'
1964 ac_TEMP_PATH=
1965 for ac_dir in $PATH; do
1966 IFS=$ac_save_IFS
1967 if test -z "$ac_TEMP_PATH"; then
1968 ac_TEMP_PATH="$ac_dir"
1969 else
1970 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
1971 fi
1972 done
1973 export PATH="$ac_TEMP_PATH"
1974 unset ac_TEMP_PATH
1975 DEFAULT_STD_FLAG=no
1976 ;;
1977
1978 *-*-darwin* )
1979 USE_BSD=1
1980 USE_DARWIN=1
1981 SO_SUFFIX=dylib
1982 cat >>confdefs.h <<\_ACEOF
1983 #define __BSD__ 1
1984 _ACEOF
1985
1986 cat >>confdefs.h <<\_ACEOF
1987 #define __DARWIN__ 1
1988 _ACEOF
1989
1990 cat >>confdefs.h <<\_ACEOF
1991 #define TARGET_CARBON 1
1992 _ACEOF
1993
1994 DEFAULT_DEFAULT_wxUSE_MAC=1
1995 DEFAULT_STD_FLAG=no
1996 ;;
1997 powerpc-apple-macos* )
1998 USE_UNIX=0
1999 ac_cv_c_bigendian=yes
2000 SO_SUFFIX=shlib
2001 DEFAULT_DEFAULT_wxUSE_MAC=1
2002 DEFAULT_STD_FLAG=no
2003 ;;
2004
2005 *-*-beos* )
2006 USE_BEOS=1
2007 cat >>confdefs.h <<\_ACEOF
2008 #define __BEOS__ 1
2009 _ACEOF
2010
2011 ;;
2012
2013 *)
2014 { { echo "$as_me:$LINENO: error: unknown system type ${host}." >&5
2015 echo "$as_me: error: unknown system type ${host}." >&2;}
2016 { (exit 1); exit 1; }; }
2017 esac
2018
2019
2020
2021
2022 wx_arg_cache_file="configarg.cache"
2023 echo "loading argument cache $wx_arg_cache_file"
2024 rm -f ${wx_arg_cache_file}.tmp
2025 touch ${wx_arg_cache_file}.tmp
2026 touch ${wx_arg_cache_file}
2027
2028
2029 DEBUG_CONFIGURE=0
2030 if test $DEBUG_CONFIGURE = 1; then
2031 DEFAULT_wxUSE_UNIVERSAL=no
2032 DEFAULT_wxUSE_STL=no
2033
2034 DEFAULT_wxUSE_NANOX=no
2035
2036 DEFAULT_wxUSE_THREADS=yes
2037
2038 DEFAULT_wxUSE_SHARED=yes
2039 DEFAULT_wxUSE_OPTIMISE=no
2040 DEFAULT_wxUSE_PROFILE=no
2041 DEFAULT_wxUSE_NO_DEPS=no
2042 DEFAULT_wxUSE_NO_RTTI=no
2043 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2044 DEFAULT_wxUSE_RPATH=yes
2045 DEFAULT_wxUSE_PERMISSIVE=no
2046 DEFAULT_wxUSE_DEBUG_FLAG=yes
2047 DEFAULT_wxUSE_DEBUG_INFO=yes
2048 DEFAULT_wxUSE_DEBUG_GDB=yes
2049 DEFAULT_wxUSE_MEM_TRACING=no
2050 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2051 DEFAULT_wxUSE_DMALLOC=no
2052 DEFAULT_wxUSE_APPLE_IEEE=no
2053
2054 DEFAULT_wxUSE_EXCEPTIONS=no
2055 DEFAULT_wxUSE_LOG=yes
2056 DEFAULT_wxUSE_LOGWINDOW=no
2057 DEFAULT_wxUSE_LOGGUI=no
2058 DEFAULT_wxUSE_LOGDIALOG=no
2059
2060 DEFAULT_wxUSE_GUI=yes
2061 DEFAULT_wxUSE_CONTROLS=no
2062
2063 DEFAULT_wxUSE_REGEX=no
2064 DEFAULT_wxUSE_XML=no
2065 DEFAULT_wxUSE_EXPAT=no
2066 DEFAULT_wxUSE_ZLIB=no
2067 DEFAULT_wxUSE_LIBPNG=no
2068 DEFAULT_wxUSE_LIBJPEG=no
2069 DEFAULT_wxUSE_LIBTIFF=no
2070 DEFAULT_wxUSE_LIBXPM=no
2071 DEFAULT_wxUSE_LIBMSPACK=no
2072 DEFAULT_wxUSE_LIBSDL=no
2073 DEFAULT_wxUSE_LIBGNOMEPRINT=no
2074 DEFAULT_wxUSE_ODBC=no
2075 DEFAULT_wxUSE_OPENGL=no
2076
2077 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=no
2078 DEFAULT_wxUSE_STACKWALKER=no
2079 DEFAULT_wxUSE_DEBUGREPORT=no
2080 DEFAULT_wxUSE_SNGLINST_CHECKER=no
2081 DEFAULT_wxUSE_STD_IOSTREAM=no
2082 DEFAULT_wxUSE_STD_STRING=no
2083 DEFAULT_wxUSE_CMDLINE_PARSER=no
2084 DEFAULT_wxUSE_DATETIME=no
2085 DEFAULT_wxUSE_TIMER=no
2086 DEFAULT_wxUSE_STOPWATCH=no
2087 DEFAULT_wxUSE_FILE=no
2088 DEFAULT_wxUSE_FFILE=no
2089 DEFAULT_wxUSE_STDPATHS=no
2090 DEFAULT_wxUSE_TEXTBUFFER=no
2091 DEFAULT_wxUSE_TEXTFILE=no
2092 DEFAULT_wxUSE_SOUND=no
2093 DEFAULT_wxUSE_MEDIACTRL=no
2094 DEFAULT_wxUSE_INTL=no
2095 DEFAULT_wxUSE_CONFIG=no
2096 DEFAULT_wxUSE_FONTMAP=no
2097 DEFAULT_wxUSE_STREAMS=no
2098 DEFAULT_wxUSE_SOCKETS=no
2099 DEFAULT_wxUSE_OLE=no
2100 DEFAULT_wxUSE_DATAOBJ=no
2101 DEFAULT_wxUSE_DIALUP_MANAGER=no
2102 DEFAULT_wxUSE_JOYSTICK=no
2103 DEFAULT_wxUSE_DYNLIB_CLASS=no
2104 DEFAULT_wxUSE_DYNAMIC_LOADER=no
2105 DEFAULT_wxUSE_LONGLONG=no
2106 DEFAULT_wxUSE_GEOMETRY=no
2107
2108 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=no
2109 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=no
2110 DEFAULT_wxUSE_POSTSCRIPT=no
2111
2112 DEFAULT_wxUSE_CLIPBOARD=no
2113 DEFAULT_wxUSE_TOOLTIPS=no
2114 DEFAULT_wxUSE_DRAG_AND_DROP=no
2115 DEFAULT_wxUSE_DRAGIMAGE=no
2116 DEFAULT_wxUSE_SPLINES=no
2117 DEFAULT_wxUSE_MOUSEWHEEL=no
2118
2119 DEFAULT_wxUSE_MDI=no
2120 DEFAULT_wxUSE_MDI_ARCHITECTURE=no
2121 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=no
2122 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=no
2123
2124 DEFAULT_wxUSE_RESOURCES=no
2125 DEFAULT_wxUSE_CONSTRAINTS=no
2126 DEFAULT_wxUSE_IPC=no
2127 DEFAULT_wxUSE_HELP=no
2128 DEFAULT_wxUSE_MS_HTML_HELP=no
2129 DEFAULT_wxUSE_WXHTML_HELP=no
2130 DEFAULT_wxUSE_TREELAYOUT=no
2131 DEFAULT_wxUSE_METAFILE=no
2132 DEFAULT_wxUSE_MIMETYPE=no
2133 DEFAULT_wxUSE_SYSTEM_OPTIONS=no
2134 DEFAULT_wxUSE_PROTOCOL=no
2135 DEFAULT_wxUSE_PROTOCOL_HTTP=no
2136 DEFAULT_wxUSE_PROTOCOL_FTP=no
2137 DEFAULT_wxUSE_PROTOCOL_FILE=no
2138 DEFAULT_wxUSE_URL=no
2139
2140 DEFAULT_wxUSE_COMMONDLGS=no
2141 DEFAULT_wxUSE_CHOICEDLG=no
2142 DEFAULT_wxUSE_COLOURDLG=no
2143 DEFAULT_wxUSE_DIRDLG=no
2144 DEFAULT_wxUSE_FILEDLG=no
2145 DEFAULT_wxUSE_FINDREPLDLG=no
2146 DEFAULT_wxUSE_FONTDLG=no
2147 DEFAULT_wxUSE_MSGDLG=no
2148 DEFAULT_wxUSE_NUMBERDLG=no
2149 DEFAULT_wxUSE_TEXTDLG=no
2150 DEFAULT_wxUSE_SPLASH=no
2151 DEFAULT_wxUSE_STARTUP_TIPS=no
2152 DEFAULT_wxUSE_PROGRESSDLG=no
2153 DEFAULT_wxUSE_WIZARDDLG=no
2154
2155 DEFAULT_wxUSE_MENUS=no
2156 DEFAULT_wxUSE_MINIFRAME=no
2157 DEFAULT_wxUSE_HTML=no
2158 DEFAULT_wxUSE_XRC=no
2159 DEFAULT_wxUSE_WEBKIT=no
2160 DEFAULT_wxUSE_FILESYSTEM=no
2161 DEFAULT_wxUSE_FS_INET=no
2162 DEFAULT_wxUSE_FS_ZIP=no
2163 DEFAULT_wxUSE_BUSYINFO=no
2164 DEFAULT_wxUSE_ARCHIVE_STREAMS=no
2165 DEFAULT_wxUSE_ZIPSTREAM=no
2166 DEFAULT_wxUSE_VALIDATORS=no
2167
2168 DEFAULT_wxUSE_ACCEL=no
2169 DEFAULT_wxUSE_BUTTON=no
2170 DEFAULT_wxUSE_BMPBUTTON=no
2171 DEFAULT_wxUSE_CALCTRL=no
2172 DEFAULT_wxUSE_CARET=no
2173 DEFAULT_wxUSE_CHECKBOX=no
2174 DEFAULT_wxUSE_CHECKLST=no
2175 DEFAULT_wxUSE_CHOICE=no
2176 DEFAULT_wxUSE_CHOICEBOOK=no
2177 DEFAULT_wxUSE_COMBOBOX=no
2178 DEFAULT_wxUSE_DATEPICKCTRL=no
2179 DEFAULT_wxUSE_DISPLAY=no
2180 DEFAULT_wxUSE_GAUGE=no
2181 DEFAULT_wxUSE_GRID=no
2182 DEFAULT_wxUSE_IMAGLIST=no
2183 DEFAULT_wxUSE_LISTBOOK=no
2184 DEFAULT_wxUSE_LISTBOX=no
2185 DEFAULT_wxUSE_LISTCTRL=no
2186 DEFAULT_wxUSE_NOTEBOOK=no
2187 DEFAULT_wxUSE_RADIOBOX=no
2188 DEFAULT_wxUSE_RADIOBTN=no
2189 DEFAULT_wxUSE_SASH=no
2190 DEFAULT_wxUSE_SCROLLBAR=no
2191 DEFAULT_wxUSE_SLIDER=no
2192 DEFAULT_wxUSE_SPINBTN=no
2193 DEFAULT_wxUSE_SPINCTRL=no
2194 DEFAULT_wxUSE_SPLITTER=no
2195 DEFAULT_wxUSE_STATBMP=no
2196 DEFAULT_wxUSE_STATBOX=no
2197 DEFAULT_wxUSE_STATLINE=no
2198 DEFAULT_wxUSE_STATTEXT=no
2199 DEFAULT_wxUSE_STATUSBAR=yes
2200 DEFAULT_wxUSE_TABDIALOG=no
2201 DEFAULT_wxUSE_TEXTCTRL=no
2202 DEFAULT_wxUSE_TOGGLEBTN=no
2203 DEFAULT_wxUSE_TOOLBAR=no
2204 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
2205 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
2206 DEFAULT_wxUSE_TREECTRL=no
2207 DEFAULT_wxUSE_POPUPWIN=no
2208 DEFAULT_wxUSE_TIPWINDOW=no
2209
2210 DEFAULT_wxUSE_UNICODE=no
2211 DEFAULT_wxUSE_UNICODE_MSLU=no
2212 DEFAULT_wxUSE_WCSRTOMBS=no
2213
2214 DEFAULT_wxUSE_PALETTE=no
2215 DEFAULT_wxUSE_IMAGE=no
2216 DEFAULT_wxUSE_GIF=no
2217 DEFAULT_wxUSE_PCX=no
2218 DEFAULT_wxUSE_PNM=no
2219 DEFAULT_wxUSE_IFF=no
2220 DEFAULT_wxUSE_XPM=no
2221 DEFAULT_wxUSE_ICO_CUR=no
2222 DEFAULT_wxUSE_ACCESSIBILITY=no
2223
2224 DEFAULT_wxUSE_MONOLITHIC=no
2225 DEFAULT_wxUSE_PLUGINS=no
2226 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2227 else
2228 DEFAULT_wxUSE_UNIVERSAL=no
2229 DEFAULT_wxUSE_STL=no
2230
2231 DEFAULT_wxUSE_NANOX=no
2232
2233 DEFAULT_wxUSE_THREADS=yes
2234
2235 DEFAULT_wxUSE_SHARED=yes
2236 DEFAULT_wxUSE_OPTIMISE=yes
2237 DEFAULT_wxUSE_PROFILE=no
2238 DEFAULT_wxUSE_NO_DEPS=no
2239 DEFAULT_wxUSE_NO_RTTI=no
2240 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2241 DEFAULT_wxUSE_RPATH=yes
2242 DEFAULT_wxUSE_PERMISSIVE=no
2243 DEFAULT_wxUSE_DEBUG_FLAG=no
2244 DEFAULT_wxUSE_DEBUG_INFO=no
2245 DEFAULT_wxUSE_DEBUG_GDB=no
2246 DEFAULT_wxUSE_MEM_TRACING=no
2247 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2248 DEFAULT_wxUSE_DMALLOC=no
2249 DEFAULT_wxUSE_APPLE_IEEE=yes
2250
2251 DEFAULT_wxUSE_EXCEPTIONS=yes
2252 DEFAULT_wxUSE_LOG=yes
2253 DEFAULT_wxUSE_LOGWINDOW=yes
2254 DEFAULT_wxUSE_LOGGUI=yes
2255 DEFAULT_wxUSE_LOGDIALOG=yes
2256
2257 DEFAULT_wxUSE_GUI=yes
2258
2259 DEFAULT_wxUSE_REGEX=yes
2260 DEFAULT_wxUSE_XML=yes
2261 DEFAULT_wxUSE_EXPAT=yes
2262 DEFAULT_wxUSE_ZLIB=yes
2263 DEFAULT_wxUSE_LIBPNG=yes
2264 DEFAULT_wxUSE_LIBJPEG=yes
2265 DEFAULT_wxUSE_LIBTIFF=yes
2266 DEFAULT_wxUSE_LIBXPM=yes
2267 DEFAULT_wxUSE_LIBMSPACK=yes
2268 DEFAULT_wxUSE_LIBSDL=no
2269 DEFAULT_wxUSE_LIBGNOMEPRINT=no
2270 DEFAULT_wxUSE_ODBC=no
2271 DEFAULT_wxUSE_OPENGL=no
2272
2273 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=yes
2274 DEFAULT_wxUSE_STACKWALKER=yes
2275 DEFAULT_wxUSE_DEBUGREPORT=yes
2276 DEFAULT_wxUSE_SNGLINST_CHECKER=yes
2277 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
2278 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
2279 DEFAULT_wxUSE_CMDLINE_PARSER=yes
2280 DEFAULT_wxUSE_DATETIME=yes
2281 DEFAULT_wxUSE_TIMER=yes
2282 DEFAULT_wxUSE_STOPWATCH=yes
2283 DEFAULT_wxUSE_FILE=yes
2284 DEFAULT_wxUSE_FFILE=yes
2285 DEFAULT_wxUSE_STDPATHS=yes
2286 DEFAULT_wxUSE_TEXTBUFFER=yes
2287 DEFAULT_wxUSE_TEXTFILE=yes
2288 DEFAULT_wxUSE_SOUND=yes
2289 DEFAULT_wxUSE_MEDIACTRL=no
2290 DEFAULT_wxUSE_INTL=yes
2291 DEFAULT_wxUSE_CONFIG=yes
2292 DEFAULT_wxUSE_FONTMAP=yes
2293 DEFAULT_wxUSE_STREAMS=yes
2294 DEFAULT_wxUSE_SOCKETS=yes
2295 DEFAULT_wxUSE_OLE=yes
2296 DEFAULT_wxUSE_DATAOBJ=yes
2297 DEFAULT_wxUSE_DIALUP_MANAGER=yes
2298 DEFAULT_wxUSE_JOYSTICK=yes
2299 DEFAULT_wxUSE_DYNLIB_CLASS=yes
2300 DEFAULT_wxUSE_DYNAMIC_LOADER=yes
2301 DEFAULT_wxUSE_LONGLONG=yes
2302 DEFAULT_wxUSE_GEOMETRY=yes
2303
2304 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=yes
2305 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=yes
2306 DEFAULT_wxUSE_POSTSCRIPT=yes
2307
2308 DEFAULT_wxUSE_CLIPBOARD=yes
2309 DEFAULT_wxUSE_TOOLTIPS=yes
2310 DEFAULT_wxUSE_DRAG_AND_DROP=yes
2311 DEFAULT_wxUSE_DRAGIMAGE=yes
2312 DEFAULT_wxUSE_SPLINES=yes
2313 DEFAULT_wxUSE_MOUSEWHEEL=yes
2314
2315 DEFAULT_wxUSE_MDI=yes
2316 DEFAULT_wxUSE_MDI_ARCHITECTURE=yes
2317 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=yes
2318 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=yes
2319
2320 DEFAULT_wxUSE_RESOURCES=no
2321 DEFAULT_wxUSE_CONSTRAINTS=yes
2322 DEFAULT_wxUSE_IPC=yes
2323 DEFAULT_wxUSE_HELP=yes
2324 DEFAULT_wxUSE_MS_HTML_HELP=yes
2325 DEFAULT_wxUSE_WXHTML_HELP=yes
2326 DEFAULT_wxUSE_TREELAYOUT=yes
2327 DEFAULT_wxUSE_METAFILE=yes
2328 DEFAULT_wxUSE_MIMETYPE=yes
2329 DEFAULT_wxUSE_SYSTEM_OPTIONS=yes
2330 DEFAULT_wxUSE_PROTOCOL=yes
2331 DEFAULT_wxUSE_PROTOCOL_HTTP=yes
2332 DEFAULT_wxUSE_PROTOCOL_FTP=yes
2333 DEFAULT_wxUSE_PROTOCOL_FILE=yes
2334 DEFAULT_wxUSE_URL=yes
2335
2336 DEFAULT_wxUSE_COMMONDLGS=yes
2337 DEFAULT_wxUSE_CHOICEDLG=yes
2338 DEFAULT_wxUSE_COLOURDLG=yes
2339 DEFAULT_wxUSE_DIRDLG=yes
2340 DEFAULT_wxUSE_FILEDLG=yes
2341 DEFAULT_wxUSE_FINDREPLDLG=yes
2342 DEFAULT_wxUSE_FONTDLG=yes
2343 DEFAULT_wxUSE_MSGDLG=yes
2344 DEFAULT_wxUSE_NUMBERDLG=yes
2345 DEFAULT_wxUSE_TEXTDLG=yes
2346 DEFAULT_wxUSE_SPLASH=yes
2347 DEFAULT_wxUSE_STARTUP_TIPS=yes
2348 DEFAULT_wxUSE_PROGRESSDLG=yes
2349 DEFAULT_wxUSE_WIZARDDLG=yes
2350
2351 DEFAULT_wxUSE_MENUS=yes
2352 DEFAULT_wxUSE_MINIFRAME=yes
2353 DEFAULT_wxUSE_HTML=yes
2354 DEFAULT_wxUSE_XRC=yes
2355 DEFAULT_wxUSE_WEBKIT=yes
2356 DEFAULT_wxUSE_FILESYSTEM=yes
2357 DEFAULT_wxUSE_FS_INET=yes
2358 DEFAULT_wxUSE_FS_ZIP=yes
2359 DEFAULT_wxUSE_BUSYINFO=yes
2360 DEFAULT_wxUSE_ARCHIVE_STREAMS=yes
2361 DEFAULT_wxUSE_ZIPSTREAM=yes
2362 DEFAULT_wxUSE_VALIDATORS=yes
2363
2364 DEFAULT_wxUSE_ACCEL=yes
2365 DEFAULT_wxUSE_BUTTON=yes
2366 DEFAULT_wxUSE_BMPBUTTON=yes
2367 DEFAULT_wxUSE_CALCTRL=yes
2368 DEFAULT_wxUSE_CARET=yes
2369 DEFAULT_wxUSE_CHECKBOX=yes
2370 DEFAULT_wxUSE_CHECKLST=yes
2371 DEFAULT_wxUSE_CHOICE=yes
2372 DEFAULT_wxUSE_CHOICEBOOK=yes
2373 DEFAULT_wxUSE_COMBOBOX=yes
2374 DEFAULT_wxUSE_DATEPICKCTRL=yes
2375 DEFAULT_wxUSE_DISPLAY=yes
2376 DEFAULT_wxUSE_GAUGE=yes
2377 DEFAULT_wxUSE_GRID=yes
2378 DEFAULT_wxUSE_IMAGLIST=yes
2379 DEFAULT_wxUSE_LISTBOOK=yes
2380 DEFAULT_wxUSE_LISTBOX=yes
2381 DEFAULT_wxUSE_LISTCTRL=yes
2382 DEFAULT_wxUSE_NOTEBOOK=yes
2383 DEFAULT_wxUSE_RADIOBOX=yes
2384 DEFAULT_wxUSE_RADIOBTN=yes
2385 DEFAULT_wxUSE_SASH=yes
2386 DEFAULT_wxUSE_SCROLLBAR=yes
2387 DEFAULT_wxUSE_SLIDER=yes
2388 DEFAULT_wxUSE_SPINBTN=yes
2389 DEFAULT_wxUSE_SPINCTRL=yes
2390 DEFAULT_wxUSE_SPLITTER=yes
2391 DEFAULT_wxUSE_STATBMP=yes
2392 DEFAULT_wxUSE_STATBOX=yes
2393 DEFAULT_wxUSE_STATLINE=yes
2394 DEFAULT_wxUSE_STATTEXT=yes
2395 DEFAULT_wxUSE_STATUSBAR=yes
2396 DEFAULT_wxUSE_TABDIALOG=no
2397 DEFAULT_wxUSE_TEXTCTRL=yes
2398 DEFAULT_wxUSE_TOGGLEBTN=yes
2399 DEFAULT_wxUSE_TOOLBAR=yes
2400 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
2401 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
2402 DEFAULT_wxUSE_TREECTRL=yes
2403 DEFAULT_wxUSE_POPUPWIN=yes
2404 DEFAULT_wxUSE_TIPWINDOW=yes
2405
2406 DEFAULT_wxUSE_UNICODE=no
2407 DEFAULT_wxUSE_UNICODE_MSLU=yes
2408 DEFAULT_wxUSE_WCSRTOMBS=no
2409
2410 DEFAULT_wxUSE_PALETTE=yes
2411 DEFAULT_wxUSE_IMAGE=yes
2412 DEFAULT_wxUSE_GIF=yes
2413 DEFAULT_wxUSE_PCX=yes
2414 DEFAULT_wxUSE_IFF=no
2415 DEFAULT_wxUSE_PNM=yes
2416 DEFAULT_wxUSE_XPM=yes
2417 DEFAULT_wxUSE_ICO_CUR=yes
2418 DEFAULT_wxUSE_ACCESSIBILITY=no
2419
2420 DEFAULT_wxUSE_MONOLITHIC=no
2421 DEFAULT_wxUSE_PLUGINS=no
2422 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2423
2424 DEFAULT_wxUSE_GTK2=yes
2425 fi
2426
2427
2428
2429
2430 for toolkit in `echo $ALL_TOOLKITS`; do
2431 LINE=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2432 if test "x$LINE" != "x" ; then
2433 has_toolkit_in_cache=1
2434 eval "DEFAULT_$LINE"
2435 eval "CACHE_$toolkit=1"
2436
2437 LINE=`grep "wx${toolkit}_VERSION=" ${wx_arg_cache_file}`
2438 if test "x$LINE" != "x" ; then
2439 eval "DEFAULT_$LINE"
2440 fi
2441 fi
2442 done
2443
2444
2445
2446 enablestring=
2447 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2448 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6
2449 no_cache=0
2450 # Check whether --enable-gui or --disable-gui was given.
2451 if test "${enable_gui+set}" = set; then
2452 enableval="$enable_gui"
2453
2454 if test "$enableval" = yes; then
2455 ac_cv_use_gui='wxUSE_GUI=yes'
2456 else
2457 ac_cv_use_gui='wxUSE_GUI=no'
2458 fi
2459
2460 else
2461
2462 LINE=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
2463 if test "x$LINE" != x ; then
2464 eval "DEFAULT_$LINE"
2465 else
2466 no_cache=1
2467 fi
2468
2469 ac_cv_use_gui='wxUSE_GUI='$DEFAULT_wxUSE_GUI
2470
2471 fi;
2472
2473 eval "$ac_cv_use_gui"
2474 if test "$no_cache" != 1; then
2475 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2476 fi
2477
2478 if test "$wxUSE_GUI" = yes; then
2479 echo "$as_me:$LINENO: result: yes" >&5
2480 echo "${ECHO_T}yes" >&6
2481 else
2482 echo "$as_me:$LINENO: result: no" >&5
2483 echo "${ECHO_T}no" >&6
2484 fi
2485
2486
2487 enablestring=
2488 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2489 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6
2490 no_cache=0
2491 # Check whether --enable-monolithic or --disable-monolithic was given.
2492 if test "${enable_monolithic+set}" = set; then
2493 enableval="$enable_monolithic"
2494
2495 if test "$enableval" = yes; then
2496 ac_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
2497 else
2498 ac_cv_use_monolithic='wxUSE_MONOLITHIC=no'
2499 fi
2500
2501 else
2502
2503 LINE=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
2504 if test "x$LINE" != x ; then
2505 eval "DEFAULT_$LINE"
2506 else
2507 no_cache=1
2508 fi
2509
2510 ac_cv_use_monolithic='wxUSE_MONOLITHIC='$DEFAULT_wxUSE_MONOLITHIC
2511
2512 fi;
2513
2514 eval "$ac_cv_use_monolithic"
2515 if test "$no_cache" != 1; then
2516 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
2517 fi
2518
2519 if test "$wxUSE_MONOLITHIC" = yes; then
2520 echo "$as_me:$LINENO: result: yes" >&5
2521 echo "${ECHO_T}yes" >&6
2522 else
2523 echo "$as_me:$LINENO: result: no" >&5
2524 echo "${ECHO_T}no" >&6
2525 fi
2526
2527
2528 enablestring=
2529 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
2530 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6
2531 no_cache=0
2532 # Check whether --enable-plugins or --disable-plugins was given.
2533 if test "${enable_plugins+set}" = set; then
2534 enableval="$enable_plugins"
2535
2536 if test "$enableval" = yes; then
2537 ac_cv_use_plugins='wxUSE_PLUGINS=yes'
2538 else
2539 ac_cv_use_plugins='wxUSE_PLUGINS=no'
2540 fi
2541
2542 else
2543
2544 LINE=`grep "wxUSE_PLUGINS" ${wx_arg_cache_file}`
2545 if test "x$LINE" != x ; then
2546 eval "DEFAULT_$LINE"
2547 else
2548 no_cache=1
2549 fi
2550
2551 ac_cv_use_plugins='wxUSE_PLUGINS='$DEFAULT_wxUSE_PLUGINS
2552
2553 fi;
2554
2555 eval "$ac_cv_use_plugins"
2556 if test "$no_cache" != 1; then
2557 echo $ac_cv_use_plugins >> ${wx_arg_cache_file}.tmp
2558 fi
2559
2560 if test "$wxUSE_PLUGINS" = yes; then
2561 echo "$as_me:$LINENO: result: yes" >&5
2562 echo "${ECHO_T}yes" >&6
2563 else
2564 echo "$as_me:$LINENO: result: no" >&5
2565 echo "${ECHO_T}no" >&6
2566 fi
2567
2568
2569 withstring=without
2570 echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
2571 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6
2572 no_cache=0
2573
2574 # Check whether --with-subdirs or --without-subdirs was given.
2575 if test "${with_subdirs+set}" = set; then
2576 withval="$with_subdirs"
2577
2578 if test "$withval" = yes; then
2579 ac_cv_use_subdirs='wxWITH_SUBDIRS=yes'
2580 else
2581 ac_cv_use_subdirs='wxWITH_SUBDIRS=no'
2582 fi
2583
2584 else
2585
2586 LINE=`grep "wxWITH_SUBDIRS" ${wx_arg_cache_file}`
2587 if test "x$LINE" != x ; then
2588 eval "DEFAULT_$LINE"
2589 else
2590 no_cache=1
2591 fi
2592
2593 ac_cv_use_subdirs='wxWITH_SUBDIRS='$DEFAULT_wxWITH_SUBDIRS
2594
2595 fi;
2596
2597 eval "$ac_cv_use_subdirs"
2598 if test "$no_cache" != 1; then
2599 echo $ac_cv_use_subdirs >> ${wx_arg_cache_file}.tmp
2600 fi
2601
2602 if test "$wxWITH_SUBDIRS" = yes; then
2603 echo "$as_me:$LINENO: result: yes" >&5
2604 echo "${ECHO_T}yes" >&6
2605 else
2606 echo "$as_me:$LINENO: result: no" >&5
2607 echo "${ECHO_T}no" >&6
2608 fi
2609
2610
2611 if test "$wxUSE_GUI" = "yes"; then
2612
2613
2614 enablestring=
2615 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
2616 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6
2617 no_cache=0
2618 # Check whether --enable-universal or --disable-universal was given.
2619 if test "${enable_universal+set}" = set; then
2620 enableval="$enable_universal"
2621
2622 if test "$enableval" = yes; then
2623 ac_cv_use_universal='wxUSE_UNIVERSAL=yes'
2624 else
2625 ac_cv_use_universal='wxUSE_UNIVERSAL=no'
2626 fi
2627
2628 else
2629
2630 LINE=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
2631 if test "x$LINE" != x ; then
2632 eval "DEFAULT_$LINE"
2633 else
2634 no_cache=1
2635 fi
2636
2637 ac_cv_use_universal='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
2638
2639 fi;
2640
2641 eval "$ac_cv_use_universal"
2642 if test "$no_cache" != 1; then
2643 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
2644 fi
2645
2646 if test "$wxUSE_UNIVERSAL" = yes; then
2647 echo "$as_me:$LINENO: result: yes" >&5
2648 echo "${ECHO_T}yes" >&6
2649 else
2650 echo "$as_me:$LINENO: result: no" >&5
2651 echo "${ECHO_T}no" >&6
2652 fi
2653
2654
2655 # Check whether --with-gtk or --without-gtk was given.
2656 if test "${with_gtk+set}" = set; then
2657 withval="$with_gtk"
2658 wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
2659 fi;
2660
2661 # Check whether --with-motif or --without-motif was given.
2662 if test "${with_motif+set}" = set; then
2663 withval="$with_motif"
2664 wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
2665 fi;
2666
2667 # Check whether --with-mac or --without-mac was given.
2668 if test "${with_mac+set}" = set; then
2669 withval="$with_mac"
2670 wxUSE_MAC="$withval" CACHE_MAC=1 TOOLKIT_GIVEN=1
2671 fi;
2672
2673 # Check whether --with-cocoa or --without-cocoa was given.
2674 if test "${with_cocoa+set}" = set; then
2675 withval="$with_cocoa"
2676 wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
2677 fi;
2678
2679 # Check whether --with-wine or --without-wine was given.
2680 if test "${with_wine+set}" = set; then
2681 withval="$with_wine"
2682 wxUSE_WINE="$withval" CACHE_WINE=1
2683 fi;
2684
2685 # Check whether --with-msw or --without-msw was given.
2686 if test "${with_msw+set}" = set; then
2687 withval="$with_msw"
2688 wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
2689 fi;
2690
2691 # Check whether --with-pm or --without-pm was given.
2692 if test "${with_pm+set}" = set; then
2693 withval="$with_pm"
2694 wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
2695 fi;
2696
2697 # Check whether --with-mgl or --without-mgl was given.
2698 if test "${with_mgl+set}" = set; then
2699 withval="$with_mgl"
2700 wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
2701 fi;
2702
2703 # Check whether --with-microwin or --without-microwin was given.
2704 if test "${with_microwin+set}" = set; then
2705 withval="$with_microwin"
2706 wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
2707 fi;
2708
2709 # Check whether --with-x11 or --without-x11 was given.
2710 if test "${with_x11+set}" = set; then
2711 withval="$with_x11"
2712 wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
2713 fi;
2714
2715 enablestring=
2716 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
2717 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6
2718 no_cache=0
2719 # Check whether --enable-nanox or --disable-nanox was given.
2720 if test "${enable_nanox+set}" = set; then
2721 enableval="$enable_nanox"
2722
2723 if test "$enableval" = yes; then
2724 ac_cv_use_nanox='wxUSE_NANOX=yes'
2725 else
2726 ac_cv_use_nanox='wxUSE_NANOX=no'
2727 fi
2728
2729 else
2730
2731 LINE=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
2732 if test "x$LINE" != x ; then
2733 eval "DEFAULT_$LINE"
2734 else
2735 no_cache=1
2736 fi
2737
2738 ac_cv_use_nanox='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
2739
2740 fi;
2741
2742 eval "$ac_cv_use_nanox"
2743 if test "$no_cache" != 1; then
2744 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
2745 fi
2746
2747 if test "$wxUSE_NANOX" = yes; then
2748 echo "$as_me:$LINENO: result: yes" >&5
2749 echo "${ECHO_T}yes" >&6
2750 else
2751 echo "$as_me:$LINENO: result: no" >&5
2752 echo "${ECHO_T}no" >&6
2753 fi
2754
2755
2756 # Check whether --enable-gtk2 or --disable-gtk2 was given.
2757 if test "${enable_gtk2+set}" = set; then
2758 enableval="$enable_gtk2"
2759 wxUSE_GTK2="$enableval"
2760 fi;
2761
2762 enablestring=
2763 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
2764 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6
2765 no_cache=0
2766 # Check whether --enable-gpe or --disable-gpe was given.
2767 if test "${enable_gpe+set}" = set; then
2768 enableval="$enable_gpe"
2769
2770 if test "$enableval" = yes; then
2771 ac_cv_use_gpe='wxUSE_GPE=yes'
2772 else
2773 ac_cv_use_gpe='wxUSE_GPE=no'
2774 fi
2775
2776 else
2777
2778 LINE=`grep "wxUSE_GPE" ${wx_arg_cache_file}`
2779 if test "x$LINE" != x ; then
2780 eval "DEFAULT_$LINE"
2781 else
2782 no_cache=1
2783 fi
2784
2785 ac_cv_use_gpe='wxUSE_GPE='$DEFAULT_wxUSE_GPE
2786
2787 fi;
2788
2789 eval "$ac_cv_use_gpe"
2790 if test "$no_cache" != 1; then
2791 echo $ac_cv_use_gpe >> ${wx_arg_cache_file}.tmp
2792 fi
2793
2794 if test "$wxUSE_GPE" = yes; then
2795 echo "$as_me:$LINENO: result: yes" >&5
2796 echo "${ECHO_T}yes" >&6
2797 else
2798 echo "$as_me:$LINENO: result: no" >&5
2799 echo "${ECHO_T}no" >&6
2800 fi
2801
2802
2803
2804 echo "$as_me:$LINENO: checking for --with-libpng" >&5
2805 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
2806 no_cache=0
2807
2808 # Check whether --with-libpng or --without-libpng was given.
2809 if test "${with_libpng+set}" = set; then
2810 withval="$with_libpng"
2811
2812 if test "$withval" = yes; then
2813 ac_cv_use_libpng='wxUSE_LIBPNG=yes'
2814 elif test "$withval" = no; then
2815 ac_cv_use_libpng='wxUSE_LIBPNG=no'
2816 elif test "$withval" = sys; then
2817 ac_cv_use_libpng='wxUSE_LIBPNG=sys'
2818 elif test "$withval" = builtin; then
2819 ac_cv_use_libpng='wxUSE_LIBPNG=builtin'
2820 else
2821 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2822 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2823 { (exit 1); exit 1; }; }
2824 fi
2825
2826 else
2827
2828 LINE=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
2829 if test "x$LINE" != x ; then
2830 eval "DEFAULT_$LINE"
2831 else
2832 no_cache=1
2833 fi
2834
2835 ac_cv_use_libpng='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
2836
2837 fi;
2838
2839 eval "$ac_cv_use_libpng"
2840 if test "$no_cache" != 1; then
2841 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
2842 fi
2843
2844 if test "$wxUSE_LIBPNG" = yes; then
2845 echo "$as_me:$LINENO: result: yes" >&5
2846 echo "${ECHO_T}yes" >&6
2847 elif test "$wxUSE_LIBPNG" = no; then
2848 echo "$as_me:$LINENO: result: no" >&5
2849 echo "${ECHO_T}no" >&6
2850 elif test "$wxUSE_LIBPNG" = sys; then
2851 echo "$as_me:$LINENO: result: system version" >&5
2852 echo "${ECHO_T}system version" >&6
2853 elif test "$wxUSE_LIBPNG" = builtin; then
2854 echo "$as_me:$LINENO: result: builtin version" >&5
2855 echo "${ECHO_T}builtin version" >&6
2856 else
2857 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2858 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2859 { (exit 1); exit 1; }; }
2860 fi
2861
2862
2863 echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
2864 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
2865 no_cache=0
2866
2867 # Check whether --with-libjpeg or --without-libjpeg was given.
2868 if test "${with_libjpeg+set}" = set; then
2869 withval="$with_libjpeg"
2870
2871 if test "$withval" = yes; then
2872 ac_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
2873 elif test "$withval" = no; then
2874 ac_cv_use_libjpeg='wxUSE_LIBJPEG=no'
2875 elif test "$withval" = sys; then
2876 ac_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
2877 elif test "$withval" = builtin; then
2878 ac_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
2879 else
2880 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2881 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2882 { (exit 1); exit 1; }; }
2883 fi
2884
2885 else
2886
2887 LINE=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
2888 if test "x$LINE" != x ; then
2889 eval "DEFAULT_$LINE"
2890 else
2891 no_cache=1
2892 fi
2893
2894 ac_cv_use_libjpeg='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
2895
2896 fi;
2897
2898 eval "$ac_cv_use_libjpeg"
2899 if test "$no_cache" != 1; then
2900 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
2901 fi
2902
2903 if test "$wxUSE_LIBJPEG" = yes; then
2904 echo "$as_me:$LINENO: result: yes" >&5
2905 echo "${ECHO_T}yes" >&6
2906 elif test "$wxUSE_LIBJPEG" = no; then
2907 echo "$as_me:$LINENO: result: no" >&5
2908 echo "${ECHO_T}no" >&6
2909 elif test "$wxUSE_LIBJPEG" = sys; then
2910 echo "$as_me:$LINENO: result: system version" >&5
2911 echo "${ECHO_T}system version" >&6
2912 elif test "$wxUSE_LIBJPEG" = builtin; then
2913 echo "$as_me:$LINENO: result: builtin version" >&5
2914 echo "${ECHO_T}builtin version" >&6
2915 else
2916 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2917 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2918 { (exit 1); exit 1; }; }
2919 fi
2920
2921
2922 echo "$as_me:$LINENO: checking for --with-libtiff" >&5
2923 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
2924 no_cache=0
2925
2926 # Check whether --with-libtiff or --without-libtiff was given.
2927 if test "${with_libtiff+set}" = set; then
2928 withval="$with_libtiff"
2929
2930 if test "$withval" = yes; then
2931 ac_cv_use_libtiff='wxUSE_LIBTIFF=yes'
2932 elif test "$withval" = no; then
2933 ac_cv_use_libtiff='wxUSE_LIBTIFF=no'
2934 elif test "$withval" = sys; then
2935 ac_cv_use_libtiff='wxUSE_LIBTIFF=sys'
2936 elif test "$withval" = builtin; then
2937 ac_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
2938 else
2939 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2940 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2941 { (exit 1); exit 1; }; }
2942 fi
2943
2944 else
2945
2946 LINE=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
2947 if test "x$LINE" != x ; then
2948 eval "DEFAULT_$LINE"
2949 else
2950 no_cache=1
2951 fi
2952
2953 ac_cv_use_libtiff='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
2954
2955 fi;
2956
2957 eval "$ac_cv_use_libtiff"
2958 if test "$no_cache" != 1; then
2959 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
2960 fi
2961
2962 if test "$wxUSE_LIBTIFF" = yes; then
2963 echo "$as_me:$LINENO: result: yes" >&5
2964 echo "${ECHO_T}yes" >&6
2965 elif test "$wxUSE_LIBTIFF" = no; then
2966 echo "$as_me:$LINENO: result: no" >&5
2967 echo "${ECHO_T}no" >&6
2968 elif test "$wxUSE_LIBTIFF" = sys; then
2969 echo "$as_me:$LINENO: result: system version" >&5
2970 echo "${ECHO_T}system version" >&6
2971 elif test "$wxUSE_LIBTIFF" = builtin; then
2972 echo "$as_me:$LINENO: result: builtin version" >&5
2973 echo "${ECHO_T}builtin version" >&6
2974 else
2975 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2976 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2977 { (exit 1); exit 1; }; }
2978 fi
2979
2980
2981 echo "$as_me:$LINENO: checking for --with-libxpm" >&5
2982 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6
2983 no_cache=0
2984
2985 # Check whether --with-libxpm or --without-libxpm was given.
2986 if test "${with_libxpm+set}" = set; then
2987 withval="$with_libxpm"
2988
2989 if test "$withval" = yes; then
2990 ac_cv_use_libxpm='wxUSE_LIBXPM=yes'
2991 elif test "$withval" = no; then
2992 ac_cv_use_libxpm='wxUSE_LIBXPM=no'
2993 elif test "$withval" = sys; then
2994 ac_cv_use_libxpm='wxUSE_LIBXPM=sys'
2995 elif test "$withval" = builtin; then
2996 ac_cv_use_libxpm='wxUSE_LIBXPM=builtin'
2997 else
2998 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
2999 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3000 { (exit 1); exit 1; }; }
3001 fi
3002
3003 else
3004
3005 LINE=`grep "wxUSE_LIBXPM" ${wx_arg_cache_file}`
3006 if test "x$LINE" != x ; then
3007 eval "DEFAULT_$LINE"
3008 else
3009 no_cache=1
3010 fi
3011
3012 ac_cv_use_libxpm='wxUSE_LIBXPM='$DEFAULT_wxUSE_LIBXPM
3013
3014 fi;
3015
3016 eval "$ac_cv_use_libxpm"
3017 if test "$no_cache" != 1; then
3018 echo $ac_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
3019 fi
3020
3021 if test "$wxUSE_LIBXPM" = yes; then
3022 echo "$as_me:$LINENO: result: yes" >&5
3023 echo "${ECHO_T}yes" >&6
3024 elif test "$wxUSE_LIBXPM" = no; then
3025 echo "$as_me:$LINENO: result: no" >&5
3026 echo "${ECHO_T}no" >&6
3027 elif test "$wxUSE_LIBXPM" = sys; then
3028 echo "$as_me:$LINENO: result: system version" >&5
3029 echo "${ECHO_T}system version" >&6
3030 elif test "$wxUSE_LIBXPM" = builtin; then
3031 echo "$as_me:$LINENO: result: builtin version" >&5
3032 echo "${ECHO_T}builtin version" >&6
3033 else
3034 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3035 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3036 { (exit 1); exit 1; }; }
3037 fi
3038
3039
3040 withstring=
3041 echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3042 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6
3043 no_cache=0
3044
3045 # Check whether --with-libmspack or --without-libmspack was given.
3046 if test "${with_libmspack+set}" = set; then
3047 withval="$with_libmspack"
3048
3049 if test "$withval" = yes; then
3050 ac_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3051 else
3052 ac_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3053 fi
3054
3055 else
3056
3057 LINE=`grep "wxUSE_LIBMSPACK" ${wx_arg_cache_file}`
3058 if test "x$LINE" != x ; then
3059 eval "DEFAULT_$LINE"
3060 else
3061 no_cache=1
3062 fi
3063
3064 ac_cv_use_libmspack='wxUSE_LIBMSPACK='$DEFAULT_wxUSE_LIBMSPACK
3065
3066 fi;
3067
3068 eval "$ac_cv_use_libmspack"
3069 if test "$no_cache" != 1; then
3070 echo $ac_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
3071 fi
3072
3073 if test "$wxUSE_LIBMSPACK" = yes; then
3074 echo "$as_me:$LINENO: result: yes" >&5
3075 echo "${ECHO_T}yes" >&6
3076 else
3077 echo "$as_me:$LINENO: result: no" >&5
3078 echo "${ECHO_T}no" >&6
3079 fi
3080
3081
3082 withstring=
3083 echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
3084 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6
3085 no_cache=0
3086
3087 # Check whether --with-sdl or --without-sdl was given.
3088 if test "${with_sdl+set}" = set; then
3089 withval="$with_sdl"
3090
3091 if test "$withval" = yes; then
3092 ac_cv_use_sdl='wxUSE_LIBSDL=yes'
3093 else
3094 ac_cv_use_sdl='wxUSE_LIBSDL=no'
3095 fi
3096
3097 else
3098
3099 LINE=`grep "wxUSE_LIBSDL" ${wx_arg_cache_file}`
3100 if test "x$LINE" != x ; then
3101 eval "DEFAULT_$LINE"
3102 else
3103 no_cache=1
3104 fi
3105
3106 ac_cv_use_sdl='wxUSE_LIBSDL='$DEFAULT_wxUSE_LIBSDL
3107
3108 fi;
3109
3110 eval "$ac_cv_use_sdl"
3111 if test "$no_cache" != 1; then
3112 echo $ac_cv_use_sdl >> ${wx_arg_cache_file}.tmp
3113 fi
3114
3115 if test "$wxUSE_LIBSDL" = yes; then
3116 echo "$as_me:$LINENO: result: yes" >&5
3117 echo "${ECHO_T}yes" >&6
3118 else
3119 echo "$as_me:$LINENO: result: no" >&5
3120 echo "${ECHO_T}no" >&6
3121 fi
3122
3123
3124 withstring=
3125 echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3126 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6
3127 no_cache=0
3128
3129 # Check whether --with-gnomeprint or --without-gnomeprint was given.
3130 if test "${with_gnomeprint+set}" = set; then
3131 withval="$with_gnomeprint"
3132
3133 if test "$withval" = yes; then
3134 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
3135 else
3136 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
3137 fi
3138
3139 else
3140
3141 LINE=`grep "wxUSE_LIBGNOMEPRINT" ${wx_arg_cache_file}`
3142 if test "x$LINE" != x ; then
3143 eval "DEFAULT_$LINE"
3144 else
3145 no_cache=1
3146 fi
3147
3148 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT='$DEFAULT_wxUSE_LIBGNOMEPRINT
3149
3150 fi;
3151
3152 eval "$ac_cv_use_gnomeprint"
3153 if test "$no_cache" != 1; then
3154 echo $ac_cv_use_gnomeprint >> ${wx_arg_cache_file}.tmp
3155 fi
3156
3157 if test "$wxUSE_LIBGNOMEPRINT" = yes; then
3158 echo "$as_me:$LINENO: result: yes" >&5
3159 echo "${ECHO_T}yes" >&6
3160 else
3161 echo "$as_me:$LINENO: result: no" >&5
3162 echo "${ECHO_T}no" >&6
3163 fi
3164
3165
3166 withstring=
3167 echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
3168 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6
3169 no_cache=0
3170
3171 # Check whether --with-opengl or --without-opengl was given.
3172 if test "${with_opengl+set}" = set; then
3173 withval="$with_opengl"
3174
3175 if test "$withval" = yes; then
3176 ac_cv_use_opengl='wxUSE_OPENGL=yes'
3177 else
3178 ac_cv_use_opengl='wxUSE_OPENGL=no'
3179 fi
3180
3181 else
3182
3183 LINE=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
3184 if test "x$LINE" != x ; then
3185 eval "DEFAULT_$LINE"
3186 else
3187 no_cache=1
3188 fi
3189
3190 ac_cv_use_opengl='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
3191
3192 fi;
3193
3194 eval "$ac_cv_use_opengl"
3195 if test "$no_cache" != 1; then
3196 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
3197 fi
3198
3199 if test "$wxUSE_OPENGL" = yes; then
3200 echo "$as_me:$LINENO: result: yes" >&5
3201 echo "${ECHO_T}yes" >&6
3202 else
3203 echo "$as_me:$LINENO: result: no" >&5
3204 echo "${ECHO_T}no" >&6
3205 fi
3206
3207
3208 fi
3209
3210
3211 withstring=
3212 echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
3213 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6
3214 no_cache=0
3215
3216 # Check whether --with-dmalloc or --without-dmalloc was given.
3217 if test "${with_dmalloc+set}" = set; then
3218 withval="$with_dmalloc"
3219
3220 if test "$withval" = yes; then
3221 ac_cv_use_dmalloc='wxUSE_DMALLOC=yes'
3222 else
3223 ac_cv_use_dmalloc='wxUSE_DMALLOC=no'
3224 fi
3225
3226 else
3227
3228 LINE=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
3229 if test "x$LINE" != x ; then
3230 eval "DEFAULT_$LINE"
3231 else
3232 no_cache=1
3233 fi
3234
3235 ac_cv_use_dmalloc='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
3236
3237 fi;
3238
3239 eval "$ac_cv_use_dmalloc"
3240 if test "$no_cache" != 1; then
3241 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
3242 fi
3243
3244 if test "$wxUSE_DMALLOC" = yes; then
3245 echo "$as_me:$LINENO: result: yes" >&5
3246 echo "${ECHO_T}yes" >&6
3247 else
3248 echo "$as_me:$LINENO: result: no" >&5
3249 echo "${ECHO_T}no" >&6
3250 fi
3251
3252
3253 echo "$as_me:$LINENO: checking for --with-regex" >&5
3254 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
3255 no_cache=0
3256
3257 # Check whether --with-regex or --without-regex was given.
3258 if test "${with_regex+set}" = set; then
3259 withval="$with_regex"
3260
3261 if test "$withval" = yes; then
3262 ac_cv_use_regex='wxUSE_REGEX=yes'
3263 elif test "$withval" = no; then
3264 ac_cv_use_regex='wxUSE_REGEX=no'
3265 elif test "$withval" = sys; then
3266 ac_cv_use_regex='wxUSE_REGEX=sys'
3267 elif test "$withval" = builtin; then
3268 ac_cv_use_regex='wxUSE_REGEX=builtin'
3269 else
3270 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3271 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3272 { (exit 1); exit 1; }; }
3273 fi
3274
3275 else
3276
3277 LINE=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
3278 if test "x$LINE" != x ; then
3279 eval "DEFAULT_$LINE"
3280 else
3281 no_cache=1
3282 fi
3283
3284 ac_cv_use_regex='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
3285
3286 fi;
3287
3288 eval "$ac_cv_use_regex"
3289 if test "$no_cache" != 1; then
3290 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
3291 fi
3292
3293 if test "$wxUSE_REGEX" = yes; then
3294 echo "$as_me:$LINENO: result: yes" >&5
3295 echo "${ECHO_T}yes" >&6
3296 elif test "$wxUSE_REGEX" = no; then
3297 echo "$as_me:$LINENO: result: no" >&5
3298 echo "${ECHO_T}no" >&6
3299 elif test "$wxUSE_REGEX" = sys; then
3300 echo "$as_me:$LINENO: result: system version" >&5
3301 echo "${ECHO_T}system version" >&6
3302 elif test "$wxUSE_REGEX" = builtin; then
3303 echo "$as_me:$LINENO: result: builtin version" >&5
3304 echo "${ECHO_T}builtin version" >&6
3305 else
3306 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3307 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3308 { (exit 1); exit 1; }; }
3309 fi
3310
3311
3312 echo "$as_me:$LINENO: checking for --with-zlib" >&5
3313 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
3314 no_cache=0
3315
3316 # Check whether --with-zlib or --without-zlib was given.
3317 if test "${with_zlib+set}" = set; then
3318 withval="$with_zlib"
3319
3320 if test "$withval" = yes; then
3321 ac_cv_use_zlib='wxUSE_ZLIB=yes'
3322 elif test "$withval" = no; then
3323 ac_cv_use_zlib='wxUSE_ZLIB=no'
3324 elif test "$withval" = sys; then
3325 ac_cv_use_zlib='wxUSE_ZLIB=sys'
3326 elif test "$withval" = builtin; then
3327 ac_cv_use_zlib='wxUSE_ZLIB=builtin'
3328 else
3329 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3330 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3331 { (exit 1); exit 1; }; }
3332 fi
3333
3334 else
3335
3336 LINE=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
3337 if test "x$LINE" != x ; then
3338 eval "DEFAULT_$LINE"
3339 else
3340 no_cache=1
3341 fi
3342
3343 ac_cv_use_zlib='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
3344
3345 fi;
3346
3347 eval "$ac_cv_use_zlib"
3348 if test "$no_cache" != 1; then
3349 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
3350 fi
3351
3352 if test "$wxUSE_ZLIB" = yes; then
3353 echo "$as_me:$LINENO: result: yes" >&5
3354 echo "${ECHO_T}yes" >&6
3355 elif test "$wxUSE_ZLIB" = no; then
3356 echo "$as_me:$LINENO: result: no" >&5
3357 echo "${ECHO_T}no" >&6
3358 elif test "$wxUSE_ZLIB" = sys; then
3359 echo "$as_me:$LINENO: result: system version" >&5
3360 echo "${ECHO_T}system version" >&6
3361 elif test "$wxUSE_ZLIB" = builtin; then
3362 echo "$as_me:$LINENO: result: builtin version" >&5
3363 echo "${ECHO_T}builtin version" >&6
3364 else
3365 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3366 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3367 { (exit 1); exit 1; }; }
3368 fi
3369
3370
3371 echo "$as_me:$LINENO: checking for --with-odbc" >&5
3372 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6
3373 no_cache=0
3374
3375 # Check whether --with-odbc or --without-odbc was given.
3376 if test "${with_odbc+set}" = set; then
3377 withval="$with_odbc"
3378
3379 if test "$withval" = yes; then
3380 ac_cv_use_odbc='wxUSE_ODBC=yes'
3381 elif test "$withval" = no; then
3382 ac_cv_use_odbc='wxUSE_ODBC=no'
3383 elif test "$withval" = sys; then
3384 ac_cv_use_odbc='wxUSE_ODBC=sys'
3385 elif test "$withval" = builtin; then
3386 ac_cv_use_odbc='wxUSE_ODBC=builtin'
3387 else
3388 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3389 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3390 { (exit 1); exit 1; }; }
3391 fi
3392
3393 else
3394
3395 LINE=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
3396 if test "x$LINE" != x ; then
3397 eval "DEFAULT_$LINE"
3398 else
3399 no_cache=1
3400 fi
3401
3402 ac_cv_use_odbc='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
3403
3404 fi;
3405
3406 eval "$ac_cv_use_odbc"
3407 if test "$no_cache" != 1; then
3408 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
3409 fi
3410
3411 if test "$wxUSE_ODBC" = yes; then
3412 echo "$as_me:$LINENO: result: yes" >&5
3413 echo "${ECHO_T}yes" >&6
3414 elif test "$wxUSE_ODBC" = no; then
3415 echo "$as_me:$LINENO: result: no" >&5
3416 echo "${ECHO_T}no" >&6
3417 elif test "$wxUSE_ODBC" = sys; then
3418 echo "$as_me:$LINENO: result: system version" >&5
3419 echo "${ECHO_T}system version" >&6
3420 elif test "$wxUSE_ODBC" = builtin; then
3421 echo "$as_me:$LINENO: result: builtin version" >&5
3422 echo "${ECHO_T}builtin version" >&6
3423 else
3424 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3425 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3426 { (exit 1); exit 1; }; }
3427 fi
3428
3429
3430 echo "$as_me:$LINENO: checking for --with-expat" >&5
3431 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6
3432 no_cache=0
3433
3434 # Check whether --with-expat or --without-expat was given.
3435 if test "${with_expat+set}" = set; then
3436 withval="$with_expat"
3437
3438 if test "$withval" = yes; then
3439 ac_cv_use_expat='wxUSE_EXPAT=yes'
3440 elif test "$withval" = no; then
3441 ac_cv_use_expat='wxUSE_EXPAT=no'
3442 elif test "$withval" = sys; then
3443 ac_cv_use_expat='wxUSE_EXPAT=sys'
3444 elif test "$withval" = builtin; then
3445 ac_cv_use_expat='wxUSE_EXPAT=builtin'
3446 else
3447 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3448 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3449 { (exit 1); exit 1; }; }
3450 fi
3451
3452 else
3453
3454 LINE=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
3455 if test "x$LINE" != x ; then
3456 eval "DEFAULT_$LINE"
3457 else
3458 no_cache=1
3459 fi
3460
3461 ac_cv_use_expat='wxUSE_EXPAT='$DEFAULT_wxUSE_EXPAT
3462
3463 fi;
3464
3465 eval "$ac_cv_use_expat"
3466 if test "$no_cache" != 1; then
3467 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
3468 fi
3469
3470 if test "$wxUSE_EXPAT" = yes; then
3471 echo "$as_me:$LINENO: result: yes" >&5
3472 echo "${ECHO_T}yes" >&6
3473 elif test "$wxUSE_EXPAT" = no; then
3474 echo "$as_me:$LINENO: result: no" >&5
3475 echo "${ECHO_T}no" >&6
3476 elif test "$wxUSE_EXPAT" = sys; then
3477 echo "$as_me:$LINENO: result: system version" >&5
3478 echo "${ECHO_T}system version" >&6
3479 elif test "$wxUSE_EXPAT" = builtin; then
3480 echo "$as_me:$LINENO: result: builtin version" >&5
3481 echo "${ECHO_T}builtin version" >&6
3482 else
3483 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3484 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3485 { (exit 1); exit 1; }; }
3486 fi
3487
3488
3489
3490
3491 enablestring=
3492 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
3493 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6
3494 no_cache=0
3495 # Check whether --enable-shared or --disable-shared was given.
3496 if test "${enable_shared+set}" = set; then
3497 enableval="$enable_shared"
3498
3499 if test "$enableval" = yes; then
3500 ac_cv_use_shared='wxUSE_SHARED=yes'
3501 else
3502 ac_cv_use_shared='wxUSE_SHARED=no'
3503 fi
3504
3505 else
3506
3507 LINE=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
3508 if test "x$LINE" != x ; then
3509 eval "DEFAULT_$LINE"
3510 else
3511 no_cache=1
3512 fi
3513
3514 ac_cv_use_shared='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
3515
3516 fi;
3517
3518 eval "$ac_cv_use_shared"
3519 if test "$no_cache" != 1; then
3520 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
3521 fi
3522
3523 if test "$wxUSE_SHARED" = yes; then
3524 echo "$as_me:$LINENO: result: yes" >&5
3525 echo "${ECHO_T}yes" >&6
3526 else
3527 echo "$as_me:$LINENO: result: no" >&5
3528 echo "${ECHO_T}no" >&6
3529 fi
3530
3531
3532 enablestring=
3533 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
3534 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6
3535 no_cache=0
3536 # Check whether --enable-optimise or --disable-optimise was given.
3537 if test "${enable_optimise+set}" = set; then
3538 enableval="$enable_optimise"
3539
3540 if test "$enableval" = yes; then
3541 ac_cv_use_optimise='wxUSE_OPTIMISE=yes'
3542 else
3543 ac_cv_use_optimise='wxUSE_OPTIMISE=no'
3544 fi
3545
3546 else
3547
3548 LINE=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
3549 if test "x$LINE" != x ; then
3550 eval "DEFAULT_$LINE"
3551 else
3552 no_cache=1
3553 fi
3554
3555 ac_cv_use_optimise='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
3556
3557 fi;
3558
3559 eval "$ac_cv_use_optimise"
3560 if test "$no_cache" != 1; then
3561 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
3562 fi
3563
3564 if test "$wxUSE_OPTIMISE" = yes; then
3565 echo "$as_me:$LINENO: result: yes" >&5
3566 echo "${ECHO_T}yes" >&6
3567 else
3568 echo "$as_me:$LINENO: result: no" >&5
3569 echo "${ECHO_T}no" >&6
3570 fi
3571
3572
3573 enablestring=
3574 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
3575 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6
3576 no_cache=0
3577 # Check whether --enable-debug or --disable-debug was given.
3578 if test "${enable_debug+set}" = set; then
3579 enableval="$enable_debug"
3580
3581 if test "$enableval" = yes; then
3582 ac_cv_use_debug='wxUSE_DEBUG=yes'
3583 else
3584 ac_cv_use_debug='wxUSE_DEBUG=no'
3585 fi
3586
3587 else
3588
3589 LINE=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
3590 if test "x$LINE" != x ; then
3591 eval "DEFAULT_$LINE"
3592 else
3593 no_cache=1
3594 fi
3595
3596 ac_cv_use_debug='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
3597
3598 fi;
3599
3600 eval "$ac_cv_use_debug"
3601 if test "$no_cache" != 1; then
3602 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
3603 fi
3604
3605 if test "$wxUSE_DEBUG" = yes; then
3606 echo "$as_me:$LINENO: result: yes" >&5
3607 echo "${ECHO_T}yes" >&6
3608 else
3609 echo "$as_me:$LINENO: result: no" >&5
3610 echo "${ECHO_T}no" >&6
3611 fi
3612
3613
3614 enablestring=
3615 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
3616 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6
3617 no_cache=0
3618 # Check whether --enable-stl or --disable-stl was given.
3619 if test "${enable_stl+set}" = set; then
3620 enableval="$enable_stl"
3621
3622 if test "$enableval" = yes; then
3623 ac_cv_use_stl='wxUSE_STL=yes'
3624 else
3625 ac_cv_use_stl='wxUSE_STL=no'
3626 fi
3627
3628 else
3629
3630 LINE=`grep "wxUSE_STL" ${wx_arg_cache_file}`
3631 if test "x$LINE" != x ; then
3632 eval "DEFAULT_$LINE"
3633 else
3634 no_cache=1
3635 fi
3636
3637 ac_cv_use_stl='wxUSE_STL='$DEFAULT_wxUSE_STL
3638
3639 fi;
3640
3641 eval "$ac_cv_use_stl"
3642 if test "$no_cache" != 1; then
3643 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
3644 fi
3645
3646 if test "$wxUSE_STL" = yes; then
3647 echo "$as_me:$LINENO: result: yes" >&5
3648 echo "${ECHO_T}yes" >&6
3649 else
3650 echo "$as_me:$LINENO: result: no" >&5
3651 echo "${ECHO_T}no" >&6
3652 fi
3653
3654 if test "$USE_OS2" = "1"; then
3655 DEFAULT_wxUSE_OMF=no
3656
3657 enablestring=
3658 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
3659 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6
3660 no_cache=0
3661 # Check whether --enable-omf or --disable-omf was given.
3662 if test "${enable_omf+set}" = set; then
3663 enableval="$enable_omf"
3664
3665 if test "$enableval" = yes; then
3666 ac_cv_use_omf='wxUSE_OMF=yes'
3667 else
3668 ac_cv_use_omf='wxUSE_OMF=no'
3669 fi
3670
3671 else
3672
3673 LINE=`grep "wxUSE_OMF" ${wx_arg_cache_file}`
3674 if test "x$LINE" != x ; then
3675 eval "DEFAULT_$LINE"
3676 else
3677 no_cache=1
3678 fi
3679
3680 ac_cv_use_omf='wxUSE_OMF='$DEFAULT_wxUSE_OMF
3681
3682 fi;
3683
3684 eval "$ac_cv_use_omf"
3685 if test "$no_cache" != 1; then
3686 echo $ac_cv_use_omf >> ${wx_arg_cache_file}.tmp
3687 fi
3688
3689 if test "$wxUSE_OMF" = yes; then
3690 echo "$as_me:$LINENO: result: yes" >&5
3691 echo "${ECHO_T}yes" >&6
3692 else
3693 echo "$as_me:$LINENO: result: no" >&5
3694 echo "${ECHO_T}no" >&6
3695 fi
3696
3697 fi
3698
3699 if test "$wxUSE_DEBUG" = "yes"; then
3700 DEFAULT_wxUSE_DEBUG_FLAG=yes
3701 DEFAULT_wxUSE_DEBUG_INFO=yes
3702 BUILD=debug
3703 elif test "$wxUSE_DEBUG" = "no"; then
3704 DEFAULT_wxUSE_DEBUG_FLAG=no
3705 DEFAULT_wxUSE_DEBUG_INFO=no
3706 BUILD=release
3707 fi
3708
3709
3710 enablestring=
3711 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
3712 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6
3713 no_cache=0
3714 # Check whether --enable-debug_flag or --disable-debug_flag was given.
3715 if test "${enable_debug_flag+set}" = set; then
3716 enableval="$enable_debug_flag"
3717
3718 if test "$enableval" = yes; then
3719 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
3720 else
3721 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
3722 fi
3723
3724 else
3725
3726 LINE=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
3727 if test "x$LINE" != x ; then
3728 eval "DEFAULT_$LINE"
3729 else
3730 no_cache=1
3731 fi
3732
3733 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
3734
3735 fi;
3736
3737 eval "$ac_cv_use_debug_flag"
3738 if test "$no_cache" != 1; then
3739 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
3740 fi
3741
3742 if test "$wxUSE_DEBUG_FLAG" = yes; then
3743 echo "$as_me:$LINENO: result: yes" >&5
3744 echo "${ECHO_T}yes" >&6
3745 else
3746 echo "$as_me:$LINENO: result: no" >&5
3747 echo "${ECHO_T}no" >&6
3748 fi
3749
3750
3751 enablestring=
3752 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
3753 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
3754 no_cache=0
3755 # Check whether --enable-debug_info or --disable-debug_info was given.
3756 if test "${enable_debug_info+set}" = set; then
3757 enableval="$enable_debug_info"
3758
3759 if test "$enableval" = yes; then
3760 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
3761 else
3762 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
3763 fi
3764
3765 else
3766
3767 LINE=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
3768 if test "x$LINE" != x ; then
3769 eval "DEFAULT_$LINE"
3770 else
3771 no_cache=1
3772 fi
3773
3774 ac_cv_use_debug_info='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
3775
3776 fi;
3777
3778 eval "$ac_cv_use_debug_info"
3779 if test "$no_cache" != 1; then
3780 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
3781 fi
3782
3783 if test "$wxUSE_DEBUG_INFO" = yes; then
3784 echo "$as_me:$LINENO: result: yes" >&5
3785 echo "${ECHO_T}yes" >&6
3786 else
3787 echo "$as_me:$LINENO: result: no" >&5
3788 echo "${ECHO_T}no" >&6
3789 fi
3790
3791
3792 enablestring=
3793 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
3794 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6
3795 no_cache=0
3796 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
3797 if test "${enable_debug_gdb+set}" = set; then
3798 enableval="$enable_debug_gdb"
3799
3800 if test "$enableval" = yes; then
3801 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
3802 else
3803 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
3804 fi
3805
3806 else
3807
3808 LINE=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
3809 if test "x$LINE" != x ; then
3810 eval "DEFAULT_$LINE"
3811 else
3812 no_cache=1
3813 fi
3814
3815 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
3816
3817 fi;
3818
3819 eval "$ac_cv_use_debug_gdb"
3820 if test "$no_cache" != 1; then
3821 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
3822 fi
3823
3824 if test "$wxUSE_DEBUG_GDB" = yes; then
3825 echo "$as_me:$LINENO: result: yes" >&5
3826 echo "${ECHO_T}yes" >&6
3827 else
3828 echo "$as_me:$LINENO: result: no" >&5
3829 echo "${ECHO_T}no" >&6
3830 fi
3831
3832
3833 enablestring=
3834 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
3835 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6
3836 no_cache=0
3837 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
3838 if test "${enable_debug_cntxt+set}" = set; then
3839 enableval="$enable_debug_cntxt"
3840
3841 if test "$enableval" = yes; then
3842 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
3843 else
3844 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
3845 fi
3846
3847 else
3848
3849 LINE=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
3850 if test "x$LINE" != x ; then
3851 eval "DEFAULT_$LINE"
3852 else
3853 no_cache=1
3854 fi
3855
3856 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
3857
3858 fi;
3859
3860 eval "$ac_cv_use_debug_cntxt"
3861 if test "$no_cache" != 1; then
3862 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
3863 fi
3864
3865 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
3866 echo "$as_me:$LINENO: result: yes" >&5
3867 echo "${ECHO_T}yes" >&6
3868 else
3869 echo "$as_me:$LINENO: result: no" >&5
3870 echo "${ECHO_T}no" >&6
3871 fi
3872
3873
3874 enablestring=
3875 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
3876 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
3877 no_cache=0
3878 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
3879 if test "${enable_mem_tracing+set}" = set; then
3880 enableval="$enable_mem_tracing"
3881
3882 if test "$enableval" = yes; then
3883 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
3884 else
3885 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
3886 fi
3887
3888 else
3889
3890 LINE=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
3891 if test "x$LINE" != x ; then
3892 eval "DEFAULT_$LINE"
3893 else
3894 no_cache=1
3895 fi
3896
3897 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
3898
3899 fi;
3900
3901 eval "$ac_cv_use_mem_tracing"
3902 if test "$no_cache" != 1; then
3903 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
3904 fi
3905
3906 if test "$wxUSE_MEM_TRACING" = yes; then
3907 echo "$as_me:$LINENO: result: yes" >&5
3908 echo "${ECHO_T}yes" >&6
3909 else
3910 echo "$as_me:$LINENO: result: no" >&5
3911 echo "${ECHO_T}no" >&6
3912 fi
3913
3914
3915 enablestring=
3916 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
3917 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6
3918 no_cache=0
3919 # Check whether --enable-profile or --disable-profile was given.
3920 if test "${enable_profile+set}" = set; then
3921 enableval="$enable_profile"
3922
3923 if test "$enableval" = yes; then
3924 ac_cv_use_profile='wxUSE_PROFILE=yes'
3925 else
3926 ac_cv_use_profile='wxUSE_PROFILE=no'
3927 fi
3928
3929 else
3930
3931 LINE=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
3932 if test "x$LINE" != x ; then
3933 eval "DEFAULT_$LINE"
3934 else
3935 no_cache=1
3936 fi
3937
3938 ac_cv_use_profile='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
3939
3940 fi;
3941
3942 eval "$ac_cv_use_profile"
3943 if test "$no_cache" != 1; then
3944 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
3945 fi
3946
3947 if test "$wxUSE_PROFILE" = yes; then
3948 echo "$as_me:$LINENO: result: yes" >&5
3949 echo "${ECHO_T}yes" >&6
3950 else
3951 echo "$as_me:$LINENO: result: no" >&5
3952 echo "${ECHO_T}no" >&6
3953 fi
3954
3955
3956 enablestring=
3957 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
3958 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6
3959 no_cache=0
3960 # Check whether --enable-no_rtti or --disable-no_rtti was given.
3961 if test "${enable_no_rtti+set}" = set; then
3962 enableval="$enable_no_rtti"
3963
3964 if test "$enableval" = yes; then
3965 ac_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
3966 else
3967 ac_cv_use_no_rtti='wxUSE_NO_RTTI=no'
3968 fi
3969
3970 else
3971
3972 LINE=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
3973 if test "x$LINE" != x ; then
3974 eval "DEFAULT_$LINE"
3975 else
3976 no_cache=1
3977 fi
3978
3979 ac_cv_use_no_rtti='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
3980
3981 fi;
3982
3983 eval "$ac_cv_use_no_rtti"
3984 if test "$no_cache" != 1; then
3985 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
3986 fi
3987
3988 if test "$wxUSE_NO_RTTI" = yes; then
3989 echo "$as_me:$LINENO: result: yes" >&5
3990 echo "${ECHO_T}yes" >&6
3991 else
3992 echo "$as_me:$LINENO: result: no" >&5
3993 echo "${ECHO_T}no" >&6
3994 fi
3995
3996
3997 enablestring=
3998 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
3999 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
4000 no_cache=0
4001 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
4002 if test "${enable_no_exceptions+set}" = set; then
4003 enableval="$enable_no_exceptions"
4004
4005 if test "$enableval" = yes; then
4006 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
4007 else
4008 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
4009 fi
4010
4011 else
4012
4013 LINE=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
4014 if test "x$LINE" != x ; then
4015 eval "DEFAULT_$LINE"
4016 else
4017 no_cache=1
4018 fi
4019
4020 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
4021
4022 fi;
4023
4024 eval "$ac_cv_use_no_exceptions"
4025 if test "$no_cache" != 1; then
4026 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
4027 fi
4028
4029 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
4030 echo "$as_me:$LINENO: result: yes" >&5
4031 echo "${ECHO_T}yes" >&6
4032 else
4033 echo "$as_me:$LINENO: result: no" >&5
4034 echo "${ECHO_T}no" >&6
4035 fi
4036
4037
4038 enablestring=
4039 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
4040 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6
4041 no_cache=0
4042 # Check whether --enable-permissive or --disable-permissive was given.
4043 if test "${enable_permissive+set}" = set; then
4044 enableval="$enable_permissive"
4045
4046 if test "$enableval" = yes; then
4047 ac_cv_use_permissive='wxUSE_PERMISSIVE=yes'
4048 else
4049 ac_cv_use_permissive='wxUSE_PERMISSIVE=no'
4050 fi
4051
4052 else
4053
4054 LINE=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
4055 if test "x$LINE" != x ; then
4056 eval "DEFAULT_$LINE"
4057 else
4058 no_cache=1
4059 fi
4060
4061 ac_cv_use_permissive='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
4062
4063 fi;
4064
4065 eval "$ac_cv_use_permissive"
4066 if test "$no_cache" != 1; then
4067 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
4068 fi
4069
4070 if test "$wxUSE_PERMISSIVE" = yes; then
4071 echo "$as_me:$LINENO: result: yes" >&5
4072 echo "${ECHO_T}yes" >&6
4073 else
4074 echo "$as_me:$LINENO: result: no" >&5
4075 echo "${ECHO_T}no" >&6
4076 fi
4077
4078
4079 enablestring=
4080 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
4081 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6
4082 no_cache=0
4083 # Check whether --enable-no_deps or --disable-no_deps was given.
4084 if test "${enable_no_deps+set}" = set; then
4085 enableval="$enable_no_deps"
4086
4087 if test "$enableval" = yes; then
4088 ac_cv_use_no_deps='wxUSE_NO_DEPS=yes'
4089 else
4090 ac_cv_use_no_deps='wxUSE_NO_DEPS=no'
4091 fi
4092
4093 else
4094
4095 LINE=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
4096 if test "x$LINE" != x ; then
4097 eval "DEFAULT_$LINE"
4098 else
4099 no_cache=1
4100 fi
4101
4102 ac_cv_use_no_deps='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
4103
4104 fi;
4105
4106 eval "$ac_cv_use_no_deps"
4107 if test "$no_cache" != 1; then
4108 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
4109 fi
4110
4111 if test "$wxUSE_NO_DEPS" = yes; then
4112 echo "$as_me:$LINENO: result: yes" >&5
4113 echo "${ECHO_T}yes" >&6
4114 else
4115 echo "$as_me:$LINENO: result: no" >&5
4116 echo "${ECHO_T}no" >&6
4117 fi
4118
4119
4120
4121 enablestring=
4122 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat22" >&5
4123 echo $ECHO_N "checking for --${enablestring:-enable}-compat22... $ECHO_C" >&6
4124 no_cache=0
4125 # Check whether --enable-compat22 or --disable-compat22 was given.
4126 if test "${enable_compat22+set}" = set; then
4127 enableval="$enable_compat22"
4128
4129 if test "$enableval" = yes; then
4130 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2=yes'
4131 else
4132 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2=no'
4133 fi
4134
4135 else
4136
4137 LINE=`grep "WXWIN_COMPATIBILITY_2_2" ${wx_arg_cache_file}`
4138 if test "x$LINE" != x ; then
4139 eval "DEFAULT_$LINE"
4140 else
4141 no_cache=1
4142 fi
4143
4144 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2='$DEFAULT_WXWIN_COMPATIBILITY_2_2
4145
4146 fi;
4147
4148 eval "$ac_cv_use_compat22"
4149 if test "$no_cache" != 1; then
4150 echo $ac_cv_use_compat22 >> ${wx_arg_cache_file}.tmp
4151 fi
4152
4153 if test "$WXWIN_COMPATIBILITY_2_2" = yes; then
4154 echo "$as_me:$LINENO: result: yes" >&5
4155 echo "${ECHO_T}yes" >&6
4156 else
4157 echo "$as_me:$LINENO: result: no" >&5
4158 echo "${ECHO_T}no" >&6
4159 fi
4160
4161
4162 enablestring=disable
4163 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat24" >&5
4164 echo $ECHO_N "checking for --${enablestring:-enable}-compat24... $ECHO_C" >&6
4165 no_cache=0
4166 # Check whether --enable-compat24 or --disable-compat24 was given.
4167 if test "${enable_compat24+set}" = set; then
4168 enableval="$enable_compat24"
4169
4170 if test "$enableval" = yes; then
4171 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4=yes'
4172 else
4173 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4=no'
4174 fi
4175
4176 else
4177
4178 LINE=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
4179 if test "x$LINE" != x ; then
4180 eval "DEFAULT_$LINE"
4181 else
4182 no_cache=1
4183 fi
4184
4185 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4='$DEFAULT_WXWIN_COMPATIBILITY_2_4
4186
4187 fi;
4188
4189 eval "$ac_cv_use_compat24"
4190 if test "$no_cache" != 1; then
4191 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
4192 fi
4193
4194 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
4195 echo "$as_me:$LINENO: result: yes" >&5
4196 echo "${ECHO_T}yes" >&6
4197 else
4198 echo "$as_me:$LINENO: result: no" >&5
4199 echo "${ECHO_T}no" >&6
4200 fi
4201
4202
4203
4204 enablestring=
4205 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
4206 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6
4207 no_cache=0
4208 # Check whether --enable-rpath or --disable-rpath was given.
4209 if test "${enable_rpath+set}" = set; then
4210 enableval="$enable_rpath"
4211
4212 if test "$enableval" = yes; then
4213 ac_cv_use_rpath='wxUSE_RPATH=yes'
4214 else
4215 ac_cv_use_rpath='wxUSE_RPATH=no'
4216 fi
4217
4218 else
4219
4220 LINE=`grep "wxUSE_RPATH" ${wx_arg_cache_file}`
4221 if test "x$LINE" != x ; then
4222 eval "DEFAULT_$LINE"
4223 else
4224 no_cache=1
4225 fi
4226
4227 ac_cv_use_rpath='wxUSE_RPATH='$DEFAULT_wxUSE_RPATH
4228
4229 fi;
4230
4231 eval "$ac_cv_use_rpath"
4232 if test "$no_cache" != 1; then
4233 echo $ac_cv_use_rpath >> ${wx_arg_cache_file}.tmp
4234 fi
4235
4236 if test "$wxUSE_RPATH" = yes; then
4237 echo "$as_me:$LINENO: result: yes" >&5
4238 echo "${ECHO_T}yes" >&6
4239 else
4240 echo "$as_me:$LINENO: result: no" >&5
4241 echo "${ECHO_T}no" >&6
4242 fi
4243
4244
4245
4246
4247
4248 enablestring=
4249 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
4250 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
4251 no_cache=0
4252 # Check whether --enable-intl or --disable-intl was given.
4253 if test "${enable_intl+set}" = set; then
4254 enableval="$enable_intl"
4255
4256 if test "$enableval" = yes; then
4257 ac_cv_use_intl='wxUSE_INTL=yes'
4258 else
4259 ac_cv_use_intl='wxUSE_INTL=no'
4260 fi
4261
4262 else
4263
4264 LINE=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
4265 if test "x$LINE" != x ; then
4266 eval "DEFAULT_$LINE"
4267 else
4268 no_cache=1
4269 fi
4270
4271 ac_cv_use_intl='wxUSE_INTL='$DEFAULT_wxUSE_INTL
4272
4273 fi;
4274
4275 eval "$ac_cv_use_intl"
4276 if test "$no_cache" != 1; then
4277 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
4278 fi
4279
4280 if test "$wxUSE_INTL" = yes; then
4281 echo "$as_me:$LINENO: result: yes" >&5
4282 echo "${ECHO_T}yes" >&6
4283 else
4284 echo "$as_me:$LINENO: result: no" >&5
4285 echo "${ECHO_T}no" >&6
4286 fi
4287
4288
4289 enablestring=
4290 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
4291 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
4292 no_cache=0
4293 # Check whether --enable-config or --disable-config was given.
4294 if test "${enable_config+set}" = set; then
4295 enableval="$enable_config"
4296
4297 if test "$enableval" = yes; then
4298 ac_cv_use_config='wxUSE_CONFIG=yes'
4299 else
4300 ac_cv_use_config='wxUSE_CONFIG=no'
4301 fi
4302
4303 else
4304
4305 LINE=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
4306 if test "x$LINE" != x ; then
4307 eval "DEFAULT_$LINE"
4308 else
4309 no_cache=1
4310 fi
4311
4312 ac_cv_use_config='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
4313
4314 fi;
4315
4316 eval "$ac_cv_use_config"
4317 if test "$no_cache" != 1; then
4318 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
4319 fi
4320
4321 if test "$wxUSE_CONFIG" = yes; then
4322 echo "$as_me:$LINENO: result: yes" >&5
4323 echo "${ECHO_T}yes" >&6
4324 else
4325 echo "$as_me:$LINENO: result: no" >&5
4326 echo "${ECHO_T}no" >&6
4327 fi
4328
4329
4330
4331 enablestring=
4332 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
4333 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6
4334 no_cache=0
4335 # Check whether --enable-protocols or --disable-protocols was given.
4336 if test "${enable_protocols+set}" = set; then
4337 enableval="$enable_protocols"
4338
4339 if test "$enableval" = yes; then
4340 ac_cv_use_protocols='wxUSE_PROTOCOL=yes'
4341 else
4342 ac_cv_use_protocols='wxUSE_PROTOCOL=no'
4343 fi
4344
4345 else
4346
4347 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
4348 if test "x$LINE" != x ; then
4349 eval "DEFAULT_$LINE"
4350 else
4351 no_cache=1
4352 fi
4353
4354 ac_cv_use_protocols='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
4355
4356 fi;
4357
4358 eval "$ac_cv_use_protocols"
4359 if test "$no_cache" != 1; then
4360 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
4361 fi
4362
4363 if test "$wxUSE_PROTOCOL" = yes; then
4364 echo "$as_me:$LINENO: result: yes" >&5
4365 echo "${ECHO_T}yes" >&6
4366 else
4367 echo "$as_me:$LINENO: result: no" >&5
4368 echo "${ECHO_T}no" >&6
4369 fi
4370
4371
4372 enablestring=
4373 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
4374 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
4375 no_cache=0
4376 # Check whether --enable-ftp or --disable-ftp was given.
4377 if test "${enable_ftp+set}" = set; then
4378 enableval="$enable_ftp"
4379
4380 if test "$enableval" = yes; then
4381 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
4382 else
4383 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
4384 fi
4385
4386 else
4387
4388 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
4389 if test "x$LINE" != x ; then
4390 eval "DEFAULT_$LINE"
4391 else
4392 no_cache=1
4393 fi
4394
4395 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
4396
4397 fi;
4398
4399 eval "$ac_cv_use_ftp"
4400 if test "$no_cache" != 1; then
4401 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
4402 fi
4403
4404 if test "$wxUSE_PROTOCOL_FTP" = yes; then
4405 echo "$as_me:$LINENO: result: yes" >&5
4406 echo "${ECHO_T}yes" >&6
4407 else
4408 echo "$as_me:$LINENO: result: no" >&5
4409 echo "${ECHO_T}no" >&6
4410 fi
4411
4412
4413 enablestring=
4414 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
4415 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
4416 no_cache=0
4417 # Check whether --enable-http or --disable-http was given.
4418 if test "${enable_http+set}" = set; then
4419 enableval="$enable_http"
4420
4421 if test "$enableval" = yes; then
4422 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
4423 else
4424 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
4425 fi
4426
4427 else
4428
4429 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
4430 if test "x$LINE" != x ; then
4431 eval "DEFAULT_$LINE"
4432 else
4433 no_cache=1
4434 fi
4435
4436 ac_cv_use_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
4437
4438 fi;
4439
4440 eval "$ac_cv_use_http"
4441 if test "$no_cache" != 1; then
4442 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
4443 fi
4444
4445 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4446 echo "$as_me:$LINENO: result: yes" >&5
4447 echo "${ECHO_T}yes" >&6
4448 else
4449 echo "$as_me:$LINENO: result: no" >&5
4450 echo "${ECHO_T}no" >&6
4451 fi
4452
4453
4454 enablestring=
4455 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
4456 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6
4457 no_cache=0
4458 # Check whether --enable-fileproto or --disable-fileproto was given.
4459 if test "${enable_fileproto+set}" = set; then
4460 enableval="$enable_fileproto"
4461
4462 if test "$enableval" = yes; then
4463 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
4464 else
4465 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
4466 fi
4467
4468 else
4469
4470 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4471 if test "x$LINE" != x ; then
4472 eval "DEFAULT_$LINE"
4473 else
4474 no_cache=1
4475 fi
4476
4477 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
4478
4479 fi;
4480
4481 eval "$ac_cv_use_fileproto"
4482 if test "$no_cache" != 1; then
4483 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
4484 fi
4485
4486 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4487 echo "$as_me:$LINENO: result: yes" >&5
4488 echo "${ECHO_T}yes" >&6
4489 else
4490 echo "$as_me:$LINENO: result: no" >&5
4491 echo "${ECHO_T}no" >&6
4492 fi
4493
4494
4495 enablestring=
4496 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
4497 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
4498 no_cache=0
4499 # Check whether --enable-sockets or --disable-sockets was given.
4500 if test "${enable_sockets+set}" = set; then
4501 enableval="$enable_sockets"
4502
4503 if test "$enableval" = yes; then
4504 ac_cv_use_sockets='wxUSE_SOCKETS=yes'
4505 else
4506 ac_cv_use_sockets='wxUSE_SOCKETS=no'
4507 fi
4508
4509 else
4510
4511 LINE=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
4512 if test "x$LINE" != x ; then
4513 eval "DEFAULT_$LINE"
4514 else
4515 no_cache=1
4516 fi
4517
4518 ac_cv_use_sockets='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
4519
4520 fi;
4521
4522 eval "$ac_cv_use_sockets"
4523 if test "$no_cache" != 1; then
4524 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
4525 fi
4526
4527 if test "$wxUSE_SOCKETS" = yes; then
4528 echo "$as_me:$LINENO: result: yes" >&5
4529 echo "${ECHO_T}yes" >&6
4530 else
4531 echo "$as_me:$LINENO: result: no" >&5
4532 echo "${ECHO_T}no" >&6
4533 fi
4534
4535
4536 enablestring=
4537 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
4538 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
4539 no_cache=0
4540 # Check whether --enable-ole or --disable-ole was given.
4541 if test "${enable_ole+set}" = set; then
4542 enableval="$enable_ole"
4543
4544 if test "$enableval" = yes; then
4545 ac_cv_use_ole='wxUSE_OLE=yes'
4546 else
4547 ac_cv_use_ole='wxUSE_OLE=no'
4548 fi
4549
4550 else
4551
4552 LINE=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
4553 if test "x$LINE" != x ; then
4554 eval "DEFAULT_$LINE"
4555 else
4556 no_cache=1
4557 fi
4558
4559 ac_cv_use_ole='wxUSE_OLE='$DEFAULT_wxUSE_OLE
4560
4561 fi;
4562
4563 eval "$ac_cv_use_ole"
4564 if test "$no_cache" != 1; then
4565 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
4566 fi
4567
4568 if test "$wxUSE_OLE" = yes; then
4569 echo "$as_me:$LINENO: result: yes" >&5
4570 echo "${ECHO_T}yes" >&6
4571 else
4572 echo "$as_me:$LINENO: result: no" >&5
4573 echo "${ECHO_T}no" >&6
4574 fi
4575
4576
4577 enablestring=
4578 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
4579 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6
4580 no_cache=0
4581 # Check whether --enable-dataobj or --disable-dataobj was given.
4582 if test "${enable_dataobj+set}" = set; then
4583 enableval="$enable_dataobj"
4584
4585 if test "$enableval" = yes; then
4586 ac_cv_use_dataobj='wxUSE_DATAOBJ=yes'
4587 else
4588 ac_cv_use_dataobj='wxUSE_DATAOBJ=no'
4589 fi
4590
4591 else
4592
4593 LINE=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
4594 if test "x$LINE" != x ; then
4595 eval "DEFAULT_$LINE"
4596 else
4597 no_cache=1
4598 fi
4599
4600 ac_cv_use_dataobj='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
4601
4602 fi;
4603
4604 eval "$ac_cv_use_dataobj"
4605 if test "$no_cache" != 1; then
4606 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
4607 fi
4608
4609 if test "$wxUSE_DATAOBJ" = yes; then
4610 echo "$as_me:$LINENO: result: yes" >&5
4611 echo "${ECHO_T}yes" >&6
4612 else
4613 echo "$as_me:$LINENO: result: no" >&5
4614 echo "${ECHO_T}no" >&6
4615 fi
4616
4617
4618
4619 enablestring=
4620 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
4621 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
4622 no_cache=0
4623 # Check whether --enable-ipc or --disable-ipc was given.
4624 if test "${enable_ipc+set}" = set; then
4625 enableval="$enable_ipc"
4626
4627 if test "$enableval" = yes; then
4628 ac_cv_use_ipc='wxUSE_IPC=yes'
4629 else
4630 ac_cv_use_ipc='wxUSE_IPC=no'
4631 fi
4632
4633 else
4634
4635 LINE=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
4636 if test "x$LINE" != x ; then
4637 eval "DEFAULT_$LINE"
4638 else
4639 no_cache=1
4640 fi
4641
4642 ac_cv_use_ipc='wxUSE_IPC='$DEFAULT_wxUSE_IPC
4643
4644 fi;
4645
4646 eval "$ac_cv_use_ipc"
4647 if test "$no_cache" != 1; then
4648 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
4649 fi
4650
4651 if test "$wxUSE_IPC" = yes; then
4652 echo "$as_me:$LINENO: result: yes" >&5
4653 echo "${ECHO_T}yes" >&6
4654 else
4655 echo "$as_me:$LINENO: result: no" >&5
4656 echo "${ECHO_T}no" >&6
4657 fi
4658
4659
4660
4661 enablestring=
4662 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
4663 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6
4664 no_cache=0
4665 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
4666 if test "${enable_apple_ieee+set}" = set; then
4667 enableval="$enable_apple_ieee"
4668
4669 if test "$enableval" = yes; then
4670 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
4671 else
4672 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
4673 fi
4674
4675 else
4676
4677 LINE=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
4678 if test "x$LINE" != x ; then
4679 eval "DEFAULT_$LINE"
4680 else
4681 no_cache=1
4682 fi
4683
4684 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
4685
4686 fi;
4687
4688 eval "$ac_cv_use_apple_ieee"
4689 if test "$no_cache" != 1; then
4690 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
4691 fi
4692
4693 if test "$wxUSE_APPLE_IEEE" = yes; then
4694 echo "$as_me:$LINENO: result: yes" >&5
4695 echo "${ECHO_T}yes" >&6
4696 else
4697 echo "$as_me:$LINENO: result: no" >&5
4698 echo "${ECHO_T}no" >&6
4699 fi
4700
4701
4702 enablestring=
4703 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
4704 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6
4705 no_cache=0
4706 # Check whether --enable-arcstream or --disable-arcstream was given.
4707 if test "${enable_arcstream+set}" = set; then
4708 enableval="$enable_arcstream"
4709
4710 if test "$enableval" = yes; then
4711 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
4712 else
4713 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
4714 fi
4715
4716 else
4717
4718 LINE=`grep "wxUSE_ARCHIVE_STREAMS" ${wx_arg_cache_file}`
4719 if test "x$LINE" != x ; then
4720 eval "DEFAULT_$LINE"
4721 else
4722 no_cache=1
4723 fi
4724
4725 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS='$DEFAULT_wxUSE_ARCHIVE_STREAMS
4726
4727 fi;
4728
4729 eval "$ac_cv_use_arcstream"
4730 if test "$no_cache" != 1; then
4731 echo $ac_cv_use_arcstream >> ${wx_arg_cache_file}.tmp
4732 fi
4733
4734 if test "$wxUSE_ARCHIVE_STREAMS" = yes; then
4735 echo "$as_me:$LINENO: result: yes" >&5
4736 echo "${ECHO_T}yes" >&6
4737 else
4738 echo "$as_me:$LINENO: result: no" >&5
4739 echo "${ECHO_T}no" >&6
4740 fi
4741
4742
4743 enablestring=
4744 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
4745 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6
4746 no_cache=0
4747 # Check whether --enable-backtrace or --disable-backtrace was given.
4748 if test "${enable_backtrace+set}" = set; then
4749 enableval="$enable_backtrace"
4750
4751 if test "$enableval" = yes; then
4752 ac_cv_use_backtrace='wxUSE_STACKWALKER=yes'
4753 else
4754 ac_cv_use_backtrace='wxUSE_STACKWALKER=no'
4755 fi
4756
4757 else
4758
4759 LINE=`grep "wxUSE_STACKWALKER" ${wx_arg_cache_file}`
4760 if test "x$LINE" != x ; then
4761 eval "DEFAULT_$LINE"
4762 else
4763 no_cache=1
4764 fi
4765
4766 ac_cv_use_backtrace='wxUSE_STACKWALKER='$DEFAULT_wxUSE_STACKWALKER
4767
4768 fi;
4769
4770 eval "$ac_cv_use_backtrace"
4771 if test "$no_cache" != 1; then
4772 echo $ac_cv_use_backtrace >> ${wx_arg_cache_file}.tmp
4773 fi
4774
4775 if test "$wxUSE_STACKWALKER" = yes; then
4776 echo "$as_me:$LINENO: result: yes" >&5
4777 echo "${ECHO_T}yes" >&6
4778 else
4779 echo "$as_me:$LINENO: result: no" >&5
4780 echo "${ECHO_T}no" >&6
4781 fi
4782
4783
4784 enablestring=
4785 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
4786 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
4787 no_cache=0
4788 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
4789 if test "${enable_catch_segvs+set}" = set; then
4790 enableval="$enable_catch_segvs"
4791
4792 if test "$enableval" = yes; then
4793 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
4794 else
4795 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
4796 fi
4797
4798 else
4799
4800 LINE=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
4801 if test "x$LINE" != x ; then
4802 eval "DEFAULT_$LINE"
4803 else
4804 no_cache=1
4805 fi
4806
4807 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
4808
4809 fi;
4810
4811 eval "$ac_cv_use_catch_segvs"
4812 if test "$no_cache" != 1; then
4813 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
4814 fi
4815
4816 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
4817 echo "$as_me:$LINENO: result: yes" >&5
4818 echo "${ECHO_T}yes" >&6
4819 else
4820 echo "$as_me:$LINENO: result: no" >&5
4821 echo "${ECHO_T}no" >&6
4822 fi
4823
4824
4825 enablestring=
4826 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
4827 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
4828 no_cache=0
4829 # Check whether --enable-cmdline or --disable-cmdline was given.
4830 if test "${enable_cmdline+set}" = set; then
4831 enableval="$enable_cmdline"
4832
4833 if test "$enableval" = yes; then
4834 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
4835 else
4836 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
4837 fi
4838
4839 else
4840
4841 LINE=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
4842 if test "x$LINE" != x ; then
4843 eval "DEFAULT_$LINE"
4844 else
4845 no_cache=1
4846 fi
4847
4848 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
4849
4850 fi;
4851
4852 eval "$ac_cv_use_cmdline"
4853 if test "$no_cache" != 1; then
4854 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
4855 fi
4856
4857 if test "$wxUSE_CMDLINE_PARSER" = yes; then
4858 echo "$as_me:$LINENO: result: yes" >&5
4859 echo "${ECHO_T}yes" >&6
4860 else
4861 echo "$as_me:$LINENO: result: no" >&5
4862 echo "${ECHO_T}no" >&6
4863 fi
4864
4865
4866 enablestring=
4867 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
4868 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
4869 no_cache=0
4870 # Check whether --enable-datetime or --disable-datetime was given.
4871 if test "${enable_datetime+set}" = set; then
4872 enableval="$enable_datetime"
4873
4874 if test "$enableval" = yes; then
4875 ac_cv_use_datetime='wxUSE_DATETIME=yes'
4876 else
4877 ac_cv_use_datetime='wxUSE_DATETIME=no'
4878 fi
4879
4880 else
4881
4882 LINE=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
4883 if test "x$LINE" != x ; then
4884 eval "DEFAULT_$LINE"
4885 else
4886 no_cache=1
4887 fi
4888
4889 ac_cv_use_datetime='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
4890
4891 fi;
4892
4893 eval "$ac_cv_use_datetime"
4894 if test "$no_cache" != 1; then
4895 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
4896 fi
4897
4898 if test "$wxUSE_DATETIME" = yes; then
4899 echo "$as_me:$LINENO: result: yes" >&5
4900 echo "${ECHO_T}yes" >&6
4901 else
4902 echo "$as_me:$LINENO: result: no" >&5
4903 echo "${ECHO_T}no" >&6
4904 fi
4905
4906
4907 enablestring=
4908 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
4909 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6
4910 no_cache=0
4911 # Check whether --enable-debugreport or --disable-debugreport was given.
4912 if test "${enable_debugreport+set}" = set; then
4913 enableval="$enable_debugreport"
4914
4915 if test "$enableval" = yes; then
4916 ac_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
4917 else
4918 ac_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
4919 fi
4920
4921 else
4922
4923 LINE=`grep "wxUSE_DEBUGREPORT" ${wx_arg_cache_file}`
4924 if test "x$LINE" != x ; then
4925 eval "DEFAULT_$LINE"
4926 else
4927 no_cache=1
4928 fi
4929
4930 ac_cv_use_debugreport='wxUSE_DEBUGREPORT='$DEFAULT_wxUSE_DEBUGREPORT
4931
4932 fi;
4933
4934 eval "$ac_cv_use_debugreport"
4935 if test "$no_cache" != 1; then
4936 echo $ac_cv_use_debugreport >> ${wx_arg_cache_file}.tmp
4937 fi
4938
4939 if test "$wxUSE_DEBUGREPORT" = yes; then
4940 echo "$as_me:$LINENO: result: yes" >&5
4941 echo "${ECHO_T}yes" >&6
4942 else
4943 echo "$as_me:$LINENO: result: no" >&5
4944 echo "${ECHO_T}no" >&6
4945 fi
4946
4947
4948 enablestring=
4949 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
4950 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
4951 no_cache=0
4952 # Check whether --enable-dialupman or --disable-dialupman was given.
4953 if test "${enable_dialupman+set}" = set; then
4954 enableval="$enable_dialupman"
4955
4956 if test "$enableval" = yes; then
4957 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
4958 else
4959 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
4960 fi
4961
4962 else
4963
4964 LINE=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
4965 if test "x$LINE" != x ; then
4966 eval "DEFAULT_$LINE"
4967 else
4968 no_cache=1
4969 fi
4970
4971 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
4972
4973 fi;
4974
4975 eval "$ac_cv_use_dialupman"
4976 if test "$no_cache" != 1; then
4977 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
4978 fi
4979
4980 if test "$wxUSE_DIALUP_MANAGER" = yes; then
4981 echo "$as_me:$LINENO: result: yes" >&5
4982 echo "${ECHO_T}yes" >&6
4983 else
4984 echo "$as_me:$LINENO: result: no" >&5
4985 echo "${ECHO_T}no" >&6
4986 fi
4987
4988
4989 enablestring=
4990 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
4991 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
4992 no_cache=0
4993 # Check whether --enable-dynlib or --disable-dynlib was given.
4994 if test "${enable_dynlib+set}" = set; then
4995 enableval="$enable_dynlib"
4996
4997 if test "$enableval" = yes; then
4998 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
4999 else
5000 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
5001 fi
5002
5003 else
5004
5005 LINE=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
5006 if test "x$LINE" != x ; then
5007 eval "DEFAULT_$LINE"
5008 else
5009 no_cache=1
5010 fi
5011
5012 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
5013
5014 fi;
5015
5016 eval "$ac_cv_use_dynlib"
5017 if test "$no_cache" != 1; then
5018 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
5019 fi
5020
5021 if test "$wxUSE_DYNLIB_CLASS" = yes; then
5022 echo "$as_me:$LINENO: result: yes" >&5
5023 echo "${ECHO_T}yes" >&6
5024 else
5025 echo "$as_me:$LINENO: result: no" >&5
5026 echo "${ECHO_T}no" >&6
5027 fi
5028
5029
5030 enablestring=
5031 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
5032 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6
5033 no_cache=0
5034 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
5035 if test "${enable_dynamicloader+set}" = set; then
5036 enableval="$enable_dynamicloader"
5037
5038 if test "$enableval" = yes; then
5039 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
5040 else
5041 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
5042 fi
5043
5044 else
5045
5046 LINE=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
5047 if test "x$LINE" != x ; then
5048 eval "DEFAULT_$LINE"
5049 else
5050 no_cache=1
5051 fi
5052
5053 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
5054
5055 fi;
5056
5057 eval "$ac_cv_use_dynamicloader"
5058 if test "$no_cache" != 1; then
5059 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
5060 fi
5061
5062 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
5063 echo "$as_me:$LINENO: result: yes" >&5
5064 echo "${ECHO_T}yes" >&6
5065 else
5066 echo "$as_me:$LINENO: result: no" >&5
5067 echo "${ECHO_T}no" >&6
5068 fi
5069
5070
5071 enablestring=
5072 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
5073 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6
5074 no_cache=0
5075 # Check whether --enable-exceptions or --disable-exceptions was given.
5076 if test "${enable_exceptions+set}" = set; then
5077 enableval="$enable_exceptions"
5078
5079 if test "$enableval" = yes; then
5080 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
5081 else
5082 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
5083 fi
5084
5085 else
5086
5087 LINE=`grep "wxUSE_EXCEPTIONS" ${wx_arg_cache_file}`
5088 if test "x$LINE" != x ; then
5089 eval "DEFAULT_$LINE"
5090 else
5091 no_cache=1
5092 fi
5093
5094 ac_cv_use_exceptions='wxUSE_EXCEPTIONS='$DEFAULT_wxUSE_EXCEPTIONS
5095
5096 fi;
5097
5098 eval "$ac_cv_use_exceptions"
5099 if test "$no_cache" != 1; then
5100 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
5101 fi
5102
5103 if test "$wxUSE_EXCEPTIONS" = yes; then
5104 echo "$as_me:$LINENO: result: yes" >&5
5105 echo "${ECHO_T}yes" >&6
5106 else
5107 echo "$as_me:$LINENO: result: no" >&5
5108 echo "${ECHO_T}no" >&6
5109 fi
5110
5111
5112 enablestring=
5113 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
5114 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
5115 no_cache=0
5116 # Check whether --enable-ffile or --disable-ffile was given.
5117 if test "${enable_ffile+set}" = set; then
5118 enableval="$enable_ffile"
5119
5120 if test "$enableval" = yes; then
5121 ac_cv_use_ffile='wxUSE_FFILE=yes'
5122 else
5123 ac_cv_use_ffile='wxUSE_FFILE=no'
5124 fi
5125
5126 else
5127
5128 LINE=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
5129 if test "x$LINE" != x ; then
5130 eval "DEFAULT_$LINE"
5131 else
5132 no_cache=1
5133 fi
5134
5135 ac_cv_use_ffile='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
5136
5137 fi;
5138
5139 eval "$ac_cv_use_ffile"
5140 if test "$no_cache" != 1; then
5141 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
5142 fi
5143
5144 if test "$wxUSE_FFILE" = yes; then
5145 echo "$as_me:$LINENO: result: yes" >&5
5146 echo "${ECHO_T}yes" >&6
5147 else
5148 echo "$as_me:$LINENO: result: no" >&5
5149 echo "${ECHO_T}no" >&6
5150 fi
5151
5152
5153 enablestring=
5154 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
5155 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6
5156 no_cache=0
5157 # Check whether --enable-file or --disable-file was given.
5158 if test "${enable_file+set}" = set; then
5159 enableval="$enable_file"
5160
5161 if test "$enableval" = yes; then
5162 ac_cv_use_file='wxUSE_FILE=yes'
5163 else
5164 ac_cv_use_file='wxUSE_FILE=no'
5165 fi
5166
5167 else
5168
5169 LINE=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
5170 if test "x$LINE" != x ; then
5171 eval "DEFAULT_$LINE"
5172 else
5173 no_cache=1
5174 fi
5175
5176 ac_cv_use_file='wxUSE_FILE='$DEFAULT_wxUSE_FILE
5177
5178 fi;
5179
5180 eval "$ac_cv_use_file"
5181 if test "$no_cache" != 1; then
5182 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
5183 fi
5184
5185 if test "$wxUSE_FILE" = yes; then
5186 echo "$as_me:$LINENO: result: yes" >&5
5187 echo "${ECHO_T}yes" >&6
5188 else
5189 echo "$as_me:$LINENO: result: no" >&5
5190 echo "${ECHO_T}no" >&6
5191 fi
5192
5193
5194 enablestring=
5195 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
5196 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
5197 no_cache=0
5198 # Check whether --enable-filesystem or --disable-filesystem was given.
5199 if test "${enable_filesystem+set}" = set; then
5200 enableval="$enable_filesystem"
5201
5202 if test "$enableval" = yes; then
5203 ac_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
5204 else
5205 ac_cv_use_filesystem='wxUSE_FILESYSTEM=no'
5206 fi
5207
5208 else
5209
5210 LINE=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
5211 if test "x$LINE" != x ; then
5212 eval "DEFAULT_$LINE"
5213 else
5214 no_cache=1
5215 fi
5216
5217 ac_cv_use_filesystem='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
5218
5219 fi;
5220
5221 eval "$ac_cv_use_filesystem"
5222 if test "$no_cache" != 1; then
5223 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
5224 fi
5225
5226 if test "$wxUSE_FILESYSTEM" = yes; then
5227 echo "$as_me:$LINENO: result: yes" >&5
5228 echo "${ECHO_T}yes" >&6
5229 else
5230 echo "$as_me:$LINENO: result: no" >&5
5231 echo "${ECHO_T}no" >&6
5232 fi
5233
5234
5235 enablestring=
5236 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
5237 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6
5238 no_cache=0
5239 # Check whether --enable-fontmap or --disable-fontmap was given.
5240 if test "${enable_fontmap+set}" = set; then
5241 enableval="$enable_fontmap"
5242
5243 if test "$enableval" = yes; then
5244 ac_cv_use_fontmap='wxUSE_FONTMAP=yes'
5245 else
5246 ac_cv_use_fontmap='wxUSE_FONTMAP=no'
5247 fi
5248
5249 else
5250
5251 LINE=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
5252 if test "x$LINE" != x ; then
5253 eval "DEFAULT_$LINE"
5254 else
5255 no_cache=1
5256 fi
5257
5258 ac_cv_use_fontmap='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
5259
5260 fi;
5261
5262 eval "$ac_cv_use_fontmap"
5263 if test "$no_cache" != 1; then
5264 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
5265 fi
5266
5267 if test "$wxUSE_FONTMAP" = yes; then
5268 echo "$as_me:$LINENO: result: yes" >&5
5269 echo "${ECHO_T}yes" >&6
5270 else
5271 echo "$as_me:$LINENO: result: no" >&5
5272 echo "${ECHO_T}no" >&6
5273 fi
5274
5275
5276 enablestring=
5277 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
5278 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
5279 no_cache=0
5280 # Check whether --enable-fs_inet or --disable-fs_inet was given.
5281 if test "${enable_fs_inet+set}" = set; then
5282 enableval="$enable_fs_inet"
5283
5284 if test "$enableval" = yes; then
5285 ac_cv_use_fs_inet='wxUSE_FS_INET=yes'
5286 else
5287 ac_cv_use_fs_inet='wxUSE_FS_INET=no'
5288 fi
5289
5290 else
5291
5292 LINE=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
5293 if test "x$LINE" != x ; then
5294 eval "DEFAULT_$LINE"
5295 else
5296 no_cache=1
5297 fi
5298
5299 ac_cv_use_fs_inet='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
5300
5301 fi;
5302
5303 eval "$ac_cv_use_fs_inet"
5304 if test "$no_cache" != 1; then
5305 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
5306 fi
5307
5308 if test "$wxUSE_FS_INET" = yes; then
5309 echo "$as_me:$LINENO: result: yes" >&5
5310 echo "${ECHO_T}yes" >&6
5311 else
5312 echo "$as_me:$LINENO: result: no" >&5
5313 echo "${ECHO_T}no" >&6
5314 fi
5315
5316
5317 enablestring=
5318 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
5319 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6
5320 no_cache=0
5321 # Check whether --enable-fs_zip or --disable-fs_zip was given.
5322 if test "${enable_fs_zip+set}" = set; then
5323 enableval="$enable_fs_zip"
5324
5325 if test "$enableval" = yes; then
5326 ac_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
5327 else
5328 ac_cv_use_fs_zip='wxUSE_FS_ZIP=no'
5329 fi
5330
5331 else
5332
5333 LINE=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
5334 if test "x$LINE" != x ; then
5335 eval "DEFAULT_$LINE"
5336 else
5337 no_cache=1
5338 fi
5339
5340 ac_cv_use_fs_zip='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
5341
5342 fi;
5343
5344 eval "$ac_cv_use_fs_zip"
5345 if test "$no_cache" != 1; then
5346 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
5347 fi
5348
5349 if test "$wxUSE_FS_ZIP" = yes; then
5350 echo "$as_me:$LINENO: result: yes" >&5
5351 echo "${ECHO_T}yes" >&6
5352 else
5353 echo "$as_me:$LINENO: result: no" >&5
5354 echo "${ECHO_T}no" >&6
5355 fi
5356
5357
5358 enablestring=
5359 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
5360 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6
5361 no_cache=0
5362 # Check whether --enable-geometry or --disable-geometry was given.
5363 if test "${enable_geometry+set}" = set; then
5364 enableval="$enable_geometry"
5365
5366 if test "$enableval" = yes; then
5367 ac_cv_use_geometry='wxUSE_GEOMETRY=yes'
5368 else
5369 ac_cv_use_geometry='wxUSE_GEOMETRY=no'
5370 fi
5371
5372 else
5373
5374 LINE=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
5375 if test "x$LINE" != x ; then
5376 eval "DEFAULT_$LINE"
5377 else
5378 no_cache=1
5379 fi
5380
5381 ac_cv_use_geometry='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
5382
5383 fi;
5384
5385 eval "$ac_cv_use_geometry"
5386 if test "$no_cache" != 1; then
5387 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
5388 fi
5389
5390 if test "$wxUSE_GEOMETRY" = yes; then
5391 echo "$as_me:$LINENO: result: yes" >&5
5392 echo "${ECHO_T}yes" >&6
5393 else
5394 echo "$as_me:$LINENO: result: no" >&5
5395 echo "${ECHO_T}no" >&6
5396 fi
5397
5398
5399 enablestring=
5400 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
5401 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
5402 no_cache=0
5403 # Check whether --enable-log or --disable-log was given.
5404 if test "${enable_log+set}" = set; then
5405 enableval="$enable_log"
5406
5407 if test "$enableval" = yes; then
5408 ac_cv_use_log='wxUSE_LOG=yes'
5409 else
5410 ac_cv_use_log='wxUSE_LOG=no'
5411 fi
5412
5413 else
5414
5415 LINE=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
5416 if test "x$LINE" != x ; then
5417 eval "DEFAULT_$LINE"
5418 else
5419 no_cache=1
5420 fi
5421
5422 ac_cv_use_log='wxUSE_LOG='$DEFAULT_wxUSE_LOG
5423
5424 fi;
5425
5426 eval "$ac_cv_use_log"
5427 if test "$no_cache" != 1; then
5428 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
5429 fi
5430
5431 if test "$wxUSE_LOG" = yes; then
5432 echo "$as_me:$LINENO: result: yes" >&5
5433 echo "${ECHO_T}yes" >&6
5434 else
5435 echo "$as_me:$LINENO: result: no" >&5
5436 echo "${ECHO_T}no" >&6
5437 fi
5438
5439
5440 enablestring=
5441 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
5442 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6
5443 no_cache=0
5444 # Check whether --enable-longlong or --disable-longlong was given.
5445 if test "${enable_longlong+set}" = set; then
5446 enableval="$enable_longlong"
5447
5448 if test "$enableval" = yes; then
5449 ac_cv_use_longlong='wxUSE_LONGLONG=yes'
5450 else
5451 ac_cv_use_longlong='wxUSE_LONGLONG=no'
5452 fi
5453
5454 else
5455
5456 LINE=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
5457 if test "x$LINE" != x ; then
5458 eval "DEFAULT_$LINE"
5459 else
5460 no_cache=1
5461 fi
5462
5463 ac_cv_use_longlong='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
5464
5465 fi;
5466
5467 eval "$ac_cv_use_longlong"
5468 if test "$no_cache" != 1; then
5469 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
5470 fi
5471
5472 if test "$wxUSE_LONGLONG" = yes; then
5473 echo "$as_me:$LINENO: result: yes" >&5
5474 echo "${ECHO_T}yes" >&6
5475 else
5476 echo "$as_me:$LINENO: result: no" >&5
5477 echo "${ECHO_T}no" >&6
5478 fi
5479
5480
5481 enablestring=
5482 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
5483 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6
5484 no_cache=0
5485 # Check whether --enable-mimetype or --disable-mimetype was given.
5486 if test "${enable_mimetype+set}" = set; then
5487 enableval="$enable_mimetype"
5488
5489 if test "$enableval" = yes; then
5490 ac_cv_use_mimetype='wxUSE_MIMETYPE=yes'
5491 else
5492 ac_cv_use_mimetype='wxUSE_MIMETYPE=no'
5493 fi
5494
5495 else
5496
5497 LINE=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
5498 if test "x$LINE" != x ; then
5499 eval "DEFAULT_$LINE"
5500 else
5501 no_cache=1
5502 fi
5503
5504 ac_cv_use_mimetype='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
5505
5506 fi;
5507
5508 eval "$ac_cv_use_mimetype"
5509 if test "$no_cache" != 1; then
5510 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
5511 fi
5512
5513 if test "$wxUSE_MIMETYPE" = yes; then
5514 echo "$as_me:$LINENO: result: yes" >&5
5515 echo "${ECHO_T}yes" >&6
5516 else
5517 echo "$as_me:$LINENO: result: no" >&5
5518 echo "${ECHO_T}no" >&6
5519 fi
5520
5521
5522 enablestring=
5523 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5524 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6
5525 no_cache=0
5526 # Check whether --enable-mslu or --disable-mslu was given.
5527 if test "${enable_mslu+set}" = set; then
5528 enableval="$enable_mslu"
5529
5530 if test "$enableval" = yes; then
5531 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
5532 else
5533 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
5534 fi
5535
5536 else
5537
5538 LINE=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
5539 if test "x$LINE" != x ; then
5540 eval "DEFAULT_$LINE"
5541 else
5542 no_cache=1
5543 fi
5544
5545 ac_cv_use_mslu='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
5546
5547 fi;
5548
5549 eval "$ac_cv_use_mslu"
5550 if test "$no_cache" != 1; then
5551 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
5552 fi
5553
5554 if test "$wxUSE_UNICODE_MSLU" = yes; then
5555 echo "$as_me:$LINENO: result: yes" >&5
5556 echo "${ECHO_T}yes" >&6
5557 else
5558 echo "$as_me:$LINENO: result: no" >&5
5559 echo "${ECHO_T}no" >&6
5560 fi
5561
5562
5563 enablestring=
5564 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
5565 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
5566 no_cache=0
5567 # Check whether --enable-snglinst or --disable-snglinst was given.
5568 if test "${enable_snglinst+set}" = set; then
5569 enableval="$enable_snglinst"
5570
5571 if test "$enableval" = yes; then
5572 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
5573 else
5574 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
5575 fi
5576
5577 else
5578
5579 LINE=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
5580 if test "x$LINE" != x ; then
5581 eval "DEFAULT_$LINE"
5582 else
5583 no_cache=1
5584 fi
5585
5586 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
5587
5588 fi;
5589
5590 eval "$ac_cv_use_snglinst"
5591 if test "$no_cache" != 1; then
5592 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
5593 fi
5594
5595 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
5596 echo "$as_me:$LINENO: result: yes" >&5
5597 echo "${ECHO_T}yes" >&6
5598 else
5599 echo "$as_me:$LINENO: result: no" >&5
5600 echo "${ECHO_T}no" >&6
5601 fi
5602
5603
5604 enablestring=
5605 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
5606 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
5607 no_cache=0
5608 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
5609 if test "${enable_std_iostreams+set}" = set; then
5610 enableval="$enable_std_iostreams"
5611
5612 if test "$enableval" = yes; then
5613 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
5614 else
5615 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
5616 fi
5617
5618 else
5619
5620 LINE=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
5621 if test "x$LINE" != x ; then
5622 eval "DEFAULT_$LINE"
5623 else
5624 no_cache=1
5625 fi
5626
5627 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
5628
5629 fi;
5630
5631 eval "$ac_cv_use_std_iostreams"
5632 if test "$no_cache" != 1; then
5633 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
5634 fi
5635
5636 if test "$wxUSE_STD_IOSTREAM" = yes; then
5637 echo "$as_me:$LINENO: result: yes" >&5
5638 echo "${ECHO_T}yes" >&6
5639 else
5640 echo "$as_me:$LINENO: result: no" >&5
5641 echo "${ECHO_T}no" >&6
5642 fi
5643
5644
5645 enablestring=
5646 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
5647 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6
5648 no_cache=0
5649 # Check whether --enable-std_string or --disable-std_string was given.
5650 if test "${enable_std_string+set}" = set; then
5651 enableval="$enable_std_string"
5652
5653 if test "$enableval" = yes; then
5654 ac_cv_use_std_string='wxUSE_STD_STRING=yes'
5655 else
5656 ac_cv_use_std_string='wxUSE_STD_STRING=no'
5657 fi
5658
5659 else
5660
5661 LINE=`grep "wxUSE_STD_STRING" ${wx_arg_cache_file}`
5662 if test "x$LINE" != x ; then
5663 eval "DEFAULT_$LINE"
5664 else
5665 no_cache=1
5666 fi
5667
5668 ac_cv_use_std_string='wxUSE_STD_STRING='$DEFAULT_wxUSE_STD_STRING
5669
5670 fi;
5671
5672 eval "$ac_cv_use_std_string"
5673 if test "$no_cache" != 1; then
5674 echo $ac_cv_use_std_string >> ${wx_arg_cache_file}.tmp
5675 fi
5676
5677 if test "$wxUSE_STD_STRING" = yes; then
5678 echo "$as_me:$LINENO: result: yes" >&5
5679 echo "${ECHO_T}yes" >&6
5680 else
5681 echo "$as_me:$LINENO: result: no" >&5
5682 echo "${ECHO_T}no" >&6
5683 fi
5684
5685
5686 enablestring=
5687 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
5688 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6
5689 no_cache=0
5690 # Check whether --enable-stdpaths or --disable-stdpaths was given.
5691 if test "${enable_stdpaths+set}" = set; then
5692 enableval="$enable_stdpaths"
5693
5694 if test "$enableval" = yes; then
5695 ac_cv_use_stdpaths='wxUSE_STDPATHS=yes'
5696 else
5697 ac_cv_use_stdpaths='wxUSE_STDPATHS=no'
5698 fi
5699
5700 else
5701
5702 LINE=`grep "wxUSE_STDPATHS" ${wx_arg_cache_file}`
5703 if test "x$LINE" != x ; then
5704 eval "DEFAULT_$LINE"
5705 else
5706 no_cache=1
5707 fi
5708
5709 ac_cv_use_stdpaths='wxUSE_STDPATHS='$DEFAULT_wxUSE_STDPATHS
5710
5711 fi;
5712
5713 eval "$ac_cv_use_stdpaths"
5714 if test "$no_cache" != 1; then
5715 echo $ac_cv_use_stdpaths >> ${wx_arg_cache_file}.tmp
5716 fi
5717
5718 if test "$wxUSE_STDPATHS" = yes; then
5719 echo "$as_me:$LINENO: result: yes" >&5
5720 echo "${ECHO_T}yes" >&6
5721 else
5722 echo "$as_me:$LINENO: result: no" >&5
5723 echo "${ECHO_T}no" >&6
5724 fi
5725
5726
5727 enablestring=
5728 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
5729 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
5730 no_cache=0
5731 # Check whether --enable-stopwatch or --disable-stopwatch was given.
5732 if test "${enable_stopwatch+set}" = set; then
5733 enableval="$enable_stopwatch"
5734
5735 if test "$enableval" = yes; then
5736 ac_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
5737 else
5738 ac_cv_use_stopwatch='wxUSE_STOPWATCH=no'
5739 fi
5740
5741 else
5742
5743 LINE=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
5744 if test "x$LINE" != x ; then
5745 eval "DEFAULT_$LINE"
5746 else
5747 no_cache=1
5748 fi
5749
5750 ac_cv_use_stopwatch='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
5751
5752 fi;
5753
5754 eval "$ac_cv_use_stopwatch"
5755 if test "$no_cache" != 1; then
5756 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
5757 fi
5758
5759 if test "$wxUSE_STOPWATCH" = yes; then
5760 echo "$as_me:$LINENO: result: yes" >&5
5761 echo "${ECHO_T}yes" >&6
5762 else
5763 echo "$as_me:$LINENO: result: no" >&5
5764 echo "${ECHO_T}no" >&6
5765 fi
5766
5767
5768 enablestring=
5769 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
5770 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
5771 no_cache=0
5772 # Check whether --enable-streams or --disable-streams was given.
5773 if test "${enable_streams+set}" = set; then
5774 enableval="$enable_streams"
5775
5776 if test "$enableval" = yes; then
5777 ac_cv_use_streams='wxUSE_STREAMS=yes'
5778 else
5779 ac_cv_use_streams='wxUSE_STREAMS=no'
5780 fi
5781
5782 else
5783
5784 LINE=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
5785 if test "x$LINE" != x ; then
5786 eval "DEFAULT_$LINE"
5787 else
5788 no_cache=1
5789 fi
5790
5791 ac_cv_use_streams='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
5792
5793 fi;
5794
5795 eval "$ac_cv_use_streams"
5796 if test "$no_cache" != 1; then
5797 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
5798 fi
5799
5800 if test "$wxUSE_STREAMS" = yes; then
5801 echo "$as_me:$LINENO: result: yes" >&5
5802 echo "${ECHO_T}yes" >&6
5803 else
5804 echo "$as_me:$LINENO: result: no" >&5
5805 echo "${ECHO_T}no" >&6
5806 fi
5807
5808
5809 enablestring=
5810 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
5811 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6
5812 no_cache=0
5813 # Check whether --enable-system_options or --disable-system_options was given.
5814 if test "${enable_system_options+set}" = set; then
5815 enableval="$enable_system_options"
5816
5817 if test "$enableval" = yes; then
5818 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
5819 else
5820 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
5821 fi
5822
5823 else
5824
5825 LINE=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
5826 if test "x$LINE" != x ; then
5827 eval "DEFAULT_$LINE"
5828 else
5829 no_cache=1
5830 fi
5831
5832 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
5833
5834 fi;
5835
5836 eval "$ac_cv_use_system_options"
5837 if test "$no_cache" != 1; then
5838 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
5839 fi
5840
5841 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
5842 echo "$as_me:$LINENO: result: yes" >&5
5843 echo "${ECHO_T}yes" >&6
5844 else
5845 echo "$as_me:$LINENO: result: no" >&5
5846 echo "${ECHO_T}no" >&6
5847 fi
5848
5849
5850 enablestring=
5851 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
5852 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
5853 no_cache=0
5854 # Check whether --enable-textbuf or --disable-textbuf was given.
5855 if test "${enable_textbuf+set}" = set; then
5856 enableval="$enable_textbuf"
5857
5858 if test "$enableval" = yes; then
5859 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
5860 else
5861 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
5862 fi
5863
5864 else
5865
5866 LINE=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
5867 if test "x$LINE" != x ; then
5868 eval "DEFAULT_$LINE"
5869 else
5870 no_cache=1
5871 fi
5872
5873 ac_cv_use_textbuf='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
5874
5875 fi;
5876
5877 eval "$ac_cv_use_textbuf"
5878 if test "$no_cache" != 1; then
5879 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
5880 fi
5881
5882 if test "$wxUSE_TEXTBUFFER" = yes; then
5883 echo "$as_me:$LINENO: result: yes" >&5
5884 echo "${ECHO_T}yes" >&6
5885 else
5886 echo "$as_me:$LINENO: result: no" >&5
5887 echo "${ECHO_T}no" >&6
5888 fi
5889
5890
5891 enablestring=
5892 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
5893 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
5894 no_cache=0
5895 # Check whether --enable-textfile or --disable-textfile was given.
5896 if test "${enable_textfile+set}" = set; then
5897 enableval="$enable_textfile"
5898
5899 if test "$enableval" = yes; then
5900 ac_cv_use_textfile='wxUSE_TEXTFILE=yes'
5901 else
5902 ac_cv_use_textfile='wxUSE_TEXTFILE=no'
5903 fi
5904
5905 else
5906
5907 LINE=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
5908 if test "x$LINE" != x ; then
5909 eval "DEFAULT_$LINE"
5910 else
5911 no_cache=1
5912 fi
5913
5914 ac_cv_use_textfile='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
5915
5916 fi;
5917
5918 eval "$ac_cv_use_textfile"
5919 if test "$no_cache" != 1; then
5920 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
5921 fi
5922
5923 if test "$wxUSE_TEXTFILE" = yes; then
5924 echo "$as_me:$LINENO: result: yes" >&5
5925 echo "${ECHO_T}yes" >&6
5926 else
5927 echo "$as_me:$LINENO: result: no" >&5
5928 echo "${ECHO_T}no" >&6
5929 fi
5930
5931
5932 enablestring=
5933 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
5934 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
5935 no_cache=0
5936 # Check whether --enable-timer or --disable-timer was given.
5937 if test "${enable_timer+set}" = set; then
5938 enableval="$enable_timer"
5939
5940 if test "$enableval" = yes; then
5941 ac_cv_use_timer='wxUSE_TIMER=yes'
5942 else
5943 ac_cv_use_timer='wxUSE_TIMER=no'
5944 fi
5945
5946 else
5947
5948 LINE=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
5949 if test "x$LINE" != x ; then
5950 eval "DEFAULT_$LINE"
5951 else
5952 no_cache=1
5953 fi
5954
5955 ac_cv_use_timer='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
5956
5957 fi;
5958
5959 eval "$ac_cv_use_timer"
5960 if test "$no_cache" != 1; then
5961 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
5962 fi
5963
5964 if test "$wxUSE_TIMER" = yes; then
5965 echo "$as_me:$LINENO: result: yes" >&5
5966 echo "${ECHO_T}yes" >&6
5967 else
5968 echo "$as_me:$LINENO: result: no" >&5
5969 echo "${ECHO_T}no" >&6
5970 fi
5971
5972
5973 enablestring=
5974 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
5975 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
5976 no_cache=0
5977 # Check whether --enable-unicode or --disable-unicode was given.
5978 if test "${enable_unicode+set}" = set; then
5979 enableval="$enable_unicode"
5980
5981 if test "$enableval" = yes; then
5982 ac_cv_use_unicode='wxUSE_UNICODE=yes'
5983 else
5984 ac_cv_use_unicode='wxUSE_UNICODE=no'
5985 fi
5986
5987 else
5988
5989 LINE=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
5990 if test "x$LINE" != x ; then
5991 eval "DEFAULT_$LINE"
5992 else
5993 no_cache=1
5994 fi
5995
5996 ac_cv_use_unicode='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
5997
5998 fi;
5999
6000 eval "$ac_cv_use_unicode"
6001 if test "$no_cache" != 1; then
6002 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
6003 fi
6004
6005 if test "$wxUSE_UNICODE" = yes; then
6006 echo "$as_me:$LINENO: result: yes" >&5
6007 echo "${ECHO_T}yes" >&6
6008 else
6009 echo "$as_me:$LINENO: result: no" >&5
6010 echo "${ECHO_T}no" >&6
6011 fi
6012
6013
6014 enablestring=
6015 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
6016 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6
6017 no_cache=0
6018 # Check whether --enable-sound or --disable-sound was given.
6019 if test "${enable_sound+set}" = set; then
6020 enableval="$enable_sound"
6021
6022 if test "$enableval" = yes; then
6023 ac_cv_use_sound='wxUSE_SOUND=yes'
6024 else
6025 ac_cv_use_sound='wxUSE_SOUND=no'
6026 fi
6027
6028 else
6029
6030 LINE=`grep "wxUSE_SOUND" ${wx_arg_cache_file}`
6031 if test "x$LINE" != x ; then
6032 eval "DEFAULT_$LINE"
6033 else
6034 no_cache=1
6035 fi
6036
6037 ac_cv_use_sound='wxUSE_SOUND='$DEFAULT_wxUSE_SOUND
6038
6039 fi;
6040
6041 eval "$ac_cv_use_sound"
6042 if test "$no_cache" != 1; then
6043 echo $ac_cv_use_sound >> ${wx_arg_cache_file}.tmp
6044 fi
6045
6046 if test "$wxUSE_SOUND" = yes; then
6047 echo "$as_me:$LINENO: result: yes" >&5
6048 echo "${ECHO_T}yes" >&6
6049 else
6050 echo "$as_me:$LINENO: result: no" >&5
6051 echo "${ECHO_T}no" >&6
6052 fi
6053
6054
6055 enablestring=
6056 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
6057 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6
6058 no_cache=0
6059 # Check whether --enable-mediactrl or --disable-mediactrl was given.
6060 if test "${enable_mediactrl+set}" = set; then
6061 enableval="$enable_mediactrl"
6062
6063 if test "$enableval" = yes; then
6064 ac_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
6065 else
6066 ac_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
6067 fi
6068
6069 else
6070
6071 LINE=`grep "wxUSE_MEDIACTRL" ${wx_arg_cache_file}`
6072 if test "x$LINE" != x ; then
6073 eval "DEFAULT_$LINE"
6074 else
6075 no_cache=1
6076 fi
6077
6078 ac_cv_use_mediactrl='wxUSE_MEDIACTRL='$DEFAULT_wxUSE_MEDIACTRL
6079
6080 fi;
6081
6082 eval "$ac_cv_use_mediactrl"
6083 if test "$no_cache" != 1; then
6084 echo $ac_cv_use_mediactrl >> ${wx_arg_cache_file}.tmp
6085 fi
6086
6087 if test "$wxUSE_MEDIACTRL" = yes; then
6088 echo "$as_me:$LINENO: result: yes" >&5
6089 echo "${ECHO_T}yes" >&6
6090 else
6091 echo "$as_me:$LINENO: result: no" >&5
6092 echo "${ECHO_T}no" >&6
6093 fi
6094
6095
6096 enablestring=
6097 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxprintfv" >&5
6098 echo $ECHO_N "checking for --${enablestring:-enable}-wxprintfv... $ECHO_C" >&6
6099 no_cache=0
6100 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
6101 if test "${enable_wxprintfv+set}" = set; then
6102 enableval="$enable_wxprintfv"
6103
6104 if test "$enableval" = yes; then
6105 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF=yes'
6106 else
6107 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF=no'
6108 fi
6109
6110 else
6111
6112 LINE=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
6113 if test "x$LINE" != x ; then
6114 eval "DEFAULT_$LINE"
6115 else
6116 no_cache=1
6117 fi
6118
6119 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
6120
6121 fi;
6122
6123 eval "$ac_cv_use_wxprintfv"
6124 if test "$no_cache" != 1; then
6125 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
6126 fi
6127
6128 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
6129 echo "$as_me:$LINENO: result: yes" >&5
6130 echo "${ECHO_T}yes" >&6
6131 else
6132 echo "$as_me:$LINENO: result: no" >&5
6133 echo "${ECHO_T}no" >&6
6134 fi
6135
6136
6137 enablestring=
6138 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
6139 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
6140 no_cache=0
6141 # Check whether --enable-zipstream or --disable-zipstream was given.
6142 if test "${enable_zipstream+set}" = set; then
6143 enableval="$enable_zipstream"
6144
6145 if test "$enableval" = yes; then
6146 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
6147 else
6148 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
6149 fi
6150
6151 else
6152
6153 LINE=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
6154 if test "x$LINE" != x ; then
6155 eval "DEFAULT_$LINE"
6156 else
6157 no_cache=1
6158 fi
6159
6160 ac_cv_use_zipstream='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
6161
6162 fi;
6163
6164 eval "$ac_cv_use_zipstream"
6165 if test "$no_cache" != 1; then
6166 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
6167 fi
6168
6169 if test "$wxUSE_ZIPSTREAM" = yes; then
6170 echo "$as_me:$LINENO: result: yes" >&5
6171 echo "${ECHO_T}yes" >&6
6172 else
6173 echo "$as_me:$LINENO: result: no" >&5
6174 echo "${ECHO_T}no" >&6
6175 fi
6176
6177
6178
6179 enablestring=
6180 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
6181 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
6182 no_cache=0
6183 # Check whether --enable-url or --disable-url was given.
6184 if test "${enable_url+set}" = set; then
6185 enableval="$enable_url"
6186
6187 if test "$enableval" = yes; then
6188 ac_cv_use_url='wxUSE_URL=yes'
6189 else
6190 ac_cv_use_url='wxUSE_URL=no'
6191 fi
6192
6193 else
6194
6195 LINE=`grep "wxUSE_URL" ${wx_arg_cache_file}`
6196 if test "x$LINE" != x ; then
6197 eval "DEFAULT_$LINE"
6198 else
6199 no_cache=1
6200 fi
6201
6202 ac_cv_use_url='wxUSE_URL='$DEFAULT_wxUSE_URL
6203
6204 fi;
6205
6206 eval "$ac_cv_use_url"
6207 if test "$no_cache" != 1; then
6208 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
6209 fi
6210
6211 if test "$wxUSE_URL" = yes; then
6212 echo "$as_me:$LINENO: result: yes" >&5
6213 echo "${ECHO_T}yes" >&6
6214 else
6215 echo "$as_me:$LINENO: result: no" >&5
6216 echo "${ECHO_T}no" >&6
6217 fi
6218
6219
6220 enablestring=
6221 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
6222 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
6223 no_cache=0
6224 # Check whether --enable-protocol or --disable-protocol was given.
6225 if test "${enable_protocol+set}" = set; then
6226 enableval="$enable_protocol"
6227
6228 if test "$enableval" = yes; then
6229 ac_cv_use_protocol='wxUSE_PROTOCOL=yes'
6230 else
6231 ac_cv_use_protocol='wxUSE_PROTOCOL=no'
6232 fi
6233
6234 else
6235
6236 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
6237 if test "x$LINE" != x ; then
6238 eval "DEFAULT_$LINE"
6239 else
6240 no_cache=1
6241 fi
6242
6243 ac_cv_use_protocol='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
6244
6245 fi;
6246
6247 eval "$ac_cv_use_protocol"
6248 if test "$no_cache" != 1; then
6249 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
6250 fi
6251
6252 if test "$wxUSE_PROTOCOL" = yes; then
6253 echo "$as_me:$LINENO: result: yes" >&5
6254 echo "${ECHO_T}yes" >&6
6255 else
6256 echo "$as_me:$LINENO: result: no" >&5
6257 echo "${ECHO_T}no" >&6
6258 fi
6259
6260
6261 enablestring=
6262 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
6263 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
6264 no_cache=0
6265 # Check whether --enable-protocol_http or --disable-protocol_http was given.
6266 if test "${enable_protocol_http+set}" = set; then
6267 enableval="$enable_protocol_http"
6268
6269 if test "$enableval" = yes; then
6270 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
6271 else
6272 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
6273 fi
6274
6275 else
6276
6277 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
6278 if test "x$LINE" != x ; then
6279 eval "DEFAULT_$LINE"
6280 else
6281 no_cache=1
6282 fi
6283
6284 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
6285
6286 fi;
6287
6288 eval "$ac_cv_use_protocol_http"
6289 if test "$no_cache" != 1; then
6290 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
6291 fi
6292
6293 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
6294 echo "$as_me:$LINENO: result: yes" >&5
6295 echo "${ECHO_T}yes" >&6
6296 else
6297 echo "$as_me:$LINENO: result: no" >&5
6298 echo "${ECHO_T}no" >&6
6299 fi
6300
6301
6302 enablestring=
6303 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
6304 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
6305 no_cache=0
6306 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
6307 if test "${enable_protocol_ftp+set}" = set; then
6308 enableval="$enable_protocol_ftp"
6309
6310 if test "$enableval" = yes; then
6311 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
6312 else
6313 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
6314 fi
6315
6316 else
6317
6318 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
6319 if test "x$LINE" != x ; then
6320 eval "DEFAULT_$LINE"
6321 else
6322 no_cache=1
6323 fi
6324
6325 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
6326
6327 fi;
6328
6329 eval "$ac_cv_use_protocol_ftp"
6330 if test "$no_cache" != 1; then
6331 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
6332 fi
6333
6334 if test "$wxUSE_PROTOCOL_FTP" = yes; then
6335 echo "$as_me:$LINENO: result: yes" >&5
6336 echo "${ECHO_T}yes" >&6
6337 else
6338 echo "$as_me:$LINENO: result: no" >&5
6339 echo "${ECHO_T}no" >&6
6340 fi
6341
6342
6343 enablestring=
6344 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
6345 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
6346 no_cache=0
6347 # Check whether --enable-protocol_file or --disable-protocol_file was given.
6348 if test "${enable_protocol_file+set}" = set; then
6349 enableval="$enable_protocol_file"
6350
6351 if test "$enableval" = yes; then
6352 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
6353 else
6354 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
6355 fi
6356
6357 else
6358
6359 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
6360 if test "x$LINE" != x ; then
6361 eval "DEFAULT_$LINE"
6362 else
6363 no_cache=1
6364 fi
6365
6366 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
6367
6368 fi;
6369
6370 eval "$ac_cv_use_protocol_file"
6371 if test "$no_cache" != 1; then
6372 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
6373 fi
6374
6375 if test "$wxUSE_PROTOCOL_FILE" = yes; then
6376 echo "$as_me:$LINENO: result: yes" >&5
6377 echo "${ECHO_T}yes" >&6
6378 else
6379 echo "$as_me:$LINENO: result: no" >&5
6380 echo "${ECHO_T}no" >&6
6381 fi
6382
6383
6384
6385
6386
6387 enablestring=
6388 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
6389 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
6390 no_cache=0
6391 # Check whether --enable-threads or --disable-threads was given.
6392 if test "${enable_threads+set}" = set; then
6393 enableval="$enable_threads"
6394
6395 if test "$enableval" = yes; then
6396 ac_cv_use_threads='wxUSE_THREADS=yes'
6397 else
6398 ac_cv_use_threads='wxUSE_THREADS=no'
6399 fi
6400
6401 else
6402
6403 LINE=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
6404 if test "x$LINE" != x ; then
6405 eval "DEFAULT_$LINE"
6406 else
6407 no_cache=1
6408 fi
6409
6410 ac_cv_use_threads='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
6411
6412 fi;
6413
6414 eval "$ac_cv_use_threads"
6415 if test "$no_cache" != 1; then
6416 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
6417 fi
6418
6419 if test "$wxUSE_THREADS" = yes; then
6420 echo "$as_me:$LINENO: result: yes" >&5
6421 echo "${ECHO_T}yes" >&6
6422 else
6423 echo "$as_me:$LINENO: result: no" >&5
6424 echo "${ECHO_T}no" >&6
6425 fi
6426
6427
6428 if test "$wxUSE_GUI" = "yes"; then
6429
6430
6431
6432 enablestring=
6433 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
6434 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
6435 no_cache=0
6436 # Check whether --enable-docview or --disable-docview was given.
6437 if test "${enable_docview+set}" = set; then
6438 enableval="$enable_docview"
6439
6440 if test "$enableval" = yes; then
6441 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
6442 else
6443 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
6444 fi
6445
6446 else
6447
6448 LINE=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
6449 if test "x$LINE" != x ; then
6450 eval "DEFAULT_$LINE"
6451 else
6452 no_cache=1
6453 fi
6454
6455 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
6456
6457 fi;
6458
6459 eval "$ac_cv_use_docview"
6460 if test "$no_cache" != 1; then
6461 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
6462 fi
6463
6464 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
6465 echo "$as_me:$LINENO: result: yes" >&5
6466 echo "${ECHO_T}yes" >&6
6467 else
6468 echo "$as_me:$LINENO: result: no" >&5
6469 echo "${ECHO_T}no" >&6
6470 fi
6471
6472
6473 enablestring=
6474 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
6475 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
6476 no_cache=0
6477 # Check whether --enable-help or --disable-help was given.
6478 if test "${enable_help+set}" = set; then
6479 enableval="$enable_help"
6480
6481 if test "$enableval" = yes; then
6482 ac_cv_use_help='wxUSE_HELP=yes'
6483 else
6484 ac_cv_use_help='wxUSE_HELP=no'
6485 fi
6486
6487 else
6488
6489 LINE=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
6490 if test "x$LINE" != x ; then
6491 eval "DEFAULT_$LINE"
6492 else
6493 no_cache=1
6494 fi
6495
6496 ac_cv_use_help='wxUSE_HELP='$DEFAULT_wxUSE_HELP
6497
6498 fi;
6499
6500 eval "$ac_cv_use_help"
6501 if test "$no_cache" != 1; then
6502 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
6503 fi
6504
6505 if test "$wxUSE_HELP" = yes; then
6506 echo "$as_me:$LINENO: result: yes" >&5
6507 echo "${ECHO_T}yes" >&6
6508 else
6509 echo "$as_me:$LINENO: result: no" >&5
6510 echo "${ECHO_T}no" >&6
6511 fi
6512
6513
6514 enablestring=
6515 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
6516 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6
6517 no_cache=0
6518 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
6519 if test "${enable_mshtmlhelp+set}" = set; then
6520 enableval="$enable_mshtmlhelp"
6521
6522 if test "$enableval" = yes; then
6523 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
6524 else
6525 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
6526 fi
6527
6528 else
6529
6530 LINE=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
6531 if test "x$LINE" != x ; then
6532 eval "DEFAULT_$LINE"
6533 else
6534 no_cache=1
6535 fi
6536
6537 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
6538
6539 fi;
6540
6541 eval "$ac_cv_use_mshtmlhelp"
6542 if test "$no_cache" != 1; then
6543 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
6544 fi
6545
6546 if test "$wxUSE_MS_HTML_HELP" = yes; then
6547 echo "$as_me:$LINENO: result: yes" >&5
6548 echo "${ECHO_T}yes" >&6
6549 else
6550 echo "$as_me:$LINENO: result: no" >&5
6551 echo "${ECHO_T}no" >&6
6552 fi
6553
6554
6555 enablestring=
6556 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
6557 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
6558 no_cache=0
6559 # Check whether --enable-html or --disable-html was given.
6560 if test "${enable_html+set}" = set; then
6561 enableval="$enable_html"
6562
6563 if test "$enableval" = yes; then
6564 ac_cv_use_html='wxUSE_HTML=yes'
6565 else
6566 ac_cv_use_html='wxUSE_HTML=no'
6567 fi
6568
6569 else
6570
6571 LINE=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
6572 if test "x$LINE" != x ; then
6573 eval "DEFAULT_$LINE"
6574 else
6575 no_cache=1
6576 fi
6577
6578 ac_cv_use_html='wxUSE_HTML='$DEFAULT_wxUSE_HTML
6579
6580 fi;
6581
6582 eval "$ac_cv_use_html"
6583 if test "$no_cache" != 1; then
6584 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
6585 fi
6586
6587 if test "$wxUSE_HTML" = yes; then
6588 echo "$as_me:$LINENO: result: yes" >&5
6589 echo "${ECHO_T}yes" >&6
6590 else
6591 echo "$as_me:$LINENO: result: no" >&5
6592 echo "${ECHO_T}no" >&6
6593 fi
6594
6595
6596 enablestring=
6597 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
6598 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
6599 no_cache=0
6600 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
6601 if test "${enable_htmlhelp+set}" = set; then
6602 enableval="$enable_htmlhelp"
6603
6604 if test "$enableval" = yes; then
6605 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
6606 else
6607 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
6608 fi
6609
6610 else
6611
6612 LINE=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
6613 if test "x$LINE" != x ; then
6614 eval "DEFAULT_$LINE"
6615 else
6616 no_cache=1
6617 fi
6618
6619 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
6620
6621 fi;
6622
6623 eval "$ac_cv_use_htmlhelp"
6624 if test "$no_cache" != 1; then
6625 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
6626 fi
6627
6628 if test "$wxUSE_WXHTML_HELP" = yes; then
6629 echo "$as_me:$LINENO: result: yes" >&5
6630 echo "${ECHO_T}yes" >&6
6631 else
6632 echo "$as_me:$LINENO: result: no" >&5
6633 echo "${ECHO_T}no" >&6
6634 fi
6635
6636
6637 enablestring=
6638 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
6639 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6
6640 no_cache=0
6641 # Check whether --enable-xrc or --disable-xrc was given.
6642 if test "${enable_xrc+set}" = set; then
6643 enableval="$enable_xrc"
6644
6645 if test "$enableval" = yes; then
6646 ac_cv_use_xrc='wxUSE_XRC=yes'
6647 else
6648 ac_cv_use_xrc='wxUSE_XRC=no'
6649 fi
6650
6651 else
6652
6653 LINE=`grep "wxUSE_XRC" ${wx_arg_cache_file}`
6654 if test "x$LINE" != x ; then
6655 eval "DEFAULT_$LINE"
6656 else
6657 no_cache=1
6658 fi
6659
6660 ac_cv_use_xrc='wxUSE_XRC='$DEFAULT_wxUSE_XRC
6661
6662 fi;
6663
6664 eval "$ac_cv_use_xrc"
6665 if test "$no_cache" != 1; then
6666 echo $ac_cv_use_xrc >> ${wx_arg_cache_file}.tmp
6667 fi
6668
6669 if test "$wxUSE_XRC" = yes; then
6670 echo "$as_me:$LINENO: result: yes" >&5
6671 echo "${ECHO_T}yes" >&6
6672 else
6673 echo "$as_me:$LINENO: result: no" >&5
6674 echo "${ECHO_T}no" >&6
6675 fi
6676
6677
6678 enablestring=
6679 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
6680 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6
6681 no_cache=0
6682 # Check whether --enable-constraints or --disable-constraints was given.
6683 if test "${enable_constraints+set}" = set; then
6684 enableval="$enable_constraints"
6685
6686 if test "$enableval" = yes; then
6687 ac_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
6688 else
6689 ac_cv_use_constraints='wxUSE_CONSTRAINTS=no'
6690 fi
6691
6692 else
6693
6694 LINE=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
6695 if test "x$LINE" != x ; then
6696 eval "DEFAULT_$LINE"
6697 else
6698 no_cache=1
6699 fi
6700
6701 ac_cv_use_constraints='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
6702
6703 fi;
6704
6705 eval "$ac_cv_use_constraints"
6706 if test "$no_cache" != 1; then
6707 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
6708 fi
6709
6710 if test "$wxUSE_CONSTRAINTS" = yes; then
6711 echo "$as_me:$LINENO: result: yes" >&5
6712 echo "${ECHO_T}yes" >&6
6713 else
6714 echo "$as_me:$LINENO: result: no" >&5
6715 echo "${ECHO_T}no" >&6
6716 fi
6717
6718
6719 enablestring=
6720 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
6721 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
6722 no_cache=0
6723 # Check whether --enable-printarch or --disable-printarch was given.
6724 if test "${enable_printarch+set}" = set; then
6725 enableval="$enable_printarch"
6726
6727 if test "$enableval" = yes; then
6728 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
6729 else
6730 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
6731 fi
6732
6733 else
6734
6735 LINE=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
6736 if test "x$LINE" != x ; then
6737 eval "DEFAULT_$LINE"
6738 else
6739 no_cache=1
6740 fi
6741
6742 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
6743
6744 fi;
6745
6746 eval "$ac_cv_use_printarch"
6747 if test "$no_cache" != 1; then
6748 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
6749 fi
6750
6751 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
6752 echo "$as_me:$LINENO: result: yes" >&5
6753 echo "${ECHO_T}yes" >&6
6754 else
6755 echo "$as_me:$LINENO: result: no" >&5
6756 echo "${ECHO_T}no" >&6
6757 fi
6758
6759
6760 enablestring=
6761 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
6762 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
6763 no_cache=0
6764 # Check whether --enable-mdi or --disable-mdi was given.
6765 if test "${enable_mdi+set}" = set; then
6766 enableval="$enable_mdi"
6767
6768 if test "$enableval" = yes; then
6769 ac_cv_use_mdi='wxUSE_MDI=yes'
6770 else
6771 ac_cv_use_mdi='wxUSE_MDI=no'
6772 fi
6773
6774 else
6775
6776 LINE=`grep "wxUSE_MDI" ${wx_arg_cache_file}`
6777 if test "x$LINE" != x ; then
6778 eval "DEFAULT_$LINE"
6779 else
6780 no_cache=1
6781 fi
6782
6783 ac_cv_use_mdi='wxUSE_MDI='$DEFAULT_wxUSE_MDI
6784
6785 fi;
6786
6787 eval "$ac_cv_use_mdi"
6788 if test "$no_cache" != 1; then
6789 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
6790 fi
6791
6792 if test "$wxUSE_MDI" = yes; then
6793 echo "$as_me:$LINENO: result: yes" >&5
6794 echo "${ECHO_T}yes" >&6
6795 else
6796 echo "$as_me:$LINENO: result: no" >&5
6797 echo "${ECHO_T}no" >&6
6798 fi
6799
6800
6801 enablestring=
6802 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
6803 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6
6804 no_cache=0
6805 # Check whether --enable-mdidoc or --disable-mdidoc was given.
6806 if test "${enable_mdidoc+set}" = set; then
6807 enableval="$enable_mdidoc"
6808
6809 if test "$enableval" = yes; then
6810 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
6811 else
6812 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
6813 fi
6814
6815 else
6816
6817 LINE=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
6818 if test "x$LINE" != x ; then
6819 eval "DEFAULT_$LINE"
6820 else
6821 no_cache=1
6822 fi
6823
6824 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
6825
6826 fi;
6827
6828 eval "$ac_cv_use_mdidoc"
6829 if test "$no_cache" != 1; then
6830 echo $ac_cv_use_mdidoc >> ${wx_arg_cache_file}.tmp
6831 fi
6832
6833 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
6834 echo "$as_me:$LINENO: result: yes" >&5
6835 echo "${ECHO_T}yes" >&6
6836 else
6837 echo "$as_me:$LINENO: result: no" >&5
6838 echo "${ECHO_T}no" >&6
6839 fi
6840
6841
6842 enablestring=
6843 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
6844 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
6845 no_cache=0
6846 # Check whether --enable-loggui or --disable-loggui was given.
6847 if test "${enable_loggui+set}" = set; then
6848 enableval="$enable_loggui"
6849
6850 if test "$enableval" = yes; then
6851 ac_cv_use_loggui='wxUSE_LOGGUI=yes'
6852 else
6853 ac_cv_use_loggui='wxUSE_LOGGUI=no'
6854 fi
6855
6856 else
6857
6858 LINE=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
6859 if test "x$LINE" != x ; then
6860 eval "DEFAULT_$LINE"
6861 else
6862 no_cache=1
6863 fi
6864
6865 ac_cv_use_loggui='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
6866
6867 fi;
6868
6869 eval "$ac_cv_use_loggui"
6870 if test "$no_cache" != 1; then
6871 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
6872 fi
6873
6874 if test "$wxUSE_LOGGUI" = yes; then
6875 echo "$as_me:$LINENO: result: yes" >&5
6876 echo "${ECHO_T}yes" >&6
6877 else
6878 echo "$as_me:$LINENO: result: no" >&5
6879 echo "${ECHO_T}no" >&6
6880 fi
6881
6882
6883 enablestring=
6884 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
6885 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
6886 no_cache=0
6887 # Check whether --enable-logwin or --disable-logwin was given.
6888 if test "${enable_logwin+set}" = set; then
6889 enableval="$enable_logwin"
6890
6891 if test "$enableval" = yes; then
6892 ac_cv_use_logwin='wxUSE_LOGWINDOW=yes'
6893 else
6894 ac_cv_use_logwin='wxUSE_LOGWINDOW=no'
6895 fi
6896
6897 else
6898
6899 LINE=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
6900 if test "x$LINE" != x ; then
6901 eval "DEFAULT_$LINE"
6902 else
6903 no_cache=1
6904 fi
6905
6906 ac_cv_use_logwin='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
6907
6908 fi;
6909
6910 eval "$ac_cv_use_logwin"
6911 if test "$no_cache" != 1; then
6912 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
6913 fi
6914
6915 if test "$wxUSE_LOGWINDOW" = yes; then
6916 echo "$as_me:$LINENO: result: yes" >&5
6917 echo "${ECHO_T}yes" >&6
6918 else
6919 echo "$as_me:$LINENO: result: no" >&5
6920 echo "${ECHO_T}no" >&6
6921 fi
6922
6923
6924 enablestring=
6925 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
6926 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6
6927 no_cache=0
6928 # Check whether --enable-logdialog or --disable-logdialog was given.
6929 if test "${enable_logdialog+set}" = set; then
6930 enableval="$enable_logdialog"
6931
6932 if test "$enableval" = yes; then
6933 ac_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
6934 else
6935 ac_cv_use_logdialog='wxUSE_LOGDIALOG=no'
6936 fi
6937
6938 else
6939
6940 LINE=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
6941 if test "x$LINE" != x ; then
6942 eval "DEFAULT_$LINE"
6943 else
6944 no_cache=1
6945 fi
6946
6947 ac_cv_use_logdialog='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
6948
6949 fi;
6950
6951 eval "$ac_cv_use_logdialog"
6952 if test "$no_cache" != 1; then
6953 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
6954 fi
6955
6956 if test "$wxUSE_LOGDIALOG" = yes; then
6957 echo "$as_me:$LINENO: result: yes" >&5
6958 echo "${ECHO_T}yes" >&6
6959 else
6960 echo "$as_me:$LINENO: result: no" >&5
6961 echo "${ECHO_T}no" >&6
6962 fi
6963
6964
6965 enablestring=
6966 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
6967 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6
6968 no_cache=0
6969 # Check whether --enable-webkit or --disable-webkit was given.
6970 if test "${enable_webkit+set}" = set; then
6971 enableval="$enable_webkit"
6972
6973 if test "$enableval" = yes; then
6974 ac_cv_use_webkit='wxUSE_WEBKIT=yes'
6975 else
6976 ac_cv_use_webkit='wxUSE_WEBKIT=no'
6977 fi
6978
6979 else
6980
6981 LINE=`grep "wxUSE_WEBKIT" ${wx_arg_cache_file}`
6982 if test "x$LINE" != x ; then
6983 eval "DEFAULT_$LINE"
6984 else
6985 no_cache=1
6986 fi
6987
6988 ac_cv_use_webkit='wxUSE_WEBKIT='$DEFAULT_wxUSE_WEBKIT
6989
6990 fi;
6991
6992 eval "$ac_cv_use_webkit"
6993 if test "$no_cache" != 1; then
6994 echo $ac_cv_use_webkit >> ${wx_arg_cache_file}.tmp
6995 fi
6996
6997 if test "$wxUSE_WEBKIT" = yes; then
6998 echo "$as_me:$LINENO: result: yes" >&5
6999 echo "${ECHO_T}yes" >&6
7000 else
7001 echo "$as_me:$LINENO: result: no" >&5
7002 echo "${ECHO_T}no" >&6
7003 fi
7004
7005
7006
7007 enablestring=
7008 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
7009 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
7010 no_cache=0
7011 # Check whether --enable-postscript or --disable-postscript was given.
7012 if test "${enable_postscript+set}" = set; then
7013 enableval="$enable_postscript"
7014
7015 if test "$enableval" = yes; then
7016 ac_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
7017 else
7018 ac_cv_use_postscript='wxUSE_POSTSCRIPT=no'
7019 fi
7020
7021 else
7022
7023 LINE=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
7024 if test "x$LINE" != x ; then
7025 eval "DEFAULT_$LINE"
7026 else
7027 no_cache=1
7028 fi
7029
7030 ac_cv_use_postscript='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
7031
7032 fi;
7033
7034 eval "$ac_cv_use_postscript"
7035 if test "$no_cache" != 1; then
7036 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
7037 fi
7038
7039 if test "$wxUSE_POSTSCRIPT" = yes; then
7040 echo "$as_me:$LINENO: result: yes" >&5
7041 echo "${ECHO_T}yes" >&6
7042 else
7043 echo "$as_me:$LINENO: result: no" >&5
7044 echo "${ECHO_T}no" >&6
7045 fi
7046
7047
7048
7049
7050
7051 enablestring=
7052 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
7053 echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6
7054 no_cache=0
7055 # Check whether --enable-prologio or --disable-prologio was given.
7056 if test "${enable_prologio+set}" = set; then
7057 enableval="$enable_prologio"
7058
7059 if test "$enableval" = yes; then
7060 ac_cv_use_prologio='wxUSE_PROLOGIO=yes'
7061 else
7062 ac_cv_use_prologio='wxUSE_PROLOGIO=no'
7063 fi
7064
7065 else
7066
7067 LINE=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
7068 if test "x$LINE" != x ; then
7069 eval "DEFAULT_$LINE"
7070 else
7071 no_cache=1
7072 fi
7073
7074 ac_cv_use_prologio='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
7075
7076 fi;
7077
7078 eval "$ac_cv_use_prologio"
7079 if test "$no_cache" != 1; then
7080 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
7081 fi
7082
7083 if test "$wxUSE_PROLOGIO" = yes; then
7084 echo "$as_me:$LINENO: result: yes" >&5
7085 echo "${ECHO_T}yes" >&6
7086 else
7087 echo "$as_me:$LINENO: result: no" >&5
7088 echo "${ECHO_T}no" >&6
7089 fi
7090
7091
7092 enablestring=
7093 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5
7094 echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6
7095 no_cache=0
7096 # Check whether --enable-resources or --disable-resources was given.
7097 if test "${enable_resources+set}" = set; then
7098 enableval="$enable_resources"
7099
7100 if test "$enableval" = yes; then
7101 ac_cv_use_resources='wxUSE_RESOURCES=yes'
7102 else
7103 ac_cv_use_resources='wxUSE_RESOURCES=no'
7104 fi
7105
7106 else
7107
7108 LINE=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
7109 if test "x$LINE" != x ; then
7110 eval "DEFAULT_$LINE"
7111 else
7112 no_cache=1
7113 fi
7114
7115 ac_cv_use_resources='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
7116
7117 fi;
7118
7119 eval "$ac_cv_use_resources"
7120 if test "$no_cache" != 1; then
7121 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
7122 fi
7123
7124 if test "$wxUSE_RESOURCES" = yes; then
7125 echo "$as_me:$LINENO: result: yes" >&5
7126 echo "${ECHO_T}yes" >&6
7127 else
7128 echo "$as_me:$LINENO: result: no" >&5
7129 echo "${ECHO_T}no" >&6
7130 fi
7131
7132
7133
7134
7135 enablestring=
7136 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
7137 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6
7138 no_cache=0
7139 # Check whether --enable-clipboard or --disable-clipboard was given.
7140 if test "${enable_clipboard+set}" = set; then
7141 enableval="$enable_clipboard"
7142
7143 if test "$enableval" = yes; then
7144 ac_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
7145 else
7146 ac_cv_use_clipboard='wxUSE_CLIPBOARD=no'
7147 fi
7148
7149 else
7150
7151 LINE=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
7152 if test "x$LINE" != x ; then
7153 eval "DEFAULT_$LINE"
7154 else
7155 no_cache=1
7156 fi
7157
7158 ac_cv_use_clipboard='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
7159
7160 fi;
7161
7162 eval "$ac_cv_use_clipboard"
7163 if test "$no_cache" != 1; then
7164 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
7165 fi
7166
7167 if test "$wxUSE_CLIPBOARD" = yes; then
7168 echo "$as_me:$LINENO: result: yes" >&5
7169 echo "${ECHO_T}yes" >&6
7170 else
7171 echo "$as_me:$LINENO: result: no" >&5
7172 echo "${ECHO_T}no" >&6
7173 fi
7174
7175
7176 enablestring=
7177 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
7178 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
7179 no_cache=0
7180 # Check whether --enable-dnd or --disable-dnd was given.
7181 if test "${enable_dnd+set}" = set; then
7182 enableval="$enable_dnd"
7183
7184 if test "$enableval" = yes; then
7185 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
7186 else
7187 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
7188 fi
7189
7190 else
7191
7192 LINE=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
7193 if test "x$LINE" != x ; then
7194 eval "DEFAULT_$LINE"
7195 else
7196 no_cache=1
7197 fi
7198
7199 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
7200
7201 fi;
7202
7203 eval "$ac_cv_use_dnd"
7204 if test "$no_cache" != 1; then
7205 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
7206 fi
7207
7208 if test "$wxUSE_DRAG_AND_DROP" = yes; then
7209 echo "$as_me:$LINENO: result: yes" >&5
7210 echo "${ECHO_T}yes" >&6
7211 else
7212 echo "$as_me:$LINENO: result: no" >&5
7213 echo "${ECHO_T}no" >&6
7214 fi
7215
7216
7217 enablestring=
7218 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
7219 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
7220 no_cache=0
7221 # Check whether --enable-metafile or --disable-metafile was given.
7222 if test "${enable_metafile+set}" = set; then
7223 enableval="$enable_metafile"
7224
7225 if test "$enableval" = yes; then
7226 ac_cv_use_metafile='wxUSE_METAFILE=yes'
7227 else
7228 ac_cv_use_metafile='wxUSE_METAFILE=no'
7229 fi
7230
7231 else
7232
7233 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
7234 if test "x$LINE" != x ; then
7235 eval "DEFAULT_$LINE"
7236 else
7237 no_cache=1
7238 fi
7239
7240 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
7241
7242 fi;
7243
7244 eval "$ac_cv_use_metafile"
7245 if test "$no_cache" != 1; then
7246 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
7247 fi
7248
7249 if test "$wxUSE_METAFILE" = yes; then
7250 echo "$as_me:$LINENO: result: yes" >&5
7251 echo "${ECHO_T}yes" >&6
7252 else
7253 echo "$as_me:$LINENO: result: no" >&5
7254 echo "${ECHO_T}no" >&6
7255 fi
7256
7257
7258
7259
7260
7261 enablestring=
7262 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
7263 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6
7264 no_cache=0
7265 # Check whether --enable-controls or --disable-controls was given.
7266 if test "${enable_controls+set}" = set; then
7267 enableval="$enable_controls"
7268
7269 if test "$enableval" = yes; then
7270 ac_cv_use_controls='wxUSE_CONTROLS=yes'
7271 else
7272 ac_cv_use_controls='wxUSE_CONTROLS=no'
7273 fi
7274
7275 else
7276
7277 LINE=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
7278 if test "x$LINE" != x ; then
7279 eval "DEFAULT_$LINE"
7280 else
7281 no_cache=1
7282 fi
7283
7284 ac_cv_use_controls='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
7285
7286 fi;
7287
7288 eval "$ac_cv_use_controls"
7289 if test "$no_cache" != 1; then
7290 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
7291 fi
7292
7293 if test "$wxUSE_CONTROLS" = yes; then
7294 echo "$as_me:$LINENO: result: yes" >&5
7295 echo "${ECHO_T}yes" >&6
7296 else
7297 echo "$as_me:$LINENO: result: no" >&5
7298 echo "${ECHO_T}no" >&6
7299 fi
7300
7301
7302 if test "$wxUSE_CONTROLS" = "yes"; then
7303 DEFAULT_wxUSE_ACCEL=yes
7304 DEFAULT_wxUSE_BMPBUTTON=yes
7305 DEFAULT_wxUSE_BUTTON=yes
7306 DEFAULT_wxUSE_CALCTRL=yes
7307 DEFAULT_wxUSE_CARET=yes
7308 DEFAULT_wxUSE_COMBOBOX=yes
7309 DEFAULT_wxUSE_CHECKBOX=yes
7310 DEFAULT_wxUSE_CHECKLISTBOX=yes
7311 DEFAULT_wxUSE_CHOICE=yes
7312 DEFAULT_wxUSE_CHOICEBOOK=yes
7313 DEFAULT_wxUSE_DATEPICKCTRL=yes
7314 DEFAULT_wxUSE_GAUGE=yes
7315 DEFAULT_wxUSE_GRID=yes
7316 DEFAULT_wxUSE_IMAGLIST=yes
7317 DEFAULT_wxUSE_LISTBOOK=yes
7318 DEFAULT_wxUSE_LISTBOX=yes
7319 DEFAULT_wxUSE_LISTCTRL=yes
7320 DEFAULT_wxUSE_NOTEBOOK=yes
7321 DEFAULT_wxUSE_RADIOBOX=yes
7322 DEFAULT_wxUSE_RADIOBTN=yes
7323 DEFAULT_wxUSE_SASH=yes
7324 DEFAULT_wxUSE_SCROLLBAR=yes
7325 DEFAULT_wxUSE_SLIDER=yes
7326 DEFAULT_wxUSE_SPINBTN=yes
7327 DEFAULT_wxUSE_SPINCTRL=yes
7328 DEFAULT_wxUSE_SPLITTER=yes
7329 DEFAULT_wxUSE_STATBMP=yes
7330 DEFAULT_wxUSE_STATBOX=yes
7331 DEFAULT_wxUSE_STATLINE=yes
7332 DEFAULT_wxUSE_STATUSBAR=yes
7333 DEFAULT_wxUSE_TAB_DIALOG=yes
7334 DEFAULT_wxUSE_TOGGLEBTN=yes
7335 DEFAULT_wxUSE_TOOLBAR=yes
7336 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
7337 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
7338 DEFAULT_wxUSE_TOOLTIPS=yes
7339 DEFAULT_wxUSE_TREECTRL=yes
7340 DEFAULT_wxUSE_POPUPWIN=yes
7341 DEFAULT_wxUSE_TIPWINDOW=yes
7342 elif test "$wxUSE_CONTROLS" = "no"; then
7343 DEFAULT_wxUSE_ACCEL=no
7344 DEFAULT_wxUSE_BMPBUTTON=no
7345 DEFAULT_wxUSE_BUTTON=no
7346 DEFAULT_wxUSE_CALCTRL=no
7347 DEFAULT_wxUSE_CARET=no
7348 DEFAULT_wxUSE_COMBOBOX=no
7349 DEFAULT_wxUSE_CHECKBOX=no
7350 DEFAULT_wxUSE_CHECKLISTBOX=no
7351 DEFAULT_wxUSE_CHOICE=no
7352 DEFAULT_wxUSE_CHOICEBOOK=no
7353 DEFAULT_wxUSE_DATEPICKCTRL=no
7354 DEFAULT_wxUSE_GAUGE=no
7355 DEFAULT_wxUSE_GRID=no
7356 DEFAULT_wxUSE_IMAGLIST=no
7357 DEFAULT_wxUSE_LISTBOOK=no
7358 DEFAULT_wxUSE_LISTBOX=no
7359 DEFAULT_wxUSE_LISTCTRL=no
7360 DEFAULT_wxUSE_NOTEBOOK=no
7361 DEFAULT_wxUSE_RADIOBOX=no
7362 DEFAULT_wxUSE_RADIOBTN=no
7363 DEFAULT_wxUSE_SASH=no
7364 DEFAULT_wxUSE_SCROLLBAR=no
7365 DEFAULT_wxUSE_SLIDER=no
7366 DEFAULT_wxUSE_SPINBTN=no
7367 DEFAULT_wxUSE_SPINCTRL=no
7368 DEFAULT_wxUSE_SPLITTER=no
7369 DEFAULT_wxUSE_STATBMP=no
7370 DEFAULT_wxUSE_STATBOX=no
7371 DEFAULT_wxUSE_STATLINE=no
7372 DEFAULT_wxUSE_STATUSBAR=no
7373 DEFAULT_wxUSE_TAB_DIALOG=no
7374 DEFAULT_wxUSE_TOGGLEBTN=no
7375 DEFAULT_wxUSE_TOOLBAR=no
7376 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
7377 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
7378 DEFAULT_wxUSE_TOOLTIPS=no
7379 DEFAULT_wxUSE_TREECTRL=no
7380 DEFAULT_wxUSE_POPUPWIN=no
7381 DEFAULT_wxUSE_TIPWINDOW=no
7382 fi
7383
7384
7385 enablestring=
7386 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
7387 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
7388 no_cache=0
7389 # Check whether --enable-accel or --disable-accel was given.
7390 if test "${enable_accel+set}" = set; then
7391 enableval="$enable_accel"
7392
7393 if test "$enableval" = yes; then
7394 ac_cv_use_accel='wxUSE_ACCEL=yes'
7395 else
7396 ac_cv_use_accel='wxUSE_ACCEL=no'
7397 fi
7398
7399 else
7400
7401 LINE=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
7402 if test "x$LINE" != x ; then
7403 eval "DEFAULT_$LINE"
7404 else
7405 no_cache=1
7406 fi
7407
7408 ac_cv_use_accel='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
7409
7410 fi;
7411
7412 eval "$ac_cv_use_accel"
7413 if test "$no_cache" != 1; then
7414 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
7415 fi
7416
7417 if test "$wxUSE_ACCEL" = yes; then
7418 echo "$as_me:$LINENO: result: yes" >&5
7419 echo "${ECHO_T}yes" >&6
7420 else
7421 echo "$as_me:$LINENO: result: no" >&5
7422 echo "${ECHO_T}no" >&6
7423 fi
7424
7425
7426 enablestring=
7427 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
7428 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
7429 no_cache=0
7430 # Check whether --enable-button or --disable-button was given.
7431 if test "${enable_button+set}" = set; then
7432 enableval="$enable_button"
7433
7434 if test "$enableval" = yes; then
7435 ac_cv_use_button='wxUSE_BUTTON=yes'
7436 else
7437 ac_cv_use_button='wxUSE_BUTTON=no'
7438 fi
7439
7440 else
7441
7442 LINE=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
7443 if test "x$LINE" != x ; then
7444 eval "DEFAULT_$LINE"
7445 else
7446 no_cache=1
7447 fi
7448
7449 ac_cv_use_button='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
7450
7451 fi;
7452
7453 eval "$ac_cv_use_button"
7454 if test "$no_cache" != 1; then
7455 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
7456 fi
7457
7458 if test "$wxUSE_BUTTON" = yes; then
7459 echo "$as_me:$LINENO: result: yes" >&5
7460 echo "${ECHO_T}yes" >&6
7461 else
7462 echo "$as_me:$LINENO: result: no" >&5
7463 echo "${ECHO_T}no" >&6
7464 fi
7465
7466
7467 enablestring=
7468 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
7469 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
7470 no_cache=0
7471 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
7472 if test "${enable_bmpbutton+set}" = set; then
7473 enableval="$enable_bmpbutton"
7474
7475 if test "$enableval" = yes; then
7476 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
7477 else
7478 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
7479 fi
7480
7481 else
7482
7483 LINE=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
7484 if test "x$LINE" != x ; then
7485 eval "DEFAULT_$LINE"
7486 else
7487 no_cache=1
7488 fi
7489
7490 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
7491
7492 fi;
7493
7494 eval "$ac_cv_use_bmpbutton"
7495 if test "$no_cache" != 1; then
7496 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
7497 fi
7498
7499 if test "$wxUSE_BMPBUTTON" = yes; then
7500 echo "$as_me:$LINENO: result: yes" >&5
7501 echo "${ECHO_T}yes" >&6
7502 else
7503 echo "$as_me:$LINENO: result: no" >&5
7504 echo "${ECHO_T}no" >&6
7505 fi
7506
7507
7508 enablestring=
7509 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
7510 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
7511 no_cache=0
7512 # Check whether --enable-calendar or --disable-calendar was given.
7513 if test "${enable_calendar+set}" = set; then
7514 enableval="$enable_calendar"
7515
7516 if test "$enableval" = yes; then
7517 ac_cv_use_calendar='wxUSE_CALCTRL=yes'
7518 else
7519 ac_cv_use_calendar='wxUSE_CALCTRL=no'
7520 fi
7521
7522 else
7523
7524 LINE=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
7525 if test "x$LINE" != x ; then
7526 eval "DEFAULT_$LINE"
7527 else
7528 no_cache=1
7529 fi
7530
7531 ac_cv_use_calendar='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
7532
7533 fi;
7534
7535 eval "$ac_cv_use_calendar"
7536 if test "$no_cache" != 1; then
7537 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
7538 fi
7539
7540 if test "$wxUSE_CALCTRL" = yes; then
7541 echo "$as_me:$LINENO: result: yes" >&5
7542 echo "${ECHO_T}yes" >&6
7543 else
7544 echo "$as_me:$LINENO: result: no" >&5
7545 echo "${ECHO_T}no" >&6
7546 fi
7547
7548
7549 enablestring=
7550 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
7551 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
7552 no_cache=0
7553 # Check whether --enable-caret or --disable-caret was given.
7554 if test "${enable_caret+set}" = set; then
7555 enableval="$enable_caret"
7556
7557 if test "$enableval" = yes; then
7558 ac_cv_use_caret='wxUSE_CARET=yes'
7559 else
7560 ac_cv_use_caret='wxUSE_CARET=no'
7561 fi
7562
7563 else
7564
7565 LINE=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
7566 if test "x$LINE" != x ; then
7567 eval "DEFAULT_$LINE"
7568 else
7569 no_cache=1
7570 fi
7571
7572 ac_cv_use_caret='wxUSE_CARET='$DEFAULT_wxUSE_CARET
7573
7574 fi;
7575
7576 eval "$ac_cv_use_caret"
7577 if test "$no_cache" != 1; then
7578 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
7579 fi
7580
7581 if test "$wxUSE_CARET" = yes; then
7582 echo "$as_me:$LINENO: result: yes" >&5
7583 echo "${ECHO_T}yes" >&6
7584 else
7585 echo "$as_me:$LINENO: result: no" >&5
7586 echo "${ECHO_T}no" >&6
7587 fi
7588
7589
7590 enablestring=
7591 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
7592 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
7593 no_cache=0
7594 # Check whether --enable-checkbox or --disable-checkbox was given.
7595 if test "${enable_checkbox+set}" = set; then
7596 enableval="$enable_checkbox"
7597
7598 if test "$enableval" = yes; then
7599 ac_cv_use_checkbox='wxUSE_CHECKBOX=yes'
7600 else
7601 ac_cv_use_checkbox='wxUSE_CHECKBOX=no'
7602 fi
7603
7604 else
7605
7606 LINE=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
7607 if test "x$LINE" != x ; then
7608 eval "DEFAULT_$LINE"
7609 else
7610 no_cache=1
7611 fi
7612
7613 ac_cv_use_checkbox='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
7614
7615 fi;
7616
7617 eval "$ac_cv_use_checkbox"
7618 if test "$no_cache" != 1; then
7619 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
7620 fi
7621
7622 if test "$wxUSE_CHECKBOX" = yes; then
7623 echo "$as_me:$LINENO: result: yes" >&5
7624 echo "${ECHO_T}yes" >&6
7625 else
7626 echo "$as_me:$LINENO: result: no" >&5
7627 echo "${ECHO_T}no" >&6
7628 fi
7629
7630
7631 enablestring=
7632 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
7633 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
7634 no_cache=0
7635 # Check whether --enable-checklst or --disable-checklst was given.
7636 if test "${enable_checklst+set}" = set; then
7637 enableval="$enable_checklst"
7638
7639 if test "$enableval" = yes; then
7640 ac_cv_use_checklst='wxUSE_CHECKLST=yes'
7641 else
7642 ac_cv_use_checklst='wxUSE_CHECKLST=no'
7643 fi
7644
7645 else
7646
7647 LINE=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
7648 if test "x$LINE" != x ; then
7649 eval "DEFAULT_$LINE"
7650 else
7651 no_cache=1
7652 fi
7653
7654 ac_cv_use_checklst='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
7655
7656 fi;
7657
7658 eval "$ac_cv_use_checklst"
7659 if test "$no_cache" != 1; then
7660 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
7661 fi
7662
7663 if test "$wxUSE_CHECKLST" = yes; then
7664 echo "$as_me:$LINENO: result: yes" >&5
7665 echo "${ECHO_T}yes" >&6
7666 else
7667 echo "$as_me:$LINENO: result: no" >&5
7668 echo "${ECHO_T}no" >&6
7669 fi
7670
7671
7672 enablestring=
7673 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
7674 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
7675 no_cache=0
7676 # Check whether --enable-choice or --disable-choice was given.
7677 if test "${enable_choice+set}" = set; then
7678 enableval="$enable_choice"
7679
7680 if test "$enableval" = yes; then
7681 ac_cv_use_choice='wxUSE_CHOICE=yes'
7682 else
7683 ac_cv_use_choice='wxUSE_CHOICE=no'
7684 fi
7685
7686 else
7687
7688 LINE=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
7689 if test "x$LINE" != x ; then
7690 eval "DEFAULT_$LINE"
7691 else
7692 no_cache=1
7693 fi
7694
7695 ac_cv_use_choice='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
7696
7697 fi;
7698
7699 eval "$ac_cv_use_choice"
7700 if test "$no_cache" != 1; then
7701 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
7702 fi
7703
7704 if test "$wxUSE_CHOICE" = yes; then
7705 echo "$as_me:$LINENO: result: yes" >&5
7706 echo "${ECHO_T}yes" >&6
7707 else
7708 echo "$as_me:$LINENO: result: no" >&5
7709 echo "${ECHO_T}no" >&6
7710 fi
7711
7712
7713 enablestring=
7714 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
7715 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6
7716 no_cache=0
7717 # Check whether --enable-choicebook or --disable-choicebook was given.
7718 if test "${enable_choicebook+set}" = set; then
7719 enableval="$enable_choicebook"
7720
7721 if test "$enableval" = yes; then
7722 ac_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
7723 else
7724 ac_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
7725 fi
7726
7727 else
7728
7729 LINE=`grep "wxUSE_CHOICEBOOK" ${wx_arg_cache_file}`
7730 if test "x$LINE" != x ; then
7731 eval "DEFAULT_$LINE"
7732 else
7733 no_cache=1
7734 fi
7735
7736 ac_cv_use_choicebook='wxUSE_CHOICEBOOK='$DEFAULT_wxUSE_CHOICEBOOK
7737
7738 fi;
7739
7740 eval "$ac_cv_use_choicebook"
7741 if test "$no_cache" != 1; then
7742 echo $ac_cv_use_choicebook >> ${wx_arg_cache_file}.tmp
7743 fi
7744
7745 if test "$wxUSE_CHOICEBOOK" = yes; then
7746 echo "$as_me:$LINENO: result: yes" >&5
7747 echo "${ECHO_T}yes" >&6
7748 else
7749 echo "$as_me:$LINENO: result: no" >&5
7750 echo "${ECHO_T}no" >&6
7751 fi
7752
7753
7754 enablestring=
7755 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
7756 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
7757 no_cache=0
7758 # Check whether --enable-combobox or --disable-combobox was given.
7759 if test "${enable_combobox+set}" = set; then
7760 enableval="$enable_combobox"
7761
7762 if test "$enableval" = yes; then
7763 ac_cv_use_combobox='wxUSE_COMBOBOX=yes'
7764 else
7765 ac_cv_use_combobox='wxUSE_COMBOBOX=no'
7766 fi
7767
7768 else
7769
7770 LINE=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
7771 if test "x$LINE" != x ; then
7772 eval "DEFAULT_$LINE"
7773 else
7774 no_cache=1
7775 fi
7776
7777 ac_cv_use_combobox='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
7778
7779 fi;
7780
7781 eval "$ac_cv_use_combobox"
7782 if test "$no_cache" != 1; then
7783 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
7784 fi
7785
7786 if test "$wxUSE_COMBOBOX" = yes; then
7787 echo "$as_me:$LINENO: result: yes" >&5
7788 echo "${ECHO_T}yes" >&6
7789 else
7790 echo "$as_me:$LINENO: result: no" >&5
7791 echo "${ECHO_T}no" >&6
7792 fi
7793
7794
7795 enablestring=
7796 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
7797 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6
7798 no_cache=0
7799 # Check whether --enable-datepick or --disable-datepick was given.
7800 if test "${enable_datepick+set}" = set; then
7801 enableval="$enable_datepick"
7802
7803 if test "$enableval" = yes; then
7804 ac_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
7805 else
7806 ac_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
7807 fi
7808
7809 else
7810
7811 LINE=`grep "wxUSE_DATEPICKCTRL" ${wx_arg_cache_file}`
7812 if test "x$LINE" != x ; then
7813 eval "DEFAULT_$LINE"
7814 else
7815 no_cache=1
7816 fi
7817
7818 ac_cv_use_datepick='wxUSE_DATEPICKCTRL='$DEFAULT_wxUSE_DATEPICKCTRL
7819
7820 fi;
7821
7822 eval "$ac_cv_use_datepick"
7823 if test "$no_cache" != 1; then
7824 echo $ac_cv_use_datepick >> ${wx_arg_cache_file}.tmp
7825 fi
7826
7827 if test "$wxUSE_DATEPICKCTRL" = yes; then
7828 echo "$as_me:$LINENO: result: yes" >&5
7829 echo "${ECHO_T}yes" >&6
7830 else
7831 echo "$as_me:$LINENO: result: no" >&5
7832 echo "${ECHO_T}no" >&6
7833 fi
7834
7835
7836 enablestring=
7837 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
7838 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
7839 no_cache=0
7840 # Check whether --enable-display or --disable-display was given.
7841 if test "${enable_display+set}" = set; then
7842 enableval="$enable_display"
7843
7844 if test "$enableval" = yes; then
7845 ac_cv_use_display='wxUSE_DISPLAY=yes'
7846 else
7847 ac_cv_use_display='wxUSE_DISPLAY=no'
7848 fi
7849
7850 else
7851
7852 LINE=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
7853 if test "x$LINE" != x ; then
7854 eval "DEFAULT_$LINE"
7855 else
7856 no_cache=1
7857 fi
7858
7859 ac_cv_use_display='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
7860
7861 fi;
7862
7863 eval "$ac_cv_use_display"
7864 if test "$no_cache" != 1; then
7865 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
7866 fi
7867
7868 if test "$wxUSE_DISPLAY" = yes; then
7869 echo "$as_me:$LINENO: result: yes" >&5
7870 echo "${ECHO_T}yes" >&6
7871 else
7872 echo "$as_me:$LINENO: result: no" >&5
7873 echo "${ECHO_T}no" >&6
7874 fi
7875
7876
7877 enablestring=
7878 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
7879 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
7880 no_cache=0
7881 # Check whether --enable-gauge or --disable-gauge was given.
7882 if test "${enable_gauge+set}" = set; then
7883 enableval="$enable_gauge"
7884
7885 if test "$enableval" = yes; then
7886 ac_cv_use_gauge='wxUSE_GAUGE=yes'
7887 else
7888 ac_cv_use_gauge='wxUSE_GAUGE=no'
7889 fi
7890
7891 else
7892
7893 LINE=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
7894 if test "x$LINE" != x ; then
7895 eval "DEFAULT_$LINE"
7896 else
7897 no_cache=1
7898 fi
7899
7900 ac_cv_use_gauge='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
7901
7902 fi;
7903
7904 eval "$ac_cv_use_gauge"
7905 if test "$no_cache" != 1; then
7906 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
7907 fi
7908
7909 if test "$wxUSE_GAUGE" = yes; then
7910 echo "$as_me:$LINENO: result: yes" >&5
7911 echo "${ECHO_T}yes" >&6
7912 else
7913 echo "$as_me:$LINENO: result: no" >&5
7914 echo "${ECHO_T}no" >&6
7915 fi
7916
7917
7918 enablestring=
7919 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
7920 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
7921 no_cache=0
7922 # Check whether --enable-grid or --disable-grid was given.
7923 if test "${enable_grid+set}" = set; then
7924 enableval="$enable_grid"
7925
7926 if test "$enableval" = yes; then
7927 ac_cv_use_grid='wxUSE_GRID=yes'
7928 else
7929 ac_cv_use_grid='wxUSE_GRID=no'
7930 fi
7931
7932 else
7933
7934 LINE=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
7935 if test "x$LINE" != x ; then
7936 eval "DEFAULT_$LINE"
7937 else
7938 no_cache=1
7939 fi
7940
7941 ac_cv_use_grid='wxUSE_GRID='$DEFAULT_wxUSE_GRID
7942
7943 fi;
7944
7945 eval "$ac_cv_use_grid"
7946 if test "$no_cache" != 1; then
7947 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
7948 fi
7949
7950 if test "$wxUSE_GRID" = yes; then
7951 echo "$as_me:$LINENO: result: yes" >&5
7952 echo "${ECHO_T}yes" >&6
7953 else
7954 echo "$as_me:$LINENO: result: no" >&5
7955 echo "${ECHO_T}no" >&6
7956 fi
7957
7958
7959 enablestring=
7960 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
7961 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
7962 no_cache=0
7963 # Check whether --enable-imaglist or --disable-imaglist was given.
7964 if test "${enable_imaglist+set}" = set; then
7965 enableval="$enable_imaglist"
7966
7967 if test "$enableval" = yes; then
7968 ac_cv_use_imaglist='wxUSE_IMAGLIST=yes'
7969 else
7970 ac_cv_use_imaglist='wxUSE_IMAGLIST=no'
7971 fi
7972
7973 else
7974
7975 LINE=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
7976 if test "x$LINE" != x ; then
7977 eval "DEFAULT_$LINE"
7978 else
7979 no_cache=1
7980 fi
7981
7982 ac_cv_use_imaglist='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
7983
7984 fi;
7985
7986 eval "$ac_cv_use_imaglist"
7987 if test "$no_cache" != 1; then
7988 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
7989 fi
7990
7991 if test "$wxUSE_IMAGLIST" = yes; then
7992 echo "$as_me:$LINENO: result: yes" >&5
7993 echo "${ECHO_T}yes" >&6
7994 else
7995 echo "$as_me:$LINENO: result: no" >&5
7996 echo "${ECHO_T}no" >&6
7997 fi
7998
7999
8000 enablestring=
8001 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
8002 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6
8003 no_cache=0
8004 # Check whether --enable-listbook or --disable-listbook was given.
8005 if test "${enable_listbook+set}" = set; then
8006 enableval="$enable_listbook"
8007
8008 if test "$enableval" = yes; then
8009 ac_cv_use_listbook='wxUSE_LISTBOOK=yes'
8010 else
8011 ac_cv_use_listbook='wxUSE_LISTBOOK=no'
8012 fi
8013
8014 else
8015
8016 LINE=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}`
8017 if test "x$LINE" != x ; then
8018 eval "DEFAULT_$LINE"
8019 else
8020 no_cache=1
8021 fi
8022
8023 ac_cv_use_listbook='wxUSE_LISTBOOK='$DEFAULT_wxUSE_LISTBOOK
8024
8025 fi;
8026
8027 eval "$ac_cv_use_listbook"
8028 if test "$no_cache" != 1; then
8029 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
8030 fi
8031
8032 if test "$wxUSE_LISTBOOK" = yes; then
8033 echo "$as_me:$LINENO: result: yes" >&5
8034 echo "${ECHO_T}yes" >&6
8035 else
8036 echo "$as_me:$LINENO: result: no" >&5
8037 echo "${ECHO_T}no" >&6
8038 fi
8039
8040
8041 enablestring=
8042 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
8043 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
8044 no_cache=0
8045 # Check whether --enable-listbox or --disable-listbox was given.
8046 if test "${enable_listbox+set}" = set; then
8047 enableval="$enable_listbox"
8048
8049 if test "$enableval" = yes; then
8050 ac_cv_use_listbox='wxUSE_LISTBOX=yes'
8051 else
8052 ac_cv_use_listbox='wxUSE_LISTBOX=no'
8053 fi
8054
8055 else
8056
8057 LINE=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
8058 if test "x$LINE" != x ; then
8059 eval "DEFAULT_$LINE"
8060 else
8061 no_cache=1
8062 fi
8063
8064 ac_cv_use_listbox='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
8065
8066 fi;
8067
8068 eval "$ac_cv_use_listbox"
8069 if test "$no_cache" != 1; then
8070 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
8071 fi
8072
8073 if test "$wxUSE_LISTBOX" = yes; then
8074 echo "$as_me:$LINENO: result: yes" >&5
8075 echo "${ECHO_T}yes" >&6
8076 else
8077 echo "$as_me:$LINENO: result: no" >&5
8078 echo "${ECHO_T}no" >&6
8079 fi
8080
8081
8082 enablestring=
8083 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
8084 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
8085 no_cache=0
8086 # Check whether --enable-listctrl or --disable-listctrl was given.
8087 if test "${enable_listctrl+set}" = set; then
8088 enableval="$enable_listctrl"
8089
8090 if test "$enableval" = yes; then
8091 ac_cv_use_listctrl='wxUSE_LISTCTRL=yes'
8092 else
8093 ac_cv_use_listctrl='wxUSE_LISTCTRL=no'
8094 fi
8095
8096 else
8097
8098 LINE=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
8099 if test "x$LINE" != x ; then
8100 eval "DEFAULT_$LINE"
8101 else
8102 no_cache=1
8103 fi
8104
8105 ac_cv_use_listctrl='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
8106
8107 fi;
8108
8109 eval "$ac_cv_use_listctrl"
8110 if test "$no_cache" != 1; then
8111 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
8112 fi
8113
8114 if test "$wxUSE_LISTCTRL" = yes; then
8115 echo "$as_me:$LINENO: result: yes" >&5
8116 echo "${ECHO_T}yes" >&6
8117 else
8118 echo "$as_me:$LINENO: result: no" >&5
8119 echo "${ECHO_T}no" >&6
8120 fi
8121
8122
8123 enablestring=
8124 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
8125 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
8126 no_cache=0
8127 # Check whether --enable-notebook or --disable-notebook was given.
8128 if test "${enable_notebook+set}" = set; then
8129 enableval="$enable_notebook"
8130
8131 if test "$enableval" = yes; then
8132 ac_cv_use_notebook='wxUSE_NOTEBOOK=yes'
8133 else
8134 ac_cv_use_notebook='wxUSE_NOTEBOOK=no'
8135 fi
8136
8137 else
8138
8139 LINE=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
8140 if test "x$LINE" != x ; then
8141 eval "DEFAULT_$LINE"
8142 else
8143 no_cache=1
8144 fi
8145
8146 ac_cv_use_notebook='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
8147
8148 fi;
8149
8150 eval "$ac_cv_use_notebook"
8151 if test "$no_cache" != 1; then
8152 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
8153 fi
8154
8155 if test "$wxUSE_NOTEBOOK" = yes; then
8156 echo "$as_me:$LINENO: result: yes" >&5
8157 echo "${ECHO_T}yes" >&6
8158 else
8159 echo "$as_me:$LINENO: result: no" >&5
8160 echo "${ECHO_T}no" >&6
8161 fi
8162
8163
8164 enablestring=
8165 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
8166 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
8167 no_cache=0
8168 # Check whether --enable-radiobox or --disable-radiobox was given.
8169 if test "${enable_radiobox+set}" = set; then
8170 enableval="$enable_radiobox"
8171
8172 if test "$enableval" = yes; then
8173 ac_cv_use_radiobox='wxUSE_RADIOBOX=yes'
8174 else
8175 ac_cv_use_radiobox='wxUSE_RADIOBOX=no'
8176 fi
8177
8178 else
8179
8180 LINE=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
8181 if test "x$LINE" != x ; then
8182 eval "DEFAULT_$LINE"
8183 else
8184 no_cache=1
8185 fi
8186
8187 ac_cv_use_radiobox='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
8188
8189 fi;
8190
8191 eval "$ac_cv_use_radiobox"
8192 if test "$no_cache" != 1; then
8193 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
8194 fi
8195
8196 if test "$wxUSE_RADIOBOX" = yes; then
8197 echo "$as_me:$LINENO: result: yes" >&5
8198 echo "${ECHO_T}yes" >&6
8199 else
8200 echo "$as_me:$LINENO: result: no" >&5
8201 echo "${ECHO_T}no" >&6
8202 fi
8203
8204
8205 enablestring=
8206 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
8207 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
8208 no_cache=0
8209 # Check whether --enable-radiobtn or --disable-radiobtn was given.
8210 if test "${enable_radiobtn+set}" = set; then
8211 enableval="$enable_radiobtn"
8212
8213 if test "$enableval" = yes; then
8214 ac_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
8215 else
8216 ac_cv_use_radiobtn='wxUSE_RADIOBTN=no'
8217 fi
8218
8219 else
8220
8221 LINE=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
8222 if test "x$LINE" != x ; then
8223 eval "DEFAULT_$LINE"
8224 else
8225 no_cache=1
8226 fi
8227
8228 ac_cv_use_radiobtn='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
8229
8230 fi;
8231
8232 eval "$ac_cv_use_radiobtn"
8233 if test "$no_cache" != 1; then
8234 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
8235 fi
8236
8237 if test "$wxUSE_RADIOBTN" = yes; then
8238 echo "$as_me:$LINENO: result: yes" >&5
8239 echo "${ECHO_T}yes" >&6
8240 else
8241 echo "$as_me:$LINENO: result: no" >&5
8242 echo "${ECHO_T}no" >&6
8243 fi
8244
8245
8246 enablestring=
8247 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
8248 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
8249 no_cache=0
8250 # Check whether --enable-sash or --disable-sash was given.
8251 if test "${enable_sash+set}" = set; then
8252 enableval="$enable_sash"
8253
8254 if test "$enableval" = yes; then
8255 ac_cv_use_sash='wxUSE_SASH=yes'
8256 else
8257 ac_cv_use_sash='wxUSE_SASH=no'
8258 fi
8259
8260 else
8261
8262 LINE=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
8263 if test "x$LINE" != x ; then
8264 eval "DEFAULT_$LINE"
8265 else
8266 no_cache=1
8267 fi
8268
8269 ac_cv_use_sash='wxUSE_SASH='$DEFAULT_wxUSE_SASH
8270
8271 fi;
8272
8273 eval "$ac_cv_use_sash"
8274 if test "$no_cache" != 1; then
8275 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
8276 fi
8277
8278 if test "$wxUSE_SASH" = yes; then
8279 echo "$as_me:$LINENO: result: yes" >&5
8280 echo "${ECHO_T}yes" >&6
8281 else
8282 echo "$as_me:$LINENO: result: no" >&5
8283 echo "${ECHO_T}no" >&6
8284 fi
8285
8286
8287 enablestring=
8288 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
8289 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
8290 no_cache=0
8291 # Check whether --enable-scrollbar or --disable-scrollbar was given.
8292 if test "${enable_scrollbar+set}" = set; then
8293 enableval="$enable_scrollbar"
8294
8295 if test "$enableval" = yes; then
8296 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
8297 else
8298 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
8299 fi
8300
8301 else
8302
8303 LINE=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
8304 if test "x$LINE" != x ; then
8305 eval "DEFAULT_$LINE"
8306 else
8307 no_cache=1
8308 fi
8309
8310 ac_cv_use_scrollbar='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
8311
8312 fi;
8313
8314 eval "$ac_cv_use_scrollbar"
8315 if test "$no_cache" != 1; then
8316 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
8317 fi
8318
8319 if test "$wxUSE_SCROLLBAR" = yes; then
8320 echo "$as_me:$LINENO: result: yes" >&5
8321 echo "${ECHO_T}yes" >&6
8322 else
8323 echo "$as_me:$LINENO: result: no" >&5
8324 echo "${ECHO_T}no" >&6
8325 fi
8326
8327
8328 enablestring=
8329 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
8330 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
8331 no_cache=0
8332 # Check whether --enable-slider or --disable-slider was given.
8333 if test "${enable_slider+set}" = set; then
8334 enableval="$enable_slider"
8335
8336 if test "$enableval" = yes; then
8337 ac_cv_use_slider='wxUSE_SLIDER=yes'
8338 else
8339 ac_cv_use_slider='wxUSE_SLIDER=no'
8340 fi
8341
8342 else
8343
8344 LINE=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
8345 if test "x$LINE" != x ; then
8346 eval "DEFAULT_$LINE"
8347 else
8348 no_cache=1
8349 fi
8350
8351 ac_cv_use_slider='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
8352
8353 fi;
8354
8355 eval "$ac_cv_use_slider"
8356 if test "$no_cache" != 1; then
8357 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
8358 fi
8359
8360 if test "$wxUSE_SLIDER" = yes; then
8361 echo "$as_me:$LINENO: result: yes" >&5
8362 echo "${ECHO_T}yes" >&6
8363 else
8364 echo "$as_me:$LINENO: result: no" >&5
8365 echo "${ECHO_T}no" >&6
8366 fi
8367
8368
8369 enablestring=
8370 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
8371 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
8372 no_cache=0
8373 # Check whether --enable-spinbtn or --disable-spinbtn was given.
8374 if test "${enable_spinbtn+set}" = set; then
8375 enableval="$enable_spinbtn"
8376
8377 if test "$enableval" = yes; then
8378 ac_cv_use_spinbtn='wxUSE_SPINBTN=yes'
8379 else
8380 ac_cv_use_spinbtn='wxUSE_SPINBTN=no'
8381 fi
8382
8383 else
8384
8385 LINE=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
8386 if test "x$LINE" != x ; then
8387 eval "DEFAULT_$LINE"
8388 else
8389 no_cache=1
8390 fi
8391
8392 ac_cv_use_spinbtn='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
8393
8394 fi;
8395
8396 eval "$ac_cv_use_spinbtn"
8397 if test "$no_cache" != 1; then
8398 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
8399 fi
8400
8401 if test "$wxUSE_SPINBTN" = yes; then
8402 echo "$as_me:$LINENO: result: yes" >&5
8403 echo "${ECHO_T}yes" >&6
8404 else
8405 echo "$as_me:$LINENO: result: no" >&5
8406 echo "${ECHO_T}no" >&6
8407 fi
8408
8409
8410 enablestring=
8411 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
8412 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
8413 no_cache=0
8414 # Check whether --enable-spinctrl or --disable-spinctrl was given.
8415 if test "${enable_spinctrl+set}" = set; then
8416 enableval="$enable_spinctrl"
8417
8418 if test "$enableval" = yes; then
8419 ac_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
8420 else
8421 ac_cv_use_spinctrl='wxUSE_SPINCTRL=no'
8422 fi
8423
8424 else
8425
8426 LINE=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
8427 if test "x$LINE" != x ; then
8428 eval "DEFAULT_$LINE"
8429 else
8430 no_cache=1
8431 fi
8432
8433 ac_cv_use_spinctrl='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
8434
8435 fi;
8436
8437 eval "$ac_cv_use_spinctrl"
8438 if test "$no_cache" != 1; then
8439 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
8440 fi
8441
8442 if test "$wxUSE_SPINCTRL" = yes; then
8443 echo "$as_me:$LINENO: result: yes" >&5
8444 echo "${ECHO_T}yes" >&6
8445 else
8446 echo "$as_me:$LINENO: result: no" >&5
8447 echo "${ECHO_T}no" >&6
8448 fi
8449
8450
8451 enablestring=
8452 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
8453 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
8454 no_cache=0
8455 # Check whether --enable-splitter or --disable-splitter was given.
8456 if test "${enable_splitter+set}" = set; then
8457 enableval="$enable_splitter"
8458
8459 if test "$enableval" = yes; then
8460 ac_cv_use_splitter='wxUSE_SPLITTER=yes'
8461 else
8462 ac_cv_use_splitter='wxUSE_SPLITTER=no'
8463 fi
8464
8465 else
8466
8467 LINE=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
8468 if test "x$LINE" != x ; then
8469 eval "DEFAULT_$LINE"
8470 else
8471 no_cache=1
8472 fi
8473
8474 ac_cv_use_splitter='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
8475
8476 fi;
8477
8478 eval "$ac_cv_use_splitter"
8479 if test "$no_cache" != 1; then
8480 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
8481 fi
8482
8483 if test "$wxUSE_SPLITTER" = yes; then
8484 echo "$as_me:$LINENO: result: yes" >&5
8485 echo "${ECHO_T}yes" >&6
8486 else
8487 echo "$as_me:$LINENO: result: no" >&5
8488 echo "${ECHO_T}no" >&6
8489 fi
8490
8491
8492 enablestring=
8493 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
8494 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
8495 no_cache=0
8496 # Check whether --enable-statbmp or --disable-statbmp was given.
8497 if test "${enable_statbmp+set}" = set; then
8498 enableval="$enable_statbmp"
8499
8500 if test "$enableval" = yes; then
8501 ac_cv_use_statbmp='wxUSE_STATBMP=yes'
8502 else
8503 ac_cv_use_statbmp='wxUSE_STATBMP=no'
8504 fi
8505
8506 else
8507
8508 LINE=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
8509 if test "x$LINE" != x ; then
8510 eval "DEFAULT_$LINE"
8511 else
8512 no_cache=1
8513 fi
8514
8515 ac_cv_use_statbmp='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
8516
8517 fi;
8518
8519 eval "$ac_cv_use_statbmp"
8520 if test "$no_cache" != 1; then
8521 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
8522 fi
8523
8524 if test "$wxUSE_STATBMP" = yes; then
8525 echo "$as_me:$LINENO: result: yes" >&5
8526 echo "${ECHO_T}yes" >&6
8527 else
8528 echo "$as_me:$LINENO: result: no" >&5
8529 echo "${ECHO_T}no" >&6
8530 fi
8531
8532
8533 enablestring=
8534 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
8535 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
8536 no_cache=0
8537 # Check whether --enable-statbox or --disable-statbox was given.
8538 if test "${enable_statbox+set}" = set; then
8539 enableval="$enable_statbox"
8540
8541 if test "$enableval" = yes; then
8542 ac_cv_use_statbox='wxUSE_STATBOX=yes'
8543 else
8544 ac_cv_use_statbox='wxUSE_STATBOX=no'
8545 fi
8546
8547 else
8548
8549 LINE=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
8550 if test "x$LINE" != x ; then
8551 eval "DEFAULT_$LINE"
8552 else
8553 no_cache=1
8554 fi
8555
8556 ac_cv_use_statbox='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
8557
8558 fi;
8559
8560 eval "$ac_cv_use_statbox"
8561 if test "$no_cache" != 1; then
8562 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
8563 fi
8564
8565 if test "$wxUSE_STATBOX" = yes; then
8566 echo "$as_me:$LINENO: result: yes" >&5
8567 echo "${ECHO_T}yes" >&6
8568 else
8569 echo "$as_me:$LINENO: result: no" >&5
8570 echo "${ECHO_T}no" >&6
8571 fi
8572
8573
8574 enablestring=
8575 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
8576 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
8577 no_cache=0
8578 # Check whether --enable-statline or --disable-statline was given.
8579 if test "${enable_statline+set}" = set; then
8580 enableval="$enable_statline"
8581
8582 if test "$enableval" = yes; then
8583 ac_cv_use_statline='wxUSE_STATLINE=yes'
8584 else
8585 ac_cv_use_statline='wxUSE_STATLINE=no'
8586 fi
8587
8588 else
8589
8590 LINE=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
8591 if test "x$LINE" != x ; then
8592 eval "DEFAULT_$LINE"
8593 else
8594 no_cache=1
8595 fi
8596
8597 ac_cv_use_statline='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
8598
8599 fi;
8600
8601 eval "$ac_cv_use_statline"
8602 if test "$no_cache" != 1; then
8603 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
8604 fi
8605
8606 if test "$wxUSE_STATLINE" = yes; then
8607 echo "$as_me:$LINENO: result: yes" >&5
8608 echo "${ECHO_T}yes" >&6
8609 else
8610 echo "$as_me:$LINENO: result: no" >&5
8611 echo "${ECHO_T}no" >&6
8612 fi
8613
8614
8615 enablestring=
8616 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
8617 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
8618 no_cache=0
8619 # Check whether --enable-stattext or --disable-stattext was given.
8620 if test "${enable_stattext+set}" = set; then
8621 enableval="$enable_stattext"
8622
8623 if test "$enableval" = yes; then
8624 ac_cv_use_stattext='wxUSE_STATTEXT=yes'
8625 else
8626 ac_cv_use_stattext='wxUSE_STATTEXT=no'
8627 fi
8628
8629 else
8630
8631 LINE=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
8632 if test "x$LINE" != x ; then
8633 eval "DEFAULT_$LINE"
8634 else
8635 no_cache=1
8636 fi
8637
8638 ac_cv_use_stattext='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
8639
8640 fi;
8641
8642 eval "$ac_cv_use_stattext"
8643 if test "$no_cache" != 1; then
8644 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
8645 fi
8646
8647 if test "$wxUSE_STATTEXT" = yes; then
8648 echo "$as_me:$LINENO: result: yes" >&5
8649 echo "${ECHO_T}yes" >&6
8650 else
8651 echo "$as_me:$LINENO: result: no" >&5
8652 echo "${ECHO_T}no" >&6
8653 fi
8654
8655
8656 enablestring=
8657 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
8658 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
8659 no_cache=0
8660 # Check whether --enable-statusbar or --disable-statusbar was given.
8661 if test "${enable_statusbar+set}" = set; then
8662 enableval="$enable_statusbar"
8663
8664 if test "$enableval" = yes; then
8665 ac_cv_use_statusbar='wxUSE_STATUSBAR=yes'
8666 else
8667 ac_cv_use_statusbar='wxUSE_STATUSBAR=no'
8668 fi
8669
8670 else
8671
8672 LINE=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
8673 if test "x$LINE" != x ; then
8674 eval "DEFAULT_$LINE"
8675 else
8676 no_cache=1
8677 fi
8678
8679 ac_cv_use_statusbar='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
8680
8681 fi;
8682
8683 eval "$ac_cv_use_statusbar"
8684 if test "$no_cache" != 1; then
8685 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
8686 fi
8687
8688 if test "$wxUSE_STATUSBAR" = yes; then
8689 echo "$as_me:$LINENO: result: yes" >&5
8690 echo "${ECHO_T}yes" >&6
8691 else
8692 echo "$as_me:$LINENO: result: no" >&5
8693 echo "${ECHO_T}no" >&6
8694 fi
8695
8696
8697 enablestring=
8698 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
8699 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
8700 no_cache=0
8701 # Check whether --enable-tabdialog or --disable-tabdialog was given.
8702 if test "${enable_tabdialog+set}" = set; then
8703 enableval="$enable_tabdialog"
8704
8705 if test "$enableval" = yes; then
8706 ac_cv_use_tabdialog='wxUSE_TABDIALOG=yes'
8707 else
8708 ac_cv_use_tabdialog='wxUSE_TABDIALOG=no'
8709 fi
8710
8711 else
8712
8713 LINE=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
8714 if test "x$LINE" != x ; then
8715 eval "DEFAULT_$LINE"
8716 else
8717 no_cache=1
8718 fi
8719
8720 ac_cv_use_tabdialog='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
8721
8722 fi;
8723
8724 eval "$ac_cv_use_tabdialog"
8725 if test "$no_cache" != 1; then
8726 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
8727 fi
8728
8729 if test "$wxUSE_TABDIALOG" = yes; then
8730 echo "$as_me:$LINENO: result: yes" >&5
8731 echo "${ECHO_T}yes" >&6
8732 else
8733 echo "$as_me:$LINENO: result: no" >&5
8734 echo "${ECHO_T}no" >&6
8735 fi
8736
8737
8738 enablestring=
8739 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
8740 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
8741 no_cache=0
8742 # Check whether --enable-textctrl or --disable-textctrl was given.
8743 if test "${enable_textctrl+set}" = set; then
8744 enableval="$enable_textctrl"
8745
8746 if test "$enableval" = yes; then
8747 ac_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
8748 else
8749 ac_cv_use_textctrl='wxUSE_TEXTCTRL=no'
8750 fi
8751
8752 else
8753
8754 LINE=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
8755 if test "x$LINE" != x ; then
8756 eval "DEFAULT_$LINE"
8757 else
8758 no_cache=1
8759 fi
8760
8761 ac_cv_use_textctrl='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
8762
8763 fi;
8764
8765 eval "$ac_cv_use_textctrl"
8766 if test "$no_cache" != 1; then
8767 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
8768 fi
8769
8770 if test "$wxUSE_TEXTCTRL" = yes; then
8771 echo "$as_me:$LINENO: result: yes" >&5
8772 echo "${ECHO_T}yes" >&6
8773 else
8774 echo "$as_me:$LINENO: result: no" >&5
8775 echo "${ECHO_T}no" >&6
8776 fi
8777
8778
8779 enablestring=
8780 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
8781 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
8782 no_cache=0
8783 # Check whether --enable-togglebtn or --disable-togglebtn was given.
8784 if test "${enable_togglebtn+set}" = set; then
8785 enableval="$enable_togglebtn"
8786
8787 if test "$enableval" = yes; then
8788 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
8789 else
8790 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
8791 fi
8792
8793 else
8794
8795 LINE=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
8796 if test "x$LINE" != x ; then
8797 eval "DEFAULT_$LINE"
8798 else
8799 no_cache=1
8800 fi
8801
8802 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
8803
8804 fi;
8805
8806 eval "$ac_cv_use_togglebtn"
8807 if test "$no_cache" != 1; then
8808 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
8809 fi
8810
8811 if test "$wxUSE_TOGGLEBTN" = yes; then
8812 echo "$as_me:$LINENO: result: yes" >&5
8813 echo "${ECHO_T}yes" >&6
8814 else
8815 echo "$as_me:$LINENO: result: no" >&5
8816 echo "${ECHO_T}no" >&6
8817 fi
8818
8819
8820 enablestring=
8821 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
8822 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
8823 no_cache=0
8824 # Check whether --enable-toolbar or --disable-toolbar was given.
8825 if test "${enable_toolbar+set}" = set; then
8826 enableval="$enable_toolbar"
8827
8828 if test "$enableval" = yes; then
8829 ac_cv_use_toolbar='wxUSE_TOOLBAR=yes'
8830 else
8831 ac_cv_use_toolbar='wxUSE_TOOLBAR=no'
8832 fi
8833
8834 else
8835
8836 LINE=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
8837 if test "x$LINE" != x ; then
8838 eval "DEFAULT_$LINE"
8839 else
8840 no_cache=1
8841 fi
8842
8843 ac_cv_use_toolbar='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
8844
8845 fi;
8846
8847 eval "$ac_cv_use_toolbar"
8848 if test "$no_cache" != 1; then
8849 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
8850 fi
8851
8852 if test "$wxUSE_TOOLBAR" = yes; then
8853 echo "$as_me:$LINENO: result: yes" >&5
8854 echo "${ECHO_T}yes" >&6
8855 else
8856 echo "$as_me:$LINENO: result: no" >&5
8857 echo "${ECHO_T}no" >&6
8858 fi
8859
8860
8861 enablestring=
8862 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
8863 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
8864 no_cache=0
8865 # Check whether --enable-tbarnative or --disable-tbarnative was given.
8866 if test "${enable_tbarnative+set}" = set; then
8867 enableval="$enable_tbarnative"
8868
8869 if test "$enableval" = yes; then
8870 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
8871 else
8872 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
8873 fi
8874
8875 else
8876
8877 LINE=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
8878 if test "x$LINE" != x ; then
8879 eval "DEFAULT_$LINE"
8880 else
8881 no_cache=1
8882 fi
8883
8884 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
8885
8886 fi;
8887
8888 eval "$ac_cv_use_tbarnative"
8889 if test "$no_cache" != 1; then
8890 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
8891 fi
8892
8893 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
8894 echo "$as_me:$LINENO: result: yes" >&5
8895 echo "${ECHO_T}yes" >&6
8896 else
8897 echo "$as_me:$LINENO: result: no" >&5
8898 echo "${ECHO_T}no" >&6
8899 fi
8900
8901
8902 enablestring=
8903 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarsmpl" >&5
8904 echo $ECHO_N "checking for --${enablestring:-enable}-tbarsmpl... $ECHO_C" >&6
8905 no_cache=0
8906 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
8907 if test "${enable_tbarsmpl+set}" = set; then
8908 enableval="$enable_tbarsmpl"
8909
8910 if test "$enableval" = yes; then
8911 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE=yes'
8912 else
8913 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE=no'
8914 fi
8915
8916 else
8917
8918 LINE=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
8919 if test "x$LINE" != x ; then
8920 eval "DEFAULT_$LINE"
8921 else
8922 no_cache=1
8923 fi
8924
8925 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
8926
8927 fi;
8928
8929 eval "$ac_cv_use_tbarsmpl"
8930 if test "$no_cache" != 1; then
8931 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
8932 fi
8933
8934 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
8935 echo "$as_me:$LINENO: result: yes" >&5
8936 echo "${ECHO_T}yes" >&6
8937 else
8938 echo "$as_me:$LINENO: result: no" >&5
8939 echo "${ECHO_T}no" >&6
8940 fi
8941
8942
8943 enablestring=
8944 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
8945 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
8946 no_cache=0
8947 # Check whether --enable-treectrl or --disable-treectrl was given.
8948 if test "${enable_treectrl+set}" = set; then
8949 enableval="$enable_treectrl"
8950
8951 if test "$enableval" = yes; then
8952 ac_cv_use_treectrl='wxUSE_TREECTRL=yes'
8953 else
8954 ac_cv_use_treectrl='wxUSE_TREECTRL=no'
8955 fi
8956
8957 else
8958
8959 LINE=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
8960 if test "x$LINE" != x ; then
8961 eval "DEFAULT_$LINE"
8962 else
8963 no_cache=1
8964 fi
8965
8966 ac_cv_use_treectrl='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
8967
8968 fi;
8969
8970 eval "$ac_cv_use_treectrl"
8971 if test "$no_cache" != 1; then
8972 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
8973 fi
8974
8975 if test "$wxUSE_TREECTRL" = yes; then
8976 echo "$as_me:$LINENO: result: yes" >&5
8977 echo "${ECHO_T}yes" >&6
8978 else
8979 echo "$as_me:$LINENO: result: no" >&5
8980 echo "${ECHO_T}no" >&6
8981 fi
8982
8983
8984 enablestring=
8985 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
8986 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
8987 no_cache=0
8988 # Check whether --enable-tipwindow or --disable-tipwindow was given.
8989 if test "${enable_tipwindow+set}" = set; then
8990 enableval="$enable_tipwindow"
8991
8992 if test "$enableval" = yes; then
8993 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
8994 else
8995 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
8996 fi
8997
8998 else
8999
9000 LINE=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
9001 if test "x$LINE" != x ; then
9002 eval "DEFAULT_$LINE"
9003 else
9004 no_cache=1
9005 fi
9006
9007 ac_cv_use_tipwindow='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
9008
9009 fi;
9010
9011 eval "$ac_cv_use_tipwindow"
9012 if test "$no_cache" != 1; then
9013 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
9014 fi
9015
9016 if test "$wxUSE_TIPWINDOW" = yes; then
9017 echo "$as_me:$LINENO: result: yes" >&5
9018 echo "${ECHO_T}yes" >&6
9019 else
9020 echo "$as_me:$LINENO: result: no" >&5
9021 echo "${ECHO_T}no" >&6
9022 fi
9023
9024
9025 enablestring=
9026 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
9027 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
9028 no_cache=0
9029 # Check whether --enable-popupwin or --disable-popupwin was given.
9030 if test "${enable_popupwin+set}" = set; then
9031 enableval="$enable_popupwin"
9032
9033 if test "$enableval" = yes; then
9034 ac_cv_use_popupwin='wxUSE_POPUPWIN=yes'
9035 else
9036 ac_cv_use_popupwin='wxUSE_POPUPWIN=no'
9037 fi
9038
9039 else
9040
9041 LINE=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
9042 if test "x$LINE" != x ; then
9043 eval "DEFAULT_$LINE"
9044 else
9045 no_cache=1
9046 fi
9047
9048 ac_cv_use_popupwin='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
9049
9050 fi;
9051
9052 eval "$ac_cv_use_popupwin"
9053 if test "$no_cache" != 1; then
9054 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
9055 fi
9056
9057 if test "$wxUSE_POPUPWIN" = yes; then
9058 echo "$as_me:$LINENO: result: yes" >&5
9059 echo "${ECHO_T}yes" >&6
9060 else
9061 echo "$as_me:$LINENO: result: no" >&5
9062 echo "${ECHO_T}no" >&6
9063 fi
9064
9065
9066
9067
9068 enablestring=
9069 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
9070 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
9071 no_cache=0
9072 # Check whether --enable-commondlg or --disable-commondlg was given.
9073 if test "${enable_commondlg+set}" = set; then
9074 enableval="$enable_commondlg"
9075
9076 if test "$enableval" = yes; then
9077 ac_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
9078 else
9079 ac_cv_use_commondlg='wxUSE_COMMONDLGS=no'
9080 fi
9081
9082 else
9083
9084 LINE=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
9085 if test "x$LINE" != x ; then
9086 eval "DEFAULT_$LINE"
9087 else
9088 no_cache=1
9089 fi
9090
9091 ac_cv_use_commondlg='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
9092
9093 fi;
9094
9095 eval "$ac_cv_use_commondlg"
9096 if test "$no_cache" != 1; then
9097 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
9098 fi
9099
9100 if test "$wxUSE_COMMONDLGS" = yes; then
9101 echo "$as_me:$LINENO: result: yes" >&5
9102 echo "${ECHO_T}yes" >&6
9103 else
9104 echo "$as_me:$LINENO: result: no" >&5
9105 echo "${ECHO_T}no" >&6
9106 fi
9107
9108
9109 enablestring=
9110 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
9111 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
9112 no_cache=0
9113 # Check whether --enable-choicedlg or --disable-choicedlg was given.
9114 if test "${enable_choicedlg+set}" = set; then
9115 enableval="$enable_choicedlg"
9116
9117 if test "$enableval" = yes; then
9118 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
9119 else
9120 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
9121 fi
9122
9123 else
9124
9125 LINE=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
9126 if test "x$LINE" != x ; then
9127 eval "DEFAULT_$LINE"
9128 else
9129 no_cache=1
9130 fi
9131
9132 ac_cv_use_choicedlg='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
9133
9134 fi;
9135
9136 eval "$ac_cv_use_choicedlg"
9137 if test "$no_cache" != 1; then
9138 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
9139 fi
9140
9141 if test "$wxUSE_CHOICEDLG" = yes; then
9142 echo "$as_me:$LINENO: result: yes" >&5
9143 echo "${ECHO_T}yes" >&6
9144 else
9145 echo "$as_me:$LINENO: result: no" >&5
9146 echo "${ECHO_T}no" >&6
9147 fi
9148
9149
9150 enablestring=
9151 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
9152 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
9153 no_cache=0
9154 # Check whether --enable-coldlg or --disable-coldlg was given.
9155 if test "${enable_coldlg+set}" = set; then
9156 enableval="$enable_coldlg"
9157
9158 if test "$enableval" = yes; then
9159 ac_cv_use_coldlg='wxUSE_COLOURDLG=yes'
9160 else
9161 ac_cv_use_coldlg='wxUSE_COLOURDLG=no'
9162 fi
9163
9164 else
9165
9166 LINE=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
9167 if test "x$LINE" != x ; then
9168 eval "DEFAULT_$LINE"
9169 else
9170 no_cache=1
9171 fi
9172
9173 ac_cv_use_coldlg='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
9174
9175 fi;
9176
9177 eval "$ac_cv_use_coldlg"
9178 if test "$no_cache" != 1; then
9179 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
9180 fi
9181
9182 if test "$wxUSE_COLOURDLG" = yes; then
9183 echo "$as_me:$LINENO: result: yes" >&5
9184 echo "${ECHO_T}yes" >&6
9185 else
9186 echo "$as_me:$LINENO: result: no" >&5
9187 echo "${ECHO_T}no" >&6
9188 fi
9189
9190
9191 enablestring=
9192 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
9193 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
9194 no_cache=0
9195 # Check whether --enable-filedlg or --disable-filedlg was given.
9196 if test "${enable_filedlg+set}" = set; then
9197 enableval="$enable_filedlg"
9198
9199 if test "$enableval" = yes; then
9200 ac_cv_use_filedlg='wxUSE_FILEDLG=yes'
9201 else
9202 ac_cv_use_filedlg='wxUSE_FILEDLG=no'
9203 fi
9204
9205 else
9206
9207 LINE=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
9208 if test "x$LINE" != x ; then
9209 eval "DEFAULT_$LINE"
9210 else
9211 no_cache=1
9212 fi
9213
9214 ac_cv_use_filedlg='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
9215
9216 fi;
9217
9218 eval "$ac_cv_use_filedlg"
9219 if test "$no_cache" != 1; then
9220 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
9221 fi
9222
9223 if test "$wxUSE_FILEDLG" = yes; then
9224 echo "$as_me:$LINENO: result: yes" >&5
9225 echo "${ECHO_T}yes" >&6
9226 else
9227 echo "$as_me:$LINENO: result: no" >&5
9228 echo "${ECHO_T}no" >&6
9229 fi
9230
9231
9232 enablestring=
9233 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
9234 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
9235 no_cache=0
9236 # Check whether --enable-finddlg or --disable-finddlg was given.
9237 if test "${enable_finddlg+set}" = set; then
9238 enableval="$enable_finddlg"
9239
9240 if test "$enableval" = yes; then
9241 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
9242 else
9243 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
9244 fi
9245
9246 else
9247
9248 LINE=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
9249 if test "x$LINE" != x ; then
9250 eval "DEFAULT_$LINE"
9251 else
9252 no_cache=1
9253 fi
9254
9255 ac_cv_use_finddlg='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
9256
9257 fi;
9258
9259 eval "$ac_cv_use_finddlg"
9260 if test "$no_cache" != 1; then
9261 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
9262 fi
9263
9264 if test "$wxUSE_FINDREPLDLG" = yes; then
9265 echo "$as_me:$LINENO: result: yes" >&5
9266 echo "${ECHO_T}yes" >&6
9267 else
9268 echo "$as_me:$LINENO: result: no" >&5
9269 echo "${ECHO_T}no" >&6
9270 fi
9271
9272
9273 enablestring=
9274 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
9275 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
9276 no_cache=0
9277 # Check whether --enable-fontdlg or --disable-fontdlg was given.
9278 if test "${enable_fontdlg+set}" = set; then
9279 enableval="$enable_fontdlg"
9280
9281 if test "$enableval" = yes; then
9282 ac_cv_use_fontdlg='wxUSE_FONTDLG=yes'
9283 else
9284 ac_cv_use_fontdlg='wxUSE_FONTDLG=no'
9285 fi
9286
9287 else
9288
9289 LINE=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
9290 if test "x$LINE" != x ; then
9291 eval "DEFAULT_$LINE"
9292 else
9293 no_cache=1
9294 fi
9295
9296 ac_cv_use_fontdlg='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
9297
9298 fi;
9299
9300 eval "$ac_cv_use_fontdlg"
9301 if test "$no_cache" != 1; then
9302 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
9303 fi
9304
9305 if test "$wxUSE_FONTDLG" = yes; then
9306 echo "$as_me:$LINENO: result: yes" >&5
9307 echo "${ECHO_T}yes" >&6
9308 else
9309 echo "$as_me:$LINENO: result: no" >&5
9310 echo "${ECHO_T}no" >&6
9311 fi
9312
9313
9314 enablestring=
9315 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
9316 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
9317 no_cache=0
9318 # Check whether --enable-dirdlg or --disable-dirdlg was given.
9319 if test "${enable_dirdlg+set}" = set; then
9320 enableval="$enable_dirdlg"
9321
9322 if test "$enableval" = yes; then
9323 ac_cv_use_dirdlg='wxUSE_DIRDLG=yes'
9324 else
9325 ac_cv_use_dirdlg='wxUSE_DIRDLG=no'
9326 fi
9327
9328 else
9329
9330 LINE=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
9331 if test "x$LINE" != x ; then
9332 eval "DEFAULT_$LINE"
9333 else
9334 no_cache=1
9335 fi
9336
9337 ac_cv_use_dirdlg='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
9338
9339 fi;
9340
9341 eval "$ac_cv_use_dirdlg"
9342 if test "$no_cache" != 1; then
9343 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
9344 fi
9345
9346 if test "$wxUSE_DIRDLG" = yes; then
9347 echo "$as_me:$LINENO: result: yes" >&5
9348 echo "${ECHO_T}yes" >&6
9349 else
9350 echo "$as_me:$LINENO: result: no" >&5
9351 echo "${ECHO_T}no" >&6
9352 fi
9353
9354
9355 enablestring=
9356 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
9357 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
9358 no_cache=0
9359 # Check whether --enable-msgdlg or --disable-msgdlg was given.
9360 if test "${enable_msgdlg+set}" = set; then
9361 enableval="$enable_msgdlg"
9362
9363 if test "$enableval" = yes; then
9364 ac_cv_use_msgdlg='wxUSE_MSGDLG=yes'
9365 else
9366 ac_cv_use_msgdlg='wxUSE_MSGDLG=no'
9367 fi
9368
9369 else
9370
9371 LINE=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
9372 if test "x$LINE" != x ; then
9373 eval "DEFAULT_$LINE"
9374 else
9375 no_cache=1
9376 fi
9377
9378 ac_cv_use_msgdlg='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
9379
9380 fi;
9381
9382 eval "$ac_cv_use_msgdlg"
9383 if test "$no_cache" != 1; then
9384 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
9385 fi
9386
9387 if test "$wxUSE_MSGDLG" = yes; then
9388 echo "$as_me:$LINENO: result: yes" >&5
9389 echo "${ECHO_T}yes" >&6
9390 else
9391 echo "$as_me:$LINENO: result: no" >&5
9392 echo "${ECHO_T}no" >&6
9393 fi
9394
9395
9396 enablestring=
9397 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
9398 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
9399 no_cache=0
9400 # Check whether --enable-numberdlg or --disable-numberdlg was given.
9401 if test "${enable_numberdlg+set}" = set; then
9402 enableval="$enable_numberdlg"
9403
9404 if test "$enableval" = yes; then
9405 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
9406 else
9407 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
9408 fi
9409
9410 else
9411
9412 LINE=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
9413 if test "x$LINE" != x ; then
9414 eval "DEFAULT_$LINE"
9415 else
9416 no_cache=1
9417 fi
9418
9419 ac_cv_use_numberdlg='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
9420
9421 fi;
9422
9423 eval "$ac_cv_use_numberdlg"
9424 if test "$no_cache" != 1; then
9425 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
9426 fi
9427
9428 if test "$wxUSE_NUMBERDLG" = yes; then
9429 echo "$as_me:$LINENO: result: yes" >&5
9430 echo "${ECHO_T}yes" >&6
9431 else
9432 echo "$as_me:$LINENO: result: no" >&5
9433 echo "${ECHO_T}no" >&6
9434 fi
9435
9436
9437 enablestring=
9438 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
9439 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
9440 no_cache=0
9441 # Check whether --enable-splash or --disable-splash was given.
9442 if test "${enable_splash+set}" = set; then
9443 enableval="$enable_splash"
9444
9445 if test "$enableval" = yes; then
9446 ac_cv_use_splash='wxUSE_SPLASH=yes'
9447 else
9448 ac_cv_use_splash='wxUSE_SPLASH=no'
9449 fi
9450
9451 else
9452
9453 LINE=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
9454 if test "x$LINE" != x ; then
9455 eval "DEFAULT_$LINE"
9456 else
9457 no_cache=1
9458 fi
9459
9460 ac_cv_use_splash='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
9461
9462 fi;
9463
9464 eval "$ac_cv_use_splash"
9465 if test "$no_cache" != 1; then
9466 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
9467 fi
9468
9469 if test "$wxUSE_SPLASH" = yes; then
9470 echo "$as_me:$LINENO: result: yes" >&5
9471 echo "${ECHO_T}yes" >&6
9472 else
9473 echo "$as_me:$LINENO: result: no" >&5
9474 echo "${ECHO_T}no" >&6
9475 fi
9476
9477
9478 enablestring=
9479 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
9480 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
9481 no_cache=0
9482 # Check whether --enable-textdlg or --disable-textdlg was given.
9483 if test "${enable_textdlg+set}" = set; then
9484 enableval="$enable_textdlg"
9485
9486 if test "$enableval" = yes; then
9487 ac_cv_use_textdlg='wxUSE_TEXTDLG=yes'
9488 else
9489 ac_cv_use_textdlg='wxUSE_TEXTDLG=no'
9490 fi
9491
9492 else
9493
9494 LINE=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
9495 if test "x$LINE" != x ; then
9496 eval "DEFAULT_$LINE"
9497 else
9498 no_cache=1
9499 fi
9500
9501 ac_cv_use_textdlg='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
9502
9503 fi;
9504
9505 eval "$ac_cv_use_textdlg"
9506 if test "$no_cache" != 1; then
9507 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
9508 fi
9509
9510 if test "$wxUSE_TEXTDLG" = yes; then
9511 echo "$as_me:$LINENO: result: yes" >&5
9512 echo "${ECHO_T}yes" >&6
9513 else
9514 echo "$as_me:$LINENO: result: no" >&5
9515 echo "${ECHO_T}no" >&6
9516 fi
9517
9518
9519 enablestring=
9520 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
9521 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
9522 no_cache=0
9523 # Check whether --enable-tipdlg or --disable-tipdlg was given.
9524 if test "${enable_tipdlg+set}" = set; then
9525 enableval="$enable_tipdlg"
9526
9527 if test "$enableval" = yes; then
9528 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
9529 else
9530 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
9531 fi
9532
9533 else
9534
9535 LINE=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
9536 if test "x$LINE" != x ; then
9537 eval "DEFAULT_$LINE"
9538 else
9539 no_cache=1
9540 fi
9541
9542 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
9543
9544 fi;
9545
9546 eval "$ac_cv_use_tipdlg"
9547 if test "$no_cache" != 1; then
9548 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
9549 fi
9550
9551 if test "$wxUSE_STARTUP_TIPS" = yes; then
9552 echo "$as_me:$LINENO: result: yes" >&5
9553 echo "${ECHO_T}yes" >&6
9554 else
9555 echo "$as_me:$LINENO: result: no" >&5
9556 echo "${ECHO_T}no" >&6
9557 fi
9558
9559
9560 enablestring=
9561 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
9562 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
9563 no_cache=0
9564 # Check whether --enable-progressdlg or --disable-progressdlg was given.
9565 if test "${enable_progressdlg+set}" = set; then
9566 enableval="$enable_progressdlg"
9567
9568 if test "$enableval" = yes; then
9569 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
9570 else
9571 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
9572 fi
9573
9574 else
9575
9576 LINE=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
9577 if test "x$LINE" != x ; then
9578 eval "DEFAULT_$LINE"
9579 else
9580 no_cache=1
9581 fi
9582
9583 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
9584
9585 fi;
9586
9587 eval "$ac_cv_use_progressdlg"
9588 if test "$no_cache" != 1; then
9589 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
9590 fi
9591
9592 if test "$wxUSE_PROGRESSDLG" = yes; then
9593 echo "$as_me:$LINENO: result: yes" >&5
9594 echo "${ECHO_T}yes" >&6
9595 else
9596 echo "$as_me:$LINENO: result: no" >&5
9597 echo "${ECHO_T}no" >&6
9598 fi
9599
9600
9601 enablestring=
9602 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
9603 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
9604 no_cache=0
9605 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
9606 if test "${enable_wizarddlg+set}" = set; then
9607 enableval="$enable_wizarddlg"
9608
9609 if test "$enableval" = yes; then
9610 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
9611 else
9612 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
9613 fi
9614
9615 else
9616
9617 LINE=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
9618 if test "x$LINE" != x ; then
9619 eval "DEFAULT_$LINE"
9620 else
9621 no_cache=1
9622 fi
9623
9624 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
9625
9626 fi;
9627
9628 eval "$ac_cv_use_wizarddlg"
9629 if test "$no_cache" != 1; then
9630 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
9631 fi
9632
9633 if test "$wxUSE_WIZARDDLG" = yes; then
9634 echo "$as_me:$LINENO: result: yes" >&5
9635 echo "${ECHO_T}yes" >&6
9636 else
9637 echo "$as_me:$LINENO: result: no" >&5
9638 echo "${ECHO_T}no" >&6
9639 fi
9640
9641
9642
9643
9644 enablestring=
9645 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
9646 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
9647 no_cache=0
9648 # Check whether --enable-menus or --disable-menus was given.
9649 if test "${enable_menus+set}" = set; then
9650 enableval="$enable_menus"
9651
9652 if test "$enableval" = yes; then
9653 ac_cv_use_menus='wxUSE_MENUS=yes'
9654 else
9655 ac_cv_use_menus='wxUSE_MENUS=no'
9656 fi
9657
9658 else
9659
9660 LINE=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
9661 if test "x$LINE" != x ; then
9662 eval "DEFAULT_$LINE"
9663 else
9664 no_cache=1
9665 fi
9666
9667 ac_cv_use_menus='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
9668
9669 fi;
9670
9671 eval "$ac_cv_use_menus"
9672 if test "$no_cache" != 1; then
9673 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
9674 fi
9675
9676 if test "$wxUSE_MENUS" = yes; then
9677 echo "$as_me:$LINENO: result: yes" >&5
9678 echo "${ECHO_T}yes" >&6
9679 else
9680 echo "$as_me:$LINENO: result: no" >&5
9681 echo "${ECHO_T}no" >&6
9682 fi
9683
9684
9685 enablestring=
9686 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
9687 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
9688 no_cache=0
9689 # Check whether --enable-miniframe or --disable-miniframe was given.
9690 if test "${enable_miniframe+set}" = set; then
9691 enableval="$enable_miniframe"
9692
9693 if test "$enableval" = yes; then
9694 ac_cv_use_miniframe='wxUSE_MINIFRAME=yes'
9695 else
9696 ac_cv_use_miniframe='wxUSE_MINIFRAME=no'
9697 fi
9698
9699 else
9700
9701 LINE=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
9702 if test "x$LINE" != x ; then
9703 eval "DEFAULT_$LINE"
9704 else
9705 no_cache=1
9706 fi
9707
9708 ac_cv_use_miniframe='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
9709
9710 fi;
9711
9712 eval "$ac_cv_use_miniframe"
9713 if test "$no_cache" != 1; then
9714 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
9715 fi
9716
9717 if test "$wxUSE_MINIFRAME" = yes; then
9718 echo "$as_me:$LINENO: result: yes" >&5
9719 echo "${ECHO_T}yes" >&6
9720 else
9721 echo "$as_me:$LINENO: result: no" >&5
9722 echo "${ECHO_T}no" >&6
9723 fi
9724
9725
9726 enablestring=
9727 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
9728 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
9729 no_cache=0
9730 # Check whether --enable-tooltips or --disable-tooltips was given.
9731 if test "${enable_tooltips+set}" = set; then
9732 enableval="$enable_tooltips"
9733
9734 if test "$enableval" = yes; then
9735 ac_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
9736 else
9737 ac_cv_use_tooltips='wxUSE_TOOLTIPS=no'
9738 fi
9739
9740 else
9741
9742 LINE=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
9743 if test "x$LINE" != x ; then
9744 eval "DEFAULT_$LINE"
9745 else
9746 no_cache=1
9747 fi
9748
9749 ac_cv_use_tooltips='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
9750
9751 fi;
9752
9753 eval "$ac_cv_use_tooltips"
9754 if test "$no_cache" != 1; then
9755 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
9756 fi
9757
9758 if test "$wxUSE_TOOLTIPS" = yes; then
9759 echo "$as_me:$LINENO: result: yes" >&5
9760 echo "${ECHO_T}yes" >&6
9761 else
9762 echo "$as_me:$LINENO: result: no" >&5
9763 echo "${ECHO_T}no" >&6
9764 fi
9765
9766
9767 enablestring=
9768 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
9769 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
9770 no_cache=0
9771 # Check whether --enable-splines or --disable-splines was given.
9772 if test "${enable_splines+set}" = set; then
9773 enableval="$enable_splines"
9774
9775 if test "$enableval" = yes; then
9776 ac_cv_use_splines='wxUSE_SPLINES=yes'
9777 else
9778 ac_cv_use_splines='wxUSE_SPLINES=no'
9779 fi
9780
9781 else
9782
9783 LINE=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
9784 if test "x$LINE" != x ; then
9785 eval "DEFAULT_$LINE"
9786 else
9787 no_cache=1
9788 fi
9789
9790 ac_cv_use_splines='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
9791
9792 fi;
9793
9794 eval "$ac_cv_use_splines"
9795 if test "$no_cache" != 1; then
9796 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
9797 fi
9798
9799 if test "$wxUSE_SPLINES" = yes; then
9800 echo "$as_me:$LINENO: result: yes" >&5
9801 echo "${ECHO_T}yes" >&6
9802 else
9803 echo "$as_me:$LINENO: result: no" >&5
9804 echo "${ECHO_T}no" >&6
9805 fi
9806
9807
9808 enablestring=
9809 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
9810 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6
9811 no_cache=0
9812 # Check whether --enable-mousewheel or --disable-mousewheel was given.
9813 if test "${enable_mousewheel+set}" = set; then
9814 enableval="$enable_mousewheel"
9815
9816 if test "$enableval" = yes; then
9817 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
9818 else
9819 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
9820 fi
9821
9822 else
9823
9824 LINE=`grep "wxUSE_MOUSEWHEEL" ${wx_arg_cache_file}`
9825 if test "x$LINE" != x ; then
9826 eval "DEFAULT_$LINE"
9827 else
9828 no_cache=1
9829 fi
9830
9831 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL='$DEFAULT_wxUSE_MOUSEWHEEL
9832
9833 fi;
9834
9835 eval "$ac_cv_use_mousewheel"
9836 if test "$no_cache" != 1; then
9837 echo $ac_cv_use_mousewheel >> ${wx_arg_cache_file}.tmp
9838 fi
9839
9840 if test "$wxUSE_MOUSEWHEEL" = yes; then
9841 echo "$as_me:$LINENO: result: yes" >&5
9842 echo "${ECHO_T}yes" >&6
9843 else
9844 echo "$as_me:$LINENO: result: no" >&5
9845 echo "${ECHO_T}no" >&6
9846 fi
9847
9848
9849 enablestring=
9850 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
9851 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
9852 no_cache=0
9853 # Check whether --enable-validators or --disable-validators was given.
9854 if test "${enable_validators+set}" = set; then
9855 enableval="$enable_validators"
9856
9857 if test "$enableval" = yes; then
9858 ac_cv_use_validators='wxUSE_VALIDATORS=yes'
9859 else
9860 ac_cv_use_validators='wxUSE_VALIDATORS=no'
9861 fi
9862
9863 else
9864
9865 LINE=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
9866 if test "x$LINE" != x ; then
9867 eval "DEFAULT_$LINE"
9868 else
9869 no_cache=1
9870 fi
9871
9872 ac_cv_use_validators='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
9873
9874 fi;
9875
9876 eval "$ac_cv_use_validators"
9877 if test "$no_cache" != 1; then
9878 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
9879 fi
9880
9881 if test "$wxUSE_VALIDATORS" = yes; then
9882 echo "$as_me:$LINENO: result: yes" >&5
9883 echo "${ECHO_T}yes" >&6
9884 else
9885 echo "$as_me:$LINENO: result: no" >&5
9886 echo "${ECHO_T}no" >&6
9887 fi
9888
9889
9890 enablestring=
9891 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
9892 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
9893 no_cache=0
9894 # Check whether --enable-busyinfo or --disable-busyinfo was given.
9895 if test "${enable_busyinfo+set}" = set; then
9896 enableval="$enable_busyinfo"
9897
9898 if test "$enableval" = yes; then
9899 ac_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
9900 else
9901 ac_cv_use_busyinfo='wxUSE_BUSYINFO=no'
9902 fi
9903
9904 else
9905
9906 LINE=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
9907 if test "x$LINE" != x ; then
9908 eval "DEFAULT_$LINE"
9909 else
9910 no_cache=1
9911 fi
9912
9913 ac_cv_use_busyinfo='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
9914
9915 fi;
9916
9917 eval "$ac_cv_use_busyinfo"
9918 if test "$no_cache" != 1; then
9919 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
9920 fi
9921
9922 if test "$wxUSE_BUSYINFO" = yes; then
9923 echo "$as_me:$LINENO: result: yes" >&5
9924 echo "${ECHO_T}yes" >&6
9925 else
9926 echo "$as_me:$LINENO: result: no" >&5
9927 echo "${ECHO_T}no" >&6
9928 fi
9929
9930
9931 enablestring=
9932 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
9933 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
9934 no_cache=0
9935 # Check whether --enable-joystick or --disable-joystick was given.
9936 if test "${enable_joystick+set}" = set; then
9937 enableval="$enable_joystick"
9938
9939 if test "$enableval" = yes; then
9940 ac_cv_use_joystick='wxUSE_JOYSTICK=yes'
9941 else
9942 ac_cv_use_joystick='wxUSE_JOYSTICK=no'
9943 fi
9944
9945 else
9946
9947 LINE=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
9948 if test "x$LINE" != x ; then
9949 eval "DEFAULT_$LINE"
9950 else
9951 no_cache=1
9952 fi
9953
9954 ac_cv_use_joystick='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
9955
9956 fi;
9957
9958 eval "$ac_cv_use_joystick"
9959 if test "$no_cache" != 1; then
9960 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
9961 fi
9962
9963 if test "$wxUSE_JOYSTICK" = yes; then
9964 echo "$as_me:$LINENO: result: yes" >&5
9965 echo "${ECHO_T}yes" >&6
9966 else
9967 echo "$as_me:$LINENO: result: no" >&5
9968 echo "${ECHO_T}no" >&6
9969 fi
9970
9971
9972 enablestring=
9973 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
9974 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
9975 no_cache=0
9976 # Check whether --enable-metafile or --disable-metafile was given.
9977 if test "${enable_metafile+set}" = set; then
9978 enableval="$enable_metafile"
9979
9980 if test "$enableval" = yes; then
9981 ac_cv_use_metafile='wxUSE_METAFILE=yes'
9982 else
9983 ac_cv_use_metafile='wxUSE_METAFILE=no'
9984 fi
9985
9986 else
9987
9988 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
9989 if test "x$LINE" != x ; then
9990 eval "DEFAULT_$LINE"
9991 else
9992 no_cache=1
9993 fi
9994
9995 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
9996
9997 fi;
9998
9999 eval "$ac_cv_use_metafile"
10000 if test "$no_cache" != 1; then
10001 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
10002 fi
10003
10004 if test "$wxUSE_METAFILE" = yes; then
10005 echo "$as_me:$LINENO: result: yes" >&5
10006 echo "${ECHO_T}yes" >&6
10007 else
10008 echo "$as_me:$LINENO: result: no" >&5
10009 echo "${ECHO_T}no" >&6
10010 fi
10011
10012
10013 enablestring=
10014 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
10015 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
10016 no_cache=0
10017 # Check whether --enable-dragimage or --disable-dragimage was given.
10018 if test "${enable_dragimage+set}" = set; then
10019 enableval="$enable_dragimage"
10020
10021 if test "$enableval" = yes; then
10022 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
10023 else
10024 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
10025 fi
10026
10027 else
10028
10029 LINE=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
10030 if test "x$LINE" != x ; then
10031 eval "DEFAULT_$LINE"
10032 else
10033 no_cache=1
10034 fi
10035
10036 ac_cv_use_dragimage='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
10037
10038 fi;
10039
10040 eval "$ac_cv_use_dragimage"
10041 if test "$no_cache" != 1; then
10042 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
10043 fi
10044
10045 if test "$wxUSE_DRAGIMAGE" = yes; then
10046 echo "$as_me:$LINENO: result: yes" >&5
10047 echo "${ECHO_T}yes" >&6
10048 else
10049 echo "$as_me:$LINENO: result: no" >&5
10050 echo "${ECHO_T}no" >&6
10051 fi
10052
10053
10054 enablestring=
10055 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
10056 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
10057 no_cache=0
10058 # Check whether --enable-accessibility or --disable-accessibility was given.
10059 if test "${enable_accessibility+set}" = set; then
10060 enableval="$enable_accessibility"
10061
10062 if test "$enableval" = yes; then
10063 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
10064 else
10065 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
10066 fi
10067
10068 else
10069
10070 LINE=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
10071 if test "x$LINE" != x ; then
10072 eval "DEFAULT_$LINE"
10073 else
10074 no_cache=1
10075 fi
10076
10077 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
10078
10079 fi;
10080
10081 eval "$ac_cv_use_accessibility"
10082 if test "$no_cache" != 1; then
10083 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
10084 fi
10085
10086 if test "$wxUSE_ACCESSIBILITY" = yes; then
10087 echo "$as_me:$LINENO: result: yes" >&5
10088 echo "${ECHO_T}yes" >&6
10089 else
10090 echo "$as_me:$LINENO: result: no" >&5
10091 echo "${ECHO_T}no" >&6
10092 fi
10093
10094
10095 if test "$wxUSE_MSW" = "1"; then
10096
10097 enablestring=
10098 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
10099 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6
10100 no_cache=0
10101 # Check whether --enable-dccache or --disable-dccache was given.
10102 if test "${enable_dccache+set}" = set; then
10103 enableval="$enable_dccache"
10104
10105 if test "$enableval" = yes; then
10106 ac_cv_use_dccache='wxUSE_DC_CACHEING=yes'
10107 else
10108 ac_cv_use_dccache='wxUSE_DC_CACHEING=no'
10109 fi
10110
10111 else
10112
10113 LINE=`grep "wxUSE_DC_CACHEING" ${wx_arg_cache_file}`
10114 if test "x$LINE" != x ; then
10115 eval "DEFAULT_$LINE"
10116 else
10117 no_cache=1
10118 fi
10119
10120 ac_cv_use_dccache='wxUSE_DC_CACHEING='$DEFAULT_wxUSE_DC_CACHEING
10121
10122 fi;
10123
10124 eval "$ac_cv_use_dccache"
10125 if test "$no_cache" != 1; then
10126 echo $ac_cv_use_dccache >> ${wx_arg_cache_file}.tmp
10127 fi
10128
10129 if test "$wxUSE_DC_CACHEING" = yes; then
10130 echo "$as_me:$LINENO: result: yes" >&5
10131 echo "${ECHO_T}yes" >&6
10132 else
10133 echo "$as_me:$LINENO: result: no" >&5
10134 echo "${ECHO_T}no" >&6
10135 fi
10136
10137 fi
10138
10139
10140
10141 enablestring=
10142 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
10143 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
10144 no_cache=0
10145 # Check whether --enable-palette or --disable-palette was given.
10146 if test "${enable_palette+set}" = set; then
10147 enableval="$enable_palette"
10148
10149 if test "$enableval" = yes; then
10150 ac_cv_use_palette='wxUSE_PALETTE=yes'
10151 else
10152 ac_cv_use_palette='wxUSE_PALETTE=no'
10153 fi
10154
10155 else
10156
10157 LINE=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
10158 if test "x$LINE" != x ; then
10159 eval "DEFAULT_$LINE"
10160 else
10161 no_cache=1
10162 fi
10163
10164 ac_cv_use_palette='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
10165
10166 fi;
10167
10168 eval "$ac_cv_use_palette"
10169 if test "$no_cache" != 1; then
10170 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
10171 fi
10172
10173 if test "$wxUSE_PALETTE" = yes; then
10174 echo "$as_me:$LINENO: result: yes" >&5
10175 echo "${ECHO_T}yes" >&6
10176 else
10177 echo "$as_me:$LINENO: result: no" >&5
10178 echo "${ECHO_T}no" >&6
10179 fi
10180
10181
10182 enablestring=
10183 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
10184 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
10185 no_cache=0
10186 # Check whether --enable-image or --disable-image was given.
10187 if test "${enable_image+set}" = set; then
10188 enableval="$enable_image"
10189
10190 if test "$enableval" = yes; then
10191 ac_cv_use_image='wxUSE_IMAGE=yes'
10192 else
10193 ac_cv_use_image='wxUSE_IMAGE=no'
10194 fi
10195
10196 else
10197
10198 LINE=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
10199 if test "x$LINE" != x ; then
10200 eval "DEFAULT_$LINE"
10201 else
10202 no_cache=1
10203 fi
10204
10205 ac_cv_use_image='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
10206
10207 fi;
10208
10209 eval "$ac_cv_use_image"
10210 if test "$no_cache" != 1; then
10211 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
10212 fi
10213
10214 if test "$wxUSE_IMAGE" = yes; then
10215 echo "$as_me:$LINENO: result: yes" >&5
10216 echo "${ECHO_T}yes" >&6
10217 else
10218 echo "$as_me:$LINENO: result: no" >&5
10219 echo "${ECHO_T}no" >&6
10220 fi
10221
10222
10223 enablestring=
10224 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
10225 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
10226 no_cache=0
10227 # Check whether --enable-gif or --disable-gif was given.
10228 if test "${enable_gif+set}" = set; then
10229 enableval="$enable_gif"
10230
10231 if test "$enableval" = yes; then
10232 ac_cv_use_gif='wxUSE_GIF=yes'
10233 else
10234 ac_cv_use_gif='wxUSE_GIF=no'
10235 fi
10236
10237 else
10238
10239 LINE=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
10240 if test "x$LINE" != x ; then
10241 eval "DEFAULT_$LINE"
10242 else
10243 no_cache=1
10244 fi
10245
10246 ac_cv_use_gif='wxUSE_GIF='$DEFAULT_wxUSE_GIF
10247
10248 fi;
10249
10250 eval "$ac_cv_use_gif"
10251 if test "$no_cache" != 1; then
10252 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
10253 fi
10254
10255 if test "$wxUSE_GIF" = yes; then
10256 echo "$as_me:$LINENO: result: yes" >&5
10257 echo "${ECHO_T}yes" >&6
10258 else
10259 echo "$as_me:$LINENO: result: no" >&5
10260 echo "${ECHO_T}no" >&6
10261 fi
10262
10263
10264 enablestring=
10265 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
10266 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
10267 no_cache=0
10268 # Check whether --enable-pcx or --disable-pcx was given.
10269 if test "${enable_pcx+set}" = set; then
10270 enableval="$enable_pcx"
10271
10272 if test "$enableval" = yes; then
10273 ac_cv_use_pcx='wxUSE_PCX=yes'
10274 else
10275 ac_cv_use_pcx='wxUSE_PCX=no'
10276 fi
10277
10278 else
10279
10280 LINE=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
10281 if test "x$LINE" != x ; then
10282 eval "DEFAULT_$LINE"
10283 else
10284 no_cache=1
10285 fi
10286
10287 ac_cv_use_pcx='wxUSE_PCX='$DEFAULT_wxUSE_PCX
10288
10289 fi;
10290
10291 eval "$ac_cv_use_pcx"
10292 if test "$no_cache" != 1; then
10293 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
10294 fi
10295
10296 if test "$wxUSE_PCX" = yes; then
10297 echo "$as_me:$LINENO: result: yes" >&5
10298 echo "${ECHO_T}yes" >&6
10299 else
10300 echo "$as_me:$LINENO: result: no" >&5
10301 echo "${ECHO_T}no" >&6
10302 fi
10303
10304
10305 enablestring=
10306 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
10307 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
10308 no_cache=0
10309 # Check whether --enable-iff or --disable-iff was given.
10310 if test "${enable_iff+set}" = set; then
10311 enableval="$enable_iff"
10312
10313 if test "$enableval" = yes; then
10314 ac_cv_use_iff='wxUSE_IFF=yes'
10315 else
10316 ac_cv_use_iff='wxUSE_IFF=no'
10317 fi
10318
10319 else
10320
10321 LINE=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
10322 if test "x$LINE" != x ; then
10323 eval "DEFAULT_$LINE"
10324 else
10325 no_cache=1
10326 fi
10327
10328 ac_cv_use_iff='wxUSE_IFF='$DEFAULT_wxUSE_IFF
10329
10330 fi;
10331
10332 eval "$ac_cv_use_iff"
10333 if test "$no_cache" != 1; then
10334 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
10335 fi
10336
10337 if test "$wxUSE_IFF" = yes; then
10338 echo "$as_me:$LINENO: result: yes" >&5
10339 echo "${ECHO_T}yes" >&6
10340 else
10341 echo "$as_me:$LINENO: result: no" >&5
10342 echo "${ECHO_T}no" >&6
10343 fi
10344
10345
10346 enablestring=
10347 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
10348 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
10349 no_cache=0
10350 # Check whether --enable-pnm or --disable-pnm was given.
10351 if test "${enable_pnm+set}" = set; then
10352 enableval="$enable_pnm"
10353
10354 if test "$enableval" = yes; then
10355 ac_cv_use_pnm='wxUSE_PNM=yes'
10356 else
10357 ac_cv_use_pnm='wxUSE_PNM=no'
10358 fi
10359
10360 else
10361
10362 LINE=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
10363 if test "x$LINE" != x ; then
10364 eval "DEFAULT_$LINE"
10365 else
10366 no_cache=1
10367 fi
10368
10369 ac_cv_use_pnm='wxUSE_PNM='$DEFAULT_wxUSE_PNM
10370
10371 fi;
10372
10373 eval "$ac_cv_use_pnm"
10374 if test "$no_cache" != 1; then
10375 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
10376 fi
10377
10378 if test "$wxUSE_PNM" = yes; then
10379 echo "$as_me:$LINENO: result: yes" >&5
10380 echo "${ECHO_T}yes" >&6
10381 else
10382 echo "$as_me:$LINENO: result: no" >&5
10383 echo "${ECHO_T}no" >&6
10384 fi
10385
10386
10387 enablestring=
10388 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
10389 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
10390 no_cache=0
10391 # Check whether --enable-xpm or --disable-xpm was given.
10392 if test "${enable_xpm+set}" = set; then
10393 enableval="$enable_xpm"
10394
10395 if test "$enableval" = yes; then
10396 ac_cv_use_xpm='wxUSE_XPM=yes'
10397 else
10398 ac_cv_use_xpm='wxUSE_XPM=no'
10399 fi
10400
10401 else
10402
10403 LINE=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
10404 if test "x$LINE" != x ; then
10405 eval "DEFAULT_$LINE"
10406 else
10407 no_cache=1
10408 fi
10409
10410 ac_cv_use_xpm='wxUSE_XPM='$DEFAULT_wxUSE_XPM
10411
10412 fi;
10413
10414 eval "$ac_cv_use_xpm"
10415 if test "$no_cache" != 1; then
10416 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
10417 fi
10418
10419 if test "$wxUSE_XPM" = yes; then
10420 echo "$as_me:$LINENO: result: yes" >&5
10421 echo "${ECHO_T}yes" >&6
10422 else
10423 echo "$as_me:$LINENO: result: no" >&5
10424 echo "${ECHO_T}no" >&6
10425 fi
10426
10427
10428 enablestring=
10429 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
10430 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
10431 no_cache=0
10432 # Check whether --enable-ico_cur or --disable-ico_cur was given.
10433 if test "${enable_ico_cur+set}" = set; then
10434 enableval="$enable_ico_cur"
10435
10436 if test "$enableval" = yes; then
10437 ac_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
10438 else
10439 ac_cv_use_ico_cur='wxUSE_ICO_CUR=no'
10440 fi
10441
10442 else
10443
10444 LINE=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
10445 if test "x$LINE" != x ; then
10446 eval "DEFAULT_$LINE"
10447 else
10448 no_cache=1
10449 fi
10450
10451 ac_cv_use_ico_cur='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
10452
10453 fi;
10454
10455 eval "$ac_cv_use_ico_cur"
10456 if test "$no_cache" != 1; then
10457 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
10458 fi
10459
10460 if test "$wxUSE_ICO_CUR" = yes; then
10461 echo "$as_me:$LINENO: result: yes" >&5
10462 echo "${ECHO_T}yes" >&6
10463 else
10464 echo "$as_me:$LINENO: result: no" >&5
10465 echo "${ECHO_T}no" >&6
10466 fi
10467
10468
10469 fi
10470
10471
10472
10473 # Check whether --with-flavour or --without-flavour was given.
10474 if test "${with_flavour+set}" = set; then
10475 withval="$with_flavour"
10476 WX_FLAVOUR="$withval"
10477 fi;
10478
10479
10480
10481 enablestring=
10482 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
10483 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6
10484 no_cache=0
10485 # Check whether --enable-official_build or --disable-official_build was given.
10486 if test "${enable_official_build+set}" = set; then
10487 enableval="$enable_official_build"
10488
10489 if test "$enableval" = yes; then
10490 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
10491 else
10492 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
10493 fi
10494
10495 else
10496
10497 LINE=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
10498 if test "x$LINE" != x ; then
10499 eval "DEFAULT_$LINE"
10500 else
10501 no_cache=1
10502 fi
10503
10504 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD='$DEFAULT_wxUSE_OFFICIAL_BUILD
10505
10506 fi;
10507
10508 eval "$ac_cv_use_official_build"
10509 if test "$no_cache" != 1; then
10510 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
10511 fi
10512
10513 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
10514 echo "$as_me:$LINENO: result: yes" >&5
10515 echo "${ECHO_T}yes" >&6
10516 else
10517 echo "$as_me:$LINENO: result: no" >&5
10518 echo "${ECHO_T}no" >&6
10519 fi
10520
10521 # Check whether --enable-vendor or --disable-vendor was given.
10522 if test "${enable_vendor+set}" = set; then
10523 enableval="$enable_vendor"
10524 VENDOR="$enableval"
10525 fi;
10526 if test "x$VENDOR" = "x"; then
10527 VENDOR="custom"
10528 fi
10529
10530
10531
10532
10533 echo "saving argument cache $wx_arg_cache_file"
10534 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
10535
10536
10537
10538 echo "$as_me:$LINENO: checking for toolkit" >&5
10539 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
10540
10541 # In Wine, we need to default to MSW, not GTK or MOTIF
10542 if test "$wxUSE_WINE" = "yes"; then
10543 DEFAULT_DEFAULT_wxUSE_GTK=0
10544 DEFAULT_DEFAULT_wxUSE_MOTIF=0
10545 DEFAULT_DEFAULT_wxUSE_MSW=1
10546 wxUSE_SHARED=no
10547 fi
10548
10549
10550 if test "$wxUSE_GUI" = "yes"; then
10551
10552 if test "$USE_BEOS" = 1; then
10553 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
10554 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
10555 { (exit 1); exit 1; }; }
10556 fi
10557
10558 if test "$TOOLKIT_GIVEN" = 1; then
10559 for toolkit in `echo $ALL_TOOLKITS`; do
10560 var=wxUSE_$toolkit
10561 eval "value=\$${var}"
10562 if test "x$value" = "xno"; then
10563 eval "$var=0"
10564 elif test "x$value" != "x"; then
10565 eval "$var=1"
10566 fi
10567
10568 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
10569 eval "wx${toolkit}_VERSION=$value"
10570 fi
10571 done
10572 else
10573 for toolkit in `echo $ALL_TOOLKITS`; do
10574 if test "$has_toolkit_in_cache" != 1; then
10575 var=DEFAULT_DEFAULT_wxUSE_$toolkit
10576 else
10577 var=DEFAULT_wxUSE_$toolkit
10578
10579 eval "version=\$DEFAULT_wx${toolkit}_VERSION"
10580 if test "x$version" != "x"; then
10581 eval "wx${toolkit}_VERSION=$version"
10582 fi
10583 fi
10584 eval "wxUSE_$toolkit=\$${var}"
10585 done
10586 fi
10587
10588 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
10589 + ${wxUSE_MGL:-0} + ${wxUSE_MICROWIN:-0} \
10590 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
10591
10592 case "${host}" in
10593 *-pc-os2_emx | *-pc-os2-emx )
10594 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
10595 esac
10596
10597 case "$NUM_TOOLKITS" in
10598 1)
10599 ;;
10600 0)
10601 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
10602 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
10603 { (exit 1); exit 1; }; }
10604 ;;
10605 *)
10606 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
10607 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
10608 { (exit 1); exit 1; }; }
10609 esac
10610
10611 # to be removed when --disable-gtk2 isn't needed
10612 if test "x$wxUSE_GTK2" = "xyes"; then
10613 wxGTK_VERSION=2
10614 elif test "x$wxUSE_GTK2" = "xno"; then
10615 wxGTK_VERSION=1
10616 fi
10617
10618 for toolkit in `echo $ALL_TOOLKITS`; do
10619 var=wxUSE_$toolkit
10620 eval "value=\$${var}"
10621 if test "x$value" != x; then
10622 cache_var=CACHE_$toolkit
10623 eval "cache=\$${cache_var}"
10624 if test "$cache" = 1; then
10625 echo "$var=$value" >> ${wx_arg_cache_file}
10626 eval "version=\$wx${toolkit}_VERSION"
10627 if test "x$version" != "x"; then
10628 echo "wx${toolkit}_VERSION=$version" >> ${wx_arg_cache_file}
10629 fi
10630 fi
10631 if test "$value" = 1; then
10632 toolkit_echo=`echo $toolkit | tr "[A-Z]" "[a-z]"`
10633 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
10634 echo "${ECHO_T}$toolkit_echo" >&6
10635 fi
10636 fi
10637 done
10638 else
10639 if test "x$host_alias" != "x"; then
10640 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
10641 echo "${ECHO_T}base ($host_alias hosted) only" >&6
10642 else
10643 echo "$as_me:$LINENO: result: base only" >&5
10644 echo "${ECHO_T}base only" >&6
10645 fi
10646 fi
10647
10648 wants_win32=0
10649 doesnt_want_win32=0
10650 case "${host}" in
10651 *-*-cygwin*)
10652 if test "$wxUSE_MSW" = 1 ; then
10653 wants_win32=1
10654 BAKEFILE_FORCE_PLATFORM=win32
10655 else
10656 doesnt_want_win32=1
10657 fi
10658 ;;
10659 *-*-mingw*)
10660 wants_win32=1
10661 ;;
10662 esac
10663
10664 if test "$wxUSE_WINE" = "yes"; then
10665 wants_win32=1
10666 CC=winegcc
10667 CXX=wineg++
10668 LDFLAGS_GUI="-mwindows"
10669 fi
10670
10671 if test "$wants_win32" = 1 ; then
10672 USE_UNIX=0
10673 USE_WIN32=1
10674 cat >>confdefs.h <<\_ACEOF
10675 #define __WIN32__ 1
10676 _ACEOF
10677
10678 cat >>confdefs.h <<\_ACEOF
10679 #define __WIN95__ 1
10680 _ACEOF
10681
10682 cat >>confdefs.h <<\_ACEOF
10683 #define __WINDOWS__ 1
10684 _ACEOF
10685
10686 cat >>confdefs.h <<\_ACEOF
10687 #define __GNUWIN32__ 1
10688 _ACEOF
10689
10690 cat >>confdefs.h <<\_ACEOF
10691 #define STRICT 1
10692 _ACEOF
10693
10694 cat >>confdefs.h <<\_ACEOF
10695 #define WINVER 0x0400
10696 _ACEOF
10697
10698 fi
10699 if test "$doesnt_want_win32" = 1 ; then
10700 USE_UNIX=1
10701 USE_WIN32=0
10702 fi
10703
10704 if test "$USE_UNIX" = 1 ; then
10705 wxUSE_UNIX=yes
10706 cat >>confdefs.h <<\_ACEOF
10707 #define __UNIX__ 1
10708 _ACEOF
10709
10710 fi
10711
10712
10713 cat >confcache <<\_ACEOF
10714 # This file is a shell script that caches the results of configure
10715 # tests run on this system so they can be shared between configure
10716 # scripts and configure runs, see configure's option --config-cache.
10717 # It is not useful on other systems. If it contains results you don't
10718 # want to keep, you may remove or edit it.
10719 #
10720 # config.status only pays attention to the cache file if you give it
10721 # the --recheck option to rerun configure.
10722 #
10723 # `ac_cv_env_foo' variables (set or unset) will be overridden when
10724 # loading this file, other *unset* `ac_cv_foo' will be assigned the
10725 # following values.
10726
10727 _ACEOF
10728
10729 # The following way of writing the cache mishandles newlines in values,
10730 # but we know of no workaround that is simple, portable, and efficient.
10731 # So, don't put newlines in cache variables' values.
10732 # Ultrix sh set writes to stderr and can't be redirected directly,
10733 # and sets the high bit in the cache file unless we assign to the vars.
10734 {
10735 (set) 2>&1 |
10736 case `(ac_space=' '; set | grep ac_space) 2>&1` in
10737 *ac_space=\ *)
10738 # `set' does not quote correctly, so add quotes (double-quote
10739 # substitution turns \\\\ into \\, and sed turns \\ into \).
10740 sed -n \
10741 "s/'/'\\\\''/g;
10742 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
10743 ;;
10744 *)
10745 # `set' quotes correctly as required by POSIX, so do not add quotes.
10746 sed -n \
10747 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
10748 ;;
10749 esac;
10750 } |
10751 sed '
10752 t clear
10753 : clear
10754 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
10755 t end
10756 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
10757 : end' >>confcache
10758 if diff $cache_file confcache >/dev/null 2>&1; then :; else
10759 if test -w $cache_file; then
10760 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
10761 cat confcache >$cache_file
10762 else
10763 echo "not updating unwritable cache $cache_file"
10764 fi
10765 fi
10766 rm -f confcache
10767
10768 CFLAGS=${CFLAGS:=}
10769
10770
10771
10772 ac_ext=c
10773 ac_cpp='$CPP $CPPFLAGS'
10774 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10775 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10776 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10777 if test -n "$ac_tool_prefix"; then
10778 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
10779 set dummy ${ac_tool_prefix}gcc; ac_word=$2
10780 echo "$as_me:$LINENO: checking for $ac_word" >&5
10781 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10782 if test "${ac_cv_prog_CC+set}" = set; then
10783 echo $ECHO_N "(cached) $ECHO_C" >&6
10784 else
10785 if test -n "$CC"; then
10786 ac_cv_prog_CC="$CC" # Let the user override the test.
10787 else
10788 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10789 for as_dir in $PATH
10790 do
10791 IFS=$as_save_IFS
10792 test -z "$as_dir" && as_dir=.
10793 for ac_exec_ext in '' $ac_executable_extensions; do
10794 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10795 ac_cv_prog_CC="${ac_tool_prefix}gcc"
10796 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10797 break 2
10798 fi
10799 done
10800 done
10801
10802 fi
10803 fi
10804 CC=$ac_cv_prog_CC
10805 if test -n "$CC"; then
10806 echo "$as_me:$LINENO: result: $CC" >&5
10807 echo "${ECHO_T}$CC" >&6
10808 else
10809 echo "$as_me:$LINENO: result: no" >&5
10810 echo "${ECHO_T}no" >&6
10811 fi
10812
10813 fi
10814 if test -z "$ac_cv_prog_CC"; then
10815 ac_ct_CC=$CC
10816 # Extract the first word of "gcc", so it can be a program name with args.
10817 set dummy gcc; ac_word=$2
10818 echo "$as_me:$LINENO: checking for $ac_word" >&5
10819 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10820 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10821 echo $ECHO_N "(cached) $ECHO_C" >&6
10822 else
10823 if test -n "$ac_ct_CC"; then
10824 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
10825 else
10826 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10827 for as_dir in $PATH
10828 do
10829 IFS=$as_save_IFS
10830 test -z "$as_dir" && as_dir=.
10831 for ac_exec_ext in '' $ac_executable_extensions; do
10832 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10833 ac_cv_prog_ac_ct_CC="gcc"
10834 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10835 break 2
10836 fi
10837 done
10838 done
10839
10840 fi
10841 fi
10842 ac_ct_CC=$ac_cv_prog_ac_ct_CC
10843 if test -n "$ac_ct_CC"; then
10844 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10845 echo "${ECHO_T}$ac_ct_CC" >&6
10846 else
10847 echo "$as_me:$LINENO: result: no" >&5
10848 echo "${ECHO_T}no" >&6
10849 fi
10850
10851 CC=$ac_ct_CC
10852 else
10853 CC="$ac_cv_prog_CC"
10854 fi
10855
10856 if test -z "$CC"; then
10857 if test -n "$ac_tool_prefix"; then
10858 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
10859 set dummy ${ac_tool_prefix}cc; ac_word=$2
10860 echo "$as_me:$LINENO: checking for $ac_word" >&5
10861 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10862 if test "${ac_cv_prog_CC+set}" = set; then
10863 echo $ECHO_N "(cached) $ECHO_C" >&6
10864 else
10865 if test -n "$CC"; then
10866 ac_cv_prog_CC="$CC" # Let the user override the test.
10867 else
10868 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10869 for as_dir in $PATH
10870 do
10871 IFS=$as_save_IFS
10872 test -z "$as_dir" && as_dir=.
10873 for ac_exec_ext in '' $ac_executable_extensions; do
10874 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10875 ac_cv_prog_CC="${ac_tool_prefix}cc"
10876 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10877 break 2
10878 fi
10879 done
10880 done
10881
10882 fi
10883 fi
10884 CC=$ac_cv_prog_CC
10885 if test -n "$CC"; then
10886 echo "$as_me:$LINENO: result: $CC" >&5
10887 echo "${ECHO_T}$CC" >&6
10888 else
10889 echo "$as_me:$LINENO: result: no" >&5
10890 echo "${ECHO_T}no" >&6
10891 fi
10892
10893 fi
10894 if test -z "$ac_cv_prog_CC"; then
10895 ac_ct_CC=$CC
10896 # Extract the first word of "cc", so it can be a program name with args.
10897 set dummy cc; ac_word=$2
10898 echo "$as_me:$LINENO: checking for $ac_word" >&5
10899 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10900 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10901 echo $ECHO_N "(cached) $ECHO_C" >&6
10902 else
10903 if test -n "$ac_ct_CC"; then
10904 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
10905 else
10906 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10907 for as_dir in $PATH
10908 do
10909 IFS=$as_save_IFS
10910 test -z "$as_dir" && as_dir=.
10911 for ac_exec_ext in '' $ac_executable_extensions; do
10912 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10913 ac_cv_prog_ac_ct_CC="cc"
10914 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10915 break 2
10916 fi
10917 done
10918 done
10919
10920 fi
10921 fi
10922 ac_ct_CC=$ac_cv_prog_ac_ct_CC
10923 if test -n "$ac_ct_CC"; then
10924 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10925 echo "${ECHO_T}$ac_ct_CC" >&6
10926 else
10927 echo "$as_me:$LINENO: result: no" >&5
10928 echo "${ECHO_T}no" >&6
10929 fi
10930
10931 CC=$ac_ct_CC
10932 else
10933 CC="$ac_cv_prog_CC"
10934 fi
10935
10936 fi
10937 if test -z "$CC"; then
10938 # Extract the first word of "cc", so it can be a program name with args.
10939 set dummy cc; ac_word=$2
10940 echo "$as_me:$LINENO: checking for $ac_word" >&5
10941 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10942 if test "${ac_cv_prog_CC+set}" = set; then
10943 echo $ECHO_N "(cached) $ECHO_C" >&6
10944 else
10945 if test -n "$CC"; then
10946 ac_cv_prog_CC="$CC" # Let the user override the test.
10947 else
10948 ac_prog_rejected=no
10949 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10950 for as_dir in $PATH
10951 do
10952 IFS=$as_save_IFS
10953 test -z "$as_dir" && as_dir=.
10954 for ac_exec_ext in '' $ac_executable_extensions; do
10955 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10956 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
10957 ac_prog_rejected=yes
10958 continue
10959 fi
10960 ac_cv_prog_CC="cc"
10961 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10962 break 2
10963 fi
10964 done
10965 done
10966
10967 if test $ac_prog_rejected = yes; then
10968 # We found a bogon in the path, so make sure we never use it.
10969 set dummy $ac_cv_prog_CC
10970 shift
10971 if test $# != 0; then
10972 # We chose a different compiler from the bogus one.
10973 # However, it has the same basename, so the bogon will be chosen
10974 # first if we set CC to just the basename; use the full file name.
10975 shift
10976 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
10977 fi
10978 fi
10979 fi
10980 fi
10981 CC=$ac_cv_prog_CC
10982 if test -n "$CC"; then
10983 echo "$as_me:$LINENO: result: $CC" >&5
10984 echo "${ECHO_T}$CC" >&6
10985 else
10986 echo "$as_me:$LINENO: result: no" >&5
10987 echo "${ECHO_T}no" >&6
10988 fi
10989
10990 fi
10991 if test -z "$CC"; then
10992 if test -n "$ac_tool_prefix"; then
10993 for ac_prog in cl
10994 do
10995 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10996 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
10997 echo "$as_me:$LINENO: checking for $ac_word" >&5
10998 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10999 if test "${ac_cv_prog_CC+set}" = set; then
11000 echo $ECHO_N "(cached) $ECHO_C" >&6
11001 else
11002 if test -n "$CC"; then
11003 ac_cv_prog_CC="$CC" # Let the user override the test.
11004 else
11005 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11006 for as_dir in $PATH
11007 do
11008 IFS=$as_save_IFS
11009 test -z "$as_dir" && as_dir=.
11010 for ac_exec_ext in '' $ac_executable_extensions; do
11011 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11012 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
11013 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11014 break 2
11015 fi
11016 done
11017 done
11018
11019 fi
11020 fi
11021 CC=$ac_cv_prog_CC
11022 if test -n "$CC"; then
11023 echo "$as_me:$LINENO: result: $CC" >&5
11024 echo "${ECHO_T}$CC" >&6
11025 else
11026 echo "$as_me:$LINENO: result: no" >&5
11027 echo "${ECHO_T}no" >&6
11028 fi
11029
11030 test -n "$CC" && break
11031 done
11032 fi
11033 if test -z "$CC"; then
11034 ac_ct_CC=$CC
11035 for ac_prog in cl
11036 do
11037 # Extract the first word of "$ac_prog", so it can be a program name with args.
11038 set dummy $ac_prog; ac_word=$2
11039 echo "$as_me:$LINENO: checking for $ac_word" >&5
11040 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11041 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
11042 echo $ECHO_N "(cached) $ECHO_C" >&6
11043 else
11044 if test -n "$ac_ct_CC"; then
11045 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
11046 else
11047 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11048 for as_dir in $PATH
11049 do
11050 IFS=$as_save_IFS
11051 test -z "$as_dir" && as_dir=.
11052 for ac_exec_ext in '' $ac_executable_extensions; do
11053 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11054 ac_cv_prog_ac_ct_CC="$ac_prog"
11055 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11056 break 2
11057 fi
11058 done
11059 done
11060
11061 fi
11062 fi
11063 ac_ct_CC=$ac_cv_prog_ac_ct_CC
11064 if test -n "$ac_ct_CC"; then
11065 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
11066 echo "${ECHO_T}$ac_ct_CC" >&6
11067 else
11068 echo "$as_me:$LINENO: result: no" >&5
11069 echo "${ECHO_T}no" >&6
11070 fi
11071
11072 test -n "$ac_ct_CC" && break
11073 done
11074
11075 CC=$ac_ct_CC
11076 fi
11077
11078 fi
11079
11080
11081 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
11082 See \`config.log' for more details." >&5
11083 echo "$as_me: error: no acceptable C compiler found in \$PATH
11084 See \`config.log' for more details." >&2;}
11085 { (exit 1); exit 1; }; }
11086
11087 # Provide some information about the compiler.
11088 echo "$as_me:$LINENO:" \
11089 "checking for C compiler version" >&5
11090 ac_compiler=`set X $ac_compile; echo $2`
11091 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
11092 (eval $ac_compiler --version </dev/null >&5) 2>&5
11093 ac_status=$?
11094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11095 (exit $ac_status); }
11096 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
11097 (eval $ac_compiler -v </dev/null >&5) 2>&5
11098 ac_status=$?
11099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11100 (exit $ac_status); }
11101 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
11102 (eval $ac_compiler -V </dev/null >&5) 2>&5
11103 ac_status=$?
11104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11105 (exit $ac_status); }
11106
11107 cat >conftest.$ac_ext <<_ACEOF
11108 /* confdefs.h. */
11109 _ACEOF
11110 cat confdefs.h >>conftest.$ac_ext
11111 cat >>conftest.$ac_ext <<_ACEOF
11112 /* end confdefs.h. */
11113
11114 int
11115 main ()
11116 {
11117
11118 ;
11119 return 0;
11120 }
11121 _ACEOF
11122 ac_clean_files_save=$ac_clean_files
11123 ac_clean_files="$ac_clean_files a.out a.exe b.out"
11124 # Try to create an executable without -o first, disregard a.out.
11125 # It will help us diagnose broken compilers, and finding out an intuition
11126 # of exeext.
11127 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
11128 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
11129 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
11130 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
11131 (eval $ac_link_default) 2>&5
11132 ac_status=$?
11133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11134 (exit $ac_status); }; then
11135 # Find the output, starting from the most likely. This scheme is
11136 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
11137 # resort.
11138
11139 # Be careful to initialize this variable, since it used to be cached.
11140 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
11141 ac_cv_exeext=
11142 # b.out is created by i960 compilers.
11143 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
11144 do
11145 test -f "$ac_file" || continue
11146 case $ac_file in
11147 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
11148 ;;
11149 conftest.$ac_ext )
11150 # This is the source file.
11151 ;;
11152 [ab].out )
11153 # We found the default executable, but exeext='' is most
11154 # certainly right.
11155 break;;
11156 *.* )
11157 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
11158 # FIXME: I believe we export ac_cv_exeext for Libtool,
11159 # but it would be cool to find out if it's true. Does anybody
11160 # maintain Libtool? --akim.
11161 export ac_cv_exeext
11162 break;;
11163 * )
11164 break;;
11165 esac
11166 done
11167 else
11168 echo "$as_me: failed program was:" >&5
11169 sed 's/^/| /' conftest.$ac_ext >&5
11170
11171 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
11172 See \`config.log' for more details." >&5
11173 echo "$as_me: error: C compiler cannot create executables
11174 See \`config.log' for more details." >&2;}
11175 { (exit 77); exit 77; }; }
11176 fi
11177
11178 ac_exeext=$ac_cv_exeext
11179 echo "$as_me:$LINENO: result: $ac_file" >&5
11180 echo "${ECHO_T}$ac_file" >&6
11181
11182 # Check the compiler produces executables we can run. If not, either
11183 # the compiler is broken, or we cross compile.
11184 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
11185 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
11186 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
11187 # If not cross compiling, check that we can run a simple program.
11188 if test "$cross_compiling" != yes; then
11189 if { ac_try='./$ac_file'
11190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11191 (eval $ac_try) 2>&5
11192 ac_status=$?
11193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11194 (exit $ac_status); }; }; then
11195 cross_compiling=no
11196 else
11197 if test "$cross_compiling" = maybe; then
11198 cross_compiling=yes
11199 else
11200 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
11201 If you meant to cross compile, use \`--host'.
11202 See \`config.log' for more details." >&5
11203 echo "$as_me: error: cannot run C compiled programs.
11204 If you meant to cross compile, use \`--host'.
11205 See \`config.log' for more details." >&2;}
11206 { (exit 1); exit 1; }; }
11207 fi
11208 fi
11209 fi
11210 echo "$as_me:$LINENO: result: yes" >&5
11211 echo "${ECHO_T}yes" >&6
11212
11213 rm -f a.out a.exe conftest$ac_cv_exeext b.out
11214 ac_clean_files=$ac_clean_files_save
11215 # Check the compiler produces executables we can run. If not, either
11216 # the compiler is broken, or we cross compile.
11217 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
11218 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
11219 echo "$as_me:$LINENO: result: $cross_compiling" >&5
11220 echo "${ECHO_T}$cross_compiling" >&6
11221
11222 echo "$as_me:$LINENO: checking for suffix of executables" >&5
11223 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
11224 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11225 (eval $ac_link) 2>&5
11226 ac_status=$?
11227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11228 (exit $ac_status); }; then
11229 # If both `conftest.exe' and `conftest' are `present' (well, observable)
11230 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
11231 # work properly (i.e., refer to `conftest.exe'), while it won't with
11232 # `rm'.
11233 for ac_file in conftest.exe conftest conftest.*; do
11234 test -f "$ac_file" || continue
11235 case $ac_file in
11236 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
11237 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
11238 export ac_cv_exeext
11239 break;;
11240 * ) break;;
11241 esac
11242 done
11243 else
11244 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
11245 See \`config.log' for more details." >&5
11246 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
11247 See \`config.log' for more details." >&2;}
11248 { (exit 1); exit 1; }; }
11249 fi
11250
11251 rm -f conftest$ac_cv_exeext
11252 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
11253 echo "${ECHO_T}$ac_cv_exeext" >&6
11254
11255 rm -f conftest.$ac_ext
11256 EXEEXT=$ac_cv_exeext
11257 ac_exeext=$EXEEXT
11258 echo "$as_me:$LINENO: checking for suffix of object files" >&5
11259 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
11260 if test "${ac_cv_objext+set}" = set; then
11261 echo $ECHO_N "(cached) $ECHO_C" >&6
11262 else
11263 cat >conftest.$ac_ext <<_ACEOF
11264 /* confdefs.h. */
11265 _ACEOF
11266 cat confdefs.h >>conftest.$ac_ext
11267 cat >>conftest.$ac_ext <<_ACEOF
11268 /* end confdefs.h. */
11269
11270 int
11271 main ()
11272 {
11273
11274 ;
11275 return 0;
11276 }
11277 _ACEOF
11278 rm -f conftest.o conftest.obj
11279 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11280 (eval $ac_compile) 2>&5
11281 ac_status=$?
11282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11283 (exit $ac_status); }; then
11284 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
11285 case $ac_file in
11286 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
11287 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
11288 break;;
11289 esac
11290 done
11291 else
11292 echo "$as_me: failed program was:" >&5
11293 sed 's/^/| /' conftest.$ac_ext >&5
11294
11295 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
11296 See \`config.log' for more details." >&5
11297 echo "$as_me: error: cannot compute suffix of object files: cannot compile
11298 See \`config.log' for more details." >&2;}
11299 { (exit 1); exit 1; }; }
11300 fi
11301
11302 rm -f conftest.$ac_cv_objext conftest.$ac_ext
11303 fi
11304 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
11305 echo "${ECHO_T}$ac_cv_objext" >&6
11306 OBJEXT=$ac_cv_objext
11307 ac_objext=$OBJEXT
11308 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
11309 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
11310 if test "${ac_cv_c_compiler_gnu+set}" = set; then
11311 echo $ECHO_N "(cached) $ECHO_C" >&6
11312 else
11313 cat >conftest.$ac_ext <<_ACEOF
11314 /* confdefs.h. */
11315 _ACEOF
11316 cat confdefs.h >>conftest.$ac_ext
11317 cat >>conftest.$ac_ext <<_ACEOF
11318 /* end confdefs.h. */
11319
11320 int
11321 main ()
11322 {
11323 #ifndef __GNUC__
11324 choke me
11325 #endif
11326
11327 ;
11328 return 0;
11329 }
11330 _ACEOF
11331 rm -f conftest.$ac_objext
11332 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11333 (eval $ac_compile) 2>conftest.er1
11334 ac_status=$?
11335 grep -v '^ *+' conftest.er1 >conftest.err
11336 rm -f conftest.er1
11337 cat conftest.err >&5
11338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11339 (exit $ac_status); } &&
11340 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11342 (eval $ac_try) 2>&5
11343 ac_status=$?
11344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11345 (exit $ac_status); }; } &&
11346 { ac_try='test -s conftest.$ac_objext'
11347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11348 (eval $ac_try) 2>&5
11349 ac_status=$?
11350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11351 (exit $ac_status); }; }; then
11352 ac_compiler_gnu=yes
11353 else
11354 echo "$as_me: failed program was:" >&5
11355 sed 's/^/| /' conftest.$ac_ext >&5
11356
11357 ac_compiler_gnu=no
11358 fi
11359 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11360 ac_cv_c_compiler_gnu=$ac_compiler_gnu
11361
11362 fi
11363 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
11364 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
11365 GCC=`test $ac_compiler_gnu = yes && echo yes`
11366 ac_test_CFLAGS=${CFLAGS+set}
11367 ac_save_CFLAGS=$CFLAGS
11368 CFLAGS="-g"
11369 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
11370 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
11371 if test "${ac_cv_prog_cc_g+set}" = set; then
11372 echo $ECHO_N "(cached) $ECHO_C" >&6
11373 else
11374 cat >conftest.$ac_ext <<_ACEOF
11375 /* confdefs.h. */
11376 _ACEOF
11377 cat confdefs.h >>conftest.$ac_ext
11378 cat >>conftest.$ac_ext <<_ACEOF
11379 /* end confdefs.h. */
11380
11381 int
11382 main ()
11383 {
11384
11385 ;
11386 return 0;
11387 }
11388 _ACEOF
11389 rm -f conftest.$ac_objext
11390 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11391 (eval $ac_compile) 2>conftest.er1
11392 ac_status=$?
11393 grep -v '^ *+' conftest.er1 >conftest.err
11394 rm -f conftest.er1
11395 cat conftest.err >&5
11396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11397 (exit $ac_status); } &&
11398 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11400 (eval $ac_try) 2>&5
11401 ac_status=$?
11402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11403 (exit $ac_status); }; } &&
11404 { ac_try='test -s conftest.$ac_objext'
11405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11406 (eval $ac_try) 2>&5
11407 ac_status=$?
11408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11409 (exit $ac_status); }; }; then
11410 ac_cv_prog_cc_g=yes
11411 else
11412 echo "$as_me: failed program was:" >&5
11413 sed 's/^/| /' conftest.$ac_ext >&5
11414
11415 ac_cv_prog_cc_g=no
11416 fi
11417 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11418 fi
11419 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
11420 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
11421 if test "$ac_test_CFLAGS" = set; then
11422 CFLAGS=$ac_save_CFLAGS
11423 elif test $ac_cv_prog_cc_g = yes; then
11424 if test "$GCC" = yes; then
11425 CFLAGS="-g -O2"
11426 else
11427 CFLAGS="-g"
11428 fi
11429 else
11430 if test "$GCC" = yes; then
11431 CFLAGS="-O2"
11432 else
11433 CFLAGS=
11434 fi
11435 fi
11436 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
11437 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
11438 if test "${ac_cv_prog_cc_stdc+set}" = set; then
11439 echo $ECHO_N "(cached) $ECHO_C" >&6
11440 else
11441 ac_cv_prog_cc_stdc=no
11442 ac_save_CC=$CC
11443 cat >conftest.$ac_ext <<_ACEOF
11444 /* confdefs.h. */
11445 _ACEOF
11446 cat confdefs.h >>conftest.$ac_ext
11447 cat >>conftest.$ac_ext <<_ACEOF
11448 /* end confdefs.h. */
11449 #include <stdarg.h>
11450 #include <stdio.h>
11451 #include <sys/types.h>
11452 #include <sys/stat.h>
11453 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
11454 struct buf { int x; };
11455 FILE * (*rcsopen) (struct buf *, struct stat *, int);
11456 static char *e (p, i)
11457 char **p;
11458 int i;
11459 {
11460 return p[i];
11461 }
11462 static char *f (char * (*g) (char **, int), char **p, ...)
11463 {
11464 char *s;
11465 va_list v;
11466 va_start (v,p);
11467 s = g (p, va_arg (v,int));
11468 va_end (v);
11469 return s;
11470 }
11471
11472 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
11473 function prototypes and stuff, but not '\xHH' hex character constants.
11474 These don't provoke an error unfortunately, instead are silently treated
11475 as 'x'. The following induces an error, until -std1 is added to get
11476 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
11477 array size at least. It's necessary to write '\x00'==0 to get something
11478 that's true only with -std1. */
11479 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
11480
11481 int test (int i, double x);
11482 struct s1 {int (*f) (int a);};
11483 struct s2 {int (*f) (double a);};
11484 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
11485 int argc;
11486 char **argv;
11487 int
11488 main ()
11489 {
11490 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
11491 ;
11492 return 0;
11493 }
11494 _ACEOF
11495 # Don't try gcc -ansi; that turns off useful extensions and
11496 # breaks some systems' header files.
11497 # AIX -qlanglvl=ansi
11498 # Ultrix and OSF/1 -std1
11499 # HP-UX 10.20 and later -Ae
11500 # HP-UX older versions -Aa -D_HPUX_SOURCE
11501 # SVR4 -Xc -D__EXTENSIONS__
11502 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
11503 do
11504 CC="$ac_save_CC $ac_arg"
11505 rm -f conftest.$ac_objext
11506 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11507 (eval $ac_compile) 2>conftest.er1
11508 ac_status=$?
11509 grep -v '^ *+' conftest.er1 >conftest.err
11510 rm -f conftest.er1
11511 cat conftest.err >&5
11512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11513 (exit $ac_status); } &&
11514 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11516 (eval $ac_try) 2>&5
11517 ac_status=$?
11518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11519 (exit $ac_status); }; } &&
11520 { ac_try='test -s conftest.$ac_objext'
11521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11522 (eval $ac_try) 2>&5
11523 ac_status=$?
11524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11525 (exit $ac_status); }; }; then
11526 ac_cv_prog_cc_stdc=$ac_arg
11527 break
11528 else
11529 echo "$as_me: failed program was:" >&5
11530 sed 's/^/| /' conftest.$ac_ext >&5
11531
11532 fi
11533 rm -f conftest.err conftest.$ac_objext
11534 done
11535 rm -f conftest.$ac_ext conftest.$ac_objext
11536 CC=$ac_save_CC
11537
11538 fi
11539
11540 case "x$ac_cv_prog_cc_stdc" in
11541 x|xno)
11542 echo "$as_me:$LINENO: result: none needed" >&5
11543 echo "${ECHO_T}none needed" >&6 ;;
11544 *)
11545 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
11546 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
11547 CC="$CC $ac_cv_prog_cc_stdc" ;;
11548 esac
11549
11550 # Some people use a C++ compiler to compile C. Since we use `exit',
11551 # in C++ we need to declare it. In case someone uses the same compiler
11552 # for both compiling C and C++ we need to have the C++ compiler decide
11553 # the declaration of exit, since it's the most demanding environment.
11554 cat >conftest.$ac_ext <<_ACEOF
11555 #ifndef __cplusplus
11556 choke me
11557 #endif
11558 _ACEOF
11559 rm -f conftest.$ac_objext
11560 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11561 (eval $ac_compile) 2>conftest.er1
11562 ac_status=$?
11563 grep -v '^ *+' conftest.er1 >conftest.err
11564 rm -f conftest.er1
11565 cat conftest.err >&5
11566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11567 (exit $ac_status); } &&
11568 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11570 (eval $ac_try) 2>&5
11571 ac_status=$?
11572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11573 (exit $ac_status); }; } &&
11574 { ac_try='test -s conftest.$ac_objext'
11575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11576 (eval $ac_try) 2>&5
11577 ac_status=$?
11578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11579 (exit $ac_status); }; }; then
11580 for ac_declaration in \
11581 '' \
11582 'extern "C" void std::exit (int) throw (); using std::exit;' \
11583 'extern "C" void std::exit (int); using std::exit;' \
11584 'extern "C" void exit (int) throw ();' \
11585 'extern "C" void exit (int);' \
11586 'void exit (int);'
11587 do
11588 cat >conftest.$ac_ext <<_ACEOF
11589 /* confdefs.h. */
11590 _ACEOF
11591 cat confdefs.h >>conftest.$ac_ext
11592 cat >>conftest.$ac_ext <<_ACEOF
11593 /* end confdefs.h. */
11594 $ac_declaration
11595 #include <stdlib.h>
11596 int
11597 main ()
11598 {
11599 exit (42);
11600 ;
11601 return 0;
11602 }
11603 _ACEOF
11604 rm -f conftest.$ac_objext
11605 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11606 (eval $ac_compile) 2>conftest.er1
11607 ac_status=$?
11608 grep -v '^ *+' conftest.er1 >conftest.err
11609 rm -f conftest.er1
11610 cat conftest.err >&5
11611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11612 (exit $ac_status); } &&
11613 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11615 (eval $ac_try) 2>&5
11616 ac_status=$?
11617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11618 (exit $ac_status); }; } &&
11619 { ac_try='test -s conftest.$ac_objext'
11620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11621 (eval $ac_try) 2>&5
11622 ac_status=$?
11623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11624 (exit $ac_status); }; }; then
11625 :
11626 else
11627 echo "$as_me: failed program was:" >&5
11628 sed 's/^/| /' conftest.$ac_ext >&5
11629
11630 continue
11631 fi
11632 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11633 cat >conftest.$ac_ext <<_ACEOF
11634 /* confdefs.h. */
11635 _ACEOF
11636 cat confdefs.h >>conftest.$ac_ext
11637 cat >>conftest.$ac_ext <<_ACEOF
11638 /* end confdefs.h. */
11639 $ac_declaration
11640 int
11641 main ()
11642 {
11643 exit (42);
11644 ;
11645 return 0;
11646 }
11647 _ACEOF
11648 rm -f conftest.$ac_objext
11649 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11650 (eval $ac_compile) 2>conftest.er1
11651 ac_status=$?
11652 grep -v '^ *+' conftest.er1 >conftest.err
11653 rm -f conftest.er1
11654 cat conftest.err >&5
11655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11656 (exit $ac_status); } &&
11657 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11659 (eval $ac_try) 2>&5
11660 ac_status=$?
11661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11662 (exit $ac_status); }; } &&
11663 { ac_try='test -s conftest.$ac_objext'
11664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11665 (eval $ac_try) 2>&5
11666 ac_status=$?
11667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11668 (exit $ac_status); }; }; then
11669 break
11670 else
11671 echo "$as_me: failed program was:" >&5
11672 sed 's/^/| /' conftest.$ac_ext >&5
11673
11674 fi
11675 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11676 done
11677 rm -f conftest*
11678 if test -n "$ac_declaration"; then
11679 echo '#ifdef __cplusplus' >>confdefs.h
11680 echo $ac_declaration >>confdefs.h
11681 echo '#endif' >>confdefs.h
11682 fi
11683
11684 else
11685 echo "$as_me: failed program was:" >&5
11686 sed 's/^/| /' conftest.$ac_ext >&5
11687
11688 fi
11689 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11690 ac_ext=c
11691 ac_cpp='$CPP $CPPFLAGS'
11692 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11693 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11694 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11695
11696
11697
11698 ac_ext=c
11699 ac_cpp='$CPP $CPPFLAGS'
11700 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11701 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11702 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11703
11704 echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
11705 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6
11706 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
11707 echo $ECHO_N "(cached) $ECHO_C" >&6
11708 else
11709 cat >conftest.$ac_ext <<_ACEOF
11710 /* confdefs.h. */
11711 _ACEOF
11712 cat confdefs.h >>conftest.$ac_ext
11713 cat >>conftest.$ac_ext <<_ACEOF
11714 /* end confdefs.h. */
11715
11716 int
11717 main ()
11718 {
11719
11720 #ifndef __INTEL_COMPILER
11721 choke me
11722 #endif
11723
11724 ;
11725 return 0;
11726 }
11727 _ACEOF
11728 rm -f conftest.$ac_objext
11729 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11730 (eval $ac_compile) 2>conftest.er1
11731 ac_status=$?
11732 grep -v '^ *+' conftest.er1 >conftest.err
11733 rm -f conftest.er1
11734 cat conftest.err >&5
11735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11736 (exit $ac_status); } &&
11737 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11739 (eval $ac_try) 2>&5
11740 ac_status=$?
11741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11742 (exit $ac_status); }; } &&
11743 { ac_try='test -s conftest.$ac_objext'
11744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11745 (eval $ac_try) 2>&5
11746 ac_status=$?
11747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11748 (exit $ac_status); }; }; then
11749 bakefile_cv_c_compiler___INTEL_COMPILER=yes
11750 else
11751 echo "$as_me: failed program was:" >&5
11752 sed 's/^/| /' conftest.$ac_ext >&5
11753
11754 bakefile_cv_c_compiler___INTEL_COMPILER=no
11755
11756 fi
11757 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11758
11759
11760 fi
11761 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
11762 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6
11763 ac_ext=c
11764 ac_cpp='$CPP $CPPFLAGS'
11765 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11766 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11767 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11768
11769 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
11770 :; INTELCC=yes
11771 else
11772 :;
11773 fi
11774
11775
11776 if test "x$GCC" != "xyes"; then
11777 if test "xCC" = "xC"; then
11778 echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
11779 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6
11780 if test "${wx_cv_c_exto+set}" = set; then
11781 echo $ECHO_N "(cached) $ECHO_C" >&6
11782 else
11783 cat >conftest.$ac_ext <<_ACEOF
11784 /* confdefs.h. */
11785 _ACEOF
11786 cat confdefs.h >>conftest.$ac_ext
11787 cat >>conftest.$ac_ext <<_ACEOF
11788 /* end confdefs.h. */
11789
11790 int
11791 main ()
11792 {
11793
11794 ;
11795 return 0;
11796 }
11797 _ACEOF
11798 rm -f conftest.$ac_objext conftest.$ac_ext.o
11799 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11800 (eval $ac_compile) 2>&5
11801 ac_status=$?
11802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11803 (exit $ac_status); }; then
11804 for ac_file in `(ls conftest.* 2>/dev/null)`; do
11805 case $ac_file in
11806 conftest.$ac_ext.o)
11807 wx_cv_c_exto="-ext o"
11808 ;;
11809 *)
11810 ;;
11811 esac
11812 done
11813 else
11814 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
11815 See \`config.log' for more details." >&5
11816 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
11817 See \`config.log' for more details." >&2;}
11818 { (exit 1); exit 1; }; }
11819
11820 fi
11821
11822 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
11823
11824 fi
11825 echo "$as_me:$LINENO: result: $wx_cv_c_exto" >&5
11826 echo "${ECHO_T}$wx_cv_c_exto" >&6
11827 if test "x$wx_cv_c_exto" '!=' "x"; then
11828 if test "c" = "c"; then
11829 CFLAGS="$wx_cv_c_exto $CFLAGS"
11830 fi
11831 if test "c" = "cxx"; then
11832 CXXFLAGS="$wx_cv_c_exto $CXXFLAGS"
11833 fi
11834 fi
11835
11836 if test "x$wx_cv_c_exto" '!=' "x"; then
11837 unset ac_cv_prog_cc_g
11838 ac_test_CFLAGS=${CFLAGS+set}
11839 ac_save_CFLAGS=$CFLAGS
11840 CFLAGS="-g"
11841 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
11842 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
11843 if test "${ac_cv_prog_cc_g+set}" = set; then
11844 echo $ECHO_N "(cached) $ECHO_C" >&6
11845 else
11846 cat >conftest.$ac_ext <<_ACEOF
11847 /* confdefs.h. */
11848 _ACEOF
11849 cat confdefs.h >>conftest.$ac_ext
11850 cat >>conftest.$ac_ext <<_ACEOF
11851 /* end confdefs.h. */
11852
11853 int
11854 main ()
11855 {
11856
11857 ;
11858 return 0;
11859 }
11860 _ACEOF
11861 rm -f conftest.$ac_objext
11862 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11863 (eval $ac_compile) 2>conftest.er1
11864 ac_status=$?
11865 grep -v '^ *+' conftest.er1 >conftest.err
11866 rm -f conftest.er1
11867 cat conftest.err >&5
11868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11869 (exit $ac_status); } &&
11870 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11872 (eval $ac_try) 2>&5
11873 ac_status=$?
11874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11875 (exit $ac_status); }; } &&
11876 { ac_try='test -s conftest.$ac_objext'
11877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11878 (eval $ac_try) 2>&5
11879 ac_status=$?
11880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11881 (exit $ac_status); }; }; then
11882 ac_cv_prog_cc_g=yes
11883 else
11884 echo "$as_me: failed program was:" >&5
11885 sed 's/^/| /' conftest.$ac_ext >&5
11886
11887 ac_cv_prog_cc_g=no
11888 fi
11889 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11890 fi
11891 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
11892 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
11893 if test "$ac_test_CFLAGS" = set; then
11894 CFLAGS=$ac_save_CFLAGS
11895 elif test $ac_cv_prog_cc_g = yes; then
11896 if test "$GCC" = yes; then
11897 CFLAGS="-g -O2"
11898 else
11899 CFLAGS="-g"
11900 fi
11901 else
11902 if test "$GCC" = yes; then
11903 CFLAGS="-O2"
11904 else
11905 CFLAGS=
11906 fi
11907 fi
11908 fi
11909 fi
11910
11911 case `uname -s` in
11912 AIX*)
11913 ac_ext=c
11914 ac_cpp='$CPP $CPPFLAGS'
11915 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11916 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11917 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11918
11919 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
11920 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6
11921 if test "${wx_cv_c_compiler_xlc+set}" = set; then
11922 echo $ECHO_N "(cached) $ECHO_C" >&6
11923 else
11924 cat >conftest.$ac_ext <<_ACEOF
11925 /* confdefs.h. */
11926 _ACEOF
11927 cat confdefs.h >>conftest.$ac_ext
11928 cat >>conftest.$ac_ext <<_ACEOF
11929 /* end confdefs.h. */
11930
11931 int
11932 main ()
11933 {
11934 #ifndef __xlC__
11935 choke me
11936 #endif
11937
11938 ;
11939 return 0;
11940 }
11941 _ACEOF
11942 rm -f conftest.$ac_objext
11943 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11944 (eval $ac_compile) 2>conftest.er1
11945 ac_status=$?
11946 grep -v '^ *+' conftest.er1 >conftest.err
11947 rm -f conftest.er1
11948 cat conftest.err >&5
11949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11950 (exit $ac_status); } &&
11951 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11953 (eval $ac_try) 2>&5
11954 ac_status=$?
11955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11956 (exit $ac_status); }; } &&
11957 { ac_try='test -s conftest.$ac_objext'
11958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11959 (eval $ac_try) 2>&5
11960 ac_status=$?
11961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11962 (exit $ac_status); }; }; then
11963 wx_compiler_xlc=yes
11964 else
11965 echo "$as_me: failed program was:" >&5
11966 sed 's/^/| /' conftest.$ac_ext >&5
11967
11968 wx_compiler_xlc=no
11969 fi
11970 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11971 wx_cv_c_compiler_xlc=$wx_compiler_xlc
11972
11973 fi
11974 echo "$as_me:$LINENO: result: $wx_cv_c_compiler_xlc" >&5
11975 echo "${ECHO_T}$wx_cv_c_compiler_xlc" >&6
11976
11977 XLCC=`test $wx_cv_c_compiler_xlc = yes && echo yes`
11978 ac_ext=c
11979 ac_cpp='$CPP $CPPFLAGS'
11980 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11981 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11982 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11983
11984
11985 ;;
11986
11987 Darwin)
11988 ac_ext=c
11989 ac_cpp='$CPP $CPPFLAGS'
11990 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11991 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11992 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11993
11994 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
11995 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6
11996 if test "${bakefile_cv_c_compiler_mwerks+set}" = set; then
11997 echo $ECHO_N "(cached) $ECHO_C" >&6
11998 else
11999 cat >conftest.$ac_ext <<_ACEOF
12000 /* confdefs.h. */
12001 _ACEOF
12002 cat confdefs.h >>conftest.$ac_ext
12003 cat >>conftest.$ac_ext <<_ACEOF
12004 /* end confdefs.h. */
12005
12006 int
12007 main ()
12008 {
12009 #ifndef __MWERKS__
12010 choke me
12011 #endif
12012
12013 ;
12014 return 0;
12015 }
12016 _ACEOF
12017 rm -f conftest.$ac_objext
12018 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12019 (eval $ac_compile) 2>conftest.er1
12020 ac_status=$?
12021 grep -v '^ *+' conftest.er1 >conftest.err
12022 rm -f conftest.er1
12023 cat conftest.err >&5
12024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12025 (exit $ac_status); } &&
12026 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12028 (eval $ac_try) 2>&5
12029 ac_status=$?
12030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12031 (exit $ac_status); }; } &&
12032 { ac_try='test -s conftest.$ac_objext'
12033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12034 (eval $ac_try) 2>&5
12035 ac_status=$?
12036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12037 (exit $ac_status); }; }; then
12038 bakefile_compiler_mwerks=yes
12039 else
12040 echo "$as_me: failed program was:" >&5
12041 sed 's/^/| /' conftest.$ac_ext >&5
12042
12043 bakefile_compiler_mwerks=no
12044 fi
12045 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12046 bakefile_cv_c_compiler_mwerks=$bakefile_compiler_mwerks
12047
12048 fi
12049 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_mwerks" >&5
12050 echo "${ECHO_T}$bakefile_cv_c_compiler_mwerks" >&6
12051
12052 MWCC=`test $bakefile_cv_c_compiler_mwerks = yes && echo yes`
12053 ac_ext=c
12054 ac_cpp='$CPP $CPPFLAGS'
12055 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12056 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12057 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12058
12059
12060 ac_ext=c
12061 ac_cpp='$CPP $CPPFLAGS'
12062 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12063 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12064 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12065
12066 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
12067 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6
12068 if test "${wx_cv_c_compiler_xlc+set}" = set; then
12069 echo $ECHO_N "(cached) $ECHO_C" >&6
12070 else
12071 cat >conftest.$ac_ext <<_ACEOF
12072 /* confdefs.h. */
12073 _ACEOF
12074 cat confdefs.h >>conftest.$ac_ext
12075 cat >>conftest.$ac_ext <<_ACEOF
12076 /* end confdefs.h. */
12077
12078 int
12079 main ()
12080 {
12081 #ifndef __xlC__
12082 choke me
12083 #endif
12084
12085 ;
12086 return 0;
12087 }
12088 _ACEOF
12089 rm -f conftest.$ac_objext
12090 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12091 (eval $ac_compile) 2>conftest.er1
12092 ac_status=$?
12093 grep -v '^ *+' conftest.er1 >conftest.err
12094 rm -f conftest.er1
12095 cat conftest.err >&5
12096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12097 (exit $ac_status); } &&
12098 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12100 (eval $ac_try) 2>&5
12101 ac_status=$?
12102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12103 (exit $ac_status); }; } &&
12104 { ac_try='test -s conftest.$ac_objext'
12105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12106 (eval $ac_try) 2>&5
12107 ac_status=$?
12108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12109 (exit $ac_status); }; }; then
12110 wx_compiler_xlc=yes
12111 else
12112 echo "$as_me: failed program was:" >&5
12113 sed 's/^/| /' conftest.$ac_ext >&5
12114
12115 wx_compiler_xlc=no
12116 fi
12117 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12118 wx_cv_c_compiler_xlc=$wx_compiler_xlc
12119
12120 fi
12121 echo "$as_me:$LINENO: result: $wx_cv_c_compiler_xlc" >&5
12122 echo "${ECHO_T}$wx_cv_c_compiler_xlc" >&6
12123
12124 XLCC=`test $wx_cv_c_compiler_xlc = yes && echo yes`
12125 ac_ext=c
12126 ac_cpp='$CPP $CPPFLAGS'
12127 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12128 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12129 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12130
12131
12132 ;;
12133
12134 IRIX*)
12135
12136
12137 ac_ext=c
12138 ac_cpp='$CPP $CPPFLAGS'
12139 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12140 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12141 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12142
12143 echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
12144 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6
12145 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
12146 echo $ECHO_N "(cached) $ECHO_C" >&6
12147 else
12148 cat >conftest.$ac_ext <<_ACEOF
12149 /* confdefs.h. */
12150 _ACEOF
12151 cat confdefs.h >>conftest.$ac_ext
12152 cat >>conftest.$ac_ext <<_ACEOF
12153 /* end confdefs.h. */
12154
12155 int
12156 main ()
12157 {
12158
12159 #ifndef _SGI_COMPILER_VERSION
12160 choke me
12161 #endif
12162
12163 ;
12164 return 0;
12165 }
12166 _ACEOF
12167 rm -f conftest.$ac_objext
12168 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12169 (eval $ac_compile) 2>conftest.er1
12170 ac_status=$?
12171 grep -v '^ *+' conftest.er1 >conftest.err
12172 rm -f conftest.er1
12173 cat conftest.err >&5
12174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12175 (exit $ac_status); } &&
12176 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12178 (eval $ac_try) 2>&5
12179 ac_status=$?
12180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12181 (exit $ac_status); }; } &&
12182 { ac_try='test -s conftest.$ac_objext'
12183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12184 (eval $ac_try) 2>&5
12185 ac_status=$?
12186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12187 (exit $ac_status); }; }; then
12188 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
12189 else
12190 echo "$as_me: failed program was:" >&5
12191 sed 's/^/| /' conftest.$ac_ext >&5
12192
12193 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
12194
12195 fi
12196 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12197
12198
12199 fi
12200 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
12201 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6
12202 ac_ext=c
12203 ac_cpp='$CPP $CPPFLAGS'
12204 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12205 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12206 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12207
12208 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
12209 :; SGICC=yes
12210 else
12211 :;
12212 fi
12213
12214
12215 ;;
12216
12217 SunOS)
12218
12219
12220 ac_ext=c
12221 ac_cpp='$CPP $CPPFLAGS'
12222 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12223 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12224 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12225
12226 echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
12227 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6
12228 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
12229 echo $ECHO_N "(cached) $ECHO_C" >&6
12230 else
12231 cat >conftest.$ac_ext <<_ACEOF
12232 /* confdefs.h. */
12233 _ACEOF
12234 cat confdefs.h >>conftest.$ac_ext
12235 cat >>conftest.$ac_ext <<_ACEOF
12236 /* end confdefs.h. */
12237
12238 int
12239 main ()
12240 {
12241
12242 #ifndef __SUNPRO_C
12243 choke me
12244 #endif
12245
12246 ;
12247 return 0;
12248 }
12249 _ACEOF
12250 rm -f conftest.$ac_objext
12251 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12252 (eval $ac_compile) 2>conftest.er1
12253 ac_status=$?
12254 grep -v '^ *+' conftest.er1 >conftest.err
12255 rm -f conftest.er1
12256 cat conftest.err >&5
12257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12258 (exit $ac_status); } &&
12259 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12261 (eval $ac_try) 2>&5
12262 ac_status=$?
12263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12264 (exit $ac_status); }; } &&
12265 { ac_try='test -s conftest.$ac_objext'
12266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12267 (eval $ac_try) 2>&5
12268 ac_status=$?
12269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12270 (exit $ac_status); }; }; then
12271 bakefile_cv_c_compiler___SUNPRO_C=yes
12272 else
12273 echo "$as_me: failed program was:" >&5
12274 sed 's/^/| /' conftest.$ac_ext >&5
12275
12276 bakefile_cv_c_compiler___SUNPRO_C=no
12277
12278 fi
12279 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12280
12281
12282 fi
12283 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
12284 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6
12285 ac_ext=c
12286 ac_cpp='$CPP $CPPFLAGS'
12287 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12288 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12289 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12290
12291 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
12292 :; SUNCC=yes
12293 else
12294 :;
12295 fi
12296
12297
12298 ;;
12299
12300 HP-UX*)
12301
12302
12303 ac_ext=c
12304 ac_cpp='$CPP $CPPFLAGS'
12305 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12306 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12307 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12308
12309 echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
12310 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6
12311 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
12312 echo $ECHO_N "(cached) $ECHO_C" >&6
12313 else
12314 cat >conftest.$ac_ext <<_ACEOF
12315 /* confdefs.h. */
12316 _ACEOF
12317 cat confdefs.h >>conftest.$ac_ext
12318 cat >>conftest.$ac_ext <<_ACEOF
12319 /* end confdefs.h. */
12320
12321 int
12322 main ()
12323 {
12324
12325 #ifndef __HP_cc
12326 choke me
12327 #endif
12328
12329 ;
12330 return 0;
12331 }
12332 _ACEOF
12333 rm -f conftest.$ac_objext
12334 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12335 (eval $ac_compile) 2>conftest.er1
12336 ac_status=$?
12337 grep -v '^ *+' conftest.er1 >conftest.err
12338 rm -f conftest.er1
12339 cat conftest.err >&5
12340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12341 (exit $ac_status); } &&
12342 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12344 (eval $ac_try) 2>&5
12345 ac_status=$?
12346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12347 (exit $ac_status); }; } &&
12348 { ac_try='test -s conftest.$ac_objext'
12349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12350 (eval $ac_try) 2>&5
12351 ac_status=$?
12352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12353 (exit $ac_status); }; }; then
12354 bakefile_cv_c_compiler___HP_cc=yes
12355 else
12356 echo "$as_me: failed program was:" >&5
12357 sed 's/^/| /' conftest.$ac_ext >&5
12358
12359 bakefile_cv_c_compiler___HP_cc=no
12360
12361 fi
12362 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12363
12364
12365 fi
12366 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
12367 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6
12368 ac_ext=c
12369 ac_cpp='$CPP $CPPFLAGS'
12370 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12371 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12372 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12373
12374 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
12375 :; HPCC=yes
12376 else
12377 :;
12378 fi
12379
12380
12381 ;;
12382 esac
12383 fi
12384
12385
12386
12387 ac_ext=c
12388 ac_cpp='$CPP $CPPFLAGS'
12389 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12390 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12391 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12392 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
12393 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
12394 # On Suns, sometimes $CPP names a directory.
12395 if test -n "$CPP" && test -d "$CPP"; then
12396 CPP=
12397 fi
12398 if test -z "$CPP"; then
12399 if test "${ac_cv_prog_CPP+set}" = set; then
12400 echo $ECHO_N "(cached) $ECHO_C" >&6
12401 else
12402 # Double quotes because CPP needs to be expanded
12403 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
12404 do
12405 ac_preproc_ok=false
12406 for ac_c_preproc_warn_flag in '' yes
12407 do
12408 # Use a header file that comes with gcc, so configuring glibc
12409 # with a fresh cross-compiler works.
12410 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12411 # <limits.h> exists even on freestanding compilers.
12412 # On the NeXT, cc -E runs the code through the compiler's parser,
12413 # not just through cpp. "Syntax error" is here to catch this case.
12414 cat >conftest.$ac_ext <<_ACEOF
12415 /* confdefs.h. */
12416 _ACEOF
12417 cat confdefs.h >>conftest.$ac_ext
12418 cat >>conftest.$ac_ext <<_ACEOF
12419 /* end confdefs.h. */
12420 #ifdef __STDC__
12421 # include <limits.h>
12422 #else
12423 # include <assert.h>
12424 #endif
12425 Syntax error
12426 _ACEOF
12427 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12428 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12429 ac_status=$?
12430 grep -v '^ *+' conftest.er1 >conftest.err
12431 rm -f conftest.er1
12432 cat conftest.err >&5
12433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12434 (exit $ac_status); } >/dev/null; then
12435 if test -s conftest.err; then
12436 ac_cpp_err=$ac_c_preproc_warn_flag
12437 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
12438 else
12439 ac_cpp_err=
12440 fi
12441 else
12442 ac_cpp_err=yes
12443 fi
12444 if test -z "$ac_cpp_err"; then
12445 :
12446 else
12447 echo "$as_me: failed program was:" >&5
12448 sed 's/^/| /' conftest.$ac_ext >&5
12449
12450 # Broken: fails on valid input.
12451 continue
12452 fi
12453 rm -f conftest.err conftest.$ac_ext
12454
12455 # OK, works on sane cases. Now check whether non-existent headers
12456 # can be detected and how.
12457 cat >conftest.$ac_ext <<_ACEOF
12458 /* confdefs.h. */
12459 _ACEOF
12460 cat confdefs.h >>conftest.$ac_ext
12461 cat >>conftest.$ac_ext <<_ACEOF
12462 /* end confdefs.h. */
12463 #include <ac_nonexistent.h>
12464 _ACEOF
12465 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12466 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12467 ac_status=$?
12468 grep -v '^ *+' conftest.er1 >conftest.err
12469 rm -f conftest.er1
12470 cat conftest.err >&5
12471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12472 (exit $ac_status); } >/dev/null; then
12473 if test -s conftest.err; then
12474 ac_cpp_err=$ac_c_preproc_warn_flag
12475 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
12476 else
12477 ac_cpp_err=
12478 fi
12479 else
12480 ac_cpp_err=yes
12481 fi
12482 if test -z "$ac_cpp_err"; then
12483 # Broken: success on invalid input.
12484 continue
12485 else
12486 echo "$as_me: failed program was:" >&5
12487 sed 's/^/| /' conftest.$ac_ext >&5
12488
12489 # Passes both tests.
12490 ac_preproc_ok=:
12491 break
12492 fi
12493 rm -f conftest.err conftest.$ac_ext
12494
12495 done
12496 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12497 rm -f conftest.err conftest.$ac_ext
12498 if $ac_preproc_ok; then
12499 break
12500 fi
12501
12502 done
12503 ac_cv_prog_CPP=$CPP
12504
12505 fi
12506 CPP=$ac_cv_prog_CPP
12507 else
12508 ac_cv_prog_CPP=$CPP
12509 fi
12510 echo "$as_me:$LINENO: result: $CPP" >&5
12511 echo "${ECHO_T}$CPP" >&6
12512 ac_preproc_ok=false
12513 for ac_c_preproc_warn_flag in '' yes
12514 do
12515 # Use a header file that comes with gcc, so configuring glibc
12516 # with a fresh cross-compiler works.
12517 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12518 # <limits.h> exists even on freestanding compilers.
12519 # On the NeXT, cc -E runs the code through the compiler's parser,
12520 # not just through cpp. "Syntax error" is here to catch this case.
12521 cat >conftest.$ac_ext <<_ACEOF
12522 /* confdefs.h. */
12523 _ACEOF
12524 cat confdefs.h >>conftest.$ac_ext
12525 cat >>conftest.$ac_ext <<_ACEOF
12526 /* end confdefs.h. */
12527 #ifdef __STDC__
12528 # include <limits.h>
12529 #else
12530 # include <assert.h>
12531 #endif
12532 Syntax error
12533 _ACEOF
12534 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12535 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12536 ac_status=$?
12537 grep -v '^ *+' conftest.er1 >conftest.err
12538 rm -f conftest.er1
12539 cat conftest.err >&5
12540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12541 (exit $ac_status); } >/dev/null; then
12542 if test -s conftest.err; then
12543 ac_cpp_err=$ac_c_preproc_warn_flag
12544 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
12545 else
12546 ac_cpp_err=
12547 fi
12548 else
12549 ac_cpp_err=yes
12550 fi
12551 if test -z "$ac_cpp_err"; then
12552 :
12553 else
12554 echo "$as_me: failed program was:" >&5
12555 sed 's/^/| /' conftest.$ac_ext >&5
12556
12557 # Broken: fails on valid input.
12558 continue
12559 fi
12560 rm -f conftest.err conftest.$ac_ext
12561
12562 # OK, works on sane cases. Now check whether non-existent headers
12563 # can be detected and how.
12564 cat >conftest.$ac_ext <<_ACEOF
12565 /* confdefs.h. */
12566 _ACEOF
12567 cat confdefs.h >>conftest.$ac_ext
12568 cat >>conftest.$ac_ext <<_ACEOF
12569 /* end confdefs.h. */
12570 #include <ac_nonexistent.h>
12571 _ACEOF
12572 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12573 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12574 ac_status=$?
12575 grep -v '^ *+' conftest.er1 >conftest.err
12576 rm -f conftest.er1
12577 cat conftest.err >&5
12578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12579 (exit $ac_status); } >/dev/null; then
12580 if test -s conftest.err; then
12581 ac_cpp_err=$ac_c_preproc_warn_flag
12582 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
12583 else
12584 ac_cpp_err=
12585 fi
12586 else
12587 ac_cpp_err=yes
12588 fi
12589 if test -z "$ac_cpp_err"; then
12590 # Broken: success on invalid input.
12591 continue
12592 else
12593 echo "$as_me: failed program was:" >&5
12594 sed 's/^/| /' conftest.$ac_ext >&5
12595
12596 # Passes both tests.
12597 ac_preproc_ok=:
12598 break
12599 fi
12600 rm -f conftest.err conftest.$ac_ext
12601
12602 done
12603 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12604 rm -f conftest.err conftest.$ac_ext
12605 if $ac_preproc_ok; then
12606 :
12607 else
12608 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
12609 See \`config.log' for more details." >&5
12610 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
12611 See \`config.log' for more details." >&2;}
12612 { (exit 1); exit 1; }; }
12613 fi
12614
12615 ac_ext=c
12616 ac_cpp='$CPP $CPPFLAGS'
12617 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12618 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12619 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12620
12621
12622 echo "$as_me:$LINENO: checking for egrep" >&5
12623 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
12624 if test "${ac_cv_prog_egrep+set}" = set; then
12625 echo $ECHO_N "(cached) $ECHO_C" >&6
12626 else
12627 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
12628 then ac_cv_prog_egrep='grep -E'
12629 else ac_cv_prog_egrep='egrep'
12630 fi
12631 fi
12632 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
12633 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
12634 EGREP=$ac_cv_prog_egrep
12635
12636
12637 if test $ac_cv_c_compiler_gnu = yes; then
12638 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
12639 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
12640 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
12641 echo $ECHO_N "(cached) $ECHO_C" >&6
12642 else
12643 ac_pattern="Autoconf.*'x'"
12644 cat >conftest.$ac_ext <<_ACEOF
12645 /* confdefs.h. */
12646 _ACEOF
12647 cat confdefs.h >>conftest.$ac_ext
12648 cat >>conftest.$ac_ext <<_ACEOF
12649 /* end confdefs.h. */
12650 #include <sgtty.h>
12651 Autoconf TIOCGETP
12652 _ACEOF
12653 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12654 $EGREP "$ac_pattern" >/dev/null 2>&1; then
12655 ac_cv_prog_gcc_traditional=yes
12656 else
12657 ac_cv_prog_gcc_traditional=no
12658 fi
12659 rm -f conftest*
12660
12661
12662 if test $ac_cv_prog_gcc_traditional = no; then
12663 cat >conftest.$ac_ext <<_ACEOF
12664 /* confdefs.h. */
12665 _ACEOF
12666 cat confdefs.h >>conftest.$ac_ext
12667 cat >>conftest.$ac_ext <<_ACEOF
12668 /* end confdefs.h. */
12669 #include <termio.h>
12670 Autoconf TCGETA
12671 _ACEOF
12672 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12673 $EGREP "$ac_pattern" >/dev/null 2>&1; then
12674 ac_cv_prog_gcc_traditional=yes
12675 fi
12676 rm -f conftest*
12677
12678 fi
12679 fi
12680 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
12681 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
12682 if test $ac_cv_prog_gcc_traditional = yes; then
12683 CC="$CC -traditional"
12684 fi
12685 fi
12686
12687
12688
12689
12690 ac_ext=cc
12691 ac_cpp='$CXXCPP $CPPFLAGS'
12692 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12693 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12694 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12695
12696
12697 CXXFLAGS=${CXXFLAGS:=}
12698
12699
12700
12701 ac_ext=cc
12702 ac_cpp='$CXXCPP $CPPFLAGS'
12703 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12704 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12705 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12706 if test -n "$ac_tool_prefix"; then
12707 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
12708 do
12709 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12710 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
12711 echo "$as_me:$LINENO: checking for $ac_word" >&5
12712 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12713 if test "${ac_cv_prog_CXX+set}" = set; then
12714 echo $ECHO_N "(cached) $ECHO_C" >&6
12715 else
12716 if test -n "$CXX"; then
12717 ac_cv_prog_CXX="$CXX" # Let the user override the test.
12718 else
12719 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12720 for as_dir in $PATH
12721 do
12722 IFS=$as_save_IFS
12723 test -z "$as_dir" && as_dir=.
12724 for ac_exec_ext in '' $ac_executable_extensions; do
12725 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12726 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
12727 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12728 break 2
12729 fi
12730 done
12731 done
12732
12733 fi
12734 fi
12735 CXX=$ac_cv_prog_CXX
12736 if test -n "$CXX"; then
12737 echo "$as_me:$LINENO: result: $CXX" >&5
12738 echo "${ECHO_T}$CXX" >&6
12739 else
12740 echo "$as_me:$LINENO: result: no" >&5
12741 echo "${ECHO_T}no" >&6
12742 fi
12743
12744 test -n "$CXX" && break
12745 done
12746 fi
12747 if test -z "$CXX"; then
12748 ac_ct_CXX=$CXX
12749 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
12750 do
12751 # Extract the first word of "$ac_prog", so it can be a program name with args.
12752 set dummy $ac_prog; ac_word=$2
12753 echo "$as_me:$LINENO: checking for $ac_word" >&5
12754 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12755 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
12756 echo $ECHO_N "(cached) $ECHO_C" >&6
12757 else
12758 if test -n "$ac_ct_CXX"; then
12759 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
12760 else
12761 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12762 for as_dir in $PATH
12763 do
12764 IFS=$as_save_IFS
12765 test -z "$as_dir" && as_dir=.
12766 for ac_exec_ext in '' $ac_executable_extensions; do
12767 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12768 ac_cv_prog_ac_ct_CXX="$ac_prog"
12769 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12770 break 2
12771 fi
12772 done
12773 done
12774
12775 fi
12776 fi
12777 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
12778 if test -n "$ac_ct_CXX"; then
12779 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
12780 echo "${ECHO_T}$ac_ct_CXX" >&6
12781 else
12782 echo "$as_me:$LINENO: result: no" >&5
12783 echo "${ECHO_T}no" >&6
12784 fi
12785
12786 test -n "$ac_ct_CXX" && break
12787 done
12788 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
12789
12790 CXX=$ac_ct_CXX
12791 fi
12792
12793
12794 # Provide some information about the compiler.
12795 echo "$as_me:$LINENO:" \
12796 "checking for C++ compiler version" >&5
12797 ac_compiler=`set X $ac_compile; echo $2`
12798 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
12799 (eval $ac_compiler --version </dev/null >&5) 2>&5
12800 ac_status=$?
12801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12802 (exit $ac_status); }
12803 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
12804 (eval $ac_compiler -v </dev/null >&5) 2>&5
12805 ac_status=$?
12806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12807 (exit $ac_status); }
12808 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
12809 (eval $ac_compiler -V </dev/null >&5) 2>&5
12810 ac_status=$?
12811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12812 (exit $ac_status); }
12813
12814 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
12815 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
12816 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
12817 echo $ECHO_N "(cached) $ECHO_C" >&6
12818 else
12819 cat >conftest.$ac_ext <<_ACEOF
12820 /* confdefs.h. */
12821 _ACEOF
12822 cat confdefs.h >>conftest.$ac_ext
12823 cat >>conftest.$ac_ext <<_ACEOF
12824 /* end confdefs.h. */
12825
12826 int
12827 main ()
12828 {
12829 #ifndef __GNUC__
12830 choke me
12831 #endif
12832
12833 ;
12834 return 0;
12835 }
12836 _ACEOF
12837 rm -f conftest.$ac_objext
12838 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12839 (eval $ac_compile) 2>conftest.er1
12840 ac_status=$?
12841 grep -v '^ *+' conftest.er1 >conftest.err
12842 rm -f conftest.er1
12843 cat conftest.err >&5
12844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12845 (exit $ac_status); } &&
12846 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12848 (eval $ac_try) 2>&5
12849 ac_status=$?
12850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12851 (exit $ac_status); }; } &&
12852 { ac_try='test -s conftest.$ac_objext'
12853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12854 (eval $ac_try) 2>&5
12855 ac_status=$?
12856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12857 (exit $ac_status); }; }; then
12858 ac_compiler_gnu=yes
12859 else
12860 echo "$as_me: failed program was:" >&5
12861 sed 's/^/| /' conftest.$ac_ext >&5
12862
12863 ac_compiler_gnu=no
12864 fi
12865 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12866 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
12867
12868 fi
12869 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
12870 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
12871 GXX=`test $ac_compiler_gnu = yes && echo yes`
12872 ac_test_CXXFLAGS=${CXXFLAGS+set}
12873 ac_save_CXXFLAGS=$CXXFLAGS
12874 CXXFLAGS="-g"
12875 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
12876 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
12877 if test "${ac_cv_prog_cxx_g+set}" = set; then
12878 echo $ECHO_N "(cached) $ECHO_C" >&6
12879 else
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
12887 int
12888 main ()
12889 {
12890
12891 ;
12892 return 0;
12893 }
12894 _ACEOF
12895 rm -f conftest.$ac_objext
12896 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12897 (eval $ac_compile) 2>conftest.er1
12898 ac_status=$?
12899 grep -v '^ *+' conftest.er1 >conftest.err
12900 rm -f conftest.er1
12901 cat conftest.err >&5
12902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12903 (exit $ac_status); } &&
12904 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12906 (eval $ac_try) 2>&5
12907 ac_status=$?
12908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12909 (exit $ac_status); }; } &&
12910 { ac_try='test -s conftest.$ac_objext'
12911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12912 (eval $ac_try) 2>&5
12913 ac_status=$?
12914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12915 (exit $ac_status); }; }; then
12916 ac_cv_prog_cxx_g=yes
12917 else
12918 echo "$as_me: failed program was:" >&5
12919 sed 's/^/| /' conftest.$ac_ext >&5
12920
12921 ac_cv_prog_cxx_g=no
12922 fi
12923 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12924 fi
12925 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
12926 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
12927 if test "$ac_test_CXXFLAGS" = set; then
12928 CXXFLAGS=$ac_save_CXXFLAGS
12929 elif test $ac_cv_prog_cxx_g = yes; then
12930 if test "$GXX" = yes; then
12931 CXXFLAGS="-g -O2"
12932 else
12933 CXXFLAGS="-g"
12934 fi
12935 else
12936 if test "$GXX" = yes; then
12937 CXXFLAGS="-O2"
12938 else
12939 CXXFLAGS=
12940 fi
12941 fi
12942 for ac_declaration in \
12943 '' \
12944 'extern "C" void std::exit (int) throw (); using std::exit;' \
12945 'extern "C" void std::exit (int); using std::exit;' \
12946 'extern "C" void exit (int) throw ();' \
12947 'extern "C" void exit (int);' \
12948 'void exit (int);'
12949 do
12950 cat >conftest.$ac_ext <<_ACEOF
12951 /* confdefs.h. */
12952 _ACEOF
12953 cat confdefs.h >>conftest.$ac_ext
12954 cat >>conftest.$ac_ext <<_ACEOF
12955 /* end confdefs.h. */
12956 $ac_declaration
12957 #include <stdlib.h>
12958 int
12959 main ()
12960 {
12961 exit (42);
12962 ;
12963 return 0;
12964 }
12965 _ACEOF
12966 rm -f conftest.$ac_objext
12967 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12968 (eval $ac_compile) 2>conftest.er1
12969 ac_status=$?
12970 grep -v '^ *+' conftest.er1 >conftest.err
12971 rm -f conftest.er1
12972 cat conftest.err >&5
12973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12974 (exit $ac_status); } &&
12975 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12977 (eval $ac_try) 2>&5
12978 ac_status=$?
12979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12980 (exit $ac_status); }; } &&
12981 { ac_try='test -s conftest.$ac_objext'
12982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12983 (eval $ac_try) 2>&5
12984 ac_status=$?
12985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12986 (exit $ac_status); }; }; then
12987 :
12988 else
12989 echo "$as_me: failed program was:" >&5
12990 sed 's/^/| /' conftest.$ac_ext >&5
12991
12992 continue
12993 fi
12994 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12995 cat >conftest.$ac_ext <<_ACEOF
12996 /* confdefs.h. */
12997 _ACEOF
12998 cat confdefs.h >>conftest.$ac_ext
12999 cat >>conftest.$ac_ext <<_ACEOF
13000 /* end confdefs.h. */
13001 $ac_declaration
13002 int
13003 main ()
13004 {
13005 exit (42);
13006 ;
13007 return 0;
13008 }
13009 _ACEOF
13010 rm -f conftest.$ac_objext
13011 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13012 (eval $ac_compile) 2>conftest.er1
13013 ac_status=$?
13014 grep -v '^ *+' conftest.er1 >conftest.err
13015 rm -f conftest.er1
13016 cat conftest.err >&5
13017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13018 (exit $ac_status); } &&
13019 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13021 (eval $ac_try) 2>&5
13022 ac_status=$?
13023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13024 (exit $ac_status); }; } &&
13025 { ac_try='test -s conftest.$ac_objext'
13026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13027 (eval $ac_try) 2>&5
13028 ac_status=$?
13029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13030 (exit $ac_status); }; }; then
13031 break
13032 else
13033 echo "$as_me: failed program was:" >&5
13034 sed 's/^/| /' conftest.$ac_ext >&5
13035
13036 fi
13037 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13038 done
13039 rm -f conftest*
13040 if test -n "$ac_declaration"; then
13041 echo '#ifdef __cplusplus' >>confdefs.h
13042 echo $ac_declaration >>confdefs.h
13043 echo '#endif' >>confdefs.h
13044 fi
13045
13046 ac_ext=cc
13047 ac_cpp='$CXXCPP $CPPFLAGS'
13048 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13049 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13050 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13051
13052
13053
13054 ac_ext=cc
13055 ac_cpp='$CXXCPP $CPPFLAGS'
13056 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13057 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13058 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13059
13060 echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
13061 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6
13062 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
13063 echo $ECHO_N "(cached) $ECHO_C" >&6
13064 else
13065 cat >conftest.$ac_ext <<_ACEOF
13066 /* confdefs.h. */
13067 _ACEOF
13068 cat confdefs.h >>conftest.$ac_ext
13069 cat >>conftest.$ac_ext <<_ACEOF
13070 /* end confdefs.h. */
13071
13072 int
13073 main ()
13074 {
13075
13076 #ifndef __INTEL_COMPILER
13077 choke me
13078 #endif
13079
13080 ;
13081 return 0;
13082 }
13083 _ACEOF
13084 rm -f conftest.$ac_objext
13085 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13086 (eval $ac_compile) 2>conftest.er1
13087 ac_status=$?
13088 grep -v '^ *+' conftest.er1 >conftest.err
13089 rm -f conftest.er1
13090 cat conftest.err >&5
13091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13092 (exit $ac_status); } &&
13093 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13095 (eval $ac_try) 2>&5
13096 ac_status=$?
13097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13098 (exit $ac_status); }; } &&
13099 { ac_try='test -s conftest.$ac_objext'
13100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13101 (eval $ac_try) 2>&5
13102 ac_status=$?
13103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13104 (exit $ac_status); }; }; then
13105 bakefile_cv_cxx_compiler___INTEL_COMPILER=yes
13106 else
13107 echo "$as_me: failed program was:" >&5
13108 sed 's/^/| /' conftest.$ac_ext >&5
13109
13110 bakefile_cv_cxx_compiler___INTEL_COMPILER=no
13111
13112 fi
13113 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13114
13115
13116 fi
13117 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
13118 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6
13119 ac_ext=cc
13120 ac_cpp='$CXXCPP $CPPFLAGS'
13121 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13122 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13123 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13124
13125 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
13126 :; INTELCXX=yes
13127 else
13128 :;
13129 fi
13130
13131
13132 if test "x$GCXX" != "xyes"; then
13133 if test "xCXX" = "xC"; then
13134 echo "$as_me:$LINENO: checking if the C++ compiler requires -ext o" >&5
13135 echo $ECHO_N "checking if the C++ compiler requires -ext o... $ECHO_C" >&6
13136 if test "${wx_cv_cxx_exto+set}" = set; then
13137 echo $ECHO_N "(cached) $ECHO_C" >&6
13138 else
13139 cat >conftest.$ac_ext <<_ACEOF
13140 /* confdefs.h. */
13141 _ACEOF
13142 cat confdefs.h >>conftest.$ac_ext
13143 cat >>conftest.$ac_ext <<_ACEOF
13144 /* end confdefs.h. */
13145
13146 int
13147 main ()
13148 {
13149
13150 ;
13151 return 0;
13152 }
13153 _ACEOF
13154 rm -f conftest.$ac_objext conftest.$ac_ext.o
13155 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13156 (eval $ac_compile) 2>&5
13157 ac_status=$?
13158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13159 (exit $ac_status); }; then
13160 for ac_file in `(ls conftest.* 2>/dev/null)`; do
13161 case $ac_file in
13162 conftest.$ac_ext.o)
13163 wx_cv_cxx_exto="-ext o"
13164 ;;
13165 *)
13166 ;;
13167 esac
13168 done
13169 else
13170 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
13171 See \`config.log' for more details." >&5
13172 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
13173 See \`config.log' for more details." >&2;}
13174 { (exit 1); exit 1; }; }
13175
13176 fi
13177
13178 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
13179
13180 fi
13181 echo "$as_me:$LINENO: result: $wx_cv_cxx_exto" >&5
13182 echo "${ECHO_T}$wx_cv_cxx_exto" >&6
13183 if test "x$wx_cv_cxx_exto" '!=' "x"; then
13184 if test "cxx" = "c"; then
13185 CFLAGS="$wx_cv_cxx_exto $CFLAGS"
13186 fi
13187 if test "cxx" = "cxx"; then
13188 CXXFLAGS="$wx_cv_cxx_exto $CXXFLAGS"
13189 fi
13190 fi
13191
13192 if test "x$wx_cv_c_exto" '!=' "x"; then
13193 unset ac_cv_prog_cc_g
13194 ac_test_CFLAGS=${CFLAGS+set}
13195 ac_save_CFLAGS=$CFLAGS
13196 CFLAGS="-g"
13197 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
13198 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
13199 if test "${ac_cv_prog_cc_g+set}" = set; then
13200 echo $ECHO_N "(cached) $ECHO_C" >&6
13201 else
13202 cat >conftest.$ac_ext <<_ACEOF
13203 /* confdefs.h. */
13204 _ACEOF
13205 cat confdefs.h >>conftest.$ac_ext
13206 cat >>conftest.$ac_ext <<_ACEOF
13207 /* end confdefs.h. */
13208
13209 int
13210 main ()
13211 {
13212
13213 ;
13214 return 0;
13215 }
13216 _ACEOF
13217 rm -f conftest.$ac_objext
13218 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13219 (eval $ac_compile) 2>conftest.er1
13220 ac_status=$?
13221 grep -v '^ *+' conftest.er1 >conftest.err
13222 rm -f conftest.er1
13223 cat conftest.err >&5
13224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13225 (exit $ac_status); } &&
13226 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13228 (eval $ac_try) 2>&5
13229 ac_status=$?
13230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13231 (exit $ac_status); }; } &&
13232 { ac_try='test -s conftest.$ac_objext'
13233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13234 (eval $ac_try) 2>&5
13235 ac_status=$?
13236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13237 (exit $ac_status); }; }; then
13238 ac_cv_prog_cc_g=yes
13239 else
13240 echo "$as_me: failed program was:" >&5
13241 sed 's/^/| /' conftest.$ac_ext >&5
13242
13243 ac_cv_prog_cc_g=no
13244 fi
13245 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13246 fi
13247 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
13248 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
13249 if test "$ac_test_CFLAGS" = set; then
13250 CFLAGS=$ac_save_CFLAGS
13251 elif test $ac_cv_prog_cc_g = yes; then
13252 if test "$GCC" = yes; then
13253 CFLAGS="-g -O2"
13254 else
13255 CFLAGS="-g"
13256 fi
13257 else
13258 if test "$GCC" = yes; then
13259 CFLAGS="-O2"
13260 else
13261 CFLAGS=
13262 fi
13263 fi
13264 fi
13265 fi
13266
13267 case `uname -s` in
13268 AIX*)
13269 ac_ext=cc
13270 ac_cpp='$CXXCPP $CPPFLAGS'
13271 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13272 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13273 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13274
13275 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
13276 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6
13277 if test "${wx_cv_cxx_compiler_xlc+set}" = set; then
13278 echo $ECHO_N "(cached) $ECHO_C" >&6
13279 else
13280 cat >conftest.$ac_ext <<_ACEOF
13281 /* confdefs.h. */
13282 _ACEOF
13283 cat confdefs.h >>conftest.$ac_ext
13284 cat >>conftest.$ac_ext <<_ACEOF
13285 /* end confdefs.h. */
13286
13287 int
13288 main ()
13289 {
13290 #ifndef __xlC__
13291 choke me
13292 #endif
13293
13294 ;
13295 return 0;
13296 }
13297 _ACEOF
13298 rm -f conftest.$ac_objext
13299 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13300 (eval $ac_compile) 2>conftest.er1
13301 ac_status=$?
13302 grep -v '^ *+' conftest.er1 >conftest.err
13303 rm -f conftest.er1
13304 cat conftest.err >&5
13305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13306 (exit $ac_status); } &&
13307 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13309 (eval $ac_try) 2>&5
13310 ac_status=$?
13311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13312 (exit $ac_status); }; } &&
13313 { ac_try='test -s conftest.$ac_objext'
13314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13315 (eval $ac_try) 2>&5
13316 ac_status=$?
13317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13318 (exit $ac_status); }; }; then
13319 wx_compiler_xlc=yes
13320 else
13321 echo "$as_me: failed program was:" >&5
13322 sed 's/^/| /' conftest.$ac_ext >&5
13323
13324 wx_compiler_xlc=no
13325 fi
13326 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13327 wx_cv_cxx_compiler_xlc=$wx_compiler_xlc
13328
13329 fi
13330 echo "$as_me:$LINENO: result: $wx_cv_cxx_compiler_xlc" >&5
13331 echo "${ECHO_T}$wx_cv_cxx_compiler_xlc" >&6
13332
13333 XLCXX=`test $wx_cv_cxx_compiler_xlc = yes && echo yes`
13334 ac_ext=cc
13335 ac_cpp='$CXXCPP $CPPFLAGS'
13336 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13337 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13338 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13339
13340
13341 ;;
13342
13343 Darwin)
13344 ac_ext=cc
13345 ac_cpp='$CXXCPP $CPPFLAGS'
13346 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13347 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13348 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13349
13350 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
13351 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6
13352 if test "${bakefile_cv_cxx_compiler_mwerks+set}" = set; then
13353 echo $ECHO_N "(cached) $ECHO_C" >&6
13354 else
13355 cat >conftest.$ac_ext <<_ACEOF
13356 /* confdefs.h. */
13357 _ACEOF
13358 cat confdefs.h >>conftest.$ac_ext
13359 cat >>conftest.$ac_ext <<_ACEOF
13360 /* end confdefs.h. */
13361
13362 int
13363 main ()
13364 {
13365 #ifndef __MWERKS__
13366 choke me
13367 #endif
13368
13369 ;
13370 return 0;
13371 }
13372 _ACEOF
13373 rm -f conftest.$ac_objext
13374 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13375 (eval $ac_compile) 2>conftest.er1
13376 ac_status=$?
13377 grep -v '^ *+' conftest.er1 >conftest.err
13378 rm -f conftest.er1
13379 cat conftest.err >&5
13380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13381 (exit $ac_status); } &&
13382 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13384 (eval $ac_try) 2>&5
13385 ac_status=$?
13386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13387 (exit $ac_status); }; } &&
13388 { ac_try='test -s conftest.$ac_objext'
13389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13390 (eval $ac_try) 2>&5
13391 ac_status=$?
13392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13393 (exit $ac_status); }; }; then
13394 bakefile_compiler_mwerks=yes
13395 else
13396 echo "$as_me: failed program was:" >&5
13397 sed 's/^/| /' conftest.$ac_ext >&5
13398
13399 bakefile_compiler_mwerks=no
13400 fi
13401 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13402 bakefile_cv_cxx_compiler_mwerks=$bakefile_compiler_mwerks
13403
13404 fi
13405 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_mwerks" >&5
13406 echo "${ECHO_T}$bakefile_cv_cxx_compiler_mwerks" >&6
13407
13408 MWCXX=`test $bakefile_cv_cxx_compiler_mwerks = yes && echo yes`
13409 ac_ext=cc
13410 ac_cpp='$CXXCPP $CPPFLAGS'
13411 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13412 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13413 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13414
13415
13416 ac_ext=cc
13417 ac_cpp='$CXXCPP $CPPFLAGS'
13418 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13419 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13420 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13421
13422 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
13423 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6
13424 if test "${wx_cv_cxx_compiler_xlc+set}" = set; then
13425 echo $ECHO_N "(cached) $ECHO_C" >&6
13426 else
13427 cat >conftest.$ac_ext <<_ACEOF
13428 /* confdefs.h. */
13429 _ACEOF
13430 cat confdefs.h >>conftest.$ac_ext
13431 cat >>conftest.$ac_ext <<_ACEOF
13432 /* end confdefs.h. */
13433
13434 int
13435 main ()
13436 {
13437 #ifndef __xlC__
13438 choke me
13439 #endif
13440
13441 ;
13442 return 0;
13443 }
13444 _ACEOF
13445 rm -f conftest.$ac_objext
13446 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13447 (eval $ac_compile) 2>conftest.er1
13448 ac_status=$?
13449 grep -v '^ *+' conftest.er1 >conftest.err
13450 rm -f conftest.er1
13451 cat conftest.err >&5
13452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13453 (exit $ac_status); } &&
13454 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13456 (eval $ac_try) 2>&5
13457 ac_status=$?
13458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13459 (exit $ac_status); }; } &&
13460 { ac_try='test -s conftest.$ac_objext'
13461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13462 (eval $ac_try) 2>&5
13463 ac_status=$?
13464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13465 (exit $ac_status); }; }; then
13466 wx_compiler_xlc=yes
13467 else
13468 echo "$as_me: failed program was:" >&5
13469 sed 's/^/| /' conftest.$ac_ext >&5
13470
13471 wx_compiler_xlc=no
13472 fi
13473 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13474 wx_cv_cxx_compiler_xlc=$wx_compiler_xlc
13475
13476 fi
13477 echo "$as_me:$LINENO: result: $wx_cv_cxx_compiler_xlc" >&5
13478 echo "${ECHO_T}$wx_cv_cxx_compiler_xlc" >&6
13479
13480 XLCXX=`test $wx_cv_cxx_compiler_xlc = yes && echo yes`
13481 ac_ext=cc
13482 ac_cpp='$CXXCPP $CPPFLAGS'
13483 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13484 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13485 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13486
13487
13488 ;;
13489
13490 IRIX*)
13491
13492
13493 ac_ext=cc
13494 ac_cpp='$CXXCPP $CPPFLAGS'
13495 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13496 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13497 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13498
13499 echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
13500 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6
13501 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
13502 echo $ECHO_N "(cached) $ECHO_C" >&6
13503 else
13504 cat >conftest.$ac_ext <<_ACEOF
13505 /* confdefs.h. */
13506 _ACEOF
13507 cat confdefs.h >>conftest.$ac_ext
13508 cat >>conftest.$ac_ext <<_ACEOF
13509 /* end confdefs.h. */
13510
13511 int
13512 main ()
13513 {
13514
13515 #ifndef _SGI_COMPILER_VERSION
13516 choke me
13517 #endif
13518
13519 ;
13520 return 0;
13521 }
13522 _ACEOF
13523 rm -f conftest.$ac_objext
13524 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13525 (eval $ac_compile) 2>conftest.er1
13526 ac_status=$?
13527 grep -v '^ *+' conftest.er1 >conftest.err
13528 rm -f conftest.er1
13529 cat conftest.err >&5
13530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13531 (exit $ac_status); } &&
13532 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13534 (eval $ac_try) 2>&5
13535 ac_status=$?
13536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13537 (exit $ac_status); }; } &&
13538 { ac_try='test -s conftest.$ac_objext'
13539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13540 (eval $ac_try) 2>&5
13541 ac_status=$?
13542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13543 (exit $ac_status); }; }; then
13544 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
13545 else
13546 echo "$as_me: failed program was:" >&5
13547 sed 's/^/| /' conftest.$ac_ext >&5
13548
13549 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
13550
13551 fi
13552 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13553
13554
13555 fi
13556 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
13557 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6
13558 ac_ext=cc
13559 ac_cpp='$CXXCPP $CPPFLAGS'
13560 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13561 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13562 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13563
13564 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
13565 :; SGICXX=yes
13566 else
13567 :;
13568 fi
13569
13570
13571 ;;
13572
13573 SunOS)
13574
13575
13576 ac_ext=cc
13577 ac_cpp='$CXXCPP $CPPFLAGS'
13578 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13579 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13580 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13581
13582 echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
13583 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6
13584 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
13585 echo $ECHO_N "(cached) $ECHO_C" >&6
13586 else
13587 cat >conftest.$ac_ext <<_ACEOF
13588 /* confdefs.h. */
13589 _ACEOF
13590 cat confdefs.h >>conftest.$ac_ext
13591 cat >>conftest.$ac_ext <<_ACEOF
13592 /* end confdefs.h. */
13593
13594 int
13595 main ()
13596 {
13597
13598 #ifndef __SUNPRO_CC
13599 choke me
13600 #endif
13601
13602 ;
13603 return 0;
13604 }
13605 _ACEOF
13606 rm -f conftest.$ac_objext
13607 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13608 (eval $ac_compile) 2>conftest.er1
13609 ac_status=$?
13610 grep -v '^ *+' conftest.er1 >conftest.err
13611 rm -f conftest.er1
13612 cat conftest.err >&5
13613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13614 (exit $ac_status); } &&
13615 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13617 (eval $ac_try) 2>&5
13618 ac_status=$?
13619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13620 (exit $ac_status); }; } &&
13621 { ac_try='test -s conftest.$ac_objext'
13622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13623 (eval $ac_try) 2>&5
13624 ac_status=$?
13625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13626 (exit $ac_status); }; }; then
13627 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
13628 else
13629 echo "$as_me: failed program was:" >&5
13630 sed 's/^/| /' conftest.$ac_ext >&5
13631
13632 bakefile_cv_cxx_compiler___SUNPRO_CC=no
13633
13634 fi
13635 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13636
13637
13638 fi
13639 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
13640 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6
13641 ac_ext=cc
13642 ac_cpp='$CXXCPP $CPPFLAGS'
13643 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13644 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13645 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13646
13647 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
13648 :; SUNCXX=yes
13649 else
13650 :;
13651 fi
13652
13653
13654 ;;
13655
13656 HP-UX*)
13657
13658
13659 ac_ext=cc
13660 ac_cpp='$CXXCPP $CPPFLAGS'
13661 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13662 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13663 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13664
13665 echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
13666 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6
13667 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
13668 echo $ECHO_N "(cached) $ECHO_C" >&6
13669 else
13670 cat >conftest.$ac_ext <<_ACEOF
13671 /* confdefs.h. */
13672 _ACEOF
13673 cat confdefs.h >>conftest.$ac_ext
13674 cat >>conftest.$ac_ext <<_ACEOF
13675 /* end confdefs.h. */
13676
13677 int
13678 main ()
13679 {
13680
13681 #ifndef __HP_aCC
13682 choke me
13683 #endif
13684
13685 ;
13686 return 0;
13687 }
13688 _ACEOF
13689 rm -f conftest.$ac_objext
13690 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13691 (eval $ac_compile) 2>conftest.er1
13692 ac_status=$?
13693 grep -v '^ *+' conftest.er1 >conftest.err
13694 rm -f conftest.er1
13695 cat conftest.err >&5
13696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13697 (exit $ac_status); } &&
13698 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13700 (eval $ac_try) 2>&5
13701 ac_status=$?
13702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13703 (exit $ac_status); }; } &&
13704 { ac_try='test -s conftest.$ac_objext'
13705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13706 (eval $ac_try) 2>&5
13707 ac_status=$?
13708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13709 (exit $ac_status); }; }; then
13710 bakefile_cv_cxx_compiler___HP_aCC=yes
13711 else
13712 echo "$as_me: failed program was:" >&5
13713 sed 's/^/| /' conftest.$ac_ext >&5
13714
13715 bakefile_cv_cxx_compiler___HP_aCC=no
13716
13717 fi
13718 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13719
13720
13721 fi
13722 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
13723 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6
13724 ac_ext=cc
13725 ac_cpp='$CXXCPP $CPPFLAGS'
13726 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13727 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13728 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13729
13730 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
13731 :; HPCXX=yes
13732 else
13733 :;
13734 fi
13735
13736
13737 ;;
13738 esac
13739 fi
13740
13741
13742
13743 ac_ext=c
13744 ac_cpp='$CPP $CPPFLAGS'
13745 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13746 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13747 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13748
13749
13750 if test -n "$ac_tool_prefix"; then
13751 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
13752 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
13753 echo "$as_me:$LINENO: checking for $ac_word" >&5
13754 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13755 if test "${ac_cv_prog_RANLIB+set}" = set; then
13756 echo $ECHO_N "(cached) $ECHO_C" >&6
13757 else
13758 if test -n "$RANLIB"; then
13759 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
13760 else
13761 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13762 for as_dir in $PATH
13763 do
13764 IFS=$as_save_IFS
13765 test -z "$as_dir" && as_dir=.
13766 for ac_exec_ext in '' $ac_executable_extensions; do
13767 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13768 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
13769 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13770 break 2
13771 fi
13772 done
13773 done
13774
13775 fi
13776 fi
13777 RANLIB=$ac_cv_prog_RANLIB
13778 if test -n "$RANLIB"; then
13779 echo "$as_me:$LINENO: result: $RANLIB" >&5
13780 echo "${ECHO_T}$RANLIB" >&6
13781 else
13782 echo "$as_me:$LINENO: result: no" >&5
13783 echo "${ECHO_T}no" >&6
13784 fi
13785
13786 fi
13787 if test -z "$ac_cv_prog_RANLIB"; then
13788 ac_ct_RANLIB=$RANLIB
13789 # Extract the first word of "ranlib", so it can be a program name with args.
13790 set dummy ranlib; ac_word=$2
13791 echo "$as_me:$LINENO: checking for $ac_word" >&5
13792 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13793 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
13794 echo $ECHO_N "(cached) $ECHO_C" >&6
13795 else
13796 if test -n "$ac_ct_RANLIB"; then
13797 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
13798 else
13799 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13800 for as_dir in $PATH
13801 do
13802 IFS=$as_save_IFS
13803 test -z "$as_dir" && as_dir=.
13804 for ac_exec_ext in '' $ac_executable_extensions; do
13805 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13806 ac_cv_prog_ac_ct_RANLIB="ranlib"
13807 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13808 break 2
13809 fi
13810 done
13811 done
13812
13813 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
13814 fi
13815 fi
13816 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
13817 if test -n "$ac_ct_RANLIB"; then
13818 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
13819 echo "${ECHO_T}$ac_ct_RANLIB" >&6
13820 else
13821 echo "$as_me:$LINENO: result: no" >&5
13822 echo "${ECHO_T}no" >&6
13823 fi
13824
13825 RANLIB=$ac_ct_RANLIB
13826 else
13827 RANLIB="$ac_cv_prog_RANLIB"
13828 fi
13829
13830
13831 if test -n "$ac_tool_prefix"; then
13832 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
13833 set dummy ${ac_tool_prefix}ar; ac_word=$2
13834 echo "$as_me:$LINENO: checking for $ac_word" >&5
13835 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13836 if test "${ac_cv_prog_AR+set}" = set; then
13837 echo $ECHO_N "(cached) $ECHO_C" >&6
13838 else
13839 if test -n "$AR"; then
13840 ac_cv_prog_AR="$AR" # Let the user override the test.
13841 else
13842 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13843 for as_dir in $PATH
13844 do
13845 IFS=$as_save_IFS
13846 test -z "$as_dir" && as_dir=.
13847 for ac_exec_ext in '' $ac_executable_extensions; do
13848 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13849 ac_cv_prog_AR="${ac_tool_prefix}ar"
13850 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13851 break 2
13852 fi
13853 done
13854 done
13855
13856 fi
13857 fi
13858 AR=$ac_cv_prog_AR
13859 if test -n "$AR"; then
13860 echo "$as_me:$LINENO: result: $AR" >&5
13861 echo "${ECHO_T}$AR" >&6
13862 else
13863 echo "$as_me:$LINENO: result: no" >&5
13864 echo "${ECHO_T}no" >&6
13865 fi
13866
13867 fi
13868 if test -z "$ac_cv_prog_AR"; then
13869 ac_ct_AR=$AR
13870 # Extract the first word of "ar", so it can be a program name with args.
13871 set dummy ar; ac_word=$2
13872 echo "$as_me:$LINENO: checking for $ac_word" >&5
13873 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13874 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
13875 echo $ECHO_N "(cached) $ECHO_C" >&6
13876 else
13877 if test -n "$ac_ct_AR"; then
13878 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
13879 else
13880 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13881 for as_dir in $PATH
13882 do
13883 IFS=$as_save_IFS
13884 test -z "$as_dir" && as_dir=.
13885 for ac_exec_ext in '' $ac_executable_extensions; do
13886 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13887 ac_cv_prog_ac_ct_AR="ar"
13888 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13889 break 2
13890 fi
13891 done
13892 done
13893
13894 fi
13895 fi
13896 ac_ct_AR=$ac_cv_prog_ac_ct_AR
13897 if test -n "$ac_ct_AR"; then
13898 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
13899 echo "${ECHO_T}$ac_ct_AR" >&6
13900 else
13901 echo "$as_me:$LINENO: result: no" >&5
13902 echo "${ECHO_T}no" >&6
13903 fi
13904
13905 AR=$ac_ct_AR
13906 else
13907 AR="$ac_cv_prog_AR"
13908 fi
13909
13910 if test "x$AR" = "x" ; then
13911 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
13912 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
13913 { (exit 1); exit 1; }; }
13914 fi
13915
13916 # Find a good install program. We prefer a C program (faster),
13917 # so one script is as good as another. But avoid the broken or
13918 # incompatible versions:
13919 # SysV /etc/install, /usr/sbin/install
13920 # SunOS /usr/etc/install
13921 # IRIX /sbin/install
13922 # AIX /bin/install
13923 # AmigaOS /C/install, which installs bootblocks on floppy discs
13924 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
13925 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
13926 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
13927 # OS/2's system install, which has a completely different semantic
13928 # ./install, which can be erroneously created by make from ./install.sh.
13929 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
13930 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
13931 if test -z "$INSTALL"; then
13932 if test "${ac_cv_path_install+set}" = set; then
13933 echo $ECHO_N "(cached) $ECHO_C" >&6
13934 else
13935 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13936 for as_dir in $PATH
13937 do
13938 IFS=$as_save_IFS
13939 test -z "$as_dir" && as_dir=.
13940 # Account for people who put trailing slashes in PATH elements.
13941 case $as_dir/ in
13942 ./ | .// | /cC/* | \
13943 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
13944 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
13945 /usr/ucb/* ) ;;
13946 *)
13947 # OSF1 and SCO ODT 3.0 have their own names for install.
13948 # Don't use installbsd from OSF since it installs stuff as root
13949 # by default.
13950 for ac_prog in ginstall scoinst install; do
13951 for ac_exec_ext in '' $ac_executable_extensions; do
13952 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
13953 if test $ac_prog = install &&
13954 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
13955 # AIX install. It has an incompatible calling convention.
13956 :
13957 elif test $ac_prog = install &&
13958 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
13959 # program-specific install script used by HP pwplus--don't use.
13960 :
13961 else
13962 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
13963 break 3
13964 fi
13965 fi
13966 done
13967 done
13968 ;;
13969 esac
13970 done
13971
13972
13973 fi
13974 if test "${ac_cv_path_install+set}" = set; then
13975 INSTALL=$ac_cv_path_install
13976 else
13977 # As a last resort, use the slow shell script. We don't cache a
13978 # path for INSTALL within a source directory, because that will
13979 # break other packages using the cache if that directory is
13980 # removed, or if the path is relative.
13981 INSTALL=$ac_install_sh
13982 fi
13983 fi
13984 echo "$as_me:$LINENO: result: $INSTALL" >&5
13985 echo "${ECHO_T}$INSTALL" >&6
13986
13987 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
13988 # It thinks the first close brace ends the variable substitution.
13989 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
13990
13991 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
13992
13993 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
13994
13995
13996 case ${INSTALL} in
13997 /* ) # Absolute
13998 ;;
13999 ?:* ) # Drive letter, considered as absolute.
14000 ;;
14001 *)
14002 INSTALL=`pwd`/${INSTALL} ;;
14003 esac
14004
14005
14006 case "${host}" in
14007
14008 *-*-darwin* )
14009 INSTALL_PROGRAM="cp -fp"
14010 INSTALL_DATA="cp -fp"
14011 ;;
14012 *)
14013 ;;
14014 esac
14015
14016 if test -n "$ac_tool_prefix"; then
14017 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
14018 set dummy ${ac_tool_prefix}strip; ac_word=$2
14019 echo "$as_me:$LINENO: checking for $ac_word" >&5
14020 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14021 if test "${ac_cv_prog_STRIP+set}" = set; then
14022 echo $ECHO_N "(cached) $ECHO_C" >&6
14023 else
14024 if test -n "$STRIP"; then
14025 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
14026 else
14027 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14028 for as_dir in $PATH
14029 do
14030 IFS=$as_save_IFS
14031 test -z "$as_dir" && as_dir=.
14032 for ac_exec_ext in '' $ac_executable_extensions; do
14033 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14034 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
14035 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14036 break 2
14037 fi
14038 done
14039 done
14040
14041 fi
14042 fi
14043 STRIP=$ac_cv_prog_STRIP
14044 if test -n "$STRIP"; then
14045 echo "$as_me:$LINENO: result: $STRIP" >&5
14046 echo "${ECHO_T}$STRIP" >&6
14047 else
14048 echo "$as_me:$LINENO: result: no" >&5
14049 echo "${ECHO_T}no" >&6
14050 fi
14051
14052 fi
14053 if test -z "$ac_cv_prog_STRIP"; then
14054 ac_ct_STRIP=$STRIP
14055 # Extract the first word of "strip", so it can be a program name with args.
14056 set dummy strip; ac_word=$2
14057 echo "$as_me:$LINENO: checking for $ac_word" >&5
14058 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14059 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
14060 echo $ECHO_N "(cached) $ECHO_C" >&6
14061 else
14062 if test -n "$ac_ct_STRIP"; then
14063 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
14064 else
14065 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14066 for as_dir in $PATH
14067 do
14068 IFS=$as_save_IFS
14069 test -z "$as_dir" && as_dir=.
14070 for ac_exec_ext in '' $ac_executable_extensions; do
14071 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14072 ac_cv_prog_ac_ct_STRIP="strip"
14073 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14074 break 2
14075 fi
14076 done
14077 done
14078
14079 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP="true"
14080 fi
14081 fi
14082 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
14083 if test -n "$ac_ct_STRIP"; then
14084 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
14085 echo "${ECHO_T}$ac_ct_STRIP" >&6
14086 else
14087 echo "$as_me:$LINENO: result: no" >&5
14088 echo "${ECHO_T}no" >&6
14089 fi
14090
14091 STRIP=$ac_ct_STRIP
14092 else
14093 STRIP="$ac_cv_prog_STRIP"
14094 fi
14095
14096
14097 if test "$wxUSE_WINE" = "yes"; then
14098 if test -n "$ac_tool_prefix"; then
14099 # Extract the first word of "${ac_tool_prefix}wrc", so it can be a program name with args.
14100 set dummy ${ac_tool_prefix}wrc; ac_word=$2
14101 echo "$as_me:$LINENO: checking for $ac_word" >&5
14102 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14103 if test "${ac_cv_prog_RESCOMP+set}" = set; then
14104 echo $ECHO_N "(cached) $ECHO_C" >&6
14105 else
14106 if test -n "$RESCOMP"; then
14107 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
14108 else
14109 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14110 for as_dir in $PATH
14111 do
14112 IFS=$as_save_IFS
14113 test -z "$as_dir" && as_dir=.
14114 for ac_exec_ext in '' $ac_executable_extensions; do
14115 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14116 ac_cv_prog_RESCOMP="${ac_tool_prefix}wrc"
14117 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14118 break 2
14119 fi
14120 done
14121 done
14122
14123 fi
14124 fi
14125 RESCOMP=$ac_cv_prog_RESCOMP
14126 if test -n "$RESCOMP"; then
14127 echo "$as_me:$LINENO: result: $RESCOMP" >&5
14128 echo "${ECHO_T}$RESCOMP" >&6
14129 else
14130 echo "$as_me:$LINENO: result: no" >&5
14131 echo "${ECHO_T}no" >&6
14132 fi
14133
14134 fi
14135 if test -z "$ac_cv_prog_RESCOMP"; then
14136 ac_ct_RESCOMP=$RESCOMP
14137 # Extract the first word of "wrc", so it can be a program name with args.
14138 set dummy wrc; ac_word=$2
14139 echo "$as_me:$LINENO: checking for $ac_word" >&5
14140 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14141 if test "${ac_cv_prog_ac_ct_RESCOMP+set}" = set; then
14142 echo $ECHO_N "(cached) $ECHO_C" >&6
14143 else
14144 if test -n "$ac_ct_RESCOMP"; then
14145 ac_cv_prog_ac_ct_RESCOMP="$ac_ct_RESCOMP" # Let the user override the test.
14146 else
14147 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14148 for as_dir in $PATH
14149 do
14150 IFS=$as_save_IFS
14151 test -z "$as_dir" && as_dir=.
14152 for ac_exec_ext in '' $ac_executable_extensions; do
14153 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14154 ac_cv_prog_ac_ct_RESCOMP="wrc"
14155 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14156 break 2
14157 fi
14158 done
14159 done
14160
14161 fi
14162 fi
14163 ac_ct_RESCOMP=$ac_cv_prog_ac_ct_RESCOMP
14164 if test -n "$ac_ct_RESCOMP"; then
14165 echo "$as_me:$LINENO: result: $ac_ct_RESCOMP" >&5
14166 echo "${ECHO_T}$ac_ct_RESCOMP" >&6
14167 else
14168 echo "$as_me:$LINENO: result: no" >&5
14169 echo "${ECHO_T}no" >&6
14170 fi
14171
14172 RESCOMP=$ac_ct_RESCOMP
14173 else
14174 RESCOMP="$ac_cv_prog_RESCOMP"
14175 fi
14176
14177 else
14178 case "${host}" in
14179 *-*-cygwin* | *-*-mingw32* )
14180 if test -n "$ac_tool_prefix"; then
14181 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
14182 set dummy ${ac_tool_prefix}windres; ac_word=$2
14183 echo "$as_me:$LINENO: checking for $ac_word" >&5
14184 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14185 if test "${ac_cv_prog_RESCOMP+set}" = set; then
14186 echo $ECHO_N "(cached) $ECHO_C" >&6
14187 else
14188 if test -n "$RESCOMP"; then
14189 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
14190 else
14191 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14192 for as_dir in $PATH
14193 do
14194 IFS=$as_save_IFS
14195 test -z "$as_dir" && as_dir=.
14196 for ac_exec_ext in '' $ac_executable_extensions; do
14197 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14198 ac_cv_prog_RESCOMP="${ac_tool_prefix}windres"
14199 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14200 break 2
14201 fi
14202 done
14203 done
14204
14205 fi
14206 fi
14207 RESCOMP=$ac_cv_prog_RESCOMP
14208 if test -n "$RESCOMP"; then
14209 echo "$as_me:$LINENO: result: $RESCOMP" >&5
14210 echo "${ECHO_T}$RESCOMP" >&6
14211 else
14212 echo "$as_me:$LINENO: result: no" >&5
14213 echo "${ECHO_T}no" >&6
14214 fi
14215
14216 fi
14217 if test -z "$ac_cv_prog_RESCOMP"; then
14218 ac_ct_RESCOMP=$RESCOMP
14219 # Extract the first word of "windres", so it can be a program name with args.
14220 set dummy windres; ac_word=$2
14221 echo "$as_me:$LINENO: checking for $ac_word" >&5
14222 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14223 if test "${ac_cv_prog_ac_ct_RESCOMP+set}" = set; then
14224 echo $ECHO_N "(cached) $ECHO_C" >&6
14225 else
14226 if test -n "$ac_ct_RESCOMP"; then
14227 ac_cv_prog_ac_ct_RESCOMP="$ac_ct_RESCOMP" # Let the user override the test.
14228 else
14229 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14230 for as_dir in $PATH
14231 do
14232 IFS=$as_save_IFS
14233 test -z "$as_dir" && as_dir=.
14234 for ac_exec_ext in '' $ac_executable_extensions; do
14235 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14236 ac_cv_prog_ac_ct_RESCOMP="windres"
14237 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14238 break 2
14239 fi
14240 done
14241 done
14242
14243 fi
14244 fi
14245 ac_ct_RESCOMP=$ac_cv_prog_ac_ct_RESCOMP
14246 if test -n "$ac_ct_RESCOMP"; then
14247 echo "$as_me:$LINENO: result: $ac_ct_RESCOMP" >&5
14248 echo "${ECHO_T}$ac_ct_RESCOMP" >&6
14249 else
14250 echo "$as_me:$LINENO: result: no" >&5
14251 echo "${ECHO_T}no" >&6
14252 fi
14253
14254 RESCOMP=$ac_ct_RESCOMP
14255 else
14256 RESCOMP="$ac_cv_prog_RESCOMP"
14257 fi
14258
14259 if test -n "$ac_tool_prefix"; then
14260 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
14261 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
14262 echo "$as_me:$LINENO: checking for $ac_word" >&5
14263 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14264 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
14265 echo $ECHO_N "(cached) $ECHO_C" >&6
14266 else
14267 if test -n "$DLLTOOL"; then
14268 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
14269 else
14270 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14271 for as_dir in $PATH
14272 do
14273 IFS=$as_save_IFS
14274 test -z "$as_dir" && as_dir=.
14275 for ac_exec_ext in '' $ac_executable_extensions; do
14276 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14277 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
14278 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14279 break 2
14280 fi
14281 done
14282 done
14283
14284 fi
14285 fi
14286 DLLTOOL=$ac_cv_prog_DLLTOOL
14287 if test -n "$DLLTOOL"; then
14288 echo "$as_me:$LINENO: result: $DLLTOOL" >&5
14289 echo "${ECHO_T}$DLLTOOL" >&6
14290 else
14291 echo "$as_me:$LINENO: result: no" >&5
14292 echo "${ECHO_T}no" >&6
14293 fi
14294
14295 fi
14296 if test -z "$ac_cv_prog_DLLTOOL"; then
14297 ac_ct_DLLTOOL=$DLLTOOL
14298 # Extract the first word of "dlltool", so it can be a program name with args.
14299 set dummy dlltool; ac_word=$2
14300 echo "$as_me:$LINENO: checking for $ac_word" >&5
14301 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14302 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
14303 echo $ECHO_N "(cached) $ECHO_C" >&6
14304 else
14305 if test -n "$ac_ct_DLLTOOL"; then
14306 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
14307 else
14308 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14309 for as_dir in $PATH
14310 do
14311 IFS=$as_save_IFS
14312 test -z "$as_dir" && as_dir=.
14313 for ac_exec_ext in '' $ac_executable_extensions; do
14314 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14315 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
14316 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14317 break 2
14318 fi
14319 done
14320 done
14321
14322 fi
14323 fi
14324 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
14325 if test -n "$ac_ct_DLLTOOL"; then
14326 echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
14327 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6
14328 else
14329 echo "$as_me:$LINENO: result: no" >&5
14330 echo "${ECHO_T}no" >&6
14331 fi
14332
14333 DLLTOOL=$ac_ct_DLLTOOL
14334 else
14335 DLLTOOL="$ac_cv_prog_DLLTOOL"
14336 fi
14337
14338 ;;
14339 esac
14340 fi
14341
14342 echo "$as_me:$LINENO: checking if make is GNU make" >&5
14343 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
14344 if test "${wx_cv_prog_makeisgnu+set}" = set; then
14345 echo $ECHO_N "(cached) $ECHO_C" >&6
14346 else
14347
14348 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
14349 egrep -s GNU > /dev/null); then
14350 wx_cv_prog_makeisgnu="yes"
14351 else
14352 wx_cv_prog_makeisgnu="no"
14353 fi
14354
14355 fi
14356 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
14357 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
14358
14359 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
14360 IF_GNU_MAKE=""
14361 else
14362 IF_GNU_MAKE="#"
14363 fi
14364
14365
14366
14367 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
14368 echo "$as_me:$LINENO: checking if make supports VPATH" >&5
14369 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
14370 if test "${wx_cv_prog_makevpath+set}" = set; then
14371 echo $ECHO_N "(cached) $ECHO_C" >&6
14372 else
14373
14374 cat - << EOF > confMake
14375 check : file
14376 cp \$? \$@
14377 cp \$? final_file
14378 EOF
14379
14380 if test ! -d sub ; then
14381 mkdir sub
14382 fi
14383 echo dummy > sub/file
14384 ${MAKE-make} -f confMake VPATH=sub 2>&5 > /dev/null
14385 RESULT=$?
14386 rm -f sub/file check final_file confMake
14387 rmdir sub
14388 if test "$RESULT" = 0; then
14389 wx_cv_prog_makevpath="yes"
14390 else
14391 wx_cv_prog_makevpath="no"
14392 fi
14393
14394 fi
14395 echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
14396 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
14397
14398 if test "x$wx_cv_prog_makevpath" != "xyes"; then
14399 { { echo "$as_me:$LINENO: error:
14400 You need a make-utility that is able to use the variable
14401 VPATH correctly.
14402 If your version of make does not support VPATH correctly,
14403 please install GNU-make (possibly as gmake), and start
14404 configure with the following command:
14405 export MAKE=gmake; ./configure for sh-type shells
14406 setenv MAKE gmake; ./configure for csh-type shells
14407 Also please do remember to use gmake in this case every time
14408 you are trying to compile.
14409 " >&5
14410 echo "$as_me: error:
14411 You need a make-utility that is able to use the variable
14412 VPATH correctly.
14413 If your version of make does not support VPATH correctly,
14414 please install GNU-make (possibly as gmake), and start
14415 configure with the following command:
14416 export MAKE=gmake; ./configure for sh-type shells
14417 setenv MAKE gmake; ./configure for csh-type shells
14418 Also please do remember to use gmake in this case every time
14419 you are trying to compile.
14420 " >&2;}
14421 { (exit 1); exit 1; }; }
14422 fi fi
14423 echo "$as_me:$LINENO: checking whether ln -s works" >&5
14424 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
14425 LN_S=$as_ln_s
14426 if test "$LN_S" = "ln -s"; then
14427 echo "$as_me:$LINENO: result: yes" >&5
14428 echo "${ECHO_T}yes" >&6
14429 else
14430 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
14431 echo "${ECHO_T}no, using $LN_S" >&6
14432 fi
14433
14434
14435
14436 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
14437 CXXFLAGS="$CXXFLAGS -qunique"
14438 fi
14439
14440 case "${host}" in
14441 powerpc-*-darwin* )
14442 echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
14443 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6
14444 cat >conftest.$ac_ext <<_ACEOF
14445 /* confdefs.h. */
14446 _ACEOF
14447 cat confdefs.h >>conftest.$ac_ext
14448 cat >>conftest.$ac_ext <<_ACEOF
14449 /* end confdefs.h. */
14450
14451 int
14452 main ()
14453 {
14454 #ifndef __POWERPC__
14455 choke me for lack of PowerPC
14456 #endif
14457
14458 ;
14459 return 0;
14460 }
14461 _ACEOF
14462 rm -f conftest.$ac_objext
14463 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14464 (eval $ac_compile) 2>conftest.er1
14465 ac_status=$?
14466 grep -v '^ *+' conftest.er1 >conftest.err
14467 rm -f conftest.er1
14468 cat conftest.err >&5
14469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14470 (exit $ac_status); } &&
14471 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14473 (eval $ac_try) 2>&5
14474 ac_status=$?
14475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14476 (exit $ac_status); }; } &&
14477 { ac_try='test -s conftest.$ac_objext'
14478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14479 (eval $ac_try) 2>&5
14480 ac_status=$?
14481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14482 (exit $ac_status); }; }; then
14483 echo "$as_me:$LINENO: result: yes" >&5
14484 echo "${ECHO_T}yes" >&6
14485 else
14486 echo "$as_me: failed program was:" >&5
14487 sed 's/^/| /' conftest.$ac_ext >&5
14488
14489 echo "$as_me:$LINENO: result: no" >&5
14490 echo "${ECHO_T}no" >&6
14491 cat >>confdefs.h <<\_ACEOF
14492 #define __POWERPC__ 1
14493 _ACEOF
14494
14495
14496 fi
14497 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14498 ;;
14499 esac
14500
14501 case "${host}" in
14502 *-*-darwin* )
14503 echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
14504 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6
14505 cat >conftest.$ac_ext <<_ACEOF
14506 /* confdefs.h. */
14507 _ACEOF
14508 cat confdefs.h >>conftest.$ac_ext
14509 cat >>conftest.$ac_ext <<_ACEOF
14510 /* end confdefs.h. */
14511 #include <CoreFoundation/CFBase.h>
14512
14513 int
14514 main ()
14515 {
14516
14517 ;
14518 return 0;
14519 }
14520 _ACEOF
14521 rm -f conftest.$ac_objext
14522 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14523 (eval $ac_compile) 2>conftest.er1
14524 ac_status=$?
14525 grep -v '^ *+' conftest.er1 >conftest.err
14526 rm -f conftest.er1
14527 cat conftest.err >&5
14528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14529 (exit $ac_status); } &&
14530 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14532 (eval $ac_try) 2>&5
14533 ac_status=$?
14534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14535 (exit $ac_status); }; } &&
14536 { ac_try='test -s conftest.$ac_objext'
14537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14538 (eval $ac_try) 2>&5
14539 ac_status=$?
14540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14541 (exit $ac_status); }; }; then
14542 echo "$as_me:$LINENO: result: yes" >&5
14543 echo "${ECHO_T}yes" >&6
14544 else
14545 echo "$as_me: failed program was:" >&5
14546 sed 's/^/| /' conftest.$ac_ext >&5
14547
14548 echo "$as_me:$LINENO: result: no" >&5
14549 echo "${ECHO_T}no" >&6
14550 echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
14551 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6
14552 cat >conftest.$ac_ext <<_ACEOF
14553 /* confdefs.h. */
14554 _ACEOF
14555 cat confdefs.h >>conftest.$ac_ext
14556 cat >>conftest.$ac_ext <<_ACEOF
14557 /* end confdefs.h. */
14558 #define __CF_USE_FRAMEWORK_INCLUDES__
14559 #include <CoreFoundation/CFBase.h>
14560
14561 int
14562 main ()
14563 {
14564
14565 ;
14566 return 0;
14567 }
14568 _ACEOF
14569 rm -f conftest.$ac_objext
14570 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14571 (eval $ac_compile) 2>conftest.er1
14572 ac_status=$?
14573 grep -v '^ *+' conftest.er1 >conftest.err
14574 rm -f conftest.er1
14575 cat conftest.err >&5
14576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14577 (exit $ac_status); } &&
14578 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14580 (eval $ac_try) 2>&5
14581 ac_status=$?
14582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14583 (exit $ac_status); }; } &&
14584 { ac_try='test -s conftest.$ac_objext'
14585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14586 (eval $ac_try) 2>&5
14587 ac_status=$?
14588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14589 (exit $ac_status); }; }; then
14590 echo "$as_me:$LINENO: result: yes" >&5
14591 echo "${ECHO_T}yes" >&6
14592 CPPFLAGS="$CPPFLAGS -D__CF_USE_FRAMEWORK_INCLUDES__"
14593 else
14594 echo "$as_me: failed program was:" >&5
14595 sed 's/^/| /' conftest.$ac_ext >&5
14596
14597 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
14598 See \`config.log' for more details." >&5
14599 echo "$as_me: error: no. CoreFoundation not available.
14600 See \`config.log' for more details." >&2;}
14601 { (exit 1); exit 1; }; }
14602
14603 fi
14604 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14605
14606
14607 fi
14608 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14609 ;;
14610 esac
14611
14612 case "${host}" in
14613 *-pc-os2_emx | *-pc-os2-emx )
14614 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
14615 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
14616 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
14617 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
14618 echo $ECHO_N "(cached) $ECHO_C" >&6
14619 else
14620 ac_check_lib_save_LIBS=$LIBS
14621 LIBS="-lcExt $LIBS"
14622 cat >conftest.$ac_ext <<_ACEOF
14623 /* confdefs.h. */
14624 _ACEOF
14625 cat confdefs.h >>conftest.$ac_ext
14626 cat >>conftest.$ac_ext <<_ACEOF
14627 /* end confdefs.h. */
14628
14629 /* Override any gcc2 internal prototype to avoid an error. */
14630 #ifdef __cplusplus
14631 extern "C"
14632 #endif
14633 /* We use char because int might match the return type of a gcc2
14634 builtin and then its argument prototype would still apply. */
14635 char drand48 ();
14636 int
14637 main ()
14638 {
14639 drand48 ();
14640 ;
14641 return 0;
14642 }
14643 _ACEOF
14644 rm -f conftest.$ac_objext conftest$ac_exeext
14645 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14646 (eval $ac_link) 2>conftest.er1
14647 ac_status=$?
14648 grep -v '^ *+' conftest.er1 >conftest.err
14649 rm -f conftest.er1
14650 cat conftest.err >&5
14651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14652 (exit $ac_status); } &&
14653 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14655 (eval $ac_try) 2>&5
14656 ac_status=$?
14657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14658 (exit $ac_status); }; } &&
14659 { ac_try='test -s conftest$ac_exeext'
14660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14661 (eval $ac_try) 2>&5
14662 ac_status=$?
14663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14664 (exit $ac_status); }; }; then
14665 ac_cv_lib_cExt_drand48=yes
14666 else
14667 echo "$as_me: failed program was:" >&5
14668 sed 's/^/| /' conftest.$ac_ext >&5
14669
14670 ac_cv_lib_cExt_drand48=no
14671 fi
14672 rm -f conftest.err conftest.$ac_objext \
14673 conftest$ac_exeext conftest.$ac_ext
14674 LIBS=$ac_check_lib_save_LIBS
14675 fi
14676 echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
14677 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
14678 if test $ac_cv_lib_cExt_drand48 = yes; then
14679 LIBS="$LIBS -lcExt"
14680 fi
14681
14682 else
14683 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
14684 fi
14685 echo "$as_me:$LINENO: checking for gcc/libc version" >&5
14686 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6
14687 if test "${wx_cv_gccversion+set}" = set; then
14688 echo $ECHO_N "(cached) $ECHO_C" >&6
14689 else
14690
14691 if test "$cross_compiling" = yes; then
14692 wx_cv_gccversion="EMX2"
14693
14694 else
14695 cat >conftest.$ac_ext <<_ACEOF
14696 /* confdefs.h. */
14697 _ACEOF
14698 cat confdefs.h >>conftest.$ac_ext
14699 cat >>conftest.$ac_ext <<_ACEOF
14700 /* end confdefs.h. */
14701
14702 #include <stdio.h>
14703
14704 int main()
14705 {
14706 FILE *f=fopen("conftestval", "w");
14707 if (!f) exit(1);
14708 fprintf(f,
14709 #if (__GNUC__ < 3)
14710 "EMX2"
14711 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
14712 "EMX3"
14713 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
14714 "Innotek5"
14715 #else
14716 "Innotek6"
14717 #endif
14718 );
14719 exit(0);
14720 }
14721
14722 _ACEOF
14723 rm -f conftest$ac_exeext
14724 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14725 (eval $ac_link) 2>&5
14726 ac_status=$?
14727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14728 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14730 (eval $ac_try) 2>&5
14731 ac_status=$?
14732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14733 (exit $ac_status); }; }; then
14734 wx_cv_gccversion=`cat conftestval`
14735 else
14736 echo "$as_me: program exited with status $ac_status" >&5
14737 echo "$as_me: failed program was:" >&5
14738 sed 's/^/| /' conftest.$ac_ext >&5
14739
14740 ( exit $ac_status )
14741 wx_cv_gccversion="EMX2"
14742 fi
14743 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14744 fi
14745
14746 fi
14747 echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
14748 echo "${ECHO_T}$wx_cv_gccversion" >&6
14749 if test "$wx_cv_gccversion" = "EMX2"; then
14750 LIBS="$LIBS -lstdcpp"
14751 LDFLAGS="$LDFLAGS -Zsysv-signals"
14752 else
14753 if test "$wx_cv_gccversion" = "EMX3"; then
14754 LIBS="$LIBS -lstdcxx -lgcc"
14755 LDFLAGS="$LDFLAGS -Zsysv-signals"
14756 else
14757 LIBS="$LIBS -lstdc++"
14758 fi
14759 fi
14760 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
14761 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
14762 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
14763 wxUSE_OMF=yes
14764 enable_omf=yes
14765 fi
14766 ;;
14767 *)
14768
14769
14770
14771 ac_ext=cc
14772 ac_cpp='$CXXCPP $CPPFLAGS'
14773 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14774 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14775 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14776
14777
14778 echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
14779 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6
14780 if test "${ac_cv_string_strcasecmp+set}" = set; then
14781 echo $ECHO_N "(cached) $ECHO_C" >&6
14782 else
14783
14784 cat >conftest.$ac_ext <<_ACEOF
14785 /* confdefs.h. */
14786 _ACEOF
14787 cat confdefs.h >>conftest.$ac_ext
14788 cat >>conftest.$ac_ext <<_ACEOF
14789 /* end confdefs.h. */
14790
14791 #include <string.h>
14792
14793 int
14794 main ()
14795 {
14796
14797 strcasecmp("foo", "bar");
14798
14799 ;
14800 return 0;
14801 }
14802 _ACEOF
14803 rm -f conftest.$ac_objext conftest$ac_exeext
14804 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14805 (eval $ac_link) 2>conftest.er1
14806 ac_status=$?
14807 grep -v '^ *+' conftest.er1 >conftest.err
14808 rm -f conftest.er1
14809 cat conftest.err >&5
14810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14811 (exit $ac_status); } &&
14812 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14814 (eval $ac_try) 2>&5
14815 ac_status=$?
14816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14817 (exit $ac_status); }; } &&
14818 { ac_try='test -s conftest$ac_exeext'
14819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14820 (eval $ac_try) 2>&5
14821 ac_status=$?
14822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14823 (exit $ac_status); }; }; then
14824 ac_cv_string_strcasecmp=yes
14825 else
14826 echo "$as_me: failed program was:" >&5
14827 sed 's/^/| /' conftest.$ac_ext >&5
14828
14829 ac_cv_string_strcasecmp=no
14830
14831 fi
14832 rm -f conftest.err conftest.$ac_objext \
14833 conftest$ac_exeext conftest.$ac_ext
14834
14835 fi
14836 echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
14837 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6
14838
14839 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
14840 cat >>confdefs.h <<\_ACEOF
14841 #define HAVE_STRCASECMP_IN_STRING_H 1
14842 _ACEOF
14843
14844 else
14845 echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
14846 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6
14847 if test "${ac_cv_strings_strcasecmp+set}" = set; then
14848 echo $ECHO_N "(cached) $ECHO_C" >&6
14849 else
14850
14851 cat >conftest.$ac_ext <<_ACEOF
14852 /* confdefs.h. */
14853 _ACEOF
14854 cat confdefs.h >>conftest.$ac_ext
14855 cat >>conftest.$ac_ext <<_ACEOF
14856 /* end confdefs.h. */
14857
14858 #include <strings.h>
14859
14860 int
14861 main ()
14862 {
14863
14864 strcasecmp("foo", "bar");
14865
14866 ;
14867 return 0;
14868 }
14869 _ACEOF
14870 rm -f conftest.$ac_objext conftest$ac_exeext
14871 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14872 (eval $ac_link) 2>conftest.er1
14873 ac_status=$?
14874 grep -v '^ *+' conftest.er1 >conftest.err
14875 rm -f conftest.er1
14876 cat conftest.err >&5
14877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14878 (exit $ac_status); } &&
14879 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14881 (eval $ac_try) 2>&5
14882 ac_status=$?
14883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14884 (exit $ac_status); }; } &&
14885 { ac_try='test -s conftest$ac_exeext'
14886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14887 (eval $ac_try) 2>&5
14888 ac_status=$?
14889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14890 (exit $ac_status); }; }; then
14891 ac_cv_strings_strcasecmp=yes
14892 else
14893 echo "$as_me: failed program was:" >&5
14894 sed 's/^/| /' conftest.$ac_ext >&5
14895
14896 ac_cv_strings_strcasecmp=no
14897
14898 fi
14899 rm -f conftest.err conftest.$ac_objext \
14900 conftest$ac_exeext conftest.$ac_ext
14901
14902 fi
14903 echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
14904 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6
14905
14906 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
14907 cat >>confdefs.h <<\_ACEOF
14908 #define HAVE_STRCASECMP_IN_STRINGS_H 1
14909 _ACEOF
14910
14911 else
14912 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
14913 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
14914 { (exit 1); exit 1; }; }
14915 fi
14916 fi
14917
14918 ac_ext=c
14919 ac_cpp='$CPP $CPPFLAGS'
14920 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14921 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14922 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14923
14924 ;;
14925 esac
14926
14927
14928 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
14929 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
14930 if test "${ac_cv_header_stdc+set}" = set; then
14931 echo $ECHO_N "(cached) $ECHO_C" >&6
14932 else
14933 cat >conftest.$ac_ext <<_ACEOF
14934 /* confdefs.h. */
14935 _ACEOF
14936 cat confdefs.h >>conftest.$ac_ext
14937 cat >>conftest.$ac_ext <<_ACEOF
14938 /* end confdefs.h. */
14939 #include <stdlib.h>
14940 #include <stdarg.h>
14941 #include <string.h>
14942 #include <float.h>
14943
14944 int
14945 main ()
14946 {
14947
14948 ;
14949 return 0;
14950 }
14951 _ACEOF
14952 rm -f conftest.$ac_objext
14953 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14954 (eval $ac_compile) 2>conftest.er1
14955 ac_status=$?
14956 grep -v '^ *+' conftest.er1 >conftest.err
14957 rm -f conftest.er1
14958 cat conftest.err >&5
14959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14960 (exit $ac_status); } &&
14961 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14963 (eval $ac_try) 2>&5
14964 ac_status=$?
14965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14966 (exit $ac_status); }; } &&
14967 { ac_try='test -s conftest.$ac_objext'
14968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14969 (eval $ac_try) 2>&5
14970 ac_status=$?
14971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14972 (exit $ac_status); }; }; then
14973 ac_cv_header_stdc=yes
14974 else
14975 echo "$as_me: failed program was:" >&5
14976 sed 's/^/| /' conftest.$ac_ext >&5
14977
14978 ac_cv_header_stdc=no
14979 fi
14980 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14981
14982 if test $ac_cv_header_stdc = yes; then
14983 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
14984 cat >conftest.$ac_ext <<_ACEOF
14985 /* confdefs.h. */
14986 _ACEOF
14987 cat confdefs.h >>conftest.$ac_ext
14988 cat >>conftest.$ac_ext <<_ACEOF
14989 /* end confdefs.h. */
14990 #include <string.h>
14991
14992 _ACEOF
14993 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14994 $EGREP "memchr" >/dev/null 2>&1; then
14995 :
14996 else
14997 ac_cv_header_stdc=no
14998 fi
14999 rm -f conftest*
15000
15001 fi
15002
15003 if test $ac_cv_header_stdc = yes; then
15004 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
15005 cat >conftest.$ac_ext <<_ACEOF
15006 /* confdefs.h. */
15007 _ACEOF
15008 cat confdefs.h >>conftest.$ac_ext
15009 cat >>conftest.$ac_ext <<_ACEOF
15010 /* end confdefs.h. */
15011 #include <stdlib.h>
15012
15013 _ACEOF
15014 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15015 $EGREP "free" >/dev/null 2>&1; then
15016 :
15017 else
15018 ac_cv_header_stdc=no
15019 fi
15020 rm -f conftest*
15021
15022 fi
15023
15024 if test $ac_cv_header_stdc = yes; then
15025 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
15026 if test "$cross_compiling" = yes; then
15027 :
15028 else
15029 cat >conftest.$ac_ext <<_ACEOF
15030 /* confdefs.h. */
15031 _ACEOF
15032 cat confdefs.h >>conftest.$ac_ext
15033 cat >>conftest.$ac_ext <<_ACEOF
15034 /* end confdefs.h. */
15035 #include <ctype.h>
15036 #if ((' ' & 0x0FF) == 0x020)
15037 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
15038 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
15039 #else
15040 # define ISLOWER(c) \
15041 (('a' <= (c) && (c) <= 'i') \
15042 || ('j' <= (c) && (c) <= 'r') \
15043 || ('s' <= (c) && (c) <= 'z'))
15044 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
15045 #endif
15046
15047 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
15048 int
15049 main ()
15050 {
15051 int i;
15052 for (i = 0; i < 256; i++)
15053 if (XOR (islower (i), ISLOWER (i))
15054 || toupper (i) != TOUPPER (i))
15055 exit(2);
15056 exit (0);
15057 }
15058 _ACEOF
15059 rm -f conftest$ac_exeext
15060 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15061 (eval $ac_link) 2>&5
15062 ac_status=$?
15063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15064 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15066 (eval $ac_try) 2>&5
15067 ac_status=$?
15068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15069 (exit $ac_status); }; }; then
15070 :
15071 else
15072 echo "$as_me: program exited with status $ac_status" >&5
15073 echo "$as_me: failed program was:" >&5
15074 sed 's/^/| /' conftest.$ac_ext >&5
15075
15076 ( exit $ac_status )
15077 ac_cv_header_stdc=no
15078 fi
15079 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15080 fi
15081 fi
15082 fi
15083 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
15084 echo "${ECHO_T}$ac_cv_header_stdc" >&6
15085 if test $ac_cv_header_stdc = yes; then
15086
15087 cat >>confdefs.h <<\_ACEOF
15088 #define STDC_HEADERS 1
15089 _ACEOF
15090
15091 fi
15092
15093 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
15094
15095
15096
15097
15098
15099
15100
15101
15102
15103 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
15104 inttypes.h stdint.h unistd.h
15105 do
15106 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15107 echo "$as_me:$LINENO: checking for $ac_header" >&5
15108 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15109 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15110 echo $ECHO_N "(cached) $ECHO_C" >&6
15111 else
15112 cat >conftest.$ac_ext <<_ACEOF
15113 /* confdefs.h. */
15114 _ACEOF
15115 cat confdefs.h >>conftest.$ac_ext
15116 cat >>conftest.$ac_ext <<_ACEOF
15117 /* end confdefs.h. */
15118 $ac_includes_default
15119
15120 #include <$ac_header>
15121 _ACEOF
15122 rm -f conftest.$ac_objext
15123 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15124 (eval $ac_compile) 2>conftest.er1
15125 ac_status=$?
15126 grep -v '^ *+' conftest.er1 >conftest.err
15127 rm -f conftest.er1
15128 cat conftest.err >&5
15129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15130 (exit $ac_status); } &&
15131 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15133 (eval $ac_try) 2>&5
15134 ac_status=$?
15135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15136 (exit $ac_status); }; } &&
15137 { ac_try='test -s conftest.$ac_objext'
15138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15139 (eval $ac_try) 2>&5
15140 ac_status=$?
15141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15142 (exit $ac_status); }; }; then
15143 eval "$as_ac_Header=yes"
15144 else
15145 echo "$as_me: failed program was:" >&5
15146 sed 's/^/| /' conftest.$ac_ext >&5
15147
15148 eval "$as_ac_Header=no"
15149 fi
15150 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15151 fi
15152 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15153 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15154 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15155 cat >>confdefs.h <<_ACEOF
15156 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15157 _ACEOF
15158
15159 fi
15160
15161 done
15162
15163
15164
15165 for ac_header in stdlib.h
15166 do
15167 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15168 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15169 echo "$as_me:$LINENO: checking for $ac_header" >&5
15170 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15171 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15172 echo $ECHO_N "(cached) $ECHO_C" >&6
15173 fi
15174 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15175 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15176 else
15177 # Is the header compilable?
15178 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15179 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15180 cat >conftest.$ac_ext <<_ACEOF
15181 /* confdefs.h. */
15182 _ACEOF
15183 cat confdefs.h >>conftest.$ac_ext
15184 cat >>conftest.$ac_ext <<_ACEOF
15185 /* end confdefs.h. */
15186 $ac_includes_default
15187 #include <$ac_header>
15188 _ACEOF
15189 rm -f conftest.$ac_objext
15190 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15191 (eval $ac_compile) 2>conftest.er1
15192 ac_status=$?
15193 grep -v '^ *+' conftest.er1 >conftest.err
15194 rm -f conftest.er1
15195 cat conftest.err >&5
15196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15197 (exit $ac_status); } &&
15198 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15200 (eval $ac_try) 2>&5
15201 ac_status=$?
15202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15203 (exit $ac_status); }; } &&
15204 { ac_try='test -s conftest.$ac_objext'
15205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15206 (eval $ac_try) 2>&5
15207 ac_status=$?
15208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15209 (exit $ac_status); }; }; then
15210 ac_header_compiler=yes
15211 else
15212 echo "$as_me: failed program was:" >&5
15213 sed 's/^/| /' conftest.$ac_ext >&5
15214
15215 ac_header_compiler=no
15216 fi
15217 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15218 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15219 echo "${ECHO_T}$ac_header_compiler" >&6
15220
15221 # Is the header present?
15222 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15223 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15224 cat >conftest.$ac_ext <<_ACEOF
15225 /* confdefs.h. */
15226 _ACEOF
15227 cat confdefs.h >>conftest.$ac_ext
15228 cat >>conftest.$ac_ext <<_ACEOF
15229 /* end confdefs.h. */
15230 #include <$ac_header>
15231 _ACEOF
15232 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15233 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
15234 ac_status=$?
15235 grep -v '^ *+' conftest.er1 >conftest.err
15236 rm -f conftest.er1
15237 cat conftest.err >&5
15238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15239 (exit $ac_status); } >/dev/null; then
15240 if test -s conftest.err; then
15241 ac_cpp_err=$ac_c_preproc_warn_flag
15242 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
15243 else
15244 ac_cpp_err=
15245 fi
15246 else
15247 ac_cpp_err=yes
15248 fi
15249 if test -z "$ac_cpp_err"; then
15250 ac_header_preproc=yes
15251 else
15252 echo "$as_me: failed program was:" >&5
15253 sed 's/^/| /' conftest.$ac_ext >&5
15254
15255 ac_header_preproc=no
15256 fi
15257 rm -f conftest.err conftest.$ac_ext
15258 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15259 echo "${ECHO_T}$ac_header_preproc" >&6
15260
15261 # So? What about this header?
15262 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15263 yes:no: )
15264 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15265 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15266 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15267 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15268 ac_header_preproc=yes
15269 ;;
15270 no:yes:* )
15271 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15272 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15273 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15274 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15275 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15276 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15277 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15278 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15279 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15280 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15281 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15282 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15283 (
15284 cat <<\_ASBOX
15285 ## ----------------------------------------- ##
15286 ## Report this to wx-dev@lists.wxwidgets.org ##
15287 ## ----------------------------------------- ##
15288 _ASBOX
15289 ) |
15290 sed "s/^/$as_me: WARNING: /" >&2
15291 ;;
15292 esac
15293 echo "$as_me:$LINENO: checking for $ac_header" >&5
15294 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15295 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15296 echo $ECHO_N "(cached) $ECHO_C" >&6
15297 else
15298 eval "$as_ac_Header=\$ac_header_preproc"
15299 fi
15300 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15301 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15302
15303 fi
15304 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15305 cat >>confdefs.h <<_ACEOF
15306 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15307 _ACEOF
15308
15309 fi
15310
15311 done
15312
15313
15314 for ac_header in malloc.h
15315 do
15316 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15317 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15318 echo "$as_me:$LINENO: checking for $ac_header" >&5
15319 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15320 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15321 echo $ECHO_N "(cached) $ECHO_C" >&6
15322 fi
15323 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15324 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15325 else
15326 # Is the header compilable?
15327 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15328 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15329 cat >conftest.$ac_ext <<_ACEOF
15330 /* confdefs.h. */
15331 _ACEOF
15332 cat confdefs.h >>conftest.$ac_ext
15333 cat >>conftest.$ac_ext <<_ACEOF
15334 /* end confdefs.h. */
15335 $ac_includes_default
15336 #include <$ac_header>
15337 _ACEOF
15338 rm -f conftest.$ac_objext
15339 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15340 (eval $ac_compile) 2>conftest.er1
15341 ac_status=$?
15342 grep -v '^ *+' conftest.er1 >conftest.err
15343 rm -f conftest.er1
15344 cat conftest.err >&5
15345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15346 (exit $ac_status); } &&
15347 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15349 (eval $ac_try) 2>&5
15350 ac_status=$?
15351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15352 (exit $ac_status); }; } &&
15353 { ac_try='test -s conftest.$ac_objext'
15354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15355 (eval $ac_try) 2>&5
15356 ac_status=$?
15357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15358 (exit $ac_status); }; }; then
15359 ac_header_compiler=yes
15360 else
15361 echo "$as_me: failed program was:" >&5
15362 sed 's/^/| /' conftest.$ac_ext >&5
15363
15364 ac_header_compiler=no
15365 fi
15366 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15367 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15368 echo "${ECHO_T}$ac_header_compiler" >&6
15369
15370 # Is the header present?
15371 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15372 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15373 cat >conftest.$ac_ext <<_ACEOF
15374 /* confdefs.h. */
15375 _ACEOF
15376 cat confdefs.h >>conftest.$ac_ext
15377 cat >>conftest.$ac_ext <<_ACEOF
15378 /* end confdefs.h. */
15379 #include <$ac_header>
15380 _ACEOF
15381 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15382 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
15383 ac_status=$?
15384 grep -v '^ *+' conftest.er1 >conftest.err
15385 rm -f conftest.er1
15386 cat conftest.err >&5
15387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15388 (exit $ac_status); } >/dev/null; then
15389 if test -s conftest.err; then
15390 ac_cpp_err=$ac_c_preproc_warn_flag
15391 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
15392 else
15393 ac_cpp_err=
15394 fi
15395 else
15396 ac_cpp_err=yes
15397 fi
15398 if test -z "$ac_cpp_err"; then
15399 ac_header_preproc=yes
15400 else
15401 echo "$as_me: failed program was:" >&5
15402 sed 's/^/| /' conftest.$ac_ext >&5
15403
15404 ac_header_preproc=no
15405 fi
15406 rm -f conftest.err conftest.$ac_ext
15407 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15408 echo "${ECHO_T}$ac_header_preproc" >&6
15409
15410 # So? What about this header?
15411 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15412 yes:no: )
15413 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15414 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15415 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15416 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15417 ac_header_preproc=yes
15418 ;;
15419 no:yes:* )
15420 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15421 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15422 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15423 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15424 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15425 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15426 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15427 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15428 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15429 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15430 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15431 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15432 (
15433 cat <<\_ASBOX
15434 ## ----------------------------------------- ##
15435 ## Report this to wx-dev@lists.wxwidgets.org ##
15436 ## ----------------------------------------- ##
15437 _ASBOX
15438 ) |
15439 sed "s/^/$as_me: WARNING: /" >&2
15440 ;;
15441 esac
15442 echo "$as_me:$LINENO: checking for $ac_header" >&5
15443 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15444 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15445 echo $ECHO_N "(cached) $ECHO_C" >&6
15446 else
15447 eval "$as_ac_Header=\$ac_header_preproc"
15448 fi
15449 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15450 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15451
15452 fi
15453 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15454 cat >>confdefs.h <<_ACEOF
15455 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15456 _ACEOF
15457
15458 fi
15459
15460 done
15461
15462
15463 for ac_header in unistd.h
15464 do
15465 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15466 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15467 echo "$as_me:$LINENO: checking for $ac_header" >&5
15468 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15469 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15470 echo $ECHO_N "(cached) $ECHO_C" >&6
15471 fi
15472 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15473 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15474 else
15475 # Is the header compilable?
15476 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15477 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15478 cat >conftest.$ac_ext <<_ACEOF
15479 /* confdefs.h. */
15480 _ACEOF
15481 cat confdefs.h >>conftest.$ac_ext
15482 cat >>conftest.$ac_ext <<_ACEOF
15483 /* end confdefs.h. */
15484 $ac_includes_default
15485 #include <$ac_header>
15486 _ACEOF
15487 rm -f conftest.$ac_objext
15488 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15489 (eval $ac_compile) 2>conftest.er1
15490 ac_status=$?
15491 grep -v '^ *+' conftest.er1 >conftest.err
15492 rm -f conftest.er1
15493 cat conftest.err >&5
15494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15495 (exit $ac_status); } &&
15496 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15498 (eval $ac_try) 2>&5
15499 ac_status=$?
15500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15501 (exit $ac_status); }; } &&
15502 { ac_try='test -s conftest.$ac_objext'
15503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15504 (eval $ac_try) 2>&5
15505 ac_status=$?
15506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15507 (exit $ac_status); }; }; then
15508 ac_header_compiler=yes
15509 else
15510 echo "$as_me: failed program was:" >&5
15511 sed 's/^/| /' conftest.$ac_ext >&5
15512
15513 ac_header_compiler=no
15514 fi
15515 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15516 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15517 echo "${ECHO_T}$ac_header_compiler" >&6
15518
15519 # Is the header present?
15520 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15521 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15522 cat >conftest.$ac_ext <<_ACEOF
15523 /* confdefs.h. */
15524 _ACEOF
15525 cat confdefs.h >>conftest.$ac_ext
15526 cat >>conftest.$ac_ext <<_ACEOF
15527 /* end confdefs.h. */
15528 #include <$ac_header>
15529 _ACEOF
15530 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15531 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
15532 ac_status=$?
15533 grep -v '^ *+' conftest.er1 >conftest.err
15534 rm -f conftest.er1
15535 cat conftest.err >&5
15536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15537 (exit $ac_status); } >/dev/null; then
15538 if test -s conftest.err; then
15539 ac_cpp_err=$ac_c_preproc_warn_flag
15540 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
15541 else
15542 ac_cpp_err=
15543 fi
15544 else
15545 ac_cpp_err=yes
15546 fi
15547 if test -z "$ac_cpp_err"; then
15548 ac_header_preproc=yes
15549 else
15550 echo "$as_me: failed program was:" >&5
15551 sed 's/^/| /' conftest.$ac_ext >&5
15552
15553 ac_header_preproc=no
15554 fi
15555 rm -f conftest.err conftest.$ac_ext
15556 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15557 echo "${ECHO_T}$ac_header_preproc" >&6
15558
15559 # So? What about this header?
15560 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15561 yes:no: )
15562 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15563 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15564 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15565 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15566 ac_header_preproc=yes
15567 ;;
15568 no:yes:* )
15569 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15570 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15571 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15572 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15573 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15574 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15575 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15576 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15577 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15578 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15579 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15580 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15581 (
15582 cat <<\_ASBOX
15583 ## ----------------------------------------- ##
15584 ## Report this to wx-dev@lists.wxwidgets.org ##
15585 ## ----------------------------------------- ##
15586 _ASBOX
15587 ) |
15588 sed "s/^/$as_me: WARNING: /" >&2
15589 ;;
15590 esac
15591 echo "$as_me:$LINENO: checking for $ac_header" >&5
15592 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15593 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15594 echo $ECHO_N "(cached) $ECHO_C" >&6
15595 else
15596 eval "$as_ac_Header=\$ac_header_preproc"
15597 fi
15598 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15599 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15600
15601 fi
15602 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15603 cat >>confdefs.h <<_ACEOF
15604 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15605 _ACEOF
15606
15607 fi
15608
15609 done
15610
15611
15612 for ac_header in wchar.h
15613 do
15614 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15615 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15616 echo "$as_me:$LINENO: checking for $ac_header" >&5
15617 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15618 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15619 echo $ECHO_N "(cached) $ECHO_C" >&6
15620 fi
15621 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15622 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15623 else
15624 # Is the header compilable?
15625 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15626 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15627 cat >conftest.$ac_ext <<_ACEOF
15628 /* confdefs.h. */
15629 _ACEOF
15630 cat confdefs.h >>conftest.$ac_ext
15631 cat >>conftest.$ac_ext <<_ACEOF
15632 /* end confdefs.h. */
15633 $ac_includes_default
15634 #include <$ac_header>
15635 _ACEOF
15636 rm -f conftest.$ac_objext
15637 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15638 (eval $ac_compile) 2>conftest.er1
15639 ac_status=$?
15640 grep -v '^ *+' conftest.er1 >conftest.err
15641 rm -f conftest.er1
15642 cat conftest.err >&5
15643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15644 (exit $ac_status); } &&
15645 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15647 (eval $ac_try) 2>&5
15648 ac_status=$?
15649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15650 (exit $ac_status); }; } &&
15651 { ac_try='test -s conftest.$ac_objext'
15652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15653 (eval $ac_try) 2>&5
15654 ac_status=$?
15655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15656 (exit $ac_status); }; }; then
15657 ac_header_compiler=yes
15658 else
15659 echo "$as_me: failed program was:" >&5
15660 sed 's/^/| /' conftest.$ac_ext >&5
15661
15662 ac_header_compiler=no
15663 fi
15664 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15665 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15666 echo "${ECHO_T}$ac_header_compiler" >&6
15667
15668 # Is the header present?
15669 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15670 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15671 cat >conftest.$ac_ext <<_ACEOF
15672 /* confdefs.h. */
15673 _ACEOF
15674 cat confdefs.h >>conftest.$ac_ext
15675 cat >>conftest.$ac_ext <<_ACEOF
15676 /* end confdefs.h. */
15677 #include <$ac_header>
15678 _ACEOF
15679 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15680 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
15681 ac_status=$?
15682 grep -v '^ *+' conftest.er1 >conftest.err
15683 rm -f conftest.er1
15684 cat conftest.err >&5
15685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15686 (exit $ac_status); } >/dev/null; then
15687 if test -s conftest.err; then
15688 ac_cpp_err=$ac_c_preproc_warn_flag
15689 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
15690 else
15691 ac_cpp_err=
15692 fi
15693 else
15694 ac_cpp_err=yes
15695 fi
15696 if test -z "$ac_cpp_err"; then
15697 ac_header_preproc=yes
15698 else
15699 echo "$as_me: failed program was:" >&5
15700 sed 's/^/| /' conftest.$ac_ext >&5
15701
15702 ac_header_preproc=no
15703 fi
15704 rm -f conftest.err conftest.$ac_ext
15705 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15706 echo "${ECHO_T}$ac_header_preproc" >&6
15707
15708 # So? What about this header?
15709 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15710 yes:no: )
15711 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15712 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15713 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15714 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15715 ac_header_preproc=yes
15716 ;;
15717 no:yes:* )
15718 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15719 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15720 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15721 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15722 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15723 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15724 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15725 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15726 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15727 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15728 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15729 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15730 (
15731 cat <<\_ASBOX
15732 ## ----------------------------------------- ##
15733 ## Report this to wx-dev@lists.wxwidgets.org ##
15734 ## ----------------------------------------- ##
15735 _ASBOX
15736 ) |
15737 sed "s/^/$as_me: WARNING: /" >&2
15738 ;;
15739 esac
15740 echo "$as_me:$LINENO: checking for $ac_header" >&5
15741 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15742 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15743 echo $ECHO_N "(cached) $ECHO_C" >&6
15744 else
15745 eval "$as_ac_Header=\$ac_header_preproc"
15746 fi
15747 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15748 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15749
15750 fi
15751 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15752 cat >>confdefs.h <<_ACEOF
15753 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15754 _ACEOF
15755
15756 fi
15757
15758 done
15759
15760
15761 if test "$ac_cv_header_wchar_h" != "yes"; then
15762
15763 for ac_header in wcstr.h
15764 do
15765 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15766 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15767 echo "$as_me:$LINENO: checking for $ac_header" >&5
15768 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15769 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15770 echo $ECHO_N "(cached) $ECHO_C" >&6
15771 fi
15772 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15773 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15774 else
15775 # Is the header compilable?
15776 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15777 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15778 cat >conftest.$ac_ext <<_ACEOF
15779 /* confdefs.h. */
15780 _ACEOF
15781 cat confdefs.h >>conftest.$ac_ext
15782 cat >>conftest.$ac_ext <<_ACEOF
15783 /* end confdefs.h. */
15784 $ac_includes_default
15785 #include <$ac_header>
15786 _ACEOF
15787 rm -f conftest.$ac_objext
15788 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15789 (eval $ac_compile) 2>conftest.er1
15790 ac_status=$?
15791 grep -v '^ *+' conftest.er1 >conftest.err
15792 rm -f conftest.er1
15793 cat conftest.err >&5
15794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15795 (exit $ac_status); } &&
15796 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15798 (eval $ac_try) 2>&5
15799 ac_status=$?
15800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15801 (exit $ac_status); }; } &&
15802 { ac_try='test -s conftest.$ac_objext'
15803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15804 (eval $ac_try) 2>&5
15805 ac_status=$?
15806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15807 (exit $ac_status); }; }; then
15808 ac_header_compiler=yes
15809 else
15810 echo "$as_me: failed program was:" >&5
15811 sed 's/^/| /' conftest.$ac_ext >&5
15812
15813 ac_header_compiler=no
15814 fi
15815 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15816 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15817 echo "${ECHO_T}$ac_header_compiler" >&6
15818
15819 # Is the header present?
15820 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15821 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15822 cat >conftest.$ac_ext <<_ACEOF
15823 /* confdefs.h. */
15824 _ACEOF
15825 cat confdefs.h >>conftest.$ac_ext
15826 cat >>conftest.$ac_ext <<_ACEOF
15827 /* end confdefs.h. */
15828 #include <$ac_header>
15829 _ACEOF
15830 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15831 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
15832 ac_status=$?
15833 grep -v '^ *+' conftest.er1 >conftest.err
15834 rm -f conftest.er1
15835 cat conftest.err >&5
15836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15837 (exit $ac_status); } >/dev/null; then
15838 if test -s conftest.err; then
15839 ac_cpp_err=$ac_c_preproc_warn_flag
15840 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
15841 else
15842 ac_cpp_err=
15843 fi
15844 else
15845 ac_cpp_err=yes
15846 fi
15847 if test -z "$ac_cpp_err"; then
15848 ac_header_preproc=yes
15849 else
15850 echo "$as_me: failed program was:" >&5
15851 sed 's/^/| /' conftest.$ac_ext >&5
15852
15853 ac_header_preproc=no
15854 fi
15855 rm -f conftest.err conftest.$ac_ext
15856 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15857 echo "${ECHO_T}$ac_header_preproc" >&6
15858
15859 # So? What about this header?
15860 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15861 yes:no: )
15862 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15863 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15864 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15865 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15866 ac_header_preproc=yes
15867 ;;
15868 no:yes:* )
15869 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15870 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15871 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15872 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15873 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15874 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15875 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15876 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15877 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15878 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15879 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15880 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15881 (
15882 cat <<\_ASBOX
15883 ## ----------------------------------------- ##
15884 ## Report this to wx-dev@lists.wxwidgets.org ##
15885 ## ----------------------------------------- ##
15886 _ASBOX
15887 ) |
15888 sed "s/^/$as_me: WARNING: /" >&2
15889 ;;
15890 esac
15891 echo "$as_me:$LINENO: checking for $ac_header" >&5
15892 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15893 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15894 echo $ECHO_N "(cached) $ECHO_C" >&6
15895 else
15896 eval "$as_ac_Header=\$ac_header_preproc"
15897 fi
15898 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15899 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15900
15901 fi
15902 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15903 cat >>confdefs.h <<_ACEOF
15904 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15905 _ACEOF
15906
15907 fi
15908
15909 done
15910
15911 fi
15912
15913
15914 for ac_header in fnmatch.h
15915 do
15916 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15917 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15918 echo "$as_me:$LINENO: checking for $ac_header" >&5
15919 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15920 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15921 echo $ECHO_N "(cached) $ECHO_C" >&6
15922 fi
15923 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15924 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15925 else
15926 # Is the header compilable?
15927 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15928 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15929 cat >conftest.$ac_ext <<_ACEOF
15930 /* confdefs.h. */
15931 _ACEOF
15932 cat confdefs.h >>conftest.$ac_ext
15933 cat >>conftest.$ac_ext <<_ACEOF
15934 /* end confdefs.h. */
15935 $ac_includes_default
15936 #include <$ac_header>
15937 _ACEOF
15938 rm -f conftest.$ac_objext
15939 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15940 (eval $ac_compile) 2>conftest.er1
15941 ac_status=$?
15942 grep -v '^ *+' conftest.er1 >conftest.err
15943 rm -f conftest.er1
15944 cat conftest.err >&5
15945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15946 (exit $ac_status); } &&
15947 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15949 (eval $ac_try) 2>&5
15950 ac_status=$?
15951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15952 (exit $ac_status); }; } &&
15953 { ac_try='test -s conftest.$ac_objext'
15954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15955 (eval $ac_try) 2>&5
15956 ac_status=$?
15957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15958 (exit $ac_status); }; }; then
15959 ac_header_compiler=yes
15960 else
15961 echo "$as_me: failed program was:" >&5
15962 sed 's/^/| /' conftest.$ac_ext >&5
15963
15964 ac_header_compiler=no
15965 fi
15966 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15967 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15968 echo "${ECHO_T}$ac_header_compiler" >&6
15969
15970 # Is the header present?
15971 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15972 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15973 cat >conftest.$ac_ext <<_ACEOF
15974 /* confdefs.h. */
15975 _ACEOF
15976 cat confdefs.h >>conftest.$ac_ext
15977 cat >>conftest.$ac_ext <<_ACEOF
15978 /* end confdefs.h. */
15979 #include <$ac_header>
15980 _ACEOF
15981 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15982 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
15983 ac_status=$?
15984 grep -v '^ *+' conftest.er1 >conftest.err
15985 rm -f conftest.er1
15986 cat conftest.err >&5
15987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15988 (exit $ac_status); } >/dev/null; then
15989 if test -s conftest.err; then
15990 ac_cpp_err=$ac_c_preproc_warn_flag
15991 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
15992 else
15993 ac_cpp_err=
15994 fi
15995 else
15996 ac_cpp_err=yes
15997 fi
15998 if test -z "$ac_cpp_err"; then
15999 ac_header_preproc=yes
16000 else
16001 echo "$as_me: failed program was:" >&5
16002 sed 's/^/| /' conftest.$ac_ext >&5
16003
16004 ac_header_preproc=no
16005 fi
16006 rm -f conftest.err conftest.$ac_ext
16007 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16008 echo "${ECHO_T}$ac_header_preproc" >&6
16009
16010 # So? What about this header?
16011 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16012 yes:no: )
16013 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16014 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16015 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16016 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16017 ac_header_preproc=yes
16018 ;;
16019 no:yes:* )
16020 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16021 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16022 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16023 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16024 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16025 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16026 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16027 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16028 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16029 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16030 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16031 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16032 (
16033 cat <<\_ASBOX
16034 ## ----------------------------------------- ##
16035 ## Report this to wx-dev@lists.wxwidgets.org ##
16036 ## ----------------------------------------- ##
16037 _ASBOX
16038 ) |
16039 sed "s/^/$as_me: WARNING: /" >&2
16040 ;;
16041 esac
16042 echo "$as_me:$LINENO: checking for $ac_header" >&5
16043 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16044 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16045 echo $ECHO_N "(cached) $ECHO_C" >&6
16046 else
16047 eval "$as_ac_Header=\$ac_header_preproc"
16048 fi
16049 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16050 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16051
16052 fi
16053 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16054 cat >>confdefs.h <<_ACEOF
16055 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16056 _ACEOF
16057
16058 fi
16059
16060 done
16061
16062
16063
16064 for ac_header in langinfo.h
16065 do
16066 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16067 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16068 echo "$as_me:$LINENO: checking for $ac_header" >&5
16069 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16070 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16071 echo $ECHO_N "(cached) $ECHO_C" >&6
16072 fi
16073 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16074 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16075 else
16076 # Is the header compilable?
16077 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16078 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16079 cat >conftest.$ac_ext <<_ACEOF
16080 /* confdefs.h. */
16081 _ACEOF
16082 cat confdefs.h >>conftest.$ac_ext
16083 cat >>conftest.$ac_ext <<_ACEOF
16084 /* end confdefs.h. */
16085 $ac_includes_default
16086 #include <$ac_header>
16087 _ACEOF
16088 rm -f conftest.$ac_objext
16089 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16090 (eval $ac_compile) 2>conftest.er1
16091 ac_status=$?
16092 grep -v '^ *+' conftest.er1 >conftest.err
16093 rm -f conftest.er1
16094 cat conftest.err >&5
16095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16096 (exit $ac_status); } &&
16097 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16099 (eval $ac_try) 2>&5
16100 ac_status=$?
16101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16102 (exit $ac_status); }; } &&
16103 { ac_try='test -s conftest.$ac_objext'
16104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16105 (eval $ac_try) 2>&5
16106 ac_status=$?
16107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16108 (exit $ac_status); }; }; then
16109 ac_header_compiler=yes
16110 else
16111 echo "$as_me: failed program was:" >&5
16112 sed 's/^/| /' conftest.$ac_ext >&5
16113
16114 ac_header_compiler=no
16115 fi
16116 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16117 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16118 echo "${ECHO_T}$ac_header_compiler" >&6
16119
16120 # Is the header present?
16121 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16122 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16123 cat >conftest.$ac_ext <<_ACEOF
16124 /* confdefs.h. */
16125 _ACEOF
16126 cat confdefs.h >>conftest.$ac_ext
16127 cat >>conftest.$ac_ext <<_ACEOF
16128 /* end confdefs.h. */
16129 #include <$ac_header>
16130 _ACEOF
16131 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16132 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16133 ac_status=$?
16134 grep -v '^ *+' conftest.er1 >conftest.err
16135 rm -f conftest.er1
16136 cat conftest.err >&5
16137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16138 (exit $ac_status); } >/dev/null; then
16139 if test -s conftest.err; then
16140 ac_cpp_err=$ac_c_preproc_warn_flag
16141 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
16142 else
16143 ac_cpp_err=
16144 fi
16145 else
16146 ac_cpp_err=yes
16147 fi
16148 if test -z "$ac_cpp_err"; then
16149 ac_header_preproc=yes
16150 else
16151 echo "$as_me: failed program was:" >&5
16152 sed 's/^/| /' conftest.$ac_ext >&5
16153
16154 ac_header_preproc=no
16155 fi
16156 rm -f conftest.err conftest.$ac_ext
16157 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16158 echo "${ECHO_T}$ac_header_preproc" >&6
16159
16160 # So? What about this header?
16161 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16162 yes:no: )
16163 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16164 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16165 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16166 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16167 ac_header_preproc=yes
16168 ;;
16169 no:yes:* )
16170 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16171 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16172 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16173 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16174 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16175 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16176 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16177 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16178 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16179 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16180 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16181 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16182 (
16183 cat <<\_ASBOX
16184 ## ----------------------------------------- ##
16185 ## Report this to wx-dev@lists.wxwidgets.org ##
16186 ## ----------------------------------------- ##
16187 _ASBOX
16188 ) |
16189 sed "s/^/$as_me: WARNING: /" >&2
16190 ;;
16191 esac
16192 echo "$as_me:$LINENO: checking for $ac_header" >&5
16193 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16194 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16195 echo $ECHO_N "(cached) $ECHO_C" >&6
16196 else
16197 eval "$as_ac_Header=\$ac_header_preproc"
16198 fi
16199 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16200 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16201
16202 fi
16203 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16204 cat >>confdefs.h <<_ACEOF
16205 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16206 _ACEOF
16207
16208 fi
16209
16210 done
16211
16212
16213 case "${host}" in
16214 *-pc-os2_emx | *-pc-os2-emx )
16215 if test $ac_cv_header_langinfo_h = "yes" \
16216 -a \( "$wx_cv_gccversion" = "EMX2" \
16217 -o "$wx_cv_gccversion" = "EMX3" \
16218 -o "$wx_cv_gccversion" = "Innotek5" \); then
16219 LIBS="$LIBS -lintl"
16220 fi
16221 ;;
16222 esac
16223
16224
16225 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
16226 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
16227 if test "${ac_cv_c_const+set}" = set; then
16228 echo $ECHO_N "(cached) $ECHO_C" >&6
16229 else
16230 cat >conftest.$ac_ext <<_ACEOF
16231 /* confdefs.h. */
16232 _ACEOF
16233 cat confdefs.h >>conftest.$ac_ext
16234 cat >>conftest.$ac_ext <<_ACEOF
16235 /* end confdefs.h. */
16236
16237 int
16238 main ()
16239 {
16240 /* FIXME: Include the comments suggested by Paul. */
16241 #ifndef __cplusplus
16242 /* Ultrix mips cc rejects this. */
16243 typedef int charset[2];
16244 const charset x;
16245 /* SunOS 4.1.1 cc rejects this. */
16246 char const *const *ccp;
16247 char **p;
16248 /* NEC SVR4.0.2 mips cc rejects this. */
16249 struct point {int x, y;};
16250 static struct point const zero = {0,0};
16251 /* AIX XL C 1.02.0.0 rejects this.
16252 It does not let you subtract one const X* pointer from another in
16253 an arm of an if-expression whose if-part is not a constant
16254 expression */
16255 const char *g = "string";
16256 ccp = &g + (g ? g-g : 0);
16257 /* HPUX 7.0 cc rejects these. */
16258 ++ccp;
16259 p = (char**) ccp;
16260 ccp = (char const *const *) p;
16261 { /* SCO 3.2v4 cc rejects this. */
16262 char *t;
16263 char const *s = 0 ? (char *) 0 : (char const *) 0;
16264
16265 *t++ = 0;
16266 }
16267 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
16268 int x[] = {25, 17};
16269 const int *foo = &x[0];
16270 ++foo;
16271 }
16272 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
16273 typedef const int *iptr;
16274 iptr p = 0;
16275 ++p;
16276 }
16277 { /* AIX XL C 1.02.0.0 rejects this saying
16278 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
16279 struct s { int j; const int *ap[3]; };
16280 struct s *b; b->j = 5;
16281 }
16282 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
16283 const int foo = 10;
16284 }
16285 #endif
16286
16287 ;
16288 return 0;
16289 }
16290 _ACEOF
16291 rm -f conftest.$ac_objext
16292 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16293 (eval $ac_compile) 2>conftest.er1
16294 ac_status=$?
16295 grep -v '^ *+' conftest.er1 >conftest.err
16296 rm -f conftest.er1
16297 cat conftest.err >&5
16298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16299 (exit $ac_status); } &&
16300 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16302 (eval $ac_try) 2>&5
16303 ac_status=$?
16304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16305 (exit $ac_status); }; } &&
16306 { ac_try='test -s conftest.$ac_objext'
16307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16308 (eval $ac_try) 2>&5
16309 ac_status=$?
16310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16311 (exit $ac_status); }; }; then
16312 ac_cv_c_const=yes
16313 else
16314 echo "$as_me: failed program was:" >&5
16315 sed 's/^/| /' conftest.$ac_ext >&5
16316
16317 ac_cv_c_const=no
16318 fi
16319 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16320 fi
16321 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
16322 echo "${ECHO_T}$ac_cv_c_const" >&6
16323 if test $ac_cv_c_const = no; then
16324
16325 cat >>confdefs.h <<\_ACEOF
16326 #define const
16327 _ACEOF
16328
16329 fi
16330
16331 echo "$as_me:$LINENO: checking for inline" >&5
16332 echo $ECHO_N "checking for inline... $ECHO_C" >&6
16333 if test "${ac_cv_c_inline+set}" = set; then
16334 echo $ECHO_N "(cached) $ECHO_C" >&6
16335 else
16336 ac_cv_c_inline=no
16337 for ac_kw in inline __inline__ __inline; do
16338 cat >conftest.$ac_ext <<_ACEOF
16339 /* confdefs.h. */
16340 _ACEOF
16341 cat confdefs.h >>conftest.$ac_ext
16342 cat >>conftest.$ac_ext <<_ACEOF
16343 /* end confdefs.h. */
16344 #ifndef __cplusplus
16345 typedef int foo_t;
16346 static $ac_kw foo_t static_foo () {return 0; }
16347 $ac_kw foo_t foo () {return 0; }
16348 #endif
16349
16350 _ACEOF
16351 rm -f conftest.$ac_objext
16352 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16353 (eval $ac_compile) 2>conftest.er1
16354 ac_status=$?
16355 grep -v '^ *+' conftest.er1 >conftest.err
16356 rm -f conftest.er1
16357 cat conftest.err >&5
16358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16359 (exit $ac_status); } &&
16360 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16362 (eval $ac_try) 2>&5
16363 ac_status=$?
16364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16365 (exit $ac_status); }; } &&
16366 { ac_try='test -s conftest.$ac_objext'
16367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16368 (eval $ac_try) 2>&5
16369 ac_status=$?
16370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16371 (exit $ac_status); }; }; then
16372 ac_cv_c_inline=$ac_kw; break
16373 else
16374 echo "$as_me: failed program was:" >&5
16375 sed 's/^/| /' conftest.$ac_ext >&5
16376
16377 fi
16378 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16379 done
16380
16381 fi
16382 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
16383 echo "${ECHO_T}$ac_cv_c_inline" >&6
16384
16385
16386 case $ac_cv_c_inline in
16387 inline | yes) ;;
16388 *)
16389 case $ac_cv_c_inline in
16390 no) ac_val=;;
16391 *) ac_val=$ac_cv_c_inline;;
16392 esac
16393 cat >>confdefs.h <<_ACEOF
16394 #ifndef __cplusplus
16395 #define inline $ac_val
16396 #endif
16397 _ACEOF
16398 ;;
16399 esac
16400
16401
16402 echo "$as_me:$LINENO: checking for char" >&5
16403 echo $ECHO_N "checking for char... $ECHO_C" >&6
16404 if test "${ac_cv_type_char+set}" = set; then
16405 echo $ECHO_N "(cached) $ECHO_C" >&6
16406 else
16407 cat >conftest.$ac_ext <<_ACEOF
16408 /* confdefs.h. */
16409 _ACEOF
16410 cat confdefs.h >>conftest.$ac_ext
16411 cat >>conftest.$ac_ext <<_ACEOF
16412 /* end confdefs.h. */
16413 $ac_includes_default
16414 int
16415 main ()
16416 {
16417 if ((char *) 0)
16418 return 0;
16419 if (sizeof (char))
16420 return 0;
16421 ;
16422 return 0;
16423 }
16424 _ACEOF
16425 rm -f conftest.$ac_objext
16426 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16427 (eval $ac_compile) 2>conftest.er1
16428 ac_status=$?
16429 grep -v '^ *+' conftest.er1 >conftest.err
16430 rm -f conftest.er1
16431 cat conftest.err >&5
16432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16433 (exit $ac_status); } &&
16434 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16436 (eval $ac_try) 2>&5
16437 ac_status=$?
16438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16439 (exit $ac_status); }; } &&
16440 { ac_try='test -s conftest.$ac_objext'
16441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16442 (eval $ac_try) 2>&5
16443 ac_status=$?
16444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16445 (exit $ac_status); }; }; then
16446 ac_cv_type_char=yes
16447 else
16448 echo "$as_me: failed program was:" >&5
16449 sed 's/^/| /' conftest.$ac_ext >&5
16450
16451 ac_cv_type_char=no
16452 fi
16453 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16454 fi
16455 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
16456 echo "${ECHO_T}$ac_cv_type_char" >&6
16457
16458 echo "$as_me:$LINENO: checking size of char" >&5
16459 echo $ECHO_N "checking size of char... $ECHO_C" >&6
16460 if test "${ac_cv_sizeof_char+set}" = set; then
16461 echo $ECHO_N "(cached) $ECHO_C" >&6
16462 else
16463 if test "$ac_cv_type_char" = yes; then
16464 # The cast to unsigned long works around a bug in the HP C Compiler
16465 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16466 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16467 # This bug is HP SR number 8606223364.
16468 if test "$cross_compiling" = yes; then
16469 # Depending upon the size, compute the lo and hi bounds.
16470 cat >conftest.$ac_ext <<_ACEOF
16471 /* confdefs.h. */
16472 _ACEOF
16473 cat confdefs.h >>conftest.$ac_ext
16474 cat >>conftest.$ac_ext <<_ACEOF
16475 /* end confdefs.h. */
16476 $ac_includes_default
16477 int
16478 main ()
16479 {
16480 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
16481 test_array [0] = 0
16482
16483 ;
16484 return 0;
16485 }
16486 _ACEOF
16487 rm -f conftest.$ac_objext
16488 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16489 (eval $ac_compile) 2>conftest.er1
16490 ac_status=$?
16491 grep -v '^ *+' conftest.er1 >conftest.err
16492 rm -f conftest.er1
16493 cat conftest.err >&5
16494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16495 (exit $ac_status); } &&
16496 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16498 (eval $ac_try) 2>&5
16499 ac_status=$?
16500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16501 (exit $ac_status); }; } &&
16502 { ac_try='test -s conftest.$ac_objext'
16503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16504 (eval $ac_try) 2>&5
16505 ac_status=$?
16506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16507 (exit $ac_status); }; }; then
16508 ac_lo=0 ac_mid=0
16509 while :; do
16510 cat >conftest.$ac_ext <<_ACEOF
16511 /* confdefs.h. */
16512 _ACEOF
16513 cat confdefs.h >>conftest.$ac_ext
16514 cat >>conftest.$ac_ext <<_ACEOF
16515 /* end confdefs.h. */
16516 $ac_includes_default
16517 int
16518 main ()
16519 {
16520 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
16521 test_array [0] = 0
16522
16523 ;
16524 return 0;
16525 }
16526 _ACEOF
16527 rm -f conftest.$ac_objext
16528 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16529 (eval $ac_compile) 2>conftest.er1
16530 ac_status=$?
16531 grep -v '^ *+' conftest.er1 >conftest.err
16532 rm -f conftest.er1
16533 cat conftest.err >&5
16534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16535 (exit $ac_status); } &&
16536 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16538 (eval $ac_try) 2>&5
16539 ac_status=$?
16540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16541 (exit $ac_status); }; } &&
16542 { ac_try='test -s conftest.$ac_objext'
16543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16544 (eval $ac_try) 2>&5
16545 ac_status=$?
16546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16547 (exit $ac_status); }; }; then
16548 ac_hi=$ac_mid; break
16549 else
16550 echo "$as_me: failed program was:" >&5
16551 sed 's/^/| /' conftest.$ac_ext >&5
16552
16553 ac_lo=`expr $ac_mid + 1`
16554 if test $ac_lo -le $ac_mid; then
16555 ac_lo= ac_hi=
16556 break
16557 fi
16558 ac_mid=`expr 2 '*' $ac_mid + 1`
16559 fi
16560 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16561 done
16562 else
16563 echo "$as_me: failed program was:" >&5
16564 sed 's/^/| /' conftest.$ac_ext >&5
16565
16566 cat >conftest.$ac_ext <<_ACEOF
16567 /* confdefs.h. */
16568 _ACEOF
16569 cat confdefs.h >>conftest.$ac_ext
16570 cat >>conftest.$ac_ext <<_ACEOF
16571 /* end confdefs.h. */
16572 $ac_includes_default
16573 int
16574 main ()
16575 {
16576 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
16577 test_array [0] = 0
16578
16579 ;
16580 return 0;
16581 }
16582 _ACEOF
16583 rm -f conftest.$ac_objext
16584 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16585 (eval $ac_compile) 2>conftest.er1
16586 ac_status=$?
16587 grep -v '^ *+' conftest.er1 >conftest.err
16588 rm -f conftest.er1
16589 cat conftest.err >&5
16590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16591 (exit $ac_status); } &&
16592 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16594 (eval $ac_try) 2>&5
16595 ac_status=$?
16596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16597 (exit $ac_status); }; } &&
16598 { ac_try='test -s conftest.$ac_objext'
16599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16600 (eval $ac_try) 2>&5
16601 ac_status=$?
16602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16603 (exit $ac_status); }; }; then
16604 ac_hi=-1 ac_mid=-1
16605 while :; do
16606 cat >conftest.$ac_ext <<_ACEOF
16607 /* confdefs.h. */
16608 _ACEOF
16609 cat confdefs.h >>conftest.$ac_ext
16610 cat >>conftest.$ac_ext <<_ACEOF
16611 /* end confdefs.h. */
16612 $ac_includes_default
16613 int
16614 main ()
16615 {
16616 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
16617 test_array [0] = 0
16618
16619 ;
16620 return 0;
16621 }
16622 _ACEOF
16623 rm -f conftest.$ac_objext
16624 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16625 (eval $ac_compile) 2>conftest.er1
16626 ac_status=$?
16627 grep -v '^ *+' conftest.er1 >conftest.err
16628 rm -f conftest.er1
16629 cat conftest.err >&5
16630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16631 (exit $ac_status); } &&
16632 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16634 (eval $ac_try) 2>&5
16635 ac_status=$?
16636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16637 (exit $ac_status); }; } &&
16638 { ac_try='test -s conftest.$ac_objext'
16639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16640 (eval $ac_try) 2>&5
16641 ac_status=$?
16642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16643 (exit $ac_status); }; }; then
16644 ac_lo=$ac_mid; break
16645 else
16646 echo "$as_me: failed program was:" >&5
16647 sed 's/^/| /' conftest.$ac_ext >&5
16648
16649 ac_hi=`expr '(' $ac_mid ')' - 1`
16650 if test $ac_mid -le $ac_hi; then
16651 ac_lo= ac_hi=
16652 break
16653 fi
16654 ac_mid=`expr 2 '*' $ac_mid`
16655 fi
16656 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16657 done
16658 else
16659 echo "$as_me: failed program was:" >&5
16660 sed 's/^/| /' conftest.$ac_ext >&5
16661
16662 ac_lo= ac_hi=
16663 fi
16664 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16665 fi
16666 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16667 # Binary search between lo and hi bounds.
16668 while test "x$ac_lo" != "x$ac_hi"; do
16669 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16670 cat >conftest.$ac_ext <<_ACEOF
16671 /* confdefs.h. */
16672 _ACEOF
16673 cat confdefs.h >>conftest.$ac_ext
16674 cat >>conftest.$ac_ext <<_ACEOF
16675 /* end confdefs.h. */
16676 $ac_includes_default
16677 int
16678 main ()
16679 {
16680 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
16681 test_array [0] = 0
16682
16683 ;
16684 return 0;
16685 }
16686 _ACEOF
16687 rm -f conftest.$ac_objext
16688 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16689 (eval $ac_compile) 2>conftest.er1
16690 ac_status=$?
16691 grep -v '^ *+' conftest.er1 >conftest.err
16692 rm -f conftest.er1
16693 cat conftest.err >&5
16694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16695 (exit $ac_status); } &&
16696 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16698 (eval $ac_try) 2>&5
16699 ac_status=$?
16700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16701 (exit $ac_status); }; } &&
16702 { ac_try='test -s conftest.$ac_objext'
16703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16704 (eval $ac_try) 2>&5
16705 ac_status=$?
16706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16707 (exit $ac_status); }; }; then
16708 ac_hi=$ac_mid
16709 else
16710 echo "$as_me: failed program was:" >&5
16711 sed 's/^/| /' conftest.$ac_ext >&5
16712
16713 ac_lo=`expr '(' $ac_mid ')' + 1`
16714 fi
16715 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16716 done
16717 case $ac_lo in
16718 ?*) ac_cv_sizeof_char=$ac_lo;;
16719 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
16720 See \`config.log' for more details." >&5
16721 echo "$as_me: error: cannot compute sizeof (char), 77
16722 See \`config.log' for more details." >&2;}
16723 { (exit 1); exit 1; }; } ;;
16724 esac
16725 else
16726 if test "$cross_compiling" = yes; then
16727 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
16728 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
16729 { (exit 1); exit 1; }; }
16730 else
16731 cat >conftest.$ac_ext <<_ACEOF
16732 /* confdefs.h. */
16733 _ACEOF
16734 cat confdefs.h >>conftest.$ac_ext
16735 cat >>conftest.$ac_ext <<_ACEOF
16736 /* end confdefs.h. */
16737 $ac_includes_default
16738 long longval () { return (long) (sizeof (char)); }
16739 unsigned long ulongval () { return (long) (sizeof (char)); }
16740 #include <stdio.h>
16741 #include <stdlib.h>
16742 int
16743 main ()
16744 {
16745
16746 FILE *f = fopen ("conftest.val", "w");
16747 if (! f)
16748 exit (1);
16749 if (((long) (sizeof (char))) < 0)
16750 {
16751 long i = longval ();
16752 if (i != ((long) (sizeof (char))))
16753 exit (1);
16754 fprintf (f, "%ld\n", i);
16755 }
16756 else
16757 {
16758 unsigned long i = ulongval ();
16759 if (i != ((long) (sizeof (char))))
16760 exit (1);
16761 fprintf (f, "%lu\n", i);
16762 }
16763 exit (ferror (f) || fclose (f) != 0);
16764
16765 ;
16766 return 0;
16767 }
16768 _ACEOF
16769 rm -f conftest$ac_exeext
16770 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16771 (eval $ac_link) 2>&5
16772 ac_status=$?
16773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16774 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16776 (eval $ac_try) 2>&5
16777 ac_status=$?
16778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16779 (exit $ac_status); }; }; then
16780 ac_cv_sizeof_char=`cat conftest.val`
16781 else
16782 echo "$as_me: program exited with status $ac_status" >&5
16783 echo "$as_me: failed program was:" >&5
16784 sed 's/^/| /' conftest.$ac_ext >&5
16785
16786 ( exit $ac_status )
16787 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
16788 See \`config.log' for more details." >&5
16789 echo "$as_me: error: cannot compute sizeof (char), 77
16790 See \`config.log' for more details." >&2;}
16791 { (exit 1); exit 1; }; }
16792 fi
16793 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16794 fi
16795 fi
16796 rm -f conftest.val
16797 else
16798 ac_cv_sizeof_char=0
16799 fi
16800 fi
16801 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
16802 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
16803 cat >>confdefs.h <<_ACEOF
16804 #define SIZEOF_CHAR $ac_cv_sizeof_char
16805 _ACEOF
16806
16807
16808 echo "$as_me:$LINENO: checking for short" >&5
16809 echo $ECHO_N "checking for short... $ECHO_C" >&6
16810 if test "${ac_cv_type_short+set}" = set; then
16811 echo $ECHO_N "(cached) $ECHO_C" >&6
16812 else
16813 cat >conftest.$ac_ext <<_ACEOF
16814 /* confdefs.h. */
16815 _ACEOF
16816 cat confdefs.h >>conftest.$ac_ext
16817 cat >>conftest.$ac_ext <<_ACEOF
16818 /* end confdefs.h. */
16819 $ac_includes_default
16820 int
16821 main ()
16822 {
16823 if ((short *) 0)
16824 return 0;
16825 if (sizeof (short))
16826 return 0;
16827 ;
16828 return 0;
16829 }
16830 _ACEOF
16831 rm -f conftest.$ac_objext
16832 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16833 (eval $ac_compile) 2>conftest.er1
16834 ac_status=$?
16835 grep -v '^ *+' conftest.er1 >conftest.err
16836 rm -f conftest.er1
16837 cat conftest.err >&5
16838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16839 (exit $ac_status); } &&
16840 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16842 (eval $ac_try) 2>&5
16843 ac_status=$?
16844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16845 (exit $ac_status); }; } &&
16846 { ac_try='test -s conftest.$ac_objext'
16847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16848 (eval $ac_try) 2>&5
16849 ac_status=$?
16850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16851 (exit $ac_status); }; }; then
16852 ac_cv_type_short=yes
16853 else
16854 echo "$as_me: failed program was:" >&5
16855 sed 's/^/| /' conftest.$ac_ext >&5
16856
16857 ac_cv_type_short=no
16858 fi
16859 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16860 fi
16861 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
16862 echo "${ECHO_T}$ac_cv_type_short" >&6
16863
16864 echo "$as_me:$LINENO: checking size of short" >&5
16865 echo $ECHO_N "checking size of short... $ECHO_C" >&6
16866 if test "${ac_cv_sizeof_short+set}" = set; then
16867 echo $ECHO_N "(cached) $ECHO_C" >&6
16868 else
16869 if test "$ac_cv_type_short" = yes; then
16870 # The cast to unsigned long works around a bug in the HP C Compiler
16871 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16872 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16873 # This bug is HP SR number 8606223364.
16874 if test "$cross_compiling" = yes; then
16875 # Depending upon the size, compute the lo and hi bounds.
16876 cat >conftest.$ac_ext <<_ACEOF
16877 /* confdefs.h. */
16878 _ACEOF
16879 cat confdefs.h >>conftest.$ac_ext
16880 cat >>conftest.$ac_ext <<_ACEOF
16881 /* end confdefs.h. */
16882 $ac_includes_default
16883 int
16884 main ()
16885 {
16886 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
16887 test_array [0] = 0
16888
16889 ;
16890 return 0;
16891 }
16892 _ACEOF
16893 rm -f conftest.$ac_objext
16894 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16895 (eval $ac_compile) 2>conftest.er1
16896 ac_status=$?
16897 grep -v '^ *+' conftest.er1 >conftest.err
16898 rm -f conftest.er1
16899 cat conftest.err >&5
16900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16901 (exit $ac_status); } &&
16902 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16904 (eval $ac_try) 2>&5
16905 ac_status=$?
16906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16907 (exit $ac_status); }; } &&
16908 { ac_try='test -s conftest.$ac_objext'
16909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16910 (eval $ac_try) 2>&5
16911 ac_status=$?
16912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16913 (exit $ac_status); }; }; then
16914 ac_lo=0 ac_mid=0
16915 while :; do
16916 cat >conftest.$ac_ext <<_ACEOF
16917 /* confdefs.h. */
16918 _ACEOF
16919 cat confdefs.h >>conftest.$ac_ext
16920 cat >>conftest.$ac_ext <<_ACEOF
16921 /* end confdefs.h. */
16922 $ac_includes_default
16923 int
16924 main ()
16925 {
16926 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
16927 test_array [0] = 0
16928
16929 ;
16930 return 0;
16931 }
16932 _ACEOF
16933 rm -f conftest.$ac_objext
16934 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16935 (eval $ac_compile) 2>conftest.er1
16936 ac_status=$?
16937 grep -v '^ *+' conftest.er1 >conftest.err
16938 rm -f conftest.er1
16939 cat conftest.err >&5
16940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16941 (exit $ac_status); } &&
16942 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16944 (eval $ac_try) 2>&5
16945 ac_status=$?
16946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16947 (exit $ac_status); }; } &&
16948 { ac_try='test -s conftest.$ac_objext'
16949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16950 (eval $ac_try) 2>&5
16951 ac_status=$?
16952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16953 (exit $ac_status); }; }; then
16954 ac_hi=$ac_mid; break
16955 else
16956 echo "$as_me: failed program was:" >&5
16957 sed 's/^/| /' conftest.$ac_ext >&5
16958
16959 ac_lo=`expr $ac_mid + 1`
16960 if test $ac_lo -le $ac_mid; then
16961 ac_lo= ac_hi=
16962 break
16963 fi
16964 ac_mid=`expr 2 '*' $ac_mid + 1`
16965 fi
16966 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16967 done
16968 else
16969 echo "$as_me: failed program was:" >&5
16970 sed 's/^/| /' conftest.$ac_ext >&5
16971
16972 cat >conftest.$ac_ext <<_ACEOF
16973 /* confdefs.h. */
16974 _ACEOF
16975 cat confdefs.h >>conftest.$ac_ext
16976 cat >>conftest.$ac_ext <<_ACEOF
16977 /* end confdefs.h. */
16978 $ac_includes_default
16979 int
16980 main ()
16981 {
16982 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
16983 test_array [0] = 0
16984
16985 ;
16986 return 0;
16987 }
16988 _ACEOF
16989 rm -f conftest.$ac_objext
16990 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16991 (eval $ac_compile) 2>conftest.er1
16992 ac_status=$?
16993 grep -v '^ *+' conftest.er1 >conftest.err
16994 rm -f conftest.er1
16995 cat conftest.err >&5
16996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16997 (exit $ac_status); } &&
16998 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17000 (eval $ac_try) 2>&5
17001 ac_status=$?
17002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17003 (exit $ac_status); }; } &&
17004 { ac_try='test -s conftest.$ac_objext'
17005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17006 (eval $ac_try) 2>&5
17007 ac_status=$?
17008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17009 (exit $ac_status); }; }; then
17010 ac_hi=-1 ac_mid=-1
17011 while :; do
17012 cat >conftest.$ac_ext <<_ACEOF
17013 /* confdefs.h. */
17014 _ACEOF
17015 cat confdefs.h >>conftest.$ac_ext
17016 cat >>conftest.$ac_ext <<_ACEOF
17017 /* end confdefs.h. */
17018 $ac_includes_default
17019 int
17020 main ()
17021 {
17022 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
17023 test_array [0] = 0
17024
17025 ;
17026 return 0;
17027 }
17028 _ACEOF
17029 rm -f conftest.$ac_objext
17030 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17031 (eval $ac_compile) 2>conftest.er1
17032 ac_status=$?
17033 grep -v '^ *+' conftest.er1 >conftest.err
17034 rm -f conftest.er1
17035 cat conftest.err >&5
17036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17037 (exit $ac_status); } &&
17038 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17040 (eval $ac_try) 2>&5
17041 ac_status=$?
17042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17043 (exit $ac_status); }; } &&
17044 { ac_try='test -s conftest.$ac_objext'
17045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17046 (eval $ac_try) 2>&5
17047 ac_status=$?
17048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17049 (exit $ac_status); }; }; then
17050 ac_lo=$ac_mid; break
17051 else
17052 echo "$as_me: failed program was:" >&5
17053 sed 's/^/| /' conftest.$ac_ext >&5
17054
17055 ac_hi=`expr '(' $ac_mid ')' - 1`
17056 if test $ac_mid -le $ac_hi; then
17057 ac_lo= ac_hi=
17058 break
17059 fi
17060 ac_mid=`expr 2 '*' $ac_mid`
17061 fi
17062 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17063 done
17064 else
17065 echo "$as_me: failed program was:" >&5
17066 sed 's/^/| /' conftest.$ac_ext >&5
17067
17068 ac_lo= ac_hi=
17069 fi
17070 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17071 fi
17072 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17073 # Binary search between lo and hi bounds.
17074 while test "x$ac_lo" != "x$ac_hi"; do
17075 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17076 cat >conftest.$ac_ext <<_ACEOF
17077 /* confdefs.h. */
17078 _ACEOF
17079 cat confdefs.h >>conftest.$ac_ext
17080 cat >>conftest.$ac_ext <<_ACEOF
17081 /* end confdefs.h. */
17082 $ac_includes_default
17083 int
17084 main ()
17085 {
17086 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
17087 test_array [0] = 0
17088
17089 ;
17090 return 0;
17091 }
17092 _ACEOF
17093 rm -f conftest.$ac_objext
17094 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17095 (eval $ac_compile) 2>conftest.er1
17096 ac_status=$?
17097 grep -v '^ *+' conftest.er1 >conftest.err
17098 rm -f conftest.er1
17099 cat conftest.err >&5
17100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17101 (exit $ac_status); } &&
17102 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17104 (eval $ac_try) 2>&5
17105 ac_status=$?
17106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17107 (exit $ac_status); }; } &&
17108 { ac_try='test -s conftest.$ac_objext'
17109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17110 (eval $ac_try) 2>&5
17111 ac_status=$?
17112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17113 (exit $ac_status); }; }; then
17114 ac_hi=$ac_mid
17115 else
17116 echo "$as_me: failed program was:" >&5
17117 sed 's/^/| /' conftest.$ac_ext >&5
17118
17119 ac_lo=`expr '(' $ac_mid ')' + 1`
17120 fi
17121 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17122 done
17123 case $ac_lo in
17124 ?*) ac_cv_sizeof_short=$ac_lo;;
17125 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
17126 See \`config.log' for more details." >&5
17127 echo "$as_me: error: cannot compute sizeof (short), 77
17128 See \`config.log' for more details." >&2;}
17129 { (exit 1); exit 1; }; } ;;
17130 esac
17131 else
17132 if test "$cross_compiling" = yes; then
17133 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
17134 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
17135 { (exit 1); exit 1; }; }
17136 else
17137 cat >conftest.$ac_ext <<_ACEOF
17138 /* confdefs.h. */
17139 _ACEOF
17140 cat confdefs.h >>conftest.$ac_ext
17141 cat >>conftest.$ac_ext <<_ACEOF
17142 /* end confdefs.h. */
17143 $ac_includes_default
17144 long longval () { return (long) (sizeof (short)); }
17145 unsigned long ulongval () { return (long) (sizeof (short)); }
17146 #include <stdio.h>
17147 #include <stdlib.h>
17148 int
17149 main ()
17150 {
17151
17152 FILE *f = fopen ("conftest.val", "w");
17153 if (! f)
17154 exit (1);
17155 if (((long) (sizeof (short))) < 0)
17156 {
17157 long i = longval ();
17158 if (i != ((long) (sizeof (short))))
17159 exit (1);
17160 fprintf (f, "%ld\n", i);
17161 }
17162 else
17163 {
17164 unsigned long i = ulongval ();
17165 if (i != ((long) (sizeof (short))))
17166 exit (1);
17167 fprintf (f, "%lu\n", i);
17168 }
17169 exit (ferror (f) || fclose (f) != 0);
17170
17171 ;
17172 return 0;
17173 }
17174 _ACEOF
17175 rm -f conftest$ac_exeext
17176 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17177 (eval $ac_link) 2>&5
17178 ac_status=$?
17179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17180 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
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_cv_sizeof_short=`cat conftest.val`
17187 else
17188 echo "$as_me: program exited with status $ac_status" >&5
17189 echo "$as_me: failed program was:" >&5
17190 sed 's/^/| /' conftest.$ac_ext >&5
17191
17192 ( exit $ac_status )
17193 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
17194 See \`config.log' for more details." >&5
17195 echo "$as_me: error: cannot compute sizeof (short), 77
17196 See \`config.log' for more details." >&2;}
17197 { (exit 1); exit 1; }; }
17198 fi
17199 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17200 fi
17201 fi
17202 rm -f conftest.val
17203 else
17204 ac_cv_sizeof_short=0
17205 fi
17206 fi
17207 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
17208 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
17209 cat >>confdefs.h <<_ACEOF
17210 #define SIZEOF_SHORT $ac_cv_sizeof_short
17211 _ACEOF
17212
17213
17214 echo "$as_me:$LINENO: checking for void *" >&5
17215 echo $ECHO_N "checking for void *... $ECHO_C" >&6
17216 if test "${ac_cv_type_void_p+set}" = set; then
17217 echo $ECHO_N "(cached) $ECHO_C" >&6
17218 else
17219 cat >conftest.$ac_ext <<_ACEOF
17220 /* confdefs.h. */
17221 _ACEOF
17222 cat confdefs.h >>conftest.$ac_ext
17223 cat >>conftest.$ac_ext <<_ACEOF
17224 /* end confdefs.h. */
17225 $ac_includes_default
17226 int
17227 main ()
17228 {
17229 if ((void * *) 0)
17230 return 0;
17231 if (sizeof (void *))
17232 return 0;
17233 ;
17234 return 0;
17235 }
17236 _ACEOF
17237 rm -f conftest.$ac_objext
17238 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17239 (eval $ac_compile) 2>conftest.er1
17240 ac_status=$?
17241 grep -v '^ *+' conftest.er1 >conftest.err
17242 rm -f conftest.er1
17243 cat conftest.err >&5
17244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17245 (exit $ac_status); } &&
17246 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17248 (eval $ac_try) 2>&5
17249 ac_status=$?
17250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17251 (exit $ac_status); }; } &&
17252 { ac_try='test -s conftest.$ac_objext'
17253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17254 (eval $ac_try) 2>&5
17255 ac_status=$?
17256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17257 (exit $ac_status); }; }; then
17258 ac_cv_type_void_p=yes
17259 else
17260 echo "$as_me: failed program was:" >&5
17261 sed 's/^/| /' conftest.$ac_ext >&5
17262
17263 ac_cv_type_void_p=no
17264 fi
17265 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17266 fi
17267 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
17268 echo "${ECHO_T}$ac_cv_type_void_p" >&6
17269
17270 echo "$as_me:$LINENO: checking size of void *" >&5
17271 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
17272 if test "${ac_cv_sizeof_void_p+set}" = set; then
17273 echo $ECHO_N "(cached) $ECHO_C" >&6
17274 else
17275 if test "$ac_cv_type_void_p" = yes; then
17276 # The cast to unsigned long works around a bug in the HP C Compiler
17277 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17278 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17279 # This bug is HP SR number 8606223364.
17280 if test "$cross_compiling" = yes; then
17281 # Depending upon the size, compute the lo and hi bounds.
17282 cat >conftest.$ac_ext <<_ACEOF
17283 /* confdefs.h. */
17284 _ACEOF
17285 cat confdefs.h >>conftest.$ac_ext
17286 cat >>conftest.$ac_ext <<_ACEOF
17287 /* end confdefs.h. */
17288 $ac_includes_default
17289 int
17290 main ()
17291 {
17292 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
17293 test_array [0] = 0
17294
17295 ;
17296 return 0;
17297 }
17298 _ACEOF
17299 rm -f conftest.$ac_objext
17300 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17301 (eval $ac_compile) 2>conftest.er1
17302 ac_status=$?
17303 grep -v '^ *+' conftest.er1 >conftest.err
17304 rm -f conftest.er1
17305 cat conftest.err >&5
17306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17307 (exit $ac_status); } &&
17308 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17310 (eval $ac_try) 2>&5
17311 ac_status=$?
17312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17313 (exit $ac_status); }; } &&
17314 { ac_try='test -s conftest.$ac_objext'
17315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17316 (eval $ac_try) 2>&5
17317 ac_status=$?
17318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17319 (exit $ac_status); }; }; then
17320 ac_lo=0 ac_mid=0
17321 while :; do
17322 cat >conftest.$ac_ext <<_ACEOF
17323 /* confdefs.h. */
17324 _ACEOF
17325 cat confdefs.h >>conftest.$ac_ext
17326 cat >>conftest.$ac_ext <<_ACEOF
17327 /* end confdefs.h. */
17328 $ac_includes_default
17329 int
17330 main ()
17331 {
17332 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
17333 test_array [0] = 0
17334
17335 ;
17336 return 0;
17337 }
17338 _ACEOF
17339 rm -f conftest.$ac_objext
17340 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17341 (eval $ac_compile) 2>conftest.er1
17342 ac_status=$?
17343 grep -v '^ *+' conftest.er1 >conftest.err
17344 rm -f conftest.er1
17345 cat conftest.err >&5
17346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17347 (exit $ac_status); } &&
17348 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17350 (eval $ac_try) 2>&5
17351 ac_status=$?
17352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17353 (exit $ac_status); }; } &&
17354 { ac_try='test -s conftest.$ac_objext'
17355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17356 (eval $ac_try) 2>&5
17357 ac_status=$?
17358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17359 (exit $ac_status); }; }; then
17360 ac_hi=$ac_mid; break
17361 else
17362 echo "$as_me: failed program was:" >&5
17363 sed 's/^/| /' conftest.$ac_ext >&5
17364
17365 ac_lo=`expr $ac_mid + 1`
17366 if test $ac_lo -le $ac_mid; then
17367 ac_lo= ac_hi=
17368 break
17369 fi
17370 ac_mid=`expr 2 '*' $ac_mid + 1`
17371 fi
17372 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17373 done
17374 else
17375 echo "$as_me: failed program was:" >&5
17376 sed 's/^/| /' conftest.$ac_ext >&5
17377
17378 cat >conftest.$ac_ext <<_ACEOF
17379 /* confdefs.h. */
17380 _ACEOF
17381 cat confdefs.h >>conftest.$ac_ext
17382 cat >>conftest.$ac_ext <<_ACEOF
17383 /* end confdefs.h. */
17384 $ac_includes_default
17385 int
17386 main ()
17387 {
17388 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
17389 test_array [0] = 0
17390
17391 ;
17392 return 0;
17393 }
17394 _ACEOF
17395 rm -f conftest.$ac_objext
17396 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17397 (eval $ac_compile) 2>conftest.er1
17398 ac_status=$?
17399 grep -v '^ *+' conftest.er1 >conftest.err
17400 rm -f conftest.er1
17401 cat conftest.err >&5
17402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17403 (exit $ac_status); } &&
17404 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17406 (eval $ac_try) 2>&5
17407 ac_status=$?
17408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17409 (exit $ac_status); }; } &&
17410 { ac_try='test -s conftest.$ac_objext'
17411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17412 (eval $ac_try) 2>&5
17413 ac_status=$?
17414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17415 (exit $ac_status); }; }; then
17416 ac_hi=-1 ac_mid=-1
17417 while :; do
17418 cat >conftest.$ac_ext <<_ACEOF
17419 /* confdefs.h. */
17420 _ACEOF
17421 cat confdefs.h >>conftest.$ac_ext
17422 cat >>conftest.$ac_ext <<_ACEOF
17423 /* end confdefs.h. */
17424 $ac_includes_default
17425 int
17426 main ()
17427 {
17428 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
17429 test_array [0] = 0
17430
17431 ;
17432 return 0;
17433 }
17434 _ACEOF
17435 rm -f conftest.$ac_objext
17436 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17437 (eval $ac_compile) 2>conftest.er1
17438 ac_status=$?
17439 grep -v '^ *+' conftest.er1 >conftest.err
17440 rm -f conftest.er1
17441 cat conftest.err >&5
17442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17443 (exit $ac_status); } &&
17444 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17446 (eval $ac_try) 2>&5
17447 ac_status=$?
17448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17449 (exit $ac_status); }; } &&
17450 { ac_try='test -s conftest.$ac_objext'
17451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17452 (eval $ac_try) 2>&5
17453 ac_status=$?
17454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17455 (exit $ac_status); }; }; then
17456 ac_lo=$ac_mid; break
17457 else
17458 echo "$as_me: failed program was:" >&5
17459 sed 's/^/| /' conftest.$ac_ext >&5
17460
17461 ac_hi=`expr '(' $ac_mid ')' - 1`
17462 if test $ac_mid -le $ac_hi; then
17463 ac_lo= ac_hi=
17464 break
17465 fi
17466 ac_mid=`expr 2 '*' $ac_mid`
17467 fi
17468 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17469 done
17470 else
17471 echo "$as_me: failed program was:" >&5
17472 sed 's/^/| /' conftest.$ac_ext >&5
17473
17474 ac_lo= ac_hi=
17475 fi
17476 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17477 fi
17478 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17479 # Binary search between lo and hi bounds.
17480 while test "x$ac_lo" != "x$ac_hi"; do
17481 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17482 cat >conftest.$ac_ext <<_ACEOF
17483 /* confdefs.h. */
17484 _ACEOF
17485 cat confdefs.h >>conftest.$ac_ext
17486 cat >>conftest.$ac_ext <<_ACEOF
17487 /* end confdefs.h. */
17488 $ac_includes_default
17489 int
17490 main ()
17491 {
17492 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
17493 test_array [0] = 0
17494
17495 ;
17496 return 0;
17497 }
17498 _ACEOF
17499 rm -f conftest.$ac_objext
17500 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17501 (eval $ac_compile) 2>conftest.er1
17502 ac_status=$?
17503 grep -v '^ *+' conftest.er1 >conftest.err
17504 rm -f conftest.er1
17505 cat conftest.err >&5
17506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17507 (exit $ac_status); } &&
17508 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17510 (eval $ac_try) 2>&5
17511 ac_status=$?
17512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17513 (exit $ac_status); }; } &&
17514 { ac_try='test -s conftest.$ac_objext'
17515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17516 (eval $ac_try) 2>&5
17517 ac_status=$?
17518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17519 (exit $ac_status); }; }; then
17520 ac_hi=$ac_mid
17521 else
17522 echo "$as_me: failed program was:" >&5
17523 sed 's/^/| /' conftest.$ac_ext >&5
17524
17525 ac_lo=`expr '(' $ac_mid ')' + 1`
17526 fi
17527 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17528 done
17529 case $ac_lo in
17530 ?*) ac_cv_sizeof_void_p=$ac_lo;;
17531 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
17532 See \`config.log' for more details." >&5
17533 echo "$as_me: error: cannot compute sizeof (void *), 77
17534 See \`config.log' for more details." >&2;}
17535 { (exit 1); exit 1; }; } ;;
17536 esac
17537 else
17538 if test "$cross_compiling" = yes; then
17539 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
17540 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
17541 { (exit 1); exit 1; }; }
17542 else
17543 cat >conftest.$ac_ext <<_ACEOF
17544 /* confdefs.h. */
17545 _ACEOF
17546 cat confdefs.h >>conftest.$ac_ext
17547 cat >>conftest.$ac_ext <<_ACEOF
17548 /* end confdefs.h. */
17549 $ac_includes_default
17550 long longval () { return (long) (sizeof (void *)); }
17551 unsigned long ulongval () { return (long) (sizeof (void *)); }
17552 #include <stdio.h>
17553 #include <stdlib.h>
17554 int
17555 main ()
17556 {
17557
17558 FILE *f = fopen ("conftest.val", "w");
17559 if (! f)
17560 exit (1);
17561 if (((long) (sizeof (void *))) < 0)
17562 {
17563 long i = longval ();
17564 if (i != ((long) (sizeof (void *))))
17565 exit (1);
17566 fprintf (f, "%ld\n", i);
17567 }
17568 else
17569 {
17570 unsigned long i = ulongval ();
17571 if (i != ((long) (sizeof (void *))))
17572 exit (1);
17573 fprintf (f, "%lu\n", i);
17574 }
17575 exit (ferror (f) || fclose (f) != 0);
17576
17577 ;
17578 return 0;
17579 }
17580 _ACEOF
17581 rm -f conftest$ac_exeext
17582 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17583 (eval $ac_link) 2>&5
17584 ac_status=$?
17585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17586 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17588 (eval $ac_try) 2>&5
17589 ac_status=$?
17590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17591 (exit $ac_status); }; }; then
17592 ac_cv_sizeof_void_p=`cat conftest.val`
17593 else
17594 echo "$as_me: program exited with status $ac_status" >&5
17595 echo "$as_me: failed program was:" >&5
17596 sed 's/^/| /' conftest.$ac_ext >&5
17597
17598 ( exit $ac_status )
17599 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
17600 See \`config.log' for more details." >&5
17601 echo "$as_me: error: cannot compute sizeof (void *), 77
17602 See \`config.log' for more details." >&2;}
17603 { (exit 1); exit 1; }; }
17604 fi
17605 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17606 fi
17607 fi
17608 rm -f conftest.val
17609 else
17610 ac_cv_sizeof_void_p=0
17611 fi
17612 fi
17613 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
17614 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
17615 cat >>confdefs.h <<_ACEOF
17616 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
17617 _ACEOF
17618
17619
17620 echo "$as_me:$LINENO: checking for int" >&5
17621 echo $ECHO_N "checking for int... $ECHO_C" >&6
17622 if test "${ac_cv_type_int+set}" = set; then
17623 echo $ECHO_N "(cached) $ECHO_C" >&6
17624 else
17625 cat >conftest.$ac_ext <<_ACEOF
17626 /* confdefs.h. */
17627 _ACEOF
17628 cat confdefs.h >>conftest.$ac_ext
17629 cat >>conftest.$ac_ext <<_ACEOF
17630 /* end confdefs.h. */
17631 $ac_includes_default
17632 int
17633 main ()
17634 {
17635 if ((int *) 0)
17636 return 0;
17637 if (sizeof (int))
17638 return 0;
17639 ;
17640 return 0;
17641 }
17642 _ACEOF
17643 rm -f conftest.$ac_objext
17644 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17645 (eval $ac_compile) 2>conftest.er1
17646 ac_status=$?
17647 grep -v '^ *+' conftest.er1 >conftest.err
17648 rm -f conftest.er1
17649 cat conftest.err >&5
17650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17651 (exit $ac_status); } &&
17652 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17654 (eval $ac_try) 2>&5
17655 ac_status=$?
17656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17657 (exit $ac_status); }; } &&
17658 { ac_try='test -s conftest.$ac_objext'
17659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17660 (eval $ac_try) 2>&5
17661 ac_status=$?
17662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17663 (exit $ac_status); }; }; then
17664 ac_cv_type_int=yes
17665 else
17666 echo "$as_me: failed program was:" >&5
17667 sed 's/^/| /' conftest.$ac_ext >&5
17668
17669 ac_cv_type_int=no
17670 fi
17671 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17672 fi
17673 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
17674 echo "${ECHO_T}$ac_cv_type_int" >&6
17675
17676 echo "$as_me:$LINENO: checking size of int" >&5
17677 echo $ECHO_N "checking size of int... $ECHO_C" >&6
17678 if test "${ac_cv_sizeof_int+set}" = set; then
17679 echo $ECHO_N "(cached) $ECHO_C" >&6
17680 else
17681 if test "$ac_cv_type_int" = yes; then
17682 # The cast to unsigned long works around a bug in the HP C Compiler
17683 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17684 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17685 # This bug is HP SR number 8606223364.
17686 if test "$cross_compiling" = yes; then
17687 # Depending upon the size, compute the lo and hi bounds.
17688 cat >conftest.$ac_ext <<_ACEOF
17689 /* confdefs.h. */
17690 _ACEOF
17691 cat confdefs.h >>conftest.$ac_ext
17692 cat >>conftest.$ac_ext <<_ACEOF
17693 /* end confdefs.h. */
17694 $ac_includes_default
17695 int
17696 main ()
17697 {
17698 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
17699 test_array [0] = 0
17700
17701 ;
17702 return 0;
17703 }
17704 _ACEOF
17705 rm -f conftest.$ac_objext
17706 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17707 (eval $ac_compile) 2>conftest.er1
17708 ac_status=$?
17709 grep -v '^ *+' conftest.er1 >conftest.err
17710 rm -f conftest.er1
17711 cat conftest.err >&5
17712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17713 (exit $ac_status); } &&
17714 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17716 (eval $ac_try) 2>&5
17717 ac_status=$?
17718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17719 (exit $ac_status); }; } &&
17720 { ac_try='test -s conftest.$ac_objext'
17721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17722 (eval $ac_try) 2>&5
17723 ac_status=$?
17724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17725 (exit $ac_status); }; }; then
17726 ac_lo=0 ac_mid=0
17727 while :; do
17728 cat >conftest.$ac_ext <<_ACEOF
17729 /* confdefs.h. */
17730 _ACEOF
17731 cat confdefs.h >>conftest.$ac_ext
17732 cat >>conftest.$ac_ext <<_ACEOF
17733 /* end confdefs.h. */
17734 $ac_includes_default
17735 int
17736 main ()
17737 {
17738 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
17739 test_array [0] = 0
17740
17741 ;
17742 return 0;
17743 }
17744 _ACEOF
17745 rm -f conftest.$ac_objext
17746 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17747 (eval $ac_compile) 2>conftest.er1
17748 ac_status=$?
17749 grep -v '^ *+' conftest.er1 >conftest.err
17750 rm -f conftest.er1
17751 cat conftest.err >&5
17752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17753 (exit $ac_status); } &&
17754 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17756 (eval $ac_try) 2>&5
17757 ac_status=$?
17758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17759 (exit $ac_status); }; } &&
17760 { ac_try='test -s conftest.$ac_objext'
17761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17762 (eval $ac_try) 2>&5
17763 ac_status=$?
17764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17765 (exit $ac_status); }; }; then
17766 ac_hi=$ac_mid; break
17767 else
17768 echo "$as_me: failed program was:" >&5
17769 sed 's/^/| /' conftest.$ac_ext >&5
17770
17771 ac_lo=`expr $ac_mid + 1`
17772 if test $ac_lo -le $ac_mid; then
17773 ac_lo= ac_hi=
17774 break
17775 fi
17776 ac_mid=`expr 2 '*' $ac_mid + 1`
17777 fi
17778 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17779 done
17780 else
17781 echo "$as_me: failed program was:" >&5
17782 sed 's/^/| /' conftest.$ac_ext >&5
17783
17784 cat >conftest.$ac_ext <<_ACEOF
17785 /* confdefs.h. */
17786 _ACEOF
17787 cat confdefs.h >>conftest.$ac_ext
17788 cat >>conftest.$ac_ext <<_ACEOF
17789 /* end confdefs.h. */
17790 $ac_includes_default
17791 int
17792 main ()
17793 {
17794 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
17795 test_array [0] = 0
17796
17797 ;
17798 return 0;
17799 }
17800 _ACEOF
17801 rm -f conftest.$ac_objext
17802 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17803 (eval $ac_compile) 2>conftest.er1
17804 ac_status=$?
17805 grep -v '^ *+' conftest.er1 >conftest.err
17806 rm -f conftest.er1
17807 cat conftest.err >&5
17808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17809 (exit $ac_status); } &&
17810 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17812 (eval $ac_try) 2>&5
17813 ac_status=$?
17814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17815 (exit $ac_status); }; } &&
17816 { ac_try='test -s conftest.$ac_objext'
17817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17818 (eval $ac_try) 2>&5
17819 ac_status=$?
17820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17821 (exit $ac_status); }; }; then
17822 ac_hi=-1 ac_mid=-1
17823 while :; do
17824 cat >conftest.$ac_ext <<_ACEOF
17825 /* confdefs.h. */
17826 _ACEOF
17827 cat confdefs.h >>conftest.$ac_ext
17828 cat >>conftest.$ac_ext <<_ACEOF
17829 /* end confdefs.h. */
17830 $ac_includes_default
17831 int
17832 main ()
17833 {
17834 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
17835 test_array [0] = 0
17836
17837 ;
17838 return 0;
17839 }
17840 _ACEOF
17841 rm -f conftest.$ac_objext
17842 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17843 (eval $ac_compile) 2>conftest.er1
17844 ac_status=$?
17845 grep -v '^ *+' conftest.er1 >conftest.err
17846 rm -f conftest.er1
17847 cat conftest.err >&5
17848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17849 (exit $ac_status); } &&
17850 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17852 (eval $ac_try) 2>&5
17853 ac_status=$?
17854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17855 (exit $ac_status); }; } &&
17856 { ac_try='test -s conftest.$ac_objext'
17857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17858 (eval $ac_try) 2>&5
17859 ac_status=$?
17860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17861 (exit $ac_status); }; }; then
17862 ac_lo=$ac_mid; break
17863 else
17864 echo "$as_me: failed program was:" >&5
17865 sed 's/^/| /' conftest.$ac_ext >&5
17866
17867 ac_hi=`expr '(' $ac_mid ')' - 1`
17868 if test $ac_mid -le $ac_hi; then
17869 ac_lo= ac_hi=
17870 break
17871 fi
17872 ac_mid=`expr 2 '*' $ac_mid`
17873 fi
17874 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17875 done
17876 else
17877 echo "$as_me: failed program was:" >&5
17878 sed 's/^/| /' conftest.$ac_ext >&5
17879
17880 ac_lo= ac_hi=
17881 fi
17882 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17883 fi
17884 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17885 # Binary search between lo and hi bounds.
17886 while test "x$ac_lo" != "x$ac_hi"; do
17887 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17888 cat >conftest.$ac_ext <<_ACEOF
17889 /* confdefs.h. */
17890 _ACEOF
17891 cat confdefs.h >>conftest.$ac_ext
17892 cat >>conftest.$ac_ext <<_ACEOF
17893 /* end confdefs.h. */
17894 $ac_includes_default
17895 int
17896 main ()
17897 {
17898 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
17899 test_array [0] = 0
17900
17901 ;
17902 return 0;
17903 }
17904 _ACEOF
17905 rm -f conftest.$ac_objext
17906 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17907 (eval $ac_compile) 2>conftest.er1
17908 ac_status=$?
17909 grep -v '^ *+' conftest.er1 >conftest.err
17910 rm -f conftest.er1
17911 cat conftest.err >&5
17912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17913 (exit $ac_status); } &&
17914 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17916 (eval $ac_try) 2>&5
17917 ac_status=$?
17918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17919 (exit $ac_status); }; } &&
17920 { ac_try='test -s conftest.$ac_objext'
17921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17922 (eval $ac_try) 2>&5
17923 ac_status=$?
17924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17925 (exit $ac_status); }; }; then
17926 ac_hi=$ac_mid
17927 else
17928 echo "$as_me: failed program was:" >&5
17929 sed 's/^/| /' conftest.$ac_ext >&5
17930
17931 ac_lo=`expr '(' $ac_mid ')' + 1`
17932 fi
17933 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17934 done
17935 case $ac_lo in
17936 ?*) ac_cv_sizeof_int=$ac_lo;;
17937 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
17938 See \`config.log' for more details." >&5
17939 echo "$as_me: error: cannot compute sizeof (int), 77
17940 See \`config.log' for more details." >&2;}
17941 { (exit 1); exit 1; }; } ;;
17942 esac
17943 else
17944 if test "$cross_compiling" = yes; then
17945 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
17946 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
17947 { (exit 1); exit 1; }; }
17948 else
17949 cat >conftest.$ac_ext <<_ACEOF
17950 /* confdefs.h. */
17951 _ACEOF
17952 cat confdefs.h >>conftest.$ac_ext
17953 cat >>conftest.$ac_ext <<_ACEOF
17954 /* end confdefs.h. */
17955 $ac_includes_default
17956 long longval () { return (long) (sizeof (int)); }
17957 unsigned long ulongval () { return (long) (sizeof (int)); }
17958 #include <stdio.h>
17959 #include <stdlib.h>
17960 int
17961 main ()
17962 {
17963
17964 FILE *f = fopen ("conftest.val", "w");
17965 if (! f)
17966 exit (1);
17967 if (((long) (sizeof (int))) < 0)
17968 {
17969 long i = longval ();
17970 if (i != ((long) (sizeof (int))))
17971 exit (1);
17972 fprintf (f, "%ld\n", i);
17973 }
17974 else
17975 {
17976 unsigned long i = ulongval ();
17977 if (i != ((long) (sizeof (int))))
17978 exit (1);
17979 fprintf (f, "%lu\n", i);
17980 }
17981 exit (ferror (f) || fclose (f) != 0);
17982
17983 ;
17984 return 0;
17985 }
17986 _ACEOF
17987 rm -f conftest$ac_exeext
17988 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17989 (eval $ac_link) 2>&5
17990 ac_status=$?
17991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17992 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17994 (eval $ac_try) 2>&5
17995 ac_status=$?
17996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17997 (exit $ac_status); }; }; then
17998 ac_cv_sizeof_int=`cat conftest.val`
17999 else
18000 echo "$as_me: program exited with status $ac_status" >&5
18001 echo "$as_me: failed program was:" >&5
18002 sed 's/^/| /' conftest.$ac_ext >&5
18003
18004 ( exit $ac_status )
18005 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
18006 See \`config.log' for more details." >&5
18007 echo "$as_me: error: cannot compute sizeof (int), 77
18008 See \`config.log' for more details." >&2;}
18009 { (exit 1); exit 1; }; }
18010 fi
18011 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18012 fi
18013 fi
18014 rm -f conftest.val
18015 else
18016 ac_cv_sizeof_int=0
18017 fi
18018 fi
18019 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
18020 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
18021 cat >>confdefs.h <<_ACEOF
18022 #define SIZEOF_INT $ac_cv_sizeof_int
18023 _ACEOF
18024
18025
18026 echo "$as_me:$LINENO: checking for long" >&5
18027 echo $ECHO_N "checking for long... $ECHO_C" >&6
18028 if test "${ac_cv_type_long+set}" = set; then
18029 echo $ECHO_N "(cached) $ECHO_C" >&6
18030 else
18031 cat >conftest.$ac_ext <<_ACEOF
18032 /* confdefs.h. */
18033 _ACEOF
18034 cat confdefs.h >>conftest.$ac_ext
18035 cat >>conftest.$ac_ext <<_ACEOF
18036 /* end confdefs.h. */
18037 $ac_includes_default
18038 int
18039 main ()
18040 {
18041 if ((long *) 0)
18042 return 0;
18043 if (sizeof (long))
18044 return 0;
18045 ;
18046 return 0;
18047 }
18048 _ACEOF
18049 rm -f conftest.$ac_objext
18050 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18051 (eval $ac_compile) 2>conftest.er1
18052 ac_status=$?
18053 grep -v '^ *+' conftest.er1 >conftest.err
18054 rm -f conftest.er1
18055 cat conftest.err >&5
18056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18057 (exit $ac_status); } &&
18058 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18060 (eval $ac_try) 2>&5
18061 ac_status=$?
18062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18063 (exit $ac_status); }; } &&
18064 { ac_try='test -s conftest.$ac_objext'
18065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18066 (eval $ac_try) 2>&5
18067 ac_status=$?
18068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18069 (exit $ac_status); }; }; then
18070 ac_cv_type_long=yes
18071 else
18072 echo "$as_me: failed program was:" >&5
18073 sed 's/^/| /' conftest.$ac_ext >&5
18074
18075 ac_cv_type_long=no
18076 fi
18077 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18078 fi
18079 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
18080 echo "${ECHO_T}$ac_cv_type_long" >&6
18081
18082 echo "$as_me:$LINENO: checking size of long" >&5
18083 echo $ECHO_N "checking size of long... $ECHO_C" >&6
18084 if test "${ac_cv_sizeof_long+set}" = set; then
18085 echo $ECHO_N "(cached) $ECHO_C" >&6
18086 else
18087 if test "$ac_cv_type_long" = yes; then
18088 # The cast to unsigned long works around a bug in the HP C Compiler
18089 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18090 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18091 # This bug is HP SR number 8606223364.
18092 if test "$cross_compiling" = yes; then
18093 # Depending upon the size, compute the lo and hi bounds.
18094 cat >conftest.$ac_ext <<_ACEOF
18095 /* confdefs.h. */
18096 _ACEOF
18097 cat confdefs.h >>conftest.$ac_ext
18098 cat >>conftest.$ac_ext <<_ACEOF
18099 /* end confdefs.h. */
18100 $ac_includes_default
18101 int
18102 main ()
18103 {
18104 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
18105 test_array [0] = 0
18106
18107 ;
18108 return 0;
18109 }
18110 _ACEOF
18111 rm -f conftest.$ac_objext
18112 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18113 (eval $ac_compile) 2>conftest.er1
18114 ac_status=$?
18115 grep -v '^ *+' conftest.er1 >conftest.err
18116 rm -f conftest.er1
18117 cat conftest.err >&5
18118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18119 (exit $ac_status); } &&
18120 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18122 (eval $ac_try) 2>&5
18123 ac_status=$?
18124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18125 (exit $ac_status); }; } &&
18126 { ac_try='test -s conftest.$ac_objext'
18127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18128 (eval $ac_try) 2>&5
18129 ac_status=$?
18130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18131 (exit $ac_status); }; }; then
18132 ac_lo=0 ac_mid=0
18133 while :; do
18134 cat >conftest.$ac_ext <<_ACEOF
18135 /* confdefs.h. */
18136 _ACEOF
18137 cat confdefs.h >>conftest.$ac_ext
18138 cat >>conftest.$ac_ext <<_ACEOF
18139 /* end confdefs.h. */
18140 $ac_includes_default
18141 int
18142 main ()
18143 {
18144 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
18145 test_array [0] = 0
18146
18147 ;
18148 return 0;
18149 }
18150 _ACEOF
18151 rm -f conftest.$ac_objext
18152 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18153 (eval $ac_compile) 2>conftest.er1
18154 ac_status=$?
18155 grep -v '^ *+' conftest.er1 >conftest.err
18156 rm -f conftest.er1
18157 cat conftest.err >&5
18158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18159 (exit $ac_status); } &&
18160 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18162 (eval $ac_try) 2>&5
18163 ac_status=$?
18164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18165 (exit $ac_status); }; } &&
18166 { ac_try='test -s conftest.$ac_objext'
18167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18168 (eval $ac_try) 2>&5
18169 ac_status=$?
18170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18171 (exit $ac_status); }; }; then
18172 ac_hi=$ac_mid; break
18173 else
18174 echo "$as_me: failed program was:" >&5
18175 sed 's/^/| /' conftest.$ac_ext >&5
18176
18177 ac_lo=`expr $ac_mid + 1`
18178 if test $ac_lo -le $ac_mid; then
18179 ac_lo= ac_hi=
18180 break
18181 fi
18182 ac_mid=`expr 2 '*' $ac_mid + 1`
18183 fi
18184 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18185 done
18186 else
18187 echo "$as_me: failed program was:" >&5
18188 sed 's/^/| /' conftest.$ac_ext >&5
18189
18190 cat >conftest.$ac_ext <<_ACEOF
18191 /* confdefs.h. */
18192 _ACEOF
18193 cat confdefs.h >>conftest.$ac_ext
18194 cat >>conftest.$ac_ext <<_ACEOF
18195 /* end confdefs.h. */
18196 $ac_includes_default
18197 int
18198 main ()
18199 {
18200 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
18201 test_array [0] = 0
18202
18203 ;
18204 return 0;
18205 }
18206 _ACEOF
18207 rm -f conftest.$ac_objext
18208 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18209 (eval $ac_compile) 2>conftest.er1
18210 ac_status=$?
18211 grep -v '^ *+' conftest.er1 >conftest.err
18212 rm -f conftest.er1
18213 cat conftest.err >&5
18214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18215 (exit $ac_status); } &&
18216 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18218 (eval $ac_try) 2>&5
18219 ac_status=$?
18220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18221 (exit $ac_status); }; } &&
18222 { ac_try='test -s conftest.$ac_objext'
18223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18224 (eval $ac_try) 2>&5
18225 ac_status=$?
18226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18227 (exit $ac_status); }; }; then
18228 ac_hi=-1 ac_mid=-1
18229 while :; do
18230 cat >conftest.$ac_ext <<_ACEOF
18231 /* confdefs.h. */
18232 _ACEOF
18233 cat confdefs.h >>conftest.$ac_ext
18234 cat >>conftest.$ac_ext <<_ACEOF
18235 /* end confdefs.h. */
18236 $ac_includes_default
18237 int
18238 main ()
18239 {
18240 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
18241 test_array [0] = 0
18242
18243 ;
18244 return 0;
18245 }
18246 _ACEOF
18247 rm -f conftest.$ac_objext
18248 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18249 (eval $ac_compile) 2>conftest.er1
18250 ac_status=$?
18251 grep -v '^ *+' conftest.er1 >conftest.err
18252 rm -f conftest.er1
18253 cat conftest.err >&5
18254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18255 (exit $ac_status); } &&
18256 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18258 (eval $ac_try) 2>&5
18259 ac_status=$?
18260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18261 (exit $ac_status); }; } &&
18262 { ac_try='test -s conftest.$ac_objext'
18263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18264 (eval $ac_try) 2>&5
18265 ac_status=$?
18266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18267 (exit $ac_status); }; }; then
18268 ac_lo=$ac_mid; break
18269 else
18270 echo "$as_me: failed program was:" >&5
18271 sed 's/^/| /' conftest.$ac_ext >&5
18272
18273 ac_hi=`expr '(' $ac_mid ')' - 1`
18274 if test $ac_mid -le $ac_hi; then
18275 ac_lo= ac_hi=
18276 break
18277 fi
18278 ac_mid=`expr 2 '*' $ac_mid`
18279 fi
18280 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18281 done
18282 else
18283 echo "$as_me: failed program was:" >&5
18284 sed 's/^/| /' conftest.$ac_ext >&5
18285
18286 ac_lo= ac_hi=
18287 fi
18288 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18289 fi
18290 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18291 # Binary search between lo and hi bounds.
18292 while test "x$ac_lo" != "x$ac_hi"; do
18293 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18294 cat >conftest.$ac_ext <<_ACEOF
18295 /* confdefs.h. */
18296 _ACEOF
18297 cat confdefs.h >>conftest.$ac_ext
18298 cat >>conftest.$ac_ext <<_ACEOF
18299 /* end confdefs.h. */
18300 $ac_includes_default
18301 int
18302 main ()
18303 {
18304 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
18305 test_array [0] = 0
18306
18307 ;
18308 return 0;
18309 }
18310 _ACEOF
18311 rm -f conftest.$ac_objext
18312 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18313 (eval $ac_compile) 2>conftest.er1
18314 ac_status=$?
18315 grep -v '^ *+' conftest.er1 >conftest.err
18316 rm -f conftest.er1
18317 cat conftest.err >&5
18318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18319 (exit $ac_status); } &&
18320 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18322 (eval $ac_try) 2>&5
18323 ac_status=$?
18324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18325 (exit $ac_status); }; } &&
18326 { ac_try='test -s conftest.$ac_objext'
18327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18328 (eval $ac_try) 2>&5
18329 ac_status=$?
18330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18331 (exit $ac_status); }; }; then
18332 ac_hi=$ac_mid
18333 else
18334 echo "$as_me: failed program was:" >&5
18335 sed 's/^/| /' conftest.$ac_ext >&5
18336
18337 ac_lo=`expr '(' $ac_mid ')' + 1`
18338 fi
18339 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18340 done
18341 case $ac_lo in
18342 ?*) ac_cv_sizeof_long=$ac_lo;;
18343 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
18344 See \`config.log' for more details." >&5
18345 echo "$as_me: error: cannot compute sizeof (long), 77
18346 See \`config.log' for more details." >&2;}
18347 { (exit 1); exit 1; }; } ;;
18348 esac
18349 else
18350 if test "$cross_compiling" = yes; then
18351 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
18352 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
18353 { (exit 1); exit 1; }; }
18354 else
18355 cat >conftest.$ac_ext <<_ACEOF
18356 /* confdefs.h. */
18357 _ACEOF
18358 cat confdefs.h >>conftest.$ac_ext
18359 cat >>conftest.$ac_ext <<_ACEOF
18360 /* end confdefs.h. */
18361 $ac_includes_default
18362 long longval () { return (long) (sizeof (long)); }
18363 unsigned long ulongval () { return (long) (sizeof (long)); }
18364 #include <stdio.h>
18365 #include <stdlib.h>
18366 int
18367 main ()
18368 {
18369
18370 FILE *f = fopen ("conftest.val", "w");
18371 if (! f)
18372 exit (1);
18373 if (((long) (sizeof (long))) < 0)
18374 {
18375 long i = longval ();
18376 if (i != ((long) (sizeof (long))))
18377 exit (1);
18378 fprintf (f, "%ld\n", i);
18379 }
18380 else
18381 {
18382 unsigned long i = ulongval ();
18383 if (i != ((long) (sizeof (long))))
18384 exit (1);
18385 fprintf (f, "%lu\n", i);
18386 }
18387 exit (ferror (f) || fclose (f) != 0);
18388
18389 ;
18390 return 0;
18391 }
18392 _ACEOF
18393 rm -f conftest$ac_exeext
18394 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18395 (eval $ac_link) 2>&5
18396 ac_status=$?
18397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18398 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18400 (eval $ac_try) 2>&5
18401 ac_status=$?
18402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18403 (exit $ac_status); }; }; then
18404 ac_cv_sizeof_long=`cat conftest.val`
18405 else
18406 echo "$as_me: program exited with status $ac_status" >&5
18407 echo "$as_me: failed program was:" >&5
18408 sed 's/^/| /' conftest.$ac_ext >&5
18409
18410 ( exit $ac_status )
18411 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
18412 See \`config.log' for more details." >&5
18413 echo "$as_me: error: cannot compute sizeof (long), 77
18414 See \`config.log' for more details." >&2;}
18415 { (exit 1); exit 1; }; }
18416 fi
18417 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18418 fi
18419 fi
18420 rm -f conftest.val
18421 else
18422 ac_cv_sizeof_long=0
18423 fi
18424 fi
18425 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
18426 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
18427 cat >>confdefs.h <<_ACEOF
18428 #define SIZEOF_LONG $ac_cv_sizeof_long
18429 _ACEOF
18430
18431
18432 echo "$as_me:$LINENO: checking for size_t" >&5
18433 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
18434 if test "${ac_cv_type_size_t+set}" = set; then
18435 echo $ECHO_N "(cached) $ECHO_C" >&6
18436 else
18437 cat >conftest.$ac_ext <<_ACEOF
18438 /* confdefs.h. */
18439 _ACEOF
18440 cat confdefs.h >>conftest.$ac_ext
18441 cat >>conftest.$ac_ext <<_ACEOF
18442 /* end confdefs.h. */
18443 $ac_includes_default
18444 int
18445 main ()
18446 {
18447 if ((size_t *) 0)
18448 return 0;
18449 if (sizeof (size_t))
18450 return 0;
18451 ;
18452 return 0;
18453 }
18454 _ACEOF
18455 rm -f conftest.$ac_objext
18456 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18457 (eval $ac_compile) 2>conftest.er1
18458 ac_status=$?
18459 grep -v '^ *+' conftest.er1 >conftest.err
18460 rm -f conftest.er1
18461 cat conftest.err >&5
18462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18463 (exit $ac_status); } &&
18464 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18466 (eval $ac_try) 2>&5
18467 ac_status=$?
18468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18469 (exit $ac_status); }; } &&
18470 { ac_try='test -s conftest.$ac_objext'
18471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18472 (eval $ac_try) 2>&5
18473 ac_status=$?
18474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18475 (exit $ac_status); }; }; then
18476 ac_cv_type_size_t=yes
18477 else
18478 echo "$as_me: failed program was:" >&5
18479 sed 's/^/| /' conftest.$ac_ext >&5
18480
18481 ac_cv_type_size_t=no
18482 fi
18483 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18484 fi
18485 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
18486 echo "${ECHO_T}$ac_cv_type_size_t" >&6
18487
18488 echo "$as_me:$LINENO: checking size of size_t" >&5
18489 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6
18490 if test "${ac_cv_sizeof_size_t+set}" = set; then
18491 echo $ECHO_N "(cached) $ECHO_C" >&6
18492 else
18493 if test "$ac_cv_type_size_t" = yes; then
18494 # The cast to unsigned long works around a bug in the HP C Compiler
18495 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18496 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18497 # This bug is HP SR number 8606223364.
18498 if test "$cross_compiling" = yes; then
18499 # Depending upon the size, compute the lo and hi bounds.
18500 cat >conftest.$ac_ext <<_ACEOF
18501 /* confdefs.h. */
18502 _ACEOF
18503 cat confdefs.h >>conftest.$ac_ext
18504 cat >>conftest.$ac_ext <<_ACEOF
18505 /* end confdefs.h. */
18506 $ac_includes_default
18507 int
18508 main ()
18509 {
18510 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= 0)];
18511 test_array [0] = 0
18512
18513 ;
18514 return 0;
18515 }
18516 _ACEOF
18517 rm -f conftest.$ac_objext
18518 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18519 (eval $ac_compile) 2>conftest.er1
18520 ac_status=$?
18521 grep -v '^ *+' conftest.er1 >conftest.err
18522 rm -f conftest.er1
18523 cat conftest.err >&5
18524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18525 (exit $ac_status); } &&
18526 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18528 (eval $ac_try) 2>&5
18529 ac_status=$?
18530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18531 (exit $ac_status); }; } &&
18532 { ac_try='test -s conftest.$ac_objext'
18533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18534 (eval $ac_try) 2>&5
18535 ac_status=$?
18536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18537 (exit $ac_status); }; }; then
18538 ac_lo=0 ac_mid=0
18539 while :; do
18540 cat >conftest.$ac_ext <<_ACEOF
18541 /* confdefs.h. */
18542 _ACEOF
18543 cat confdefs.h >>conftest.$ac_ext
18544 cat >>conftest.$ac_ext <<_ACEOF
18545 /* end confdefs.h. */
18546 $ac_includes_default
18547 int
18548 main ()
18549 {
18550 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
18551 test_array [0] = 0
18552
18553 ;
18554 return 0;
18555 }
18556 _ACEOF
18557 rm -f conftest.$ac_objext
18558 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18559 (eval $ac_compile) 2>conftest.er1
18560 ac_status=$?
18561 grep -v '^ *+' conftest.er1 >conftest.err
18562 rm -f conftest.er1
18563 cat conftest.err >&5
18564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18565 (exit $ac_status); } &&
18566 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18568 (eval $ac_try) 2>&5
18569 ac_status=$?
18570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18571 (exit $ac_status); }; } &&
18572 { ac_try='test -s conftest.$ac_objext'
18573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18574 (eval $ac_try) 2>&5
18575 ac_status=$?
18576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18577 (exit $ac_status); }; }; then
18578 ac_hi=$ac_mid; break
18579 else
18580 echo "$as_me: failed program was:" >&5
18581 sed 's/^/| /' conftest.$ac_ext >&5
18582
18583 ac_lo=`expr $ac_mid + 1`
18584 if test $ac_lo -le $ac_mid; then
18585 ac_lo= ac_hi=
18586 break
18587 fi
18588 ac_mid=`expr 2 '*' $ac_mid + 1`
18589 fi
18590 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18591 done
18592 else
18593 echo "$as_me: failed program was:" >&5
18594 sed 's/^/| /' conftest.$ac_ext >&5
18595
18596 cat >conftest.$ac_ext <<_ACEOF
18597 /* confdefs.h. */
18598 _ACEOF
18599 cat confdefs.h >>conftest.$ac_ext
18600 cat >>conftest.$ac_ext <<_ACEOF
18601 /* end confdefs.h. */
18602 $ac_includes_default
18603 int
18604 main ()
18605 {
18606 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) < 0)];
18607 test_array [0] = 0
18608
18609 ;
18610 return 0;
18611 }
18612 _ACEOF
18613 rm -f conftest.$ac_objext
18614 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18615 (eval $ac_compile) 2>conftest.er1
18616 ac_status=$?
18617 grep -v '^ *+' conftest.er1 >conftest.err
18618 rm -f conftest.er1
18619 cat conftest.err >&5
18620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18621 (exit $ac_status); } &&
18622 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18624 (eval $ac_try) 2>&5
18625 ac_status=$?
18626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18627 (exit $ac_status); }; } &&
18628 { ac_try='test -s conftest.$ac_objext'
18629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18630 (eval $ac_try) 2>&5
18631 ac_status=$?
18632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18633 (exit $ac_status); }; }; then
18634 ac_hi=-1 ac_mid=-1
18635 while :; do
18636 cat >conftest.$ac_ext <<_ACEOF
18637 /* confdefs.h. */
18638 _ACEOF
18639 cat confdefs.h >>conftest.$ac_ext
18640 cat >>conftest.$ac_ext <<_ACEOF
18641 /* end confdefs.h. */
18642 $ac_includes_default
18643 int
18644 main ()
18645 {
18646 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= $ac_mid)];
18647 test_array [0] = 0
18648
18649 ;
18650 return 0;
18651 }
18652 _ACEOF
18653 rm -f conftest.$ac_objext
18654 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18655 (eval $ac_compile) 2>conftest.er1
18656 ac_status=$?
18657 grep -v '^ *+' conftest.er1 >conftest.err
18658 rm -f conftest.er1
18659 cat conftest.err >&5
18660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18661 (exit $ac_status); } &&
18662 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18664 (eval $ac_try) 2>&5
18665 ac_status=$?
18666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18667 (exit $ac_status); }; } &&
18668 { ac_try='test -s conftest.$ac_objext'
18669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18670 (eval $ac_try) 2>&5
18671 ac_status=$?
18672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18673 (exit $ac_status); }; }; then
18674 ac_lo=$ac_mid; break
18675 else
18676 echo "$as_me: failed program was:" >&5
18677 sed 's/^/| /' conftest.$ac_ext >&5
18678
18679 ac_hi=`expr '(' $ac_mid ')' - 1`
18680 if test $ac_mid -le $ac_hi; then
18681 ac_lo= ac_hi=
18682 break
18683 fi
18684 ac_mid=`expr 2 '*' $ac_mid`
18685 fi
18686 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18687 done
18688 else
18689 echo "$as_me: failed program was:" >&5
18690 sed 's/^/| /' conftest.$ac_ext >&5
18691
18692 ac_lo= ac_hi=
18693 fi
18694 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18695 fi
18696 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18697 # Binary search between lo and hi bounds.
18698 while test "x$ac_lo" != "x$ac_hi"; do
18699 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18700 cat >conftest.$ac_ext <<_ACEOF
18701 /* confdefs.h. */
18702 _ACEOF
18703 cat confdefs.h >>conftest.$ac_ext
18704 cat >>conftest.$ac_ext <<_ACEOF
18705 /* end confdefs.h. */
18706 $ac_includes_default
18707 int
18708 main ()
18709 {
18710 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
18711 test_array [0] = 0
18712
18713 ;
18714 return 0;
18715 }
18716 _ACEOF
18717 rm -f conftest.$ac_objext
18718 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18719 (eval $ac_compile) 2>conftest.er1
18720 ac_status=$?
18721 grep -v '^ *+' conftest.er1 >conftest.err
18722 rm -f conftest.er1
18723 cat conftest.err >&5
18724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18725 (exit $ac_status); } &&
18726 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18728 (eval $ac_try) 2>&5
18729 ac_status=$?
18730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18731 (exit $ac_status); }; } &&
18732 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
18738 ac_hi=$ac_mid
18739 else
18740 echo "$as_me: failed program was:" >&5
18741 sed 's/^/| /' conftest.$ac_ext >&5
18742
18743 ac_lo=`expr '(' $ac_mid ')' + 1`
18744 fi
18745 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18746 done
18747 case $ac_lo in
18748 ?*) ac_cv_sizeof_size_t=$ac_lo;;
18749 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
18750 See \`config.log' for more details." >&5
18751 echo "$as_me: error: cannot compute sizeof (size_t), 77
18752 See \`config.log' for more details." >&2;}
18753 { (exit 1); exit 1; }; } ;;
18754 esac
18755 else
18756 if test "$cross_compiling" = yes; then
18757 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
18758 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
18759 { (exit 1); exit 1; }; }
18760 else
18761 cat >conftest.$ac_ext <<_ACEOF
18762 /* confdefs.h. */
18763 _ACEOF
18764 cat confdefs.h >>conftest.$ac_ext
18765 cat >>conftest.$ac_ext <<_ACEOF
18766 /* end confdefs.h. */
18767 $ac_includes_default
18768 long longval () { return (long) (sizeof (size_t)); }
18769 unsigned long ulongval () { return (long) (sizeof (size_t)); }
18770 #include <stdio.h>
18771 #include <stdlib.h>
18772 int
18773 main ()
18774 {
18775
18776 FILE *f = fopen ("conftest.val", "w");
18777 if (! f)
18778 exit (1);
18779 if (((long) (sizeof (size_t))) < 0)
18780 {
18781 long i = longval ();
18782 if (i != ((long) (sizeof (size_t))))
18783 exit (1);
18784 fprintf (f, "%ld\n", i);
18785 }
18786 else
18787 {
18788 unsigned long i = ulongval ();
18789 if (i != ((long) (sizeof (size_t))))
18790 exit (1);
18791 fprintf (f, "%lu\n", i);
18792 }
18793 exit (ferror (f) || fclose (f) != 0);
18794
18795 ;
18796 return 0;
18797 }
18798 _ACEOF
18799 rm -f conftest$ac_exeext
18800 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18801 (eval $ac_link) 2>&5
18802 ac_status=$?
18803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18804 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18806 (eval $ac_try) 2>&5
18807 ac_status=$?
18808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18809 (exit $ac_status); }; }; then
18810 ac_cv_sizeof_size_t=`cat conftest.val`
18811 else
18812 echo "$as_me: program exited with status $ac_status" >&5
18813 echo "$as_me: failed program was:" >&5
18814 sed 's/^/| /' conftest.$ac_ext >&5
18815
18816 ( exit $ac_status )
18817 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
18818 See \`config.log' for more details." >&5
18819 echo "$as_me: error: cannot compute sizeof (size_t), 77
18820 See \`config.log' for more details." >&2;}
18821 { (exit 1); exit 1; }; }
18822 fi
18823 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18824 fi
18825 fi
18826 rm -f conftest.val
18827 else
18828 ac_cv_sizeof_size_t=0
18829 fi
18830 fi
18831 echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
18832 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6
18833 cat >>confdefs.h <<_ACEOF
18834 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
18835 _ACEOF
18836
18837
18838
18839 case "${host}" in
18840 arm-*-linux* )
18841 echo "$as_me:$LINENO: checking for long long" >&5
18842 echo $ECHO_N "checking for long long... $ECHO_C" >&6
18843 if test "${ac_cv_type_long_long+set}" = set; then
18844 echo $ECHO_N "(cached) $ECHO_C" >&6
18845 else
18846 cat >conftest.$ac_ext <<_ACEOF
18847 /* confdefs.h. */
18848 _ACEOF
18849 cat confdefs.h >>conftest.$ac_ext
18850 cat >>conftest.$ac_ext <<_ACEOF
18851 /* end confdefs.h. */
18852 $ac_includes_default
18853 int
18854 main ()
18855 {
18856 if ((long long *) 0)
18857 return 0;
18858 if (sizeof (long long))
18859 return 0;
18860 ;
18861 return 0;
18862 }
18863 _ACEOF
18864 rm -f conftest.$ac_objext
18865 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18866 (eval $ac_compile) 2>conftest.er1
18867 ac_status=$?
18868 grep -v '^ *+' conftest.er1 >conftest.err
18869 rm -f conftest.er1
18870 cat conftest.err >&5
18871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18872 (exit $ac_status); } &&
18873 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18875 (eval $ac_try) 2>&5
18876 ac_status=$?
18877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18878 (exit $ac_status); }; } &&
18879 { ac_try='test -s conftest.$ac_objext'
18880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18881 (eval $ac_try) 2>&5
18882 ac_status=$?
18883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18884 (exit $ac_status); }; }; then
18885 ac_cv_type_long_long=yes
18886 else
18887 echo "$as_me: failed program was:" >&5
18888 sed 's/^/| /' conftest.$ac_ext >&5
18889
18890 ac_cv_type_long_long=no
18891 fi
18892 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18893 fi
18894 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
18895 echo "${ECHO_T}$ac_cv_type_long_long" >&6
18896
18897 echo "$as_me:$LINENO: checking size of long long" >&5
18898 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
18899 if test "${ac_cv_sizeof_long_long+set}" = set; then
18900 echo $ECHO_N "(cached) $ECHO_C" >&6
18901 else
18902 if test "$ac_cv_type_long_long" = yes; then
18903 # The cast to unsigned long works around a bug in the HP C Compiler
18904 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18905 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18906 # This bug is HP SR number 8606223364.
18907 if test "$cross_compiling" = yes; then
18908 # Depending upon the size, compute the lo and hi bounds.
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 long))) >= 0)];
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" || test ! -s conftest.err'
18936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18937 (eval $ac_try) 2>&5
18938 ac_status=$?
18939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18940 (exit $ac_status); }; } &&
18941 { ac_try='test -s conftest.$ac_objext'
18942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18943 (eval $ac_try) 2>&5
18944 ac_status=$?
18945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18946 (exit $ac_status); }; }; then
18947 ac_lo=0 ac_mid=0
18948 while :; do
18949 cat >conftest.$ac_ext <<_ACEOF
18950 /* confdefs.h. */
18951 _ACEOF
18952 cat confdefs.h >>conftest.$ac_ext
18953 cat >>conftest.$ac_ext <<_ACEOF
18954 /* end confdefs.h. */
18955 $ac_includes_default
18956 int
18957 main ()
18958 {
18959 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
18960 test_array [0] = 0
18961
18962 ;
18963 return 0;
18964 }
18965 _ACEOF
18966 rm -f conftest.$ac_objext
18967 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18968 (eval $ac_compile) 2>conftest.er1
18969 ac_status=$?
18970 grep -v '^ *+' conftest.er1 >conftest.err
18971 rm -f conftest.er1
18972 cat conftest.err >&5
18973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18974 (exit $ac_status); } &&
18975 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18977 (eval $ac_try) 2>&5
18978 ac_status=$?
18979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18980 (exit $ac_status); }; } &&
18981 { ac_try='test -s conftest.$ac_objext'
18982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18983 (eval $ac_try) 2>&5
18984 ac_status=$?
18985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18986 (exit $ac_status); }; }; then
18987 ac_hi=$ac_mid; break
18988 else
18989 echo "$as_me: failed program was:" >&5
18990 sed 's/^/| /' conftest.$ac_ext >&5
18991
18992 ac_lo=`expr $ac_mid + 1`
18993 if test $ac_lo -le $ac_mid; then
18994 ac_lo= ac_hi=
18995 break
18996 fi
18997 ac_mid=`expr 2 '*' $ac_mid + 1`
18998 fi
18999 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19000 done
19001 else
19002 echo "$as_me: failed program was:" >&5
19003 sed 's/^/| /' conftest.$ac_ext >&5
19004
19005 cat >conftest.$ac_ext <<_ACEOF
19006 /* confdefs.h. */
19007 _ACEOF
19008 cat confdefs.h >>conftest.$ac_ext
19009 cat >>conftest.$ac_ext <<_ACEOF
19010 /* end confdefs.h. */
19011 $ac_includes_default
19012 int
19013 main ()
19014 {
19015 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
19016 test_array [0] = 0
19017
19018 ;
19019 return 0;
19020 }
19021 _ACEOF
19022 rm -f conftest.$ac_objext
19023 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19024 (eval $ac_compile) 2>conftest.er1
19025 ac_status=$?
19026 grep -v '^ *+' conftest.er1 >conftest.err
19027 rm -f conftest.er1
19028 cat conftest.err >&5
19029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19030 (exit $ac_status); } &&
19031 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19033 (eval $ac_try) 2>&5
19034 ac_status=$?
19035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19036 (exit $ac_status); }; } &&
19037 { ac_try='test -s conftest.$ac_objext'
19038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19039 (eval $ac_try) 2>&5
19040 ac_status=$?
19041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19042 (exit $ac_status); }; }; then
19043 ac_hi=-1 ac_mid=-1
19044 while :; do
19045 cat >conftest.$ac_ext <<_ACEOF
19046 /* confdefs.h. */
19047 _ACEOF
19048 cat confdefs.h >>conftest.$ac_ext
19049 cat >>conftest.$ac_ext <<_ACEOF
19050 /* end confdefs.h. */
19051 $ac_includes_default
19052 int
19053 main ()
19054 {
19055 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
19056 test_array [0] = 0
19057
19058 ;
19059 return 0;
19060 }
19061 _ACEOF
19062 rm -f conftest.$ac_objext
19063 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19064 (eval $ac_compile) 2>conftest.er1
19065 ac_status=$?
19066 grep -v '^ *+' conftest.er1 >conftest.err
19067 rm -f conftest.er1
19068 cat conftest.err >&5
19069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19070 (exit $ac_status); } &&
19071 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19073 (eval $ac_try) 2>&5
19074 ac_status=$?
19075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19076 (exit $ac_status); }; } &&
19077 { ac_try='test -s conftest.$ac_objext'
19078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19079 (eval $ac_try) 2>&5
19080 ac_status=$?
19081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19082 (exit $ac_status); }; }; then
19083 ac_lo=$ac_mid; break
19084 else
19085 echo "$as_me: failed program was:" >&5
19086 sed 's/^/| /' conftest.$ac_ext >&5
19087
19088 ac_hi=`expr '(' $ac_mid ')' - 1`
19089 if test $ac_mid -le $ac_hi; then
19090 ac_lo= ac_hi=
19091 break
19092 fi
19093 ac_mid=`expr 2 '*' $ac_mid`
19094 fi
19095 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19096 done
19097 else
19098 echo "$as_me: failed program was:" >&5
19099 sed 's/^/| /' conftest.$ac_ext >&5
19100
19101 ac_lo= ac_hi=
19102 fi
19103 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19104 fi
19105 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19106 # Binary search between lo and hi bounds.
19107 while test "x$ac_lo" != "x$ac_hi"; do
19108 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19109 cat >conftest.$ac_ext <<_ACEOF
19110 /* confdefs.h. */
19111 _ACEOF
19112 cat confdefs.h >>conftest.$ac_ext
19113 cat >>conftest.$ac_ext <<_ACEOF
19114 /* end confdefs.h. */
19115 $ac_includes_default
19116 int
19117 main ()
19118 {
19119 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
19120 test_array [0] = 0
19121
19122 ;
19123 return 0;
19124 }
19125 _ACEOF
19126 rm -f conftest.$ac_objext
19127 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19128 (eval $ac_compile) 2>conftest.er1
19129 ac_status=$?
19130 grep -v '^ *+' conftest.er1 >conftest.err
19131 rm -f conftest.er1
19132 cat conftest.err >&5
19133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19134 (exit $ac_status); } &&
19135 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19137 (eval $ac_try) 2>&5
19138 ac_status=$?
19139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19140 (exit $ac_status); }; } &&
19141 { ac_try='test -s conftest.$ac_objext'
19142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19143 (eval $ac_try) 2>&5
19144 ac_status=$?
19145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19146 (exit $ac_status); }; }; then
19147 ac_hi=$ac_mid
19148 else
19149 echo "$as_me: failed program was:" >&5
19150 sed 's/^/| /' conftest.$ac_ext >&5
19151
19152 ac_lo=`expr '(' $ac_mid ')' + 1`
19153 fi
19154 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19155 done
19156 case $ac_lo in
19157 ?*) ac_cv_sizeof_long_long=$ac_lo;;
19158 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
19159 See \`config.log' for more details." >&5
19160 echo "$as_me: error: cannot compute sizeof (long long), 77
19161 See \`config.log' for more details." >&2;}
19162 { (exit 1); exit 1; }; } ;;
19163 esac
19164 else
19165 if test "$cross_compiling" = yes; then
19166 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
19167 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
19168 { (exit 1); exit 1; }; }
19169 else
19170 cat >conftest.$ac_ext <<_ACEOF
19171 /* confdefs.h. */
19172 _ACEOF
19173 cat confdefs.h >>conftest.$ac_ext
19174 cat >>conftest.$ac_ext <<_ACEOF
19175 /* end confdefs.h. */
19176 $ac_includes_default
19177 long longval () { return (long) (sizeof (long long)); }
19178 unsigned long ulongval () { return (long) (sizeof (long long)); }
19179 #include <stdio.h>
19180 #include <stdlib.h>
19181 int
19182 main ()
19183 {
19184
19185 FILE *f = fopen ("conftest.val", "w");
19186 if (! f)
19187 exit (1);
19188 if (((long) (sizeof (long long))) < 0)
19189 {
19190 long i = longval ();
19191 if (i != ((long) (sizeof (long long))))
19192 exit (1);
19193 fprintf (f, "%ld\n", i);
19194 }
19195 else
19196 {
19197 unsigned long i = ulongval ();
19198 if (i != ((long) (sizeof (long long))))
19199 exit (1);
19200 fprintf (f, "%lu\n", i);
19201 }
19202 exit (ferror (f) || fclose (f) != 0);
19203
19204 ;
19205 return 0;
19206 }
19207 _ACEOF
19208 rm -f conftest$ac_exeext
19209 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19210 (eval $ac_link) 2>&5
19211 ac_status=$?
19212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19213 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19215 (eval $ac_try) 2>&5
19216 ac_status=$?
19217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19218 (exit $ac_status); }; }; then
19219 ac_cv_sizeof_long_long=`cat conftest.val`
19220 else
19221 echo "$as_me: program exited with status $ac_status" >&5
19222 echo "$as_me: failed program was:" >&5
19223 sed 's/^/| /' conftest.$ac_ext >&5
19224
19225 ( exit $ac_status )
19226 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
19227 See \`config.log' for more details." >&5
19228 echo "$as_me: error: cannot compute sizeof (long long), 77
19229 See \`config.log' for more details." >&2;}
19230 { (exit 1); exit 1; }; }
19231 fi
19232 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19233 fi
19234 fi
19235 rm -f conftest.val
19236 else
19237 ac_cv_sizeof_long_long=0
19238 fi
19239 fi
19240 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
19241 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
19242 cat >>confdefs.h <<_ACEOF
19243 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
19244 _ACEOF
19245
19246
19247 ;;
19248 *-hp-hpux* )
19249 echo "$as_me:$LINENO: checking for long long" >&5
19250 echo $ECHO_N "checking for long long... $ECHO_C" >&6
19251 if test "${ac_cv_type_long_long+set}" = set; then
19252 echo $ECHO_N "(cached) $ECHO_C" >&6
19253 else
19254 cat >conftest.$ac_ext <<_ACEOF
19255 /* confdefs.h. */
19256 _ACEOF
19257 cat confdefs.h >>conftest.$ac_ext
19258 cat >>conftest.$ac_ext <<_ACEOF
19259 /* end confdefs.h. */
19260 $ac_includes_default
19261 int
19262 main ()
19263 {
19264 if ((long long *) 0)
19265 return 0;
19266 if (sizeof (long long))
19267 return 0;
19268 ;
19269 return 0;
19270 }
19271 _ACEOF
19272 rm -f conftest.$ac_objext
19273 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19274 (eval $ac_compile) 2>conftest.er1
19275 ac_status=$?
19276 grep -v '^ *+' conftest.er1 >conftest.err
19277 rm -f conftest.er1
19278 cat conftest.err >&5
19279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19280 (exit $ac_status); } &&
19281 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19283 (eval $ac_try) 2>&5
19284 ac_status=$?
19285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19286 (exit $ac_status); }; } &&
19287 { ac_try='test -s conftest.$ac_objext'
19288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19289 (eval $ac_try) 2>&5
19290 ac_status=$?
19291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19292 (exit $ac_status); }; }; then
19293 ac_cv_type_long_long=yes
19294 else
19295 echo "$as_me: failed program was:" >&5
19296 sed 's/^/| /' conftest.$ac_ext >&5
19297
19298 ac_cv_type_long_long=no
19299 fi
19300 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19301 fi
19302 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
19303 echo "${ECHO_T}$ac_cv_type_long_long" >&6
19304
19305 echo "$as_me:$LINENO: checking size of long long" >&5
19306 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
19307 if test "${ac_cv_sizeof_long_long+set}" = set; then
19308 echo $ECHO_N "(cached) $ECHO_C" >&6
19309 else
19310 if test "$ac_cv_type_long_long" = yes; then
19311 # The cast to unsigned long works around a bug in the HP C Compiler
19312 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19313 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19314 # This bug is HP SR number 8606223364.
19315 if test "$cross_compiling" = yes; then
19316 # Depending upon the size, compute the lo and hi bounds.
19317 cat >conftest.$ac_ext <<_ACEOF
19318 /* confdefs.h. */
19319 _ACEOF
19320 cat confdefs.h >>conftest.$ac_ext
19321 cat >>conftest.$ac_ext <<_ACEOF
19322 /* end confdefs.h. */
19323 $ac_includes_default
19324 int
19325 main ()
19326 {
19327 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
19328 test_array [0] = 0
19329
19330 ;
19331 return 0;
19332 }
19333 _ACEOF
19334 rm -f conftest.$ac_objext
19335 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19336 (eval $ac_compile) 2>conftest.er1
19337 ac_status=$?
19338 grep -v '^ *+' conftest.er1 >conftest.err
19339 rm -f conftest.er1
19340 cat conftest.err >&5
19341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19342 (exit $ac_status); } &&
19343 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19345 (eval $ac_try) 2>&5
19346 ac_status=$?
19347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19348 (exit $ac_status); }; } &&
19349 { ac_try='test -s conftest.$ac_objext'
19350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19351 (eval $ac_try) 2>&5
19352 ac_status=$?
19353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19354 (exit $ac_status); }; }; then
19355 ac_lo=0 ac_mid=0
19356 while :; do
19357 cat >conftest.$ac_ext <<_ACEOF
19358 /* confdefs.h. */
19359 _ACEOF
19360 cat confdefs.h >>conftest.$ac_ext
19361 cat >>conftest.$ac_ext <<_ACEOF
19362 /* end confdefs.h. */
19363 $ac_includes_default
19364 int
19365 main ()
19366 {
19367 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
19368 test_array [0] = 0
19369
19370 ;
19371 return 0;
19372 }
19373 _ACEOF
19374 rm -f conftest.$ac_objext
19375 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19376 (eval $ac_compile) 2>conftest.er1
19377 ac_status=$?
19378 grep -v '^ *+' conftest.er1 >conftest.err
19379 rm -f conftest.er1
19380 cat conftest.err >&5
19381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19382 (exit $ac_status); } &&
19383 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19385 (eval $ac_try) 2>&5
19386 ac_status=$?
19387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19388 (exit $ac_status); }; } &&
19389 { ac_try='test -s conftest.$ac_objext'
19390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19391 (eval $ac_try) 2>&5
19392 ac_status=$?
19393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19394 (exit $ac_status); }; }; then
19395 ac_hi=$ac_mid; break
19396 else
19397 echo "$as_me: failed program was:" >&5
19398 sed 's/^/| /' conftest.$ac_ext >&5
19399
19400 ac_lo=`expr $ac_mid + 1`
19401 if test $ac_lo -le $ac_mid; then
19402 ac_lo= ac_hi=
19403 break
19404 fi
19405 ac_mid=`expr 2 '*' $ac_mid + 1`
19406 fi
19407 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19408 done
19409 else
19410 echo "$as_me: failed program was:" >&5
19411 sed 's/^/| /' conftest.$ac_ext >&5
19412
19413 cat >conftest.$ac_ext <<_ACEOF
19414 /* confdefs.h. */
19415 _ACEOF
19416 cat confdefs.h >>conftest.$ac_ext
19417 cat >>conftest.$ac_ext <<_ACEOF
19418 /* end confdefs.h. */
19419 $ac_includes_default
19420 int
19421 main ()
19422 {
19423 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
19424 test_array [0] = 0
19425
19426 ;
19427 return 0;
19428 }
19429 _ACEOF
19430 rm -f conftest.$ac_objext
19431 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19432 (eval $ac_compile) 2>conftest.er1
19433 ac_status=$?
19434 grep -v '^ *+' conftest.er1 >conftest.err
19435 rm -f conftest.er1
19436 cat conftest.err >&5
19437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19438 (exit $ac_status); } &&
19439 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19441 (eval $ac_try) 2>&5
19442 ac_status=$?
19443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19444 (exit $ac_status); }; } &&
19445 { ac_try='test -s conftest.$ac_objext'
19446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19447 (eval $ac_try) 2>&5
19448 ac_status=$?
19449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19450 (exit $ac_status); }; }; then
19451 ac_hi=-1 ac_mid=-1
19452 while :; do
19453 cat >conftest.$ac_ext <<_ACEOF
19454 /* confdefs.h. */
19455 _ACEOF
19456 cat confdefs.h >>conftest.$ac_ext
19457 cat >>conftest.$ac_ext <<_ACEOF
19458 /* end confdefs.h. */
19459 $ac_includes_default
19460 int
19461 main ()
19462 {
19463 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
19464 test_array [0] = 0
19465
19466 ;
19467 return 0;
19468 }
19469 _ACEOF
19470 rm -f conftest.$ac_objext
19471 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19472 (eval $ac_compile) 2>conftest.er1
19473 ac_status=$?
19474 grep -v '^ *+' conftest.er1 >conftest.err
19475 rm -f conftest.er1
19476 cat conftest.err >&5
19477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19478 (exit $ac_status); } &&
19479 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19481 (eval $ac_try) 2>&5
19482 ac_status=$?
19483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19484 (exit $ac_status); }; } &&
19485 { ac_try='test -s conftest.$ac_objext'
19486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19487 (eval $ac_try) 2>&5
19488 ac_status=$?
19489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19490 (exit $ac_status); }; }; then
19491 ac_lo=$ac_mid; break
19492 else
19493 echo "$as_me: failed program was:" >&5
19494 sed 's/^/| /' conftest.$ac_ext >&5
19495
19496 ac_hi=`expr '(' $ac_mid ')' - 1`
19497 if test $ac_mid -le $ac_hi; then
19498 ac_lo= ac_hi=
19499 break
19500 fi
19501 ac_mid=`expr 2 '*' $ac_mid`
19502 fi
19503 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19504 done
19505 else
19506 echo "$as_me: failed program was:" >&5
19507 sed 's/^/| /' conftest.$ac_ext >&5
19508
19509 ac_lo= ac_hi=
19510 fi
19511 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19512 fi
19513 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19514 # Binary search between lo and hi bounds.
19515 while test "x$ac_lo" != "x$ac_hi"; do
19516 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19517 cat >conftest.$ac_ext <<_ACEOF
19518 /* confdefs.h. */
19519 _ACEOF
19520 cat confdefs.h >>conftest.$ac_ext
19521 cat >>conftest.$ac_ext <<_ACEOF
19522 /* end confdefs.h. */
19523 $ac_includes_default
19524 int
19525 main ()
19526 {
19527 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
19528 test_array [0] = 0
19529
19530 ;
19531 return 0;
19532 }
19533 _ACEOF
19534 rm -f conftest.$ac_objext
19535 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19536 (eval $ac_compile) 2>conftest.er1
19537 ac_status=$?
19538 grep -v '^ *+' conftest.er1 >conftest.err
19539 rm -f conftest.er1
19540 cat conftest.err >&5
19541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19542 (exit $ac_status); } &&
19543 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19545 (eval $ac_try) 2>&5
19546 ac_status=$?
19547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19548 (exit $ac_status); }; } &&
19549 { ac_try='test -s conftest.$ac_objext'
19550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19551 (eval $ac_try) 2>&5
19552 ac_status=$?
19553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19554 (exit $ac_status); }; }; then
19555 ac_hi=$ac_mid
19556 else
19557 echo "$as_me: failed program was:" >&5
19558 sed 's/^/| /' conftest.$ac_ext >&5
19559
19560 ac_lo=`expr '(' $ac_mid ')' + 1`
19561 fi
19562 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19563 done
19564 case $ac_lo in
19565 ?*) ac_cv_sizeof_long_long=$ac_lo;;
19566 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
19567 See \`config.log' for more details." >&5
19568 echo "$as_me: error: cannot compute sizeof (long long), 77
19569 See \`config.log' for more details." >&2;}
19570 { (exit 1); exit 1; }; } ;;
19571 esac
19572 else
19573 if test "$cross_compiling" = yes; then
19574 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
19575 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
19576 { (exit 1); exit 1; }; }
19577 else
19578 cat >conftest.$ac_ext <<_ACEOF
19579 /* confdefs.h. */
19580 _ACEOF
19581 cat confdefs.h >>conftest.$ac_ext
19582 cat >>conftest.$ac_ext <<_ACEOF
19583 /* end confdefs.h. */
19584 $ac_includes_default
19585 long longval () { return (long) (sizeof (long long)); }
19586 unsigned long ulongval () { return (long) (sizeof (long long)); }
19587 #include <stdio.h>
19588 #include <stdlib.h>
19589 int
19590 main ()
19591 {
19592
19593 FILE *f = fopen ("conftest.val", "w");
19594 if (! f)
19595 exit (1);
19596 if (((long) (sizeof (long long))) < 0)
19597 {
19598 long i = longval ();
19599 if (i != ((long) (sizeof (long long))))
19600 exit (1);
19601 fprintf (f, "%ld\n", i);
19602 }
19603 else
19604 {
19605 unsigned long i = ulongval ();
19606 if (i != ((long) (sizeof (long long))))
19607 exit (1);
19608 fprintf (f, "%lu\n", i);
19609 }
19610 exit (ferror (f) || fclose (f) != 0);
19611
19612 ;
19613 return 0;
19614 }
19615 _ACEOF
19616 rm -f conftest$ac_exeext
19617 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19618 (eval $ac_link) 2>&5
19619 ac_status=$?
19620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19621 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19623 (eval $ac_try) 2>&5
19624 ac_status=$?
19625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19626 (exit $ac_status); }; }; then
19627 ac_cv_sizeof_long_long=`cat conftest.val`
19628 else
19629 echo "$as_me: program exited with status $ac_status" >&5
19630 echo "$as_me: failed program was:" >&5
19631 sed 's/^/| /' conftest.$ac_ext >&5
19632
19633 ( exit $ac_status )
19634 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
19635 See \`config.log' for more details." >&5
19636 echo "$as_me: error: cannot compute sizeof (long long), 77
19637 See \`config.log' for more details." >&2;}
19638 { (exit 1); exit 1; }; }
19639 fi
19640 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19641 fi
19642 fi
19643 rm -f conftest.val
19644 else
19645 ac_cv_sizeof_long_long=0
19646 fi
19647 fi
19648 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
19649 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
19650 cat >>confdefs.h <<_ACEOF
19651 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
19652 _ACEOF
19653
19654
19655 if test "$ac_cv_sizeof_long_long" != "0"; then
19656 CPPFLAGS="$CPPFLAGS -D_INCLUDE_LONGLONG"
19657 fi
19658 ;;
19659 * )
19660 echo "$as_me:$LINENO: checking for long long" >&5
19661 echo $ECHO_N "checking for long long... $ECHO_C" >&6
19662 if test "${ac_cv_type_long_long+set}" = set; then
19663 echo $ECHO_N "(cached) $ECHO_C" >&6
19664 else
19665 cat >conftest.$ac_ext <<_ACEOF
19666 /* confdefs.h. */
19667 _ACEOF
19668 cat confdefs.h >>conftest.$ac_ext
19669 cat >>conftest.$ac_ext <<_ACEOF
19670 /* end confdefs.h. */
19671 $ac_includes_default
19672 int
19673 main ()
19674 {
19675 if ((long long *) 0)
19676 return 0;
19677 if (sizeof (long long))
19678 return 0;
19679 ;
19680 return 0;
19681 }
19682 _ACEOF
19683 rm -f conftest.$ac_objext
19684 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19685 (eval $ac_compile) 2>conftest.er1
19686 ac_status=$?
19687 grep -v '^ *+' conftest.er1 >conftest.err
19688 rm -f conftest.er1
19689 cat conftest.err >&5
19690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19691 (exit $ac_status); } &&
19692 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19694 (eval $ac_try) 2>&5
19695 ac_status=$?
19696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19697 (exit $ac_status); }; } &&
19698 { ac_try='test -s conftest.$ac_objext'
19699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19700 (eval $ac_try) 2>&5
19701 ac_status=$?
19702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19703 (exit $ac_status); }; }; then
19704 ac_cv_type_long_long=yes
19705 else
19706 echo "$as_me: failed program was:" >&5
19707 sed 's/^/| /' conftest.$ac_ext >&5
19708
19709 ac_cv_type_long_long=no
19710 fi
19711 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19712 fi
19713 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
19714 echo "${ECHO_T}$ac_cv_type_long_long" >&6
19715
19716 echo "$as_me:$LINENO: checking size of long long" >&5
19717 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
19718 if test "${ac_cv_sizeof_long_long+set}" = set; then
19719 echo $ECHO_N "(cached) $ECHO_C" >&6
19720 else
19721 if test "$ac_cv_type_long_long" = yes; then
19722 # The cast to unsigned long works around a bug in the HP C Compiler
19723 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19724 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19725 # This bug is HP SR number 8606223364.
19726 if test "$cross_compiling" = yes; then
19727 # Depending upon the size, compute the lo and hi bounds.
19728 cat >conftest.$ac_ext <<_ACEOF
19729 /* confdefs.h. */
19730 _ACEOF
19731 cat confdefs.h >>conftest.$ac_ext
19732 cat >>conftest.$ac_ext <<_ACEOF
19733 /* end confdefs.h. */
19734 $ac_includes_default
19735 int
19736 main ()
19737 {
19738 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
19739 test_array [0] = 0
19740
19741 ;
19742 return 0;
19743 }
19744 _ACEOF
19745 rm -f conftest.$ac_objext
19746 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19747 (eval $ac_compile) 2>conftest.er1
19748 ac_status=$?
19749 grep -v '^ *+' conftest.er1 >conftest.err
19750 rm -f conftest.er1
19751 cat conftest.err >&5
19752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19753 (exit $ac_status); } &&
19754 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19756 (eval $ac_try) 2>&5
19757 ac_status=$?
19758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19759 (exit $ac_status); }; } &&
19760 { ac_try='test -s conftest.$ac_objext'
19761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19762 (eval $ac_try) 2>&5
19763 ac_status=$?
19764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19765 (exit $ac_status); }; }; then
19766 ac_lo=0 ac_mid=0
19767 while :; do
19768 cat >conftest.$ac_ext <<_ACEOF
19769 /* confdefs.h. */
19770 _ACEOF
19771 cat confdefs.h >>conftest.$ac_ext
19772 cat >>conftest.$ac_ext <<_ACEOF
19773 /* end confdefs.h. */
19774 $ac_includes_default
19775 int
19776 main ()
19777 {
19778 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
19779 test_array [0] = 0
19780
19781 ;
19782 return 0;
19783 }
19784 _ACEOF
19785 rm -f conftest.$ac_objext
19786 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19787 (eval $ac_compile) 2>conftest.er1
19788 ac_status=$?
19789 grep -v '^ *+' conftest.er1 >conftest.err
19790 rm -f conftest.er1
19791 cat conftest.err >&5
19792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19793 (exit $ac_status); } &&
19794 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19796 (eval $ac_try) 2>&5
19797 ac_status=$?
19798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19799 (exit $ac_status); }; } &&
19800 { ac_try='test -s conftest.$ac_objext'
19801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19802 (eval $ac_try) 2>&5
19803 ac_status=$?
19804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19805 (exit $ac_status); }; }; then
19806 ac_hi=$ac_mid; break
19807 else
19808 echo "$as_me: failed program was:" >&5
19809 sed 's/^/| /' conftest.$ac_ext >&5
19810
19811 ac_lo=`expr $ac_mid + 1`
19812 if test $ac_lo -le $ac_mid; then
19813 ac_lo= ac_hi=
19814 break
19815 fi
19816 ac_mid=`expr 2 '*' $ac_mid + 1`
19817 fi
19818 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19819 done
19820 else
19821 echo "$as_me: failed program was:" >&5
19822 sed 's/^/| /' conftest.$ac_ext >&5
19823
19824 cat >conftest.$ac_ext <<_ACEOF
19825 /* confdefs.h. */
19826 _ACEOF
19827 cat confdefs.h >>conftest.$ac_ext
19828 cat >>conftest.$ac_ext <<_ACEOF
19829 /* end confdefs.h. */
19830 $ac_includes_default
19831 int
19832 main ()
19833 {
19834 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
19835 test_array [0] = 0
19836
19837 ;
19838 return 0;
19839 }
19840 _ACEOF
19841 rm -f conftest.$ac_objext
19842 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19843 (eval $ac_compile) 2>conftest.er1
19844 ac_status=$?
19845 grep -v '^ *+' conftest.er1 >conftest.err
19846 rm -f conftest.er1
19847 cat conftest.err >&5
19848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19849 (exit $ac_status); } &&
19850 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19852 (eval $ac_try) 2>&5
19853 ac_status=$?
19854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19855 (exit $ac_status); }; } &&
19856 { ac_try='test -s conftest.$ac_objext'
19857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19858 (eval $ac_try) 2>&5
19859 ac_status=$?
19860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19861 (exit $ac_status); }; }; then
19862 ac_hi=-1 ac_mid=-1
19863 while :; do
19864 cat >conftest.$ac_ext <<_ACEOF
19865 /* confdefs.h. */
19866 _ACEOF
19867 cat confdefs.h >>conftest.$ac_ext
19868 cat >>conftest.$ac_ext <<_ACEOF
19869 /* end confdefs.h. */
19870 $ac_includes_default
19871 int
19872 main ()
19873 {
19874 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
19875 test_array [0] = 0
19876
19877 ;
19878 return 0;
19879 }
19880 _ACEOF
19881 rm -f conftest.$ac_objext
19882 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19883 (eval $ac_compile) 2>conftest.er1
19884 ac_status=$?
19885 grep -v '^ *+' conftest.er1 >conftest.err
19886 rm -f conftest.er1
19887 cat conftest.err >&5
19888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19889 (exit $ac_status); } &&
19890 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19892 (eval $ac_try) 2>&5
19893 ac_status=$?
19894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19895 (exit $ac_status); }; } &&
19896 { ac_try='test -s conftest.$ac_objext'
19897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19898 (eval $ac_try) 2>&5
19899 ac_status=$?
19900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19901 (exit $ac_status); }; }; then
19902 ac_lo=$ac_mid; break
19903 else
19904 echo "$as_me: failed program was:" >&5
19905 sed 's/^/| /' conftest.$ac_ext >&5
19906
19907 ac_hi=`expr '(' $ac_mid ')' - 1`
19908 if test $ac_mid -le $ac_hi; then
19909 ac_lo= ac_hi=
19910 break
19911 fi
19912 ac_mid=`expr 2 '*' $ac_mid`
19913 fi
19914 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19915 done
19916 else
19917 echo "$as_me: failed program was:" >&5
19918 sed 's/^/| /' conftest.$ac_ext >&5
19919
19920 ac_lo= ac_hi=
19921 fi
19922 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19923 fi
19924 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19925 # Binary search between lo and hi bounds.
19926 while test "x$ac_lo" != "x$ac_hi"; do
19927 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19928 cat >conftest.$ac_ext <<_ACEOF
19929 /* confdefs.h. */
19930 _ACEOF
19931 cat confdefs.h >>conftest.$ac_ext
19932 cat >>conftest.$ac_ext <<_ACEOF
19933 /* end confdefs.h. */
19934 $ac_includes_default
19935 int
19936 main ()
19937 {
19938 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
19939 test_array [0] = 0
19940
19941 ;
19942 return 0;
19943 }
19944 _ACEOF
19945 rm -f conftest.$ac_objext
19946 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19947 (eval $ac_compile) 2>conftest.er1
19948 ac_status=$?
19949 grep -v '^ *+' conftest.er1 >conftest.err
19950 rm -f conftest.er1
19951 cat conftest.err >&5
19952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19953 (exit $ac_status); } &&
19954 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19956 (eval $ac_try) 2>&5
19957 ac_status=$?
19958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19959 (exit $ac_status); }; } &&
19960 { ac_try='test -s conftest.$ac_objext'
19961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19962 (eval $ac_try) 2>&5
19963 ac_status=$?
19964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19965 (exit $ac_status); }; }; then
19966 ac_hi=$ac_mid
19967 else
19968 echo "$as_me: failed program was:" >&5
19969 sed 's/^/| /' conftest.$ac_ext >&5
19970
19971 ac_lo=`expr '(' $ac_mid ')' + 1`
19972 fi
19973 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19974 done
19975 case $ac_lo in
19976 ?*) ac_cv_sizeof_long_long=$ac_lo;;
19977 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
19978 See \`config.log' for more details." >&5
19979 echo "$as_me: error: cannot compute sizeof (long long), 77
19980 See \`config.log' for more details." >&2;}
19981 { (exit 1); exit 1; }; } ;;
19982 esac
19983 else
19984 if test "$cross_compiling" = yes; then
19985 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
19986 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
19987 { (exit 1); exit 1; }; }
19988 else
19989 cat >conftest.$ac_ext <<_ACEOF
19990 /* confdefs.h. */
19991 _ACEOF
19992 cat confdefs.h >>conftest.$ac_ext
19993 cat >>conftest.$ac_ext <<_ACEOF
19994 /* end confdefs.h. */
19995 $ac_includes_default
19996 long longval () { return (long) (sizeof (long long)); }
19997 unsigned long ulongval () { return (long) (sizeof (long long)); }
19998 #include <stdio.h>
19999 #include <stdlib.h>
20000 int
20001 main ()
20002 {
20003
20004 FILE *f = fopen ("conftest.val", "w");
20005 if (! f)
20006 exit (1);
20007 if (((long) (sizeof (long long))) < 0)
20008 {
20009 long i = longval ();
20010 if (i != ((long) (sizeof (long long))))
20011 exit (1);
20012 fprintf (f, "%ld\n", i);
20013 }
20014 else
20015 {
20016 unsigned long i = ulongval ();
20017 if (i != ((long) (sizeof (long long))))
20018 exit (1);
20019 fprintf (f, "%lu\n", i);
20020 }
20021 exit (ferror (f) || fclose (f) != 0);
20022
20023 ;
20024 return 0;
20025 }
20026 _ACEOF
20027 rm -f conftest$ac_exeext
20028 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20029 (eval $ac_link) 2>&5
20030 ac_status=$?
20031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20032 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20034 (eval $ac_try) 2>&5
20035 ac_status=$?
20036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20037 (exit $ac_status); }; }; then
20038 ac_cv_sizeof_long_long=`cat conftest.val`
20039 else
20040 echo "$as_me: program exited with status $ac_status" >&5
20041 echo "$as_me: failed program was:" >&5
20042 sed 's/^/| /' conftest.$ac_ext >&5
20043
20044 ( exit $ac_status )
20045 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20046 See \`config.log' for more details." >&5
20047 echo "$as_me: error: cannot compute sizeof (long long), 77
20048 See \`config.log' for more details." >&2;}
20049 { (exit 1); exit 1; }; }
20050 fi
20051 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20052 fi
20053 fi
20054 rm -f conftest.val
20055 else
20056 ac_cv_sizeof_long_long=0
20057 fi
20058 fi
20059 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
20060 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
20061 cat >>confdefs.h <<_ACEOF
20062 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20063 _ACEOF
20064
20065
20066 esac
20067
20068 echo "$as_me:$LINENO: checking for wchar_t" >&5
20069 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6
20070 if test "${ac_cv_type_wchar_t+set}" = set; then
20071 echo $ECHO_N "(cached) $ECHO_C" >&6
20072 else
20073 cat >conftest.$ac_ext <<_ACEOF
20074 /* confdefs.h. */
20075 _ACEOF
20076 cat confdefs.h >>conftest.$ac_ext
20077 cat >>conftest.$ac_ext <<_ACEOF
20078 /* end confdefs.h. */
20079
20080 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
20081 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
20082 # error "fake wchar_t"
20083 #endif
20084 #ifdef HAVE_WCHAR_H
20085 # ifdef __CYGWIN__
20086 # include <stddef.h>
20087 # endif
20088 # include <wchar.h>
20089 #endif
20090 #ifdef HAVE_STDLIB_H
20091 # include <stdlib.h>
20092 #endif
20093 #include <stdio.h>
20094
20095
20096
20097 int
20098 main ()
20099 {
20100 if ((wchar_t *) 0)
20101 return 0;
20102 if (sizeof (wchar_t))
20103 return 0;
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" || test ! -s conftest.err'
20118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20119 (eval $ac_try) 2>&5
20120 ac_status=$?
20121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20122 (exit $ac_status); }; } &&
20123 { ac_try='test -s conftest.$ac_objext'
20124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20125 (eval $ac_try) 2>&5
20126 ac_status=$?
20127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20128 (exit $ac_status); }; }; then
20129 ac_cv_type_wchar_t=yes
20130 else
20131 echo "$as_me: failed program was:" >&5
20132 sed 's/^/| /' conftest.$ac_ext >&5
20133
20134 ac_cv_type_wchar_t=no
20135 fi
20136 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20137 fi
20138 echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
20139 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6
20140
20141 echo "$as_me:$LINENO: checking size of wchar_t" >&5
20142 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
20143 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
20144 echo $ECHO_N "(cached) $ECHO_C" >&6
20145 else
20146 if test "$ac_cv_type_wchar_t" = yes; then
20147 # The cast to unsigned long works around a bug in the HP C Compiler
20148 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20149 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20150 # This bug is HP SR number 8606223364.
20151 if test "$cross_compiling" = yes; then
20152 # Depending upon the size, compute the lo and hi bounds.
20153 cat >conftest.$ac_ext <<_ACEOF
20154 /* confdefs.h. */
20155 _ACEOF
20156 cat confdefs.h >>conftest.$ac_ext
20157 cat >>conftest.$ac_ext <<_ACEOF
20158 /* end confdefs.h. */
20159
20160 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
20161 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
20162 # error "fake wchar_t"
20163 #endif
20164 #ifdef HAVE_WCHAR_H
20165 # ifdef __CYGWIN__
20166 # include <stddef.h>
20167 # endif
20168 # include <wchar.h>
20169 #endif
20170 #ifdef HAVE_STDLIB_H
20171 # include <stdlib.h>
20172 #endif
20173 #include <stdio.h>
20174
20175
20176
20177 int
20178 main ()
20179 {
20180 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= 0)];
20181 test_array [0] = 0
20182
20183 ;
20184 return 0;
20185 }
20186 _ACEOF
20187 rm -f conftest.$ac_objext
20188 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20189 (eval $ac_compile) 2>conftest.er1
20190 ac_status=$?
20191 grep -v '^ *+' conftest.er1 >conftest.err
20192 rm -f conftest.er1
20193 cat conftest.err >&5
20194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20195 (exit $ac_status); } &&
20196 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20198 (eval $ac_try) 2>&5
20199 ac_status=$?
20200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20201 (exit $ac_status); }; } &&
20202 { ac_try='test -s conftest.$ac_objext'
20203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20204 (eval $ac_try) 2>&5
20205 ac_status=$?
20206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20207 (exit $ac_status); }; }; then
20208 ac_lo=0 ac_mid=0
20209 while :; do
20210 cat >conftest.$ac_ext <<_ACEOF
20211 /* confdefs.h. */
20212 _ACEOF
20213 cat confdefs.h >>conftest.$ac_ext
20214 cat >>conftest.$ac_ext <<_ACEOF
20215 /* end confdefs.h. */
20216
20217 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
20218 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
20219 # error "fake wchar_t"
20220 #endif
20221 #ifdef HAVE_WCHAR_H
20222 # ifdef __CYGWIN__
20223 # include <stddef.h>
20224 # endif
20225 # include <wchar.h>
20226 #endif
20227 #ifdef HAVE_STDLIB_H
20228 # include <stdlib.h>
20229 #endif
20230 #include <stdio.h>
20231
20232
20233
20234 int
20235 main ()
20236 {
20237 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
20238 test_array [0] = 0
20239
20240 ;
20241 return 0;
20242 }
20243 _ACEOF
20244 rm -f conftest.$ac_objext
20245 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20246 (eval $ac_compile) 2>conftest.er1
20247 ac_status=$?
20248 grep -v '^ *+' conftest.er1 >conftest.err
20249 rm -f conftest.er1
20250 cat conftest.err >&5
20251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20252 (exit $ac_status); } &&
20253 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20255 (eval $ac_try) 2>&5
20256 ac_status=$?
20257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20258 (exit $ac_status); }; } &&
20259 { ac_try='test -s conftest.$ac_objext'
20260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20261 (eval $ac_try) 2>&5
20262 ac_status=$?
20263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20264 (exit $ac_status); }; }; then
20265 ac_hi=$ac_mid; break
20266 else
20267 echo "$as_me: failed program was:" >&5
20268 sed 's/^/| /' conftest.$ac_ext >&5
20269
20270 ac_lo=`expr $ac_mid + 1`
20271 if test $ac_lo -le $ac_mid; then
20272 ac_lo= ac_hi=
20273 break
20274 fi
20275 ac_mid=`expr 2 '*' $ac_mid + 1`
20276 fi
20277 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20278 done
20279 else
20280 echo "$as_me: failed program was:" >&5
20281 sed 's/^/| /' conftest.$ac_ext >&5
20282
20283 cat >conftest.$ac_ext <<_ACEOF
20284 /* confdefs.h. */
20285 _ACEOF
20286 cat confdefs.h >>conftest.$ac_ext
20287 cat >>conftest.$ac_ext <<_ACEOF
20288 /* end confdefs.h. */
20289
20290 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
20291 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
20292 # error "fake wchar_t"
20293 #endif
20294 #ifdef HAVE_WCHAR_H
20295 # ifdef __CYGWIN__
20296 # include <stddef.h>
20297 # endif
20298 # include <wchar.h>
20299 #endif
20300 #ifdef HAVE_STDLIB_H
20301 # include <stdlib.h>
20302 #endif
20303 #include <stdio.h>
20304
20305
20306
20307 int
20308 main ()
20309 {
20310 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) < 0)];
20311 test_array [0] = 0
20312
20313 ;
20314 return 0;
20315 }
20316 _ACEOF
20317 rm -f conftest.$ac_objext
20318 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20319 (eval $ac_compile) 2>conftest.er1
20320 ac_status=$?
20321 grep -v '^ *+' conftest.er1 >conftest.err
20322 rm -f conftest.er1
20323 cat conftest.err >&5
20324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20325 (exit $ac_status); } &&
20326 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20328 (eval $ac_try) 2>&5
20329 ac_status=$?
20330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20331 (exit $ac_status); }; } &&
20332 { ac_try='test -s conftest.$ac_objext'
20333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20334 (eval $ac_try) 2>&5
20335 ac_status=$?
20336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20337 (exit $ac_status); }; }; then
20338 ac_hi=-1 ac_mid=-1
20339 while :; do
20340 cat >conftest.$ac_ext <<_ACEOF
20341 /* confdefs.h. */
20342 _ACEOF
20343 cat confdefs.h >>conftest.$ac_ext
20344 cat >>conftest.$ac_ext <<_ACEOF
20345 /* end confdefs.h. */
20346
20347 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
20348 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
20349 # error "fake wchar_t"
20350 #endif
20351 #ifdef HAVE_WCHAR_H
20352 # ifdef __CYGWIN__
20353 # include <stddef.h>
20354 # endif
20355 # include <wchar.h>
20356 #endif
20357 #ifdef HAVE_STDLIB_H
20358 # include <stdlib.h>
20359 #endif
20360 #include <stdio.h>
20361
20362
20363
20364 int
20365 main ()
20366 {
20367 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= $ac_mid)];
20368 test_array [0] = 0
20369
20370 ;
20371 return 0;
20372 }
20373 _ACEOF
20374 rm -f conftest.$ac_objext
20375 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20376 (eval $ac_compile) 2>conftest.er1
20377 ac_status=$?
20378 grep -v '^ *+' conftest.er1 >conftest.err
20379 rm -f conftest.er1
20380 cat conftest.err >&5
20381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20382 (exit $ac_status); } &&
20383 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20385 (eval $ac_try) 2>&5
20386 ac_status=$?
20387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20388 (exit $ac_status); }; } &&
20389 { ac_try='test -s conftest.$ac_objext'
20390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20391 (eval $ac_try) 2>&5
20392 ac_status=$?
20393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20394 (exit $ac_status); }; }; then
20395 ac_lo=$ac_mid; break
20396 else
20397 echo "$as_me: failed program was:" >&5
20398 sed 's/^/| /' conftest.$ac_ext >&5
20399
20400 ac_hi=`expr '(' $ac_mid ')' - 1`
20401 if test $ac_mid -le $ac_hi; then
20402 ac_lo= ac_hi=
20403 break
20404 fi
20405 ac_mid=`expr 2 '*' $ac_mid`
20406 fi
20407 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20408 done
20409 else
20410 echo "$as_me: failed program was:" >&5
20411 sed 's/^/| /' conftest.$ac_ext >&5
20412
20413 ac_lo= ac_hi=
20414 fi
20415 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20416 fi
20417 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20418 # Binary search between lo and hi bounds.
20419 while test "x$ac_lo" != "x$ac_hi"; do
20420 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20421 cat >conftest.$ac_ext <<_ACEOF
20422 /* confdefs.h. */
20423 _ACEOF
20424 cat confdefs.h >>conftest.$ac_ext
20425 cat >>conftest.$ac_ext <<_ACEOF
20426 /* end confdefs.h. */
20427
20428 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
20429 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
20430 # error "fake wchar_t"
20431 #endif
20432 #ifdef HAVE_WCHAR_H
20433 # ifdef __CYGWIN__
20434 # include <stddef.h>
20435 # endif
20436 # include <wchar.h>
20437 #endif
20438 #ifdef HAVE_STDLIB_H
20439 # include <stdlib.h>
20440 #endif
20441 #include <stdio.h>
20442
20443
20444
20445 int
20446 main ()
20447 {
20448 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
20449 test_array [0] = 0
20450
20451 ;
20452 return 0;
20453 }
20454 _ACEOF
20455 rm -f conftest.$ac_objext
20456 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20457 (eval $ac_compile) 2>conftest.er1
20458 ac_status=$?
20459 grep -v '^ *+' conftest.er1 >conftest.err
20460 rm -f conftest.er1
20461 cat conftest.err >&5
20462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20463 (exit $ac_status); } &&
20464 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20466 (eval $ac_try) 2>&5
20467 ac_status=$?
20468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20469 (exit $ac_status); }; } &&
20470 { ac_try='test -s conftest.$ac_objext'
20471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20472 (eval $ac_try) 2>&5
20473 ac_status=$?
20474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20475 (exit $ac_status); }; }; then
20476 ac_hi=$ac_mid
20477 else
20478 echo "$as_me: failed program was:" >&5
20479 sed 's/^/| /' conftest.$ac_ext >&5
20480
20481 ac_lo=`expr '(' $ac_mid ')' + 1`
20482 fi
20483 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20484 done
20485 case $ac_lo in
20486 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
20487 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
20488 See \`config.log' for more details." >&5
20489 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
20490 See \`config.log' for more details." >&2;}
20491 { (exit 1); exit 1; }; } ;;
20492 esac
20493 else
20494 if test "$cross_compiling" = yes; then
20495 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
20496 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
20497 { (exit 1); exit 1; }; }
20498 else
20499 cat >conftest.$ac_ext <<_ACEOF
20500 /* confdefs.h. */
20501 _ACEOF
20502 cat confdefs.h >>conftest.$ac_ext
20503 cat >>conftest.$ac_ext <<_ACEOF
20504 /* end confdefs.h. */
20505
20506 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
20507 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
20508 # error "fake wchar_t"
20509 #endif
20510 #ifdef HAVE_WCHAR_H
20511 # ifdef __CYGWIN__
20512 # include <stddef.h>
20513 # endif
20514 # include <wchar.h>
20515 #endif
20516 #ifdef HAVE_STDLIB_H
20517 # include <stdlib.h>
20518 #endif
20519 #include <stdio.h>
20520
20521
20522
20523 long longval () { return (long) (sizeof (wchar_t)); }
20524 unsigned long ulongval () { return (long) (sizeof (wchar_t)); }
20525 #include <stdio.h>
20526 #include <stdlib.h>
20527 int
20528 main ()
20529 {
20530
20531 FILE *f = fopen ("conftest.val", "w");
20532 if (! f)
20533 exit (1);
20534 if (((long) (sizeof (wchar_t))) < 0)
20535 {
20536 long i = longval ();
20537 if (i != ((long) (sizeof (wchar_t))))
20538 exit (1);
20539 fprintf (f, "%ld\n", i);
20540 }
20541 else
20542 {
20543 unsigned long i = ulongval ();
20544 if (i != ((long) (sizeof (wchar_t))))
20545 exit (1);
20546 fprintf (f, "%lu\n", i);
20547 }
20548 exit (ferror (f) || fclose (f) != 0);
20549
20550 ;
20551 return 0;
20552 }
20553 _ACEOF
20554 rm -f conftest$ac_exeext
20555 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20556 (eval $ac_link) 2>&5
20557 ac_status=$?
20558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20559 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20561 (eval $ac_try) 2>&5
20562 ac_status=$?
20563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20564 (exit $ac_status); }; }; then
20565 ac_cv_sizeof_wchar_t=`cat conftest.val`
20566 else
20567 echo "$as_me: program exited with status $ac_status" >&5
20568 echo "$as_me: failed program was:" >&5
20569 sed 's/^/| /' conftest.$ac_ext >&5
20570
20571 ( exit $ac_status )
20572 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
20573 See \`config.log' for more details." >&5
20574 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
20575 See \`config.log' for more details." >&2;}
20576 { (exit 1); exit 1; }; }
20577 fi
20578 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20579 fi
20580 fi
20581 rm -f conftest.val
20582 else
20583 ac_cv_sizeof_wchar_t=0
20584 fi
20585 fi
20586 echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
20587 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6
20588 cat >>confdefs.h <<_ACEOF
20589 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
20590 _ACEOF
20591
20592
20593 if test "$ac_cv_sizeof_wchar_t" != "0"; then
20594 wxUSE_WCHAR_T=yes
20595 else
20596 wxUSE_WCHAR_T=no
20597 fi
20598
20599 echo "$as_me:$LINENO: checking for va_copy" >&5
20600 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6
20601 if test "${wx_cv_func_va_copy+set}" = set; then
20602 echo $ECHO_N "(cached) $ECHO_C" >&6
20603 else
20604
20605 cat >conftest.$ac_ext <<_ACEOF
20606
20607 #include <stdarg.h>
20608 void foo(char *f, ...)
20609 {
20610 va_list ap1, ap2;
20611 va_start(ap1, f);
20612 va_copy(ap2, ap1);
20613 va_end(ap2);
20614 va_end(ap1);
20615 }
20616 int main()
20617 {
20618 foo("hi", 17);
20619 return 0;
20620 }
20621 _ACEOF
20622 rm -f conftest.$ac_objext conftest$ac_exeext
20623 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20624 (eval $ac_link) 2>conftest.er1
20625 ac_status=$?
20626 grep -v '^ *+' conftest.er1 >conftest.err
20627 rm -f conftest.er1
20628 cat conftest.err >&5
20629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20630 (exit $ac_status); } &&
20631 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20633 (eval $ac_try) 2>&5
20634 ac_status=$?
20635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20636 (exit $ac_status); }; } &&
20637 { ac_try='test -s conftest$ac_exeext'
20638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20639 (eval $ac_try) 2>&5
20640 ac_status=$?
20641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20642 (exit $ac_status); }; }; then
20643 wx_cv_func_va_copy=yes
20644 else
20645 echo "$as_me: failed program was:" >&5
20646 sed 's/^/| /' conftest.$ac_ext >&5
20647
20648 wx_cv_func_va_copy=no
20649
20650 fi
20651 rm -f conftest.err conftest.$ac_objext \
20652 conftest$ac_exeext conftest.$ac_ext
20653
20654
20655 fi
20656 echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
20657 echo "${ECHO_T}$wx_cv_func_va_copy" >&6
20658
20659 if test $wx_cv_func_va_copy = "yes"; then
20660 cat >>confdefs.h <<\_ACEOF
20661 #define HAVE_VA_COPY 1
20662 _ACEOF
20663
20664 else
20665 echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
20666 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6
20667 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
20668 echo $ECHO_N "(cached) $ECHO_C" >&6
20669 else
20670
20671 if test "$cross_compiling" = yes; then
20672 wx_cv_type_va_list_lvalue=yes
20673
20674 else
20675 cat >conftest.$ac_ext <<_ACEOF
20676
20677 #include <stdarg.h>
20678 int foo(char *f, ...)
20679 {
20680 va_list ap1, ap2;
20681 va_start(ap1, f);
20682 ap2 = ap1;
20683 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
20684 return 1;
20685 va_end(ap2);
20686 va_end(ap1);
20687 return 0;
20688 }
20689 int main()
20690 {
20691 return foo("hi", 17);
20692 }
20693 _ACEOF
20694 rm -f conftest$ac_exeext
20695 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20696 (eval $ac_link) 2>&5
20697 ac_status=$?
20698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20699 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20701 (eval $ac_try) 2>&5
20702 ac_status=$?
20703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20704 (exit $ac_status); }; }; then
20705 wx_cv_type_va_list_lvalue=yes
20706 else
20707 echo "$as_me: program exited with status $ac_status" >&5
20708 echo "$as_me: failed program was:" >&5
20709 sed 's/^/| /' conftest.$ac_ext >&5
20710
20711 ( exit $ac_status )
20712 wx_cv_type_va_list_lvalue=no
20713 fi
20714 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20715 fi
20716
20717
20718 fi
20719 echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
20720 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6
20721
20722 if test $wx_cv_type_va_list_lvalue != "yes"; then
20723 cat >>confdefs.h <<\_ACEOF
20724 #define VA_LIST_IS_ARRAY 1
20725 _ACEOF
20726
20727 fi
20728 fi
20729
20730 # Check whether --enable-largefile or --disable-largefile was given.
20731 if test "${enable_largefile+set}" = set; then
20732 enableval="$enable_largefile"
20733
20734 fi;
20735 if test "$enable_largefile" != no; then
20736 wx_largefile=no
20737
20738 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
20739 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
20740 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
20741 echo $ECHO_N "(cached) $ECHO_C" >&6
20742 else
20743
20744 cat >conftest.$ac_ext <<_ACEOF
20745 /* confdefs.h. */
20746 _ACEOF
20747 cat confdefs.h >>conftest.$ac_ext
20748 cat >>conftest.$ac_ext <<_ACEOF
20749 /* end confdefs.h. */
20750 #define _FILE_OFFSET_BITS 64
20751 #include <sys/types.h>
20752 int
20753 main ()
20754 {
20755 typedef struct {
20756 unsigned int field: sizeof(off_t) == 8;
20757 } wxlf;
20758
20759 ;
20760 return 0;
20761 }
20762 _ACEOF
20763 rm -f conftest.$ac_objext
20764 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20765 (eval $ac_compile) 2>conftest.er1
20766 ac_status=$?
20767 grep -v '^ *+' conftest.er1 >conftest.err
20768 rm -f conftest.er1
20769 cat conftest.err >&5
20770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20771 (exit $ac_status); } &&
20772 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20774 (eval $ac_try) 2>&5
20775 ac_status=$?
20776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20777 (exit $ac_status); }; } &&
20778 { ac_try='test -s conftest.$ac_objext'
20779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20780 (eval $ac_try) 2>&5
20781 ac_status=$?
20782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20783 (exit $ac_status); }; }; then
20784 ac_cv_sys_file_offset_bits=64
20785 else
20786 echo "$as_me: failed program was:" >&5
20787 sed 's/^/| /' conftest.$ac_ext >&5
20788
20789 ac_cv_sys_file_offset_bits=no
20790 fi
20791 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20792
20793
20794 fi
20795 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
20796 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
20797
20798 if test "$ac_cv_sys_file_offset_bits" != no; then
20799 wx_largefile=yes
20800 cat >>confdefs.h <<_ACEOF
20801 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
20802 _ACEOF
20803
20804 fi
20805
20806 if test "x$wx_largefile" != "xyes"; then
20807
20808 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
20809 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
20810 if test "${ac_cv_sys_large_files+set}" = set; then
20811 echo $ECHO_N "(cached) $ECHO_C" >&6
20812 else
20813
20814 cat >conftest.$ac_ext <<_ACEOF
20815 /* confdefs.h. */
20816 _ACEOF
20817 cat confdefs.h >>conftest.$ac_ext
20818 cat >>conftest.$ac_ext <<_ACEOF
20819 /* end confdefs.h. */
20820 #define _LARGE_FILES 1
20821 #include <sys/types.h>
20822 int
20823 main ()
20824 {
20825 typedef struct {
20826 unsigned int field: sizeof(off_t) == 8;
20827 } wxlf;
20828
20829 ;
20830 return 0;
20831 }
20832 _ACEOF
20833 rm -f conftest.$ac_objext
20834 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20835 (eval $ac_compile) 2>conftest.er1
20836 ac_status=$?
20837 grep -v '^ *+' conftest.er1 >conftest.err
20838 rm -f conftest.er1
20839 cat conftest.err >&5
20840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20841 (exit $ac_status); } &&
20842 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20844 (eval $ac_try) 2>&5
20845 ac_status=$?
20846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20847 (exit $ac_status); }; } &&
20848 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
20854 ac_cv_sys_large_files=1
20855 else
20856 echo "$as_me: failed program was:" >&5
20857 sed 's/^/| /' conftest.$ac_ext >&5
20858
20859 ac_cv_sys_large_files=no
20860 fi
20861 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20862
20863
20864 fi
20865 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
20866 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
20867
20868 if test "$ac_cv_sys_large_files" != no; then
20869 wx_largefile=yes
20870 cat >>confdefs.h <<_ACEOF
20871 #define _LARGE_FILES $ac_cv_sys_large_files
20872 _ACEOF
20873
20874 fi
20875
20876 fi
20877
20878 echo "$as_me:$LINENO: checking if large file support is available" >&5
20879 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
20880 if test "x$wx_largefile" = "xyes"; then
20881 cat >>confdefs.h <<\_ACEOF
20882 #define HAVE_LARGEFILE_SUPPORT 1
20883 _ACEOF
20884
20885 fi
20886 echo "$as_me:$LINENO: result: $wx_largefile" >&5
20887 echo "${ECHO_T}$wx_largefile" >&6
20888 fi
20889
20890
20891 if test "x$wx_largefile" = "xyes"; then
20892 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
20893 WX_LARGEFILE_FLAGS="-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
20894
20895 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
20896 echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
20897 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6
20898 if test "${wx_cv_STDC_EXT_required+set}" = set; then
20899 echo $ECHO_N "(cached) $ECHO_C" >&6
20900 else
20901
20902
20903
20904 ac_ext=cc
20905 ac_cpp='$CXXCPP $CPPFLAGS'
20906 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20907 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20908 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20909
20910 cat >conftest.$ac_ext <<_ACEOF
20911 /* confdefs.h. */
20912 _ACEOF
20913 cat confdefs.h >>conftest.$ac_ext
20914 cat >>conftest.$ac_ext <<_ACEOF
20915 /* end confdefs.h. */
20916
20917 int
20918 main ()
20919 {
20920
20921 #ifndef __STDC_EXT__
20922 choke me
20923 #endif
20924
20925 ;
20926 return 0;
20927 }
20928 _ACEOF
20929 rm -f conftest.$ac_objext
20930 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20931 (eval $ac_compile) 2>conftest.er1
20932 ac_status=$?
20933 grep -v '^ *+' conftest.er1 >conftest.err
20934 rm -f conftest.er1
20935 cat conftest.err >&5
20936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20937 (exit $ac_status); } &&
20938 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20940 (eval $ac_try) 2>&5
20941 ac_status=$?
20942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20943 (exit $ac_status); }; } &&
20944 { ac_try='test -s conftest.$ac_objext'
20945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20946 (eval $ac_try) 2>&5
20947 ac_status=$?
20948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20949 (exit $ac_status); }; }; then
20950 wx_cv_STDC_EXT_required=no
20951 else
20952 echo "$as_me: failed program was:" >&5
20953 sed 's/^/| /' conftest.$ac_ext >&5
20954
20955 wx_cv_STDC_EXT_required=yes
20956
20957 fi
20958 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20959 ac_ext=c
20960 ac_cpp='$CPP $CPPFLAGS'
20961 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20962 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20963 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20964
20965
20966
20967 fi
20968 echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
20969 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6
20970 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
20971 CXXFLAGS="$CXXFLAGS -D__STDC_EXT__"
20972 fi
20973 fi
20974 else
20975 WX_LARGEFILE_FLAGS="-D_LARGE_FILES"
20976 fi
20977 echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
20978 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6
20979 if test "${ac_cv_sys_largefile_source+set}" = set; then
20980 echo $ECHO_N "(cached) $ECHO_C" >&6
20981 else
20982 while :; do
20983 ac_cv_sys_largefile_source=no
20984 cat >conftest.$ac_ext <<_ACEOF
20985 /* confdefs.h. */
20986 _ACEOF
20987 cat confdefs.h >>conftest.$ac_ext
20988 cat >>conftest.$ac_ext <<_ACEOF
20989 /* end confdefs.h. */
20990 #include <stdio.h>
20991 int
20992 main ()
20993 {
20994 return !fseeko;
20995 ;
20996 return 0;
20997 }
20998 _ACEOF
20999 rm -f conftest.$ac_objext
21000 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21001 (eval $ac_compile) 2>conftest.er1
21002 ac_status=$?
21003 grep -v '^ *+' conftest.er1 >conftest.err
21004 rm -f conftest.er1
21005 cat conftest.err >&5
21006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21007 (exit $ac_status); } &&
21008 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21010 (eval $ac_try) 2>&5
21011 ac_status=$?
21012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21013 (exit $ac_status); }; } &&
21014 { ac_try='test -s conftest.$ac_objext'
21015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21016 (eval $ac_try) 2>&5
21017 ac_status=$?
21018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21019 (exit $ac_status); }; }; then
21020 break
21021 else
21022 echo "$as_me: failed program was:" >&5
21023 sed 's/^/| /' conftest.$ac_ext >&5
21024
21025 fi
21026 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21027 cat >conftest.$ac_ext <<_ACEOF
21028 /* confdefs.h. */
21029 _ACEOF
21030 cat confdefs.h >>conftest.$ac_ext
21031 cat >>conftest.$ac_ext <<_ACEOF
21032 /* end confdefs.h. */
21033 #define _LARGEFILE_SOURCE 1
21034 #include <stdio.h>
21035 int
21036 main ()
21037 {
21038 return !fseeko;
21039 ;
21040 return 0;
21041 }
21042 _ACEOF
21043 rm -f conftest.$ac_objext
21044 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21045 (eval $ac_compile) 2>conftest.er1
21046 ac_status=$?
21047 grep -v '^ *+' conftest.er1 >conftest.err
21048 rm -f conftest.er1
21049 cat conftest.err >&5
21050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21051 (exit $ac_status); } &&
21052 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21054 (eval $ac_try) 2>&5
21055 ac_status=$?
21056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21057 (exit $ac_status); }; } &&
21058 { ac_try='test -s conftest.$ac_objext'
21059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21060 (eval $ac_try) 2>&5
21061 ac_status=$?
21062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21063 (exit $ac_status); }; }; then
21064 ac_cv_sys_largefile_source=1; break
21065 else
21066 echo "$as_me: failed program was:" >&5
21067 sed 's/^/| /' conftest.$ac_ext >&5
21068
21069 fi
21070 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21071 break
21072 done
21073 fi
21074 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
21075 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6
21076 if test "$ac_cv_sys_largefile_source" != no; then
21077
21078 cat >>confdefs.h <<_ACEOF
21079 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
21080 _ACEOF
21081
21082 fi
21083 rm -f conftest*
21084
21085 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
21086 # in glibc 2.1.3, but that breaks too many other things.
21087 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
21088 echo "$as_me:$LINENO: checking for fseeko" >&5
21089 echo $ECHO_N "checking for fseeko... $ECHO_C" >&6
21090 if test "${ac_cv_func_fseeko+set}" = set; then
21091 echo $ECHO_N "(cached) $ECHO_C" >&6
21092 else
21093 cat >conftest.$ac_ext <<_ACEOF
21094 /* confdefs.h. */
21095 _ACEOF
21096 cat confdefs.h >>conftest.$ac_ext
21097 cat >>conftest.$ac_ext <<_ACEOF
21098 /* end confdefs.h. */
21099 #include <stdio.h>
21100 int
21101 main ()
21102 {
21103 return fseeko && fseeko (stdin, 0, 0);
21104 ;
21105 return 0;
21106 }
21107 _ACEOF
21108 rm -f conftest.$ac_objext conftest$ac_exeext
21109 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21110 (eval $ac_link) 2>conftest.er1
21111 ac_status=$?
21112 grep -v '^ *+' conftest.er1 >conftest.err
21113 rm -f conftest.er1
21114 cat conftest.err >&5
21115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21116 (exit $ac_status); } &&
21117 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21119 (eval $ac_try) 2>&5
21120 ac_status=$?
21121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21122 (exit $ac_status); }; } &&
21123 { ac_try='test -s conftest$ac_exeext'
21124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21125 (eval $ac_try) 2>&5
21126 ac_status=$?
21127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21128 (exit $ac_status); }; }; then
21129 ac_cv_func_fseeko=yes
21130 else
21131 echo "$as_me: failed program was:" >&5
21132 sed 's/^/| /' conftest.$ac_ext >&5
21133
21134 ac_cv_func_fseeko=no
21135 fi
21136 rm -f conftest.err conftest.$ac_objext \
21137 conftest$ac_exeext conftest.$ac_ext
21138 fi
21139 echo "$as_me:$LINENO: result: $ac_cv_func_fseeko" >&5
21140 echo "${ECHO_T}$ac_cv_func_fseeko" >&6
21141 if test $ac_cv_func_fseeko = yes; then
21142
21143 cat >>confdefs.h <<\_ACEOF
21144 #define HAVE_FSEEKO 1
21145 _ACEOF
21146
21147 fi
21148
21149 if test "$ac_cv_sys_largefile_source" != no; then
21150 WX_LARGEFILE_FLAGS="$WX_LARGEFILE_FLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
21151 fi
21152 CPPFLAGS="$CPPFLAGS $WX_LARGEFILE_FLAGS"
21153 fi
21154
21155 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
21156 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
21157 if test "${ac_cv_c_bigendian+set}" = set; then
21158 echo $ECHO_N "(cached) $ECHO_C" >&6
21159 else
21160 ac_cv_c_bigendian=unknown
21161 # See if sys/param.h defines the BYTE_ORDER macro.
21162 cat >conftest.$ac_ext <<_ACEOF
21163 /* confdefs.h. */
21164 _ACEOF
21165 cat confdefs.h >>conftest.$ac_ext
21166 cat >>conftest.$ac_ext <<_ACEOF
21167 /* end confdefs.h. */
21168 #include <sys/types.h>
21169 #include <sys/param.h>
21170 int
21171 main ()
21172 {
21173
21174 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
21175 bogus endian macros
21176 #endif
21177 ;
21178 return 0;
21179 }
21180 _ACEOF
21181 rm -f conftest.$ac_objext
21182 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21183 (eval $ac_compile) 2>conftest.er1
21184 ac_status=$?
21185 grep -v '^ *+' conftest.er1 >conftest.err
21186 rm -f conftest.er1
21187 cat conftest.err >&5
21188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21189 (exit $ac_status); } &&
21190 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21192 (eval $ac_try) 2>&5
21193 ac_status=$?
21194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21195 (exit $ac_status); }; } &&
21196 { ac_try='test -s conftest.$ac_objext'
21197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21198 (eval $ac_try) 2>&5
21199 ac_status=$?
21200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21201 (exit $ac_status); }; }; then
21202 # It does; now see whether it defined to BIG_ENDIAN or not.
21203 cat >conftest.$ac_ext <<_ACEOF
21204 /* confdefs.h. */
21205 _ACEOF
21206 cat confdefs.h >>conftest.$ac_ext
21207 cat >>conftest.$ac_ext <<_ACEOF
21208 /* end confdefs.h. */
21209 #include <sys/types.h>
21210 #include <sys/param.h>
21211 int
21212 main ()
21213 {
21214
21215 #if BYTE_ORDER != BIG_ENDIAN
21216 not big endian
21217 #endif
21218 ;
21219 return 0;
21220 }
21221 _ACEOF
21222 rm -f conftest.$ac_objext
21223 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21224 (eval $ac_compile) 2>conftest.er1
21225 ac_status=$?
21226 grep -v '^ *+' conftest.er1 >conftest.err
21227 rm -f conftest.er1
21228 cat conftest.err >&5
21229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21230 (exit $ac_status); } &&
21231 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21233 (eval $ac_try) 2>&5
21234 ac_status=$?
21235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21236 (exit $ac_status); }; } &&
21237 { ac_try='test -s conftest.$ac_objext'
21238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21239 (eval $ac_try) 2>&5
21240 ac_status=$?
21241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21242 (exit $ac_status); }; }; then
21243 ac_cv_c_bigendian=yes
21244 else
21245 echo "$as_me: failed program was:" >&5
21246 sed 's/^/| /' conftest.$ac_ext >&5
21247
21248 ac_cv_c_bigendian=no
21249 fi
21250 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21251 else
21252 echo "$as_me: failed program was:" >&5
21253 sed 's/^/| /' conftest.$ac_ext >&5
21254
21255 fi
21256 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21257 if test $ac_cv_c_bigendian = unknown; then
21258 if test "$cross_compiling" = yes; then
21259 ac_cv_c_bigendian=unknown
21260 else
21261 cat >conftest.$ac_ext <<_ACEOF
21262 /* confdefs.h. */
21263 _ACEOF
21264 cat confdefs.h >>conftest.$ac_ext
21265 cat >>conftest.$ac_ext <<_ACEOF
21266 /* end confdefs.h. */
21267 main () {
21268 /* Are we little or big endian? From Harbison&Steele. */
21269 union
21270 {
21271 long l;
21272 char c[sizeof (long)];
21273 } u;
21274 u.l = 1;
21275 exit (u.c[sizeof (long) - 1] == 1);
21276 }
21277 _ACEOF
21278 rm -f conftest$ac_exeext
21279 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21280 (eval $ac_link) 2>&5
21281 ac_status=$?
21282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21283 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21285 (eval $ac_try) 2>&5
21286 ac_status=$?
21287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21288 (exit $ac_status); }; }; then
21289 ac_cv_c_bigendian=no
21290 else
21291 echo "$as_me: program exited with status $ac_status" >&5
21292 echo "$as_me: failed program was:" >&5
21293 sed 's/^/| /' conftest.$ac_ext >&5
21294
21295 ( exit $ac_status )
21296 ac_cv_c_bigendian=yes
21297 fi
21298 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21299 fi
21300 fi
21301 fi
21302 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
21303 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
21304 if test $ac_cv_c_bigendian = unknown; then
21305 { 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
21306 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;}
21307 fi
21308 if test $ac_cv_c_bigendian = yes; then
21309 cat >>confdefs.h <<\_ACEOF
21310 #define WORDS_BIGENDIAN 1
21311 _ACEOF
21312
21313 fi
21314
21315
21316 ac_ext=cc
21317 ac_cpp='$CXXCPP $CPPFLAGS'
21318 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21319 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21320 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21321 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
21322 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
21323 if test -z "$CXXCPP"; then
21324 if test "${ac_cv_prog_CXXCPP+set}" = set; then
21325 echo $ECHO_N "(cached) $ECHO_C" >&6
21326 else
21327 # Double quotes because CXXCPP needs to be expanded
21328 for CXXCPP in "$CXX -E" "/lib/cpp"
21329 do
21330 ac_preproc_ok=false
21331 for ac_cxx_preproc_warn_flag in '' yes
21332 do
21333 # Use a header file that comes with gcc, so configuring glibc
21334 # with a fresh cross-compiler works.
21335 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21336 # <limits.h> exists even on freestanding compilers.
21337 # On the NeXT, cc -E runs the code through the compiler's parser,
21338 # not just through cpp. "Syntax error" is here to catch this case.
21339 cat >conftest.$ac_ext <<_ACEOF
21340 /* confdefs.h. */
21341 _ACEOF
21342 cat confdefs.h >>conftest.$ac_ext
21343 cat >>conftest.$ac_ext <<_ACEOF
21344 /* end confdefs.h. */
21345 #ifdef __STDC__
21346 # include <limits.h>
21347 #else
21348 # include <assert.h>
21349 #endif
21350 Syntax error
21351 _ACEOF
21352 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21353 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
21354 ac_status=$?
21355 grep -v '^ *+' conftest.er1 >conftest.err
21356 rm -f conftest.er1
21357 cat conftest.err >&5
21358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21359 (exit $ac_status); } >/dev/null; then
21360 if test -s conftest.err; then
21361 ac_cpp_err=$ac_cxx_preproc_warn_flag
21362 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
21363 else
21364 ac_cpp_err=
21365 fi
21366 else
21367 ac_cpp_err=yes
21368 fi
21369 if test -z "$ac_cpp_err"; then
21370 :
21371 else
21372 echo "$as_me: failed program was:" >&5
21373 sed 's/^/| /' conftest.$ac_ext >&5
21374
21375 # Broken: fails on valid input.
21376 continue
21377 fi
21378 rm -f conftest.err conftest.$ac_ext
21379
21380 # OK, works on sane cases. Now check whether non-existent headers
21381 # can be detected and how.
21382 cat >conftest.$ac_ext <<_ACEOF
21383 /* confdefs.h. */
21384 _ACEOF
21385 cat confdefs.h >>conftest.$ac_ext
21386 cat >>conftest.$ac_ext <<_ACEOF
21387 /* end confdefs.h. */
21388 #include <ac_nonexistent.h>
21389 _ACEOF
21390 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21391 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
21392 ac_status=$?
21393 grep -v '^ *+' conftest.er1 >conftest.err
21394 rm -f conftest.er1
21395 cat conftest.err >&5
21396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21397 (exit $ac_status); } >/dev/null; then
21398 if test -s conftest.err; then
21399 ac_cpp_err=$ac_cxx_preproc_warn_flag
21400 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
21401 else
21402 ac_cpp_err=
21403 fi
21404 else
21405 ac_cpp_err=yes
21406 fi
21407 if test -z "$ac_cpp_err"; then
21408 # Broken: success on invalid input.
21409 continue
21410 else
21411 echo "$as_me: failed program was:" >&5
21412 sed 's/^/| /' conftest.$ac_ext >&5
21413
21414 # Passes both tests.
21415 ac_preproc_ok=:
21416 break
21417 fi
21418 rm -f conftest.err conftest.$ac_ext
21419
21420 done
21421 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
21422 rm -f conftest.err conftest.$ac_ext
21423 if $ac_preproc_ok; then
21424 break
21425 fi
21426
21427 done
21428 ac_cv_prog_CXXCPP=$CXXCPP
21429
21430 fi
21431 CXXCPP=$ac_cv_prog_CXXCPP
21432 else
21433 ac_cv_prog_CXXCPP=$CXXCPP
21434 fi
21435 echo "$as_me:$LINENO: result: $CXXCPP" >&5
21436 echo "${ECHO_T}$CXXCPP" >&6
21437 ac_preproc_ok=false
21438 for ac_cxx_preproc_warn_flag in '' yes
21439 do
21440 # Use a header file that comes with gcc, so configuring glibc
21441 # with a fresh cross-compiler works.
21442 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21443 # <limits.h> exists even on freestanding compilers.
21444 # On the NeXT, cc -E runs the code through the compiler's parser,
21445 # not just through cpp. "Syntax error" is here to catch this case.
21446 cat >conftest.$ac_ext <<_ACEOF
21447 /* confdefs.h. */
21448 _ACEOF
21449 cat confdefs.h >>conftest.$ac_ext
21450 cat >>conftest.$ac_ext <<_ACEOF
21451 /* end confdefs.h. */
21452 #ifdef __STDC__
21453 # include <limits.h>
21454 #else
21455 # include <assert.h>
21456 #endif
21457 Syntax error
21458 _ACEOF
21459 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21460 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
21461 ac_status=$?
21462 grep -v '^ *+' conftest.er1 >conftest.err
21463 rm -f conftest.er1
21464 cat conftest.err >&5
21465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21466 (exit $ac_status); } >/dev/null; then
21467 if test -s conftest.err; then
21468 ac_cpp_err=$ac_cxx_preproc_warn_flag
21469 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
21470 else
21471 ac_cpp_err=
21472 fi
21473 else
21474 ac_cpp_err=yes
21475 fi
21476 if test -z "$ac_cpp_err"; then
21477 :
21478 else
21479 echo "$as_me: failed program was:" >&5
21480 sed 's/^/| /' conftest.$ac_ext >&5
21481
21482 # Broken: fails on valid input.
21483 continue
21484 fi
21485 rm -f conftest.err conftest.$ac_ext
21486
21487 # OK, works on sane cases. Now check whether non-existent headers
21488 # can be detected and how.
21489 cat >conftest.$ac_ext <<_ACEOF
21490 /* confdefs.h. */
21491 _ACEOF
21492 cat confdefs.h >>conftest.$ac_ext
21493 cat >>conftest.$ac_ext <<_ACEOF
21494 /* end confdefs.h. */
21495 #include <ac_nonexistent.h>
21496 _ACEOF
21497 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21498 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
21499 ac_status=$?
21500 grep -v '^ *+' conftest.er1 >conftest.err
21501 rm -f conftest.er1
21502 cat conftest.err >&5
21503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21504 (exit $ac_status); } >/dev/null; then
21505 if test -s conftest.err; then
21506 ac_cpp_err=$ac_cxx_preproc_warn_flag
21507 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
21508 else
21509 ac_cpp_err=
21510 fi
21511 else
21512 ac_cpp_err=yes
21513 fi
21514 if test -z "$ac_cpp_err"; then
21515 # Broken: success on invalid input.
21516 continue
21517 else
21518 echo "$as_me: failed program was:" >&5
21519 sed 's/^/| /' conftest.$ac_ext >&5
21520
21521 # Passes both tests.
21522 ac_preproc_ok=:
21523 break
21524 fi
21525 rm -f conftest.err conftest.$ac_ext
21526
21527 done
21528 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
21529 rm -f conftest.err conftest.$ac_ext
21530 if $ac_preproc_ok; then
21531 :
21532 else
21533 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
21534 See \`config.log' for more details." >&5
21535 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
21536 See \`config.log' for more details." >&2;}
21537 { (exit 1); exit 1; }; }
21538 fi
21539
21540 ac_ext=cc
21541 ac_cpp='$CXXCPP $CPPFLAGS'
21542 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21543 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21544 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21545
21546
21547
21548
21549
21550 ac_ext=cc
21551 ac_cpp='$CXXCPP $CPPFLAGS'
21552 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21553 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21554 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21555
21556
21557
21558 for ac_header in iostream
21559 do
21560 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21561 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21562 echo "$as_me:$LINENO: checking for $ac_header" >&5
21563 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21564 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21565 echo $ECHO_N "(cached) $ECHO_C" >&6
21566 fi
21567 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21568 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21569 else
21570 # Is the header compilable?
21571 echo "$as_me:$LINENO: checking $ac_header usability" >&5
21572 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
21573 cat >conftest.$ac_ext <<_ACEOF
21574 /* confdefs.h. */
21575 _ACEOF
21576 cat confdefs.h >>conftest.$ac_ext
21577 cat >>conftest.$ac_ext <<_ACEOF
21578 /* end confdefs.h. */
21579 $ac_includes_default
21580 #include <$ac_header>
21581 _ACEOF
21582 rm -f conftest.$ac_objext
21583 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21584 (eval $ac_compile) 2>conftest.er1
21585 ac_status=$?
21586 grep -v '^ *+' conftest.er1 >conftest.err
21587 rm -f conftest.er1
21588 cat conftest.err >&5
21589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21590 (exit $ac_status); } &&
21591 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21593 (eval $ac_try) 2>&5
21594 ac_status=$?
21595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21596 (exit $ac_status); }; } &&
21597 { ac_try='test -s conftest.$ac_objext'
21598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21599 (eval $ac_try) 2>&5
21600 ac_status=$?
21601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21602 (exit $ac_status); }; }; then
21603 ac_header_compiler=yes
21604 else
21605 echo "$as_me: failed program was:" >&5
21606 sed 's/^/| /' conftest.$ac_ext >&5
21607
21608 ac_header_compiler=no
21609 fi
21610 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21611 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21612 echo "${ECHO_T}$ac_header_compiler" >&6
21613
21614 # Is the header present?
21615 echo "$as_me:$LINENO: checking $ac_header presence" >&5
21616 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
21617 cat >conftest.$ac_ext <<_ACEOF
21618 /* confdefs.h. */
21619 _ACEOF
21620 cat confdefs.h >>conftest.$ac_ext
21621 cat >>conftest.$ac_ext <<_ACEOF
21622 /* end confdefs.h. */
21623 #include <$ac_header>
21624 _ACEOF
21625 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21626 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
21627 ac_status=$?
21628 grep -v '^ *+' conftest.er1 >conftest.err
21629 rm -f conftest.er1
21630 cat conftest.err >&5
21631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21632 (exit $ac_status); } >/dev/null; then
21633 if test -s conftest.err; then
21634 ac_cpp_err=$ac_cxx_preproc_warn_flag
21635 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
21636 else
21637 ac_cpp_err=
21638 fi
21639 else
21640 ac_cpp_err=yes
21641 fi
21642 if test -z "$ac_cpp_err"; then
21643 ac_header_preproc=yes
21644 else
21645 echo "$as_me: failed program was:" >&5
21646 sed 's/^/| /' conftest.$ac_ext >&5
21647
21648 ac_header_preproc=no
21649 fi
21650 rm -f conftest.err conftest.$ac_ext
21651 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21652 echo "${ECHO_T}$ac_header_preproc" >&6
21653
21654 # So? What about this header?
21655 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
21656 yes:no: )
21657 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
21658 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
21659 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
21660 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
21661 ac_header_preproc=yes
21662 ;;
21663 no:yes:* )
21664 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
21665 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
21666 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
21667 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
21668 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
21669 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
21670 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
21671 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
21672 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
21673 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
21674 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
21675 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
21676 (
21677 cat <<\_ASBOX
21678 ## ----------------------------------------- ##
21679 ## Report this to wx-dev@lists.wxwidgets.org ##
21680 ## ----------------------------------------- ##
21681 _ASBOX
21682 ) |
21683 sed "s/^/$as_me: WARNING: /" >&2
21684 ;;
21685 esac
21686 echo "$as_me:$LINENO: checking for $ac_header" >&5
21687 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21688 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21689 echo $ECHO_N "(cached) $ECHO_C" >&6
21690 else
21691 eval "$as_ac_Header=\$ac_header_preproc"
21692 fi
21693 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21694 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21695
21696 fi
21697 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21698 cat >>confdefs.h <<_ACEOF
21699 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21700 _ACEOF
21701
21702 fi
21703
21704 done
21705
21706
21707 if test "$ac_cv_header_iostream" = "yes" ; then
21708 :
21709 else
21710 cat >>confdefs.h <<\_ACEOF
21711 #define wxUSE_IOSTREAMH 1
21712 _ACEOF
21713
21714 fi
21715
21716 ac_ext=c
21717 ac_cpp='$CPP $CPPFLAGS'
21718 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21719 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21720 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21721
21722
21723
21724
21725 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
21726 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
21727 if test "${wx_cv_cpp_bool+set}" = set; then
21728 echo $ECHO_N "(cached) $ECHO_C" >&6
21729 else
21730
21731
21732
21733 ac_ext=cc
21734 ac_cpp='$CXXCPP $CPPFLAGS'
21735 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21736 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21737 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21738
21739
21740 cat >conftest.$ac_ext <<_ACEOF
21741 /* confdefs.h. */
21742 _ACEOF
21743 cat confdefs.h >>conftest.$ac_ext
21744 cat >>conftest.$ac_ext <<_ACEOF
21745 /* end confdefs.h. */
21746
21747
21748 int
21749 main ()
21750 {
21751
21752 bool b = true;
21753
21754 return 0;
21755
21756 ;
21757 return 0;
21758 }
21759 _ACEOF
21760 rm -f conftest.$ac_objext
21761 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21762 (eval $ac_compile) 2>conftest.er1
21763 ac_status=$?
21764 grep -v '^ *+' conftest.er1 >conftest.err
21765 rm -f conftest.er1
21766 cat conftest.err >&5
21767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21768 (exit $ac_status); } &&
21769 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21771 (eval $ac_try) 2>&5
21772 ac_status=$?
21773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21774 (exit $ac_status); }; } &&
21775 { ac_try='test -s conftest.$ac_objext'
21776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21777 (eval $ac_try) 2>&5
21778 ac_status=$?
21779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21780 (exit $ac_status); }; }; then
21781
21782 wx_cv_cpp_bool=yes
21783
21784 else
21785 echo "$as_me: failed program was:" >&5
21786 sed 's/^/| /' conftest.$ac_ext >&5
21787
21788
21789 wx_cv_cpp_bool=no
21790
21791
21792 fi
21793 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21794
21795 ac_ext=c
21796 ac_cpp='$CPP $CPPFLAGS'
21797 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21798 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21799 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21800
21801
21802 fi
21803 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
21804 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
21805
21806 if test "$wx_cv_cpp_bool" = "yes"; then
21807 cat >>confdefs.h <<\_ACEOF
21808 #define HAVE_BOOL 1
21809 _ACEOF
21810
21811 fi
21812
21813
21814
21815 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
21816 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
21817 if test "${wx_cv_explicit+set}" = set; then
21818 echo $ECHO_N "(cached) $ECHO_C" >&6
21819 else
21820
21821
21822
21823 ac_ext=cc
21824 ac_cpp='$CXXCPP $CPPFLAGS'
21825 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21826 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21827 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21828
21829
21830 cat >conftest.$ac_ext <<_ACEOF
21831 /* confdefs.h. */
21832 _ACEOF
21833 cat confdefs.h >>conftest.$ac_ext
21834 cat >>conftest.$ac_ext <<_ACEOF
21835 /* end confdefs.h. */
21836
21837 class Foo { public: explicit Foo(int) {} };
21838
21839 int
21840 main ()
21841 {
21842
21843 return 0;
21844
21845 ;
21846 return 0;
21847 }
21848 _ACEOF
21849 rm -f conftest.$ac_objext
21850 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21851 (eval $ac_compile) 2>conftest.er1
21852 ac_status=$?
21853 grep -v '^ *+' conftest.er1 >conftest.err
21854 rm -f conftest.er1
21855 cat conftest.err >&5
21856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21857 (exit $ac_status); } &&
21858 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21860 (eval $ac_try) 2>&5
21861 ac_status=$?
21862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21863 (exit $ac_status); }; } &&
21864 { ac_try='test -s conftest.$ac_objext'
21865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21866 (eval $ac_try) 2>&5
21867 ac_status=$?
21868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21869 (exit $ac_status); }; }; then
21870
21871 cat >conftest.$ac_ext <<_ACEOF
21872 /* confdefs.h. */
21873 _ACEOF
21874 cat confdefs.h >>conftest.$ac_ext
21875 cat >>conftest.$ac_ext <<_ACEOF
21876 /* end confdefs.h. */
21877
21878 class Foo { public: explicit Foo(int) {} };
21879 static void TakeFoo(const Foo& foo) { }
21880
21881 int
21882 main ()
21883 {
21884
21885 TakeFoo(17);
21886 return 0;
21887
21888 ;
21889 return 0;
21890 }
21891 _ACEOF
21892 rm -f conftest.$ac_objext
21893 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21894 (eval $ac_compile) 2>conftest.er1
21895 ac_status=$?
21896 grep -v '^ *+' conftest.er1 >conftest.err
21897 rm -f conftest.er1
21898 cat conftest.err >&5
21899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21900 (exit $ac_status); } &&
21901 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
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); }; } &&
21907 { ac_try='test -s conftest.$ac_objext'
21908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21909 (eval $ac_try) 2>&5
21910 ac_status=$?
21911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21912 (exit $ac_status); }; }; then
21913 wx_cv_explicit=no
21914 else
21915 echo "$as_me: failed program was:" >&5
21916 sed 's/^/| /' conftest.$ac_ext >&5
21917
21918 wx_cv_explicit=yes
21919
21920 fi
21921 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21922
21923 else
21924 echo "$as_me: failed program was:" >&5
21925 sed 's/^/| /' conftest.$ac_ext >&5
21926
21927 wx_cv_explicit=no
21928
21929 fi
21930 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21931
21932 ac_ext=c
21933 ac_cpp='$CPP $CPPFLAGS'
21934 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21935 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21936 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21937
21938
21939 fi
21940 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
21941 echo "${ECHO_T}$wx_cv_explicit" >&6
21942
21943 if test "$wx_cv_explicit" = "yes"; then
21944 cat >>confdefs.h <<\_ACEOF
21945 #define HAVE_EXPLICIT 1
21946 _ACEOF
21947
21948 fi
21949
21950
21951 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
21952 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
21953 if test "${ac_cv_cxx_const_cast+set}" = set; then
21954 echo $ECHO_N "(cached) $ECHO_C" >&6
21955 else
21956
21957
21958 ac_ext=cc
21959 ac_cpp='$CXXCPP $CPPFLAGS'
21960 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21961 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21962 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21963
21964 cat >conftest.$ac_ext <<_ACEOF
21965 /* confdefs.h. */
21966 _ACEOF
21967 cat confdefs.h >>conftest.$ac_ext
21968 cat >>conftest.$ac_ext <<_ACEOF
21969 /* end confdefs.h. */
21970
21971 int
21972 main ()
21973 {
21974 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
21975 ;
21976 return 0;
21977 }
21978 _ACEOF
21979 rm -f conftest.$ac_objext
21980 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21981 (eval $ac_compile) 2>conftest.er1
21982 ac_status=$?
21983 grep -v '^ *+' conftest.er1 >conftest.err
21984 rm -f conftest.er1
21985 cat conftest.err >&5
21986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21987 (exit $ac_status); } &&
21988 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21990 (eval $ac_try) 2>&5
21991 ac_status=$?
21992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21993 (exit $ac_status); }; } &&
21994 { ac_try='test -s conftest.$ac_objext'
21995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21996 (eval $ac_try) 2>&5
21997 ac_status=$?
21998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21999 (exit $ac_status); }; }; then
22000 ac_cv_cxx_const_cast=yes
22001 else
22002 echo "$as_me: failed program was:" >&5
22003 sed 's/^/| /' conftest.$ac_ext >&5
22004
22005 ac_cv_cxx_const_cast=no
22006 fi
22007 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22008 ac_ext=c
22009 ac_cpp='$CPP $CPPFLAGS'
22010 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22011 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22012 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22013
22014
22015 fi
22016 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
22017 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
22018 if test "$ac_cv_cxx_const_cast" = yes; then
22019
22020 cat >>confdefs.h <<\_ACEOF
22021 #define HAVE_CONST_CAST
22022 _ACEOF
22023
22024 fi
22025
22026 echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
22027 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6
22028 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
22029 echo $ECHO_N "(cached) $ECHO_C" >&6
22030 else
22031
22032
22033 ac_ext=cc
22034 ac_cpp='$CXXCPP $CPPFLAGS'
22035 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22036 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22037 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22038
22039 cat >conftest.$ac_ext <<_ACEOF
22040 /* confdefs.h. */
22041 _ACEOF
22042 cat confdefs.h >>conftest.$ac_ext
22043 cat >>conftest.$ac_ext <<_ACEOF
22044 /* end confdefs.h. */
22045 #include <typeinfo>
22046 class Base { public : Base () {} virtual void f () = 0;};
22047 class Derived : public Base { public : Derived () {} virtual void f () {} };
22048 class Unrelated { public : Unrelated () {} };
22049 int g (Unrelated&) { return 0; }
22050 int
22051 main ()
22052 {
22053
22054 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
22055 ;
22056 return 0;
22057 }
22058 _ACEOF
22059 rm -f conftest.$ac_objext
22060 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22061 (eval $ac_compile) 2>conftest.er1
22062 ac_status=$?
22063 grep -v '^ *+' conftest.er1 >conftest.err
22064 rm -f conftest.er1
22065 cat conftest.err >&5
22066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22067 (exit $ac_status); } &&
22068 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22070 (eval $ac_try) 2>&5
22071 ac_status=$?
22072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22073 (exit $ac_status); }; } &&
22074 { ac_try='test -s conftest.$ac_objext'
22075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22076 (eval $ac_try) 2>&5
22077 ac_status=$?
22078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22079 (exit $ac_status); }; }; then
22080 ac_cv_cxx_reinterpret_cast=yes
22081 else
22082 echo "$as_me: failed program was:" >&5
22083 sed 's/^/| /' conftest.$ac_ext >&5
22084
22085 ac_cv_cxx_reinterpret_cast=no
22086 fi
22087 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22088 ac_ext=c
22089 ac_cpp='$CPP $CPPFLAGS'
22090 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22091 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22092 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22093
22094
22095 fi
22096 echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
22097 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6
22098 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
22099
22100 cat >>confdefs.h <<\_ACEOF
22101 #define HAVE_REINTERPRET_CAST
22102 _ACEOF
22103
22104 fi
22105
22106 echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
22107 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6
22108 if test "${ac_cv_cxx_static_cast+set}" = set; then
22109 echo $ECHO_N "(cached) $ECHO_C" >&6
22110 else
22111
22112
22113 ac_ext=cc
22114 ac_cpp='$CXXCPP $CPPFLAGS'
22115 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22116 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22117 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22118
22119 cat >conftest.$ac_ext <<_ACEOF
22120 /* confdefs.h. */
22121 _ACEOF
22122 cat confdefs.h >>conftest.$ac_ext
22123 cat >>conftest.$ac_ext <<_ACEOF
22124 /* end confdefs.h. */
22125 #include <typeinfo>
22126 class Base { public : Base () {} virtual void f () = 0; };
22127 class Derived : public Base { public : Derived () {} virtual void f () {} };
22128 int g (Derived&) { return 0; }
22129 int
22130 main ()
22131 {
22132
22133 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
22134 ;
22135 return 0;
22136 }
22137 _ACEOF
22138 rm -f conftest.$ac_objext
22139 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22140 (eval $ac_compile) 2>conftest.er1
22141 ac_status=$?
22142 grep -v '^ *+' conftest.er1 >conftest.err
22143 rm -f conftest.er1
22144 cat conftest.err >&5
22145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22146 (exit $ac_status); } &&
22147 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22149 (eval $ac_try) 2>&5
22150 ac_status=$?
22151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22152 (exit $ac_status); }; } &&
22153 { ac_try='test -s conftest.$ac_objext'
22154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22155 (eval $ac_try) 2>&5
22156 ac_status=$?
22157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22158 (exit $ac_status); }; }; then
22159 ac_cv_cxx_static_cast=yes
22160 else
22161 echo "$as_me: failed program was:" >&5
22162 sed 's/^/| /' conftest.$ac_ext >&5
22163
22164 ac_cv_cxx_static_cast=no
22165 fi
22166 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22167 ac_ext=c
22168 ac_cpp='$CPP $CPPFLAGS'
22169 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22170 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22171 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22172
22173
22174 fi
22175 echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
22176 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6
22177 if test "$ac_cv_cxx_static_cast" = yes; then
22178
22179 cat >>confdefs.h <<\_ACEOF
22180 #define HAVE_STATIC_CAST
22181 _ACEOF
22182
22183 fi
22184
22185
22186 if test "x$SUNCXX" = xyes; then
22187 CXXFLAGS="$CXXFLAGS -features=tmplife"
22188 fi
22189
22190 if test "x$SUNCC" = xyes; then
22191 CFLAGS="$CFLAGS -erroff=E_NO_EXPLICIT_TYPE_GIVEN"
22192 fi
22193
22194 if test "x$SGICC" = "xyes"; then
22195 CFLAGS="$CFLAGS -woff 3970"
22196 fi
22197 if test "x$SGICXX" = "xyes"; then
22198 CXXFLAGS="$CXXFLAGS -woff 3970"
22199 fi
22200
22201 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
22202 ac_ext=cc
22203 ac_cpp='$CXXCPP $CPPFLAGS'
22204 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22205 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22206 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22207
22208
22209 if test "$wxUSE_UNICODE" = "yes"; then
22210 std_string="std::wstring"
22211 char_type="wchar_t"
22212 else
22213 std_string="std::string"
22214 char_type="char"
22215 fi
22216
22217 echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
22218 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6
22219 cat >conftest.$ac_ext <<_ACEOF
22220 /* confdefs.h. */
22221 _ACEOF
22222 cat confdefs.h >>conftest.$ac_ext
22223 cat >>conftest.$ac_ext <<_ACEOF
22224 /* end confdefs.h. */
22225 #include <string>
22226 int
22227 main ()
22228 {
22229 $std_string foo;
22230 ;
22231 return 0;
22232 }
22233 _ACEOF
22234 rm -f conftest.$ac_objext
22235 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22236 (eval $ac_compile) 2>conftest.er1
22237 ac_status=$?
22238 grep -v '^ *+' conftest.er1 >conftest.err
22239 rm -f conftest.er1
22240 cat conftest.err >&5
22241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22242 (exit $ac_status); } &&
22243 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22245 (eval $ac_try) 2>&5
22246 ac_status=$?
22247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22248 (exit $ac_status); }; } &&
22249 { ac_try='test -s conftest.$ac_objext'
22250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22251 (eval $ac_try) 2>&5
22252 ac_status=$?
22253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22254 (exit $ac_status); }; }; then
22255 echo "$as_me:$LINENO: result: yes" >&5
22256 echo "${ECHO_T}yes" >&6
22257 cat >>confdefs.h <<\_ACEOF
22258 #define HAVE_STD_WSTRING 1
22259 _ACEOF
22260
22261 else
22262 echo "$as_me: failed program was:" >&5
22263 sed 's/^/| /' conftest.$ac_ext >&5
22264
22265 echo "$as_me:$LINENO: result: no" >&5
22266 echo "${ECHO_T}no" >&6
22267 echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
22268 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6
22269 cat >conftest.$ac_ext <<_ACEOF
22270 /* confdefs.h. */
22271 _ACEOF
22272 cat confdefs.h >>conftest.$ac_ext
22273 cat >>conftest.$ac_ext <<_ACEOF
22274 /* end confdefs.h. */
22275
22276 #ifdef HAVE_WCHAR_H
22277 # ifdef __CYGWIN__
22278 # include <stddef.h>
22279 # endif
22280 # include <wchar.h>
22281 #endif
22282 #ifdef HAVE_STDLIB_H
22283 # include <stdlib.h>
22284 #endif
22285 #include <stdio.h>
22286 #include <string>
22287
22288 int
22289 main ()
22290 {
22291 std::basic_string<$char_type> foo;
22292 const $char_type* dummy = foo.c_str();
22293 ;
22294 return 0;
22295 }
22296 _ACEOF
22297 rm -f conftest.$ac_objext
22298 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22299 (eval $ac_compile) 2>conftest.er1
22300 ac_status=$?
22301 grep -v '^ *+' conftest.er1 >conftest.err
22302 rm -f conftest.er1
22303 cat conftest.err >&5
22304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22305 (exit $ac_status); } &&
22306 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22308 (eval $ac_try) 2>&5
22309 ac_status=$?
22310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22311 (exit $ac_status); }; } &&
22312 { ac_try='test -s conftest.$ac_objext'
22313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22314 (eval $ac_try) 2>&5
22315 ac_status=$?
22316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22317 (exit $ac_status); }; }; then
22318 echo "$as_me:$LINENO: result: yes" >&5
22319 echo "${ECHO_T}yes" >&6
22320 else
22321 echo "$as_me: failed program was:" >&5
22322 sed 's/^/| /' conftest.$ac_ext >&5
22323
22324 echo "$as_me:$LINENO: result: no" >&5
22325 echo "${ECHO_T}no" >&6
22326 if test "$wxUSE_STL" = "yes"; then
22327 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
22328 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
22329 { (exit 1); exit 1; }; }
22330 elif grep wxUSE_STD_STRING $wx_arg_cache_file >/dev/null; then
22331 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
22332 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
22333 { (exit 1); exit 1; }; }
22334 else
22335 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
22336 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
22337 wxUSE_STD_STRING=no
22338 fi
22339
22340
22341 fi
22342 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22343
22344 fi
22345 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22346
22347 ac_ext=c
22348 ac_cpp='$CPP $CPPFLAGS'
22349 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22350 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22351 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22352
22353 fi
22354
22355 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
22356 ac_ext=cc
22357 ac_cpp='$CXXCPP $CPPFLAGS'
22358 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22359 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22360 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22361
22362
22363 echo "$as_me:$LINENO: checking for std::istream" >&5
22364 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6
22365 if test "${ac_cv_type_std__istream+set}" = set; then
22366 echo $ECHO_N "(cached) $ECHO_C" >&6
22367 else
22368 cat >conftest.$ac_ext <<_ACEOF
22369 /* confdefs.h. */
22370 _ACEOF
22371 cat confdefs.h >>conftest.$ac_ext
22372 cat >>conftest.$ac_ext <<_ACEOF
22373 /* end confdefs.h. */
22374 #include <iostream>
22375
22376 int
22377 main ()
22378 {
22379 if ((std::istream *) 0)
22380 return 0;
22381 if (sizeof (std::istream))
22382 return 0;
22383 ;
22384 return 0;
22385 }
22386 _ACEOF
22387 rm -f conftest.$ac_objext
22388 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22389 (eval $ac_compile) 2>conftest.er1
22390 ac_status=$?
22391 grep -v '^ *+' conftest.er1 >conftest.err
22392 rm -f conftest.er1
22393 cat conftest.err >&5
22394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22395 (exit $ac_status); } &&
22396 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22398 (eval $ac_try) 2>&5
22399 ac_status=$?
22400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22401 (exit $ac_status); }; } &&
22402 { ac_try='test -s conftest.$ac_objext'
22403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22404 (eval $ac_try) 2>&5
22405 ac_status=$?
22406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22407 (exit $ac_status); }; }; then
22408 ac_cv_type_std__istream=yes
22409 else
22410 echo "$as_me: failed program was:" >&5
22411 sed 's/^/| /' conftest.$ac_ext >&5
22412
22413 ac_cv_type_std__istream=no
22414 fi
22415 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22416 fi
22417 echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
22418 echo "${ECHO_T}$ac_cv_type_std__istream" >&6
22419 if test $ac_cv_type_std__istream = yes; then
22420
22421 cat >>confdefs.h <<_ACEOF
22422 #define HAVE_STD__ISTREAM 1
22423 _ACEOF
22424
22425
22426 else
22427 wxUSE_STD_IOSTREAM=no
22428 fi
22429 echo "$as_me:$LINENO: checking for std::ostream" >&5
22430 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6
22431 if test "${ac_cv_type_std__ostream+set}" = set; then
22432 echo $ECHO_N "(cached) $ECHO_C" >&6
22433 else
22434 cat >conftest.$ac_ext <<_ACEOF
22435 /* confdefs.h. */
22436 _ACEOF
22437 cat confdefs.h >>conftest.$ac_ext
22438 cat >>conftest.$ac_ext <<_ACEOF
22439 /* end confdefs.h. */
22440 #include <iostream>
22441
22442 int
22443 main ()
22444 {
22445 if ((std::ostream *) 0)
22446 return 0;
22447 if (sizeof (std::ostream))
22448 return 0;
22449 ;
22450 return 0;
22451 }
22452 _ACEOF
22453 rm -f conftest.$ac_objext
22454 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22455 (eval $ac_compile) 2>conftest.er1
22456 ac_status=$?
22457 grep -v '^ *+' conftest.er1 >conftest.err
22458 rm -f conftest.er1
22459 cat conftest.err >&5
22460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22461 (exit $ac_status); } &&
22462 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22464 (eval $ac_try) 2>&5
22465 ac_status=$?
22466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22467 (exit $ac_status); }; } &&
22468 { ac_try='test -s conftest.$ac_objext'
22469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22470 (eval $ac_try) 2>&5
22471 ac_status=$?
22472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22473 (exit $ac_status); }; }; then
22474 ac_cv_type_std__ostream=yes
22475 else
22476 echo "$as_me: failed program was:" >&5
22477 sed 's/^/| /' conftest.$ac_ext >&5
22478
22479 ac_cv_type_std__ostream=no
22480 fi
22481 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22482 fi
22483 echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
22484 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6
22485 if test $ac_cv_type_std__ostream = yes; then
22486
22487 cat >>confdefs.h <<_ACEOF
22488 #define HAVE_STD__OSTREAM 1
22489 _ACEOF
22490
22491
22492 else
22493 wxUSE_STD_IOSTREAM=no
22494 fi
22495
22496
22497 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
22498 if grep wxUSE_STD_IOSTREAM $wx_arg_cache_file >/dev/null; then
22499 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
22500 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
22501 { (exit 1); exit 1; }; }
22502 else
22503 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
22504 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
22505 fi
22506 fi
22507
22508 ac_ext=c
22509 ac_cpp='$CPP $CPPFLAGS'
22510 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22511 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22512 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22513
22514 fi
22515
22516 if test "$wxUSE_STL" = "yes"; then
22517 ac_ext=cc
22518 ac_cpp='$CXXCPP $CPPFLAGS'
22519 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22520 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22521 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22522
22523
22524 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
22525 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
22526 cat >conftest.$ac_ext <<_ACEOF
22527 /* confdefs.h. */
22528 _ACEOF
22529 cat confdefs.h >>conftest.$ac_ext
22530 cat >>conftest.$ac_ext <<_ACEOF
22531 /* end confdefs.h. */
22532 #include <string>
22533 #include <functional>
22534 #include <algorithm>
22535 #include <vector>
22536 #include <list>
22537 int
22538 main ()
22539 {
22540 std::vector<int> moo;
22541 std::list<int> foo;
22542 std::vector<int>::iterator it =
22543 std::find_if(moo.begin(), moo.end(),
22544 std::bind2nd(std::less<int>(), 3));
22545 ;
22546 return 0;
22547 }
22548 _ACEOF
22549 rm -f conftest.$ac_objext
22550 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22551 (eval $ac_compile) 2>conftest.er1
22552 ac_status=$?
22553 grep -v '^ *+' conftest.er1 >conftest.err
22554 rm -f conftest.er1
22555 cat conftest.err >&5
22556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22557 (exit $ac_status); } &&
22558 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22560 (eval $ac_try) 2>&5
22561 ac_status=$?
22562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22563 (exit $ac_status); }; } &&
22564 { ac_try='test -s conftest.$ac_objext'
22565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22566 (eval $ac_try) 2>&5
22567 ac_status=$?
22568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22569 (exit $ac_status); }; }; then
22570 echo "$as_me:$LINENO: result: yes" >&5
22571 echo "${ECHO_T}yes" >&6
22572 else
22573 echo "$as_me: failed program was:" >&5
22574 sed 's/^/| /' conftest.$ac_ext >&5
22575
22576 echo "$as_me:$LINENO: result: no" >&5
22577 echo "${ECHO_T}no" >&6
22578 { { echo "$as_me:$LINENO: error: Basic STL functionality missing" >&5
22579 echo "$as_me: error: Basic STL functionality missing" >&2;}
22580 { (exit 1); exit 1; }; }
22581 fi
22582 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22583
22584 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
22585 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
22586 cat >conftest.$ac_ext <<_ACEOF
22587 /* confdefs.h. */
22588 _ACEOF
22589 cat confdefs.h >>conftest.$ac_ext
22590 cat >>conftest.$ac_ext <<_ACEOF
22591 /* end confdefs.h. */
22592 #include <string>
22593 int
22594 main ()
22595 {
22596 std::string foo, bar;
22597 foo.compare(bar);
22598 foo.compare(1, 1, bar);
22599 foo.compare(1, 1, bar, 1, 1);
22600 foo.compare("");
22601 foo.compare(1, 1, "");
22602 foo.compare(1, 1, "", 2);
22603 ;
22604 return 0;
22605 }
22606 _ACEOF
22607 rm -f conftest.$ac_objext
22608 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22609 (eval $ac_compile) 2>conftest.er1
22610 ac_status=$?
22611 grep -v '^ *+' conftest.er1 >conftest.err
22612 rm -f conftest.er1
22613 cat conftest.err >&5
22614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22615 (exit $ac_status); } &&
22616 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22618 (eval $ac_try) 2>&5
22619 ac_status=$?
22620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22621 (exit $ac_status); }; } &&
22622 { ac_try='test -s conftest.$ac_objext'
22623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22624 (eval $ac_try) 2>&5
22625 ac_status=$?
22626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22627 (exit $ac_status); }; }; then
22628 echo "$as_me:$LINENO: result: yes" >&5
22629 echo "${ECHO_T}yes" >&6
22630 cat >>confdefs.h <<\_ACEOF
22631 #define HAVE_STD_STRING_COMPARE 1
22632 _ACEOF
22633
22634 else
22635 echo "$as_me: failed program was:" >&5
22636 sed 's/^/| /' conftest.$ac_ext >&5
22637
22638 echo "$as_me:$LINENO: result: no" >&5
22639 echo "${ECHO_T}no" >&6
22640 fi
22641 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22642
22643 if test "${ac_cv_header_hash_map+set}" = set; then
22644 echo "$as_me:$LINENO: checking for hash_map" >&5
22645 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
22646 if test "${ac_cv_header_hash_map+set}" = set; then
22647 echo $ECHO_N "(cached) $ECHO_C" >&6
22648 fi
22649 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
22650 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
22651 else
22652 # Is the header compilable?
22653 echo "$as_me:$LINENO: checking hash_map usability" >&5
22654 echo $ECHO_N "checking hash_map usability... $ECHO_C" >&6
22655 cat >conftest.$ac_ext <<_ACEOF
22656 /* confdefs.h. */
22657 _ACEOF
22658 cat confdefs.h >>conftest.$ac_ext
22659 cat >>conftest.$ac_ext <<_ACEOF
22660 /* end confdefs.h. */
22661 $ac_includes_default
22662 #include <hash_map>
22663 _ACEOF
22664 rm -f conftest.$ac_objext
22665 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22666 (eval $ac_compile) 2>conftest.er1
22667 ac_status=$?
22668 grep -v '^ *+' conftest.er1 >conftest.err
22669 rm -f conftest.er1
22670 cat conftest.err >&5
22671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22672 (exit $ac_status); } &&
22673 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22675 (eval $ac_try) 2>&5
22676 ac_status=$?
22677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22678 (exit $ac_status); }; } &&
22679 { ac_try='test -s conftest.$ac_objext'
22680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22681 (eval $ac_try) 2>&5
22682 ac_status=$?
22683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22684 (exit $ac_status); }; }; then
22685 ac_header_compiler=yes
22686 else
22687 echo "$as_me: failed program was:" >&5
22688 sed 's/^/| /' conftest.$ac_ext >&5
22689
22690 ac_header_compiler=no
22691 fi
22692 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22693 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22694 echo "${ECHO_T}$ac_header_compiler" >&6
22695
22696 # Is the header present?
22697 echo "$as_me:$LINENO: checking hash_map presence" >&5
22698 echo $ECHO_N "checking hash_map presence... $ECHO_C" >&6
22699 cat >conftest.$ac_ext <<_ACEOF
22700 /* confdefs.h. */
22701 _ACEOF
22702 cat confdefs.h >>conftest.$ac_ext
22703 cat >>conftest.$ac_ext <<_ACEOF
22704 /* end confdefs.h. */
22705 #include <hash_map>
22706 _ACEOF
22707 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22708 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
22709 ac_status=$?
22710 grep -v '^ *+' conftest.er1 >conftest.err
22711 rm -f conftest.er1
22712 cat conftest.err >&5
22713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22714 (exit $ac_status); } >/dev/null; then
22715 if test -s conftest.err; then
22716 ac_cpp_err=$ac_cxx_preproc_warn_flag
22717 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
22718 else
22719 ac_cpp_err=
22720 fi
22721 else
22722 ac_cpp_err=yes
22723 fi
22724 if test -z "$ac_cpp_err"; then
22725 ac_header_preproc=yes
22726 else
22727 echo "$as_me: failed program was:" >&5
22728 sed 's/^/| /' conftest.$ac_ext >&5
22729
22730 ac_header_preproc=no
22731 fi
22732 rm -f conftest.err conftest.$ac_ext
22733 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22734 echo "${ECHO_T}$ac_header_preproc" >&6
22735
22736 # So? What about this header?
22737 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
22738 yes:no: )
22739 { echo "$as_me:$LINENO: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
22740 echo "$as_me: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
22741 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the compiler's result" >&5
22742 echo "$as_me: WARNING: hash_map: proceeding with the compiler's result" >&2;}
22743 ac_header_preproc=yes
22744 ;;
22745 no:yes:* )
22746 { echo "$as_me:$LINENO: WARNING: hash_map: present but cannot be compiled" >&5
22747 echo "$as_me: WARNING: hash_map: present but cannot be compiled" >&2;}
22748 { echo "$as_me:$LINENO: WARNING: hash_map: check for missing prerequisite headers?" >&5
22749 echo "$as_me: WARNING: hash_map: check for missing prerequisite headers?" >&2;}
22750 { echo "$as_me:$LINENO: WARNING: hash_map: see the Autoconf documentation" >&5
22751 echo "$as_me: WARNING: hash_map: see the Autoconf documentation" >&2;}
22752 { echo "$as_me:$LINENO: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&5
22753 echo "$as_me: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
22754 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the preprocessor's result" >&5
22755 echo "$as_me: WARNING: hash_map: proceeding with the preprocessor's result" >&2;}
22756 { echo "$as_me:$LINENO: WARNING: hash_map: in the future, the compiler will take precedence" >&5
22757 echo "$as_me: WARNING: hash_map: in the future, the compiler will take precedence" >&2;}
22758 (
22759 cat <<\_ASBOX
22760 ## ----------------------------------------- ##
22761 ## Report this to wx-dev@lists.wxwidgets.org ##
22762 ## ----------------------------------------- ##
22763 _ASBOX
22764 ) |
22765 sed "s/^/$as_me: WARNING: /" >&2
22766 ;;
22767 esac
22768 echo "$as_me:$LINENO: checking for hash_map" >&5
22769 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
22770 if test "${ac_cv_header_hash_map+set}" = set; then
22771 echo $ECHO_N "(cached) $ECHO_C" >&6
22772 else
22773 ac_cv_header_hash_map=$ac_header_preproc
22774 fi
22775 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
22776 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
22777
22778 fi
22779 if test $ac_cv_header_hash_map = yes; then
22780 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
22781 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
22782 cat >conftest.$ac_ext <<_ACEOF
22783 /* confdefs.h. */
22784 _ACEOF
22785 cat confdefs.h >>conftest.$ac_ext
22786 cat >>conftest.$ac_ext <<_ACEOF
22787 /* end confdefs.h. */
22788 #include <hash_map>
22789 #include <hash_set>
22790 int
22791 main ()
22792 {
22793 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
22794 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
22795 ;
22796 return 0;
22797 }
22798 _ACEOF
22799 rm -f conftest.$ac_objext
22800 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22801 (eval $ac_compile) 2>conftest.er1
22802 ac_status=$?
22803 grep -v '^ *+' conftest.er1 >conftest.err
22804 rm -f conftest.er1
22805 cat conftest.err >&5
22806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22807 (exit $ac_status); } &&
22808 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22810 (eval $ac_try) 2>&5
22811 ac_status=$?
22812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22813 (exit $ac_status); }; } &&
22814 { ac_try='test -s conftest.$ac_objext'
22815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22816 (eval $ac_try) 2>&5
22817 ac_status=$?
22818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22819 (exit $ac_status); }; }; then
22820 echo "$as_me:$LINENO: result: yes" >&5
22821 echo "${ECHO_T}yes" >&6
22822 cat >>confdefs.h <<\_ACEOF
22823 #define HAVE_HASH_MAP 1
22824 _ACEOF
22825
22826 cat >>confdefs.h <<\_ACEOF
22827 #define HAVE_STD_HASH_MAP 1
22828 _ACEOF
22829
22830 else
22831 echo "$as_me: failed program was:" >&5
22832 sed 's/^/| /' conftest.$ac_ext >&5
22833
22834 echo "$as_me:$LINENO: result: no" >&5
22835 echo "${ECHO_T}no" >&6
22836 fi
22837 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22838
22839 fi
22840
22841
22842
22843 if test "${ac_cv_header_ext_hash_map+set}" = set; then
22844 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
22845 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
22846 if test "${ac_cv_header_ext_hash_map+set}" = set; then
22847 echo $ECHO_N "(cached) $ECHO_C" >&6
22848 fi
22849 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
22850 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
22851 else
22852 # Is the header compilable?
22853 echo "$as_me:$LINENO: checking ext/hash_map usability" >&5
22854 echo $ECHO_N "checking ext/hash_map usability... $ECHO_C" >&6
22855 cat >conftest.$ac_ext <<_ACEOF
22856 /* confdefs.h. */
22857 _ACEOF
22858 cat confdefs.h >>conftest.$ac_ext
22859 cat >>conftest.$ac_ext <<_ACEOF
22860 /* end confdefs.h. */
22861 $ac_includes_default
22862 #include <ext/hash_map>
22863 _ACEOF
22864 rm -f conftest.$ac_objext
22865 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22866 (eval $ac_compile) 2>conftest.er1
22867 ac_status=$?
22868 grep -v '^ *+' conftest.er1 >conftest.err
22869 rm -f conftest.er1
22870 cat conftest.err >&5
22871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22872 (exit $ac_status); } &&
22873 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22875 (eval $ac_try) 2>&5
22876 ac_status=$?
22877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22878 (exit $ac_status); }; } &&
22879 { ac_try='test -s conftest.$ac_objext'
22880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22881 (eval $ac_try) 2>&5
22882 ac_status=$?
22883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22884 (exit $ac_status); }; }; then
22885 ac_header_compiler=yes
22886 else
22887 echo "$as_me: failed program was:" >&5
22888 sed 's/^/| /' conftest.$ac_ext >&5
22889
22890 ac_header_compiler=no
22891 fi
22892 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22893 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22894 echo "${ECHO_T}$ac_header_compiler" >&6
22895
22896 # Is the header present?
22897 echo "$as_me:$LINENO: checking ext/hash_map presence" >&5
22898 echo $ECHO_N "checking ext/hash_map presence... $ECHO_C" >&6
22899 cat >conftest.$ac_ext <<_ACEOF
22900 /* confdefs.h. */
22901 _ACEOF
22902 cat confdefs.h >>conftest.$ac_ext
22903 cat >>conftest.$ac_ext <<_ACEOF
22904 /* end confdefs.h. */
22905 #include <ext/hash_map>
22906 _ACEOF
22907 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22908 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
22909 ac_status=$?
22910 grep -v '^ *+' conftest.er1 >conftest.err
22911 rm -f conftest.er1
22912 cat conftest.err >&5
22913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22914 (exit $ac_status); } >/dev/null; then
22915 if test -s conftest.err; then
22916 ac_cpp_err=$ac_cxx_preproc_warn_flag
22917 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
22918 else
22919 ac_cpp_err=
22920 fi
22921 else
22922 ac_cpp_err=yes
22923 fi
22924 if test -z "$ac_cpp_err"; then
22925 ac_header_preproc=yes
22926 else
22927 echo "$as_me: failed program was:" >&5
22928 sed 's/^/| /' conftest.$ac_ext >&5
22929
22930 ac_header_preproc=no
22931 fi
22932 rm -f conftest.err conftest.$ac_ext
22933 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22934 echo "${ECHO_T}$ac_header_preproc" >&6
22935
22936 # So? What about this header?
22937 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
22938 yes:no: )
22939 { echo "$as_me:$LINENO: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
22940 echo "$as_me: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
22941 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the compiler's result" >&5
22942 echo "$as_me: WARNING: ext/hash_map: proceeding with the compiler's result" >&2;}
22943 ac_header_preproc=yes
22944 ;;
22945 no:yes:* )
22946 { echo "$as_me:$LINENO: WARNING: ext/hash_map: present but cannot be compiled" >&5
22947 echo "$as_me: WARNING: ext/hash_map: present but cannot be compiled" >&2;}
22948 { echo "$as_me:$LINENO: WARNING: ext/hash_map: check for missing prerequisite headers?" >&5
22949 echo "$as_me: WARNING: ext/hash_map: check for missing prerequisite headers?" >&2;}
22950 { echo "$as_me:$LINENO: WARNING: ext/hash_map: see the Autoconf documentation" >&5
22951 echo "$as_me: WARNING: ext/hash_map: see the Autoconf documentation" >&2;}
22952 { echo "$as_me:$LINENO: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&5
22953 echo "$as_me: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
22954 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&5
22955 echo "$as_me: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&2;}
22956 { echo "$as_me:$LINENO: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&5
22957 echo "$as_me: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&2;}
22958 (
22959 cat <<\_ASBOX
22960 ## ----------------------------------------- ##
22961 ## Report this to wx-dev@lists.wxwidgets.org ##
22962 ## ----------------------------------------- ##
22963 _ASBOX
22964 ) |
22965 sed "s/^/$as_me: WARNING: /" >&2
22966 ;;
22967 esac
22968 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
22969 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
22970 if test "${ac_cv_header_ext_hash_map+set}" = set; then
22971 echo $ECHO_N "(cached) $ECHO_C" >&6
22972 else
22973 ac_cv_header_ext_hash_map=$ac_header_preproc
22974 fi
22975 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
22976 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
22977
22978 fi
22979 if test $ac_cv_header_ext_hash_map = yes; then
22980 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
22981 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
22982 cat >conftest.$ac_ext <<_ACEOF
22983 /* confdefs.h. */
22984 _ACEOF
22985 cat confdefs.h >>conftest.$ac_ext
22986 cat >>conftest.$ac_ext <<_ACEOF
22987 /* end confdefs.h. */
22988 #include <ext/hash_map>
22989 #include <ext/hash_set>
22990 int
22991 main ()
22992 {
22993 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
22994 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
22995 ;
22996 return 0;
22997 }
22998 _ACEOF
22999 rm -f conftest.$ac_objext
23000 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23001 (eval $ac_compile) 2>conftest.er1
23002 ac_status=$?
23003 grep -v '^ *+' conftest.er1 >conftest.err
23004 rm -f conftest.er1
23005 cat conftest.err >&5
23006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23007 (exit $ac_status); } &&
23008 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23010 (eval $ac_try) 2>&5
23011 ac_status=$?
23012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23013 (exit $ac_status); }; } &&
23014 { ac_try='test -s conftest.$ac_objext'
23015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23016 (eval $ac_try) 2>&5
23017 ac_status=$?
23018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23019 (exit $ac_status); }; }; then
23020 echo "$as_me:$LINENO: result: yes" >&5
23021 echo "${ECHO_T}yes" >&6
23022 cat >>confdefs.h <<\_ACEOF
23023 #define HAVE_EXT_HASH_MAP 1
23024 _ACEOF
23025
23026 cat >>confdefs.h <<\_ACEOF
23027 #define HAVE_GNU_CXX_HASH_MAP 1
23028 _ACEOF
23029
23030 else
23031 echo "$as_me: failed program was:" >&5
23032 sed 's/^/| /' conftest.$ac_ext >&5
23033
23034 echo "$as_me:$LINENO: result: no" >&5
23035 echo "${ECHO_T}no" >&6
23036 fi
23037 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23038
23039 fi
23040
23041
23042
23043 ac_ext=c
23044 ac_cpp='$CPP $CPPFLAGS'
23045 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23046 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23047 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23048
23049 fi
23050
23051
23052 SEARCH_INCLUDE="\
23053 /usr/local/include \
23054 \
23055 /usr/Motif-2.1/include \
23056 /usr/Motif-1.2/include \
23057 /usr/include/Motif1.2 \
23058 \
23059 /usr/dt/include \
23060 /usr/openwin/include \
23061 \
23062 /usr/include/Xm \
23063 \
23064 /usr/X11R6/include \
23065 /usr/X11R6.4/include \
23066 /usr/X11R5/include \
23067 /usr/X11R4/include \
23068 \
23069 /usr/include/X11R6 \
23070 /usr/include/X11R5 \
23071 /usr/include/X11R4 \
23072 \
23073 /usr/local/X11R6/include \
23074 /usr/local/X11R5/include \
23075 /usr/local/X11R4/include \
23076 \
23077 /usr/local/include/X11R6 \
23078 /usr/local/include/X11R5 \
23079 /usr/local/include/X11R4 \
23080 \
23081 /usr/X11/include \
23082 /usr/include/X11 \
23083 /usr/local/X11/include \
23084 /usr/local/include/X11 \
23085 \
23086 /usr/XFree86/include/X11 \
23087 /usr/pkg/include \
23088 \
23089 /usr/openwin/share/include"
23090
23091 echo "$as_me:$LINENO: checking for libraries directory" >&5
23092 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6
23093
23094 case "${host}" in
23095 *-*-irix6* )
23096 if test "${wx_cv_std_libpath+set}" = set; then
23097 echo $ECHO_N "(cached) $ECHO_C" >&6
23098 else
23099
23100 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
23101 for e in a so sl dylib dll.a; do
23102 libc="$d/libc.$e"
23103 if test -f $libc; then
23104 save_LIBS="$LIBS"
23105 LIBS="$libc"
23106 cat >conftest.$ac_ext <<_ACEOF
23107 int main() { return 0; }
23108 _ACEOF
23109 rm -f conftest.$ac_objext conftest$ac_exeext
23110 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23111 (eval $ac_link) 2>conftest.er1
23112 ac_status=$?
23113 grep -v '^ *+' conftest.er1 >conftest.err
23114 rm -f conftest.er1
23115 cat conftest.err >&5
23116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23117 (exit $ac_status); } &&
23118 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23120 (eval $ac_try) 2>&5
23121 ac_status=$?
23122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23123 (exit $ac_status); }; } &&
23124 { ac_try='test -s conftest$ac_exeext'
23125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23126 (eval $ac_try) 2>&5
23127 ac_status=$?
23128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23129 (exit $ac_status); }; }; then
23130 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
23131 else
23132 echo "$as_me: failed program was:" >&5
23133 sed 's/^/| /' conftest.$ac_ext >&5
23134
23135 fi
23136 rm -f conftest.err conftest.$ac_objext \
23137 conftest$ac_exeext conftest.$ac_ext
23138 LIBS="$save_LIBS"
23139 if test "x$wx_cv_std_libpath" != "x"; then
23140 break 2
23141 fi
23142 fi
23143 done
23144 done
23145 if test "x$wx_cv_std_libpath" = "x"; then
23146 wx_cv_std_libpath="lib"
23147 fi
23148
23149
23150 fi
23151
23152 ;;
23153
23154 *-*-solaris2* )
23155 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
23156 wx_cv_std_libpath="lib/64"
23157 else
23158 wx_cv_std_libpath="lib"
23159 fi
23160 ;;
23161
23162 *-*-linux* )
23163 if test "$ac_cv_sizeof_void_p" = 8 -a \
23164 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
23165 wx_cv_std_libpath="lib64"
23166 else
23167 wx_cv_std_libpath="lib"
23168 fi
23169 ;;
23170
23171 *)
23172 wx_cv_std_libpath="lib";
23173 ;;
23174 esac
23175
23176 echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
23177 echo "${ECHO_T}$wx_cv_std_libpath" >&6
23178
23179 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
23180
23181 if test "$build" != "$host" -a "$GCC" = yes; then
23182 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
23183 cross_root=`dirname $cross_root`
23184 cross_root=`dirname $cross_root`
23185
23186 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
23187 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
23188
23189 if test -z "$PKG_CONFIG_PATH"; then
23190 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
23191 export PKG_CONFIG_PATH
23192 fi
23193
23194 if test -z "$x_includes" -o "$x_includes" = NONE; then
23195
23196 ac_find_includes=
23197 for ac_dir in $SEARCH_INCLUDE /usr/include;
23198 do
23199 if test -f "$ac_dir/X11/Intrinsic.h"; then
23200 ac_find_includes=$ac_dir
23201 break
23202 fi
23203 done
23204
23205 x_includes=$ac_find_includes
23206 fi
23207 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
23208
23209 ac_find_libraries=
23210 for ac_dir in $SEARCH_LIB;
23211 do
23212 for ac_extension in a so sl dylib dll.a; do
23213 if test -f "$ac_dir/libXt.$ac_extension"; then
23214 ac_find_libraries=$ac_dir
23215 break 2
23216 fi
23217 done
23218 done
23219
23220 x_libraries=$ac_find_libraries
23221 fi
23222 fi
23223 fi
23224
23225
23226 cat >confcache <<\_ACEOF
23227 # This file is a shell script that caches the results of configure
23228 # tests run on this system so they can be shared between configure
23229 # scripts and configure runs, see configure's option --config-cache.
23230 # It is not useful on other systems. If it contains results you don't
23231 # want to keep, you may remove or edit it.
23232 #
23233 # config.status only pays attention to the cache file if you give it
23234 # the --recheck option to rerun configure.
23235 #
23236 # `ac_cv_env_foo' variables (set or unset) will be overridden when
23237 # loading this file, other *unset* `ac_cv_foo' will be assigned the
23238 # following values.
23239
23240 _ACEOF
23241
23242 # The following way of writing the cache mishandles newlines in values,
23243 # but we know of no workaround that is simple, portable, and efficient.
23244 # So, don't put newlines in cache variables' values.
23245 # Ultrix sh set writes to stderr and can't be redirected directly,
23246 # and sets the high bit in the cache file unless we assign to the vars.
23247 {
23248 (set) 2>&1 |
23249 case `(ac_space=' '; set | grep ac_space) 2>&1` in
23250 *ac_space=\ *)
23251 # `set' does not quote correctly, so add quotes (double-quote
23252 # substitution turns \\\\ into \\, and sed turns \\ into \).
23253 sed -n \
23254 "s/'/'\\\\''/g;
23255 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
23256 ;;
23257 *)
23258 # `set' quotes correctly as required by POSIX, so do not add quotes.
23259 sed -n \
23260 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
23261 ;;
23262 esac;
23263 } |
23264 sed '
23265 t clear
23266 : clear
23267 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
23268 t end
23269 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
23270 : end' >>confcache
23271 if diff $cache_file confcache >/dev/null 2>&1; then :; else
23272 if test -w $cache_file; then
23273 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
23274 cat confcache >$cache_file
23275 else
23276 echo "not updating unwritable cache $cache_file"
23277 fi
23278 fi
23279 rm -f confcache
23280
23281 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
23282 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
23283 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
23284 if test "${wx_cv_lib_glibc21+set}" = set; then
23285 echo $ECHO_N "(cached) $ECHO_C" >&6
23286 else
23287
23288 cat >conftest.$ac_ext <<_ACEOF
23289 /* confdefs.h. */
23290 _ACEOF
23291 cat confdefs.h >>conftest.$ac_ext
23292 cat >>conftest.$ac_ext <<_ACEOF
23293 /* end confdefs.h. */
23294 #include <features.h>
23295 int
23296 main ()
23297 {
23298
23299 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
23300 not glibc 2.1
23301 #endif
23302
23303 ;
23304 return 0;
23305 }
23306 _ACEOF
23307 rm -f conftest.$ac_objext
23308 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23309 (eval $ac_compile) 2>conftest.er1
23310 ac_status=$?
23311 grep -v '^ *+' conftest.er1 >conftest.err
23312 rm -f conftest.er1
23313 cat conftest.err >&5
23314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23315 (exit $ac_status); } &&
23316 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23318 (eval $ac_try) 2>&5
23319 ac_status=$?
23320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23321 (exit $ac_status); }; } &&
23322 { ac_try='test -s conftest.$ac_objext'
23323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23324 (eval $ac_try) 2>&5
23325 ac_status=$?
23326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23327 (exit $ac_status); }; }; then
23328
23329 wx_cv_lib_glibc21=yes
23330
23331 else
23332 echo "$as_me: failed program was:" >&5
23333 sed 's/^/| /' conftest.$ac_ext >&5
23334
23335
23336 wx_cv_lib_glibc21=no
23337
23338
23339 fi
23340 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23341
23342 fi
23343 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
23344 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
23345 if test "$wx_cv_lib_glibc21" = "yes"; then
23346 cat >>confdefs.h <<\_ACEOF
23347 #define wxHAVE_GLIBC2 1
23348 _ACEOF
23349
23350 fi
23351 fi
23352
23353 if test "x$wx_cv_lib_glibc21" = "xyes"; then
23354 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
23355 cat >>confdefs.h <<\_ACEOF
23356 #define _GNU_SOURCE 1
23357 _ACEOF
23358
23359 fi
23360 fi
23361
23362
23363
23364 if test "$wxUSE_REGEX" != "no"; then
23365 cat >>confdefs.h <<\_ACEOF
23366 #define wxUSE_REGEX 1
23367 _ACEOF
23368
23369
23370 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
23371 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
23372 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
23373 wxUSE_REGEX=builtin
23374 fi
23375
23376 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
23377 if test "${ac_cv_header_regex_h+set}" = set; then
23378 echo "$as_me:$LINENO: checking for regex.h" >&5
23379 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
23380 if test "${ac_cv_header_regex_h+set}" = set; then
23381 echo $ECHO_N "(cached) $ECHO_C" >&6
23382 fi
23383 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
23384 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
23385 else
23386 # Is the header compilable?
23387 echo "$as_me:$LINENO: checking regex.h usability" >&5
23388 echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
23389 cat >conftest.$ac_ext <<_ACEOF
23390 /* confdefs.h. */
23391 _ACEOF
23392 cat confdefs.h >>conftest.$ac_ext
23393 cat >>conftest.$ac_ext <<_ACEOF
23394 /* end confdefs.h. */
23395 $ac_includes_default
23396 #include <regex.h>
23397 _ACEOF
23398 rm -f conftest.$ac_objext
23399 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23400 (eval $ac_compile) 2>conftest.er1
23401 ac_status=$?
23402 grep -v '^ *+' conftest.er1 >conftest.err
23403 rm -f conftest.er1
23404 cat conftest.err >&5
23405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23406 (exit $ac_status); } &&
23407 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23409 (eval $ac_try) 2>&5
23410 ac_status=$?
23411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23412 (exit $ac_status); }; } &&
23413 { ac_try='test -s conftest.$ac_objext'
23414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23415 (eval $ac_try) 2>&5
23416 ac_status=$?
23417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23418 (exit $ac_status); }; }; then
23419 ac_header_compiler=yes
23420 else
23421 echo "$as_me: failed program was:" >&5
23422 sed 's/^/| /' conftest.$ac_ext >&5
23423
23424 ac_header_compiler=no
23425 fi
23426 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23427 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23428 echo "${ECHO_T}$ac_header_compiler" >&6
23429
23430 # Is the header present?
23431 echo "$as_me:$LINENO: checking regex.h presence" >&5
23432 echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
23433 cat >conftest.$ac_ext <<_ACEOF
23434 /* confdefs.h. */
23435 _ACEOF
23436 cat confdefs.h >>conftest.$ac_ext
23437 cat >>conftest.$ac_ext <<_ACEOF
23438 /* end confdefs.h. */
23439 #include <regex.h>
23440 _ACEOF
23441 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23442 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
23443 ac_status=$?
23444 grep -v '^ *+' conftest.er1 >conftest.err
23445 rm -f conftest.er1
23446 cat conftest.err >&5
23447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23448 (exit $ac_status); } >/dev/null; then
23449 if test -s conftest.err; then
23450 ac_cpp_err=$ac_c_preproc_warn_flag
23451 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
23452 else
23453 ac_cpp_err=
23454 fi
23455 else
23456 ac_cpp_err=yes
23457 fi
23458 if test -z "$ac_cpp_err"; then
23459 ac_header_preproc=yes
23460 else
23461 echo "$as_me: failed program was:" >&5
23462 sed 's/^/| /' conftest.$ac_ext >&5
23463
23464 ac_header_preproc=no
23465 fi
23466 rm -f conftest.err conftest.$ac_ext
23467 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23468 echo "${ECHO_T}$ac_header_preproc" >&6
23469
23470 # So? What about this header?
23471 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23472 yes:no: )
23473 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
23474 echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
23475 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the compiler's result" >&5
23476 echo "$as_me: WARNING: regex.h: proceeding with the compiler's result" >&2;}
23477 ac_header_preproc=yes
23478 ;;
23479 no:yes:* )
23480 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
23481 echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
23482 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
23483 echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
23484 { echo "$as_me:$LINENO: WARNING: regex.h: see the Autoconf documentation" >&5
23485 echo "$as_me: WARNING: regex.h: see the Autoconf documentation" >&2;}
23486 { echo "$as_me:$LINENO: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&5
23487 echo "$as_me: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&2;}
23488 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
23489 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
23490 { echo "$as_me:$LINENO: WARNING: regex.h: in the future, the compiler will take precedence" >&5
23491 echo "$as_me: WARNING: regex.h: in the future, the compiler will take precedence" >&2;}
23492 (
23493 cat <<\_ASBOX
23494 ## ----------------------------------------- ##
23495 ## Report this to wx-dev@lists.wxwidgets.org ##
23496 ## ----------------------------------------- ##
23497 _ASBOX
23498 ) |
23499 sed "s/^/$as_me: WARNING: /" >&2
23500 ;;
23501 esac
23502 echo "$as_me:$LINENO: checking for regex.h" >&5
23503 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
23504 if test "${ac_cv_header_regex_h+set}" = set; then
23505 echo $ECHO_N "(cached) $ECHO_C" >&6
23506 else
23507 ac_cv_header_regex_h=$ac_header_preproc
23508 fi
23509 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
23510 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
23511
23512 fi
23513 if test $ac_cv_header_regex_h = yes; then
23514
23515 for ac_func in regcomp
23516 do
23517 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23518 echo "$as_me:$LINENO: checking for $ac_func" >&5
23519 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23520 if eval "test \"\${$as_ac_var+set}\" = set"; then
23521 echo $ECHO_N "(cached) $ECHO_C" >&6
23522 else
23523 cat >conftest.$ac_ext <<_ACEOF
23524 /* confdefs.h. */
23525 _ACEOF
23526 cat confdefs.h >>conftest.$ac_ext
23527 cat >>conftest.$ac_ext <<_ACEOF
23528 /* end confdefs.h. */
23529 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23530 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23531 #define $ac_func innocuous_$ac_func
23532
23533 /* System header to define __stub macros and hopefully few prototypes,
23534 which can conflict with char $ac_func (); below.
23535 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23536 <limits.h> exists even on freestanding compilers. */
23537
23538 #ifdef __STDC__
23539 # include <limits.h>
23540 #else
23541 # include <assert.h>
23542 #endif
23543
23544 #undef $ac_func
23545
23546 /* Override any gcc2 internal prototype to avoid an error. */
23547 #ifdef __cplusplus
23548 extern "C"
23549 {
23550 #endif
23551 /* We use char because int might match the return type of a gcc2
23552 builtin and then its argument prototype would still apply. */
23553 char $ac_func ();
23554 /* The GNU C library defines this for functions which it implements
23555 to always fail with ENOSYS. Some functions are actually named
23556 something starting with __ and the normal name is an alias. */
23557 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23558 choke me
23559 #else
23560 char (*f) () = $ac_func;
23561 #endif
23562 #ifdef __cplusplus
23563 }
23564 #endif
23565
23566 int
23567 main ()
23568 {
23569 return f != $ac_func;
23570 ;
23571 return 0;
23572 }
23573 _ACEOF
23574 rm -f conftest.$ac_objext conftest$ac_exeext
23575 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23576 (eval $ac_link) 2>conftest.er1
23577 ac_status=$?
23578 grep -v '^ *+' conftest.er1 >conftest.err
23579 rm -f conftest.er1
23580 cat conftest.err >&5
23581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23582 (exit $ac_status); } &&
23583 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23585 (eval $ac_try) 2>&5
23586 ac_status=$?
23587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23588 (exit $ac_status); }; } &&
23589 { ac_try='test -s conftest$ac_exeext'
23590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23591 (eval $ac_try) 2>&5
23592 ac_status=$?
23593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23594 (exit $ac_status); }; }; then
23595 eval "$as_ac_var=yes"
23596 else
23597 echo "$as_me: failed program was:" >&5
23598 sed 's/^/| /' conftest.$ac_ext >&5
23599
23600 eval "$as_ac_var=no"
23601 fi
23602 rm -f conftest.err conftest.$ac_objext \
23603 conftest$ac_exeext conftest.$ac_ext
23604 fi
23605 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23606 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23607 if test `eval echo '${'$as_ac_var'}'` = yes; then
23608 cat >>confdefs.h <<_ACEOF
23609 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23610 _ACEOF
23611
23612 fi
23613 done
23614
23615 fi
23616
23617
23618
23619 if test "x$ac_cv_func_regcomp" != "xyes"; then
23620 if test "$wxUSE_REGEX" = "sys" ; then
23621 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
23622 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
23623 { (exit 1); exit 1; }; }
23624 else
23625 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
23626 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
23627 wxUSE_REGEX=builtin
23628 fi
23629 else
23630 wxUSE_REGEX=sys
23631 cat >>confdefs.h <<\_ACEOF
23632 #define WX_NO_REGEX_ADVANCED 1
23633 _ACEOF
23634
23635 fi
23636 fi
23637 fi
23638
23639
23640 ZLIB_LINK=
23641 if test "$wxUSE_ZLIB" != "no" ; then
23642 cat >>confdefs.h <<\_ACEOF
23643 #define wxUSE_ZLIB 1
23644 _ACEOF
23645
23646
23647 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
23648 if test "$USE_DARWIN" = 1; then
23649 system_zlib_h_ok="yes"
23650 else
23651 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
23652 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
23653 if test "${ac_cv_header_zlib_h+set}" = set; then
23654 echo $ECHO_N "(cached) $ECHO_C" >&6
23655 else
23656 if test "$cross_compiling" = yes; then
23657 unset ac_cv_header_zlib_h
23658
23659 else
23660 cat >conftest.$ac_ext <<_ACEOF
23661 /* confdefs.h. */
23662 _ACEOF
23663 cat confdefs.h >>conftest.$ac_ext
23664 cat >>conftest.$ac_ext <<_ACEOF
23665 /* end confdefs.h. */
23666
23667 #include <zlib.h>
23668 #include <stdio.h>
23669
23670 int main()
23671 {
23672 FILE *f=fopen("conftestval", "w");
23673 if (!f) exit(1);
23674 fprintf(f, "%s",
23675 ZLIB_VERSION[0] == '1' &&
23676 (ZLIB_VERSION[2] > '1' ||
23677 (ZLIB_VERSION[2] == '1' &&
23678 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
23679 exit(0);
23680 }
23681
23682 _ACEOF
23683 rm -f conftest$ac_exeext
23684 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23685 (eval $ac_link) 2>&5
23686 ac_status=$?
23687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23688 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23690 (eval $ac_try) 2>&5
23691 ac_status=$?
23692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23693 (exit $ac_status); }; }; then
23694 ac_cv_header_zlib_h=`cat conftestval`
23695 else
23696 echo "$as_me: program exited with status $ac_status" >&5
23697 echo "$as_me: failed program was:" >&5
23698 sed 's/^/| /' conftest.$ac_ext >&5
23699
23700 ( exit $ac_status )
23701 ac_cv_header_zlib_h=no
23702 fi
23703 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23704 fi
23705
23706 fi
23707 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
23708 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
23709 if test "${ac_cv_header_zlib_h+set}" = set; then
23710 echo "$as_me:$LINENO: checking for zlib.h" >&5
23711 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
23712 if test "${ac_cv_header_zlib_h+set}" = set; then
23713 echo $ECHO_N "(cached) $ECHO_C" >&6
23714 fi
23715 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
23716 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
23717 else
23718 # Is the header compilable?
23719 echo "$as_me:$LINENO: checking zlib.h usability" >&5
23720 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
23721 cat >conftest.$ac_ext <<_ACEOF
23722 /* confdefs.h. */
23723 _ACEOF
23724 cat confdefs.h >>conftest.$ac_ext
23725 cat >>conftest.$ac_ext <<_ACEOF
23726 /* end confdefs.h. */
23727 $ac_includes_default
23728 #include <zlib.h>
23729 _ACEOF
23730 rm -f conftest.$ac_objext
23731 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23732 (eval $ac_compile) 2>conftest.er1
23733 ac_status=$?
23734 grep -v '^ *+' conftest.er1 >conftest.err
23735 rm -f conftest.er1
23736 cat conftest.err >&5
23737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23738 (exit $ac_status); } &&
23739 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23741 (eval $ac_try) 2>&5
23742 ac_status=$?
23743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23744 (exit $ac_status); }; } &&
23745 { ac_try='test -s conftest.$ac_objext'
23746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23747 (eval $ac_try) 2>&5
23748 ac_status=$?
23749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23750 (exit $ac_status); }; }; then
23751 ac_header_compiler=yes
23752 else
23753 echo "$as_me: failed program was:" >&5
23754 sed 's/^/| /' conftest.$ac_ext >&5
23755
23756 ac_header_compiler=no
23757 fi
23758 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23759 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23760 echo "${ECHO_T}$ac_header_compiler" >&6
23761
23762 # Is the header present?
23763 echo "$as_me:$LINENO: checking zlib.h presence" >&5
23764 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
23765 cat >conftest.$ac_ext <<_ACEOF
23766 /* confdefs.h. */
23767 _ACEOF
23768 cat confdefs.h >>conftest.$ac_ext
23769 cat >>conftest.$ac_ext <<_ACEOF
23770 /* end confdefs.h. */
23771 #include <zlib.h>
23772 _ACEOF
23773 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23774 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
23775 ac_status=$?
23776 grep -v '^ *+' conftest.er1 >conftest.err
23777 rm -f conftest.er1
23778 cat conftest.err >&5
23779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23780 (exit $ac_status); } >/dev/null; then
23781 if test -s conftest.err; then
23782 ac_cpp_err=$ac_c_preproc_warn_flag
23783 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
23784 else
23785 ac_cpp_err=
23786 fi
23787 else
23788 ac_cpp_err=yes
23789 fi
23790 if test -z "$ac_cpp_err"; then
23791 ac_header_preproc=yes
23792 else
23793 echo "$as_me: failed program was:" >&5
23794 sed 's/^/| /' conftest.$ac_ext >&5
23795
23796 ac_header_preproc=no
23797 fi
23798 rm -f conftest.err conftest.$ac_ext
23799 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23800 echo "${ECHO_T}$ac_header_preproc" >&6
23801
23802 # So? What about this header?
23803 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23804 yes:no: )
23805 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
23806 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
23807 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5
23808 echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;}
23809 ac_header_preproc=yes
23810 ;;
23811 no:yes:* )
23812 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
23813 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
23814 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
23815 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
23816 { echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
23817 echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
23818 { echo "$as_me:$LINENO: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&5
23819 echo "$as_me: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
23820 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
23821 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
23822 { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
23823 echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
23824 (
23825 cat <<\_ASBOX
23826 ## ----------------------------------------- ##
23827 ## Report this to wx-dev@lists.wxwidgets.org ##
23828 ## ----------------------------------------- ##
23829 _ASBOX
23830 ) |
23831 sed "s/^/$as_me: WARNING: /" >&2
23832 ;;
23833 esac
23834 echo "$as_me:$LINENO: checking for zlib.h" >&5
23835 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
23836 if test "${ac_cv_header_zlib_h+set}" = set; then
23837 echo $ECHO_N "(cached) $ECHO_C" >&6
23838 else
23839 ac_cv_header_zlib_h=$ac_header_preproc
23840 fi
23841 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
23842 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
23843
23844 fi
23845
23846
23847
23848 system_zlib_h_ok=$ac_cv_header_zlib_h
23849 fi
23850
23851 if test "$system_zlib_h_ok" = "yes"; then
23852 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
23853 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
23854 if test "${ac_cv_lib_z_deflate+set}" = set; then
23855 echo $ECHO_N "(cached) $ECHO_C" >&6
23856 else
23857 ac_check_lib_save_LIBS=$LIBS
23858 LIBS="-lz $LIBS"
23859 cat >conftest.$ac_ext <<_ACEOF
23860 /* confdefs.h. */
23861 _ACEOF
23862 cat confdefs.h >>conftest.$ac_ext
23863 cat >>conftest.$ac_ext <<_ACEOF
23864 /* end confdefs.h. */
23865
23866 /* Override any gcc2 internal prototype to avoid an error. */
23867 #ifdef __cplusplus
23868 extern "C"
23869 #endif
23870 /* We use char because int might match the return type of a gcc2
23871 builtin and then its argument prototype would still apply. */
23872 char deflate ();
23873 int
23874 main ()
23875 {
23876 deflate ();
23877 ;
23878 return 0;
23879 }
23880 _ACEOF
23881 rm -f conftest.$ac_objext conftest$ac_exeext
23882 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23883 (eval $ac_link) 2>conftest.er1
23884 ac_status=$?
23885 grep -v '^ *+' conftest.er1 >conftest.err
23886 rm -f conftest.er1
23887 cat conftest.err >&5
23888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23889 (exit $ac_status); } &&
23890 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23892 (eval $ac_try) 2>&5
23893 ac_status=$?
23894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23895 (exit $ac_status); }; } &&
23896 { ac_try='test -s conftest$ac_exeext'
23897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23898 (eval $ac_try) 2>&5
23899 ac_status=$?
23900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23901 (exit $ac_status); }; }; then
23902 ac_cv_lib_z_deflate=yes
23903 else
23904 echo "$as_me: failed program was:" >&5
23905 sed 's/^/| /' conftest.$ac_ext >&5
23906
23907 ac_cv_lib_z_deflate=no
23908 fi
23909 rm -f conftest.err conftest.$ac_objext \
23910 conftest$ac_exeext conftest.$ac_ext
23911 LIBS=$ac_check_lib_save_LIBS
23912 fi
23913 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
23914 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
23915 if test $ac_cv_lib_z_deflate = yes; then
23916 ZLIB_LINK=" -lz"
23917 fi
23918
23919 fi
23920
23921 if test "x$ZLIB_LINK" = "x" ; then
23922 if test "$wxUSE_ZLIB" = "sys" ; then
23923 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
23924 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
23925 { (exit 1); exit 1; }; }
23926 else
23927 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
23928 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
23929 wxUSE_ZLIB=builtin
23930 fi
23931 else
23932 wxUSE_ZLIB=sys
23933 fi
23934 fi
23935 fi
23936
23937
23938 PNG_LINK=
23939 if test "$wxUSE_LIBPNG" != "no" ; then
23940 cat >>confdefs.h <<\_ACEOF
23941 #define wxUSE_LIBPNG 1
23942 _ACEOF
23943
23944
23945 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
23946 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
23947 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
23948 wxUSE_LIBPNG=sys
23949 fi
23950
23951 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
23952 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
23953 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
23954 wxUSE_LIBPNG=builtin
23955 fi
23956
23957 if test "$wxUSE_MGL" != 1 ; then
23958 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
23959 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
23960 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
23961 if test "${ac_cv_header_png_h+set}" = set; then
23962 echo $ECHO_N "(cached) $ECHO_C" >&6
23963 else
23964 if test "$cross_compiling" = yes; then
23965 unset ac_cv_header_png_h
23966
23967 else
23968 cat >conftest.$ac_ext <<_ACEOF
23969 /* confdefs.h. */
23970 _ACEOF
23971 cat confdefs.h >>conftest.$ac_ext
23972 cat >>conftest.$ac_ext <<_ACEOF
23973 /* end confdefs.h. */
23974
23975 #include <png.h>
23976 #include <stdio.h>
23977
23978 int main()
23979 {
23980 FILE *f=fopen("conftestval", "w");
23981 if (!f) exit(1);
23982 fprintf(f, "%s",
23983 PNG_LIBPNG_VER > 90 ? "yes" : "no");
23984 exit(0);
23985 }
23986
23987 _ACEOF
23988 rm -f conftest$ac_exeext
23989 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23990 (eval $ac_link) 2>&5
23991 ac_status=$?
23992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23993 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23995 (eval $ac_try) 2>&5
23996 ac_status=$?
23997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23998 (exit $ac_status); }; }; then
23999 ac_cv_header_png_h=`cat conftestval`
24000 else
24001 echo "$as_me: program exited with status $ac_status" >&5
24002 echo "$as_me: failed program was:" >&5
24003 sed 's/^/| /' conftest.$ac_ext >&5
24004
24005 ( exit $ac_status )
24006 ac_cv_header_png_h=no
24007 fi
24008 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24009 fi
24010
24011 fi
24012 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
24013 echo "${ECHO_T}$ac_cv_header_png_h" >&6
24014 if test "${ac_cv_header_png_h+set}" = set; then
24015 echo "$as_me:$LINENO: checking for png.h" >&5
24016 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
24017 if test "${ac_cv_header_png_h+set}" = set; then
24018 echo $ECHO_N "(cached) $ECHO_C" >&6
24019 fi
24020 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
24021 echo "${ECHO_T}$ac_cv_header_png_h" >&6
24022 else
24023 # Is the header compilable?
24024 echo "$as_me:$LINENO: checking png.h usability" >&5
24025 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
24026 cat >conftest.$ac_ext <<_ACEOF
24027 /* confdefs.h. */
24028 _ACEOF
24029 cat confdefs.h >>conftest.$ac_ext
24030 cat >>conftest.$ac_ext <<_ACEOF
24031 /* end confdefs.h. */
24032 $ac_includes_default
24033 #include <png.h>
24034 _ACEOF
24035 rm -f conftest.$ac_objext
24036 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24037 (eval $ac_compile) 2>conftest.er1
24038 ac_status=$?
24039 grep -v '^ *+' conftest.er1 >conftest.err
24040 rm -f conftest.er1
24041 cat conftest.err >&5
24042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24043 (exit $ac_status); } &&
24044 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24046 (eval $ac_try) 2>&5
24047 ac_status=$?
24048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24049 (exit $ac_status); }; } &&
24050 { ac_try='test -s conftest.$ac_objext'
24051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24052 (eval $ac_try) 2>&5
24053 ac_status=$?
24054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24055 (exit $ac_status); }; }; then
24056 ac_header_compiler=yes
24057 else
24058 echo "$as_me: failed program was:" >&5
24059 sed 's/^/| /' conftest.$ac_ext >&5
24060
24061 ac_header_compiler=no
24062 fi
24063 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24064 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24065 echo "${ECHO_T}$ac_header_compiler" >&6
24066
24067 # Is the header present?
24068 echo "$as_me:$LINENO: checking png.h presence" >&5
24069 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
24070 cat >conftest.$ac_ext <<_ACEOF
24071 /* confdefs.h. */
24072 _ACEOF
24073 cat confdefs.h >>conftest.$ac_ext
24074 cat >>conftest.$ac_ext <<_ACEOF
24075 /* end confdefs.h. */
24076 #include <png.h>
24077 _ACEOF
24078 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24079 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
24080 ac_status=$?
24081 grep -v '^ *+' conftest.er1 >conftest.err
24082 rm -f conftest.er1
24083 cat conftest.err >&5
24084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24085 (exit $ac_status); } >/dev/null; then
24086 if test -s conftest.err; then
24087 ac_cpp_err=$ac_c_preproc_warn_flag
24088 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
24089 else
24090 ac_cpp_err=
24091 fi
24092 else
24093 ac_cpp_err=yes
24094 fi
24095 if test -z "$ac_cpp_err"; then
24096 ac_header_preproc=yes
24097 else
24098 echo "$as_me: failed program was:" >&5
24099 sed 's/^/| /' conftest.$ac_ext >&5
24100
24101 ac_header_preproc=no
24102 fi
24103 rm -f conftest.err conftest.$ac_ext
24104 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24105 echo "${ECHO_T}$ac_header_preproc" >&6
24106
24107 # So? What about this header?
24108 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24109 yes:no: )
24110 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
24111 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24112 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the compiler's result" >&5
24113 echo "$as_me: WARNING: png.h: proceeding with the compiler's result" >&2;}
24114 ac_header_preproc=yes
24115 ;;
24116 no:yes:* )
24117 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
24118 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
24119 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
24120 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
24121 { echo "$as_me:$LINENO: WARNING: png.h: see the Autoconf documentation" >&5
24122 echo "$as_me: WARNING: png.h: see the Autoconf documentation" >&2;}
24123 { echo "$as_me:$LINENO: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&5
24124 echo "$as_me: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&2;}
24125 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
24126 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
24127 { echo "$as_me:$LINENO: WARNING: png.h: in the future, the compiler will take precedence" >&5
24128 echo "$as_me: WARNING: png.h: in the future, the compiler will take precedence" >&2;}
24129 (
24130 cat <<\_ASBOX
24131 ## ----------------------------------------- ##
24132 ## Report this to wx-dev@lists.wxwidgets.org ##
24133 ## ----------------------------------------- ##
24134 _ASBOX
24135 ) |
24136 sed "s/^/$as_me: WARNING: /" >&2
24137 ;;
24138 esac
24139 echo "$as_me:$LINENO: checking for png.h" >&5
24140 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
24141 if test "${ac_cv_header_png_h+set}" = set; then
24142 echo $ECHO_N "(cached) $ECHO_C" >&6
24143 else
24144 ac_cv_header_png_h=$ac_header_preproc
24145 fi
24146 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
24147 echo "${ECHO_T}$ac_cv_header_png_h" >&6
24148
24149 fi
24150
24151
24152
24153 if test "$ac_cv_header_png_h" = "yes"; then
24154 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
24155 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
24156 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
24157 echo $ECHO_N "(cached) $ECHO_C" >&6
24158 else
24159 ac_check_lib_save_LIBS=$LIBS
24160 LIBS="-lpng -lz -lm $LIBS"
24161 cat >conftest.$ac_ext <<_ACEOF
24162 /* confdefs.h. */
24163 _ACEOF
24164 cat confdefs.h >>conftest.$ac_ext
24165 cat >>conftest.$ac_ext <<_ACEOF
24166 /* end confdefs.h. */
24167
24168 /* Override any gcc2 internal prototype to avoid an error. */
24169 #ifdef __cplusplus
24170 extern "C"
24171 #endif
24172 /* We use char because int might match the return type of a gcc2
24173 builtin and then its argument prototype would still apply. */
24174 char png_check_sig ();
24175 int
24176 main ()
24177 {
24178 png_check_sig ();
24179 ;
24180 return 0;
24181 }
24182 _ACEOF
24183 rm -f conftest.$ac_objext conftest$ac_exeext
24184 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24185 (eval $ac_link) 2>conftest.er1
24186 ac_status=$?
24187 grep -v '^ *+' conftest.er1 >conftest.err
24188 rm -f conftest.er1
24189 cat conftest.err >&5
24190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24191 (exit $ac_status); } &&
24192 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24194 (eval $ac_try) 2>&5
24195 ac_status=$?
24196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24197 (exit $ac_status); }; } &&
24198 { ac_try='test -s conftest$ac_exeext'
24199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24200 (eval $ac_try) 2>&5
24201 ac_status=$?
24202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24203 (exit $ac_status); }; }; then
24204 ac_cv_lib_png_png_check_sig=yes
24205 else
24206 echo "$as_me: failed program was:" >&5
24207 sed 's/^/| /' conftest.$ac_ext >&5
24208
24209 ac_cv_lib_png_png_check_sig=no
24210 fi
24211 rm -f conftest.err conftest.$ac_objext \
24212 conftest$ac_exeext conftest.$ac_ext
24213 LIBS=$ac_check_lib_save_LIBS
24214 fi
24215 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
24216 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
24217 if test $ac_cv_lib_png_png_check_sig = yes; then
24218 PNG_LINK=" -lpng -lz"
24219 fi
24220
24221 fi
24222
24223 if test "x$PNG_LINK" = "x" ; then
24224 if test "$wxUSE_LIBPNG" = "sys" ; then
24225 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
24226 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
24227 { (exit 1); exit 1; }; }
24228 else
24229 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
24230 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
24231 wxUSE_LIBPNG=builtin
24232 fi
24233 else
24234 wxUSE_LIBPNG=sys
24235 fi
24236 fi
24237 fi
24238
24239 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS png"
24240 fi
24241
24242
24243 JPEG_LINK=
24244 if test "$wxUSE_LIBJPEG" != "no" ; then
24245 cat >>confdefs.h <<\_ACEOF
24246 #define wxUSE_LIBJPEG 1
24247 _ACEOF
24248
24249
24250 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
24251 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
24252 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
24253 wxUSE_LIBJPEG=sys
24254 fi
24255
24256 if test "$wxUSE_MGL" != 1 ; then
24257 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
24258 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
24259 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
24260 if test "${ac_cv_header_jpeglib_h+set}" = set; then
24261 echo $ECHO_N "(cached) $ECHO_C" >&6
24262 else
24263 cat >conftest.$ac_ext <<_ACEOF
24264 /* confdefs.h. */
24265 _ACEOF
24266 cat confdefs.h >>conftest.$ac_ext
24267 cat >>conftest.$ac_ext <<_ACEOF
24268 /* end confdefs.h. */
24269
24270 #undef HAVE_STDLIB_H
24271 #include <stdio.h>
24272 #include <jpeglib.h>
24273
24274 int
24275 main ()
24276 {
24277
24278
24279 ;
24280 return 0;
24281 }
24282 _ACEOF
24283 rm -f conftest.$ac_objext
24284 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24285 (eval $ac_compile) 2>conftest.er1
24286 ac_status=$?
24287 grep -v '^ *+' conftest.er1 >conftest.err
24288 rm -f conftest.er1
24289 cat conftest.err >&5
24290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24291 (exit $ac_status); } &&
24292 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24294 (eval $ac_try) 2>&5
24295 ac_status=$?
24296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24297 (exit $ac_status); }; } &&
24298 { ac_try='test -s conftest.$ac_objext'
24299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24300 (eval $ac_try) 2>&5
24301 ac_status=$?
24302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24303 (exit $ac_status); }; }; then
24304 ac_cv_header_jpeglib_h=yes
24305 else
24306 echo "$as_me: failed program was:" >&5
24307 sed 's/^/| /' conftest.$ac_ext >&5
24308
24309 ac_cv_header_jpeglib_h=no
24310
24311 fi
24312 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24313
24314 fi
24315
24316 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
24317 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
24318
24319 if test "$ac_cv_header_jpeglib_h" = "yes"; then
24320 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
24321 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
24322 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
24323 echo $ECHO_N "(cached) $ECHO_C" >&6
24324 else
24325 ac_check_lib_save_LIBS=$LIBS
24326 LIBS="-ljpeg $LIBS"
24327 cat >conftest.$ac_ext <<_ACEOF
24328 /* confdefs.h. */
24329 _ACEOF
24330 cat confdefs.h >>conftest.$ac_ext
24331 cat >>conftest.$ac_ext <<_ACEOF
24332 /* end confdefs.h. */
24333
24334 /* Override any gcc2 internal prototype to avoid an error. */
24335 #ifdef __cplusplus
24336 extern "C"
24337 #endif
24338 /* We use char because int might match the return type of a gcc2
24339 builtin and then its argument prototype would still apply. */
24340 char jpeg_read_header ();
24341 int
24342 main ()
24343 {
24344 jpeg_read_header ();
24345 ;
24346 return 0;
24347 }
24348 _ACEOF
24349 rm -f conftest.$ac_objext conftest$ac_exeext
24350 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24351 (eval $ac_link) 2>conftest.er1
24352 ac_status=$?
24353 grep -v '^ *+' conftest.er1 >conftest.err
24354 rm -f conftest.er1
24355 cat conftest.err >&5
24356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24357 (exit $ac_status); } &&
24358 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24360 (eval $ac_try) 2>&5
24361 ac_status=$?
24362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24363 (exit $ac_status); }; } &&
24364 { ac_try='test -s conftest$ac_exeext'
24365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24366 (eval $ac_try) 2>&5
24367 ac_status=$?
24368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24369 (exit $ac_status); }; }; then
24370 ac_cv_lib_jpeg_jpeg_read_header=yes
24371 else
24372 echo "$as_me: failed program was:" >&5
24373 sed 's/^/| /' conftest.$ac_ext >&5
24374
24375 ac_cv_lib_jpeg_jpeg_read_header=no
24376 fi
24377 rm -f conftest.err conftest.$ac_objext \
24378 conftest$ac_exeext conftest.$ac_ext
24379 LIBS=$ac_check_lib_save_LIBS
24380 fi
24381 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
24382 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
24383 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
24384 JPEG_LINK=" -ljpeg"
24385 fi
24386
24387 fi
24388
24389 if test "x$JPEG_LINK" = "x" ; then
24390 if test "$wxUSE_LIBJPEG" = "sys" ; then
24391 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
24392 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
24393 { (exit 1); exit 1; }; }
24394 else
24395 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
24396 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
24397 wxUSE_LIBJPEG=builtin
24398 fi
24399 else
24400 wxUSE_LIBJPEG=sys
24401 fi
24402 fi
24403 fi
24404 fi
24405
24406
24407 TIFF_LINK=
24408 TIFF_PREREQ_LINKS=-lm
24409 if test "$wxUSE_LIBTIFF" != "no" ; then
24410 cat >>confdefs.h <<\_ACEOF
24411 #define wxUSE_LIBTIFF 1
24412 _ACEOF
24413
24414
24415 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
24416 if test "$wxUSE_LIBJPEG" = "sys"; then
24417 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
24418 fi
24419 if test "$wxUSE_ZLIB" = "sys"; then
24420 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
24421 fi
24422 if test "${ac_cv_header_tiffio_h+set}" = set; then
24423 echo "$as_me:$LINENO: checking for tiffio.h" >&5
24424 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
24425 if test "${ac_cv_header_tiffio_h+set}" = set; then
24426 echo $ECHO_N "(cached) $ECHO_C" >&6
24427 fi
24428 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
24429 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
24430 else
24431 # Is the header compilable?
24432 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
24433 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
24434 cat >conftest.$ac_ext <<_ACEOF
24435 /* confdefs.h. */
24436 _ACEOF
24437 cat confdefs.h >>conftest.$ac_ext
24438 cat >>conftest.$ac_ext <<_ACEOF
24439 /* end confdefs.h. */
24440 $ac_includes_default
24441 #include <tiffio.h>
24442 _ACEOF
24443 rm -f conftest.$ac_objext
24444 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24445 (eval $ac_compile) 2>conftest.er1
24446 ac_status=$?
24447 grep -v '^ *+' conftest.er1 >conftest.err
24448 rm -f conftest.er1
24449 cat conftest.err >&5
24450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24451 (exit $ac_status); } &&
24452 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24454 (eval $ac_try) 2>&5
24455 ac_status=$?
24456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24457 (exit $ac_status); }; } &&
24458 { ac_try='test -s conftest.$ac_objext'
24459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24460 (eval $ac_try) 2>&5
24461 ac_status=$?
24462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24463 (exit $ac_status); }; }; then
24464 ac_header_compiler=yes
24465 else
24466 echo "$as_me: failed program was:" >&5
24467 sed 's/^/| /' conftest.$ac_ext >&5
24468
24469 ac_header_compiler=no
24470 fi
24471 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24472 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24473 echo "${ECHO_T}$ac_header_compiler" >&6
24474
24475 # Is the header present?
24476 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
24477 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
24478 cat >conftest.$ac_ext <<_ACEOF
24479 /* confdefs.h. */
24480 _ACEOF
24481 cat confdefs.h >>conftest.$ac_ext
24482 cat >>conftest.$ac_ext <<_ACEOF
24483 /* end confdefs.h. */
24484 #include <tiffio.h>
24485 _ACEOF
24486 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24487 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
24488 ac_status=$?
24489 grep -v '^ *+' conftest.er1 >conftest.err
24490 rm -f conftest.er1
24491 cat conftest.err >&5
24492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24493 (exit $ac_status); } >/dev/null; then
24494 if test -s conftest.err; then
24495 ac_cpp_err=$ac_c_preproc_warn_flag
24496 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
24497 else
24498 ac_cpp_err=
24499 fi
24500 else
24501 ac_cpp_err=yes
24502 fi
24503 if test -z "$ac_cpp_err"; then
24504 ac_header_preproc=yes
24505 else
24506 echo "$as_me: failed program was:" >&5
24507 sed 's/^/| /' conftest.$ac_ext >&5
24508
24509 ac_header_preproc=no
24510 fi
24511 rm -f conftest.err conftest.$ac_ext
24512 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24513 echo "${ECHO_T}$ac_header_preproc" >&6
24514
24515 # So? What about this header?
24516 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24517 yes:no: )
24518 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
24519 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24520 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the compiler's result" >&5
24521 echo "$as_me: WARNING: tiffio.h: proceeding with the compiler's result" >&2;}
24522 ac_header_preproc=yes
24523 ;;
24524 no:yes:* )
24525 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
24526 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
24527 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
24528 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
24529 { echo "$as_me:$LINENO: WARNING: tiffio.h: see the Autoconf documentation" >&5
24530 echo "$as_me: WARNING: tiffio.h: see the Autoconf documentation" >&2;}
24531 { echo "$as_me:$LINENO: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&5
24532 echo "$as_me: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&2;}
24533 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
24534 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
24535 { echo "$as_me:$LINENO: WARNING: tiffio.h: in the future, the compiler will take precedence" >&5
24536 echo "$as_me: WARNING: tiffio.h: in the future, the compiler will take precedence" >&2;}
24537 (
24538 cat <<\_ASBOX
24539 ## ----------------------------------------- ##
24540 ## Report this to wx-dev@lists.wxwidgets.org ##
24541 ## ----------------------------------------- ##
24542 _ASBOX
24543 ) |
24544 sed "s/^/$as_me: WARNING: /" >&2
24545 ;;
24546 esac
24547 echo "$as_me:$LINENO: checking for tiffio.h" >&5
24548 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
24549 if test "${ac_cv_header_tiffio_h+set}" = set; then
24550 echo $ECHO_N "(cached) $ECHO_C" >&6
24551 else
24552 ac_cv_header_tiffio_h=$ac_header_preproc
24553 fi
24554 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
24555 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
24556
24557 fi
24558 if test $ac_cv_header_tiffio_h = yes; then
24559
24560 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
24561 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
24562 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
24563 echo $ECHO_N "(cached) $ECHO_C" >&6
24564 else
24565 ac_check_lib_save_LIBS=$LIBS
24566 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
24567 cat >conftest.$ac_ext <<_ACEOF
24568 /* confdefs.h. */
24569 _ACEOF
24570 cat confdefs.h >>conftest.$ac_ext
24571 cat >>conftest.$ac_ext <<_ACEOF
24572 /* end confdefs.h. */
24573
24574 /* Override any gcc2 internal prototype to avoid an error. */
24575 #ifdef __cplusplus
24576 extern "C"
24577 #endif
24578 /* We use char because int might match the return type of a gcc2
24579 builtin and then its argument prototype would still apply. */
24580 char TIFFError ();
24581 int
24582 main ()
24583 {
24584 TIFFError ();
24585 ;
24586 return 0;
24587 }
24588 _ACEOF
24589 rm -f conftest.$ac_objext conftest$ac_exeext
24590 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24591 (eval $ac_link) 2>conftest.er1
24592 ac_status=$?
24593 grep -v '^ *+' conftest.er1 >conftest.err
24594 rm -f conftest.er1
24595 cat conftest.err >&5
24596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24597 (exit $ac_status); } &&
24598 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24600 (eval $ac_try) 2>&5
24601 ac_status=$?
24602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24603 (exit $ac_status); }; } &&
24604 { ac_try='test -s conftest$ac_exeext'
24605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24606 (eval $ac_try) 2>&5
24607 ac_status=$?
24608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24609 (exit $ac_status); }; }; then
24610 ac_cv_lib_tiff_TIFFError=yes
24611 else
24612 echo "$as_me: failed program was:" >&5
24613 sed 's/^/| /' conftest.$ac_ext >&5
24614
24615 ac_cv_lib_tiff_TIFFError=no
24616 fi
24617 rm -f conftest.err conftest.$ac_objext \
24618 conftest$ac_exeext conftest.$ac_ext
24619 LIBS=$ac_check_lib_save_LIBS
24620 fi
24621 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
24622 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
24623 if test $ac_cv_lib_tiff_TIFFError = yes; then
24624 TIFF_LINK=" -ltiff"
24625 fi
24626
24627
24628
24629 fi
24630
24631
24632
24633 if test "x$TIFF_LINK" = "x" ; then
24634 if test "$wxUSE_LIBTIFF" = "sys" ; then
24635 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
24636 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
24637 { (exit 1); exit 1; }; }
24638 else
24639 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
24640 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
24641 wxUSE_LIBTIFF=builtin
24642 fi
24643 else
24644 wxUSE_LIBTIFF=sys
24645 fi
24646 fi
24647 fi
24648
24649
24650 if test "$wxUSE_WCHAR_T" != "yes"; then
24651 if test "$wxUSE_EXPAT" != "no"; then
24652 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
24653 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
24654 wxUSE_EXPAT=no
24655 fi
24656 if test "$wxUSE_XML" != "no"; then
24657 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
24658 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
24659 wxUSE_XML=no
24660 fi
24661 fi
24662
24663 if test "$wxUSE_EXPAT" != "no"; then
24664 wxUSE_XML=yes
24665 cat >>confdefs.h <<\_ACEOF
24666 #define wxUSE_EXPAT 1
24667 _ACEOF
24668
24669 cat >>confdefs.h <<\_ACEOF
24670 #define wxUSE_XML 1
24671 _ACEOF
24672
24673
24674 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
24675 if test "${ac_cv_header_expat_h+set}" = set; then
24676 echo "$as_me:$LINENO: checking for expat.h" >&5
24677 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
24678 if test "${ac_cv_header_expat_h+set}" = set; then
24679 echo $ECHO_N "(cached) $ECHO_C" >&6
24680 fi
24681 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
24682 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
24683 else
24684 # Is the header compilable?
24685 echo "$as_me:$LINENO: checking expat.h usability" >&5
24686 echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6
24687 cat >conftest.$ac_ext <<_ACEOF
24688 /* confdefs.h. */
24689 _ACEOF
24690 cat confdefs.h >>conftest.$ac_ext
24691 cat >>conftest.$ac_ext <<_ACEOF
24692 /* end confdefs.h. */
24693 $ac_includes_default
24694 #include <expat.h>
24695 _ACEOF
24696 rm -f conftest.$ac_objext
24697 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24698 (eval $ac_compile) 2>conftest.er1
24699 ac_status=$?
24700 grep -v '^ *+' conftest.er1 >conftest.err
24701 rm -f conftest.er1
24702 cat conftest.err >&5
24703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24704 (exit $ac_status); } &&
24705 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24707 (eval $ac_try) 2>&5
24708 ac_status=$?
24709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24710 (exit $ac_status); }; } &&
24711 { ac_try='test -s conftest.$ac_objext'
24712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24713 (eval $ac_try) 2>&5
24714 ac_status=$?
24715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24716 (exit $ac_status); }; }; then
24717 ac_header_compiler=yes
24718 else
24719 echo "$as_me: failed program was:" >&5
24720 sed 's/^/| /' conftest.$ac_ext >&5
24721
24722 ac_header_compiler=no
24723 fi
24724 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24725 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24726 echo "${ECHO_T}$ac_header_compiler" >&6
24727
24728 # Is the header present?
24729 echo "$as_me:$LINENO: checking expat.h presence" >&5
24730 echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6
24731 cat >conftest.$ac_ext <<_ACEOF
24732 /* confdefs.h. */
24733 _ACEOF
24734 cat confdefs.h >>conftest.$ac_ext
24735 cat >>conftest.$ac_ext <<_ACEOF
24736 /* end confdefs.h. */
24737 #include <expat.h>
24738 _ACEOF
24739 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24740 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
24741 ac_status=$?
24742 grep -v '^ *+' conftest.er1 >conftest.err
24743 rm -f conftest.er1
24744 cat conftest.err >&5
24745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24746 (exit $ac_status); } >/dev/null; then
24747 if test -s conftest.err; then
24748 ac_cpp_err=$ac_c_preproc_warn_flag
24749 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
24750 else
24751 ac_cpp_err=
24752 fi
24753 else
24754 ac_cpp_err=yes
24755 fi
24756 if test -z "$ac_cpp_err"; then
24757 ac_header_preproc=yes
24758 else
24759 echo "$as_me: failed program was:" >&5
24760 sed 's/^/| /' conftest.$ac_ext >&5
24761
24762 ac_header_preproc=no
24763 fi
24764 rm -f conftest.err conftest.$ac_ext
24765 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24766 echo "${ECHO_T}$ac_header_preproc" >&6
24767
24768 # So? What about this header?
24769 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24770 yes:no: )
24771 { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
24772 echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24773 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the compiler's result" >&5
24774 echo "$as_me: WARNING: expat.h: proceeding with the compiler's result" >&2;}
24775 ac_header_preproc=yes
24776 ;;
24777 no:yes:* )
24778 { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
24779 echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
24780 { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
24781 echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
24782 { echo "$as_me:$LINENO: WARNING: expat.h: see the Autoconf documentation" >&5
24783 echo "$as_me: WARNING: expat.h: see the Autoconf documentation" >&2;}
24784 { echo "$as_me:$LINENO: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&5
24785 echo "$as_me: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&2;}
24786 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
24787 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
24788 { echo "$as_me:$LINENO: WARNING: expat.h: in the future, the compiler will take precedence" >&5
24789 echo "$as_me: WARNING: expat.h: in the future, the compiler will take precedence" >&2;}
24790 (
24791 cat <<\_ASBOX
24792 ## ----------------------------------------- ##
24793 ## Report this to wx-dev@lists.wxwidgets.org ##
24794 ## ----------------------------------------- ##
24795 _ASBOX
24796 ) |
24797 sed "s/^/$as_me: WARNING: /" >&2
24798 ;;
24799 esac
24800 echo "$as_me:$LINENO: checking for expat.h" >&5
24801 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
24802 if test "${ac_cv_header_expat_h+set}" = set; then
24803 echo $ECHO_N "(cached) $ECHO_C" >&6
24804 else
24805 ac_cv_header_expat_h=$ac_header_preproc
24806 fi
24807 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
24808 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
24809
24810 fi
24811 if test $ac_cv_header_expat_h = yes; then
24812 found_expat_h=1
24813 fi
24814
24815
24816 if test "x$found_expat_h" = "x1"; then
24817 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
24818 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
24819 if test "${wx_cv_expat_is_not_broken+set}" = set; then
24820 echo $ECHO_N "(cached) $ECHO_C" >&6
24821 else
24822
24823
24824
24825 ac_ext=cc
24826 ac_cpp='$CXXCPP $CPPFLAGS'
24827 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24828 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24829 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24830
24831 cat >conftest.$ac_ext <<_ACEOF
24832 /* confdefs.h. */
24833 _ACEOF
24834 cat confdefs.h >>conftest.$ac_ext
24835 cat >>conftest.$ac_ext <<_ACEOF
24836 /* end confdefs.h. */
24837 #include <expat.h>
24838 int
24839 main ()
24840 {
24841
24842 ;
24843 return 0;
24844 }
24845 _ACEOF
24846 rm -f conftest.$ac_objext
24847 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24848 (eval $ac_compile) 2>conftest.er1
24849 ac_status=$?
24850 grep -v '^ *+' conftest.er1 >conftest.err
24851 rm -f conftest.er1
24852 cat conftest.err >&5
24853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24854 (exit $ac_status); } &&
24855 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24857 (eval $ac_try) 2>&5
24858 ac_status=$?
24859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24860 (exit $ac_status); }; } &&
24861 { ac_try='test -s conftest.$ac_objext'
24862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24863 (eval $ac_try) 2>&5
24864 ac_status=$?
24865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24866 (exit $ac_status); }; }; then
24867 wx_cv_expat_is_not_broken=yes
24868 else
24869 echo "$as_me: failed program was:" >&5
24870 sed 's/^/| /' conftest.$ac_ext >&5
24871
24872 wx_cv_expat_is_not_broken=no
24873
24874 fi
24875 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24876 ac_ext=c
24877 ac_cpp='$CPP $CPPFLAGS'
24878 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24879 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24880 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24881
24882
24883
24884 fi
24885 echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
24886 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
24887 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
24888 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
24889 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
24890 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
24891 echo $ECHO_N "(cached) $ECHO_C" >&6
24892 else
24893 ac_check_lib_save_LIBS=$LIBS
24894 LIBS="-lexpat $LIBS"
24895 cat >conftest.$ac_ext <<_ACEOF
24896 /* confdefs.h. */
24897 _ACEOF
24898 cat confdefs.h >>conftest.$ac_ext
24899 cat >>conftest.$ac_ext <<_ACEOF
24900 /* end confdefs.h. */
24901
24902 /* Override any gcc2 internal prototype to avoid an error. */
24903 #ifdef __cplusplus
24904 extern "C"
24905 #endif
24906 /* We use char because int might match the return type of a gcc2
24907 builtin and then its argument prototype would still apply. */
24908 char XML_ParserCreate ();
24909 int
24910 main ()
24911 {
24912 XML_ParserCreate ();
24913 ;
24914 return 0;
24915 }
24916 _ACEOF
24917 rm -f conftest.$ac_objext conftest$ac_exeext
24918 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24919 (eval $ac_link) 2>conftest.er1
24920 ac_status=$?
24921 grep -v '^ *+' conftest.er1 >conftest.err
24922 rm -f conftest.er1
24923 cat conftest.err >&5
24924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24925 (exit $ac_status); } &&
24926 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24928 (eval $ac_try) 2>&5
24929 ac_status=$?
24930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24931 (exit $ac_status); }; } &&
24932 { ac_try='test -s conftest$ac_exeext'
24933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24934 (eval $ac_try) 2>&5
24935 ac_status=$?
24936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24937 (exit $ac_status); }; }; then
24938 ac_cv_lib_expat_XML_ParserCreate=yes
24939 else
24940 echo "$as_me: failed program was:" >&5
24941 sed 's/^/| /' conftest.$ac_ext >&5
24942
24943 ac_cv_lib_expat_XML_ParserCreate=no
24944 fi
24945 rm -f conftest.err conftest.$ac_objext \
24946 conftest$ac_exeext conftest.$ac_ext
24947 LIBS=$ac_check_lib_save_LIBS
24948 fi
24949 echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
24950 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
24951 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
24952 EXPAT_LINK=" -lexpat"
24953 fi
24954
24955 fi
24956 fi
24957 if test "x$EXPAT_LINK" = "x" ; then
24958 if test "$wxUSE_EXPAT" = "sys" ; then
24959 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
24960 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
24961 { (exit 1); exit 1; }; }
24962 else
24963 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
24964 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
24965 wxUSE_EXPAT=builtin
24966 fi
24967 else
24968 wxUSE_EXPAT=sys
24969 fi
24970 fi
24971 if test "$wxUSE_EXPAT" = "builtin" ; then
24972
24973
24974 subdirs="$subdirs src/expat"
24975
24976 fi
24977 fi
24978
24979
24980
24981 if test "$wxUSE_LIBMSPACK" != "no"; then
24982 if test "${ac_cv_header_mspack_h+set}" = set; then
24983 echo "$as_me:$LINENO: checking for mspack.h" >&5
24984 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
24985 if test "${ac_cv_header_mspack_h+set}" = set; then
24986 echo $ECHO_N "(cached) $ECHO_C" >&6
24987 fi
24988 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
24989 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
24990 else
24991 # Is the header compilable?
24992 echo "$as_me:$LINENO: checking mspack.h usability" >&5
24993 echo $ECHO_N "checking mspack.h usability... $ECHO_C" >&6
24994 cat >conftest.$ac_ext <<_ACEOF
24995 /* confdefs.h. */
24996 _ACEOF
24997 cat confdefs.h >>conftest.$ac_ext
24998 cat >>conftest.$ac_ext <<_ACEOF
24999 /* end confdefs.h. */
25000 $ac_includes_default
25001 #include <mspack.h>
25002 _ACEOF
25003 rm -f conftest.$ac_objext
25004 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25005 (eval $ac_compile) 2>conftest.er1
25006 ac_status=$?
25007 grep -v '^ *+' conftest.er1 >conftest.err
25008 rm -f conftest.er1
25009 cat conftest.err >&5
25010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25011 (exit $ac_status); } &&
25012 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25014 (eval $ac_try) 2>&5
25015 ac_status=$?
25016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25017 (exit $ac_status); }; } &&
25018 { ac_try='test -s conftest.$ac_objext'
25019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25020 (eval $ac_try) 2>&5
25021 ac_status=$?
25022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25023 (exit $ac_status); }; }; then
25024 ac_header_compiler=yes
25025 else
25026 echo "$as_me: failed program was:" >&5
25027 sed 's/^/| /' conftest.$ac_ext >&5
25028
25029 ac_header_compiler=no
25030 fi
25031 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25032 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25033 echo "${ECHO_T}$ac_header_compiler" >&6
25034
25035 # Is the header present?
25036 echo "$as_me:$LINENO: checking mspack.h presence" >&5
25037 echo $ECHO_N "checking mspack.h presence... $ECHO_C" >&6
25038 cat >conftest.$ac_ext <<_ACEOF
25039 /* confdefs.h. */
25040 _ACEOF
25041 cat confdefs.h >>conftest.$ac_ext
25042 cat >>conftest.$ac_ext <<_ACEOF
25043 /* end confdefs.h. */
25044 #include <mspack.h>
25045 _ACEOF
25046 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25047 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
25048 ac_status=$?
25049 grep -v '^ *+' conftest.er1 >conftest.err
25050 rm -f conftest.er1
25051 cat conftest.err >&5
25052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25053 (exit $ac_status); } >/dev/null; then
25054 if test -s conftest.err; then
25055 ac_cpp_err=$ac_c_preproc_warn_flag
25056 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
25057 else
25058 ac_cpp_err=
25059 fi
25060 else
25061 ac_cpp_err=yes
25062 fi
25063 if test -z "$ac_cpp_err"; then
25064 ac_header_preproc=yes
25065 else
25066 echo "$as_me: failed program was:" >&5
25067 sed 's/^/| /' conftest.$ac_ext >&5
25068
25069 ac_header_preproc=no
25070 fi
25071 rm -f conftest.err conftest.$ac_ext
25072 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25073 echo "${ECHO_T}$ac_header_preproc" >&6
25074
25075 # So? What about this header?
25076 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
25077 yes:no: )
25078 { echo "$as_me:$LINENO: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&5
25079 echo "$as_me: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25080 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the compiler's result" >&5
25081 echo "$as_me: WARNING: mspack.h: proceeding with the compiler's result" >&2;}
25082 ac_header_preproc=yes
25083 ;;
25084 no:yes:* )
25085 { echo "$as_me:$LINENO: WARNING: mspack.h: present but cannot be compiled" >&5
25086 echo "$as_me: WARNING: mspack.h: present but cannot be compiled" >&2;}
25087 { echo "$as_me:$LINENO: WARNING: mspack.h: check for missing prerequisite headers?" >&5
25088 echo "$as_me: WARNING: mspack.h: check for missing prerequisite headers?" >&2;}
25089 { echo "$as_me:$LINENO: WARNING: mspack.h: see the Autoconf documentation" >&5
25090 echo "$as_me: WARNING: mspack.h: see the Autoconf documentation" >&2;}
25091 { echo "$as_me:$LINENO: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&5
25092 echo "$as_me: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&2;}
25093 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the preprocessor's result" >&5
25094 echo "$as_me: WARNING: mspack.h: proceeding with the preprocessor's result" >&2;}
25095 { echo "$as_me:$LINENO: WARNING: mspack.h: in the future, the compiler will take precedence" >&5
25096 echo "$as_me: WARNING: mspack.h: in the future, the compiler will take precedence" >&2;}
25097 (
25098 cat <<\_ASBOX
25099 ## ----------------------------------------- ##
25100 ## Report this to wx-dev@lists.wxwidgets.org ##
25101 ## ----------------------------------------- ##
25102 _ASBOX
25103 ) |
25104 sed "s/^/$as_me: WARNING: /" >&2
25105 ;;
25106 esac
25107 echo "$as_me:$LINENO: checking for mspack.h" >&5
25108 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
25109 if test "${ac_cv_header_mspack_h+set}" = set; then
25110 echo $ECHO_N "(cached) $ECHO_C" >&6
25111 else
25112 ac_cv_header_mspack_h=$ac_header_preproc
25113 fi
25114 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
25115 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
25116
25117 fi
25118 if test $ac_cv_header_mspack_h = yes; then
25119 found_mspack_h=1
25120 fi
25121
25122
25123 if test "x$found_mspack_h" = "x1"; then
25124 echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
25125 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6
25126 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
25127 echo $ECHO_N "(cached) $ECHO_C" >&6
25128 else
25129 ac_check_lib_save_LIBS=$LIBS
25130 LIBS="-lmspack $LIBS"
25131 cat >conftest.$ac_ext <<_ACEOF
25132 /* confdefs.h. */
25133 _ACEOF
25134 cat confdefs.h >>conftest.$ac_ext
25135 cat >>conftest.$ac_ext <<_ACEOF
25136 /* end confdefs.h. */
25137
25138 /* Override any gcc2 internal prototype to avoid an error. */
25139 #ifdef __cplusplus
25140 extern "C"
25141 #endif
25142 /* We use char because int might match the return type of a gcc2
25143 builtin and then its argument prototype would still apply. */
25144 char mspack_create_chm_decompressor ();
25145 int
25146 main ()
25147 {
25148 mspack_create_chm_decompressor ();
25149 ;
25150 return 0;
25151 }
25152 _ACEOF
25153 rm -f conftest.$ac_objext conftest$ac_exeext
25154 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25155 (eval $ac_link) 2>conftest.er1
25156 ac_status=$?
25157 grep -v '^ *+' conftest.er1 >conftest.err
25158 rm -f conftest.er1
25159 cat conftest.err >&5
25160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25161 (exit $ac_status); } &&
25162 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25164 (eval $ac_try) 2>&5
25165 ac_status=$?
25166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25167 (exit $ac_status); }; } &&
25168 { ac_try='test -s conftest$ac_exeext'
25169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25170 (eval $ac_try) 2>&5
25171 ac_status=$?
25172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25173 (exit $ac_status); }; }; then
25174 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
25175 else
25176 echo "$as_me: failed program was:" >&5
25177 sed 's/^/| /' conftest.$ac_ext >&5
25178
25179 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
25180 fi
25181 rm -f conftest.err conftest.$ac_objext \
25182 conftest$ac_exeext conftest.$ac_ext
25183 LIBS=$ac_check_lib_save_LIBS
25184 fi
25185 echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
25186 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6
25187 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
25188 MSPACK_LINK=" -lmspack"
25189 fi
25190
25191 fi
25192 if test "x$MSPACK_LINK" = "x" ; then
25193 wxUSE_LIBMSPACK=no
25194 fi
25195 fi
25196
25197 if test "$wxUSE_LIBMSPACK" != "no"; then
25198 cat >>confdefs.h <<\_ACEOF
25199 #define wxUSE_LIBMSPACK 1
25200 _ACEOF
25201
25202 fi
25203
25204
25205
25206 AFMINSTALL=
25207 WIN32INSTALL=
25208
25209 TOOLKIT=
25210 TOOLKIT_INCLUDE=
25211 WIDGET_SET=
25212
25213 if test "$USE_WIN32" = 1 ; then
25214
25215 for ac_header in w32api.h
25216 do
25217 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
25218 if eval "test \"\${$as_ac_Header+set}\" = set"; then
25219 echo "$as_me:$LINENO: checking for $ac_header" >&5
25220 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
25221 if eval "test \"\${$as_ac_Header+set}\" = set"; then
25222 echo $ECHO_N "(cached) $ECHO_C" >&6
25223 fi
25224 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
25225 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
25226 else
25227 # Is the header compilable?
25228 echo "$as_me:$LINENO: checking $ac_header usability" >&5
25229 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
25230 cat >conftest.$ac_ext <<_ACEOF
25231 /* confdefs.h. */
25232 _ACEOF
25233 cat confdefs.h >>conftest.$ac_ext
25234 cat >>conftest.$ac_ext <<_ACEOF
25235 /* end confdefs.h. */
25236 $ac_includes_default
25237 #include <$ac_header>
25238 _ACEOF
25239 rm -f conftest.$ac_objext
25240 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25241 (eval $ac_compile) 2>conftest.er1
25242 ac_status=$?
25243 grep -v '^ *+' conftest.er1 >conftest.err
25244 rm -f conftest.er1
25245 cat conftest.err >&5
25246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25247 (exit $ac_status); } &&
25248 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25250 (eval $ac_try) 2>&5
25251 ac_status=$?
25252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25253 (exit $ac_status); }; } &&
25254 { ac_try='test -s conftest.$ac_objext'
25255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25256 (eval $ac_try) 2>&5
25257 ac_status=$?
25258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25259 (exit $ac_status); }; }; then
25260 ac_header_compiler=yes
25261 else
25262 echo "$as_me: failed program was:" >&5
25263 sed 's/^/| /' conftest.$ac_ext >&5
25264
25265 ac_header_compiler=no
25266 fi
25267 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25268 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25269 echo "${ECHO_T}$ac_header_compiler" >&6
25270
25271 # Is the header present?
25272 echo "$as_me:$LINENO: checking $ac_header presence" >&5
25273 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
25274 cat >conftest.$ac_ext <<_ACEOF
25275 /* confdefs.h. */
25276 _ACEOF
25277 cat confdefs.h >>conftest.$ac_ext
25278 cat >>conftest.$ac_ext <<_ACEOF
25279 /* end confdefs.h. */
25280 #include <$ac_header>
25281 _ACEOF
25282 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25283 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
25284 ac_status=$?
25285 grep -v '^ *+' conftest.er1 >conftest.err
25286 rm -f conftest.er1
25287 cat conftest.err >&5
25288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25289 (exit $ac_status); } >/dev/null; then
25290 if test -s conftest.err; then
25291 ac_cpp_err=$ac_c_preproc_warn_flag
25292 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
25293 else
25294 ac_cpp_err=
25295 fi
25296 else
25297 ac_cpp_err=yes
25298 fi
25299 if test -z "$ac_cpp_err"; then
25300 ac_header_preproc=yes
25301 else
25302 echo "$as_me: failed program was:" >&5
25303 sed 's/^/| /' conftest.$ac_ext >&5
25304
25305 ac_header_preproc=no
25306 fi
25307 rm -f conftest.err conftest.$ac_ext
25308 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25309 echo "${ECHO_T}$ac_header_preproc" >&6
25310
25311 # So? What about this header?
25312 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
25313 yes:no: )
25314 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
25315 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
25316 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
25317 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
25318 ac_header_preproc=yes
25319 ;;
25320 no:yes:* )
25321 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
25322 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
25323 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
25324 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
25325 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
25326 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
25327 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
25328 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
25329 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
25330 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
25331 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
25332 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
25333 (
25334 cat <<\_ASBOX
25335 ## ----------------------------------------- ##
25336 ## Report this to wx-dev@lists.wxwidgets.org ##
25337 ## ----------------------------------------- ##
25338 _ASBOX
25339 ) |
25340 sed "s/^/$as_me: WARNING: /" >&2
25341 ;;
25342 esac
25343 echo "$as_me:$LINENO: checking for $ac_header" >&5
25344 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
25345 if eval "test \"\${$as_ac_Header+set}\" = set"; then
25346 echo $ECHO_N "(cached) $ECHO_C" >&6
25347 else
25348 eval "$as_ac_Header=\$ac_header_preproc"
25349 fi
25350 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
25351 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
25352
25353 fi
25354 if test `eval echo '${'$as_ac_Header'}'` = yes; then
25355 cat >>confdefs.h <<_ACEOF
25356 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
25357 _ACEOF
25358
25359 fi
25360
25361 done
25362
25363 if test "${ac_cv_header_windows_h+set}" = set; then
25364 echo "$as_me:$LINENO: checking for windows.h" >&5
25365 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
25366 if test "${ac_cv_header_windows_h+set}" = set; then
25367 echo $ECHO_N "(cached) $ECHO_C" >&6
25368 fi
25369 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
25370 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
25371 else
25372 # Is the header compilable?
25373 echo "$as_me:$LINENO: checking windows.h usability" >&5
25374 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
25375 cat >conftest.$ac_ext <<_ACEOF
25376 /* confdefs.h. */
25377 _ACEOF
25378 cat confdefs.h >>conftest.$ac_ext
25379 cat >>conftest.$ac_ext <<_ACEOF
25380 /* end confdefs.h. */
25381 $ac_includes_default
25382 #include <windows.h>
25383 _ACEOF
25384 rm -f conftest.$ac_objext
25385 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25386 (eval $ac_compile) 2>conftest.er1
25387 ac_status=$?
25388 grep -v '^ *+' conftest.er1 >conftest.err
25389 rm -f conftest.er1
25390 cat conftest.err >&5
25391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25392 (exit $ac_status); } &&
25393 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25395 (eval $ac_try) 2>&5
25396 ac_status=$?
25397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25398 (exit $ac_status); }; } &&
25399 { ac_try='test -s conftest.$ac_objext'
25400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25401 (eval $ac_try) 2>&5
25402 ac_status=$?
25403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25404 (exit $ac_status); }; }; then
25405 ac_header_compiler=yes
25406 else
25407 echo "$as_me: failed program was:" >&5
25408 sed 's/^/| /' conftest.$ac_ext >&5
25409
25410 ac_header_compiler=no
25411 fi
25412 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25413 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25414 echo "${ECHO_T}$ac_header_compiler" >&6
25415
25416 # Is the header present?
25417 echo "$as_me:$LINENO: checking windows.h presence" >&5
25418 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
25419 cat >conftest.$ac_ext <<_ACEOF
25420 /* confdefs.h. */
25421 _ACEOF
25422 cat confdefs.h >>conftest.$ac_ext
25423 cat >>conftest.$ac_ext <<_ACEOF
25424 /* end confdefs.h. */
25425 #include <windows.h>
25426 _ACEOF
25427 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25428 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
25429 ac_status=$?
25430 grep -v '^ *+' conftest.er1 >conftest.err
25431 rm -f conftest.er1
25432 cat conftest.err >&5
25433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25434 (exit $ac_status); } >/dev/null; then
25435 if test -s conftest.err; then
25436 ac_cpp_err=$ac_c_preproc_warn_flag
25437 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
25438 else
25439 ac_cpp_err=
25440 fi
25441 else
25442 ac_cpp_err=yes
25443 fi
25444 if test -z "$ac_cpp_err"; then
25445 ac_header_preproc=yes
25446 else
25447 echo "$as_me: failed program was:" >&5
25448 sed 's/^/| /' conftest.$ac_ext >&5
25449
25450 ac_header_preproc=no
25451 fi
25452 rm -f conftest.err conftest.$ac_ext
25453 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25454 echo "${ECHO_T}$ac_header_preproc" >&6
25455
25456 # So? What about this header?
25457 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
25458 yes:no: )
25459 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
25460 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25461 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the compiler's result" >&5
25462 echo "$as_me: WARNING: windows.h: proceeding with the compiler's result" >&2;}
25463 ac_header_preproc=yes
25464 ;;
25465 no:yes:* )
25466 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
25467 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
25468 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
25469 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
25470 { echo "$as_me:$LINENO: WARNING: windows.h: see the Autoconf documentation" >&5
25471 echo "$as_me: WARNING: windows.h: see the Autoconf documentation" >&2;}
25472 { echo "$as_me:$LINENO: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&5
25473 echo "$as_me: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&2;}
25474 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
25475 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
25476 { echo "$as_me:$LINENO: WARNING: windows.h: in the future, the compiler will take precedence" >&5
25477 echo "$as_me: WARNING: windows.h: in the future, the compiler will take precedence" >&2;}
25478 (
25479 cat <<\_ASBOX
25480 ## ----------------------------------------- ##
25481 ## Report this to wx-dev@lists.wxwidgets.org ##
25482 ## ----------------------------------------- ##
25483 _ASBOX
25484 ) |
25485 sed "s/^/$as_me: WARNING: /" >&2
25486 ;;
25487 esac
25488 echo "$as_me:$LINENO: checking for windows.h" >&5
25489 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
25490 if test "${ac_cv_header_windows_h+set}" = set; then
25491 echo $ECHO_N "(cached) $ECHO_C" >&6
25492 else
25493 ac_cv_header_windows_h=$ac_header_preproc
25494 fi
25495 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
25496 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
25497
25498 fi
25499 if test $ac_cv_header_windows_h = yes; then
25500 :
25501 else
25502
25503 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
25504 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
25505 { (exit 1); exit 1; }; }
25506
25507 fi
25508
25509
25510
25511 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
25512
25513 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
25514 LIBS="$LIBS -loleacc"
25515 fi
25516
25517 case "${host}" in
25518 *-*-cygwin* )
25519 LIBS="$LIBS -lkernel32 -luser32"
25520 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WIN95__"
25521 esac
25522
25523 if test "$wxUSE_ODBC" = "sys" ; then
25524 wxUSE_ODBC = "yes"
25525 fi
25526 if test "$wxUSE_ODBC" = "yes" ; then
25527 LIBS=" -lodbc32 -lole32 -loleaut32 $LIBS"
25528 cat >>confdefs.h <<\_ACEOF
25529 #define wxUSE_ODBC 1
25530 _ACEOF
25531
25532 fi
25533
25534 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
25535 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
25536
25537 WIN32INSTALL=win32install
25538 fi
25539
25540 if test "$wxUSE_GUI" = "yes"; then
25541 USE_GUI=1
25542
25543 GUI_TK_LIBRARY=
25544
25545 WXGTK12=
25546 WXGTK127=
25547 WXGTK20=
25548 WXGPE=
25549
25550 if test "$wxUSE_COCOA" = 1 ; then
25551 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
25552 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
25553 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
25554 wxUSE_PRINTING_ARCHITECTURE=no
25555 fi
25556 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
25557 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
25558 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
25559 wxUSE_DRAG_AND_DROP=no
25560 fi
25561 if test "$wxUSE_DRAGIMAGE" = "yes"; then
25562 { echo "$as_me:$LINENO: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&5
25563 echo "$as_me: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&2;}
25564 wxUSE_DRAGIMAGE=no
25565 fi
25566 fi
25567
25568 if test "$wxUSE_MSW" = 1 ; then
25569 TOOLKIT=MSW
25570 GUIDIST=MSW_DIST
25571
25572 case "${host}" in
25573 *-*-mingw32* )
25574 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
25575 esac
25576 fi
25577
25578 if test "$wxUSE_GTK" = 1; then
25579 echo "$as_me:$LINENO: checking for GTK+ version" >&5
25580 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
25581
25582 gtk_version_cached=1
25583 if test "${wx_cv_lib_gtk+set}" = set; then
25584 echo $ECHO_N "(cached) $ECHO_C" >&6
25585 else
25586
25587 gtk_version_cached=0
25588 echo "$as_me:$LINENO: result: " >&5
25589 echo "${ECHO_T}" >&6
25590
25591 GTK_MODULES=
25592 if test "$wxUSE_THREADS" = "yes"; then
25593 GTK_MODULES=gthread
25594 fi
25595
25596 wx_cv_lib_gtk=
25597 if test "x$wxGTK_VERSION" != "x1"
25598 then
25599 case "${host}" in
25600 *-*-solaris2* )
25601 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
25602 enable_gtktest=no
25603 fi
25604 esac
25605
25606 # Check whether --enable-gtktest or --disable-gtktest was given.
25607 if test "${enable_gtktest+set}" = set; then
25608 enableval="$enable_gtktest"
25609
25610 else
25611 enable_gtktest=yes
25612 fi;
25613
25614 pkg_config_args=gtk+-2.0
25615 for module in . $GTK_MODULES
25616 do
25617 case "$module" in
25618 gthread)
25619 pkg_config_args="$pkg_config_args gthread-2.0"
25620 ;;
25621 esac
25622 done
25623
25624 no_gtk=""
25625
25626 # Extract the first word of "pkg-config", so it can be a program name with args.
25627 set dummy pkg-config; ac_word=$2
25628 echo "$as_me:$LINENO: checking for $ac_word" >&5
25629 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25630 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
25631 echo $ECHO_N "(cached) $ECHO_C" >&6
25632 else
25633 case $PKG_CONFIG in
25634 [\\/]* | ?:[\\/]*)
25635 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
25636 ;;
25637 *)
25638 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25639 for as_dir in $PATH
25640 do
25641 IFS=$as_save_IFS
25642 test -z "$as_dir" && as_dir=.
25643 for ac_exec_ext in '' $ac_executable_extensions; do
25644 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25645 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
25646 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25647 break 2
25648 fi
25649 done
25650 done
25651
25652 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
25653 ;;
25654 esac
25655 fi
25656 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
25657
25658 if test -n "$PKG_CONFIG"; then
25659 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
25660 echo "${ECHO_T}$PKG_CONFIG" >&6
25661 else
25662 echo "$as_me:$LINENO: result: no" >&5
25663 echo "${ECHO_T}no" >&6
25664 fi
25665
25666
25667 if test x$PKG_CONFIG != xno ; then
25668 if pkg-config --atleast-pkgconfig-version 0.7 ; then
25669 :
25670 else
25671 echo "*** pkg-config too old; version 0.7 or better required."
25672 no_gtk=yes
25673 PKG_CONFIG=no
25674 fi
25675 else
25676 no_gtk=yes
25677 fi
25678
25679 min_gtk_version=2.0.0
25680 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
25681 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
25682
25683 if test x$PKG_CONFIG != xno ; then
25684 ## don't try to run the test against uninstalled libtool libs
25685 if $PKG_CONFIG --uninstalled $pkg_config_args; then
25686 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
25687 enable_gtktest=no
25688 fi
25689
25690 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
25691 :
25692 else
25693 no_gtk=yes
25694 fi
25695 fi
25696
25697 if test x"$no_gtk" = x ; then
25698 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
25699 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
25700 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
25701 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
25702 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
25703 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
25704 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
25705 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
25706 if test "x$enable_gtktest" = "xyes" ; then
25707 ac_save_CFLAGS="$CFLAGS"
25708 ac_save_LIBS="$LIBS"
25709 CFLAGS="$CFLAGS $GTK_CFLAGS"
25710 LIBS="$GTK_LIBS $LIBS"
25711 rm -f conf.gtktest
25712 if test "$cross_compiling" = yes; then
25713 echo $ac_n "cross compiling; assumed OK... $ac_c"
25714 else
25715 cat >conftest.$ac_ext <<_ACEOF
25716 /* confdefs.h. */
25717 _ACEOF
25718 cat confdefs.h >>conftest.$ac_ext
25719 cat >>conftest.$ac_ext <<_ACEOF
25720 /* end confdefs.h. */
25721
25722 #include <gtk/gtk.h>
25723 #include <stdio.h>
25724 #include <stdlib.h>
25725
25726 int
25727 main ()
25728 {
25729 int major, minor, micro;
25730 char *tmp_version;
25731
25732 system ("touch conf.gtktest");
25733
25734 /* HP/UX 9 (%@#!) writes to sscanf strings */
25735 tmp_version = g_strdup("$min_gtk_version");
25736 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
25737 printf("%s, bad version string\n", "$min_gtk_version");
25738 exit(1);
25739 }
25740
25741 if ((gtk_major_version != $gtk_config_major_version) ||
25742 (gtk_minor_version != $gtk_config_minor_version) ||
25743 (gtk_micro_version != $gtk_config_micro_version))
25744 {
25745 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
25746 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
25747 gtk_major_version, gtk_minor_version, gtk_micro_version);
25748 printf ("*** was found! If pkg-config was correct, then it is best\n");
25749 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
25750 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
25751 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
25752 printf("*** required on your system.\n");
25753 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
25754 printf("*** to point to the correct configuration files\n");
25755 }
25756 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
25757 (gtk_minor_version != GTK_MINOR_VERSION) ||
25758 (gtk_micro_version != GTK_MICRO_VERSION))
25759 {
25760 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
25761 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
25762 printf("*** library (version %d.%d.%d)\n",
25763 gtk_major_version, gtk_minor_version, gtk_micro_version);
25764 }
25765 else
25766 {
25767 if ((gtk_major_version > major) ||
25768 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
25769 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
25770 {
25771 return 0;
25772 }
25773 else
25774 {
25775 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
25776 gtk_major_version, gtk_minor_version, gtk_micro_version);
25777 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
25778 major, minor, micro);
25779 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
25780 printf("***\n");
25781 printf("*** If you have already installed a sufficiently new version, this error\n");
25782 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
25783 printf("*** being found. The easiest way to fix this is to remove the old version\n");
25784 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
25785 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
25786 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
25787 printf("*** so that the correct libraries are found at run-time))\n");
25788 }
25789 }
25790 return 1;
25791 }
25792
25793 _ACEOF
25794 rm -f conftest$ac_exeext
25795 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25796 (eval $ac_link) 2>&5
25797 ac_status=$?
25798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25799 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25801 (eval $ac_try) 2>&5
25802 ac_status=$?
25803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25804 (exit $ac_status); }; }; then
25805 :
25806 else
25807 echo "$as_me: program exited with status $ac_status" >&5
25808 echo "$as_me: failed program was:" >&5
25809 sed 's/^/| /' conftest.$ac_ext >&5
25810
25811 ( exit $ac_status )
25812 no_gtk=yes
25813 fi
25814 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25815 fi
25816 CFLAGS="$ac_save_CFLAGS"
25817 LIBS="$ac_save_LIBS"
25818 fi
25819 fi
25820 if test "x$no_gtk" = x ; then
25821 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
25822 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
25823 wx_cv_lib_gtk=2.0
25824 else
25825 echo "$as_me:$LINENO: result: no" >&5
25826 echo "${ECHO_T}no" >&6
25827 if test "$PKG_CONFIG" = "no" ; then
25828 echo "*** A new enough version of pkg-config was not found."
25829 echo "*** See http://pkgconfig.sourceforge.net"
25830 else
25831 if test -f conf.gtktest ; then
25832 :
25833 else
25834 echo "*** Could not run GTK+ test program, checking why..."
25835 ac_save_CFLAGS="$CFLAGS"
25836 ac_save_LIBS="$LIBS"
25837 CFLAGS="$CFLAGS $GTK_CFLAGS"
25838 LIBS="$LIBS $GTK_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 #include <gtk/gtk.h>
25847 #include <stdio.h>
25848
25849 int
25850 main ()
25851 {
25852 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
25853 ;
25854 return 0;
25855 }
25856 _ACEOF
25857 rm -f conftest.$ac_objext conftest$ac_exeext
25858 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25859 (eval $ac_link) 2>conftest.er1
25860 ac_status=$?
25861 grep -v '^ *+' conftest.er1 >conftest.err
25862 rm -f conftest.er1
25863 cat conftest.err >&5
25864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25865 (exit $ac_status); } &&
25866 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25868 (eval $ac_try) 2>&5
25869 ac_status=$?
25870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25871 (exit $ac_status); }; } &&
25872 { ac_try='test -s conftest$ac_exeext'
25873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25874 (eval $ac_try) 2>&5
25875 ac_status=$?
25876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25877 (exit $ac_status); }; }; then
25878 echo "*** The test program compiled, but did not run. This usually means"
25879 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
25880 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
25881 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
25882 echo "*** to the installed location Also, make sure you have run ldconfig if that"
25883 echo "*** is required on your system"
25884 echo "***"
25885 echo "*** If you have an old version installed, it is best to remove it, although"
25886 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
25887 else
25888 echo "$as_me: failed program was:" >&5
25889 sed 's/^/| /' conftest.$ac_ext >&5
25890
25891 echo "*** The test program failed to compile or link. See the file config.log for the"
25892 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
25893 fi
25894 rm -f conftest.err conftest.$ac_objext \
25895 conftest$ac_exeext conftest.$ac_ext
25896 CFLAGS="$ac_save_CFLAGS"
25897 LIBS="$ac_save_LIBS"
25898 fi
25899 fi
25900 GTK_CFLAGS=""
25901 GTK_LIBS=""
25902 :
25903 fi
25904
25905
25906 rm -f conf.gtktest
25907
25908
25909 case "${host}" in
25910 *-*-solaris2* )
25911 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
25912 GTK_CFLAGS=`echo $GTK_CFLAGS | sed 's/-mt//'`
25913 GTK_LIBS=`echo $GTK_LIBS | sed 's/-mt//'`
25914 fi
25915 if test "$wxUSE_SHARED" != "yes"; then
25916 GTK_LIBS="$GTK_LIBS -lX11"
25917 fi
25918 esac
25919 fi
25920
25921 if test -z "$wx_cv_lib_gtk"; then
25922 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
25923
25924 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
25925 if test "${with_gtk_prefix+set}" = set; then
25926 withval="$with_gtk_prefix"
25927 gtk_config_prefix="$withval"
25928 else
25929 gtk_config_prefix=""
25930 fi;
25931
25932 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
25933 if test "${with_gtk_exec_prefix+set}" = set; then
25934 withval="$with_gtk_exec_prefix"
25935 gtk_config_exec_prefix="$withval"
25936 else
25937 gtk_config_exec_prefix=""
25938 fi;
25939 # Check whether --enable-gtktest or --disable-gtktest was given.
25940 if test "${enable_gtktest+set}" = set; then
25941 enableval="$enable_gtktest"
25942
25943 else
25944 enable_gtktest=yes
25945 fi;
25946
25947 for module in . $GTK_MODULES
25948 do
25949 case "$module" in
25950 gthread)
25951 gtk_config_args="$gtk_config_args gthread"
25952 ;;
25953 esac
25954 done
25955
25956 if test x$gtk_config_exec_prefix != x ; then
25957 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
25958 if test x${GTK_CONFIG+set} != xset ; then
25959 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
25960 fi
25961 fi
25962 if test x$gtk_config_prefix != x ; then
25963 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
25964 if test x${GTK_CONFIG+set} != xset ; then
25965 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
25966 fi
25967 fi
25968
25969 # Extract the first word of "gtk-config", so it can be a program name with args.
25970 set dummy gtk-config; ac_word=$2
25971 echo "$as_me:$LINENO: checking for $ac_word" >&5
25972 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25973 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
25974 echo $ECHO_N "(cached) $ECHO_C" >&6
25975 else
25976 case $GTK_CONFIG in
25977 [\\/]* | ?:[\\/]*)
25978 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
25979 ;;
25980 *)
25981 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25982 for as_dir in $PATH
25983 do
25984 IFS=$as_save_IFS
25985 test -z "$as_dir" && as_dir=.
25986 for ac_exec_ext in '' $ac_executable_extensions; do
25987 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25988 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
25989 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25990 break 2
25991 fi
25992 done
25993 done
25994
25995 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
25996 ;;
25997 esac
25998 fi
25999 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
26000
26001 if test -n "$GTK_CONFIG"; then
26002 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
26003 echo "${ECHO_T}$GTK_CONFIG" >&6
26004 else
26005 echo "$as_me:$LINENO: result: no" >&5
26006 echo "${ECHO_T}no" >&6
26007 fi
26008
26009 min_gtk_version=1.2.7
26010 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
26011 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
26012 no_gtk=""
26013 if test "$GTK_CONFIG" = "no" ; then
26014 no_gtk=yes
26015 else
26016 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
26017 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
26018 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
26019 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
26020 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
26021 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
26022 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
26023 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
26024 if test "x$enable_gtktest" = "xyes" ; then
26025 ac_save_CFLAGS="$CFLAGS"
26026 ac_save_LIBS="$LIBS"
26027 CFLAGS="$CFLAGS $GTK_CFLAGS"
26028 LIBS="$GTK_LIBS $LIBS"
26029 rm -f conf.gtktest
26030 if test "$cross_compiling" = yes; then
26031 echo $ac_n "cross compiling; assumed OK... $ac_c"
26032 else
26033 cat >conftest.$ac_ext <<_ACEOF
26034 /* confdefs.h. */
26035 _ACEOF
26036 cat confdefs.h >>conftest.$ac_ext
26037 cat >>conftest.$ac_ext <<_ACEOF
26038 /* end confdefs.h. */
26039
26040 #include <gtk/gtk.h>
26041 #include <stdio.h>
26042 #include <stdlib.h>
26043
26044 int
26045 main ()
26046 {
26047 int major, minor, micro;
26048 char *tmp_version;
26049
26050 system ("touch conf.gtktest");
26051
26052 /* HP/UX 9 (%@#!) writes to sscanf strings */
26053 tmp_version = g_strdup("$min_gtk_version");
26054 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
26055 printf("%s, bad version string\n", "$min_gtk_version");
26056 exit(1);
26057 }
26058
26059 if ((gtk_major_version != $gtk_config_major_version) ||
26060 (gtk_minor_version != $gtk_config_minor_version) ||
26061 (gtk_micro_version != $gtk_config_micro_version))
26062 {
26063 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
26064 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
26065 gtk_major_version, gtk_minor_version, gtk_micro_version);
26066 printf ("*** was found! If gtk-config was correct, then it is best\n");
26067 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
26068 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
26069 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
26070 printf("*** required on your system.\n");
26071 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
26072 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
26073 printf("*** before re-running configure\n");
26074 }
26075 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
26076 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
26077 (gtk_minor_version != GTK_MINOR_VERSION) ||
26078 (gtk_micro_version != GTK_MICRO_VERSION))
26079 {
26080 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
26081 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
26082 printf("*** library (version %d.%d.%d)\n",
26083 gtk_major_version, gtk_minor_version, gtk_micro_version);
26084 }
26085 #endif /* defined (GTK_MAJOR_VERSION) ... */
26086 else
26087 {
26088 if ((gtk_major_version > major) ||
26089 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
26090 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
26091 {
26092 return 0;
26093 }
26094 else
26095 {
26096 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
26097 gtk_major_version, gtk_minor_version, gtk_micro_version);
26098 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
26099 major, minor, micro);
26100 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
26101 printf("***\n");
26102 printf("*** If you have already installed a sufficiently new version, this error\n");
26103 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
26104 printf("*** being found. The easiest way to fix this is to remove the old version\n");
26105 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
26106 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
26107 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
26108 printf("*** so that the correct libraries are found at run-time))\n");
26109 }
26110 }
26111 return 1;
26112 }
26113
26114 _ACEOF
26115 rm -f conftest$ac_exeext
26116 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26117 (eval $ac_link) 2>&5
26118 ac_status=$?
26119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26120 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
26121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26122 (eval $ac_try) 2>&5
26123 ac_status=$?
26124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26125 (exit $ac_status); }; }; then
26126 :
26127 else
26128 echo "$as_me: program exited with status $ac_status" >&5
26129 echo "$as_me: failed program was:" >&5
26130 sed 's/^/| /' conftest.$ac_ext >&5
26131
26132 ( exit $ac_status )
26133 no_gtk=yes
26134 fi
26135 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26136 fi
26137 CFLAGS="$ac_save_CFLAGS"
26138 LIBS="$ac_save_LIBS"
26139 fi
26140 fi
26141 if test "x$no_gtk" = x ; then
26142 echo "$as_me:$LINENO: result: yes" >&5
26143 echo "${ECHO_T}yes" >&6
26144 wx_cv_lib_gtk=1.2.7
26145 else
26146 echo "$as_me:$LINENO: result: no" >&5
26147 echo "${ECHO_T}no" >&6
26148 if test "$GTK_CONFIG" = "no" ; then
26149 echo "*** The gtk-config script installed by GTK could not be found"
26150 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
26151 echo "*** your path, or set the GTK_CONFIG environment variable to the"
26152 echo "*** full path to gtk-config."
26153 else
26154 if test -f conf.gtktest ; then
26155 :
26156 else
26157 echo "*** Could not run GTK test program, checking why..."
26158 CFLAGS="$CFLAGS $GTK_CFLAGS"
26159 LIBS="$LIBS $GTK_LIBS"
26160 cat >conftest.$ac_ext <<_ACEOF
26161 /* confdefs.h. */
26162 _ACEOF
26163 cat confdefs.h >>conftest.$ac_ext
26164 cat >>conftest.$ac_ext <<_ACEOF
26165 /* end confdefs.h. */
26166
26167 #include <gtk/gtk.h>
26168 #include <stdio.h>
26169
26170 int
26171 main ()
26172 {
26173 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
26174 ;
26175 return 0;
26176 }
26177 _ACEOF
26178 rm -f conftest.$ac_objext conftest$ac_exeext
26179 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26180 (eval $ac_link) 2>conftest.er1
26181 ac_status=$?
26182 grep -v '^ *+' conftest.er1 >conftest.err
26183 rm -f conftest.er1
26184 cat conftest.err >&5
26185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26186 (exit $ac_status); } &&
26187 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26189 (eval $ac_try) 2>&5
26190 ac_status=$?
26191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26192 (exit $ac_status); }; } &&
26193 { ac_try='test -s conftest$ac_exeext'
26194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26195 (eval $ac_try) 2>&5
26196 ac_status=$?
26197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26198 (exit $ac_status); }; }; then
26199 echo "*** The test program compiled, but did not run. This usually means"
26200 echo "*** that the run-time linker is not finding GTK or finding the wrong"
26201 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
26202 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
26203 echo "*** to the installed location Also, make sure you have run ldconfig if that"
26204 echo "*** is required on your system"
26205 echo "***"
26206 echo "*** If you have an old version installed, it is best to remove it, although"
26207 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
26208 echo "***"
26209 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
26210 echo "*** came with the system with the command"
26211 echo "***"
26212 echo "*** rpm --erase --nodeps gtk gtk-devel"
26213 else
26214 echo "$as_me: failed program was:" >&5
26215 sed 's/^/| /' conftest.$ac_ext >&5
26216
26217 echo "*** The test program failed to compile or link. See the file config.log for the"
26218 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
26219 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
26220 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
26221 fi
26222 rm -f conftest.err conftest.$ac_objext \
26223 conftest$ac_exeext conftest.$ac_ext
26224 CFLAGS="$ac_save_CFLAGS"
26225 LIBS="$ac_save_LIBS"
26226 fi
26227 fi
26228 GTK_CFLAGS=""
26229 GTK_LIBS=""
26230 :
26231 fi
26232
26233
26234 rm -f conf.gtktest
26235
26236
26237 if test -z "$wx_cv_lib_gtk"; then
26238
26239 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
26240 if test "${with_gtk_prefix+set}" = set; then
26241 withval="$with_gtk_prefix"
26242 gtk_config_prefix="$withval"
26243 else
26244 gtk_config_prefix=""
26245 fi;
26246
26247 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
26248 if test "${with_gtk_exec_prefix+set}" = set; then
26249 withval="$with_gtk_exec_prefix"
26250 gtk_config_exec_prefix="$withval"
26251 else
26252 gtk_config_exec_prefix=""
26253 fi;
26254 # Check whether --enable-gtktest or --disable-gtktest was given.
26255 if test "${enable_gtktest+set}" = set; then
26256 enableval="$enable_gtktest"
26257
26258 else
26259 enable_gtktest=yes
26260 fi;
26261
26262 for module in . $GTK_MODULES
26263 do
26264 case "$module" in
26265 gthread)
26266 gtk_config_args="$gtk_config_args gthread"
26267 ;;
26268 esac
26269 done
26270
26271 if test x$gtk_config_exec_prefix != x ; then
26272 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
26273 if test x${GTK_CONFIG+set} != xset ; then
26274 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
26275 fi
26276 fi
26277 if test x$gtk_config_prefix != x ; then
26278 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
26279 if test x${GTK_CONFIG+set} != xset ; then
26280 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
26281 fi
26282 fi
26283
26284 # Extract the first word of "gtk-config", so it can be a program name with args.
26285 set dummy gtk-config; ac_word=$2
26286 echo "$as_me:$LINENO: checking for $ac_word" >&5
26287 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
26288 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
26289 echo $ECHO_N "(cached) $ECHO_C" >&6
26290 else
26291 case $GTK_CONFIG in
26292 [\\/]* | ?:[\\/]*)
26293 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
26294 ;;
26295 *)
26296 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26297 for as_dir in $PATH
26298 do
26299 IFS=$as_save_IFS
26300 test -z "$as_dir" && as_dir=.
26301 for ac_exec_ext in '' $ac_executable_extensions; do
26302 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
26303 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
26304 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
26305 break 2
26306 fi
26307 done
26308 done
26309
26310 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
26311 ;;
26312 esac
26313 fi
26314 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
26315
26316 if test -n "$GTK_CONFIG"; then
26317 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
26318 echo "${ECHO_T}$GTK_CONFIG" >&6
26319 else
26320 echo "$as_me:$LINENO: result: no" >&5
26321 echo "${ECHO_T}no" >&6
26322 fi
26323
26324 min_gtk_version=1.2.3
26325 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
26326 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
26327 no_gtk=""
26328 if test "$GTK_CONFIG" = "no" ; then
26329 no_gtk=yes
26330 else
26331 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
26332 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
26333 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
26334 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
26335 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
26336 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
26337 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
26338 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
26339 if test "x$enable_gtktest" = "xyes" ; then
26340 ac_save_CFLAGS="$CFLAGS"
26341 ac_save_LIBS="$LIBS"
26342 CFLAGS="$CFLAGS $GTK_CFLAGS"
26343 LIBS="$GTK_LIBS $LIBS"
26344 rm -f conf.gtktest
26345 if test "$cross_compiling" = yes; then
26346 echo $ac_n "cross compiling; assumed OK... $ac_c"
26347 else
26348 cat >conftest.$ac_ext <<_ACEOF
26349 /* confdefs.h. */
26350 _ACEOF
26351 cat confdefs.h >>conftest.$ac_ext
26352 cat >>conftest.$ac_ext <<_ACEOF
26353 /* end confdefs.h. */
26354
26355 #include <gtk/gtk.h>
26356 #include <stdio.h>
26357 #include <stdlib.h>
26358
26359 int
26360 main ()
26361 {
26362 int major, minor, micro;
26363 char *tmp_version;
26364
26365 system ("touch conf.gtktest");
26366
26367 /* HP/UX 9 (%@#!) writes to sscanf strings */
26368 tmp_version = g_strdup("$min_gtk_version");
26369 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
26370 printf("%s, bad version string\n", "$min_gtk_version");
26371 exit(1);
26372 }
26373
26374 if ((gtk_major_version != $gtk_config_major_version) ||
26375 (gtk_minor_version != $gtk_config_minor_version) ||
26376 (gtk_micro_version != $gtk_config_micro_version))
26377 {
26378 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
26379 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
26380 gtk_major_version, gtk_minor_version, gtk_micro_version);
26381 printf ("*** was found! If gtk-config was correct, then it is best\n");
26382 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
26383 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
26384 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
26385 printf("*** required on your system.\n");
26386 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
26387 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
26388 printf("*** before re-running configure\n");
26389 }
26390 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
26391 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
26392 (gtk_minor_version != GTK_MINOR_VERSION) ||
26393 (gtk_micro_version != GTK_MICRO_VERSION))
26394 {
26395 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
26396 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
26397 printf("*** library (version %d.%d.%d)\n",
26398 gtk_major_version, gtk_minor_version, gtk_micro_version);
26399 }
26400 #endif /* defined (GTK_MAJOR_VERSION) ... */
26401 else
26402 {
26403 if ((gtk_major_version > major) ||
26404 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
26405 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
26406 {
26407 return 0;
26408 }
26409 else
26410 {
26411 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
26412 gtk_major_version, gtk_minor_version, gtk_micro_version);
26413 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
26414 major, minor, micro);
26415 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
26416 printf("***\n");
26417 printf("*** If you have already installed a sufficiently new version, this error\n");
26418 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
26419 printf("*** being found. The easiest way to fix this is to remove the old version\n");
26420 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
26421 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
26422 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
26423 printf("*** so that the correct libraries are found at run-time))\n");
26424 }
26425 }
26426 return 1;
26427 }
26428
26429 _ACEOF
26430 rm -f conftest$ac_exeext
26431 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26432 (eval $ac_link) 2>&5
26433 ac_status=$?
26434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26435 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
26436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26437 (eval $ac_try) 2>&5
26438 ac_status=$?
26439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26440 (exit $ac_status); }; }; then
26441 :
26442 else
26443 echo "$as_me: program exited with status $ac_status" >&5
26444 echo "$as_me: failed program was:" >&5
26445 sed 's/^/| /' conftest.$ac_ext >&5
26446
26447 ( exit $ac_status )
26448 no_gtk=yes
26449 fi
26450 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26451 fi
26452 CFLAGS="$ac_save_CFLAGS"
26453 LIBS="$ac_save_LIBS"
26454 fi
26455 fi
26456 if test "x$no_gtk" = x ; then
26457 echo "$as_me:$LINENO: result: yes" >&5
26458 echo "${ECHO_T}yes" >&6
26459 wx_cv_lib_gtk=1.2.3
26460 else
26461 echo "$as_me:$LINENO: result: no" >&5
26462 echo "${ECHO_T}no" >&6
26463 if test "$GTK_CONFIG" = "no" ; then
26464 echo "*** The gtk-config script installed by GTK could not be found"
26465 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
26466 echo "*** your path, or set the GTK_CONFIG environment variable to the"
26467 echo "*** full path to gtk-config."
26468 else
26469 if test -f conf.gtktest ; then
26470 :
26471 else
26472 echo "*** Could not run GTK test program, checking why..."
26473 CFLAGS="$CFLAGS $GTK_CFLAGS"
26474 LIBS="$LIBS $GTK_LIBS"
26475 cat >conftest.$ac_ext <<_ACEOF
26476 /* confdefs.h. */
26477 _ACEOF
26478 cat confdefs.h >>conftest.$ac_ext
26479 cat >>conftest.$ac_ext <<_ACEOF
26480 /* end confdefs.h. */
26481
26482 #include <gtk/gtk.h>
26483 #include <stdio.h>
26484
26485 int
26486 main ()
26487 {
26488 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
26489 ;
26490 return 0;
26491 }
26492 _ACEOF
26493 rm -f conftest.$ac_objext conftest$ac_exeext
26494 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26495 (eval $ac_link) 2>conftest.er1
26496 ac_status=$?
26497 grep -v '^ *+' conftest.er1 >conftest.err
26498 rm -f conftest.er1
26499 cat conftest.err >&5
26500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26501 (exit $ac_status); } &&
26502 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26504 (eval $ac_try) 2>&5
26505 ac_status=$?
26506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26507 (exit $ac_status); }; } &&
26508 { ac_try='test -s conftest$ac_exeext'
26509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26510 (eval $ac_try) 2>&5
26511 ac_status=$?
26512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26513 (exit $ac_status); }; }; then
26514 echo "*** The test program compiled, but did not run. This usually means"
26515 echo "*** that the run-time linker is not finding GTK or finding the wrong"
26516 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
26517 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
26518 echo "*** to the installed location Also, make sure you have run ldconfig if that"
26519 echo "*** is required on your system"
26520 echo "***"
26521 echo "*** If you have an old version installed, it is best to remove it, although"
26522 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
26523 echo "***"
26524 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
26525 echo "*** came with the system with the command"
26526 echo "***"
26527 echo "*** rpm --erase --nodeps gtk gtk-devel"
26528 else
26529 echo "$as_me: failed program was:" >&5
26530 sed 's/^/| /' conftest.$ac_ext >&5
26531
26532 echo "*** The test program failed to compile or link. See the file config.log for the"
26533 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
26534 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
26535 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
26536 fi
26537 rm -f conftest.err conftest.$ac_objext \
26538 conftest$ac_exeext conftest.$ac_ext
26539 CFLAGS="$ac_save_CFLAGS"
26540 LIBS="$ac_save_LIBS"
26541 fi
26542 fi
26543 GTK_CFLAGS=""
26544 GTK_LIBS=""
26545 :
26546 fi
26547
26548
26549 rm -f conf.gtktest
26550
26551 fi
26552 fi
26553 fi
26554
26555 if test -z "$wx_cv_lib_gtk"; then
26556 wx_cv_lib_gtk=none
26557 else
26558 wx_cv_cflags_gtk=$GTK_CFLAGS
26559 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's/ -l[^ ]*cairo[^ ]*//g'`
26560 fi
26561
26562
26563 fi
26564
26565
26566 if test "$gtk_version_cached" = 1; then
26567 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
26568 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
26569 fi
26570
26571 case "$wx_cv_lib_gtk" in
26572 2.0) WXGTK20=1
26573 TOOLKIT_VERSION=2
26574 ;;
26575 1.2.7) WXGTK127=1
26576 WXGTK12=1
26577 ;;
26578 1.2.3) WXGTK12=1
26579 ;;
26580 *) { { echo "$as_me:$LINENO: error:
26581 The development files for GTK+ were not found. For GTK+ 2, please
26582 ensure that pkg-config is in the path and that gtk+-2.0.pc is
26583 installed. For GTK+ 1.2 please check that gtk-config is in the path,
26584 and that the version is 1.2.3 or above. Also check that the
26585 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
26586 --libs' are in the LD_LIBRARY_PATH or equivalent.
26587 " >&5
26588 echo "$as_me: error:
26589 The development files for GTK+ were not found. For GTK+ 2, please
26590 ensure that pkg-config is in the path and that gtk+-2.0.pc is
26591 installed. For GTK+ 1.2 please check that gtk-config is in the path,
26592 and that the version is 1.2.3 or above. Also check that the
26593 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
26594 --libs' are in the LD_LIBRARY_PATH or equivalent.
26595 " >&2;}
26596 { (exit 1); exit 1; }; }
26597 ;;
26598 esac
26599
26600 if test "$WXGTK20" = 1; then
26601 save_CFLAGS="$CFLAGS"
26602 save_LIBS="$LIBS"
26603 CFLAGS="$CFLAGS $wx_cv_cflags_gtk"
26604 LIBS="$LIBS $wx_cv_libs_gtk"
26605
26606 echo "$as_me:$LINENO: checking if gtk_icon_size_lookup is missing" >&5
26607 echo $ECHO_N "checking if gtk_icon_size_lookup is missing... $ECHO_C" >&6
26608 cat >conftest.$ac_ext <<_ACEOF
26609 /* confdefs.h. */
26610 _ACEOF
26611 cat confdefs.h >>conftest.$ac_ext
26612 cat >>conftest.$ac_ext <<_ACEOF
26613 /* end confdefs.h. */
26614
26615 #include <gtk/gtk.h>
26616
26617 int
26618 main ()
26619 {
26620
26621 void *f = gtk_icon_size_lookup;
26622
26623 ;
26624 return 0;
26625 }
26626 _ACEOF
26627 rm -f conftest.$ac_objext
26628 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26629 (eval $ac_compile) 2>conftest.er1
26630 ac_status=$?
26631 grep -v '^ *+' conftest.er1 >conftest.err
26632 rm -f conftest.er1
26633 cat conftest.err >&5
26634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26635 (exit $ac_status); } &&
26636 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26638 (eval $ac_try) 2>&5
26639 ac_status=$?
26640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26641 (exit $ac_status); }; } &&
26642 { ac_try='test -s conftest.$ac_objext'
26643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26644 (eval $ac_try) 2>&5
26645 ac_status=$?
26646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26647 (exit $ac_status); }; }; then
26648
26649 echo "$as_me:$LINENO: result: no" >&5
26650 echo "${ECHO_T}no" >&6
26651
26652 else
26653 echo "$as_me: failed program was:" >&5
26654 sed 's/^/| /' conftest.$ac_ext >&5
26655
26656
26657 cat >>confdefs.h <<\_ACEOF
26658 #define NEED_GTK_ICON_SIZE_LOOKUP 1
26659 _ACEOF
26660
26661 echo "$as_me:$LINENO: result: yes" >&5
26662 echo "${ECHO_T}yes" >&6
26663
26664 fi
26665 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26666
26667 echo "$as_me:$LINENO: checking if GTK+ is version >= 2.4" >&5
26668 echo $ECHO_N "checking if GTK+ is version >= 2.4... $ECHO_C" >&6
26669 cat >conftest.$ac_ext <<_ACEOF
26670 /* confdefs.h. */
26671 _ACEOF
26672 cat confdefs.h >>conftest.$ac_ext
26673 cat >>conftest.$ac_ext <<_ACEOF
26674 /* end confdefs.h. */
26675
26676 #include <gtk/gtk.h>
26677
26678 int
26679 main ()
26680 {
26681
26682 #if !GTK_CHECK_VERSION(2,4,0)
26683 Not GTK+ 2.4
26684 #endif
26685
26686 ;
26687 return 0;
26688 }
26689 _ACEOF
26690 rm -f conftest.$ac_objext
26691 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26692 (eval $ac_compile) 2>conftest.er1
26693 ac_status=$?
26694 grep -v '^ *+' conftest.er1 >conftest.err
26695 rm -f conftest.er1
26696 cat conftest.err >&5
26697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26698 (exit $ac_status); } &&
26699 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26701 (eval $ac_try) 2>&5
26702 ac_status=$?
26703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26704 (exit $ac_status); }; } &&
26705 { ac_try='test -s conftest.$ac_objext'
26706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26707 (eval $ac_try) 2>&5
26708 ac_status=$?
26709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26710 (exit $ac_status); }; }; then
26711
26712 cat >>confdefs.h <<\_ACEOF
26713 #define __WXGTK24__ 1
26714 _ACEOF
26715
26716 echo "$as_me:$LINENO: result: yes" >&5
26717 echo "${ECHO_T}yes" >&6
26718
26719 else
26720 echo "$as_me: failed program was:" >&5
26721 sed 's/^/| /' conftest.$ac_ext >&5
26722
26723
26724 echo "$as_me:$LINENO: result: no" >&5
26725 echo "${ECHO_T}no" >&6
26726
26727 fi
26728 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26729
26730 CFLAGS="$save_CFLAGS"
26731 LIBS="$save_LIBS"
26732 else
26733 if test "$wxUSE_UNICODE" = "yes"; then
26734 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
26735 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
26736 wxUSE_UNICODE=no
26737 fi
26738 fi
26739
26740 if test "$USE_DARWIN" != 1; then
26741
26742 for ac_func in poll
26743 do
26744 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26745 echo "$as_me:$LINENO: checking for $ac_func" >&5
26746 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26747 if eval "test \"\${$as_ac_var+set}\" = set"; then
26748 echo $ECHO_N "(cached) $ECHO_C" >&6
26749 else
26750 cat >conftest.$ac_ext <<_ACEOF
26751 /* confdefs.h. */
26752 _ACEOF
26753 cat confdefs.h >>conftest.$ac_ext
26754 cat >>conftest.$ac_ext <<_ACEOF
26755 /* end confdefs.h. */
26756 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26757 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26758 #define $ac_func innocuous_$ac_func
26759
26760 /* System header to define __stub macros and hopefully few prototypes,
26761 which can conflict with char $ac_func (); below.
26762 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26763 <limits.h> exists even on freestanding compilers. */
26764
26765 #ifdef __STDC__
26766 # include <limits.h>
26767 #else
26768 # include <assert.h>
26769 #endif
26770
26771 #undef $ac_func
26772
26773 /* Override any gcc2 internal prototype to avoid an error. */
26774 #ifdef __cplusplus
26775 extern "C"
26776 {
26777 #endif
26778 /* We use char because int might match the return type of a gcc2
26779 builtin and then its argument prototype would still apply. */
26780 char $ac_func ();
26781 /* The GNU C library defines this for functions which it implements
26782 to always fail with ENOSYS. Some functions are actually named
26783 something starting with __ and the normal name is an alias. */
26784 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26785 choke me
26786 #else
26787 char (*f) () = $ac_func;
26788 #endif
26789 #ifdef __cplusplus
26790 }
26791 #endif
26792
26793 int
26794 main ()
26795 {
26796 return f != $ac_func;
26797 ;
26798 return 0;
26799 }
26800 _ACEOF
26801 rm -f conftest.$ac_objext conftest$ac_exeext
26802 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26803 (eval $ac_link) 2>conftest.er1
26804 ac_status=$?
26805 grep -v '^ *+' conftest.er1 >conftest.err
26806 rm -f conftest.er1
26807 cat conftest.err >&5
26808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26809 (exit $ac_status); } &&
26810 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26812 (eval $ac_try) 2>&5
26813 ac_status=$?
26814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26815 (exit $ac_status); }; } &&
26816 { ac_try='test -s conftest$ac_exeext'
26817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26818 (eval $ac_try) 2>&5
26819 ac_status=$?
26820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26821 (exit $ac_status); }; }; then
26822 eval "$as_ac_var=yes"
26823 else
26824 echo "$as_me: failed program was:" >&5
26825 sed 's/^/| /' conftest.$ac_ext >&5
26826
26827 eval "$as_ac_var=no"
26828 fi
26829 rm -f conftest.err conftest.$ac_objext \
26830 conftest$ac_exeext conftest.$ac_ext
26831 fi
26832 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26833 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26834 if test `eval echo '${'$as_ac_var'}'` = yes; then
26835 cat >>confdefs.h <<_ACEOF
26836 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26837 _ACEOF
26838
26839 fi
26840 done
26841
26842 fi
26843
26844 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
26845 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
26846
26847 AFMINSTALL=afminstall
26848 TOOLKIT=GTK
26849 GUIDIST=GTK_DIST
26850
26851 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
26852 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
26853 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
26854 echo $ECHO_N "(cached) $ECHO_C" >&6
26855 else
26856 ac_check_lib_save_LIBS=$LIBS
26857 LIBS="-lgdk $LIBS"
26858 cat >conftest.$ac_ext <<_ACEOF
26859 /* confdefs.h. */
26860 _ACEOF
26861 cat confdefs.h >>conftest.$ac_ext
26862 cat >>conftest.$ac_ext <<_ACEOF
26863 /* end confdefs.h. */
26864
26865 /* Override any gcc2 internal prototype to avoid an error. */
26866 #ifdef __cplusplus
26867 extern "C"
26868 #endif
26869 /* We use char because int might match the return type of a gcc2
26870 builtin and then its argument prototype would still apply. */
26871 char gdk_im_open ();
26872 int
26873 main ()
26874 {
26875 gdk_im_open ();
26876 ;
26877 return 0;
26878 }
26879 _ACEOF
26880 rm -f conftest.$ac_objext conftest$ac_exeext
26881 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26882 (eval $ac_link) 2>conftest.er1
26883 ac_status=$?
26884 grep -v '^ *+' conftest.er1 >conftest.err
26885 rm -f conftest.er1
26886 cat conftest.err >&5
26887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26888 (exit $ac_status); } &&
26889 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26891 (eval $ac_try) 2>&5
26892 ac_status=$?
26893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26894 (exit $ac_status); }; } &&
26895 { ac_try='test -s conftest$ac_exeext'
26896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26897 (eval $ac_try) 2>&5
26898 ac_status=$?
26899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26900 (exit $ac_status); }; }; then
26901 ac_cv_lib_gdk_gdk_im_open=yes
26902 else
26903 echo "$as_me: failed program was:" >&5
26904 sed 's/^/| /' conftest.$ac_ext >&5
26905
26906 ac_cv_lib_gdk_gdk_im_open=no
26907 fi
26908 rm -f conftest.err conftest.$ac_objext \
26909 conftest$ac_exeext conftest.$ac_ext
26910 LIBS=$ac_check_lib_save_LIBS
26911 fi
26912 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
26913 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
26914 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
26915 cat >>confdefs.h <<\_ACEOF
26916 #define HAVE_XIM 1
26917 _ACEOF
26918
26919 fi
26920
26921
26922
26923 if test "$wxUSE_GPE" = "yes"; then
26924 echo "$as_me:$LINENO: checking for gpewidget library" >&5
26925 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6
26926
26927 ac_find_libraries=
26928 for ac_dir in $SEARCH_LIB;
26929 do
26930 for ac_extension in a so sl dylib dll.a; do
26931 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
26932 ac_find_libraries=$ac_dir
26933 break 2
26934 fi
26935 done
26936 done
26937
26938 if test "$ac_find_libraries" != "" ; then
26939
26940 if test "$ac_find_libraries" = "default location"; then
26941 ac_path_to_link=""
26942 else
26943 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
26944 result=$?
26945 if test $result = 0; then
26946 ac_path_to_link=""
26947 else
26948 ac_path_to_link=" -L$ac_find_libraries"
26949 fi
26950 fi
26951
26952 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
26953 WXGPE=1
26954 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
26955 echo "${ECHO_T}found in $ac_find_libraries" >&6
26956 else
26957 echo "$as_me:$LINENO: result: not found" >&5
26958 echo "${ECHO_T}not found" >&6
26959 fi
26960
26961 fi
26962 fi
26963
26964 if test "$wxUSE_MGL" = 1; then
26965 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
26966 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
26967 if test "x$MGL_ROOT" = x ; then
26968 echo "$as_me:$LINENO: result: not found" >&5
26969 echo "${ECHO_T}not found" >&6
26970 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
26971 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
26972 { (exit 1); exit 1; }; }
26973 else
26974 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
26975 echo "${ECHO_T}$MGL_ROOT" >&6
26976 fi
26977
26978 echo "$as_me:$LINENO: checking for libmgl location" >&5
26979 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
26980 case "${host}" in
26981 *-*-linux* )
26982 if test "x$wxUSE_SHARED" = xyes ; then
26983 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
26984 else
26985 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
26986 fi
26987 ;;
26988 *-pc-msdosdjgpp )
26989 mgl_os_candidates="dos32/dj2"
26990 ;;
26991 *)
26992 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
26993 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
26994 { (exit 1); exit 1; }; }
26995 esac
26996
26997 mgl_lib_type=""
26998 mgl_os=""
26999
27000 for mgl_os_i in $mgl_os_candidates ; do
27001 if test "x$mgl_os" = x ; then
27002 if test "$wxUSE_DEBUG_FLAG" = yes ; then
27003 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
27004 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
27005 mgl_lib_type=debug
27006 mgl_os=$mgl_os_i
27007 fi
27008 fi
27009 if test "x$mgl_lib_type" = x ; then
27010 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
27011 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
27012 mgl_lib_type=release
27013 mgl_os=$mgl_os_i
27014 fi
27015 fi
27016 fi
27017 done
27018
27019 if test "x$mgl_os" = x ; then
27020 echo "$as_me:$LINENO: result: not found" >&5
27021 echo "${ECHO_T}not found" >&6
27022 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
27023 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
27024 { (exit 1); exit 1; }; }
27025 fi
27026 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
27027 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
27028
27029 wxUSE_UNIVERSAL="yes"
27030
27031 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
27032 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
27033
27034 AFMINSTALL=afminstall
27035 TOOLKIT=MGL
27036 GUIDIST=MGL_DIST
27037 fi
27038
27039 if test "$wxUSE_MICROWIN" = 1; then
27040 echo "$as_me:$LINENO: checking for MicroWindows" >&5
27041 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
27042 if test "x$MICROWINDOWS" = x ; then
27043 echo "$as_me:$LINENO: result: not found" >&5
27044 echo "${ECHO_T}not found" >&6
27045 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
27046 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
27047 { (exit 1); exit 1; }; }
27048 else
27049 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
27050 echo "${ECHO_T}$MICROWINDOWS" >&6
27051 fi
27052
27053 if test -f $MICROWINDOWS/lib/libmwin.a; then
27054 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
27055 echo "${ECHO_T}MicroWindows' libraries found." >&6
27056 else
27057 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
27058 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
27059 { (exit 1); exit 1; }; }
27060 fi
27061
27062 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
27063 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
27064
27065 wxUSE_UNIVERSAL="yes"
27066
27067 AFMINSTALL=afminstall
27068 TOOLKIT=MICROWIN
27069 GUIDIST=MICROWIN_DIST
27070
27071 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
27072 fi
27073
27074 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
27075
27076 if test "x$ac_path_x_has_been_run" != xyes; then
27077 echo "$as_me:$LINENO: checking for X" >&5
27078 echo $ECHO_N "checking for X... $ECHO_C" >&6
27079
27080 ac_path_x_has_been_run=yes
27081
27082 # Check whether --with-x or --without-x was given.
27083 if test "${with_x+set}" = set; then
27084 withval="$with_x"
27085
27086 fi;
27087 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
27088 if test "x$with_x" = xno; then
27089 # The user explicitly disabled X.
27090 have_x=disabled
27091 else
27092 if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then
27093 # Both variables are already set.
27094 have_x=yes
27095 else
27096 if test "${ac_cv_have_x+set}" = set; then
27097 echo $ECHO_N "(cached) $ECHO_C" >&6
27098 else
27099 # One or both of the vars are not set, and there is no cached value.
27100 ac_x_includes=no ac_x_libraries=no
27101 rm -fr conftest.dir
27102 if mkdir conftest.dir; then
27103 cd conftest.dir
27104 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
27105 cat >Imakefile <<'_ACEOF'
27106 acfindx:
27107 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
27108 _ACEOF
27109 if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
27110 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
27111 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
27112 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
27113 for ac_extension in a so sl; do
27114 if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
27115 test -f $ac_im_libdir/libX11.$ac_extension; then
27116 ac_im_usrlibdir=$ac_im_libdir; break
27117 fi
27118 done
27119 # Screen out bogus values from the imake configuration. They are
27120 # bogus both because they are the default anyway, and because
27121 # using them would break gcc on systems where it needs fixed includes.
27122 case $ac_im_incroot in
27123 /usr/include) ;;
27124 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
27125 esac
27126 case $ac_im_usrlibdir in
27127 /usr/lib | /lib) ;;
27128 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
27129 esac
27130 fi
27131 cd ..
27132 rm -fr conftest.dir
27133 fi
27134
27135 # Standard set of common directories for X headers.
27136 # Check X11 before X11Rn because it is often a symlink to the current release.
27137 ac_x_header_dirs='
27138 /usr/X11/include
27139 /usr/X11R6/include
27140 /usr/X11R5/include
27141 /usr/X11R4/include
27142
27143 /usr/include/X11
27144 /usr/include/X11R6
27145 /usr/include/X11R5
27146 /usr/include/X11R4
27147
27148 /usr/local/X11/include
27149 /usr/local/X11R6/include
27150 /usr/local/X11R5/include
27151 /usr/local/X11R4/include
27152
27153 /usr/local/include/X11
27154 /usr/local/include/X11R6
27155 /usr/local/include/X11R5
27156 /usr/local/include/X11R4
27157
27158 /usr/X386/include
27159 /usr/x386/include
27160 /usr/XFree86/include/X11
27161
27162 /usr/include
27163 /usr/local/include
27164 /usr/unsupported/include
27165 /usr/athena/include
27166 /usr/local/x11r5/include
27167 /usr/lpp/Xamples/include
27168
27169 /usr/openwin/include
27170 /usr/openwin/share/include'
27171
27172 if test "$ac_x_includes" = no; then
27173 # Guess where to find include files, by looking for a specified header file.
27174 # First, try using that file with no special directory specified.
27175 cat >conftest.$ac_ext <<_ACEOF
27176 /* confdefs.h. */
27177 _ACEOF
27178 cat confdefs.h >>conftest.$ac_ext
27179 cat >>conftest.$ac_ext <<_ACEOF
27180 /* end confdefs.h. */
27181 #include <X11/Intrinsic.h>
27182 _ACEOF
27183 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27184 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
27185 ac_status=$?
27186 grep -v '^ *+' conftest.er1 >conftest.err
27187 rm -f conftest.er1
27188 cat conftest.err >&5
27189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27190 (exit $ac_status); } >/dev/null; then
27191 if test -s conftest.err; then
27192 ac_cpp_err=$ac_c_preproc_warn_flag
27193 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
27194 else
27195 ac_cpp_err=
27196 fi
27197 else
27198 ac_cpp_err=yes
27199 fi
27200 if test -z "$ac_cpp_err"; then
27201 # We can compile using X headers with no special include directory.
27202 ac_x_includes=
27203 else
27204 echo "$as_me: failed program was:" >&5
27205 sed 's/^/| /' conftest.$ac_ext >&5
27206
27207 for ac_dir in $ac_x_header_dirs; do
27208 if test -r "$ac_dir/X11/Intrinsic.h"; then
27209 ac_x_includes=$ac_dir
27210 break
27211 fi
27212 done
27213 fi
27214 rm -f conftest.err conftest.$ac_ext
27215 fi # $ac_x_includes = no
27216
27217 if test "$ac_x_libraries" = no; then
27218 # Check for the libraries.
27219 # See if we find them without any special options.
27220 # Don't add to $LIBS permanently.
27221 ac_save_LIBS=$LIBS
27222 LIBS="-lXt $LIBS"
27223 cat >conftest.$ac_ext <<_ACEOF
27224 /* confdefs.h. */
27225 _ACEOF
27226 cat confdefs.h >>conftest.$ac_ext
27227 cat >>conftest.$ac_ext <<_ACEOF
27228 /* end confdefs.h. */
27229 #include <X11/Intrinsic.h>
27230 int
27231 main ()
27232 {
27233 XtMalloc (0)
27234 ;
27235 return 0;
27236 }
27237 _ACEOF
27238 rm -f conftest.$ac_objext conftest$ac_exeext
27239 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27240 (eval $ac_link) 2>conftest.er1
27241 ac_status=$?
27242 grep -v '^ *+' conftest.er1 >conftest.err
27243 rm -f conftest.er1
27244 cat conftest.err >&5
27245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27246 (exit $ac_status); } &&
27247 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27249 (eval $ac_try) 2>&5
27250 ac_status=$?
27251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27252 (exit $ac_status); }; } &&
27253 { ac_try='test -s conftest$ac_exeext'
27254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27255 (eval $ac_try) 2>&5
27256 ac_status=$?
27257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27258 (exit $ac_status); }; }; then
27259 LIBS=$ac_save_LIBS
27260 # We can link X programs with no special library path.
27261 ac_x_libraries=
27262 else
27263 echo "$as_me: failed program was:" >&5
27264 sed 's/^/| /' conftest.$ac_ext >&5
27265
27266 LIBS=$ac_save_LIBS
27267 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
27268 do
27269 # Don't even attempt the hair of trying to link an X program!
27270 for ac_extension in a so sl; do
27271 if test -r $ac_dir/libXt.$ac_extension; then
27272 ac_x_libraries=$ac_dir
27273 break 2
27274 fi
27275 done
27276 done
27277 fi
27278 rm -f conftest.err conftest.$ac_objext \
27279 conftest$ac_exeext conftest.$ac_ext
27280 fi # $ac_x_libraries = no
27281
27282 if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then
27283 # Didn't find X anywhere. Cache the known absence of X.
27284 ac_cv_have_x="have_x=no"
27285 else
27286 # Record where we found X for the cache.
27287 ac_cv_have_x="have_x=yes \
27288 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
27289 fi
27290 fi
27291
27292 fi
27293 eval "$ac_cv_have_x"
27294 fi # $with_x != no
27295
27296 if test "$have_x" != yes; then
27297 echo "$as_me:$LINENO: result: $have_x" >&5
27298 echo "${ECHO_T}$have_x" >&6
27299 no_x=yes
27300 else
27301 # If each of the values was on the command line, it overrides each guess.
27302 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
27303 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
27304 # Update the cache value to reflect the command line values.
27305 ac_cv_have_x="have_x=yes \
27306 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
27307 # It might be that x_includes is empty (headers are found in the
27308 # standard search path. Then output the corresponding message
27309 ac_out_x_includes=$x_includes
27310 test "x$x_includes" = x && ac_out_x_includes="in standard search path"
27311 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $ac_out_x_includes" >&5
27312 echo "${ECHO_T}libraries $x_libraries, headers $ac_out_x_includes" >&6
27313 fi
27314
27315 fi
27316 if test "$no_x" = yes; then
27317 # Not all programs may use this symbol, but it does not hurt to define it.
27318
27319 cat >>confdefs.h <<\_ACEOF
27320 #define X_DISPLAY_MISSING 1
27321 _ACEOF
27322
27323 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
27324 else
27325 if test -n "$x_includes"; then
27326 X_CFLAGS="$X_CFLAGS -I$x_includes"
27327 fi
27328
27329 # It would also be nice to do this for all -L options, not just this one.
27330 if test -n "$x_libraries"; then
27331 X_LIBS="$X_LIBS -L$x_libraries"
27332 # For Solaris; some versions of Sun CC require a space after -R and
27333 # others require no space. Words are not sufficient . . . .
27334 case `(uname -sr) 2>/dev/null` in
27335 "SunOS 5"*)
27336 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
27337 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
27338 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
27339 cat >conftest.$ac_ext <<_ACEOF
27340 /* confdefs.h. */
27341 _ACEOF
27342 cat confdefs.h >>conftest.$ac_ext
27343 cat >>conftest.$ac_ext <<_ACEOF
27344 /* end confdefs.h. */
27345
27346 int
27347 main ()
27348 {
27349
27350 ;
27351 return 0;
27352 }
27353 _ACEOF
27354 rm -f conftest.$ac_objext conftest$ac_exeext
27355 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27356 (eval $ac_link) 2>conftest.er1
27357 ac_status=$?
27358 grep -v '^ *+' conftest.er1 >conftest.err
27359 rm -f conftest.er1
27360 cat conftest.err >&5
27361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27362 (exit $ac_status); } &&
27363 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27365 (eval $ac_try) 2>&5
27366 ac_status=$?
27367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27368 (exit $ac_status); }; } &&
27369 { ac_try='test -s conftest$ac_exeext'
27370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27371 (eval $ac_try) 2>&5
27372 ac_status=$?
27373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27374 (exit $ac_status); }; }; then
27375 ac_R_nospace=yes
27376 else
27377 echo "$as_me: failed program was:" >&5
27378 sed 's/^/| /' conftest.$ac_ext >&5
27379
27380 ac_R_nospace=no
27381 fi
27382 rm -f conftest.err conftest.$ac_objext \
27383 conftest$ac_exeext conftest.$ac_ext
27384 if test $ac_R_nospace = yes; then
27385 echo "$as_me:$LINENO: result: no" >&5
27386 echo "${ECHO_T}no" >&6
27387 X_LIBS="$X_LIBS -R$x_libraries"
27388 else
27389 LIBS="$ac_xsave_LIBS -R $x_libraries"
27390 cat >conftest.$ac_ext <<_ACEOF
27391 /* confdefs.h. */
27392 _ACEOF
27393 cat confdefs.h >>conftest.$ac_ext
27394 cat >>conftest.$ac_ext <<_ACEOF
27395 /* end confdefs.h. */
27396
27397 int
27398 main ()
27399 {
27400
27401 ;
27402 return 0;
27403 }
27404 _ACEOF
27405 rm -f conftest.$ac_objext conftest$ac_exeext
27406 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27407 (eval $ac_link) 2>conftest.er1
27408 ac_status=$?
27409 grep -v '^ *+' conftest.er1 >conftest.err
27410 rm -f conftest.er1
27411 cat conftest.err >&5
27412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27413 (exit $ac_status); } &&
27414 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27416 (eval $ac_try) 2>&5
27417 ac_status=$?
27418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27419 (exit $ac_status); }; } &&
27420 { ac_try='test -s conftest$ac_exeext'
27421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27422 (eval $ac_try) 2>&5
27423 ac_status=$?
27424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27425 (exit $ac_status); }; }; then
27426 ac_R_space=yes
27427 else
27428 echo "$as_me: failed program was:" >&5
27429 sed 's/^/| /' conftest.$ac_ext >&5
27430
27431 ac_R_space=no
27432 fi
27433 rm -f conftest.err conftest.$ac_objext \
27434 conftest$ac_exeext conftest.$ac_ext
27435 if test $ac_R_space = yes; then
27436 echo "$as_me:$LINENO: result: yes" >&5
27437 echo "${ECHO_T}yes" >&6
27438 X_LIBS="$X_LIBS -R $x_libraries"
27439 else
27440 echo "$as_me:$LINENO: result: neither works" >&5
27441 echo "${ECHO_T}neither works" >&6
27442 fi
27443 fi
27444 LIBS=$ac_xsave_LIBS
27445 esac
27446 fi
27447
27448 # Check for system-dependent libraries X programs must link with.
27449 # Do this before checking for the system-independent R6 libraries
27450 # (-lICE), since we may need -lsocket or whatever for X linking.
27451
27452 if test "$ISC" = yes; then
27453 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
27454 else
27455 # Martyn Johnson says this is needed for Ultrix, if the X
27456 # libraries were built with DECnet support. And Karl Berry says
27457 # the Alpha needs dnet_stub (dnet does not exist).
27458 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
27459 cat >conftest.$ac_ext <<_ACEOF
27460 /* confdefs.h. */
27461 _ACEOF
27462 cat confdefs.h >>conftest.$ac_ext
27463 cat >>conftest.$ac_ext <<_ACEOF
27464 /* end confdefs.h. */
27465
27466 /* Override any gcc2 internal prototype to avoid an error. */
27467 #ifdef __cplusplus
27468 extern "C"
27469 #endif
27470 /* We use char because int might match the return type of a gcc2
27471 builtin and then its argument prototype would still apply. */
27472 char XOpenDisplay ();
27473 int
27474 main ()
27475 {
27476 XOpenDisplay ();
27477 ;
27478 return 0;
27479 }
27480 _ACEOF
27481 rm -f conftest.$ac_objext conftest$ac_exeext
27482 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27483 (eval $ac_link) 2>conftest.er1
27484 ac_status=$?
27485 grep -v '^ *+' conftest.er1 >conftest.err
27486 rm -f conftest.er1
27487 cat conftest.err >&5
27488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27489 (exit $ac_status); } &&
27490 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27492 (eval $ac_try) 2>&5
27493 ac_status=$?
27494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27495 (exit $ac_status); }; } &&
27496 { ac_try='test -s conftest$ac_exeext'
27497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27498 (eval $ac_try) 2>&5
27499 ac_status=$?
27500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27501 (exit $ac_status); }; }; then
27502 :
27503 else
27504 echo "$as_me: failed program was:" >&5
27505 sed 's/^/| /' conftest.$ac_ext >&5
27506
27507 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
27508 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
27509 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
27510 echo $ECHO_N "(cached) $ECHO_C" >&6
27511 else
27512 ac_check_lib_save_LIBS=$LIBS
27513 LIBS="-ldnet $LIBS"
27514 cat >conftest.$ac_ext <<_ACEOF
27515 /* confdefs.h. */
27516 _ACEOF
27517 cat confdefs.h >>conftest.$ac_ext
27518 cat >>conftest.$ac_ext <<_ACEOF
27519 /* end confdefs.h. */
27520
27521 /* Override any gcc2 internal prototype to avoid an error. */
27522 #ifdef __cplusplus
27523 extern "C"
27524 #endif
27525 /* We use char because int might match the return type of a gcc2
27526 builtin and then its argument prototype would still apply. */
27527 char dnet_ntoa ();
27528 int
27529 main ()
27530 {
27531 dnet_ntoa ();
27532 ;
27533 return 0;
27534 }
27535 _ACEOF
27536 rm -f conftest.$ac_objext conftest$ac_exeext
27537 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27538 (eval $ac_link) 2>conftest.er1
27539 ac_status=$?
27540 grep -v '^ *+' conftest.er1 >conftest.err
27541 rm -f conftest.er1
27542 cat conftest.err >&5
27543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27544 (exit $ac_status); } &&
27545 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27547 (eval $ac_try) 2>&5
27548 ac_status=$?
27549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27550 (exit $ac_status); }; } &&
27551 { ac_try='test -s conftest$ac_exeext'
27552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27553 (eval $ac_try) 2>&5
27554 ac_status=$?
27555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27556 (exit $ac_status); }; }; then
27557 ac_cv_lib_dnet_dnet_ntoa=yes
27558 else
27559 echo "$as_me: failed program was:" >&5
27560 sed 's/^/| /' conftest.$ac_ext >&5
27561
27562 ac_cv_lib_dnet_dnet_ntoa=no
27563 fi
27564 rm -f conftest.err conftest.$ac_objext \
27565 conftest$ac_exeext conftest.$ac_ext
27566 LIBS=$ac_check_lib_save_LIBS
27567 fi
27568 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
27569 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
27570 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
27571 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
27572 fi
27573
27574 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
27575 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
27576 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
27577 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
27578 echo $ECHO_N "(cached) $ECHO_C" >&6
27579 else
27580 ac_check_lib_save_LIBS=$LIBS
27581 LIBS="-ldnet_stub $LIBS"
27582 cat >conftest.$ac_ext <<_ACEOF
27583 /* confdefs.h. */
27584 _ACEOF
27585 cat confdefs.h >>conftest.$ac_ext
27586 cat >>conftest.$ac_ext <<_ACEOF
27587 /* end confdefs.h. */
27588
27589 /* Override any gcc2 internal prototype to avoid an error. */
27590 #ifdef __cplusplus
27591 extern "C"
27592 #endif
27593 /* We use char because int might match the return type of a gcc2
27594 builtin and then its argument prototype would still apply. */
27595 char dnet_ntoa ();
27596 int
27597 main ()
27598 {
27599 dnet_ntoa ();
27600 ;
27601 return 0;
27602 }
27603 _ACEOF
27604 rm -f conftest.$ac_objext conftest$ac_exeext
27605 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27606 (eval $ac_link) 2>conftest.er1
27607 ac_status=$?
27608 grep -v '^ *+' conftest.er1 >conftest.err
27609 rm -f conftest.er1
27610 cat conftest.err >&5
27611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27612 (exit $ac_status); } &&
27613 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27615 (eval $ac_try) 2>&5
27616 ac_status=$?
27617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27618 (exit $ac_status); }; } &&
27619 { ac_try='test -s conftest$ac_exeext'
27620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27621 (eval $ac_try) 2>&5
27622 ac_status=$?
27623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27624 (exit $ac_status); }; }; then
27625 ac_cv_lib_dnet_stub_dnet_ntoa=yes
27626 else
27627 echo "$as_me: failed program was:" >&5
27628 sed 's/^/| /' conftest.$ac_ext >&5
27629
27630 ac_cv_lib_dnet_stub_dnet_ntoa=no
27631 fi
27632 rm -f conftest.err conftest.$ac_objext \
27633 conftest$ac_exeext conftest.$ac_ext
27634 LIBS=$ac_check_lib_save_LIBS
27635 fi
27636 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
27637 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
27638 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
27639 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
27640 fi
27641
27642 fi
27643 fi
27644 rm -f conftest.err conftest.$ac_objext \
27645 conftest$ac_exeext conftest.$ac_ext
27646 LIBS="$ac_xsave_LIBS"
27647
27648 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
27649 # to get the SysV transport functions.
27650 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
27651 # needs -lnsl.
27652 # The nsl library prevents programs from opening the X display
27653 # on Irix 5.2, according to T.E. Dickey.
27654 # The functions gethostbyname, getservbyname, and inet_addr are
27655 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
27656 echo "$as_me:$LINENO: checking for gethostbyname" >&5
27657 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
27658 if test "${ac_cv_func_gethostbyname+set}" = set; then
27659 echo $ECHO_N "(cached) $ECHO_C" >&6
27660 else
27661 cat >conftest.$ac_ext <<_ACEOF
27662 /* confdefs.h. */
27663 _ACEOF
27664 cat confdefs.h >>conftest.$ac_ext
27665 cat >>conftest.$ac_ext <<_ACEOF
27666 /* end confdefs.h. */
27667 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
27668 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27669 #define gethostbyname innocuous_gethostbyname
27670
27671 /* System header to define __stub macros and hopefully few prototypes,
27672 which can conflict with char gethostbyname (); below.
27673 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27674 <limits.h> exists even on freestanding compilers. */
27675
27676 #ifdef __STDC__
27677 # include <limits.h>
27678 #else
27679 # include <assert.h>
27680 #endif
27681
27682 #undef gethostbyname
27683
27684 /* Override any gcc2 internal prototype to avoid an error. */
27685 #ifdef __cplusplus
27686 extern "C"
27687 {
27688 #endif
27689 /* We use char because int might match the return type of a gcc2
27690 builtin and then its argument prototype would still apply. */
27691 char gethostbyname ();
27692 /* The GNU C library defines this for functions which it implements
27693 to always fail with ENOSYS. Some functions are actually named
27694 something starting with __ and the normal name is an alias. */
27695 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
27696 choke me
27697 #else
27698 char (*f) () = gethostbyname;
27699 #endif
27700 #ifdef __cplusplus
27701 }
27702 #endif
27703
27704 int
27705 main ()
27706 {
27707 return f != gethostbyname;
27708 ;
27709 return 0;
27710 }
27711 _ACEOF
27712 rm -f conftest.$ac_objext conftest$ac_exeext
27713 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27714 (eval $ac_link) 2>conftest.er1
27715 ac_status=$?
27716 grep -v '^ *+' conftest.er1 >conftest.err
27717 rm -f conftest.er1
27718 cat conftest.err >&5
27719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27720 (exit $ac_status); } &&
27721 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27723 (eval $ac_try) 2>&5
27724 ac_status=$?
27725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27726 (exit $ac_status); }; } &&
27727 { ac_try='test -s conftest$ac_exeext'
27728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27729 (eval $ac_try) 2>&5
27730 ac_status=$?
27731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27732 (exit $ac_status); }; }; then
27733 ac_cv_func_gethostbyname=yes
27734 else
27735 echo "$as_me: failed program was:" >&5
27736 sed 's/^/| /' conftest.$ac_ext >&5
27737
27738 ac_cv_func_gethostbyname=no
27739 fi
27740 rm -f conftest.err conftest.$ac_objext \
27741 conftest$ac_exeext conftest.$ac_ext
27742 fi
27743 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
27744 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
27745
27746 if test $ac_cv_func_gethostbyname = no; then
27747 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
27748 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
27749 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
27750 echo $ECHO_N "(cached) $ECHO_C" >&6
27751 else
27752 ac_check_lib_save_LIBS=$LIBS
27753 LIBS="-lnsl $LIBS"
27754 cat >conftest.$ac_ext <<_ACEOF
27755 /* confdefs.h. */
27756 _ACEOF
27757 cat confdefs.h >>conftest.$ac_ext
27758 cat >>conftest.$ac_ext <<_ACEOF
27759 /* end confdefs.h. */
27760
27761 /* Override any gcc2 internal prototype to avoid an error. */
27762 #ifdef __cplusplus
27763 extern "C"
27764 #endif
27765 /* We use char because int might match the return type of a gcc2
27766 builtin and then its argument prototype would still apply. */
27767 char gethostbyname ();
27768 int
27769 main ()
27770 {
27771 gethostbyname ();
27772 ;
27773 return 0;
27774 }
27775 _ACEOF
27776 rm -f conftest.$ac_objext conftest$ac_exeext
27777 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27778 (eval $ac_link) 2>conftest.er1
27779 ac_status=$?
27780 grep -v '^ *+' conftest.er1 >conftest.err
27781 rm -f conftest.er1
27782 cat conftest.err >&5
27783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27784 (exit $ac_status); } &&
27785 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27787 (eval $ac_try) 2>&5
27788 ac_status=$?
27789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27790 (exit $ac_status); }; } &&
27791 { ac_try='test -s conftest$ac_exeext'
27792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27793 (eval $ac_try) 2>&5
27794 ac_status=$?
27795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27796 (exit $ac_status); }; }; then
27797 ac_cv_lib_nsl_gethostbyname=yes
27798 else
27799 echo "$as_me: failed program was:" >&5
27800 sed 's/^/| /' conftest.$ac_ext >&5
27801
27802 ac_cv_lib_nsl_gethostbyname=no
27803 fi
27804 rm -f conftest.err conftest.$ac_objext \
27805 conftest$ac_exeext conftest.$ac_ext
27806 LIBS=$ac_check_lib_save_LIBS
27807 fi
27808 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
27809 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
27810 if test $ac_cv_lib_nsl_gethostbyname = yes; then
27811 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
27812 fi
27813
27814 if test $ac_cv_lib_nsl_gethostbyname = no; then
27815 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
27816 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
27817 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
27818 echo $ECHO_N "(cached) $ECHO_C" >&6
27819 else
27820 ac_check_lib_save_LIBS=$LIBS
27821 LIBS="-lbsd $LIBS"
27822 cat >conftest.$ac_ext <<_ACEOF
27823 /* confdefs.h. */
27824 _ACEOF
27825 cat confdefs.h >>conftest.$ac_ext
27826 cat >>conftest.$ac_ext <<_ACEOF
27827 /* end confdefs.h. */
27828
27829 /* Override any gcc2 internal prototype to avoid an error. */
27830 #ifdef __cplusplus
27831 extern "C"
27832 #endif
27833 /* We use char because int might match the return type of a gcc2
27834 builtin and then its argument prototype would still apply. */
27835 char gethostbyname ();
27836 int
27837 main ()
27838 {
27839 gethostbyname ();
27840 ;
27841 return 0;
27842 }
27843 _ACEOF
27844 rm -f conftest.$ac_objext conftest$ac_exeext
27845 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27846 (eval $ac_link) 2>conftest.er1
27847 ac_status=$?
27848 grep -v '^ *+' conftest.er1 >conftest.err
27849 rm -f conftest.er1
27850 cat conftest.err >&5
27851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27852 (exit $ac_status); } &&
27853 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27855 (eval $ac_try) 2>&5
27856 ac_status=$?
27857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27858 (exit $ac_status); }; } &&
27859 { ac_try='test -s conftest$ac_exeext'
27860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27861 (eval $ac_try) 2>&5
27862 ac_status=$?
27863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27864 (exit $ac_status); }; }; then
27865 ac_cv_lib_bsd_gethostbyname=yes
27866 else
27867 echo "$as_me: failed program was:" >&5
27868 sed 's/^/| /' conftest.$ac_ext >&5
27869
27870 ac_cv_lib_bsd_gethostbyname=no
27871 fi
27872 rm -f conftest.err conftest.$ac_objext \
27873 conftest$ac_exeext conftest.$ac_ext
27874 LIBS=$ac_check_lib_save_LIBS
27875 fi
27876 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
27877 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
27878 if test $ac_cv_lib_bsd_gethostbyname = yes; then
27879 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
27880 fi
27881
27882 fi
27883 fi
27884
27885 # lieder@skyler.mavd.honeywell.com says without -lsocket,
27886 # socket/setsockopt and other routines are undefined under SCO ODT
27887 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
27888 # on later versions), says Simon Leinen: it contains gethostby*
27889 # variants that don't use the name server (or something). -lsocket
27890 # must be given before -lnsl if both are needed. We assume that
27891 # if connect needs -lnsl, so does gethostbyname.
27892 echo "$as_me:$LINENO: checking for connect" >&5
27893 echo $ECHO_N "checking for connect... $ECHO_C" >&6
27894 if test "${ac_cv_func_connect+set}" = set; then
27895 echo $ECHO_N "(cached) $ECHO_C" >&6
27896 else
27897 cat >conftest.$ac_ext <<_ACEOF
27898 /* confdefs.h. */
27899 _ACEOF
27900 cat confdefs.h >>conftest.$ac_ext
27901 cat >>conftest.$ac_ext <<_ACEOF
27902 /* end confdefs.h. */
27903 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
27904 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27905 #define connect innocuous_connect
27906
27907 /* System header to define __stub macros and hopefully few prototypes,
27908 which can conflict with char connect (); below.
27909 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27910 <limits.h> exists even on freestanding compilers. */
27911
27912 #ifdef __STDC__
27913 # include <limits.h>
27914 #else
27915 # include <assert.h>
27916 #endif
27917
27918 #undef connect
27919
27920 /* Override any gcc2 internal prototype to avoid an error. */
27921 #ifdef __cplusplus
27922 extern "C"
27923 {
27924 #endif
27925 /* We use char because int might match the return type of a gcc2
27926 builtin and then its argument prototype would still apply. */
27927 char connect ();
27928 /* The GNU C library defines this for functions which it implements
27929 to always fail with ENOSYS. Some functions are actually named
27930 something starting with __ and the normal name is an alias. */
27931 #if defined (__stub_connect) || defined (__stub___connect)
27932 choke me
27933 #else
27934 char (*f) () = connect;
27935 #endif
27936 #ifdef __cplusplus
27937 }
27938 #endif
27939
27940 int
27941 main ()
27942 {
27943 return f != connect;
27944 ;
27945 return 0;
27946 }
27947 _ACEOF
27948 rm -f conftest.$ac_objext conftest$ac_exeext
27949 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27950 (eval $ac_link) 2>conftest.er1
27951 ac_status=$?
27952 grep -v '^ *+' conftest.er1 >conftest.err
27953 rm -f conftest.er1
27954 cat conftest.err >&5
27955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27956 (exit $ac_status); } &&
27957 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27959 (eval $ac_try) 2>&5
27960 ac_status=$?
27961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27962 (exit $ac_status); }; } &&
27963 { ac_try='test -s conftest$ac_exeext'
27964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27965 (eval $ac_try) 2>&5
27966 ac_status=$?
27967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27968 (exit $ac_status); }; }; then
27969 ac_cv_func_connect=yes
27970 else
27971 echo "$as_me: failed program was:" >&5
27972 sed 's/^/| /' conftest.$ac_ext >&5
27973
27974 ac_cv_func_connect=no
27975 fi
27976 rm -f conftest.err conftest.$ac_objext \
27977 conftest$ac_exeext conftest.$ac_ext
27978 fi
27979 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
27980 echo "${ECHO_T}$ac_cv_func_connect" >&6
27981
27982 if test $ac_cv_func_connect = no; then
27983 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
27984 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
27985 if test "${ac_cv_lib_socket_connect+set}" = set; then
27986 echo $ECHO_N "(cached) $ECHO_C" >&6
27987 else
27988 ac_check_lib_save_LIBS=$LIBS
27989 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
27990 cat >conftest.$ac_ext <<_ACEOF
27991 /* confdefs.h. */
27992 _ACEOF
27993 cat confdefs.h >>conftest.$ac_ext
27994 cat >>conftest.$ac_ext <<_ACEOF
27995 /* end confdefs.h. */
27996
27997 /* Override any gcc2 internal prototype to avoid an error. */
27998 #ifdef __cplusplus
27999 extern "C"
28000 #endif
28001 /* We use char because int might match the return type of a gcc2
28002 builtin and then its argument prototype would still apply. */
28003 char connect ();
28004 int
28005 main ()
28006 {
28007 connect ();
28008 ;
28009 return 0;
28010 }
28011 _ACEOF
28012 rm -f conftest.$ac_objext conftest$ac_exeext
28013 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28014 (eval $ac_link) 2>conftest.er1
28015 ac_status=$?
28016 grep -v '^ *+' conftest.er1 >conftest.err
28017 rm -f conftest.er1
28018 cat conftest.err >&5
28019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28020 (exit $ac_status); } &&
28021 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28023 (eval $ac_try) 2>&5
28024 ac_status=$?
28025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28026 (exit $ac_status); }; } &&
28027 { ac_try='test -s conftest$ac_exeext'
28028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28029 (eval $ac_try) 2>&5
28030 ac_status=$?
28031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28032 (exit $ac_status); }; }; then
28033 ac_cv_lib_socket_connect=yes
28034 else
28035 echo "$as_me: failed program was:" >&5
28036 sed 's/^/| /' conftest.$ac_ext >&5
28037
28038 ac_cv_lib_socket_connect=no
28039 fi
28040 rm -f conftest.err conftest.$ac_objext \
28041 conftest$ac_exeext conftest.$ac_ext
28042 LIBS=$ac_check_lib_save_LIBS
28043 fi
28044 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
28045 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
28046 if test $ac_cv_lib_socket_connect = yes; then
28047 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
28048 fi
28049
28050 fi
28051
28052 # Guillermo Gomez says -lposix is necessary on A/UX.
28053 echo "$as_me:$LINENO: checking for remove" >&5
28054 echo $ECHO_N "checking for remove... $ECHO_C" >&6
28055 if test "${ac_cv_func_remove+set}" = set; then
28056 echo $ECHO_N "(cached) $ECHO_C" >&6
28057 else
28058 cat >conftest.$ac_ext <<_ACEOF
28059 /* confdefs.h. */
28060 _ACEOF
28061 cat confdefs.h >>conftest.$ac_ext
28062 cat >>conftest.$ac_ext <<_ACEOF
28063 /* end confdefs.h. */
28064 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
28065 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28066 #define remove innocuous_remove
28067
28068 /* System header to define __stub macros and hopefully few prototypes,
28069 which can conflict with char remove (); below.
28070 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28071 <limits.h> exists even on freestanding compilers. */
28072
28073 #ifdef __STDC__
28074 # include <limits.h>
28075 #else
28076 # include <assert.h>
28077 #endif
28078
28079 #undef remove
28080
28081 /* Override any gcc2 internal prototype to avoid an error. */
28082 #ifdef __cplusplus
28083 extern "C"
28084 {
28085 #endif
28086 /* We use char because int might match the return type of a gcc2
28087 builtin and then its argument prototype would still apply. */
28088 char remove ();
28089 /* The GNU C library defines this for functions which it implements
28090 to always fail with ENOSYS. Some functions are actually named
28091 something starting with __ and the normal name is an alias. */
28092 #if defined (__stub_remove) || defined (__stub___remove)
28093 choke me
28094 #else
28095 char (*f) () = remove;
28096 #endif
28097 #ifdef __cplusplus
28098 }
28099 #endif
28100
28101 int
28102 main ()
28103 {
28104 return f != remove;
28105 ;
28106 return 0;
28107 }
28108 _ACEOF
28109 rm -f conftest.$ac_objext conftest$ac_exeext
28110 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28111 (eval $ac_link) 2>conftest.er1
28112 ac_status=$?
28113 grep -v '^ *+' conftest.er1 >conftest.err
28114 rm -f conftest.er1
28115 cat conftest.err >&5
28116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28117 (exit $ac_status); } &&
28118 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28120 (eval $ac_try) 2>&5
28121 ac_status=$?
28122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28123 (exit $ac_status); }; } &&
28124 { ac_try='test -s conftest$ac_exeext'
28125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28126 (eval $ac_try) 2>&5
28127 ac_status=$?
28128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28129 (exit $ac_status); }; }; then
28130 ac_cv_func_remove=yes
28131 else
28132 echo "$as_me: failed program was:" >&5
28133 sed 's/^/| /' conftest.$ac_ext >&5
28134
28135 ac_cv_func_remove=no
28136 fi
28137 rm -f conftest.err conftest.$ac_objext \
28138 conftest$ac_exeext conftest.$ac_ext
28139 fi
28140 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
28141 echo "${ECHO_T}$ac_cv_func_remove" >&6
28142
28143 if test $ac_cv_func_remove = no; then
28144 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
28145 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
28146 if test "${ac_cv_lib_posix_remove+set}" = set; then
28147 echo $ECHO_N "(cached) $ECHO_C" >&6
28148 else
28149 ac_check_lib_save_LIBS=$LIBS
28150 LIBS="-lposix $LIBS"
28151 cat >conftest.$ac_ext <<_ACEOF
28152 /* confdefs.h. */
28153 _ACEOF
28154 cat confdefs.h >>conftest.$ac_ext
28155 cat >>conftest.$ac_ext <<_ACEOF
28156 /* end confdefs.h. */
28157
28158 /* Override any gcc2 internal prototype to avoid an error. */
28159 #ifdef __cplusplus
28160 extern "C"
28161 #endif
28162 /* We use char because int might match the return type of a gcc2
28163 builtin and then its argument prototype would still apply. */
28164 char remove ();
28165 int
28166 main ()
28167 {
28168 remove ();
28169 ;
28170 return 0;
28171 }
28172 _ACEOF
28173 rm -f conftest.$ac_objext conftest$ac_exeext
28174 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28175 (eval $ac_link) 2>conftest.er1
28176 ac_status=$?
28177 grep -v '^ *+' conftest.er1 >conftest.err
28178 rm -f conftest.er1
28179 cat conftest.err >&5
28180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28181 (exit $ac_status); } &&
28182 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28184 (eval $ac_try) 2>&5
28185 ac_status=$?
28186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28187 (exit $ac_status); }; } &&
28188 { ac_try='test -s conftest$ac_exeext'
28189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28190 (eval $ac_try) 2>&5
28191 ac_status=$?
28192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28193 (exit $ac_status); }; }; then
28194 ac_cv_lib_posix_remove=yes
28195 else
28196 echo "$as_me: failed program was:" >&5
28197 sed 's/^/| /' conftest.$ac_ext >&5
28198
28199 ac_cv_lib_posix_remove=no
28200 fi
28201 rm -f conftest.err conftest.$ac_objext \
28202 conftest$ac_exeext conftest.$ac_ext
28203 LIBS=$ac_check_lib_save_LIBS
28204 fi
28205 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
28206 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
28207 if test $ac_cv_lib_posix_remove = yes; then
28208 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
28209 fi
28210
28211 fi
28212
28213 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
28214 echo "$as_me:$LINENO: checking for shmat" >&5
28215 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
28216 if test "${ac_cv_func_shmat+set}" = set; then
28217 echo $ECHO_N "(cached) $ECHO_C" >&6
28218 else
28219 cat >conftest.$ac_ext <<_ACEOF
28220 /* confdefs.h. */
28221 _ACEOF
28222 cat confdefs.h >>conftest.$ac_ext
28223 cat >>conftest.$ac_ext <<_ACEOF
28224 /* end confdefs.h. */
28225 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
28226 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28227 #define shmat innocuous_shmat
28228
28229 /* System header to define __stub macros and hopefully few prototypes,
28230 which can conflict with char shmat (); below.
28231 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28232 <limits.h> exists even on freestanding compilers. */
28233
28234 #ifdef __STDC__
28235 # include <limits.h>
28236 #else
28237 # include <assert.h>
28238 #endif
28239
28240 #undef shmat
28241
28242 /* Override any gcc2 internal prototype to avoid an error. */
28243 #ifdef __cplusplus
28244 extern "C"
28245 {
28246 #endif
28247 /* We use char because int might match the return type of a gcc2
28248 builtin and then its argument prototype would still apply. */
28249 char shmat ();
28250 /* The GNU C library defines this for functions which it implements
28251 to always fail with ENOSYS. Some functions are actually named
28252 something starting with __ and the normal name is an alias. */
28253 #if defined (__stub_shmat) || defined (__stub___shmat)
28254 choke me
28255 #else
28256 char (*f) () = shmat;
28257 #endif
28258 #ifdef __cplusplus
28259 }
28260 #endif
28261
28262 int
28263 main ()
28264 {
28265 return f != shmat;
28266 ;
28267 return 0;
28268 }
28269 _ACEOF
28270 rm -f conftest.$ac_objext conftest$ac_exeext
28271 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28272 (eval $ac_link) 2>conftest.er1
28273 ac_status=$?
28274 grep -v '^ *+' conftest.er1 >conftest.err
28275 rm -f conftest.er1
28276 cat conftest.err >&5
28277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28278 (exit $ac_status); } &&
28279 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28281 (eval $ac_try) 2>&5
28282 ac_status=$?
28283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28284 (exit $ac_status); }; } &&
28285 { ac_try='test -s conftest$ac_exeext'
28286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28287 (eval $ac_try) 2>&5
28288 ac_status=$?
28289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28290 (exit $ac_status); }; }; then
28291 ac_cv_func_shmat=yes
28292 else
28293 echo "$as_me: failed program was:" >&5
28294 sed 's/^/| /' conftest.$ac_ext >&5
28295
28296 ac_cv_func_shmat=no
28297 fi
28298 rm -f conftest.err conftest.$ac_objext \
28299 conftest$ac_exeext conftest.$ac_ext
28300 fi
28301 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
28302 echo "${ECHO_T}$ac_cv_func_shmat" >&6
28303
28304 if test $ac_cv_func_shmat = no; then
28305 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
28306 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
28307 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
28308 echo $ECHO_N "(cached) $ECHO_C" >&6
28309 else
28310 ac_check_lib_save_LIBS=$LIBS
28311 LIBS="-lipc $LIBS"
28312 cat >conftest.$ac_ext <<_ACEOF
28313 /* confdefs.h. */
28314 _ACEOF
28315 cat confdefs.h >>conftest.$ac_ext
28316 cat >>conftest.$ac_ext <<_ACEOF
28317 /* end confdefs.h. */
28318
28319 /* Override any gcc2 internal prototype to avoid an error. */
28320 #ifdef __cplusplus
28321 extern "C"
28322 #endif
28323 /* We use char because int might match the return type of a gcc2
28324 builtin and then its argument prototype would still apply. */
28325 char shmat ();
28326 int
28327 main ()
28328 {
28329 shmat ();
28330 ;
28331 return 0;
28332 }
28333 _ACEOF
28334 rm -f conftest.$ac_objext conftest$ac_exeext
28335 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28336 (eval $ac_link) 2>conftest.er1
28337 ac_status=$?
28338 grep -v '^ *+' conftest.er1 >conftest.err
28339 rm -f conftest.er1
28340 cat conftest.err >&5
28341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28342 (exit $ac_status); } &&
28343 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28345 (eval $ac_try) 2>&5
28346 ac_status=$?
28347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28348 (exit $ac_status); }; } &&
28349 { ac_try='test -s conftest$ac_exeext'
28350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28351 (eval $ac_try) 2>&5
28352 ac_status=$?
28353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28354 (exit $ac_status); }; }; then
28355 ac_cv_lib_ipc_shmat=yes
28356 else
28357 echo "$as_me: failed program was:" >&5
28358 sed 's/^/| /' conftest.$ac_ext >&5
28359
28360 ac_cv_lib_ipc_shmat=no
28361 fi
28362 rm -f conftest.err conftest.$ac_objext \
28363 conftest$ac_exeext conftest.$ac_ext
28364 LIBS=$ac_check_lib_save_LIBS
28365 fi
28366 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
28367 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
28368 if test $ac_cv_lib_ipc_shmat = yes; then
28369 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
28370 fi
28371
28372 fi
28373 fi
28374
28375 # Check for libraries that X11R6 Xt/Xaw programs need.
28376 ac_save_LDFLAGS=$LDFLAGS
28377 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
28378 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
28379 # check for ICE first), but we must link in the order -lSM -lICE or
28380 # we get undefined symbols. So assume we have SM if we have ICE.
28381 # These have to be linked with before -lX11, unlike the other
28382 # libraries we check for below, so use a different variable.
28383 # John Interrante, Karl Berry
28384 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
28385 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
28386 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
28387 echo $ECHO_N "(cached) $ECHO_C" >&6
28388 else
28389 ac_check_lib_save_LIBS=$LIBS
28390 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
28391 cat >conftest.$ac_ext <<_ACEOF
28392 /* confdefs.h. */
28393 _ACEOF
28394 cat confdefs.h >>conftest.$ac_ext
28395 cat >>conftest.$ac_ext <<_ACEOF
28396 /* end confdefs.h. */
28397
28398 /* Override any gcc2 internal prototype to avoid an error. */
28399 #ifdef __cplusplus
28400 extern "C"
28401 #endif
28402 /* We use char because int might match the return type of a gcc2
28403 builtin and then its argument prototype would still apply. */
28404 char IceConnectionNumber ();
28405 int
28406 main ()
28407 {
28408 IceConnectionNumber ();
28409 ;
28410 return 0;
28411 }
28412 _ACEOF
28413 rm -f conftest.$ac_objext conftest$ac_exeext
28414 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28415 (eval $ac_link) 2>conftest.er1
28416 ac_status=$?
28417 grep -v '^ *+' conftest.er1 >conftest.err
28418 rm -f conftest.er1
28419 cat conftest.err >&5
28420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28421 (exit $ac_status); } &&
28422 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28424 (eval $ac_try) 2>&5
28425 ac_status=$?
28426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28427 (exit $ac_status); }; } &&
28428 { ac_try='test -s conftest$ac_exeext'
28429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28430 (eval $ac_try) 2>&5
28431 ac_status=$?
28432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28433 (exit $ac_status); }; }; then
28434 ac_cv_lib_ICE_IceConnectionNumber=yes
28435 else
28436 echo "$as_me: failed program was:" >&5
28437 sed 's/^/| /' conftest.$ac_ext >&5
28438
28439 ac_cv_lib_ICE_IceConnectionNumber=no
28440 fi
28441 rm -f conftest.err conftest.$ac_objext \
28442 conftest$ac_exeext conftest.$ac_ext
28443 LIBS=$ac_check_lib_save_LIBS
28444 fi
28445 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
28446 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
28447 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
28448 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
28449 fi
28450
28451 LDFLAGS=$ac_save_LDFLAGS
28452
28453 fi
28454
28455
28456 if test "$no_x" = "yes"; then
28457 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
28458 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
28459 { (exit 1); exit 1; }; }
28460 fi
28461
28462 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
28463 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
28464 AFMINSTALL=afminstall
28465 COMPILED_X_PROGRAM=0
28466
28467 fi
28468
28469 if test "$wxUSE_X11" = 1; then
28470 if test "$wxUSE_NANOX" = "yes"; then
28471 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
28472 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
28473 if test "x$MICROWIN" = x ; then
28474 echo "$as_me:$LINENO: result: not found" >&5
28475 echo "${ECHO_T}not found" >&6
28476 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
28477 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
28478 { (exit 1); exit 1; }; }
28479 else
28480 echo "$as_me:$LINENO: result: $MICROWIN" >&5
28481 echo "${ECHO_T}$MICROWIN" >&6
28482 cat >>confdefs.h <<\_ACEOF
28483 #define wxUSE_NANOX 1
28484 _ACEOF
28485
28486 fi
28487 fi
28488
28489 if test "$wxUSE_UNICODE" = "yes"; then
28490
28491 succeeded=no
28492
28493 if test -z "$PKG_CONFIG"; then
28494 # Extract the first word of "pkg-config", so it can be a program name with args.
28495 set dummy pkg-config; ac_word=$2
28496 echo "$as_me:$LINENO: checking for $ac_word" >&5
28497 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28498 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
28499 echo $ECHO_N "(cached) $ECHO_C" >&6
28500 else
28501 case $PKG_CONFIG in
28502 [\\/]* | ?:[\\/]*)
28503 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
28504 ;;
28505 *)
28506 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28507 for as_dir in $PATH
28508 do
28509 IFS=$as_save_IFS
28510 test -z "$as_dir" && as_dir=.
28511 for ac_exec_ext in '' $ac_executable_extensions; do
28512 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28513 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28514 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28515 break 2
28516 fi
28517 done
28518 done
28519
28520 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
28521 ;;
28522 esac
28523 fi
28524 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
28525
28526 if test -n "$PKG_CONFIG"; then
28527 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
28528 echo "${ECHO_T}$PKG_CONFIG" >&6
28529 else
28530 echo "$as_me:$LINENO: result: no" >&5
28531 echo "${ECHO_T}no" >&6
28532 fi
28533
28534 fi
28535
28536 if test "$PKG_CONFIG" = "no" ; then
28537 echo "*** The pkg-config script could not be found. Make sure it is"
28538 echo "*** in your path, or set the PKG_CONFIG environment variable"
28539 echo "*** to the full path to pkg-config."
28540 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
28541 else
28542 PKG_CONFIG_MIN_VERSION=0.9.0
28543 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
28544 echo "$as_me:$LINENO: checking for pangox" >&5
28545 echo $ECHO_N "checking for pangox... $ECHO_C" >&6
28546
28547 if $PKG_CONFIG --exists "pangox" ; then
28548 echo "$as_me:$LINENO: result: yes" >&5
28549 echo "${ECHO_T}yes" >&6
28550 succeeded=yes
28551
28552 echo "$as_me:$LINENO: checking PANGOX_CFLAGS" >&5
28553 echo $ECHO_N "checking PANGOX_CFLAGS... $ECHO_C" >&6
28554 PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox"`
28555 echo "$as_me:$LINENO: result: $PANGOX_CFLAGS" >&5
28556 echo "${ECHO_T}$PANGOX_CFLAGS" >&6
28557
28558 echo "$as_me:$LINENO: checking PANGOX_LIBS" >&5
28559 echo $ECHO_N "checking PANGOX_LIBS... $ECHO_C" >&6
28560 PANGOX_LIBS=`$PKG_CONFIG --libs "pangox"`
28561 echo "$as_me:$LINENO: result: $PANGOX_LIBS" >&5
28562 echo "${ECHO_T}$PANGOX_LIBS" >&6
28563 else
28564 PANGOX_CFLAGS=""
28565 PANGOX_LIBS=""
28566 ## If we have a custom action on failure, don't print errors, but
28567 ## do set a variable so people can do so.
28568 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
28569
28570 fi
28571
28572
28573
28574 else
28575 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
28576 echo "*** See http://www.freedesktop.org/software/pkgconfig"
28577 fi
28578 fi
28579
28580 if test $succeeded = yes; then
28581
28582 CXXFLAGS="$CXXFLAGS $PANGOX_CFLAGS"
28583 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
28584
28585 else
28586
28587 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
28588 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
28589 { (exit 1); exit 1; }; }
28590
28591
28592 fi
28593
28594
28595 succeeded=no
28596
28597 if test -z "$PKG_CONFIG"; then
28598 # Extract the first word of "pkg-config", so it can be a program name with args.
28599 set dummy pkg-config; ac_word=$2
28600 echo "$as_me:$LINENO: checking for $ac_word" >&5
28601 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28602 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
28603 echo $ECHO_N "(cached) $ECHO_C" >&6
28604 else
28605 case $PKG_CONFIG in
28606 [\\/]* | ?:[\\/]*)
28607 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
28608 ;;
28609 *)
28610 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28611 for as_dir in $PATH
28612 do
28613 IFS=$as_save_IFS
28614 test -z "$as_dir" && as_dir=.
28615 for ac_exec_ext in '' $ac_executable_extensions; do
28616 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28617 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28618 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28619 break 2
28620 fi
28621 done
28622 done
28623
28624 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
28625 ;;
28626 esac
28627 fi
28628 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
28629
28630 if test -n "$PKG_CONFIG"; then
28631 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
28632 echo "${ECHO_T}$PKG_CONFIG" >&6
28633 else
28634 echo "$as_me:$LINENO: result: no" >&5
28635 echo "${ECHO_T}no" >&6
28636 fi
28637
28638 fi
28639
28640 if test "$PKG_CONFIG" = "no" ; then
28641 echo "*** The pkg-config script could not be found. Make sure it is"
28642 echo "*** in your path, or set the PKG_CONFIG environment variable"
28643 echo "*** to the full path to pkg-config."
28644 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
28645 else
28646 PKG_CONFIG_MIN_VERSION=0.9.0
28647 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
28648 echo "$as_me:$LINENO: checking for pangoft2" >&5
28649 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
28650
28651 if $PKG_CONFIG --exists "pangoft2" ; then
28652 echo "$as_me:$LINENO: result: yes" >&5
28653 echo "${ECHO_T}yes" >&6
28654 succeeded=yes
28655
28656 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
28657 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
28658 PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2"`
28659 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
28660 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
28661
28662 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
28663 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
28664 PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2"`
28665 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
28666 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
28667 else
28668 PANGOFT2_CFLAGS=""
28669 PANGOFT2_LIBS=""
28670 ## If we have a custom action on failure, don't print errors, but
28671 ## do set a variable so people can do so.
28672 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
28673
28674 fi
28675
28676
28677
28678 else
28679 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
28680 echo "*** See http://www.freedesktop.org/software/pkgconfig"
28681 fi
28682 fi
28683
28684 if test $succeeded = yes; then
28685
28686 CXXFLAGS="$CXXFLAGS $PANGOFT2_CFLAGS"
28687 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
28688
28689 else
28690
28691 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
28692 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
28693 wxUSE_PRINTING_ARCHITECTURE="no"
28694
28695
28696 fi
28697
28698
28699 succeeded=no
28700
28701 if test -z "$PKG_CONFIG"; then
28702 # Extract the first word of "pkg-config", so it can be a program name with args.
28703 set dummy pkg-config; ac_word=$2
28704 echo "$as_me:$LINENO: checking for $ac_word" >&5
28705 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28706 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
28707 echo $ECHO_N "(cached) $ECHO_C" >&6
28708 else
28709 case $PKG_CONFIG in
28710 [\\/]* | ?:[\\/]*)
28711 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
28712 ;;
28713 *)
28714 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28715 for as_dir in $PATH
28716 do
28717 IFS=$as_save_IFS
28718 test -z "$as_dir" && as_dir=.
28719 for ac_exec_ext in '' $ac_executable_extensions; do
28720 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28721 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28722 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28723 break 2
28724 fi
28725 done
28726 done
28727
28728 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
28729 ;;
28730 esac
28731 fi
28732 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
28733
28734 if test -n "$PKG_CONFIG"; then
28735 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
28736 echo "${ECHO_T}$PKG_CONFIG" >&6
28737 else
28738 echo "$as_me:$LINENO: result: no" >&5
28739 echo "${ECHO_T}no" >&6
28740 fi
28741
28742 fi
28743
28744 if test "$PKG_CONFIG" = "no" ; then
28745 echo "*** The pkg-config script could not be found. Make sure it is"
28746 echo "*** in your path, or set the PKG_CONFIG environment variable"
28747 echo "*** to the full path to pkg-config."
28748 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
28749 else
28750 PKG_CONFIG_MIN_VERSION=0.9.0
28751 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
28752 echo "$as_me:$LINENO: checking for pangoxft" >&5
28753 echo $ECHO_N "checking for pangoxft... $ECHO_C" >&6
28754
28755 if $PKG_CONFIG --exists "pangoxft" ; then
28756 echo "$as_me:$LINENO: result: yes" >&5
28757 echo "${ECHO_T}yes" >&6
28758 succeeded=yes
28759
28760 echo "$as_me:$LINENO: checking PANGOXFT_CFLAGS" >&5
28761 echo $ECHO_N "checking PANGOXFT_CFLAGS... $ECHO_C" >&6
28762 PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft"`
28763 echo "$as_me:$LINENO: result: $PANGOXFT_CFLAGS" >&5
28764 echo "${ECHO_T}$PANGOXFT_CFLAGS" >&6
28765
28766 echo "$as_me:$LINENO: checking PANGOXFT_LIBS" >&5
28767 echo $ECHO_N "checking PANGOXFT_LIBS... $ECHO_C" >&6
28768 PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft"`
28769 echo "$as_me:$LINENO: result: $PANGOXFT_LIBS" >&5
28770 echo "${ECHO_T}$PANGOXFT_LIBS" >&6
28771 else
28772 PANGOXFT_CFLAGS=""
28773 PANGOXFT_LIBS=""
28774 ## If we have a custom action on failure, don't print errors, but
28775 ## do set a variable so people can do so.
28776 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
28777
28778 fi
28779
28780
28781
28782 else
28783 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
28784 echo "*** See http://www.freedesktop.org/software/pkgconfig"
28785 fi
28786 fi
28787
28788 if test $succeeded = yes; then
28789
28790 cat >>confdefs.h <<\_ACEOF
28791 #define HAVE_PANGO_XFT 1
28792 _ACEOF
28793
28794 CXXFLAGS="$CXXFLAGS $PANGOXFT_CFLAGS"
28795 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
28796
28797 else
28798
28799 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
28800 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
28801
28802
28803 fi
28804
28805 save_CFLAGS="$CFLAGS"
28806 save_LIBS="$LIBS"
28807 CFLAGS="$CFLAGS $PANGOX_CFLAGS"
28808 LIBS="$LIBS $PANGOX_LIBS"
28809
28810 for ac_func in pango_font_family_is_monospace
28811 do
28812 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28813 echo "$as_me:$LINENO: checking for $ac_func" >&5
28814 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28815 if eval "test \"\${$as_ac_var+set}\" = set"; then
28816 echo $ECHO_N "(cached) $ECHO_C" >&6
28817 else
28818 cat >conftest.$ac_ext <<_ACEOF
28819 /* confdefs.h. */
28820 _ACEOF
28821 cat confdefs.h >>conftest.$ac_ext
28822 cat >>conftest.$ac_ext <<_ACEOF
28823 /* end confdefs.h. */
28824 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28825 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28826 #define $ac_func innocuous_$ac_func
28827
28828 /* System header to define __stub macros and hopefully few prototypes,
28829 which can conflict with char $ac_func (); below.
28830 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28831 <limits.h> exists even on freestanding compilers. */
28832
28833 #ifdef __STDC__
28834 # include <limits.h>
28835 #else
28836 # include <assert.h>
28837 #endif
28838
28839 #undef $ac_func
28840
28841 /* Override any gcc2 internal prototype to avoid an error. */
28842 #ifdef __cplusplus
28843 extern "C"
28844 {
28845 #endif
28846 /* We use char because int might match the return type of a gcc2
28847 builtin and then its argument prototype would still apply. */
28848 char $ac_func ();
28849 /* The GNU C library defines this for functions which it implements
28850 to always fail with ENOSYS. Some functions are actually named
28851 something starting with __ and the normal name is an alias. */
28852 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28853 choke me
28854 #else
28855 char (*f) () = $ac_func;
28856 #endif
28857 #ifdef __cplusplus
28858 }
28859 #endif
28860
28861 int
28862 main ()
28863 {
28864 return f != $ac_func;
28865 ;
28866 return 0;
28867 }
28868 _ACEOF
28869 rm -f conftest.$ac_objext conftest$ac_exeext
28870 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28871 (eval $ac_link) 2>conftest.er1
28872 ac_status=$?
28873 grep -v '^ *+' conftest.er1 >conftest.err
28874 rm -f conftest.er1
28875 cat conftest.err >&5
28876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28877 (exit $ac_status); } &&
28878 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28880 (eval $ac_try) 2>&5
28881 ac_status=$?
28882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28883 (exit $ac_status); }; } &&
28884 { ac_try='test -s conftest$ac_exeext'
28885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28886 (eval $ac_try) 2>&5
28887 ac_status=$?
28888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28889 (exit $ac_status); }; }; then
28890 eval "$as_ac_var=yes"
28891 else
28892 echo "$as_me: failed program was:" >&5
28893 sed 's/^/| /' conftest.$ac_ext >&5
28894
28895 eval "$as_ac_var=no"
28896 fi
28897 rm -f conftest.err conftest.$ac_objext \
28898 conftest$ac_exeext conftest.$ac_ext
28899 fi
28900 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28901 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28902 if test `eval echo '${'$as_ac_var'}'` = yes; then
28903 cat >>confdefs.h <<_ACEOF
28904 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28905 _ACEOF
28906
28907 fi
28908 done
28909
28910 CFLAGS="$save_CFLAGS"
28911 LIBS="$save_LIBS"
28912 fi
28913
28914 wxUSE_UNIVERSAL="yes"
28915
28916 if test "$wxUSE_NANOX" = "yes"; then
28917 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
28918 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"
28919 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
28920 else
28921 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
28922 fi
28923
28924 TOOLKIT=X11
28925 GUIDIST=X11_DIST
28926 fi
28927
28928 if test "$wxUSE_MOTIF" = 1; then
28929 if test "$wxUSE_UNICODE" = "yes"; then
28930 { { echo "$as_me:$LINENO: error: Unicode configuration not supported with Motif" >&5
28931 echo "$as_me: error: Unicode configuration not supported with Motif" >&2;}
28932 { (exit 1); exit 1; }; }
28933 fi
28934
28935 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
28936 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
28937
28938 ac_find_includes=
28939 for ac_dir in $SEARCH_INCLUDE /usr/include;
28940 do
28941 if test -f "$ac_dir/Xm/Xm.h"; then
28942 ac_find_includes=$ac_dir
28943 break
28944 fi
28945 done
28946
28947 if test "$ac_find_includes" != "" ; then
28948 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
28949 echo "${ECHO_T}found in $ac_find_includes" >&6
28950
28951 if test "x$ac_find_includes" = "x/usr/include"; then
28952 ac_path_to_include=""
28953 else
28954 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
28955 result=$?
28956 if test $result = 0; then
28957 ac_path_to_include=""
28958 else
28959 ac_path_to_include=" -I$ac_find_includes"
28960 fi
28961 fi
28962
28963 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
28964 else
28965 save_CFLAGS=$CFLAGS
28966 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
28967
28968 cat >conftest.$ac_ext <<_ACEOF
28969 /* confdefs.h. */
28970 _ACEOF
28971 cat confdefs.h >>conftest.$ac_ext
28972 cat >>conftest.$ac_ext <<_ACEOF
28973 /* end confdefs.h. */
28974
28975 #include <Xm/Xm.h>
28976
28977 int
28978 main ()
28979 {
28980
28981 int version;
28982 version = xmUseVersion;
28983
28984 ;
28985 return 0;
28986 }
28987 _ACEOF
28988 rm -f conftest.$ac_objext
28989 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28990 (eval $ac_compile) 2>conftest.er1
28991 ac_status=$?
28992 grep -v '^ *+' conftest.er1 >conftest.err
28993 rm -f conftest.er1
28994 cat conftest.err >&5
28995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28996 (exit $ac_status); } &&
28997 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28999 (eval $ac_try) 2>&5
29000 ac_status=$?
29001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29002 (exit $ac_status); }; } &&
29003 { ac_try='test -s conftest.$ac_objext'
29004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29005 (eval $ac_try) 2>&5
29006 ac_status=$?
29007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29008 (exit $ac_status); }; }; then
29009
29010 echo "$as_me:$LINENO: result: found in default search path" >&5
29011 echo "${ECHO_T}found in default search path" >&6
29012 COMPILED_X_PROGRAM=1
29013
29014 else
29015 echo "$as_me: failed program was:" >&5
29016 sed 's/^/| /' conftest.$ac_ext >&5
29017
29018
29019 echo "$as_me:$LINENO: result: no" >&5
29020 echo "${ECHO_T}no" >&6
29021 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
29022 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
29023 { (exit 1); exit 1; }; }
29024
29025
29026 fi
29027 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29028
29029 CFLAGS=$save_CFLAGS
29030 fi
29031
29032
29033 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
29034 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
29035
29036 ac_find_libraries=
29037 for ac_dir in $SEARCH_LIB;
29038 do
29039 for ac_extension in a so sl dylib dll.a; do
29040 if test -f "$ac_dir/libXm.$ac_extension"; then
29041 ac_find_libraries=$ac_dir
29042 break 2
29043 fi
29044 done
29045 done
29046
29047
29048 if test "x$ac_find_libraries" != "x" ; then
29049 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
29050 echo "${ECHO_T}found in $ac_find_libraries" >&6
29051
29052
29053 if test "$ac_find_libraries" = "default location"; then
29054 ac_path_to_link=""
29055 else
29056 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
29057 result=$?
29058 if test $result = 0; then
29059 ac_path_to_link=""
29060 else
29061 ac_path_to_link=" -L$ac_find_libraries"
29062 fi
29063 fi
29064
29065 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
29066 else
29067 save_CFLAGS=$CFLAGS
29068 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
29069 save_LIBS="$LIBS"
29070 LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
29071
29072 cat >conftest.$ac_ext <<_ACEOF
29073 /* confdefs.h. */
29074 _ACEOF
29075 cat confdefs.h >>conftest.$ac_ext
29076 cat >>conftest.$ac_ext <<_ACEOF
29077 /* end confdefs.h. */
29078
29079 #include <Xm/Xm.h>
29080
29081 int
29082 main ()
29083 {
29084
29085 int version;
29086 version = xmUseVersion;
29087
29088 ;
29089 return 0;
29090 }
29091 _ACEOF
29092 rm -f conftest.$ac_objext conftest$ac_exeext
29093 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29094 (eval $ac_link) 2>conftest.er1
29095 ac_status=$?
29096 grep -v '^ *+' conftest.er1 >conftest.err
29097 rm -f conftest.er1
29098 cat conftest.err >&5
29099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29100 (exit $ac_status); } &&
29101 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29103 (eval $ac_try) 2>&5
29104 ac_status=$?
29105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29106 (exit $ac_status); }; } &&
29107 { ac_try='test -s conftest$ac_exeext'
29108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29109 (eval $ac_try) 2>&5
29110 ac_status=$?
29111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29112 (exit $ac_status); }; }; then
29113
29114 echo "$as_me:$LINENO: result: found in default search path" >&5
29115 echo "${ECHO_T}found in default search path" >&6
29116 COMPILED_X_PROGRAM=1
29117
29118 else
29119 echo "$as_me: failed program was:" >&5
29120 sed 's/^/| /' conftest.$ac_ext >&5
29121
29122
29123 echo "$as_me:$LINENO: result: no" >&5
29124 echo "${ECHO_T}no" >&6
29125 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
29126 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
29127 { (exit 1); exit 1; }; }
29128
29129
29130 fi
29131 rm -f conftest.err conftest.$ac_objext \
29132 conftest$ac_exeext conftest.$ac_ext
29133
29134 CFLAGS=$save_CFLAGS
29135 LIBS="$save_LIBS"
29136 fi
29137
29138 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
29139 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
29140 libp_link=""
29141 libsm_ice_link=""
29142 libs_found=0
29143 for libp in "" " -lXp"; do
29144 if test "$libs_found" = "0"; then
29145 for libsm_ice in "" " -lSM -lICE"; do
29146 if test "$libs_found" = "0"; then
29147 save_LIBS="$LIBS"
29148 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
29149 save_CFLAGS=$CFLAGS
29150 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
29151
29152 cat >conftest.$ac_ext <<_ACEOF
29153 /* confdefs.h. */
29154 _ACEOF
29155 cat confdefs.h >>conftest.$ac_ext
29156 cat >>conftest.$ac_ext <<_ACEOF
29157 /* end confdefs.h. */
29158
29159 #include <Xm/Xm.h>
29160 #include <Xm/List.h>
29161
29162 int
29163 main ()
29164 {
29165
29166 XmString string = NULL;
29167 Widget w = NULL;
29168 int position = 0;
29169 XmListAddItem(w, string, position);
29170
29171 ;
29172 return 0;
29173 }
29174 _ACEOF
29175 rm -f conftest.$ac_objext conftest$ac_exeext
29176 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29177 (eval $ac_link) 2>conftest.er1
29178 ac_status=$?
29179 grep -v '^ *+' conftest.er1 >conftest.err
29180 rm -f conftest.er1
29181 cat conftest.err >&5
29182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29183 (exit $ac_status); } &&
29184 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29186 (eval $ac_try) 2>&5
29187 ac_status=$?
29188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29189 (exit $ac_status); }; } &&
29190 { ac_try='test -s conftest$ac_exeext'
29191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29192 (eval $ac_try) 2>&5
29193 ac_status=$?
29194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29195 (exit $ac_status); }; }; then
29196
29197 libp_link="$libp"
29198 libsm_ice_link="$libsm_ice"
29199 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
29200 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
29201 libs_found=1
29202
29203 else
29204 echo "$as_me: failed program was:" >&5
29205 sed 's/^/| /' conftest.$ac_ext >&5
29206
29207
29208
29209 fi
29210 rm -f conftest.err conftest.$ac_objext \
29211 conftest$ac_exeext conftest.$ac_ext
29212
29213 LIBS="$save_LIBS"
29214 CFLAGS=$save_CFLAGS
29215 fi
29216 done
29217 fi
29218 done
29219
29220 if test "$libs_found" = "0"; then
29221 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
29222 echo "${ECHO_T}can't find the right libraries" >&6
29223 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
29224 echo "$as_me: error: can't link a simple motif program" >&2;}
29225 { (exit 1); exit 1; }; }
29226 fi
29227
29228 echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
29229 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6
29230 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
29231 echo $ECHO_N "(cached) $ECHO_C" >&6
29232 else
29233 ac_check_lib_save_LIBS=$LIBS
29234 LIBS="-lSgm $LIBS"
29235 cat >conftest.$ac_ext <<_ACEOF
29236 /* confdefs.h. */
29237 _ACEOF
29238 cat confdefs.h >>conftest.$ac_ext
29239 cat >>conftest.$ac_ext <<_ACEOF
29240 /* end confdefs.h. */
29241
29242 /* Override any gcc2 internal prototype to avoid an error. */
29243 #ifdef __cplusplus
29244 extern "C"
29245 #endif
29246 /* We use char because int might match the return type of a gcc2
29247 builtin and then its argument prototype would still apply. */
29248 char SgCreateList ();
29249 int
29250 main ()
29251 {
29252 SgCreateList ();
29253 ;
29254 return 0;
29255 }
29256 _ACEOF
29257 rm -f conftest.$ac_objext conftest$ac_exeext
29258 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29259 (eval $ac_link) 2>conftest.er1
29260 ac_status=$?
29261 grep -v '^ *+' conftest.er1 >conftest.err
29262 rm -f conftest.er1
29263 cat conftest.err >&5
29264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29265 (exit $ac_status); } &&
29266 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29268 (eval $ac_try) 2>&5
29269 ac_status=$?
29270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29271 (exit $ac_status); }; } &&
29272 { ac_try='test -s conftest$ac_exeext'
29273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29274 (eval $ac_try) 2>&5
29275 ac_status=$?
29276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29277 (exit $ac_status); }; }; then
29278 ac_cv_lib_Sgm_SgCreateList=yes
29279 else
29280 echo "$as_me: failed program was:" >&5
29281 sed 's/^/| /' conftest.$ac_ext >&5
29282
29283 ac_cv_lib_Sgm_SgCreateList=no
29284 fi
29285 rm -f conftest.err conftest.$ac_objext \
29286 conftest$ac_exeext conftest.$ac_ext
29287 LIBS=$ac_check_lib_save_LIBS
29288 fi
29289 echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
29290 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6
29291 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
29292 libsgm_link=" -lSgm"
29293 fi
29294
29295
29296 save_CFLAGS=$CFLAGS
29297 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
29298
29299 echo "$as_me:$LINENO: checking for Motif 2" >&5
29300 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
29301 if test "${wx_cv_lib_motif2+set}" = set; then
29302 echo $ECHO_N "(cached) $ECHO_C" >&6
29303 else
29304 cat >conftest.$ac_ext <<_ACEOF
29305 /* confdefs.h. */
29306 _ACEOF
29307 cat confdefs.h >>conftest.$ac_ext
29308 cat >>conftest.$ac_ext <<_ACEOF
29309 /* end confdefs.h. */
29310
29311 #include <Xm/Xm.h>
29312
29313 int
29314 main ()
29315 {
29316
29317 #if XmVersion < 2000
29318 Not Motif 2
29319 #endif
29320
29321 ;
29322 return 0;
29323 }
29324 _ACEOF
29325 rm -f conftest.$ac_objext
29326 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29327 (eval $ac_compile) 2>conftest.er1
29328 ac_status=$?
29329 grep -v '^ *+' conftest.er1 >conftest.err
29330 rm -f conftest.er1
29331 cat conftest.err >&5
29332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29333 (exit $ac_status); } &&
29334 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29336 (eval $ac_try) 2>&5
29337 ac_status=$?
29338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29339 (exit $ac_status); }; } &&
29340 { ac_try='test -s conftest.$ac_objext'
29341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29342 (eval $ac_try) 2>&5
29343 ac_status=$?
29344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29345 (exit $ac_status); }; }; then
29346 wx_cv_lib_motif2="yes"
29347 else
29348 echo "$as_me: failed program was:" >&5
29349 sed 's/^/| /' conftest.$ac_ext >&5
29350
29351 wx_cv_lib_motif2="no"
29352 fi
29353 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29354 fi
29355 echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
29356 echo "${ECHO_T}$wx_cv_lib_motif2" >&6
29357 if test "$wx_cv_lib_motif2" = "yes"; then
29358 cat >>confdefs.h <<\_ACEOF
29359 #define __WXMOTIF20__ 1
29360 _ACEOF
29361
29362 else
29363 cat >>confdefs.h <<\_ACEOF
29364 #define __WXMOTIF20__ 0
29365 _ACEOF
29366
29367 fi
29368
29369 echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
29370 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6
29371 if test "${wx_cv_lib_lesstif+set}" = set; then
29372 echo $ECHO_N "(cached) $ECHO_C" >&6
29373 else
29374 cat >conftest.$ac_ext <<_ACEOF
29375 /* confdefs.h. */
29376 _ACEOF
29377 cat confdefs.h >>conftest.$ac_ext
29378 cat >>conftest.$ac_ext <<_ACEOF
29379 /* end confdefs.h. */
29380
29381 #include <Xm/Xm.h>
29382
29383 int
29384 main ()
29385 {
29386
29387 #if !defined(LesstifVersion) || LesstifVersion <= 0
29388 Not Lesstif
29389 #endif
29390
29391 ;
29392 return 0;
29393 }
29394 _ACEOF
29395 rm -f conftest.$ac_objext
29396 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29397 (eval $ac_compile) 2>conftest.er1
29398 ac_status=$?
29399 grep -v '^ *+' conftest.er1 >conftest.err
29400 rm -f conftest.er1
29401 cat conftest.err >&5
29402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29403 (exit $ac_status); } &&
29404 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29406 (eval $ac_try) 2>&5
29407 ac_status=$?
29408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29409 (exit $ac_status); }; } &&
29410 { ac_try='test -s conftest.$ac_objext'
29411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29412 (eval $ac_try) 2>&5
29413 ac_status=$?
29414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29415 (exit $ac_status); }; }; then
29416 wx_cv_lib_lesstif="yes"
29417 else
29418 echo "$as_me: failed program was:" >&5
29419 sed 's/^/| /' conftest.$ac_ext >&5
29420
29421 wx_cv_lib_lesstif="no"
29422 fi
29423 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29424
29425 fi
29426 echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
29427 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6
29428 if test "$wx_cv_lib_lesstif" = "yes"; then
29429 cat >>confdefs.h <<\_ACEOF
29430 #define __WXLESSTIF__ 1
29431 _ACEOF
29432
29433 else
29434 cat >>confdefs.h <<\_ACEOF
29435 #define __WXLESSTIF__ 0
29436 _ACEOF
29437
29438 fi
29439
29440 CFLAGS=$save_CFLAGS
29441
29442 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
29443 TOOLKIT=MOTIF
29444 GUIDIST=MOTIF_DIST
29445 fi
29446
29447 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
29448 if test "$wxUSE_LIBXPM" = "sys"; then
29449 echo "$as_me:$LINENO: checking for Xpm library" >&5
29450 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
29451
29452 ac_find_libraries=
29453 for ac_dir in $SEARCH_LIB;
29454 do
29455 for ac_extension in a so sl dylib dll.a; do
29456 if test -f "$ac_dir/libXpm.$ac_extension"; then
29457 ac_find_libraries=$ac_dir
29458 break 2
29459 fi
29460 done
29461 done
29462
29463 if test "$ac_find_libraries" != "" ; then
29464
29465 if test "$ac_find_libraries" = "default location"; then
29466 ac_path_to_link=""
29467 else
29468 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
29469 result=$?
29470 if test $result = 0; then
29471 ac_path_to_link=""
29472 else
29473 ac_path_to_link=" -L$ac_find_libraries"
29474 fi
29475 fi
29476
29477 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
29478 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
29479 echo "${ECHO_T}found in $ac_find_libraries" >&6
29480
29481 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
29482 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
29483 if test "${wx_cv_x11_xpm_h+set}" = set; then
29484 echo $ECHO_N "(cached) $ECHO_C" >&6
29485 else
29486
29487 save_CFLAGS=$CFLAGS
29488 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
29489
29490 cat >conftest.$ac_ext <<_ACEOF
29491 /* confdefs.h. */
29492 _ACEOF
29493 cat confdefs.h >>conftest.$ac_ext
29494 cat >>conftest.$ac_ext <<_ACEOF
29495 /* end confdefs.h. */
29496
29497 #include <X11/xpm.h>
29498
29499 int
29500 main ()
29501 {
29502
29503 int version;
29504 version = XpmLibraryVersion();
29505
29506 ;
29507 return 0;
29508 }
29509 _ACEOF
29510 rm -f conftest.$ac_objext
29511 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29512 (eval $ac_compile) 2>conftest.er1
29513 ac_status=$?
29514 grep -v '^ *+' conftest.er1 >conftest.err
29515 rm -f conftest.er1
29516 cat conftest.err >&5
29517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29518 (exit $ac_status); } &&
29519 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29521 (eval $ac_try) 2>&5
29522 ac_status=$?
29523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29524 (exit $ac_status); }; } &&
29525 { ac_try='test -s conftest.$ac_objext'
29526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29527 (eval $ac_try) 2>&5
29528 ac_status=$?
29529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29530 (exit $ac_status); }; }; then
29531 wx_cv_x11_xpm_h=yes
29532 else
29533 echo "$as_me: failed program was:" >&5
29534 sed 's/^/| /' conftest.$ac_ext >&5
29535
29536 wx_cv_x11_xpm_h=no
29537
29538 fi
29539 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29540
29541 CFLAGS=$save_CFLAGS
29542
29543
29544 fi
29545 echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
29546 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6
29547
29548 if test $wx_cv_x11_xpm_h = "yes"; then
29549 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
29550 cat >>confdefs.h <<\_ACEOF
29551 #define wxHAVE_LIB_XPM 1
29552 _ACEOF
29553
29554 else
29555 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
29556 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
29557 fi
29558 fi
29559
29560 fi
29561
29562 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
29563 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
29564 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
29565 echo $ECHO_N "(cached) $ECHO_C" >&6
29566 else
29567 ac_check_lib_save_LIBS=$LIBS
29568 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
29569 cat >conftest.$ac_ext <<_ACEOF
29570 /* confdefs.h. */
29571 _ACEOF
29572 cat confdefs.h >>conftest.$ac_ext
29573 cat >>conftest.$ac_ext <<_ACEOF
29574 /* end confdefs.h. */
29575
29576 /* Override any gcc2 internal prototype to avoid an error. */
29577 #ifdef __cplusplus
29578 extern "C"
29579 #endif
29580 /* We use char because int might match the return type of a gcc2
29581 builtin and then its argument prototype would still apply. */
29582 char XShapeQueryExtension ();
29583 int
29584 main ()
29585 {
29586 XShapeQueryExtension ();
29587 ;
29588 return 0;
29589 }
29590 _ACEOF
29591 rm -f conftest.$ac_objext conftest$ac_exeext
29592 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29593 (eval $ac_link) 2>conftest.er1
29594 ac_status=$?
29595 grep -v '^ *+' conftest.er1 >conftest.err
29596 rm -f conftest.er1
29597 cat conftest.err >&5
29598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29599 (exit $ac_status); } &&
29600 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29602 (eval $ac_try) 2>&5
29603 ac_status=$?
29604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29605 (exit $ac_status); }; } &&
29606 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
29612 ac_cv_lib_Xext_XShapeQueryExtension=yes
29613 else
29614 echo "$as_me: failed program was:" >&5
29615 sed 's/^/| /' conftest.$ac_ext >&5
29616
29617 ac_cv_lib_Xext_XShapeQueryExtension=no
29618 fi
29619 rm -f conftest.err conftest.$ac_objext \
29620 conftest$ac_exeext conftest.$ac_ext
29621 LIBS=$ac_check_lib_save_LIBS
29622 fi
29623 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
29624 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
29625 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
29626
29627 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
29628 wxHAVE_XEXT_LIB=1
29629
29630 fi
29631
29632
29633 if test "$wxHAVE_XEXT_LIB" = 1; then
29634 save_CFLAGS="$CFLAGS"
29635 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
29636
29637 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
29638 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
29639 cat >conftest.$ac_ext <<_ACEOF
29640 /* confdefs.h. */
29641 _ACEOF
29642 cat confdefs.h >>conftest.$ac_ext
29643 cat >>conftest.$ac_ext <<_ACEOF
29644 /* end confdefs.h. */
29645
29646 #include <X11/Xlib.h>
29647 #include <X11/extensions/shape.h>
29648
29649 int
29650 main ()
29651 {
29652
29653 int dummy1, dummy2;
29654 XShapeQueryExtension((Display*)NULL,
29655 (int*)NULL, (int*)NULL);
29656
29657 ;
29658 return 0;
29659 }
29660 _ACEOF
29661 rm -f conftest.$ac_objext
29662 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29663 (eval $ac_compile) 2>conftest.er1
29664 ac_status=$?
29665 grep -v '^ *+' conftest.er1 >conftest.err
29666 rm -f conftest.er1
29667 cat conftest.err >&5
29668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29669 (exit $ac_status); } &&
29670 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29672 (eval $ac_try) 2>&5
29673 ac_status=$?
29674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29675 (exit $ac_status); }; } &&
29676 { ac_try='test -s conftest.$ac_objext'
29677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29678 (eval $ac_try) 2>&5
29679 ac_status=$?
29680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29681 (exit $ac_status); }; }; then
29682
29683 cat >>confdefs.h <<\_ACEOF
29684 #define HAVE_XSHAPE 1
29685 _ACEOF
29686
29687 echo "$as_me:$LINENO: result: found" >&5
29688 echo "${ECHO_T}found" >&6
29689
29690 else
29691 echo "$as_me: failed program was:" >&5
29692 sed 's/^/| /' conftest.$ac_ext >&5
29693
29694
29695 echo "$as_me:$LINENO: result: not found" >&5
29696 echo "${ECHO_T}not found" >&6
29697
29698 fi
29699 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29700 CFLAGS="$save_CFLAGS"
29701
29702 fi
29703 fi
29704
29705 if test "$wxUSE_MAC" = 1; then
29706 echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
29707 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6
29708 if test "$GCC" = yes; then
29709 echo "$as_me:$LINENO: result: gcc" >&5
29710 echo "${ECHO_T}gcc" >&6
29711 CPPFLAGS_PASCAL="-fpascal-strings"
29712 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
29713 echo "$as_me:$LINENO: result: xlc" >&5
29714 echo "${ECHO_T}xlc" >&6
29715 CPPFLAGS_PASCAL="-qmacpstr"
29716 else
29717 echo "$as_me:$LINENO: result: none" >&5
29718 echo "${ECHO_T}none" >&6
29719 fi
29720
29721 if test "x$wxUSE_UNIX" = "xyes"; then
29722 CPPFLAGS="$CPPFLAGS $CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon"
29723 else
29724 CPPFLAGS="$CPPFLAGS $CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON"
29725 fi
29726
29727 TOOLKIT=MAC
29728 GUIDIST=MACX_DIST
29729 WXBASEPORT="_carbon"
29730 fi
29731
29732 if test "$wxUSE_COCOA" = 1; then
29733 TOOLKIT=COCOA
29734 GUIDIST=COCOA_DIST
29735 fi
29736
29737 if test "$wxUSE_PM" = 1; then
29738 TOOLKIT=PM
29739 GUIDIST=PM_DIST
29740 echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
29741 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6
29742 if test "${wx_cv_spbcdata+set}" = set; then
29743 echo $ECHO_N "(cached) $ECHO_C" >&6
29744 else
29745
29746 cat >conftest.$ac_ext <<_ACEOF
29747 /* confdefs.h. */
29748 _ACEOF
29749 cat confdefs.h >>conftest.$ac_ext
29750 cat >>conftest.$ac_ext <<_ACEOF
29751 /* end confdefs.h. */
29752
29753 #define INCL_PM
29754 #include <os2.h>
29755
29756 int
29757 main ()
29758 {
29759
29760 SPBCDATA test;
29761
29762 ;
29763 return 0;
29764 }
29765 _ACEOF
29766 rm -f conftest.$ac_objext
29767 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29768 (eval $ac_compile) 2>conftest.er1
29769 ac_status=$?
29770 grep -v '^ *+' conftest.er1 >conftest.err
29771 rm -f conftest.er1
29772 cat conftest.err >&5
29773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29774 (exit $ac_status); } &&
29775 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29777 (eval $ac_try) 2>&5
29778 ac_status=$?
29779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29780 (exit $ac_status); }; } &&
29781 { ac_try='test -s conftest.$ac_objext'
29782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29783 (eval $ac_try) 2>&5
29784 ac_status=$?
29785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29786 (exit $ac_status); }; }; then
29787 wx_cv_spbcdata=yes
29788 else
29789 echo "$as_me: failed program was:" >&5
29790 sed 's/^/| /' conftest.$ac_ext >&5
29791
29792 wx_cv_spbcdata=no
29793
29794 fi
29795 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29796
29797
29798 fi
29799 echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
29800 echo "${ECHO_T}$wx_cv_spbcdata" >&6
29801
29802 if test $wx_cv_spbcdata = "yes"; then
29803 cat >>confdefs.h <<\_ACEOF
29804 #define HAVE_SPBCDATA 1
29805 _ACEOF
29806
29807 fi
29808 fi
29809
29810 if test "$TOOLKIT" = "PM" ; then
29811 TOOLKIT_DIR="os2"
29812 else
29813 TOOLKIT_DIR=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
29814 fi
29815
29816 if test "$wxUSE_UNIVERSAL" = "yes"; then
29817 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
29818 WIDGET_SET=univ
29819 fi
29820
29821 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
29822 DISTDIR="wx\$(TOOLKIT)"
29823 else
29824 USE_GUI=0
29825
29826 TOOLKIT_DIR="base"
29827
29828 if test "$USE_WIN32" = 1 ; then
29829 TOOLKIT="MSW"
29830 fi
29831
29832 GUIDIST="BASE_DIST"
29833 DISTDIR="wxBase"
29834 fi
29835
29836
29837 if test "$wxUSE_GUI" = "yes"; then
29838 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
29839
29840 for ac_header in X11/Xlib.h
29841 do
29842 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29843 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29844 echo "$as_me:$LINENO: checking for $ac_header" >&5
29845 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29846 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29847 echo $ECHO_N "(cached) $ECHO_C" >&6
29848 fi
29849 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29850 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29851 else
29852 # Is the header compilable?
29853 echo "$as_me:$LINENO: checking $ac_header usability" >&5
29854 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
29855 cat >conftest.$ac_ext <<_ACEOF
29856 /* confdefs.h. */
29857 _ACEOF
29858 cat confdefs.h >>conftest.$ac_ext
29859 cat >>conftest.$ac_ext <<_ACEOF
29860 /* end confdefs.h. */
29861 $ac_includes_default
29862 #include <$ac_header>
29863 _ACEOF
29864 rm -f conftest.$ac_objext
29865 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29866 (eval $ac_compile) 2>conftest.er1
29867 ac_status=$?
29868 grep -v '^ *+' conftest.er1 >conftest.err
29869 rm -f conftest.er1
29870 cat conftest.err >&5
29871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29872 (exit $ac_status); } &&
29873 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29875 (eval $ac_try) 2>&5
29876 ac_status=$?
29877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29878 (exit $ac_status); }; } &&
29879 { ac_try='test -s conftest.$ac_objext'
29880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29881 (eval $ac_try) 2>&5
29882 ac_status=$?
29883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29884 (exit $ac_status); }; }; then
29885 ac_header_compiler=yes
29886 else
29887 echo "$as_me: failed program was:" >&5
29888 sed 's/^/| /' conftest.$ac_ext >&5
29889
29890 ac_header_compiler=no
29891 fi
29892 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29893 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29894 echo "${ECHO_T}$ac_header_compiler" >&6
29895
29896 # Is the header present?
29897 echo "$as_me:$LINENO: checking $ac_header presence" >&5
29898 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
29899 cat >conftest.$ac_ext <<_ACEOF
29900 /* confdefs.h. */
29901 _ACEOF
29902 cat confdefs.h >>conftest.$ac_ext
29903 cat >>conftest.$ac_ext <<_ACEOF
29904 /* end confdefs.h. */
29905 #include <$ac_header>
29906 _ACEOF
29907 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29908 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
29909 ac_status=$?
29910 grep -v '^ *+' conftest.er1 >conftest.err
29911 rm -f conftest.er1
29912 cat conftest.err >&5
29913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29914 (exit $ac_status); } >/dev/null; then
29915 if test -s conftest.err; then
29916 ac_cpp_err=$ac_c_preproc_warn_flag
29917 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
29918 else
29919 ac_cpp_err=
29920 fi
29921 else
29922 ac_cpp_err=yes
29923 fi
29924 if test -z "$ac_cpp_err"; then
29925 ac_header_preproc=yes
29926 else
29927 echo "$as_me: failed program was:" >&5
29928 sed 's/^/| /' conftest.$ac_ext >&5
29929
29930 ac_header_preproc=no
29931 fi
29932 rm -f conftest.err conftest.$ac_ext
29933 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29934 echo "${ECHO_T}$ac_header_preproc" >&6
29935
29936 # So? What about this header?
29937 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29938 yes:no: )
29939 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
29940 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
29941 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
29942 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
29943 ac_header_preproc=yes
29944 ;;
29945 no:yes:* )
29946 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
29947 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
29948 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
29949 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
29950 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
29951 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
29952 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
29953 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
29954 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29955 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29956 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
29957 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
29958 (
29959 cat <<\_ASBOX
29960 ## ----------------------------------------- ##
29961 ## Report this to wx-dev@lists.wxwidgets.org ##
29962 ## ----------------------------------------- ##
29963 _ASBOX
29964 ) |
29965 sed "s/^/$as_me: WARNING: /" >&2
29966 ;;
29967 esac
29968 echo "$as_me:$LINENO: checking for $ac_header" >&5
29969 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29970 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29971 echo $ECHO_N "(cached) $ECHO_C" >&6
29972 else
29973 eval "$as_ac_Header=\$ac_header_preproc"
29974 fi
29975 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29976 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29977
29978 fi
29979 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29980 cat >>confdefs.h <<_ACEOF
29981 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29982 _ACEOF
29983
29984 fi
29985
29986 done
29987
29988
29989 for ac_header in X11/XKBlib.h
29990 do
29991 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29992 echo "$as_me:$LINENO: checking for $ac_header" >&5
29993 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29994 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29995 echo $ECHO_N "(cached) $ECHO_C" >&6
29996 else
29997 cat >conftest.$ac_ext <<_ACEOF
29998 /* confdefs.h. */
29999 _ACEOF
30000 cat confdefs.h >>conftest.$ac_ext
30001 cat >>conftest.$ac_ext <<_ACEOF
30002 /* end confdefs.h. */
30003
30004 #if HAVE_X11_XLIB_H
30005 #include <X11/Xlib.h>
30006 #endif
30007
30008
30009 #include <$ac_header>
30010 _ACEOF
30011 rm -f conftest.$ac_objext
30012 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30013 (eval $ac_compile) 2>conftest.er1
30014 ac_status=$?
30015 grep -v '^ *+' conftest.er1 >conftest.err
30016 rm -f conftest.er1
30017 cat conftest.err >&5
30018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30019 (exit $ac_status); } &&
30020 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30022 (eval $ac_try) 2>&5
30023 ac_status=$?
30024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30025 (exit $ac_status); }; } &&
30026 { ac_try='test -s conftest.$ac_objext'
30027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30028 (eval $ac_try) 2>&5
30029 ac_status=$?
30030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30031 (exit $ac_status); }; }; then
30032 eval "$as_ac_Header=yes"
30033 else
30034 echo "$as_me: failed program was:" >&5
30035 sed 's/^/| /' conftest.$ac_ext >&5
30036
30037 eval "$as_ac_Header=no"
30038 fi
30039 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30040 fi
30041 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30042 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30043 if test `eval echo '${'$as_ac_Header'}'` = yes; then
30044 cat >>confdefs.h <<_ACEOF
30045 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
30046 _ACEOF
30047
30048 fi
30049
30050 done
30051
30052 fi
30053 fi
30054
30055
30056
30057 IODBC_C_SRC=""
30058
30059
30060 if test "$TOOLKIT" != "MSW" ; then
30061
30062 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
30063
30064 if test "${ac_cv_header_sql_h+set}" = set; then
30065 echo "$as_me:$LINENO: checking for sql.h" >&5
30066 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
30067 if test "${ac_cv_header_sql_h+set}" = set; then
30068 echo $ECHO_N "(cached) $ECHO_C" >&6
30069 fi
30070 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
30071 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
30072 else
30073 # Is the header compilable?
30074 echo "$as_me:$LINENO: checking sql.h usability" >&5
30075 echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
30076 cat >conftest.$ac_ext <<_ACEOF
30077 /* confdefs.h. */
30078 _ACEOF
30079 cat confdefs.h >>conftest.$ac_ext
30080 cat >>conftest.$ac_ext <<_ACEOF
30081 /* end confdefs.h. */
30082 $ac_includes_default
30083 #include <sql.h>
30084 _ACEOF
30085 rm -f conftest.$ac_objext
30086 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30087 (eval $ac_compile) 2>conftest.er1
30088 ac_status=$?
30089 grep -v '^ *+' conftest.er1 >conftest.err
30090 rm -f conftest.er1
30091 cat conftest.err >&5
30092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30093 (exit $ac_status); } &&
30094 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30096 (eval $ac_try) 2>&5
30097 ac_status=$?
30098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30099 (exit $ac_status); }; } &&
30100 { ac_try='test -s conftest.$ac_objext'
30101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30102 (eval $ac_try) 2>&5
30103 ac_status=$?
30104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30105 (exit $ac_status); }; }; then
30106 ac_header_compiler=yes
30107 else
30108 echo "$as_me: failed program was:" >&5
30109 sed 's/^/| /' conftest.$ac_ext >&5
30110
30111 ac_header_compiler=no
30112 fi
30113 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30114 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
30115 echo "${ECHO_T}$ac_header_compiler" >&6
30116
30117 # Is the header present?
30118 echo "$as_me:$LINENO: checking sql.h presence" >&5
30119 echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
30120 cat >conftest.$ac_ext <<_ACEOF
30121 /* confdefs.h. */
30122 _ACEOF
30123 cat confdefs.h >>conftest.$ac_ext
30124 cat >>conftest.$ac_ext <<_ACEOF
30125 /* end confdefs.h. */
30126 #include <sql.h>
30127 _ACEOF
30128 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
30129 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
30130 ac_status=$?
30131 grep -v '^ *+' conftest.er1 >conftest.err
30132 rm -f conftest.er1
30133 cat conftest.err >&5
30134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30135 (exit $ac_status); } >/dev/null; then
30136 if test -s conftest.err; then
30137 ac_cpp_err=$ac_c_preproc_warn_flag
30138 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
30139 else
30140 ac_cpp_err=
30141 fi
30142 else
30143 ac_cpp_err=yes
30144 fi
30145 if test -z "$ac_cpp_err"; then
30146 ac_header_preproc=yes
30147 else
30148 echo "$as_me: failed program was:" >&5
30149 sed 's/^/| /' conftest.$ac_ext >&5
30150
30151 ac_header_preproc=no
30152 fi
30153 rm -f conftest.err conftest.$ac_ext
30154 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30155 echo "${ECHO_T}$ac_header_preproc" >&6
30156
30157 # So? What about this header?
30158 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
30159 yes:no: )
30160 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
30161 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
30162 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the compiler's result" >&5
30163 echo "$as_me: WARNING: sql.h: proceeding with the compiler's result" >&2;}
30164 ac_header_preproc=yes
30165 ;;
30166 no:yes:* )
30167 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
30168 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
30169 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
30170 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
30171 { echo "$as_me:$LINENO: WARNING: sql.h: see the Autoconf documentation" >&5
30172 echo "$as_me: WARNING: sql.h: see the Autoconf documentation" >&2;}
30173 { echo "$as_me:$LINENO: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&5
30174 echo "$as_me: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&2;}
30175 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
30176 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
30177 { echo "$as_me:$LINENO: WARNING: sql.h: in the future, the compiler will take precedence" >&5
30178 echo "$as_me: WARNING: sql.h: in the future, the compiler will take precedence" >&2;}
30179 (
30180 cat <<\_ASBOX
30181 ## ----------------------------------------- ##
30182 ## Report this to wx-dev@lists.wxwidgets.org ##
30183 ## ----------------------------------------- ##
30184 _ASBOX
30185 ) |
30186 sed "s/^/$as_me: WARNING: /" >&2
30187 ;;
30188 esac
30189 echo "$as_me:$LINENO: checking for sql.h" >&5
30190 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
30191 if test "${ac_cv_header_sql_h+set}" = set; then
30192 echo $ECHO_N "(cached) $ECHO_C" >&6
30193 else
30194 ac_cv_header_sql_h=$ac_header_preproc
30195 fi
30196 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
30197 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
30198
30199 fi
30200 if test $ac_cv_header_sql_h = yes; then
30201 found_sql_h=1
30202 fi
30203
30204
30205 if test "x$found_sql_h" = "x1" ; then
30206 echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
30207 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6
30208 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
30209 echo $ECHO_N "(cached) $ECHO_C" >&6
30210 else
30211 ac_check_lib_save_LIBS=$LIBS
30212 LIBS="-liodbc $LIBS"
30213 cat >conftest.$ac_ext <<_ACEOF
30214 /* confdefs.h. */
30215 _ACEOF
30216 cat confdefs.h >>conftest.$ac_ext
30217 cat >>conftest.$ac_ext <<_ACEOF
30218 /* end confdefs.h. */
30219
30220 /* Override any gcc2 internal prototype to avoid an error. */
30221 #ifdef __cplusplus
30222 extern "C"
30223 #endif
30224 /* We use char because int might match the return type of a gcc2
30225 builtin and then its argument prototype would still apply. */
30226 char SQLAllocEnv ();
30227 int
30228 main ()
30229 {
30230 SQLAllocEnv ();
30231 ;
30232 return 0;
30233 }
30234 _ACEOF
30235 rm -f conftest.$ac_objext conftest$ac_exeext
30236 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30237 (eval $ac_link) 2>conftest.er1
30238 ac_status=$?
30239 grep -v '^ *+' conftest.er1 >conftest.err
30240 rm -f conftest.er1
30241 cat conftest.err >&5
30242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30243 (exit $ac_status); } &&
30244 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30246 (eval $ac_try) 2>&5
30247 ac_status=$?
30248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30249 (exit $ac_status); }; } &&
30250 { ac_try='test -s conftest$ac_exeext'
30251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30252 (eval $ac_try) 2>&5
30253 ac_status=$?
30254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30255 (exit $ac_status); }; }; then
30256 ac_cv_lib_iodbc_SQLAllocEnv=yes
30257 else
30258 echo "$as_me: failed program was:" >&5
30259 sed 's/^/| /' conftest.$ac_ext >&5
30260
30261 ac_cv_lib_iodbc_SQLAllocEnv=no
30262 fi
30263 rm -f conftest.err conftest.$ac_objext \
30264 conftest$ac_exeext conftest.$ac_ext
30265 LIBS=$ac_check_lib_save_LIBS
30266 fi
30267 echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
30268 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6
30269 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
30270 ODBC_LINK=" -liodbc"
30271 else
30272
30273 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
30274 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6
30275 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
30276 echo $ECHO_N "(cached) $ECHO_C" >&6
30277 else
30278 ac_check_lib_save_LIBS=$LIBS
30279 LIBS="-lunixodbc $LIBS"
30280 cat >conftest.$ac_ext <<_ACEOF
30281 /* confdefs.h. */
30282 _ACEOF
30283 cat confdefs.h >>conftest.$ac_ext
30284 cat >>conftest.$ac_ext <<_ACEOF
30285 /* end confdefs.h. */
30286
30287 /* Override any gcc2 internal prototype to avoid an error. */
30288 #ifdef __cplusplus
30289 extern "C"
30290 #endif
30291 /* We use char because int might match the return type of a gcc2
30292 builtin and then its argument prototype would still apply. */
30293 char SQLAllocEnv ();
30294 int
30295 main ()
30296 {
30297 SQLAllocEnv ();
30298 ;
30299 return 0;
30300 }
30301 _ACEOF
30302 rm -f conftest.$ac_objext conftest$ac_exeext
30303 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30304 (eval $ac_link) 2>conftest.er1
30305 ac_status=$?
30306 grep -v '^ *+' conftest.er1 >conftest.err
30307 rm -f conftest.er1
30308 cat conftest.err >&5
30309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30310 (exit $ac_status); } &&
30311 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30313 (eval $ac_try) 2>&5
30314 ac_status=$?
30315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30316 (exit $ac_status); }; } &&
30317 { ac_try='test -s conftest$ac_exeext'
30318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30319 (eval $ac_try) 2>&5
30320 ac_status=$?
30321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30322 (exit $ac_status); }; }; then
30323 ac_cv_lib_unixodbc_SQLAllocEnv=yes
30324 else
30325 echo "$as_me: failed program was:" >&5
30326 sed 's/^/| /' conftest.$ac_ext >&5
30327
30328 ac_cv_lib_unixodbc_SQLAllocEnv=no
30329 fi
30330 rm -f conftest.err conftest.$ac_objext \
30331 conftest$ac_exeext conftest.$ac_ext
30332 LIBS=$ac_check_lib_save_LIBS
30333 fi
30334 echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
30335 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6
30336 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
30337 ODBC_LINK=" -lunixodbc"
30338 else
30339
30340 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
30341 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6
30342 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
30343 echo $ECHO_N "(cached) $ECHO_C" >&6
30344 else
30345 ac_check_lib_save_LIBS=$LIBS
30346 LIBS="-lodbc $LIBS"
30347 cat >conftest.$ac_ext <<_ACEOF
30348 /* confdefs.h. */
30349 _ACEOF
30350 cat confdefs.h >>conftest.$ac_ext
30351 cat >>conftest.$ac_ext <<_ACEOF
30352 /* end confdefs.h. */
30353
30354 /* Override any gcc2 internal prototype to avoid an error. */
30355 #ifdef __cplusplus
30356 extern "C"
30357 #endif
30358 /* We use char because int might match the return type of a gcc2
30359 builtin and then its argument prototype would still apply. */
30360 char SQLAllocEnv ();
30361 int
30362 main ()
30363 {
30364 SQLAllocEnv ();
30365 ;
30366 return 0;
30367 }
30368 _ACEOF
30369 rm -f conftest.$ac_objext conftest$ac_exeext
30370 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30371 (eval $ac_link) 2>conftest.er1
30372 ac_status=$?
30373 grep -v '^ *+' conftest.er1 >conftest.err
30374 rm -f conftest.er1
30375 cat conftest.err >&5
30376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30377 (exit $ac_status); } &&
30378 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30380 (eval $ac_try) 2>&5
30381 ac_status=$?
30382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30383 (exit $ac_status); }; } &&
30384 { ac_try='test -s conftest$ac_exeext'
30385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30386 (eval $ac_try) 2>&5
30387 ac_status=$?
30388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30389 (exit $ac_status); }; }; then
30390 ac_cv_lib_odbc_SQLAllocEnv=yes
30391 else
30392 echo "$as_me: failed program was:" >&5
30393 sed 's/^/| /' conftest.$ac_ext >&5
30394
30395 ac_cv_lib_odbc_SQLAllocEnv=no
30396 fi
30397 rm -f conftest.err conftest.$ac_objext \
30398 conftest$ac_exeext conftest.$ac_ext
30399 LIBS=$ac_check_lib_save_LIBS
30400 fi
30401 echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
30402 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6
30403 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
30404 ODBC_LINK=" -lodbc"
30405 fi
30406
30407
30408 fi
30409
30410
30411 fi
30412
30413 fi
30414 if test "x$ODBC_LINK" = "x" ; then
30415 if test "$wxUSE_ODBC" = "sys" ; then
30416 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
30417 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
30418 { (exit 1); exit 1; }; }
30419 else
30420 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
30421 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
30422 wxUSE_ODBC=builtin
30423 fi
30424 else
30425 wxUSE_ODBC=sys
30426 fi
30427 fi
30428
30429 if test "$wxUSE_ODBC" = "builtin" ; then
30430 cat >>confdefs.h <<\_ACEOF
30431 #define wxUSE_BUILTIN_IODBC 1
30432 _ACEOF
30433
30434 fi
30435 fi
30436
30437 if test "$wxUSE_ODBC" != "no" ; then
30438 cat >>confdefs.h <<\_ACEOF
30439 #define wxUSE_ODBC 1
30440 _ACEOF
30441
30442 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS db"
30443
30444 WXODBCFLAG="-D_IODBC_"
30445 fi
30446
30447
30448 if test "$wxUSE_DISPLAY" = "yes"; then
30449 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
30450 echo "$as_me:$LINENO: checking for Xinerama" >&5
30451 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6
30452
30453 ac_find_libraries=
30454 for ac_dir in $SEARCH_LIB;
30455 do
30456 for ac_extension in a so sl dylib dll.a; do
30457 if test -f "$ac_dir/libXinerama.$ac_extension"; then
30458 ac_find_libraries=$ac_dir
30459 break 2
30460 fi
30461 done
30462 done
30463
30464 if test "$ac_find_libraries" != "" ; then
30465
30466 if test "$ac_find_libraries" = "default location"; then
30467 ac_path_to_link=""
30468 else
30469 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
30470 result=$?
30471 if test $result = 0; then
30472 ac_path_to_link=""
30473 else
30474 ac_path_to_link=" -L$ac_find_libraries"
30475 fi
30476 fi
30477
30478 if test "$ac_path_to_link" != " -L/usr/lib" ; then
30479 LDFLAGS="$LDFLAGS $ac_path_to_link"
30480 fi
30481 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
30482 echo "$as_me:$LINENO: result: yes" >&5
30483 echo "${ECHO_T}yes" >&6
30484
30485 echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
30486 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6
30487
30488 ac_find_libraries=
30489 for ac_dir in $SEARCH_LIB;
30490 do
30491 for ac_extension in a so sl dylib dll.a; do
30492 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
30493 ac_find_libraries=$ac_dir
30494 break 2
30495 fi
30496 done
30497 done
30498
30499 if test "$ac_find_libraries" != "" ; then
30500 echo "$as_me:$LINENO: result: yes" >&5
30501 echo "${ECHO_T}yes" >&6
30502
30503 for ac_header in X11/extensions/xf86vmode.h
30504 do
30505 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
30506 echo "$as_me:$LINENO: checking for $ac_header" >&5
30507 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30508 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30509 echo $ECHO_N "(cached) $ECHO_C" >&6
30510 else
30511 cat >conftest.$ac_ext <<_ACEOF
30512 /* confdefs.h. */
30513 _ACEOF
30514 cat confdefs.h >>conftest.$ac_ext
30515 cat >>conftest.$ac_ext <<_ACEOF
30516 /* end confdefs.h. */
30517
30518 #if HAVE_X11_XLIB_H
30519 #include <X11/Xlib.h>
30520 #endif
30521
30522
30523 #include <$ac_header>
30524 _ACEOF
30525 rm -f conftest.$ac_objext
30526 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30527 (eval $ac_compile) 2>conftest.er1
30528 ac_status=$?
30529 grep -v '^ *+' conftest.er1 >conftest.err
30530 rm -f conftest.er1
30531 cat conftest.err >&5
30532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30533 (exit $ac_status); } &&
30534 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30536 (eval $ac_try) 2>&5
30537 ac_status=$?
30538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30539 (exit $ac_status); }; } &&
30540 { ac_try='test -s conftest.$ac_objext'
30541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30542 (eval $ac_try) 2>&5
30543 ac_status=$?
30544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30545 (exit $ac_status); }; }; then
30546 eval "$as_ac_Header=yes"
30547 else
30548 echo "$as_me: failed program was:" >&5
30549 sed 's/^/| /' conftest.$ac_ext >&5
30550
30551 eval "$as_ac_Header=no"
30552 fi
30553 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30554 fi
30555 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30556 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30557 if test `eval echo '${'$as_ac_Header'}'` = yes; then
30558 cat >>confdefs.h <<_ACEOF
30559 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
30560 _ACEOF
30561
30562 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
30563
30564 fi
30565
30566 done
30567
30568 else
30569 echo "$as_me:$LINENO: result: no" >&5
30570 echo "${ECHO_T}no" >&6
30571 fi
30572
30573 else
30574 echo "$as_me:$LINENO: result: no" >&5
30575 echo "${ECHO_T}no" >&6
30576 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
30577 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
30578 wxUSE_DISPLAY="no"
30579 fi
30580 elif test "$wxUSE_MSW" = 1; then
30581
30582
30583 for ac_header in multimon.h ddraw.h
30584 do
30585 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
30586 echo "$as_me:$LINENO: checking for $ac_header" >&5
30587 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30588 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30589 echo $ECHO_N "(cached) $ECHO_C" >&6
30590 else
30591 cat >conftest.$ac_ext <<_ACEOF
30592 /* confdefs.h. */
30593 _ACEOF
30594 cat confdefs.h >>conftest.$ac_ext
30595 cat >>conftest.$ac_ext <<_ACEOF
30596 /* end confdefs.h. */
30597 #include <windows.h>
30598
30599 #include <$ac_header>
30600 _ACEOF
30601 rm -f conftest.$ac_objext
30602 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30603 (eval $ac_compile) 2>conftest.er1
30604 ac_status=$?
30605 grep -v '^ *+' conftest.er1 >conftest.err
30606 rm -f conftest.er1
30607 cat conftest.err >&5
30608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30609 (exit $ac_status); } &&
30610 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30612 (eval $ac_try) 2>&5
30613 ac_status=$?
30614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30615 (exit $ac_status); }; } &&
30616 { ac_try='test -s conftest.$ac_objext'
30617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30618 (eval $ac_try) 2>&5
30619 ac_status=$?
30620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30621 (exit $ac_status); }; }; then
30622 eval "$as_ac_Header=yes"
30623 else
30624 echo "$as_me: failed program was:" >&5
30625 sed 's/^/| /' conftest.$ac_ext >&5
30626
30627 eval "$as_ac_Header=no"
30628 fi
30629 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30630 fi
30631 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30632 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30633 if test `eval echo '${'$as_ac_Header'}'` = yes; then
30634 cat >>confdefs.h <<_ACEOF
30635 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
30636 _ACEOF
30637
30638 else
30639
30640 wxUSE_DISPLAY="no"
30641 { echo "$as_me:$LINENO: WARNING: ddraw.h or multimon.h not found; disabling wxDisplay" >&5
30642 echo "$as_me: WARNING: ddraw.h or multimon.h not found; disabling wxDisplay" >&2;}
30643
30644 fi
30645
30646 done
30647
30648 fi
30649 fi
30650
30651
30652 USE_OPENGL=0
30653 if test "$wxUSE_OPENGL" = "yes"; then
30654 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
30655 OPENGL_LIBS="-framework OpenGL -framework AGL"
30656 elif test "$wxUSE_MSW" = 1; then
30657 OPENGL_LIBS="-lopengl32 -lglu32"
30658 else
30659
30660
30661 ac_find_includes=
30662 for ac_dir in $SEARCH_INCLUDE /usr/include;
30663 do
30664 if test -f "$ac_dir/GL/gl.h"; then
30665 ac_find_includes=$ac_dir
30666 break
30667 fi
30668 done
30669
30670 if test "$ac_find_includes" != "" ; then
30671 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
30672 echo "${ECHO_T}found in $ac_find_includes" >&6
30673
30674 if test "x$ac_find_includes" = "x/usr/include"; then
30675 ac_path_to_include=""
30676 else
30677 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
30678 result=$?
30679 if test $result = 0; then
30680 ac_path_to_include=""
30681 else
30682 ac_path_to_include=" -I$ac_find_includes"
30683 fi
30684 fi
30685
30686 CPPFLAGS="$CPPFLAGS$ac_path_to_include"
30687 fi
30688
30689 if test "${ac_cv_header_GL_gl_h+set}" = set; then
30690 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
30691 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
30692 if test "${ac_cv_header_GL_gl_h+set}" = set; then
30693 echo $ECHO_N "(cached) $ECHO_C" >&6
30694 fi
30695 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
30696 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
30697 else
30698 # Is the header compilable?
30699 echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
30700 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
30701 cat >conftest.$ac_ext <<_ACEOF
30702 /* confdefs.h. */
30703 _ACEOF
30704 cat confdefs.h >>conftest.$ac_ext
30705 cat >>conftest.$ac_ext <<_ACEOF
30706 /* end confdefs.h. */
30707 $ac_includes_default
30708 #include <GL/gl.h>
30709 _ACEOF
30710 rm -f conftest.$ac_objext
30711 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30712 (eval $ac_compile) 2>conftest.er1
30713 ac_status=$?
30714 grep -v '^ *+' conftest.er1 >conftest.err
30715 rm -f conftest.er1
30716 cat conftest.err >&5
30717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30718 (exit $ac_status); } &&
30719 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30721 (eval $ac_try) 2>&5
30722 ac_status=$?
30723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30724 (exit $ac_status); }; } &&
30725 { ac_try='test -s conftest.$ac_objext'
30726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30727 (eval $ac_try) 2>&5
30728 ac_status=$?
30729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30730 (exit $ac_status); }; }; then
30731 ac_header_compiler=yes
30732 else
30733 echo "$as_me: failed program was:" >&5
30734 sed 's/^/| /' conftest.$ac_ext >&5
30735
30736 ac_header_compiler=no
30737 fi
30738 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30739 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
30740 echo "${ECHO_T}$ac_header_compiler" >&6
30741
30742 # Is the header present?
30743 echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
30744 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
30745 cat >conftest.$ac_ext <<_ACEOF
30746 /* confdefs.h. */
30747 _ACEOF
30748 cat confdefs.h >>conftest.$ac_ext
30749 cat >>conftest.$ac_ext <<_ACEOF
30750 /* end confdefs.h. */
30751 #include <GL/gl.h>
30752 _ACEOF
30753 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
30754 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
30755 ac_status=$?
30756 grep -v '^ *+' conftest.er1 >conftest.err
30757 rm -f conftest.er1
30758 cat conftest.err >&5
30759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30760 (exit $ac_status); } >/dev/null; then
30761 if test -s conftest.err; then
30762 ac_cpp_err=$ac_c_preproc_warn_flag
30763 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
30764 else
30765 ac_cpp_err=
30766 fi
30767 else
30768 ac_cpp_err=yes
30769 fi
30770 if test -z "$ac_cpp_err"; then
30771 ac_header_preproc=yes
30772 else
30773 echo "$as_me: failed program was:" >&5
30774 sed 's/^/| /' conftest.$ac_ext >&5
30775
30776 ac_header_preproc=no
30777 fi
30778 rm -f conftest.err conftest.$ac_ext
30779 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30780 echo "${ECHO_T}$ac_header_preproc" >&6
30781
30782 # So? What about this header?
30783 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
30784 yes:no: )
30785 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
30786 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
30787 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the compiler's result" >&5
30788 echo "$as_me: WARNING: GL/gl.h: proceeding with the compiler's result" >&2;}
30789 ac_header_preproc=yes
30790 ;;
30791 no:yes:* )
30792 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
30793 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
30794 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
30795 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
30796 { echo "$as_me:$LINENO: WARNING: GL/gl.h: see the Autoconf documentation" >&5
30797 echo "$as_me: WARNING: GL/gl.h: see the Autoconf documentation" >&2;}
30798 { echo "$as_me:$LINENO: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&5
30799 echo "$as_me: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&2;}
30800 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
30801 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
30802 { echo "$as_me:$LINENO: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&5
30803 echo "$as_me: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&2;}
30804 (
30805 cat <<\_ASBOX
30806 ## ----------------------------------------- ##
30807 ## Report this to wx-dev@lists.wxwidgets.org ##
30808 ## ----------------------------------------- ##
30809 _ASBOX
30810 ) |
30811 sed "s/^/$as_me: WARNING: /" >&2
30812 ;;
30813 esac
30814 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
30815 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
30816 if test "${ac_cv_header_GL_gl_h+set}" = set; then
30817 echo $ECHO_N "(cached) $ECHO_C" >&6
30818 else
30819 ac_cv_header_GL_gl_h=$ac_header_preproc
30820 fi
30821 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
30822 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
30823
30824 fi
30825 if test $ac_cv_header_GL_gl_h = yes; then
30826
30827 found_gl=0
30828
30829 echo "$as_me:$LINENO: checking for -lGL" >&5
30830 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
30831
30832 ac_find_libraries=
30833 for ac_dir in $SEARCH_LIB;
30834 do
30835 for ac_extension in a so sl dylib dll.a; do
30836 if test -f "$ac_dir/libGL.$ac_extension"; then
30837 ac_find_libraries=$ac_dir
30838 break 2
30839 fi
30840 done
30841 done
30842
30843 if test "$ac_find_libraries" != "" ; then
30844 echo "$as_me:$LINENO: result: yes" >&5
30845 echo "${ECHO_T}yes" >&6
30846
30847
30848 if test "$ac_find_libraries" = "default location"; then
30849 ac_path_to_link=""
30850 else
30851 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
30852 result=$?
30853 if test $result = 0; then
30854 ac_path_to_link=""
30855 else
30856 ac_path_to_link=" -L$ac_find_libraries"
30857 fi
30858 fi
30859
30860 if test "$ac_path_to_link" != " -L/usr/lib" ; then
30861 LDFLAGS_GL="$ac_path_to_link"
30862 fi
30863
30864 echo "$as_me:$LINENO: checking for -lGLU" >&5
30865 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6
30866
30867 ac_find_libraries=
30868 for ac_dir in $SEARCH_LIB;
30869 do
30870 for ac_extension in a so sl dylib dll.a; do
30871 if test -f "$ac_dir/libGLU.$ac_extension"; then
30872 ac_find_libraries=$ac_dir
30873 break 2
30874 fi
30875 done
30876 done
30877
30878 if test "$ac_find_libraries" != "" ; then
30879
30880 if test "$ac_find_libraries" = "default location"; then
30881 ac_path_to_link=""
30882 else
30883 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
30884 result=$?
30885 if test $result = 0; then
30886 ac_path_to_link=""
30887 else
30888 ac_path_to_link=" -L$ac_find_libraries"
30889 fi
30890 fi
30891
30892 if test "$ac_path_to_link" != " -L/usr/lib" -a \
30893 "$ac_path_to_link" != "$LDFLAGS_GL"; then
30894 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
30895 fi
30896
30897 found_gl=1
30898 OPENGL_LIBS="-lGL -lGLU"
30899 echo "$as_me:$LINENO: result: yes" >&5
30900 echo "${ECHO_T}yes" >&6
30901 else
30902 echo "$as_me:$LINENO: result: no" >&5
30903 echo "${ECHO_T}no" >&6
30904 fi
30905 else
30906 echo "$as_me:$LINENO: result: no" >&5
30907 echo "${ECHO_T}no" >&6
30908 fi
30909
30910 if test "$found_gl" != 1; then
30911 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
30912 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
30913
30914 ac_find_libraries=
30915 for ac_dir in $SEARCH_LIB;
30916 do
30917 for ac_extension in a so sl dylib dll.a; do
30918 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
30919 ac_find_libraries=$ac_dir
30920 break 2
30921 fi
30922 done
30923 done
30924
30925 if test "$ac_find_libraries" != "" ; then
30926
30927 if test "$ac_find_libraries" = "default location"; then
30928 ac_path_to_link=""
30929 else
30930 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
30931 result=$?
30932 if test $result = 0; then
30933 ac_path_to_link=""
30934 else
30935 ac_path_to_link=" -L$ac_find_libraries"
30936 fi
30937 fi
30938
30939 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
30940 OPENGL_LIBS="-lMesaGL -lMesaGLU"
30941 echo "$as_me:$LINENO: result: yes" >&5
30942 echo "${ECHO_T}yes" >&6
30943 else
30944 echo "$as_me:$LINENO: result: no" >&5
30945 echo "${ECHO_T}no" >&6
30946 fi
30947 fi
30948
30949 fi
30950
30951
30952
30953 if test "x$OPENGL_LIBS" = "x"; then
30954 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
30955 echo "$as_me: error: OpenGL libraries not available" >&2;}
30956 { (exit 1); exit 1; }; }
30957 fi
30958 fi
30959
30960 if test "$wxUSE_OPENGL" = "yes"; then
30961 USE_OPENGL=1
30962 cat >>confdefs.h <<\_ACEOF
30963 #define wxUSE_OPENGL 1
30964 _ACEOF
30965
30966 cat >>confdefs.h <<\_ACEOF
30967 #define wxUSE_GLCANVAS 1
30968 _ACEOF
30969
30970 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
30971 fi
30972 fi
30973
30974
30975 if test -n "$TOOLKIT" ; then
30976 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
30977 fi
30978
30979
30980
30981 if test "$wxUSE_SHARED" = "yes"; then
30982 case "${host}" in
30983 *-pc-msdosdjgpp )
30984 wxUSE_SHARED=no
30985 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
30986 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
30987 ;;
30988 esac
30989 fi
30990
30991 if test "$wxUSE_SHARED" = "yes"; then
30992
30993
30994 found_versioning=no
30995
30996
30997 if test $found_versioning = no ; then
30998 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
30999 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
31000 if test "${wx_cv_version_script+set}" = set; then
31001 echo $ECHO_N "(cached) $ECHO_C" >&6
31002 else
31003
31004 echo "VER_1 { *; };" >conftest.sym
31005 echo "int main() { return 0; }" >conftest.cpp
31006
31007 if { ac_try='
31008 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
31009 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
31010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31011 (eval $ac_try) 2>&5
31012 ac_status=$?
31013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31014 (exit $ac_status); }; } ; then
31015 if test -s conftest.stderr ; then
31016 wx_cv_version_script=no
31017 else
31018 wx_cv_version_script=yes
31019 fi
31020 else
31021 wx_cv_version_script=no
31022 fi
31023
31024 if test $wx_cv_version_script = yes
31025 then
31026 echo "struct B { virtual ~B() { } }; \
31027 struct D : public B { }; \
31028 void F() { D d; }" > conftest.cpp
31029
31030 if { ac_try='
31031 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
31032 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
31033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31034 (eval $ac_try) 2>&5
31035 ac_status=$?
31036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31037 (exit $ac_status); }; } &&
31038 { ac_try='
31039 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
31040 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
31041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31042 (eval $ac_try) 2>&5
31043 ac_status=$?
31044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31045 (exit $ac_status); }; }
31046 then
31047 if { ac_try='
31048 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
31049 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
31050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31051 (eval $ac_try) 2>&5
31052 ac_status=$?
31053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31054 (exit $ac_status); }; }
31055 then
31056 wx_cv_version_script=yes
31057 else
31058 wx_cv_version_script=no
31059 fi
31060 fi
31061 fi
31062
31063 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
31064 rm -f conftest1.output conftest2.output conftest3.output
31065
31066 fi
31067 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
31068 echo "${ECHO_T}$wx_cv_version_script" >&6
31069 if test $wx_cv_version_script = yes ; then
31070 LDFLAGS_VERSIONING="-Wl,--version-script,\$(top_builddir)version-script"
31071 fi
31072 fi
31073
31074
31075 case "${host}" in
31076 *-*-linux* | *-*-gnu* )
31077 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(top_builddir)lib"
31078 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
31079 ;;
31080
31081 *-*-solaris2* )
31082 if test "$GCC" = yes ; then
31083 CPPFLAGS="$CPPFLAGS -isystem /usr/openwin/include"
31084
31085 saveLdflags="$LDFLAGS"
31086 LDFLAGS="$saveLdflags -Wl,-rpath,/"
31087 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
31088 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
31089 cat >conftest.$ac_ext <<_ACEOF
31090 /* confdefs.h. */
31091 _ACEOF
31092 cat confdefs.h >>conftest.$ac_ext
31093 cat >>conftest.$ac_ext <<_ACEOF
31094 /* end confdefs.h. */
31095
31096 int
31097 main ()
31098 {
31099
31100 ;
31101 return 0;
31102 }
31103 _ACEOF
31104 rm -f conftest.$ac_objext conftest$ac_exeext
31105 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31106 (eval $ac_link) 2>conftest.er1
31107 ac_status=$?
31108 grep -v '^ *+' conftest.er1 >conftest.err
31109 rm -f conftest.er1
31110 cat conftest.err >&5
31111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31112 (exit $ac_status); } &&
31113 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31115 (eval $ac_try) 2>&5
31116 ac_status=$?
31117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31118 (exit $ac_status); }; } &&
31119 { ac_try='test -s conftest$ac_exeext'
31120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31121 (eval $ac_try) 2>&5
31122 ac_status=$?
31123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31124 (exit $ac_status); }; }; then
31125
31126 echo "$as_me:$LINENO: result: yes" >&5
31127 echo "${ECHO_T}yes" >&6
31128 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(top_builddir)lib"
31129 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
31130
31131 else
31132 echo "$as_me: failed program was:" >&5
31133 sed 's/^/| /' conftest.$ac_ext >&5
31134
31135
31136 echo "$as_me:$LINENO: result: no" >&5
31137 echo "${ECHO_T}no" >&6
31138 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
31139 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
31140 LDFLAGS="$saveLdflags -Wl,-R,/"
31141 cat >conftest.$ac_ext <<_ACEOF
31142 /* confdefs.h. */
31143 _ACEOF
31144 cat confdefs.h >>conftest.$ac_ext
31145 cat >>conftest.$ac_ext <<_ACEOF
31146 /* end confdefs.h. */
31147
31148 int
31149 main ()
31150 {
31151
31152 ;
31153 return 0;
31154 }
31155 _ACEOF
31156 rm -f conftest.$ac_objext conftest$ac_exeext
31157 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31158 (eval $ac_link) 2>conftest.er1
31159 ac_status=$?
31160 grep -v '^ *+' conftest.er1 >conftest.err
31161 rm -f conftest.er1
31162 cat conftest.err >&5
31163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31164 (exit $ac_status); } &&
31165 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31167 (eval $ac_try) 2>&5
31168 ac_status=$?
31169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31170 (exit $ac_status); }; } &&
31171 { ac_try='test -s conftest$ac_exeext'
31172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31173 (eval $ac_try) 2>&5
31174 ac_status=$?
31175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31176 (exit $ac_status); }; }; then
31177
31178 echo "$as_me:$LINENO: result: yes" >&5
31179 echo "${ECHO_T}yes" >&6
31180 SAMPLES_RPATH_FLAG="-Wl,-R,\$(top_builddir)lib"
31181 WXCONFIG_RPATH="-Wl,-R,\$libdir"
31182
31183 else
31184 echo "$as_me: failed program was:" >&5
31185 sed 's/^/| /' conftest.$ac_ext >&5
31186
31187
31188 echo "$as_me:$LINENO: result: no" >&5
31189 echo "${ECHO_T}no" >&6
31190
31191 fi
31192 rm -f conftest.err conftest.$ac_objext \
31193 conftest$ac_exeext conftest.$ac_ext
31194
31195 fi
31196 rm -f conftest.err conftest.$ac_objext \
31197 conftest$ac_exeext conftest.$ac_ext
31198 LDFLAGS="$saveLdflags"
31199 else
31200 SAMPLES_RPATH_FLAG="-R\$(top_builddir)lib"
31201 WXCONFIG_RPATH="-R\$libdir"
31202 fi
31203 ;;
31204
31205 *-*-darwin* )
31206 install_name_tool=`which install_name_tool`
31207 if test "$install_name_tool" -a -x "$install_name_tool"; then
31208 SAMPLES_RPATH_POSTLINK="\$(top_builddir)change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
31209 cat <<EOF >change-install-names
31210 #!/bin/sh
31211 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
31212 inst_cmd="install_name_tool "
31213 for i in \${libnames} ; do
31214 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
31215 done
31216 \${inst_cmd} \${3}
31217 EOF
31218 chmod +x change-install-names
31219 fi
31220 ;;
31221
31222 *-*-cygwin* | *-*-mingw32* )
31223 TOOLCHAIN_DLL_DEFS="${TOOLCHAIN_DLL_DEFS} -DWXUSINGDLL=1"
31224 ;;
31225
31226 *-*-hpux* )
31227 SAMPLES_RPATH_FLAG="-Wl,+b,\$(top_builddir)lib"
31228 WXCONFIG_RPATH="-Wl,+b,\$libdir"
31229 ;;
31230
31231 esac
31232
31233 if test $wxUSE_RPATH = "no"; then
31234 SAMPLES_RPATH_FLAG=''
31235 SAMPLES_RPATH_POSTLINK=''
31236 WXCONFIG_RPATH=''
31237 fi
31238
31239 SHARED=1
31240
31241 else
31242
31243 config_linkage_component="-static"
31244 SHARED=0
31245
31246 fi
31247
31248
31249 UNICODE=0
31250 lib_unicode_suffix=
31251 WX_CHARTYPE="ansi"
31252 if test "$wxUSE_UNICODE" = "yes"; then
31253 lib_unicode_suffix=u
31254 WX_CHARTYPE="unicode"
31255 UNICODE=1
31256 fi
31257
31258 lib_debug_suffix=
31259 WX_DEBUGTYPE="release"
31260 DEBUG_FLAG=0
31261 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
31262 lib_debug_suffix=d
31263 WX_DEBUGTYPE="debug"
31264 DEBUG_FLAG=1
31265 fi
31266
31267 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
31268 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
31269
31270 DEBUG_INFO=0
31271 if test "$wxUSE_DEBUG_INFO" = "yes"; then
31272 DEBUG_INFO=1
31273 fi
31274
31275 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
31276
31277 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
31278
31279 TOOLCHAIN_FULLNAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
31280
31281 if test "$cross_compiling" = "yes"; then
31282 HOST_SUFFIX="-$host_alias"
31283 TOOLCHAIN_NAME="$TOOLCHAIN_NAME$HOST_SUFFIX"
31284 TOOLCHAIN_FULLNAME="${host_alias}-$TOOLCHAIN_FULLNAME"
31285 fi
31286
31287 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
31288 if test "${TOOLKIT_DIR}" = "os2"; then
31289 WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
31290 else
31291 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
31292 fi
31293
31294
31295
31296 if test "$wxUSE_COCOA" = 1; then
31297
31298
31299 ac_ext=c
31300 ac_cpp='$CPP $CPPFLAGS'
31301 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31302 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31303 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31304
31305 ac_ext=m
31306
31307 echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
31308 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6
31309 cat >conftest.$ac_ext <<_ACEOF
31310 /* confdefs.h. */
31311 _ACEOF
31312 cat confdefs.h >>conftest.$ac_ext
31313 cat >>conftest.$ac_ext <<_ACEOF
31314 /* end confdefs.h. */
31315 #include <AppKit/NSEvent.h>
31316 #include <CoreFoundation/CoreFoundation.h>
31317
31318 int
31319 main ()
31320 {
31321
31322 ;
31323 return 0;
31324 }
31325 _ACEOF
31326 rm -f conftest.$ac_objext
31327 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31328 (eval $ac_compile) 2>conftest.er1
31329 ac_status=$?
31330 grep -v '^ *+' conftest.er1 >conftest.err
31331 rm -f conftest.er1
31332 cat conftest.err >&5
31333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31334 (exit $ac_status); } &&
31335 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31337 (eval $ac_try) 2>&5
31338 ac_status=$?
31339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31340 (exit $ac_status); }; } &&
31341 { ac_try='test -s conftest.$ac_objext'
31342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31343 (eval $ac_try) 2>&5
31344 ac_status=$?
31345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31346 (exit $ac_status); }; }; then
31347 echo "$as_me:$LINENO: result: no" >&5
31348 echo "${ECHO_T}no" >&6
31349 else
31350 echo "$as_me: failed program was:" >&5
31351 sed 's/^/| /' conftest.$ac_ext >&5
31352
31353 echo "$as_me:$LINENO: result: yes" >&5
31354 echo "${ECHO_T}yes" >&6
31355 echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
31356 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6
31357 cat >conftest.$ac_ext <<_ACEOF
31358 /* confdefs.h. */
31359 _ACEOF
31360 cat confdefs.h >>conftest.$ac_ext
31361 cat >>conftest.$ac_ext <<_ACEOF
31362 /* end confdefs.h. */
31363 #define __Point__ 1
31364 #include <AppKit/NSEvent.h>
31365 #include <CoreFoundation/CoreFoundation.h>
31366
31367 int
31368 main ()
31369 {
31370
31371 ;
31372 return 0;
31373 }
31374 _ACEOF
31375 rm -f conftest.$ac_objext
31376 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31377 (eval $ac_compile) 2>conftest.er1
31378 ac_status=$?
31379 grep -v '^ *+' conftest.er1 >conftest.err
31380 rm -f conftest.er1
31381 cat conftest.err >&5
31382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31383 (exit $ac_status); } &&
31384 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31386 (eval $ac_try) 2>&5
31387 ac_status=$?
31388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31389 (exit $ac_status); }; } &&
31390 { ac_try='test -s conftest.$ac_objext'
31391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31392 (eval $ac_try) 2>&5
31393 ac_status=$?
31394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31395 (exit $ac_status); }; }; then
31396 echo "$as_me:$LINENO: result: yes" >&5
31397 echo "${ECHO_T}yes" >&6
31398 cat >>confdefs.h <<\_ACEOF
31399 #define __Point__ 1
31400 _ACEOF
31401
31402
31403 else
31404 echo "$as_me: failed program was:" >&5
31405 sed 's/^/| /' conftest.$ac_ext >&5
31406
31407 { { echo "$as_me:$LINENO: error: no
31408 See \`config.log' for more details." >&5
31409 echo "$as_me: error: no
31410 See \`config.log' for more details." >&2;}
31411 { (exit 1); exit 1; }; }
31412
31413 fi
31414 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31415
31416 fi
31417 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31418 ac_ext=c
31419 ac_cpp='$CPP $CPPFLAGS'
31420 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31421 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31422 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31423
31424 fi
31425
31426 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
31427 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
31428 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
31429
31430 LIBWXMACRES="\$(top_builddir)lib/${WX_RESOURCES_MACOSX_ASCII}"
31431
31432 # Extract the first word of "Rez", so it can be a program name with args.
31433 set dummy Rez; ac_word=$2
31434 echo "$as_me:$LINENO: checking for $ac_word" >&5
31435 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
31436 if test "${ac_cv_prog_RESCOMP+set}" = set; then
31437 echo $ECHO_N "(cached) $ECHO_C" >&6
31438 else
31439 if test -n "$RESCOMP"; then
31440 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
31441 else
31442 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31443 for as_dir in $PATH
31444 do
31445 IFS=$as_save_IFS
31446 test -z "$as_dir" && as_dir=.
31447 for ac_exec_ext in '' $ac_executable_extensions; do
31448 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
31449 ac_cv_prog_RESCOMP="Rez"
31450 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31451 break 2
31452 fi
31453 done
31454 done
31455
31456 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="/Developer/Tools/Rez"
31457 fi
31458 fi
31459 RESCOMP=$ac_cv_prog_RESCOMP
31460 if test -n "$RESCOMP"; then
31461 echo "$as_me:$LINENO: result: $RESCOMP" >&5
31462 echo "${ECHO_T}$RESCOMP" >&6
31463 else
31464 echo "$as_me:$LINENO: result: no" >&5
31465 echo "${ECHO_T}no" >&6
31466 fi
31467
31468 # Extract the first word of "DeRez", so it can be a program name with args.
31469 set dummy DeRez; ac_word=$2
31470 echo "$as_me:$LINENO: checking for $ac_word" >&5
31471 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
31472 if test "${ac_cv_prog_DEREZ+set}" = set; then
31473 echo $ECHO_N "(cached) $ECHO_C" >&6
31474 else
31475 if test -n "$DEREZ"; then
31476 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
31477 else
31478 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31479 for as_dir in $PATH
31480 do
31481 IFS=$as_save_IFS
31482 test -z "$as_dir" && as_dir=.
31483 for ac_exec_ext in '' $ac_executable_extensions; do
31484 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
31485 ac_cv_prog_DEREZ="DeRez"
31486 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31487 break 2
31488 fi
31489 done
31490 done
31491
31492 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
31493 fi
31494 fi
31495 DEREZ=$ac_cv_prog_DEREZ
31496 if test -n "$DEREZ"; then
31497 echo "$as_me:$LINENO: result: $DEREZ" >&5
31498 echo "${ECHO_T}$DEREZ" >&6
31499 else
31500 echo "$as_me:$LINENO: result: no" >&5
31501 echo "${ECHO_T}no" >&6
31502 fi
31503
31504 # Extract the first word of "SetFile", so it can be a program name with args.
31505 set dummy SetFile; ac_word=$2
31506 echo "$as_me:$LINENO: checking for $ac_word" >&5
31507 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
31508 if test "${ac_cv_prog_SETFILE+set}" = set; then
31509 echo $ECHO_N "(cached) $ECHO_C" >&6
31510 else
31511 if test -n "$SETFILE"; then
31512 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
31513 else
31514 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31515 for as_dir in $PATH
31516 do
31517 IFS=$as_save_IFS
31518 test -z "$as_dir" && as_dir=.
31519 for ac_exec_ext in '' $ac_executable_extensions; do
31520 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
31521 ac_cv_prog_SETFILE="SetFile"
31522 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31523 break 2
31524 fi
31525 done
31526 done
31527
31528 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
31529 fi
31530 fi
31531 SETFILE=$ac_cv_prog_SETFILE
31532 if test -n "$SETFILE"; then
31533 echo "$as_me:$LINENO: result: $SETFILE" >&5
31534 echo "${ECHO_T}$SETFILE" >&6
31535 else
31536 echo "$as_me:$LINENO: result: no" >&5
31537 echo "${ECHO_T}no" >&6
31538 fi
31539
31540
31541 MACSETFILE="\$(SETFILE)"
31542
31543 if test "$wxUSE_MAC" = 1; then
31544 MACRESCOMP="\$(RESCOMP) -d __DARWIN__ -t APPL Carbon.r -o"
31545
31546 MACRESWXCONFIG="${RESCOMP} -d __DARWIN__ -t APPL Carbon.r -o"
31547 else
31548 MACRESCOMP="echo -n | \$(RESCOMP) -d __DARWIN__ -t APPL ${LIBWXMACRES} -o"
31549 MACRESWXCONFIG="echo -n \\\| ${RESCOMP} -d __DARWIN__ -t APPL \\\${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
31550 fi
31551 else
31552 MACSETFILE="@true"
31553 MACRESWXCONFIG="@true"
31554
31555 if test "$wxUSE_PM" = 1; then
31556 MACRESCOMP="emxbind -ep"
31557 else
31558 MACRESCOMP="@true"
31559 fi
31560 fi
31561
31562
31563
31564 echo "$as_me:$LINENO: checking for mode_t" >&5
31565 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
31566 if test "${ac_cv_type_mode_t+set}" = set; then
31567 echo $ECHO_N "(cached) $ECHO_C" >&6
31568 else
31569 cat >conftest.$ac_ext <<_ACEOF
31570 /* confdefs.h. */
31571 _ACEOF
31572 cat confdefs.h >>conftest.$ac_ext
31573 cat >>conftest.$ac_ext <<_ACEOF
31574 /* end confdefs.h. */
31575 $ac_includes_default
31576 int
31577 main ()
31578 {
31579 if ((mode_t *) 0)
31580 return 0;
31581 if (sizeof (mode_t))
31582 return 0;
31583 ;
31584 return 0;
31585 }
31586 _ACEOF
31587 rm -f conftest.$ac_objext
31588 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31589 (eval $ac_compile) 2>conftest.er1
31590 ac_status=$?
31591 grep -v '^ *+' conftest.er1 >conftest.err
31592 rm -f conftest.er1
31593 cat conftest.err >&5
31594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31595 (exit $ac_status); } &&
31596 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31598 (eval $ac_try) 2>&5
31599 ac_status=$?
31600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31601 (exit $ac_status); }; } &&
31602 { ac_try='test -s conftest.$ac_objext'
31603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31604 (eval $ac_try) 2>&5
31605 ac_status=$?
31606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31607 (exit $ac_status); }; }; then
31608 ac_cv_type_mode_t=yes
31609 else
31610 echo "$as_me: failed program was:" >&5
31611 sed 's/^/| /' conftest.$ac_ext >&5
31612
31613 ac_cv_type_mode_t=no
31614 fi
31615 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31616 fi
31617 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
31618 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
31619 if test $ac_cv_type_mode_t = yes; then
31620 :
31621 else
31622
31623 cat >>confdefs.h <<_ACEOF
31624 #define mode_t int
31625 _ACEOF
31626
31627 fi
31628
31629 echo "$as_me:$LINENO: checking for off_t" >&5
31630 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
31631 if test "${ac_cv_type_off_t+set}" = set; then
31632 echo $ECHO_N "(cached) $ECHO_C" >&6
31633 else
31634 cat >conftest.$ac_ext <<_ACEOF
31635 /* confdefs.h. */
31636 _ACEOF
31637 cat confdefs.h >>conftest.$ac_ext
31638 cat >>conftest.$ac_ext <<_ACEOF
31639 /* end confdefs.h. */
31640 $ac_includes_default
31641 int
31642 main ()
31643 {
31644 if ((off_t *) 0)
31645 return 0;
31646 if (sizeof (off_t))
31647 return 0;
31648 ;
31649 return 0;
31650 }
31651 _ACEOF
31652 rm -f conftest.$ac_objext
31653 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31654 (eval $ac_compile) 2>conftest.er1
31655 ac_status=$?
31656 grep -v '^ *+' conftest.er1 >conftest.err
31657 rm -f conftest.er1
31658 cat conftest.err >&5
31659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31660 (exit $ac_status); } &&
31661 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31663 (eval $ac_try) 2>&5
31664 ac_status=$?
31665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31666 (exit $ac_status); }; } &&
31667 { ac_try='test -s conftest.$ac_objext'
31668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31669 (eval $ac_try) 2>&5
31670 ac_status=$?
31671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31672 (exit $ac_status); }; }; then
31673 ac_cv_type_off_t=yes
31674 else
31675 echo "$as_me: failed program was:" >&5
31676 sed 's/^/| /' conftest.$ac_ext >&5
31677
31678 ac_cv_type_off_t=no
31679 fi
31680 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31681 fi
31682 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
31683 echo "${ECHO_T}$ac_cv_type_off_t" >&6
31684 if test $ac_cv_type_off_t = yes; then
31685 :
31686 else
31687
31688 cat >>confdefs.h <<_ACEOF
31689 #define off_t long
31690 _ACEOF
31691
31692 fi
31693
31694 echo "$as_me:$LINENO: checking for pid_t" >&5
31695 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
31696 if test "${ac_cv_type_pid_t+set}" = set; then
31697 echo $ECHO_N "(cached) $ECHO_C" >&6
31698 else
31699 cat >conftest.$ac_ext <<_ACEOF
31700 /* confdefs.h. */
31701 _ACEOF
31702 cat confdefs.h >>conftest.$ac_ext
31703 cat >>conftest.$ac_ext <<_ACEOF
31704 /* end confdefs.h. */
31705 $ac_includes_default
31706 int
31707 main ()
31708 {
31709 if ((pid_t *) 0)
31710 return 0;
31711 if (sizeof (pid_t))
31712 return 0;
31713 ;
31714 return 0;
31715 }
31716 _ACEOF
31717 rm -f conftest.$ac_objext
31718 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31719 (eval $ac_compile) 2>conftest.er1
31720 ac_status=$?
31721 grep -v '^ *+' conftest.er1 >conftest.err
31722 rm -f conftest.er1
31723 cat conftest.err >&5
31724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31725 (exit $ac_status); } &&
31726 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31728 (eval $ac_try) 2>&5
31729 ac_status=$?
31730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31731 (exit $ac_status); }; } &&
31732 { ac_try='test -s conftest.$ac_objext'
31733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31734 (eval $ac_try) 2>&5
31735 ac_status=$?
31736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31737 (exit $ac_status); }; }; then
31738 ac_cv_type_pid_t=yes
31739 else
31740 echo "$as_me: failed program was:" >&5
31741 sed 's/^/| /' conftest.$ac_ext >&5
31742
31743 ac_cv_type_pid_t=no
31744 fi
31745 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31746 fi
31747 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
31748 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
31749 if test $ac_cv_type_pid_t = yes; then
31750 :
31751 else
31752
31753 cat >>confdefs.h <<_ACEOF
31754 #define pid_t int
31755 _ACEOF
31756
31757 fi
31758
31759 echo "$as_me:$LINENO: checking for size_t" >&5
31760 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
31761 if test "${ac_cv_type_size_t+set}" = set; then
31762 echo $ECHO_N "(cached) $ECHO_C" >&6
31763 else
31764 cat >conftest.$ac_ext <<_ACEOF
31765 /* confdefs.h. */
31766 _ACEOF
31767 cat confdefs.h >>conftest.$ac_ext
31768 cat >>conftest.$ac_ext <<_ACEOF
31769 /* end confdefs.h. */
31770 $ac_includes_default
31771 int
31772 main ()
31773 {
31774 if ((size_t *) 0)
31775 return 0;
31776 if (sizeof (size_t))
31777 return 0;
31778 ;
31779 return 0;
31780 }
31781 _ACEOF
31782 rm -f conftest.$ac_objext
31783 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31784 (eval $ac_compile) 2>conftest.er1
31785 ac_status=$?
31786 grep -v '^ *+' conftest.er1 >conftest.err
31787 rm -f conftest.er1
31788 cat conftest.err >&5
31789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31790 (exit $ac_status); } &&
31791 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31793 (eval $ac_try) 2>&5
31794 ac_status=$?
31795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31796 (exit $ac_status); }; } &&
31797 { ac_try='test -s conftest.$ac_objext'
31798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31799 (eval $ac_try) 2>&5
31800 ac_status=$?
31801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31802 (exit $ac_status); }; }; then
31803 ac_cv_type_size_t=yes
31804 else
31805 echo "$as_me: failed program was:" >&5
31806 sed 's/^/| /' conftest.$ac_ext >&5
31807
31808 ac_cv_type_size_t=no
31809 fi
31810 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31811 fi
31812 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
31813 echo "${ECHO_T}$ac_cv_type_size_t" >&6
31814 if test $ac_cv_type_size_t = yes; then
31815 :
31816 else
31817
31818 cat >>confdefs.h <<_ACEOF
31819 #define size_t unsigned
31820 _ACEOF
31821
31822 fi
31823
31824 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
31825 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
31826 if test "${ac_cv_type_uid_t+set}" = set; then
31827 echo $ECHO_N "(cached) $ECHO_C" >&6
31828 else
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 #include <sys/types.h>
31836
31837 _ACEOF
31838 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
31839 $EGREP "uid_t" >/dev/null 2>&1; then
31840 ac_cv_type_uid_t=yes
31841 else
31842 ac_cv_type_uid_t=no
31843 fi
31844 rm -f conftest*
31845
31846 fi
31847 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
31848 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
31849 if test $ac_cv_type_uid_t = no; then
31850
31851 cat >>confdefs.h <<\_ACEOF
31852 #define uid_t int
31853 _ACEOF
31854
31855
31856 cat >>confdefs.h <<\_ACEOF
31857 #define gid_t int
31858 _ACEOF
31859
31860 fi
31861
31862
31863 echo "$as_me:$LINENO: checking for ssize_t" >&5
31864 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
31865 if test "${ac_cv_type_ssize_t+set}" = set; then
31866 echo $ECHO_N "(cached) $ECHO_C" >&6
31867 else
31868 cat >conftest.$ac_ext <<_ACEOF
31869 /* confdefs.h. */
31870 _ACEOF
31871 cat confdefs.h >>conftest.$ac_ext
31872 cat >>conftest.$ac_ext <<_ACEOF
31873 /* end confdefs.h. */
31874 $ac_includes_default
31875 int
31876 main ()
31877 {
31878 if ((ssize_t *) 0)
31879 return 0;
31880 if (sizeof (ssize_t))
31881 return 0;
31882 ;
31883 return 0;
31884 }
31885 _ACEOF
31886 rm -f conftest.$ac_objext
31887 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31888 (eval $ac_compile) 2>conftest.er1
31889 ac_status=$?
31890 grep -v '^ *+' conftest.er1 >conftest.err
31891 rm -f conftest.er1
31892 cat conftest.err >&5
31893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31894 (exit $ac_status); } &&
31895 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31897 (eval $ac_try) 2>&5
31898 ac_status=$?
31899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31900 (exit $ac_status); }; } &&
31901 { ac_try='test -s conftest.$ac_objext'
31902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31903 (eval $ac_try) 2>&5
31904 ac_status=$?
31905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31906 (exit $ac_status); }; }; then
31907 ac_cv_type_ssize_t=yes
31908 else
31909 echo "$as_me: failed program was:" >&5
31910 sed 's/^/| /' conftest.$ac_ext >&5
31911
31912 ac_cv_type_ssize_t=no
31913 fi
31914 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31915 fi
31916 echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
31917 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
31918 if test $ac_cv_type_ssize_t = yes; then
31919
31920 cat >>confdefs.h <<_ACEOF
31921 #define HAVE_SSIZE_T 1
31922 _ACEOF
31923
31924
31925 fi
31926
31927
31928
31929
31930 ac_ext=cc
31931 ac_cpp='$CXXCPP $CPPFLAGS'
31932 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31933 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31934 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31935
31936 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
31937 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
31938 if test "${wx_cv_size_t_is_uint+set}" = set; then
31939 echo $ECHO_N "(cached) $ECHO_C" >&6
31940 else
31941
31942 cat >conftest.$ac_ext <<_ACEOF
31943 /* confdefs.h. */
31944 _ACEOF
31945 cat confdefs.h >>conftest.$ac_ext
31946 cat >>conftest.$ac_ext <<_ACEOF
31947 /* end confdefs.h. */
31948 #include <stddef.h>
31949 int
31950 main ()
31951 {
31952
31953 return 0; }
31954
31955 struct Foo { void foo(size_t); void foo(unsigned int); };
31956
31957 int bar() {
31958
31959 ;
31960 return 0;
31961 }
31962 _ACEOF
31963 rm -f conftest.$ac_objext
31964 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31965 (eval $ac_compile) 2>conftest.er1
31966 ac_status=$?
31967 grep -v '^ *+' conftest.er1 >conftest.err
31968 rm -f conftest.er1
31969 cat conftest.err >&5
31970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31971 (exit $ac_status); } &&
31972 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31974 (eval $ac_try) 2>&5
31975 ac_status=$?
31976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31977 (exit $ac_status); }; } &&
31978 { ac_try='test -s conftest.$ac_objext'
31979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31980 (eval $ac_try) 2>&5
31981 ac_status=$?
31982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31983 (exit $ac_status); }; }; then
31984 wx_cv_size_t_is_uint=no
31985 else
31986 echo "$as_me: failed program was:" >&5
31987 sed 's/^/| /' conftest.$ac_ext >&5
31988
31989 wx_cv_size_t_is_uint=yes
31990
31991 fi
31992 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31993
31994
31995 fi
31996 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
31997 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
31998
31999 if test "$wx_cv_size_t_is_uint" = "yes"; then
32000 cat >>confdefs.h <<\_ACEOF
32001 #define wxSIZE_T_IS_UINT 1
32002 _ACEOF
32003
32004 else
32005 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
32006 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
32007 if test "${wx_cv_size_t_is_ulong+set}" = set; then
32008 echo $ECHO_N "(cached) $ECHO_C" >&6
32009 else
32010 cat >conftest.$ac_ext <<_ACEOF
32011 /* confdefs.h. */
32012 _ACEOF
32013 cat confdefs.h >>conftest.$ac_ext
32014 cat >>conftest.$ac_ext <<_ACEOF
32015 /* end confdefs.h. */
32016 #include <stddef.h>
32017 int
32018 main ()
32019 {
32020
32021 return 0; }
32022
32023 struct Foo { void foo(size_t); void foo(unsigned long); };
32024
32025 int bar() {
32026
32027 ;
32028 return 0;
32029 }
32030 _ACEOF
32031 rm -f conftest.$ac_objext
32032 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32033 (eval $ac_compile) 2>conftest.er1
32034 ac_status=$?
32035 grep -v '^ *+' conftest.er1 >conftest.err
32036 rm -f conftest.er1
32037 cat conftest.err >&5
32038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32039 (exit $ac_status); } &&
32040 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32042 (eval $ac_try) 2>&5
32043 ac_status=$?
32044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32045 (exit $ac_status); }; } &&
32046 { ac_try='test -s conftest.$ac_objext'
32047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32048 (eval $ac_try) 2>&5
32049 ac_status=$?
32050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32051 (exit $ac_status); }; }; then
32052 wx_cv_size_t_is_ulong=no
32053 else
32054 echo "$as_me: failed program was:" >&5
32055 sed 's/^/| /' conftest.$ac_ext >&5
32056
32057 wx_cv_size_t_is_ulong=yes
32058
32059 fi
32060 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32061
32062 fi
32063 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
32064 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
32065
32066 if test "$wx_cv_size_t_is_ulong" = "yes"; then
32067 cat >>confdefs.h <<\_ACEOF
32068 #define wxSIZE_T_IS_ULONG 1
32069 _ACEOF
32070
32071 fi
32072 fi
32073
32074 ac_ext=c
32075 ac_cpp='$CPP $CPPFLAGS'
32076 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32077 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32078 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32079
32080
32081
32082 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
32083 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
32084 if test "${wx_cv_struct_pw_gecos+set}" = set; then
32085 echo $ECHO_N "(cached) $ECHO_C" >&6
32086 else
32087
32088 cat >conftest.$ac_ext <<_ACEOF
32089 /* confdefs.h. */
32090 _ACEOF
32091 cat confdefs.h >>conftest.$ac_ext
32092 cat >>conftest.$ac_ext <<_ACEOF
32093 /* end confdefs.h. */
32094 #include <pwd.h>
32095 int
32096 main ()
32097 {
32098
32099 char *p;
32100 struct passwd *pw;
32101 p = pw->pw_gecos;
32102
32103 ;
32104 return 0;
32105 }
32106 _ACEOF
32107 rm -f conftest.$ac_objext
32108 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32109 (eval $ac_compile) 2>conftest.er1
32110 ac_status=$?
32111 grep -v '^ *+' conftest.er1 >conftest.err
32112 rm -f conftest.er1
32113 cat conftest.err >&5
32114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32115 (exit $ac_status); } &&
32116 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32118 (eval $ac_try) 2>&5
32119 ac_status=$?
32120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32121 (exit $ac_status); }; } &&
32122 { ac_try='test -s conftest.$ac_objext'
32123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32124 (eval $ac_try) 2>&5
32125 ac_status=$?
32126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32127 (exit $ac_status); }; }; then
32128
32129 wx_cv_struct_pw_gecos=yes
32130
32131 else
32132 echo "$as_me: failed program was:" >&5
32133 sed 's/^/| /' conftest.$ac_ext >&5
32134
32135
32136 wx_cv_struct_pw_gecos=no
32137
32138
32139 fi
32140 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32141
32142
32143 fi
32144 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
32145 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
32146
32147 if test "$wx_cv_struct_pw_gecos" = "yes"; then
32148 cat >>confdefs.h <<\_ACEOF
32149 #define HAVE_PW_GECOS 1
32150 _ACEOF
32151
32152 fi
32153
32154
32155 if test "$wxUSE_WCHAR_T" = "yes"; then
32156 cat >>confdefs.h <<\_ACEOF
32157 #define wxUSE_WCHAR_T 1
32158 _ACEOF
32159
32160
32161 WCSLEN_FOUND=0
32162 WCHAR_LINK=
32163
32164 for ac_func in wcslen
32165 do
32166 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32167 echo "$as_me:$LINENO: checking for $ac_func" >&5
32168 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32169 if eval "test \"\${$as_ac_var+set}\" = set"; then
32170 echo $ECHO_N "(cached) $ECHO_C" >&6
32171 else
32172 cat >conftest.$ac_ext <<_ACEOF
32173 /* confdefs.h. */
32174 _ACEOF
32175 cat confdefs.h >>conftest.$ac_ext
32176 cat >>conftest.$ac_ext <<_ACEOF
32177 /* end confdefs.h. */
32178 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32179 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32180 #define $ac_func innocuous_$ac_func
32181
32182 /* System header to define __stub macros and hopefully few prototypes,
32183 which can conflict with char $ac_func (); below.
32184 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32185 <limits.h> exists even on freestanding compilers. */
32186
32187 #ifdef __STDC__
32188 # include <limits.h>
32189 #else
32190 # include <assert.h>
32191 #endif
32192
32193 #undef $ac_func
32194
32195 /* Override any gcc2 internal prototype to avoid an error. */
32196 #ifdef __cplusplus
32197 extern "C"
32198 {
32199 #endif
32200 /* We use char because int might match the return type of a gcc2
32201 builtin and then its argument prototype would still apply. */
32202 char $ac_func ();
32203 /* The GNU C library defines this for functions which it implements
32204 to always fail with ENOSYS. Some functions are actually named
32205 something starting with __ and the normal name is an alias. */
32206 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32207 choke me
32208 #else
32209 char (*f) () = $ac_func;
32210 #endif
32211 #ifdef __cplusplus
32212 }
32213 #endif
32214
32215 int
32216 main ()
32217 {
32218 return f != $ac_func;
32219 ;
32220 return 0;
32221 }
32222 _ACEOF
32223 rm -f conftest.$ac_objext conftest$ac_exeext
32224 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32225 (eval $ac_link) 2>conftest.er1
32226 ac_status=$?
32227 grep -v '^ *+' conftest.er1 >conftest.err
32228 rm -f conftest.er1
32229 cat conftest.err >&5
32230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32231 (exit $ac_status); } &&
32232 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32234 (eval $ac_try) 2>&5
32235 ac_status=$?
32236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32237 (exit $ac_status); }; } &&
32238 { ac_try='test -s conftest$ac_exeext'
32239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32240 (eval $ac_try) 2>&5
32241 ac_status=$?
32242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32243 (exit $ac_status); }; }; then
32244 eval "$as_ac_var=yes"
32245 else
32246 echo "$as_me: failed program was:" >&5
32247 sed 's/^/| /' conftest.$ac_ext >&5
32248
32249 eval "$as_ac_var=no"
32250 fi
32251 rm -f conftest.err conftest.$ac_objext \
32252 conftest$ac_exeext conftest.$ac_ext
32253 fi
32254 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32255 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32256 if test `eval echo '${'$as_ac_var'}'` = yes; then
32257 cat >>confdefs.h <<_ACEOF
32258 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32259 _ACEOF
32260 WCSLEN_FOUND=1
32261 fi
32262 done
32263
32264
32265 if test "$WCSLEN_FOUND" = 0; then
32266 if test "$TOOLKIT" = "MSW"; then
32267 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
32268 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
32269 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
32270 echo $ECHO_N "(cached) $ECHO_C" >&6
32271 else
32272 ac_check_lib_save_LIBS=$LIBS
32273 LIBS="-lmsvcrt $LIBS"
32274 cat >conftest.$ac_ext <<_ACEOF
32275 /* confdefs.h. */
32276 _ACEOF
32277 cat confdefs.h >>conftest.$ac_ext
32278 cat >>conftest.$ac_ext <<_ACEOF
32279 /* end confdefs.h. */
32280
32281 /* Override any gcc2 internal prototype to avoid an error. */
32282 #ifdef __cplusplus
32283 extern "C"
32284 #endif
32285 /* We use char because int might match the return type of a gcc2
32286 builtin and then its argument prototype would still apply. */
32287 char wcslen ();
32288 int
32289 main ()
32290 {
32291 wcslen ();
32292 ;
32293 return 0;
32294 }
32295 _ACEOF
32296 rm -f conftest.$ac_objext conftest$ac_exeext
32297 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32298 (eval $ac_link) 2>conftest.er1
32299 ac_status=$?
32300 grep -v '^ *+' conftest.er1 >conftest.err
32301 rm -f conftest.er1
32302 cat conftest.err >&5
32303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32304 (exit $ac_status); } &&
32305 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32307 (eval $ac_try) 2>&5
32308 ac_status=$?
32309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32310 (exit $ac_status); }; } &&
32311 { ac_try='test -s conftest$ac_exeext'
32312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32313 (eval $ac_try) 2>&5
32314 ac_status=$?
32315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32316 (exit $ac_status); }; }; then
32317 ac_cv_lib_msvcrt_wcslen=yes
32318 else
32319 echo "$as_me: failed program was:" >&5
32320 sed 's/^/| /' conftest.$ac_ext >&5
32321
32322 ac_cv_lib_msvcrt_wcslen=no
32323 fi
32324 rm -f conftest.err conftest.$ac_objext \
32325 conftest$ac_exeext conftest.$ac_ext
32326 LIBS=$ac_check_lib_save_LIBS
32327 fi
32328 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
32329 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
32330 if test $ac_cv_lib_msvcrt_wcslen = yes; then
32331 WCHAR_OK=1
32332 fi
32333
32334 else
32335 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
32336 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
32337 if test "${ac_cv_lib_w_wcslen+set}" = set; then
32338 echo $ECHO_N "(cached) $ECHO_C" >&6
32339 else
32340 ac_check_lib_save_LIBS=$LIBS
32341 LIBS="-lw $LIBS"
32342 cat >conftest.$ac_ext <<_ACEOF
32343 /* confdefs.h. */
32344 _ACEOF
32345 cat confdefs.h >>conftest.$ac_ext
32346 cat >>conftest.$ac_ext <<_ACEOF
32347 /* end confdefs.h. */
32348
32349 /* Override any gcc2 internal prototype to avoid an error. */
32350 #ifdef __cplusplus
32351 extern "C"
32352 #endif
32353 /* We use char because int might match the return type of a gcc2
32354 builtin and then its argument prototype would still apply. */
32355 char wcslen ();
32356 int
32357 main ()
32358 {
32359 wcslen ();
32360 ;
32361 return 0;
32362 }
32363 _ACEOF
32364 rm -f conftest.$ac_objext conftest$ac_exeext
32365 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32366 (eval $ac_link) 2>conftest.er1
32367 ac_status=$?
32368 grep -v '^ *+' conftest.er1 >conftest.err
32369 rm -f conftest.er1
32370 cat conftest.err >&5
32371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32372 (exit $ac_status); } &&
32373 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32375 (eval $ac_try) 2>&5
32376 ac_status=$?
32377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32378 (exit $ac_status); }; } &&
32379 { ac_try='test -s conftest$ac_exeext'
32380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32381 (eval $ac_try) 2>&5
32382 ac_status=$?
32383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32384 (exit $ac_status); }; }; then
32385 ac_cv_lib_w_wcslen=yes
32386 else
32387 echo "$as_me: failed program was:" >&5
32388 sed 's/^/| /' conftest.$ac_ext >&5
32389
32390 ac_cv_lib_w_wcslen=no
32391 fi
32392 rm -f conftest.err conftest.$ac_objext \
32393 conftest$ac_exeext conftest.$ac_ext
32394 LIBS=$ac_check_lib_save_LIBS
32395 fi
32396 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
32397 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
32398 if test $ac_cv_lib_w_wcslen = yes; then
32399
32400 WCHAR_LINK=" -lw"
32401 WCSLEN_FOUND=1
32402
32403 fi
32404
32405 fi
32406 fi
32407
32408 if test "$WCSLEN_FOUND" = 1; then
32409 cat >>confdefs.h <<\_ACEOF
32410 #define HAVE_WCSLEN 1
32411 _ACEOF
32412
32413 fi
32414
32415 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
32416 CPPFLAGS="$CPPFLAGS -D_INCLUDE__STDC_A1_SOURCE "
32417 fi
32418
32419 echo "$as_me:$LINENO: checking for mbstate_t" >&5
32420 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
32421 if test "${ac_cv_type_mbstate_t+set}" = set; then
32422 echo $ECHO_N "(cached) $ECHO_C" >&6
32423 else
32424 cat >conftest.$ac_ext <<_ACEOF
32425 /* confdefs.h. */
32426 _ACEOF
32427 cat confdefs.h >>conftest.$ac_ext
32428 cat >>conftest.$ac_ext <<_ACEOF
32429 /* end confdefs.h. */
32430 #include <wchar.h>
32431
32432 int
32433 main ()
32434 {
32435 if ((mbstate_t *) 0)
32436 return 0;
32437 if (sizeof (mbstate_t))
32438 return 0;
32439 ;
32440 return 0;
32441 }
32442 _ACEOF
32443 rm -f conftest.$ac_objext
32444 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32445 (eval $ac_compile) 2>conftest.er1
32446 ac_status=$?
32447 grep -v '^ *+' conftest.er1 >conftest.err
32448 rm -f conftest.er1
32449 cat conftest.err >&5
32450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32451 (exit $ac_status); } &&
32452 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32454 (eval $ac_try) 2>&5
32455 ac_status=$?
32456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32457 (exit $ac_status); }; } &&
32458 { ac_try='test -s conftest.$ac_objext'
32459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32460 (eval $ac_try) 2>&5
32461 ac_status=$?
32462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32463 (exit $ac_status); }; }; then
32464 ac_cv_type_mbstate_t=yes
32465 else
32466 echo "$as_me: failed program was:" >&5
32467 sed 's/^/| /' conftest.$ac_ext >&5
32468
32469 ac_cv_type_mbstate_t=no
32470 fi
32471 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32472 fi
32473 echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
32474 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6
32475 if test $ac_cv_type_mbstate_t = yes; then
32476
32477 cat >>confdefs.h <<_ACEOF
32478 #define HAVE_MBSTATE_T 1
32479 _ACEOF
32480
32481
32482 for ac_func in wcsrtombs
32483 do
32484 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32485 echo "$as_me:$LINENO: checking for $ac_func" >&5
32486 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32487 if eval "test \"\${$as_ac_var+set}\" = set"; then
32488 echo $ECHO_N "(cached) $ECHO_C" >&6
32489 else
32490 cat >conftest.$ac_ext <<_ACEOF
32491 /* confdefs.h. */
32492 _ACEOF
32493 cat confdefs.h >>conftest.$ac_ext
32494 cat >>conftest.$ac_ext <<_ACEOF
32495 /* end confdefs.h. */
32496 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32497 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32498 #define $ac_func innocuous_$ac_func
32499
32500 /* System header to define __stub macros and hopefully few prototypes,
32501 which can conflict with char $ac_func (); below.
32502 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32503 <limits.h> exists even on freestanding compilers. */
32504
32505 #ifdef __STDC__
32506 # include <limits.h>
32507 #else
32508 # include <assert.h>
32509 #endif
32510
32511 #undef $ac_func
32512
32513 /* Override any gcc2 internal prototype to avoid an error. */
32514 #ifdef __cplusplus
32515 extern "C"
32516 {
32517 #endif
32518 /* We use char because int might match the return type of a gcc2
32519 builtin and then its argument prototype would still apply. */
32520 char $ac_func ();
32521 /* The GNU C library defines this for functions which it implements
32522 to always fail with ENOSYS. Some functions are actually named
32523 something starting with __ and the normal name is an alias. */
32524 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32525 choke me
32526 #else
32527 char (*f) () = $ac_func;
32528 #endif
32529 #ifdef __cplusplus
32530 }
32531 #endif
32532
32533 int
32534 main ()
32535 {
32536 return f != $ac_func;
32537 ;
32538 return 0;
32539 }
32540 _ACEOF
32541 rm -f conftest.$ac_objext conftest$ac_exeext
32542 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32543 (eval $ac_link) 2>conftest.er1
32544 ac_status=$?
32545 grep -v '^ *+' conftest.er1 >conftest.err
32546 rm -f conftest.er1
32547 cat conftest.err >&5
32548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32549 (exit $ac_status); } &&
32550 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
32556 { ac_try='test -s conftest$ac_exeext'
32557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32558 (eval $ac_try) 2>&5
32559 ac_status=$?
32560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32561 (exit $ac_status); }; }; then
32562 eval "$as_ac_var=yes"
32563 else
32564 echo "$as_me: failed program was:" >&5
32565 sed 's/^/| /' conftest.$ac_ext >&5
32566
32567 eval "$as_ac_var=no"
32568 fi
32569 rm -f conftest.err conftest.$ac_objext \
32570 conftest$ac_exeext conftest.$ac_ext
32571 fi
32572 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32573 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32574 if test `eval echo '${'$as_ac_var'}'` = yes; then
32575 cat >>confdefs.h <<_ACEOF
32576 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32577 _ACEOF
32578
32579 fi
32580 done
32581
32582 fi
32583
32584 else
32585 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
32586 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
32587 fi
32588
32589
32590
32591 ac_ext=cc
32592 ac_cpp='$CXXCPP $CPPFLAGS'
32593 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32594 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32595 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32596
32597
32598
32599
32600 for ac_func in snprintf vsnprintf
32601 do
32602 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32603 echo "$as_me:$LINENO: checking for $ac_func" >&5
32604 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32605 if eval "test \"\${$as_ac_var+set}\" = set"; then
32606 echo $ECHO_N "(cached) $ECHO_C" >&6
32607 else
32608 cat >conftest.$ac_ext <<_ACEOF
32609 /* confdefs.h. */
32610 _ACEOF
32611 cat confdefs.h >>conftest.$ac_ext
32612 cat >>conftest.$ac_ext <<_ACEOF
32613 /* end confdefs.h. */
32614 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32615 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32616 #define $ac_func innocuous_$ac_func
32617
32618 /* System header to define __stub macros and hopefully few prototypes,
32619 which can conflict with char $ac_func (); below.
32620 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32621 <limits.h> exists even on freestanding compilers. */
32622
32623 #ifdef __STDC__
32624 # include <limits.h>
32625 #else
32626 # include <assert.h>
32627 #endif
32628
32629 #undef $ac_func
32630
32631 /* Override any gcc2 internal prototype to avoid an error. */
32632 #ifdef __cplusplus
32633 extern "C"
32634 {
32635 #endif
32636 /* We use char because int might match the return type of a gcc2
32637 builtin and then its argument prototype would still apply. */
32638 char $ac_func ();
32639 /* The GNU C library defines this for functions which it implements
32640 to always fail with ENOSYS. Some functions are actually named
32641 something starting with __ and the normal name is an alias. */
32642 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32643 choke me
32644 #else
32645 char (*f) () = $ac_func;
32646 #endif
32647 #ifdef __cplusplus
32648 }
32649 #endif
32650
32651 int
32652 main ()
32653 {
32654 return f != $ac_func;
32655 ;
32656 return 0;
32657 }
32658 _ACEOF
32659 rm -f conftest.$ac_objext conftest$ac_exeext
32660 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32661 (eval $ac_link) 2>conftest.er1
32662 ac_status=$?
32663 grep -v '^ *+' conftest.er1 >conftest.err
32664 rm -f conftest.er1
32665 cat conftest.err >&5
32666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32667 (exit $ac_status); } &&
32668 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32670 (eval $ac_try) 2>&5
32671 ac_status=$?
32672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32673 (exit $ac_status); }; } &&
32674 { ac_try='test -s conftest$ac_exeext'
32675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32676 (eval $ac_try) 2>&5
32677 ac_status=$?
32678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32679 (exit $ac_status); }; }; then
32680 eval "$as_ac_var=yes"
32681 else
32682 echo "$as_me: failed program was:" >&5
32683 sed 's/^/| /' conftest.$ac_ext >&5
32684
32685 eval "$as_ac_var=no"
32686 fi
32687 rm -f conftest.err conftest.$ac_objext \
32688 conftest$ac_exeext conftest.$ac_ext
32689 fi
32690 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32691 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32692 if test `eval echo '${'$as_ac_var'}'` = yes; then
32693 cat >>confdefs.h <<_ACEOF
32694 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32695 _ACEOF
32696
32697 fi
32698 done
32699
32700
32701 if test "$ac_cv_func_vsnprintf" = "yes"; then
32702 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
32703 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
32704 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
32705 echo $ECHO_N "(cached) $ECHO_C" >&6
32706 else
32707
32708 cat >conftest.$ac_ext <<_ACEOF
32709 /* confdefs.h. */
32710 _ACEOF
32711 cat confdefs.h >>conftest.$ac_ext
32712 cat >>conftest.$ac_ext <<_ACEOF
32713 /* end confdefs.h. */
32714
32715 #include <stdio.h>
32716 #include <stdarg.h>
32717 #ifdef __MSL__
32718 #if __MSL__ >= 0x6000
32719 namespace std {}
32720 using namespace std;
32721 #endif
32722 #endif
32723
32724 int
32725 main ()
32726 {
32727
32728 char *buf;
32729 va_list ap;
32730 vsnprintf(buf, 10u, "%s", ap);
32731
32732 ;
32733 return 0;
32734 }
32735 _ACEOF
32736 rm -f conftest.$ac_objext
32737 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32738 (eval $ac_compile) 2>conftest.er1
32739 ac_status=$?
32740 grep -v '^ *+' conftest.er1 >conftest.err
32741 rm -f conftest.er1
32742 cat conftest.err >&5
32743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32744 (exit $ac_status); } &&
32745 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32747 (eval $ac_try) 2>&5
32748 ac_status=$?
32749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32750 (exit $ac_status); }; } &&
32751 { ac_try='test -s conftest.$ac_objext'
32752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32753 (eval $ac_try) 2>&5
32754 ac_status=$?
32755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32756 (exit $ac_status); }; }; then
32757 wx_cv_func_vsnprintf_decl=yes
32758 else
32759 echo "$as_me: failed program was:" >&5
32760 sed 's/^/| /' conftest.$ac_ext >&5
32761
32762 wx_cv_func_vsnprintf_decl=no
32763
32764 fi
32765 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32766
32767
32768 fi
32769 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
32770 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
32771
32772 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
32773 cat >>confdefs.h <<\_ACEOF
32774 #define HAVE_VSNPRINTF_DECL 1
32775 _ACEOF
32776
32777
32778 echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
32779 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6
32780 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
32781 echo $ECHO_N "(cached) $ECHO_C" >&6
32782 else
32783
32784 cat >conftest.$ac_ext <<_ACEOF
32785 /* confdefs.h. */
32786 _ACEOF
32787 cat confdefs.h >>conftest.$ac_ext
32788 cat >>conftest.$ac_ext <<_ACEOF
32789 /* end confdefs.h. */
32790
32791 #include <stdio.h>
32792 #include <stdarg.h>
32793 #ifdef __MSL__
32794 #if __MSL__ >= 0x6000
32795 namespace std {}
32796 using namespace std;
32797 #endif
32798 #endif
32799
32800 int
32801 main ()
32802 {
32803
32804 char *buf;
32805 va_list ap;
32806 const char *fmt = "%s";
32807 vsnprintf(buf, 10u, fmt, ap);
32808
32809 ;
32810 return 0;
32811 }
32812 _ACEOF
32813 rm -f conftest.$ac_objext
32814 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32815 (eval $ac_compile) 2>conftest.er1
32816 ac_status=$?
32817 grep -v '^ *+' conftest.er1 >conftest.err
32818 rm -f conftest.er1
32819 cat conftest.err >&5
32820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32821 (exit $ac_status); } &&
32822 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32824 (eval $ac_try) 2>&5
32825 ac_status=$?
32826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32827 (exit $ac_status); }; } &&
32828 { ac_try='test -s conftest.$ac_objext'
32829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32830 (eval $ac_try) 2>&5
32831 ac_status=$?
32832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32833 (exit $ac_status); }; }; then
32834 wx_cv_func_broken_vsnprintf_decl=no
32835 else
32836 echo "$as_me: failed program was:" >&5
32837 sed 's/^/| /' conftest.$ac_ext >&5
32838
32839 wx_cv_func_broken_vsnprintf_decl=yes
32840
32841 fi
32842 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32843
32844
32845 fi
32846 echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
32847 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6
32848
32849 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
32850 cat >>confdefs.h <<\_ACEOF
32851 #define HAVE_BROKEN_VSNPRINTF_DECL 1
32852 _ACEOF
32853
32854 fi
32855 fi
32856 fi
32857
32858 if test "$ac_cv_func_snprintf" = "yes"; then
32859 echo "$as_me:$LINENO: checking for snprintf declaration" >&5
32860 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6
32861 if test "${wx_cv_func_snprintf_decl+set}" = set; then
32862 echo $ECHO_N "(cached) $ECHO_C" >&6
32863 else
32864
32865 cat >conftest.$ac_ext <<_ACEOF
32866 /* confdefs.h. */
32867 _ACEOF
32868 cat confdefs.h >>conftest.$ac_ext
32869 cat >>conftest.$ac_ext <<_ACEOF
32870 /* end confdefs.h. */
32871
32872 #include <stdio.h>
32873 #include <stdarg.h>
32874 #ifdef __MSL__
32875 #if __MSL__ >= 0x6000
32876 namespace std {}
32877 using namespace std;
32878 #endif
32879 #endif
32880
32881 int
32882 main ()
32883 {
32884
32885 char *buf;
32886 snprintf(buf, 10u, "%s", "wx");
32887
32888 ;
32889 return 0;
32890 }
32891 _ACEOF
32892 rm -f conftest.$ac_objext
32893 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32894 (eval $ac_compile) 2>conftest.er1
32895 ac_status=$?
32896 grep -v '^ *+' conftest.er1 >conftest.err
32897 rm -f conftest.er1
32898 cat conftest.err >&5
32899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32900 (exit $ac_status); } &&
32901 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32903 (eval $ac_try) 2>&5
32904 ac_status=$?
32905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32906 (exit $ac_status); }; } &&
32907 { ac_try='test -s conftest.$ac_objext'
32908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32909 (eval $ac_try) 2>&5
32910 ac_status=$?
32911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32912 (exit $ac_status); }; }; then
32913 wx_cv_func_snprintf_decl=yes
32914 else
32915 echo "$as_me: failed program was:" >&5
32916 sed 's/^/| /' conftest.$ac_ext >&5
32917
32918 wx_cv_func_snprintf_decl=no
32919
32920 fi
32921 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32922
32923
32924 fi
32925 echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
32926 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6
32927
32928 if test "$wx_cv_func_snprintf_decl" = "yes"; then
32929 cat >>confdefs.h <<\_ACEOF
32930 #define HAVE_SNPRINTF_DECL 1
32931 _ACEOF
32932
32933
32934 echo "$as_me:$LINENO: checking if snprintf declaration is broken" >&5
32935 echo $ECHO_N "checking if snprintf declaration is broken... $ECHO_C" >&6
32936 if test "${wx_cv_func_broken_snprintf_decl+set}" = set; then
32937 echo $ECHO_N "(cached) $ECHO_C" >&6
32938 else
32939
32940 cat >conftest.$ac_ext <<_ACEOF
32941 /* confdefs.h. */
32942 _ACEOF
32943 cat confdefs.h >>conftest.$ac_ext
32944 cat >>conftest.$ac_ext <<_ACEOF
32945 /* end confdefs.h. */
32946
32947 #include <stdio.h>
32948 #include <stdarg.h>
32949 #ifdef __MSL__
32950 #if __MSL__ >= 0x6000
32951 namespace std {}
32952 using namespace std;
32953 #endif
32954 #endif
32955
32956 int
32957 main ()
32958 {
32959
32960 char *buf;
32961 const char *fmt = "%s";
32962 snprintf(buf, 10u, fmt, "wx");
32963
32964 ;
32965 return 0;
32966 }
32967 _ACEOF
32968 rm -f conftest.$ac_objext
32969 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32970 (eval $ac_compile) 2>conftest.er1
32971 ac_status=$?
32972 grep -v '^ *+' conftest.er1 >conftest.err
32973 rm -f conftest.er1
32974 cat conftest.err >&5
32975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32976 (exit $ac_status); } &&
32977 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32979 (eval $ac_try) 2>&5
32980 ac_status=$?
32981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32982 (exit $ac_status); }; } &&
32983 { ac_try='test -s conftest.$ac_objext'
32984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32985 (eval $ac_try) 2>&5
32986 ac_status=$?
32987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32988 (exit $ac_status); }; }; then
32989 wx_cv_func_broken_snprintf_decl=no
32990 else
32991 echo "$as_me: failed program was:" >&5
32992 sed 's/^/| /' conftest.$ac_ext >&5
32993
32994 wx_cv_func_broken_snprintf_decl=yes
32995
32996 fi
32997 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32998
32999
33000 fi
33001 echo "$as_me:$LINENO: result: $wx_cv_func_broken_snprintf_decl" >&5
33002 echo "${ECHO_T}$wx_cv_func_broken_snprintf_decl" >&6
33003
33004 if test "$wx_cv_func_broken_snprintf_decl" = "yes"; then
33005 cat >>confdefs.h <<\_ACEOF
33006 #define HAVE_BROKEN_SNPRINTF_DECL 1
33007 _ACEOF
33008
33009 fi
33010 fi
33011 fi
33012
33013 if test "$wxUSE_UNICODE" = yes; then
33014
33015
33016
33017
33018
33019
33020 for ac_func in wputc wputchar putws fputws wprintf vswprintf
33021 do
33022 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33023 echo "$as_me:$LINENO: checking for $ac_func" >&5
33024 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33025 if eval "test \"\${$as_ac_var+set}\" = set"; then
33026 echo $ECHO_N "(cached) $ECHO_C" >&6
33027 else
33028 cat >conftest.$ac_ext <<_ACEOF
33029 /* confdefs.h. */
33030 _ACEOF
33031 cat confdefs.h >>conftest.$ac_ext
33032 cat >>conftest.$ac_ext <<_ACEOF
33033 /* end confdefs.h. */
33034 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33035 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33036 #define $ac_func innocuous_$ac_func
33037
33038 /* System header to define __stub macros and hopefully few prototypes,
33039 which can conflict with char $ac_func (); below.
33040 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33041 <limits.h> exists even on freestanding compilers. */
33042
33043 #ifdef __STDC__
33044 # include <limits.h>
33045 #else
33046 # include <assert.h>
33047 #endif
33048
33049 #undef $ac_func
33050
33051 /* Override any gcc2 internal prototype to avoid an error. */
33052 #ifdef __cplusplus
33053 extern "C"
33054 {
33055 #endif
33056 /* We use char because int might match the return type of a gcc2
33057 builtin and then its argument prototype would still apply. */
33058 char $ac_func ();
33059 /* The GNU C library defines this for functions which it implements
33060 to always fail with ENOSYS. Some functions are actually named
33061 something starting with __ and the normal name is an alias. */
33062 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33063 choke me
33064 #else
33065 char (*f) () = $ac_func;
33066 #endif
33067 #ifdef __cplusplus
33068 }
33069 #endif
33070
33071 int
33072 main ()
33073 {
33074 return f != $ac_func;
33075 ;
33076 return 0;
33077 }
33078 _ACEOF
33079 rm -f conftest.$ac_objext conftest$ac_exeext
33080 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33081 (eval $ac_link) 2>conftest.er1
33082 ac_status=$?
33083 grep -v '^ *+' conftest.er1 >conftest.err
33084 rm -f conftest.er1
33085 cat conftest.err >&5
33086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33087 (exit $ac_status); } &&
33088 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33090 (eval $ac_try) 2>&5
33091 ac_status=$?
33092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33093 (exit $ac_status); }; } &&
33094 { ac_try='test -s conftest$ac_exeext'
33095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33096 (eval $ac_try) 2>&5
33097 ac_status=$?
33098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33099 (exit $ac_status); }; }; then
33100 eval "$as_ac_var=yes"
33101 else
33102 echo "$as_me: failed program was:" >&5
33103 sed 's/^/| /' conftest.$ac_ext >&5
33104
33105 eval "$as_ac_var=no"
33106 fi
33107 rm -f conftest.err conftest.$ac_objext \
33108 conftest$ac_exeext conftest.$ac_ext
33109 fi
33110 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33111 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33112 if test `eval echo '${'$as_ac_var'}'` = yes; then
33113 cat >>confdefs.h <<_ACEOF
33114 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33115 _ACEOF
33116
33117 fi
33118 done
33119
33120
33121 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
33122 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
33123 cat >conftest.$ac_ext <<_ACEOF
33124 /* confdefs.h. */
33125 _ACEOF
33126 cat confdefs.h >>conftest.$ac_ext
33127 cat >>conftest.$ac_ext <<_ACEOF
33128 /* end confdefs.h. */
33129 #include <wchar.h>
33130 int
33131 main ()
33132 {
33133 &_vsnwprintf;
33134 ;
33135 return 0;
33136 }
33137 _ACEOF
33138 rm -f conftest.$ac_objext
33139 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33140 (eval $ac_compile) 2>conftest.er1
33141 ac_status=$?
33142 grep -v '^ *+' conftest.er1 >conftest.err
33143 rm -f conftest.er1
33144 cat conftest.err >&5
33145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33146 (exit $ac_status); } &&
33147 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33149 (eval $ac_try) 2>&5
33150 ac_status=$?
33151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33152 (exit $ac_status); }; } &&
33153 { ac_try='test -s conftest.$ac_objext'
33154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33155 (eval $ac_try) 2>&5
33156 ac_status=$?
33157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33158 (exit $ac_status); }; }; then
33159 echo "$as_me:$LINENO: result: yes" >&5
33160 echo "${ECHO_T}yes" >&6
33161 cat >>confdefs.h <<\_ACEOF
33162 #define HAVE__VSNWPRINTF 1
33163 _ACEOF
33164
33165 else
33166 echo "$as_me: failed program was:" >&5
33167 sed 's/^/| /' conftest.$ac_ext >&5
33168
33169 echo "$as_me:$LINENO: result: no" >&5
33170 echo "${ECHO_T}no" >&6
33171 fi
33172 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext;
33173 fi
33174
33175 ac_ext=c
33176 ac_cpp='$CPP $CPPFLAGS'
33177 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33178 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33179 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33180
33181
33182 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
33183
33184 for ac_func in fnmatch
33185 do
33186 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33187 echo "$as_me:$LINENO: checking for $ac_func" >&5
33188 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33189 if eval "test \"\${$as_ac_var+set}\" = set"; then
33190 echo $ECHO_N "(cached) $ECHO_C" >&6
33191 else
33192 cat >conftest.$ac_ext <<_ACEOF
33193 /* confdefs.h. */
33194 _ACEOF
33195 cat confdefs.h >>conftest.$ac_ext
33196 cat >>conftest.$ac_ext <<_ACEOF
33197 /* end confdefs.h. */
33198 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33199 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33200 #define $ac_func innocuous_$ac_func
33201
33202 /* System header to define __stub macros and hopefully few prototypes,
33203 which can conflict with char $ac_func (); below.
33204 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33205 <limits.h> exists even on freestanding compilers. */
33206
33207 #ifdef __STDC__
33208 # include <limits.h>
33209 #else
33210 # include <assert.h>
33211 #endif
33212
33213 #undef $ac_func
33214
33215 /* Override any gcc2 internal prototype to avoid an error. */
33216 #ifdef __cplusplus
33217 extern "C"
33218 {
33219 #endif
33220 /* We use char because int might match the return type of a gcc2
33221 builtin and then its argument prototype would still apply. */
33222 char $ac_func ();
33223 /* The GNU C library defines this for functions which it implements
33224 to always fail with ENOSYS. Some functions are actually named
33225 something starting with __ and the normal name is an alias. */
33226 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33227 choke me
33228 #else
33229 char (*f) () = $ac_func;
33230 #endif
33231 #ifdef __cplusplus
33232 }
33233 #endif
33234
33235 int
33236 main ()
33237 {
33238 return f != $ac_func;
33239 ;
33240 return 0;
33241 }
33242 _ACEOF
33243 rm -f conftest.$ac_objext conftest$ac_exeext
33244 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33245 (eval $ac_link) 2>conftest.er1
33246 ac_status=$?
33247 grep -v '^ *+' conftest.er1 >conftest.err
33248 rm -f conftest.er1
33249 cat conftest.err >&5
33250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33251 (exit $ac_status); } &&
33252 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33254 (eval $ac_try) 2>&5
33255 ac_status=$?
33256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33257 (exit $ac_status); }; } &&
33258 { ac_try='test -s conftest$ac_exeext'
33259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33260 (eval $ac_try) 2>&5
33261 ac_status=$?
33262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33263 (exit $ac_status); }; }; then
33264 eval "$as_ac_var=yes"
33265 else
33266 echo "$as_me: failed program was:" >&5
33267 sed 's/^/| /' conftest.$ac_ext >&5
33268
33269 eval "$as_ac_var=no"
33270 fi
33271 rm -f conftest.err conftest.$ac_objext \
33272 conftest$ac_exeext conftest.$ac_ext
33273 fi
33274 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33275 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33276 if test `eval echo '${'$as_ac_var'}'` = yes; then
33277 cat >>confdefs.h <<_ACEOF
33278 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33279 _ACEOF
33280
33281 fi
33282 done
33283
33284 fi
33285
33286 if test "$wxUSE_FILE" = "yes"; then
33287
33288 for ac_func in fsync
33289 do
33290 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33291 echo "$as_me:$LINENO: checking for $ac_func" >&5
33292 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33293 if eval "test \"\${$as_ac_var+set}\" = set"; then
33294 echo $ECHO_N "(cached) $ECHO_C" >&6
33295 else
33296 cat >conftest.$ac_ext <<_ACEOF
33297 /* confdefs.h. */
33298 _ACEOF
33299 cat confdefs.h >>conftest.$ac_ext
33300 cat >>conftest.$ac_ext <<_ACEOF
33301 /* end confdefs.h. */
33302 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33303 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33304 #define $ac_func innocuous_$ac_func
33305
33306 /* System header to define __stub macros and hopefully few prototypes,
33307 which can conflict with char $ac_func (); below.
33308 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33309 <limits.h> exists even on freestanding compilers. */
33310
33311 #ifdef __STDC__
33312 # include <limits.h>
33313 #else
33314 # include <assert.h>
33315 #endif
33316
33317 #undef $ac_func
33318
33319 /* Override any gcc2 internal prototype to avoid an error. */
33320 #ifdef __cplusplus
33321 extern "C"
33322 {
33323 #endif
33324 /* We use char because int might match the return type of a gcc2
33325 builtin and then its argument prototype would still apply. */
33326 char $ac_func ();
33327 /* The GNU C library defines this for functions which it implements
33328 to always fail with ENOSYS. Some functions are actually named
33329 something starting with __ and the normal name is an alias. */
33330 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33331 choke me
33332 #else
33333 char (*f) () = $ac_func;
33334 #endif
33335 #ifdef __cplusplus
33336 }
33337 #endif
33338
33339 int
33340 main ()
33341 {
33342 return f != $ac_func;
33343 ;
33344 return 0;
33345 }
33346 _ACEOF
33347 rm -f conftest.$ac_objext conftest$ac_exeext
33348 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33349 (eval $ac_link) 2>conftest.er1
33350 ac_status=$?
33351 grep -v '^ *+' conftest.er1 >conftest.err
33352 rm -f conftest.er1
33353 cat conftest.err >&5
33354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33355 (exit $ac_status); } &&
33356 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33358 (eval $ac_try) 2>&5
33359 ac_status=$?
33360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33361 (exit $ac_status); }; } &&
33362 { ac_try='test -s conftest$ac_exeext'
33363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33364 (eval $ac_try) 2>&5
33365 ac_status=$?
33366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33367 (exit $ac_status); }; }; then
33368 eval "$as_ac_var=yes"
33369 else
33370 echo "$as_me: failed program was:" >&5
33371 sed 's/^/| /' conftest.$ac_ext >&5
33372
33373 eval "$as_ac_var=no"
33374 fi
33375 rm -f conftest.err conftest.$ac_objext \
33376 conftest$ac_exeext conftest.$ac_ext
33377 fi
33378 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33379 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33380 if test `eval echo '${'$as_ac_var'}'` = yes; then
33381 cat >>confdefs.h <<_ACEOF
33382 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33383 _ACEOF
33384
33385 fi
33386 done
33387
33388 fi
33389
33390
33391 if test "$TOOLKIT" != "MSW"; then
33392
33393
33394
33395
33396 ac_ext=cc
33397 ac_cpp='$CXXCPP $CPPFLAGS'
33398 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33399 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33400 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33401
33402
33403
33404
33405 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
33406 if test "${with_libiconv_prefix+set}" = set; then
33407 withval="$with_libiconv_prefix"
33408
33409 for dir in `echo "$withval" | tr : ' '`; do
33410 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
33411 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
33412 done
33413
33414 fi;
33415
33416 echo "$as_me:$LINENO: checking for iconv" >&5
33417 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
33418 if test "${am_cv_func_iconv+set}" = set; then
33419 echo $ECHO_N "(cached) $ECHO_C" >&6
33420 else
33421
33422 am_cv_func_iconv="no, consider installing GNU libiconv"
33423 am_cv_lib_iconv=no
33424 cat >conftest.$ac_ext <<_ACEOF
33425 /* confdefs.h. */
33426 _ACEOF
33427 cat confdefs.h >>conftest.$ac_ext
33428 cat >>conftest.$ac_ext <<_ACEOF
33429 /* end confdefs.h. */
33430 #include <stdlib.h>
33431 #include <iconv.h>
33432 int
33433 main ()
33434 {
33435 iconv_t cd = iconv_open("","");
33436 iconv(cd,NULL,NULL,NULL,NULL);
33437 iconv_close(cd);
33438 ;
33439 return 0;
33440 }
33441 _ACEOF
33442 rm -f conftest.$ac_objext conftest$ac_exeext
33443 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33444 (eval $ac_link) 2>conftest.er1
33445 ac_status=$?
33446 grep -v '^ *+' conftest.er1 >conftest.err
33447 rm -f conftest.er1
33448 cat conftest.err >&5
33449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33450 (exit $ac_status); } &&
33451 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33453 (eval $ac_try) 2>&5
33454 ac_status=$?
33455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33456 (exit $ac_status); }; } &&
33457 { ac_try='test -s conftest$ac_exeext'
33458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33459 (eval $ac_try) 2>&5
33460 ac_status=$?
33461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33462 (exit $ac_status); }; }; then
33463 am_cv_func_iconv=yes
33464 else
33465 echo "$as_me: failed program was:" >&5
33466 sed 's/^/| /' conftest.$ac_ext >&5
33467
33468 fi
33469 rm -f conftest.err conftest.$ac_objext \
33470 conftest$ac_exeext conftest.$ac_ext
33471 if test "$am_cv_func_iconv" != yes; then
33472 am_save_LIBS="$LIBS"
33473 LIBS="$LIBS -liconv"
33474 cat >conftest.$ac_ext <<_ACEOF
33475 /* confdefs.h. */
33476 _ACEOF
33477 cat confdefs.h >>conftest.$ac_ext
33478 cat >>conftest.$ac_ext <<_ACEOF
33479 /* end confdefs.h. */
33480 #include <stdlib.h>
33481 #include <iconv.h>
33482 int
33483 main ()
33484 {
33485 iconv_t cd = iconv_open("","");
33486 iconv(cd,NULL,NULL,NULL,NULL);
33487 iconv_close(cd);
33488 ;
33489 return 0;
33490 }
33491 _ACEOF
33492 rm -f conftest.$ac_objext conftest$ac_exeext
33493 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33494 (eval $ac_link) 2>conftest.er1
33495 ac_status=$?
33496 grep -v '^ *+' conftest.er1 >conftest.err
33497 rm -f conftest.er1
33498 cat conftest.err >&5
33499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33500 (exit $ac_status); } &&
33501 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33503 (eval $ac_try) 2>&5
33504 ac_status=$?
33505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33506 (exit $ac_status); }; } &&
33507 { ac_try='test -s conftest$ac_exeext'
33508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33509 (eval $ac_try) 2>&5
33510 ac_status=$?
33511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33512 (exit $ac_status); }; }; then
33513 am_cv_lib_iconv=yes
33514 am_cv_func_iconv=yes
33515 else
33516 echo "$as_me: failed program was:" >&5
33517 sed 's/^/| /' conftest.$ac_ext >&5
33518
33519 fi
33520 rm -f conftest.err conftest.$ac_objext \
33521 conftest$ac_exeext conftest.$ac_ext
33522 LIBS="$am_save_LIBS"
33523 fi
33524
33525 fi
33526 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
33527 echo "${ECHO_T}$am_cv_func_iconv" >&6
33528 if test "$am_cv_func_iconv" = yes; then
33529
33530 cat >>confdefs.h <<\_ACEOF
33531 #define HAVE_ICONV 1
33532 _ACEOF
33533
33534 echo "$as_me:$LINENO: checking if iconv needs const" >&5
33535 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
33536 if test "${wx_cv_func_iconv_const+set}" = set; then
33537 echo $ECHO_N "(cached) $ECHO_C" >&6
33538 else
33539 cat >conftest.$ac_ext <<_ACEOF
33540 /* confdefs.h. */
33541 _ACEOF
33542 cat confdefs.h >>conftest.$ac_ext
33543 cat >>conftest.$ac_ext <<_ACEOF
33544 /* end confdefs.h. */
33545
33546 #include <stdlib.h>
33547 #include <iconv.h>
33548 extern
33549 #ifdef __cplusplus
33550 "C"
33551 #endif
33552 #if defined(__STDC__) || defined(__cplusplus)
33553 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
33554 #else
33555 size_t iconv();
33556 #endif
33557
33558 int
33559 main ()
33560 {
33561
33562 ;
33563 return 0;
33564 }
33565 _ACEOF
33566 rm -f conftest.$ac_objext
33567 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33568 (eval $ac_compile) 2>conftest.er1
33569 ac_status=$?
33570 grep -v '^ *+' conftest.er1 >conftest.err
33571 rm -f conftest.er1
33572 cat conftest.err >&5
33573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33574 (exit $ac_status); } &&
33575 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33577 (eval $ac_try) 2>&5
33578 ac_status=$?
33579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33580 (exit $ac_status); }; } &&
33581 { ac_try='test -s conftest.$ac_objext'
33582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33583 (eval $ac_try) 2>&5
33584 ac_status=$?
33585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33586 (exit $ac_status); }; }; then
33587 wx_cv_func_iconv_const="no"
33588 else
33589 echo "$as_me: failed program was:" >&5
33590 sed 's/^/| /' conftest.$ac_ext >&5
33591
33592 wx_cv_func_iconv_const="yes"
33593
33594 fi
33595 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33596
33597 fi
33598 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
33599 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
33600
33601 iconv_const=
33602 if test "x$wx_cv_func_iconv_const" = "xyes"; then
33603 iconv_const="const"
33604 fi
33605
33606
33607 cat >>confdefs.h <<_ACEOF
33608 #define ICONV_CONST $iconv_const
33609 _ACEOF
33610
33611 fi
33612 LIBICONV=
33613 if test "$am_cv_lib_iconv" = yes; then
33614 LIBICONV="-liconv"
33615 fi
33616
33617
33618 LIBS="$LIBICONV $LIBS"
33619 ac_ext=c
33620 ac_cpp='$CPP $CPPFLAGS'
33621 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33622 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33623 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33624
33625
33626 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
33627
33628 for ac_func in sigaction
33629 do
33630 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33631 echo "$as_me:$LINENO: checking for $ac_func" >&5
33632 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33633 if eval "test \"\${$as_ac_var+set}\" = set"; then
33634 echo $ECHO_N "(cached) $ECHO_C" >&6
33635 else
33636 cat >conftest.$ac_ext <<_ACEOF
33637 /* confdefs.h. */
33638 _ACEOF
33639 cat confdefs.h >>conftest.$ac_ext
33640 cat >>conftest.$ac_ext <<_ACEOF
33641 /* end confdefs.h. */
33642 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33643 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33644 #define $ac_func innocuous_$ac_func
33645
33646 /* System header to define __stub macros and hopefully few prototypes,
33647 which can conflict with char $ac_func (); below.
33648 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33649 <limits.h> exists even on freestanding compilers. */
33650
33651 #ifdef __STDC__
33652 # include <limits.h>
33653 #else
33654 # include <assert.h>
33655 #endif
33656
33657 #undef $ac_func
33658
33659 /* Override any gcc2 internal prototype to avoid an error. */
33660 #ifdef __cplusplus
33661 extern "C"
33662 {
33663 #endif
33664 /* We use char because int might match the return type of a gcc2
33665 builtin and then its argument prototype would still apply. */
33666 char $ac_func ();
33667 /* The GNU C library defines this for functions which it implements
33668 to always fail with ENOSYS. Some functions are actually named
33669 something starting with __ and the normal name is an alias. */
33670 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33671 choke me
33672 #else
33673 char (*f) () = $ac_func;
33674 #endif
33675 #ifdef __cplusplus
33676 }
33677 #endif
33678
33679 int
33680 main ()
33681 {
33682 return f != $ac_func;
33683 ;
33684 return 0;
33685 }
33686 _ACEOF
33687 rm -f conftest.$ac_objext conftest$ac_exeext
33688 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33689 (eval $ac_link) 2>conftest.er1
33690 ac_status=$?
33691 grep -v '^ *+' conftest.er1 >conftest.err
33692 rm -f conftest.er1
33693 cat conftest.err >&5
33694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33695 (exit $ac_status); } &&
33696 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33698 (eval $ac_try) 2>&5
33699 ac_status=$?
33700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33701 (exit $ac_status); }; } &&
33702 { ac_try='test -s conftest$ac_exeext'
33703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33704 (eval $ac_try) 2>&5
33705 ac_status=$?
33706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33707 (exit $ac_status); }; }; then
33708 eval "$as_ac_var=yes"
33709 else
33710 echo "$as_me: failed program was:" >&5
33711 sed 's/^/| /' conftest.$ac_ext >&5
33712
33713 eval "$as_ac_var=no"
33714 fi
33715 rm -f conftest.err conftest.$ac_objext \
33716 conftest$ac_exeext conftest.$ac_ext
33717 fi
33718 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33719 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33720 if test `eval echo '${'$as_ac_var'}'` = yes; then
33721 cat >>confdefs.h <<_ACEOF
33722 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33723 _ACEOF
33724
33725 fi
33726 done
33727
33728
33729 if test "$ac_cv_func_sigaction" = "no"; then
33730 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
33731 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
33732 wxUSE_ON_FATAL_EXCEPTION=no
33733 fi
33734
33735 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
33736
33737
33738 ac_ext=cc
33739 ac_cpp='$CXXCPP $CPPFLAGS'
33740 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33741 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33742 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33743
33744
33745 echo "$as_me:$LINENO: checking for sa_handler type" >&5
33746 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
33747 if test "${wx_cv_type_sa_handler+set}" = set; then
33748 echo $ECHO_N "(cached) $ECHO_C" >&6
33749 else
33750
33751 cat >conftest.$ac_ext <<_ACEOF
33752 /* confdefs.h. */
33753 _ACEOF
33754 cat confdefs.h >>conftest.$ac_ext
33755 cat >>conftest.$ac_ext <<_ACEOF
33756 /* end confdefs.h. */
33757 #include <signal.h>
33758 int
33759 main ()
33760 {
33761
33762 extern void testSigHandler(int);
33763
33764 struct sigaction sa;
33765 sa.sa_handler = testSigHandler;
33766
33767 ;
33768 return 0;
33769 }
33770 _ACEOF
33771 rm -f conftest.$ac_objext
33772 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33773 (eval $ac_compile) 2>conftest.er1
33774 ac_status=$?
33775 grep -v '^ *+' conftest.er1 >conftest.err
33776 rm -f conftest.er1
33777 cat conftest.err >&5
33778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33779 (exit $ac_status); } &&
33780 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33782 (eval $ac_try) 2>&5
33783 ac_status=$?
33784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33785 (exit $ac_status); }; } &&
33786 { ac_try='test -s conftest.$ac_objext'
33787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33788 (eval $ac_try) 2>&5
33789 ac_status=$?
33790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33791 (exit $ac_status); }; }; then
33792
33793 wx_cv_type_sa_handler=int
33794
33795 else
33796 echo "$as_me: failed program was:" >&5
33797 sed 's/^/| /' conftest.$ac_ext >&5
33798
33799
33800 wx_cv_type_sa_handler=void
33801
33802 fi
33803 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33804
33805 fi
33806 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
33807 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
33808
33809 ac_ext=c
33810 ac_cpp='$CPP $CPPFLAGS'
33811 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33812 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33813 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33814
33815
33816 cat >>confdefs.h <<_ACEOF
33817 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
33818 _ACEOF
33819
33820 fi
33821 fi
33822
33823 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
33824
33825
33826 ac_ext=cc
33827 ac_cpp='$CXXCPP $CPPFLAGS'
33828 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33829 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33830 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33831
33832
33833 echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
33834 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6
33835 if test "${wx_cv_func_backtrace+set}" = set; then
33836 echo $ECHO_N "(cached) $ECHO_C" >&6
33837 else
33838
33839 cat >conftest.$ac_ext <<_ACEOF
33840 /* confdefs.h. */
33841 _ACEOF
33842 cat confdefs.h >>conftest.$ac_ext
33843 cat >>conftest.$ac_ext <<_ACEOF
33844 /* end confdefs.h. */
33845 #include <execinfo.h>
33846 int
33847 main ()
33848 {
33849
33850 void *trace[1];
33851 char **messages;
33852
33853 backtrace(trace, 1);
33854 messages = backtrace_symbols(trace, 1);
33855
33856 ;
33857 return 0;
33858 }
33859 _ACEOF
33860 rm -f conftest.$ac_objext
33861 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33862 (eval $ac_compile) 2>conftest.er1
33863 ac_status=$?
33864 grep -v '^ *+' conftest.er1 >conftest.err
33865 rm -f conftest.er1
33866 cat conftest.err >&5
33867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33868 (exit $ac_status); } &&
33869 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33871 (eval $ac_try) 2>&5
33872 ac_status=$?
33873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33874 (exit $ac_status); }; } &&
33875 { ac_try='test -s conftest.$ac_objext'
33876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33877 (eval $ac_try) 2>&5
33878 ac_status=$?
33879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33880 (exit $ac_status); }; }; then
33881 wx_cv_func_backtrace=yes
33882 else
33883 echo "$as_me: failed program was:" >&5
33884 sed 's/^/| /' conftest.$ac_ext >&5
33885
33886 wx_cv_func_backtrace=no
33887
33888 fi
33889 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33890
33891
33892 fi
33893 echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
33894 echo "${ECHO_T}$wx_cv_func_backtrace" >&6
33895
33896
33897 if test "$wx_cv_func_backtrace" = "no"; then
33898 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
33899 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
33900 wxUSE_STACKWALKER=no
33901 else
33902 echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
33903 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6
33904 if test "${wx_cv_func_cxa_demangle+set}" = set; then
33905 echo $ECHO_N "(cached) $ECHO_C" >&6
33906 else
33907
33908 cat >conftest.$ac_ext <<_ACEOF
33909 /* confdefs.h. */
33910 _ACEOF
33911 cat confdefs.h >>conftest.$ac_ext
33912 cat >>conftest.$ac_ext <<_ACEOF
33913 /* end confdefs.h. */
33914 #include <cxxabi.h>
33915 int
33916 main ()
33917 {
33918
33919 int rc;
33920 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
33921
33922 ;
33923 return 0;
33924 }
33925 _ACEOF
33926 rm -f conftest.$ac_objext conftest$ac_exeext
33927 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33928 (eval $ac_link) 2>conftest.er1
33929 ac_status=$?
33930 grep -v '^ *+' conftest.er1 >conftest.err
33931 rm -f conftest.er1
33932 cat conftest.err >&5
33933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33934 (exit $ac_status); } &&
33935 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33937 (eval $ac_try) 2>&5
33938 ac_status=$?
33939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33940 (exit $ac_status); }; } &&
33941 { ac_try='test -s conftest$ac_exeext'
33942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33943 (eval $ac_try) 2>&5
33944 ac_status=$?
33945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33946 (exit $ac_status); }; }; then
33947 wx_cv_func_cxa_demangle=yes
33948 else
33949 echo "$as_me: failed program was:" >&5
33950 sed 's/^/| /' conftest.$ac_ext >&5
33951
33952 wx_cv_func_cxa_demangle=no
33953
33954 fi
33955 rm -f conftest.err conftest.$ac_objext \
33956 conftest$ac_exeext conftest.$ac_ext
33957
33958
33959 fi
33960 echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
33961 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6
33962
33963 if test "$wx_cv_func_cxa_demangle" = "yes"; then
33964 cat >>confdefs.h <<\_ACEOF
33965 #define HAVE_CXA_DEMANGLE 1
33966 _ACEOF
33967
33968 fi
33969 fi
33970
33971 ac_ext=c
33972 ac_cpp='$CPP $CPPFLAGS'
33973 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33974 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33975 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33976
33977 fi
33978
33979 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != "1" -a "$USE_UNIX" != "1"; then
33980 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
33981 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
33982 wxUSE_STACKWALKER=no
33983 fi
33984
33985
33986
33987
33988 for ac_func in mkstemp mktemp
33989 do
33990 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33991 echo "$as_me:$LINENO: checking for $ac_func" >&5
33992 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33993 if eval "test \"\${$as_ac_var+set}\" = set"; then
33994 echo $ECHO_N "(cached) $ECHO_C" >&6
33995 else
33996 cat >conftest.$ac_ext <<_ACEOF
33997 /* confdefs.h. */
33998 _ACEOF
33999 cat confdefs.h >>conftest.$ac_ext
34000 cat >>conftest.$ac_ext <<_ACEOF
34001 /* end confdefs.h. */
34002 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34003 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34004 #define $ac_func innocuous_$ac_func
34005
34006 /* System header to define __stub macros and hopefully few prototypes,
34007 which can conflict with char $ac_func (); below.
34008 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34009 <limits.h> exists even on freestanding compilers. */
34010
34011 #ifdef __STDC__
34012 # include <limits.h>
34013 #else
34014 # include <assert.h>
34015 #endif
34016
34017 #undef $ac_func
34018
34019 /* Override any gcc2 internal prototype to avoid an error. */
34020 #ifdef __cplusplus
34021 extern "C"
34022 {
34023 #endif
34024 /* We use char because int might match the return type of a gcc2
34025 builtin and then its argument prototype would still apply. */
34026 char $ac_func ();
34027 /* The GNU C library defines this for functions which it implements
34028 to always fail with ENOSYS. Some functions are actually named
34029 something starting with __ and the normal name is an alias. */
34030 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34031 choke me
34032 #else
34033 char (*f) () = $ac_func;
34034 #endif
34035 #ifdef __cplusplus
34036 }
34037 #endif
34038
34039 int
34040 main ()
34041 {
34042 return f != $ac_func;
34043 ;
34044 return 0;
34045 }
34046 _ACEOF
34047 rm -f conftest.$ac_objext conftest$ac_exeext
34048 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34049 (eval $ac_link) 2>conftest.er1
34050 ac_status=$?
34051 grep -v '^ *+' conftest.er1 >conftest.err
34052 rm -f conftest.er1
34053 cat conftest.err >&5
34054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34055 (exit $ac_status); } &&
34056 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34058 (eval $ac_try) 2>&5
34059 ac_status=$?
34060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34061 (exit $ac_status); }; } &&
34062 { ac_try='test -s conftest$ac_exeext'
34063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34064 (eval $ac_try) 2>&5
34065 ac_status=$?
34066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34067 (exit $ac_status); }; }; then
34068 eval "$as_ac_var=yes"
34069 else
34070 echo "$as_me: failed program was:" >&5
34071 sed 's/^/| /' conftest.$ac_ext >&5
34072
34073 eval "$as_ac_var=no"
34074 fi
34075 rm -f conftest.err conftest.$ac_objext \
34076 conftest$ac_exeext conftest.$ac_ext
34077 fi
34078 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34079 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34080 if test `eval echo '${'$as_ac_var'}'` = yes; then
34081 cat >>confdefs.h <<_ACEOF
34082 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34083 _ACEOF
34084 break
34085 fi
34086 done
34087
34088
34089 echo "$as_me:$LINENO: checking for statfs" >&5
34090 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
34091 if test "${wx_cv_func_statfs+set}" = set; then
34092 echo $ECHO_N "(cached) $ECHO_C" >&6
34093 else
34094 cat >conftest.$ac_ext <<_ACEOF
34095 /* confdefs.h. */
34096 _ACEOF
34097 cat confdefs.h >>conftest.$ac_ext
34098 cat >>conftest.$ac_ext <<_ACEOF
34099 /* end confdefs.h. */
34100
34101 #if defined(__BSD__)
34102 #include <sys/param.h>
34103 #include <sys/mount.h>
34104 #else
34105 #include <sys/vfs.h>
34106 #endif
34107
34108 int
34109 main ()
34110 {
34111
34112 long l;
34113 struct statfs fs;
34114 statfs("/", &fs);
34115 l = fs.f_bsize;
34116 l += fs.f_blocks;
34117 l += fs.f_bavail;
34118
34119 ;
34120 return 0;
34121 }
34122 _ACEOF
34123 rm -f conftest.$ac_objext
34124 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34125 (eval $ac_compile) 2>conftest.er1
34126 ac_status=$?
34127 grep -v '^ *+' conftest.er1 >conftest.err
34128 rm -f conftest.er1
34129 cat conftest.err >&5
34130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34131 (exit $ac_status); } &&
34132 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34134 (eval $ac_try) 2>&5
34135 ac_status=$?
34136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34137 (exit $ac_status); }; } &&
34138 { ac_try='test -s conftest.$ac_objext'
34139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34140 (eval $ac_try) 2>&5
34141 ac_status=$?
34142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34143 (exit $ac_status); }; }; then
34144 wx_cv_func_statfs=yes
34145 else
34146 echo "$as_me: failed program was:" >&5
34147 sed 's/^/| /' conftest.$ac_ext >&5
34148
34149 wx_cv_func_statfs=no
34150
34151 fi
34152 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34153
34154 fi
34155 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
34156 echo "${ECHO_T}$wx_cv_func_statfs" >&6
34157
34158 if test "$wx_cv_func_statfs" = "yes"; 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 echo "$as_me:$LINENO: checking for statfs declaration" >&5
34168 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6
34169 if test "${wx_cv_func_statfs_decl+set}" = set; then
34170 echo $ECHO_N "(cached) $ECHO_C" >&6
34171 else
34172 cat >conftest.$ac_ext <<_ACEOF
34173 /* confdefs.h. */
34174 _ACEOF
34175 cat confdefs.h >>conftest.$ac_ext
34176 cat >>conftest.$ac_ext <<_ACEOF
34177 /* end confdefs.h. */
34178
34179 #if defined(__BSD__)
34180 #include <sys/param.h>
34181 #include <sys/mount.h>
34182 #else
34183 #include <sys/vfs.h>
34184 #endif
34185
34186 int
34187 main ()
34188 {
34189
34190 struct statfs fs;
34191 statfs("", &fs);
34192
34193 ;
34194 return 0;
34195 }
34196 _ACEOF
34197 rm -f conftest.$ac_objext
34198 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34199 (eval $ac_compile) 2>conftest.er1
34200 ac_status=$?
34201 grep -v '^ *+' conftest.er1 >conftest.err
34202 rm -f conftest.er1
34203 cat conftest.err >&5
34204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34205 (exit $ac_status); } &&
34206 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34208 (eval $ac_try) 2>&5
34209 ac_status=$?
34210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34211 (exit $ac_status); }; } &&
34212 { ac_try='test -s conftest.$ac_objext'
34213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34214 (eval $ac_try) 2>&5
34215 ac_status=$?
34216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34217 (exit $ac_status); }; }; then
34218 wx_cv_func_statfs_decl=yes
34219 else
34220 echo "$as_me: failed program was:" >&5
34221 sed 's/^/| /' conftest.$ac_ext >&5
34222
34223 wx_cv_func_statfs_decl=no
34224
34225 fi
34226 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34227
34228 fi
34229 echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
34230 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6
34231 ac_ext=c
34232 ac_cpp='$CPP $CPPFLAGS'
34233 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34234 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34235 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34236
34237
34238 if test "$wx_cv_func_statfs_decl" = "yes"; then
34239 cat >>confdefs.h <<\_ACEOF
34240 #define HAVE_STATFS_DECL 1
34241 _ACEOF
34242
34243 fi
34244
34245 wx_cv_type_statvfs_t="struct statfs"
34246 cat >>confdefs.h <<\_ACEOF
34247 #define HAVE_STATFS 1
34248 _ACEOF
34249
34250 else
34251 echo "$as_me:$LINENO: checking for statvfs" >&5
34252 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
34253 if test "${wx_cv_func_statvfs+set}" = set; then
34254 echo $ECHO_N "(cached) $ECHO_C" >&6
34255 else
34256 cat >conftest.$ac_ext <<_ACEOF
34257 /* confdefs.h. */
34258 _ACEOF
34259 cat confdefs.h >>conftest.$ac_ext
34260 cat >>conftest.$ac_ext <<_ACEOF
34261 /* end confdefs.h. */
34262
34263 #include <stddef.h>
34264 #include <sys/statvfs.h>
34265
34266 int
34267 main ()
34268 {
34269
34270 statvfs("/", NULL);
34271
34272 ;
34273 return 0;
34274 }
34275 _ACEOF
34276 rm -f conftest.$ac_objext
34277 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34278 (eval $ac_compile) 2>conftest.er1
34279 ac_status=$?
34280 grep -v '^ *+' conftest.er1 >conftest.err
34281 rm -f conftest.er1
34282 cat conftest.err >&5
34283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34284 (exit $ac_status); } &&
34285 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34287 (eval $ac_try) 2>&5
34288 ac_status=$?
34289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34290 (exit $ac_status); }; } &&
34291 { ac_try='test -s conftest.$ac_objext'
34292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34293 (eval $ac_try) 2>&5
34294 ac_status=$?
34295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34296 (exit $ac_status); }; }; then
34297 wx_cv_func_statvfs=yes
34298 else
34299 echo "$as_me: failed program was:" >&5
34300 sed 's/^/| /' conftest.$ac_ext >&5
34301
34302 wx_cv_func_statvfs=no
34303
34304 fi
34305 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34306
34307 fi
34308 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
34309 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
34310
34311 if test "$wx_cv_func_statvfs" = "yes"; then
34312
34313
34314 ac_ext=cc
34315 ac_cpp='$CXXCPP $CPPFLAGS'
34316 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34317 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34318 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34319
34320
34321 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
34322 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
34323 if test "${wx_cv_type_statvfs_t+set}" = set; then
34324 echo $ECHO_N "(cached) $ECHO_C" >&6
34325 else
34326 cat >conftest.$ac_ext <<_ACEOF
34327 /* confdefs.h. */
34328 _ACEOF
34329 cat confdefs.h >>conftest.$ac_ext
34330 cat >>conftest.$ac_ext <<_ACEOF
34331 /* end confdefs.h. */
34332
34333 #include <sys/statvfs.h>
34334
34335 int
34336 main ()
34337 {
34338
34339 long l;
34340 statvfs_t fs;
34341 statvfs("/", &fs);
34342 l = fs.f_bsize;
34343 l += fs.f_blocks;
34344 l += fs.f_bavail;
34345
34346 ;
34347 return 0;
34348 }
34349 _ACEOF
34350 rm -f conftest.$ac_objext
34351 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34352 (eval $ac_compile) 2>conftest.er1
34353 ac_status=$?
34354 grep -v '^ *+' conftest.er1 >conftest.err
34355 rm -f conftest.er1
34356 cat conftest.err >&5
34357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34358 (exit $ac_status); } &&
34359 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34361 (eval $ac_try) 2>&5
34362 ac_status=$?
34363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34364 (exit $ac_status); }; } &&
34365 { ac_try='test -s conftest.$ac_objext'
34366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34367 (eval $ac_try) 2>&5
34368 ac_status=$?
34369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34370 (exit $ac_status); }; }; then
34371 wx_cv_type_statvfs_t=statvfs_t
34372 else
34373 echo "$as_me: failed program was:" >&5
34374 sed 's/^/| /' conftest.$ac_ext >&5
34375
34376
34377 cat >conftest.$ac_ext <<_ACEOF
34378 /* confdefs.h. */
34379 _ACEOF
34380 cat confdefs.h >>conftest.$ac_ext
34381 cat >>conftest.$ac_ext <<_ACEOF
34382 /* end confdefs.h. */
34383
34384 #include <sys/statvfs.h>
34385
34386 int
34387 main ()
34388 {
34389
34390 long l;
34391 struct statvfs fs;
34392 statvfs("/", &fs);
34393 l = fs.f_bsize;
34394 l += fs.f_blocks;
34395 l += fs.f_bavail;
34396
34397 ;
34398 return 0;
34399 }
34400 _ACEOF
34401 rm -f conftest.$ac_objext
34402 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34403 (eval $ac_compile) 2>conftest.er1
34404 ac_status=$?
34405 grep -v '^ *+' conftest.er1 >conftest.err
34406 rm -f conftest.er1
34407 cat conftest.err >&5
34408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34409 (exit $ac_status); } &&
34410 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34412 (eval $ac_try) 2>&5
34413 ac_status=$?
34414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34415 (exit $ac_status); }; } &&
34416 { ac_try='test -s conftest.$ac_objext'
34417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34418 (eval $ac_try) 2>&5
34419 ac_status=$?
34420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34421 (exit $ac_status); }; }; then
34422 wx_cv_type_statvfs_t="struct statvfs"
34423 else
34424 echo "$as_me: failed program was:" >&5
34425 sed 's/^/| /' conftest.$ac_ext >&5
34426
34427 wx_cv_type_statvfs_t="unknown"
34428
34429 fi
34430 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34431
34432
34433 fi
34434 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34435
34436 fi
34437 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
34438 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
34439
34440 ac_ext=c
34441 ac_cpp='$CPP $CPPFLAGS'
34442 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34443 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34444 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34445
34446
34447 if test "$wx_cv_type_statvfs_t" != "unknown"; then
34448 cat >>confdefs.h <<\_ACEOF
34449 #define HAVE_STATVFS 1
34450 _ACEOF
34451
34452 fi
34453 else
34454 wx_cv_type_statvfs_t="unknown"
34455 fi
34456 fi
34457
34458 if test "$wx_cv_type_statvfs_t" != "unknown"; then
34459 cat >>confdefs.h <<_ACEOF
34460 #define WX_STATFS_T $wx_cv_type_statvfs_t
34461 _ACEOF
34462
34463 else
34464 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
34465 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
34466 fi
34467
34468 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
34469
34470
34471 for ac_func in fcntl flock
34472 do
34473 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34474 echo "$as_me:$LINENO: checking for $ac_func" >&5
34475 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34476 if eval "test \"\${$as_ac_var+set}\" = set"; then
34477 echo $ECHO_N "(cached) $ECHO_C" >&6
34478 else
34479 cat >conftest.$ac_ext <<_ACEOF
34480 /* confdefs.h. */
34481 _ACEOF
34482 cat confdefs.h >>conftest.$ac_ext
34483 cat >>conftest.$ac_ext <<_ACEOF
34484 /* end confdefs.h. */
34485 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34486 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34487 #define $ac_func innocuous_$ac_func
34488
34489 /* System header to define __stub macros and hopefully few prototypes,
34490 which can conflict with char $ac_func (); below.
34491 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34492 <limits.h> exists even on freestanding compilers. */
34493
34494 #ifdef __STDC__
34495 # include <limits.h>
34496 #else
34497 # include <assert.h>
34498 #endif
34499
34500 #undef $ac_func
34501
34502 /* Override any gcc2 internal prototype to avoid an error. */
34503 #ifdef __cplusplus
34504 extern "C"
34505 {
34506 #endif
34507 /* We use char because int might match the return type of a gcc2
34508 builtin and then its argument prototype would still apply. */
34509 char $ac_func ();
34510 /* The GNU C library defines this for functions which it implements
34511 to always fail with ENOSYS. Some functions are actually named
34512 something starting with __ and the normal name is an alias. */
34513 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34514 choke me
34515 #else
34516 char (*f) () = $ac_func;
34517 #endif
34518 #ifdef __cplusplus
34519 }
34520 #endif
34521
34522 int
34523 main ()
34524 {
34525 return f != $ac_func;
34526 ;
34527 return 0;
34528 }
34529 _ACEOF
34530 rm -f conftest.$ac_objext conftest$ac_exeext
34531 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34532 (eval $ac_link) 2>conftest.er1
34533 ac_status=$?
34534 grep -v '^ *+' conftest.er1 >conftest.err
34535 rm -f conftest.er1
34536 cat conftest.err >&5
34537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34538 (exit $ac_status); } &&
34539 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34541 (eval $ac_try) 2>&5
34542 ac_status=$?
34543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34544 (exit $ac_status); }; } &&
34545 { ac_try='test -s conftest$ac_exeext'
34546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34547 (eval $ac_try) 2>&5
34548 ac_status=$?
34549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34550 (exit $ac_status); }; }; then
34551 eval "$as_ac_var=yes"
34552 else
34553 echo "$as_me: failed program was:" >&5
34554 sed 's/^/| /' conftest.$ac_ext >&5
34555
34556 eval "$as_ac_var=no"
34557 fi
34558 rm -f conftest.err conftest.$ac_objext \
34559 conftest$ac_exeext conftest.$ac_ext
34560 fi
34561 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34562 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34563 if test `eval echo '${'$as_ac_var'}'` = yes; then
34564 cat >>confdefs.h <<_ACEOF
34565 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34566 _ACEOF
34567 break
34568 fi
34569 done
34570
34571
34572 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
34573 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
34574 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
34575 wxUSE_SNGLINST_CHECKER=no
34576 fi
34577 fi
34578
34579
34580 for ac_func in timegm
34581 do
34582 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34583 echo "$as_me:$LINENO: checking for $ac_func" >&5
34584 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34585 if eval "test \"\${$as_ac_var+set}\" = set"; then
34586 echo $ECHO_N "(cached) $ECHO_C" >&6
34587 else
34588 cat >conftest.$ac_ext <<_ACEOF
34589 /* confdefs.h. */
34590 _ACEOF
34591 cat confdefs.h >>conftest.$ac_ext
34592 cat >>conftest.$ac_ext <<_ACEOF
34593 /* end confdefs.h. */
34594 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34595 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34596 #define $ac_func innocuous_$ac_func
34597
34598 /* System header to define __stub macros and hopefully few prototypes,
34599 which can conflict with char $ac_func (); below.
34600 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34601 <limits.h> exists even on freestanding compilers. */
34602
34603 #ifdef __STDC__
34604 # include <limits.h>
34605 #else
34606 # include <assert.h>
34607 #endif
34608
34609 #undef $ac_func
34610
34611 /* Override any gcc2 internal prototype to avoid an error. */
34612 #ifdef __cplusplus
34613 extern "C"
34614 {
34615 #endif
34616 /* We use char because int might match the return type of a gcc2
34617 builtin and then its argument prototype would still apply. */
34618 char $ac_func ();
34619 /* The GNU C library defines this for functions which it implements
34620 to always fail with ENOSYS. Some functions are actually named
34621 something starting with __ and the normal name is an alias. */
34622 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34623 choke me
34624 #else
34625 char (*f) () = $ac_func;
34626 #endif
34627 #ifdef __cplusplus
34628 }
34629 #endif
34630
34631 int
34632 main ()
34633 {
34634 return f != $ac_func;
34635 ;
34636 return 0;
34637 }
34638 _ACEOF
34639 rm -f conftest.$ac_objext conftest$ac_exeext
34640 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34641 (eval $ac_link) 2>conftest.er1
34642 ac_status=$?
34643 grep -v '^ *+' conftest.er1 >conftest.err
34644 rm -f conftest.er1
34645 cat conftest.err >&5
34646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34647 (exit $ac_status); } &&
34648 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34650 (eval $ac_try) 2>&5
34651 ac_status=$?
34652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34653 (exit $ac_status); }; } &&
34654 { ac_try='test -s conftest$ac_exeext'
34655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34656 (eval $ac_try) 2>&5
34657 ac_status=$?
34658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34659 (exit $ac_status); }; }; then
34660 eval "$as_ac_var=yes"
34661 else
34662 echo "$as_me: failed program was:" >&5
34663 sed 's/^/| /' conftest.$ac_ext >&5
34664
34665 eval "$as_ac_var=no"
34666 fi
34667 rm -f conftest.err conftest.$ac_objext \
34668 conftest$ac_exeext conftest.$ac_ext
34669 fi
34670 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34671 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34672 if test `eval echo '${'$as_ac_var'}'` = yes; then
34673 cat >>confdefs.h <<_ACEOF
34674 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34675 _ACEOF
34676
34677 fi
34678 done
34679
34680
34681
34682
34683 for ac_func in putenv setenv
34684 do
34685 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34686 echo "$as_me:$LINENO: checking for $ac_func" >&5
34687 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34688 if eval "test \"\${$as_ac_var+set}\" = set"; then
34689 echo $ECHO_N "(cached) $ECHO_C" >&6
34690 else
34691 cat >conftest.$ac_ext <<_ACEOF
34692 /* confdefs.h. */
34693 _ACEOF
34694 cat confdefs.h >>conftest.$ac_ext
34695 cat >>conftest.$ac_ext <<_ACEOF
34696 /* end confdefs.h. */
34697 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34698 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34699 #define $ac_func innocuous_$ac_func
34700
34701 /* System header to define __stub macros and hopefully few prototypes,
34702 which can conflict with char $ac_func (); below.
34703 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34704 <limits.h> exists even on freestanding compilers. */
34705
34706 #ifdef __STDC__
34707 # include <limits.h>
34708 #else
34709 # include <assert.h>
34710 #endif
34711
34712 #undef $ac_func
34713
34714 /* Override any gcc2 internal prototype to avoid an error. */
34715 #ifdef __cplusplus
34716 extern "C"
34717 {
34718 #endif
34719 /* We use char because int might match the return type of a gcc2
34720 builtin and then its argument prototype would still apply. */
34721 char $ac_func ();
34722 /* The GNU C library defines this for functions which it implements
34723 to always fail with ENOSYS. Some functions are actually named
34724 something starting with __ and the normal name is an alias. */
34725 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34726 choke me
34727 #else
34728 char (*f) () = $ac_func;
34729 #endif
34730 #ifdef __cplusplus
34731 }
34732 #endif
34733
34734 int
34735 main ()
34736 {
34737 return f != $ac_func;
34738 ;
34739 return 0;
34740 }
34741 _ACEOF
34742 rm -f conftest.$ac_objext conftest$ac_exeext
34743 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34744 (eval $ac_link) 2>conftest.er1
34745 ac_status=$?
34746 grep -v '^ *+' conftest.er1 >conftest.err
34747 rm -f conftest.er1
34748 cat conftest.err >&5
34749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34750 (exit $ac_status); } &&
34751 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34753 (eval $ac_try) 2>&5
34754 ac_status=$?
34755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34756 (exit $ac_status); }; } &&
34757 { ac_try='test -s conftest$ac_exeext'
34758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34759 (eval $ac_try) 2>&5
34760 ac_status=$?
34761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34762 (exit $ac_status); }; }; then
34763 eval "$as_ac_var=yes"
34764 else
34765 echo "$as_me: failed program was:" >&5
34766 sed 's/^/| /' conftest.$ac_ext >&5
34767
34768 eval "$as_ac_var=no"
34769 fi
34770 rm -f conftest.err conftest.$ac_objext \
34771 conftest$ac_exeext conftest.$ac_ext
34772 fi
34773 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34774 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34775 if test `eval echo '${'$as_ac_var'}'` = yes; then
34776 cat >>confdefs.h <<_ACEOF
34777 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34778 _ACEOF
34779 break
34780 fi
34781 done
34782
34783
34784 HAVE_SOME_SLEEP_FUNC=0
34785 if test "$USE_BEOS" = 1; then
34786 cat >>confdefs.h <<\_ACEOF
34787 #define HAVE_SLEEP 1
34788 _ACEOF
34789
34790 HAVE_SOME_SLEEP_FUNC=1
34791 fi
34792
34793 if test "$USE_DARWIN" = 1; then
34794 cat >>confdefs.h <<\_ACEOF
34795 #define HAVE_USLEEP 1
34796 _ACEOF
34797
34798 HAVE_SOME_SLEEP_FUNC=1
34799 fi
34800
34801 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
34802 POSIX4_LINK=
34803
34804 for ac_func in nanosleep
34805 do
34806 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34807 echo "$as_me:$LINENO: checking for $ac_func" >&5
34808 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34809 if eval "test \"\${$as_ac_var+set}\" = set"; then
34810 echo $ECHO_N "(cached) $ECHO_C" >&6
34811 else
34812 cat >conftest.$ac_ext <<_ACEOF
34813 /* confdefs.h. */
34814 _ACEOF
34815 cat confdefs.h >>conftest.$ac_ext
34816 cat >>conftest.$ac_ext <<_ACEOF
34817 /* end confdefs.h. */
34818 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34819 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34820 #define $ac_func innocuous_$ac_func
34821
34822 /* System header to define __stub macros and hopefully few prototypes,
34823 which can conflict with char $ac_func (); below.
34824 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34825 <limits.h> exists even on freestanding compilers. */
34826
34827 #ifdef __STDC__
34828 # include <limits.h>
34829 #else
34830 # include <assert.h>
34831 #endif
34832
34833 #undef $ac_func
34834
34835 /* Override any gcc2 internal prototype to avoid an error. */
34836 #ifdef __cplusplus
34837 extern "C"
34838 {
34839 #endif
34840 /* We use char because int might match the return type of a gcc2
34841 builtin and then its argument prototype would still apply. */
34842 char $ac_func ();
34843 /* The GNU C library defines this for functions which it implements
34844 to always fail with ENOSYS. Some functions are actually named
34845 something starting with __ and the normal name is an alias. */
34846 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34847 choke me
34848 #else
34849 char (*f) () = $ac_func;
34850 #endif
34851 #ifdef __cplusplus
34852 }
34853 #endif
34854
34855 int
34856 main ()
34857 {
34858 return f != $ac_func;
34859 ;
34860 return 0;
34861 }
34862 _ACEOF
34863 rm -f conftest.$ac_objext conftest$ac_exeext
34864 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34865 (eval $ac_link) 2>conftest.er1
34866 ac_status=$?
34867 grep -v '^ *+' conftest.er1 >conftest.err
34868 rm -f conftest.er1
34869 cat conftest.err >&5
34870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34871 (exit $ac_status); } &&
34872 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34874 (eval $ac_try) 2>&5
34875 ac_status=$?
34876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34877 (exit $ac_status); }; } &&
34878 { ac_try='test -s conftest$ac_exeext'
34879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34880 (eval $ac_try) 2>&5
34881 ac_status=$?
34882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34883 (exit $ac_status); }; }; then
34884 eval "$as_ac_var=yes"
34885 else
34886 echo "$as_me: failed program was:" >&5
34887 sed 's/^/| /' conftest.$ac_ext >&5
34888
34889 eval "$as_ac_var=no"
34890 fi
34891 rm -f conftest.err conftest.$ac_objext \
34892 conftest$ac_exeext conftest.$ac_ext
34893 fi
34894 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34895 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34896 if test `eval echo '${'$as_ac_var'}'` = yes; then
34897 cat >>confdefs.h <<_ACEOF
34898 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34899 _ACEOF
34900 cat >>confdefs.h <<\_ACEOF
34901 #define HAVE_NANOSLEEP 1
34902 _ACEOF
34903
34904 else
34905
34906 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
34907 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
34908 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
34909 echo $ECHO_N "(cached) $ECHO_C" >&6
34910 else
34911 ac_check_lib_save_LIBS=$LIBS
34912 LIBS="-lposix4 $LIBS"
34913 cat >conftest.$ac_ext <<_ACEOF
34914 /* confdefs.h. */
34915 _ACEOF
34916 cat confdefs.h >>conftest.$ac_ext
34917 cat >>conftest.$ac_ext <<_ACEOF
34918 /* end confdefs.h. */
34919
34920 /* Override any gcc2 internal prototype to avoid an error. */
34921 #ifdef __cplusplus
34922 extern "C"
34923 #endif
34924 /* We use char because int might match the return type of a gcc2
34925 builtin and then its argument prototype would still apply. */
34926 char nanosleep ();
34927 int
34928 main ()
34929 {
34930 nanosleep ();
34931 ;
34932 return 0;
34933 }
34934 _ACEOF
34935 rm -f conftest.$ac_objext conftest$ac_exeext
34936 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34937 (eval $ac_link) 2>conftest.er1
34938 ac_status=$?
34939 grep -v '^ *+' conftest.er1 >conftest.err
34940 rm -f conftest.er1
34941 cat conftest.err >&5
34942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34943 (exit $ac_status); } &&
34944 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34946 (eval $ac_try) 2>&5
34947 ac_status=$?
34948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34949 (exit $ac_status); }; } &&
34950 { ac_try='test -s conftest$ac_exeext'
34951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34952 (eval $ac_try) 2>&5
34953 ac_status=$?
34954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34955 (exit $ac_status); }; }; then
34956 ac_cv_lib_posix4_nanosleep=yes
34957 else
34958 echo "$as_me: failed program was:" >&5
34959 sed 's/^/| /' conftest.$ac_ext >&5
34960
34961 ac_cv_lib_posix4_nanosleep=no
34962 fi
34963 rm -f conftest.err conftest.$ac_objext \
34964 conftest$ac_exeext conftest.$ac_ext
34965 LIBS=$ac_check_lib_save_LIBS
34966 fi
34967 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
34968 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
34969 if test $ac_cv_lib_posix4_nanosleep = yes; then
34970
34971 cat >>confdefs.h <<\_ACEOF
34972 #define HAVE_NANOSLEEP 1
34973 _ACEOF
34974
34975 POSIX4_LINK=" -lposix4"
34976
34977 else
34978
34979
34980 for ac_func in usleep
34981 do
34982 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34983 echo "$as_me:$LINENO: checking for $ac_func" >&5
34984 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34985 if eval "test \"\${$as_ac_var+set}\" = set"; then
34986 echo $ECHO_N "(cached) $ECHO_C" >&6
34987 else
34988 cat >conftest.$ac_ext <<_ACEOF
34989 /* confdefs.h. */
34990 _ACEOF
34991 cat confdefs.h >>conftest.$ac_ext
34992 cat >>conftest.$ac_ext <<_ACEOF
34993 /* end confdefs.h. */
34994 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34995 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34996 #define $ac_func innocuous_$ac_func
34997
34998 /* System header to define __stub macros and hopefully few prototypes,
34999 which can conflict with char $ac_func (); below.
35000 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35001 <limits.h> exists even on freestanding compilers. */
35002
35003 #ifdef __STDC__
35004 # include <limits.h>
35005 #else
35006 # include <assert.h>
35007 #endif
35008
35009 #undef $ac_func
35010
35011 /* Override any gcc2 internal prototype to avoid an error. */
35012 #ifdef __cplusplus
35013 extern "C"
35014 {
35015 #endif
35016 /* We use char because int might match the return type of a gcc2
35017 builtin and then its argument prototype would still apply. */
35018 char $ac_func ();
35019 /* The GNU C library defines this for functions which it implements
35020 to always fail with ENOSYS. Some functions are actually named
35021 something starting with __ and the normal name is an alias. */
35022 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35023 choke me
35024 #else
35025 char (*f) () = $ac_func;
35026 #endif
35027 #ifdef __cplusplus
35028 }
35029 #endif
35030
35031 int
35032 main ()
35033 {
35034 return f != $ac_func;
35035 ;
35036 return 0;
35037 }
35038 _ACEOF
35039 rm -f conftest.$ac_objext conftest$ac_exeext
35040 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35041 (eval $ac_link) 2>conftest.er1
35042 ac_status=$?
35043 grep -v '^ *+' conftest.er1 >conftest.err
35044 rm -f conftest.er1
35045 cat conftest.err >&5
35046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35047 (exit $ac_status); } &&
35048 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35050 (eval $ac_try) 2>&5
35051 ac_status=$?
35052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35053 (exit $ac_status); }; } &&
35054 { ac_try='test -s conftest$ac_exeext'
35055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35056 (eval $ac_try) 2>&5
35057 ac_status=$?
35058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35059 (exit $ac_status); }; }; then
35060 eval "$as_ac_var=yes"
35061 else
35062 echo "$as_me: failed program was:" >&5
35063 sed 's/^/| /' conftest.$ac_ext >&5
35064
35065 eval "$as_ac_var=no"
35066 fi
35067 rm -f conftest.err conftest.$ac_objext \
35068 conftest$ac_exeext conftest.$ac_ext
35069 fi
35070 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35071 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35072 if test `eval echo '${'$as_ac_var'}'` = yes; then
35073 cat >>confdefs.h <<_ACEOF
35074 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35075 _ACEOF
35076 cat >>confdefs.h <<\_ACEOF
35077 #define HAVE_USLEEP 1
35078 _ACEOF
35079
35080 else
35081 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
35082 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
35083
35084 fi
35085 done
35086
35087
35088
35089 fi
35090
35091
35092
35093 fi
35094 done
35095
35096 fi
35097
35098
35099
35100 for ac_func in uname gethostname
35101 do
35102 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35103 echo "$as_me:$LINENO: checking for $ac_func" >&5
35104 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35105 if eval "test \"\${$as_ac_var+set}\" = set"; then
35106 echo $ECHO_N "(cached) $ECHO_C" >&6
35107 else
35108 cat >conftest.$ac_ext <<_ACEOF
35109 /* confdefs.h. */
35110 _ACEOF
35111 cat confdefs.h >>conftest.$ac_ext
35112 cat >>conftest.$ac_ext <<_ACEOF
35113 /* end confdefs.h. */
35114 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35115 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35116 #define $ac_func innocuous_$ac_func
35117
35118 /* System header to define __stub macros and hopefully few prototypes,
35119 which can conflict with char $ac_func (); below.
35120 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35121 <limits.h> exists even on freestanding compilers. */
35122
35123 #ifdef __STDC__
35124 # include <limits.h>
35125 #else
35126 # include <assert.h>
35127 #endif
35128
35129 #undef $ac_func
35130
35131 /* Override any gcc2 internal prototype to avoid an error. */
35132 #ifdef __cplusplus
35133 extern "C"
35134 {
35135 #endif
35136 /* We use char because int might match the return type of a gcc2
35137 builtin and then its argument prototype would still apply. */
35138 char $ac_func ();
35139 /* The GNU C library defines this for functions which it implements
35140 to always fail with ENOSYS. Some functions are actually named
35141 something starting with __ and the normal name is an alias. */
35142 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35143 choke me
35144 #else
35145 char (*f) () = $ac_func;
35146 #endif
35147 #ifdef __cplusplus
35148 }
35149 #endif
35150
35151 int
35152 main ()
35153 {
35154 return f != $ac_func;
35155 ;
35156 return 0;
35157 }
35158 _ACEOF
35159 rm -f conftest.$ac_objext conftest$ac_exeext
35160 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35161 (eval $ac_link) 2>conftest.er1
35162 ac_status=$?
35163 grep -v '^ *+' conftest.er1 >conftest.err
35164 rm -f conftest.er1
35165 cat conftest.err >&5
35166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35167 (exit $ac_status); } &&
35168 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35170 (eval $ac_try) 2>&5
35171 ac_status=$?
35172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35173 (exit $ac_status); }; } &&
35174 { ac_try='test -s conftest$ac_exeext'
35175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35176 (eval $ac_try) 2>&5
35177 ac_status=$?
35178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35179 (exit $ac_status); }; }; then
35180 eval "$as_ac_var=yes"
35181 else
35182 echo "$as_me: failed program was:" >&5
35183 sed 's/^/| /' conftest.$ac_ext >&5
35184
35185 eval "$as_ac_var=no"
35186 fi
35187 rm -f conftest.err conftest.$ac_objext \
35188 conftest$ac_exeext conftest.$ac_ext
35189 fi
35190 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35191 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35192 if test `eval echo '${'$as_ac_var'}'` = yes; then
35193 cat >>confdefs.h <<_ACEOF
35194 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35195 _ACEOF
35196 break
35197 fi
35198 done
35199
35200
35201
35202
35203 ac_ext=cc
35204 ac_cpp='$CXXCPP $CPPFLAGS'
35205 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35206 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35207 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35208
35209
35210
35211 for ac_func in strtok_r
35212 do
35213 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35214 echo "$as_me:$LINENO: checking for $ac_func" >&5
35215 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35216 if eval "test \"\${$as_ac_var+set}\" = set"; then
35217 echo $ECHO_N "(cached) $ECHO_C" >&6
35218 else
35219 cat >conftest.$ac_ext <<_ACEOF
35220 /* confdefs.h. */
35221 _ACEOF
35222 cat confdefs.h >>conftest.$ac_ext
35223 cat >>conftest.$ac_ext <<_ACEOF
35224 /* end confdefs.h. */
35225 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35226 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35227 #define $ac_func innocuous_$ac_func
35228
35229 /* System header to define __stub macros and hopefully few prototypes,
35230 which can conflict with char $ac_func (); below.
35231 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35232 <limits.h> exists even on freestanding compilers. */
35233
35234 #ifdef __STDC__
35235 # include <limits.h>
35236 #else
35237 # include <assert.h>
35238 #endif
35239
35240 #undef $ac_func
35241
35242 /* Override any gcc2 internal prototype to avoid an error. */
35243 #ifdef __cplusplus
35244 extern "C"
35245 {
35246 #endif
35247 /* We use char because int might match the return type of a gcc2
35248 builtin and then its argument prototype would still apply. */
35249 char $ac_func ();
35250 /* The GNU C library defines this for functions which it implements
35251 to always fail with ENOSYS. Some functions are actually named
35252 something starting with __ and the normal name is an alias. */
35253 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35254 choke me
35255 #else
35256 char (*f) () = $ac_func;
35257 #endif
35258 #ifdef __cplusplus
35259 }
35260 #endif
35261
35262 int
35263 main ()
35264 {
35265 return f != $ac_func;
35266 ;
35267 return 0;
35268 }
35269 _ACEOF
35270 rm -f conftest.$ac_objext conftest$ac_exeext
35271 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35272 (eval $ac_link) 2>conftest.er1
35273 ac_status=$?
35274 grep -v '^ *+' conftest.er1 >conftest.err
35275 rm -f conftest.er1
35276 cat conftest.err >&5
35277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35278 (exit $ac_status); } &&
35279 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35281 (eval $ac_try) 2>&5
35282 ac_status=$?
35283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35284 (exit $ac_status); }; } &&
35285 { ac_try='test -s conftest$ac_exeext'
35286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35287 (eval $ac_try) 2>&5
35288 ac_status=$?
35289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35290 (exit $ac_status); }; }; then
35291 eval "$as_ac_var=yes"
35292 else
35293 echo "$as_me: failed program was:" >&5
35294 sed 's/^/| /' conftest.$ac_ext >&5
35295
35296 eval "$as_ac_var=no"
35297 fi
35298 rm -f conftest.err conftest.$ac_objext \
35299 conftest$ac_exeext conftest.$ac_ext
35300 fi
35301 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35302 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35303 if test `eval echo '${'$as_ac_var'}'` = yes; then
35304 cat >>confdefs.h <<_ACEOF
35305 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35306 _ACEOF
35307
35308 fi
35309 done
35310
35311
35312 ac_ext=c
35313 ac_cpp='$CPP $CPPFLAGS'
35314 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35315 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35316 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35317
35318
35319 INET_LINK=
35320
35321 for ac_func in inet_addr
35322 do
35323 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35324 echo "$as_me:$LINENO: checking for $ac_func" >&5
35325 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35326 if eval "test \"\${$as_ac_var+set}\" = set"; then
35327 echo $ECHO_N "(cached) $ECHO_C" >&6
35328 else
35329 cat >conftest.$ac_ext <<_ACEOF
35330 /* confdefs.h. */
35331 _ACEOF
35332 cat confdefs.h >>conftest.$ac_ext
35333 cat >>conftest.$ac_ext <<_ACEOF
35334 /* end confdefs.h. */
35335 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35336 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35337 #define $ac_func innocuous_$ac_func
35338
35339 /* System header to define __stub macros and hopefully few prototypes,
35340 which can conflict with char $ac_func (); below.
35341 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35342 <limits.h> exists even on freestanding compilers. */
35343
35344 #ifdef __STDC__
35345 # include <limits.h>
35346 #else
35347 # include <assert.h>
35348 #endif
35349
35350 #undef $ac_func
35351
35352 /* Override any gcc2 internal prototype to avoid an error. */
35353 #ifdef __cplusplus
35354 extern "C"
35355 {
35356 #endif
35357 /* We use char because int might match the return type of a gcc2
35358 builtin and then its argument prototype would still apply. */
35359 char $ac_func ();
35360 /* The GNU C library defines this for functions which it implements
35361 to always fail with ENOSYS. Some functions are actually named
35362 something starting with __ and the normal name is an alias. */
35363 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35364 choke me
35365 #else
35366 char (*f) () = $ac_func;
35367 #endif
35368 #ifdef __cplusplus
35369 }
35370 #endif
35371
35372 int
35373 main ()
35374 {
35375 return f != $ac_func;
35376 ;
35377 return 0;
35378 }
35379 _ACEOF
35380 rm -f conftest.$ac_objext conftest$ac_exeext
35381 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35382 (eval $ac_link) 2>conftest.er1
35383 ac_status=$?
35384 grep -v '^ *+' conftest.er1 >conftest.err
35385 rm -f conftest.er1
35386 cat conftest.err >&5
35387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35388 (exit $ac_status); } &&
35389 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35391 (eval $ac_try) 2>&5
35392 ac_status=$?
35393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35394 (exit $ac_status); }; } &&
35395 { ac_try='test -s conftest$ac_exeext'
35396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35397 (eval $ac_try) 2>&5
35398 ac_status=$?
35399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35400 (exit $ac_status); }; }; then
35401 eval "$as_ac_var=yes"
35402 else
35403 echo "$as_me: failed program was:" >&5
35404 sed 's/^/| /' conftest.$ac_ext >&5
35405
35406 eval "$as_ac_var=no"
35407 fi
35408 rm -f conftest.err conftest.$ac_objext \
35409 conftest$ac_exeext conftest.$ac_ext
35410 fi
35411 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35412 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35413 if test `eval echo '${'$as_ac_var'}'` = yes; then
35414 cat >>confdefs.h <<_ACEOF
35415 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35416 _ACEOF
35417 cat >>confdefs.h <<\_ACEOF
35418 #define HAVE_INET_ADDR 1
35419 _ACEOF
35420
35421 else
35422
35423 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
35424 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
35425 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
35426 echo $ECHO_N "(cached) $ECHO_C" >&6
35427 else
35428 ac_check_lib_save_LIBS=$LIBS
35429 LIBS="-lnsl $LIBS"
35430 cat >conftest.$ac_ext <<_ACEOF
35431 /* confdefs.h. */
35432 _ACEOF
35433 cat confdefs.h >>conftest.$ac_ext
35434 cat >>conftest.$ac_ext <<_ACEOF
35435 /* end confdefs.h. */
35436
35437 /* Override any gcc2 internal prototype to avoid an error. */
35438 #ifdef __cplusplus
35439 extern "C"
35440 #endif
35441 /* We use char because int might match the return type of a gcc2
35442 builtin and then its argument prototype would still apply. */
35443 char inet_addr ();
35444 int
35445 main ()
35446 {
35447 inet_addr ();
35448 ;
35449 return 0;
35450 }
35451 _ACEOF
35452 rm -f conftest.$ac_objext conftest$ac_exeext
35453 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35454 (eval $ac_link) 2>conftest.er1
35455 ac_status=$?
35456 grep -v '^ *+' conftest.er1 >conftest.err
35457 rm -f conftest.er1
35458 cat conftest.err >&5
35459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35460 (exit $ac_status); } &&
35461 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35463 (eval $ac_try) 2>&5
35464 ac_status=$?
35465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35466 (exit $ac_status); }; } &&
35467 { ac_try='test -s conftest$ac_exeext'
35468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35469 (eval $ac_try) 2>&5
35470 ac_status=$?
35471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35472 (exit $ac_status); }; }; then
35473 ac_cv_lib_nsl_inet_addr=yes
35474 else
35475 echo "$as_me: failed program was:" >&5
35476 sed 's/^/| /' conftest.$ac_ext >&5
35477
35478 ac_cv_lib_nsl_inet_addr=no
35479 fi
35480 rm -f conftest.err conftest.$ac_objext \
35481 conftest$ac_exeext conftest.$ac_ext
35482 LIBS=$ac_check_lib_save_LIBS
35483 fi
35484 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
35485 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
35486 if test $ac_cv_lib_nsl_inet_addr = yes; then
35487 INET_LINK="nsl"
35488 else
35489
35490 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
35491 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
35492 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
35493 echo $ECHO_N "(cached) $ECHO_C" >&6
35494 else
35495 ac_check_lib_save_LIBS=$LIBS
35496 LIBS="-lresolv $LIBS"
35497 cat >conftest.$ac_ext <<_ACEOF
35498 /* confdefs.h. */
35499 _ACEOF
35500 cat confdefs.h >>conftest.$ac_ext
35501 cat >>conftest.$ac_ext <<_ACEOF
35502 /* end confdefs.h. */
35503
35504 /* Override any gcc2 internal prototype to avoid an error. */
35505 #ifdef __cplusplus
35506 extern "C"
35507 #endif
35508 /* We use char because int might match the return type of a gcc2
35509 builtin and then its argument prototype would still apply. */
35510 char inet_addr ();
35511 int
35512 main ()
35513 {
35514 inet_addr ();
35515 ;
35516 return 0;
35517 }
35518 _ACEOF
35519 rm -f conftest.$ac_objext conftest$ac_exeext
35520 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35521 (eval $ac_link) 2>conftest.er1
35522 ac_status=$?
35523 grep -v '^ *+' conftest.er1 >conftest.err
35524 rm -f conftest.er1
35525 cat conftest.err >&5
35526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35527 (exit $ac_status); } &&
35528 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35530 (eval $ac_try) 2>&5
35531 ac_status=$?
35532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35533 (exit $ac_status); }; } &&
35534 { ac_try='test -s conftest$ac_exeext'
35535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35536 (eval $ac_try) 2>&5
35537 ac_status=$?
35538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35539 (exit $ac_status); }; }; then
35540 ac_cv_lib_resolv_inet_addr=yes
35541 else
35542 echo "$as_me: failed program was:" >&5
35543 sed 's/^/| /' conftest.$ac_ext >&5
35544
35545 ac_cv_lib_resolv_inet_addr=no
35546 fi
35547 rm -f conftest.err conftest.$ac_objext \
35548 conftest$ac_exeext conftest.$ac_ext
35549 LIBS=$ac_check_lib_save_LIBS
35550 fi
35551 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
35552 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
35553 if test $ac_cv_lib_resolv_inet_addr = yes; then
35554 INET_LINK="resolv"
35555 else
35556
35557 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
35558 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
35559 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
35560 echo $ECHO_N "(cached) $ECHO_C" >&6
35561 else
35562 ac_check_lib_save_LIBS=$LIBS
35563 LIBS="-lsocket $LIBS"
35564 cat >conftest.$ac_ext <<_ACEOF
35565 /* confdefs.h. */
35566 _ACEOF
35567 cat confdefs.h >>conftest.$ac_ext
35568 cat >>conftest.$ac_ext <<_ACEOF
35569 /* end confdefs.h. */
35570
35571 /* Override any gcc2 internal prototype to avoid an error. */
35572 #ifdef __cplusplus
35573 extern "C"
35574 #endif
35575 /* We use char because int might match the return type of a gcc2
35576 builtin and then its argument prototype would still apply. */
35577 char inet_addr ();
35578 int
35579 main ()
35580 {
35581 inet_addr ();
35582 ;
35583 return 0;
35584 }
35585 _ACEOF
35586 rm -f conftest.$ac_objext conftest$ac_exeext
35587 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35588 (eval $ac_link) 2>conftest.er1
35589 ac_status=$?
35590 grep -v '^ *+' conftest.er1 >conftest.err
35591 rm -f conftest.er1
35592 cat conftest.err >&5
35593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35594 (exit $ac_status); } &&
35595 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35597 (eval $ac_try) 2>&5
35598 ac_status=$?
35599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35600 (exit $ac_status); }; } &&
35601 { ac_try='test -s conftest$ac_exeext'
35602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35603 (eval $ac_try) 2>&5
35604 ac_status=$?
35605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35606 (exit $ac_status); }; }; then
35607 ac_cv_lib_socket_inet_addr=yes
35608 else
35609 echo "$as_me: failed program was:" >&5
35610 sed 's/^/| /' conftest.$ac_ext >&5
35611
35612 ac_cv_lib_socket_inet_addr=no
35613 fi
35614 rm -f conftest.err conftest.$ac_objext \
35615 conftest$ac_exeext conftest.$ac_ext
35616 LIBS=$ac_check_lib_save_LIBS
35617 fi
35618 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
35619 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
35620 if test $ac_cv_lib_socket_inet_addr = yes; then
35621 INET_LINK="socket"
35622
35623 fi
35624
35625
35626
35627 fi
35628
35629
35630
35631 fi
35632
35633
35634
35635 fi
35636 done
35637
35638
35639
35640 for ac_func in inet_aton
35641 do
35642 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35643 echo "$as_me:$LINENO: checking for $ac_func" >&5
35644 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35645 if eval "test \"\${$as_ac_var+set}\" = set"; then
35646 echo $ECHO_N "(cached) $ECHO_C" >&6
35647 else
35648 cat >conftest.$ac_ext <<_ACEOF
35649 /* confdefs.h. */
35650 _ACEOF
35651 cat confdefs.h >>conftest.$ac_ext
35652 cat >>conftest.$ac_ext <<_ACEOF
35653 /* end confdefs.h. */
35654 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35655 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35656 #define $ac_func innocuous_$ac_func
35657
35658 /* System header to define __stub macros and hopefully few prototypes,
35659 which can conflict with char $ac_func (); below.
35660 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35661 <limits.h> exists even on freestanding compilers. */
35662
35663 #ifdef __STDC__
35664 # include <limits.h>
35665 #else
35666 # include <assert.h>
35667 #endif
35668
35669 #undef $ac_func
35670
35671 /* Override any gcc2 internal prototype to avoid an error. */
35672 #ifdef __cplusplus
35673 extern "C"
35674 {
35675 #endif
35676 /* We use char because int might match the return type of a gcc2
35677 builtin and then its argument prototype would still apply. */
35678 char $ac_func ();
35679 /* The GNU C library defines this for functions which it implements
35680 to always fail with ENOSYS. Some functions are actually named
35681 something starting with __ and the normal name is an alias. */
35682 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35683 choke me
35684 #else
35685 char (*f) () = $ac_func;
35686 #endif
35687 #ifdef __cplusplus
35688 }
35689 #endif
35690
35691 int
35692 main ()
35693 {
35694 return f != $ac_func;
35695 ;
35696 return 0;
35697 }
35698 _ACEOF
35699 rm -f conftest.$ac_objext conftest$ac_exeext
35700 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35701 (eval $ac_link) 2>conftest.er1
35702 ac_status=$?
35703 grep -v '^ *+' conftest.er1 >conftest.err
35704 rm -f conftest.er1
35705 cat conftest.err >&5
35706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35707 (exit $ac_status); } &&
35708 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35710 (eval $ac_try) 2>&5
35711 ac_status=$?
35712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35713 (exit $ac_status); }; } &&
35714 { ac_try='test -s conftest$ac_exeext'
35715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35716 (eval $ac_try) 2>&5
35717 ac_status=$?
35718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35719 (exit $ac_status); }; }; then
35720 eval "$as_ac_var=yes"
35721 else
35722 echo "$as_me: failed program was:" >&5
35723 sed 's/^/| /' conftest.$ac_ext >&5
35724
35725 eval "$as_ac_var=no"
35726 fi
35727 rm -f conftest.err conftest.$ac_objext \
35728 conftest$ac_exeext conftest.$ac_ext
35729 fi
35730 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35731 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35732 if test `eval echo '${'$as_ac_var'}'` = yes; then
35733 cat >>confdefs.h <<_ACEOF
35734 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35735 _ACEOF
35736 cat >>confdefs.h <<\_ACEOF
35737 #define HAVE_INET_ATON 1
35738 _ACEOF
35739
35740 else
35741
35742 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
35743 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
35744 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
35745 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
35746 echo $ECHO_N "(cached) $ECHO_C" >&6
35747 else
35748 ac_check_lib_save_LIBS=$LIBS
35749 LIBS="-l$INET_LINK $LIBS"
35750 cat >conftest.$ac_ext <<_ACEOF
35751 /* confdefs.h. */
35752 _ACEOF
35753 cat confdefs.h >>conftest.$ac_ext
35754 cat >>conftest.$ac_ext <<_ACEOF
35755 /* end confdefs.h. */
35756
35757 /* Override any gcc2 internal prototype to avoid an error. */
35758 #ifdef __cplusplus
35759 extern "C"
35760 #endif
35761 /* We use char because int might match the return type of a gcc2
35762 builtin and then its argument prototype would still apply. */
35763 char inet_aton ();
35764 int
35765 main ()
35766 {
35767 inet_aton ();
35768 ;
35769 return 0;
35770 }
35771 _ACEOF
35772 rm -f conftest.$ac_objext conftest$ac_exeext
35773 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35774 (eval $ac_link) 2>conftest.er1
35775 ac_status=$?
35776 grep -v '^ *+' conftest.er1 >conftest.err
35777 rm -f conftest.er1
35778 cat conftest.err >&5
35779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35780 (exit $ac_status); } &&
35781 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35783 (eval $ac_try) 2>&5
35784 ac_status=$?
35785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35786 (exit $ac_status); }; } &&
35787 { ac_try='test -s conftest$ac_exeext'
35788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35789 (eval $ac_try) 2>&5
35790 ac_status=$?
35791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35792 (exit $ac_status); }; }; then
35793 eval "$as_ac_Lib=yes"
35794 else
35795 echo "$as_me: failed program was:" >&5
35796 sed 's/^/| /' conftest.$ac_ext >&5
35797
35798 eval "$as_ac_Lib=no"
35799 fi
35800 rm -f conftest.err conftest.$ac_objext \
35801 conftest$ac_exeext conftest.$ac_ext
35802 LIBS=$ac_check_lib_save_LIBS
35803 fi
35804 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
35805 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
35806 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
35807 cat >>confdefs.h <<\_ACEOF
35808 #define HAVE_INET_ATON 1
35809 _ACEOF
35810
35811 fi
35812
35813
35814 fi
35815 done
35816
35817
35818 if test "x$INET_LINK" != "x"; then
35819 cat >>confdefs.h <<\_ACEOF
35820 #define HAVE_INET_ADDR 1
35821 _ACEOF
35822
35823 INET_LINK=" -l$INET_LINK"
35824 fi
35825
35826 fi
35827
35828
35829
35830 EXTRALIBS_ESD=
35831 echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
35832 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
35833 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
35834 echo $ECHO_N "(cached) $ECHO_C" >&6
35835 else
35836 ac_check_lib_save_LIBS=$LIBS
35837 LIBS="-lesd $LIBS"
35838 cat >conftest.$ac_ext <<_ACEOF
35839 /* confdefs.h. */
35840 _ACEOF
35841 cat confdefs.h >>conftest.$ac_ext
35842 cat >>conftest.$ac_ext <<_ACEOF
35843 /* end confdefs.h. */
35844
35845 /* Override any gcc2 internal prototype to avoid an error. */
35846 #ifdef __cplusplus
35847 extern "C"
35848 #endif
35849 /* We use char because int might match the return type of a gcc2
35850 builtin and then its argument prototype would still apply. */
35851 char esd_close ();
35852 int
35853 main ()
35854 {
35855 esd_close ();
35856 ;
35857 return 0;
35858 }
35859 _ACEOF
35860 rm -f conftest.$ac_objext conftest$ac_exeext
35861 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35862 (eval $ac_link) 2>conftest.er1
35863 ac_status=$?
35864 grep -v '^ *+' conftest.er1 >conftest.err
35865 rm -f conftest.er1
35866 cat conftest.err >&5
35867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35868 (exit $ac_status); } &&
35869 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35871 (eval $ac_try) 2>&5
35872 ac_status=$?
35873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35874 (exit $ac_status); }; } &&
35875 { ac_try='test -s conftest$ac_exeext'
35876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35877 (eval $ac_try) 2>&5
35878 ac_status=$?
35879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35880 (exit $ac_status); }; }; then
35881 ac_cv_lib_esd_esd_close=yes
35882 else
35883 echo "$as_me: failed program was:" >&5
35884 sed 's/^/| /' conftest.$ac_ext >&5
35885
35886 ac_cv_lib_esd_esd_close=no
35887 fi
35888 rm -f conftest.err conftest.$ac_objext \
35889 conftest$ac_exeext conftest.$ac_ext
35890 LIBS=$ac_check_lib_save_LIBS
35891 fi
35892 echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
35893 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
35894 if test $ac_cv_lib_esd_esd_close = yes; then
35895
35896
35897 for ac_header in esd.h
35898 do
35899 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35900 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35901 echo "$as_me:$LINENO: checking for $ac_header" >&5
35902 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
35903 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35904 echo $ECHO_N "(cached) $ECHO_C" >&6
35905 fi
35906 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
35907 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
35908 else
35909 # Is the header compilable?
35910 echo "$as_me:$LINENO: checking $ac_header usability" >&5
35911 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
35912 cat >conftest.$ac_ext <<_ACEOF
35913 /* confdefs.h. */
35914 _ACEOF
35915 cat confdefs.h >>conftest.$ac_ext
35916 cat >>conftest.$ac_ext <<_ACEOF
35917 /* end confdefs.h. */
35918 $ac_includes_default
35919 #include <$ac_header>
35920 _ACEOF
35921 rm -f conftest.$ac_objext
35922 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35923 (eval $ac_compile) 2>conftest.er1
35924 ac_status=$?
35925 grep -v '^ *+' conftest.er1 >conftest.err
35926 rm -f conftest.er1
35927 cat conftest.err >&5
35928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35929 (exit $ac_status); } &&
35930 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35932 (eval $ac_try) 2>&5
35933 ac_status=$?
35934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35935 (exit $ac_status); }; } &&
35936 { ac_try='test -s conftest.$ac_objext'
35937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35938 (eval $ac_try) 2>&5
35939 ac_status=$?
35940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35941 (exit $ac_status); }; }; then
35942 ac_header_compiler=yes
35943 else
35944 echo "$as_me: failed program was:" >&5
35945 sed 's/^/| /' conftest.$ac_ext >&5
35946
35947 ac_header_compiler=no
35948 fi
35949 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35950 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
35951 echo "${ECHO_T}$ac_header_compiler" >&6
35952
35953 # Is the header present?
35954 echo "$as_me:$LINENO: checking $ac_header presence" >&5
35955 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
35956 cat >conftest.$ac_ext <<_ACEOF
35957 /* confdefs.h. */
35958 _ACEOF
35959 cat confdefs.h >>conftest.$ac_ext
35960 cat >>conftest.$ac_ext <<_ACEOF
35961 /* end confdefs.h. */
35962 #include <$ac_header>
35963 _ACEOF
35964 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
35965 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
35966 ac_status=$?
35967 grep -v '^ *+' conftest.er1 >conftest.err
35968 rm -f conftest.er1
35969 cat conftest.err >&5
35970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35971 (exit $ac_status); } >/dev/null; then
35972 if test -s conftest.err; then
35973 ac_cpp_err=$ac_c_preproc_warn_flag
35974 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
35975 else
35976 ac_cpp_err=
35977 fi
35978 else
35979 ac_cpp_err=yes
35980 fi
35981 if test -z "$ac_cpp_err"; then
35982 ac_header_preproc=yes
35983 else
35984 echo "$as_me: failed program was:" >&5
35985 sed 's/^/| /' conftest.$ac_ext >&5
35986
35987 ac_header_preproc=no
35988 fi
35989 rm -f conftest.err conftest.$ac_ext
35990 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
35991 echo "${ECHO_T}$ac_header_preproc" >&6
35992
35993 # So? What about this header?
35994 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
35995 yes:no: )
35996 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
35997 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
35998 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
35999 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
36000 ac_header_preproc=yes
36001 ;;
36002 no:yes:* )
36003 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
36004 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
36005 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
36006 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
36007 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
36008 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
36009 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
36010 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
36011 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
36012 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
36013 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
36014 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
36015 (
36016 cat <<\_ASBOX
36017 ## ----------------------------------------- ##
36018 ## Report this to wx-dev@lists.wxwidgets.org ##
36019 ## ----------------------------------------- ##
36020 _ASBOX
36021 ) |
36022 sed "s/^/$as_me: WARNING: /" >&2
36023 ;;
36024 esac
36025 echo "$as_me:$LINENO: checking for $ac_header" >&5
36026 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36027 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36028 echo $ECHO_N "(cached) $ECHO_C" >&6
36029 else
36030 eval "$as_ac_Header=\$ac_header_preproc"
36031 fi
36032 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36033 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36034
36035 fi
36036 if test `eval echo '${'$as_ac_Header'}'` = yes; then
36037 cat >>confdefs.h <<_ACEOF
36038 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
36039 _ACEOF
36040
36041 EXTRALIBS_ESD="-lesd"
36042
36043 fi
36044
36045 done
36046
36047
36048 fi
36049
36050
36051
36052 echo "$as_me:$LINENO: checking for known CD-ROM interface" >&5
36053 echo $ECHO_N "checking for known CD-ROM interface... $ECHO_C" >&6
36054 cat >conftest.$ac_ext <<_ACEOF
36055 /* confdefs.h. */
36056 _ACEOF
36057 cat confdefs.h >>conftest.$ac_ext
36058 cat >>conftest.$ac_ext <<_ACEOF
36059 /* end confdefs.h. */
36060 #ifdef __linux__
36061 #include <linux/cdrom.h>
36062 #else
36063 /* For Solaris */
36064 #include <sys/cdio.h>
36065 #endif
36066
36067 int
36068 main ()
36069 {
36070 struct cdrom_tocentry entry, old_entry;
36071 ;
36072 return 0;
36073 }
36074 _ACEOF
36075 rm -f conftest.$ac_objext
36076 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36077 (eval $ac_compile) 2>conftest.er1
36078 ac_status=$?
36079 grep -v '^ *+' conftest.er1 >conftest.err
36080 rm -f conftest.er1
36081 cat conftest.err >&5
36082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36083 (exit $ac_status); } &&
36084 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36086 (eval $ac_try) 2>&5
36087 ac_status=$?
36088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36089 (exit $ac_status); }; } &&
36090 { ac_try='test -s conftest.$ac_objext'
36091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36092 (eval $ac_try) 2>&5
36093 ac_status=$?
36094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36095 (exit $ac_status); }; }; then
36096 echo "$as_me:$LINENO: result: yes" >&5
36097 echo "${ECHO_T}yes" >&6
36098 cat >>confdefs.h <<\_ACEOF
36099 #define HAVE_KNOWN_CDROM_INTERFACE 1
36100 _ACEOF
36101
36102 else
36103 echo "$as_me: failed program was:" >&5
36104 sed 's/^/| /' conftest.$ac_ext >&5
36105
36106 echo "$as_me:$LINENO: result: no" >&5
36107 echo "${ECHO_T}no" >&6
36108 fi
36109 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36110
36111
36112 cat >confcache <<\_ACEOF
36113 # This file is a shell script that caches the results of configure
36114 # tests run on this system so they can be shared between configure
36115 # scripts and configure runs, see configure's option --config-cache.
36116 # It is not useful on other systems. If it contains results you don't
36117 # want to keep, you may remove or edit it.
36118 #
36119 # config.status only pays attention to the cache file if you give it
36120 # the --recheck option to rerun configure.
36121 #
36122 # `ac_cv_env_foo' variables (set or unset) will be overridden when
36123 # loading this file, other *unset* `ac_cv_foo' will be assigned the
36124 # following values.
36125
36126 _ACEOF
36127
36128 # The following way of writing the cache mishandles newlines in values,
36129 # but we know of no workaround that is simple, portable, and efficient.
36130 # So, don't put newlines in cache variables' values.
36131 # Ultrix sh set writes to stderr and can't be redirected directly,
36132 # and sets the high bit in the cache file unless we assign to the vars.
36133 {
36134 (set) 2>&1 |
36135 case `(ac_space=' '; set | grep ac_space) 2>&1` in
36136 *ac_space=\ *)
36137 # `set' does not quote correctly, so add quotes (double-quote
36138 # substitution turns \\\\ into \\, and sed turns \\ into \).
36139 sed -n \
36140 "s/'/'\\\\''/g;
36141 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
36142 ;;
36143 *)
36144 # `set' quotes correctly as required by POSIX, so do not add quotes.
36145 sed -n \
36146 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
36147 ;;
36148 esac;
36149 } |
36150 sed '
36151 t clear
36152 : clear
36153 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
36154 t end
36155 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
36156 : end' >>confcache
36157 if diff $cache_file confcache >/dev/null 2>&1; then :; else
36158 if test -w $cache_file; then
36159 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
36160 cat confcache >$cache_file
36161 else
36162 echo "not updating unwritable cache $cache_file"
36163 fi
36164 fi
36165 rm -f confcache
36166
36167
36168 CPP_MT_FLAG=
36169 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
36170
36171
36172 THREADS_LINK=
36173 THREADS_CFLAGS=
36174
36175 if test "$wxUSE_THREADS" = "yes" ; then
36176 if test "$USE_BEOS" = 1; then
36177 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
36178 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
36179 wxUSE_THREADS="no"
36180 fi
36181 fi
36182
36183 if test "$wxUSE_THREADS" = "yes" ; then
36184
36185
36186 THREAD_OPTS="-pthread"
36187 case "${host}" in
36188 *-*-solaris2* | *-*-sunos4* )
36189 if test "x$GCC" = "xyes"; then
36190 THREAD_OPTS="-pthreads $THREAD_OPTS"
36191 else
36192 THREAD_OPTS="-mt $THREAD_OPTS"
36193 fi
36194 ;;
36195 *-*-freebsd*)
36196 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
36197 ;;
36198 *-*-darwin* | *-*-cygwin* )
36199 THREAD_OPTS=""
36200 ;;
36201 *-*-aix*)
36202 THREAD_OPTS="pthreads"
36203 ;;
36204 *-hp-hpux* )
36205 if test "x$GCC" = "xyes"; then
36206 $CXX -dumpspecs | grep 'pthread:' >/dev/null ||
36207 THREAD_OPTS=""
36208 else
36209 THREAD_OPTS=""
36210 fi
36211 ;;
36212
36213 *-*-irix* )
36214 if test "x$GCC" = "xyes"; then
36215 THREAD_OPTS=""
36216 fi
36217 ;;
36218
36219 *-*-*UnixWare*)
36220 if test "x$GCC" != "xyes"; then
36221 THREAD_OPTS="-Ethread"
36222 fi
36223 ;;
36224 esac
36225
36226 THREAD_OPTS="$THREAD_OPTS pthread none"
36227
36228 THREADS_OK=no
36229 for flag in $THREAD_OPTS; do
36230 case $flag in
36231 none)
36232 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
36233 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
36234 ;;
36235
36236 -*)
36237 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
36238 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
36239 THREADS_CFLAGS="$flag"
36240 ;;
36241
36242 *)
36243 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
36244 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
36245 THREADS_LINK="-l$flag"
36246 ;;
36247 esac
36248
36249 save_LIBS="$LIBS"
36250 save_CFLAGS="$CFLAGS"
36251 LIBS="$THREADS_LINK $LIBS"
36252 CFLAGS="$THREADS_CFLAGS $CFLAGS"
36253
36254 cat >conftest.$ac_ext <<_ACEOF
36255 /* confdefs.h. */
36256 _ACEOF
36257 cat confdefs.h >>conftest.$ac_ext
36258 cat >>conftest.$ac_ext <<_ACEOF
36259 /* end confdefs.h. */
36260 #include <pthread.h>
36261 int
36262 main ()
36263 {
36264 pthread_create(0,0,0,0);
36265 ;
36266 return 0;
36267 }
36268 _ACEOF
36269 rm -f conftest.$ac_objext conftest$ac_exeext
36270 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36271 (eval $ac_link) 2>conftest.er1
36272 ac_status=$?
36273 grep -v '^ *+' conftest.er1 >conftest.err
36274 rm -f conftest.er1
36275 cat conftest.err >&5
36276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36277 (exit $ac_status); } &&
36278 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36280 (eval $ac_try) 2>&5
36281 ac_status=$?
36282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36283 (exit $ac_status); }; } &&
36284 { ac_try='test -s conftest$ac_exeext'
36285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36286 (eval $ac_try) 2>&5
36287 ac_status=$?
36288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36289 (exit $ac_status); }; }; then
36290 THREADS_OK=yes
36291 else
36292 echo "$as_me: failed program was:" >&5
36293 sed 's/^/| /' conftest.$ac_ext >&5
36294
36295 fi
36296 rm -f conftest.err conftest.$ac_objext \
36297 conftest$ac_exeext conftest.$ac_ext
36298
36299 LIBS="$save_LIBS"
36300 CFLAGS="$save_CFLAGS"
36301
36302 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
36303 echo "${ECHO_T}$THREADS_OK" >&6
36304 if test "x$THREADS_OK" = "xyes"; then
36305 break;
36306 fi
36307
36308 THREADS_LINK=""
36309 THREADS_CFLAGS=""
36310 done
36311
36312 if test "x$THREADS_OK" != "xyes"; then
36313 wxUSE_THREADS=no
36314 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
36315 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
36316 else
36317 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
36318 LIBS="$THREADS_LINK $LIBS"
36319
36320 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
36321 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
36322 flag=no
36323 case "${host}" in
36324 *-aix*)
36325 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
36326 flag="-D_THREAD_SAFE"
36327 ;;
36328 *-freebsd*)
36329 flag="-D_THREAD_SAFE"
36330 ;;
36331 *-hp-hpux* )
36332 flag="-D_REENTRANT"
36333 if test "x$GCC" != "xyes"; then
36334 flag="$flag -D_RWSTD_MULTI_THREAD"
36335 fi
36336 ;;
36337 *solaris* | alpha*-osf*)
36338 flag="-D_REENTRANT"
36339 ;;
36340 esac
36341 echo "$as_me:$LINENO: result: ${flag}" >&5
36342 echo "${ECHO_T}${flag}" >&6
36343 if test "x$flag" != xno; then
36344 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
36345 fi
36346
36347 if test "x$THREADS_CFLAGS" != "x"; then
36348 CFLAGS="$CFLAGS $THREADS_CFLAGS"
36349 CXXFLAGS="$CXXFLAGS $THREADS_CFLAGS"
36350 fi
36351 fi
36352 fi
36353
36354 if test "$wxUSE_THREADS" = "yes" ; then
36355
36356 for ac_func in thr_setconcurrency
36357 do
36358 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36359 echo "$as_me:$LINENO: checking for $ac_func" >&5
36360 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36361 if eval "test \"\${$as_ac_var+set}\" = set"; then
36362 echo $ECHO_N "(cached) $ECHO_C" >&6
36363 else
36364 cat >conftest.$ac_ext <<_ACEOF
36365 /* confdefs.h. */
36366 _ACEOF
36367 cat confdefs.h >>conftest.$ac_ext
36368 cat >>conftest.$ac_ext <<_ACEOF
36369 /* end confdefs.h. */
36370 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36371 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36372 #define $ac_func innocuous_$ac_func
36373
36374 /* System header to define __stub macros and hopefully few prototypes,
36375 which can conflict with char $ac_func (); below.
36376 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36377 <limits.h> exists even on freestanding compilers. */
36378
36379 #ifdef __STDC__
36380 # include <limits.h>
36381 #else
36382 # include <assert.h>
36383 #endif
36384
36385 #undef $ac_func
36386
36387 /* Override any gcc2 internal prototype to avoid an error. */
36388 #ifdef __cplusplus
36389 extern "C"
36390 {
36391 #endif
36392 /* We use char because int might match the return type of a gcc2
36393 builtin and then its argument prototype would still apply. */
36394 char $ac_func ();
36395 /* The GNU C library defines this for functions which it implements
36396 to always fail with ENOSYS. Some functions are actually named
36397 something starting with __ and the normal name is an alias. */
36398 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36399 choke me
36400 #else
36401 char (*f) () = $ac_func;
36402 #endif
36403 #ifdef __cplusplus
36404 }
36405 #endif
36406
36407 int
36408 main ()
36409 {
36410 return f != $ac_func;
36411 ;
36412 return 0;
36413 }
36414 _ACEOF
36415 rm -f conftest.$ac_objext conftest$ac_exeext
36416 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36417 (eval $ac_link) 2>conftest.er1
36418 ac_status=$?
36419 grep -v '^ *+' conftest.er1 >conftest.err
36420 rm -f conftest.er1
36421 cat conftest.err >&5
36422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36423 (exit $ac_status); } &&
36424 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36426 (eval $ac_try) 2>&5
36427 ac_status=$?
36428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36429 (exit $ac_status); }; } &&
36430 { ac_try='test -s conftest$ac_exeext'
36431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36432 (eval $ac_try) 2>&5
36433 ac_status=$?
36434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36435 (exit $ac_status); }; }; then
36436 eval "$as_ac_var=yes"
36437 else
36438 echo "$as_me: failed program was:" >&5
36439 sed 's/^/| /' conftest.$ac_ext >&5
36440
36441 eval "$as_ac_var=no"
36442 fi
36443 rm -f conftest.err conftest.$ac_objext \
36444 conftest$ac_exeext conftest.$ac_ext
36445 fi
36446 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36447 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36448 if test `eval echo '${'$as_ac_var'}'` = yes; then
36449 cat >>confdefs.h <<_ACEOF
36450 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36451 _ACEOF
36452
36453 fi
36454 done
36455
36456
36457 echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
36458 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6
36459 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
36460 echo $ECHO_N "(cached) $ECHO_C" >&6
36461 else
36462
36463 cat >conftest.$ac_ext <<_ACEOF
36464 /* confdefs.h. */
36465 _ACEOF
36466 cat confdefs.h >>conftest.$ac_ext
36467 cat >>conftest.$ac_ext <<_ACEOF
36468 /* end confdefs.h. */
36469 #include <pthread.h>
36470 void ThreadCleanupFunc(void *p);
36471
36472 int
36473 main ()
36474 {
36475
36476 void *p;
36477 pthread_cleanup_push(ThreadCleanupFunc, p);
36478 pthread_cleanup_pop(0);
36479
36480 ;
36481 return 0;
36482 }
36483 _ACEOF
36484 rm -f conftest.$ac_objext
36485 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36486 (eval $ac_compile) 2>conftest.er1
36487 ac_status=$?
36488 grep -v '^ *+' conftest.er1 >conftest.err
36489 rm -f conftest.er1
36490 cat conftest.err >&5
36491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36492 (exit $ac_status); } &&
36493 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36495 (eval $ac_try) 2>&5
36496 ac_status=$?
36497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36498 (exit $ac_status); }; } &&
36499 { ac_try='test -s conftest.$ac_objext'
36500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36501 (eval $ac_try) 2>&5
36502 ac_status=$?
36503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36504 (exit $ac_status); }; }; then
36505
36506 wx_cv_func_pthread_cleanup=yes
36507
36508 else
36509 echo "$as_me: failed program was:" >&5
36510 sed 's/^/| /' conftest.$ac_ext >&5
36511
36512
36513 wx_cv_func_pthread_cleanup=no
36514
36515
36516 fi
36517 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36518
36519 fi
36520 echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
36521 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6
36522 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
36523 cat >>confdefs.h <<\_ACEOF
36524 #define wxHAVE_PTHREAD_CLEANUP 1
36525 _ACEOF
36526
36527 fi
36528
36529
36530 for ac_header in sched.h
36531 do
36532 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
36533 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36534 echo "$as_me:$LINENO: checking for $ac_header" >&5
36535 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36536 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36537 echo $ECHO_N "(cached) $ECHO_C" >&6
36538 fi
36539 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36540 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36541 else
36542 # Is the header compilable?
36543 echo "$as_me:$LINENO: checking $ac_header usability" >&5
36544 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
36545 cat >conftest.$ac_ext <<_ACEOF
36546 /* confdefs.h. */
36547 _ACEOF
36548 cat confdefs.h >>conftest.$ac_ext
36549 cat >>conftest.$ac_ext <<_ACEOF
36550 /* end confdefs.h. */
36551 $ac_includes_default
36552 #include <$ac_header>
36553 _ACEOF
36554 rm -f conftest.$ac_objext
36555 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36556 (eval $ac_compile) 2>conftest.er1
36557 ac_status=$?
36558 grep -v '^ *+' conftest.er1 >conftest.err
36559 rm -f conftest.er1
36560 cat conftest.err >&5
36561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36562 (exit $ac_status); } &&
36563 { ac_try='test -z "$ac_c_werror_flag" || 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_objext'
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 ac_header_compiler=yes
36576 else
36577 echo "$as_me: failed program was:" >&5
36578 sed 's/^/| /' conftest.$ac_ext >&5
36579
36580 ac_header_compiler=no
36581 fi
36582 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36583 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
36584 echo "${ECHO_T}$ac_header_compiler" >&6
36585
36586 # Is the header present?
36587 echo "$as_me:$LINENO: checking $ac_header presence" >&5
36588 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
36589 cat >conftest.$ac_ext <<_ACEOF
36590 /* confdefs.h. */
36591 _ACEOF
36592 cat confdefs.h >>conftest.$ac_ext
36593 cat >>conftest.$ac_ext <<_ACEOF
36594 /* end confdefs.h. */
36595 #include <$ac_header>
36596 _ACEOF
36597 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
36598 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
36599 ac_status=$?
36600 grep -v '^ *+' conftest.er1 >conftest.err
36601 rm -f conftest.er1
36602 cat conftest.err >&5
36603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36604 (exit $ac_status); } >/dev/null; then
36605 if test -s conftest.err; then
36606 ac_cpp_err=$ac_c_preproc_warn_flag
36607 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
36608 else
36609 ac_cpp_err=
36610 fi
36611 else
36612 ac_cpp_err=yes
36613 fi
36614 if test -z "$ac_cpp_err"; then
36615 ac_header_preproc=yes
36616 else
36617 echo "$as_me: failed program was:" >&5
36618 sed 's/^/| /' conftest.$ac_ext >&5
36619
36620 ac_header_preproc=no
36621 fi
36622 rm -f conftest.err conftest.$ac_ext
36623 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
36624 echo "${ECHO_T}$ac_header_preproc" >&6
36625
36626 # So? What about this header?
36627 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
36628 yes:no: )
36629 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
36630 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
36631 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
36632 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
36633 ac_header_preproc=yes
36634 ;;
36635 no:yes:* )
36636 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
36637 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
36638 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
36639 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
36640 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
36641 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
36642 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
36643 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
36644 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
36645 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
36646 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
36647 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
36648 (
36649 cat <<\_ASBOX
36650 ## ----------------------------------------- ##
36651 ## Report this to wx-dev@lists.wxwidgets.org ##
36652 ## ----------------------------------------- ##
36653 _ASBOX
36654 ) |
36655 sed "s/^/$as_me: WARNING: /" >&2
36656 ;;
36657 esac
36658 echo "$as_me:$LINENO: checking for $ac_header" >&5
36659 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36660 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36661 echo $ECHO_N "(cached) $ECHO_C" >&6
36662 else
36663 eval "$as_ac_Header=\$ac_header_preproc"
36664 fi
36665 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36666 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36667
36668 fi
36669 if test `eval echo '${'$as_ac_Header'}'` = yes; then
36670 cat >>confdefs.h <<_ACEOF
36671 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
36672 _ACEOF
36673
36674 fi
36675
36676 done
36677
36678 if test "$ac_cv_header_sched_h" = "yes"; then
36679 echo "$as_me:$LINENO: checking for sched_yield" >&5
36680 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
36681 if test "${ac_cv_func_sched_yield+set}" = set; then
36682 echo $ECHO_N "(cached) $ECHO_C" >&6
36683 else
36684 cat >conftest.$ac_ext <<_ACEOF
36685 /* confdefs.h. */
36686 _ACEOF
36687 cat confdefs.h >>conftest.$ac_ext
36688 cat >>conftest.$ac_ext <<_ACEOF
36689 /* end confdefs.h. */
36690 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
36691 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36692 #define sched_yield innocuous_sched_yield
36693
36694 /* System header to define __stub macros and hopefully few prototypes,
36695 which can conflict with char sched_yield (); below.
36696 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36697 <limits.h> exists even on freestanding compilers. */
36698
36699 #ifdef __STDC__
36700 # include <limits.h>
36701 #else
36702 # include <assert.h>
36703 #endif
36704
36705 #undef sched_yield
36706
36707 /* Override any gcc2 internal prototype to avoid an error. */
36708 #ifdef __cplusplus
36709 extern "C"
36710 {
36711 #endif
36712 /* We use char because int might match the return type of a gcc2
36713 builtin and then its argument prototype would still apply. */
36714 char sched_yield ();
36715 /* The GNU C library defines this for functions which it implements
36716 to always fail with ENOSYS. Some functions are actually named
36717 something starting with __ and the normal name is an alias. */
36718 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
36719 choke me
36720 #else
36721 char (*f) () = sched_yield;
36722 #endif
36723 #ifdef __cplusplus
36724 }
36725 #endif
36726
36727 int
36728 main ()
36729 {
36730 return f != sched_yield;
36731 ;
36732 return 0;
36733 }
36734 _ACEOF
36735 rm -f conftest.$ac_objext conftest$ac_exeext
36736 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36737 (eval $ac_link) 2>conftest.er1
36738 ac_status=$?
36739 grep -v '^ *+' conftest.er1 >conftest.err
36740 rm -f conftest.er1
36741 cat conftest.err >&5
36742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36743 (exit $ac_status); } &&
36744 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36746 (eval $ac_try) 2>&5
36747 ac_status=$?
36748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36749 (exit $ac_status); }; } &&
36750 { ac_try='test -s conftest$ac_exeext'
36751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36752 (eval $ac_try) 2>&5
36753 ac_status=$?
36754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36755 (exit $ac_status); }; }; then
36756 ac_cv_func_sched_yield=yes
36757 else
36758 echo "$as_me: failed program was:" >&5
36759 sed 's/^/| /' conftest.$ac_ext >&5
36760
36761 ac_cv_func_sched_yield=no
36762 fi
36763 rm -f conftest.err conftest.$ac_objext \
36764 conftest$ac_exeext conftest.$ac_ext
36765 fi
36766 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
36767 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
36768 if test $ac_cv_func_sched_yield = yes; then
36769 cat >>confdefs.h <<\_ACEOF
36770 #define HAVE_SCHED_YIELD 1
36771 _ACEOF
36772
36773 else
36774
36775 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
36776 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
36777 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
36778 echo $ECHO_N "(cached) $ECHO_C" >&6
36779 else
36780 ac_check_lib_save_LIBS=$LIBS
36781 LIBS="-lposix4 $LIBS"
36782 cat >conftest.$ac_ext <<_ACEOF
36783 /* confdefs.h. */
36784 _ACEOF
36785 cat confdefs.h >>conftest.$ac_ext
36786 cat >>conftest.$ac_ext <<_ACEOF
36787 /* end confdefs.h. */
36788
36789 /* Override any gcc2 internal prototype to avoid an error. */
36790 #ifdef __cplusplus
36791 extern "C"
36792 #endif
36793 /* We use char because int might match the return type of a gcc2
36794 builtin and then its argument prototype would still apply. */
36795 char sched_yield ();
36796 int
36797 main ()
36798 {
36799 sched_yield ();
36800 ;
36801 return 0;
36802 }
36803 _ACEOF
36804 rm -f conftest.$ac_objext conftest$ac_exeext
36805 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36806 (eval $ac_link) 2>conftest.er1
36807 ac_status=$?
36808 grep -v '^ *+' conftest.er1 >conftest.err
36809 rm -f conftest.er1
36810 cat conftest.err >&5
36811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36812 (exit $ac_status); } &&
36813 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36815 (eval $ac_try) 2>&5
36816 ac_status=$?
36817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36818 (exit $ac_status); }; } &&
36819 { ac_try='test -s conftest$ac_exeext'
36820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36821 (eval $ac_try) 2>&5
36822 ac_status=$?
36823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36824 (exit $ac_status); }; }; then
36825 ac_cv_lib_posix4_sched_yield=yes
36826 else
36827 echo "$as_me: failed program was:" >&5
36828 sed 's/^/| /' conftest.$ac_ext >&5
36829
36830 ac_cv_lib_posix4_sched_yield=no
36831 fi
36832 rm -f conftest.err conftest.$ac_objext \
36833 conftest$ac_exeext conftest.$ac_ext
36834 LIBS=$ac_check_lib_save_LIBS
36835 fi
36836 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
36837 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
36838 if test $ac_cv_lib_posix4_sched_yield = yes; then
36839 cat >>confdefs.h <<\_ACEOF
36840 #define HAVE_SCHED_YIELD 1
36841 _ACEOF
36842 POSIX4_LINK=" -lposix4"
36843 else
36844 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
36845 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
36846
36847 fi
36848
36849
36850
36851 fi
36852
36853 fi
36854
36855 HAVE_PRIOR_FUNCS=0
36856 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
36857 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
36858 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
36859 echo $ECHO_N "(cached) $ECHO_C" >&6
36860 else
36861 cat >conftest.$ac_ext <<_ACEOF
36862 /* confdefs.h. */
36863 _ACEOF
36864 cat confdefs.h >>conftest.$ac_ext
36865 cat >>conftest.$ac_ext <<_ACEOF
36866 /* end confdefs.h. */
36867 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
36868 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36869 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
36870
36871 /* System header to define __stub macros and hopefully few prototypes,
36872 which can conflict with char pthread_attr_getschedpolicy (); below.
36873 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36874 <limits.h> exists even on freestanding compilers. */
36875
36876 #ifdef __STDC__
36877 # include <limits.h>
36878 #else
36879 # include <assert.h>
36880 #endif
36881
36882 #undef pthread_attr_getschedpolicy
36883
36884 /* Override any gcc2 internal prototype to avoid an error. */
36885 #ifdef __cplusplus
36886 extern "C"
36887 {
36888 #endif
36889 /* We use char because int might match the return type of a gcc2
36890 builtin and then its argument prototype would still apply. */
36891 char pthread_attr_getschedpolicy ();
36892 /* The GNU C library defines this for functions which it implements
36893 to always fail with ENOSYS. Some functions are actually named
36894 something starting with __ and the normal name is an alias. */
36895 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
36896 choke me
36897 #else
36898 char (*f) () = pthread_attr_getschedpolicy;
36899 #endif
36900 #ifdef __cplusplus
36901 }
36902 #endif
36903
36904 int
36905 main ()
36906 {
36907 return f != pthread_attr_getschedpolicy;
36908 ;
36909 return 0;
36910 }
36911 _ACEOF
36912 rm -f conftest.$ac_objext conftest$ac_exeext
36913 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36914 (eval $ac_link) 2>conftest.er1
36915 ac_status=$?
36916 grep -v '^ *+' conftest.er1 >conftest.err
36917 rm -f conftest.er1
36918 cat conftest.err >&5
36919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36920 (exit $ac_status); } &&
36921 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36923 (eval $ac_try) 2>&5
36924 ac_status=$?
36925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36926 (exit $ac_status); }; } &&
36927 { ac_try='test -s conftest$ac_exeext'
36928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36929 (eval $ac_try) 2>&5
36930 ac_status=$?
36931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36932 (exit $ac_status); }; }; then
36933 ac_cv_func_pthread_attr_getschedpolicy=yes
36934 else
36935 echo "$as_me: failed program was:" >&5
36936 sed 's/^/| /' conftest.$ac_ext >&5
36937
36938 ac_cv_func_pthread_attr_getschedpolicy=no
36939 fi
36940 rm -f conftest.err conftest.$ac_objext \
36941 conftest$ac_exeext conftest.$ac_ext
36942 fi
36943 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
36944 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
36945 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
36946 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
36947 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
36948 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
36949 echo $ECHO_N "(cached) $ECHO_C" >&6
36950 else
36951 cat >conftest.$ac_ext <<_ACEOF
36952 /* confdefs.h. */
36953 _ACEOF
36954 cat confdefs.h >>conftest.$ac_ext
36955 cat >>conftest.$ac_ext <<_ACEOF
36956 /* end confdefs.h. */
36957 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
36958 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36959 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
36960
36961 /* System header to define __stub macros and hopefully few prototypes,
36962 which can conflict with char pthread_attr_setschedparam (); below.
36963 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36964 <limits.h> exists even on freestanding compilers. */
36965
36966 #ifdef __STDC__
36967 # include <limits.h>
36968 #else
36969 # include <assert.h>
36970 #endif
36971
36972 #undef pthread_attr_setschedparam
36973
36974 /* Override any gcc2 internal prototype to avoid an error. */
36975 #ifdef __cplusplus
36976 extern "C"
36977 {
36978 #endif
36979 /* We use char because int might match the return type of a gcc2
36980 builtin and then its argument prototype would still apply. */
36981 char pthread_attr_setschedparam ();
36982 /* The GNU C library defines this for functions which it implements
36983 to always fail with ENOSYS. Some functions are actually named
36984 something starting with __ and the normal name is an alias. */
36985 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
36986 choke me
36987 #else
36988 char (*f) () = pthread_attr_setschedparam;
36989 #endif
36990 #ifdef __cplusplus
36991 }
36992 #endif
36993
36994 int
36995 main ()
36996 {
36997 return f != pthread_attr_setschedparam;
36998 ;
36999 return 0;
37000 }
37001 _ACEOF
37002 rm -f conftest.$ac_objext conftest$ac_exeext
37003 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37004 (eval $ac_link) 2>conftest.er1
37005 ac_status=$?
37006 grep -v '^ *+' conftest.er1 >conftest.err
37007 rm -f conftest.er1
37008 cat conftest.err >&5
37009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37010 (exit $ac_status); } &&
37011 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37013 (eval $ac_try) 2>&5
37014 ac_status=$?
37015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37016 (exit $ac_status); }; } &&
37017 { ac_try='test -s conftest$ac_exeext'
37018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37019 (eval $ac_try) 2>&5
37020 ac_status=$?
37021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37022 (exit $ac_status); }; }; then
37023 ac_cv_func_pthread_attr_setschedparam=yes
37024 else
37025 echo "$as_me: failed program was:" >&5
37026 sed 's/^/| /' conftest.$ac_ext >&5
37027
37028 ac_cv_func_pthread_attr_setschedparam=no
37029 fi
37030 rm -f conftest.err conftest.$ac_objext \
37031 conftest$ac_exeext conftest.$ac_ext
37032 fi
37033 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
37034 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
37035 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
37036 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
37037 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
37038 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
37039 echo $ECHO_N "(cached) $ECHO_C" >&6
37040 else
37041 cat >conftest.$ac_ext <<_ACEOF
37042 /* confdefs.h. */
37043 _ACEOF
37044 cat confdefs.h >>conftest.$ac_ext
37045 cat >>conftest.$ac_ext <<_ACEOF
37046 /* end confdefs.h. */
37047 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
37048 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37049 #define sched_get_priority_max innocuous_sched_get_priority_max
37050
37051 /* System header to define __stub macros and hopefully few prototypes,
37052 which can conflict with char sched_get_priority_max (); below.
37053 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37054 <limits.h> exists even on freestanding compilers. */
37055
37056 #ifdef __STDC__
37057 # include <limits.h>
37058 #else
37059 # include <assert.h>
37060 #endif
37061
37062 #undef sched_get_priority_max
37063
37064 /* Override any gcc2 internal prototype to avoid an error. */
37065 #ifdef __cplusplus
37066 extern "C"
37067 {
37068 #endif
37069 /* We use char because int might match the return type of a gcc2
37070 builtin and then its argument prototype would still apply. */
37071 char sched_get_priority_max ();
37072 /* The GNU C library defines this for functions which it implements
37073 to always fail with ENOSYS. Some functions are actually named
37074 something starting with __ and the normal name is an alias. */
37075 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
37076 choke me
37077 #else
37078 char (*f) () = sched_get_priority_max;
37079 #endif
37080 #ifdef __cplusplus
37081 }
37082 #endif
37083
37084 int
37085 main ()
37086 {
37087 return f != sched_get_priority_max;
37088 ;
37089 return 0;
37090 }
37091 _ACEOF
37092 rm -f conftest.$ac_objext conftest$ac_exeext
37093 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37094 (eval $ac_link) 2>conftest.er1
37095 ac_status=$?
37096 grep -v '^ *+' conftest.er1 >conftest.err
37097 rm -f conftest.er1
37098 cat conftest.err >&5
37099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37100 (exit $ac_status); } &&
37101 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37103 (eval $ac_try) 2>&5
37104 ac_status=$?
37105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37106 (exit $ac_status); }; } &&
37107 { ac_try='test -s conftest$ac_exeext'
37108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37109 (eval $ac_try) 2>&5
37110 ac_status=$?
37111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37112 (exit $ac_status); }; }; then
37113 ac_cv_func_sched_get_priority_max=yes
37114 else
37115 echo "$as_me: failed program was:" >&5
37116 sed 's/^/| /' conftest.$ac_ext >&5
37117
37118 ac_cv_func_sched_get_priority_max=no
37119 fi
37120 rm -f conftest.err conftest.$ac_objext \
37121 conftest$ac_exeext conftest.$ac_ext
37122 fi
37123 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
37124 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
37125 if test $ac_cv_func_sched_get_priority_max = yes; then
37126 HAVE_PRIOR_FUNCS=1
37127 else
37128 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
37129 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
37130 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
37131 echo $ECHO_N "(cached) $ECHO_C" >&6
37132 else
37133 ac_check_lib_save_LIBS=$LIBS
37134 LIBS="-lposix4 $LIBS"
37135 cat >conftest.$ac_ext <<_ACEOF
37136 /* confdefs.h. */
37137 _ACEOF
37138 cat confdefs.h >>conftest.$ac_ext
37139 cat >>conftest.$ac_ext <<_ACEOF
37140 /* end confdefs.h. */
37141
37142 /* Override any gcc2 internal prototype to avoid an error. */
37143 #ifdef __cplusplus
37144 extern "C"
37145 #endif
37146 /* We use char because int might match the return type of a gcc2
37147 builtin and then its argument prototype would still apply. */
37148 char sched_get_priority_max ();
37149 int
37150 main ()
37151 {
37152 sched_get_priority_max ();
37153 ;
37154 return 0;
37155 }
37156 _ACEOF
37157 rm -f conftest.$ac_objext conftest$ac_exeext
37158 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37159 (eval $ac_link) 2>conftest.er1
37160 ac_status=$?
37161 grep -v '^ *+' conftest.er1 >conftest.err
37162 rm -f conftest.er1
37163 cat conftest.err >&5
37164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37165 (exit $ac_status); } &&
37166 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37168 (eval $ac_try) 2>&5
37169 ac_status=$?
37170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37171 (exit $ac_status); }; } &&
37172 { ac_try='test -s conftest$ac_exeext'
37173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37174 (eval $ac_try) 2>&5
37175 ac_status=$?
37176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37177 (exit $ac_status); }; }; then
37178 ac_cv_lib_posix4_sched_get_priority_max=yes
37179 else
37180 echo "$as_me: failed program was:" >&5
37181 sed 's/^/| /' conftest.$ac_ext >&5
37182
37183 ac_cv_lib_posix4_sched_get_priority_max=no
37184 fi
37185 rm -f conftest.err conftest.$ac_objext \
37186 conftest$ac_exeext conftest.$ac_ext
37187 LIBS=$ac_check_lib_save_LIBS
37188 fi
37189 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
37190 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
37191 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
37192
37193 HAVE_PRIOR_FUNCS=1
37194 POSIX4_LINK=" -lposix4"
37195
37196 fi
37197
37198
37199 fi
37200
37201
37202 fi
37203
37204
37205 fi
37206
37207
37208 if test "$HAVE_PRIOR_FUNCS" = 1; then
37209 cat >>confdefs.h <<\_ACEOF
37210 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
37211 _ACEOF
37212
37213 else
37214 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
37215 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
37216 fi
37217
37218 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
37219 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
37220 if test "${ac_cv_func_pthread_cancel+set}" = set; then
37221 echo $ECHO_N "(cached) $ECHO_C" >&6
37222 else
37223 cat >conftest.$ac_ext <<_ACEOF
37224 /* confdefs.h. */
37225 _ACEOF
37226 cat confdefs.h >>conftest.$ac_ext
37227 cat >>conftest.$ac_ext <<_ACEOF
37228 /* end confdefs.h. */
37229 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
37230 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37231 #define pthread_cancel innocuous_pthread_cancel
37232
37233 /* System header to define __stub macros and hopefully few prototypes,
37234 which can conflict with char pthread_cancel (); below.
37235 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37236 <limits.h> exists even on freestanding compilers. */
37237
37238 #ifdef __STDC__
37239 # include <limits.h>
37240 #else
37241 # include <assert.h>
37242 #endif
37243
37244 #undef pthread_cancel
37245
37246 /* Override any gcc2 internal prototype to avoid an error. */
37247 #ifdef __cplusplus
37248 extern "C"
37249 {
37250 #endif
37251 /* We use char because int might match the return type of a gcc2
37252 builtin and then its argument prototype would still apply. */
37253 char pthread_cancel ();
37254 /* The GNU C library defines this for functions which it implements
37255 to always fail with ENOSYS. Some functions are actually named
37256 something starting with __ and the normal name is an alias. */
37257 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
37258 choke me
37259 #else
37260 char (*f) () = pthread_cancel;
37261 #endif
37262 #ifdef __cplusplus
37263 }
37264 #endif
37265
37266 int
37267 main ()
37268 {
37269 return f != pthread_cancel;
37270 ;
37271 return 0;
37272 }
37273 _ACEOF
37274 rm -f conftest.$ac_objext conftest$ac_exeext
37275 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37276 (eval $ac_link) 2>conftest.er1
37277 ac_status=$?
37278 grep -v '^ *+' conftest.er1 >conftest.err
37279 rm -f conftest.er1
37280 cat conftest.err >&5
37281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37282 (exit $ac_status); } &&
37283 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
37289 { ac_try='test -s conftest$ac_exeext'
37290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37291 (eval $ac_try) 2>&5
37292 ac_status=$?
37293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37294 (exit $ac_status); }; }; then
37295 ac_cv_func_pthread_cancel=yes
37296 else
37297 echo "$as_me: failed program was:" >&5
37298 sed 's/^/| /' conftest.$ac_ext >&5
37299
37300 ac_cv_func_pthread_cancel=no
37301 fi
37302 rm -f conftest.err conftest.$ac_objext \
37303 conftest$ac_exeext conftest.$ac_ext
37304 fi
37305 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
37306 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
37307 if test $ac_cv_func_pthread_cancel = yes; then
37308 cat >>confdefs.h <<\_ACEOF
37309 #define HAVE_PTHREAD_CANCEL 1
37310 _ACEOF
37311
37312 else
37313 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
37314 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
37315 fi
37316
37317
37318 echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
37319 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6
37320 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
37321 echo $ECHO_N "(cached) $ECHO_C" >&6
37322 else
37323 cat >conftest.$ac_ext <<_ACEOF
37324 /* confdefs.h. */
37325 _ACEOF
37326 cat confdefs.h >>conftest.$ac_ext
37327 cat >>conftest.$ac_ext <<_ACEOF
37328 /* end confdefs.h. */
37329 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
37330 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37331 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
37332
37333 /* System header to define __stub macros and hopefully few prototypes,
37334 which can conflict with char pthread_attr_setstacksize (); below.
37335 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37336 <limits.h> exists even on freestanding compilers. */
37337
37338 #ifdef __STDC__
37339 # include <limits.h>
37340 #else
37341 # include <assert.h>
37342 #endif
37343
37344 #undef pthread_attr_setstacksize
37345
37346 /* Override any gcc2 internal prototype to avoid an error. */
37347 #ifdef __cplusplus
37348 extern "C"
37349 {
37350 #endif
37351 /* We use char because int might match the return type of a gcc2
37352 builtin and then its argument prototype would still apply. */
37353 char pthread_attr_setstacksize ();
37354 /* The GNU C library defines this for functions which it implements
37355 to always fail with ENOSYS. Some functions are actually named
37356 something starting with __ and the normal name is an alias. */
37357 #if defined (__stub_pthread_attr_setstacksize) || defined (__stub___pthread_attr_setstacksize)
37358 choke me
37359 #else
37360 char (*f) () = pthread_attr_setstacksize;
37361 #endif
37362 #ifdef __cplusplus
37363 }
37364 #endif
37365
37366 int
37367 main ()
37368 {
37369 return f != pthread_attr_setstacksize;
37370 ;
37371 return 0;
37372 }
37373 _ACEOF
37374 rm -f conftest.$ac_objext conftest$ac_exeext
37375 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37376 (eval $ac_link) 2>conftest.er1
37377 ac_status=$?
37378 grep -v '^ *+' conftest.er1 >conftest.err
37379 rm -f conftest.er1
37380 cat conftest.err >&5
37381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37382 (exit $ac_status); } &&
37383 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37385 (eval $ac_try) 2>&5
37386 ac_status=$?
37387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37388 (exit $ac_status); }; } &&
37389 { ac_try='test -s conftest$ac_exeext'
37390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37391 (eval $ac_try) 2>&5
37392 ac_status=$?
37393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37394 (exit $ac_status); }; }; then
37395 ac_cv_func_pthread_attr_setstacksize=yes
37396 else
37397 echo "$as_me: failed program was:" >&5
37398 sed 's/^/| /' conftest.$ac_ext >&5
37399
37400 ac_cv_func_pthread_attr_setstacksize=no
37401 fi
37402 rm -f conftest.err conftest.$ac_objext \
37403 conftest$ac_exeext conftest.$ac_ext
37404 fi
37405 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
37406 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6
37407 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
37408 cat >>confdefs.h <<\_ACEOF
37409 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
37410 _ACEOF
37411
37412 fi
37413
37414
37415
37416 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
37417 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
37418 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
37419 echo $ECHO_N "(cached) $ECHO_C" >&6
37420 else
37421
37422 cat >conftest.$ac_ext <<_ACEOF
37423 /* confdefs.h. */
37424 _ACEOF
37425 cat confdefs.h >>conftest.$ac_ext
37426 cat >>conftest.$ac_ext <<_ACEOF
37427 /* end confdefs.h. */
37428 #include <pthread.h>
37429 int
37430 main ()
37431 {
37432
37433 pthread_mutexattr_t attr;
37434 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
37435
37436 ;
37437 return 0;
37438 }
37439 _ACEOF
37440 rm -f conftest.$ac_objext
37441 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37442 (eval $ac_compile) 2>conftest.er1
37443 ac_status=$?
37444 grep -v '^ *+' conftest.er1 >conftest.err
37445 rm -f conftest.er1
37446 cat conftest.err >&5
37447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37448 (exit $ac_status); } &&
37449 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37451 (eval $ac_try) 2>&5
37452 ac_status=$?
37453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37454 (exit $ac_status); }; } &&
37455 { ac_try='test -s conftest.$ac_objext'
37456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37457 (eval $ac_try) 2>&5
37458 ac_status=$?
37459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37460 (exit $ac_status); }; }; then
37461 wx_cv_type_pthread_mutexattr_t=yes
37462 else
37463 echo "$as_me: failed program was:" >&5
37464 sed 's/^/| /' conftest.$ac_ext >&5
37465
37466 wx_cv_type_pthread_mutexattr_t=no
37467
37468 fi
37469 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37470
37471 fi
37472 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
37473 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
37474
37475 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
37476 cat >>confdefs.h <<\_ACEOF
37477 #define HAVE_PTHREAD_MUTEXATTR_T 1
37478 _ACEOF
37479
37480
37481 echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
37482 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6
37483 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
37484 echo $ECHO_N "(cached) $ECHO_C" >&6
37485 else
37486
37487 cat >conftest.$ac_ext <<_ACEOF
37488 /* confdefs.h. */
37489 _ACEOF
37490 cat confdefs.h >>conftest.$ac_ext
37491 cat >>conftest.$ac_ext <<_ACEOF
37492 /* end confdefs.h. */
37493 #include <pthread.h>
37494 int
37495 main ()
37496 {
37497
37498 pthread_mutexattr_t attr;
37499 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
37500
37501 ;
37502 return 0;
37503 }
37504 _ACEOF
37505 rm -f conftest.$ac_objext
37506 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37507 (eval $ac_compile) 2>conftest.er1
37508 ac_status=$?
37509 grep -v '^ *+' conftest.er1 >conftest.err
37510 rm -f conftest.er1
37511 cat conftest.err >&5
37512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37513 (exit $ac_status); } &&
37514 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37516 (eval $ac_try) 2>&5
37517 ac_status=$?
37518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37519 (exit $ac_status); }; } &&
37520 { ac_try='test -s conftest.$ac_objext'
37521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37522 (eval $ac_try) 2>&5
37523 ac_status=$?
37524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37525 (exit $ac_status); }; }; then
37526 wx_cv_func_pthread_mutexattr_settype_decl=yes
37527 else
37528 echo "$as_me: failed program was:" >&5
37529 sed 's/^/| /' conftest.$ac_ext >&5
37530
37531 wx_cv_func_pthread_mutexattr_settype_decl=no
37532
37533 fi
37534 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37535
37536 fi
37537 echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
37538 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6
37539 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
37540 cat >>confdefs.h <<\_ACEOF
37541 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
37542 _ACEOF
37543
37544 fi
37545 else
37546 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
37547 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
37548 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
37549 echo $ECHO_N "(cached) $ECHO_C" >&6
37550 else
37551
37552 cat >conftest.$ac_ext <<_ACEOF
37553 /* confdefs.h. */
37554 _ACEOF
37555 cat confdefs.h >>conftest.$ac_ext
37556 cat >>conftest.$ac_ext <<_ACEOF
37557 /* end confdefs.h. */
37558 #include <pthread.h>
37559 int
37560 main ()
37561 {
37562
37563 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
37564
37565 ;
37566 return 0;
37567 }
37568 _ACEOF
37569 rm -f conftest.$ac_objext
37570 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37571 (eval $ac_compile) 2>conftest.er1
37572 ac_status=$?
37573 grep -v '^ *+' conftest.er1 >conftest.err
37574 rm -f conftest.er1
37575 cat conftest.err >&5
37576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37577 (exit $ac_status); } &&
37578 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37580 (eval $ac_try) 2>&5
37581 ac_status=$?
37582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37583 (exit $ac_status); }; } &&
37584 { ac_try='test -s conftest.$ac_objext'
37585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37586 (eval $ac_try) 2>&5
37587 ac_status=$?
37588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37589 (exit $ac_status); }; }; then
37590
37591 wx_cv_type_pthread_rec_mutex_init=yes
37592
37593 else
37594 echo "$as_me: failed program was:" >&5
37595 sed 's/^/| /' conftest.$ac_ext >&5
37596
37597
37598 wx_cv_type_pthread_rec_mutex_init=no
37599
37600
37601 fi
37602 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37603
37604 fi
37605 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
37606 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
37607 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
37608 cat >>confdefs.h <<\_ACEOF
37609 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
37610 _ACEOF
37611
37612 else
37613 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
37614 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
37615 fi
37616 fi
37617 fi
37618
37619 else
37620 if test "$wxUSE_THREADS" = "yes" ; then
37621 case "${host}" in
37622 *-*-mingw32* )
37623 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
37624 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
37625 if test "${wx_cv_cflags_mthread+set}" = set; then
37626 echo $ECHO_N "(cached) $ECHO_C" >&6
37627 else
37628
37629 CFLAGS_OLD="$CFLAGS"
37630 CFLAGS="$CFLAGS -mthreads"
37631 cat >conftest.$ac_ext <<_ACEOF
37632 /* confdefs.h. */
37633 _ACEOF
37634 cat confdefs.h >>conftest.$ac_ext
37635 cat >>conftest.$ac_ext <<_ACEOF
37636 /* end confdefs.h. */
37637
37638 int
37639 main ()
37640 {
37641
37642 ;
37643 return 0;
37644 }
37645 _ACEOF
37646 rm -f conftest.$ac_objext
37647 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37648 (eval $ac_compile) 2>conftest.er1
37649 ac_status=$?
37650 grep -v '^ *+' conftest.er1 >conftest.err
37651 rm -f conftest.er1
37652 cat conftest.err >&5
37653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37654 (exit $ac_status); } &&
37655 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37657 (eval $ac_try) 2>&5
37658 ac_status=$?
37659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37660 (exit $ac_status); }; } &&
37661 { ac_try='test -s conftest.$ac_objext'
37662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37663 (eval $ac_try) 2>&5
37664 ac_status=$?
37665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37666 (exit $ac_status); }; }; then
37667 wx_cv_cflags_mthread=yes
37668 else
37669 echo "$as_me: failed program was:" >&5
37670 sed 's/^/| /' conftest.$ac_ext >&5
37671
37672 wx_cv_cflags_mthread=no
37673
37674 fi
37675 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37676
37677
37678 fi
37679 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
37680 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
37681
37682 if test "$wx_cv_cflags_mthread" = "yes"; then
37683 CXXFLAGS="$CXXFLAGS -mthreads"
37684 TOOLCHAIN_DEFS="$TOOLCHAIN_DEFS -mthreads"
37685 LDFLAGS="$LDFLAGS -mthreads"
37686 else
37687 CFLAGS="$CFLAGS_OLD"
37688 fi
37689 ;;
37690 *-pc-os2*emx )
37691 CFLAGS="$CFLAGS -Zmt -D__ST_MT_ERRNO__"
37692 CXXFLAGS="$CXXFLAGS -Zmt -D__ST_MT_ERRNO__"
37693 LDFLAGS="$LDFLAGS -Zmt"
37694 ;;
37695 esac
37696 fi
37697 fi
37698
37699 if test "$wxUSE_THREADS" = "yes"; then
37700 cat >>confdefs.h <<\_ACEOF
37701 #define wxUSE_THREADS 1
37702 _ACEOF
37703
37704
37705 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
37706 else
37707 if test "$ac_cv_func_strtok_r" = "yes"; then
37708 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
37709 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
37710 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
37711 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D_REENTRANT"
37712 echo "$as_me:$LINENO: result: yes" >&5
37713 echo "${ECHO_T}yes" >&6
37714 else
37715 echo "$as_me:$LINENO: result: no" >&5
37716 echo "${ECHO_T}no" >&6
37717 fi
37718 fi
37719 fi
37720
37721 if test "$WXGTK20" = 1 ; then
37722 cat >>confdefs.h <<_ACEOF
37723 #define __WXGTK20__ $WXGTK20
37724 _ACEOF
37725
37726 WXGTK12=1
37727 fi
37728
37729 if test "$WXGTK12" = 1 ; then
37730 cat >>confdefs.h <<_ACEOF
37731 #define __WXGTK12__ $WXGTK12
37732 _ACEOF
37733
37734 fi
37735
37736 if test "$WXGTK127" = 1 ; then
37737 cat >>confdefs.h <<_ACEOF
37738 #define __WXGTK127__ $WXGTK127
37739 _ACEOF
37740
37741 fi
37742
37743 if test "$WXGPE" = 1 ; then
37744 cat >>confdefs.h <<_ACEOF
37745 #define __WXGPE__ $WXGPE
37746 _ACEOF
37747
37748 fi
37749
37750 WXDEBUG=
37751
37752 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
37753 WXDEBUG="-g"
37754 wxUSE_OPTIMISE=no
37755 fi
37756
37757 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
37758 wxUSE_DEBUG_INFO=yes
37759 if test "$GCC" = yes; then
37760 WXDEBUG="-ggdb"
37761 fi
37762 fi
37763
37764 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
37765 cat >>confdefs.h <<\_ACEOF
37766 #define WXDEBUG 1
37767 _ACEOF
37768
37769 WXDEBUG_DEFINE="-D__WXDEBUG__"
37770 else
37771 if test "$wxUSE_GTK" = 1 ; then
37772 WXDEBUG_DEFINE="-DGTK_NO_CHECK_CASTS"
37773 fi
37774 fi
37775
37776 if test "$wxUSE_MEM_TRACING" = "yes" ; then
37777 cat >>confdefs.h <<\_ACEOF
37778 #define wxUSE_MEMORY_TRACING 1
37779 _ACEOF
37780
37781 cat >>confdefs.h <<\_ACEOF
37782 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
37783 _ACEOF
37784
37785 cat >>confdefs.h <<\_ACEOF
37786 #define wxUSE_DEBUG_NEW_ALWAYS 1
37787 _ACEOF
37788
37789 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
37790 fi
37791
37792 if test "$wxUSE_DMALLOC" = "yes" ; then
37793 DMALLOC_LIBS="-ldmallocthcxx"
37794 fi
37795
37796 PROFILE=
37797 if test "$wxUSE_PROFILE" = "yes" ; then
37798 PROFILE=" -pg"
37799 fi
37800
37801 CODE_GEN_FLAGS=
37802 CODE_GEN_FLAGS_CXX=
37803 if test "$GCC" = "yes" ; then
37804 if test "$wxUSE_NO_RTTI" = "yes" ; then
37805 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fno-rtti"
37806 fi
37807 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
37808 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fno-exceptions"
37809 fi
37810 if test "$wxUSE_PERMISSIVE" = "yes" ; then
37811 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -fpermissive"
37812 fi
37813
37814 case "${host}" in
37815 powerpc*-*-aix* )
37816 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -mminimal-toc"
37817 ;;
37818 *-hppa* )
37819 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -ffunction-sections"
37820 ;;
37821 esac
37822 fi
37823
37824 OPTIMISE=
37825 if test "$wxUSE_OPTIMISE" = "no" ; then
37826 if test "$GCC" = yes ; then
37827 OPTIMISE="-O0"
37828 fi
37829 else
37830 if test "$GCC" = yes ; then
37831 OPTIMISE="-O2"
37832
37833 case "${host}" in
37834 i586-*-*|i686-*-* )
37835 OPTIMISE="${OPTIMISE} "
37836 ;;
37837 esac
37838 else
37839 OPTIMISE="-O"
37840 fi
37841 fi
37842
37843
37844 if test "x$WXWIN_COMPATIBILITY_2_2" = "xyes"; then
37845 cat >>confdefs.h <<\_ACEOF
37846 #define WXWIN_COMPATIBILITY_2_2 1
37847 _ACEOF
37848
37849
37850 WXWIN_COMPATIBILITY_2_4="yes"
37851 fi
37852
37853 if test "x$WXWIN_COMPATIBILITY_2_4" != "xno"; then
37854 cat >>confdefs.h <<\_ACEOF
37855 #define WXWIN_COMPATIBILITY_2_4 1
37856 _ACEOF
37857
37858 fi
37859
37860
37861 if test "$wxUSE_GUI" = "yes"; then
37862 cat >>confdefs.h <<\_ACEOF
37863 #define wxUSE_GUI 1
37864 _ACEOF
37865
37866
37867 fi
37868
37869
37870 if test "$wxUSE_UNIX" = "yes"; then
37871 cat >>confdefs.h <<\_ACEOF
37872 #define wxUSE_UNIX 1
37873 _ACEOF
37874
37875 fi
37876
37877
37878 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
37879
37880 HAVE_DL_FUNCS=0
37881 HAVE_SHL_FUNCS=0
37882 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
37883 if test "$USE_DARWIN" = 1; then
37884 HAVE_DL_FUNCS=1
37885 elif test "$USE_DOS" = 1; then
37886 HAVE_DL_FUNCS=0
37887 else
37888
37889 for ac_func in dlopen
37890 do
37891 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37892 echo "$as_me:$LINENO: checking for $ac_func" >&5
37893 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37894 if eval "test \"\${$as_ac_var+set}\" = set"; then
37895 echo $ECHO_N "(cached) $ECHO_C" >&6
37896 else
37897 cat >conftest.$ac_ext <<_ACEOF
37898 /* confdefs.h. */
37899 _ACEOF
37900 cat confdefs.h >>conftest.$ac_ext
37901 cat >>conftest.$ac_ext <<_ACEOF
37902 /* end confdefs.h. */
37903 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37904 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37905 #define $ac_func innocuous_$ac_func
37906
37907 /* System header to define __stub macros and hopefully few prototypes,
37908 which can conflict with char $ac_func (); below.
37909 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37910 <limits.h> exists even on freestanding compilers. */
37911
37912 #ifdef __STDC__
37913 # include <limits.h>
37914 #else
37915 # include <assert.h>
37916 #endif
37917
37918 #undef $ac_func
37919
37920 /* Override any gcc2 internal prototype to avoid an error. */
37921 #ifdef __cplusplus
37922 extern "C"
37923 {
37924 #endif
37925 /* We use char because int might match the return type of a gcc2
37926 builtin and then its argument prototype would still apply. */
37927 char $ac_func ();
37928 /* The GNU C library defines this for functions which it implements
37929 to always fail with ENOSYS. Some functions are actually named
37930 something starting with __ and the normal name is an alias. */
37931 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37932 choke me
37933 #else
37934 char (*f) () = $ac_func;
37935 #endif
37936 #ifdef __cplusplus
37937 }
37938 #endif
37939
37940 int
37941 main ()
37942 {
37943 return f != $ac_func;
37944 ;
37945 return 0;
37946 }
37947 _ACEOF
37948 rm -f conftest.$ac_objext conftest$ac_exeext
37949 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37950 (eval $ac_link) 2>conftest.er1
37951 ac_status=$?
37952 grep -v '^ *+' conftest.er1 >conftest.err
37953 rm -f conftest.er1
37954 cat conftest.err >&5
37955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37956 (exit $ac_status); } &&
37957 { ac_try='test -z "$ac_c_werror_flag" || 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 eval "$as_ac_var=yes"
37970 else
37971 echo "$as_me: failed program was:" >&5
37972 sed 's/^/| /' conftest.$ac_ext >&5
37973
37974 eval "$as_ac_var=no"
37975 fi
37976 rm -f conftest.err conftest.$ac_objext \
37977 conftest$ac_exeext conftest.$ac_ext
37978 fi
37979 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37980 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37981 if test `eval echo '${'$as_ac_var'}'` = yes; then
37982 cat >>confdefs.h <<_ACEOF
37983 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37984 _ACEOF
37985
37986 cat >>confdefs.h <<\_ACEOF
37987 #define HAVE_DLOPEN 1
37988 _ACEOF
37989
37990 HAVE_DL_FUNCS=1
37991
37992 else
37993
37994 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
37995 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
37996 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
37997 echo $ECHO_N "(cached) $ECHO_C" >&6
37998 else
37999 ac_check_lib_save_LIBS=$LIBS
38000 LIBS="-ldl $LIBS"
38001 cat >conftest.$ac_ext <<_ACEOF
38002 /* confdefs.h. */
38003 _ACEOF
38004 cat confdefs.h >>conftest.$ac_ext
38005 cat >>conftest.$ac_ext <<_ACEOF
38006 /* end confdefs.h. */
38007
38008 /* Override any gcc2 internal prototype to avoid an error. */
38009 #ifdef __cplusplus
38010 extern "C"
38011 #endif
38012 /* We use char because int might match the return type of a gcc2
38013 builtin and then its argument prototype would still apply. */
38014 char dlopen ();
38015 int
38016 main ()
38017 {
38018 dlopen ();
38019 ;
38020 return 0;
38021 }
38022 _ACEOF
38023 rm -f conftest.$ac_objext conftest$ac_exeext
38024 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38025 (eval $ac_link) 2>conftest.er1
38026 ac_status=$?
38027 grep -v '^ *+' conftest.er1 >conftest.err
38028 rm -f conftest.er1
38029 cat conftest.err >&5
38030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38031 (exit $ac_status); } &&
38032 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38034 (eval $ac_try) 2>&5
38035 ac_status=$?
38036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38037 (exit $ac_status); }; } &&
38038 { ac_try='test -s conftest$ac_exeext'
38039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38040 (eval $ac_try) 2>&5
38041 ac_status=$?
38042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38043 (exit $ac_status); }; }; then
38044 ac_cv_lib_dl_dlopen=yes
38045 else
38046 echo "$as_me: failed program was:" >&5
38047 sed 's/^/| /' conftest.$ac_ext >&5
38048
38049 ac_cv_lib_dl_dlopen=no
38050 fi
38051 rm -f conftest.err conftest.$ac_objext \
38052 conftest$ac_exeext conftest.$ac_ext
38053 LIBS=$ac_check_lib_save_LIBS
38054 fi
38055 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
38056 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
38057 if test $ac_cv_lib_dl_dlopen = yes; then
38058
38059 cat >>confdefs.h <<\_ACEOF
38060 #define HAVE_DLOPEN 1
38061 _ACEOF
38062
38063 HAVE_DL_FUNCS=1
38064 DL_LINK=" -ldl$DL_LINK"
38065
38066 else
38067
38068
38069 for ac_func in shl_load
38070 do
38071 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38072 echo "$as_me:$LINENO: checking for $ac_func" >&5
38073 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38074 if eval "test \"\${$as_ac_var+set}\" = set"; then
38075 echo $ECHO_N "(cached) $ECHO_C" >&6
38076 else
38077 cat >conftest.$ac_ext <<_ACEOF
38078 /* confdefs.h. */
38079 _ACEOF
38080 cat confdefs.h >>conftest.$ac_ext
38081 cat >>conftest.$ac_ext <<_ACEOF
38082 /* end confdefs.h. */
38083 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38084 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38085 #define $ac_func innocuous_$ac_func
38086
38087 /* System header to define __stub macros and hopefully few prototypes,
38088 which can conflict with char $ac_func (); below.
38089 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38090 <limits.h> exists even on freestanding compilers. */
38091
38092 #ifdef __STDC__
38093 # include <limits.h>
38094 #else
38095 # include <assert.h>
38096 #endif
38097
38098 #undef $ac_func
38099
38100 /* Override any gcc2 internal prototype to avoid an error. */
38101 #ifdef __cplusplus
38102 extern "C"
38103 {
38104 #endif
38105 /* We use char because int might match the return type of a gcc2
38106 builtin and then its argument prototype would still apply. */
38107 char $ac_func ();
38108 /* The GNU C library defines this for functions which it implements
38109 to always fail with ENOSYS. Some functions are actually named
38110 something starting with __ and the normal name is an alias. */
38111 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38112 choke me
38113 #else
38114 char (*f) () = $ac_func;
38115 #endif
38116 #ifdef __cplusplus
38117 }
38118 #endif
38119
38120 int
38121 main ()
38122 {
38123 return f != $ac_func;
38124 ;
38125 return 0;
38126 }
38127 _ACEOF
38128 rm -f conftest.$ac_objext conftest$ac_exeext
38129 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38130 (eval $ac_link) 2>conftest.er1
38131 ac_status=$?
38132 grep -v '^ *+' conftest.er1 >conftest.err
38133 rm -f conftest.er1
38134 cat conftest.err >&5
38135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38136 (exit $ac_status); } &&
38137 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38139 (eval $ac_try) 2>&5
38140 ac_status=$?
38141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38142 (exit $ac_status); }; } &&
38143 { ac_try='test -s conftest$ac_exeext'
38144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38145 (eval $ac_try) 2>&5
38146 ac_status=$?
38147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38148 (exit $ac_status); }; }; then
38149 eval "$as_ac_var=yes"
38150 else
38151 echo "$as_me: failed program was:" >&5
38152 sed 's/^/| /' conftest.$ac_ext >&5
38153
38154 eval "$as_ac_var=no"
38155 fi
38156 rm -f conftest.err conftest.$ac_objext \
38157 conftest$ac_exeext conftest.$ac_ext
38158 fi
38159 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38160 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38161 if test `eval echo '${'$as_ac_var'}'` = yes; then
38162 cat >>confdefs.h <<_ACEOF
38163 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38164 _ACEOF
38165
38166 cat >>confdefs.h <<\_ACEOF
38167 #define HAVE_SHL_LOAD 1
38168 _ACEOF
38169
38170 HAVE_SHL_FUNCS=1
38171
38172 else
38173
38174 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
38175 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
38176 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
38177 echo $ECHO_N "(cached) $ECHO_C" >&6
38178 else
38179 ac_check_lib_save_LIBS=$LIBS
38180 LIBS="-lshl_load $LIBS"
38181 cat >conftest.$ac_ext <<_ACEOF
38182 /* confdefs.h. */
38183 _ACEOF
38184 cat confdefs.h >>conftest.$ac_ext
38185 cat >>conftest.$ac_ext <<_ACEOF
38186 /* end confdefs.h. */
38187
38188 /* Override any gcc2 internal prototype to avoid an error. */
38189 #ifdef __cplusplus
38190 extern "C"
38191 #endif
38192 /* We use char because int might match the return type of a gcc2
38193 builtin and then its argument prototype would still apply. */
38194 char dld ();
38195 int
38196 main ()
38197 {
38198 dld ();
38199 ;
38200 return 0;
38201 }
38202 _ACEOF
38203 rm -f conftest.$ac_objext conftest$ac_exeext
38204 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38205 (eval $ac_link) 2>conftest.er1
38206 ac_status=$?
38207 grep -v '^ *+' conftest.er1 >conftest.err
38208 rm -f conftest.er1
38209 cat conftest.err >&5
38210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38211 (exit $ac_status); } &&
38212 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38214 (eval $ac_try) 2>&5
38215 ac_status=$?
38216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38217 (exit $ac_status); }; } &&
38218 { ac_try='test -s conftest$ac_exeext'
38219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38220 (eval $ac_try) 2>&5
38221 ac_status=$?
38222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38223 (exit $ac_status); }; }; then
38224 ac_cv_lib_shl_load_dld=yes
38225 else
38226 echo "$as_me: failed program was:" >&5
38227 sed 's/^/| /' conftest.$ac_ext >&5
38228
38229 ac_cv_lib_shl_load_dld=no
38230 fi
38231 rm -f conftest.err conftest.$ac_objext \
38232 conftest$ac_exeext conftest.$ac_ext
38233 LIBS=$ac_check_lib_save_LIBS
38234 fi
38235 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
38236 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
38237 if test $ac_cv_lib_shl_load_dld = yes; then
38238
38239 HAVE_SHL_FUNCS=1
38240 DL_LINK=" -ldld$DL_LINK"
38241
38242 fi
38243
38244
38245 fi
38246 done
38247
38248
38249 fi
38250
38251
38252 fi
38253 done
38254
38255
38256 if test "$HAVE_DL_FUNCS" = 1; then
38257
38258 for ac_func in dlerror
38259 do
38260 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38261 echo "$as_me:$LINENO: checking for $ac_func" >&5
38262 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38263 if eval "test \"\${$as_ac_var+set}\" = set"; then
38264 echo $ECHO_N "(cached) $ECHO_C" >&6
38265 else
38266 cat >conftest.$ac_ext <<_ACEOF
38267 /* confdefs.h. */
38268 _ACEOF
38269 cat confdefs.h >>conftest.$ac_ext
38270 cat >>conftest.$ac_ext <<_ACEOF
38271 /* end confdefs.h. */
38272 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38273 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38274 #define $ac_func innocuous_$ac_func
38275
38276 /* System header to define __stub macros and hopefully few prototypes,
38277 which can conflict with char $ac_func (); below.
38278 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38279 <limits.h> exists even on freestanding compilers. */
38280
38281 #ifdef __STDC__
38282 # include <limits.h>
38283 #else
38284 # include <assert.h>
38285 #endif
38286
38287 #undef $ac_func
38288
38289 /* Override any gcc2 internal prototype to avoid an error. */
38290 #ifdef __cplusplus
38291 extern "C"
38292 {
38293 #endif
38294 /* We use char because int might match the return type of a gcc2
38295 builtin and then its argument prototype would still apply. */
38296 char $ac_func ();
38297 /* The GNU C library defines this for functions which it implements
38298 to always fail with ENOSYS. Some functions are actually named
38299 something starting with __ and the normal name is an alias. */
38300 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38301 choke me
38302 #else
38303 char (*f) () = $ac_func;
38304 #endif
38305 #ifdef __cplusplus
38306 }
38307 #endif
38308
38309 int
38310 main ()
38311 {
38312 return f != $ac_func;
38313 ;
38314 return 0;
38315 }
38316 _ACEOF
38317 rm -f conftest.$ac_objext conftest$ac_exeext
38318 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38319 (eval $ac_link) 2>conftest.er1
38320 ac_status=$?
38321 grep -v '^ *+' conftest.er1 >conftest.err
38322 rm -f conftest.er1
38323 cat conftest.err >&5
38324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38325 (exit $ac_status); } &&
38326 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38328 (eval $ac_try) 2>&5
38329 ac_status=$?
38330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38331 (exit $ac_status); }; } &&
38332 { ac_try='test -s conftest$ac_exeext'
38333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38334 (eval $ac_try) 2>&5
38335 ac_status=$?
38336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38337 (exit $ac_status); }; }; then
38338 eval "$as_ac_var=yes"
38339 else
38340 echo "$as_me: failed program was:" >&5
38341 sed 's/^/| /' conftest.$ac_ext >&5
38342
38343 eval "$as_ac_var=no"
38344 fi
38345 rm -f conftest.err conftest.$ac_objext \
38346 conftest$ac_exeext conftest.$ac_ext
38347 fi
38348 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38349 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38350 if test `eval echo '${'$as_ac_var'}'` = yes; then
38351 cat >>confdefs.h <<_ACEOF
38352 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38353 _ACEOF
38354 cat >>confdefs.h <<\_ACEOF
38355 #define HAVE_DLERROR 1
38356 _ACEOF
38357
38358 else
38359
38360 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
38361 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
38362 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
38363 echo $ECHO_N "(cached) $ECHO_C" >&6
38364 else
38365 ac_check_lib_save_LIBS=$LIBS
38366 LIBS="-ldl $LIBS"
38367 cat >conftest.$ac_ext <<_ACEOF
38368 /* confdefs.h. */
38369 _ACEOF
38370 cat confdefs.h >>conftest.$ac_ext
38371 cat >>conftest.$ac_ext <<_ACEOF
38372 /* end confdefs.h. */
38373
38374 /* Override any gcc2 internal prototype to avoid an error. */
38375 #ifdef __cplusplus
38376 extern "C"
38377 #endif
38378 /* We use char because int might match the return type of a gcc2
38379 builtin and then its argument prototype would still apply. */
38380 char dlerror ();
38381 int
38382 main ()
38383 {
38384 dlerror ();
38385 ;
38386 return 0;
38387 }
38388 _ACEOF
38389 rm -f conftest.$ac_objext conftest$ac_exeext
38390 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38391 (eval $ac_link) 2>conftest.er1
38392 ac_status=$?
38393 grep -v '^ *+' conftest.er1 >conftest.err
38394 rm -f conftest.er1
38395 cat conftest.err >&5
38396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38397 (exit $ac_status); } &&
38398 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38400 (eval $ac_try) 2>&5
38401 ac_status=$?
38402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38403 (exit $ac_status); }; } &&
38404 { ac_try='test -s conftest$ac_exeext'
38405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38406 (eval $ac_try) 2>&5
38407 ac_status=$?
38408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38409 (exit $ac_status); }; }; then
38410 ac_cv_lib_dl_dlerror=yes
38411 else
38412 echo "$as_me: failed program was:" >&5
38413 sed 's/^/| /' conftest.$ac_ext >&5
38414
38415 ac_cv_lib_dl_dlerror=no
38416 fi
38417 rm -f conftest.err conftest.$ac_objext \
38418 conftest$ac_exeext conftest.$ac_ext
38419 LIBS=$ac_check_lib_save_LIBS
38420 fi
38421 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
38422 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
38423 if test $ac_cv_lib_dl_dlerror = yes; then
38424 cat >>confdefs.h <<\_ACEOF
38425 #define HAVE_DLERROR 1
38426 _ACEOF
38427
38428 fi
38429
38430
38431
38432 fi
38433 done
38434
38435 fi
38436 fi
38437
38438 if test "$HAVE_DL_FUNCS" = 0; then
38439 if test "$HAVE_SHL_FUNCS" = 0; then
38440 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
38441 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
38442 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
38443 wxUSE_DYNAMIC_LOADER=no
38444 wxUSE_DYNLIB_CLASS=no
38445 else
38446 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
38447 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
38448 fi
38449 fi
38450 fi
38451 fi
38452 fi
38453
38454 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
38455 cat >>confdefs.h <<\_ACEOF
38456 #define wxUSE_DYNAMIC_LOADER 1
38457 _ACEOF
38458
38459 fi
38460 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
38461 cat >>confdefs.h <<\_ACEOF
38462 #define wxUSE_DYNLIB_CLASS 1
38463 _ACEOF
38464
38465 fi
38466
38467
38468
38469 if test "$wxUSE_PLUGINS" = "yes" ; then
38470 if test "$wxUSE_SHARED" = "no" ; then
38471 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
38472 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
38473 wxUSE_PLUGINS=no
38474 fi
38475 if test "$wxUSE_MONOLITHIC" = "yes" ; then
38476 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
38477 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
38478 wxUSE_PLUGINS=no
38479 fi
38480 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
38481 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
38482 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
38483 wxUSE_PLUGINS=no
38484 fi
38485 if test "$wxUSE_PLUGINS" = "yes" ; then
38486 cat >>confdefs.h <<\_ACEOF
38487 #define wxUSE_PLUGINS 1
38488 _ACEOF
38489
38490 fi
38491 fi
38492
38493
38494 if test "$wxUSE_STL" = "yes"; then
38495 cat >>confdefs.h <<\_ACEOF
38496 #define wxUSE_STL 1
38497 _ACEOF
38498
38499 fi
38500
38501 if test "$wxUSE_APPLE_IEEE" = "yes"; then
38502 cat >>confdefs.h <<\_ACEOF
38503 #define wxUSE_APPLE_IEEE 1
38504 _ACEOF
38505
38506 fi
38507
38508 if test "$wxUSE_TIMER" = "yes"; then
38509 cat >>confdefs.h <<\_ACEOF
38510 #define wxUSE_TIMER 1
38511 _ACEOF
38512
38513 fi
38514
38515 if test "$USE_UNIX" = "1" ; then
38516 echo "$as_me:$LINENO: checking for ioctl() in sys/soundcard.h" >&5
38517 echo $ECHO_N "checking for ioctl() in sys/soundcard.h... $ECHO_C" >&6
38518 if test "${ac_cv_header_sys_soundcard+set}" = set; then
38519 echo $ECHO_N "(cached) $ECHO_C" >&6
38520 else
38521
38522 cat >conftest.$ac_ext <<_ACEOF
38523 /* confdefs.h. */
38524 _ACEOF
38525 cat confdefs.h >>conftest.$ac_ext
38526 cat >>conftest.$ac_ext <<_ACEOF
38527 /* end confdefs.h. */
38528
38529 #include <sys/soundcard.h>
38530
38531 int
38532 main ()
38533 {
38534
38535 ioctl(0, SNDCTL_DSP_SYNC, 0);
38536
38537 ;
38538 return 0;
38539 }
38540 _ACEOF
38541 rm -f conftest.$ac_objext conftest$ac_exeext
38542 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38543 (eval $ac_link) 2>conftest.er1
38544 ac_status=$?
38545 grep -v '^ *+' conftest.er1 >conftest.err
38546 rm -f conftest.er1
38547 cat conftest.err >&5
38548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38549 (exit $ac_status); } &&
38550 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38552 (eval $ac_try) 2>&5
38553 ac_status=$?
38554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38555 (exit $ac_status); }; } &&
38556 { ac_try='test -s conftest$ac_exeext'
38557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38558 (eval $ac_try) 2>&5
38559 ac_status=$?
38560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38561 (exit $ac_status); }; }; then
38562 ac_cv_header_sys_soundcard=yes
38563 else
38564 echo "$as_me: failed program was:" >&5
38565 sed 's/^/| /' conftest.$ac_ext >&5
38566
38567
38568 saveLibs="$LIBS"
38569 LIBS="$saveLibs -lossaudio"
38570 cat >conftest.$ac_ext <<_ACEOF
38571 /* confdefs.h. */
38572 _ACEOF
38573 cat confdefs.h >>conftest.$ac_ext
38574 cat >>conftest.$ac_ext <<_ACEOF
38575 /* end confdefs.h. */
38576
38577 #include <sys/soundcard.h>
38578
38579 int
38580 main ()
38581 {
38582
38583 ioctl(0, SNDCTL_DSP_SYNC, 0);
38584
38585 ;
38586 return 0;
38587 }
38588 _ACEOF
38589 rm -f conftest.$ac_objext conftest$ac_exeext
38590 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38591 (eval $ac_link) 2>conftest.er1
38592 ac_status=$?
38593 grep -v '^ *+' conftest.er1 >conftest.err
38594 rm -f conftest.er1
38595 cat conftest.err >&5
38596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38597 (exit $ac_status); } &&
38598 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38600 (eval $ac_try) 2>&5
38601 ac_status=$?
38602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38603 (exit $ac_status); }; } &&
38604 { ac_try='test -s conftest$ac_exeext'
38605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38606 (eval $ac_try) 2>&5
38607 ac_status=$?
38608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38609 (exit $ac_status); }; }; then
38610 ac_cv_header_sys_soundcard=yes
38611 else
38612 echo "$as_me: failed program was:" >&5
38613 sed 's/^/| /' conftest.$ac_ext >&5
38614
38615
38616 LIBS="$saveLibs"
38617 ac_cv_header_sys_soundcard=no
38618
38619
38620 fi
38621 rm -f conftest.err conftest.$ac_objext \
38622 conftest$ac_exeext conftest.$ac_ext
38623
38624
38625 fi
38626 rm -f conftest.err conftest.$ac_objext \
38627 conftest$ac_exeext conftest.$ac_ext
38628
38629 fi
38630 echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
38631 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6
38632
38633 if test "$ac_cv_header_sys_soundcard" = "yes"; then
38634 cat >>confdefs.h <<\_ACEOF
38635 #define HAVE_SYS_SOUNDCARD_H 1
38636 _ACEOF
38637
38638 else
38639 DISABLED_CONTRIB="$DISABLED_CONTRIB mmedia"
38640 fi
38641 fi
38642 WITH_PLUGIN_SDL=0
38643 if test "$wxUSE_SOUND" = "yes"; then
38644 if test "$USE_UNIX" = "1" ; then
38645 if test "$wxUSE_LIBSDL" != "no"; then
38646
38647 # Check whether --with-sdl-prefix or --without-sdl-prefix was given.
38648 if test "${with_sdl_prefix+set}" = set; then
38649 withval="$with_sdl_prefix"
38650 sdl_prefix="$withval"
38651 else
38652 sdl_prefix=""
38653 fi;
38654
38655 # Check whether --with-sdl-exec-prefix or --without-sdl-exec-prefix was given.
38656 if test "${with_sdl_exec_prefix+set}" = set; then
38657 withval="$with_sdl_exec_prefix"
38658 sdl_exec_prefix="$withval"
38659 else
38660 sdl_exec_prefix=""
38661 fi;
38662 # Check whether --enable-sdltest or --disable-sdltest was given.
38663 if test "${enable_sdltest+set}" = set; then
38664 enableval="$enable_sdltest"
38665
38666 else
38667 enable_sdltest=yes
38668 fi;
38669
38670 if test x$sdl_exec_prefix != x ; then
38671 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
38672 if test x${SDL_CONFIG+set} != xset ; then
38673 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
38674 fi
38675 fi
38676 if test x$sdl_prefix != x ; then
38677 sdl_args="$sdl_args --prefix=$sdl_prefix"
38678 if test x${SDL_CONFIG+set} != xset ; then
38679 SDL_CONFIG=$sdl_prefix/bin/sdl-config
38680 fi
38681 fi
38682
38683
38684 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
38685 # Extract the first word of "sdl-config", so it can be a program name with args.
38686 set dummy sdl-config; ac_word=$2
38687 echo "$as_me:$LINENO: checking for $ac_word" >&5
38688 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38689 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
38690 echo $ECHO_N "(cached) $ECHO_C" >&6
38691 else
38692 case $SDL_CONFIG in
38693 [\\/]* | ?:[\\/]*)
38694 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
38695 ;;
38696 *)
38697 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38698 for as_dir in $PATH
38699 do
38700 IFS=$as_save_IFS
38701 test -z "$as_dir" && as_dir=.
38702 for ac_exec_ext in '' $ac_executable_extensions; do
38703 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38704 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
38705 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38706 break 2
38707 fi
38708 done
38709 done
38710
38711 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
38712 ;;
38713 esac
38714 fi
38715 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
38716
38717 if test -n "$SDL_CONFIG"; then
38718 echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
38719 echo "${ECHO_T}$SDL_CONFIG" >&6
38720 else
38721 echo "$as_me:$LINENO: result: no" >&5
38722 echo "${ECHO_T}no" >&6
38723 fi
38724
38725 min_sdl_version=1.2.0
38726 echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
38727 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6
38728 no_sdl=""
38729 if test "$SDL_CONFIG" = "no" ; then
38730 no_sdl=yes
38731 else
38732 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
38733 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
38734
38735 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
38736 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
38737 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
38738 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
38739 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
38740 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
38741 if test "x$enable_sdltest" = "xyes" ; then
38742 ac_save_CFLAGS="$CFLAGS"
38743 ac_save_CXXFLAGS="$CXXFLAGS"
38744 ac_save_LIBS="$LIBS"
38745 CFLAGS="$CFLAGS $SDL_CFLAGS"
38746 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
38747 LIBS="$LIBS $SDL_LIBS"
38748 rm -f conf.sdltest
38749 if test "$cross_compiling" = yes; then
38750 echo $ac_n "cross compiling; assumed OK... $ac_c"
38751 else
38752 cat >conftest.$ac_ext <<_ACEOF
38753 /* confdefs.h. */
38754 _ACEOF
38755 cat confdefs.h >>conftest.$ac_ext
38756 cat >>conftest.$ac_ext <<_ACEOF
38757 /* end confdefs.h. */
38758
38759 #include <stdio.h>
38760 #include <stdlib.h>
38761 #include <string.h>
38762 #include "SDL.h"
38763
38764 char*
38765 my_strdup (char *str)
38766 {
38767 char *new_str;
38768
38769 if (str)
38770 {
38771 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
38772 strcpy (new_str, str);
38773 }
38774 else
38775 new_str = NULL;
38776
38777 return new_str;
38778 }
38779
38780 int main (int argc, char *argv[])
38781 {
38782 int major, minor, micro;
38783 char *tmp_version;
38784
38785 /* This hangs on some systems (?)
38786 system ("touch conf.sdltest");
38787 */
38788 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
38789
38790 /* HP/UX 9 (%@#!) writes to sscanf strings */
38791 tmp_version = my_strdup("$min_sdl_version");
38792 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
38793 printf("%s, bad version string\n", "$min_sdl_version");
38794 exit(1);
38795 }
38796
38797 if (($sdl_major_version > major) ||
38798 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
38799 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
38800 {
38801 return 0;
38802 }
38803 else
38804 {
38805 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
38806 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
38807 printf("*** best to upgrade to the required version.\n");
38808 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
38809 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
38810 printf("*** config.cache before re-running configure\n");
38811 return 1;
38812 }
38813 }
38814
38815
38816 _ACEOF
38817 rm -f conftest$ac_exeext
38818 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38819 (eval $ac_link) 2>&5
38820 ac_status=$?
38821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38822 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
38823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38824 (eval $ac_try) 2>&5
38825 ac_status=$?
38826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38827 (exit $ac_status); }; }; then
38828 :
38829 else
38830 echo "$as_me: program exited with status $ac_status" >&5
38831 echo "$as_me: failed program was:" >&5
38832 sed 's/^/| /' conftest.$ac_ext >&5
38833
38834 ( exit $ac_status )
38835 no_sdl=yes
38836 fi
38837 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
38838 fi
38839 CFLAGS="$ac_save_CFLAGS"
38840 CXXFLAGS="$ac_save_CXXFLAGS"
38841 LIBS="$ac_save_LIBS"
38842 fi
38843 fi
38844 if test "x$no_sdl" = x ; then
38845 echo "$as_me:$LINENO: result: yes" >&5
38846 echo "${ECHO_T}yes" >&6
38847
38848 EXTRALIBS_SDL="$SDL_LIBS"
38849 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
38850 cat >>confdefs.h <<\_ACEOF
38851 #define wxUSE_LIBSDL 1
38852 _ACEOF
38853
38854
38855 else
38856 echo "$as_me:$LINENO: result: no" >&5
38857 echo "${ECHO_T}no" >&6
38858 if test "$SDL_CONFIG" = "no" ; then
38859 echo "*** The sdl-config script installed by SDL could not be found"
38860 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
38861 echo "*** your path, or set the SDL_CONFIG environment variable to the"
38862 echo "*** full path to sdl-config."
38863 else
38864 if test -f conf.sdltest ; then
38865 :
38866 else
38867 echo "*** Could not run SDL test program, checking why..."
38868 CFLAGS="$CFLAGS $SDL_CFLAGS"
38869 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
38870 LIBS="$LIBS $SDL_LIBS"
38871 cat >conftest.$ac_ext <<_ACEOF
38872 /* confdefs.h. */
38873 _ACEOF
38874 cat confdefs.h >>conftest.$ac_ext
38875 cat >>conftest.$ac_ext <<_ACEOF
38876 /* end confdefs.h. */
38877
38878 #include <stdio.h>
38879 #include "SDL.h"
38880
38881 int main(int argc, char *argv[])
38882 { return 0; }
38883 #undef main
38884 #define main K_and_R_C_main
38885
38886 int
38887 main ()
38888 {
38889 return 0;
38890 ;
38891 return 0;
38892 }
38893 _ACEOF
38894 rm -f conftest.$ac_objext conftest$ac_exeext
38895 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38896 (eval $ac_link) 2>conftest.er1
38897 ac_status=$?
38898 grep -v '^ *+' conftest.er1 >conftest.err
38899 rm -f conftest.er1
38900 cat conftest.err >&5
38901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38902 (exit $ac_status); } &&
38903 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38905 (eval $ac_try) 2>&5
38906 ac_status=$?
38907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38908 (exit $ac_status); }; } &&
38909 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
38915 echo "*** The test program compiled, but did not run. This usually means"
38916 echo "*** that the run-time linker is not finding SDL or finding the wrong"
38917 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
38918 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
38919 echo "*** to the installed location Also, make sure you have run ldconfig if that"
38920 echo "*** is required on your system"
38921 echo "***"
38922 echo "*** If you have an old version installed, it is best to remove it, although"
38923 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
38924 else
38925 echo "$as_me: failed program was:" >&5
38926 sed 's/^/| /' conftest.$ac_ext >&5
38927
38928 echo "*** The test program failed to compile or link. See the file config.log for the"
38929 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
38930 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
38931 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
38932 fi
38933 rm -f conftest.err conftest.$ac_objext \
38934 conftest$ac_exeext conftest.$ac_ext
38935 CFLAGS="$ac_save_CFLAGS"
38936 CXXFLAGS="$ac_save_CXXFLAGS"
38937 LIBS="$ac_save_LIBS"
38938 fi
38939 fi
38940 SDL_CFLAGS=""
38941 SDL_LIBS=""
38942 wxUSE_LIBSDL="no"
38943 fi
38944
38945
38946 rm -f conf.sdltest
38947
38948 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
38949 WITH_PLUGIN_SDL=1
38950 fi
38951 fi
38952 fi
38953
38954 cat >>confdefs.h <<\_ACEOF
38955 #define wxUSE_SOUND 1
38956 _ACEOF
38957
38958 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
38959 fi
38960
38961 if test "$WXGTK20" = 1; then
38962 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
38963 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
38964
38965
38966 succeeded=no
38967
38968 if test -z "$PKG_CONFIG"; then
38969 # Extract the first word of "pkg-config", so it can be a program name with args.
38970 set dummy pkg-config; ac_word=$2
38971 echo "$as_me:$LINENO: checking for $ac_word" >&5
38972 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38973 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
38974 echo $ECHO_N "(cached) $ECHO_C" >&6
38975 else
38976 case $PKG_CONFIG in
38977 [\\/]* | ?:[\\/]*)
38978 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
38979 ;;
38980 *)
38981 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38982 for as_dir in $PATH
38983 do
38984 IFS=$as_save_IFS
38985 test -z "$as_dir" && as_dir=.
38986 for ac_exec_ext in '' $ac_executable_extensions; do
38987 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38988 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
38989 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38990 break 2
38991 fi
38992 done
38993 done
38994
38995 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
38996 ;;
38997 esac
38998 fi
38999 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
39000
39001 if test -n "$PKG_CONFIG"; then
39002 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
39003 echo "${ECHO_T}$PKG_CONFIG" >&6
39004 else
39005 echo "$as_me:$LINENO: result: no" >&5
39006 echo "${ECHO_T}no" >&6
39007 fi
39008
39009 fi
39010
39011 if test "$PKG_CONFIG" = "no" ; then
39012 echo "*** The pkg-config script could not be found. Make sure it is"
39013 echo "*** in your path, or set the PKG_CONFIG environment variable"
39014 echo "*** to the full path to pkg-config."
39015 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
39016 else
39017 PKG_CONFIG_MIN_VERSION=0.9.0
39018 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
39019 echo "$as_me:$LINENO: checking for libgnomeprintui-2.2 >= 2.8" >&5
39020 echo $ECHO_N "checking for libgnomeprintui-2.2 >= 2.8... $ECHO_C" >&6
39021
39022 if $PKG_CONFIG --exists "libgnomeprintui-2.2 >= 2.8" ; then
39023 echo "$as_me:$LINENO: result: yes" >&5
39024 echo "${ECHO_T}yes" >&6
39025 succeeded=yes
39026
39027 echo "$as_me:$LINENO: checking LIBGNOMEPRINTUI_CFLAGS" >&5
39028 echo $ECHO_N "checking LIBGNOMEPRINTUI_CFLAGS... $ECHO_C" >&6
39029 LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8"`
39030 echo "$as_me:$LINENO: result: $LIBGNOMEPRINTUI_CFLAGS" >&5
39031 echo "${ECHO_T}$LIBGNOMEPRINTUI_CFLAGS" >&6
39032
39033 echo "$as_me:$LINENO: checking LIBGNOMEPRINTUI_LIBS" >&5
39034 echo $ECHO_N "checking LIBGNOMEPRINTUI_LIBS... $ECHO_C" >&6
39035 LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8"`
39036 echo "$as_me:$LINENO: result: $LIBGNOMEPRINTUI_LIBS" >&5
39037 echo "${ECHO_T}$LIBGNOMEPRINTUI_LIBS" >&6
39038 else
39039 LIBGNOMEPRINTUI_CFLAGS=""
39040 LIBGNOMEPRINTUI_LIBS=""
39041 ## If we have a custom action on failure, don't print errors, but
39042 ## do set a variable so people can do so.
39043 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
39044
39045 fi
39046
39047
39048
39049 else
39050 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
39051 echo "*** See http://www.freedesktop.org/software/pkgconfig"
39052 fi
39053 fi
39054
39055 if test $succeeded = yes; then
39056
39057 CXXFLAGS="$CXXFLAGS $LIBGNOMEPRINTUI_CFLAGS"
39058 cat >>confdefs.h <<\_ACEOF
39059 #define wxUSE_LIBGNOMEPRINT 1
39060 _ACEOF
39061
39062
39063 else
39064
39065 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
39066 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
39067 wxUSE_LIBGNOMEPRINT="no"
39068
39069
39070 fi
39071
39072 fi
39073 fi
39074 fi
39075
39076
39077 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
39078 cat >>confdefs.h <<\_ACEOF
39079 #define wxUSE_CMDLINE_PARSER 1
39080 _ACEOF
39081
39082 fi
39083
39084 if test "$wxUSE_STOPWATCH" = "yes"; then
39085 cat >>confdefs.h <<\_ACEOF
39086 #define wxUSE_STOPWATCH 1
39087 _ACEOF
39088
39089 fi
39090
39091 if test "$wxUSE_DATETIME" = "yes"; then
39092 cat >>confdefs.h <<\_ACEOF
39093 #define wxUSE_DATETIME 1
39094 _ACEOF
39095
39096 fi
39097
39098 if test "$wxUSE_FILE" = "yes"; then
39099 cat >>confdefs.h <<\_ACEOF
39100 #define wxUSE_FILE 1
39101 _ACEOF
39102
39103 fi
39104
39105 if test "$wxUSE_FFILE" = "yes"; then
39106 cat >>confdefs.h <<\_ACEOF
39107 #define wxUSE_FFILE 1
39108 _ACEOF
39109
39110 fi
39111
39112 if test "$wxUSE_FILESYSTEM" = "yes"; then
39113 cat >>confdefs.h <<\_ACEOF
39114 #define wxUSE_FILESYSTEM 1
39115 _ACEOF
39116
39117 fi
39118
39119 if test "$wxUSE_FS_ZIP" = "yes"; then
39120 cat >>confdefs.h <<\_ACEOF
39121 #define wxUSE_FS_ZIP 1
39122 _ACEOF
39123
39124 fi
39125
39126 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
39127 cat >>confdefs.h <<\_ACEOF
39128 #define wxUSE_ARCHIVE_STREAMS 1
39129 _ACEOF
39130
39131 fi
39132
39133 if test "$wxUSE_ZIPSTREAM" = "yes"; then
39134 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
39135 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
39136 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
39137 elif test "$wxUSE_ZLIB" = "no"; then
39138 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
39139 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
39140 else
39141 cat >>confdefs.h <<\_ACEOF
39142 #define wxUSE_ZIPSTREAM 1
39143 _ACEOF
39144
39145 fi
39146 fi
39147
39148 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
39149 if test "$USE_UNIX" != 1; then
39150 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
39151 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
39152 wxUSE_ON_FATAL_EXCEPTION=no
39153 else
39154 cat >>confdefs.h <<\_ACEOF
39155 #define wxUSE_ON_FATAL_EXCEPTION 1
39156 _ACEOF
39157
39158 fi
39159 fi
39160
39161 if test "$wxUSE_STACKWALKER" = "yes"; then
39162 cat >>confdefs.h <<\_ACEOF
39163 #define wxUSE_STACKWALKER 1
39164 _ACEOF
39165
39166 fi
39167
39168 if test "$wxUSE_DEBUGREPORT" = "yes"; then
39169 if test "$USE_UNIX" != "1" -a "$USE_WIN32" != "1"; then
39170 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
39171 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
39172 wxUSE_DEBUGREPORT=no
39173 else
39174 cat >>confdefs.h <<\_ACEOF
39175 #define wxUSE_DEBUGREPORT 1
39176 _ACEOF
39177
39178 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
39179 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
39180 fi
39181 fi
39182 fi
39183
39184 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
39185 cat >>confdefs.h <<\_ACEOF
39186 #define wxUSE_SNGLINST_CHECKER 1
39187 _ACEOF
39188
39189 fi
39190
39191 if test "$wxUSE_BUSYINFO" = "yes"; then
39192 cat >>confdefs.h <<\_ACEOF
39193 #define wxUSE_BUSYINFO 1
39194 _ACEOF
39195
39196 fi
39197
39198 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
39199 cat >>confdefs.h <<\_ACEOF
39200 #define wxUSE_STD_IOSTREAM 1
39201 _ACEOF
39202
39203 fi
39204
39205 if test "$wxUSE_STD_STRING" = "yes"; then
39206 cat >>confdefs.h <<\_ACEOF
39207 #define wxUSE_STD_STRING 1
39208 _ACEOF
39209
39210 fi
39211
39212 if test "$wxUSE_STDPATHS" = "yes"; then
39213 cat >>confdefs.h <<\_ACEOF
39214 #define wxUSE_STDPATHS 1
39215 _ACEOF
39216
39217 fi
39218
39219 if test "$wxUSE_TEXTBUFFER" = "yes"; then
39220 cat >>confdefs.h <<\_ACEOF
39221 #define wxUSE_TEXTBUFFER 1
39222 _ACEOF
39223
39224 fi
39225
39226 if test "$wxUSE_TEXTFILE" = "yes"; then
39227 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
39228 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
39229 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
39230 else
39231 cat >>confdefs.h <<\_ACEOF
39232 #define wxUSE_TEXTFILE 1
39233 _ACEOF
39234
39235 fi
39236 fi
39237
39238 if test "$wxUSE_CONFIG" = "yes" ; then
39239 if test "$wxUSE_TEXTFILE" != "yes"; then
39240 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
39241 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
39242 else
39243 cat >>confdefs.h <<\_ACEOF
39244 #define wxUSE_CONFIG 1
39245 _ACEOF
39246
39247 cat >>confdefs.h <<\_ACEOF
39248 #define wxUSE_CONFIG_NATIVE 1
39249 _ACEOF
39250
39251 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
39252 fi
39253 fi
39254
39255 if test "$wxUSE_INTL" = "yes" ; then
39256 if test "$wxUSE_FILE" != "yes"; then
39257 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
39258 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
39259 else
39260 cat >>confdefs.h <<\_ACEOF
39261 #define wxUSE_INTL 1
39262 _ACEOF
39263
39264 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
39265 GUIDIST="$GUIDIST INTL_DIST"
39266 fi
39267 fi
39268
39269 if test "$wxUSE_LOG" = "yes"; then
39270 cat >>confdefs.h <<\_ACEOF
39271 #define wxUSE_LOG 1
39272 _ACEOF
39273
39274
39275 if test "$wxUSE_LOGGUI" = "yes"; then
39276 cat >>confdefs.h <<\_ACEOF
39277 #define wxUSE_LOGGUI 1
39278 _ACEOF
39279
39280 fi
39281
39282 if test "$wxUSE_LOGWINDOW" = "yes"; then
39283 cat >>confdefs.h <<\_ACEOF
39284 #define wxUSE_LOGWINDOW 1
39285 _ACEOF
39286
39287 fi
39288
39289 if test "$wxUSE_LOGDIALOG" = "yes"; then
39290 cat >>confdefs.h <<\_ACEOF
39291 #define wxUSE_LOG_DIALOG 1
39292 _ACEOF
39293
39294 fi
39295
39296 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
39297 fi
39298
39299 if test "$wxUSE_LONGLONG" = "yes"; then
39300 cat >>confdefs.h <<\_ACEOF
39301 #define wxUSE_LONGLONG 1
39302 _ACEOF
39303
39304 fi
39305
39306 if test "$wxUSE_GEOMETRY" = "yes"; then
39307 cat >>confdefs.h <<\_ACEOF
39308 #define wxUSE_GEOMETRY 1
39309 _ACEOF
39310
39311 fi
39312
39313 if test "$wxUSE_STREAMS" = "yes" ; then
39314 cat >>confdefs.h <<\_ACEOF
39315 #define wxUSE_STREAMS 1
39316 _ACEOF
39317
39318 fi
39319
39320
39321 if test "$wxUSE_DATETIME" = "yes"; then
39322
39323 for ac_func in strptime
39324 do
39325 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39326 echo "$as_me:$LINENO: checking for $ac_func" >&5
39327 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39328 if eval "test \"\${$as_ac_var+set}\" = set"; then
39329 echo $ECHO_N "(cached) $ECHO_C" >&6
39330 else
39331 cat >conftest.$ac_ext <<_ACEOF
39332 /* confdefs.h. */
39333 _ACEOF
39334 cat confdefs.h >>conftest.$ac_ext
39335 cat >>conftest.$ac_ext <<_ACEOF
39336 /* end confdefs.h. */
39337 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39338 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39339 #define $ac_func innocuous_$ac_func
39340
39341 /* System header to define __stub macros and hopefully few prototypes,
39342 which can conflict with char $ac_func (); below.
39343 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39344 <limits.h> exists even on freestanding compilers. */
39345
39346 #ifdef __STDC__
39347 # include <limits.h>
39348 #else
39349 # include <assert.h>
39350 #endif
39351
39352 #undef $ac_func
39353
39354 /* Override any gcc2 internal prototype to avoid an error. */
39355 #ifdef __cplusplus
39356 extern "C"
39357 {
39358 #endif
39359 /* We use char because int might match the return type of a gcc2
39360 builtin and then its argument prototype would still apply. */
39361 char $ac_func ();
39362 /* The GNU C library defines this for functions which it implements
39363 to always fail with ENOSYS. Some functions are actually named
39364 something starting with __ and the normal name is an alias. */
39365 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39366 choke me
39367 #else
39368 char (*f) () = $ac_func;
39369 #endif
39370 #ifdef __cplusplus
39371 }
39372 #endif
39373
39374 int
39375 main ()
39376 {
39377 return f != $ac_func;
39378 ;
39379 return 0;
39380 }
39381 _ACEOF
39382 rm -f conftest.$ac_objext conftest$ac_exeext
39383 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39384 (eval $ac_link) 2>conftest.er1
39385 ac_status=$?
39386 grep -v '^ *+' conftest.er1 >conftest.err
39387 rm -f conftest.er1
39388 cat conftest.err >&5
39389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39390 (exit $ac_status); } &&
39391 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39393 (eval $ac_try) 2>&5
39394 ac_status=$?
39395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39396 (exit $ac_status); }; } &&
39397 { ac_try='test -s conftest$ac_exeext'
39398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39399 (eval $ac_try) 2>&5
39400 ac_status=$?
39401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39402 (exit $ac_status); }; }; then
39403 eval "$as_ac_var=yes"
39404 else
39405 echo "$as_me: failed program was:" >&5
39406 sed 's/^/| /' conftest.$ac_ext >&5
39407
39408 eval "$as_ac_var=no"
39409 fi
39410 rm -f conftest.err conftest.$ac_objext \
39411 conftest$ac_exeext conftest.$ac_ext
39412 fi
39413 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39414 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39415 if test `eval echo '${'$as_ac_var'}'` = yes; then
39416 cat >>confdefs.h <<_ACEOF
39417 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39418 _ACEOF
39419
39420 fi
39421 done
39422
39423 if test "$ac_cv_func_strptime" = "yes"; then
39424 echo "$as_me:$LINENO: checking for strptime declaration" >&5
39425 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6
39426 if test "${wx_cv_func_strptime_decl+set}" = set; then
39427 echo $ECHO_N "(cached) $ECHO_C" >&6
39428 else
39429
39430
39431
39432 ac_ext=cc
39433 ac_cpp='$CXXCPP $CPPFLAGS'
39434 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39435 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39436 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39437
39438 cat >conftest.$ac_ext <<_ACEOF
39439 /* confdefs.h. */
39440 _ACEOF
39441 cat confdefs.h >>conftest.$ac_ext
39442 cat >>conftest.$ac_ext <<_ACEOF
39443 /* end confdefs.h. */
39444
39445 #include <time.h>
39446
39447 int
39448 main ()
39449 {
39450
39451 struct tm t;
39452 strptime("foo", "bar", &t);
39453
39454 ;
39455 return 0;
39456 }
39457 _ACEOF
39458 rm -f conftest.$ac_objext
39459 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39460 (eval $ac_compile) 2>conftest.er1
39461 ac_status=$?
39462 grep -v '^ *+' conftest.er1 >conftest.err
39463 rm -f conftest.er1
39464 cat conftest.err >&5
39465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39466 (exit $ac_status); } &&
39467 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39469 (eval $ac_try) 2>&5
39470 ac_status=$?
39471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39472 (exit $ac_status); }; } &&
39473 { ac_try='test -s conftest.$ac_objext'
39474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39475 (eval $ac_try) 2>&5
39476 ac_status=$?
39477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39478 (exit $ac_status); }; }; then
39479 wx_cv_func_strptime_decl=yes
39480 else
39481 echo "$as_me: failed program was:" >&5
39482 sed 's/^/| /' conftest.$ac_ext >&5
39483
39484 wx_cv_func_strptime_decl=no
39485
39486 fi
39487 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39488 ac_ext=c
39489 ac_cpp='$CPP $CPPFLAGS'
39490 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39491 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39492 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39493
39494
39495
39496 fi
39497 echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
39498 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6
39499 fi
39500 if test "$wx_cv_func_strptime_decl" = "yes"; then
39501 cat >>confdefs.h <<\_ACEOF
39502 #define HAVE_STRPTIME_DECL 1
39503 _ACEOF
39504
39505 fi
39506
39507 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
39508 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
39509 if test "${wx_cv_var_timezone+set}" = set; then
39510 echo $ECHO_N "(cached) $ECHO_C" >&6
39511 else
39512
39513 cat >conftest.$ac_ext <<_ACEOF
39514 /* confdefs.h. */
39515 _ACEOF
39516 cat confdefs.h >>conftest.$ac_ext
39517 cat >>conftest.$ac_ext <<_ACEOF
39518 /* end confdefs.h. */
39519
39520 #include <time.h>
39521
39522 int
39523 main ()
39524 {
39525
39526 int tz;
39527 tz = timezone;
39528
39529 ;
39530 return 0;
39531 }
39532 _ACEOF
39533 rm -f conftest.$ac_objext
39534 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39535 (eval $ac_compile) 2>conftest.er1
39536 ac_status=$?
39537 grep -v '^ *+' conftest.er1 >conftest.err
39538 rm -f conftest.er1
39539 cat conftest.err >&5
39540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39541 (exit $ac_status); } &&
39542 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39544 (eval $ac_try) 2>&5
39545 ac_status=$?
39546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39547 (exit $ac_status); }; } &&
39548 { ac_try='test -s conftest.$ac_objext'
39549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39550 (eval $ac_try) 2>&5
39551 ac_status=$?
39552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39553 (exit $ac_status); }; }; then
39554
39555 wx_cv_var_timezone=timezone
39556
39557 else
39558 echo "$as_me: failed program was:" >&5
39559 sed 's/^/| /' conftest.$ac_ext >&5
39560
39561
39562 cat >conftest.$ac_ext <<_ACEOF
39563 /* confdefs.h. */
39564 _ACEOF
39565 cat confdefs.h >>conftest.$ac_ext
39566 cat >>conftest.$ac_ext <<_ACEOF
39567 /* end confdefs.h. */
39568
39569 #include <time.h>
39570
39571 int
39572 main ()
39573 {
39574
39575 int tz;
39576 tz = _timezone;
39577
39578 ;
39579 return 0;
39580 }
39581 _ACEOF
39582 rm -f conftest.$ac_objext
39583 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39584 (eval $ac_compile) 2>conftest.er1
39585 ac_status=$?
39586 grep -v '^ *+' conftest.er1 >conftest.err
39587 rm -f conftest.er1
39588 cat conftest.err >&5
39589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39590 (exit $ac_status); } &&
39591 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39593 (eval $ac_try) 2>&5
39594 ac_status=$?
39595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39596 (exit $ac_status); }; } &&
39597 { ac_try='test -s conftest.$ac_objext'
39598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39599 (eval $ac_try) 2>&5
39600 ac_status=$?
39601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39602 (exit $ac_status); }; }; then
39603
39604 wx_cv_var_timezone=_timezone
39605
39606 else
39607 echo "$as_me: failed program was:" >&5
39608 sed 's/^/| /' conftest.$ac_ext >&5
39609
39610
39611 cat >conftest.$ac_ext <<_ACEOF
39612 /* confdefs.h. */
39613 _ACEOF
39614 cat confdefs.h >>conftest.$ac_ext
39615 cat >>conftest.$ac_ext <<_ACEOF
39616 /* end confdefs.h. */
39617
39618 #include <time.h>
39619
39620 int
39621 main ()
39622 {
39623
39624 int tz;
39625 tz = __timezone;
39626
39627 ;
39628 return 0;
39629 }
39630 _ACEOF
39631 rm -f conftest.$ac_objext
39632 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39633 (eval $ac_compile) 2>conftest.er1
39634 ac_status=$?
39635 grep -v '^ *+' conftest.er1 >conftest.err
39636 rm -f conftest.er1
39637 cat conftest.err >&5
39638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39639 (exit $ac_status); } &&
39640 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39642 (eval $ac_try) 2>&5
39643 ac_status=$?
39644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39645 (exit $ac_status); }; } &&
39646 { ac_try='test -s conftest.$ac_objext'
39647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39648 (eval $ac_try) 2>&5
39649 ac_status=$?
39650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39651 (exit $ac_status); }; }; then
39652
39653 wx_cv_var_timezone=__timezone
39654
39655 else
39656 echo "$as_me: failed program was:" >&5
39657 sed 's/^/| /' conftest.$ac_ext >&5
39658
39659
39660 if test "$USE_DOS" = 0 ; then
39661 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
39662 echo "$as_me: WARNING: no timezone variable" >&2;}
39663 fi
39664
39665
39666 fi
39667 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39668
39669
39670 fi
39671 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39672
39673
39674 fi
39675 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39676
39677
39678 fi
39679 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
39680 echo "${ECHO_T}$wx_cv_var_timezone" >&6
39681
39682 if test "x$wx_cv_var_timezone" != x ; then
39683 cat >>confdefs.h <<_ACEOF
39684 #define WX_TIMEZONE $wx_cv_var_timezone
39685 _ACEOF
39686
39687 fi
39688
39689
39690 for ac_func in localtime
39691 do
39692 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39693 echo "$as_me:$LINENO: checking for $ac_func" >&5
39694 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39695 if eval "test \"\${$as_ac_var+set}\" = set"; then
39696 echo $ECHO_N "(cached) $ECHO_C" >&6
39697 else
39698 cat >conftest.$ac_ext <<_ACEOF
39699 /* confdefs.h. */
39700 _ACEOF
39701 cat confdefs.h >>conftest.$ac_ext
39702 cat >>conftest.$ac_ext <<_ACEOF
39703 /* end confdefs.h. */
39704 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39705 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39706 #define $ac_func innocuous_$ac_func
39707
39708 /* System header to define __stub macros and hopefully few prototypes,
39709 which can conflict with char $ac_func (); below.
39710 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39711 <limits.h> exists even on freestanding compilers. */
39712
39713 #ifdef __STDC__
39714 # include <limits.h>
39715 #else
39716 # include <assert.h>
39717 #endif
39718
39719 #undef $ac_func
39720
39721 /* Override any gcc2 internal prototype to avoid an error. */
39722 #ifdef __cplusplus
39723 extern "C"
39724 {
39725 #endif
39726 /* We use char because int might match the return type of a gcc2
39727 builtin and then its argument prototype would still apply. */
39728 char $ac_func ();
39729 /* The GNU C library defines this for functions which it implements
39730 to always fail with ENOSYS. Some functions are actually named
39731 something starting with __ and the normal name is an alias. */
39732 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39733 choke me
39734 #else
39735 char (*f) () = $ac_func;
39736 #endif
39737 #ifdef __cplusplus
39738 }
39739 #endif
39740
39741 int
39742 main ()
39743 {
39744 return f != $ac_func;
39745 ;
39746 return 0;
39747 }
39748 _ACEOF
39749 rm -f conftest.$ac_objext conftest$ac_exeext
39750 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39751 (eval $ac_link) 2>conftest.er1
39752 ac_status=$?
39753 grep -v '^ *+' conftest.er1 >conftest.err
39754 rm -f conftest.er1
39755 cat conftest.err >&5
39756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39757 (exit $ac_status); } &&
39758 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39760 (eval $ac_try) 2>&5
39761 ac_status=$?
39762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39763 (exit $ac_status); }; } &&
39764 { ac_try='test -s conftest$ac_exeext'
39765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39766 (eval $ac_try) 2>&5
39767 ac_status=$?
39768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39769 (exit $ac_status); }; }; then
39770 eval "$as_ac_var=yes"
39771 else
39772 echo "$as_me: failed program was:" >&5
39773 sed 's/^/| /' conftest.$ac_ext >&5
39774
39775 eval "$as_ac_var=no"
39776 fi
39777 rm -f conftest.err conftest.$ac_objext \
39778 conftest$ac_exeext conftest.$ac_ext
39779 fi
39780 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39781 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39782 if test `eval echo '${'$as_ac_var'}'` = yes; then
39783 cat >>confdefs.h <<_ACEOF
39784 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39785 _ACEOF
39786
39787 fi
39788 done
39789
39790
39791 if test "$ac_cv_func_localtime" = "yes"; then
39792 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
39793 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
39794 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
39795 echo $ECHO_N "(cached) $ECHO_C" >&6
39796 else
39797
39798 cat >conftest.$ac_ext <<_ACEOF
39799 /* confdefs.h. */
39800 _ACEOF
39801 cat confdefs.h >>conftest.$ac_ext
39802 cat >>conftest.$ac_ext <<_ACEOF
39803 /* end confdefs.h. */
39804
39805 #include <time.h>
39806
39807 int
39808 main ()
39809 {
39810
39811 struct tm tm;
39812 tm.tm_gmtoff++;
39813
39814 ;
39815 return 0;
39816 }
39817 _ACEOF
39818 rm -f conftest.$ac_objext
39819 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39820 (eval $ac_compile) 2>conftest.er1
39821 ac_status=$?
39822 grep -v '^ *+' conftest.er1 >conftest.err
39823 rm -f conftest.er1
39824 cat conftest.err >&5
39825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39826 (exit $ac_status); } &&
39827 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39829 (eval $ac_try) 2>&5
39830 ac_status=$?
39831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39832 (exit $ac_status); }; } &&
39833 { ac_try='test -s conftest.$ac_objext'
39834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39835 (eval $ac_try) 2>&5
39836 ac_status=$?
39837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39838 (exit $ac_status); }; }; then
39839
39840 wx_cv_struct_tm_has_gmtoff=yes
39841
39842 else
39843 echo "$as_me: failed program was:" >&5
39844 sed 's/^/| /' conftest.$ac_ext >&5
39845
39846 wx_cv_struct_tm_has_gmtoff=no
39847
39848 fi
39849 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39850
39851 fi
39852 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
39853 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
39854 fi
39855
39856 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
39857 cat >>confdefs.h <<\_ACEOF
39858 #define WX_GMTOFF_IN_TM 1
39859 _ACEOF
39860
39861 fi
39862
39863
39864
39865 for ac_func in gettimeofday ftime
39866 do
39867 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39868 echo "$as_me:$LINENO: checking for $ac_func" >&5
39869 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39870 if eval "test \"\${$as_ac_var+set}\" = set"; then
39871 echo $ECHO_N "(cached) $ECHO_C" >&6
39872 else
39873 cat >conftest.$ac_ext <<_ACEOF
39874 /* confdefs.h. */
39875 _ACEOF
39876 cat confdefs.h >>conftest.$ac_ext
39877 cat >>conftest.$ac_ext <<_ACEOF
39878 /* end confdefs.h. */
39879 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39880 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39881 #define $ac_func innocuous_$ac_func
39882
39883 /* System header to define __stub macros and hopefully few prototypes,
39884 which can conflict with char $ac_func (); below.
39885 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39886 <limits.h> exists even on freestanding compilers. */
39887
39888 #ifdef __STDC__
39889 # include <limits.h>
39890 #else
39891 # include <assert.h>
39892 #endif
39893
39894 #undef $ac_func
39895
39896 /* Override any gcc2 internal prototype to avoid an error. */
39897 #ifdef __cplusplus
39898 extern "C"
39899 {
39900 #endif
39901 /* We use char because int might match the return type of a gcc2
39902 builtin and then its argument prototype would still apply. */
39903 char $ac_func ();
39904 /* The GNU C library defines this for functions which it implements
39905 to always fail with ENOSYS. Some functions are actually named
39906 something starting with __ and the normal name is an alias. */
39907 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39908 choke me
39909 #else
39910 char (*f) () = $ac_func;
39911 #endif
39912 #ifdef __cplusplus
39913 }
39914 #endif
39915
39916 int
39917 main ()
39918 {
39919 return f != $ac_func;
39920 ;
39921 return 0;
39922 }
39923 _ACEOF
39924 rm -f conftest.$ac_objext conftest$ac_exeext
39925 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39926 (eval $ac_link) 2>conftest.er1
39927 ac_status=$?
39928 grep -v '^ *+' conftest.er1 >conftest.err
39929 rm -f conftest.er1
39930 cat conftest.err >&5
39931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39932 (exit $ac_status); } &&
39933 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39935 (eval $ac_try) 2>&5
39936 ac_status=$?
39937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39938 (exit $ac_status); }; } &&
39939 { ac_try='test -s conftest$ac_exeext'
39940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39941 (eval $ac_try) 2>&5
39942 ac_status=$?
39943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39944 (exit $ac_status); }; }; then
39945 eval "$as_ac_var=yes"
39946 else
39947 echo "$as_me: failed program was:" >&5
39948 sed 's/^/| /' conftest.$ac_ext >&5
39949
39950 eval "$as_ac_var=no"
39951 fi
39952 rm -f conftest.err conftest.$ac_objext \
39953 conftest$ac_exeext conftest.$ac_ext
39954 fi
39955 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39956 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39957 if test `eval echo '${'$as_ac_var'}'` = yes; then
39958 cat >>confdefs.h <<_ACEOF
39959 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39960 _ACEOF
39961 break
39962 fi
39963 done
39964
39965
39966 if test "$ac_cv_func_gettimeofday" = "yes"; then
39967 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
39968 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
39969 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
39970 echo $ECHO_N "(cached) $ECHO_C" >&6
39971 else
39972
39973
39974
39975 ac_ext=cc
39976 ac_cpp='$CXXCPP $CPPFLAGS'
39977 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39978 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39979 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39980
39981
39982 cat >conftest.$ac_ext <<_ACEOF
39983 /* confdefs.h. */
39984 _ACEOF
39985 cat confdefs.h >>conftest.$ac_ext
39986 cat >>conftest.$ac_ext <<_ACEOF
39987 /* end confdefs.h. */
39988
39989 #include <sys/time.h>
39990 #include <unistd.h>
39991
39992 int
39993 main ()
39994 {
39995
39996 struct timeval tv;
39997 gettimeofday(&tv, NULL);
39998
39999 ;
40000 return 0;
40001 }
40002 _ACEOF
40003 rm -f conftest.$ac_objext
40004 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40005 (eval $ac_compile) 2>conftest.er1
40006 ac_status=$?
40007 grep -v '^ *+' conftest.er1 >conftest.err
40008 rm -f conftest.er1
40009 cat conftest.err >&5
40010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40011 (exit $ac_status); } &&
40012 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40014 (eval $ac_try) 2>&5
40015 ac_status=$?
40016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40017 (exit $ac_status); }; } &&
40018 { ac_try='test -s conftest.$ac_objext'
40019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40020 (eval $ac_try) 2>&5
40021 ac_status=$?
40022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40023 (exit $ac_status); }; }; then
40024 wx_cv_func_gettimeofday_has_2_args=yes
40025 else
40026 echo "$as_me: failed program was:" >&5
40027 sed 's/^/| /' conftest.$ac_ext >&5
40028
40029 cat >conftest.$ac_ext <<_ACEOF
40030 /* confdefs.h. */
40031 _ACEOF
40032 cat confdefs.h >>conftest.$ac_ext
40033 cat >>conftest.$ac_ext <<_ACEOF
40034 /* end confdefs.h. */
40035
40036 #include <sys/time.h>
40037 #include <unistd.h>
40038
40039 int
40040 main ()
40041 {
40042
40043 struct timeval tv;
40044 gettimeofday(&tv);
40045
40046 ;
40047 return 0;
40048 }
40049 _ACEOF
40050 rm -f conftest.$ac_objext
40051 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40052 (eval $ac_compile) 2>conftest.er1
40053 ac_status=$?
40054 grep -v '^ *+' conftest.er1 >conftest.err
40055 rm -f conftest.er1
40056 cat conftest.err >&5
40057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40058 (exit $ac_status); } &&
40059 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40061 (eval $ac_try) 2>&5
40062 ac_status=$?
40063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40064 (exit $ac_status); }; } &&
40065 { ac_try='test -s conftest.$ac_objext'
40066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40067 (eval $ac_try) 2>&5
40068 ac_status=$?
40069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40070 (exit $ac_status); }; }; then
40071 wx_cv_func_gettimeofday_has_2_args=no
40072 else
40073 echo "$as_me: failed program was:" >&5
40074 sed 's/^/| /' conftest.$ac_ext >&5
40075
40076
40077 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
40078 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
40079 wx_cv_func_gettimeofday_has_2_args=unknown
40080
40081
40082 fi
40083 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40084
40085 fi
40086 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40087 ac_ext=c
40088 ac_cpp='$CPP $CPPFLAGS'
40089 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40090 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40091 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40092
40093
40094 fi
40095 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
40096 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
40097
40098 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
40099 cat >>confdefs.h <<\_ACEOF
40100 #define WX_GETTIMEOFDAY_NO_TZ 1
40101 _ACEOF
40102
40103 fi
40104 fi
40105
40106 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
40107 fi
40108
40109
40110 if test "$wxUSE_SOCKETS" = "yes"; then
40111 if test "$wxUSE_MGL" = "1"; then
40112 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
40113 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
40114 wxUSE_SOCKETS="no"
40115 fi
40116 fi
40117
40118 if test "$wxUSE_SOCKETS" = "yes"; then
40119 if test "$TOOLKIT" != "MSW"; then
40120 echo "$as_me:$LINENO: checking for socket" >&5
40121 echo $ECHO_N "checking for socket... $ECHO_C" >&6
40122 if test "${ac_cv_func_socket+set}" = set; then
40123 echo $ECHO_N "(cached) $ECHO_C" >&6
40124 else
40125 cat >conftest.$ac_ext <<_ACEOF
40126 /* confdefs.h. */
40127 _ACEOF
40128 cat confdefs.h >>conftest.$ac_ext
40129 cat >>conftest.$ac_ext <<_ACEOF
40130 /* end confdefs.h. */
40131 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
40132 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40133 #define socket innocuous_socket
40134
40135 /* System header to define __stub macros and hopefully few prototypes,
40136 which can conflict with char socket (); below.
40137 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40138 <limits.h> exists even on freestanding compilers. */
40139
40140 #ifdef __STDC__
40141 # include <limits.h>
40142 #else
40143 # include <assert.h>
40144 #endif
40145
40146 #undef socket
40147
40148 /* Override any gcc2 internal prototype to avoid an error. */
40149 #ifdef __cplusplus
40150 extern "C"
40151 {
40152 #endif
40153 /* We use char because int might match the return type of a gcc2
40154 builtin and then its argument prototype would still apply. */
40155 char socket ();
40156 /* The GNU C library defines this for functions which it implements
40157 to always fail with ENOSYS. Some functions are actually named
40158 something starting with __ and the normal name is an alias. */
40159 #if defined (__stub_socket) || defined (__stub___socket)
40160 choke me
40161 #else
40162 char (*f) () = socket;
40163 #endif
40164 #ifdef __cplusplus
40165 }
40166 #endif
40167
40168 int
40169 main ()
40170 {
40171 return f != socket;
40172 ;
40173 return 0;
40174 }
40175 _ACEOF
40176 rm -f conftest.$ac_objext conftest$ac_exeext
40177 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40178 (eval $ac_link) 2>conftest.er1
40179 ac_status=$?
40180 grep -v '^ *+' conftest.er1 >conftest.err
40181 rm -f conftest.er1
40182 cat conftest.err >&5
40183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40184 (exit $ac_status); } &&
40185 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40187 (eval $ac_try) 2>&5
40188 ac_status=$?
40189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40190 (exit $ac_status); }; } &&
40191 { ac_try='test -s conftest$ac_exeext'
40192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40193 (eval $ac_try) 2>&5
40194 ac_status=$?
40195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40196 (exit $ac_status); }; }; then
40197 ac_cv_func_socket=yes
40198 else
40199 echo "$as_me: failed program was:" >&5
40200 sed 's/^/| /' conftest.$ac_ext >&5
40201
40202 ac_cv_func_socket=no
40203 fi
40204 rm -f conftest.err conftest.$ac_objext \
40205 conftest$ac_exeext conftest.$ac_ext
40206 fi
40207 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
40208 echo "${ECHO_T}$ac_cv_func_socket" >&6
40209 if test $ac_cv_func_socket = yes; then
40210 :
40211 else
40212
40213 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
40214 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
40215 if test "${ac_cv_lib_socket_socket+set}" = set; then
40216 echo $ECHO_N "(cached) $ECHO_C" >&6
40217 else
40218 ac_check_lib_save_LIBS=$LIBS
40219 LIBS="-lsocket $LIBS"
40220 cat >conftest.$ac_ext <<_ACEOF
40221 /* confdefs.h. */
40222 _ACEOF
40223 cat confdefs.h >>conftest.$ac_ext
40224 cat >>conftest.$ac_ext <<_ACEOF
40225 /* end confdefs.h. */
40226
40227 /* Override any gcc2 internal prototype to avoid an error. */
40228 #ifdef __cplusplus
40229 extern "C"
40230 #endif
40231 /* We use char because int might match the return type of a gcc2
40232 builtin and then its argument prototype would still apply. */
40233 char socket ();
40234 int
40235 main ()
40236 {
40237 socket ();
40238 ;
40239 return 0;
40240 }
40241 _ACEOF
40242 rm -f conftest.$ac_objext conftest$ac_exeext
40243 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40244 (eval $ac_link) 2>conftest.er1
40245 ac_status=$?
40246 grep -v '^ *+' conftest.er1 >conftest.err
40247 rm -f conftest.er1
40248 cat conftest.err >&5
40249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40250 (exit $ac_status); } &&
40251 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40253 (eval $ac_try) 2>&5
40254 ac_status=$?
40255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40256 (exit $ac_status); }; } &&
40257 { ac_try='test -s conftest$ac_exeext'
40258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40259 (eval $ac_try) 2>&5
40260 ac_status=$?
40261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40262 (exit $ac_status); }; }; then
40263 ac_cv_lib_socket_socket=yes
40264 else
40265 echo "$as_me: failed program was:" >&5
40266 sed 's/^/| /' conftest.$ac_ext >&5
40267
40268 ac_cv_lib_socket_socket=no
40269 fi
40270 rm -f conftest.err conftest.$ac_objext \
40271 conftest$ac_exeext conftest.$ac_ext
40272 LIBS=$ac_check_lib_save_LIBS
40273 fi
40274 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
40275 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
40276 if test $ac_cv_lib_socket_socket = yes; then
40277 if test "$INET_LINK" != " -lsocket"; then
40278 INET_LINK="$INET_LINK -lsocket"
40279 fi
40280 else
40281
40282 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
40283 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
40284 wxUSE_SOCKETS=no
40285
40286
40287 fi
40288
40289
40290
40291 fi
40292
40293 fi
40294 fi
40295
40296 if test "$wxUSE_SOCKETS" = "yes" ; then
40297 if test "$TOOLKIT" != "MSW"; then
40298 ac_ext=cc
40299 ac_cpp='$CXXCPP $CPPFLAGS'
40300 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40301 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40302 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40303
40304 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
40305 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
40306 if test "${wx_cv_type_getsockname3+set}" = set; then
40307 echo $ECHO_N "(cached) $ECHO_C" >&6
40308 else
40309
40310 cat >conftest.$ac_ext <<_ACEOF
40311 /* confdefs.h. */
40312 _ACEOF
40313 cat confdefs.h >>conftest.$ac_ext
40314 cat >>conftest.$ac_ext <<_ACEOF
40315 /* end confdefs.h. */
40316
40317 #include <sys/types.h>
40318 #include <sys/socket.h>
40319
40320 int
40321 main ()
40322 {
40323
40324 socklen_t len;
40325 getsockname(0, 0, &len);
40326
40327 ;
40328 return 0;
40329 }
40330 _ACEOF
40331 rm -f conftest.$ac_objext
40332 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40333 (eval $ac_compile) 2>conftest.er1
40334 ac_status=$?
40335 grep -v '^ *+' conftest.er1 >conftest.err
40336 rm -f conftest.er1
40337 cat conftest.err >&5
40338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40339 (exit $ac_status); } &&
40340 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40342 (eval $ac_try) 2>&5
40343 ac_status=$?
40344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40345 (exit $ac_status); }; } &&
40346 { ac_try='test -s conftest.$ac_objext'
40347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40348 (eval $ac_try) 2>&5
40349 ac_status=$?
40350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40351 (exit $ac_status); }; }; then
40352 wx_cv_type_getsockname3=socklen_t
40353 else
40354 echo "$as_me: failed program was:" >&5
40355 sed 's/^/| /' conftest.$ac_ext >&5
40356
40357
40358 CXXFLAGS_OLD="$CXXFLAGS"
40359 if test "$GCC" = yes ; then
40360 CXXFLAGS="$CXXFLAGS -Werror"
40361 fi
40362
40363 cat >conftest.$ac_ext <<_ACEOF
40364 /* confdefs.h. */
40365 _ACEOF
40366 cat confdefs.h >>conftest.$ac_ext
40367 cat >>conftest.$ac_ext <<_ACEOF
40368 /* end confdefs.h. */
40369
40370 #include <sys/types.h>
40371 #include <sys/socket.h>
40372
40373 int
40374 main ()
40375 {
40376
40377 size_t len;
40378 getsockname(0, 0, &len);
40379
40380 ;
40381 return 0;
40382 }
40383 _ACEOF
40384 rm -f conftest.$ac_objext
40385 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40386 (eval $ac_compile) 2>conftest.er1
40387 ac_status=$?
40388 grep -v '^ *+' conftest.er1 >conftest.err
40389 rm -f conftest.er1
40390 cat conftest.err >&5
40391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40392 (exit $ac_status); } &&
40393 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40395 (eval $ac_try) 2>&5
40396 ac_status=$?
40397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40398 (exit $ac_status); }; } &&
40399 { ac_try='test -s conftest.$ac_objext'
40400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40401 (eval $ac_try) 2>&5
40402 ac_status=$?
40403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40404 (exit $ac_status); }; }; then
40405 wx_cv_type_getsockname3=size_t
40406 else
40407 echo "$as_me: failed program was:" >&5
40408 sed 's/^/| /' conftest.$ac_ext >&5
40409
40410 cat >conftest.$ac_ext <<_ACEOF
40411 /* confdefs.h. */
40412 _ACEOF
40413 cat confdefs.h >>conftest.$ac_ext
40414 cat >>conftest.$ac_ext <<_ACEOF
40415 /* end confdefs.h. */
40416
40417 #include <sys/types.h>
40418 #include <sys/socket.h>
40419
40420 int
40421 main ()
40422 {
40423
40424 int len;
40425 getsockname(0, 0, &len);
40426
40427 ;
40428 return 0;
40429 }
40430 _ACEOF
40431 rm -f conftest.$ac_objext
40432 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40433 (eval $ac_compile) 2>conftest.er1
40434 ac_status=$?
40435 grep -v '^ *+' conftest.er1 >conftest.err
40436 rm -f conftest.er1
40437 cat conftest.err >&5
40438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40439 (exit $ac_status); } &&
40440 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40442 (eval $ac_try) 2>&5
40443 ac_status=$?
40444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40445 (exit $ac_status); }; } &&
40446 { ac_try='test -s conftest.$ac_objext'
40447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40448 (eval $ac_try) 2>&5
40449 ac_status=$?
40450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40451 (exit $ac_status); }; }; then
40452 wx_cv_type_getsockname3=int
40453 else
40454 echo "$as_me: failed program was:" >&5
40455 sed 's/^/| /' conftest.$ac_ext >&5
40456
40457 wx_cv_type_getsockname3=unknown
40458
40459 fi
40460 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40461
40462 fi
40463 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40464
40465 CXXFLAGS="$CXXFLAGS_OLD"
40466
40467
40468 fi
40469 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40470
40471 fi
40472 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
40473 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
40474
40475 if test "$wx_cv_type_getsockname3" = "unknown"; then
40476 wxUSE_SOCKETS=no
40477 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
40478 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
40479 else
40480 cat >>confdefs.h <<_ACEOF
40481 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
40482 _ACEOF
40483
40484 fi
40485 echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
40486 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6
40487 if test "${wx_cv_type_getsockopt5+set}" = set; then
40488 echo $ECHO_N "(cached) $ECHO_C" >&6
40489 else
40490
40491 cat >conftest.$ac_ext <<_ACEOF
40492 /* confdefs.h. */
40493 _ACEOF
40494 cat confdefs.h >>conftest.$ac_ext
40495 cat >>conftest.$ac_ext <<_ACEOF
40496 /* end confdefs.h. */
40497
40498 #include <sys/types.h>
40499 #include <sys/socket.h>
40500
40501 int
40502 main ()
40503 {
40504
40505 socklen_t len;
40506 getsockopt(0, 0, 0, 0, &len);
40507
40508 ;
40509 return 0;
40510 }
40511 _ACEOF
40512 rm -f conftest.$ac_objext
40513 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40514 (eval $ac_compile) 2>conftest.er1
40515 ac_status=$?
40516 grep -v '^ *+' conftest.er1 >conftest.err
40517 rm -f conftest.er1
40518 cat conftest.err >&5
40519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40520 (exit $ac_status); } &&
40521 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40523 (eval $ac_try) 2>&5
40524 ac_status=$?
40525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40526 (exit $ac_status); }; } &&
40527 { ac_try='test -s conftest.$ac_objext'
40528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40529 (eval $ac_try) 2>&5
40530 ac_status=$?
40531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40532 (exit $ac_status); }; }; then
40533 wx_cv_type_getsockopt5=socklen_t
40534 else
40535 echo "$as_me: failed program was:" >&5
40536 sed 's/^/| /' conftest.$ac_ext >&5
40537
40538
40539 CXXFLAGS_OLD="$CXXFLAGS"
40540 if test "$GCC" = yes ; then
40541 CXXFLAGS="$CXXFLAGS -Werror"
40542 fi
40543
40544 cat >conftest.$ac_ext <<_ACEOF
40545 /* confdefs.h. */
40546 _ACEOF
40547 cat confdefs.h >>conftest.$ac_ext
40548 cat >>conftest.$ac_ext <<_ACEOF
40549 /* end confdefs.h. */
40550
40551 #include <sys/types.h>
40552 #include <sys/socket.h>
40553
40554 int
40555 main ()
40556 {
40557
40558 size_t len;
40559 getsockopt(0, 0, 0, 0, &len);
40560
40561 ;
40562 return 0;
40563 }
40564 _ACEOF
40565 rm -f conftest.$ac_objext
40566 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40567 (eval $ac_compile) 2>conftest.er1
40568 ac_status=$?
40569 grep -v '^ *+' conftest.er1 >conftest.err
40570 rm -f conftest.er1
40571 cat conftest.err >&5
40572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40573 (exit $ac_status); } &&
40574 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40576 (eval $ac_try) 2>&5
40577 ac_status=$?
40578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40579 (exit $ac_status); }; } &&
40580 { ac_try='test -s conftest.$ac_objext'
40581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40582 (eval $ac_try) 2>&5
40583 ac_status=$?
40584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40585 (exit $ac_status); }; }; then
40586 wx_cv_type_getsockopt5=size_t
40587 else
40588 echo "$as_me: failed program was:" >&5
40589 sed 's/^/| /' conftest.$ac_ext >&5
40590
40591 cat >conftest.$ac_ext <<_ACEOF
40592 /* confdefs.h. */
40593 _ACEOF
40594 cat confdefs.h >>conftest.$ac_ext
40595 cat >>conftest.$ac_ext <<_ACEOF
40596 /* end confdefs.h. */
40597
40598 #include <sys/types.h>
40599 #include <sys/socket.h>
40600
40601 int
40602 main ()
40603 {
40604
40605 int len;
40606 getsockopt(0, 0, 0, 0, &len);
40607
40608 ;
40609 return 0;
40610 }
40611 _ACEOF
40612 rm -f conftest.$ac_objext
40613 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40614 (eval $ac_compile) 2>conftest.er1
40615 ac_status=$?
40616 grep -v '^ *+' conftest.er1 >conftest.err
40617 rm -f conftest.er1
40618 cat conftest.err >&5
40619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40620 (exit $ac_status); } &&
40621 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40623 (eval $ac_try) 2>&5
40624 ac_status=$?
40625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40626 (exit $ac_status); }; } &&
40627 { ac_try='test -s conftest.$ac_objext'
40628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40629 (eval $ac_try) 2>&5
40630 ac_status=$?
40631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40632 (exit $ac_status); }; }; then
40633 wx_cv_type_getsockopt5=int
40634 else
40635 echo "$as_me: failed program was:" >&5
40636 sed 's/^/| /' conftest.$ac_ext >&5
40637
40638 wx_cv_type_getsockopt5=unknown
40639
40640 fi
40641 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40642
40643 fi
40644 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40645
40646 CXXFLAGS="$CXXFLAGS_OLD"
40647
40648
40649 fi
40650 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40651
40652 fi
40653 echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
40654 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6
40655
40656 if test "$wx_cv_type_getsockopt5" = "unknown"; then
40657 wxUSE_SOCKETS=no
40658 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
40659 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
40660 else
40661 cat >>confdefs.h <<_ACEOF
40662 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
40663 _ACEOF
40664
40665 fi
40666 ac_ext=c
40667 ac_cpp='$CPP $CPPFLAGS'
40668 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40669 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40670 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40671
40672 fi
40673 fi
40674
40675 if test "$wxUSE_SOCKETS" = "yes" ; then
40676 cat >>confdefs.h <<\_ACEOF
40677 #define wxUSE_SOCKETS 1
40678 _ACEOF
40679
40680 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
40681 fi
40682
40683 if test "$wxUSE_PROTOCOL" = "yes"; then
40684 if test "$wxUSE_SOCKETS" != "yes"; then
40685 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
40686 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
40687 wxUSE_PROTOCOL=no
40688 fi
40689 fi
40690
40691 if test "$wxUSE_PROTOCOL" = "yes"; then
40692 cat >>confdefs.h <<\_ACEOF
40693 #define wxUSE_PROTOCOL 1
40694 _ACEOF
40695
40696
40697 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
40698 cat >>confdefs.h <<\_ACEOF
40699 #define wxUSE_PROTOCOL_HTTP 1
40700 _ACEOF
40701
40702 fi
40703 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
40704 cat >>confdefs.h <<\_ACEOF
40705 #define wxUSE_PROTOCOL_FTP 1
40706 _ACEOF
40707
40708 fi
40709 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
40710 cat >>confdefs.h <<\_ACEOF
40711 #define wxUSE_PROTOCOL_FILE 1
40712 _ACEOF
40713
40714 fi
40715 else
40716 if test "$wxUSE_FS_INET" = "yes"; then
40717 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
40718 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
40719 wxUSE_FS_INET="no"
40720 fi
40721 fi
40722
40723 if test "$wxUSE_URL" = "yes"; then
40724 if test "$wxUSE_PROTOCOL" != "yes"; then
40725 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
40726 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
40727 wxUSE_URL=no
40728 fi
40729 if test "$wxUSE_URL" = "yes"; then
40730 cat >>confdefs.h <<\_ACEOF
40731 #define wxUSE_URL 1
40732 _ACEOF
40733
40734 fi
40735 fi
40736
40737 if test "$wxUSE_FS_INET" = "yes"; then
40738 cat >>confdefs.h <<\_ACEOF
40739 #define wxUSE_FS_INET 1
40740 _ACEOF
40741
40742 fi
40743
40744
40745 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
40746 wxUSE_JOYSTICK=no
40747
40748 if test "$TOOLKIT" = "MSW"; then
40749 wxUSE_JOYSTICK=yes
40750
40751 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
40752 if test "$USE_DARWIN" = 1; then
40753 echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
40754 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6
40755 ac_ext=cc
40756 ac_cpp='$CXXCPP $CPPFLAGS'
40757 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40758 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40759 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40760
40761 cat >conftest.$ac_ext <<_ACEOF
40762 /* confdefs.h. */
40763 _ACEOF
40764 cat confdefs.h >>conftest.$ac_ext
40765 cat >>conftest.$ac_ext <<_ACEOF
40766 /* end confdefs.h. */
40767 #include <IOKit/hid/IOHIDLib.h>
40768 int
40769 main ()
40770 {
40771 IOHIDQueueInterface *qi = NULL;
40772 IOHIDCallbackFunction cb = NULL;
40773 qi->setEventCallout(NULL, cb, NULL, NULL);
40774 ;
40775 return 0;
40776 }
40777 _ACEOF
40778 rm -f conftest.$ac_objext
40779 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40780 (eval $ac_compile) 2>conftest.er1
40781 ac_status=$?
40782 grep -v '^ *+' conftest.er1 >conftest.err
40783 rm -f conftest.er1
40784 cat conftest.err >&5
40785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40786 (exit $ac_status); } &&
40787 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40789 (eval $ac_try) 2>&5
40790 ac_status=$?
40791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40792 (exit $ac_status); }; } &&
40793 { ac_try='test -s conftest.$ac_objext'
40794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40795 (eval $ac_try) 2>&5
40796 ac_status=$?
40797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40798 (exit $ac_status); }; }; then
40799 wxUSE_JOYSTICK=yes
40800
40801 else
40802 echo "$as_me: failed program was:" >&5
40803 sed 's/^/| /' conftest.$ac_ext >&5
40804
40805 fi
40806 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40807 ac_ext=c
40808 ac_cpp='$CPP $CPPFLAGS'
40809 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40810 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40811 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40812
40813 echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
40814 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6
40815 fi
40816
40817 else
40818
40819 for ac_header in linux/joystick.h
40820 do
40821 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
40822 if eval "test \"\${$as_ac_Header+set}\" = set"; then
40823 echo "$as_me:$LINENO: checking for $ac_header" >&5
40824 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
40825 if eval "test \"\${$as_ac_Header+set}\" = set"; then
40826 echo $ECHO_N "(cached) $ECHO_C" >&6
40827 fi
40828 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
40829 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
40830 else
40831 # Is the header compilable?
40832 echo "$as_me:$LINENO: checking $ac_header usability" >&5
40833 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
40834 cat >conftest.$ac_ext <<_ACEOF
40835 /* confdefs.h. */
40836 _ACEOF
40837 cat confdefs.h >>conftest.$ac_ext
40838 cat >>conftest.$ac_ext <<_ACEOF
40839 /* end confdefs.h. */
40840 $ac_includes_default
40841 #include <$ac_header>
40842 _ACEOF
40843 rm -f conftest.$ac_objext
40844 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40845 (eval $ac_compile) 2>conftest.er1
40846 ac_status=$?
40847 grep -v '^ *+' conftest.er1 >conftest.err
40848 rm -f conftest.er1
40849 cat conftest.err >&5
40850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40851 (exit $ac_status); } &&
40852 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40854 (eval $ac_try) 2>&5
40855 ac_status=$?
40856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40857 (exit $ac_status); }; } &&
40858 { ac_try='test -s conftest.$ac_objext'
40859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40860 (eval $ac_try) 2>&5
40861 ac_status=$?
40862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40863 (exit $ac_status); }; }; then
40864 ac_header_compiler=yes
40865 else
40866 echo "$as_me: failed program was:" >&5
40867 sed 's/^/| /' conftest.$ac_ext >&5
40868
40869 ac_header_compiler=no
40870 fi
40871 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40872 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
40873 echo "${ECHO_T}$ac_header_compiler" >&6
40874
40875 # Is the header present?
40876 echo "$as_me:$LINENO: checking $ac_header presence" >&5
40877 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
40878 cat >conftest.$ac_ext <<_ACEOF
40879 /* confdefs.h. */
40880 _ACEOF
40881 cat confdefs.h >>conftest.$ac_ext
40882 cat >>conftest.$ac_ext <<_ACEOF
40883 /* end confdefs.h. */
40884 #include <$ac_header>
40885 _ACEOF
40886 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
40887 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
40888 ac_status=$?
40889 grep -v '^ *+' conftest.er1 >conftest.err
40890 rm -f conftest.er1
40891 cat conftest.err >&5
40892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40893 (exit $ac_status); } >/dev/null; then
40894 if test -s conftest.err; then
40895 ac_cpp_err=$ac_c_preproc_warn_flag
40896 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
40897 else
40898 ac_cpp_err=
40899 fi
40900 else
40901 ac_cpp_err=yes
40902 fi
40903 if test -z "$ac_cpp_err"; then
40904 ac_header_preproc=yes
40905 else
40906 echo "$as_me: failed program was:" >&5
40907 sed 's/^/| /' conftest.$ac_ext >&5
40908
40909 ac_header_preproc=no
40910 fi
40911 rm -f conftest.err conftest.$ac_ext
40912 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
40913 echo "${ECHO_T}$ac_header_preproc" >&6
40914
40915 # So? What about this header?
40916 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
40917 yes:no: )
40918 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
40919 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
40920 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
40921 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
40922 ac_header_preproc=yes
40923 ;;
40924 no:yes:* )
40925 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
40926 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
40927 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
40928 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
40929 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
40930 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
40931 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
40932 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
40933 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
40934 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
40935 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
40936 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
40937 (
40938 cat <<\_ASBOX
40939 ## ----------------------------------------- ##
40940 ## Report this to wx-dev@lists.wxwidgets.org ##
40941 ## ----------------------------------------- ##
40942 _ASBOX
40943 ) |
40944 sed "s/^/$as_me: WARNING: /" >&2
40945 ;;
40946 esac
40947 echo "$as_me:$LINENO: checking for $ac_header" >&5
40948 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
40949 if eval "test \"\${$as_ac_Header+set}\" = set"; then
40950 echo $ECHO_N "(cached) $ECHO_C" >&6
40951 else
40952 eval "$as_ac_Header=\$ac_header_preproc"
40953 fi
40954 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
40955 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
40956
40957 fi
40958 if test `eval echo '${'$as_ac_Header'}'` = yes; then
40959 cat >>confdefs.h <<_ACEOF
40960 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
40961 _ACEOF
40962 wxUSE_JOYSTICK=yes
40963 fi
40964
40965 done
40966
40967 fi
40968
40969 if test "$wxUSE_JOYSTICK" = "yes"; then
40970 cat >>confdefs.h <<\_ACEOF
40971 #define wxUSE_JOYSTICK 1
40972 _ACEOF
40973
40974 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
40975 else
40976 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
40977 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
40978 fi
40979 fi
40980
40981
40982
40983 if test "$wxUSE_FONTMAP" = "yes" ; then
40984 cat >>confdefs.h <<\_ACEOF
40985 #define wxUSE_FONTMAP 1
40986 _ACEOF
40987
40988 fi
40989
40990 if test "$wxUSE_UNICODE" = "yes" ; then
40991 cat >>confdefs.h <<\_ACEOF
40992 #define wxUSE_UNICODE 1
40993 _ACEOF
40994
40995
40996 if test "$USE_WIN32" != 1; then
40997 wxUSE_UNICODE_MSLU=no
40998 fi
40999
41000 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
41001 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
41002 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
41003 if test "${ac_cv_lib_unicows_main+set}" = set; then
41004 echo $ECHO_N "(cached) $ECHO_C" >&6
41005 else
41006 ac_check_lib_save_LIBS=$LIBS
41007 LIBS="-lunicows $LIBS"
41008 cat >conftest.$ac_ext <<_ACEOF
41009 /* confdefs.h. */
41010 _ACEOF
41011 cat confdefs.h >>conftest.$ac_ext
41012 cat >>conftest.$ac_ext <<_ACEOF
41013 /* end confdefs.h. */
41014
41015
41016 int
41017 main ()
41018 {
41019 main ();
41020 ;
41021 return 0;
41022 }
41023 _ACEOF
41024 rm -f conftest.$ac_objext conftest$ac_exeext
41025 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41026 (eval $ac_link) 2>conftest.er1
41027 ac_status=$?
41028 grep -v '^ *+' conftest.er1 >conftest.err
41029 rm -f conftest.er1
41030 cat conftest.err >&5
41031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41032 (exit $ac_status); } &&
41033 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41035 (eval $ac_try) 2>&5
41036 ac_status=$?
41037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41038 (exit $ac_status); }; } &&
41039 { ac_try='test -s conftest$ac_exeext'
41040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41041 (eval $ac_try) 2>&5
41042 ac_status=$?
41043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41044 (exit $ac_status); }; }; then
41045 ac_cv_lib_unicows_main=yes
41046 else
41047 echo "$as_me: failed program was:" >&5
41048 sed 's/^/| /' conftest.$ac_ext >&5
41049
41050 ac_cv_lib_unicows_main=no
41051 fi
41052 rm -f conftest.err conftest.$ac_objext \
41053 conftest$ac_exeext conftest.$ac_ext
41054 LIBS=$ac_check_lib_save_LIBS
41055 fi
41056 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
41057 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
41058 if test $ac_cv_lib_unicows_main = yes; then
41059
41060 cat >>confdefs.h <<\_ACEOF
41061 #define wxUSE_UNICODE_MSLU 1
41062 _ACEOF
41063
41064
41065 else
41066
41067 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
41068 Applications will only run on Windows NT/2000/XP!" >&5
41069 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
41070 Applications will only run on Windows NT/2000/XP!" >&2;}
41071 wxUSE_UNICODE_MSLU=no
41072
41073 fi
41074
41075 fi
41076 fi
41077
41078 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
41079 cat >>confdefs.h <<\_ACEOF
41080 #define wxUSE_EXPERIMENTAL_PRINTF 1
41081 _ACEOF
41082
41083 fi
41084
41085
41086 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
41087 cat >>confdefs.h <<\_ACEOF
41088 #define wxUSE_POSTSCRIPT 1
41089 _ACEOF
41090
41091 fi
41092
41093 cat >>confdefs.h <<\_ACEOF
41094 #define wxUSE_AFM_FOR_POSTSCRIPT 1
41095 _ACEOF
41096
41097
41098 cat >>confdefs.h <<\_ACEOF
41099 #define wxUSE_NORMALIZED_PS_FONTS 1
41100 _ACEOF
41101
41102
41103
41104 if test "$wxUSE_CONSTRAINTS" = "yes"; then
41105 cat >>confdefs.h <<\_ACEOF
41106 #define wxUSE_CONSTRAINTS 1
41107 _ACEOF
41108
41109 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
41110 fi
41111
41112 if test "$wxUSE_MDI" = "yes"; then
41113 cat >>confdefs.h <<\_ACEOF
41114 #define wxUSE_MDI 1
41115 _ACEOF
41116
41117
41118 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
41119 cat >>confdefs.h <<\_ACEOF
41120 #define wxUSE_MDI_ARCHITECTURE 1
41121 _ACEOF
41122
41123 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
41124 fi
41125 fi
41126
41127 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
41128 cat >>confdefs.h <<\_ACEOF
41129 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
41130 _ACEOF
41131
41132 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
41133 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
41134 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
41135 fi
41136 fi
41137
41138 if test "$wxUSE_HELP" = "yes"; then
41139 cat >>confdefs.h <<\_ACEOF
41140 #define wxUSE_HELP 1
41141 _ACEOF
41142
41143 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
41144
41145 if test "$wxUSE_MSW" = 1; then
41146 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
41147 cat >>confdefs.h <<\_ACEOF
41148 #define wxUSE_MS_HTML_HELP 1
41149 _ACEOF
41150
41151 fi
41152 fi
41153
41154 if test "$wxUSE_WXHTML_HELP" = "yes"; then
41155 if test "$wxUSE_HTML" = "yes"; then
41156 cat >>confdefs.h <<\_ACEOF
41157 #define wxUSE_WXHTML_HELP 1
41158 _ACEOF
41159
41160 else
41161 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
41162 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
41163 wxUSE_WXHTML_HELP=no
41164 fi
41165 fi
41166 fi
41167
41168 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
41169 if test "$wxUSE_CONSTRAINTS" != "yes"; then
41170 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
41171 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
41172 else
41173 cat >>confdefs.h <<\_ACEOF
41174 #define wxUSE_PRINTING_ARCHITECTURE 1
41175 _ACEOF
41176
41177 fi
41178 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
41179 fi
41180
41181 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
41182 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
41183 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
41184 { (exit 1); exit 1; }; }
41185 fi
41186
41187
41188 if test "$wxUSE_METAFILE" = "yes"; then
41189 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
41190 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
41191 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
41192 wxUSE_METAFILE=no
41193 fi
41194 fi
41195
41196
41197 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
41198 -o "$wxUSE_CLIPBOARD" = "yes" \
41199 -o "$wxUSE_OLE" = "yes" \
41200 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
41201
41202 for ac_header in ole2.h
41203 do
41204 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
41205 if eval "test \"\${$as_ac_Header+set}\" = set"; then
41206 echo "$as_me:$LINENO: checking for $ac_header" >&5
41207 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
41208 if eval "test \"\${$as_ac_Header+set}\" = set"; then
41209 echo $ECHO_N "(cached) $ECHO_C" >&6
41210 fi
41211 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
41212 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
41213 else
41214 # Is the header compilable?
41215 echo "$as_me:$LINENO: checking $ac_header usability" >&5
41216 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
41217 cat >conftest.$ac_ext <<_ACEOF
41218 /* confdefs.h. */
41219 _ACEOF
41220 cat confdefs.h >>conftest.$ac_ext
41221 cat >>conftest.$ac_ext <<_ACEOF
41222 /* end confdefs.h. */
41223 $ac_includes_default
41224 #include <$ac_header>
41225 _ACEOF
41226 rm -f conftest.$ac_objext
41227 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41228 (eval $ac_compile) 2>conftest.er1
41229 ac_status=$?
41230 grep -v '^ *+' conftest.er1 >conftest.err
41231 rm -f conftest.er1
41232 cat conftest.err >&5
41233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41234 (exit $ac_status); } &&
41235 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41237 (eval $ac_try) 2>&5
41238 ac_status=$?
41239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41240 (exit $ac_status); }; } &&
41241 { ac_try='test -s conftest.$ac_objext'
41242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41243 (eval $ac_try) 2>&5
41244 ac_status=$?
41245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41246 (exit $ac_status); }; }; then
41247 ac_header_compiler=yes
41248 else
41249 echo "$as_me: failed program was:" >&5
41250 sed 's/^/| /' conftest.$ac_ext >&5
41251
41252 ac_header_compiler=no
41253 fi
41254 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41255 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
41256 echo "${ECHO_T}$ac_header_compiler" >&6
41257
41258 # Is the header present?
41259 echo "$as_me:$LINENO: checking $ac_header presence" >&5
41260 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
41261 cat >conftest.$ac_ext <<_ACEOF
41262 /* confdefs.h. */
41263 _ACEOF
41264 cat confdefs.h >>conftest.$ac_ext
41265 cat >>conftest.$ac_ext <<_ACEOF
41266 /* end confdefs.h. */
41267 #include <$ac_header>
41268 _ACEOF
41269 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
41270 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
41271 ac_status=$?
41272 grep -v '^ *+' conftest.er1 >conftest.err
41273 rm -f conftest.er1
41274 cat conftest.err >&5
41275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41276 (exit $ac_status); } >/dev/null; then
41277 if test -s conftest.err; then
41278 ac_cpp_err=$ac_c_preproc_warn_flag
41279 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
41280 else
41281 ac_cpp_err=
41282 fi
41283 else
41284 ac_cpp_err=yes
41285 fi
41286 if test -z "$ac_cpp_err"; then
41287 ac_header_preproc=yes
41288 else
41289 echo "$as_me: failed program was:" >&5
41290 sed 's/^/| /' conftest.$ac_ext >&5
41291
41292 ac_header_preproc=no
41293 fi
41294 rm -f conftest.err conftest.$ac_ext
41295 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
41296 echo "${ECHO_T}$ac_header_preproc" >&6
41297
41298 # So? What about this header?
41299 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
41300 yes:no: )
41301 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
41302 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
41303 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
41304 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
41305 ac_header_preproc=yes
41306 ;;
41307 no:yes:* )
41308 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
41309 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
41310 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
41311 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
41312 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
41313 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
41314 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
41315 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
41316 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
41317 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
41318 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
41319 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
41320 (
41321 cat <<\_ASBOX
41322 ## ----------------------------------------- ##
41323 ## Report this to wx-dev@lists.wxwidgets.org ##
41324 ## ----------------------------------------- ##
41325 _ASBOX
41326 ) |
41327 sed "s/^/$as_me: WARNING: /" >&2
41328 ;;
41329 esac
41330 echo "$as_me:$LINENO: checking for $ac_header" >&5
41331 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
41332 if eval "test \"\${$as_ac_Header+set}\" = set"; then
41333 echo $ECHO_N "(cached) $ECHO_C" >&6
41334 else
41335 eval "$as_ac_Header=\$ac_header_preproc"
41336 fi
41337 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
41338 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
41339
41340 fi
41341 if test `eval echo '${'$as_ac_Header'}'` = yes; then
41342 cat >>confdefs.h <<_ACEOF
41343 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
41344 _ACEOF
41345
41346 fi
41347
41348 done
41349
41350
41351 if test "$ac_cv_header_ole2_h" = "yes" ; then
41352 if test "$GCC" = yes ; then
41353
41354
41355 ac_ext=cc
41356 ac_cpp='$CXXCPP $CPPFLAGS'
41357 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41358 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41359 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41360
41361
41362 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
41363 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
41364 cat >conftest.$ac_ext <<_ACEOF
41365 /* confdefs.h. */
41366 _ACEOF
41367 cat confdefs.h >>conftest.$ac_ext
41368 cat >>conftest.$ac_ext <<_ACEOF
41369 /* end confdefs.h. */
41370 #include <windows.h>
41371 #include <ole2.h>
41372 int
41373 main ()
41374 {
41375
41376 ;
41377 return 0;
41378 }
41379 _ACEOF
41380 rm -f conftest.$ac_objext
41381 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41382 (eval $ac_compile) 2>conftest.er1
41383 ac_status=$?
41384 grep -v '^ *+' conftest.er1 >conftest.err
41385 rm -f conftest.er1
41386 cat conftest.err >&5
41387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41388 (exit $ac_status); } &&
41389 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41391 (eval $ac_try) 2>&5
41392 ac_status=$?
41393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41394 (exit $ac_status); }; } &&
41395 { ac_try='test -s conftest.$ac_objext'
41396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41397 (eval $ac_try) 2>&5
41398 ac_status=$?
41399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41400 (exit $ac_status); }; }; then
41401 echo "$as_me:$LINENO: result: no" >&5
41402 echo "${ECHO_T}no" >&6
41403 else
41404 echo "$as_me: failed program was:" >&5
41405 sed 's/^/| /' conftest.$ac_ext >&5
41406
41407 echo "$as_me:$LINENO: result: yes" >&5
41408 echo "${ECHO_T}yes" >&6
41409 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
41410 fi
41411 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41412 ac_ext=c
41413 ac_cpp='$CPP $CPPFLAGS'
41414 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41415 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41416 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41417
41418 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
41419 if test "$wxUSE_OLE" = "yes" ; then
41420 cat >>confdefs.h <<\_ACEOF
41421 #define wxUSE_OLE 1
41422 _ACEOF
41423
41424 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
41425 fi
41426 fi
41427
41428 if test "$wxUSE_DATAOBJ" = "yes" ; then
41429 cat >>confdefs.h <<\_ACEOF
41430 #define wxUSE_DATAOBJ 1
41431 _ACEOF
41432
41433 fi
41434 else
41435 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
41436 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
41437
41438 wxUSE_CLIPBOARD=no
41439 wxUSE_DRAG_AND_DROP=no
41440 wxUSE_DATAOBJ=no
41441 wxUSE_OLE=no
41442 fi
41443
41444 if test "$wxUSE_METAFILE" = "yes"; then
41445 cat >>confdefs.h <<\_ACEOF
41446 #define wxUSE_METAFILE 1
41447 _ACEOF
41448
41449
41450 cat >>confdefs.h <<\_ACEOF
41451 #define wxUSE_ENH_METAFILE 1
41452 _ACEOF
41453
41454 fi
41455 fi
41456
41457 if test "$wxUSE_IPC" = "yes"; then
41458 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
41459 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
41460 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
41461 wxUSE_IPC=no
41462 fi
41463
41464 if test "$wxUSE_IPC" = "yes"; then
41465 cat >>confdefs.h <<\_ACEOF
41466 #define wxUSE_IPC 1
41467 _ACEOF
41468
41469 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
41470 fi
41471 fi
41472
41473 if test "$wxUSE_DATAOBJ" = "yes"; then
41474 if test "$wxUSE_MGL" = 1; then
41475 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under MGL... disabled" >&5
41476 echo "$as_me: WARNING: wxDataObject not yet supported under MGL... disabled" >&2;}
41477 wxUSE_DATAOBJ=no
41478 else
41479 cat >>confdefs.h <<\_ACEOF
41480 #define wxUSE_DATAOBJ 1
41481 _ACEOF
41482
41483 fi
41484 else
41485 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
41486 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
41487 wxUSE_CLIPBOARD=no
41488 wxUSE_DRAG_AND_DROP=no
41489 fi
41490
41491 if test "$wxUSE_CLIPBOARD" = "yes"; then
41492 if test "$wxUSE_MGL" = 1; then
41493 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
41494 echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
41495 wxUSE_CLIPBOARD=no
41496 fi
41497
41498 if test "$wxUSE_CLIPBOARD" = "yes"; then
41499 cat >>confdefs.h <<\_ACEOF
41500 #define wxUSE_CLIPBOARD 1
41501 _ACEOF
41502
41503 fi
41504 fi
41505
41506 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
41507 if test "$wxUSE_GTK" = 1; then
41508 if test "$WXGTK12" != 1; then
41509 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
41510 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
41511 wxUSE_DRAG_AND_DROP=no
41512 fi
41513 fi
41514
41515 if test "$wxUSE_MOTIF" = 1; then
41516 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
41517 echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
41518 wxUSE_DRAG_AND_DROP=no
41519 fi
41520
41521 if test "$wxUSE_X11" = 1; then
41522 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
41523 echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
41524 wxUSE_DRAG_AND_DROP=no
41525 fi
41526
41527 if test "$wxUSE_MGL" = 1; then
41528 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
41529 echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
41530 wxUSE_DRAG_AND_DROP=no
41531 fi
41532
41533 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
41534 cat >>confdefs.h <<\_ACEOF
41535 #define wxUSE_DRAG_AND_DROP 1
41536 _ACEOF
41537
41538 fi
41539
41540 fi
41541
41542 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
41543 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
41544 fi
41545
41546 if test "$wxUSE_SPLINES" = "yes" ; then
41547 cat >>confdefs.h <<\_ACEOF
41548 #define wxUSE_SPLINES 1
41549 _ACEOF
41550
41551 fi
41552
41553 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
41554 cat >>confdefs.h <<\_ACEOF
41555 #define wxUSE_MOUSEWHEEL 1
41556 _ACEOF
41557
41558 fi
41559
41560
41561 USES_CONTROLS=0
41562 if test "$wxUSE_CONTROLS" = "yes"; then
41563 USES_CONTROLS=1
41564 fi
41565
41566 if test "$wxUSE_ACCEL" = "yes"; then
41567 cat >>confdefs.h <<\_ACEOF
41568 #define wxUSE_ACCEL 1
41569 _ACEOF
41570
41571 USES_CONTROLS=1
41572 fi
41573
41574 if test "$wxUSE_BUTTON" = "yes"; then
41575 cat >>confdefs.h <<\_ACEOF
41576 #define wxUSE_BUTTON 1
41577 _ACEOF
41578
41579 USES_CONTROLS=1
41580 fi
41581
41582 if test "$wxUSE_BMPBUTTON" = "yes"; then
41583 cat >>confdefs.h <<\_ACEOF
41584 #define wxUSE_BMPBUTTON 1
41585 _ACEOF
41586
41587 USES_CONTROLS=1
41588 fi
41589
41590 if test "$wxUSE_CALCTRL" = "yes"; then
41591 cat >>confdefs.h <<\_ACEOF
41592 #define wxUSE_CALENDARCTRL 1
41593 _ACEOF
41594
41595 USES_CONTROLS=1
41596 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
41597 fi
41598
41599 if test "$wxUSE_CARET" = "yes"; then
41600 cat >>confdefs.h <<\_ACEOF
41601 #define wxUSE_CARET 1
41602 _ACEOF
41603
41604 USES_CONTROLS=1
41605 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
41606 fi
41607
41608 if test "$wxUSE_COMBOBOX" = "yes"; then
41609 cat >>confdefs.h <<\_ACEOF
41610 #define wxUSE_COMBOBOX 1
41611 _ACEOF
41612
41613 USES_CONTROLS=1
41614 fi
41615
41616 if test "$wxUSE_CHOICE" = "yes"; then
41617 cat >>confdefs.h <<\_ACEOF
41618 #define wxUSE_CHOICE 1
41619 _ACEOF
41620
41621 USES_CONTROLS=1
41622 fi
41623
41624 if test "$wxUSE_CHOICEBOOK" = "yes"; then
41625 cat >>confdefs.h <<\_ACEOF
41626 #define wxUSE_CHOICEBOOK 1
41627 _ACEOF
41628
41629 USES_CONTROLS=1
41630 fi
41631
41632 if test "$wxUSE_CHECKBOX" = "yes"; then
41633 cat >>confdefs.h <<\_ACEOF
41634 #define wxUSE_CHECKBOX 1
41635 _ACEOF
41636
41637 USES_CONTROLS=1
41638 fi
41639
41640 if test "$wxUSE_CHECKLST" = "yes"; then
41641 cat >>confdefs.h <<\_ACEOF
41642 #define wxUSE_CHECKLISTBOX 1
41643 _ACEOF
41644
41645 USES_CONTROLS=1
41646 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS checklst"
41647 fi
41648
41649 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
41650 cat >>confdefs.h <<\_ACEOF
41651 #define wxUSE_DATEPICKCTRL 1
41652 _ACEOF
41653
41654 USES_CONTROLS=1
41655 fi
41656
41657 if test "$wxUSE_DISPLAY" = "yes"; then
41658 cat >>confdefs.h <<\_ACEOF
41659 #define wxUSE_DISPLAY 1
41660 _ACEOF
41661
41662 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display multimon"
41663 fi
41664
41665 if test "$wxUSE_GAUGE" = "yes"; then
41666 cat >>confdefs.h <<\_ACEOF
41667 #define wxUSE_GAUGE 1
41668 _ACEOF
41669
41670 USES_CONTROLS=1
41671 fi
41672
41673 if test "$wxUSE_GRID" = "yes"; then
41674 cat >>confdefs.h <<\_ACEOF
41675 #define wxUSE_GRID 1
41676 _ACEOF
41677
41678 USES_CONTROLS=1
41679 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
41680 fi
41681
41682 if test "$wxUSE_IMAGLIST" = "yes"; then
41683 cat >>confdefs.h <<\_ACEOF
41684 #define wxUSE_IMAGLIST 1
41685 _ACEOF
41686
41687 fi
41688
41689 if test "$wxUSE_LISTBOOK" = "yes"; then
41690 cat >>confdefs.h <<\_ACEOF
41691 #define wxUSE_LISTBOOK 1
41692 _ACEOF
41693
41694 USES_CONTROLS=1
41695 fi
41696
41697 if test "$wxUSE_LISTBOX" = "yes"; then
41698 cat >>confdefs.h <<\_ACEOF
41699 #define wxUSE_LISTBOX 1
41700 _ACEOF
41701
41702 USES_CONTROLS=1
41703 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listbox"
41704 fi
41705
41706 if test "$wxUSE_LISTCTRL" = "yes"; then
41707 if test "$wxUSE_IMAGLIST" = "yes"; then
41708 cat >>confdefs.h <<\_ACEOF
41709 #define wxUSE_LISTCTRL 1
41710 _ACEOF
41711
41712 USES_CONTROLS=1
41713 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
41714 else
41715 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
41716 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
41717 fi
41718 fi
41719
41720 if test "$wxUSE_NOTEBOOK" = "yes"; then
41721 cat >>confdefs.h <<\_ACEOF
41722 #define wxUSE_NOTEBOOK 1
41723 _ACEOF
41724
41725 USES_CONTROLS=1
41726 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
41727 fi
41728
41729
41730 if test "$wxUSE_RADIOBOX" = "yes"; then
41731 cat >>confdefs.h <<\_ACEOF
41732 #define wxUSE_RADIOBOX 1
41733 _ACEOF
41734
41735 USES_CONTROLS=1
41736 fi
41737
41738 if test "$wxUSE_RADIOBTN" = "yes"; then
41739 cat >>confdefs.h <<\_ACEOF
41740 #define wxUSE_RADIOBTN 1
41741 _ACEOF
41742
41743 USES_CONTROLS=1
41744 fi
41745
41746 if test "$wxUSE_SASH" = "yes"; then
41747 cat >>confdefs.h <<\_ACEOF
41748 #define wxUSE_SASH 1
41749 _ACEOF
41750
41751 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
41752 fi
41753
41754 if test "$wxUSE_SCROLLBAR" = "yes"; then
41755 cat >>confdefs.h <<\_ACEOF
41756 #define wxUSE_SCROLLBAR 1
41757 _ACEOF
41758
41759 USES_CONTROLS=1
41760 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
41761 fi
41762
41763 if test "$wxUSE_SLIDER" = "yes"; then
41764 cat >>confdefs.h <<\_ACEOF
41765 #define wxUSE_SLIDER 1
41766 _ACEOF
41767
41768 USES_CONTROLS=1
41769 fi
41770
41771 if test "$wxUSE_SPINBTN" = "yes"; then
41772 cat >>confdefs.h <<\_ACEOF
41773 #define wxUSE_SPINBTN 1
41774 _ACEOF
41775
41776 USES_CONTROLS=1
41777 fi
41778
41779 if test "$wxUSE_SPINCTRL" = "yes"; then
41780 cat >>confdefs.h <<\_ACEOF
41781 #define wxUSE_SPINCTRL 1
41782 _ACEOF
41783
41784 USES_CONTROLS=1
41785 fi
41786
41787 if test "$wxUSE_SPLITTER" = "yes"; then
41788 cat >>confdefs.h <<\_ACEOF
41789 #define wxUSE_SPLITTER 1
41790 _ACEOF
41791
41792 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
41793 fi
41794
41795 if test "$wxUSE_STATBMP" = "yes"; then
41796 cat >>confdefs.h <<\_ACEOF
41797 #define wxUSE_STATBMP 1
41798 _ACEOF
41799
41800 USES_CONTROLS=1
41801 fi
41802
41803 if test "$wxUSE_STATBOX" = "yes"; then
41804 cat >>confdefs.h <<\_ACEOF
41805 #define wxUSE_STATBOX 1
41806 _ACEOF
41807
41808 USES_CONTROLS=1
41809 fi
41810
41811 if test "$wxUSE_STATTEXT" = "yes"; then
41812 cat >>confdefs.h <<\_ACEOF
41813 #define wxUSE_STATTEXT 1
41814 _ACEOF
41815
41816 USES_CONTROLS=1
41817 fi
41818
41819 if test "$wxUSE_STATLINE" = "yes"; then
41820 cat >>confdefs.h <<\_ACEOF
41821 #define wxUSE_STATLINE 1
41822 _ACEOF
41823
41824 USES_CONTROLS=1
41825 fi
41826
41827 if test "$wxUSE_STATUSBAR" = "yes"; then
41828 cat >>confdefs.h <<\_ACEOF
41829 #define wxUSE_NATIVE_STATUSBAR 1
41830 _ACEOF
41831
41832 cat >>confdefs.h <<\_ACEOF
41833 #define wxUSE_STATUSBAR 1
41834 _ACEOF
41835
41836 USES_CONTROLS=1
41837
41838 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
41839 fi
41840
41841 if test "$wxUSE_TABDIALOG" = "yes"; then
41842 cat >>confdefs.h <<\_ACEOF
41843 #define wxUSE_TAB_DIALOG 1
41844 _ACEOF
41845
41846 fi
41847
41848 if test "$wxUSE_TEXTCTRL" = "yes"; then
41849 cat >>confdefs.h <<\_ACEOF
41850 #define wxUSE_TEXTCTRL 1
41851 _ACEOF
41852
41853 USES_CONTROLS=1
41854 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
41855 fi
41856
41857 if test "$wxUSE_TOGGLEBTN" = "yes"; then
41858 if test "$wxUSE_COCOA" = 1 ; then
41859 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
41860 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
41861 wxUSE_TOGGLEBTN=no
41862 fi
41863 if test "$wxUSE_UNIVERSAL" = "yes"; then
41864 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&5
41865 echo "$as_me: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&2;}
41866 wxUSE_TOGGLEBTN=no
41867 fi
41868
41869 if test "$wxUSE_TOGGLEBTN" = "yes"; then
41870 cat >>confdefs.h <<\_ACEOF
41871 #define wxUSE_TOGGLEBTN 1
41872 _ACEOF
41873
41874 USES_CONTROLS=1
41875 fi
41876 fi
41877
41878 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
41879 cat >>confdefs.h <<\_ACEOF
41880 #define wxUSE_TOOLBAR_SIMPLE 1
41881 _ACEOF
41882
41883 wxUSE_TOOLBAR="yes"
41884 USES_CONTROLS=1
41885 fi
41886
41887 if test "$wxUSE_TOOLBAR" = "yes"; then
41888 cat >>confdefs.h <<\_ACEOF
41889 #define wxUSE_TOOLBAR 1
41890 _ACEOF
41891
41892 USES_CONTROLS=1
41893
41894 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
41895 wxUSE_TOOLBAR_NATIVE="yes"
41896 fi
41897
41898 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
41899 cat >>confdefs.h <<\_ACEOF
41900 #define wxUSE_TOOLBAR_NATIVE 1
41901 _ACEOF
41902
41903 USES_CONTROLS=1
41904 fi
41905
41906 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
41907 fi
41908
41909 if test "$wxUSE_TOOLTIPS" = "yes"; then
41910 if test "$wxUSE_MOTIF" = 1; then
41911 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
41912 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
41913 else
41914 if test "$wxUSE_UNIVERSAL" = "yes"; then
41915 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
41916 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
41917 else
41918 cat >>confdefs.h <<\_ACEOF
41919 #define wxUSE_TOOLTIPS 1
41920 _ACEOF
41921
41922 fi
41923 fi
41924 fi
41925
41926 if test "$wxUSE_TREECTRL" = "yes"; then
41927 if test "$wxUSE_IMAGLIST" = "yes"; then
41928 cat >>confdefs.h <<\_ACEOF
41929 #define wxUSE_TREECTRL 1
41930 _ACEOF
41931
41932 USES_CONTROLS=1
41933 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
41934 else
41935 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
41936 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
41937 fi
41938 fi
41939
41940 if test "$wxUSE_POPUPWIN" = "yes"; then
41941 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
41942 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
41943 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
41944 else
41945 if test "$wxUSE_PM" = 1; then
41946 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
41947 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
41948 else
41949 cat >>confdefs.h <<\_ACEOF
41950 #define wxUSE_POPUPWIN 1
41951 _ACEOF
41952
41953 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
41954
41955 USES_CONTROLS=1
41956 fi
41957 fi
41958 fi
41959
41960 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
41961 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
41962 { echo "$as_me:$LINENO: WARNING: Dialup manager not yet supported under Mac OS X... disabled" >&5
41963 echo "$as_me: WARNING: Dialup manager not yet supported under Mac OS X... disabled" >&2;}
41964 else
41965 cat >>confdefs.h <<\_ACEOF
41966 #define wxUSE_DIALUP_MANAGER 1
41967 _ACEOF
41968
41969 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
41970 fi
41971 fi
41972
41973 if test "$wxUSE_TIPWINDOW" = "yes"; then
41974 if test "$wxUSE_PM" = 1; then
41975 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
41976 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
41977 else
41978 cat >>confdefs.h <<\_ACEOF
41979 #define wxUSE_TIPWINDOW 1
41980 _ACEOF
41981
41982 fi
41983 fi
41984
41985 if test "$USES_CONTROLS" = 1; then
41986 cat >>confdefs.h <<\_ACEOF
41987 #define wxUSE_CONTROLS 1
41988 _ACEOF
41989
41990 fi
41991
41992
41993 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
41994 cat >>confdefs.h <<\_ACEOF
41995 #define wxUSE_ACCESSIBILITY 1
41996 _ACEOF
41997
41998 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
41999 fi
42000
42001 if test "$wxUSE_DC_CACHEING" = "yes"; then
42002 cat >>confdefs.h <<\_ACEOF
42003 #define wxUSE_DC_CACHEING 1
42004 _ACEOF
42005
42006 fi
42007
42008 if test "$wxUSE_DRAGIMAGE" = "yes"; then
42009 cat >>confdefs.h <<\_ACEOF
42010 #define wxUSE_DRAGIMAGE 1
42011 _ACEOF
42012
42013 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
42014 fi
42015
42016 if test "$wxUSE_EXCEPTIONS" = "yes"; then
42017 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
42018 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
42019 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
42020 else
42021 cat >>confdefs.h <<\_ACEOF
42022 #define wxUSE_EXCEPTIONS 1
42023 _ACEOF
42024
42025 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
42026 fi
42027 fi
42028
42029 USE_HTML=0
42030 if test "$wxUSE_HTML" = "yes"; then
42031 cat >>confdefs.h <<\_ACEOF
42032 #define wxUSE_HTML 1
42033 _ACEOF
42034
42035 USE_HTML=1
42036 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
42037 if test "$wxUSE_MAC" = 1; then
42038 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
42039 fi
42040 fi
42041 if test "$wxUSE_WEBKIT" = "yes"; then
42042 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
42043 old_CPPFLAGS="$CPPFLAGS"
42044 CPPFLAGS="$CPPFLAGS -x objective-c++"
42045 echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
42046 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6
42047 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
42048 echo $ECHO_N "(cached) $ECHO_C" >&6
42049 else
42050 cat >conftest.$ac_ext <<_ACEOF
42051 /* confdefs.h. */
42052 _ACEOF
42053 cat confdefs.h >>conftest.$ac_ext
42054 cat >>conftest.$ac_ext <<_ACEOF
42055 /* end confdefs.h. */
42056 #include <Carbon/Carbon.h>
42057
42058 #include <WebKit/HIWebView.h>
42059 _ACEOF
42060 rm -f conftest.$ac_objext
42061 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42062 (eval $ac_compile) 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" || test ! -s conftest.err'
42070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42071 (eval $ac_try) 2>&5
42072 ac_status=$?
42073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42074 (exit $ac_status); }; } &&
42075 { ac_try='test -s conftest.$ac_objext'
42076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42077 (eval $ac_try) 2>&5
42078 ac_status=$?
42079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42080 (exit $ac_status); }; }; then
42081 ac_cv_header_WebKit_HIWebView_h=yes
42082 else
42083 echo "$as_me: failed program was:" >&5
42084 sed 's/^/| /' conftest.$ac_ext >&5
42085
42086 ac_cv_header_WebKit_HIWebView_h=no
42087 fi
42088 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42089 fi
42090 echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
42091 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6
42092 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
42093
42094 cat >>confdefs.h <<\_ACEOF
42095 #define wxUSE_WEBKIT 1
42096 _ACEOF
42097
42098 WEBKIT_LINK="-framework WebKit"
42099
42100 else
42101
42102 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
42103 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
42104 wxUSE_WEBKIT=no
42105
42106 fi
42107
42108
42109 CPPFLAGS="$old_CPPFLAGS"
42110 elif test "$wxUSE_COCOA" = 1; then
42111 cat >>confdefs.h <<\_ACEOF
42112 #define wxUSE_WEBKIT 1
42113 _ACEOF
42114
42115 else
42116 wxUSE_WEBKIT=no
42117 fi
42118 fi
42119
42120 USE_XRC=0
42121 if test "$wxUSE_XRC" = "yes"; then
42122 if test "$wxUSE_XML" != "yes"; then
42123 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
42124 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
42125 wxUSE_XRC=no
42126 else
42127 cat >>confdefs.h <<\_ACEOF
42128 #define wxUSE_XRC 1
42129 _ACEOF
42130
42131 USE_XRC=1
42132 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
42133 fi
42134 fi
42135
42136 if test "$wxUSE_MENUS" = "yes"; then
42137 cat >>confdefs.h <<\_ACEOF
42138 #define wxUSE_MENUS 1
42139 _ACEOF
42140
42141 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
42142 fi
42143
42144 if test "$wxUSE_METAFILE" = "yes"; then
42145 cat >>confdefs.h <<\_ACEOF
42146 #define wxUSE_METAFILE 1
42147 _ACEOF
42148
42149 fi
42150
42151 if test "$wxUSE_MIMETYPE" = "yes"; then
42152 cat >>confdefs.h <<\_ACEOF
42153 #define wxUSE_MIMETYPE 1
42154 _ACEOF
42155
42156 fi
42157
42158 if test "$wxUSE_MINIFRAME" = "yes"; then
42159 cat >>confdefs.h <<\_ACEOF
42160 #define wxUSE_MINIFRAME 1
42161 _ACEOF
42162
42163 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS minifram"
42164 fi
42165
42166 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
42167 cat >>confdefs.h <<\_ACEOF
42168 #define wxUSE_SYSTEM_OPTIONS 1
42169 _ACEOF
42170
42171 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
42172 "$TOOLKIT" = "MOTIF" -o "$TOOLKIT" = "COCOA"; then
42173 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
42174 fi
42175 fi
42176
42177
42178 if test "$wxUSE_VALIDATORS" = "yes"; then
42179 cat >>confdefs.h <<\_ACEOF
42180 #define wxUSE_VALIDATORS 1
42181 _ACEOF
42182
42183 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
42184 fi
42185
42186 if test "$wxUSE_PALETTE" = "yes" ; then
42187 cat >>confdefs.h <<\_ACEOF
42188 #define wxUSE_PALETTE 1
42189 _ACEOF
42190
42191 fi
42192
42193 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
42194 LIBS=" -lunicows $LIBS"
42195 fi
42196
42197
42198 if test "$wxUSE_IMAGE" = "yes" ; then
42199 cat >>confdefs.h <<\_ACEOF
42200 #define wxUSE_IMAGE 1
42201 _ACEOF
42202
42203
42204 if test "$wxUSE_GIF" = "yes" ; then
42205 cat >>confdefs.h <<\_ACEOF
42206 #define wxUSE_GIF 1
42207 _ACEOF
42208
42209 fi
42210
42211 if test "$wxUSE_PCX" = "yes" ; then
42212 cat >>confdefs.h <<\_ACEOF
42213 #define wxUSE_PCX 1
42214 _ACEOF
42215
42216 fi
42217
42218 if test "$wxUSE_IFF" = "yes" ; then
42219 cat >>confdefs.h <<\_ACEOF
42220 #define wxUSE_IFF 1
42221 _ACEOF
42222
42223 fi
42224
42225 if test "$wxUSE_PNM" = "yes" ; then
42226 cat >>confdefs.h <<\_ACEOF
42227 #define wxUSE_PNM 1
42228 _ACEOF
42229
42230 fi
42231
42232 if test "$wxUSE_XPM" = "yes" ; then
42233 cat >>confdefs.h <<\_ACEOF
42234 #define wxUSE_XPM 1
42235 _ACEOF
42236
42237 fi
42238
42239 if test "$wxUSE_ICO_CUR" = "yes" ; then
42240 cat >>confdefs.h <<\_ACEOF
42241 #define wxUSE_ICO_CUR 1
42242 _ACEOF
42243
42244 fi
42245 fi
42246
42247
42248 if test "$wxUSE_CHOICEDLG" = "yes"; then
42249 cat >>confdefs.h <<\_ACEOF
42250 #define wxUSE_CHOICEDLG 1
42251 _ACEOF
42252
42253 fi
42254
42255 if test "$wxUSE_COLOURDLG" = "yes"; then
42256 cat >>confdefs.h <<\_ACEOF
42257 #define wxUSE_COLOURDLG 1
42258 _ACEOF
42259
42260 fi
42261
42262 if test "$wxUSE_FILEDLG" = "yes"; then
42263 cat >>confdefs.h <<\_ACEOF
42264 #define wxUSE_FILEDLG 1
42265 _ACEOF
42266
42267 fi
42268
42269 if test "$wxUSE_FINDREPLDLG" = "yes"; then
42270 cat >>confdefs.h <<\_ACEOF
42271 #define wxUSE_FINDREPLDLG 1
42272 _ACEOF
42273
42274 fi
42275
42276 if test "$wxUSE_FONTDLG" = "yes"; then
42277 cat >>confdefs.h <<\_ACEOF
42278 #define wxUSE_FONTDLG 1
42279 _ACEOF
42280
42281 fi
42282
42283 if test "$wxUSE_DIRDLG" = "yes"; then
42284 if test "$wxUSE_TREECTRL" != "yes"; then
42285 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
42286 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
42287 else
42288 cat >>confdefs.h <<\_ACEOF
42289 #define wxUSE_DIRDLG 1
42290 _ACEOF
42291
42292 fi
42293 fi
42294
42295 if test "$wxUSE_MSGDLG" = "yes"; then
42296 cat >>confdefs.h <<\_ACEOF
42297 #define wxUSE_MSGDLG 1
42298 _ACEOF
42299
42300 fi
42301
42302 if test "$wxUSE_NUMBERDLG" = "yes"; then
42303 cat >>confdefs.h <<\_ACEOF
42304 #define wxUSE_NUMBERDLG 1
42305 _ACEOF
42306
42307 fi
42308
42309 if test "$wxUSE_PROGRESSDLG" = "yes"; then
42310 if test "$wxUSE_CONSTRAINTS" != "yes"; then
42311 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
42312 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
42313 else
42314 cat >>confdefs.h <<\_ACEOF
42315 #define wxUSE_PROGRESSDLG 1
42316 _ACEOF
42317
42318 fi
42319 fi
42320
42321 if test "$wxUSE_SPLASH" = "yes"; then
42322 cat >>confdefs.h <<\_ACEOF
42323 #define wxUSE_SPLASH 1
42324 _ACEOF
42325
42326 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
42327 fi
42328
42329 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
42330 if test "$wxUSE_CONSTRAINTS" != "yes"; then
42331 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
42332 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
42333 else
42334 cat >>confdefs.h <<\_ACEOF
42335 #define wxUSE_STARTUP_TIPS 1
42336 _ACEOF
42337
42338 fi
42339 fi
42340
42341 if test "$wxUSE_TEXTDLG" = "yes"; then
42342 cat >>confdefs.h <<\_ACEOF
42343 #define wxUSE_TEXTDLG 1
42344 _ACEOF
42345
42346 fi
42347
42348 if test "$wxUSE_WIZARDDLG" = "yes"; then
42349 cat >>confdefs.h <<\_ACEOF
42350 #define wxUSE_WIZARDDLG 1
42351 _ACEOF
42352
42353 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
42354 fi
42355
42356
42357 if test "$wxUSE_MEDIACTRL" = "yes"; then
42358 if test "$wxUSE_GTK" = 1; then
42359 wxUSE_GSTREAMER="yes"
42360
42361
42362 succeeded=no
42363
42364 if test -z "$PKG_CONFIG"; then
42365 # Extract the first word of "pkg-config", so it can be a program name with args.
42366 set dummy pkg-config; ac_word=$2
42367 echo "$as_me:$LINENO: checking for $ac_word" >&5
42368 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
42369 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
42370 echo $ECHO_N "(cached) $ECHO_C" >&6
42371 else
42372 case $PKG_CONFIG in
42373 [\\/]* | ?:[\\/]*)
42374 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
42375 ;;
42376 *)
42377 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42378 for as_dir in $PATH
42379 do
42380 IFS=$as_save_IFS
42381 test -z "$as_dir" && as_dir=.
42382 for ac_exec_ext in '' $ac_executable_extensions; do
42383 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
42384 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
42385 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42386 break 2
42387 fi
42388 done
42389 done
42390
42391 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
42392 ;;
42393 esac
42394 fi
42395 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
42396
42397 if test -n "$PKG_CONFIG"; then
42398 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
42399 echo "${ECHO_T}$PKG_CONFIG" >&6
42400 else
42401 echo "$as_me:$LINENO: result: no" >&5
42402 echo "${ECHO_T}no" >&6
42403 fi
42404
42405 fi
42406
42407 if test "$PKG_CONFIG" = "no" ; then
42408 echo "*** The pkg-config script could not be found. Make sure it is"
42409 echo "*** in your path, or set the PKG_CONFIG environment variable"
42410 echo "*** to the full path to pkg-config."
42411 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
42412 else
42413 PKG_CONFIG_MIN_VERSION=0.9.0
42414 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
42415 echo "$as_me:$LINENO: checking for gstreamer-0.8" >&5
42416 echo $ECHO_N "checking for gstreamer-0.8... $ECHO_C" >&6
42417
42418 if $PKG_CONFIG --exists "gstreamer-0.8" ; then
42419 echo "$as_me:$LINENO: result: yes" >&5
42420 echo "${ECHO_T}yes" >&6
42421 succeeded=yes
42422
42423 echo "$as_me:$LINENO: checking GSTREAMER_CFLAGS" >&5
42424 echo $ECHO_N "checking GSTREAMER_CFLAGS... $ECHO_C" >&6
42425 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-0.8"`
42426 echo "$as_me:$LINENO: result: $GSTREAMER_CFLAGS" >&5
42427 echo "${ECHO_T}$GSTREAMER_CFLAGS" >&6
42428
42429 echo "$as_me:$LINENO: checking GSTREAMER_LIBS" >&5
42430 echo $ECHO_N "checking GSTREAMER_LIBS... $ECHO_C" >&6
42431 GSTREAMER_LIBS=`$PKG_CONFIG --libs "gstreamer-0.8"`
42432 echo "$as_me:$LINENO: result: $GSTREAMER_LIBS" >&5
42433 echo "${ECHO_T}$GSTREAMER_LIBS" >&6
42434 else
42435 GSTREAMER_CFLAGS=""
42436 GSTREAMER_LIBS=""
42437 ## If we have a custom action on failure, don't print errors, but
42438 ## do set a variable so people can do so.
42439 GSTREAMER_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-0.8"`
42440
42441 fi
42442
42443
42444
42445 else
42446 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
42447 echo "*** See http://www.freedesktop.org/software/pkgconfig"
42448 fi
42449 fi
42450
42451 if test $succeeded = yes; then
42452
42453 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
42454 LIBS="$LIBS $GSTREAMER_LIBS -lgstplay-0.8"
42455
42456 else
42457
42458 { echo "$as_me:$LINENO: WARNING: GStreamer installation not found" >&5
42459 echo "$as_me: WARNING: GStreamer installation not found" >&2;}
42460 wxUSE_GSTREAMER="no"
42461
42462 fi
42463
42464
42465
42466
42467
42468 if test "x$GST_INSPECT" == "x"; then
42469 # Extract the first word of "gst-inspect", so it can be a program name with args.
42470 set dummy gst-inspect; ac_word=$2
42471 echo "$as_me:$LINENO: checking for $ac_word" >&5
42472 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
42473 if test "${ac_cv_prog_GST_INSPECT+set}" = set; then
42474 echo $ECHO_N "(cached) $ECHO_C" >&6
42475 else
42476 if test -n "$GST_INSPECT"; then
42477 ac_cv_prog_GST_INSPECT="$GST_INSPECT" # Let the user override the test.
42478 else
42479 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42480 for as_dir in $PATH
42481 do
42482 IFS=$as_save_IFS
42483 test -z "$as_dir" && as_dir=.
42484 for ac_exec_ext in '' $ac_executable_extensions; do
42485 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
42486 ac_cv_prog_GST_INSPECT="gst-inspect"
42487 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42488 break 2
42489 fi
42490 done
42491 done
42492
42493 fi
42494 fi
42495 GST_INSPECT=$ac_cv_prog_GST_INSPECT
42496 if test -n "$GST_INSPECT"; then
42497 echo "$as_me:$LINENO: result: $GST_INSPECT" >&5
42498 echo "${ECHO_T}$GST_INSPECT" >&6
42499 else
42500 echo "$as_me:$LINENO: result: no" >&5
42501 echo "${ECHO_T}no" >&6
42502 fi
42503
42504 fi
42505
42506 if test "x$GST_INSPECT" != "x"; then
42507 echo "$as_me:$LINENO: checking GStreamer element xvimagesink" >&5
42508 echo $ECHO_N "checking GStreamer element xvimagesink... $ECHO_C" >&6
42509 if $GST_INSPECT xvimagesink > /dev/null 2> /dev/null ; then
42510 echo "$as_me:$LINENO: result: found." >&5
42511 echo "${ECHO_T}found." >&6
42512
42513 else
42514 echo "$as_me:$LINENO: result: not found." >&5
42515 echo "${ECHO_T}not found." >&6
42516
42517 wxUSE_GSTREAMER="no"
42518 { echo "$as_me:$LINENO: WARNING: x video sink not found - cannot use GStreamer" >&5
42519 echo "$as_me: WARNING: x video sink not found - cannot use GStreamer" >&2;}
42520
42521 fi
42522 fi
42523
42524
42525 echo "$as_me:$LINENO: checking for gst/xoverlay/xoverlay.h" >&5
42526 echo $ECHO_N "checking for gst/xoverlay/xoverlay.h... $ECHO_C" >&6
42527 if test "${ac_cv_header_gst_xoverlay_xoverlay_h+set}" = set; then
42528 echo $ECHO_N "(cached) $ECHO_C" >&6
42529 else
42530 cat >conftest.$ac_ext <<_ACEOF
42531 /* confdefs.h. */
42532 _ACEOF
42533 cat confdefs.h >>conftest.$ac_ext
42534 cat >>conftest.$ac_ext <<_ACEOF
42535 /* end confdefs.h. */
42536 #include <gst/gst.h>
42537
42538 #include <gst/xoverlay/xoverlay.h>
42539 _ACEOF
42540 rm -f conftest.$ac_objext
42541 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42542 (eval $ac_compile) 2>conftest.er1
42543 ac_status=$?
42544 grep -v '^ *+' conftest.er1 >conftest.err
42545 rm -f conftest.er1
42546 cat conftest.err >&5
42547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42548 (exit $ac_status); } &&
42549 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42551 (eval $ac_try) 2>&5
42552 ac_status=$?
42553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42554 (exit $ac_status); }; } &&
42555 { ac_try='test -s conftest.$ac_objext'
42556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42557 (eval $ac_try) 2>&5
42558 ac_status=$?
42559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42560 (exit $ac_status); }; }; then
42561 ac_cv_header_gst_xoverlay_xoverlay_h=yes
42562 else
42563 echo "$as_me: failed program was:" >&5
42564 sed 's/^/| /' conftest.$ac_ext >&5
42565
42566 ac_cv_header_gst_xoverlay_xoverlay_h=no
42567 fi
42568 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42569 fi
42570 echo "$as_me:$LINENO: result: $ac_cv_header_gst_xoverlay_xoverlay_h" >&5
42571 echo "${ECHO_T}$ac_cv_header_gst_xoverlay_xoverlay_h" >&6
42572 if test $ac_cv_header_gst_xoverlay_xoverlay_h = yes; then
42573 :
42574 else
42575
42576 wxUSE_GSTREAMER="no"
42577 { echo "$as_me:$LINENO: WARNING: xoverlay header not found, cannot use GStreamer" >&5
42578 echo "$as_me: WARNING: xoverlay header not found, cannot use GStreamer" >&2;}
42579
42580 fi
42581
42582
42583
42584 echo "$as_me:$LINENO: checking for gstplay 0.8" >&5
42585 echo $ECHO_N "checking for gstplay 0.8... $ECHO_C" >&6
42586
42587 ac_find_libraries=
42588 for ac_dir in $SEARCH_LIB;
42589 do
42590 for ac_extension in a so sl dylib dll.a; do
42591 if test -f "$ac_dir/libgstplay-0.8.$ac_extension"; then
42592 ac_find_libraries=$ac_dir
42593 break 2
42594 fi
42595 done
42596 done
42597
42598
42599 if test "$ac_find_libraries" = "" ; then
42600 echo "$as_me:$LINENO: result: no" >&5
42601 echo "${ECHO_T}no" >&6
42602 wxUSE_GSTREAMER="no"
42603 else
42604 echo "$as_me:$LINENO: result: yes" >&5
42605 echo "${ECHO_T}yes" >&6
42606 fi
42607
42608 if test "$wxUSE_GSTREAMER" = "yes"; then
42609 cat >>confdefs.h <<\_ACEOF
42610 #define wxUSE_GSTREAMER 1
42611 _ACEOF
42612
42613 echo "$as_me:$LINENO: result: GStreamer detection successful" >&5
42614 echo "${ECHO_T}GStreamer detection successful" >&6
42615 fi
42616 fi
42617 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
42618 cat >>confdefs.h <<\_ACEOF
42619 #define wxUSE_MEDIACTRL 1
42620 _ACEOF
42621
42622 fi
42623
42624
42625 if test "$cross_compiling" = "yes"; then
42626 OSINFO="\"$host\""
42627 else
42628 OSINFO=`uname -s -r -m`
42629 OSINFO="\"$OSINFO\""
42630 fi
42631
42632 cat >>confdefs.h <<_ACEOF
42633 #define WXWIN_OS_DESCRIPTION $OSINFO
42634 _ACEOF
42635
42636
42637
42638 if test "x$prefix" != "xNONE"; then
42639 wxPREFIX=$prefix
42640 else
42641 wxPREFIX=$ac_default_prefix
42642 fi
42643
42644 cat >>confdefs.h <<_ACEOF
42645 #define wxINSTALL_PREFIX "$wxPREFIX"
42646 _ACEOF
42647
42648
42649
42650
42651 CORE_BASE_LIBS="net base"
42652 CORE_GUI_LIBS="adv core"
42653
42654 if test "$wxUSE_XML" = "yes" ; then
42655 CORE_BASE_LIBS="xml $CORE_BASE_LIBS"
42656 fi
42657 if test "$wxUSE_ODBC" != "no" ; then
42658 CORE_BASE_LIBS="odbc $CORE_BASE_LIBS"
42659 CORE_GUI_LIBS="dbgrid $CORE_GUI_LIBS"
42660 fi
42661 if test "$wxUSE_HTML" = "yes" ; then
42662 CORE_GUI_LIBS="html $CORE_GUI_LIBS"
42663 fi
42664 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
42665 CORE_GUI_LIBS="qa $CORE_GUI_LIBS"
42666 fi
42667 if test "$wxUSE_XRC" = "yes" ; then
42668 CORE_GUI_LIBS="xrc $CORE_GUI_LIBS"
42669 fi
42670
42671 if test "$wxUSE_GUI" != "yes"; then
42672 CORE_GUI_LIBS=""
42673 fi
42674
42675
42676
42677
42678
42679
42680
42681
42682 if test "$wxUSE_MAC" = 1 ; then
42683 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
42684 if test "$USE_DARWIN" = 1; then
42685 LDFLAGS="$LDFLAGS -framework QuickTime"
42686 else
42687 LDFLAGS="$LDFLAGS -lQuickTimeLib"
42688 fi
42689 fi
42690 if test "$USE_DARWIN" = 1; then
42691 LDFLAGS="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
42692 else
42693 LDFLAGS="$LDFLAGS -lCarbonLib"
42694 fi
42695 fi
42696 if test "$wxUSE_COCOA" = 1 ; then
42697 LDFLAGS="$LDFLAGS -framework IOKit -framework Cocoa"
42698 if test "$wxUSE_MEDIACTRL" = "yes"; then
42699 LDFLAGS="$LDFLAGS -framework QuickTime"
42700 fi
42701 fi
42702 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
42703 LDFLAGS="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
42704 fi
42705
42706
42707 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
42708
42709 have_cos=0
42710 have_floor=0
42711
42712 for ac_func in cos
42713 do
42714 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42715 echo "$as_me:$LINENO: checking for $ac_func" >&5
42716 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42717 if eval "test \"\${$as_ac_var+set}\" = set"; then
42718 echo $ECHO_N "(cached) $ECHO_C" >&6
42719 else
42720 cat >conftest.$ac_ext <<_ACEOF
42721 /* confdefs.h. */
42722 _ACEOF
42723 cat confdefs.h >>conftest.$ac_ext
42724 cat >>conftest.$ac_ext <<_ACEOF
42725 /* end confdefs.h. */
42726 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42727 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42728 #define $ac_func innocuous_$ac_func
42729
42730 /* System header to define __stub macros and hopefully few prototypes,
42731 which can conflict with char $ac_func (); below.
42732 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42733 <limits.h> exists even on freestanding compilers. */
42734
42735 #ifdef __STDC__
42736 # include <limits.h>
42737 #else
42738 # include <assert.h>
42739 #endif
42740
42741 #undef $ac_func
42742
42743 /* Override any gcc2 internal prototype to avoid an error. */
42744 #ifdef __cplusplus
42745 extern "C"
42746 {
42747 #endif
42748 /* We use char because int might match the return type of a gcc2
42749 builtin and then its argument prototype would still apply. */
42750 char $ac_func ();
42751 /* The GNU C library defines this for functions which it implements
42752 to always fail with ENOSYS. Some functions are actually named
42753 something starting with __ and the normal name is an alias. */
42754 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42755 choke me
42756 #else
42757 char (*f) () = $ac_func;
42758 #endif
42759 #ifdef __cplusplus
42760 }
42761 #endif
42762
42763 int
42764 main ()
42765 {
42766 return f != $ac_func;
42767 ;
42768 return 0;
42769 }
42770 _ACEOF
42771 rm -f conftest.$ac_objext conftest$ac_exeext
42772 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42773 (eval $ac_link) 2>conftest.er1
42774 ac_status=$?
42775 grep -v '^ *+' conftest.er1 >conftest.err
42776 rm -f conftest.er1
42777 cat conftest.err >&5
42778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42779 (exit $ac_status); } &&
42780 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42782 (eval $ac_try) 2>&5
42783 ac_status=$?
42784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42785 (exit $ac_status); }; } &&
42786 { ac_try='test -s conftest$ac_exeext'
42787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42788 (eval $ac_try) 2>&5
42789 ac_status=$?
42790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42791 (exit $ac_status); }; }; then
42792 eval "$as_ac_var=yes"
42793 else
42794 echo "$as_me: failed program was:" >&5
42795 sed 's/^/| /' conftest.$ac_ext >&5
42796
42797 eval "$as_ac_var=no"
42798 fi
42799 rm -f conftest.err conftest.$ac_objext \
42800 conftest$ac_exeext conftest.$ac_ext
42801 fi
42802 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42803 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42804 if test `eval echo '${'$as_ac_var'}'` = yes; then
42805 cat >>confdefs.h <<_ACEOF
42806 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42807 _ACEOF
42808 have_cos=1
42809 fi
42810 done
42811
42812
42813 for ac_func in floor
42814 do
42815 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42816 echo "$as_me:$LINENO: checking for $ac_func" >&5
42817 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42818 if eval "test \"\${$as_ac_var+set}\" = set"; then
42819 echo $ECHO_N "(cached) $ECHO_C" >&6
42820 else
42821 cat >conftest.$ac_ext <<_ACEOF
42822 /* confdefs.h. */
42823 _ACEOF
42824 cat confdefs.h >>conftest.$ac_ext
42825 cat >>conftest.$ac_ext <<_ACEOF
42826 /* end confdefs.h. */
42827 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42828 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42829 #define $ac_func innocuous_$ac_func
42830
42831 /* System header to define __stub macros and hopefully few prototypes,
42832 which can conflict with char $ac_func (); below.
42833 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42834 <limits.h> exists even on freestanding compilers. */
42835
42836 #ifdef __STDC__
42837 # include <limits.h>
42838 #else
42839 # include <assert.h>
42840 #endif
42841
42842 #undef $ac_func
42843
42844 /* Override any gcc2 internal prototype to avoid an error. */
42845 #ifdef __cplusplus
42846 extern "C"
42847 {
42848 #endif
42849 /* We use char because int might match the return type of a gcc2
42850 builtin and then its argument prototype would still apply. */
42851 char $ac_func ();
42852 /* The GNU C library defines this for functions which it implements
42853 to always fail with ENOSYS. Some functions are actually named
42854 something starting with __ and the normal name is an alias. */
42855 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42856 choke me
42857 #else
42858 char (*f) () = $ac_func;
42859 #endif
42860 #ifdef __cplusplus
42861 }
42862 #endif
42863
42864 int
42865 main ()
42866 {
42867 return f != $ac_func;
42868 ;
42869 return 0;
42870 }
42871 _ACEOF
42872 rm -f conftest.$ac_objext conftest$ac_exeext
42873 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42874 (eval $ac_link) 2>conftest.er1
42875 ac_status=$?
42876 grep -v '^ *+' conftest.er1 >conftest.err
42877 rm -f conftest.er1
42878 cat conftest.err >&5
42879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42880 (exit $ac_status); } &&
42881 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42883 (eval $ac_try) 2>&5
42884 ac_status=$?
42885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42886 (exit $ac_status); }; } &&
42887 { ac_try='test -s conftest$ac_exeext'
42888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42889 (eval $ac_try) 2>&5
42890 ac_status=$?
42891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42892 (exit $ac_status); }; }; then
42893 eval "$as_ac_var=yes"
42894 else
42895 echo "$as_me: failed program was:" >&5
42896 sed 's/^/| /' conftest.$ac_ext >&5
42897
42898 eval "$as_ac_var=no"
42899 fi
42900 rm -f conftest.err conftest.$ac_objext \
42901 conftest$ac_exeext conftest.$ac_ext
42902 fi
42903 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42904 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42905 if test `eval echo '${'$as_ac_var'}'` = yes; then
42906 cat >>confdefs.h <<_ACEOF
42907 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42908 _ACEOF
42909 have_floor=1
42910 fi
42911 done
42912
42913 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
42914 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
42915 if test "$have_cos" = 1 -a "$have_floor" = 1; then
42916 echo "$as_me:$LINENO: result: yes" >&5
42917 echo "${ECHO_T}yes" >&6
42918 else
42919 echo "$as_me:$LINENO: result: no" >&5
42920 echo "${ECHO_T}no" >&6
42921 LIBS="$LIBS -lm"
42922 # use different functions to avoid configure caching
42923 have_sin=0
42924 have_ceil=0
42925
42926 for ac_func in sin
42927 do
42928 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42929 echo "$as_me:$LINENO: checking for $ac_func" >&5
42930 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42931 if eval "test \"\${$as_ac_var+set}\" = set"; then
42932 echo $ECHO_N "(cached) $ECHO_C" >&6
42933 else
42934 cat >conftest.$ac_ext <<_ACEOF
42935 /* confdefs.h. */
42936 _ACEOF
42937 cat confdefs.h >>conftest.$ac_ext
42938 cat >>conftest.$ac_ext <<_ACEOF
42939 /* end confdefs.h. */
42940 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42941 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42942 #define $ac_func innocuous_$ac_func
42943
42944 /* System header to define __stub macros and hopefully few prototypes,
42945 which can conflict with char $ac_func (); below.
42946 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42947 <limits.h> exists even on freestanding compilers. */
42948
42949 #ifdef __STDC__
42950 # include <limits.h>
42951 #else
42952 # include <assert.h>
42953 #endif
42954
42955 #undef $ac_func
42956
42957 /* Override any gcc2 internal prototype to avoid an error. */
42958 #ifdef __cplusplus
42959 extern "C"
42960 {
42961 #endif
42962 /* We use char because int might match the return type of a gcc2
42963 builtin and then its argument prototype would still apply. */
42964 char $ac_func ();
42965 /* The GNU C library defines this for functions which it implements
42966 to always fail with ENOSYS. Some functions are actually named
42967 something starting with __ and the normal name is an alias. */
42968 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42969 choke me
42970 #else
42971 char (*f) () = $ac_func;
42972 #endif
42973 #ifdef __cplusplus
42974 }
42975 #endif
42976
42977 int
42978 main ()
42979 {
42980 return f != $ac_func;
42981 ;
42982 return 0;
42983 }
42984 _ACEOF
42985 rm -f conftest.$ac_objext conftest$ac_exeext
42986 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42987 (eval $ac_link) 2>conftest.er1
42988 ac_status=$?
42989 grep -v '^ *+' conftest.er1 >conftest.err
42990 rm -f conftest.er1
42991 cat conftest.err >&5
42992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42993 (exit $ac_status); } &&
42994 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42996 (eval $ac_try) 2>&5
42997 ac_status=$?
42998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42999 (exit $ac_status); }; } &&
43000 { ac_try='test -s conftest$ac_exeext'
43001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43002 (eval $ac_try) 2>&5
43003 ac_status=$?
43004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43005 (exit $ac_status); }; }; then
43006 eval "$as_ac_var=yes"
43007 else
43008 echo "$as_me: failed program was:" >&5
43009 sed 's/^/| /' conftest.$ac_ext >&5
43010
43011 eval "$as_ac_var=no"
43012 fi
43013 rm -f conftest.err conftest.$ac_objext \
43014 conftest$ac_exeext conftest.$ac_ext
43015 fi
43016 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43017 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43018 if test `eval echo '${'$as_ac_var'}'` = yes; then
43019 cat >>confdefs.h <<_ACEOF
43020 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43021 _ACEOF
43022 have_sin=1
43023 fi
43024 done
43025
43026
43027 for ac_func in ceil
43028 do
43029 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43030 echo "$as_me:$LINENO: checking for $ac_func" >&5
43031 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43032 if eval "test \"\${$as_ac_var+set}\" = set"; then
43033 echo $ECHO_N "(cached) $ECHO_C" >&6
43034 else
43035 cat >conftest.$ac_ext <<_ACEOF
43036 /* confdefs.h. */
43037 _ACEOF
43038 cat confdefs.h >>conftest.$ac_ext
43039 cat >>conftest.$ac_ext <<_ACEOF
43040 /* end confdefs.h. */
43041 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43042 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43043 #define $ac_func innocuous_$ac_func
43044
43045 /* System header to define __stub macros and hopefully few prototypes,
43046 which can conflict with char $ac_func (); below.
43047 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43048 <limits.h> exists even on freestanding compilers. */
43049
43050 #ifdef __STDC__
43051 # include <limits.h>
43052 #else
43053 # include <assert.h>
43054 #endif
43055
43056 #undef $ac_func
43057
43058 /* Override any gcc2 internal prototype to avoid an error. */
43059 #ifdef __cplusplus
43060 extern "C"
43061 {
43062 #endif
43063 /* We use char because int might match the return type of a gcc2
43064 builtin and then its argument prototype would still apply. */
43065 char $ac_func ();
43066 /* The GNU C library defines this for functions which it implements
43067 to always fail with ENOSYS. Some functions are actually named
43068 something starting with __ and the normal name is an alias. */
43069 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43070 choke me
43071 #else
43072 char (*f) () = $ac_func;
43073 #endif
43074 #ifdef __cplusplus
43075 }
43076 #endif
43077
43078 int
43079 main ()
43080 {
43081 return f != $ac_func;
43082 ;
43083 return 0;
43084 }
43085 _ACEOF
43086 rm -f conftest.$ac_objext conftest$ac_exeext
43087 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43088 (eval $ac_link) 2>conftest.er1
43089 ac_status=$?
43090 grep -v '^ *+' conftest.er1 >conftest.err
43091 rm -f conftest.er1
43092 cat conftest.err >&5
43093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43094 (exit $ac_status); } &&
43095 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
43096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43097 (eval $ac_try) 2>&5
43098 ac_status=$?
43099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43100 (exit $ac_status); }; } &&
43101 { ac_try='test -s conftest$ac_exeext'
43102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43103 (eval $ac_try) 2>&5
43104 ac_status=$?
43105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43106 (exit $ac_status); }; }; then
43107 eval "$as_ac_var=yes"
43108 else
43109 echo "$as_me: failed program was:" >&5
43110 sed 's/^/| /' conftest.$ac_ext >&5
43111
43112 eval "$as_ac_var=no"
43113 fi
43114 rm -f conftest.err conftest.$ac_objext \
43115 conftest$ac_exeext conftest.$ac_ext
43116 fi
43117 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43118 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43119 if test `eval echo '${'$as_ac_var'}'` = yes; then
43120 cat >>confdefs.h <<_ACEOF
43121 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43122 _ACEOF
43123 have_ceil=1
43124 fi
43125 done
43126
43127 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
43128 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
43129 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
43130 echo "$as_me:$LINENO: result: yes" >&5
43131 echo "${ECHO_T}yes" >&6
43132 else
43133 echo "$as_me:$LINENO: result: no" >&5
43134 echo "${ECHO_T}no" >&6
43135 # not sure we should warn the user, crash, etc.
43136 fi
43137 fi
43138
43139 if test "$wxUSE_GUI" = "yes"; then
43140
43141
43142 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
43143 dynamic erase event exec font image minimal mobile \
43144 mobile/wxedit mobile/styles propsize render \
43145 richedit rotate shaped vscroll widgets"
43146
43147 if test "$wxUSE_MONOLITHIC" != "yes"; then
43148 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
43149 fi
43150 if test "$TOOLKIT" = "MSW"; then
43151 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
43152 if test "$wxUSE_UNIVERSAL" != "yes"; then
43153 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg"
43154 fi
43155 fi
43156 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
43157 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
43158 fi
43159 else
43160 SAMPLES_SUBDIRS="console"
43161 fi
43162
43163
43164 INCLUDES="-I\${top_builddir}lib/wx/include/${TOOLCHAIN_FULLNAME} \
43165 -I\${top_srcdir}/include $TOOLKIT_INCLUDE"
43166
43167 if test "x$INTELCC" = "xyes" ; then
43168 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684"
43169 elif test "$GCC" = yes ; then
43170 CWARNINGS="-Wall -Wundef"
43171 fi
43172
43173 if test "x$INTELCXX" = "xyes" ; then
43174 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419"
43175 elif test "$GXX" = yes ; then
43176 CXXWARNINGS="-Wall -Wundef -Wno-ctor-dtor-privacy"
43177 fi
43178
43179 EXTRA_CFLAGS="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE"
43180
43181 CPPFLAGS=`echo $WXDEBUG_DEFINE $INCLUDES $CPPFLAGS`
43182 CFLAGS=`echo $CODE_GEN_FLAGS $EXTRA_CFLAGS $CFLAGS $CWARNINGS`
43183 CXXFLAGS=`echo $CODE_GEN_FLAGS $CODE_GEN_FLAGS_CXX $EXTRA_CFLAGS $CXXFLAGS $CXXWARNINGS`
43184
43185 if test "x$MWCC" = "xyes"; then
43186
43187 CC="$CC -cwd source -I-"
43188 CXX="$CXX -cwd source -I-"
43189 fi
43190
43191
43192 LIBS=`echo $LIBS`
43193 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
43194 EXTRALIBS_XML="$EXPAT_LINK"
43195 EXTRALIBS_HTML="$MSPACK_LINK"
43196 EXTRALIBS_ODBC="$ODBC_LINK"
43197 if test "$wxUSE_GUI" = "yes"; then
43198 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_GNOMEPRINT`
43199 fi
43200 if test "$wxUSE_OPENGL" = "yes"; then
43201 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
43202 fi
43203
43204 LDFLAGS="$LDFLAGS $PROFILE"
43205
43206 if test "$wxUSE_GTK" = 1; then
43207 WXCONFIG_INCLUDE=
43208 else
43209 WXCONFIG_INCLUDE="$TOOLKIT_INCLUDE"
43210 fi
43211
43212 WXCONFIG_EXTRALIBS="$LIBS"
43213
43214 if test "$wxUSE_REGEX" = "builtin" ; then
43215 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
43216 fi
43217 if test "$wxUSE_EXPAT" = "builtin" ; then
43218 wxconfig_3rdparty="expat $wxconfig_3rdparty"
43219 fi
43220 if test "$wxUSE_ODBC" = "builtin" ; then
43221 wxconfig_3rdparty="odbc $wxconfig_3rdparty"
43222 fi
43223 if test "$wxUSE_LIBTIFF" = "builtin" ; then
43224 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
43225 fi
43226 if test "$wxUSE_LIBJPEG" = "builtin" ; then
43227 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
43228 fi
43229 if test "$wxUSE_LIBPNG" = "builtin" ; then
43230 wxconfig_3rdparty="png $wxconfig_3rdparty"
43231 fi
43232 if test "$wxUSE_ZLIB" = "builtin" ; then
43233 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
43234 fi
43235
43236 for i in $wxconfig_3rdparty ; do
43237 WXCONFIG_EXTRALIBS="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_EXTRALIBS"
43238 done
43239
43240
43241 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
43242 WXUNIV=1
43243 else
43244 WXUNIV=0
43245 fi
43246
43247
43248
43249
43250
43251
43252
43253
43254
43255 if test $wxUSE_MONOLITHIC = "yes" ; then
43256 MONOLITHIC=1
43257 else
43258 MONOLITHIC=0
43259 fi
43260
43261 if test $wxUSE_PLUGINS = "yes" ; then
43262 USE_PLUGINS=1
43263 else
43264 USE_PLUGINS=0
43265 fi
43266
43267 if test $wxUSE_ODBC != "no" ; then
43268 USE_ODBC=1
43269 else
43270 USE_ODBC=0
43271 fi
43272
43273 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
43274 USE_QA=1
43275 else
43276 USE_QA=0
43277 fi
43278
43279 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
43280 OFFICIAL_BUILD=1
43281 else
43282 OFFICIAL_BUILD=0
43283 fi
43284
43285
43286
43287
43288
43289
43290
43291
43292
43293
43294
43295
43296
43297
43298
43299
43300
43301
43302
43303
43304
43305
43306
43307 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
43308
43309
43310
43311
43312
43313
43314
43315
43316 case "$TOOLKIT" in
43317 GTK)
43318 TOOLKIT_USER="GTK+"
43319 if test "$WXGTK20" = 1; then
43320 TOOLKIT_USER="$TOOLKIT_USER 2"
43321 fi
43322 ;;
43323
43324 *)
43325 TOOLKIT_USER=$TOOLKIT_LOWERCASE
43326 ;;
43327 esac
43328
43329 if test "$wxUSE_WINE" = "yes"; then
43330 BAKEFILE_FORCE_PLATFORM=win32
43331 fi
43332
43333
43334
43335
43336 if test "x$BAKEFILE_HOST" = "x"; then
43337 BAKEFILE_HOST="${host}"
43338 fi
43339
43340 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
43341
43342 if test -n "$ac_tool_prefix"; then
43343 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
43344 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
43345 echo "$as_me:$LINENO: checking for $ac_word" >&5
43346 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
43347 if test "${ac_cv_prog_RANLIB+set}" = set; then
43348 echo $ECHO_N "(cached) $ECHO_C" >&6
43349 else
43350 if test -n "$RANLIB"; then
43351 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
43352 else
43353 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
43354 for as_dir in $PATH
43355 do
43356 IFS=$as_save_IFS
43357 test -z "$as_dir" && as_dir=.
43358 for ac_exec_ext in '' $ac_executable_extensions; do
43359 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
43360 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
43361 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43362 break 2
43363 fi
43364 done
43365 done
43366
43367 fi
43368 fi
43369 RANLIB=$ac_cv_prog_RANLIB
43370 if test -n "$RANLIB"; then
43371 echo "$as_me:$LINENO: result: $RANLIB" >&5
43372 echo "${ECHO_T}$RANLIB" >&6
43373 else
43374 echo "$as_me:$LINENO: result: no" >&5
43375 echo "${ECHO_T}no" >&6
43376 fi
43377
43378 fi
43379 if test -z "$ac_cv_prog_RANLIB"; then
43380 ac_ct_RANLIB=$RANLIB
43381 # Extract the first word of "ranlib", so it can be a program name with args.
43382 set dummy ranlib; ac_word=$2
43383 echo "$as_me:$LINENO: checking for $ac_word" >&5
43384 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
43385 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
43386 echo $ECHO_N "(cached) $ECHO_C" >&6
43387 else
43388 if test -n "$ac_ct_RANLIB"; then
43389 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
43390 else
43391 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
43392 for as_dir in $PATH
43393 do
43394 IFS=$as_save_IFS
43395 test -z "$as_dir" && as_dir=.
43396 for ac_exec_ext in '' $ac_executable_extensions; do
43397 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
43398 ac_cv_prog_ac_ct_RANLIB="ranlib"
43399 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43400 break 2
43401 fi
43402 done
43403 done
43404
43405 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
43406 fi
43407 fi
43408 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
43409 if test -n "$ac_ct_RANLIB"; then
43410 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
43411 echo "${ECHO_T}$ac_ct_RANLIB" >&6
43412 else
43413 echo "$as_me:$LINENO: result: no" >&5
43414 echo "${ECHO_T}no" >&6
43415 fi
43416
43417 RANLIB=$ac_ct_RANLIB
43418 else
43419 RANLIB="$ac_cv_prog_RANLIB"
43420 fi
43421
43422 # Find a good install program. We prefer a C program (faster),
43423 # so one script is as good as another. But avoid the broken or
43424 # incompatible versions:
43425 # SysV /etc/install, /usr/sbin/install
43426 # SunOS /usr/etc/install
43427 # IRIX /sbin/install
43428 # AIX /bin/install
43429 # AmigaOS /C/install, which installs bootblocks on floppy discs
43430 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
43431 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
43432 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
43433 # OS/2's system install, which has a completely different semantic
43434 # ./install, which can be erroneously created by make from ./install.sh.
43435 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
43436 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
43437 if test -z "$INSTALL"; then
43438 if test "${ac_cv_path_install+set}" = set; then
43439 echo $ECHO_N "(cached) $ECHO_C" >&6
43440 else
43441 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
43442 for as_dir in $PATH
43443 do
43444 IFS=$as_save_IFS
43445 test -z "$as_dir" && as_dir=.
43446 # Account for people who put trailing slashes in PATH elements.
43447 case $as_dir/ in
43448 ./ | .// | /cC/* | \
43449 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
43450 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
43451 /usr/ucb/* ) ;;
43452 *)
43453 # OSF1 and SCO ODT 3.0 have their own names for install.
43454 # Don't use installbsd from OSF since it installs stuff as root
43455 # by default.
43456 for ac_prog in ginstall scoinst install; do
43457 for ac_exec_ext in '' $ac_executable_extensions; do
43458 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
43459 if test $ac_prog = install &&
43460 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
43461 # AIX install. It has an incompatible calling convention.
43462 :
43463 elif test $ac_prog = install &&
43464 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
43465 # program-specific install script used by HP pwplus--don't use.
43466 :
43467 else
43468 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
43469 break 3
43470 fi
43471 fi
43472 done
43473 done
43474 ;;
43475 esac
43476 done
43477
43478
43479 fi
43480 if test "${ac_cv_path_install+set}" = set; then
43481 INSTALL=$ac_cv_path_install
43482 else
43483 # As a last resort, use the slow shell script. We don't cache a
43484 # path for INSTALL within a source directory, because that will
43485 # break other packages using the cache if that directory is
43486 # removed, or if the path is relative.
43487 INSTALL=$ac_install_sh
43488 fi
43489 fi
43490 echo "$as_me:$LINENO: result: $INSTALL" >&5
43491 echo "${ECHO_T}$INSTALL" >&6
43492
43493 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
43494 # It thinks the first close brace ends the variable substitution.
43495 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
43496
43497 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
43498
43499 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
43500
43501 echo "$as_me:$LINENO: checking whether ln -s works" >&5
43502 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
43503 LN_S=$as_ln_s
43504 if test "$LN_S" = "ln -s"; then
43505 echo "$as_me:$LINENO: result: yes" >&5
43506 echo "${ECHO_T}yes" >&6
43507 else
43508 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
43509 echo "${ECHO_T}no, using $LN_S" >&6
43510 fi
43511
43512
43513 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
43514 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
43515 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
43516 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
43517 echo $ECHO_N "(cached) $ECHO_C" >&6
43518 else
43519 cat >conftest.make <<\_ACEOF
43520 all:
43521 @echo 'ac_maketemp="$(MAKE)"'
43522 _ACEOF
43523 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
43524 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
43525 if test -n "$ac_maketemp"; then
43526 eval ac_cv_prog_make_${ac_make}_set=yes
43527 else
43528 eval ac_cv_prog_make_${ac_make}_set=no
43529 fi
43530 rm -f conftest.make
43531 fi
43532 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
43533 echo "$as_me:$LINENO: result: yes" >&5
43534 echo "${ECHO_T}yes" >&6
43535 SET_MAKE=
43536 else
43537 echo "$as_me:$LINENO: result: no" >&5
43538 echo "${ECHO_T}no" >&6
43539 SET_MAKE="MAKE=${MAKE-make}"
43540 fi
43541
43542
43543
43544 if test -n "$ac_tool_prefix"; then
43545 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
43546 set dummy ${ac_tool_prefix}ar; ac_word=$2
43547 echo "$as_me:$LINENO: checking for $ac_word" >&5
43548 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
43549 if test "${ac_cv_prog_AR+set}" = set; then
43550 echo $ECHO_N "(cached) $ECHO_C" >&6
43551 else
43552 if test -n "$AR"; then
43553 ac_cv_prog_AR="$AR" # Let the user override the test.
43554 else
43555 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
43556 for as_dir in $PATH
43557 do
43558 IFS=$as_save_IFS
43559 test -z "$as_dir" && as_dir=.
43560 for ac_exec_ext in '' $ac_executable_extensions; do
43561 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
43562 ac_cv_prog_AR="${ac_tool_prefix}ar"
43563 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43564 break 2
43565 fi
43566 done
43567 done
43568
43569 fi
43570 fi
43571 AR=$ac_cv_prog_AR
43572 if test -n "$AR"; then
43573 echo "$as_me:$LINENO: result: $AR" >&5
43574 echo "${ECHO_T}$AR" >&6
43575 else
43576 echo "$as_me:$LINENO: result: no" >&5
43577 echo "${ECHO_T}no" >&6
43578 fi
43579
43580 fi
43581 if test -z "$ac_cv_prog_AR"; then
43582 ac_ct_AR=$AR
43583 # Extract the first word of "ar", so it can be a program name with args.
43584 set dummy ar; ac_word=$2
43585 echo "$as_me:$LINENO: checking for $ac_word" >&5
43586 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
43587 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
43588 echo $ECHO_N "(cached) $ECHO_C" >&6
43589 else
43590 if test -n "$ac_ct_AR"; then
43591 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
43592 else
43593 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
43594 for as_dir in $PATH
43595 do
43596 IFS=$as_save_IFS
43597 test -z "$as_dir" && as_dir=.
43598 for ac_exec_ext in '' $ac_executable_extensions; do
43599 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
43600 ac_cv_prog_ac_ct_AR="ar"
43601 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43602 break 2
43603 fi
43604 done
43605 done
43606
43607 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="ar"
43608 fi
43609 fi
43610 ac_ct_AR=$ac_cv_prog_ac_ct_AR
43611 if test -n "$ac_ct_AR"; then
43612 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
43613 echo "${ECHO_T}$ac_ct_AR" >&6
43614 else
43615 echo "$as_me:$LINENO: result: no" >&5
43616 echo "${ECHO_T}no" >&6
43617 fi
43618
43619 AR=$ac_ct_AR
43620 else
43621 AR="$ac_cv_prog_AR"
43622 fi
43623
43624 if test -n "$ac_tool_prefix"; then
43625 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
43626 set dummy ${ac_tool_prefix}strip; ac_word=$2
43627 echo "$as_me:$LINENO: checking for $ac_word" >&5
43628 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
43629 if test "${ac_cv_prog_STRIP+set}" = set; then
43630 echo $ECHO_N "(cached) $ECHO_C" >&6
43631 else
43632 if test -n "$STRIP"; then
43633 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
43634 else
43635 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
43636 for as_dir in $PATH
43637 do
43638 IFS=$as_save_IFS
43639 test -z "$as_dir" && as_dir=.
43640 for ac_exec_ext in '' $ac_executable_extensions; do
43641 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
43642 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
43643 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43644 break 2
43645 fi
43646 done
43647 done
43648
43649 fi
43650 fi
43651 STRIP=$ac_cv_prog_STRIP
43652 if test -n "$STRIP"; then
43653 echo "$as_me:$LINENO: result: $STRIP" >&5
43654 echo "${ECHO_T}$STRIP" >&6
43655 else
43656 echo "$as_me:$LINENO: result: no" >&5
43657 echo "${ECHO_T}no" >&6
43658 fi
43659
43660 fi
43661 if test -z "$ac_cv_prog_STRIP"; then
43662 ac_ct_STRIP=$STRIP
43663 # Extract the first word of "strip", so it can be a program name with args.
43664 set dummy strip; ac_word=$2
43665 echo "$as_me:$LINENO: checking for $ac_word" >&5
43666 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
43667 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
43668 echo $ECHO_N "(cached) $ECHO_C" >&6
43669 else
43670 if test -n "$ac_ct_STRIP"; then
43671 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
43672 else
43673 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
43674 for as_dir in $PATH
43675 do
43676 IFS=$as_save_IFS
43677 test -z "$as_dir" && as_dir=.
43678 for ac_exec_ext in '' $ac_executable_extensions; do
43679 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
43680 ac_cv_prog_ac_ct_STRIP="strip"
43681 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43682 break 2
43683 fi
43684 done
43685 done
43686
43687 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
43688 fi
43689 fi
43690 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
43691 if test -n "$ac_ct_STRIP"; then
43692 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
43693 echo "${ECHO_T}$ac_ct_STRIP" >&6
43694 else
43695 echo "$as_me:$LINENO: result: no" >&5
43696 echo "${ECHO_T}no" >&6
43697 fi
43698
43699 STRIP=$ac_ct_STRIP
43700 else
43701 STRIP="$ac_cv_prog_STRIP"
43702 fi
43703
43704 if test -n "$ac_tool_prefix"; then
43705 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
43706 set dummy ${ac_tool_prefix}nm; ac_word=$2
43707 echo "$as_me:$LINENO: checking for $ac_word" >&5
43708 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
43709 if test "${ac_cv_prog_NM+set}" = set; then
43710 echo $ECHO_N "(cached) $ECHO_C" >&6
43711 else
43712 if test -n "$NM"; then
43713 ac_cv_prog_NM="$NM" # Let the user override the test.
43714 else
43715 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
43716 for as_dir in $PATH
43717 do
43718 IFS=$as_save_IFS
43719 test -z "$as_dir" && as_dir=.
43720 for ac_exec_ext in '' $ac_executable_extensions; do
43721 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
43722 ac_cv_prog_NM="${ac_tool_prefix}nm"
43723 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43724 break 2
43725 fi
43726 done
43727 done
43728
43729 fi
43730 fi
43731 NM=$ac_cv_prog_NM
43732 if test -n "$NM"; then
43733 echo "$as_me:$LINENO: result: $NM" >&5
43734 echo "${ECHO_T}$NM" >&6
43735 else
43736 echo "$as_me:$LINENO: result: no" >&5
43737 echo "${ECHO_T}no" >&6
43738 fi
43739
43740 fi
43741 if test -z "$ac_cv_prog_NM"; then
43742 ac_ct_NM=$NM
43743 # Extract the first word of "nm", so it can be a program name with args.
43744 set dummy nm; ac_word=$2
43745 echo "$as_me:$LINENO: checking for $ac_word" >&5
43746 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
43747 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
43748 echo $ECHO_N "(cached) $ECHO_C" >&6
43749 else
43750 if test -n "$ac_ct_NM"; then
43751 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
43752 else
43753 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
43754 for as_dir in $PATH
43755 do
43756 IFS=$as_save_IFS
43757 test -z "$as_dir" && as_dir=.
43758 for ac_exec_ext in '' $ac_executable_extensions; do
43759 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
43760 ac_cv_prog_ac_ct_NM="nm"
43761 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43762 break 2
43763 fi
43764 done
43765 done
43766
43767 test -z "$ac_cv_prog_ac_ct_NM" && ac_cv_prog_ac_ct_NM=":"
43768 fi
43769 fi
43770 ac_ct_NM=$ac_cv_prog_ac_ct_NM
43771 if test -n "$ac_ct_NM"; then
43772 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
43773 echo "${ECHO_T}$ac_ct_NM" >&6
43774 else
43775 echo "$as_me:$LINENO: result: no" >&5
43776 echo "${ECHO_T}no" >&6
43777 fi
43778
43779 NM=$ac_ct_NM
43780 else
43781 NM="$ac_cv_prog_NM"
43782 fi
43783
43784
43785 case ${BAKEFILE_HOST} in
43786 *-hp-hpux* )
43787 INSTALL_DIR="mkdir -p"
43788 ;;
43789 *) INSTALL_DIR="$INSTALL -d"
43790 ;;
43791 esac
43792
43793
43794 LDFLAGS_GUI=
43795 case ${BAKEFILE_HOST} in
43796 *-*-cygwin* | *-*-mingw32* )
43797 LDFLAGS_GUI="-mwindows"
43798 esac
43799
43800
43801 fi
43802
43803 echo "$as_me:$LINENO: checking if make is GNU make" >&5
43804 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
43805 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
43806 echo $ECHO_N "(cached) $ECHO_C" >&6
43807 else
43808
43809 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
43810 egrep -s GNU > /dev/null); then
43811 bakefile_cv_prog_makeisgnu="yes"
43812 else
43813 bakefile_cv_prog_makeisgnu="no"
43814 fi
43815
43816 fi
43817 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
43818 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
43819
43820 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
43821 IF_GNU_MAKE=""
43822 else
43823 IF_GNU_MAKE="#"
43824 fi
43825
43826
43827
43828 PLATFORM_UNIX=0
43829 PLATFORM_WIN32=0
43830 PLATFORM_MSDOS=0
43831 PLATFORM_MAC=0
43832 PLATFORM_MACOS=0
43833 PLATFORM_MACOSX=0
43834 PLATFORM_OS2=0
43835 PLATFORM_BEOS=0
43836
43837 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
43838 case "${BAKEFILE_HOST}" in
43839 *-*-mingw32* )
43840 PLATFORM_WIN32=1
43841 ;;
43842 *-pc-msdosdjgpp )
43843 PLATFORM_MSDOS=1
43844 ;;
43845 *-pc-os2_emx | *-pc-os2-emx )
43846 PLATFORM_OS2=1
43847 ;;
43848 *-*-darwin* )
43849 PLATFORM_MAC=1
43850 PLATFORM_MACOSX=1
43851 ;;
43852 *-*-beos* )
43853 PLATFORM_BEOS=1
43854 ;;
43855 powerpc-apple-macos* )
43856 PLATFORM_MAC=1
43857 PLATFORM_MACOS=1
43858 ;;
43859 * )
43860 PLATFORM_UNIX=1
43861 ;;
43862 esac
43863 else
43864 case "$BAKEFILE_FORCE_PLATFORM" in
43865 win32 )
43866 PLATFORM_WIN32=1
43867 ;;
43868 msdos )
43869 PLATFORM_MSDOS=1
43870 ;;
43871 os2 )
43872 PLATFORM_OS2=1
43873 ;;
43874 darwin )
43875 PLATFORM_MAC=1
43876 PLATFORM_MACOSX=1
43877 ;;
43878 unix )
43879 PLATFORM_UNIX=1
43880 ;;
43881 beos )
43882 PLATFORM_BEOS=1
43883 ;;
43884 * )
43885 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
43886 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
43887 { (exit 1); exit 1; }; }
43888 ;;
43889 esac
43890 fi
43891
43892
43893
43894
43895
43896
43897
43898
43899
43900
43901
43902 # Check whether --enable-omf or --disable-omf was given.
43903 if test "${enable_omf+set}" = set; then
43904 enableval="$enable_omf"
43905 bk_os2_use_omf="$enableval"
43906 fi;
43907
43908 case "${BAKEFILE_HOST}" in
43909 *-*-darwin* )
43910 if test "x$GCC" = "xyes"; then
43911 CFLAGS="$CFLAGS -fno-common"
43912 CXXFLAGS="$CXXFLAGS -fno-common"
43913 fi
43914 if test "x$XLCC" = "xyes"; then
43915 CFLAGS="$CFLAGS -qnocommon"
43916 CXXFLAGS="$CXXFLAGS -qnocommon"
43917 fi
43918 ;;
43919
43920 *-pc-os2_emx | *-pc-os2-emx )
43921 if test "x$bk_os2_use_omf" = "xyes" ; then
43922 AR=emxomfar
43923 RANLIB=:
43924 LDFLAGS="-Zomf $LDFLAGS"
43925 CFLAGS="-Zomf $CFLAGS"
43926 CXXFLAGS="-Zomf $CXXFLAGS"
43927 OS2_LIBEXT="lib"
43928 else
43929 OS2_LIBEXT="a"
43930 fi
43931 ;;
43932
43933 i*86-*-beos* )
43934 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
43935 ;;
43936 esac
43937
43938
43939 SO_SUFFIX="so"
43940 SO_SUFFIX_MODULE="so"
43941 EXEEXT=""
43942 LIBPREFIX="lib"
43943 LIBEXT=".a"
43944 DLLPREFIX="lib"
43945 DLLPREFIX_MODULE=""
43946 DLLIMP_SUFFIX=""
43947 dlldir="$libdir"
43948
43949 case "${BAKEFILE_HOST}" in
43950 *-hp-hpux* )
43951 SO_SUFFIX="sl"
43952 SO_SUFFIX_MODULE="sl"
43953 ;;
43954 *-*-aix* )
43955 SO_SUFFIX="a"
43956 SO_SUFFIX_MODULE="a"
43957 ;;
43958 *-*-cygwin* )
43959 SO_SUFFIX="dll"
43960 SO_SUFFIX_MODULE="dll"
43961 DLLIMP_SUFFIX="dll.a"
43962 EXEEXT=".exe"
43963 DLLPREFIX="cyg"
43964 dlldir="$bindir"
43965 ;;
43966 *-*-mingw32* )
43967 SO_SUFFIX="dll"
43968 SO_SUFFIX_MODULE="dll"
43969 DLLIMP_SUFFIX="dll.a"
43970 EXEEXT=".exe"
43971 DLLPREFIX=""
43972 dlldir="$bindir"
43973 ;;
43974 *-pc-msdosdjgpp )
43975 EXEEXT=".exe"
43976 DLLPREFIX=""
43977 dlldir="$bindir"
43978 ;;
43979 *-pc-os2_emx | *-pc-os2-emx )
43980 SO_SUFFIX="dll"
43981 SO_SUFFIX_MODULE="dll"
43982 DLLIMP_SUFFIX=$OS2_LIBEXT
43983 EXEEXT=".exe"
43984 DLLPREFIX=""
43985 LIBPREFIX=""
43986 LIBEXT=".$OS2_LIBEXT"
43987 dlldir="$bindir"
43988 ;;
43989 *-*-darwin* )
43990 SO_SUFFIX="dylib"
43991 SO_SUFFIX_MODULE="bundle"
43992 ;;
43993 esac
43994
43995 if test "x$DLLIMP_SUFFIX" = "x" ; then
43996 DLLIMP_SUFFIX="$SO_SUFFIX"
43997 fi
43998
43999
44000
44001
44002
44003
44004
44005
44006
44007
44008
44009
44010 PIC_FLAG=""
44011 if test "x$GCC" = "xyes"; then
44012 PIC_FLAG="-fPIC"
44013 fi
44014
44015 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
44016 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
44017 WINDOWS_IMPLIB=0
44018
44019 case "${BAKEFILE_HOST}" in
44020 *-hp-hpux* )
44021 if test "x$GCC" != "xyes"; then
44022 LDFLAGS="$LDFLAGS -L/usr/lib"
44023
44024 SHARED_LD_CC="${CC} -b -o"
44025 SHARED_LD_CXX="${CXX} -b -o"
44026 PIC_FLAG="+Z"
44027 fi
44028 ;;
44029
44030 *-*-linux* )
44031 if test "x$GCC" != "xyes"; then
44032 echo "$as_me:$LINENO: checking for Intel compiler" >&5
44033 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
44034 if test "${bakefile_cv_prog_icc+set}" = set; then
44035 echo $ECHO_N "(cached) $ECHO_C" >&6
44036 else
44037
44038 cat >conftest.$ac_ext <<_ACEOF
44039 /* confdefs.h. */
44040 _ACEOF
44041 cat confdefs.h >>conftest.$ac_ext
44042 cat >>conftest.$ac_ext <<_ACEOF
44043 /* end confdefs.h. */
44044
44045 int
44046 main ()
44047 {
44048
44049 #ifndef __INTEL_COMPILER
44050 #error Not icc
44051 #endif
44052
44053 ;
44054 return 0;
44055 }
44056 _ACEOF
44057 rm -f conftest.$ac_objext
44058 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44059 (eval $ac_compile) 2>conftest.er1
44060 ac_status=$?
44061 grep -v '^ *+' conftest.er1 >conftest.err
44062 rm -f conftest.er1
44063 cat conftest.err >&5
44064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44065 (exit $ac_status); } &&
44066 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
44067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44068 (eval $ac_try) 2>&5
44069 ac_status=$?
44070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44071 (exit $ac_status); }; } &&
44072 { ac_try='test -s conftest.$ac_objext'
44073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44074 (eval $ac_try) 2>&5
44075 ac_status=$?
44076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44077 (exit $ac_status); }; }; then
44078 bakefile_cv_prog_icc=yes
44079 else
44080 echo "$as_me: failed program was:" >&5
44081 sed 's/^/| /' conftest.$ac_ext >&5
44082
44083 bakefile_cv_prog_icc=no
44084
44085 fi
44086 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44087
44088 fi
44089 echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
44090 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
44091 if test "$bakefile_cv_prog_icc" = "yes"; then
44092 PIC_FLAG="-KPIC"
44093 fi
44094 fi
44095 ;;
44096
44097 *-*-solaris2* )
44098 if test "x$GCC" != xyes ; then
44099 SHARED_LD_CC="${CC} -G -o"
44100 SHARED_LD_CXX="${CXX} -G -o"
44101 PIC_FLAG="-KPIC"
44102 fi
44103 ;;
44104
44105 *-*-darwin* )
44106
44107 echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
44108 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6
44109 if test "${wx_cv_gcc31+set}" = set; then
44110 echo $ECHO_N "(cached) $ECHO_C" >&6
44111 else
44112
44113 cat >conftest.$ac_ext <<_ACEOF
44114 /* confdefs.h. */
44115 _ACEOF
44116 cat confdefs.h >>conftest.$ac_ext
44117 cat >>conftest.$ac_ext <<_ACEOF
44118 /* end confdefs.h. */
44119
44120 int
44121 main ()
44122 {
44123
44124 #if (__GNUC__ < 3) || \
44125 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
44126 #error old gcc
44127 #endif
44128
44129 ;
44130 return 0;
44131 }
44132 _ACEOF
44133 rm -f conftest.$ac_objext
44134 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44135 (eval $ac_compile) 2>conftest.er1
44136 ac_status=$?
44137 grep -v '^ *+' conftest.er1 >conftest.err
44138 rm -f conftest.er1
44139 cat conftest.err >&5
44140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44141 (exit $ac_status); } &&
44142 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
44143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44144 (eval $ac_try) 2>&5
44145 ac_status=$?
44146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44147 (exit $ac_status); }; } &&
44148 { ac_try='test -s conftest.$ac_objext'
44149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44150 (eval $ac_try) 2>&5
44151 ac_status=$?
44152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44153 (exit $ac_status); }; }; then
44154
44155 wx_cv_gcc31=yes
44156
44157 else
44158 echo "$as_me: failed program was:" >&5
44159 sed 's/^/| /' conftest.$ac_ext >&5
44160
44161
44162 wx_cv_gcc31=no
44163
44164
44165 fi
44166 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44167
44168 fi
44169 echo "$as_me:$LINENO: result: $wx_cv_gcc31" >&5
44170 echo "${ECHO_T}$wx_cv_gcc31" >&6
44171 if test "$wx_cv_gcc31" = "no"; then
44172
44173 D='$'
44174 cat <<EOF >shared-ld-sh
44175 #!/bin/sh
44176 #-----------------------------------------------------------------------------
44177 #-- Name: distrib/mac/shared-ld-sh
44178 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
44179 #-- Author: Gilles Depeyrot
44180 #-- Copyright: (c) 2002 Gilles Depeyrot
44181 #-- Licence: any use permitted
44182 #-----------------------------------------------------------------------------
44183
44184 verbose=0
44185 args=""
44186 objects=""
44187 linking_flag="-dynamiclib"
44188 ldargs="-r -keep_private_externs -nostdlib"
44189
44190 while test ${D}# -gt 0; do
44191 case ${D}1 in
44192
44193 -v)
44194 verbose=1
44195 ;;
44196
44197 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
44198 # collect these options and values
44199 args="${D}{args} ${D}1 ${D}2"
44200 shift
44201 ;;
44202
44203 -s|-Wl,*)
44204 # collect these load args
44205 ldargs="${D}{ldargs} ${D}1"
44206 ;;
44207
44208 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
44209 # collect these options
44210 args="${D}{args} ${D}1"
44211 ;;
44212
44213 -dynamiclib|-bundle)
44214 linking_flag="${D}1"
44215 ;;
44216
44217 -*)
44218 echo "shared-ld: unhandled option '${D}1'"
44219 exit 1
44220 ;;
44221
44222 *.o | *.a | *.dylib)
44223 # collect object files
44224 objects="${D}{objects} ${D}1"
44225 ;;
44226
44227 *)
44228 echo "shared-ld: unhandled argument '${D}1'"
44229 exit 1
44230 ;;
44231
44232 esac
44233 shift
44234 done
44235
44236 status=0
44237
44238 #
44239 # Link one module containing all the others
44240 #
44241 if test ${D}{verbose} = 1; then
44242 echo "c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
44243 fi
44244 c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
44245 status=${D}?
44246
44247 #
44248 # Link the shared library from the single module created, but only if the
44249 # previous command didn't fail:
44250 #
44251 if test ${D}{status} = 0; then
44252 if test ${D}{verbose} = 1; then
44253 echo "c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
44254 fi
44255 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
44256 status=${D}?
44257 fi
44258
44259 #
44260 # Remove intermediate module
44261 #
44262 rm -f master.${D}${D}.o
44263
44264 exit ${D}status
44265 EOF
44266
44267 chmod +x shared-ld-sh
44268
44269 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
44270 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
44271 SHARED_LD_CXX="$SHARED_LD_CC"
44272 SHARED_LD_MODULE_CXX="$SHARED_LD_MODULE_CC"
44273 else
44274 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
44275 SHARED_LD_MODULE_CC="\${CC} -bundle -single_module -headerpad_max_install_names -o"
44276 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
44277 SHARED_LD_MODULE_CXX="\${CXX} -bundle -single_module -headerpad_max_install_names -o"
44278 fi
44279
44280 if test "x$GCC" == "xyes"; then
44281 PIC_FLAG="-dynamic -fPIC"
44282 fi
44283 if test "x$XLCC" = "xyes"; then
44284 PIC_FLAG="-dynamic -DPIC"
44285 fi
44286 ;;
44287
44288 *-*-aix* )
44289 if test "x$GCC" = "xyes"; then
44290 PIC_FLAG=""
44291
44292 case "${BAKEFILE_HOST}" in
44293 *-*-aix5* )
44294 LD_EXPFULL="-Wl,-bexpfull"
44295 ;;
44296 esac
44297
44298 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
44299 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
44300 else
44301 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
44302 set dummy makeC++SharedLib; ac_word=$2
44303 echo "$as_me:$LINENO: checking for $ac_word" >&5
44304 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
44305 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
44306 echo $ECHO_N "(cached) $ECHO_C" >&6
44307 else
44308 if test -n "$AIX_CXX_LD"; then
44309 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
44310 else
44311 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
44312 for as_dir in $PATH
44313 do
44314 IFS=$as_save_IFS
44315 test -z "$as_dir" && as_dir=.
44316 for ac_exec_ext in '' $ac_executable_extensions; do
44317 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
44318 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
44319 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44320 break 2
44321 fi
44322 done
44323 done
44324
44325 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
44326 fi
44327 fi
44328 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
44329 if test -n "$AIX_CXX_LD"; then
44330 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
44331 echo "${ECHO_T}$AIX_CXX_LD" >&6
44332 else
44333 echo "$as_me:$LINENO: result: no" >&5
44334 echo "${ECHO_T}no" >&6
44335 fi
44336
44337 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
44338 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
44339 fi
44340 ;;
44341
44342 *-*-beos* )
44343 SHARED_LD_CC="${LD} -nostart -o"
44344 SHARED_LD_CXX="${LD} -nostart -o"
44345 ;;
44346
44347 *-*-irix* )
44348 if test "x$GCC" != "xyes"; then
44349 PIC_FLAG="-KPIC"
44350 fi
44351 ;;
44352
44353 *-*-cygwin* | *-*-mingw32* )
44354 PIC_FLAG=""
44355 SHARED_LD_CC="\$(CC) -shared -o"
44356 SHARED_LD_CXX="\$(CXX) -shared -o"
44357 WINDOWS_IMPLIB=1
44358 ;;
44359
44360 *-pc-os2_emx | *-pc-os2-emx )
44361 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
44362 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
44363 PIC_FLAG=""
44364
44365 D='$'
44366 cat <<EOF >dllar.sh
44367 #!/bin/sh
44368 #
44369 # dllar - a tool to build both a .dll and an .a file
44370 # from a set of object (.o) files for EMX/OS2.
44371 #
44372 # Written by Andrew Zabolotny, bit@freya.etu.ru
44373 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
44374 #
44375 # This script will accept a set of files on the command line.
44376 # All the public symbols from the .o files will be exported into
44377 # a .DEF file, then linker will be run (through gcc) against them to
44378 # build a shared library consisting of all given .o files. All libraries
44379 # (.a) will be first decompressed into component .o files then act as
44380 # described above. You can optionally give a description (-d "description")
44381 # which will be put into .DLL. To see the list of accepted options (as well
44382 # as command-line format) simply run this program without options. The .DLL
44383 # is built to be imported by name (there is no guarantee that new versions
44384 # of the library you build will have same ordinals for same symbols).
44385 #
44386 # dllar is free software; you can redistribute it and/or modify
44387 # it under the terms of the GNU General Public License as published by
44388 # the Free Software Foundation; either version 2, or (at your option)
44389 # any later version.
44390 #
44391 # dllar is distributed in the hope that it will be useful,
44392 # but WITHOUT ANY WARRANTY; without even the implied warranty of
44393 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
44394 # GNU General Public License for more details.
44395 #
44396 # You should have received a copy of the GNU General Public License
44397 # along with dllar; see the file COPYING. If not, write to the Free
44398 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
44399 # 02111-1307, USA.
44400
44401 # To successfuly run this program you will need:
44402 # - Current drive should have LFN support (HPFS, ext2, network, etc)
44403 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
44404 # - gcc
44405 # (used to build the .dll)
44406 # - emxexp
44407 # (used to create .def file from .o files)
44408 # - emximp
44409 # (used to create .a file from .def file)
44410 # - GNU text utilites (cat, sort, uniq)
44411 # used to process emxexp output
44412 # - GNU file utilities (mv, rm)
44413 # - GNU sed
44414 # - lxlite (optional, see flag below)
44415 # (used for general .dll cleanup)
44416 #
44417
44418 flag_USE_LXLITE=1;
44419
44420 #
44421 # helper functions
44422 # basnam, variant of basename, which does _not_ remove the path, _iff_
44423 # second argument (suffix to remove) is given
44424 basnam(){
44425 case ${D}# in
44426 1)
44427 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
44428 ;;
44429 2)
44430 echo ${D}1 | sed 's/'${D}2'${D}//'
44431 ;;
44432 *)
44433 echo "error in basnam ${D}*"
44434 exit 8
44435 ;;
44436 esac
44437 }
44438
44439 # Cleanup temporary files and output
44440 CleanUp() {
44441 cd ${D}curDir
44442 for i in ${D}inputFiles ; do
44443 case ${D}i in
44444 *!)
44445 rm -rf \`basnam ${D}i !\`
44446 ;;
44447 *)
44448 ;;
44449 esac
44450 done
44451
44452 # Kill result in case of failure as there is just to many stupid make/nmake
44453 # things out there which doesn't do this.
44454 if [ ${D}# -eq 0 ]; then
44455 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
44456 fi
44457 }
44458
44459 # Print usage and exit script with rc=1.
44460 PrintHelp() {
44461 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
44462 echo ' [-name-mangler-script script.sh]'
44463 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
44464 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
44465 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
44466 echo ' [*.o] [*.a]'
44467 echo '*> "output_file" should have no extension.'
44468 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
44469 echo ' The import library name is derived from this and is set to "name".a,'
44470 echo ' unless overridden by -import'
44471 echo '*> "importlib_name" should have no extension.'
44472 echo ' If it has the .o, or .a extension, it is automatically removed.'
44473 echo ' This name is used as the import library name and may be longer and'
44474 echo ' more descriptive than the DLL name which has to follow the old '
44475 echo ' 8.3 convention of FAT.'
44476 echo '*> "script.sh may be given to override the output_file name by a'
44477 echo ' different name. It is mainly useful if the regular make process'
44478 echo ' of some package does not take into account OS/2 restriction of'
44479 echo ' DLL name lengths. It takes the importlib name as input and is'
44480 echo ' supposed to procude a shorter name as output. The script should'
44481 echo ' expect to get importlib_name without extension and should produce'
44482 echo ' a (max.) 8 letter name without extension.'
44483 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
44484 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
44485 echo ' These flags will be put at the start of GCC command line.'
44486 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
44487 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
44488 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
44489 echo ' If the last character of a symbol is "*", all symbols beginning'
44490 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
44491 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
44492 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
44493 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
44494 echo ' C runtime DLLs.'
44495 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
44496 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
44497 echo ' unchanged to GCC at the end of command line.'
44498 echo '*> If you create a DLL from a library and you do not specify -o,'
44499 echo ' the basename for DLL and import library will be set to library name,'
44500 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
44501 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
44502 echo ' library will be renamed into gcc_s.a.'
44503 echo '--------'
44504 echo 'Example:'
44505 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
44506 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
44507 CleanUp
44508 exit 1
44509 }
44510
44511 # Execute a command.
44512 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
44513 # @Uses Whatever CleanUp() uses.
44514 doCommand() {
44515 echo "${D}*"
44516 eval ${D}*
44517 rcCmd=${D}?
44518
44519 if [ ${D}rcCmd -ne 0 ]; then
44520 echo "command failed, exit code="${D}rcCmd
44521 CleanUp
44522 exit ${D}rcCmd
44523 fi
44524 }
44525
44526 # main routine
44527 # setup globals
44528 cmdLine=${D}*
44529 outFile=""
44530 outimpFile=""
44531 inputFiles=""
44532 renameScript=""
44533 description=""
44534 CC=gcc.exe
44535 CFLAGS="-s -Zcrtdll"
44536 EXTRA_CFLAGS=""
44537 EXPORT_BY_ORDINALS=0
44538 exclude_symbols=""
44539 library_flags=""
44540 curDir=\`pwd\`
44541 curDirS=curDir
44542 case ${D}curDirS in
44543 */)
44544 ;;
44545 *)
44546 curDirS=${D}{curDirS}"/"
44547 ;;
44548 esac
44549 # Parse commandline
44550 libsToLink=0
44551 omfLinking=0
44552 while [ ${D}1 ]; do
44553 case ${D}1 in
44554 -ord*)
44555 EXPORT_BY_ORDINALS=1;
44556 ;;
44557 -o*)
44558 shift
44559 outFile=${D}1
44560 ;;
44561 -i*)
44562 shift
44563 outimpFile=${D}1
44564 ;;
44565 -name-mangler-script)
44566 shift
44567 renameScript=${D}1
44568 ;;
44569 -d*)
44570 shift
44571 description=${D}1
44572 ;;
44573 -f*)
44574 shift
44575 CFLAGS=${D}1
44576 ;;
44577 -c*)
44578 shift
44579 CC=${D}1
44580 ;;
44581 -h*)
44582 PrintHelp
44583 ;;
44584 -ex*)
44585 shift
44586 exclude_symbols=${D}{exclude_symbols}${D}1" "
44587 ;;
44588 -libf*)
44589 shift
44590 library_flags=${D}{library_flags}${D}1" "
44591 ;;
44592 -nocrt*)
44593 CFLAGS="-s"
44594 ;;
44595 -nolxl*)
44596 flag_USE_LXLITE=0
44597 ;;
44598 -* | /*)
44599 case ${D}1 in
44600 -L* | -l*)
44601 libsToLink=1
44602 ;;
44603 -Zomf)
44604 omfLinking=1
44605 ;;
44606 *)
44607 ;;
44608 esac
44609 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
44610 ;;
44611 *.dll)
44612 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
44613 if [ ${D}omfLinking -eq 1 ]; then
44614 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
44615 else
44616 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
44617 fi
44618 ;;
44619 *)
44620 found=0;
44621 if [ ${D}libsToLink -ne 0 ]; then
44622 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
44623 else
44624 for file in ${D}1 ; do
44625 if [ -f ${D}file ]; then
44626 inputFiles="${D}{inputFiles} ${D}file"
44627 found=1
44628 fi
44629 done
44630 if [ ${D}found -eq 0 ]; then
44631 echo "ERROR: No file(s) found: "${D}1
44632 exit 8
44633 fi
44634 fi
44635 ;;
44636 esac
44637 shift
44638 done # iterate cmdline words
44639
44640 #
44641 if [ -z "${D}inputFiles" ]; then
44642 echo "dllar: no input files"
44643 PrintHelp
44644 fi
44645
44646 # Now extract all .o files from .a files
44647 newInputFiles=""
44648 for file in ${D}inputFiles ; do
44649 case ${D}file in
44650 *.a | *.lib)
44651 case ${D}file in
44652 *.a)
44653 suffix=".a"
44654 AR="ar"
44655 ;;
44656 *.lib)
44657 suffix=".lib"
44658 AR="emxomfar"
44659 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
44660 ;;
44661 *)
44662 ;;
44663 esac
44664 dirname=\`basnam ${D}file ${D}suffix\`"_%"
44665 mkdir ${D}dirname
44666 if [ ${D}? -ne 0 ]; then
44667 echo "Failed to create subdirectory ./${D}dirname"
44668 CleanUp
44669 exit 8;
44670 fi
44671 # Append '!' to indicate archive
44672 newInputFiles="${D}newInputFiles ${D}{dirname}!"
44673 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
44674 cd ${D}curDir
44675 found=0;
44676 for subfile in ${D}dirname/*.o* ; do
44677 if [ -f ${D}subfile ]; then
44678 found=1
44679 if [ -s ${D}subfile ]; then
44680 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
44681 newInputFiles="${D}newInputFiles ${D}subfile"
44682 fi
44683 fi
44684 done
44685 if [ ${D}found -eq 0 ]; then
44686 echo "WARNING: there are no files in archive \\'${D}file\\'"
44687 fi
44688 ;;
44689 *)
44690 newInputFiles="${D}{newInputFiles} ${D}file"
44691 ;;
44692 esac
44693 done
44694 inputFiles="${D}newInputFiles"
44695
44696 # Output filename(s).
44697 do_backup=0;
44698 if [ -z ${D}outFile ]; then
44699 do_backup=1;
44700 set outFile ${D}inputFiles; outFile=${D}2
44701 fi
44702
44703 # If it is an archive, remove the '!' and the '_%' suffixes
44704 case ${D}outFile in
44705 *_%!)
44706 outFile=\`basnam ${D}outFile _%!\`
44707 ;;
44708 *)
44709 ;;
44710 esac
44711 case ${D}outFile in
44712 *.dll)
44713 outFile=\`basnam ${D}outFile .dll\`
44714 ;;
44715 *.DLL)
44716 outFile=\`basnam ${D}outFile .DLL\`
44717 ;;
44718 *.o)
44719 outFile=\`basnam ${D}outFile .o\`
44720 ;;
44721 *.obj)
44722 outFile=\`basnam ${D}outFile .obj\`
44723 ;;
44724 *.a)
44725 outFile=\`basnam ${D}outFile .a\`
44726 ;;
44727 *.lib)
44728 outFile=\`basnam ${D}outFile .lib\`
44729 ;;
44730 *)
44731 ;;
44732 esac
44733 case ${D}outimpFile in
44734 *.a)
44735 outimpFile=\`basnam ${D}outimpFile .a\`
44736 ;;
44737 *.lib)
44738 outimpFile=\`basnam ${D}outimpFile .lib\`
44739 ;;
44740 *)
44741 ;;
44742 esac
44743 if [ -z ${D}outimpFile ]; then
44744 outimpFile=${D}outFile
44745 fi
44746 defFile="${D}{outFile}.def"
44747 arcFile="${D}{outimpFile}.a"
44748 arcFile2="${D}{outimpFile}.lib"
44749
44750 #create ${D}dllFile as something matching 8.3 restrictions,
44751 if [ -z ${D}renameScript ] ; then
44752 dllFile="${D}outFile"
44753 else
44754 dllFile=\`${D}renameScript ${D}outimpFile\`
44755 fi
44756
44757 if [ ${D}do_backup -ne 0 ] ; then
44758 if [ -f ${D}arcFile ] ; then
44759 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
44760 fi
44761 if [ -f ${D}arcFile2 ] ; then
44762 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
44763 fi
44764 fi
44765
44766 # Extract public symbols from all the object files.
44767 tmpdefFile=${D}{defFile}_%
44768 rm -f ${D}tmpdefFile
44769 for file in ${D}inputFiles ; do
44770 case ${D}file in
44771 *!)
44772 ;;
44773 *)
44774 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
44775 ;;
44776 esac
44777 done
44778
44779 # Create the def file.
44780 rm -f ${D}defFile
44781 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
44782 dllFile="${D}{dllFile}.dll"
44783 if [ ! -z ${D}description ]; then
44784 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
44785 fi
44786 echo "EXPORTS" >> ${D}defFile
44787
44788 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
44789 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
44790
44791 # Checks if the export is ok or not.
44792 for word in ${D}exclude_symbols; do
44793 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
44794 mv ${D}{tmpdefFile}% ${D}tmpdefFile
44795 done
44796
44797
44798 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
44799 sed "=" < ${D}tmpdefFile | \\
44800 sed '
44801 N
44802 : loop
44803 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
44804 t loop
44805 ' > ${D}{tmpdefFile}%
44806 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
44807 else
44808 rm -f ${D}{tmpdefFile}%
44809 fi
44810 cat ${D}tmpdefFile >> ${D}defFile
44811 rm -f ${D}tmpdefFile
44812
44813 # Do linking, create implib, and apply lxlite.
44814 gccCmdl="";
44815 for file in ${D}inputFiles ; do
44816 case ${D}file in
44817 *!)
44818 ;;
44819 *)
44820 gccCmdl="${D}gccCmdl ${D}file"
44821 ;;
44822 esac
44823 done
44824 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
44825 touch "${D}{outFile}.dll"
44826
44827 doCommand "emximp -o ${D}arcFile ${D}defFile"
44828 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
44829 add_flags="";
44830 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
44831 add_flags="-ynd"
44832 fi
44833 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
44834 fi
44835 doCommand "emxomf -s -l ${D}arcFile"
44836
44837 # Successful exit.
44838 CleanUp 1
44839 exit 0
44840 EOF
44841
44842 chmod +x dllar.sh
44843 ;;
44844
44845 powerpc-apple-macos* | \
44846 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
44847 *-*-sunos4* | \
44848 *-*-osf* | \
44849 *-*-dgux5* | \
44850 *-*-sysv5* | \
44851 *-pc-msdosdjgpp )
44852 ;;
44853
44854 *)
44855 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
44856 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
44857 { (exit 1); exit 1; }; }
44858 esac
44859
44860 if test "x$PIC_FLAG" != "x" ; then
44861 PIC_FLAG="$PIC_FLAG -DPIC"
44862 fi
44863
44864 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
44865 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
44866 fi
44867 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
44868 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
44869 fi
44870
44871
44872
44873
44874
44875
44876
44877
44878
44879 USE_SOVERSION=0
44880 USE_SOVERLINUX=0
44881 USE_SOVERSOLARIS=0
44882 USE_SOVERCYGWIN=0
44883 USE_SOSYMLINKS=0
44884 USE_MACVERSION=0
44885 SONAME_FLAG=
44886
44887 case "${BAKEFILE_HOST}" in
44888 *-*-linux* | *-*-freebsd* | *-*-k*bsd*-gnu )
44889 SONAME_FLAG="-Wl,-soname,"
44890 USE_SOVERSION=1
44891 USE_SOVERLINUX=1
44892 USE_SOSYMLINKS=1
44893 ;;
44894
44895 *-*-solaris2* )
44896 SONAME_FLAG="-h "
44897 USE_SOVERSION=1
44898 USE_SOVERSOLARIS=1
44899 USE_SOSYMLINKS=1
44900 ;;
44901
44902 *-*-darwin* )
44903 USE_MACVERSION=1
44904 USE_SOVERSION=1
44905 USE_SOSYMLINKS=1
44906 ;;
44907
44908 *-*-cygwin* )
44909 USE_SOVERSION=1
44910 USE_SOVERCYGWIN=1
44911 ;;
44912 esac
44913
44914
44915
44916
44917
44918
44919
44920
44921
44922
44923 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
44924 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
44925 DEPS_TRACKING=1
44926
44927 if test "x$GCC" = "xyes"; then
44928 DEPSMODE=gcc
44929 case "${BAKEFILE_HOST}" in
44930 *-*-darwin* )
44931 DEPSFLAG="-no-cpp-precomp -MMD"
44932 ;;
44933 * )
44934 DEPSFLAG="-MMD"
44935 ;;
44936 esac
44937 echo "$as_me:$LINENO: result: gcc" >&5
44938 echo "${ECHO_T}gcc" >&6
44939 elif test "x$MWCC" = "xyes"; then
44940 DEPSMODE=mwcc
44941 DEPSFLAG="-MM"
44942 echo "$as_me:$LINENO: result: mwcc" >&5
44943 echo "${ECHO_T}mwcc" >&6
44944 elif test "x$SUNCC" = "xyes"; then
44945 DEPSMODE=unixcc
44946 DEPSFLAG="-xM1"
44947 echo "$as_me:$LINENO: result: Sun cc" >&5
44948 echo "${ECHO_T}Sun cc" >&6
44949 elif test "x$SGICC" = "xyes"; then
44950 DEPSMODE=unixcc
44951 DEPSFLAG="-M"
44952 echo "$as_me:$LINENO: result: SGI cc" >&5
44953 echo "${ECHO_T}SGI cc" >&6
44954 elif test "x$HPCC" = "xyes"; then
44955 DEPSMODE=unixcc
44956 DEPSFLAG="+make"
44957 echo "$as_me:$LINENO: result: HP cc" >&5
44958 echo "${ECHO_T}HP cc" >&6
44959 else
44960 DEPS_TRACKING=0
44961 echo "$as_me:$LINENO: result: none" >&5
44962 echo "${ECHO_T}none" >&6
44963 fi
44964
44965 if test $DEPS_TRACKING = 1 ; then
44966
44967 D='$'
44968 cat <<EOF >bk-deps
44969 #!/bin/sh
44970
44971 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
44972 # script. It is used to track C/C++ files dependencies in portable way.
44973 #
44974 # Permission is given to use this file in any way.
44975
44976 DEPSMODE=${DEPSMODE}
44977 DEPSDIR=.deps
44978 DEPSFLAG="${DEPSFLAG}"
44979
44980 mkdir -p ${D}DEPSDIR
44981
44982 if test ${D}DEPSMODE = gcc ; then
44983 ${D}* ${D}{DEPSFLAG}
44984 status=${D}?
44985 if test ${D}{status} != 0 ; then
44986 exit ${D}{status}
44987 fi
44988 # move created file to the location we want it in:
44989 while test ${D}# -gt 0; do
44990 case "${D}1" in
44991 -o )
44992 shift
44993 objfile=${D}1
44994 ;;
44995 -* )
44996 ;;
44997 * )
44998 srcfile=${D}1
44999 ;;
45000 esac
45001 shift
45002 done
45003 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
45004 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
45005 if test -f ${D}depfile ; then
45006 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
45007 rm -f ${D}depfile
45008 else
45009 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
45010 if test -f ${D}depfile ; then
45011 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
45012 rm -f ${D}depfile
45013 fi
45014 fi
45015 exit 0
45016 elif test ${D}DEPSMODE = mwcc ; then
45017 ${D}* || exit ${D}?
45018 # Run mwcc again with -MM and redirect into the dep file we want
45019 # NOTE: We can't use shift here because we need ${D}* to be valid
45020 prevarg=
45021 for arg in ${D}* ; do
45022 if test "${D}prevarg" = "-o"; then
45023 objfile=${D}arg
45024 else
45025 case "${D}arg" in
45026 -* )
45027 ;;
45028 * )
45029 srcfile=${D}arg
45030 ;;
45031 esac
45032 fi
45033 prevarg="${D}arg"
45034 done
45035 ${D}* ${D}DEPSFLAG >${D}{DEPSDIR}/${D}{objfile}.d
45036 exit 0
45037 elif test ${D}DEPSMODE = unixcc; then
45038 ${D}* || exit ${D}?
45039 # Run compiler again with deps flag and redirect into the dep file.
45040 # It doesn't work if the '-o FILE' option is used, but without it the
45041 # dependency file will contain the wrong name for the object. So it is
45042 # removed from the command line, and the dep file is fixed with sed.
45043 cmd=""
45044 while test ${D}# -gt 0; do
45045 case "${D}1" in
45046 -o )
45047 shift
45048 objfile=${D}1
45049 ;;
45050 * )
45051 eval arg${D}#=\\${D}1
45052 cmd="${D}cmd \\${D}arg${D}#"
45053 ;;
45054 esac
45055 shift
45056 done
45057 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
45058 exit 0
45059 else
45060 ${D}*
45061 exit ${D}?
45062 fi
45063 EOF
45064
45065 chmod +x bk-deps
45066 fi
45067
45068
45069
45070
45071 RESCOMP=
45072 SETFILE=
45073
45074 case ${BAKEFILE_HOST} in
45075 *-*-cygwin* | *-*-mingw32* )
45076 if test "$build" != "$host" ; then
45077 RESCOMP=$host_alias-windres
45078 else
45079 # Extract the first word of "windres", so it can be a program name with args.
45080 set dummy windres; ac_word=$2
45081 echo "$as_me:$LINENO: checking for $ac_word" >&5
45082 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45083 if test "${ac_cv_prog_RESCOMP+set}" = set; then
45084 echo $ECHO_N "(cached) $ECHO_C" >&6
45085 else
45086 if test -n "$RESCOMP"; then
45087 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
45088 else
45089 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45090 for as_dir in $PATH
45091 do
45092 IFS=$as_save_IFS
45093 test -z "$as_dir" && as_dir=.
45094 for ac_exec_ext in '' $ac_executable_extensions; do
45095 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45096 ac_cv_prog_RESCOMP="windres"
45097 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45098 break 2
45099 fi
45100 done
45101 done
45102
45103 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="windres"
45104 fi
45105 fi
45106 RESCOMP=$ac_cv_prog_RESCOMP
45107 if test -n "$RESCOMP"; then
45108 echo "$as_me:$LINENO: result: $RESCOMP" >&5
45109 echo "${ECHO_T}$RESCOMP" >&6
45110 else
45111 echo "$as_me:$LINENO: result: no" >&5
45112 echo "${ECHO_T}no" >&6
45113 fi
45114
45115 fi
45116 ;;
45117
45118 *-*-darwin* | powerpc-apple-macos* )
45119 # Extract the first word of "Rez", so it can be a program name with args.
45120 set dummy Rez; ac_word=$2
45121 echo "$as_me:$LINENO: checking for $ac_word" >&5
45122 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45123 if test "${ac_cv_prog_RESCOMP+set}" = set; then
45124 echo $ECHO_N "(cached) $ECHO_C" >&6
45125 else
45126 if test -n "$RESCOMP"; then
45127 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
45128 else
45129 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45130 for as_dir in $PATH
45131 do
45132 IFS=$as_save_IFS
45133 test -z "$as_dir" && as_dir=.
45134 for ac_exec_ext in '' $ac_executable_extensions; do
45135 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45136 ac_cv_prog_RESCOMP="Rez"
45137 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45138 break 2
45139 fi
45140 done
45141 done
45142
45143 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="/Developer/Tools/Rez"
45144 fi
45145 fi
45146 RESCOMP=$ac_cv_prog_RESCOMP
45147 if test -n "$RESCOMP"; then
45148 echo "$as_me:$LINENO: result: $RESCOMP" >&5
45149 echo "${ECHO_T}$RESCOMP" >&6
45150 else
45151 echo "$as_me:$LINENO: result: no" >&5
45152 echo "${ECHO_T}no" >&6
45153 fi
45154
45155 # Extract the first word of "SetFile", so it can be a program name with args.
45156 set dummy SetFile; ac_word=$2
45157 echo "$as_me:$LINENO: checking for $ac_word" >&5
45158 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45159 if test "${ac_cv_prog_SETFILE+set}" = set; then
45160 echo $ECHO_N "(cached) $ECHO_C" >&6
45161 else
45162 if test -n "$SETFILE"; then
45163 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
45164 else
45165 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45166 for as_dir in $PATH
45167 do
45168 IFS=$as_save_IFS
45169 test -z "$as_dir" && as_dir=.
45170 for ac_exec_ext in '' $ac_executable_extensions; do
45171 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45172 ac_cv_prog_SETFILE="SetFile"
45173 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45174 break 2
45175 fi
45176 done
45177 done
45178
45179 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
45180 fi
45181 fi
45182 SETFILE=$ac_cv_prog_SETFILE
45183 if test -n "$SETFILE"; then
45184 echo "$as_me:$LINENO: result: $SETFILE" >&5
45185 echo "${ECHO_T}$SETFILE" >&6
45186 else
45187 echo "$as_me:$LINENO: result: no" >&5
45188 echo "${ECHO_T}no" >&6
45189 fi
45190
45191 ;;
45192 esac
45193
45194
45195
45196
45197
45198 BAKEFILE_BAKEFILE_M4_VERSION="0.1.9"
45199
45200
45201 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.1.9"
45202
45203
45204
45205 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
45206 if test "${enable_precomp_headers+set}" = set; then
45207 enableval="$enable_precomp_headers"
45208 bk_use_pch="$enableval"
45209 fi;
45210
45211 GCC_PCH=0
45212
45213 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
45214 if test "x$GCC" = "xyes"; then
45215 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
45216 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
45217 cat >conftest.$ac_ext <<_ACEOF
45218 /* confdefs.h. */
45219 _ACEOF
45220 cat confdefs.h >>conftest.$ac_ext
45221 cat >>conftest.$ac_ext <<_ACEOF
45222 /* end confdefs.h. */
45223
45224 int
45225 main ()
45226 {
45227
45228 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
45229 #error "no pch support"
45230 #endif
45231 #if (__GNUC__ < 3)
45232 #error "no pch support"
45233 #endif
45234 #if (__GNUC__ == 3) && \
45235 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
45236 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3)))
45237 #error "no pch support"
45238 #endif
45239
45240 ;
45241 return 0;
45242 }
45243 _ACEOF
45244 rm -f conftest.$ac_objext
45245 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45246 (eval $ac_compile) 2>conftest.er1
45247 ac_status=$?
45248 grep -v '^ *+' conftest.er1 >conftest.err
45249 rm -f conftest.er1
45250 cat conftest.err >&5
45251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45252 (exit $ac_status); } &&
45253 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
45254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45255 (eval $ac_try) 2>&5
45256 ac_status=$?
45257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45258 (exit $ac_status); }; } &&
45259 { ac_try='test -s conftest.$ac_objext'
45260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45261 (eval $ac_try) 2>&5
45262 ac_status=$?
45263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45264 (exit $ac_status); }; }; then
45265
45266 echo "$as_me:$LINENO: result: yes" >&5
45267 echo "${ECHO_T}yes" >&6
45268 GCC_PCH=1
45269
45270 else
45271 echo "$as_me: failed program was:" >&5
45272 sed 's/^/| /' conftest.$ac_ext >&5
45273
45274
45275 echo "$as_me:$LINENO: result: no" >&5
45276 echo "${ECHO_T}no" >&6
45277
45278 fi
45279 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45280 if test $GCC_PCH = 1 ; then
45281
45282 D='$'
45283 cat <<EOF >bk-make-pch
45284 #!/bin/sh
45285
45286 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
45287 # script. It is used to generated precompiled headers.
45288 #
45289 # Permission is given to use this file in any way.
45290
45291 outfile="${D}{1}"
45292 header="${D}{2}"
45293 shift
45294 shift
45295
45296 compiler=
45297 headerfile=
45298 while test ${D}{#} -gt 0; do
45299 case "${D}{1}" in
45300 -I* )
45301 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
45302 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
45303 headerfile="${D}{incdir}/${D}{header}"
45304 fi
45305 ;;
45306 esac
45307 compiler="${D}{compiler} ${D}{1}"
45308 shift
45309 done
45310
45311 if test "x${D}{headerfile}" = "x" ; then
45312 echo "error: can't find header ${D}{header} in include paths" >2
45313 else
45314 if test -f ${D}{outfile} ; then
45315 rm -f ${D}{outfile}
45316 else
45317 mkdir -p \`dirname ${D}{outfile}\`
45318 fi
45319 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
45320 mkdir -p .deps
45321 # can do this because gcc is >= 3.4:
45322 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
45323 exit ${D}{?}
45324 fi
45325 EOF
45326
45327 chmod +x bk-make-pch
45328 fi
45329 fi
45330 fi
45331
45332
45333
45334 COND_BUILD_DEBUG="#"
45335 if test "x$BUILD" = "xdebug" ; then
45336 COND_BUILD_DEBUG=""
45337 fi
45338
45339 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
45340 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
45341 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
45342 fi
45343
45344 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
45345 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
45346 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
45347 fi
45348
45349 COND_BUILD_DEBUG_UNICODE_0="#"
45350 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
45351 COND_BUILD_DEBUG_UNICODE_0=""
45352 fi
45353
45354 COND_BUILD_DEBUG_UNICODE_1="#"
45355 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
45356 COND_BUILD_DEBUG_UNICODE_1=""
45357 fi
45358
45359 COND_BUILD_RELEASE="#"
45360 if test "x$BUILD" = "xrelease" ; then
45361 COND_BUILD_RELEASE=""
45362 fi
45363
45364 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
45365 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
45366 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
45367 fi
45368
45369 COND_BUILD_RELEASE_UNICODE_0="#"
45370 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
45371 COND_BUILD_RELEASE_UNICODE_0=""
45372 fi
45373
45374 COND_BUILD_RELEASE_UNICODE_1="#"
45375 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
45376 COND_BUILD_RELEASE_UNICODE_1=""
45377 fi
45378
45379 COND_DEBUG_FLAG_1="#"
45380 if test "x$DEBUG_FLAG" = "x1" ; then
45381 COND_DEBUG_FLAG_1=""
45382 fi
45383
45384 COND_DEBUG_INFO_0="#"
45385 if test "x$DEBUG_INFO" = "x0" ; then
45386 COND_DEBUG_INFO_0=""
45387 fi
45388
45389 COND_DEBUG_INFO_1="#"
45390 if test "x$DEBUG_INFO" = "x1" ; then
45391 COND_DEBUG_INFO_1=""
45392 fi
45393
45394 COND_DEPS_TRACKING_0="#"
45395 if test "x$DEPS_TRACKING" = "x0" ; then
45396 COND_DEPS_TRACKING_0=""
45397 fi
45398
45399 COND_DEPS_TRACKING_1="#"
45400 if test "x$DEPS_TRACKING" = "x1" ; then
45401 COND_DEPS_TRACKING_1=""
45402 fi
45403
45404 COND_GCC_PCH_1="#"
45405 if test "x$GCC_PCH" = "x1" ; then
45406 COND_GCC_PCH_1=""
45407 fi
45408
45409 COND_MONOLITHIC_0="#"
45410 if test "x$MONOLITHIC" = "x0" ; then
45411 COND_MONOLITHIC_0=""
45412 fi
45413
45414 COND_MONOLITHIC_0_SHARED_0="#"
45415 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
45416 COND_MONOLITHIC_0_SHARED_0=""
45417 fi
45418
45419 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
45420 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
45421 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
45422 fi
45423
45424 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
45425 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
45426 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
45427 fi
45428
45429 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1="#"
45430 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
45431 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1=""
45432 fi
45433
45434 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
45435 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
45436 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
45437 fi
45438
45439 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1="#"
45440 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
45441 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1=""
45442 fi
45443
45444 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
45445 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
45446 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
45447 fi
45448
45449 COND_MONOLITHIC_0_SHARED_1="#"
45450 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
45451 COND_MONOLITHIC_0_SHARED_1=""
45452 fi
45453
45454 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
45455 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
45456 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
45457 fi
45458
45459 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
45460 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
45461 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
45462 fi
45463
45464 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1="#"
45465 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
45466 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1=""
45467 fi
45468
45469 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
45470 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
45471 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
45472 fi
45473
45474 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1="#"
45475 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
45476 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1=""
45477 fi
45478
45479 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
45480 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
45481 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
45482 fi
45483
45484 COND_MONOLITHIC_0_USE_ODBC_1="#"
45485 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
45486 COND_MONOLITHIC_0_USE_ODBC_1=""
45487 fi
45488
45489 COND_MONOLITHIC_1="#"
45490 if test "x$MONOLITHIC" = "x1" ; then
45491 COND_MONOLITHIC_1=""
45492 fi
45493
45494 COND_MONOLITHIC_1_SHARED_0="#"
45495 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
45496 COND_MONOLITHIC_1_SHARED_0=""
45497 fi
45498
45499 COND_MONOLITHIC_1_SHARED_1="#"
45500 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
45501 COND_MONOLITHIC_1_SHARED_1=""
45502 fi
45503
45504 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
45505 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
45506 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
45507 fi
45508
45509 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
45510 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
45511 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
45512 fi
45513
45514 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
45515 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
45516 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
45517 fi
45518
45519 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
45520 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
45521 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
45522 fi
45523
45524 COND_PLATFORM_MACOSX_1="#"
45525 if test "x$PLATFORM_MACOSX" = "x1" ; then
45526 COND_PLATFORM_MACOSX_1=""
45527 fi
45528
45529 COND_PLATFORM_MACOSX_1_TOOLKIT_="#"
45530 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
45531 COND_PLATFORM_MACOSX_1_TOOLKIT_=""
45532 fi
45533
45534 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#"
45535 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
45536 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA=""
45537 fi
45538
45539 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="#"
45540 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
45541 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK=""
45542 fi
45543
45544 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="#"
45545 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
45546 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC=""
45547 fi
45548
45549 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1="#"
45550 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
45551 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1=""
45552 fi
45553
45554 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
45555 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
45556 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
45557 fi
45558
45559 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF="#"
45560 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
45561 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF=""
45562 fi
45563
45564 COND_PLATFORM_MACOSX_1_TOOLKIT_X11="#"
45565 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
45566 COND_PLATFORM_MACOSX_1_TOOLKIT_X11=""
45567 fi
45568
45569 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
45570 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
45571 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
45572 fi
45573
45574 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
45575 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
45576 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
45577 fi
45578
45579 COND_PLATFORM_MACOS_1="#"
45580 if test "x$PLATFORM_MACOS" = "x1" ; then
45581 COND_PLATFORM_MACOS_1=""
45582 fi
45583
45584 COND_PLATFORM_MAC_1="#"
45585 if test "x$PLATFORM_MAC" = "x1" ; then
45586 COND_PLATFORM_MAC_1=""
45587 fi
45588
45589 COND_PLATFORM_MSDOS_1="#"
45590 if test "x$PLATFORM_MSDOS" = "x1" ; then
45591 COND_PLATFORM_MSDOS_1=""
45592 fi
45593
45594 COND_PLATFORM_OS2_1="#"
45595 if test "x$PLATFORM_OS2" = "x1" ; then
45596 COND_PLATFORM_OS2_1=""
45597 fi
45598
45599 COND_PLATFORM_UNIX_0="#"
45600 if test "x$PLATFORM_UNIX" = "x0" ; then
45601 COND_PLATFORM_UNIX_0=""
45602 fi
45603
45604 COND_PLATFORM_UNIX_1="#"
45605 if test "x$PLATFORM_UNIX" = "x1" ; then
45606 COND_PLATFORM_UNIX_1=""
45607 fi
45608
45609 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
45610 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
45611 COND_PLATFORM_UNIX_1_USE_GUI_1=""
45612 fi
45613
45614 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
45615 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
45616 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
45617 fi
45618
45619 COND_PLATFORM_WIN32_0="#"
45620 if test "x$PLATFORM_WIN32" = "x0" ; then
45621 COND_PLATFORM_WIN32_0=""
45622 fi
45623
45624 COND_PLATFORM_WIN32_1="#"
45625 if test "x$PLATFORM_WIN32" = "x1" ; then
45626 COND_PLATFORM_WIN32_1=""
45627 fi
45628
45629 COND_SHARED_0="#"
45630 if test "x$SHARED" = "x0" ; then
45631 COND_SHARED_0=""
45632 fi
45633
45634 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
45635 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
45636 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
45637 fi
45638
45639 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
45640 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
45641 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
45642 fi
45643
45644 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
45645 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
45646 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
45647 fi
45648
45649 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
45650 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
45651 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
45652 fi
45653
45654 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
45655 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
45656 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
45657 fi
45658
45659 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
45660 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
45661 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
45662 fi
45663
45664 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
45665 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
45666 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
45667 fi
45668
45669 COND_SHARED_0_USE_XRC_1="#"
45670 if test "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
45671 COND_SHARED_0_USE_XRC_1=""
45672 fi
45673
45674 COND_SHARED_0_WXUSE_EXPAT_BUILTIN="#"
45675 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
45676 COND_SHARED_0_WXUSE_EXPAT_BUILTIN=""
45677 fi
45678
45679 COND_SHARED_0_WXUSE_ODBC_BUILTIN="#"
45680 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
45681 COND_SHARED_0_WXUSE_ODBC_BUILTIN=""
45682 fi
45683
45684 COND_SHARED_0_WXUSE_REGEX_BUILTIN="#"
45685 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
45686 COND_SHARED_0_WXUSE_REGEX_BUILTIN=""
45687 fi
45688
45689 COND_SHARED_0_WXUSE_ZLIB_BUILTIN="#"
45690 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
45691 COND_SHARED_0_WXUSE_ZLIB_BUILTIN=""
45692 fi
45693
45694 COND_SHARED_1="#"
45695 if test "x$SHARED" = "x1" ; then
45696 COND_SHARED_1=""
45697 fi
45698
45699 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
45700 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
45701 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
45702 fi
45703
45704 COND_SHARED_1_USE_XRC_1="#"
45705 if test "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
45706 COND_SHARED_1_USE_XRC_1=""
45707 fi
45708
45709 COND_TOOLKIT_="#"
45710 if test "x$TOOLKIT" = "x" ; then
45711 COND_TOOLKIT_=""
45712 fi
45713
45714 COND_TOOLKIT_COCOA="#"
45715 if test "x$TOOLKIT" = "xCOCOA" ; then
45716 COND_TOOLKIT_COCOA=""
45717 fi
45718
45719 COND_TOOLKIT_COCOA_USE_GUI_1="#"
45720 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
45721 COND_TOOLKIT_COCOA_USE_GUI_1=""
45722 fi
45723
45724 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
45725 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
45726 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
45727 fi
45728
45729 COND_TOOLKIT_GTK="#"
45730 if test "x$TOOLKIT" = "xGTK" ; then
45731 COND_TOOLKIT_GTK=""
45732 fi
45733
45734 COND_TOOLKIT_GTK_USE_GUI_1="#"
45735 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
45736 COND_TOOLKIT_GTK_USE_GUI_1=""
45737 fi
45738
45739 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0="#"
45740 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
45741 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0=""
45742 fi
45743
45744 COND_TOOLKIT_MAC="#"
45745 if test "x$TOOLKIT" = "xMAC" ; then
45746 COND_TOOLKIT_MAC=""
45747 fi
45748
45749 COND_TOOLKIT_MAC_USE_GUI_1="#"
45750 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
45751 COND_TOOLKIT_MAC_USE_GUI_1=""
45752 fi
45753
45754 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
45755 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
45756 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
45757 fi
45758
45759 COND_TOOLKIT_MGL="#"
45760 if test "x$TOOLKIT" = "xMGL" ; then
45761 COND_TOOLKIT_MGL=""
45762 fi
45763
45764 COND_TOOLKIT_MGL_USE_GUI_1="#"
45765 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
45766 COND_TOOLKIT_MGL_USE_GUI_1=""
45767 fi
45768
45769 COND_TOOLKIT_MOTIF="#"
45770 if test "x$TOOLKIT" = "xMOTIF" ; then
45771 COND_TOOLKIT_MOTIF=""
45772 fi
45773
45774 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
45775 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
45776 COND_TOOLKIT_MOTIF_USE_GUI_1=""
45777 fi
45778
45779 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
45780 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
45781 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
45782 fi
45783
45784 COND_TOOLKIT_MSW="#"
45785 if test "x$TOOLKIT" = "xMSW" ; then
45786 COND_TOOLKIT_MSW=""
45787 fi
45788
45789 COND_TOOLKIT_MSW_USE_GUI_1="#"
45790 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
45791 COND_TOOLKIT_MSW_USE_GUI_1=""
45792 fi
45793
45794 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
45795 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
45796 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
45797 fi
45798
45799 COND_TOOLKIT_MSW_WXUNIV_0="#"
45800 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
45801 COND_TOOLKIT_MSW_WXUNIV_0=""
45802 fi
45803
45804 COND_TOOLKIT_PM="#"
45805 if test "x$TOOLKIT" = "xPM" ; then
45806 COND_TOOLKIT_PM=""
45807 fi
45808
45809 COND_TOOLKIT_PM_USE_GUI_1="#"
45810 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
45811 COND_TOOLKIT_PM_USE_GUI_1=""
45812 fi
45813
45814 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
45815 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
45816 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
45817 fi
45818
45819 COND_TOOLKIT_WINCE="#"
45820 if test "x$TOOLKIT" = "xWINCE" ; then
45821 COND_TOOLKIT_WINCE=""
45822 fi
45823
45824 COND_TOOLKIT_WINCE_USE_GUI_1="#"
45825 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
45826 COND_TOOLKIT_WINCE_USE_GUI_1=""
45827 fi
45828
45829 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
45830 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
45831 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
45832 fi
45833
45834 COND_TOOLKIT_WINCE_WXUNIV_0="#"
45835 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
45836 COND_TOOLKIT_WINCE_WXUNIV_0=""
45837 fi
45838
45839 COND_TOOLKIT_X11="#"
45840 if test "x$TOOLKIT" = "xX11" ; then
45841 COND_TOOLKIT_X11=""
45842 fi
45843
45844 COND_TOOLKIT_X11_USE_GUI_1="#"
45845 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
45846 COND_TOOLKIT_X11_USE_GUI_1=""
45847 fi
45848
45849 COND_UNICODE_1="#"
45850 if test "x$UNICODE" = "x1" ; then
45851 COND_UNICODE_1=""
45852 fi
45853
45854 COND_USE_EXCEPTIONS_0="#"
45855 if test "x$USE_EXCEPTIONS" = "x0" ; then
45856 COND_USE_EXCEPTIONS_0=""
45857 fi
45858
45859 COND_USE_EXCEPTIONS_1="#"
45860 if test "x$USE_EXCEPTIONS" = "x1" ; then
45861 COND_USE_EXCEPTIONS_1=""
45862 fi
45863
45864 COND_USE_GUI_0="#"
45865 if test "x$USE_GUI" = "x0" ; then
45866 COND_USE_GUI_0=""
45867 fi
45868
45869 COND_USE_GUI_1="#"
45870 if test "x$USE_GUI" = "x1" ; then
45871 COND_USE_GUI_1=""
45872 fi
45873
45874 COND_USE_GUI_1_WXUNIV_0="#"
45875 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
45876 COND_USE_GUI_1_WXUNIV_0=""
45877 fi
45878
45879 COND_USE_GUI_1_WXUNIV_1="#"
45880 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
45881 COND_USE_GUI_1_WXUNIV_1=""
45882 fi
45883
45884 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
45885 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
45886 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
45887 fi
45888
45889 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
45890 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
45891 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
45892 fi
45893
45894 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
45895 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
45896 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
45897 fi
45898
45899 COND_USE_ODBC_1="#"
45900 if test "x$USE_ODBC" = "x1" ; then
45901 COND_USE_ODBC_1=""
45902 fi
45903
45904 COND_USE_OPENGL_1="#"
45905 if test "x$USE_OPENGL" = "x1" ; then
45906 COND_USE_OPENGL_1=""
45907 fi
45908
45909 COND_USE_PLUGINS_0="#"
45910 if test "x$USE_PLUGINS" = "x0" ; then
45911 COND_USE_PLUGINS_0=""
45912 fi
45913
45914 COND_USE_RTTI_0="#"
45915 if test "x$USE_RTTI" = "x0" ; then
45916 COND_USE_RTTI_0=""
45917 fi
45918
45919 COND_USE_RTTI_1="#"
45920 if test "x$USE_RTTI" = "x1" ; then
45921 COND_USE_RTTI_1=""
45922 fi
45923
45924 COND_USE_SOSYMLINKS_1="#"
45925 if test "x$USE_SOSYMLINKS" = "x1" ; then
45926 COND_USE_SOSYMLINKS_1=""
45927 fi
45928
45929 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
45930 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
45931 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
45932 fi
45933
45934 COND_USE_SOVERLINUX_1="#"
45935 if test "x$USE_SOVERLINUX" = "x1" ; then
45936 COND_USE_SOVERLINUX_1=""
45937 fi
45938
45939 COND_USE_SOVERSION_0="#"
45940 if test "x$USE_SOVERSION" = "x0" ; then
45941 COND_USE_SOVERSION_0=""
45942 fi
45943
45944 COND_USE_SOVERSOLARIS_1="#"
45945 if test "x$USE_SOVERSOLARIS" = "x1" ; then
45946 COND_USE_SOVERSOLARIS_1=""
45947 fi
45948
45949 COND_USE_THREADS_0="#"
45950 if test "x$USE_THREADS" = "x0" ; then
45951 COND_USE_THREADS_0=""
45952 fi
45953
45954 COND_USE_THREADS_1="#"
45955 if test "x$USE_THREADS" = "x1" ; then
45956 COND_USE_THREADS_1=""
45957 fi
45958
45959 COND_USE_XRC_1="#"
45960 if test "x$USE_XRC" = "x1" ; then
45961 COND_USE_XRC_1=""
45962 fi
45963
45964 COND_WINDOWS_IMPLIB_1="#"
45965 if test "x$WINDOWS_IMPLIB" = "x1" ; then
45966 COND_WINDOWS_IMPLIB_1=""
45967 fi
45968
45969 COND_WITH_PLUGIN_SDL_1="#"
45970 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
45971 COND_WITH_PLUGIN_SDL_1=""
45972 fi
45973
45974 COND_WXUNIV_0="#"
45975 if test "x$WXUNIV" = "x0" ; then
45976 COND_WXUNIV_0=""
45977 fi
45978
45979 COND_WXUNIV_1="#"
45980 if test "x$WXUNIV" = "x1" ; then
45981 COND_WXUNIV_1=""
45982 fi
45983
45984 COND_WXUSE_EXPAT_BUILTIN="#"
45985 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
45986 COND_WXUSE_EXPAT_BUILTIN=""
45987 fi
45988
45989 COND_WXUSE_LIBJPEG_BUILTIN="#"
45990 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
45991 COND_WXUSE_LIBJPEG_BUILTIN=""
45992 fi
45993
45994 COND_WXUSE_LIBPNG_BUILTIN="#"
45995 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
45996 COND_WXUSE_LIBPNG_BUILTIN=""
45997 fi
45998
45999 COND_WXUSE_LIBTIFF_BUILTIN="#"
46000 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
46001 COND_WXUSE_LIBTIFF_BUILTIN=""
46002 fi
46003
46004 COND_WXUSE_ODBC_BUILTIN="#"
46005 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
46006 COND_WXUSE_ODBC_BUILTIN=""
46007 fi
46008
46009 COND_WXUSE_REGEX_BUILTIN="#"
46010 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
46011 COND_WXUSE_REGEX_BUILTIN=""
46012 fi
46013
46014 COND_WXUSE_ZLIB_BUILTIN="#"
46015 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
46016 COND_WXUSE_ZLIB_BUILTIN=""
46017 fi
46018
46019
46020
46021 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
46022 { { 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
46023 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;}
46024 { (exit 1); exit 1; }; }
46025 fi
46026
46027 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
46028 { { 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
46029 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;}
46030 { (exit 1); exit 1; }; }
46031 fi
46032
46033
46034 if test "$wxUSE_SHARED" = "yes"; then
46035
46036 sanitised_bakefile_mess=`echo "$SHARED_LD_CXX" | tr -d '()'`
46037 EXE_LINKER=`eval echo "$sanitised_bakefile_mess"`
46038
46039 case "${host}" in
46040 *-pc-os2_emx | *-pc-os2-emx )
46041 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
46042 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
46043 cp -p ${srcdir}/src/os2/dllnames.sh .
46044 cp -p ${srcdir}/src/os2/dllar.sh .
46045 ;;
46046 esac
46047 else
46048
46049 EXE_LINKER="$CXX -o"
46050
46051 fi
46052 if test "$wxUSE_OMF" = "yes"; then
46053 case "${host}" in
46054 *-pc-os2_emx | *-pc-os2-emx )
46055 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
46056 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
46057 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
46058 ;;
46059 esac
46060 fi
46061
46062 if test $GCC_PCH = 1 ; then
46063 CPPFLAGS="-DWX_PRECOMP $CPPFLAGS"
46064 fi
46065
46066
46067 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
46068
46069
46070
46071
46072
46073
46074
46075
46076
46077
46078
46079
46080
46081
46082
46083
46084
46085
46086
46087
46088
46089
46090
46091
46092
46093
46094
46095
46096
46097
46098
46099
46100
46101
46102
46103
46104
46105
46106
46107
46108
46109
46110
46111
46112
46113
46114
46115
46116
46117
46118
46119
46120
46121
46122
46123
46124
46125
46126
46127
46128
46129
46130
46131 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
46132 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
46133 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
46134 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
46135 echo $ECHO_N "(cached) $ECHO_C" >&6
46136 else
46137 cat >conftest.make <<\_ACEOF
46138 all:
46139 @echo 'ac_maketemp="$(MAKE)"'
46140 _ACEOF
46141 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
46142 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
46143 if test -n "$ac_maketemp"; then
46144 eval ac_cv_prog_make_${ac_make}_set=yes
46145 else
46146 eval ac_cv_prog_make_${ac_make}_set=no
46147 fi
46148 rm -f conftest.make
46149 fi
46150 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
46151 echo "$as_me:$LINENO: result: yes" >&5
46152 echo "${ECHO_T}yes" >&6
46153 SET_MAKE=
46154 else
46155 echo "$as_me:$LINENO: result: no" >&5
46156 echo "${ECHO_T}no" >&6
46157 SET_MAKE="MAKE=${MAKE-make}"
46158 fi
46159
46160
46161
46162 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
46163
46164
46165 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
46166
46167
46168 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
46169
46170
46171 ac_config_files="$ac_config_files version-script Makefile"
46172
46173
46174 ac_config_commands="$ac_config_commands wx-config
46175 "
46176
46177
46178
46179 if test "$wxWITH_SUBDIRS" != "no"; then
46180 if test "$wxUSE_GUI" = "yes"; then
46181 SUBDIRS="samples demos utils contrib"
46182 else SUBDIRS="samples utils"
46183 fi
46184
46185
46186
46187 # Check whether --with-cppunit-prefix or --without-cppunit-prefix was given.
46188 if test "${with_cppunit_prefix+set}" = set; then
46189 withval="$with_cppunit_prefix"
46190 cppunit_config_prefix="$withval"
46191 else
46192 cppunit_config_prefix=""
46193 fi;
46194
46195 # Check whether --with-cppunit-exec-prefix or --without-cppunit-exec-prefix was given.
46196 if test "${with_cppunit_exec_prefix+set}" = set; then
46197 withval="$with_cppunit_exec_prefix"
46198 cppunit_config_exec_prefix="$withval"
46199 else
46200 cppunit_config_exec_prefix=""
46201 fi;
46202
46203 if test x$cppunit_config_exec_prefix != x ; then
46204 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
46205 if test x${CPPUNIT_CONFIG+set} != xset ; then
46206 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
46207 fi
46208 fi
46209 if test x$cppunit_config_prefix != x ; then
46210 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
46211 if test x${CPPUNIT_CONFIG+set} != xset ; then
46212 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
46213 fi
46214 fi
46215
46216 # Extract the first word of "cppunit-config", so it can be a program name with args.
46217 set dummy cppunit-config; ac_word=$2
46218 echo "$as_me:$LINENO: checking for $ac_word" >&5
46219 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
46220 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
46221 echo $ECHO_N "(cached) $ECHO_C" >&6
46222 else
46223 case $CPPUNIT_CONFIG in
46224 [\\/]* | ?:[\\/]*)
46225 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
46226 ;;
46227 *)
46228 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46229 for as_dir in $PATH
46230 do
46231 IFS=$as_save_IFS
46232 test -z "$as_dir" && as_dir=.
46233 for ac_exec_ext in '' $ac_executable_extensions; do
46234 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
46235 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
46236 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46237 break 2
46238 fi
46239 done
46240 done
46241
46242 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
46243 ;;
46244 esac
46245 fi
46246 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
46247
46248 if test -n "$CPPUNIT_CONFIG"; then
46249 echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
46250 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6
46251 else
46252 echo "$as_me:$LINENO: result: no" >&5
46253 echo "${ECHO_T}no" >&6
46254 fi
46255
46256 cppunit_version_min=1.8.0
46257
46258 echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
46259 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6
46260 no_cppunit=""
46261 if test "$CPPUNIT_CONFIG" = "no" ; then
46262 no_cppunit=yes
46263 else
46264 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
46265 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
46266 cppunit_version=`$CPPUNIT_CONFIG --version`
46267
46268 cppunit_major_version=`echo $cppunit_version | \
46269 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
46270 cppunit_minor_version=`echo $cppunit_version | \
46271 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
46272 cppunit_micro_version=`echo $cppunit_version | \
46273 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
46274
46275 cppunit_major_min=`echo $cppunit_version_min | \
46276 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
46277 cppunit_minor_min=`echo $cppunit_version_min | \
46278 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
46279 cppunit_micro_min=`echo $cppunit_version_min | \
46280 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
46281
46282 cppunit_version_proper=`expr \
46283 $cppunit_major_version \> $cppunit_major_min \| \
46284 $cppunit_major_version \= $cppunit_major_min \& \
46285 $cppunit_minor_version \> $cppunit_minor_min \| \
46286 $cppunit_major_version \= $cppunit_major_min \& \
46287 $cppunit_minor_version \= $cppunit_minor_min \& \
46288 $cppunit_micro_version \>= $cppunit_micro_min `
46289
46290 if test "$cppunit_version_proper" = "1" ; then
46291 echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
46292 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6
46293 else
46294 echo "$as_me:$LINENO: result: no" >&5
46295 echo "${ECHO_T}no" >&6
46296 no_cppunit=yes
46297 fi
46298 fi
46299
46300 if test "x$no_cppunit" = x ; then
46301 SUBDIRS="$SUBDIRS tests"
46302 else
46303 CPPUNIT_CFLAGS=""
46304 CPPUNIT_LIBS=""
46305 :
46306 fi
46307
46308
46309
46310
46311
46312 for subdir in `echo $SUBDIRS`; do
46313 if test -d ${srcdir}/${subdir} ; then
46314 if test "$wxUSE_GUI" = "yes"; then
46315 if test ${subdir} = "samples"; then
46316 makefiles="samples/Makefile.in $makefiles"
46317 for sample in `echo $SAMPLES_SUBDIRS`; do
46318 if test -d $srcdir/samples/$sample; then
46319 makefiles="samples/$sample/Makefile.in $makefiles"
46320 fi
46321 done
46322 else
46323 disabled_var=DISABLED_`echo $subdir | tr [a-z] [A-Z]`;
46324 eval "disabled=\$$disabled_var"
46325 disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
46326 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | egrep -v "$disabled"`
46327 fi
46328 else if test ${subdir} = "samples"; then
46329 makefiles="samples/Makefile.in samples/console/Makefile.in"
46330 elif test ${subdir} = "utils"; then
46331 makefiles=""
46332 for util in HelpGen tex2rtf ; do
46333 if test -d $srcdir/utils/$util ; then
46334 makefiles="utils/$util/Makefile.in \
46335 utils/$util/src/Makefile.in \
46336 $makefiles"
46337 fi
46338 done
46339 else makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
46340 fi
46341 fi
46342
46343 for mkin in $makefiles ; do
46344 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
46345 ac_config_files="$ac_config_files $mk"
46346
46347 done
46348 fi
46349 done
46350 fi
46351 cat >confcache <<\_ACEOF
46352 # This file is a shell script that caches the results of configure
46353 # tests run on this system so they can be shared between configure
46354 # scripts and configure runs, see configure's option --config-cache.
46355 # It is not useful on other systems. If it contains results you don't
46356 # want to keep, you may remove or edit it.
46357 #
46358 # config.status only pays attention to the cache file if you give it
46359 # the --recheck option to rerun configure.
46360 #
46361 # `ac_cv_env_foo' variables (set or unset) will be overridden when
46362 # loading this file, other *unset* `ac_cv_foo' will be assigned the
46363 # following values.
46364
46365 _ACEOF
46366
46367 # The following way of writing the cache mishandles newlines in values,
46368 # but we know of no workaround that is simple, portable, and efficient.
46369 # So, don't put newlines in cache variables' values.
46370 # Ultrix sh set writes to stderr and can't be redirected directly,
46371 # and sets the high bit in the cache file unless we assign to the vars.
46372 {
46373 (set) 2>&1 |
46374 case `(ac_space=' '; set | grep ac_space) 2>&1` in
46375 *ac_space=\ *)
46376 # `set' does not quote correctly, so add quotes (double-quote
46377 # substitution turns \\\\ into \\, and sed turns \\ into \).
46378 sed -n \
46379 "s/'/'\\\\''/g;
46380 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
46381 ;;
46382 *)
46383 # `set' quotes correctly as required by POSIX, so do not add quotes.
46384 sed -n \
46385 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
46386 ;;
46387 esac;
46388 } |
46389 sed '
46390 t clear
46391 : clear
46392 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
46393 t end
46394 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
46395 : end' >>confcache
46396 if diff $cache_file confcache >/dev/null 2>&1; then :; else
46397 if test -w $cache_file; then
46398 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
46399 cat confcache >$cache_file
46400 else
46401 echo "not updating unwritable cache $cache_file"
46402 fi
46403 fi
46404 rm -f confcache
46405
46406 test "x$prefix" = xNONE && prefix=$ac_default_prefix
46407 # Let make expand exec_prefix.
46408 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
46409
46410 # VPATH may cause trouble with some makes, so we remove $(srcdir),
46411 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
46412 # trailing colons and then remove the whole line if VPATH becomes empty
46413 # (actually we leave an empty line to preserve line numbers).
46414 if test "x$srcdir" = x.; then
46415 ac_vpsub='/^[ ]*VPATH[ ]*=/{
46416 s/:*\$(srcdir):*/:/;
46417 s/:*\${srcdir}:*/:/;
46418 s/:*@srcdir@:*/:/;
46419 s/^\([^=]*=[ ]*\):*/\1/;
46420 s/:*$//;
46421 s/^[^=]*=[ ]*$//;
46422 }'
46423 fi
46424
46425 DEFS=-DHAVE_CONFIG_H
46426
46427 ac_libobjs=
46428 ac_ltlibobjs=
46429 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
46430 # 1. Remove the extension, and $U if already installed.
46431 ac_i=`echo "$ac_i" |
46432 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
46433 # 2. Add them.
46434 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
46435 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
46436 done
46437 LIBOBJS=$ac_libobjs
46438
46439 LTLIBOBJS=$ac_ltlibobjs
46440
46441
46442
46443 : ${CONFIG_STATUS=./config.status}
46444 ac_clean_files_save=$ac_clean_files
46445 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
46446 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
46447 echo "$as_me: creating $CONFIG_STATUS" >&6;}
46448 cat >$CONFIG_STATUS <<_ACEOF
46449 #! $SHELL
46450 # Generated by $as_me.
46451 # Run this file to recreate the current configuration.
46452 # Compiler output produced by configure, useful for debugging
46453 # configure, is in config.log if it exists.
46454
46455 debug=false
46456 ac_cs_recheck=false
46457 ac_cs_silent=false
46458 SHELL=\${CONFIG_SHELL-$SHELL}
46459 _ACEOF
46460
46461 cat >>$CONFIG_STATUS <<\_ACEOF
46462 ## --------------------- ##
46463 ## M4sh Initialization. ##
46464 ## --------------------- ##
46465
46466 # Be Bourne compatible
46467 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
46468 emulate sh
46469 NULLCMD=:
46470 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
46471 # is contrary to our usage. Disable this feature.
46472 alias -g '${1+"$@"}'='"$@"'
46473 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
46474 set -o posix
46475 fi
46476 DUALCASE=1; export DUALCASE # for MKS sh
46477
46478 # Support unset when possible.
46479 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
46480 as_unset=unset
46481 else
46482 as_unset=false
46483 fi
46484
46485
46486 # Work around bugs in pre-3.0 UWIN ksh.
46487 $as_unset ENV MAIL MAILPATH
46488 PS1='$ '
46489 PS2='> '
46490 PS4='+ '
46491
46492 # NLS nuisances.
46493 for as_var in \
46494 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
46495 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
46496 LC_TELEPHONE LC_TIME
46497 do
46498 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
46499 eval $as_var=C; export $as_var
46500 else
46501 $as_unset $as_var
46502 fi
46503 done
46504
46505 # Required to use basename.
46506 if expr a : '\(a\)' >/dev/null 2>&1; then
46507 as_expr=expr
46508 else
46509 as_expr=false
46510 fi
46511
46512 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
46513 as_basename=basename
46514 else
46515 as_basename=false
46516 fi
46517
46518
46519 # Name of the executable.
46520 as_me=`$as_basename "$0" ||
46521 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
46522 X"$0" : 'X\(//\)$' \| \
46523 X"$0" : 'X\(/\)$' \| \
46524 . : '\(.\)' 2>/dev/null ||
46525 echo X/"$0" |
46526 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
46527 /^X\/\(\/\/\)$/{ s//\1/; q; }
46528 /^X\/\(\/\).*/{ s//\1/; q; }
46529 s/.*/./; q'`
46530
46531
46532 # PATH needs CR, and LINENO needs CR and PATH.
46533 # Avoid depending upon Character Ranges.
46534 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
46535 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
46536 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
46537 as_cr_digits='0123456789'
46538 as_cr_alnum=$as_cr_Letters$as_cr_digits
46539
46540 # The user is always right.
46541 if test "${PATH_SEPARATOR+set}" != set; then
46542 echo "#! /bin/sh" >conf$$.sh
46543 echo "exit 0" >>conf$$.sh
46544 chmod +x conf$$.sh
46545 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
46546 PATH_SEPARATOR=';'
46547 else
46548 PATH_SEPARATOR=:
46549 fi
46550 rm -f conf$$.sh
46551 fi
46552
46553
46554 as_lineno_1=$LINENO
46555 as_lineno_2=$LINENO
46556 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
46557 test "x$as_lineno_1" != "x$as_lineno_2" &&
46558 test "x$as_lineno_3" = "x$as_lineno_2" || {
46559 # Find who we are. Look in the path if we contain no path at all
46560 # relative or not.
46561 case $0 in
46562 *[\\/]* ) as_myself=$0 ;;
46563 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46564 for as_dir in $PATH
46565 do
46566 IFS=$as_save_IFS
46567 test -z "$as_dir" && as_dir=.
46568 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
46569 done
46570
46571 ;;
46572 esac
46573 # We did not find ourselves, most probably we were run as `sh COMMAND'
46574 # in which case we are not to be found in the path.
46575 if test "x$as_myself" = x; then
46576 as_myself=$0
46577 fi
46578 if test ! -f "$as_myself"; then
46579 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
46580 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
46581 { (exit 1); exit 1; }; }
46582 fi
46583 case $CONFIG_SHELL in
46584 '')
46585 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46586 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
46587 do
46588 IFS=$as_save_IFS
46589 test -z "$as_dir" && as_dir=.
46590 for as_base in sh bash ksh sh5; do
46591 case $as_dir in
46592 /*)
46593 if ("$as_dir/$as_base" -c '
46594 as_lineno_1=$LINENO
46595 as_lineno_2=$LINENO
46596 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
46597 test "x$as_lineno_1" != "x$as_lineno_2" &&
46598 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
46599 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
46600 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
46601 CONFIG_SHELL=$as_dir/$as_base
46602 export CONFIG_SHELL
46603 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
46604 fi;;
46605 esac
46606 done
46607 done
46608 ;;
46609 esac
46610
46611 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
46612 # uniformly replaced by the line number. The first 'sed' inserts a
46613 # line-number line before each line; the second 'sed' does the real
46614 # work. The second script uses 'N' to pair each line-number line
46615 # with the numbered line, and appends trailing '-' during
46616 # substitution so that $LINENO is not a special case at line end.
46617 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
46618 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
46619 sed '=' <$as_myself |
46620 sed '
46621 N
46622 s,$,-,
46623 : loop
46624 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
46625 t loop
46626 s,-$,,
46627 s,^['$as_cr_digits']*\n,,
46628 ' >$as_me.lineno &&
46629 chmod +x $as_me.lineno ||
46630 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
46631 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
46632 { (exit 1); exit 1; }; }
46633
46634 # Don't try to exec as it changes $[0], causing all sort of problems
46635 # (the dirname of $[0] is not the place where we might find the
46636 # original and so on. Autoconf is especially sensible to this).
46637 . ./$as_me.lineno
46638 # Exit status is that of the last command.
46639 exit
46640 }
46641
46642
46643 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
46644 *c*,-n*) ECHO_N= ECHO_C='
46645 ' ECHO_T=' ' ;;
46646 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
46647 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
46648 esac
46649
46650 if expr a : '\(a\)' >/dev/null 2>&1; then
46651 as_expr=expr
46652 else
46653 as_expr=false
46654 fi
46655
46656 rm -f conf$$ conf$$.exe conf$$.file
46657 echo >conf$$.file
46658 if ln -s conf$$.file conf$$ 2>/dev/null; then
46659 # We could just check for DJGPP; but this test a) works b) is more generic
46660 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
46661 if test -f conf$$.exe; then
46662 # Don't use ln at all; we don't have any links
46663 as_ln_s='cp -p'
46664 else
46665 as_ln_s='ln -s'
46666 fi
46667 elif ln conf$$.file conf$$ 2>/dev/null; then
46668 as_ln_s=ln
46669 else
46670 as_ln_s='cp -p'
46671 fi
46672 rm -f conf$$ conf$$.exe conf$$.file
46673
46674 if mkdir -p . 2>/dev/null; then
46675 as_mkdir_p=:
46676 else
46677 test -d ./-p && rmdir ./-p
46678 as_mkdir_p=false
46679 fi
46680
46681 as_executable_p="test -f"
46682
46683 # Sed expression to map a string onto a valid CPP name.
46684 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
46685
46686 # Sed expression to map a string onto a valid variable name.
46687 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
46688
46689
46690 # IFS
46691 # We need space, tab and new line, in precisely that order.
46692 as_nl='
46693 '
46694 IFS=" $as_nl"
46695
46696 # CDPATH.
46697 $as_unset CDPATH
46698
46699 exec 6>&1
46700
46701 # Open the log real soon, to keep \$[0] and so on meaningful, and to
46702 # report actual input values of CONFIG_FILES etc. instead of their
46703 # values after options handling. Logging --version etc. is OK.
46704 exec 5>>config.log
46705 {
46706 echo
46707 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
46708 ## Running $as_me. ##
46709 _ASBOX
46710 } >&5
46711 cat >&5 <<_CSEOF
46712
46713 This file was extended by wxWidgets $as_me 2.7.0, which was
46714 generated by GNU Autoconf 2.59. Invocation command line was
46715
46716 CONFIG_FILES = $CONFIG_FILES
46717 CONFIG_HEADERS = $CONFIG_HEADERS
46718 CONFIG_LINKS = $CONFIG_LINKS
46719 CONFIG_COMMANDS = $CONFIG_COMMANDS
46720 $ $0 $@
46721
46722 _CSEOF
46723 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
46724 echo >&5
46725 _ACEOF
46726
46727 # Files that config.status was made for.
46728 if test -n "$ac_config_files"; then
46729 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
46730 fi
46731
46732 if test -n "$ac_config_headers"; then
46733 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
46734 fi
46735
46736 if test -n "$ac_config_links"; then
46737 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
46738 fi
46739
46740 if test -n "$ac_config_commands"; then
46741 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
46742 fi
46743
46744 cat >>$CONFIG_STATUS <<\_ACEOF
46745
46746 ac_cs_usage="\
46747 \`$as_me' instantiates files from templates according to the
46748 current configuration.
46749
46750 Usage: $0 [OPTIONS] [FILE]...
46751
46752 -h, --help print this help, then exit
46753 -V, --version print version number, then exit
46754 -q, --quiet do not print progress messages
46755 -d, --debug don't remove temporary files
46756 --recheck update $as_me by reconfiguring in the same conditions
46757 --file=FILE[:TEMPLATE]
46758 instantiate the configuration file FILE
46759 --header=FILE[:TEMPLATE]
46760 instantiate the configuration header FILE
46761
46762 Configuration files:
46763 $config_files
46764
46765 Configuration headers:
46766 $config_headers
46767
46768 Configuration commands:
46769 $config_commands
46770
46771 Report bugs to <bug-autoconf@gnu.org>."
46772 _ACEOF
46773
46774 cat >>$CONFIG_STATUS <<_ACEOF
46775 ac_cs_version="\\
46776 wxWidgets config.status 2.7.0
46777 configured by $0, generated by GNU Autoconf 2.59,
46778 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
46779
46780 Copyright (C) 2003 Free Software Foundation, Inc.
46781 This config.status script is free software; the Free Software Foundation
46782 gives unlimited permission to copy, distribute and modify it."
46783 srcdir=$srcdir
46784 INSTALL="$INSTALL"
46785 _ACEOF
46786
46787 cat >>$CONFIG_STATUS <<\_ACEOF
46788 # If no file are specified by the user, then we need to provide default
46789 # value. By we need to know if files were specified by the user.
46790 ac_need_defaults=:
46791 while test $# != 0
46792 do
46793 case $1 in
46794 --*=*)
46795 ac_option=`expr "x$1" : 'x\([^=]*\)='`
46796 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
46797 ac_shift=:
46798 ;;
46799 -*)
46800 ac_option=$1
46801 ac_optarg=$2
46802 ac_shift=shift
46803 ;;
46804 *) # This is not an option, so the user has probably given explicit
46805 # arguments.
46806 ac_option=$1
46807 ac_need_defaults=false;;
46808 esac
46809
46810 case $ac_option in
46811 # Handling of the options.
46812 _ACEOF
46813 cat >>$CONFIG_STATUS <<\_ACEOF
46814 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
46815 ac_cs_recheck=: ;;
46816 --version | --vers* | -V )
46817 echo "$ac_cs_version"; exit 0 ;;
46818 --he | --h)
46819 # Conflict between --help and --header
46820 { { echo "$as_me:$LINENO: error: ambiguous option: $1
46821 Try \`$0 --help' for more information." >&5
46822 echo "$as_me: error: ambiguous option: $1
46823 Try \`$0 --help' for more information." >&2;}
46824 { (exit 1); exit 1; }; };;
46825 --help | --hel | -h )
46826 echo "$ac_cs_usage"; exit 0 ;;
46827 --debug | --d* | -d )
46828 debug=: ;;
46829 --file | --fil | --fi | --f )
46830 $ac_shift
46831 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
46832 ac_need_defaults=false;;
46833 --header | --heade | --head | --hea )
46834 $ac_shift
46835 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
46836 ac_need_defaults=false;;
46837 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
46838 | -silent | --silent | --silen | --sile | --sil | --si | --s)
46839 ac_cs_silent=: ;;
46840
46841 # This is an error.
46842 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
46843 Try \`$0 --help' for more information." >&5
46844 echo "$as_me: error: unrecognized option: $1
46845 Try \`$0 --help' for more information." >&2;}
46846 { (exit 1); exit 1; }; } ;;
46847
46848 *) ac_config_targets="$ac_config_targets $1" ;;
46849
46850 esac
46851 shift
46852 done
46853
46854 ac_configure_extra_args=
46855
46856 if $ac_cs_silent; then
46857 exec 6>/dev/null
46858 ac_configure_extra_args="$ac_configure_extra_args --silent"
46859 fi
46860
46861 _ACEOF
46862 cat >>$CONFIG_STATUS <<_ACEOF
46863 if \$ac_cs_recheck; then
46864 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
46865 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
46866 fi
46867
46868 _ACEOF
46869
46870 cat >>$CONFIG_STATUS <<_ACEOF
46871 #
46872 # INIT-COMMANDS section.
46873 #
46874
46875 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
46876 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
46877 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
46878 LN_S="${LN_S}"
46879
46880
46881 _ACEOF
46882
46883
46884
46885 cat >>$CONFIG_STATUS <<\_ACEOF
46886 for ac_config_target in $ac_config_targets
46887 do
46888 case "$ac_config_target" in
46889 # Handling of arguments.
46890 "lib/wx/config/${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
46891 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
46892 "version-script" ) CONFIG_FILES="$CONFIG_FILES version-script" ;;
46893 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
46894 "$mk" ) CONFIG_FILES="$CONFIG_FILES $mk" ;;
46895 "wx-config" ) CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
46896 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h" ) CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
46897 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
46898 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
46899 { (exit 1); exit 1; }; };;
46900 esac
46901 done
46902
46903 # If the user did not use the arguments to specify the items to instantiate,
46904 # then the envvar interface is used. Set only those that are not.
46905 # We use the long form for the default assignment because of an extremely
46906 # bizarre bug on SunOS 4.1.3.
46907 if $ac_need_defaults; then
46908 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
46909 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
46910 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
46911 fi
46912
46913 # Have a temporary directory for convenience. Make it in the build tree
46914 # simply because there is no reason to put it here, and in addition,
46915 # creating and moving files from /tmp can sometimes cause problems.
46916 # Create a temporary directory, and hook for its removal unless debugging.
46917 $debug ||
46918 {
46919 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
46920 trap '{ (exit 1); exit 1; }' 1 2 13 15
46921 }
46922
46923 # Create a (secure) tmp directory for tmp files.
46924
46925 {
46926 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
46927 test -n "$tmp" && test -d "$tmp"
46928 } ||
46929 {
46930 tmp=./confstat$$-$RANDOM
46931 (umask 077 && mkdir $tmp)
46932 } ||
46933 {
46934 echo "$me: cannot create a temporary directory in ." >&2
46935 { (exit 1); exit 1; }
46936 }
46937
46938 _ACEOF
46939
46940 cat >>$CONFIG_STATUS <<_ACEOF
46941
46942 #
46943 # CONFIG_FILES section.
46944 #
46945
46946 # No need to generate the scripts if there are no CONFIG_FILES.
46947 # This happens for instance when ./config.status config.h
46948 if test -n "\$CONFIG_FILES"; then
46949 # Protect against being on the right side of a sed subst in config.status.
46950 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
46951 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
46952 s,@SHELL@,$SHELL,;t t
46953 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
46954 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
46955 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
46956 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
46957 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
46958 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
46959 s,@exec_prefix@,$exec_prefix,;t t
46960 s,@prefix@,$prefix,;t t
46961 s,@program_transform_name@,$program_transform_name,;t t
46962 s,@bindir@,$bindir,;t t
46963 s,@sbindir@,$sbindir,;t t
46964 s,@libexecdir@,$libexecdir,;t t
46965 s,@datadir@,$datadir,;t t
46966 s,@sysconfdir@,$sysconfdir,;t t
46967 s,@sharedstatedir@,$sharedstatedir,;t t
46968 s,@localstatedir@,$localstatedir,;t t
46969 s,@libdir@,$libdir,;t t
46970 s,@includedir@,$includedir,;t t
46971 s,@oldincludedir@,$oldincludedir,;t t
46972 s,@infodir@,$infodir,;t t
46973 s,@mandir@,$mandir,;t t
46974 s,@build_alias@,$build_alias,;t t
46975 s,@host_alias@,$host_alias,;t t
46976 s,@target_alias@,$target_alias,;t t
46977 s,@DEFS@,$DEFS,;t t
46978 s,@ECHO_C@,$ECHO_C,;t t
46979 s,@ECHO_N@,$ECHO_N,;t t
46980 s,@ECHO_T@,$ECHO_T,;t t
46981 s,@LIBS@,$LIBS,;t t
46982 s,@build@,$build,;t t
46983 s,@build_cpu@,$build_cpu,;t t
46984 s,@build_vendor@,$build_vendor,;t t
46985 s,@build_os@,$build_os,;t t
46986 s,@host@,$host,;t t
46987 s,@host_cpu@,$host_cpu,;t t
46988 s,@host_vendor@,$host_vendor,;t t
46989 s,@host_os@,$host_os,;t t
46990 s,@target@,$target,;t t
46991 s,@target_cpu@,$target_cpu,;t t
46992 s,@target_vendor@,$target_vendor,;t t
46993 s,@target_os@,$target_os,;t t
46994 s,@CC@,$CC,;t t
46995 s,@CFLAGS@,$CFLAGS,;t t
46996 s,@LDFLAGS@,$LDFLAGS,;t t
46997 s,@CPPFLAGS@,$CPPFLAGS,;t t
46998 s,@ac_ct_CC@,$ac_ct_CC,;t t
46999 s,@EXEEXT@,$EXEEXT,;t t
47000 s,@OBJEXT@,$OBJEXT,;t t
47001 s,@CPP@,$CPP,;t t
47002 s,@EGREP@,$EGREP,;t t
47003 s,@CXX@,$CXX,;t t
47004 s,@CXXFLAGS@,$CXXFLAGS,;t t
47005 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
47006 s,@RANLIB@,$RANLIB,;t t
47007 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
47008 s,@AR@,$AR,;t t
47009 s,@ac_ct_AR@,$ac_ct_AR,;t t
47010 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
47011 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
47012 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
47013 s,@STRIP@,$STRIP,;t t
47014 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
47015 s,@RESCOMP@,$RESCOMP,;t t
47016 s,@ac_ct_RESCOMP@,$ac_ct_RESCOMP,;t t
47017 s,@DLLTOOL@,$DLLTOOL,;t t
47018 s,@ac_ct_DLLTOOL@,$ac_ct_DLLTOOL,;t t
47019 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
47020 s,@LN_S@,$LN_S,;t t
47021 s,@CXXCPP@,$CXXCPP,;t t
47022 s,@subdirs@,$subdirs,;t t
47023 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
47024 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
47025 s,@GTK_LIBS@,$GTK_LIBS,;t t
47026 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
47027 s,@X_CFLAGS@,$X_CFLAGS,;t t
47028 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
47029 s,@X_LIBS@,$X_LIBS,;t t
47030 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
47031 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
47032 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
47033 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
47034 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
47035 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
47036 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
47037 s,@DEREZ@,$DEREZ,;t t
47038 s,@SETFILE@,$SETFILE,;t t
47039 s,@LIBICONV@,$LIBICONV,;t t
47040 s,@EXTRALIBS_ESD@,$EXTRALIBS_ESD,;t t
47041 s,@SDL_CONFIG@,$SDL_CONFIG,;t t
47042 s,@SDL_CFLAGS@,$SDL_CFLAGS,;t t
47043 s,@SDL_LIBS@,$SDL_LIBS,;t t
47044 s,@LIBGNOMEPRINTUI_CFLAGS@,$LIBGNOMEPRINTUI_CFLAGS,;t t
47045 s,@LIBGNOMEPRINTUI_LIBS@,$LIBGNOMEPRINTUI_LIBS,;t t
47046 s,@GSTREAMER_CFLAGS@,$GSTREAMER_CFLAGS,;t t
47047 s,@GSTREAMER_LIBS@,$GSTREAMER_LIBS,;t t
47048 s,@GST_INSPECT@,$GST_INSPECT,;t t
47049 s,@CORE_BASE_LIBS@,$CORE_BASE_LIBS,;t t
47050 s,@CORE_GUI_LIBS@,$CORE_GUI_LIBS,;t t
47051 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
47052 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
47053 s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
47054 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
47055 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
47056 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
47057 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
47058 s,@VENDOR@,$VENDOR,;t t
47059 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
47060 s,@WX_FLAVOUR@,$WX_FLAVOUR,;t t
47061 s,@WX_LIB_FLAVOUR@,$WX_LIB_FLAVOUR,;t t
47062 s,@WXUNIV@,$WXUNIV,;t t
47063 s,@MONOLITHIC@,$MONOLITHIC,;t t
47064 s,@USE_PLUGINS@,$USE_PLUGINS,;t t
47065 s,@EXTRALIBS@,$EXTRALIBS,;t t
47066 s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
47067 s,@EXTRALIBS_HTML@,$EXTRALIBS_HTML,;t t
47068 s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
47069 s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
47070 s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
47071 s,@EXTRALIBS_SDL@,$EXTRALIBS_SDL,;t t
47072 s,@WITH_PLUGIN_SDL@,$WITH_PLUGIN_SDL,;t t
47073 s,@EXTRALIBS_GNOMEPRINT@,$EXTRALIBS_GNOMEPRINT,;t t
47074 s,@UNICODE@,$UNICODE,;t t
47075 s,@BUILD@,$BUILD,;t t
47076 s,@DEBUG_INFO@,$DEBUG_INFO,;t t
47077 s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
47078 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
47079 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
47080 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
47081 s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
47082 s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
47083 s,@CPPUNIT_CFLAGS@,$CPPUNIT_CFLAGS,;t t
47084 s,@CPPUNIT_LIBS@,$CPPUNIT_LIBS,;t t
47085 s,@SET_MAKE@,$SET_MAKE,;t t
47086 s,@MAKE_SET@,$MAKE_SET,;t t
47087 s,@NM@,$NM,;t t
47088 s,@ac_ct_NM@,$ac_ct_NM,;t t
47089 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
47090 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
47091 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
47092 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
47093 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
47094 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
47095 s,@PLATFORM_MACOS@,$PLATFORM_MACOS,;t t
47096 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
47097 s,@PLATFORM_OS2@,$PLATFORM_OS2,;t t
47098 s,@PLATFORM_BEOS@,$PLATFORM_BEOS,;t t
47099 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
47100 s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
47101 s,@DLLIMP_SUFFIX@,$DLLIMP_SUFFIX,;t t
47102 s,@LIBPREFIX@,$LIBPREFIX,;t t
47103 s,@LIBEXT@,$LIBEXT,;t t
47104 s,@DLLPREFIX@,$DLLPREFIX,;t t
47105 s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
47106 s,@dlldir@,$dlldir,;t t
47107 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
47108 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
47109 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
47110 s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
47111 s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
47112 s,@PIC_FLAG@,$PIC_FLAG,;t t
47113 s,@WINDOWS_IMPLIB@,$WINDOWS_IMPLIB,;t t
47114 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
47115 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
47116 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
47117 s,@USE_SOVERCYGWIN@,$USE_SOVERCYGWIN,;t t
47118 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
47119 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
47120 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
47121 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
47122 s,@GCC_PCH@,$GCC_PCH,;t t
47123 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
47124 s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
47125 s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
47126 s,@COND_BUILD_DEBUG_UNICODE_0@,$COND_BUILD_DEBUG_UNICODE_0,;t t
47127 s,@COND_BUILD_DEBUG_UNICODE_1@,$COND_BUILD_DEBUG_UNICODE_1,;t t
47128 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
47129 s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
47130 s,@COND_BUILD_RELEASE_UNICODE_0@,$COND_BUILD_RELEASE_UNICODE_0,;t t
47131 s,@COND_BUILD_RELEASE_UNICODE_1@,$COND_BUILD_RELEASE_UNICODE_1,;t t
47132 s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
47133 s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
47134 s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
47135 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
47136 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
47137 s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
47138 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
47139 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
47140 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
47141 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
47142 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
47143 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
47144 s,@COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1,;t t
47145 s,@COND_MONOLITHIC_0_SHARED_0_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1,;t t
47146 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
47147 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
47148 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
47149 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
47150 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
47151 s,@COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1,;t t
47152 s,@COND_MONOLITHIC_0_SHARED_1_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1,;t t
47153 s,@COND_MONOLITHIC_0_USE_ODBC_1@,$COND_MONOLITHIC_0_USE_ODBC_1,;t t
47154 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
47155 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
47156 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
47157 s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
47158 s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
47159 s,@COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1,;t t
47160 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
47161 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
47162 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_@,$COND_PLATFORM_MACOSX_1_TOOLKIT_,;t t
47163 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
47164 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
47165 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
47166 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1,;t t
47167 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
47168 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF,;t t
47169 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_X11@,$COND_PLATFORM_MACOSX_1_TOOLKIT_X11,;t t
47170 s,@COND_PLATFORM_MACOSX_1_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_USE_GUI_1,;t t
47171 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
47172 s,@COND_PLATFORM_MACOS_1@,$COND_PLATFORM_MACOS_1,;t t
47173 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
47174 s,@COND_PLATFORM_MSDOS_1@,$COND_PLATFORM_MSDOS_1,;t t
47175 s,@COND_PLATFORM_OS2_1@,$COND_PLATFORM_OS2_1,;t t
47176 s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
47177 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
47178 s,@COND_PLATFORM_UNIX_1_USE_GUI_1@,$COND_PLATFORM_UNIX_1_USE_GUI_1,;t t
47179 s,@COND_PLATFORM_UNIX_1_USE_PLUGINS_0@,$COND_PLATFORM_UNIX_1_USE_PLUGINS_0,;t t
47180 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
47181 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
47182 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
47183 s,@COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0,;t t
47184 s,@COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0,;t t
47185 s,@COND_SHARED_0_TOOLKIT_PM_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0,;t t
47186 s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
47187 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
47188 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
47189 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
47190 s,@COND_SHARED_0_USE_XRC_1@,$COND_SHARED_0_USE_XRC_1,;t t
47191 s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
47192 s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
47193 s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
47194 s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
47195 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
47196 s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
47197 s,@COND_SHARED_1_USE_XRC_1@,$COND_SHARED_1_USE_XRC_1,;t t
47198 s,@COND_TOOLKIT_@,$COND_TOOLKIT_,;t t
47199 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
47200 s,@COND_TOOLKIT_COCOA_USE_GUI_1@,$COND_TOOLKIT_COCOA_USE_GUI_1,;t t
47201 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
47202 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
47203 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
47204 s,@COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0,;t t
47205 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
47206 s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
47207 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
47208 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
47209 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
47210 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
47211 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
47212 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
47213 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
47214 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
47215 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
47216 s,@COND_TOOLKIT_MSW_WXUNIV_0@,$COND_TOOLKIT_MSW_WXUNIV_0,;t t
47217 s,@COND_TOOLKIT_PM@,$COND_TOOLKIT_PM,;t t
47218 s,@COND_TOOLKIT_PM_USE_GUI_1@,$COND_TOOLKIT_PM_USE_GUI_1,;t t
47219 s,@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0,;t t
47220 s,@COND_TOOLKIT_WINCE@,$COND_TOOLKIT_WINCE,;t t
47221 s,@COND_TOOLKIT_WINCE_USE_GUI_1@,$COND_TOOLKIT_WINCE_USE_GUI_1,;t t
47222 s,@COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0,;t t
47223 s,@COND_TOOLKIT_WINCE_WXUNIV_0@,$COND_TOOLKIT_WINCE_WXUNIV_0,;t t
47224 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
47225 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
47226 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
47227 s,@COND_USE_EXCEPTIONS_0@,$COND_USE_EXCEPTIONS_0,;t t
47228 s,@COND_USE_EXCEPTIONS_1@,$COND_USE_EXCEPTIONS_1,;t t
47229 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
47230 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
47231 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
47232 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
47233 s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
47234 s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
47235 s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
47236 s,@COND_USE_ODBC_1@,$COND_USE_ODBC_1,;t t
47237 s,@COND_USE_OPENGL_1@,$COND_USE_OPENGL_1,;t t
47238 s,@COND_USE_PLUGINS_0@,$COND_USE_PLUGINS_0,;t t
47239 s,@COND_USE_RTTI_0@,$COND_USE_RTTI_0,;t t
47240 s,@COND_USE_RTTI_1@,$COND_USE_RTTI_1,;t t
47241 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
47242 s,@COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1@,$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1,;t t
47243 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
47244 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
47245 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
47246 s,@COND_USE_THREADS_0@,$COND_USE_THREADS_0,;t t
47247 s,@COND_USE_THREADS_1@,$COND_USE_THREADS_1,;t t
47248 s,@COND_USE_XRC_1@,$COND_USE_XRC_1,;t t
47249 s,@COND_WINDOWS_IMPLIB_1@,$COND_WINDOWS_IMPLIB_1,;t t
47250 s,@COND_WITH_PLUGIN_SDL_1@,$COND_WITH_PLUGIN_SDL_1,;t t
47251 s,@COND_WXUNIV_0@,$COND_WXUNIV_0,;t t
47252 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
47253 s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
47254 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
47255 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
47256 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
47257 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
47258 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
47259 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
47260 s,@SHARED@,$SHARED,;t t
47261 s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
47262 s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
47263 s,@WXDEBUG_DEFINE@,$WXDEBUG_DEFINE,;t t
47264 s,@USE_GUI@,$USE_GUI,;t t
47265 s,@AFMINSTALL@,$AFMINSTALL,;t t
47266 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
47267 s,@TOOLKIT@,$TOOLKIT,;t t
47268 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
47269 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
47270 s,@TOOLCHAIN_FULLNAME@,$TOOLCHAIN_FULLNAME,;t t
47271 s,@TOOLCHAIN_DEFS@,$TOOLCHAIN_DEFS,;t t
47272 s,@TOOLCHAIN_DLL_DEFS@,$TOOLCHAIN_DLL_DEFS,;t t
47273 s,@cross_compiling@,$cross_compiling,;t t
47274 s,@WIDGET_SET@,$WIDGET_SET,;t t
47275 s,@WX_RELEASE@,$WX_RELEASE,;t t
47276 s,@WX_VERSION@,$WX_VERSION,;t t
47277 s,@WX_SUBVERSION@,$WX_SUBVERSION,;t t
47278 s,@WX_CHARTYPE@,$WX_CHARTYPE,;t t
47279 s,@WX_DEBUGTYPE@,$WX_DEBUGTYPE,;t t
47280 s,@WXCONFIG_EXTRALIBS@,$WXCONFIG_EXTRALIBS,;t t
47281 s,@WXCONFIG_INCLUDE@,$WXCONFIG_INCLUDE,;t t
47282 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
47283 s,@WXCONFIG_LDFLAGS_GUI@,$WXCONFIG_LDFLAGS_GUI,;t t
47284 s,@WX_LARGEFILE_FLAGS@,$WX_LARGEFILE_FLAGS,;t t
47285 s,@GCC_PRAGMA_FLAGS@,$GCC_PRAGMA_FLAGS,;t t
47286 s,@CODE_GEN_FLAGS@,$CODE_GEN_FLAGS,;t t
47287 s,@CODE_GEN_FLAGS_CXX@,$CODE_GEN_FLAGS_CXX,;t t
47288 s,@EXE_LINKER@,$EXE_LINKER,;t t
47289 s,@GUIDIST@,$GUIDIST,;t t
47290 s,@DISTDIR@,$DISTDIR,;t t
47291 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
47292 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
47293 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
47294 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
47295 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
47296 s,@RESFLAGS@,$RESFLAGS,;t t
47297 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
47298 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
47299 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
47300 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
47301 s,@MACRESCOMP@,$MACRESCOMP,;t t
47302 s,@MACSETFILE@,$MACSETFILE,;t t
47303 s,@MACRESWXCONFIG@,$MACRESWXCONFIG,;t t
47304 s,@GCC@,$GCC,;t t
47305 s,@CPPUNIT_CONFIG@,$CPPUNIT_CONFIG,;t t
47306 s,@LIBOBJS@,$LIBOBJS,;t t
47307 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
47308 CEOF
47309
47310 _ACEOF
47311
47312 cat >>$CONFIG_STATUS <<\_ACEOF
47313 # Split the substitutions into bite-sized pieces for seds with
47314 # small command number limits, like on Digital OSF/1 and HP-UX.
47315 ac_max_sed_lines=48
47316 ac_sed_frag=1 # Number of current file.
47317 ac_beg=1 # First line for current file.
47318 ac_end=$ac_max_sed_lines # Line after last line for current file.
47319 ac_more_lines=:
47320 ac_sed_cmds=
47321 while $ac_more_lines; do
47322 if test $ac_beg -gt 1; then
47323 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
47324 else
47325 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
47326 fi
47327 if test ! -s $tmp/subs.frag; then
47328 ac_more_lines=false
47329 else
47330 # The purpose of the label and of the branching condition is to
47331 # speed up the sed processing (if there are no `@' at all, there
47332 # is no need to browse any of the substitutions).
47333 # These are the two extra sed commands mentioned above.
47334 (echo ':t
47335 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
47336 if test -z "$ac_sed_cmds"; then
47337 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
47338 else
47339 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
47340 fi
47341 ac_sed_frag=`expr $ac_sed_frag + 1`
47342 ac_beg=$ac_end
47343 ac_end=`expr $ac_end + $ac_max_sed_lines`
47344 fi
47345 done
47346 if test -z "$ac_sed_cmds"; then
47347 ac_sed_cmds=cat
47348 fi
47349 fi # test -n "$CONFIG_FILES"
47350
47351 _ACEOF
47352 cat >>$CONFIG_STATUS <<\_ACEOF
47353 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
47354 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
47355 case $ac_file in
47356 - | *:- | *:-:* ) # input from stdin
47357 cat >$tmp/stdin
47358 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
47359 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
47360 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
47361 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
47362 * ) ac_file_in=$ac_file.in ;;
47363 esac
47364
47365 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
47366 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
47367 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
47368 X"$ac_file" : 'X\(//\)[^/]' \| \
47369 X"$ac_file" : 'X\(//\)$' \| \
47370 X"$ac_file" : 'X\(/\)' \| \
47371 . : '\(.\)' 2>/dev/null ||
47372 echo X"$ac_file" |
47373 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
47374 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
47375 /^X\(\/\/\)$/{ s//\1/; q; }
47376 /^X\(\/\).*/{ s//\1/; q; }
47377 s/.*/./; q'`
47378 { if $as_mkdir_p; then
47379 mkdir -p "$ac_dir"
47380 else
47381 as_dir="$ac_dir"
47382 as_dirs=
47383 while test ! -d "$as_dir"; do
47384 as_dirs="$as_dir $as_dirs"
47385 as_dir=`(dirname "$as_dir") 2>/dev/null ||
47386 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
47387 X"$as_dir" : 'X\(//\)[^/]' \| \
47388 X"$as_dir" : 'X\(//\)$' \| \
47389 X"$as_dir" : 'X\(/\)' \| \
47390 . : '\(.\)' 2>/dev/null ||
47391 echo X"$as_dir" |
47392 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
47393 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
47394 /^X\(\/\/\)$/{ s//\1/; q; }
47395 /^X\(\/\).*/{ s//\1/; q; }
47396 s/.*/./; q'`
47397 done
47398 test ! -n "$as_dirs" || mkdir $as_dirs
47399 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
47400 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
47401 { (exit 1); exit 1; }; }; }
47402
47403 ac_builddir=.
47404
47405 if test "$ac_dir" != .; then
47406 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
47407 # A "../" for each directory in $ac_dir_suffix.
47408 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
47409 else
47410 ac_dir_suffix= ac_top_builddir=
47411 fi
47412
47413 case $srcdir in
47414 .) # No --srcdir option. We are building in place.
47415 ac_srcdir=.
47416 if test -z "$ac_top_builddir"; then
47417 ac_top_srcdir=.
47418 else
47419 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
47420 fi ;;
47421 [\\/]* | ?:[\\/]* ) # Absolute path.
47422 ac_srcdir=$srcdir$ac_dir_suffix;
47423 ac_top_srcdir=$srcdir ;;
47424 *) # Relative path.
47425 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
47426 ac_top_srcdir=$ac_top_builddir$srcdir ;;
47427 esac
47428
47429 # Do not use `cd foo && pwd` to compute absolute paths, because
47430 # the directories may not exist.
47431 case `pwd` in
47432 .) ac_abs_builddir="$ac_dir";;
47433 *)
47434 case "$ac_dir" in
47435 .) ac_abs_builddir=`pwd`;;
47436 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
47437 *) ac_abs_builddir=`pwd`/"$ac_dir";;
47438 esac;;
47439 esac
47440 case $ac_abs_builddir in
47441 .) ac_abs_top_builddir=${ac_top_builddir}.;;
47442 *)
47443 case ${ac_top_builddir}. in
47444 .) ac_abs_top_builddir=$ac_abs_builddir;;
47445 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
47446 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
47447 esac;;
47448 esac
47449 case $ac_abs_builddir in
47450 .) ac_abs_srcdir=$ac_srcdir;;
47451 *)
47452 case $ac_srcdir in
47453 .) ac_abs_srcdir=$ac_abs_builddir;;
47454 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
47455 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
47456 esac;;
47457 esac
47458 case $ac_abs_builddir in
47459 .) ac_abs_top_srcdir=$ac_top_srcdir;;
47460 *)
47461 case $ac_top_srcdir in
47462 .) ac_abs_top_srcdir=$ac_abs_builddir;;
47463 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
47464 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
47465 esac;;
47466 esac
47467
47468
47469 case $INSTALL in
47470 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
47471 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
47472 esac
47473
47474 # Let's still pretend it is `configure' which instantiates (i.e., don't
47475 # use $as_me), people would be surprised to read:
47476 # /* config.h. Generated by config.status. */
47477 if test x"$ac_file" = x-; then
47478 configure_input=
47479 else
47480 configure_input="$ac_file. "
47481 fi
47482 configure_input=$configure_input"Generated from `echo $ac_file_in |
47483 sed 's,.*/,,'` by configure."
47484
47485 # First look for the input files in the build tree, otherwise in the
47486 # src tree.
47487 ac_file_inputs=`IFS=:
47488 for f in $ac_file_in; do
47489 case $f in
47490 -) echo $tmp/stdin ;;
47491 [\\/$]*)
47492 # Absolute (can't be DOS-style, as IFS=:)
47493 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
47494 echo "$as_me: error: cannot find input file: $f" >&2;}
47495 { (exit 1); exit 1; }; }
47496 echo "$f";;
47497 *) # Relative
47498 if test -f "$f"; then
47499 # Build tree
47500 echo "$f"
47501 elif test -f "$srcdir/$f"; then
47502 # Source tree
47503 echo "$srcdir/$f"
47504 else
47505 # /dev/null tree
47506 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
47507 echo "$as_me: error: cannot find input file: $f" >&2;}
47508 { (exit 1); exit 1; }; }
47509 fi;;
47510 esac
47511 done` || { (exit 1); exit 1; }
47512
47513 if test x"$ac_file" != x-; then
47514 { echo "$as_me:$LINENO: creating $ac_file" >&5
47515 echo "$as_me: creating $ac_file" >&6;}
47516 rm -f "$ac_file"
47517 fi
47518 _ACEOF
47519 cat >>$CONFIG_STATUS <<_ACEOF
47520 sed "$ac_vpsub
47521 $extrasub
47522 _ACEOF
47523 cat >>$CONFIG_STATUS <<\_ACEOF
47524 :t
47525 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
47526 s,@configure_input@,$configure_input,;t t
47527 s,@srcdir@,$ac_srcdir,;t t
47528 s,@abs_srcdir@,$ac_abs_srcdir,;t t
47529 s,@top_srcdir@,$ac_top_srcdir,;t t
47530 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
47531 s,@builddir@,$ac_builddir,;t t
47532 s,@abs_builddir@,$ac_abs_builddir,;t t
47533 s,@top_builddir@,$ac_top_builddir,;t t
47534 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
47535 s,@INSTALL@,$ac_INSTALL,;t t
47536 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
47537 rm -f $tmp/stdin
47538 if test x"$ac_file" != x-; then
47539 mv $tmp/out $ac_file
47540 else
47541 cat $tmp/out
47542 rm -f $tmp/out
47543 fi
47544
47545 # Run the commands associated with the file.
47546 case $ac_file in
47547 lib/wx/config/${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
47548 lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
47549 esac
47550 done
47551 _ACEOF
47552 cat >>$CONFIG_STATUS <<\_ACEOF
47553
47554 #
47555 # CONFIG_HEADER section.
47556 #
47557
47558 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
47559 # NAME is the cpp macro being defined and VALUE is the value it is being given.
47560 #
47561 # ac_d sets the value in "#define NAME VALUE" lines.
47562 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
47563 ac_dB='[ ].*$,\1#\2'
47564 ac_dC=' '
47565 ac_dD=',;t'
47566 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
47567 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
47568 ac_uB='$,\1#\2define\3'
47569 ac_uC=' '
47570 ac_uD=',;t'
47571
47572 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
47573 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
47574 case $ac_file in
47575 - | *:- | *:-:* ) # input from stdin
47576 cat >$tmp/stdin
47577 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
47578 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
47579 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
47580 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
47581 * ) ac_file_in=$ac_file.in ;;
47582 esac
47583
47584 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
47585 echo "$as_me: creating $ac_file" >&6;}
47586
47587 # First look for the input files in the build tree, otherwise in the
47588 # src tree.
47589 ac_file_inputs=`IFS=:
47590 for f in $ac_file_in; do
47591 case $f in
47592 -) echo $tmp/stdin ;;
47593 [\\/$]*)
47594 # Absolute (can't be DOS-style, as IFS=:)
47595 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
47596 echo "$as_me: error: cannot find input file: $f" >&2;}
47597 { (exit 1); exit 1; }; }
47598 # Do quote $f, to prevent DOS paths from being IFS'd.
47599 echo "$f";;
47600 *) # Relative
47601 if test -f "$f"; then
47602 # Build tree
47603 echo "$f"
47604 elif test -f "$srcdir/$f"; then
47605 # Source tree
47606 echo "$srcdir/$f"
47607 else
47608 # /dev/null tree
47609 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
47610 echo "$as_me: error: cannot find input file: $f" >&2;}
47611 { (exit 1); exit 1; }; }
47612 fi;;
47613 esac
47614 done` || { (exit 1); exit 1; }
47615 # Remove the trailing spaces.
47616 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
47617
47618 _ACEOF
47619
47620 # Transform confdefs.h into two sed scripts, `conftest.defines' and
47621 # `conftest.undefs', that substitutes the proper values into
47622 # config.h.in to produce config.h. The first handles `#define'
47623 # templates, and the second `#undef' templates.
47624 # And first: Protect against being on the right side of a sed subst in
47625 # config.status. Protect against being in an unquoted here document
47626 # in config.status.
47627 rm -f conftest.defines conftest.undefs
47628 # Using a here document instead of a string reduces the quoting nightmare.
47629 # Putting comments in sed scripts is not portable.
47630 #
47631 # `end' is used to avoid that the second main sed command (meant for
47632 # 0-ary CPP macros) applies to n-ary macro definitions.
47633 # See the Autoconf documentation for `clear'.
47634 cat >confdef2sed.sed <<\_ACEOF
47635 s/[\\&,]/\\&/g
47636 s,[\\$`],\\&,g
47637 t clear
47638 : clear
47639 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
47640 t end
47641 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
47642 : end
47643 _ACEOF
47644 # If some macros were called several times there might be several times
47645 # the same #defines, which is useless. Nevertheless, we may not want to
47646 # sort them, since we want the *last* AC-DEFINE to be honored.
47647 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
47648 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
47649 rm -f confdef2sed.sed
47650
47651 # This sed command replaces #undef with comments. This is necessary, for
47652 # example, in the case of _POSIX_SOURCE, which is predefined and required
47653 # on some systems where configure will not decide to define it.
47654 cat >>conftest.undefs <<\_ACEOF
47655 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
47656 _ACEOF
47657
47658 # Break up conftest.defines because some shells have a limit on the size
47659 # of here documents, and old seds have small limits too (100 cmds).
47660 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
47661 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
47662 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
47663 echo ' :' >>$CONFIG_STATUS
47664 rm -f conftest.tail
47665 while grep . conftest.defines >/dev/null
47666 do
47667 # Write a limited-size here document to $tmp/defines.sed.
47668 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
47669 # Speed up: don't consider the non `#define' lines.
47670 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
47671 # Work around the forget-to-reset-the-flag bug.
47672 echo 't clr' >>$CONFIG_STATUS
47673 echo ': clr' >>$CONFIG_STATUS
47674 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
47675 echo 'CEOF
47676 sed -f $tmp/defines.sed $tmp/in >$tmp/out
47677 rm -f $tmp/in
47678 mv $tmp/out $tmp/in
47679 ' >>$CONFIG_STATUS
47680 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
47681 rm -f conftest.defines
47682 mv conftest.tail conftest.defines
47683 done
47684 rm -f conftest.defines
47685 echo ' fi # grep' >>$CONFIG_STATUS
47686 echo >>$CONFIG_STATUS
47687
47688 # Break up conftest.undefs because some shells have a limit on the size
47689 # of here documents, and old seds have small limits too (100 cmds).
47690 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
47691 rm -f conftest.tail
47692 while grep . conftest.undefs >/dev/null
47693 do
47694 # Write a limited-size here document to $tmp/undefs.sed.
47695 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
47696 # Speed up: don't consider the non `#undef'
47697 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
47698 # Work around the forget-to-reset-the-flag bug.
47699 echo 't clr' >>$CONFIG_STATUS
47700 echo ': clr' >>$CONFIG_STATUS
47701 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
47702 echo 'CEOF
47703 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
47704 rm -f $tmp/in
47705 mv $tmp/out $tmp/in
47706 ' >>$CONFIG_STATUS
47707 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
47708 rm -f conftest.undefs
47709 mv conftest.tail conftest.undefs
47710 done
47711 rm -f conftest.undefs
47712
47713 cat >>$CONFIG_STATUS <<\_ACEOF
47714 # Let's still pretend it is `configure' which instantiates (i.e., don't
47715 # use $as_me), people would be surprised to read:
47716 # /* config.h. Generated by config.status. */
47717 if test x"$ac_file" = x-; then
47718 echo "/* Generated by configure. */" >$tmp/config.h
47719 else
47720 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
47721 fi
47722 cat $tmp/in >>$tmp/config.h
47723 rm -f $tmp/in
47724 if test x"$ac_file" != x-; then
47725 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
47726 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
47727 echo "$as_me: $ac_file is unchanged" >&6;}
47728 else
47729 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
47730 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
47731 X"$ac_file" : 'X\(//\)[^/]' \| \
47732 X"$ac_file" : 'X\(//\)$' \| \
47733 X"$ac_file" : 'X\(/\)' \| \
47734 . : '\(.\)' 2>/dev/null ||
47735 echo X"$ac_file" |
47736 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
47737 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
47738 /^X\(\/\/\)$/{ s//\1/; q; }
47739 /^X\(\/\).*/{ s//\1/; q; }
47740 s/.*/./; q'`
47741 { if $as_mkdir_p; then
47742 mkdir -p "$ac_dir"
47743 else
47744 as_dir="$ac_dir"
47745 as_dirs=
47746 while test ! -d "$as_dir"; do
47747 as_dirs="$as_dir $as_dirs"
47748 as_dir=`(dirname "$as_dir") 2>/dev/null ||
47749 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
47750 X"$as_dir" : 'X\(//\)[^/]' \| \
47751 X"$as_dir" : 'X\(//\)$' \| \
47752 X"$as_dir" : 'X\(/\)' \| \
47753 . : '\(.\)' 2>/dev/null ||
47754 echo X"$as_dir" |
47755 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
47756 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
47757 /^X\(\/\/\)$/{ s//\1/; q; }
47758 /^X\(\/\).*/{ s//\1/; q; }
47759 s/.*/./; q'`
47760 done
47761 test ! -n "$as_dirs" || mkdir $as_dirs
47762 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
47763 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
47764 { (exit 1); exit 1; }; }; }
47765
47766 rm -f $ac_file
47767 mv $tmp/config.h $ac_file
47768 fi
47769 else
47770 cat $tmp/config.h
47771 rm -f $tmp/config.h
47772 fi
47773 done
47774 _ACEOF
47775 cat >>$CONFIG_STATUS <<\_ACEOF
47776
47777 #
47778 # CONFIG_COMMANDS section.
47779 #
47780 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
47781 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
47782 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
47783 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
47784 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
47785 X"$ac_dest" : 'X\(//\)[^/]' \| \
47786 X"$ac_dest" : 'X\(//\)$' \| \
47787 X"$ac_dest" : 'X\(/\)' \| \
47788 . : '\(.\)' 2>/dev/null ||
47789 echo X"$ac_dest" |
47790 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
47791 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
47792 /^X\(\/\/\)$/{ s//\1/; q; }
47793 /^X\(\/\).*/{ s//\1/; q; }
47794 s/.*/./; q'`
47795 { if $as_mkdir_p; then
47796 mkdir -p "$ac_dir"
47797 else
47798 as_dir="$ac_dir"
47799 as_dirs=
47800 while test ! -d "$as_dir"; do
47801 as_dirs="$as_dir $as_dirs"
47802 as_dir=`(dirname "$as_dir") 2>/dev/null ||
47803 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
47804 X"$as_dir" : 'X\(//\)[^/]' \| \
47805 X"$as_dir" : 'X\(//\)$' \| \
47806 X"$as_dir" : 'X\(/\)' \| \
47807 . : '\(.\)' 2>/dev/null ||
47808 echo X"$as_dir" |
47809 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
47810 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
47811 /^X\(\/\/\)$/{ s//\1/; q; }
47812 /^X\(\/\).*/{ s//\1/; q; }
47813 s/.*/./; q'`
47814 done
47815 test ! -n "$as_dirs" || mkdir $as_dirs
47816 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
47817 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
47818 { (exit 1); exit 1; }; }; }
47819
47820 ac_builddir=.
47821
47822 if test "$ac_dir" != .; then
47823 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
47824 # A "../" for each directory in $ac_dir_suffix.
47825 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
47826 else
47827 ac_dir_suffix= ac_top_builddir=
47828 fi
47829
47830 case $srcdir in
47831 .) # No --srcdir option. We are building in place.
47832 ac_srcdir=.
47833 if test -z "$ac_top_builddir"; then
47834 ac_top_srcdir=.
47835 else
47836 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
47837 fi ;;
47838 [\\/]* | ?:[\\/]* ) # Absolute path.
47839 ac_srcdir=$srcdir$ac_dir_suffix;
47840 ac_top_srcdir=$srcdir ;;
47841 *) # Relative path.
47842 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
47843 ac_top_srcdir=$ac_top_builddir$srcdir ;;
47844 esac
47845
47846 # Do not use `cd foo && pwd` to compute absolute paths, because
47847 # the directories may not exist.
47848 case `pwd` in
47849 .) ac_abs_builddir="$ac_dir";;
47850 *)
47851 case "$ac_dir" in
47852 .) ac_abs_builddir=`pwd`;;
47853 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
47854 *) ac_abs_builddir=`pwd`/"$ac_dir";;
47855 esac;;
47856 esac
47857 case $ac_abs_builddir in
47858 .) ac_abs_top_builddir=${ac_top_builddir}.;;
47859 *)
47860 case ${ac_top_builddir}. in
47861 .) ac_abs_top_builddir=$ac_abs_builddir;;
47862 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
47863 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
47864 esac;;
47865 esac
47866 case $ac_abs_builddir in
47867 .) ac_abs_srcdir=$ac_srcdir;;
47868 *)
47869 case $ac_srcdir in
47870 .) ac_abs_srcdir=$ac_abs_builddir;;
47871 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
47872 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
47873 esac;;
47874 esac
47875 case $ac_abs_builddir in
47876 .) ac_abs_top_srcdir=$ac_top_srcdir;;
47877 *)
47878 case $ac_top_srcdir in
47879 .) ac_abs_top_srcdir=$ac_abs_builddir;;
47880 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
47881 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
47882 esac;;
47883 esac
47884
47885
47886 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
47887 echo "$as_me: executing $ac_dest commands" >&6;}
47888 case $ac_dest in
47889 wx-config ) rm -f wx-config
47890 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
47891 ;;
47892 esac
47893 done
47894 _ACEOF
47895
47896 cat >>$CONFIG_STATUS <<\_ACEOF
47897
47898 { (exit 0); exit 0; }
47899 _ACEOF
47900 chmod +x $CONFIG_STATUS
47901 ac_clean_files=$ac_clean_files_save
47902
47903
47904 # configure is writing to config.log, and then calls config.status.
47905 # config.status does its own redirection, appending to config.log.
47906 # Unfortunately, on DOS this fails, as config.log is still kept open
47907 # by configure, so config.status won't be able to write to it; its
47908 # output is simply discarded. So we exec the FD to /dev/null,
47909 # effectively closing config.log, so it can be properly (re)opened and
47910 # appended to by config.status. When coming back to configure, we
47911 # need to make the FD available again.
47912 if test "$no_create" != yes; then
47913 ac_cs_success=:
47914 ac_config_status_args=
47915 test "$silent" = yes &&
47916 ac_config_status_args="$ac_config_status_args --quiet"
47917 exec 5>/dev/null
47918 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
47919 exec 5>>config.log
47920 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
47921 # would make configure fail if this is the last instruction.
47922 $ac_cs_success || { (exit 1); exit 1; }
47923 fi
47924
47925 #
47926 # CONFIG_SUBDIRS section.
47927 #
47928 if test "$no_recursion" != yes; then
47929
47930 # Remove --cache-file and --srcdir arguments so they do not pile up.
47931 ac_sub_configure_args=
47932 ac_prev=
47933 for ac_arg in $ac_configure_args; do
47934 if test -n "$ac_prev"; then
47935 ac_prev=
47936 continue
47937 fi
47938 case $ac_arg in
47939 -cache-file | --cache-file | --cache-fil | --cache-fi \
47940 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
47941 ac_prev=cache_file ;;
47942 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
47943 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
47944 | --c=*)
47945 ;;
47946 --config-cache | -C)
47947 ;;
47948 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
47949 ac_prev=srcdir ;;
47950 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
47951 ;;
47952 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
47953 ac_prev=prefix ;;
47954 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
47955 ;;
47956 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
47957 esac
47958 done
47959
47960 # Always prepend --prefix to ensure using the same prefix
47961 # in subdir configurations.
47962 ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args"
47963
47964 ac_popdir=`pwd`
47965 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
47966
47967 # Do not complain, so a configure script can configure whichever
47968 # parts of a large source tree are present.
47969 test -d $srcdir/$ac_dir || continue
47970
47971 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
47972 echo "$as_me: configuring in $ac_dir" >&6;}
47973 { if $as_mkdir_p; then
47974 mkdir -p "$ac_dir"
47975 else
47976 as_dir="$ac_dir"
47977 as_dirs=
47978 while test ! -d "$as_dir"; do
47979 as_dirs="$as_dir $as_dirs"
47980 as_dir=`(dirname "$as_dir") 2>/dev/null ||
47981 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
47982 X"$as_dir" : 'X\(//\)[^/]' \| \
47983 X"$as_dir" : 'X\(//\)$' \| \
47984 X"$as_dir" : 'X\(/\)' \| \
47985 . : '\(.\)' 2>/dev/null ||
47986 echo X"$as_dir" |
47987 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
47988 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
47989 /^X\(\/\/\)$/{ s//\1/; q; }
47990 /^X\(\/\).*/{ s//\1/; q; }
47991 s/.*/./; q'`
47992 done
47993 test ! -n "$as_dirs" || mkdir $as_dirs
47994 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
47995 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
47996 { (exit 1); exit 1; }; }; }
47997
47998 ac_builddir=.
47999
48000 if test "$ac_dir" != .; then
48001 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
48002 # A "../" for each directory in $ac_dir_suffix.
48003 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
48004 else
48005 ac_dir_suffix= ac_top_builddir=
48006 fi
48007
48008 case $srcdir in
48009 .) # No --srcdir option. We are building in place.
48010 ac_srcdir=.
48011 if test -z "$ac_top_builddir"; then
48012 ac_top_srcdir=.
48013 else
48014 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
48015 fi ;;
48016 [\\/]* | ?:[\\/]* ) # Absolute path.
48017 ac_srcdir=$srcdir$ac_dir_suffix;
48018 ac_top_srcdir=$srcdir ;;
48019 *) # Relative path.
48020 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
48021 ac_top_srcdir=$ac_top_builddir$srcdir ;;
48022 esac
48023
48024 # Do not use `cd foo && pwd` to compute absolute paths, because
48025 # the directories may not exist.
48026 case `pwd` in
48027 .) ac_abs_builddir="$ac_dir";;
48028 *)
48029 case "$ac_dir" in
48030 .) ac_abs_builddir=`pwd`;;
48031 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
48032 *) ac_abs_builddir=`pwd`/"$ac_dir";;
48033 esac;;
48034 esac
48035 case $ac_abs_builddir in
48036 .) ac_abs_top_builddir=${ac_top_builddir}.;;
48037 *)
48038 case ${ac_top_builddir}. in
48039 .) ac_abs_top_builddir=$ac_abs_builddir;;
48040 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
48041 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
48042 esac;;
48043 esac
48044 case $ac_abs_builddir in
48045 .) ac_abs_srcdir=$ac_srcdir;;
48046 *)
48047 case $ac_srcdir in
48048 .) ac_abs_srcdir=$ac_abs_builddir;;
48049 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
48050 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
48051 esac;;
48052 esac
48053 case $ac_abs_builddir in
48054 .) ac_abs_top_srcdir=$ac_top_srcdir;;
48055 *)
48056 case $ac_top_srcdir in
48057 .) ac_abs_top_srcdir=$ac_abs_builddir;;
48058 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
48059 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
48060 esac;;
48061 esac
48062
48063
48064 cd $ac_dir
48065
48066 # Check for guested configure; otherwise get Cygnus style configure.
48067 if test -f $ac_srcdir/configure.gnu; then
48068 ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'"
48069 elif test -f $ac_srcdir/configure; then
48070 ac_sub_configure="$SHELL '$ac_srcdir/configure'"
48071 elif test -f $ac_srcdir/configure.in; then
48072 ac_sub_configure=$ac_configure
48073 else
48074 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
48075 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
48076 ac_sub_configure=
48077 fi
48078
48079 # The recursion is here.
48080 if test -n "$ac_sub_configure"; then
48081 # Make the cache file name correct relative to the subdirectory.
48082 case $cache_file in
48083 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
48084 *) # Relative path.
48085 ac_sub_cache_file=$ac_top_builddir$cache_file ;;
48086 esac
48087
48088 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
48089 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
48090 # The eval makes quoting arguments work.
48091 eval $ac_sub_configure $ac_sub_configure_args \
48092 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
48093 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
48094 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
48095 { (exit 1); exit 1; }; }
48096 fi
48097
48098 cd "$ac_popdir"
48099 done
48100 fi
48101
48102
48103 echo
48104 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
48105 echo ""
48106 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_USER:-base only}"
48107 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
48108
48109 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
48110 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
48111 echo " Should wxWidgets be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
48112
48113 echo " What level of wxWidgets compatibility should be enabled?"
48114 echo " wxWidgets 2.2 ${WXWIN_COMPATIBILITY_2_2:-no}"
48115 echo " wxWidgets 2.4 ${WXWIN_COMPATIBILITY_2_4:-yes}"
48116
48117 echo " Which libraries should wxWidgets use?"
48118 echo " jpeg ${wxUSE_LIBJPEG-none}"
48119 echo " png ${wxUSE_LIBPNG-none}"
48120 echo " regex ${wxUSE_REGEX}"
48121 echo " tiff ${wxUSE_LIBTIFF-none}"
48122 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
48123 echo " xpm ${wxUSE_LIBXPM-none}"
48124 fi
48125 echo " zlib ${wxUSE_ZLIB}"
48126 echo " odbc ${wxUSE_ODBC}"
48127 echo " expat ${wxUSE_EXPAT}"
48128 echo " libmspack ${wxUSE_LIBMSPACK}"
48129 echo " sdl ${wxUSE_LIBSDL}"
48130 echo " gnomeprint ${wxUSE_LIBGNOMEPRINT-none}"
48131
48132 echo ""
48133