]> git.saurik.com Git - wxWidgets.git/blob - configure
Remove bufferoverflowu.lib since it's not present with some versions of VC++ 8
[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 LNDIR 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-compat24 enable wxWidgets 2.4 compatibility
893 --disable-compat26 disable wxWidgets 2.6 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-richtext use wxRichTextCtrl
963 --enable-postscript use wxPostscriptDC device context (default for gtk+)
964 --enable-prologio not available; see contrib
965 --enable-resources not available; see contrib
966 --enable-clipboard use wxClipboard class
967 --enable-dnd use Drag'n'Drop classes
968 --enable-metafile use win32 metafiles
969 --enable-controls use all usual controls
970 --enable-accel use accelerators
971 --enable-button use wxButton class
972 --enable-bmpbutton use wxBitmapButton class
973 --enable-calendar use wxCalendarCtrl class
974 --enable-caret use wxCaret class
975 --enable-checkbox use wxCheckBox class
976 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
977 --enable-choice use wxChoice class
978 --enable-choicebook use wxChoicebook class
979 --enable-combobox use wxComboBox class
980 --enable-datepick use wxDatePickerCtrl class
981 --enable-display use wxDisplay class
982 --enable-gauge use wxGauge class
983 --enable-grid use wxGrid class
984 --enable-imaglist use wxImageList class
985 --enable-listbook use wxListbook class
986 --enable-listbox use wxListBox class
987 --enable-listctrl use wxListCtrl class
988 --enable-notebook use wxNotebook class
989 --enable-radiobox use wxRadioBox class
990 --enable-radiobtn use wxRadioButton class
991 --enable-sash use wxSashWindow class
992 --enable-scrollbar use wxScrollBar class and scrollable windows
993 --enable-slider use wxSlider class
994 --enable-spinbtn use wxSpinButton class
995 --enable-spinctrl use wxSpinCtrl class
996 --enable-splitter use wxSplitterWindow class
997 --enable-statbmp use wxStaticBitmap class
998 --enable-statbox use wxStaticBox class
999 --enable-statline use wxStaticLine class
1000 --enable-stattext use wxStaticText class
1001 --enable-statusbar use wxStatusBar class
1002 --enable-tabdialog use wxTabControl class
1003 --enable-textctrl use wxTextCtrl class
1004 --enable-togglebtn use wxToggleButton class
1005 --enable-toolbar use wxToolBar class
1006 --enable-tbarnative use native wxToolBar class
1007 --enable-tbarsmpl use wxToolBarSimple class
1008 --enable-treebook use wxTreebook class
1009 --enable-treectrl use wxTreeCtrl class
1010 --enable-tipwindow use wxTipWindow class
1011 --enable-popupwin use wxPopUpWindow class
1012 --enable-commondlg use all common dialogs
1013 --enable-choicedlg use wxChoiceDialog
1014 --enable-coldlg use wxColourDialog
1015 --enable-filedlg use wxFileDialog
1016 --enable-finddlg use wxFindReplaceDialog
1017 --enable-fontdlg use wxFontDialog
1018 --enable-dirdlg use wxDirDialog
1019 --enable-msgdlg use wxMessageDialog
1020 --enable-numberdlg use wxNumberEntryDialog
1021 --enable-splash use wxSplashScreen
1022 --enable-textdlg use wxTextDialog
1023 --enable-tipdlg use startup tips
1024 --enable-progressdlg use wxProgressDialog
1025 --enable-wizarddlg use wxWizard
1026 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1027 --enable-miniframe use wxMiniFrame class
1028 --enable-tooltips use wxToolTip class
1029 --enable-splines use spline drawing code
1030 --enable-mousewheel use mousewheel
1031 --enable-validators use wxValidator and derived classes
1032 --enable-busyinfo use wxBusyInfo
1033 --enable-joystick use wxJoystick
1034 --enable-metafiles use wxMetaFile (Win32 only)
1035 --enable-dragimage use wxDragImage
1036 --enable-accessibility enable accessibility support
1037 --enable-dccache cache temporary wxDC objects (Win32 only)
1038 --enable-palette use wxPalette class
1039 --enable-image use wxImage class
1040 --enable-gif use gif images (GIF file format)
1041 --enable-pcx use pcx images (PCX file format)
1042 --enable-iff use iff images (IFF file format)
1043 --enable-pnm use pnm images (PNM file format)
1044 --enable-xpm use xpm images (XPM file format)
1045 --enable-icocur use Windows ICO and CUR formats
1046 --enable-official_build official build of wxWidgets (win32 DLL only)
1047 --enable-vendor=VENDOR vendor name (win32 DLL only)
1048 --disable-largefile omit support for large files
1049 --disable-gtktest do not try to compile and run a test GTK+ program
1050 --disable-gtktest Do not try to compile and run a test GTK program
1051 --disable-sdltest Do not try to compile and run a test SDL program
1052 --enable-omf use OMF object format (OS/2)
1053 --disable-precomp-headers
1054 don't use precompiled headers even if compiler can
1055
1056 Optional Packages:
1057 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1058 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1059 --without-subdirs don't generate makefiles for samples/demos/...
1060 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1061 --with-motif use Motif/Lesstif
1062 --with-mac use Mac OS X
1063 --with-cocoa use Cocoa
1064 --with-wine use Wine
1065 --with-msw use MS-Windows
1066 --with-pm use OS/2 Presentation Manager
1067 --with-mgl use SciTech MGL
1068 --with-microwin use MicroWindows
1069 --with-x11 use X11
1070 --with-libpng use libpng (PNG image format)
1071 --with-libjpeg use libjpeg (JPEG file format)
1072 --with-libtiff use libtiff (TIFF file format)
1073 --with-libxpm use libxpm (XPM file format)
1074 --with-libmspack use libmspack (CHM help files loading)
1075 --with-sdl use SDL for audio on Unix
1076 --with-gnomeprint use GNOME print for printing under Unix
1077 --with-opengl use OpenGL (or Mesa)
1078 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1079 --with-regex enable support for wxRegEx class
1080 --with-zlib use zlib for LZW compression
1081 --with-odbc use the IODBC and wxODBC classes
1082 --with-expat enable XML support using expat parser
1083 --with-flavour=NAME specify a name to identify this build
1084 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1085 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1086 --with-x use the X Window System
1087 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1088 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1089 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1090 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1091 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1092
1093 Some influential environment variables:
1094 CC C compiler command
1095 CFLAGS C compiler flags
1096 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1097 nonstandard directory <lib dir>
1098 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1099 headers in a nonstandard directory <include dir>
1100 CPP C preprocessor
1101 CXX C++ compiler command
1102 CXXFLAGS C++ compiler flags
1103 CXXCPP C++ preprocessor
1104
1105 Use these variables to override the choices made by `configure' or to help
1106 it to find libraries and programs with nonstandard names/locations.
1107
1108 Report bugs to <wx-dev@lists.wxwidgets.org>.
1109 _ACEOF
1110 fi
1111
1112 if test "$ac_init_help" = "recursive"; then
1113 # If there are subdirs, report their specific --help.
1114 ac_popdir=`pwd`
1115 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1116 test -d $ac_dir || continue
1117 ac_builddir=.
1118
1119 if test "$ac_dir" != .; then
1120 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1121 # A "../" for each directory in $ac_dir_suffix.
1122 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1123 else
1124 ac_dir_suffix= ac_top_builddir=
1125 fi
1126
1127 case $srcdir in
1128 .) # No --srcdir option. We are building in place.
1129 ac_srcdir=.
1130 if test -z "$ac_top_builddir"; then
1131 ac_top_srcdir=.
1132 else
1133 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1134 fi ;;
1135 [\\/]* | ?:[\\/]* ) # Absolute path.
1136 ac_srcdir=$srcdir$ac_dir_suffix;
1137 ac_top_srcdir=$srcdir ;;
1138 *) # Relative path.
1139 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1140 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1141 esac
1142
1143 # Do not use `cd foo && pwd` to compute absolute paths, because
1144 # the directories may not exist.
1145 case `pwd` in
1146 .) ac_abs_builddir="$ac_dir";;
1147 *)
1148 case "$ac_dir" in
1149 .) ac_abs_builddir=`pwd`;;
1150 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1151 *) ac_abs_builddir=`pwd`/"$ac_dir";;
1152 esac;;
1153 esac
1154 case $ac_abs_builddir in
1155 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1156 *)
1157 case ${ac_top_builddir}. in
1158 .) ac_abs_top_builddir=$ac_abs_builddir;;
1159 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1160 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1161 esac;;
1162 esac
1163 case $ac_abs_builddir in
1164 .) ac_abs_srcdir=$ac_srcdir;;
1165 *)
1166 case $ac_srcdir in
1167 .) ac_abs_srcdir=$ac_abs_builddir;;
1168 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1169 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1170 esac;;
1171 esac
1172 case $ac_abs_builddir in
1173 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1174 *)
1175 case $ac_top_srcdir in
1176 .) ac_abs_top_srcdir=$ac_abs_builddir;;
1177 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1178 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1179 esac;;
1180 esac
1181
1182 cd $ac_dir
1183 # Check for guested configure; otherwise get Cygnus style configure.
1184 if test -f $ac_srcdir/configure.gnu; then
1185 echo
1186 $SHELL $ac_srcdir/configure.gnu --help=recursive
1187 elif test -f $ac_srcdir/configure; then
1188 echo
1189 $SHELL $ac_srcdir/configure --help=recursive
1190 elif test -f $ac_srcdir/configure.ac ||
1191 test -f $ac_srcdir/configure.in; then
1192 echo
1193 $ac_configure --help
1194 else
1195 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1196 fi
1197 cd $ac_popdir
1198 done
1199 fi
1200
1201 test -n "$ac_init_help" && exit 0
1202 if $ac_init_version; then
1203 cat <<\_ACEOF
1204 wxWidgets configure 2.7.0
1205 generated by GNU Autoconf 2.59
1206
1207 Copyright (C) 2003 Free Software Foundation, Inc.
1208 This configure script is free software; the Free Software Foundation
1209 gives unlimited permission to copy, distribute and modify it.
1210 _ACEOF
1211 exit 0
1212 fi
1213 exec 5>config.log
1214 cat >&5 <<_ACEOF
1215 This file contains any messages produced by compilers while
1216 running configure, to aid debugging if configure makes a mistake.
1217
1218 It was created by wxWidgets $as_me 2.7.0, which was
1219 generated by GNU Autoconf 2.59. Invocation command line was
1220
1221 $ $0 $@
1222
1223 _ACEOF
1224 {
1225 cat <<_ASUNAME
1226 ## --------- ##
1227 ## Platform. ##
1228 ## --------- ##
1229
1230 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1231 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1232 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1233 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1234 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1235
1236 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1237 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1238
1239 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1240 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1241 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1242 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1243 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1244 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1245 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1246
1247 _ASUNAME
1248
1249 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1250 for as_dir in $PATH
1251 do
1252 IFS=$as_save_IFS
1253 test -z "$as_dir" && as_dir=.
1254 echo "PATH: $as_dir"
1255 done
1256
1257 } >&5
1258
1259 cat >&5 <<_ACEOF
1260
1261
1262 ## ----------- ##
1263 ## Core tests. ##
1264 ## ----------- ##
1265
1266 _ACEOF
1267
1268
1269 # Keep a trace of the command line.
1270 # Strip out --no-create and --no-recursion so they do not pile up.
1271 # Strip out --silent because we don't want to record it for future runs.
1272 # Also quote any args containing shell meta-characters.
1273 # Make two passes to allow for proper duplicate-argument suppression.
1274 ac_configure_args=
1275 ac_configure_args0=
1276 ac_configure_args1=
1277 ac_sep=
1278 ac_must_keep_next=false
1279 for ac_pass in 1 2
1280 do
1281 for ac_arg
1282 do
1283 case $ac_arg in
1284 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1285 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1286 | -silent | --silent | --silen | --sile | --sil)
1287 continue ;;
1288 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1289 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1290 esac
1291 case $ac_pass in
1292 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1293 2)
1294 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1295 if test $ac_must_keep_next = true; then
1296 ac_must_keep_next=false # Got value, back to normal.
1297 else
1298 case $ac_arg in
1299 *=* | --config-cache | -C | -disable-* | --disable-* \
1300 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1301 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1302 | -with-* | --with-* | -without-* | --without-* | --x)
1303 case "$ac_configure_args0 " in
1304 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1305 esac
1306 ;;
1307 -* ) ac_must_keep_next=true ;;
1308 esac
1309 fi
1310 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1311 # Get rid of the leading space.
1312 ac_sep=" "
1313 ;;
1314 esac
1315 done
1316 done
1317 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1318 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1319
1320 # When interrupted or exit'd, cleanup temporary files, and complete
1321 # config.log. We remove comments because anyway the quotes in there
1322 # would cause problems or look ugly.
1323 # WARNING: Be sure not to use single quotes in there, as some shells,
1324 # such as our DU 5.0 friend, will then `close' the trap.
1325 trap 'exit_status=$?
1326 # Save into config.log some information that might help in debugging.
1327 {
1328 echo
1329
1330 cat <<\_ASBOX
1331 ## ---------------- ##
1332 ## Cache variables. ##
1333 ## ---------------- ##
1334 _ASBOX
1335 echo
1336 # The following way of writing the cache mishandles newlines in values,
1337 {
1338 (set) 2>&1 |
1339 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1340 *ac_space=\ *)
1341 sed -n \
1342 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1343 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1344 ;;
1345 *)
1346 sed -n \
1347 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1348 ;;
1349 esac;
1350 }
1351 echo
1352
1353 cat <<\_ASBOX
1354 ## ----------------- ##
1355 ## Output variables. ##
1356 ## ----------------- ##
1357 _ASBOX
1358 echo
1359 for ac_var in $ac_subst_vars
1360 do
1361 eval ac_val=$`echo $ac_var`
1362 echo "$ac_var='"'"'$ac_val'"'"'"
1363 done | sort
1364 echo
1365
1366 if test -n "$ac_subst_files"; then
1367 cat <<\_ASBOX
1368 ## ------------- ##
1369 ## Output files. ##
1370 ## ------------- ##
1371 _ASBOX
1372 echo
1373 for ac_var in $ac_subst_files
1374 do
1375 eval ac_val=$`echo $ac_var`
1376 echo "$ac_var='"'"'$ac_val'"'"'"
1377 done | sort
1378 echo
1379 fi
1380
1381 if test -s confdefs.h; then
1382 cat <<\_ASBOX
1383 ## ----------- ##
1384 ## confdefs.h. ##
1385 ## ----------- ##
1386 _ASBOX
1387 echo
1388 sed "/^$/d" confdefs.h | sort
1389 echo
1390 fi
1391 test "$ac_signal" != 0 &&
1392 echo "$as_me: caught signal $ac_signal"
1393 echo "$as_me: exit $exit_status"
1394 } >&5
1395 rm -f core *.core &&
1396 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1397 exit $exit_status
1398 ' 0
1399 for ac_signal in 1 2 13 15; do
1400 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1401 done
1402 ac_signal=0
1403
1404 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1405 rm -rf conftest* confdefs.h
1406 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1407 echo >confdefs.h
1408
1409 # Predefined preprocessor variables.
1410
1411 cat >>confdefs.h <<_ACEOF
1412 #define PACKAGE_NAME "$PACKAGE_NAME"
1413 _ACEOF
1414
1415
1416 cat >>confdefs.h <<_ACEOF
1417 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1418 _ACEOF
1419
1420
1421 cat >>confdefs.h <<_ACEOF
1422 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1423 _ACEOF
1424
1425
1426 cat >>confdefs.h <<_ACEOF
1427 #define PACKAGE_STRING "$PACKAGE_STRING"
1428 _ACEOF
1429
1430
1431 cat >>confdefs.h <<_ACEOF
1432 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1433 _ACEOF
1434
1435
1436 # Let the site file select an alternate cache file if it wants to.
1437 # Prefer explicitly selected file to automatically selected ones.
1438 if test -z "$CONFIG_SITE"; then
1439 if test "x$prefix" != xNONE; then
1440 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1441 else
1442 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1443 fi
1444 fi
1445 for ac_site_file in $CONFIG_SITE; do
1446 if test -r "$ac_site_file"; then
1447 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1448 echo "$as_me: loading site script $ac_site_file" >&6;}
1449 sed 's/^/| /' "$ac_site_file" >&5
1450 . "$ac_site_file"
1451 fi
1452 done
1453
1454 if test -r "$cache_file"; then
1455 # Some versions of bash will fail to source /dev/null (special
1456 # files actually), so we avoid doing that.
1457 if test -f "$cache_file"; then
1458 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1459 echo "$as_me: loading cache $cache_file" >&6;}
1460 case $cache_file in
1461 [\\/]* | ?:[\\/]* ) . $cache_file;;
1462 *) . ./$cache_file;;
1463 esac
1464 fi
1465 else
1466 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1467 echo "$as_me: creating cache $cache_file" >&6;}
1468 >$cache_file
1469 fi
1470
1471 # Check that the precious variables saved in the cache have kept the same
1472 # value.
1473 ac_cache_corrupted=false
1474 for ac_var in `(set) 2>&1 |
1475 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1476 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1477 eval ac_new_set=\$ac_env_${ac_var}_set
1478 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1479 eval ac_new_val="\$ac_env_${ac_var}_value"
1480 case $ac_old_set,$ac_new_set in
1481 set,)
1482 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1483 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1484 ac_cache_corrupted=: ;;
1485 ,set)
1486 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1487 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1488 ac_cache_corrupted=: ;;
1489 ,);;
1490 *)
1491 if test "x$ac_old_val" != "x$ac_new_val"; then
1492 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1493 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1494 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1495 echo "$as_me: former value: $ac_old_val" >&2;}
1496 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1497 echo "$as_me: current value: $ac_new_val" >&2;}
1498 ac_cache_corrupted=:
1499 fi;;
1500 esac
1501 # Pass precious variables to config.status.
1502 if test "$ac_new_set" = set; then
1503 case $ac_new_val in
1504 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1505 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1506 *) ac_arg=$ac_var=$ac_new_val ;;
1507 esac
1508 case " $ac_configure_args " in
1509 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1510 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1511 esac
1512 fi
1513 done
1514 if $ac_cache_corrupted; then
1515 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1516 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1517 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1518 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1519 { (exit 1); exit 1; }; }
1520 fi
1521
1522 ac_ext=c
1523 ac_cpp='$CPP $CPPFLAGS'
1524 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1525 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1526 ac_compiler_gnu=$ac_cv_c_compiler_gnu
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
1556
1557 ac_aux_dir=
1558 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1559 if test -f $ac_dir/install-sh; then
1560 ac_aux_dir=$ac_dir
1561 ac_install_sh="$ac_aux_dir/install-sh -c"
1562 break
1563 elif test -f $ac_dir/install.sh; then
1564 ac_aux_dir=$ac_dir
1565 ac_install_sh="$ac_aux_dir/install.sh -c"
1566 break
1567 elif test -f $ac_dir/shtool; then
1568 ac_aux_dir=$ac_dir
1569 ac_install_sh="$ac_aux_dir/shtool install -c"
1570 break
1571 fi
1572 done
1573 if test -z "$ac_aux_dir"; then
1574 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1575 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1576 { (exit 1); exit 1; }; }
1577 fi
1578 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1579 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1580 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1581
1582 # Make sure we can run config.sub.
1583 $ac_config_sub sun4 >/dev/null 2>&1 ||
1584 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1585 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1586 { (exit 1); exit 1; }; }
1587
1588 echo "$as_me:$LINENO: checking build system type" >&5
1589 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1590 if test "${ac_cv_build+set}" = set; then
1591 echo $ECHO_N "(cached) $ECHO_C" >&6
1592 else
1593 ac_cv_build_alias=$build_alias
1594 test -z "$ac_cv_build_alias" &&
1595 ac_cv_build_alias=`$ac_config_guess`
1596 test -z "$ac_cv_build_alias" &&
1597 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1598 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1599 { (exit 1); exit 1; }; }
1600 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1601 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1602 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1603 { (exit 1); exit 1; }; }
1604
1605 fi
1606 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1607 echo "${ECHO_T}$ac_cv_build" >&6
1608 build=$ac_cv_build
1609 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1610 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1611 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1612
1613
1614 echo "$as_me:$LINENO: checking host system type" >&5
1615 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1616 if test "${ac_cv_host+set}" = set; then
1617 echo $ECHO_N "(cached) $ECHO_C" >&6
1618 else
1619 ac_cv_host_alias=$host_alias
1620 test -z "$ac_cv_host_alias" &&
1621 ac_cv_host_alias=$ac_cv_build_alias
1622 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1623 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1624 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1625 { (exit 1); exit 1; }; }
1626
1627 fi
1628 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1629 echo "${ECHO_T}$ac_cv_host" >&6
1630 host=$ac_cv_host
1631 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1632 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1633 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1634
1635
1636 echo "$as_me:$LINENO: checking target system type" >&5
1637 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1638 if test "${ac_cv_target+set}" = set; then
1639 echo $ECHO_N "(cached) $ECHO_C" >&6
1640 else
1641 ac_cv_target_alias=$target_alias
1642 test "x$ac_cv_target_alias" = "x" &&
1643 ac_cv_target_alias=$ac_cv_host_alias
1644 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1645 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1646 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1647 { (exit 1); exit 1; }; }
1648
1649 fi
1650 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1651 echo "${ECHO_T}$ac_cv_target" >&6
1652 target=$ac_cv_target
1653 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1654 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1655 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1656
1657
1658 # The aliases save the names the user supplied, while $host etc.
1659 # will get canonicalized.
1660 test -n "$target_alias" &&
1661 test "$program_prefix$program_suffix$program_transform_name" = \
1662 NONENONEs,x,x, &&
1663 program_prefix=${target_alias}-
1664
1665
1666
1667 wx_major_version_number=2
1668 wx_minor_version_number=7
1669 wx_release_number=0
1670 wx_subrelease_number=0
1671
1672 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
1673 WX_VERSION=$WX_RELEASE.$wx_release_number
1674 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
1675
1676 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
1677
1678
1679
1680
1681 USE_UNIX=1
1682 USE_OS2=0
1683 USE_WIN32=0
1684 USE_DOS=0
1685 USE_BEOS=0
1686 USE_MAC=0
1687
1688 USE_AIX=
1689 USE_BSD= USE_DARWIN= USE_FREEBSD=
1690 USE_GNU= USE_HPUX=
1691 USE_LINUX=
1692 USE_NETBSD=
1693 USE_OPENBSD=
1694 USE_OSF= USE_SGI=
1695 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
1696 USE_ULTRIX=
1697 USE_UNIXWARE=
1698
1699 USE_ALPHA=
1700
1701 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
1702
1703 ALL_TOOLKITS="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11"
1704
1705 DEFAULT_wxUSE_COCOA=0
1706 DEFAULT_wxUSE_GTK=0
1707 DEFAULT_wxUSE_MAC=0
1708 DEFAULT_wxUSE_MGL=0
1709 DEFAULT_wxUSE_MICROWIN=0
1710 DEFAULT_wxUSE_MOTIF=0
1711 DEFAULT_wxUSE_MSW=0
1712 DEFAULT_wxUSE_PM=0
1713 DEFAULT_wxUSE_X11=0
1714
1715 DEFAULT_DEFAULT_wxUSE_COCOA=0
1716 DEFAULT_DEFAULT_wxUSE_GTK=0
1717 DEFAULT_DEFAULT_wxUSE_MAC=0
1718 DEFAULT_DEFAULT_wxUSE_MGL=0
1719 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
1720 DEFAULT_DEFAULT_wxUSE_MOTIF=0
1721 DEFAULT_DEFAULT_wxUSE_MSW=0
1722 DEFAULT_DEFAULT_wxUSE_PM=0
1723 DEFAULT_DEFAULT_wxUSE_X11=0
1724
1725 PROGRAM_EXT=
1726 SO_SUFFIX=so
1727 SAMPLES_RPATH_FLAG=
1728 SAMPLES_RPATH_POSTLINK=
1729
1730 DEFAULT_STD_FLAG=yes
1731
1732 case "${host}" in
1733 *-hp-hpux* )
1734 USE_HPUX=1
1735 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1736 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1737 SO_SUFFIX=sl
1738 cat >>confdefs.h <<\_ACEOF
1739 #define __HPUX__ 1
1740 _ACEOF
1741
1742
1743 CPPFLAGS="$CPPFLAGS -D_HPUX_SOURCE"
1744 ;;
1745 *-*-linux* )
1746 USE_LINUX=1
1747 cat >>confdefs.h <<\_ACEOF
1748 #define __LINUX__ 1
1749 _ACEOF
1750
1751 TMP=`uname -m`
1752 if test "x$TMP" = "xalpha"; then
1753 USE_ALPHA=1
1754 cat >>confdefs.h <<\_ACEOF
1755 #define __ALPHA__ 1
1756 _ACEOF
1757
1758 fi
1759 DEFAULT_DEFAULT_wxUSE_GTK=1
1760 ;;
1761 *-*-gnu* | *-*-k*bsd*-gnu )
1762 USE_GNU=1
1763 TMP=`uname -m`
1764 if test "x$TMP" = "xalpha"; then
1765 USE_ALPHA=1
1766 cat >>confdefs.h <<\_ACEOF
1767 #define __ALPHA__ 1
1768 _ACEOF
1769
1770 fi
1771 DEFAULT_DEFAULT_wxUSE_GTK=1
1772 ;;
1773 *-*-irix5* | *-*-irix6* )
1774 USE_SGI=1
1775 USE_SVR4=1
1776 cat >>confdefs.h <<\_ACEOF
1777 #define __SGI__ 1
1778 _ACEOF
1779
1780 cat >>confdefs.h <<\_ACEOF
1781 #define __SVR4__ 1
1782 _ACEOF
1783
1784 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1785 ;;
1786 *-*-solaris2* )
1787 USE_SUN=1
1788 USE_SOLARIS=1
1789 USE_SVR4=1
1790 cat >>confdefs.h <<\_ACEOF
1791 #define __SUN__ 1
1792 _ACEOF
1793
1794 cat >>confdefs.h <<\_ACEOF
1795 #define __SOLARIS__ 1
1796 _ACEOF
1797
1798 cat >>confdefs.h <<\_ACEOF
1799 #define __SVR4__ 1
1800 _ACEOF
1801
1802 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1803 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1804 ;;
1805 *-*-sunos4* )
1806 USE_SUN=1
1807 USE_SUNOS=1
1808 USE_BSD=1
1809 cat >>confdefs.h <<\_ACEOF
1810 #define __SUN__ 1
1811 _ACEOF
1812
1813 cat >>confdefs.h <<\_ACEOF
1814 #define __SUNOS__ 1
1815 _ACEOF
1816
1817 cat >>confdefs.h <<\_ACEOF
1818 #define __BSD__ 1
1819 _ACEOF
1820
1821 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1822 ;;
1823 *-*-freebsd*)
1824 USE_BSD=1
1825 USE_FREEBSD=1
1826 cat >>confdefs.h <<\_ACEOF
1827 #define __FREEBSD__ 1
1828 _ACEOF
1829
1830 cat >>confdefs.h <<\_ACEOF
1831 #define __BSD__ 1
1832 _ACEOF
1833
1834 DEFAULT_DEFAULT_wxUSE_GTK=1
1835 ;;
1836 *-*-openbsd*)
1837 USE_BSD=1
1838 USE_OPENBSD=1
1839 cat >>confdefs.h <<\_ACEOF
1840 #define __OPENBSD__ 1
1841 _ACEOF
1842
1843 cat >>confdefs.h <<\_ACEOF
1844 #define __BSD__ 1
1845 _ACEOF
1846
1847 DEFAULT_DEFAULT_wxUSE_GTK=1
1848 ;;
1849 *-*-netbsd*)
1850 USE_BSD=1
1851 USE_NETBSD=1
1852 cat >>confdefs.h <<\_ACEOF
1853 #define __NETBSD__ 1
1854 _ACEOF
1855
1856 cat >>confdefs.h <<\_ACEOF
1857 #define __BSD__ 1
1858 _ACEOF
1859
1860 DEFAULT_DEFAULT_wxUSE_GTK=1
1861 ;;
1862 *-*-osf* )
1863 USE_ALPHA=1
1864 USE_OSF=1
1865 cat >>confdefs.h <<\_ACEOF
1866 #define __ALPHA__ 1
1867 _ACEOF
1868
1869 cat >>confdefs.h <<\_ACEOF
1870 #define __OSF__ 1
1871 _ACEOF
1872
1873 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1874 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1875 ;;
1876 *-*-dgux5* )
1877 USE_ALPHA=1
1878 USE_SVR4=1
1879 cat >>confdefs.h <<\_ACEOF
1880 #define __ALPHA__ 1
1881 _ACEOF
1882
1883 cat >>confdefs.h <<\_ACEOF
1884 #define __SVR4__ 1
1885 _ACEOF
1886
1887 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1888 ;;
1889 *-*-sysv5* )
1890 USE_SYSV=1
1891 USE_SVR4=1
1892 cat >>confdefs.h <<\_ACEOF
1893 #define __SYSV__ 1
1894 _ACEOF
1895
1896 cat >>confdefs.h <<\_ACEOF
1897 #define __SVR4__ 1
1898 _ACEOF
1899
1900 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1901 ;;
1902 *-*-aix* )
1903 USE_AIX=1
1904 USE_SYSV=1
1905 USE_SVR4=1
1906 SO_SUFFIX=a
1907 cat >>confdefs.h <<\_ACEOF
1908 #define __AIX__ 1
1909 _ACEOF
1910
1911 cat >>confdefs.h <<\_ACEOF
1912 #define __SYSV__ 1
1913 _ACEOF
1914
1915 cat >>confdefs.h <<\_ACEOF
1916 #define __SVR4__ 1
1917 _ACEOF
1918
1919 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1920 ;;
1921
1922 *-*-*UnixWare*)
1923 USE_SYSV=1
1924 USE_SVR4=1
1925 USE_UNIXWARE=1
1926 cat >>confdefs.h <<\_ACEOF
1927 #define __UNIXWARE__ 1
1928 _ACEOF
1929
1930 ;;
1931
1932 *-*-cygwin* | *-*-mingw32* )
1933 SO_SUFFIX=dll
1934 PROGRAM_EXT=".exe"
1935 DEFAULT_DEFAULT_wxUSE_MSW=1
1936 DEFAULT_STD_FLAG=no
1937 ;;
1938
1939 *-pc-msdosdjgpp )
1940 USE_UNIX=0
1941 USE_DOS=1
1942 cat >>confdefs.h <<\_ACEOF
1943 #define __DOS__ 1
1944 _ACEOF
1945
1946 PROGRAM_EXT=".exe"
1947 DEFAULT_DEFAULT_wxUSE_MGL=1
1948 ;;
1949
1950 *-pc-os2_emx | *-pc-os2-emx )
1951 cat >>confdefs.h <<\_ACEOF
1952 #define __EMX__ 1
1953 _ACEOF
1954
1955 USE_OS2=1
1956 cat >>confdefs.h <<\_ACEOF
1957 #define __OS2__ 1
1958 _ACEOF
1959
1960 PROGRAM_EXT=".exe"
1961 DEFAULT_DEFAULT_wxUSE_PM=1
1962 CXX=gcc
1963 LDFLAGS="$LDFLAGS -Zcrtdll"
1964 ac_executable_extensions=".exe"
1965 export ac_executable_extensions
1966 ac_save_IFS="$IFS"
1967 IFS='\\'
1968 ac_TEMP_PATH=
1969 for ac_dir in $PATH; do
1970 IFS=$ac_save_IFS
1971 if test -z "$ac_TEMP_PATH"; then
1972 ac_TEMP_PATH="$ac_dir"
1973 else
1974 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
1975 fi
1976 done
1977 export PATH="$ac_TEMP_PATH"
1978 unset ac_TEMP_PATH
1979 DEFAULT_STD_FLAG=no
1980 ;;
1981
1982 *-*-darwin* )
1983 USE_BSD=1
1984 USE_DARWIN=1
1985 SO_SUFFIX=dylib
1986 cat >>confdefs.h <<\_ACEOF
1987 #define __BSD__ 1
1988 _ACEOF
1989
1990 cat >>confdefs.h <<\_ACEOF
1991 #define __DARWIN__ 1
1992 _ACEOF
1993
1994 cat >>confdefs.h <<\_ACEOF
1995 #define TARGET_CARBON 1
1996 _ACEOF
1997
1998 DEFAULT_DEFAULT_wxUSE_MAC=1
1999 DEFAULT_STD_FLAG=no
2000 ;;
2001 powerpc-apple-macos* )
2002 USE_UNIX=0
2003 ac_cv_c_bigendian=yes
2004 SO_SUFFIX=shlib
2005 DEFAULT_DEFAULT_wxUSE_MAC=1
2006 DEFAULT_STD_FLAG=no
2007 ;;
2008
2009 *-*-beos* )
2010 USE_BEOS=1
2011 cat >>confdefs.h <<\_ACEOF
2012 #define __BEOS__ 1
2013 _ACEOF
2014
2015 ;;
2016
2017 *)
2018 { { echo "$as_me:$LINENO: error: unknown system type ${host}." >&5
2019 echo "$as_me: error: unknown system type ${host}." >&2;}
2020 { (exit 1); exit 1; }; }
2021 esac
2022
2023
2024
2025
2026 wx_arg_cache_file="configarg.cache"
2027 echo "loading argument cache $wx_arg_cache_file"
2028 rm -f ${wx_arg_cache_file}.tmp
2029 touch ${wx_arg_cache_file}.tmp
2030 touch ${wx_arg_cache_file}
2031
2032
2033 DEBUG_CONFIGURE=0
2034 if test $DEBUG_CONFIGURE = 1; then
2035 DEFAULT_wxUSE_UNIVERSAL=no
2036 DEFAULT_wxUSE_STL=no
2037
2038 DEFAULT_wxUSE_NANOX=no
2039
2040 DEFAULT_wxUSE_THREADS=yes
2041
2042 DEFAULT_wxUSE_SHARED=yes
2043 DEFAULT_wxUSE_OPTIMISE=no
2044 DEFAULT_wxUSE_PROFILE=no
2045 DEFAULT_wxUSE_NO_DEPS=no
2046 DEFAULT_wxUSE_NO_RTTI=no
2047 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2048 DEFAULT_wxUSE_RPATH=yes
2049 DEFAULT_wxUSE_PERMISSIVE=no
2050 DEFAULT_wxUSE_DEBUG_FLAG=yes
2051 DEFAULT_wxUSE_DEBUG_INFO=yes
2052 DEFAULT_wxUSE_DEBUG_GDB=yes
2053 DEFAULT_wxUSE_MEM_TRACING=no
2054 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2055 DEFAULT_wxUSE_DMALLOC=no
2056 DEFAULT_wxUSE_APPLE_IEEE=no
2057
2058 DEFAULT_wxUSE_EXCEPTIONS=no
2059 DEFAULT_wxUSE_LOG=yes
2060 DEFAULT_wxUSE_LOGWINDOW=no
2061 DEFAULT_wxUSE_LOGGUI=no
2062 DEFAULT_wxUSE_LOGDIALOG=no
2063
2064 DEFAULT_wxUSE_GUI=yes
2065 DEFAULT_wxUSE_CONTROLS=no
2066
2067 DEFAULT_wxUSE_REGEX=no
2068 DEFAULT_wxUSE_XML=no
2069 DEFAULT_wxUSE_EXPAT=no
2070 DEFAULT_wxUSE_ZLIB=no
2071 DEFAULT_wxUSE_LIBPNG=no
2072 DEFAULT_wxUSE_LIBJPEG=no
2073 DEFAULT_wxUSE_LIBTIFF=no
2074 DEFAULT_wxUSE_LIBXPM=no
2075 DEFAULT_wxUSE_LIBMSPACK=no
2076 DEFAULT_wxUSE_LIBSDL=no
2077 DEFAULT_wxUSE_LIBGNOMEPRINT=no
2078 DEFAULT_wxUSE_ODBC=no
2079 DEFAULT_wxUSE_OPENGL=no
2080
2081 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=no
2082 DEFAULT_wxUSE_STACKWALKER=no
2083 DEFAULT_wxUSE_DEBUGREPORT=no
2084 DEFAULT_wxUSE_SNGLINST_CHECKER=no
2085 DEFAULT_wxUSE_STD_IOSTREAM=no
2086 DEFAULT_wxUSE_STD_STRING=no
2087 DEFAULT_wxUSE_CMDLINE_PARSER=no
2088 DEFAULT_wxUSE_DATETIME=no
2089 DEFAULT_wxUSE_TIMER=no
2090 DEFAULT_wxUSE_STOPWATCH=no
2091 DEFAULT_wxUSE_FILE=no
2092 DEFAULT_wxUSE_FFILE=no
2093 DEFAULT_wxUSE_STDPATHS=no
2094 DEFAULT_wxUSE_TEXTBUFFER=no
2095 DEFAULT_wxUSE_TEXTFILE=no
2096 DEFAULT_wxUSE_SOUND=no
2097 DEFAULT_wxUSE_MEDIACTRL=no
2098 DEFAULT_wxUSE_INTL=no
2099 DEFAULT_wxUSE_CONFIG=no
2100 DEFAULT_wxUSE_FONTMAP=no
2101 DEFAULT_wxUSE_STREAMS=no
2102 DEFAULT_wxUSE_SOCKETS=no
2103 DEFAULT_wxUSE_OLE=no
2104 DEFAULT_wxUSE_DATAOBJ=no
2105 DEFAULT_wxUSE_DIALUP_MANAGER=no
2106 DEFAULT_wxUSE_JOYSTICK=no
2107 DEFAULT_wxUSE_DYNLIB_CLASS=no
2108 DEFAULT_wxUSE_DYNAMIC_LOADER=no
2109 DEFAULT_wxUSE_LONGLONG=no
2110 DEFAULT_wxUSE_GEOMETRY=no
2111
2112 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=no
2113 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=no
2114 DEFAULT_wxUSE_POSTSCRIPT=no
2115
2116 DEFAULT_wxUSE_CLIPBOARD=no
2117 DEFAULT_wxUSE_TOOLTIPS=no
2118 DEFAULT_wxUSE_DRAG_AND_DROP=no
2119 DEFAULT_wxUSE_DRAGIMAGE=no
2120 DEFAULT_wxUSE_SPLINES=no
2121 DEFAULT_wxUSE_MOUSEWHEEL=no
2122
2123 DEFAULT_wxUSE_MDI=no
2124 DEFAULT_wxUSE_MDI_ARCHITECTURE=no
2125 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=no
2126 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=no
2127
2128 DEFAULT_wxUSE_RESOURCES=no
2129 DEFAULT_wxUSE_CONSTRAINTS=no
2130 DEFAULT_wxUSE_IPC=no
2131 DEFAULT_wxUSE_HELP=no
2132 DEFAULT_wxUSE_MS_HTML_HELP=no
2133 DEFAULT_wxUSE_WXHTML_HELP=no
2134 DEFAULT_wxUSE_TREELAYOUT=no
2135 DEFAULT_wxUSE_METAFILE=no
2136 DEFAULT_wxUSE_MIMETYPE=no
2137 DEFAULT_wxUSE_SYSTEM_OPTIONS=no
2138 DEFAULT_wxUSE_PROTOCOL=no
2139 DEFAULT_wxUSE_PROTOCOL_HTTP=no
2140 DEFAULT_wxUSE_PROTOCOL_FTP=no
2141 DEFAULT_wxUSE_PROTOCOL_FILE=no
2142 DEFAULT_wxUSE_URL=no
2143
2144 DEFAULT_wxUSE_COMMONDLGS=no
2145 DEFAULT_wxUSE_CHOICEDLG=no
2146 DEFAULT_wxUSE_COLOURDLG=no
2147 DEFAULT_wxUSE_DIRDLG=no
2148 DEFAULT_wxUSE_FILEDLG=no
2149 DEFAULT_wxUSE_FINDREPLDLG=no
2150 DEFAULT_wxUSE_FONTDLG=no
2151 DEFAULT_wxUSE_MSGDLG=no
2152 DEFAULT_wxUSE_NUMBERDLG=no
2153 DEFAULT_wxUSE_TEXTDLG=no
2154 DEFAULT_wxUSE_SPLASH=no
2155 DEFAULT_wxUSE_STARTUP_TIPS=no
2156 DEFAULT_wxUSE_PROGRESSDLG=no
2157 DEFAULT_wxUSE_WIZARDDLG=no
2158
2159 DEFAULT_wxUSE_MENUS=no
2160 DEFAULT_wxUSE_MINIFRAME=no
2161 DEFAULT_wxUSE_HTML=no
2162 DEFAULT_wxUSE_RICHTEXT=no
2163 DEFAULT_wxUSE_XRC=no
2164 DEFAULT_wxUSE_WEBKIT=no
2165 DEFAULT_wxUSE_FILESYSTEM=no
2166 DEFAULT_wxUSE_FS_INET=no
2167 DEFAULT_wxUSE_FS_ZIP=no
2168 DEFAULT_wxUSE_BUSYINFO=no
2169 DEFAULT_wxUSE_ARCHIVE_STREAMS=no
2170 DEFAULT_wxUSE_ZIPSTREAM=no
2171 DEFAULT_wxUSE_VALIDATORS=no
2172
2173 DEFAULT_wxUSE_ACCEL=no
2174 DEFAULT_wxUSE_BUTTON=no
2175 DEFAULT_wxUSE_BMPBUTTON=no
2176 DEFAULT_wxUSE_CALCTRL=no
2177 DEFAULT_wxUSE_CARET=no
2178 DEFAULT_wxUSE_CHECKBOX=no
2179 DEFAULT_wxUSE_CHECKLST=no
2180 DEFAULT_wxUSE_CHOICE=no
2181 DEFAULT_wxUSE_CHOICEBOOK=no
2182 DEFAULT_wxUSE_COMBOBOX=no
2183 DEFAULT_wxUSE_DATEPICKCTRL=no
2184 DEFAULT_wxUSE_DISPLAY=no
2185 DEFAULT_wxUSE_GAUGE=no
2186 DEFAULT_wxUSE_GRID=no
2187 DEFAULT_wxUSE_IMAGLIST=no
2188 DEFAULT_wxUSE_LISTBOOK=no
2189 DEFAULT_wxUSE_LISTBOX=no
2190 DEFAULT_wxUSE_LISTCTRL=no
2191 DEFAULT_wxUSE_NOTEBOOK=no
2192 DEFAULT_wxUSE_RADIOBOX=no
2193 DEFAULT_wxUSE_RADIOBTN=no
2194 DEFAULT_wxUSE_SASH=no
2195 DEFAULT_wxUSE_SCROLLBAR=no
2196 DEFAULT_wxUSE_SLIDER=no
2197 DEFAULT_wxUSE_SPINBTN=no
2198 DEFAULT_wxUSE_SPINCTRL=no
2199 DEFAULT_wxUSE_SPLITTER=no
2200 DEFAULT_wxUSE_STATBMP=no
2201 DEFAULT_wxUSE_STATBOX=no
2202 DEFAULT_wxUSE_STATLINE=no
2203 DEFAULT_wxUSE_STATTEXT=no
2204 DEFAULT_wxUSE_STATUSBAR=yes
2205 DEFAULT_wxUSE_TABDIALOG=no
2206 DEFAULT_wxUSE_TEXTCTRL=no
2207 DEFAULT_wxUSE_TOGGLEBTN=no
2208 DEFAULT_wxUSE_TOOLBAR=no
2209 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
2210 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
2211 DEFAULT_wxUSE_TREEBOOK=no
2212 DEFAULT_wxUSE_TREECTRL=no
2213 DEFAULT_wxUSE_POPUPWIN=no
2214 DEFAULT_wxUSE_TIPWINDOW=no
2215
2216 DEFAULT_wxUSE_UNICODE=no
2217 DEFAULT_wxUSE_UNICODE_MSLU=no
2218 DEFAULT_wxUSE_WCSRTOMBS=no
2219
2220 DEFAULT_wxUSE_PALETTE=no
2221 DEFAULT_wxUSE_IMAGE=no
2222 DEFAULT_wxUSE_GIF=no
2223 DEFAULT_wxUSE_PCX=no
2224 DEFAULT_wxUSE_PNM=no
2225 DEFAULT_wxUSE_IFF=no
2226 DEFAULT_wxUSE_XPM=no
2227 DEFAULT_wxUSE_ICO_CUR=no
2228 DEFAULT_wxUSE_ACCESSIBILITY=no
2229
2230 DEFAULT_wxUSE_MONOLITHIC=no
2231 DEFAULT_wxUSE_PLUGINS=no
2232 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2233 else
2234 DEFAULT_wxUSE_UNIVERSAL=no
2235 DEFAULT_wxUSE_STL=no
2236
2237 DEFAULT_wxUSE_NANOX=no
2238
2239 DEFAULT_wxUSE_THREADS=yes
2240
2241 DEFAULT_wxUSE_SHARED=yes
2242 DEFAULT_wxUSE_OPTIMISE=yes
2243 DEFAULT_wxUSE_PROFILE=no
2244 DEFAULT_wxUSE_NO_DEPS=no
2245 DEFAULT_wxUSE_NO_RTTI=no
2246 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2247 DEFAULT_wxUSE_RPATH=yes
2248 DEFAULT_wxUSE_PERMISSIVE=no
2249 DEFAULT_wxUSE_DEBUG_FLAG=no
2250 DEFAULT_wxUSE_DEBUG_INFO=no
2251 DEFAULT_wxUSE_DEBUG_GDB=no
2252 DEFAULT_wxUSE_MEM_TRACING=no
2253 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2254 DEFAULT_wxUSE_DMALLOC=no
2255 DEFAULT_wxUSE_APPLE_IEEE=yes
2256
2257 DEFAULT_wxUSE_EXCEPTIONS=yes
2258 DEFAULT_wxUSE_LOG=yes
2259 DEFAULT_wxUSE_LOGWINDOW=yes
2260 DEFAULT_wxUSE_LOGGUI=yes
2261 DEFAULT_wxUSE_LOGDIALOG=yes
2262
2263 DEFAULT_wxUSE_GUI=yes
2264
2265 DEFAULT_wxUSE_REGEX=yes
2266 DEFAULT_wxUSE_XML=yes
2267 DEFAULT_wxUSE_EXPAT=yes
2268 DEFAULT_wxUSE_ZLIB=yes
2269 DEFAULT_wxUSE_LIBPNG=yes
2270 DEFAULT_wxUSE_LIBJPEG=yes
2271 DEFAULT_wxUSE_LIBTIFF=yes
2272 DEFAULT_wxUSE_LIBXPM=yes
2273 DEFAULT_wxUSE_LIBMSPACK=yes
2274 DEFAULT_wxUSE_LIBSDL=no
2275 DEFAULT_wxUSE_LIBGNOMEPRINT=no
2276 DEFAULT_wxUSE_ODBC=no
2277 DEFAULT_wxUSE_OPENGL=no
2278
2279 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=yes
2280 DEFAULT_wxUSE_STACKWALKER=yes
2281 DEFAULT_wxUSE_DEBUGREPORT=yes
2282 DEFAULT_wxUSE_SNGLINST_CHECKER=yes
2283 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
2284 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
2285 DEFAULT_wxUSE_CMDLINE_PARSER=yes
2286 DEFAULT_wxUSE_DATETIME=yes
2287 DEFAULT_wxUSE_TIMER=yes
2288 DEFAULT_wxUSE_STOPWATCH=yes
2289 DEFAULT_wxUSE_FILE=yes
2290 DEFAULT_wxUSE_FFILE=yes
2291 DEFAULT_wxUSE_STDPATHS=yes
2292 DEFAULT_wxUSE_TEXTBUFFER=yes
2293 DEFAULT_wxUSE_TEXTFILE=yes
2294 DEFAULT_wxUSE_SOUND=yes
2295 DEFAULT_wxUSE_MEDIACTRL=no
2296 DEFAULT_wxUSE_INTL=yes
2297 DEFAULT_wxUSE_CONFIG=yes
2298 DEFAULT_wxUSE_FONTMAP=yes
2299 DEFAULT_wxUSE_STREAMS=yes
2300 DEFAULT_wxUSE_SOCKETS=yes
2301 DEFAULT_wxUSE_OLE=yes
2302 DEFAULT_wxUSE_DATAOBJ=yes
2303 DEFAULT_wxUSE_DIALUP_MANAGER=yes
2304 DEFAULT_wxUSE_JOYSTICK=yes
2305 DEFAULT_wxUSE_DYNLIB_CLASS=yes
2306 DEFAULT_wxUSE_DYNAMIC_LOADER=yes
2307 DEFAULT_wxUSE_LONGLONG=yes
2308 DEFAULT_wxUSE_GEOMETRY=yes
2309
2310 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=yes
2311 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=yes
2312 DEFAULT_wxUSE_POSTSCRIPT=yes
2313
2314 DEFAULT_wxUSE_CLIPBOARD=yes
2315 DEFAULT_wxUSE_TOOLTIPS=yes
2316 DEFAULT_wxUSE_DRAG_AND_DROP=yes
2317 DEFAULT_wxUSE_DRAGIMAGE=yes
2318 DEFAULT_wxUSE_SPLINES=yes
2319 DEFAULT_wxUSE_MOUSEWHEEL=yes
2320
2321 DEFAULT_wxUSE_MDI=yes
2322 DEFAULT_wxUSE_MDI_ARCHITECTURE=yes
2323 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=yes
2324 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=yes
2325
2326 DEFAULT_wxUSE_RESOURCES=no
2327 DEFAULT_wxUSE_CONSTRAINTS=yes
2328 DEFAULT_wxUSE_IPC=yes
2329 DEFAULT_wxUSE_HELP=yes
2330 DEFAULT_wxUSE_MS_HTML_HELP=yes
2331 DEFAULT_wxUSE_WXHTML_HELP=yes
2332 DEFAULT_wxUSE_TREELAYOUT=yes
2333 DEFAULT_wxUSE_METAFILE=yes
2334 DEFAULT_wxUSE_MIMETYPE=yes
2335 DEFAULT_wxUSE_SYSTEM_OPTIONS=yes
2336 DEFAULT_wxUSE_PROTOCOL=yes
2337 DEFAULT_wxUSE_PROTOCOL_HTTP=yes
2338 DEFAULT_wxUSE_PROTOCOL_FTP=yes
2339 DEFAULT_wxUSE_PROTOCOL_FILE=yes
2340 DEFAULT_wxUSE_URL=yes
2341
2342 DEFAULT_wxUSE_COMMONDLGS=yes
2343 DEFAULT_wxUSE_CHOICEDLG=yes
2344 DEFAULT_wxUSE_COLOURDLG=yes
2345 DEFAULT_wxUSE_DIRDLG=yes
2346 DEFAULT_wxUSE_FILEDLG=yes
2347 DEFAULT_wxUSE_FINDREPLDLG=yes
2348 DEFAULT_wxUSE_FONTDLG=yes
2349 DEFAULT_wxUSE_MSGDLG=yes
2350 DEFAULT_wxUSE_NUMBERDLG=yes
2351 DEFAULT_wxUSE_TEXTDLG=yes
2352 DEFAULT_wxUSE_SPLASH=yes
2353 DEFAULT_wxUSE_STARTUP_TIPS=yes
2354 DEFAULT_wxUSE_PROGRESSDLG=yes
2355 DEFAULT_wxUSE_WIZARDDLG=yes
2356
2357 DEFAULT_wxUSE_MENUS=yes
2358 DEFAULT_wxUSE_MINIFRAME=yes
2359 DEFAULT_wxUSE_HTML=yes
2360 DEFAULT_wxUSE_RICHTEXT=yes
2361 DEFAULT_wxUSE_XRC=yes
2362 DEFAULT_wxUSE_WEBKIT=yes
2363 DEFAULT_wxUSE_FILESYSTEM=yes
2364 DEFAULT_wxUSE_FS_INET=yes
2365 DEFAULT_wxUSE_FS_ZIP=yes
2366 DEFAULT_wxUSE_BUSYINFO=yes
2367 DEFAULT_wxUSE_ARCHIVE_STREAMS=yes
2368 DEFAULT_wxUSE_ZIPSTREAM=yes
2369 DEFAULT_wxUSE_VALIDATORS=yes
2370
2371 DEFAULT_wxUSE_ACCEL=yes
2372 DEFAULT_wxUSE_BUTTON=yes
2373 DEFAULT_wxUSE_BMPBUTTON=yes
2374 DEFAULT_wxUSE_CALCTRL=yes
2375 DEFAULT_wxUSE_CARET=yes
2376 DEFAULT_wxUSE_CHECKBOX=yes
2377 DEFAULT_wxUSE_CHECKLST=yes
2378 DEFAULT_wxUSE_CHOICE=yes
2379 DEFAULT_wxUSE_CHOICEBOOK=yes
2380 DEFAULT_wxUSE_COMBOBOX=yes
2381 DEFAULT_wxUSE_DATEPICKCTRL=yes
2382 DEFAULT_wxUSE_DISPLAY=yes
2383 DEFAULT_wxUSE_GAUGE=yes
2384 DEFAULT_wxUSE_GRID=yes
2385 DEFAULT_wxUSE_IMAGLIST=yes
2386 DEFAULT_wxUSE_LISTBOOK=yes
2387 DEFAULT_wxUSE_LISTBOX=yes
2388 DEFAULT_wxUSE_LISTCTRL=yes
2389 DEFAULT_wxUSE_NOTEBOOK=yes
2390 DEFAULT_wxUSE_RADIOBOX=yes
2391 DEFAULT_wxUSE_RADIOBTN=yes
2392 DEFAULT_wxUSE_SASH=yes
2393 DEFAULT_wxUSE_SCROLLBAR=yes
2394 DEFAULT_wxUSE_SLIDER=yes
2395 DEFAULT_wxUSE_SPINBTN=yes
2396 DEFAULT_wxUSE_SPINCTRL=yes
2397 DEFAULT_wxUSE_SPLITTER=yes
2398 DEFAULT_wxUSE_STATBMP=yes
2399 DEFAULT_wxUSE_STATBOX=yes
2400 DEFAULT_wxUSE_STATLINE=yes
2401 DEFAULT_wxUSE_STATTEXT=yes
2402 DEFAULT_wxUSE_STATUSBAR=yes
2403 DEFAULT_wxUSE_TABDIALOG=no
2404 DEFAULT_wxUSE_TEXTCTRL=yes
2405 DEFAULT_wxUSE_TOGGLEBTN=yes
2406 DEFAULT_wxUSE_TOOLBAR=yes
2407 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
2408 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
2409 DEFAULT_wxUSE_TREEBOOK=yes
2410 DEFAULT_wxUSE_TREECTRL=yes
2411 DEFAULT_wxUSE_POPUPWIN=yes
2412 DEFAULT_wxUSE_TIPWINDOW=yes
2413
2414 DEFAULT_wxUSE_UNICODE=no
2415 DEFAULT_wxUSE_UNICODE_MSLU=yes
2416 DEFAULT_wxUSE_WCSRTOMBS=no
2417
2418 DEFAULT_wxUSE_PALETTE=yes
2419 DEFAULT_wxUSE_IMAGE=yes
2420 DEFAULT_wxUSE_GIF=yes
2421 DEFAULT_wxUSE_PCX=yes
2422 DEFAULT_wxUSE_IFF=no
2423 DEFAULT_wxUSE_PNM=yes
2424 DEFAULT_wxUSE_XPM=yes
2425 DEFAULT_wxUSE_ICO_CUR=yes
2426 DEFAULT_wxUSE_ACCESSIBILITY=no
2427
2428 DEFAULT_wxUSE_MONOLITHIC=no
2429 DEFAULT_wxUSE_PLUGINS=no
2430 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2431
2432 DEFAULT_wxUSE_GTK2=yes
2433 fi
2434
2435
2436
2437
2438 for toolkit in `echo $ALL_TOOLKITS`; do
2439 LINE=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2440 if test "x$LINE" != "x" ; then
2441 has_toolkit_in_cache=1
2442 eval "DEFAULT_$LINE"
2443 eval "CACHE_$toolkit=1"
2444
2445 LINE=`grep "wx${toolkit}_VERSION=" ${wx_arg_cache_file}`
2446 if test "x$LINE" != "x" ; then
2447 eval "DEFAULT_$LINE"
2448 fi
2449 fi
2450 done
2451
2452
2453
2454 enablestring=
2455 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2456 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6
2457 no_cache=0
2458 # Check whether --enable-gui or --disable-gui was given.
2459 if test "${enable_gui+set}" = set; then
2460 enableval="$enable_gui"
2461
2462 if test "$enableval" = yes; then
2463 ac_cv_use_gui='wxUSE_GUI=yes'
2464 else
2465 ac_cv_use_gui='wxUSE_GUI=no'
2466 fi
2467
2468 else
2469
2470 LINE=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
2471 if test "x$LINE" != x ; then
2472 eval "DEFAULT_$LINE"
2473 else
2474 no_cache=1
2475 fi
2476
2477 ac_cv_use_gui='wxUSE_GUI='$DEFAULT_wxUSE_GUI
2478
2479 fi;
2480
2481 eval "$ac_cv_use_gui"
2482 if test "$no_cache" != 1; then
2483 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2484 fi
2485
2486 if test "$wxUSE_GUI" = yes; then
2487 echo "$as_me:$LINENO: result: yes" >&5
2488 echo "${ECHO_T}yes" >&6
2489 else
2490 echo "$as_me:$LINENO: result: no" >&5
2491 echo "${ECHO_T}no" >&6
2492 fi
2493
2494
2495 enablestring=
2496 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2497 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6
2498 no_cache=0
2499 # Check whether --enable-monolithic or --disable-monolithic was given.
2500 if test "${enable_monolithic+set}" = set; then
2501 enableval="$enable_monolithic"
2502
2503 if test "$enableval" = yes; then
2504 ac_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
2505 else
2506 ac_cv_use_monolithic='wxUSE_MONOLITHIC=no'
2507 fi
2508
2509 else
2510
2511 LINE=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
2512 if test "x$LINE" != x ; then
2513 eval "DEFAULT_$LINE"
2514 else
2515 no_cache=1
2516 fi
2517
2518 ac_cv_use_monolithic='wxUSE_MONOLITHIC='$DEFAULT_wxUSE_MONOLITHIC
2519
2520 fi;
2521
2522 eval "$ac_cv_use_monolithic"
2523 if test "$no_cache" != 1; then
2524 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
2525 fi
2526
2527 if test "$wxUSE_MONOLITHIC" = yes; then
2528 echo "$as_me:$LINENO: result: yes" >&5
2529 echo "${ECHO_T}yes" >&6
2530 else
2531 echo "$as_me:$LINENO: result: no" >&5
2532 echo "${ECHO_T}no" >&6
2533 fi
2534
2535
2536 enablestring=
2537 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
2538 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6
2539 no_cache=0
2540 # Check whether --enable-plugins or --disable-plugins was given.
2541 if test "${enable_plugins+set}" = set; then
2542 enableval="$enable_plugins"
2543
2544 if test "$enableval" = yes; then
2545 ac_cv_use_plugins='wxUSE_PLUGINS=yes'
2546 else
2547 ac_cv_use_plugins='wxUSE_PLUGINS=no'
2548 fi
2549
2550 else
2551
2552 LINE=`grep "wxUSE_PLUGINS" ${wx_arg_cache_file}`
2553 if test "x$LINE" != x ; then
2554 eval "DEFAULT_$LINE"
2555 else
2556 no_cache=1
2557 fi
2558
2559 ac_cv_use_plugins='wxUSE_PLUGINS='$DEFAULT_wxUSE_PLUGINS
2560
2561 fi;
2562
2563 eval "$ac_cv_use_plugins"
2564 if test "$no_cache" != 1; then
2565 echo $ac_cv_use_plugins >> ${wx_arg_cache_file}.tmp
2566 fi
2567
2568 if test "$wxUSE_PLUGINS" = yes; then
2569 echo "$as_me:$LINENO: result: yes" >&5
2570 echo "${ECHO_T}yes" >&6
2571 else
2572 echo "$as_me:$LINENO: result: no" >&5
2573 echo "${ECHO_T}no" >&6
2574 fi
2575
2576
2577 withstring=without
2578 echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
2579 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6
2580 no_cache=0
2581
2582 # Check whether --with-subdirs or --without-subdirs was given.
2583 if test "${with_subdirs+set}" = set; then
2584 withval="$with_subdirs"
2585
2586 if test "$withval" = yes; then
2587 ac_cv_use_subdirs='wxWITH_SUBDIRS=yes'
2588 else
2589 ac_cv_use_subdirs='wxWITH_SUBDIRS=no'
2590 fi
2591
2592 else
2593
2594 LINE=`grep "wxWITH_SUBDIRS" ${wx_arg_cache_file}`
2595 if test "x$LINE" != x ; then
2596 eval "DEFAULT_$LINE"
2597 else
2598 no_cache=1
2599 fi
2600
2601 ac_cv_use_subdirs='wxWITH_SUBDIRS='$DEFAULT_wxWITH_SUBDIRS
2602
2603 fi;
2604
2605 eval "$ac_cv_use_subdirs"
2606 if test "$no_cache" != 1; then
2607 echo $ac_cv_use_subdirs >> ${wx_arg_cache_file}.tmp
2608 fi
2609
2610 if test "$wxWITH_SUBDIRS" = yes; then
2611 echo "$as_me:$LINENO: result: yes" >&5
2612 echo "${ECHO_T}yes" >&6
2613 else
2614 echo "$as_me:$LINENO: result: no" >&5
2615 echo "${ECHO_T}no" >&6
2616 fi
2617
2618
2619 if test "$wxUSE_GUI" = "yes"; then
2620
2621
2622 enablestring=
2623 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
2624 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6
2625 no_cache=0
2626 # Check whether --enable-universal or --disable-universal was given.
2627 if test "${enable_universal+set}" = set; then
2628 enableval="$enable_universal"
2629
2630 if test "$enableval" = yes; then
2631 ac_cv_use_universal='wxUSE_UNIVERSAL=yes'
2632 else
2633 ac_cv_use_universal='wxUSE_UNIVERSAL=no'
2634 fi
2635
2636 else
2637
2638 LINE=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
2639 if test "x$LINE" != x ; then
2640 eval "DEFAULT_$LINE"
2641 else
2642 no_cache=1
2643 fi
2644
2645 ac_cv_use_universal='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
2646
2647 fi;
2648
2649 eval "$ac_cv_use_universal"
2650 if test "$no_cache" != 1; then
2651 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
2652 fi
2653
2654 if test "$wxUSE_UNIVERSAL" = yes; then
2655 echo "$as_me:$LINENO: result: yes" >&5
2656 echo "${ECHO_T}yes" >&6
2657 else
2658 echo "$as_me:$LINENO: result: no" >&5
2659 echo "${ECHO_T}no" >&6
2660 fi
2661
2662
2663 # Check whether --with-gtk or --without-gtk was given.
2664 if test "${with_gtk+set}" = set; then
2665 withval="$with_gtk"
2666 wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
2667 fi;
2668
2669 # Check whether --with-motif or --without-motif was given.
2670 if test "${with_motif+set}" = set; then
2671 withval="$with_motif"
2672 wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
2673 fi;
2674
2675 # Check whether --with-mac or --without-mac was given.
2676 if test "${with_mac+set}" = set; then
2677 withval="$with_mac"
2678 wxUSE_MAC="$withval" CACHE_MAC=1 TOOLKIT_GIVEN=1
2679 fi;
2680
2681 # Check whether --with-cocoa or --without-cocoa was given.
2682 if test "${with_cocoa+set}" = set; then
2683 withval="$with_cocoa"
2684 wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
2685 fi;
2686
2687 # Check whether --with-wine or --without-wine was given.
2688 if test "${with_wine+set}" = set; then
2689 withval="$with_wine"
2690 wxUSE_WINE="$withval" CACHE_WINE=1
2691 fi;
2692
2693 # Check whether --with-msw or --without-msw was given.
2694 if test "${with_msw+set}" = set; then
2695 withval="$with_msw"
2696 wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
2697 fi;
2698
2699 # Check whether --with-pm or --without-pm was given.
2700 if test "${with_pm+set}" = set; then
2701 withval="$with_pm"
2702 wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
2703 fi;
2704
2705 # Check whether --with-mgl or --without-mgl was given.
2706 if test "${with_mgl+set}" = set; then
2707 withval="$with_mgl"
2708 wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
2709 fi;
2710
2711 # Check whether --with-microwin or --without-microwin was given.
2712 if test "${with_microwin+set}" = set; then
2713 withval="$with_microwin"
2714 wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
2715 fi;
2716
2717 # Check whether --with-x11 or --without-x11 was given.
2718 if test "${with_x11+set}" = set; then
2719 withval="$with_x11"
2720 wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
2721 fi;
2722
2723 enablestring=
2724 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
2725 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6
2726 no_cache=0
2727 # Check whether --enable-nanox or --disable-nanox was given.
2728 if test "${enable_nanox+set}" = set; then
2729 enableval="$enable_nanox"
2730
2731 if test "$enableval" = yes; then
2732 ac_cv_use_nanox='wxUSE_NANOX=yes'
2733 else
2734 ac_cv_use_nanox='wxUSE_NANOX=no'
2735 fi
2736
2737 else
2738
2739 LINE=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
2740 if test "x$LINE" != x ; then
2741 eval "DEFAULT_$LINE"
2742 else
2743 no_cache=1
2744 fi
2745
2746 ac_cv_use_nanox='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
2747
2748 fi;
2749
2750 eval "$ac_cv_use_nanox"
2751 if test "$no_cache" != 1; then
2752 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
2753 fi
2754
2755 if test "$wxUSE_NANOX" = yes; then
2756 echo "$as_me:$LINENO: result: yes" >&5
2757 echo "${ECHO_T}yes" >&6
2758 else
2759 echo "$as_me:$LINENO: result: no" >&5
2760 echo "${ECHO_T}no" >&6
2761 fi
2762
2763
2764 # Check whether --enable-gtk2 or --disable-gtk2 was given.
2765 if test "${enable_gtk2+set}" = set; then
2766 enableval="$enable_gtk2"
2767 wxUSE_GTK2="$enableval"
2768 fi;
2769
2770 enablestring=
2771 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
2772 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6
2773 no_cache=0
2774 # Check whether --enable-gpe or --disable-gpe was given.
2775 if test "${enable_gpe+set}" = set; then
2776 enableval="$enable_gpe"
2777
2778 if test "$enableval" = yes; then
2779 ac_cv_use_gpe='wxUSE_GPE=yes'
2780 else
2781 ac_cv_use_gpe='wxUSE_GPE=no'
2782 fi
2783
2784 else
2785
2786 LINE=`grep "wxUSE_GPE" ${wx_arg_cache_file}`
2787 if test "x$LINE" != x ; then
2788 eval "DEFAULT_$LINE"
2789 else
2790 no_cache=1
2791 fi
2792
2793 ac_cv_use_gpe='wxUSE_GPE='$DEFAULT_wxUSE_GPE
2794
2795 fi;
2796
2797 eval "$ac_cv_use_gpe"
2798 if test "$no_cache" != 1; then
2799 echo $ac_cv_use_gpe >> ${wx_arg_cache_file}.tmp
2800 fi
2801
2802 if test "$wxUSE_GPE" = yes; then
2803 echo "$as_me:$LINENO: result: yes" >&5
2804 echo "${ECHO_T}yes" >&6
2805 else
2806 echo "$as_me:$LINENO: result: no" >&5
2807 echo "${ECHO_T}no" >&6
2808 fi
2809
2810
2811
2812 echo "$as_me:$LINENO: checking for --with-libpng" >&5
2813 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
2814 no_cache=0
2815
2816 # Check whether --with-libpng or --without-libpng was given.
2817 if test "${with_libpng+set}" = set; then
2818 withval="$with_libpng"
2819
2820 if test "$withval" = yes; then
2821 ac_cv_use_libpng='wxUSE_LIBPNG=yes'
2822 elif test "$withval" = no; then
2823 ac_cv_use_libpng='wxUSE_LIBPNG=no'
2824 elif test "$withval" = sys; then
2825 ac_cv_use_libpng='wxUSE_LIBPNG=sys'
2826 elif test "$withval" = builtin; then
2827 ac_cv_use_libpng='wxUSE_LIBPNG=builtin'
2828 else
2829 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2830 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2831 { (exit 1); exit 1; }; }
2832 fi
2833
2834 else
2835
2836 LINE=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
2837 if test "x$LINE" != x ; then
2838 eval "DEFAULT_$LINE"
2839 else
2840 no_cache=1
2841 fi
2842
2843 ac_cv_use_libpng='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
2844
2845 fi;
2846
2847 eval "$ac_cv_use_libpng"
2848 if test "$no_cache" != 1; then
2849 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
2850 fi
2851
2852 if test "$wxUSE_LIBPNG" = yes; then
2853 echo "$as_me:$LINENO: result: yes" >&5
2854 echo "${ECHO_T}yes" >&6
2855 elif test "$wxUSE_LIBPNG" = no; then
2856 echo "$as_me:$LINENO: result: no" >&5
2857 echo "${ECHO_T}no" >&6
2858 elif test "$wxUSE_LIBPNG" = sys; then
2859 echo "$as_me:$LINENO: result: system version" >&5
2860 echo "${ECHO_T}system version" >&6
2861 elif test "$wxUSE_LIBPNG" = builtin; then
2862 echo "$as_me:$LINENO: result: builtin version" >&5
2863 echo "${ECHO_T}builtin version" >&6
2864 else
2865 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2866 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2867 { (exit 1); exit 1; }; }
2868 fi
2869
2870
2871 echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
2872 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
2873 no_cache=0
2874
2875 # Check whether --with-libjpeg or --without-libjpeg was given.
2876 if test "${with_libjpeg+set}" = set; then
2877 withval="$with_libjpeg"
2878
2879 if test "$withval" = yes; then
2880 ac_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
2881 elif test "$withval" = no; then
2882 ac_cv_use_libjpeg='wxUSE_LIBJPEG=no'
2883 elif test "$withval" = sys; then
2884 ac_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
2885 elif test "$withval" = builtin; then
2886 ac_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
2887 else
2888 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2889 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2890 { (exit 1); exit 1; }; }
2891 fi
2892
2893 else
2894
2895 LINE=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
2896 if test "x$LINE" != x ; then
2897 eval "DEFAULT_$LINE"
2898 else
2899 no_cache=1
2900 fi
2901
2902 ac_cv_use_libjpeg='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
2903
2904 fi;
2905
2906 eval "$ac_cv_use_libjpeg"
2907 if test "$no_cache" != 1; then
2908 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
2909 fi
2910
2911 if test "$wxUSE_LIBJPEG" = yes; then
2912 echo "$as_me:$LINENO: result: yes" >&5
2913 echo "${ECHO_T}yes" >&6
2914 elif test "$wxUSE_LIBJPEG" = no; then
2915 echo "$as_me:$LINENO: result: no" >&5
2916 echo "${ECHO_T}no" >&6
2917 elif test "$wxUSE_LIBJPEG" = sys; then
2918 echo "$as_me:$LINENO: result: system version" >&5
2919 echo "${ECHO_T}system version" >&6
2920 elif test "$wxUSE_LIBJPEG" = builtin; then
2921 echo "$as_me:$LINENO: result: builtin version" >&5
2922 echo "${ECHO_T}builtin version" >&6
2923 else
2924 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2925 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2926 { (exit 1); exit 1; }; }
2927 fi
2928
2929
2930 echo "$as_me:$LINENO: checking for --with-libtiff" >&5
2931 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
2932 no_cache=0
2933
2934 # Check whether --with-libtiff or --without-libtiff was given.
2935 if test "${with_libtiff+set}" = set; then
2936 withval="$with_libtiff"
2937
2938 if test "$withval" = yes; then
2939 ac_cv_use_libtiff='wxUSE_LIBTIFF=yes'
2940 elif test "$withval" = no; then
2941 ac_cv_use_libtiff='wxUSE_LIBTIFF=no'
2942 elif test "$withval" = sys; then
2943 ac_cv_use_libtiff='wxUSE_LIBTIFF=sys'
2944 elif test "$withval" = builtin; then
2945 ac_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
2946 else
2947 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2948 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2949 { (exit 1); exit 1; }; }
2950 fi
2951
2952 else
2953
2954 LINE=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
2955 if test "x$LINE" != x ; then
2956 eval "DEFAULT_$LINE"
2957 else
2958 no_cache=1
2959 fi
2960
2961 ac_cv_use_libtiff='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
2962
2963 fi;
2964
2965 eval "$ac_cv_use_libtiff"
2966 if test "$no_cache" != 1; then
2967 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
2968 fi
2969
2970 if test "$wxUSE_LIBTIFF" = yes; then
2971 echo "$as_me:$LINENO: result: yes" >&5
2972 echo "${ECHO_T}yes" >&6
2973 elif test "$wxUSE_LIBTIFF" = no; then
2974 echo "$as_me:$LINENO: result: no" >&5
2975 echo "${ECHO_T}no" >&6
2976 elif test "$wxUSE_LIBTIFF" = sys; then
2977 echo "$as_me:$LINENO: result: system version" >&5
2978 echo "${ECHO_T}system version" >&6
2979 elif test "$wxUSE_LIBTIFF" = builtin; then
2980 echo "$as_me:$LINENO: result: builtin version" >&5
2981 echo "${ECHO_T}builtin version" >&6
2982 else
2983 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2984 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2985 { (exit 1); exit 1; }; }
2986 fi
2987
2988
2989 echo "$as_me:$LINENO: checking for --with-libxpm" >&5
2990 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6
2991 no_cache=0
2992
2993 # Check whether --with-libxpm or --without-libxpm was given.
2994 if test "${with_libxpm+set}" = set; then
2995 withval="$with_libxpm"
2996
2997 if test "$withval" = yes; then
2998 ac_cv_use_libxpm='wxUSE_LIBXPM=yes'
2999 elif test "$withval" = no; then
3000 ac_cv_use_libxpm='wxUSE_LIBXPM=no'
3001 elif test "$withval" = sys; then
3002 ac_cv_use_libxpm='wxUSE_LIBXPM=sys'
3003 elif test "$withval" = builtin; then
3004 ac_cv_use_libxpm='wxUSE_LIBXPM=builtin'
3005 else
3006 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3007 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3008 { (exit 1); exit 1; }; }
3009 fi
3010
3011 else
3012
3013 LINE=`grep "wxUSE_LIBXPM" ${wx_arg_cache_file}`
3014 if test "x$LINE" != x ; then
3015 eval "DEFAULT_$LINE"
3016 else
3017 no_cache=1
3018 fi
3019
3020 ac_cv_use_libxpm='wxUSE_LIBXPM='$DEFAULT_wxUSE_LIBXPM
3021
3022 fi;
3023
3024 eval "$ac_cv_use_libxpm"
3025 if test "$no_cache" != 1; then
3026 echo $ac_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
3027 fi
3028
3029 if test "$wxUSE_LIBXPM" = yes; then
3030 echo "$as_me:$LINENO: result: yes" >&5
3031 echo "${ECHO_T}yes" >&6
3032 elif test "$wxUSE_LIBXPM" = no; then
3033 echo "$as_me:$LINENO: result: no" >&5
3034 echo "${ECHO_T}no" >&6
3035 elif test "$wxUSE_LIBXPM" = sys; then
3036 echo "$as_me:$LINENO: result: system version" >&5
3037 echo "${ECHO_T}system version" >&6
3038 elif test "$wxUSE_LIBXPM" = builtin; then
3039 echo "$as_me:$LINENO: result: builtin version" >&5
3040 echo "${ECHO_T}builtin version" >&6
3041 else
3042 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3043 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3044 { (exit 1); exit 1; }; }
3045 fi
3046
3047
3048 withstring=
3049 echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3050 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6
3051 no_cache=0
3052
3053 # Check whether --with-libmspack or --without-libmspack was given.
3054 if test "${with_libmspack+set}" = set; then
3055 withval="$with_libmspack"
3056
3057 if test "$withval" = yes; then
3058 ac_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3059 else
3060 ac_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3061 fi
3062
3063 else
3064
3065 LINE=`grep "wxUSE_LIBMSPACK" ${wx_arg_cache_file}`
3066 if test "x$LINE" != x ; then
3067 eval "DEFAULT_$LINE"
3068 else
3069 no_cache=1
3070 fi
3071
3072 ac_cv_use_libmspack='wxUSE_LIBMSPACK='$DEFAULT_wxUSE_LIBMSPACK
3073
3074 fi;
3075
3076 eval "$ac_cv_use_libmspack"
3077 if test "$no_cache" != 1; then
3078 echo $ac_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
3079 fi
3080
3081 if test "$wxUSE_LIBMSPACK" = yes; then
3082 echo "$as_me:$LINENO: result: yes" >&5
3083 echo "${ECHO_T}yes" >&6
3084 else
3085 echo "$as_me:$LINENO: result: no" >&5
3086 echo "${ECHO_T}no" >&6
3087 fi
3088
3089
3090 withstring=
3091 echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
3092 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6
3093 no_cache=0
3094
3095 # Check whether --with-sdl or --without-sdl was given.
3096 if test "${with_sdl+set}" = set; then
3097 withval="$with_sdl"
3098
3099 if test "$withval" = yes; then
3100 ac_cv_use_sdl='wxUSE_LIBSDL=yes'
3101 else
3102 ac_cv_use_sdl='wxUSE_LIBSDL=no'
3103 fi
3104
3105 else
3106
3107 LINE=`grep "wxUSE_LIBSDL" ${wx_arg_cache_file}`
3108 if test "x$LINE" != x ; then
3109 eval "DEFAULT_$LINE"
3110 else
3111 no_cache=1
3112 fi
3113
3114 ac_cv_use_sdl='wxUSE_LIBSDL='$DEFAULT_wxUSE_LIBSDL
3115
3116 fi;
3117
3118 eval "$ac_cv_use_sdl"
3119 if test "$no_cache" != 1; then
3120 echo $ac_cv_use_sdl >> ${wx_arg_cache_file}.tmp
3121 fi
3122
3123 if test "$wxUSE_LIBSDL" = yes; then
3124 echo "$as_me:$LINENO: result: yes" >&5
3125 echo "${ECHO_T}yes" >&6
3126 else
3127 echo "$as_me:$LINENO: result: no" >&5
3128 echo "${ECHO_T}no" >&6
3129 fi
3130
3131
3132 withstring=
3133 echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3134 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6
3135 no_cache=0
3136
3137 # Check whether --with-gnomeprint or --without-gnomeprint was given.
3138 if test "${with_gnomeprint+set}" = set; then
3139 withval="$with_gnomeprint"
3140
3141 if test "$withval" = yes; then
3142 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
3143 else
3144 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
3145 fi
3146
3147 else
3148
3149 LINE=`grep "wxUSE_LIBGNOMEPRINT" ${wx_arg_cache_file}`
3150 if test "x$LINE" != x ; then
3151 eval "DEFAULT_$LINE"
3152 else
3153 no_cache=1
3154 fi
3155
3156 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT='$DEFAULT_wxUSE_LIBGNOMEPRINT
3157
3158 fi;
3159
3160 eval "$ac_cv_use_gnomeprint"
3161 if test "$no_cache" != 1; then
3162 echo $ac_cv_use_gnomeprint >> ${wx_arg_cache_file}.tmp
3163 fi
3164
3165 if test "$wxUSE_LIBGNOMEPRINT" = yes; then
3166 echo "$as_me:$LINENO: result: yes" >&5
3167 echo "${ECHO_T}yes" >&6
3168 else
3169 echo "$as_me:$LINENO: result: no" >&5
3170 echo "${ECHO_T}no" >&6
3171 fi
3172
3173
3174 withstring=
3175 echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
3176 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6
3177 no_cache=0
3178
3179 # Check whether --with-opengl or --without-opengl was given.
3180 if test "${with_opengl+set}" = set; then
3181 withval="$with_opengl"
3182
3183 if test "$withval" = yes; then
3184 ac_cv_use_opengl='wxUSE_OPENGL=yes'
3185 else
3186 ac_cv_use_opengl='wxUSE_OPENGL=no'
3187 fi
3188
3189 else
3190
3191 LINE=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
3192 if test "x$LINE" != x ; then
3193 eval "DEFAULT_$LINE"
3194 else
3195 no_cache=1
3196 fi
3197
3198 ac_cv_use_opengl='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
3199
3200 fi;
3201
3202 eval "$ac_cv_use_opengl"
3203 if test "$no_cache" != 1; then
3204 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
3205 fi
3206
3207 if test "$wxUSE_OPENGL" = yes; then
3208 echo "$as_me:$LINENO: result: yes" >&5
3209 echo "${ECHO_T}yes" >&6
3210 else
3211 echo "$as_me:$LINENO: result: no" >&5
3212 echo "${ECHO_T}no" >&6
3213 fi
3214
3215
3216 fi
3217
3218
3219 withstring=
3220 echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
3221 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6
3222 no_cache=0
3223
3224 # Check whether --with-dmalloc or --without-dmalloc was given.
3225 if test "${with_dmalloc+set}" = set; then
3226 withval="$with_dmalloc"
3227
3228 if test "$withval" = yes; then
3229 ac_cv_use_dmalloc='wxUSE_DMALLOC=yes'
3230 else
3231 ac_cv_use_dmalloc='wxUSE_DMALLOC=no'
3232 fi
3233
3234 else
3235
3236 LINE=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
3237 if test "x$LINE" != x ; then
3238 eval "DEFAULT_$LINE"
3239 else
3240 no_cache=1
3241 fi
3242
3243 ac_cv_use_dmalloc='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
3244
3245 fi;
3246
3247 eval "$ac_cv_use_dmalloc"
3248 if test "$no_cache" != 1; then
3249 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
3250 fi
3251
3252 if test "$wxUSE_DMALLOC" = yes; then
3253 echo "$as_me:$LINENO: result: yes" >&5
3254 echo "${ECHO_T}yes" >&6
3255 else
3256 echo "$as_me:$LINENO: result: no" >&5
3257 echo "${ECHO_T}no" >&6
3258 fi
3259
3260
3261 echo "$as_me:$LINENO: checking for --with-regex" >&5
3262 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
3263 no_cache=0
3264
3265 # Check whether --with-regex or --without-regex was given.
3266 if test "${with_regex+set}" = set; then
3267 withval="$with_regex"
3268
3269 if test "$withval" = yes; then
3270 ac_cv_use_regex='wxUSE_REGEX=yes'
3271 elif test "$withval" = no; then
3272 ac_cv_use_regex='wxUSE_REGEX=no'
3273 elif test "$withval" = sys; then
3274 ac_cv_use_regex='wxUSE_REGEX=sys'
3275 elif test "$withval" = builtin; then
3276 ac_cv_use_regex='wxUSE_REGEX=builtin'
3277 else
3278 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3279 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3280 { (exit 1); exit 1; }; }
3281 fi
3282
3283 else
3284
3285 LINE=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
3286 if test "x$LINE" != x ; then
3287 eval "DEFAULT_$LINE"
3288 else
3289 no_cache=1
3290 fi
3291
3292 ac_cv_use_regex='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
3293
3294 fi;
3295
3296 eval "$ac_cv_use_regex"
3297 if test "$no_cache" != 1; then
3298 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
3299 fi
3300
3301 if test "$wxUSE_REGEX" = yes; then
3302 echo "$as_me:$LINENO: result: yes" >&5
3303 echo "${ECHO_T}yes" >&6
3304 elif test "$wxUSE_REGEX" = no; then
3305 echo "$as_me:$LINENO: result: no" >&5
3306 echo "${ECHO_T}no" >&6
3307 elif test "$wxUSE_REGEX" = sys; then
3308 echo "$as_me:$LINENO: result: system version" >&5
3309 echo "${ECHO_T}system version" >&6
3310 elif test "$wxUSE_REGEX" = builtin; then
3311 echo "$as_me:$LINENO: result: builtin version" >&5
3312 echo "${ECHO_T}builtin version" >&6
3313 else
3314 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3315 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3316 { (exit 1); exit 1; }; }
3317 fi
3318
3319
3320 echo "$as_me:$LINENO: checking for --with-zlib" >&5
3321 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
3322 no_cache=0
3323
3324 # Check whether --with-zlib or --without-zlib was given.
3325 if test "${with_zlib+set}" = set; then
3326 withval="$with_zlib"
3327
3328 if test "$withval" = yes; then
3329 ac_cv_use_zlib='wxUSE_ZLIB=yes'
3330 elif test "$withval" = no; then
3331 ac_cv_use_zlib='wxUSE_ZLIB=no'
3332 elif test "$withval" = sys; then
3333 ac_cv_use_zlib='wxUSE_ZLIB=sys'
3334 elif test "$withval" = builtin; then
3335 ac_cv_use_zlib='wxUSE_ZLIB=builtin'
3336 else
3337 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3338 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3339 { (exit 1); exit 1; }; }
3340 fi
3341
3342 else
3343
3344 LINE=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
3345 if test "x$LINE" != x ; then
3346 eval "DEFAULT_$LINE"
3347 else
3348 no_cache=1
3349 fi
3350
3351 ac_cv_use_zlib='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
3352
3353 fi;
3354
3355 eval "$ac_cv_use_zlib"
3356 if test "$no_cache" != 1; then
3357 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
3358 fi
3359
3360 if test "$wxUSE_ZLIB" = yes; then
3361 echo "$as_me:$LINENO: result: yes" >&5
3362 echo "${ECHO_T}yes" >&6
3363 elif test "$wxUSE_ZLIB" = no; then
3364 echo "$as_me:$LINENO: result: no" >&5
3365 echo "${ECHO_T}no" >&6
3366 elif test "$wxUSE_ZLIB" = sys; then
3367 echo "$as_me:$LINENO: result: system version" >&5
3368 echo "${ECHO_T}system version" >&6
3369 elif test "$wxUSE_ZLIB" = builtin; then
3370 echo "$as_me:$LINENO: result: builtin version" >&5
3371 echo "${ECHO_T}builtin version" >&6
3372 else
3373 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3374 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3375 { (exit 1); exit 1; }; }
3376 fi
3377
3378
3379 echo "$as_me:$LINENO: checking for --with-odbc" >&5
3380 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6
3381 no_cache=0
3382
3383 # Check whether --with-odbc or --without-odbc was given.
3384 if test "${with_odbc+set}" = set; then
3385 withval="$with_odbc"
3386
3387 if test "$withval" = yes; then
3388 ac_cv_use_odbc='wxUSE_ODBC=yes'
3389 elif test "$withval" = no; then
3390 ac_cv_use_odbc='wxUSE_ODBC=no'
3391 elif test "$withval" = sys; then
3392 ac_cv_use_odbc='wxUSE_ODBC=sys'
3393 elif test "$withval" = builtin; then
3394 ac_cv_use_odbc='wxUSE_ODBC=builtin'
3395 else
3396 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3397 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3398 { (exit 1); exit 1; }; }
3399 fi
3400
3401 else
3402
3403 LINE=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
3404 if test "x$LINE" != x ; then
3405 eval "DEFAULT_$LINE"
3406 else
3407 no_cache=1
3408 fi
3409
3410 ac_cv_use_odbc='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
3411
3412 fi;
3413
3414 eval "$ac_cv_use_odbc"
3415 if test "$no_cache" != 1; then
3416 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
3417 fi
3418
3419 if test "$wxUSE_ODBC" = yes; then
3420 echo "$as_me:$LINENO: result: yes" >&5
3421 echo "${ECHO_T}yes" >&6
3422 elif test "$wxUSE_ODBC" = no; then
3423 echo "$as_me:$LINENO: result: no" >&5
3424 echo "${ECHO_T}no" >&6
3425 elif test "$wxUSE_ODBC" = sys; then
3426 echo "$as_me:$LINENO: result: system version" >&5
3427 echo "${ECHO_T}system version" >&6
3428 elif test "$wxUSE_ODBC" = builtin; then
3429 echo "$as_me:$LINENO: result: builtin version" >&5
3430 echo "${ECHO_T}builtin version" >&6
3431 else
3432 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3433 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3434 { (exit 1); exit 1; }; }
3435 fi
3436
3437
3438 echo "$as_me:$LINENO: checking for --with-expat" >&5
3439 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6
3440 no_cache=0
3441
3442 # Check whether --with-expat or --without-expat was given.
3443 if test "${with_expat+set}" = set; then
3444 withval="$with_expat"
3445
3446 if test "$withval" = yes; then
3447 ac_cv_use_expat='wxUSE_EXPAT=yes'
3448 elif test "$withval" = no; then
3449 ac_cv_use_expat='wxUSE_EXPAT=no'
3450 elif test "$withval" = sys; then
3451 ac_cv_use_expat='wxUSE_EXPAT=sys'
3452 elif test "$withval" = builtin; then
3453 ac_cv_use_expat='wxUSE_EXPAT=builtin'
3454 else
3455 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3456 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3457 { (exit 1); exit 1; }; }
3458 fi
3459
3460 else
3461
3462 LINE=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
3463 if test "x$LINE" != x ; then
3464 eval "DEFAULT_$LINE"
3465 else
3466 no_cache=1
3467 fi
3468
3469 ac_cv_use_expat='wxUSE_EXPAT='$DEFAULT_wxUSE_EXPAT
3470
3471 fi;
3472
3473 eval "$ac_cv_use_expat"
3474 if test "$no_cache" != 1; then
3475 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
3476 fi
3477
3478 if test "$wxUSE_EXPAT" = yes; then
3479 echo "$as_me:$LINENO: result: yes" >&5
3480 echo "${ECHO_T}yes" >&6
3481 elif test "$wxUSE_EXPAT" = no; then
3482 echo "$as_me:$LINENO: result: no" >&5
3483 echo "${ECHO_T}no" >&6
3484 elif test "$wxUSE_EXPAT" = sys; then
3485 echo "$as_me:$LINENO: result: system version" >&5
3486 echo "${ECHO_T}system version" >&6
3487 elif test "$wxUSE_EXPAT" = builtin; then
3488 echo "$as_me:$LINENO: result: builtin version" >&5
3489 echo "${ECHO_T}builtin version" >&6
3490 else
3491 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3492 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3493 { (exit 1); exit 1; }; }
3494 fi
3495
3496
3497
3498
3499 enablestring=
3500 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
3501 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6
3502 no_cache=0
3503 # Check whether --enable-shared or --disable-shared was given.
3504 if test "${enable_shared+set}" = set; then
3505 enableval="$enable_shared"
3506
3507 if test "$enableval" = yes; then
3508 ac_cv_use_shared='wxUSE_SHARED=yes'
3509 else
3510 ac_cv_use_shared='wxUSE_SHARED=no'
3511 fi
3512
3513 else
3514
3515 LINE=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
3516 if test "x$LINE" != x ; then
3517 eval "DEFAULT_$LINE"
3518 else
3519 no_cache=1
3520 fi
3521
3522 ac_cv_use_shared='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
3523
3524 fi;
3525
3526 eval "$ac_cv_use_shared"
3527 if test "$no_cache" != 1; then
3528 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
3529 fi
3530
3531 if test "$wxUSE_SHARED" = yes; then
3532 echo "$as_me:$LINENO: result: yes" >&5
3533 echo "${ECHO_T}yes" >&6
3534 else
3535 echo "$as_me:$LINENO: result: no" >&5
3536 echo "${ECHO_T}no" >&6
3537 fi
3538
3539
3540 enablestring=
3541 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
3542 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6
3543 no_cache=0
3544 # Check whether --enable-optimise or --disable-optimise was given.
3545 if test "${enable_optimise+set}" = set; then
3546 enableval="$enable_optimise"
3547
3548 if test "$enableval" = yes; then
3549 ac_cv_use_optimise='wxUSE_OPTIMISE=yes'
3550 else
3551 ac_cv_use_optimise='wxUSE_OPTIMISE=no'
3552 fi
3553
3554 else
3555
3556 LINE=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
3557 if test "x$LINE" != x ; then
3558 eval "DEFAULT_$LINE"
3559 else
3560 no_cache=1
3561 fi
3562
3563 ac_cv_use_optimise='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
3564
3565 fi;
3566
3567 eval "$ac_cv_use_optimise"
3568 if test "$no_cache" != 1; then
3569 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
3570 fi
3571
3572 if test "$wxUSE_OPTIMISE" = yes; then
3573 echo "$as_me:$LINENO: result: yes" >&5
3574 echo "${ECHO_T}yes" >&6
3575 else
3576 echo "$as_me:$LINENO: result: no" >&5
3577 echo "${ECHO_T}no" >&6
3578 fi
3579
3580
3581 enablestring=
3582 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
3583 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6
3584 no_cache=0
3585 # Check whether --enable-debug or --disable-debug was given.
3586 if test "${enable_debug+set}" = set; then
3587 enableval="$enable_debug"
3588
3589 if test "$enableval" = yes; then
3590 ac_cv_use_debug='wxUSE_DEBUG=yes'
3591 else
3592 ac_cv_use_debug='wxUSE_DEBUG=no'
3593 fi
3594
3595 else
3596
3597 LINE=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
3598 if test "x$LINE" != x ; then
3599 eval "DEFAULT_$LINE"
3600 else
3601 no_cache=1
3602 fi
3603
3604 ac_cv_use_debug='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
3605
3606 fi;
3607
3608 eval "$ac_cv_use_debug"
3609 if test "$no_cache" != 1; then
3610 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
3611 fi
3612
3613 if test "$wxUSE_DEBUG" = yes; then
3614 echo "$as_me:$LINENO: result: yes" >&5
3615 echo "${ECHO_T}yes" >&6
3616 else
3617 echo "$as_me:$LINENO: result: no" >&5
3618 echo "${ECHO_T}no" >&6
3619 fi
3620
3621
3622 enablestring=
3623 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
3624 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6
3625 no_cache=0
3626 # Check whether --enable-stl or --disable-stl was given.
3627 if test "${enable_stl+set}" = set; then
3628 enableval="$enable_stl"
3629
3630 if test "$enableval" = yes; then
3631 ac_cv_use_stl='wxUSE_STL=yes'
3632 else
3633 ac_cv_use_stl='wxUSE_STL=no'
3634 fi
3635
3636 else
3637
3638 LINE=`grep "wxUSE_STL" ${wx_arg_cache_file}`
3639 if test "x$LINE" != x ; then
3640 eval "DEFAULT_$LINE"
3641 else
3642 no_cache=1
3643 fi
3644
3645 ac_cv_use_stl='wxUSE_STL='$DEFAULT_wxUSE_STL
3646
3647 fi;
3648
3649 eval "$ac_cv_use_stl"
3650 if test "$no_cache" != 1; then
3651 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
3652 fi
3653
3654 if test "$wxUSE_STL" = yes; then
3655 echo "$as_me:$LINENO: result: yes" >&5
3656 echo "${ECHO_T}yes" >&6
3657 else
3658 echo "$as_me:$LINENO: result: no" >&5
3659 echo "${ECHO_T}no" >&6
3660 fi
3661
3662 if test "$USE_OS2" = "1"; then
3663 DEFAULT_wxUSE_OMF=no
3664
3665 enablestring=
3666 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
3667 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6
3668 no_cache=0
3669 # Check whether --enable-omf or --disable-omf was given.
3670 if test "${enable_omf+set}" = set; then
3671 enableval="$enable_omf"
3672
3673 if test "$enableval" = yes; then
3674 ac_cv_use_omf='wxUSE_OMF=yes'
3675 else
3676 ac_cv_use_omf='wxUSE_OMF=no'
3677 fi
3678
3679 else
3680
3681 LINE=`grep "wxUSE_OMF" ${wx_arg_cache_file}`
3682 if test "x$LINE" != x ; then
3683 eval "DEFAULT_$LINE"
3684 else
3685 no_cache=1
3686 fi
3687
3688 ac_cv_use_omf='wxUSE_OMF='$DEFAULT_wxUSE_OMF
3689
3690 fi;
3691
3692 eval "$ac_cv_use_omf"
3693 if test "$no_cache" != 1; then
3694 echo $ac_cv_use_omf >> ${wx_arg_cache_file}.tmp
3695 fi
3696
3697 if test "$wxUSE_OMF" = yes; then
3698 echo "$as_me:$LINENO: result: yes" >&5
3699 echo "${ECHO_T}yes" >&6
3700 else
3701 echo "$as_me:$LINENO: result: no" >&5
3702 echo "${ECHO_T}no" >&6
3703 fi
3704
3705 fi
3706
3707 if test "$wxUSE_DEBUG" = "yes"; then
3708 DEFAULT_wxUSE_DEBUG_FLAG=yes
3709 DEFAULT_wxUSE_DEBUG_INFO=yes
3710 BUILD=debug
3711 elif test "$wxUSE_DEBUG" = "no"; then
3712 DEFAULT_wxUSE_DEBUG_FLAG=no
3713 DEFAULT_wxUSE_DEBUG_INFO=no
3714 BUILD=release
3715 fi
3716
3717
3718 enablestring=
3719 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
3720 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6
3721 no_cache=0
3722 # Check whether --enable-debug_flag or --disable-debug_flag was given.
3723 if test "${enable_debug_flag+set}" = set; then
3724 enableval="$enable_debug_flag"
3725
3726 if test "$enableval" = yes; then
3727 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
3728 else
3729 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
3730 fi
3731
3732 else
3733
3734 LINE=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
3735 if test "x$LINE" != x ; then
3736 eval "DEFAULT_$LINE"
3737 else
3738 no_cache=1
3739 fi
3740
3741 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
3742
3743 fi;
3744
3745 eval "$ac_cv_use_debug_flag"
3746 if test "$no_cache" != 1; then
3747 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
3748 fi
3749
3750 if test "$wxUSE_DEBUG_FLAG" = yes; then
3751 echo "$as_me:$LINENO: result: yes" >&5
3752 echo "${ECHO_T}yes" >&6
3753 else
3754 echo "$as_me:$LINENO: result: no" >&5
3755 echo "${ECHO_T}no" >&6
3756 fi
3757
3758
3759 enablestring=
3760 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
3761 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
3762 no_cache=0
3763 # Check whether --enable-debug_info or --disable-debug_info was given.
3764 if test "${enable_debug_info+set}" = set; then
3765 enableval="$enable_debug_info"
3766
3767 if test "$enableval" = yes; then
3768 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
3769 else
3770 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
3771 fi
3772
3773 else
3774
3775 LINE=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
3776 if test "x$LINE" != x ; then
3777 eval "DEFAULT_$LINE"
3778 else
3779 no_cache=1
3780 fi
3781
3782 ac_cv_use_debug_info='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
3783
3784 fi;
3785
3786 eval "$ac_cv_use_debug_info"
3787 if test "$no_cache" != 1; then
3788 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
3789 fi
3790
3791 if test "$wxUSE_DEBUG_INFO" = yes; then
3792 echo "$as_me:$LINENO: result: yes" >&5
3793 echo "${ECHO_T}yes" >&6
3794 else
3795 echo "$as_me:$LINENO: result: no" >&5
3796 echo "${ECHO_T}no" >&6
3797 fi
3798
3799
3800 enablestring=
3801 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
3802 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6
3803 no_cache=0
3804 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
3805 if test "${enable_debug_gdb+set}" = set; then
3806 enableval="$enable_debug_gdb"
3807
3808 if test "$enableval" = yes; then
3809 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
3810 else
3811 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
3812 fi
3813
3814 else
3815
3816 LINE=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
3817 if test "x$LINE" != x ; then
3818 eval "DEFAULT_$LINE"
3819 else
3820 no_cache=1
3821 fi
3822
3823 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
3824
3825 fi;
3826
3827 eval "$ac_cv_use_debug_gdb"
3828 if test "$no_cache" != 1; then
3829 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
3830 fi
3831
3832 if test "$wxUSE_DEBUG_GDB" = yes; then
3833 echo "$as_me:$LINENO: result: yes" >&5
3834 echo "${ECHO_T}yes" >&6
3835 else
3836 echo "$as_me:$LINENO: result: no" >&5
3837 echo "${ECHO_T}no" >&6
3838 fi
3839
3840
3841 enablestring=
3842 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
3843 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6
3844 no_cache=0
3845 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
3846 if test "${enable_debug_cntxt+set}" = set; then
3847 enableval="$enable_debug_cntxt"
3848
3849 if test "$enableval" = yes; then
3850 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
3851 else
3852 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
3853 fi
3854
3855 else
3856
3857 LINE=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
3858 if test "x$LINE" != x ; then
3859 eval "DEFAULT_$LINE"
3860 else
3861 no_cache=1
3862 fi
3863
3864 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
3865
3866 fi;
3867
3868 eval "$ac_cv_use_debug_cntxt"
3869 if test "$no_cache" != 1; then
3870 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
3871 fi
3872
3873 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
3874 echo "$as_me:$LINENO: result: yes" >&5
3875 echo "${ECHO_T}yes" >&6
3876 else
3877 echo "$as_me:$LINENO: result: no" >&5
3878 echo "${ECHO_T}no" >&6
3879 fi
3880
3881
3882 enablestring=
3883 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
3884 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
3885 no_cache=0
3886 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
3887 if test "${enable_mem_tracing+set}" = set; then
3888 enableval="$enable_mem_tracing"
3889
3890 if test "$enableval" = yes; then
3891 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
3892 else
3893 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
3894 fi
3895
3896 else
3897
3898 LINE=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
3899 if test "x$LINE" != x ; then
3900 eval "DEFAULT_$LINE"
3901 else
3902 no_cache=1
3903 fi
3904
3905 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
3906
3907 fi;
3908
3909 eval "$ac_cv_use_mem_tracing"
3910 if test "$no_cache" != 1; then
3911 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
3912 fi
3913
3914 if test "$wxUSE_MEM_TRACING" = yes; then
3915 echo "$as_me:$LINENO: result: yes" >&5
3916 echo "${ECHO_T}yes" >&6
3917 else
3918 echo "$as_me:$LINENO: result: no" >&5
3919 echo "${ECHO_T}no" >&6
3920 fi
3921
3922
3923 enablestring=
3924 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
3925 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6
3926 no_cache=0
3927 # Check whether --enable-profile or --disable-profile was given.
3928 if test "${enable_profile+set}" = set; then
3929 enableval="$enable_profile"
3930
3931 if test "$enableval" = yes; then
3932 ac_cv_use_profile='wxUSE_PROFILE=yes'
3933 else
3934 ac_cv_use_profile='wxUSE_PROFILE=no'
3935 fi
3936
3937 else
3938
3939 LINE=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
3940 if test "x$LINE" != x ; then
3941 eval "DEFAULT_$LINE"
3942 else
3943 no_cache=1
3944 fi
3945
3946 ac_cv_use_profile='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
3947
3948 fi;
3949
3950 eval "$ac_cv_use_profile"
3951 if test "$no_cache" != 1; then
3952 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
3953 fi
3954
3955 if test "$wxUSE_PROFILE" = yes; then
3956 echo "$as_me:$LINENO: result: yes" >&5
3957 echo "${ECHO_T}yes" >&6
3958 else
3959 echo "$as_me:$LINENO: result: no" >&5
3960 echo "${ECHO_T}no" >&6
3961 fi
3962
3963
3964 enablestring=
3965 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
3966 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6
3967 no_cache=0
3968 # Check whether --enable-no_rtti or --disable-no_rtti was given.
3969 if test "${enable_no_rtti+set}" = set; then
3970 enableval="$enable_no_rtti"
3971
3972 if test "$enableval" = yes; then
3973 ac_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
3974 else
3975 ac_cv_use_no_rtti='wxUSE_NO_RTTI=no'
3976 fi
3977
3978 else
3979
3980 LINE=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
3981 if test "x$LINE" != x ; then
3982 eval "DEFAULT_$LINE"
3983 else
3984 no_cache=1
3985 fi
3986
3987 ac_cv_use_no_rtti='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
3988
3989 fi;
3990
3991 eval "$ac_cv_use_no_rtti"
3992 if test "$no_cache" != 1; then
3993 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
3994 fi
3995
3996 if test "$wxUSE_NO_RTTI" = yes; then
3997 echo "$as_me:$LINENO: result: yes" >&5
3998 echo "${ECHO_T}yes" >&6
3999 else
4000 echo "$as_me:$LINENO: result: no" >&5
4001 echo "${ECHO_T}no" >&6
4002 fi
4003
4004
4005 enablestring=
4006 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
4007 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
4008 no_cache=0
4009 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
4010 if test "${enable_no_exceptions+set}" = set; then
4011 enableval="$enable_no_exceptions"
4012
4013 if test "$enableval" = yes; then
4014 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
4015 else
4016 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
4017 fi
4018
4019 else
4020
4021 LINE=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
4022 if test "x$LINE" != x ; then
4023 eval "DEFAULT_$LINE"
4024 else
4025 no_cache=1
4026 fi
4027
4028 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
4029
4030 fi;
4031
4032 eval "$ac_cv_use_no_exceptions"
4033 if test "$no_cache" != 1; then
4034 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
4035 fi
4036
4037 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
4038 echo "$as_me:$LINENO: result: yes" >&5
4039 echo "${ECHO_T}yes" >&6
4040 else
4041 echo "$as_me:$LINENO: result: no" >&5
4042 echo "${ECHO_T}no" >&6
4043 fi
4044
4045
4046 enablestring=
4047 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
4048 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6
4049 no_cache=0
4050 # Check whether --enable-permissive or --disable-permissive was given.
4051 if test "${enable_permissive+set}" = set; then
4052 enableval="$enable_permissive"
4053
4054 if test "$enableval" = yes; then
4055 ac_cv_use_permissive='wxUSE_PERMISSIVE=yes'
4056 else
4057 ac_cv_use_permissive='wxUSE_PERMISSIVE=no'
4058 fi
4059
4060 else
4061
4062 LINE=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
4063 if test "x$LINE" != x ; then
4064 eval "DEFAULT_$LINE"
4065 else
4066 no_cache=1
4067 fi
4068
4069 ac_cv_use_permissive='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
4070
4071 fi;
4072
4073 eval "$ac_cv_use_permissive"
4074 if test "$no_cache" != 1; then
4075 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
4076 fi
4077
4078 if test "$wxUSE_PERMISSIVE" = yes; then
4079 echo "$as_me:$LINENO: result: yes" >&5
4080 echo "${ECHO_T}yes" >&6
4081 else
4082 echo "$as_me:$LINENO: result: no" >&5
4083 echo "${ECHO_T}no" >&6
4084 fi
4085
4086
4087 enablestring=
4088 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
4089 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6
4090 no_cache=0
4091 # Check whether --enable-no_deps or --disable-no_deps was given.
4092 if test "${enable_no_deps+set}" = set; then
4093 enableval="$enable_no_deps"
4094
4095 if test "$enableval" = yes; then
4096 ac_cv_use_no_deps='wxUSE_NO_DEPS=yes'
4097 else
4098 ac_cv_use_no_deps='wxUSE_NO_DEPS=no'
4099 fi
4100
4101 else
4102
4103 LINE=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
4104 if test "x$LINE" != x ; then
4105 eval "DEFAULT_$LINE"
4106 else
4107 no_cache=1
4108 fi
4109
4110 ac_cv_use_no_deps='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
4111
4112 fi;
4113
4114 eval "$ac_cv_use_no_deps"
4115 if test "$no_cache" != 1; then
4116 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
4117 fi
4118
4119 if test "$wxUSE_NO_DEPS" = yes; then
4120 echo "$as_me:$LINENO: result: yes" >&5
4121 echo "${ECHO_T}yes" >&6
4122 else
4123 echo "$as_me:$LINENO: result: no" >&5
4124 echo "${ECHO_T}no" >&6
4125 fi
4126
4127
4128
4129 enablestring=enable
4130 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat24" >&5
4131 echo $ECHO_N "checking for --${enablestring:-enable}-compat24... $ECHO_C" >&6
4132 no_cache=0
4133 # Check whether --enable-compat24 or --disable-compat24 was given.
4134 if test "${enable_compat24+set}" = set; then
4135 enableval="$enable_compat24"
4136
4137 if test "$enableval" = yes; then
4138 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4=yes'
4139 else
4140 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4=no'
4141 fi
4142
4143 else
4144
4145 LINE=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
4146 if test "x$LINE" != x ; then
4147 eval "DEFAULT_$LINE"
4148 else
4149 no_cache=1
4150 fi
4151
4152 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4='$DEFAULT_WXWIN_COMPATIBILITY_2_4
4153
4154 fi;
4155
4156 eval "$ac_cv_use_compat24"
4157 if test "$no_cache" != 1; then
4158 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
4159 fi
4160
4161 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
4162 echo "$as_me:$LINENO: result: yes" >&5
4163 echo "${ECHO_T}yes" >&6
4164 else
4165 echo "$as_me:$LINENO: result: no" >&5
4166 echo "${ECHO_T}no" >&6
4167 fi
4168
4169
4170 enablestring=disable
4171 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
4172 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6
4173 no_cache=0
4174 # Check whether --enable-compat26 or --disable-compat26 was given.
4175 if test "${enable_compat26+set}" = set; then
4176 enableval="$enable_compat26"
4177
4178 if test "$enableval" = yes; then
4179 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
4180 else
4181 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
4182 fi
4183
4184 else
4185
4186 LINE=`grep "WXWIN_COMPATIBILITY_2_6" ${wx_arg_cache_file}`
4187 if test "x$LINE" != x ; then
4188 eval "DEFAULT_$LINE"
4189 else
4190 no_cache=1
4191 fi
4192
4193 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6='$DEFAULT_WXWIN_COMPATIBILITY_2_6
4194
4195 fi;
4196
4197 eval "$ac_cv_use_compat26"
4198 if test "$no_cache" != 1; then
4199 echo $ac_cv_use_compat26 >> ${wx_arg_cache_file}.tmp
4200 fi
4201
4202 if test "$WXWIN_COMPATIBILITY_2_6" = yes; then
4203 echo "$as_me:$LINENO: result: yes" >&5
4204 echo "${ECHO_T}yes" >&6
4205 else
4206 echo "$as_me:$LINENO: result: no" >&5
4207 echo "${ECHO_T}no" >&6
4208 fi
4209
4210
4211
4212 enablestring=
4213 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
4214 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6
4215 no_cache=0
4216 # Check whether --enable-rpath or --disable-rpath was given.
4217 if test "${enable_rpath+set}" = set; then
4218 enableval="$enable_rpath"
4219
4220 if test "$enableval" = yes; then
4221 ac_cv_use_rpath='wxUSE_RPATH=yes'
4222 else
4223 ac_cv_use_rpath='wxUSE_RPATH=no'
4224 fi
4225
4226 else
4227
4228 LINE=`grep "wxUSE_RPATH" ${wx_arg_cache_file}`
4229 if test "x$LINE" != x ; then
4230 eval "DEFAULT_$LINE"
4231 else
4232 no_cache=1
4233 fi
4234
4235 ac_cv_use_rpath='wxUSE_RPATH='$DEFAULT_wxUSE_RPATH
4236
4237 fi;
4238
4239 eval "$ac_cv_use_rpath"
4240 if test "$no_cache" != 1; then
4241 echo $ac_cv_use_rpath >> ${wx_arg_cache_file}.tmp
4242 fi
4243
4244 if test "$wxUSE_RPATH" = yes; then
4245 echo "$as_me:$LINENO: result: yes" >&5
4246 echo "${ECHO_T}yes" >&6
4247 else
4248 echo "$as_me:$LINENO: result: no" >&5
4249 echo "${ECHO_T}no" >&6
4250 fi
4251
4252
4253
4254
4255
4256 enablestring=
4257 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
4258 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
4259 no_cache=0
4260 # Check whether --enable-intl or --disable-intl was given.
4261 if test "${enable_intl+set}" = set; then
4262 enableval="$enable_intl"
4263
4264 if test "$enableval" = yes; then
4265 ac_cv_use_intl='wxUSE_INTL=yes'
4266 else
4267 ac_cv_use_intl='wxUSE_INTL=no'
4268 fi
4269
4270 else
4271
4272 LINE=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
4273 if test "x$LINE" != x ; then
4274 eval "DEFAULT_$LINE"
4275 else
4276 no_cache=1
4277 fi
4278
4279 ac_cv_use_intl='wxUSE_INTL='$DEFAULT_wxUSE_INTL
4280
4281 fi;
4282
4283 eval "$ac_cv_use_intl"
4284 if test "$no_cache" != 1; then
4285 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
4286 fi
4287
4288 if test "$wxUSE_INTL" = yes; then
4289 echo "$as_me:$LINENO: result: yes" >&5
4290 echo "${ECHO_T}yes" >&6
4291 else
4292 echo "$as_me:$LINENO: result: no" >&5
4293 echo "${ECHO_T}no" >&6
4294 fi
4295
4296
4297 enablestring=
4298 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
4299 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
4300 no_cache=0
4301 # Check whether --enable-config or --disable-config was given.
4302 if test "${enable_config+set}" = set; then
4303 enableval="$enable_config"
4304
4305 if test "$enableval" = yes; then
4306 ac_cv_use_config='wxUSE_CONFIG=yes'
4307 else
4308 ac_cv_use_config='wxUSE_CONFIG=no'
4309 fi
4310
4311 else
4312
4313 LINE=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
4314 if test "x$LINE" != x ; then
4315 eval "DEFAULT_$LINE"
4316 else
4317 no_cache=1
4318 fi
4319
4320 ac_cv_use_config='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
4321
4322 fi;
4323
4324 eval "$ac_cv_use_config"
4325 if test "$no_cache" != 1; then
4326 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
4327 fi
4328
4329 if test "$wxUSE_CONFIG" = yes; then
4330 echo "$as_me:$LINENO: result: yes" >&5
4331 echo "${ECHO_T}yes" >&6
4332 else
4333 echo "$as_me:$LINENO: result: no" >&5
4334 echo "${ECHO_T}no" >&6
4335 fi
4336
4337
4338
4339 enablestring=
4340 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
4341 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6
4342 no_cache=0
4343 # Check whether --enable-protocols or --disable-protocols was given.
4344 if test "${enable_protocols+set}" = set; then
4345 enableval="$enable_protocols"
4346
4347 if test "$enableval" = yes; then
4348 ac_cv_use_protocols='wxUSE_PROTOCOL=yes'
4349 else
4350 ac_cv_use_protocols='wxUSE_PROTOCOL=no'
4351 fi
4352
4353 else
4354
4355 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
4356 if test "x$LINE" != x ; then
4357 eval "DEFAULT_$LINE"
4358 else
4359 no_cache=1
4360 fi
4361
4362 ac_cv_use_protocols='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
4363
4364 fi;
4365
4366 eval "$ac_cv_use_protocols"
4367 if test "$no_cache" != 1; then
4368 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
4369 fi
4370
4371 if test "$wxUSE_PROTOCOL" = yes; then
4372 echo "$as_me:$LINENO: result: yes" >&5
4373 echo "${ECHO_T}yes" >&6
4374 else
4375 echo "$as_me:$LINENO: result: no" >&5
4376 echo "${ECHO_T}no" >&6
4377 fi
4378
4379
4380 enablestring=
4381 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
4382 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
4383 no_cache=0
4384 # Check whether --enable-ftp or --disable-ftp was given.
4385 if test "${enable_ftp+set}" = set; then
4386 enableval="$enable_ftp"
4387
4388 if test "$enableval" = yes; then
4389 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
4390 else
4391 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
4392 fi
4393
4394 else
4395
4396 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
4397 if test "x$LINE" != x ; then
4398 eval "DEFAULT_$LINE"
4399 else
4400 no_cache=1
4401 fi
4402
4403 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
4404
4405 fi;
4406
4407 eval "$ac_cv_use_ftp"
4408 if test "$no_cache" != 1; then
4409 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
4410 fi
4411
4412 if test "$wxUSE_PROTOCOL_FTP" = yes; then
4413 echo "$as_me:$LINENO: result: yes" >&5
4414 echo "${ECHO_T}yes" >&6
4415 else
4416 echo "$as_me:$LINENO: result: no" >&5
4417 echo "${ECHO_T}no" >&6
4418 fi
4419
4420
4421 enablestring=
4422 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
4423 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
4424 no_cache=0
4425 # Check whether --enable-http or --disable-http was given.
4426 if test "${enable_http+set}" = set; then
4427 enableval="$enable_http"
4428
4429 if test "$enableval" = yes; then
4430 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
4431 else
4432 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
4433 fi
4434
4435 else
4436
4437 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
4438 if test "x$LINE" != x ; then
4439 eval "DEFAULT_$LINE"
4440 else
4441 no_cache=1
4442 fi
4443
4444 ac_cv_use_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
4445
4446 fi;
4447
4448 eval "$ac_cv_use_http"
4449 if test "$no_cache" != 1; then
4450 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
4451 fi
4452
4453 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4454 echo "$as_me:$LINENO: result: yes" >&5
4455 echo "${ECHO_T}yes" >&6
4456 else
4457 echo "$as_me:$LINENO: result: no" >&5
4458 echo "${ECHO_T}no" >&6
4459 fi
4460
4461
4462 enablestring=
4463 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
4464 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6
4465 no_cache=0
4466 # Check whether --enable-fileproto or --disable-fileproto was given.
4467 if test "${enable_fileproto+set}" = set; then
4468 enableval="$enable_fileproto"
4469
4470 if test "$enableval" = yes; then
4471 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
4472 else
4473 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
4474 fi
4475
4476 else
4477
4478 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4479 if test "x$LINE" != x ; then
4480 eval "DEFAULT_$LINE"
4481 else
4482 no_cache=1
4483 fi
4484
4485 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
4486
4487 fi;
4488
4489 eval "$ac_cv_use_fileproto"
4490 if test "$no_cache" != 1; then
4491 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
4492 fi
4493
4494 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4495 echo "$as_me:$LINENO: result: yes" >&5
4496 echo "${ECHO_T}yes" >&6
4497 else
4498 echo "$as_me:$LINENO: result: no" >&5
4499 echo "${ECHO_T}no" >&6
4500 fi
4501
4502
4503 enablestring=
4504 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
4505 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
4506 no_cache=0
4507 # Check whether --enable-sockets or --disable-sockets was given.
4508 if test "${enable_sockets+set}" = set; then
4509 enableval="$enable_sockets"
4510
4511 if test "$enableval" = yes; then
4512 ac_cv_use_sockets='wxUSE_SOCKETS=yes'
4513 else
4514 ac_cv_use_sockets='wxUSE_SOCKETS=no'
4515 fi
4516
4517 else
4518
4519 LINE=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
4520 if test "x$LINE" != x ; then
4521 eval "DEFAULT_$LINE"
4522 else
4523 no_cache=1
4524 fi
4525
4526 ac_cv_use_sockets='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
4527
4528 fi;
4529
4530 eval "$ac_cv_use_sockets"
4531 if test "$no_cache" != 1; then
4532 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
4533 fi
4534
4535 if test "$wxUSE_SOCKETS" = yes; then
4536 echo "$as_me:$LINENO: result: yes" >&5
4537 echo "${ECHO_T}yes" >&6
4538 else
4539 echo "$as_me:$LINENO: result: no" >&5
4540 echo "${ECHO_T}no" >&6
4541 fi
4542
4543
4544 enablestring=
4545 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
4546 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
4547 no_cache=0
4548 # Check whether --enable-ole or --disable-ole was given.
4549 if test "${enable_ole+set}" = set; then
4550 enableval="$enable_ole"
4551
4552 if test "$enableval" = yes; then
4553 ac_cv_use_ole='wxUSE_OLE=yes'
4554 else
4555 ac_cv_use_ole='wxUSE_OLE=no'
4556 fi
4557
4558 else
4559
4560 LINE=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
4561 if test "x$LINE" != x ; then
4562 eval "DEFAULT_$LINE"
4563 else
4564 no_cache=1
4565 fi
4566
4567 ac_cv_use_ole='wxUSE_OLE='$DEFAULT_wxUSE_OLE
4568
4569 fi;
4570
4571 eval "$ac_cv_use_ole"
4572 if test "$no_cache" != 1; then
4573 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
4574 fi
4575
4576 if test "$wxUSE_OLE" = yes; then
4577 echo "$as_me:$LINENO: result: yes" >&5
4578 echo "${ECHO_T}yes" >&6
4579 else
4580 echo "$as_me:$LINENO: result: no" >&5
4581 echo "${ECHO_T}no" >&6
4582 fi
4583
4584
4585 enablestring=
4586 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
4587 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6
4588 no_cache=0
4589 # Check whether --enable-dataobj or --disable-dataobj was given.
4590 if test "${enable_dataobj+set}" = set; then
4591 enableval="$enable_dataobj"
4592
4593 if test "$enableval" = yes; then
4594 ac_cv_use_dataobj='wxUSE_DATAOBJ=yes'
4595 else
4596 ac_cv_use_dataobj='wxUSE_DATAOBJ=no'
4597 fi
4598
4599 else
4600
4601 LINE=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
4602 if test "x$LINE" != x ; then
4603 eval "DEFAULT_$LINE"
4604 else
4605 no_cache=1
4606 fi
4607
4608 ac_cv_use_dataobj='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
4609
4610 fi;
4611
4612 eval "$ac_cv_use_dataobj"
4613 if test "$no_cache" != 1; then
4614 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
4615 fi
4616
4617 if test "$wxUSE_DATAOBJ" = yes; then
4618 echo "$as_me:$LINENO: result: yes" >&5
4619 echo "${ECHO_T}yes" >&6
4620 else
4621 echo "$as_me:$LINENO: result: no" >&5
4622 echo "${ECHO_T}no" >&6
4623 fi
4624
4625
4626
4627 enablestring=
4628 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
4629 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
4630 no_cache=0
4631 # Check whether --enable-ipc or --disable-ipc was given.
4632 if test "${enable_ipc+set}" = set; then
4633 enableval="$enable_ipc"
4634
4635 if test "$enableval" = yes; then
4636 ac_cv_use_ipc='wxUSE_IPC=yes'
4637 else
4638 ac_cv_use_ipc='wxUSE_IPC=no'
4639 fi
4640
4641 else
4642
4643 LINE=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
4644 if test "x$LINE" != x ; then
4645 eval "DEFAULT_$LINE"
4646 else
4647 no_cache=1
4648 fi
4649
4650 ac_cv_use_ipc='wxUSE_IPC='$DEFAULT_wxUSE_IPC
4651
4652 fi;
4653
4654 eval "$ac_cv_use_ipc"
4655 if test "$no_cache" != 1; then
4656 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
4657 fi
4658
4659 if test "$wxUSE_IPC" = yes; then
4660 echo "$as_me:$LINENO: result: yes" >&5
4661 echo "${ECHO_T}yes" >&6
4662 else
4663 echo "$as_me:$LINENO: result: no" >&5
4664 echo "${ECHO_T}no" >&6
4665 fi
4666
4667
4668
4669 enablestring=
4670 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
4671 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6
4672 no_cache=0
4673 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
4674 if test "${enable_apple_ieee+set}" = set; then
4675 enableval="$enable_apple_ieee"
4676
4677 if test "$enableval" = yes; then
4678 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
4679 else
4680 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
4681 fi
4682
4683 else
4684
4685 LINE=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
4686 if test "x$LINE" != x ; then
4687 eval "DEFAULT_$LINE"
4688 else
4689 no_cache=1
4690 fi
4691
4692 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
4693
4694 fi;
4695
4696 eval "$ac_cv_use_apple_ieee"
4697 if test "$no_cache" != 1; then
4698 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
4699 fi
4700
4701 if test "$wxUSE_APPLE_IEEE" = yes; then
4702 echo "$as_me:$LINENO: result: yes" >&5
4703 echo "${ECHO_T}yes" >&6
4704 else
4705 echo "$as_me:$LINENO: result: no" >&5
4706 echo "${ECHO_T}no" >&6
4707 fi
4708
4709
4710 enablestring=
4711 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
4712 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6
4713 no_cache=0
4714 # Check whether --enable-arcstream or --disable-arcstream was given.
4715 if test "${enable_arcstream+set}" = set; then
4716 enableval="$enable_arcstream"
4717
4718 if test "$enableval" = yes; then
4719 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
4720 else
4721 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
4722 fi
4723
4724 else
4725
4726 LINE=`grep "wxUSE_ARCHIVE_STREAMS" ${wx_arg_cache_file}`
4727 if test "x$LINE" != x ; then
4728 eval "DEFAULT_$LINE"
4729 else
4730 no_cache=1
4731 fi
4732
4733 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS='$DEFAULT_wxUSE_ARCHIVE_STREAMS
4734
4735 fi;
4736
4737 eval "$ac_cv_use_arcstream"
4738 if test "$no_cache" != 1; then
4739 echo $ac_cv_use_arcstream >> ${wx_arg_cache_file}.tmp
4740 fi
4741
4742 if test "$wxUSE_ARCHIVE_STREAMS" = yes; then
4743 echo "$as_me:$LINENO: result: yes" >&5
4744 echo "${ECHO_T}yes" >&6
4745 else
4746 echo "$as_me:$LINENO: result: no" >&5
4747 echo "${ECHO_T}no" >&6
4748 fi
4749
4750
4751 enablestring=
4752 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
4753 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6
4754 no_cache=0
4755 # Check whether --enable-backtrace or --disable-backtrace was given.
4756 if test "${enable_backtrace+set}" = set; then
4757 enableval="$enable_backtrace"
4758
4759 if test "$enableval" = yes; then
4760 ac_cv_use_backtrace='wxUSE_STACKWALKER=yes'
4761 else
4762 ac_cv_use_backtrace='wxUSE_STACKWALKER=no'
4763 fi
4764
4765 else
4766
4767 LINE=`grep "wxUSE_STACKWALKER" ${wx_arg_cache_file}`
4768 if test "x$LINE" != x ; then
4769 eval "DEFAULT_$LINE"
4770 else
4771 no_cache=1
4772 fi
4773
4774 ac_cv_use_backtrace='wxUSE_STACKWALKER='$DEFAULT_wxUSE_STACKWALKER
4775
4776 fi;
4777
4778 eval "$ac_cv_use_backtrace"
4779 if test "$no_cache" != 1; then
4780 echo $ac_cv_use_backtrace >> ${wx_arg_cache_file}.tmp
4781 fi
4782
4783 if test "$wxUSE_STACKWALKER" = yes; then
4784 echo "$as_me:$LINENO: result: yes" >&5
4785 echo "${ECHO_T}yes" >&6
4786 else
4787 echo "$as_me:$LINENO: result: no" >&5
4788 echo "${ECHO_T}no" >&6
4789 fi
4790
4791
4792 enablestring=
4793 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
4794 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
4795 no_cache=0
4796 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
4797 if test "${enable_catch_segvs+set}" = set; then
4798 enableval="$enable_catch_segvs"
4799
4800 if test "$enableval" = yes; then
4801 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
4802 else
4803 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
4804 fi
4805
4806 else
4807
4808 LINE=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
4809 if test "x$LINE" != x ; then
4810 eval "DEFAULT_$LINE"
4811 else
4812 no_cache=1
4813 fi
4814
4815 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
4816
4817 fi;
4818
4819 eval "$ac_cv_use_catch_segvs"
4820 if test "$no_cache" != 1; then
4821 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
4822 fi
4823
4824 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
4825 echo "$as_me:$LINENO: result: yes" >&5
4826 echo "${ECHO_T}yes" >&6
4827 else
4828 echo "$as_me:$LINENO: result: no" >&5
4829 echo "${ECHO_T}no" >&6
4830 fi
4831
4832
4833 enablestring=
4834 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
4835 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
4836 no_cache=0
4837 # Check whether --enable-cmdline or --disable-cmdline was given.
4838 if test "${enable_cmdline+set}" = set; then
4839 enableval="$enable_cmdline"
4840
4841 if test "$enableval" = yes; then
4842 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
4843 else
4844 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
4845 fi
4846
4847 else
4848
4849 LINE=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
4850 if test "x$LINE" != x ; then
4851 eval "DEFAULT_$LINE"
4852 else
4853 no_cache=1
4854 fi
4855
4856 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
4857
4858 fi;
4859
4860 eval "$ac_cv_use_cmdline"
4861 if test "$no_cache" != 1; then
4862 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
4863 fi
4864
4865 if test "$wxUSE_CMDLINE_PARSER" = yes; then
4866 echo "$as_me:$LINENO: result: yes" >&5
4867 echo "${ECHO_T}yes" >&6
4868 else
4869 echo "$as_me:$LINENO: result: no" >&5
4870 echo "${ECHO_T}no" >&6
4871 fi
4872
4873
4874 enablestring=
4875 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
4876 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
4877 no_cache=0
4878 # Check whether --enable-datetime or --disable-datetime was given.
4879 if test "${enable_datetime+set}" = set; then
4880 enableval="$enable_datetime"
4881
4882 if test "$enableval" = yes; then
4883 ac_cv_use_datetime='wxUSE_DATETIME=yes'
4884 else
4885 ac_cv_use_datetime='wxUSE_DATETIME=no'
4886 fi
4887
4888 else
4889
4890 LINE=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
4891 if test "x$LINE" != x ; then
4892 eval "DEFAULT_$LINE"
4893 else
4894 no_cache=1
4895 fi
4896
4897 ac_cv_use_datetime='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
4898
4899 fi;
4900
4901 eval "$ac_cv_use_datetime"
4902 if test "$no_cache" != 1; then
4903 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
4904 fi
4905
4906 if test "$wxUSE_DATETIME" = yes; then
4907 echo "$as_me:$LINENO: result: yes" >&5
4908 echo "${ECHO_T}yes" >&6
4909 else
4910 echo "$as_me:$LINENO: result: no" >&5
4911 echo "${ECHO_T}no" >&6
4912 fi
4913
4914
4915 enablestring=
4916 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
4917 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6
4918 no_cache=0
4919 # Check whether --enable-debugreport or --disable-debugreport was given.
4920 if test "${enable_debugreport+set}" = set; then
4921 enableval="$enable_debugreport"
4922
4923 if test "$enableval" = yes; then
4924 ac_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
4925 else
4926 ac_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
4927 fi
4928
4929 else
4930
4931 LINE=`grep "wxUSE_DEBUGREPORT" ${wx_arg_cache_file}`
4932 if test "x$LINE" != x ; then
4933 eval "DEFAULT_$LINE"
4934 else
4935 no_cache=1
4936 fi
4937
4938 ac_cv_use_debugreport='wxUSE_DEBUGREPORT='$DEFAULT_wxUSE_DEBUGREPORT
4939
4940 fi;
4941
4942 eval "$ac_cv_use_debugreport"
4943 if test "$no_cache" != 1; then
4944 echo $ac_cv_use_debugreport >> ${wx_arg_cache_file}.tmp
4945 fi
4946
4947 if test "$wxUSE_DEBUGREPORT" = yes; then
4948 echo "$as_me:$LINENO: result: yes" >&5
4949 echo "${ECHO_T}yes" >&6
4950 else
4951 echo "$as_me:$LINENO: result: no" >&5
4952 echo "${ECHO_T}no" >&6
4953 fi
4954
4955
4956 enablestring=
4957 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
4958 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
4959 no_cache=0
4960 # Check whether --enable-dialupman or --disable-dialupman was given.
4961 if test "${enable_dialupman+set}" = set; then
4962 enableval="$enable_dialupman"
4963
4964 if test "$enableval" = yes; then
4965 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
4966 else
4967 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
4968 fi
4969
4970 else
4971
4972 LINE=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
4973 if test "x$LINE" != x ; then
4974 eval "DEFAULT_$LINE"
4975 else
4976 no_cache=1
4977 fi
4978
4979 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
4980
4981 fi;
4982
4983 eval "$ac_cv_use_dialupman"
4984 if test "$no_cache" != 1; then
4985 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
4986 fi
4987
4988 if test "$wxUSE_DIALUP_MANAGER" = yes; then
4989 echo "$as_me:$LINENO: result: yes" >&5
4990 echo "${ECHO_T}yes" >&6
4991 else
4992 echo "$as_me:$LINENO: result: no" >&5
4993 echo "${ECHO_T}no" >&6
4994 fi
4995
4996
4997 enablestring=
4998 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
4999 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
5000 no_cache=0
5001 # Check whether --enable-dynlib or --disable-dynlib was given.
5002 if test "${enable_dynlib+set}" = set; then
5003 enableval="$enable_dynlib"
5004
5005 if test "$enableval" = yes; then
5006 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
5007 else
5008 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
5009 fi
5010
5011 else
5012
5013 LINE=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
5014 if test "x$LINE" != x ; then
5015 eval "DEFAULT_$LINE"
5016 else
5017 no_cache=1
5018 fi
5019
5020 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
5021
5022 fi;
5023
5024 eval "$ac_cv_use_dynlib"
5025 if test "$no_cache" != 1; then
5026 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
5027 fi
5028
5029 if test "$wxUSE_DYNLIB_CLASS" = yes; then
5030 echo "$as_me:$LINENO: result: yes" >&5
5031 echo "${ECHO_T}yes" >&6
5032 else
5033 echo "$as_me:$LINENO: result: no" >&5
5034 echo "${ECHO_T}no" >&6
5035 fi
5036
5037
5038 enablestring=
5039 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
5040 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6
5041 no_cache=0
5042 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
5043 if test "${enable_dynamicloader+set}" = set; then
5044 enableval="$enable_dynamicloader"
5045
5046 if test "$enableval" = yes; then
5047 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
5048 else
5049 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
5050 fi
5051
5052 else
5053
5054 LINE=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
5055 if test "x$LINE" != x ; then
5056 eval "DEFAULT_$LINE"
5057 else
5058 no_cache=1
5059 fi
5060
5061 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
5062
5063 fi;
5064
5065 eval "$ac_cv_use_dynamicloader"
5066 if test "$no_cache" != 1; then
5067 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
5068 fi
5069
5070 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
5071 echo "$as_me:$LINENO: result: yes" >&5
5072 echo "${ECHO_T}yes" >&6
5073 else
5074 echo "$as_me:$LINENO: result: no" >&5
5075 echo "${ECHO_T}no" >&6
5076 fi
5077
5078
5079 enablestring=
5080 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
5081 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6
5082 no_cache=0
5083 # Check whether --enable-exceptions or --disable-exceptions was given.
5084 if test "${enable_exceptions+set}" = set; then
5085 enableval="$enable_exceptions"
5086
5087 if test "$enableval" = yes; then
5088 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
5089 else
5090 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
5091 fi
5092
5093 else
5094
5095 LINE=`grep "wxUSE_EXCEPTIONS" ${wx_arg_cache_file}`
5096 if test "x$LINE" != x ; then
5097 eval "DEFAULT_$LINE"
5098 else
5099 no_cache=1
5100 fi
5101
5102 ac_cv_use_exceptions='wxUSE_EXCEPTIONS='$DEFAULT_wxUSE_EXCEPTIONS
5103
5104 fi;
5105
5106 eval "$ac_cv_use_exceptions"
5107 if test "$no_cache" != 1; then
5108 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
5109 fi
5110
5111 if test "$wxUSE_EXCEPTIONS" = yes; then
5112 echo "$as_me:$LINENO: result: yes" >&5
5113 echo "${ECHO_T}yes" >&6
5114 else
5115 echo "$as_me:$LINENO: result: no" >&5
5116 echo "${ECHO_T}no" >&6
5117 fi
5118
5119
5120 enablestring=
5121 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
5122 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
5123 no_cache=0
5124 # Check whether --enable-ffile or --disable-ffile was given.
5125 if test "${enable_ffile+set}" = set; then
5126 enableval="$enable_ffile"
5127
5128 if test "$enableval" = yes; then
5129 ac_cv_use_ffile='wxUSE_FFILE=yes'
5130 else
5131 ac_cv_use_ffile='wxUSE_FFILE=no'
5132 fi
5133
5134 else
5135
5136 LINE=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
5137 if test "x$LINE" != x ; then
5138 eval "DEFAULT_$LINE"
5139 else
5140 no_cache=1
5141 fi
5142
5143 ac_cv_use_ffile='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
5144
5145 fi;
5146
5147 eval "$ac_cv_use_ffile"
5148 if test "$no_cache" != 1; then
5149 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
5150 fi
5151
5152 if test "$wxUSE_FFILE" = yes; then
5153 echo "$as_me:$LINENO: result: yes" >&5
5154 echo "${ECHO_T}yes" >&6
5155 else
5156 echo "$as_me:$LINENO: result: no" >&5
5157 echo "${ECHO_T}no" >&6
5158 fi
5159
5160
5161 enablestring=
5162 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
5163 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6
5164 no_cache=0
5165 # Check whether --enable-file or --disable-file was given.
5166 if test "${enable_file+set}" = set; then
5167 enableval="$enable_file"
5168
5169 if test "$enableval" = yes; then
5170 ac_cv_use_file='wxUSE_FILE=yes'
5171 else
5172 ac_cv_use_file='wxUSE_FILE=no'
5173 fi
5174
5175 else
5176
5177 LINE=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
5178 if test "x$LINE" != x ; then
5179 eval "DEFAULT_$LINE"
5180 else
5181 no_cache=1
5182 fi
5183
5184 ac_cv_use_file='wxUSE_FILE='$DEFAULT_wxUSE_FILE
5185
5186 fi;
5187
5188 eval "$ac_cv_use_file"
5189 if test "$no_cache" != 1; then
5190 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
5191 fi
5192
5193 if test "$wxUSE_FILE" = yes; then
5194 echo "$as_me:$LINENO: result: yes" >&5
5195 echo "${ECHO_T}yes" >&6
5196 else
5197 echo "$as_me:$LINENO: result: no" >&5
5198 echo "${ECHO_T}no" >&6
5199 fi
5200
5201
5202 enablestring=
5203 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
5204 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
5205 no_cache=0
5206 # Check whether --enable-filesystem or --disable-filesystem was given.
5207 if test "${enable_filesystem+set}" = set; then
5208 enableval="$enable_filesystem"
5209
5210 if test "$enableval" = yes; then
5211 ac_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
5212 else
5213 ac_cv_use_filesystem='wxUSE_FILESYSTEM=no'
5214 fi
5215
5216 else
5217
5218 LINE=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
5219 if test "x$LINE" != x ; then
5220 eval "DEFAULT_$LINE"
5221 else
5222 no_cache=1
5223 fi
5224
5225 ac_cv_use_filesystem='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
5226
5227 fi;
5228
5229 eval "$ac_cv_use_filesystem"
5230 if test "$no_cache" != 1; then
5231 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
5232 fi
5233
5234 if test "$wxUSE_FILESYSTEM" = yes; then
5235 echo "$as_me:$LINENO: result: yes" >&5
5236 echo "${ECHO_T}yes" >&6
5237 else
5238 echo "$as_me:$LINENO: result: no" >&5
5239 echo "${ECHO_T}no" >&6
5240 fi
5241
5242
5243 enablestring=
5244 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
5245 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6
5246 no_cache=0
5247 # Check whether --enable-fontmap or --disable-fontmap was given.
5248 if test "${enable_fontmap+set}" = set; then
5249 enableval="$enable_fontmap"
5250
5251 if test "$enableval" = yes; then
5252 ac_cv_use_fontmap='wxUSE_FONTMAP=yes'
5253 else
5254 ac_cv_use_fontmap='wxUSE_FONTMAP=no'
5255 fi
5256
5257 else
5258
5259 LINE=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
5260 if test "x$LINE" != x ; then
5261 eval "DEFAULT_$LINE"
5262 else
5263 no_cache=1
5264 fi
5265
5266 ac_cv_use_fontmap='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
5267
5268 fi;
5269
5270 eval "$ac_cv_use_fontmap"
5271 if test "$no_cache" != 1; then
5272 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
5273 fi
5274
5275 if test "$wxUSE_FONTMAP" = yes; then
5276 echo "$as_me:$LINENO: result: yes" >&5
5277 echo "${ECHO_T}yes" >&6
5278 else
5279 echo "$as_me:$LINENO: result: no" >&5
5280 echo "${ECHO_T}no" >&6
5281 fi
5282
5283
5284 enablestring=
5285 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
5286 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
5287 no_cache=0
5288 # Check whether --enable-fs_inet or --disable-fs_inet was given.
5289 if test "${enable_fs_inet+set}" = set; then
5290 enableval="$enable_fs_inet"
5291
5292 if test "$enableval" = yes; then
5293 ac_cv_use_fs_inet='wxUSE_FS_INET=yes'
5294 else
5295 ac_cv_use_fs_inet='wxUSE_FS_INET=no'
5296 fi
5297
5298 else
5299
5300 LINE=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
5301 if test "x$LINE" != x ; then
5302 eval "DEFAULT_$LINE"
5303 else
5304 no_cache=1
5305 fi
5306
5307 ac_cv_use_fs_inet='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
5308
5309 fi;
5310
5311 eval "$ac_cv_use_fs_inet"
5312 if test "$no_cache" != 1; then
5313 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
5314 fi
5315
5316 if test "$wxUSE_FS_INET" = yes; then
5317 echo "$as_me:$LINENO: result: yes" >&5
5318 echo "${ECHO_T}yes" >&6
5319 else
5320 echo "$as_me:$LINENO: result: no" >&5
5321 echo "${ECHO_T}no" >&6
5322 fi
5323
5324
5325 enablestring=
5326 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
5327 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6
5328 no_cache=0
5329 # Check whether --enable-fs_zip or --disable-fs_zip was given.
5330 if test "${enable_fs_zip+set}" = set; then
5331 enableval="$enable_fs_zip"
5332
5333 if test "$enableval" = yes; then
5334 ac_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
5335 else
5336 ac_cv_use_fs_zip='wxUSE_FS_ZIP=no'
5337 fi
5338
5339 else
5340
5341 LINE=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
5342 if test "x$LINE" != x ; then
5343 eval "DEFAULT_$LINE"
5344 else
5345 no_cache=1
5346 fi
5347
5348 ac_cv_use_fs_zip='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
5349
5350 fi;
5351
5352 eval "$ac_cv_use_fs_zip"
5353 if test "$no_cache" != 1; then
5354 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
5355 fi
5356
5357 if test "$wxUSE_FS_ZIP" = yes; then
5358 echo "$as_me:$LINENO: result: yes" >&5
5359 echo "${ECHO_T}yes" >&6
5360 else
5361 echo "$as_me:$LINENO: result: no" >&5
5362 echo "${ECHO_T}no" >&6
5363 fi
5364
5365
5366 enablestring=
5367 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
5368 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6
5369 no_cache=0
5370 # Check whether --enable-geometry or --disable-geometry was given.
5371 if test "${enable_geometry+set}" = set; then
5372 enableval="$enable_geometry"
5373
5374 if test "$enableval" = yes; then
5375 ac_cv_use_geometry='wxUSE_GEOMETRY=yes'
5376 else
5377 ac_cv_use_geometry='wxUSE_GEOMETRY=no'
5378 fi
5379
5380 else
5381
5382 LINE=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
5383 if test "x$LINE" != x ; then
5384 eval "DEFAULT_$LINE"
5385 else
5386 no_cache=1
5387 fi
5388
5389 ac_cv_use_geometry='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
5390
5391 fi;
5392
5393 eval "$ac_cv_use_geometry"
5394 if test "$no_cache" != 1; then
5395 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
5396 fi
5397
5398 if test "$wxUSE_GEOMETRY" = yes; then
5399 echo "$as_me:$LINENO: result: yes" >&5
5400 echo "${ECHO_T}yes" >&6
5401 else
5402 echo "$as_me:$LINENO: result: no" >&5
5403 echo "${ECHO_T}no" >&6
5404 fi
5405
5406
5407 enablestring=
5408 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
5409 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
5410 no_cache=0
5411 # Check whether --enable-log or --disable-log was given.
5412 if test "${enable_log+set}" = set; then
5413 enableval="$enable_log"
5414
5415 if test "$enableval" = yes; then
5416 ac_cv_use_log='wxUSE_LOG=yes'
5417 else
5418 ac_cv_use_log='wxUSE_LOG=no'
5419 fi
5420
5421 else
5422
5423 LINE=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
5424 if test "x$LINE" != x ; then
5425 eval "DEFAULT_$LINE"
5426 else
5427 no_cache=1
5428 fi
5429
5430 ac_cv_use_log='wxUSE_LOG='$DEFAULT_wxUSE_LOG
5431
5432 fi;
5433
5434 eval "$ac_cv_use_log"
5435 if test "$no_cache" != 1; then
5436 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
5437 fi
5438
5439 if test "$wxUSE_LOG" = yes; then
5440 echo "$as_me:$LINENO: result: yes" >&5
5441 echo "${ECHO_T}yes" >&6
5442 else
5443 echo "$as_me:$LINENO: result: no" >&5
5444 echo "${ECHO_T}no" >&6
5445 fi
5446
5447
5448 enablestring=
5449 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
5450 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6
5451 no_cache=0
5452 # Check whether --enable-longlong or --disable-longlong was given.
5453 if test "${enable_longlong+set}" = set; then
5454 enableval="$enable_longlong"
5455
5456 if test "$enableval" = yes; then
5457 ac_cv_use_longlong='wxUSE_LONGLONG=yes'
5458 else
5459 ac_cv_use_longlong='wxUSE_LONGLONG=no'
5460 fi
5461
5462 else
5463
5464 LINE=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
5465 if test "x$LINE" != x ; then
5466 eval "DEFAULT_$LINE"
5467 else
5468 no_cache=1
5469 fi
5470
5471 ac_cv_use_longlong='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
5472
5473 fi;
5474
5475 eval "$ac_cv_use_longlong"
5476 if test "$no_cache" != 1; then
5477 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
5478 fi
5479
5480 if test "$wxUSE_LONGLONG" = yes; then
5481 echo "$as_me:$LINENO: result: yes" >&5
5482 echo "${ECHO_T}yes" >&6
5483 else
5484 echo "$as_me:$LINENO: result: no" >&5
5485 echo "${ECHO_T}no" >&6
5486 fi
5487
5488
5489 enablestring=
5490 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
5491 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6
5492 no_cache=0
5493 # Check whether --enable-mimetype or --disable-mimetype was given.
5494 if test "${enable_mimetype+set}" = set; then
5495 enableval="$enable_mimetype"
5496
5497 if test "$enableval" = yes; then
5498 ac_cv_use_mimetype='wxUSE_MIMETYPE=yes'
5499 else
5500 ac_cv_use_mimetype='wxUSE_MIMETYPE=no'
5501 fi
5502
5503 else
5504
5505 LINE=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
5506 if test "x$LINE" != x ; then
5507 eval "DEFAULT_$LINE"
5508 else
5509 no_cache=1
5510 fi
5511
5512 ac_cv_use_mimetype='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
5513
5514 fi;
5515
5516 eval "$ac_cv_use_mimetype"
5517 if test "$no_cache" != 1; then
5518 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
5519 fi
5520
5521 if test "$wxUSE_MIMETYPE" = yes; then
5522 echo "$as_me:$LINENO: result: yes" >&5
5523 echo "${ECHO_T}yes" >&6
5524 else
5525 echo "$as_me:$LINENO: result: no" >&5
5526 echo "${ECHO_T}no" >&6
5527 fi
5528
5529
5530 enablestring=
5531 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5532 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6
5533 no_cache=0
5534 # Check whether --enable-mslu or --disable-mslu was given.
5535 if test "${enable_mslu+set}" = set; then
5536 enableval="$enable_mslu"
5537
5538 if test "$enableval" = yes; then
5539 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
5540 else
5541 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
5542 fi
5543
5544 else
5545
5546 LINE=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
5547 if test "x$LINE" != x ; then
5548 eval "DEFAULT_$LINE"
5549 else
5550 no_cache=1
5551 fi
5552
5553 ac_cv_use_mslu='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
5554
5555 fi;
5556
5557 eval "$ac_cv_use_mslu"
5558 if test "$no_cache" != 1; then
5559 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
5560 fi
5561
5562 if test "$wxUSE_UNICODE_MSLU" = yes; then
5563 echo "$as_me:$LINENO: result: yes" >&5
5564 echo "${ECHO_T}yes" >&6
5565 else
5566 echo "$as_me:$LINENO: result: no" >&5
5567 echo "${ECHO_T}no" >&6
5568 fi
5569
5570
5571 enablestring=
5572 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
5573 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
5574 no_cache=0
5575 # Check whether --enable-snglinst or --disable-snglinst was given.
5576 if test "${enable_snglinst+set}" = set; then
5577 enableval="$enable_snglinst"
5578
5579 if test "$enableval" = yes; then
5580 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
5581 else
5582 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
5583 fi
5584
5585 else
5586
5587 LINE=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
5588 if test "x$LINE" != x ; then
5589 eval "DEFAULT_$LINE"
5590 else
5591 no_cache=1
5592 fi
5593
5594 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
5595
5596 fi;
5597
5598 eval "$ac_cv_use_snglinst"
5599 if test "$no_cache" != 1; then
5600 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
5601 fi
5602
5603 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
5604 echo "$as_me:$LINENO: result: yes" >&5
5605 echo "${ECHO_T}yes" >&6
5606 else
5607 echo "$as_me:$LINENO: result: no" >&5
5608 echo "${ECHO_T}no" >&6
5609 fi
5610
5611
5612 enablestring=
5613 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
5614 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
5615 no_cache=0
5616 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
5617 if test "${enable_std_iostreams+set}" = set; then
5618 enableval="$enable_std_iostreams"
5619
5620 if test "$enableval" = yes; then
5621 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
5622 else
5623 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
5624 fi
5625
5626 else
5627
5628 LINE=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
5629 if test "x$LINE" != x ; then
5630 eval "DEFAULT_$LINE"
5631 else
5632 no_cache=1
5633 fi
5634
5635 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
5636
5637 fi;
5638
5639 eval "$ac_cv_use_std_iostreams"
5640 if test "$no_cache" != 1; then
5641 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
5642 fi
5643
5644 if test "$wxUSE_STD_IOSTREAM" = yes; then
5645 echo "$as_me:$LINENO: result: yes" >&5
5646 echo "${ECHO_T}yes" >&6
5647 else
5648 echo "$as_me:$LINENO: result: no" >&5
5649 echo "${ECHO_T}no" >&6
5650 fi
5651
5652
5653 enablestring=
5654 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
5655 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6
5656 no_cache=0
5657 # Check whether --enable-std_string or --disable-std_string was given.
5658 if test "${enable_std_string+set}" = set; then
5659 enableval="$enable_std_string"
5660
5661 if test "$enableval" = yes; then
5662 ac_cv_use_std_string='wxUSE_STD_STRING=yes'
5663 else
5664 ac_cv_use_std_string='wxUSE_STD_STRING=no'
5665 fi
5666
5667 else
5668
5669 LINE=`grep "wxUSE_STD_STRING" ${wx_arg_cache_file}`
5670 if test "x$LINE" != x ; then
5671 eval "DEFAULT_$LINE"
5672 else
5673 no_cache=1
5674 fi
5675
5676 ac_cv_use_std_string='wxUSE_STD_STRING='$DEFAULT_wxUSE_STD_STRING
5677
5678 fi;
5679
5680 eval "$ac_cv_use_std_string"
5681 if test "$no_cache" != 1; then
5682 echo $ac_cv_use_std_string >> ${wx_arg_cache_file}.tmp
5683 fi
5684
5685 if test "$wxUSE_STD_STRING" = yes; then
5686 echo "$as_me:$LINENO: result: yes" >&5
5687 echo "${ECHO_T}yes" >&6
5688 else
5689 echo "$as_me:$LINENO: result: no" >&5
5690 echo "${ECHO_T}no" >&6
5691 fi
5692
5693
5694 enablestring=
5695 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
5696 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6
5697 no_cache=0
5698 # Check whether --enable-stdpaths or --disable-stdpaths was given.
5699 if test "${enable_stdpaths+set}" = set; then
5700 enableval="$enable_stdpaths"
5701
5702 if test "$enableval" = yes; then
5703 ac_cv_use_stdpaths='wxUSE_STDPATHS=yes'
5704 else
5705 ac_cv_use_stdpaths='wxUSE_STDPATHS=no'
5706 fi
5707
5708 else
5709
5710 LINE=`grep "wxUSE_STDPATHS" ${wx_arg_cache_file}`
5711 if test "x$LINE" != x ; then
5712 eval "DEFAULT_$LINE"
5713 else
5714 no_cache=1
5715 fi
5716
5717 ac_cv_use_stdpaths='wxUSE_STDPATHS='$DEFAULT_wxUSE_STDPATHS
5718
5719 fi;
5720
5721 eval "$ac_cv_use_stdpaths"
5722 if test "$no_cache" != 1; then
5723 echo $ac_cv_use_stdpaths >> ${wx_arg_cache_file}.tmp
5724 fi
5725
5726 if test "$wxUSE_STDPATHS" = yes; then
5727 echo "$as_me:$LINENO: result: yes" >&5
5728 echo "${ECHO_T}yes" >&6
5729 else
5730 echo "$as_me:$LINENO: result: no" >&5
5731 echo "${ECHO_T}no" >&6
5732 fi
5733
5734
5735 enablestring=
5736 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
5737 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
5738 no_cache=0
5739 # Check whether --enable-stopwatch or --disable-stopwatch was given.
5740 if test "${enable_stopwatch+set}" = set; then
5741 enableval="$enable_stopwatch"
5742
5743 if test "$enableval" = yes; then
5744 ac_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
5745 else
5746 ac_cv_use_stopwatch='wxUSE_STOPWATCH=no'
5747 fi
5748
5749 else
5750
5751 LINE=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
5752 if test "x$LINE" != x ; then
5753 eval "DEFAULT_$LINE"
5754 else
5755 no_cache=1
5756 fi
5757
5758 ac_cv_use_stopwatch='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
5759
5760 fi;
5761
5762 eval "$ac_cv_use_stopwatch"
5763 if test "$no_cache" != 1; then
5764 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
5765 fi
5766
5767 if test "$wxUSE_STOPWATCH" = yes; then
5768 echo "$as_me:$LINENO: result: yes" >&5
5769 echo "${ECHO_T}yes" >&6
5770 else
5771 echo "$as_me:$LINENO: result: no" >&5
5772 echo "${ECHO_T}no" >&6
5773 fi
5774
5775
5776 enablestring=
5777 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
5778 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
5779 no_cache=0
5780 # Check whether --enable-streams or --disable-streams was given.
5781 if test "${enable_streams+set}" = set; then
5782 enableval="$enable_streams"
5783
5784 if test "$enableval" = yes; then
5785 ac_cv_use_streams='wxUSE_STREAMS=yes'
5786 else
5787 ac_cv_use_streams='wxUSE_STREAMS=no'
5788 fi
5789
5790 else
5791
5792 LINE=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
5793 if test "x$LINE" != x ; then
5794 eval "DEFAULT_$LINE"
5795 else
5796 no_cache=1
5797 fi
5798
5799 ac_cv_use_streams='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
5800
5801 fi;
5802
5803 eval "$ac_cv_use_streams"
5804 if test "$no_cache" != 1; then
5805 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
5806 fi
5807
5808 if test "$wxUSE_STREAMS" = yes; then
5809 echo "$as_me:$LINENO: result: yes" >&5
5810 echo "${ECHO_T}yes" >&6
5811 else
5812 echo "$as_me:$LINENO: result: no" >&5
5813 echo "${ECHO_T}no" >&6
5814 fi
5815
5816
5817 enablestring=
5818 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
5819 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6
5820 no_cache=0
5821 # Check whether --enable-system_options or --disable-system_options was given.
5822 if test "${enable_system_options+set}" = set; then
5823 enableval="$enable_system_options"
5824
5825 if test "$enableval" = yes; then
5826 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
5827 else
5828 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
5829 fi
5830
5831 else
5832
5833 LINE=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
5834 if test "x$LINE" != x ; then
5835 eval "DEFAULT_$LINE"
5836 else
5837 no_cache=1
5838 fi
5839
5840 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
5841
5842 fi;
5843
5844 eval "$ac_cv_use_system_options"
5845 if test "$no_cache" != 1; then
5846 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
5847 fi
5848
5849 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
5850 echo "$as_me:$LINENO: result: yes" >&5
5851 echo "${ECHO_T}yes" >&6
5852 else
5853 echo "$as_me:$LINENO: result: no" >&5
5854 echo "${ECHO_T}no" >&6
5855 fi
5856
5857
5858 enablestring=
5859 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
5860 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
5861 no_cache=0
5862 # Check whether --enable-textbuf or --disable-textbuf was given.
5863 if test "${enable_textbuf+set}" = set; then
5864 enableval="$enable_textbuf"
5865
5866 if test "$enableval" = yes; then
5867 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
5868 else
5869 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
5870 fi
5871
5872 else
5873
5874 LINE=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
5875 if test "x$LINE" != x ; then
5876 eval "DEFAULT_$LINE"
5877 else
5878 no_cache=1
5879 fi
5880
5881 ac_cv_use_textbuf='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
5882
5883 fi;
5884
5885 eval "$ac_cv_use_textbuf"
5886 if test "$no_cache" != 1; then
5887 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
5888 fi
5889
5890 if test "$wxUSE_TEXTBUFFER" = yes; then
5891 echo "$as_me:$LINENO: result: yes" >&5
5892 echo "${ECHO_T}yes" >&6
5893 else
5894 echo "$as_me:$LINENO: result: no" >&5
5895 echo "${ECHO_T}no" >&6
5896 fi
5897
5898
5899 enablestring=
5900 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
5901 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
5902 no_cache=0
5903 # Check whether --enable-textfile or --disable-textfile was given.
5904 if test "${enable_textfile+set}" = set; then
5905 enableval="$enable_textfile"
5906
5907 if test "$enableval" = yes; then
5908 ac_cv_use_textfile='wxUSE_TEXTFILE=yes'
5909 else
5910 ac_cv_use_textfile='wxUSE_TEXTFILE=no'
5911 fi
5912
5913 else
5914
5915 LINE=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
5916 if test "x$LINE" != x ; then
5917 eval "DEFAULT_$LINE"
5918 else
5919 no_cache=1
5920 fi
5921
5922 ac_cv_use_textfile='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
5923
5924 fi;
5925
5926 eval "$ac_cv_use_textfile"
5927 if test "$no_cache" != 1; then
5928 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
5929 fi
5930
5931 if test "$wxUSE_TEXTFILE" = yes; then
5932 echo "$as_me:$LINENO: result: yes" >&5
5933 echo "${ECHO_T}yes" >&6
5934 else
5935 echo "$as_me:$LINENO: result: no" >&5
5936 echo "${ECHO_T}no" >&6
5937 fi
5938
5939
5940 enablestring=
5941 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
5942 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
5943 no_cache=0
5944 # Check whether --enable-timer or --disable-timer was given.
5945 if test "${enable_timer+set}" = set; then
5946 enableval="$enable_timer"
5947
5948 if test "$enableval" = yes; then
5949 ac_cv_use_timer='wxUSE_TIMER=yes'
5950 else
5951 ac_cv_use_timer='wxUSE_TIMER=no'
5952 fi
5953
5954 else
5955
5956 LINE=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
5957 if test "x$LINE" != x ; then
5958 eval "DEFAULT_$LINE"
5959 else
5960 no_cache=1
5961 fi
5962
5963 ac_cv_use_timer='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
5964
5965 fi;
5966
5967 eval "$ac_cv_use_timer"
5968 if test "$no_cache" != 1; then
5969 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
5970 fi
5971
5972 if test "$wxUSE_TIMER" = yes; then
5973 echo "$as_me:$LINENO: result: yes" >&5
5974 echo "${ECHO_T}yes" >&6
5975 else
5976 echo "$as_me:$LINENO: result: no" >&5
5977 echo "${ECHO_T}no" >&6
5978 fi
5979
5980
5981 enablestring=
5982 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
5983 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
5984 no_cache=0
5985 # Check whether --enable-unicode or --disable-unicode was given.
5986 if test "${enable_unicode+set}" = set; then
5987 enableval="$enable_unicode"
5988
5989 if test "$enableval" = yes; then
5990 ac_cv_use_unicode='wxUSE_UNICODE=yes'
5991 else
5992 ac_cv_use_unicode='wxUSE_UNICODE=no'
5993 fi
5994
5995 else
5996
5997 LINE=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
5998 if test "x$LINE" != x ; then
5999 eval "DEFAULT_$LINE"
6000 else
6001 no_cache=1
6002 fi
6003
6004 ac_cv_use_unicode='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
6005
6006 fi;
6007
6008 eval "$ac_cv_use_unicode"
6009 if test "$no_cache" != 1; then
6010 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
6011 fi
6012
6013 if test "$wxUSE_UNICODE" = yes; then
6014 echo "$as_me:$LINENO: result: yes" >&5
6015 echo "${ECHO_T}yes" >&6
6016 else
6017 echo "$as_me:$LINENO: result: no" >&5
6018 echo "${ECHO_T}no" >&6
6019 fi
6020
6021
6022 enablestring=
6023 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
6024 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6
6025 no_cache=0
6026 # Check whether --enable-sound or --disable-sound was given.
6027 if test "${enable_sound+set}" = set; then
6028 enableval="$enable_sound"
6029
6030 if test "$enableval" = yes; then
6031 ac_cv_use_sound='wxUSE_SOUND=yes'
6032 else
6033 ac_cv_use_sound='wxUSE_SOUND=no'
6034 fi
6035
6036 else
6037
6038 LINE=`grep "wxUSE_SOUND" ${wx_arg_cache_file}`
6039 if test "x$LINE" != x ; then
6040 eval "DEFAULT_$LINE"
6041 else
6042 no_cache=1
6043 fi
6044
6045 ac_cv_use_sound='wxUSE_SOUND='$DEFAULT_wxUSE_SOUND
6046
6047 fi;
6048
6049 eval "$ac_cv_use_sound"
6050 if test "$no_cache" != 1; then
6051 echo $ac_cv_use_sound >> ${wx_arg_cache_file}.tmp
6052 fi
6053
6054 if test "$wxUSE_SOUND" = yes; then
6055 echo "$as_me:$LINENO: result: yes" >&5
6056 echo "${ECHO_T}yes" >&6
6057 else
6058 echo "$as_me:$LINENO: result: no" >&5
6059 echo "${ECHO_T}no" >&6
6060 fi
6061
6062
6063 enablestring=
6064 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
6065 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6
6066 no_cache=0
6067 # Check whether --enable-mediactrl or --disable-mediactrl was given.
6068 if test "${enable_mediactrl+set}" = set; then
6069 enableval="$enable_mediactrl"
6070
6071 if test "$enableval" = yes; then
6072 ac_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
6073 else
6074 ac_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
6075 fi
6076
6077 else
6078
6079 LINE=`grep "wxUSE_MEDIACTRL" ${wx_arg_cache_file}`
6080 if test "x$LINE" != x ; then
6081 eval "DEFAULT_$LINE"
6082 else
6083 no_cache=1
6084 fi
6085
6086 ac_cv_use_mediactrl='wxUSE_MEDIACTRL='$DEFAULT_wxUSE_MEDIACTRL
6087
6088 fi;
6089
6090 eval "$ac_cv_use_mediactrl"
6091 if test "$no_cache" != 1; then
6092 echo $ac_cv_use_mediactrl >> ${wx_arg_cache_file}.tmp
6093 fi
6094
6095 if test "$wxUSE_MEDIACTRL" = yes; then
6096 echo "$as_me:$LINENO: result: yes" >&5
6097 echo "${ECHO_T}yes" >&6
6098 else
6099 echo "$as_me:$LINENO: result: no" >&5
6100 echo "${ECHO_T}no" >&6
6101 fi
6102
6103
6104 enablestring=
6105 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxprintfv" >&5
6106 echo $ECHO_N "checking for --${enablestring:-enable}-wxprintfv... $ECHO_C" >&6
6107 no_cache=0
6108 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
6109 if test "${enable_wxprintfv+set}" = set; then
6110 enableval="$enable_wxprintfv"
6111
6112 if test "$enableval" = yes; then
6113 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF=yes'
6114 else
6115 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF=no'
6116 fi
6117
6118 else
6119
6120 LINE=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
6121 if test "x$LINE" != x ; then
6122 eval "DEFAULT_$LINE"
6123 else
6124 no_cache=1
6125 fi
6126
6127 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
6128
6129 fi;
6130
6131 eval "$ac_cv_use_wxprintfv"
6132 if test "$no_cache" != 1; then
6133 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
6134 fi
6135
6136 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
6137 echo "$as_me:$LINENO: result: yes" >&5
6138 echo "${ECHO_T}yes" >&6
6139 else
6140 echo "$as_me:$LINENO: result: no" >&5
6141 echo "${ECHO_T}no" >&6
6142 fi
6143
6144
6145 enablestring=
6146 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
6147 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
6148 no_cache=0
6149 # Check whether --enable-zipstream or --disable-zipstream was given.
6150 if test "${enable_zipstream+set}" = set; then
6151 enableval="$enable_zipstream"
6152
6153 if test "$enableval" = yes; then
6154 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
6155 else
6156 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
6157 fi
6158
6159 else
6160
6161 LINE=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
6162 if test "x$LINE" != x ; then
6163 eval "DEFAULT_$LINE"
6164 else
6165 no_cache=1
6166 fi
6167
6168 ac_cv_use_zipstream='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
6169
6170 fi;
6171
6172 eval "$ac_cv_use_zipstream"
6173 if test "$no_cache" != 1; then
6174 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
6175 fi
6176
6177 if test "$wxUSE_ZIPSTREAM" = yes; then
6178 echo "$as_me:$LINENO: result: yes" >&5
6179 echo "${ECHO_T}yes" >&6
6180 else
6181 echo "$as_me:$LINENO: result: no" >&5
6182 echo "${ECHO_T}no" >&6
6183 fi
6184
6185
6186
6187 enablestring=
6188 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
6189 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
6190 no_cache=0
6191 # Check whether --enable-url or --disable-url was given.
6192 if test "${enable_url+set}" = set; then
6193 enableval="$enable_url"
6194
6195 if test "$enableval" = yes; then
6196 ac_cv_use_url='wxUSE_URL=yes'
6197 else
6198 ac_cv_use_url='wxUSE_URL=no'
6199 fi
6200
6201 else
6202
6203 LINE=`grep "wxUSE_URL" ${wx_arg_cache_file}`
6204 if test "x$LINE" != x ; then
6205 eval "DEFAULT_$LINE"
6206 else
6207 no_cache=1
6208 fi
6209
6210 ac_cv_use_url='wxUSE_URL='$DEFAULT_wxUSE_URL
6211
6212 fi;
6213
6214 eval "$ac_cv_use_url"
6215 if test "$no_cache" != 1; then
6216 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
6217 fi
6218
6219 if test "$wxUSE_URL" = yes; then
6220 echo "$as_me:$LINENO: result: yes" >&5
6221 echo "${ECHO_T}yes" >&6
6222 else
6223 echo "$as_me:$LINENO: result: no" >&5
6224 echo "${ECHO_T}no" >&6
6225 fi
6226
6227
6228 enablestring=
6229 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
6230 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
6231 no_cache=0
6232 # Check whether --enable-protocol or --disable-protocol was given.
6233 if test "${enable_protocol+set}" = set; then
6234 enableval="$enable_protocol"
6235
6236 if test "$enableval" = yes; then
6237 ac_cv_use_protocol='wxUSE_PROTOCOL=yes'
6238 else
6239 ac_cv_use_protocol='wxUSE_PROTOCOL=no'
6240 fi
6241
6242 else
6243
6244 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
6245 if test "x$LINE" != x ; then
6246 eval "DEFAULT_$LINE"
6247 else
6248 no_cache=1
6249 fi
6250
6251 ac_cv_use_protocol='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
6252
6253 fi;
6254
6255 eval "$ac_cv_use_protocol"
6256 if test "$no_cache" != 1; then
6257 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
6258 fi
6259
6260 if test "$wxUSE_PROTOCOL" = yes; then
6261 echo "$as_me:$LINENO: result: yes" >&5
6262 echo "${ECHO_T}yes" >&6
6263 else
6264 echo "$as_me:$LINENO: result: no" >&5
6265 echo "${ECHO_T}no" >&6
6266 fi
6267
6268
6269 enablestring=
6270 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
6271 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
6272 no_cache=0
6273 # Check whether --enable-protocol_http or --disable-protocol_http was given.
6274 if test "${enable_protocol_http+set}" = set; then
6275 enableval="$enable_protocol_http"
6276
6277 if test "$enableval" = yes; then
6278 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
6279 else
6280 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
6281 fi
6282
6283 else
6284
6285 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
6286 if test "x$LINE" != x ; then
6287 eval "DEFAULT_$LINE"
6288 else
6289 no_cache=1
6290 fi
6291
6292 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
6293
6294 fi;
6295
6296 eval "$ac_cv_use_protocol_http"
6297 if test "$no_cache" != 1; then
6298 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
6299 fi
6300
6301 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
6302 echo "$as_me:$LINENO: result: yes" >&5
6303 echo "${ECHO_T}yes" >&6
6304 else
6305 echo "$as_me:$LINENO: result: no" >&5
6306 echo "${ECHO_T}no" >&6
6307 fi
6308
6309
6310 enablestring=
6311 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
6312 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
6313 no_cache=0
6314 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
6315 if test "${enable_protocol_ftp+set}" = set; then
6316 enableval="$enable_protocol_ftp"
6317
6318 if test "$enableval" = yes; then
6319 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
6320 else
6321 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
6322 fi
6323
6324 else
6325
6326 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
6327 if test "x$LINE" != x ; then
6328 eval "DEFAULT_$LINE"
6329 else
6330 no_cache=1
6331 fi
6332
6333 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
6334
6335 fi;
6336
6337 eval "$ac_cv_use_protocol_ftp"
6338 if test "$no_cache" != 1; then
6339 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
6340 fi
6341
6342 if test "$wxUSE_PROTOCOL_FTP" = yes; then
6343 echo "$as_me:$LINENO: result: yes" >&5
6344 echo "${ECHO_T}yes" >&6
6345 else
6346 echo "$as_me:$LINENO: result: no" >&5
6347 echo "${ECHO_T}no" >&6
6348 fi
6349
6350
6351 enablestring=
6352 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
6353 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
6354 no_cache=0
6355 # Check whether --enable-protocol_file or --disable-protocol_file was given.
6356 if test "${enable_protocol_file+set}" = set; then
6357 enableval="$enable_protocol_file"
6358
6359 if test "$enableval" = yes; then
6360 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
6361 else
6362 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
6363 fi
6364
6365 else
6366
6367 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
6368 if test "x$LINE" != x ; then
6369 eval "DEFAULT_$LINE"
6370 else
6371 no_cache=1
6372 fi
6373
6374 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
6375
6376 fi;
6377
6378 eval "$ac_cv_use_protocol_file"
6379 if test "$no_cache" != 1; then
6380 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
6381 fi
6382
6383 if test "$wxUSE_PROTOCOL_FILE" = yes; then
6384 echo "$as_me:$LINENO: result: yes" >&5
6385 echo "${ECHO_T}yes" >&6
6386 else
6387 echo "$as_me:$LINENO: result: no" >&5
6388 echo "${ECHO_T}no" >&6
6389 fi
6390
6391
6392
6393
6394
6395 enablestring=
6396 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
6397 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
6398 no_cache=0
6399 # Check whether --enable-threads or --disable-threads was given.
6400 if test "${enable_threads+set}" = set; then
6401 enableval="$enable_threads"
6402
6403 if test "$enableval" = yes; then
6404 ac_cv_use_threads='wxUSE_THREADS=yes'
6405 else
6406 ac_cv_use_threads='wxUSE_THREADS=no'
6407 fi
6408
6409 else
6410
6411 LINE=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
6412 if test "x$LINE" != x ; then
6413 eval "DEFAULT_$LINE"
6414 else
6415 no_cache=1
6416 fi
6417
6418 ac_cv_use_threads='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
6419
6420 fi;
6421
6422 eval "$ac_cv_use_threads"
6423 if test "$no_cache" != 1; then
6424 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
6425 fi
6426
6427 if test "$wxUSE_THREADS" = yes; then
6428 echo "$as_me:$LINENO: result: yes" >&5
6429 echo "${ECHO_T}yes" >&6
6430 else
6431 echo "$as_me:$LINENO: result: no" >&5
6432 echo "${ECHO_T}no" >&6
6433 fi
6434
6435
6436 if test "$wxUSE_GUI" = "yes"; then
6437
6438
6439
6440 enablestring=
6441 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
6442 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
6443 no_cache=0
6444 # Check whether --enable-docview or --disable-docview was given.
6445 if test "${enable_docview+set}" = set; then
6446 enableval="$enable_docview"
6447
6448 if test "$enableval" = yes; then
6449 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
6450 else
6451 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
6452 fi
6453
6454 else
6455
6456 LINE=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
6457 if test "x$LINE" != x ; then
6458 eval "DEFAULT_$LINE"
6459 else
6460 no_cache=1
6461 fi
6462
6463 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
6464
6465 fi;
6466
6467 eval "$ac_cv_use_docview"
6468 if test "$no_cache" != 1; then
6469 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
6470 fi
6471
6472 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
6473 echo "$as_me:$LINENO: result: yes" >&5
6474 echo "${ECHO_T}yes" >&6
6475 else
6476 echo "$as_me:$LINENO: result: no" >&5
6477 echo "${ECHO_T}no" >&6
6478 fi
6479
6480
6481 enablestring=
6482 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
6483 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
6484 no_cache=0
6485 # Check whether --enable-help or --disable-help was given.
6486 if test "${enable_help+set}" = set; then
6487 enableval="$enable_help"
6488
6489 if test "$enableval" = yes; then
6490 ac_cv_use_help='wxUSE_HELP=yes'
6491 else
6492 ac_cv_use_help='wxUSE_HELP=no'
6493 fi
6494
6495 else
6496
6497 LINE=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
6498 if test "x$LINE" != x ; then
6499 eval "DEFAULT_$LINE"
6500 else
6501 no_cache=1
6502 fi
6503
6504 ac_cv_use_help='wxUSE_HELP='$DEFAULT_wxUSE_HELP
6505
6506 fi;
6507
6508 eval "$ac_cv_use_help"
6509 if test "$no_cache" != 1; then
6510 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
6511 fi
6512
6513 if test "$wxUSE_HELP" = yes; then
6514 echo "$as_me:$LINENO: result: yes" >&5
6515 echo "${ECHO_T}yes" >&6
6516 else
6517 echo "$as_me:$LINENO: result: no" >&5
6518 echo "${ECHO_T}no" >&6
6519 fi
6520
6521
6522 enablestring=
6523 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
6524 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6
6525 no_cache=0
6526 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
6527 if test "${enable_mshtmlhelp+set}" = set; then
6528 enableval="$enable_mshtmlhelp"
6529
6530 if test "$enableval" = yes; then
6531 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
6532 else
6533 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
6534 fi
6535
6536 else
6537
6538 LINE=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
6539 if test "x$LINE" != x ; then
6540 eval "DEFAULT_$LINE"
6541 else
6542 no_cache=1
6543 fi
6544
6545 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
6546
6547 fi;
6548
6549 eval "$ac_cv_use_mshtmlhelp"
6550 if test "$no_cache" != 1; then
6551 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
6552 fi
6553
6554 if test "$wxUSE_MS_HTML_HELP" = yes; then
6555 echo "$as_me:$LINENO: result: yes" >&5
6556 echo "${ECHO_T}yes" >&6
6557 else
6558 echo "$as_me:$LINENO: result: no" >&5
6559 echo "${ECHO_T}no" >&6
6560 fi
6561
6562
6563 enablestring=
6564 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
6565 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
6566 no_cache=0
6567 # Check whether --enable-html or --disable-html was given.
6568 if test "${enable_html+set}" = set; then
6569 enableval="$enable_html"
6570
6571 if test "$enableval" = yes; then
6572 ac_cv_use_html='wxUSE_HTML=yes'
6573 else
6574 ac_cv_use_html='wxUSE_HTML=no'
6575 fi
6576
6577 else
6578
6579 LINE=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
6580 if test "x$LINE" != x ; then
6581 eval "DEFAULT_$LINE"
6582 else
6583 no_cache=1
6584 fi
6585
6586 ac_cv_use_html='wxUSE_HTML='$DEFAULT_wxUSE_HTML
6587
6588 fi;
6589
6590 eval "$ac_cv_use_html"
6591 if test "$no_cache" != 1; then
6592 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
6593 fi
6594
6595 if test "$wxUSE_HTML" = yes; then
6596 echo "$as_me:$LINENO: result: yes" >&5
6597 echo "${ECHO_T}yes" >&6
6598 else
6599 echo "$as_me:$LINENO: result: no" >&5
6600 echo "${ECHO_T}no" >&6
6601 fi
6602
6603
6604 enablestring=
6605 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
6606 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
6607 no_cache=0
6608 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
6609 if test "${enable_htmlhelp+set}" = set; then
6610 enableval="$enable_htmlhelp"
6611
6612 if test "$enableval" = yes; then
6613 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
6614 else
6615 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
6616 fi
6617
6618 else
6619
6620 LINE=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
6621 if test "x$LINE" != x ; then
6622 eval "DEFAULT_$LINE"
6623 else
6624 no_cache=1
6625 fi
6626
6627 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
6628
6629 fi;
6630
6631 eval "$ac_cv_use_htmlhelp"
6632 if test "$no_cache" != 1; then
6633 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
6634 fi
6635
6636 if test "$wxUSE_WXHTML_HELP" = yes; then
6637 echo "$as_me:$LINENO: result: yes" >&5
6638 echo "${ECHO_T}yes" >&6
6639 else
6640 echo "$as_me:$LINENO: result: no" >&5
6641 echo "${ECHO_T}no" >&6
6642 fi
6643
6644
6645 enablestring=
6646 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
6647 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6
6648 no_cache=0
6649 # Check whether --enable-xrc or --disable-xrc was given.
6650 if test "${enable_xrc+set}" = set; then
6651 enableval="$enable_xrc"
6652
6653 if test "$enableval" = yes; then
6654 ac_cv_use_xrc='wxUSE_XRC=yes'
6655 else
6656 ac_cv_use_xrc='wxUSE_XRC=no'
6657 fi
6658
6659 else
6660
6661 LINE=`grep "wxUSE_XRC" ${wx_arg_cache_file}`
6662 if test "x$LINE" != x ; then
6663 eval "DEFAULT_$LINE"
6664 else
6665 no_cache=1
6666 fi
6667
6668 ac_cv_use_xrc='wxUSE_XRC='$DEFAULT_wxUSE_XRC
6669
6670 fi;
6671
6672 eval "$ac_cv_use_xrc"
6673 if test "$no_cache" != 1; then
6674 echo $ac_cv_use_xrc >> ${wx_arg_cache_file}.tmp
6675 fi
6676
6677 if test "$wxUSE_XRC" = yes; then
6678 echo "$as_me:$LINENO: result: yes" >&5
6679 echo "${ECHO_T}yes" >&6
6680 else
6681 echo "$as_me:$LINENO: result: no" >&5
6682 echo "${ECHO_T}no" >&6
6683 fi
6684
6685
6686 enablestring=
6687 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
6688 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6
6689 no_cache=0
6690 # Check whether --enable-constraints or --disable-constraints was given.
6691 if test "${enable_constraints+set}" = set; then
6692 enableval="$enable_constraints"
6693
6694 if test "$enableval" = yes; then
6695 ac_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
6696 else
6697 ac_cv_use_constraints='wxUSE_CONSTRAINTS=no'
6698 fi
6699
6700 else
6701
6702 LINE=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
6703 if test "x$LINE" != x ; then
6704 eval "DEFAULT_$LINE"
6705 else
6706 no_cache=1
6707 fi
6708
6709 ac_cv_use_constraints='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
6710
6711 fi;
6712
6713 eval "$ac_cv_use_constraints"
6714 if test "$no_cache" != 1; then
6715 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
6716 fi
6717
6718 if test "$wxUSE_CONSTRAINTS" = yes; then
6719 echo "$as_me:$LINENO: result: yes" >&5
6720 echo "${ECHO_T}yes" >&6
6721 else
6722 echo "$as_me:$LINENO: result: no" >&5
6723 echo "${ECHO_T}no" >&6
6724 fi
6725
6726
6727 enablestring=
6728 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
6729 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
6730 no_cache=0
6731 # Check whether --enable-printarch or --disable-printarch was given.
6732 if test "${enable_printarch+set}" = set; then
6733 enableval="$enable_printarch"
6734
6735 if test "$enableval" = yes; then
6736 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
6737 else
6738 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
6739 fi
6740
6741 else
6742
6743 LINE=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
6744 if test "x$LINE" != x ; then
6745 eval "DEFAULT_$LINE"
6746 else
6747 no_cache=1
6748 fi
6749
6750 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
6751
6752 fi;
6753
6754 eval "$ac_cv_use_printarch"
6755 if test "$no_cache" != 1; then
6756 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
6757 fi
6758
6759 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
6760 echo "$as_me:$LINENO: result: yes" >&5
6761 echo "${ECHO_T}yes" >&6
6762 else
6763 echo "$as_me:$LINENO: result: no" >&5
6764 echo "${ECHO_T}no" >&6
6765 fi
6766
6767
6768 enablestring=
6769 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
6770 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
6771 no_cache=0
6772 # Check whether --enable-mdi or --disable-mdi was given.
6773 if test "${enable_mdi+set}" = set; then
6774 enableval="$enable_mdi"
6775
6776 if test "$enableval" = yes; then
6777 ac_cv_use_mdi='wxUSE_MDI=yes'
6778 else
6779 ac_cv_use_mdi='wxUSE_MDI=no'
6780 fi
6781
6782 else
6783
6784 LINE=`grep "wxUSE_MDI" ${wx_arg_cache_file}`
6785 if test "x$LINE" != x ; then
6786 eval "DEFAULT_$LINE"
6787 else
6788 no_cache=1
6789 fi
6790
6791 ac_cv_use_mdi='wxUSE_MDI='$DEFAULT_wxUSE_MDI
6792
6793 fi;
6794
6795 eval "$ac_cv_use_mdi"
6796 if test "$no_cache" != 1; then
6797 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
6798 fi
6799
6800 if test "$wxUSE_MDI" = yes; then
6801 echo "$as_me:$LINENO: result: yes" >&5
6802 echo "${ECHO_T}yes" >&6
6803 else
6804 echo "$as_me:$LINENO: result: no" >&5
6805 echo "${ECHO_T}no" >&6
6806 fi
6807
6808
6809 enablestring=
6810 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
6811 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6
6812 no_cache=0
6813 # Check whether --enable-mdidoc or --disable-mdidoc was given.
6814 if test "${enable_mdidoc+set}" = set; then
6815 enableval="$enable_mdidoc"
6816
6817 if test "$enableval" = yes; then
6818 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
6819 else
6820 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
6821 fi
6822
6823 else
6824
6825 LINE=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
6826 if test "x$LINE" != x ; then
6827 eval "DEFAULT_$LINE"
6828 else
6829 no_cache=1
6830 fi
6831
6832 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
6833
6834 fi;
6835
6836 eval "$ac_cv_use_mdidoc"
6837 if test "$no_cache" != 1; then
6838 echo $ac_cv_use_mdidoc >> ${wx_arg_cache_file}.tmp
6839 fi
6840
6841 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
6842 echo "$as_me:$LINENO: result: yes" >&5
6843 echo "${ECHO_T}yes" >&6
6844 else
6845 echo "$as_me:$LINENO: result: no" >&5
6846 echo "${ECHO_T}no" >&6
6847 fi
6848
6849
6850 enablestring=
6851 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
6852 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
6853 no_cache=0
6854 # Check whether --enable-loggui or --disable-loggui was given.
6855 if test "${enable_loggui+set}" = set; then
6856 enableval="$enable_loggui"
6857
6858 if test "$enableval" = yes; then
6859 ac_cv_use_loggui='wxUSE_LOGGUI=yes'
6860 else
6861 ac_cv_use_loggui='wxUSE_LOGGUI=no'
6862 fi
6863
6864 else
6865
6866 LINE=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
6867 if test "x$LINE" != x ; then
6868 eval "DEFAULT_$LINE"
6869 else
6870 no_cache=1
6871 fi
6872
6873 ac_cv_use_loggui='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
6874
6875 fi;
6876
6877 eval "$ac_cv_use_loggui"
6878 if test "$no_cache" != 1; then
6879 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
6880 fi
6881
6882 if test "$wxUSE_LOGGUI" = yes; then
6883 echo "$as_me:$LINENO: result: yes" >&5
6884 echo "${ECHO_T}yes" >&6
6885 else
6886 echo "$as_me:$LINENO: result: no" >&5
6887 echo "${ECHO_T}no" >&6
6888 fi
6889
6890
6891 enablestring=
6892 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
6893 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
6894 no_cache=0
6895 # Check whether --enable-logwin or --disable-logwin was given.
6896 if test "${enable_logwin+set}" = set; then
6897 enableval="$enable_logwin"
6898
6899 if test "$enableval" = yes; then
6900 ac_cv_use_logwin='wxUSE_LOGWINDOW=yes'
6901 else
6902 ac_cv_use_logwin='wxUSE_LOGWINDOW=no'
6903 fi
6904
6905 else
6906
6907 LINE=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
6908 if test "x$LINE" != x ; then
6909 eval "DEFAULT_$LINE"
6910 else
6911 no_cache=1
6912 fi
6913
6914 ac_cv_use_logwin='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
6915
6916 fi;
6917
6918 eval "$ac_cv_use_logwin"
6919 if test "$no_cache" != 1; then
6920 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
6921 fi
6922
6923 if test "$wxUSE_LOGWINDOW" = yes; then
6924 echo "$as_me:$LINENO: result: yes" >&5
6925 echo "${ECHO_T}yes" >&6
6926 else
6927 echo "$as_me:$LINENO: result: no" >&5
6928 echo "${ECHO_T}no" >&6
6929 fi
6930
6931
6932 enablestring=
6933 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
6934 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6
6935 no_cache=0
6936 # Check whether --enable-logdialog or --disable-logdialog was given.
6937 if test "${enable_logdialog+set}" = set; then
6938 enableval="$enable_logdialog"
6939
6940 if test "$enableval" = yes; then
6941 ac_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
6942 else
6943 ac_cv_use_logdialog='wxUSE_LOGDIALOG=no'
6944 fi
6945
6946 else
6947
6948 LINE=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
6949 if test "x$LINE" != x ; then
6950 eval "DEFAULT_$LINE"
6951 else
6952 no_cache=1
6953 fi
6954
6955 ac_cv_use_logdialog='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
6956
6957 fi;
6958
6959 eval "$ac_cv_use_logdialog"
6960 if test "$no_cache" != 1; then
6961 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
6962 fi
6963
6964 if test "$wxUSE_LOGDIALOG" = yes; then
6965 echo "$as_me:$LINENO: result: yes" >&5
6966 echo "${ECHO_T}yes" >&6
6967 else
6968 echo "$as_me:$LINENO: result: no" >&5
6969 echo "${ECHO_T}no" >&6
6970 fi
6971
6972
6973 enablestring=
6974 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
6975 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6
6976 no_cache=0
6977 # Check whether --enable-webkit or --disable-webkit was given.
6978 if test "${enable_webkit+set}" = set; then
6979 enableval="$enable_webkit"
6980
6981 if test "$enableval" = yes; then
6982 ac_cv_use_webkit='wxUSE_WEBKIT=yes'
6983 else
6984 ac_cv_use_webkit='wxUSE_WEBKIT=no'
6985 fi
6986
6987 else
6988
6989 LINE=`grep "wxUSE_WEBKIT" ${wx_arg_cache_file}`
6990 if test "x$LINE" != x ; then
6991 eval "DEFAULT_$LINE"
6992 else
6993 no_cache=1
6994 fi
6995
6996 ac_cv_use_webkit='wxUSE_WEBKIT='$DEFAULT_wxUSE_WEBKIT
6997
6998 fi;
6999
7000 eval "$ac_cv_use_webkit"
7001 if test "$no_cache" != 1; then
7002 echo $ac_cv_use_webkit >> ${wx_arg_cache_file}.tmp
7003 fi
7004
7005 if test "$wxUSE_WEBKIT" = yes; then
7006 echo "$as_me:$LINENO: result: yes" >&5
7007 echo "${ECHO_T}yes" >&6
7008 else
7009 echo "$as_me:$LINENO: result: no" >&5
7010 echo "${ECHO_T}no" >&6
7011 fi
7012
7013
7014 enablestring=
7015 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
7016 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
7017 no_cache=0
7018 # Check whether --enable-html or --disable-html was given.
7019 if test "${enable_html+set}" = set; then
7020 enableval="$enable_html"
7021
7022 if test "$enableval" = yes; then
7023 ac_cv_use_html='wxUSE_RICHTEXT=yes'
7024 else
7025 ac_cv_use_html='wxUSE_RICHTEXT=no'
7026 fi
7027
7028 else
7029
7030 LINE=`grep "wxUSE_RICHTEXT" ${wx_arg_cache_file}`
7031 if test "x$LINE" != x ; then
7032 eval "DEFAULT_$LINE"
7033 else
7034 no_cache=1
7035 fi
7036
7037 ac_cv_use_html='wxUSE_RICHTEXT='$DEFAULT_wxUSE_RICHTEXT
7038
7039 fi;
7040
7041 eval "$ac_cv_use_html"
7042 if test "$no_cache" != 1; then
7043 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
7044 fi
7045
7046 if test "$wxUSE_RICHTEXT" = yes; then
7047 echo "$as_me:$LINENO: result: yes" >&5
7048 echo "${ECHO_T}yes" >&6
7049 else
7050 echo "$as_me:$LINENO: result: no" >&5
7051 echo "${ECHO_T}no" >&6
7052 fi
7053
7054
7055
7056 enablestring=
7057 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
7058 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
7059 no_cache=0
7060 # Check whether --enable-postscript or --disable-postscript was given.
7061 if test "${enable_postscript+set}" = set; then
7062 enableval="$enable_postscript"
7063
7064 if test "$enableval" = yes; then
7065 ac_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
7066 else
7067 ac_cv_use_postscript='wxUSE_POSTSCRIPT=no'
7068 fi
7069
7070 else
7071
7072 LINE=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
7073 if test "x$LINE" != x ; then
7074 eval "DEFAULT_$LINE"
7075 else
7076 no_cache=1
7077 fi
7078
7079 ac_cv_use_postscript='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
7080
7081 fi;
7082
7083 eval "$ac_cv_use_postscript"
7084 if test "$no_cache" != 1; then
7085 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
7086 fi
7087
7088 if test "$wxUSE_POSTSCRIPT" = yes; then
7089 echo "$as_me:$LINENO: result: yes" >&5
7090 echo "${ECHO_T}yes" >&6
7091 else
7092 echo "$as_me:$LINENO: result: no" >&5
7093 echo "${ECHO_T}no" >&6
7094 fi
7095
7096
7097
7098
7099
7100 enablestring=
7101 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
7102 echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6
7103 no_cache=0
7104 # Check whether --enable-prologio or --disable-prologio was given.
7105 if test "${enable_prologio+set}" = set; then
7106 enableval="$enable_prologio"
7107
7108 if test "$enableval" = yes; then
7109 ac_cv_use_prologio='wxUSE_PROLOGIO=yes'
7110 else
7111 ac_cv_use_prologio='wxUSE_PROLOGIO=no'
7112 fi
7113
7114 else
7115
7116 LINE=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
7117 if test "x$LINE" != x ; then
7118 eval "DEFAULT_$LINE"
7119 else
7120 no_cache=1
7121 fi
7122
7123 ac_cv_use_prologio='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
7124
7125 fi;
7126
7127 eval "$ac_cv_use_prologio"
7128 if test "$no_cache" != 1; then
7129 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
7130 fi
7131
7132 if test "$wxUSE_PROLOGIO" = yes; then
7133 echo "$as_me:$LINENO: result: yes" >&5
7134 echo "${ECHO_T}yes" >&6
7135 else
7136 echo "$as_me:$LINENO: result: no" >&5
7137 echo "${ECHO_T}no" >&6
7138 fi
7139
7140
7141 enablestring=
7142 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5
7143 echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6
7144 no_cache=0
7145 # Check whether --enable-resources or --disable-resources was given.
7146 if test "${enable_resources+set}" = set; then
7147 enableval="$enable_resources"
7148
7149 if test "$enableval" = yes; then
7150 ac_cv_use_resources='wxUSE_RESOURCES=yes'
7151 else
7152 ac_cv_use_resources='wxUSE_RESOURCES=no'
7153 fi
7154
7155 else
7156
7157 LINE=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
7158 if test "x$LINE" != x ; then
7159 eval "DEFAULT_$LINE"
7160 else
7161 no_cache=1
7162 fi
7163
7164 ac_cv_use_resources='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
7165
7166 fi;
7167
7168 eval "$ac_cv_use_resources"
7169 if test "$no_cache" != 1; then
7170 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
7171 fi
7172
7173 if test "$wxUSE_RESOURCES" = yes; then
7174 echo "$as_me:$LINENO: result: yes" >&5
7175 echo "${ECHO_T}yes" >&6
7176 else
7177 echo "$as_me:$LINENO: result: no" >&5
7178 echo "${ECHO_T}no" >&6
7179 fi
7180
7181
7182
7183
7184 enablestring=
7185 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
7186 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6
7187 no_cache=0
7188 # Check whether --enable-clipboard or --disable-clipboard was given.
7189 if test "${enable_clipboard+set}" = set; then
7190 enableval="$enable_clipboard"
7191
7192 if test "$enableval" = yes; then
7193 ac_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
7194 else
7195 ac_cv_use_clipboard='wxUSE_CLIPBOARD=no'
7196 fi
7197
7198 else
7199
7200 LINE=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
7201 if test "x$LINE" != x ; then
7202 eval "DEFAULT_$LINE"
7203 else
7204 no_cache=1
7205 fi
7206
7207 ac_cv_use_clipboard='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
7208
7209 fi;
7210
7211 eval "$ac_cv_use_clipboard"
7212 if test "$no_cache" != 1; then
7213 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
7214 fi
7215
7216 if test "$wxUSE_CLIPBOARD" = yes; then
7217 echo "$as_me:$LINENO: result: yes" >&5
7218 echo "${ECHO_T}yes" >&6
7219 else
7220 echo "$as_me:$LINENO: result: no" >&5
7221 echo "${ECHO_T}no" >&6
7222 fi
7223
7224
7225 enablestring=
7226 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
7227 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
7228 no_cache=0
7229 # Check whether --enable-dnd or --disable-dnd was given.
7230 if test "${enable_dnd+set}" = set; then
7231 enableval="$enable_dnd"
7232
7233 if test "$enableval" = yes; then
7234 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
7235 else
7236 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
7237 fi
7238
7239 else
7240
7241 LINE=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
7242 if test "x$LINE" != x ; then
7243 eval "DEFAULT_$LINE"
7244 else
7245 no_cache=1
7246 fi
7247
7248 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
7249
7250 fi;
7251
7252 eval "$ac_cv_use_dnd"
7253 if test "$no_cache" != 1; then
7254 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
7255 fi
7256
7257 if test "$wxUSE_DRAG_AND_DROP" = yes; then
7258 echo "$as_me:$LINENO: result: yes" >&5
7259 echo "${ECHO_T}yes" >&6
7260 else
7261 echo "$as_me:$LINENO: result: no" >&5
7262 echo "${ECHO_T}no" >&6
7263 fi
7264
7265
7266 enablestring=
7267 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
7268 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
7269 no_cache=0
7270 # Check whether --enable-metafile or --disable-metafile was given.
7271 if test "${enable_metafile+set}" = set; then
7272 enableval="$enable_metafile"
7273
7274 if test "$enableval" = yes; then
7275 ac_cv_use_metafile='wxUSE_METAFILE=yes'
7276 else
7277 ac_cv_use_metafile='wxUSE_METAFILE=no'
7278 fi
7279
7280 else
7281
7282 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
7283 if test "x$LINE" != x ; then
7284 eval "DEFAULT_$LINE"
7285 else
7286 no_cache=1
7287 fi
7288
7289 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
7290
7291 fi;
7292
7293 eval "$ac_cv_use_metafile"
7294 if test "$no_cache" != 1; then
7295 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
7296 fi
7297
7298 if test "$wxUSE_METAFILE" = yes; then
7299 echo "$as_me:$LINENO: result: yes" >&5
7300 echo "${ECHO_T}yes" >&6
7301 else
7302 echo "$as_me:$LINENO: result: no" >&5
7303 echo "${ECHO_T}no" >&6
7304 fi
7305
7306
7307
7308
7309
7310 enablestring=
7311 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
7312 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6
7313 no_cache=0
7314 # Check whether --enable-controls or --disable-controls was given.
7315 if test "${enable_controls+set}" = set; then
7316 enableval="$enable_controls"
7317
7318 if test "$enableval" = yes; then
7319 ac_cv_use_controls='wxUSE_CONTROLS=yes'
7320 else
7321 ac_cv_use_controls='wxUSE_CONTROLS=no'
7322 fi
7323
7324 else
7325
7326 LINE=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
7327 if test "x$LINE" != x ; then
7328 eval "DEFAULT_$LINE"
7329 else
7330 no_cache=1
7331 fi
7332
7333 ac_cv_use_controls='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
7334
7335 fi;
7336
7337 eval "$ac_cv_use_controls"
7338 if test "$no_cache" != 1; then
7339 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
7340 fi
7341
7342 if test "$wxUSE_CONTROLS" = yes; then
7343 echo "$as_me:$LINENO: result: yes" >&5
7344 echo "${ECHO_T}yes" >&6
7345 else
7346 echo "$as_me:$LINENO: result: no" >&5
7347 echo "${ECHO_T}no" >&6
7348 fi
7349
7350
7351 if test "$wxUSE_CONTROLS" = "yes"; then
7352 DEFAULT_wxUSE_ACCEL=yes
7353 DEFAULT_wxUSE_BMPBUTTON=yes
7354 DEFAULT_wxUSE_BUTTON=yes
7355 DEFAULT_wxUSE_CALCTRL=yes
7356 DEFAULT_wxUSE_CARET=yes
7357 DEFAULT_wxUSE_COMBOBOX=yes
7358 DEFAULT_wxUSE_CHECKBOX=yes
7359 DEFAULT_wxUSE_CHECKLISTBOX=yes
7360 DEFAULT_wxUSE_CHOICE=yes
7361 DEFAULT_wxUSE_CHOICEBOOK=yes
7362 DEFAULT_wxUSE_DATEPICKCTRL=yes
7363 DEFAULT_wxUSE_GAUGE=yes
7364 DEFAULT_wxUSE_GRID=yes
7365 DEFAULT_wxUSE_IMAGLIST=yes
7366 DEFAULT_wxUSE_LISTBOOK=yes
7367 DEFAULT_wxUSE_LISTBOX=yes
7368 DEFAULT_wxUSE_LISTCTRL=yes
7369 DEFAULT_wxUSE_NOTEBOOK=yes
7370 DEFAULT_wxUSE_RADIOBOX=yes
7371 DEFAULT_wxUSE_RADIOBTN=yes
7372 DEFAULT_wxUSE_SASH=yes
7373 DEFAULT_wxUSE_SCROLLBAR=yes
7374 DEFAULT_wxUSE_SLIDER=yes
7375 DEFAULT_wxUSE_SPINBTN=yes
7376 DEFAULT_wxUSE_SPINCTRL=yes
7377 DEFAULT_wxUSE_SPLITTER=yes
7378 DEFAULT_wxUSE_STATBMP=yes
7379 DEFAULT_wxUSE_STATBOX=yes
7380 DEFAULT_wxUSE_STATLINE=yes
7381 DEFAULT_wxUSE_STATUSBAR=yes
7382 DEFAULT_wxUSE_TAB_DIALOG=yes
7383 DEFAULT_wxUSE_TOGGLEBTN=yes
7384 DEFAULT_wxUSE_TOOLBAR=yes
7385 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
7386 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
7387 DEFAULT_wxUSE_TOOLTIPS=yes
7388 DEFAULT_wxUSE_TREEBOOK=yes
7389 DEFAULT_wxUSE_TREECTRL=yes
7390 DEFAULT_wxUSE_POPUPWIN=yes
7391 DEFAULT_wxUSE_TIPWINDOW=yes
7392 elif test "$wxUSE_CONTROLS" = "no"; then
7393 DEFAULT_wxUSE_ACCEL=no
7394 DEFAULT_wxUSE_BMPBUTTON=no
7395 DEFAULT_wxUSE_BUTTON=no
7396 DEFAULT_wxUSE_CALCTRL=no
7397 DEFAULT_wxUSE_CARET=no
7398 DEFAULT_wxUSE_COMBOBOX=no
7399 DEFAULT_wxUSE_CHECKBOX=no
7400 DEFAULT_wxUSE_CHECKLISTBOX=no
7401 DEFAULT_wxUSE_CHOICE=no
7402 DEFAULT_wxUSE_CHOICEBOOK=no
7403 DEFAULT_wxUSE_DATEPICKCTRL=no
7404 DEFAULT_wxUSE_GAUGE=no
7405 DEFAULT_wxUSE_GRID=no
7406 DEFAULT_wxUSE_IMAGLIST=no
7407 DEFAULT_wxUSE_LISTBOOK=no
7408 DEFAULT_wxUSE_LISTBOX=no
7409 DEFAULT_wxUSE_LISTCTRL=no
7410 DEFAULT_wxUSE_NOTEBOOK=no
7411 DEFAULT_wxUSE_RADIOBOX=no
7412 DEFAULT_wxUSE_RADIOBTN=no
7413 DEFAULT_wxUSE_SASH=no
7414 DEFAULT_wxUSE_SCROLLBAR=no
7415 DEFAULT_wxUSE_SLIDER=no
7416 DEFAULT_wxUSE_SPINBTN=no
7417 DEFAULT_wxUSE_SPINCTRL=no
7418 DEFAULT_wxUSE_SPLITTER=no
7419 DEFAULT_wxUSE_STATBMP=no
7420 DEFAULT_wxUSE_STATBOX=no
7421 DEFAULT_wxUSE_STATLINE=no
7422 DEFAULT_wxUSE_STATUSBAR=no
7423 DEFAULT_wxUSE_TAB_DIALOG=no
7424 DEFAULT_wxUSE_TOGGLEBTN=no
7425 DEFAULT_wxUSE_TOOLBAR=no
7426 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
7427 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
7428 DEFAULT_wxUSE_TOOLTIPS=no
7429 DEFAULT_wxUSE_TREEBOOK=no
7430 DEFAULT_wxUSE_TREECTRL=no
7431 DEFAULT_wxUSE_POPUPWIN=no
7432 DEFAULT_wxUSE_TIPWINDOW=no
7433 fi
7434
7435
7436 enablestring=
7437 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
7438 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
7439 no_cache=0
7440 # Check whether --enable-accel or --disable-accel was given.
7441 if test "${enable_accel+set}" = set; then
7442 enableval="$enable_accel"
7443
7444 if test "$enableval" = yes; then
7445 ac_cv_use_accel='wxUSE_ACCEL=yes'
7446 else
7447 ac_cv_use_accel='wxUSE_ACCEL=no'
7448 fi
7449
7450 else
7451
7452 LINE=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
7453 if test "x$LINE" != x ; then
7454 eval "DEFAULT_$LINE"
7455 else
7456 no_cache=1
7457 fi
7458
7459 ac_cv_use_accel='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
7460
7461 fi;
7462
7463 eval "$ac_cv_use_accel"
7464 if test "$no_cache" != 1; then
7465 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
7466 fi
7467
7468 if test "$wxUSE_ACCEL" = yes; then
7469 echo "$as_me:$LINENO: result: yes" >&5
7470 echo "${ECHO_T}yes" >&6
7471 else
7472 echo "$as_me:$LINENO: result: no" >&5
7473 echo "${ECHO_T}no" >&6
7474 fi
7475
7476
7477 enablestring=
7478 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
7479 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
7480 no_cache=0
7481 # Check whether --enable-button or --disable-button was given.
7482 if test "${enable_button+set}" = set; then
7483 enableval="$enable_button"
7484
7485 if test "$enableval" = yes; then
7486 ac_cv_use_button='wxUSE_BUTTON=yes'
7487 else
7488 ac_cv_use_button='wxUSE_BUTTON=no'
7489 fi
7490
7491 else
7492
7493 LINE=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
7494 if test "x$LINE" != x ; then
7495 eval "DEFAULT_$LINE"
7496 else
7497 no_cache=1
7498 fi
7499
7500 ac_cv_use_button='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
7501
7502 fi;
7503
7504 eval "$ac_cv_use_button"
7505 if test "$no_cache" != 1; then
7506 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
7507 fi
7508
7509 if test "$wxUSE_BUTTON" = yes; then
7510 echo "$as_me:$LINENO: result: yes" >&5
7511 echo "${ECHO_T}yes" >&6
7512 else
7513 echo "$as_me:$LINENO: result: no" >&5
7514 echo "${ECHO_T}no" >&6
7515 fi
7516
7517
7518 enablestring=
7519 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
7520 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
7521 no_cache=0
7522 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
7523 if test "${enable_bmpbutton+set}" = set; then
7524 enableval="$enable_bmpbutton"
7525
7526 if test "$enableval" = yes; then
7527 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
7528 else
7529 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
7530 fi
7531
7532 else
7533
7534 LINE=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
7535 if test "x$LINE" != x ; then
7536 eval "DEFAULT_$LINE"
7537 else
7538 no_cache=1
7539 fi
7540
7541 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
7542
7543 fi;
7544
7545 eval "$ac_cv_use_bmpbutton"
7546 if test "$no_cache" != 1; then
7547 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
7548 fi
7549
7550 if test "$wxUSE_BMPBUTTON" = yes; then
7551 echo "$as_me:$LINENO: result: yes" >&5
7552 echo "${ECHO_T}yes" >&6
7553 else
7554 echo "$as_me:$LINENO: result: no" >&5
7555 echo "${ECHO_T}no" >&6
7556 fi
7557
7558
7559 enablestring=
7560 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
7561 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
7562 no_cache=0
7563 # Check whether --enable-calendar or --disable-calendar was given.
7564 if test "${enable_calendar+set}" = set; then
7565 enableval="$enable_calendar"
7566
7567 if test "$enableval" = yes; then
7568 ac_cv_use_calendar='wxUSE_CALCTRL=yes'
7569 else
7570 ac_cv_use_calendar='wxUSE_CALCTRL=no'
7571 fi
7572
7573 else
7574
7575 LINE=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
7576 if test "x$LINE" != x ; then
7577 eval "DEFAULT_$LINE"
7578 else
7579 no_cache=1
7580 fi
7581
7582 ac_cv_use_calendar='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
7583
7584 fi;
7585
7586 eval "$ac_cv_use_calendar"
7587 if test "$no_cache" != 1; then
7588 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
7589 fi
7590
7591 if test "$wxUSE_CALCTRL" = yes; then
7592 echo "$as_me:$LINENO: result: yes" >&5
7593 echo "${ECHO_T}yes" >&6
7594 else
7595 echo "$as_me:$LINENO: result: no" >&5
7596 echo "${ECHO_T}no" >&6
7597 fi
7598
7599
7600 enablestring=
7601 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
7602 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
7603 no_cache=0
7604 # Check whether --enable-caret or --disable-caret was given.
7605 if test "${enable_caret+set}" = set; then
7606 enableval="$enable_caret"
7607
7608 if test "$enableval" = yes; then
7609 ac_cv_use_caret='wxUSE_CARET=yes'
7610 else
7611 ac_cv_use_caret='wxUSE_CARET=no'
7612 fi
7613
7614 else
7615
7616 LINE=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
7617 if test "x$LINE" != x ; then
7618 eval "DEFAULT_$LINE"
7619 else
7620 no_cache=1
7621 fi
7622
7623 ac_cv_use_caret='wxUSE_CARET='$DEFAULT_wxUSE_CARET
7624
7625 fi;
7626
7627 eval "$ac_cv_use_caret"
7628 if test "$no_cache" != 1; then
7629 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
7630 fi
7631
7632 if test "$wxUSE_CARET" = yes; then
7633 echo "$as_me:$LINENO: result: yes" >&5
7634 echo "${ECHO_T}yes" >&6
7635 else
7636 echo "$as_me:$LINENO: result: no" >&5
7637 echo "${ECHO_T}no" >&6
7638 fi
7639
7640
7641 enablestring=
7642 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
7643 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
7644 no_cache=0
7645 # Check whether --enable-checkbox or --disable-checkbox was given.
7646 if test "${enable_checkbox+set}" = set; then
7647 enableval="$enable_checkbox"
7648
7649 if test "$enableval" = yes; then
7650 ac_cv_use_checkbox='wxUSE_CHECKBOX=yes'
7651 else
7652 ac_cv_use_checkbox='wxUSE_CHECKBOX=no'
7653 fi
7654
7655 else
7656
7657 LINE=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
7658 if test "x$LINE" != x ; then
7659 eval "DEFAULT_$LINE"
7660 else
7661 no_cache=1
7662 fi
7663
7664 ac_cv_use_checkbox='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
7665
7666 fi;
7667
7668 eval "$ac_cv_use_checkbox"
7669 if test "$no_cache" != 1; then
7670 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
7671 fi
7672
7673 if test "$wxUSE_CHECKBOX" = yes; then
7674 echo "$as_me:$LINENO: result: yes" >&5
7675 echo "${ECHO_T}yes" >&6
7676 else
7677 echo "$as_me:$LINENO: result: no" >&5
7678 echo "${ECHO_T}no" >&6
7679 fi
7680
7681
7682 enablestring=
7683 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
7684 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
7685 no_cache=0
7686 # Check whether --enable-checklst or --disable-checklst was given.
7687 if test "${enable_checklst+set}" = set; then
7688 enableval="$enable_checklst"
7689
7690 if test "$enableval" = yes; then
7691 ac_cv_use_checklst='wxUSE_CHECKLST=yes'
7692 else
7693 ac_cv_use_checklst='wxUSE_CHECKLST=no'
7694 fi
7695
7696 else
7697
7698 LINE=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
7699 if test "x$LINE" != x ; then
7700 eval "DEFAULT_$LINE"
7701 else
7702 no_cache=1
7703 fi
7704
7705 ac_cv_use_checklst='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
7706
7707 fi;
7708
7709 eval "$ac_cv_use_checklst"
7710 if test "$no_cache" != 1; then
7711 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
7712 fi
7713
7714 if test "$wxUSE_CHECKLST" = yes; then
7715 echo "$as_me:$LINENO: result: yes" >&5
7716 echo "${ECHO_T}yes" >&6
7717 else
7718 echo "$as_me:$LINENO: result: no" >&5
7719 echo "${ECHO_T}no" >&6
7720 fi
7721
7722
7723 enablestring=
7724 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
7725 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
7726 no_cache=0
7727 # Check whether --enable-choice or --disable-choice was given.
7728 if test "${enable_choice+set}" = set; then
7729 enableval="$enable_choice"
7730
7731 if test "$enableval" = yes; then
7732 ac_cv_use_choice='wxUSE_CHOICE=yes'
7733 else
7734 ac_cv_use_choice='wxUSE_CHOICE=no'
7735 fi
7736
7737 else
7738
7739 LINE=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
7740 if test "x$LINE" != x ; then
7741 eval "DEFAULT_$LINE"
7742 else
7743 no_cache=1
7744 fi
7745
7746 ac_cv_use_choice='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
7747
7748 fi;
7749
7750 eval "$ac_cv_use_choice"
7751 if test "$no_cache" != 1; then
7752 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
7753 fi
7754
7755 if test "$wxUSE_CHOICE" = yes; then
7756 echo "$as_me:$LINENO: result: yes" >&5
7757 echo "${ECHO_T}yes" >&6
7758 else
7759 echo "$as_me:$LINENO: result: no" >&5
7760 echo "${ECHO_T}no" >&6
7761 fi
7762
7763
7764 enablestring=
7765 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
7766 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6
7767 no_cache=0
7768 # Check whether --enable-choicebook or --disable-choicebook was given.
7769 if test "${enable_choicebook+set}" = set; then
7770 enableval="$enable_choicebook"
7771
7772 if test "$enableval" = yes; then
7773 ac_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
7774 else
7775 ac_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
7776 fi
7777
7778 else
7779
7780 LINE=`grep "wxUSE_CHOICEBOOK" ${wx_arg_cache_file}`
7781 if test "x$LINE" != x ; then
7782 eval "DEFAULT_$LINE"
7783 else
7784 no_cache=1
7785 fi
7786
7787 ac_cv_use_choicebook='wxUSE_CHOICEBOOK='$DEFAULT_wxUSE_CHOICEBOOK
7788
7789 fi;
7790
7791 eval "$ac_cv_use_choicebook"
7792 if test "$no_cache" != 1; then
7793 echo $ac_cv_use_choicebook >> ${wx_arg_cache_file}.tmp
7794 fi
7795
7796 if test "$wxUSE_CHOICEBOOK" = yes; then
7797 echo "$as_me:$LINENO: result: yes" >&5
7798 echo "${ECHO_T}yes" >&6
7799 else
7800 echo "$as_me:$LINENO: result: no" >&5
7801 echo "${ECHO_T}no" >&6
7802 fi
7803
7804
7805 enablestring=
7806 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
7807 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
7808 no_cache=0
7809 # Check whether --enable-combobox or --disable-combobox was given.
7810 if test "${enable_combobox+set}" = set; then
7811 enableval="$enable_combobox"
7812
7813 if test "$enableval" = yes; then
7814 ac_cv_use_combobox='wxUSE_COMBOBOX=yes'
7815 else
7816 ac_cv_use_combobox='wxUSE_COMBOBOX=no'
7817 fi
7818
7819 else
7820
7821 LINE=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
7822 if test "x$LINE" != x ; then
7823 eval "DEFAULT_$LINE"
7824 else
7825 no_cache=1
7826 fi
7827
7828 ac_cv_use_combobox='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
7829
7830 fi;
7831
7832 eval "$ac_cv_use_combobox"
7833 if test "$no_cache" != 1; then
7834 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
7835 fi
7836
7837 if test "$wxUSE_COMBOBOX" = yes; then
7838 echo "$as_me:$LINENO: result: yes" >&5
7839 echo "${ECHO_T}yes" >&6
7840 else
7841 echo "$as_me:$LINENO: result: no" >&5
7842 echo "${ECHO_T}no" >&6
7843 fi
7844
7845
7846 enablestring=
7847 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
7848 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6
7849 no_cache=0
7850 # Check whether --enable-datepick or --disable-datepick was given.
7851 if test "${enable_datepick+set}" = set; then
7852 enableval="$enable_datepick"
7853
7854 if test "$enableval" = yes; then
7855 ac_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
7856 else
7857 ac_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
7858 fi
7859
7860 else
7861
7862 LINE=`grep "wxUSE_DATEPICKCTRL" ${wx_arg_cache_file}`
7863 if test "x$LINE" != x ; then
7864 eval "DEFAULT_$LINE"
7865 else
7866 no_cache=1
7867 fi
7868
7869 ac_cv_use_datepick='wxUSE_DATEPICKCTRL='$DEFAULT_wxUSE_DATEPICKCTRL
7870
7871 fi;
7872
7873 eval "$ac_cv_use_datepick"
7874 if test "$no_cache" != 1; then
7875 echo $ac_cv_use_datepick >> ${wx_arg_cache_file}.tmp
7876 fi
7877
7878 if test "$wxUSE_DATEPICKCTRL" = yes; then
7879 echo "$as_me:$LINENO: result: yes" >&5
7880 echo "${ECHO_T}yes" >&6
7881 else
7882 echo "$as_me:$LINENO: result: no" >&5
7883 echo "${ECHO_T}no" >&6
7884 fi
7885
7886
7887 enablestring=
7888 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
7889 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
7890 no_cache=0
7891 # Check whether --enable-display or --disable-display was given.
7892 if test "${enable_display+set}" = set; then
7893 enableval="$enable_display"
7894
7895 if test "$enableval" = yes; then
7896 ac_cv_use_display='wxUSE_DISPLAY=yes'
7897 else
7898 ac_cv_use_display='wxUSE_DISPLAY=no'
7899 fi
7900
7901 else
7902
7903 LINE=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
7904 if test "x$LINE" != x ; then
7905 eval "DEFAULT_$LINE"
7906 else
7907 no_cache=1
7908 fi
7909
7910 ac_cv_use_display='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
7911
7912 fi;
7913
7914 eval "$ac_cv_use_display"
7915 if test "$no_cache" != 1; then
7916 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
7917 fi
7918
7919 if test "$wxUSE_DISPLAY" = yes; then
7920 echo "$as_me:$LINENO: result: yes" >&5
7921 echo "${ECHO_T}yes" >&6
7922 else
7923 echo "$as_me:$LINENO: result: no" >&5
7924 echo "${ECHO_T}no" >&6
7925 fi
7926
7927
7928 enablestring=
7929 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
7930 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
7931 no_cache=0
7932 # Check whether --enable-gauge or --disable-gauge was given.
7933 if test "${enable_gauge+set}" = set; then
7934 enableval="$enable_gauge"
7935
7936 if test "$enableval" = yes; then
7937 ac_cv_use_gauge='wxUSE_GAUGE=yes'
7938 else
7939 ac_cv_use_gauge='wxUSE_GAUGE=no'
7940 fi
7941
7942 else
7943
7944 LINE=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
7945 if test "x$LINE" != x ; then
7946 eval "DEFAULT_$LINE"
7947 else
7948 no_cache=1
7949 fi
7950
7951 ac_cv_use_gauge='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
7952
7953 fi;
7954
7955 eval "$ac_cv_use_gauge"
7956 if test "$no_cache" != 1; then
7957 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
7958 fi
7959
7960 if test "$wxUSE_GAUGE" = yes; then
7961 echo "$as_me:$LINENO: result: yes" >&5
7962 echo "${ECHO_T}yes" >&6
7963 else
7964 echo "$as_me:$LINENO: result: no" >&5
7965 echo "${ECHO_T}no" >&6
7966 fi
7967
7968
7969 enablestring=
7970 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
7971 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
7972 no_cache=0
7973 # Check whether --enable-grid or --disable-grid was given.
7974 if test "${enable_grid+set}" = set; then
7975 enableval="$enable_grid"
7976
7977 if test "$enableval" = yes; then
7978 ac_cv_use_grid='wxUSE_GRID=yes'
7979 else
7980 ac_cv_use_grid='wxUSE_GRID=no'
7981 fi
7982
7983 else
7984
7985 LINE=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
7986 if test "x$LINE" != x ; then
7987 eval "DEFAULT_$LINE"
7988 else
7989 no_cache=1
7990 fi
7991
7992 ac_cv_use_grid='wxUSE_GRID='$DEFAULT_wxUSE_GRID
7993
7994 fi;
7995
7996 eval "$ac_cv_use_grid"
7997 if test "$no_cache" != 1; then
7998 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
7999 fi
8000
8001 if test "$wxUSE_GRID" = yes; then
8002 echo "$as_me:$LINENO: result: yes" >&5
8003 echo "${ECHO_T}yes" >&6
8004 else
8005 echo "$as_me:$LINENO: result: no" >&5
8006 echo "${ECHO_T}no" >&6
8007 fi
8008
8009
8010 enablestring=
8011 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
8012 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
8013 no_cache=0
8014 # Check whether --enable-imaglist or --disable-imaglist was given.
8015 if test "${enable_imaglist+set}" = set; then
8016 enableval="$enable_imaglist"
8017
8018 if test "$enableval" = yes; then
8019 ac_cv_use_imaglist='wxUSE_IMAGLIST=yes'
8020 else
8021 ac_cv_use_imaglist='wxUSE_IMAGLIST=no'
8022 fi
8023
8024 else
8025
8026 LINE=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
8027 if test "x$LINE" != x ; then
8028 eval "DEFAULT_$LINE"
8029 else
8030 no_cache=1
8031 fi
8032
8033 ac_cv_use_imaglist='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
8034
8035 fi;
8036
8037 eval "$ac_cv_use_imaglist"
8038 if test "$no_cache" != 1; then
8039 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
8040 fi
8041
8042 if test "$wxUSE_IMAGLIST" = yes; then
8043 echo "$as_me:$LINENO: result: yes" >&5
8044 echo "${ECHO_T}yes" >&6
8045 else
8046 echo "$as_me:$LINENO: result: no" >&5
8047 echo "${ECHO_T}no" >&6
8048 fi
8049
8050
8051 enablestring=
8052 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
8053 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6
8054 no_cache=0
8055 # Check whether --enable-listbook or --disable-listbook was given.
8056 if test "${enable_listbook+set}" = set; then
8057 enableval="$enable_listbook"
8058
8059 if test "$enableval" = yes; then
8060 ac_cv_use_listbook='wxUSE_LISTBOOK=yes'
8061 else
8062 ac_cv_use_listbook='wxUSE_LISTBOOK=no'
8063 fi
8064
8065 else
8066
8067 LINE=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}`
8068 if test "x$LINE" != x ; then
8069 eval "DEFAULT_$LINE"
8070 else
8071 no_cache=1
8072 fi
8073
8074 ac_cv_use_listbook='wxUSE_LISTBOOK='$DEFAULT_wxUSE_LISTBOOK
8075
8076 fi;
8077
8078 eval "$ac_cv_use_listbook"
8079 if test "$no_cache" != 1; then
8080 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
8081 fi
8082
8083 if test "$wxUSE_LISTBOOK" = yes; then
8084 echo "$as_me:$LINENO: result: yes" >&5
8085 echo "${ECHO_T}yes" >&6
8086 else
8087 echo "$as_me:$LINENO: result: no" >&5
8088 echo "${ECHO_T}no" >&6
8089 fi
8090
8091
8092 enablestring=
8093 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
8094 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
8095 no_cache=0
8096 # Check whether --enable-listbox or --disable-listbox was given.
8097 if test "${enable_listbox+set}" = set; then
8098 enableval="$enable_listbox"
8099
8100 if test "$enableval" = yes; then
8101 ac_cv_use_listbox='wxUSE_LISTBOX=yes'
8102 else
8103 ac_cv_use_listbox='wxUSE_LISTBOX=no'
8104 fi
8105
8106 else
8107
8108 LINE=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
8109 if test "x$LINE" != x ; then
8110 eval "DEFAULT_$LINE"
8111 else
8112 no_cache=1
8113 fi
8114
8115 ac_cv_use_listbox='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
8116
8117 fi;
8118
8119 eval "$ac_cv_use_listbox"
8120 if test "$no_cache" != 1; then
8121 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
8122 fi
8123
8124 if test "$wxUSE_LISTBOX" = yes; then
8125 echo "$as_me:$LINENO: result: yes" >&5
8126 echo "${ECHO_T}yes" >&6
8127 else
8128 echo "$as_me:$LINENO: result: no" >&5
8129 echo "${ECHO_T}no" >&6
8130 fi
8131
8132
8133 enablestring=
8134 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
8135 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
8136 no_cache=0
8137 # Check whether --enable-listctrl or --disable-listctrl was given.
8138 if test "${enable_listctrl+set}" = set; then
8139 enableval="$enable_listctrl"
8140
8141 if test "$enableval" = yes; then
8142 ac_cv_use_listctrl='wxUSE_LISTCTRL=yes'
8143 else
8144 ac_cv_use_listctrl='wxUSE_LISTCTRL=no'
8145 fi
8146
8147 else
8148
8149 LINE=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
8150 if test "x$LINE" != x ; then
8151 eval "DEFAULT_$LINE"
8152 else
8153 no_cache=1
8154 fi
8155
8156 ac_cv_use_listctrl='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
8157
8158 fi;
8159
8160 eval "$ac_cv_use_listctrl"
8161 if test "$no_cache" != 1; then
8162 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
8163 fi
8164
8165 if test "$wxUSE_LISTCTRL" = yes; then
8166 echo "$as_me:$LINENO: result: yes" >&5
8167 echo "${ECHO_T}yes" >&6
8168 else
8169 echo "$as_me:$LINENO: result: no" >&5
8170 echo "${ECHO_T}no" >&6
8171 fi
8172
8173
8174 enablestring=
8175 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
8176 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
8177 no_cache=0
8178 # Check whether --enable-notebook or --disable-notebook was given.
8179 if test "${enable_notebook+set}" = set; then
8180 enableval="$enable_notebook"
8181
8182 if test "$enableval" = yes; then
8183 ac_cv_use_notebook='wxUSE_NOTEBOOK=yes'
8184 else
8185 ac_cv_use_notebook='wxUSE_NOTEBOOK=no'
8186 fi
8187
8188 else
8189
8190 LINE=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
8191 if test "x$LINE" != x ; then
8192 eval "DEFAULT_$LINE"
8193 else
8194 no_cache=1
8195 fi
8196
8197 ac_cv_use_notebook='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
8198
8199 fi;
8200
8201 eval "$ac_cv_use_notebook"
8202 if test "$no_cache" != 1; then
8203 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
8204 fi
8205
8206 if test "$wxUSE_NOTEBOOK" = yes; then
8207 echo "$as_me:$LINENO: result: yes" >&5
8208 echo "${ECHO_T}yes" >&6
8209 else
8210 echo "$as_me:$LINENO: result: no" >&5
8211 echo "${ECHO_T}no" >&6
8212 fi
8213
8214
8215 enablestring=
8216 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
8217 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
8218 no_cache=0
8219 # Check whether --enable-radiobox or --disable-radiobox was given.
8220 if test "${enable_radiobox+set}" = set; then
8221 enableval="$enable_radiobox"
8222
8223 if test "$enableval" = yes; then
8224 ac_cv_use_radiobox='wxUSE_RADIOBOX=yes'
8225 else
8226 ac_cv_use_radiobox='wxUSE_RADIOBOX=no'
8227 fi
8228
8229 else
8230
8231 LINE=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
8232 if test "x$LINE" != x ; then
8233 eval "DEFAULT_$LINE"
8234 else
8235 no_cache=1
8236 fi
8237
8238 ac_cv_use_radiobox='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
8239
8240 fi;
8241
8242 eval "$ac_cv_use_radiobox"
8243 if test "$no_cache" != 1; then
8244 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
8245 fi
8246
8247 if test "$wxUSE_RADIOBOX" = yes; then
8248 echo "$as_me:$LINENO: result: yes" >&5
8249 echo "${ECHO_T}yes" >&6
8250 else
8251 echo "$as_me:$LINENO: result: no" >&5
8252 echo "${ECHO_T}no" >&6
8253 fi
8254
8255
8256 enablestring=
8257 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
8258 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
8259 no_cache=0
8260 # Check whether --enable-radiobtn or --disable-radiobtn was given.
8261 if test "${enable_radiobtn+set}" = set; then
8262 enableval="$enable_radiobtn"
8263
8264 if test "$enableval" = yes; then
8265 ac_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
8266 else
8267 ac_cv_use_radiobtn='wxUSE_RADIOBTN=no'
8268 fi
8269
8270 else
8271
8272 LINE=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
8273 if test "x$LINE" != x ; then
8274 eval "DEFAULT_$LINE"
8275 else
8276 no_cache=1
8277 fi
8278
8279 ac_cv_use_radiobtn='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
8280
8281 fi;
8282
8283 eval "$ac_cv_use_radiobtn"
8284 if test "$no_cache" != 1; then
8285 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
8286 fi
8287
8288 if test "$wxUSE_RADIOBTN" = yes; then
8289 echo "$as_me:$LINENO: result: yes" >&5
8290 echo "${ECHO_T}yes" >&6
8291 else
8292 echo "$as_me:$LINENO: result: no" >&5
8293 echo "${ECHO_T}no" >&6
8294 fi
8295
8296
8297 enablestring=
8298 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
8299 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
8300 no_cache=0
8301 # Check whether --enable-sash or --disable-sash was given.
8302 if test "${enable_sash+set}" = set; then
8303 enableval="$enable_sash"
8304
8305 if test "$enableval" = yes; then
8306 ac_cv_use_sash='wxUSE_SASH=yes'
8307 else
8308 ac_cv_use_sash='wxUSE_SASH=no'
8309 fi
8310
8311 else
8312
8313 LINE=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
8314 if test "x$LINE" != x ; then
8315 eval "DEFAULT_$LINE"
8316 else
8317 no_cache=1
8318 fi
8319
8320 ac_cv_use_sash='wxUSE_SASH='$DEFAULT_wxUSE_SASH
8321
8322 fi;
8323
8324 eval "$ac_cv_use_sash"
8325 if test "$no_cache" != 1; then
8326 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
8327 fi
8328
8329 if test "$wxUSE_SASH" = yes; then
8330 echo "$as_me:$LINENO: result: yes" >&5
8331 echo "${ECHO_T}yes" >&6
8332 else
8333 echo "$as_me:$LINENO: result: no" >&5
8334 echo "${ECHO_T}no" >&6
8335 fi
8336
8337
8338 enablestring=
8339 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
8340 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
8341 no_cache=0
8342 # Check whether --enable-scrollbar or --disable-scrollbar was given.
8343 if test "${enable_scrollbar+set}" = set; then
8344 enableval="$enable_scrollbar"
8345
8346 if test "$enableval" = yes; then
8347 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
8348 else
8349 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
8350 fi
8351
8352 else
8353
8354 LINE=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
8355 if test "x$LINE" != x ; then
8356 eval "DEFAULT_$LINE"
8357 else
8358 no_cache=1
8359 fi
8360
8361 ac_cv_use_scrollbar='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
8362
8363 fi;
8364
8365 eval "$ac_cv_use_scrollbar"
8366 if test "$no_cache" != 1; then
8367 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
8368 fi
8369
8370 if test "$wxUSE_SCROLLBAR" = yes; then
8371 echo "$as_me:$LINENO: result: yes" >&5
8372 echo "${ECHO_T}yes" >&6
8373 else
8374 echo "$as_me:$LINENO: result: no" >&5
8375 echo "${ECHO_T}no" >&6
8376 fi
8377
8378
8379 enablestring=
8380 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
8381 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
8382 no_cache=0
8383 # Check whether --enable-slider or --disable-slider was given.
8384 if test "${enable_slider+set}" = set; then
8385 enableval="$enable_slider"
8386
8387 if test "$enableval" = yes; then
8388 ac_cv_use_slider='wxUSE_SLIDER=yes'
8389 else
8390 ac_cv_use_slider='wxUSE_SLIDER=no'
8391 fi
8392
8393 else
8394
8395 LINE=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
8396 if test "x$LINE" != x ; then
8397 eval "DEFAULT_$LINE"
8398 else
8399 no_cache=1
8400 fi
8401
8402 ac_cv_use_slider='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
8403
8404 fi;
8405
8406 eval "$ac_cv_use_slider"
8407 if test "$no_cache" != 1; then
8408 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
8409 fi
8410
8411 if test "$wxUSE_SLIDER" = yes; then
8412 echo "$as_me:$LINENO: result: yes" >&5
8413 echo "${ECHO_T}yes" >&6
8414 else
8415 echo "$as_me:$LINENO: result: no" >&5
8416 echo "${ECHO_T}no" >&6
8417 fi
8418
8419
8420 enablestring=
8421 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
8422 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
8423 no_cache=0
8424 # Check whether --enable-spinbtn or --disable-spinbtn was given.
8425 if test "${enable_spinbtn+set}" = set; then
8426 enableval="$enable_spinbtn"
8427
8428 if test "$enableval" = yes; then
8429 ac_cv_use_spinbtn='wxUSE_SPINBTN=yes'
8430 else
8431 ac_cv_use_spinbtn='wxUSE_SPINBTN=no'
8432 fi
8433
8434 else
8435
8436 LINE=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
8437 if test "x$LINE" != x ; then
8438 eval "DEFAULT_$LINE"
8439 else
8440 no_cache=1
8441 fi
8442
8443 ac_cv_use_spinbtn='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
8444
8445 fi;
8446
8447 eval "$ac_cv_use_spinbtn"
8448 if test "$no_cache" != 1; then
8449 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
8450 fi
8451
8452 if test "$wxUSE_SPINBTN" = yes; then
8453 echo "$as_me:$LINENO: result: yes" >&5
8454 echo "${ECHO_T}yes" >&6
8455 else
8456 echo "$as_me:$LINENO: result: no" >&5
8457 echo "${ECHO_T}no" >&6
8458 fi
8459
8460
8461 enablestring=
8462 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
8463 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
8464 no_cache=0
8465 # Check whether --enable-spinctrl or --disable-spinctrl was given.
8466 if test "${enable_spinctrl+set}" = set; then
8467 enableval="$enable_spinctrl"
8468
8469 if test "$enableval" = yes; then
8470 ac_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
8471 else
8472 ac_cv_use_spinctrl='wxUSE_SPINCTRL=no'
8473 fi
8474
8475 else
8476
8477 LINE=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
8478 if test "x$LINE" != x ; then
8479 eval "DEFAULT_$LINE"
8480 else
8481 no_cache=1
8482 fi
8483
8484 ac_cv_use_spinctrl='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
8485
8486 fi;
8487
8488 eval "$ac_cv_use_spinctrl"
8489 if test "$no_cache" != 1; then
8490 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
8491 fi
8492
8493 if test "$wxUSE_SPINCTRL" = yes; then
8494 echo "$as_me:$LINENO: result: yes" >&5
8495 echo "${ECHO_T}yes" >&6
8496 else
8497 echo "$as_me:$LINENO: result: no" >&5
8498 echo "${ECHO_T}no" >&6
8499 fi
8500
8501
8502 enablestring=
8503 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
8504 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
8505 no_cache=0
8506 # Check whether --enable-splitter or --disable-splitter was given.
8507 if test "${enable_splitter+set}" = set; then
8508 enableval="$enable_splitter"
8509
8510 if test "$enableval" = yes; then
8511 ac_cv_use_splitter='wxUSE_SPLITTER=yes'
8512 else
8513 ac_cv_use_splitter='wxUSE_SPLITTER=no'
8514 fi
8515
8516 else
8517
8518 LINE=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
8519 if test "x$LINE" != x ; then
8520 eval "DEFAULT_$LINE"
8521 else
8522 no_cache=1
8523 fi
8524
8525 ac_cv_use_splitter='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
8526
8527 fi;
8528
8529 eval "$ac_cv_use_splitter"
8530 if test "$no_cache" != 1; then
8531 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
8532 fi
8533
8534 if test "$wxUSE_SPLITTER" = yes; then
8535 echo "$as_me:$LINENO: result: yes" >&5
8536 echo "${ECHO_T}yes" >&6
8537 else
8538 echo "$as_me:$LINENO: result: no" >&5
8539 echo "${ECHO_T}no" >&6
8540 fi
8541
8542
8543 enablestring=
8544 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
8545 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
8546 no_cache=0
8547 # Check whether --enable-statbmp or --disable-statbmp was given.
8548 if test "${enable_statbmp+set}" = set; then
8549 enableval="$enable_statbmp"
8550
8551 if test "$enableval" = yes; then
8552 ac_cv_use_statbmp='wxUSE_STATBMP=yes'
8553 else
8554 ac_cv_use_statbmp='wxUSE_STATBMP=no'
8555 fi
8556
8557 else
8558
8559 LINE=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
8560 if test "x$LINE" != x ; then
8561 eval "DEFAULT_$LINE"
8562 else
8563 no_cache=1
8564 fi
8565
8566 ac_cv_use_statbmp='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
8567
8568 fi;
8569
8570 eval "$ac_cv_use_statbmp"
8571 if test "$no_cache" != 1; then
8572 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
8573 fi
8574
8575 if test "$wxUSE_STATBMP" = yes; then
8576 echo "$as_me:$LINENO: result: yes" >&5
8577 echo "${ECHO_T}yes" >&6
8578 else
8579 echo "$as_me:$LINENO: result: no" >&5
8580 echo "${ECHO_T}no" >&6
8581 fi
8582
8583
8584 enablestring=
8585 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
8586 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
8587 no_cache=0
8588 # Check whether --enable-statbox or --disable-statbox was given.
8589 if test "${enable_statbox+set}" = set; then
8590 enableval="$enable_statbox"
8591
8592 if test "$enableval" = yes; then
8593 ac_cv_use_statbox='wxUSE_STATBOX=yes'
8594 else
8595 ac_cv_use_statbox='wxUSE_STATBOX=no'
8596 fi
8597
8598 else
8599
8600 LINE=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
8601 if test "x$LINE" != x ; then
8602 eval "DEFAULT_$LINE"
8603 else
8604 no_cache=1
8605 fi
8606
8607 ac_cv_use_statbox='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
8608
8609 fi;
8610
8611 eval "$ac_cv_use_statbox"
8612 if test "$no_cache" != 1; then
8613 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
8614 fi
8615
8616 if test "$wxUSE_STATBOX" = yes; then
8617 echo "$as_me:$LINENO: result: yes" >&5
8618 echo "${ECHO_T}yes" >&6
8619 else
8620 echo "$as_me:$LINENO: result: no" >&5
8621 echo "${ECHO_T}no" >&6
8622 fi
8623
8624
8625 enablestring=
8626 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
8627 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
8628 no_cache=0
8629 # Check whether --enable-statline or --disable-statline was given.
8630 if test "${enable_statline+set}" = set; then
8631 enableval="$enable_statline"
8632
8633 if test "$enableval" = yes; then
8634 ac_cv_use_statline='wxUSE_STATLINE=yes'
8635 else
8636 ac_cv_use_statline='wxUSE_STATLINE=no'
8637 fi
8638
8639 else
8640
8641 LINE=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
8642 if test "x$LINE" != x ; then
8643 eval "DEFAULT_$LINE"
8644 else
8645 no_cache=1
8646 fi
8647
8648 ac_cv_use_statline='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
8649
8650 fi;
8651
8652 eval "$ac_cv_use_statline"
8653 if test "$no_cache" != 1; then
8654 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
8655 fi
8656
8657 if test "$wxUSE_STATLINE" = yes; then
8658 echo "$as_me:$LINENO: result: yes" >&5
8659 echo "${ECHO_T}yes" >&6
8660 else
8661 echo "$as_me:$LINENO: result: no" >&5
8662 echo "${ECHO_T}no" >&6
8663 fi
8664
8665
8666 enablestring=
8667 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
8668 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
8669 no_cache=0
8670 # Check whether --enable-stattext or --disable-stattext was given.
8671 if test "${enable_stattext+set}" = set; then
8672 enableval="$enable_stattext"
8673
8674 if test "$enableval" = yes; then
8675 ac_cv_use_stattext='wxUSE_STATTEXT=yes'
8676 else
8677 ac_cv_use_stattext='wxUSE_STATTEXT=no'
8678 fi
8679
8680 else
8681
8682 LINE=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
8683 if test "x$LINE" != x ; then
8684 eval "DEFAULT_$LINE"
8685 else
8686 no_cache=1
8687 fi
8688
8689 ac_cv_use_stattext='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
8690
8691 fi;
8692
8693 eval "$ac_cv_use_stattext"
8694 if test "$no_cache" != 1; then
8695 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
8696 fi
8697
8698 if test "$wxUSE_STATTEXT" = yes; then
8699 echo "$as_me:$LINENO: result: yes" >&5
8700 echo "${ECHO_T}yes" >&6
8701 else
8702 echo "$as_me:$LINENO: result: no" >&5
8703 echo "${ECHO_T}no" >&6
8704 fi
8705
8706
8707 enablestring=
8708 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
8709 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
8710 no_cache=0
8711 # Check whether --enable-statusbar or --disable-statusbar was given.
8712 if test "${enable_statusbar+set}" = set; then
8713 enableval="$enable_statusbar"
8714
8715 if test "$enableval" = yes; then
8716 ac_cv_use_statusbar='wxUSE_STATUSBAR=yes'
8717 else
8718 ac_cv_use_statusbar='wxUSE_STATUSBAR=no'
8719 fi
8720
8721 else
8722
8723 LINE=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
8724 if test "x$LINE" != x ; then
8725 eval "DEFAULT_$LINE"
8726 else
8727 no_cache=1
8728 fi
8729
8730 ac_cv_use_statusbar='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
8731
8732 fi;
8733
8734 eval "$ac_cv_use_statusbar"
8735 if test "$no_cache" != 1; then
8736 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
8737 fi
8738
8739 if test "$wxUSE_STATUSBAR" = yes; then
8740 echo "$as_me:$LINENO: result: yes" >&5
8741 echo "${ECHO_T}yes" >&6
8742 else
8743 echo "$as_me:$LINENO: result: no" >&5
8744 echo "${ECHO_T}no" >&6
8745 fi
8746
8747
8748 enablestring=
8749 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
8750 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
8751 no_cache=0
8752 # Check whether --enable-tabdialog or --disable-tabdialog was given.
8753 if test "${enable_tabdialog+set}" = set; then
8754 enableval="$enable_tabdialog"
8755
8756 if test "$enableval" = yes; then
8757 ac_cv_use_tabdialog='wxUSE_TABDIALOG=yes'
8758 else
8759 ac_cv_use_tabdialog='wxUSE_TABDIALOG=no'
8760 fi
8761
8762 else
8763
8764 LINE=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
8765 if test "x$LINE" != x ; then
8766 eval "DEFAULT_$LINE"
8767 else
8768 no_cache=1
8769 fi
8770
8771 ac_cv_use_tabdialog='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
8772
8773 fi;
8774
8775 eval "$ac_cv_use_tabdialog"
8776 if test "$no_cache" != 1; then
8777 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
8778 fi
8779
8780 if test "$wxUSE_TABDIALOG" = yes; then
8781 echo "$as_me:$LINENO: result: yes" >&5
8782 echo "${ECHO_T}yes" >&6
8783 else
8784 echo "$as_me:$LINENO: result: no" >&5
8785 echo "${ECHO_T}no" >&6
8786 fi
8787
8788
8789 enablestring=
8790 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
8791 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
8792 no_cache=0
8793 # Check whether --enable-textctrl or --disable-textctrl was given.
8794 if test "${enable_textctrl+set}" = set; then
8795 enableval="$enable_textctrl"
8796
8797 if test "$enableval" = yes; then
8798 ac_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
8799 else
8800 ac_cv_use_textctrl='wxUSE_TEXTCTRL=no'
8801 fi
8802
8803 else
8804
8805 LINE=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
8806 if test "x$LINE" != x ; then
8807 eval "DEFAULT_$LINE"
8808 else
8809 no_cache=1
8810 fi
8811
8812 ac_cv_use_textctrl='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
8813
8814 fi;
8815
8816 eval "$ac_cv_use_textctrl"
8817 if test "$no_cache" != 1; then
8818 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
8819 fi
8820
8821 if test "$wxUSE_TEXTCTRL" = yes; then
8822 echo "$as_me:$LINENO: result: yes" >&5
8823 echo "${ECHO_T}yes" >&6
8824 else
8825 echo "$as_me:$LINENO: result: no" >&5
8826 echo "${ECHO_T}no" >&6
8827 fi
8828
8829
8830 enablestring=
8831 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
8832 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
8833 no_cache=0
8834 # Check whether --enable-togglebtn or --disable-togglebtn was given.
8835 if test "${enable_togglebtn+set}" = set; then
8836 enableval="$enable_togglebtn"
8837
8838 if test "$enableval" = yes; then
8839 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
8840 else
8841 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
8842 fi
8843
8844 else
8845
8846 LINE=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
8847 if test "x$LINE" != x ; then
8848 eval "DEFAULT_$LINE"
8849 else
8850 no_cache=1
8851 fi
8852
8853 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
8854
8855 fi;
8856
8857 eval "$ac_cv_use_togglebtn"
8858 if test "$no_cache" != 1; then
8859 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
8860 fi
8861
8862 if test "$wxUSE_TOGGLEBTN" = yes; then
8863 echo "$as_me:$LINENO: result: yes" >&5
8864 echo "${ECHO_T}yes" >&6
8865 else
8866 echo "$as_me:$LINENO: result: no" >&5
8867 echo "${ECHO_T}no" >&6
8868 fi
8869
8870
8871 enablestring=
8872 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
8873 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
8874 no_cache=0
8875 # Check whether --enable-toolbar or --disable-toolbar was given.
8876 if test "${enable_toolbar+set}" = set; then
8877 enableval="$enable_toolbar"
8878
8879 if test "$enableval" = yes; then
8880 ac_cv_use_toolbar='wxUSE_TOOLBAR=yes'
8881 else
8882 ac_cv_use_toolbar='wxUSE_TOOLBAR=no'
8883 fi
8884
8885 else
8886
8887 LINE=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
8888 if test "x$LINE" != x ; then
8889 eval "DEFAULT_$LINE"
8890 else
8891 no_cache=1
8892 fi
8893
8894 ac_cv_use_toolbar='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
8895
8896 fi;
8897
8898 eval "$ac_cv_use_toolbar"
8899 if test "$no_cache" != 1; then
8900 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
8901 fi
8902
8903 if test "$wxUSE_TOOLBAR" = yes; then
8904 echo "$as_me:$LINENO: result: yes" >&5
8905 echo "${ECHO_T}yes" >&6
8906 else
8907 echo "$as_me:$LINENO: result: no" >&5
8908 echo "${ECHO_T}no" >&6
8909 fi
8910
8911
8912 enablestring=
8913 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
8914 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
8915 no_cache=0
8916 # Check whether --enable-tbarnative or --disable-tbarnative was given.
8917 if test "${enable_tbarnative+set}" = set; then
8918 enableval="$enable_tbarnative"
8919
8920 if test "$enableval" = yes; then
8921 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
8922 else
8923 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
8924 fi
8925
8926 else
8927
8928 LINE=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
8929 if test "x$LINE" != x ; then
8930 eval "DEFAULT_$LINE"
8931 else
8932 no_cache=1
8933 fi
8934
8935 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
8936
8937 fi;
8938
8939 eval "$ac_cv_use_tbarnative"
8940 if test "$no_cache" != 1; then
8941 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
8942 fi
8943
8944 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
8945 echo "$as_me:$LINENO: result: yes" >&5
8946 echo "${ECHO_T}yes" >&6
8947 else
8948 echo "$as_me:$LINENO: result: no" >&5
8949 echo "${ECHO_T}no" >&6
8950 fi
8951
8952
8953 enablestring=
8954 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarsmpl" >&5
8955 echo $ECHO_N "checking for --${enablestring:-enable}-tbarsmpl... $ECHO_C" >&6
8956 no_cache=0
8957 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
8958 if test "${enable_tbarsmpl+set}" = set; then
8959 enableval="$enable_tbarsmpl"
8960
8961 if test "$enableval" = yes; then
8962 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE=yes'
8963 else
8964 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE=no'
8965 fi
8966
8967 else
8968
8969 LINE=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
8970 if test "x$LINE" != x ; then
8971 eval "DEFAULT_$LINE"
8972 else
8973 no_cache=1
8974 fi
8975
8976 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
8977
8978 fi;
8979
8980 eval "$ac_cv_use_tbarsmpl"
8981 if test "$no_cache" != 1; then
8982 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
8983 fi
8984
8985 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
8986 echo "$as_me:$LINENO: result: yes" >&5
8987 echo "${ECHO_T}yes" >&6
8988 else
8989 echo "$as_me:$LINENO: result: no" >&5
8990 echo "${ECHO_T}no" >&6
8991 fi
8992
8993
8994 enablestring=
8995 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
8996 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6
8997 no_cache=0
8998 # Check whether --enable-treebook or --disable-treebook was given.
8999 if test "${enable_treebook+set}" = set; then
9000 enableval="$enable_treebook"
9001
9002 if test "$enableval" = yes; then
9003 ac_cv_use_treebook='wxUSE_TREEBOOK=yes'
9004 else
9005 ac_cv_use_treebook='wxUSE_TREEBOOK=no'
9006 fi
9007
9008 else
9009
9010 LINE=`grep "wxUSE_TREEBOOK" ${wx_arg_cache_file}`
9011 if test "x$LINE" != x ; then
9012 eval "DEFAULT_$LINE"
9013 else
9014 no_cache=1
9015 fi
9016
9017 ac_cv_use_treebook='wxUSE_TREEBOOK='$DEFAULT_wxUSE_TREEBOOK
9018
9019 fi;
9020
9021 eval "$ac_cv_use_treebook"
9022 if test "$no_cache" != 1; then
9023 echo $ac_cv_use_treebook >> ${wx_arg_cache_file}.tmp
9024 fi
9025
9026 if test "$wxUSE_TREEBOOK" = yes; then
9027 echo "$as_me:$LINENO: result: yes" >&5
9028 echo "${ECHO_T}yes" >&6
9029 else
9030 echo "$as_me:$LINENO: result: no" >&5
9031 echo "${ECHO_T}no" >&6
9032 fi
9033
9034
9035 enablestring=
9036 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
9037 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
9038 no_cache=0
9039 # Check whether --enable-treectrl or --disable-treectrl was given.
9040 if test "${enable_treectrl+set}" = set; then
9041 enableval="$enable_treectrl"
9042
9043 if test "$enableval" = yes; then
9044 ac_cv_use_treectrl='wxUSE_TREECTRL=yes'
9045 else
9046 ac_cv_use_treectrl='wxUSE_TREECTRL=no'
9047 fi
9048
9049 else
9050
9051 LINE=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
9052 if test "x$LINE" != x ; then
9053 eval "DEFAULT_$LINE"
9054 else
9055 no_cache=1
9056 fi
9057
9058 ac_cv_use_treectrl='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
9059
9060 fi;
9061
9062 eval "$ac_cv_use_treectrl"
9063 if test "$no_cache" != 1; then
9064 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
9065 fi
9066
9067 if test "$wxUSE_TREECTRL" = yes; then
9068 echo "$as_me:$LINENO: result: yes" >&5
9069 echo "${ECHO_T}yes" >&6
9070 else
9071 echo "$as_me:$LINENO: result: no" >&5
9072 echo "${ECHO_T}no" >&6
9073 fi
9074
9075
9076 enablestring=
9077 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
9078 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
9079 no_cache=0
9080 # Check whether --enable-tipwindow or --disable-tipwindow was given.
9081 if test "${enable_tipwindow+set}" = set; then
9082 enableval="$enable_tipwindow"
9083
9084 if test "$enableval" = yes; then
9085 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
9086 else
9087 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
9088 fi
9089
9090 else
9091
9092 LINE=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
9093 if test "x$LINE" != x ; then
9094 eval "DEFAULT_$LINE"
9095 else
9096 no_cache=1
9097 fi
9098
9099 ac_cv_use_tipwindow='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
9100
9101 fi;
9102
9103 eval "$ac_cv_use_tipwindow"
9104 if test "$no_cache" != 1; then
9105 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
9106 fi
9107
9108 if test "$wxUSE_TIPWINDOW" = yes; then
9109 echo "$as_me:$LINENO: result: yes" >&5
9110 echo "${ECHO_T}yes" >&6
9111 else
9112 echo "$as_me:$LINENO: result: no" >&5
9113 echo "${ECHO_T}no" >&6
9114 fi
9115
9116
9117 enablestring=
9118 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
9119 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
9120 no_cache=0
9121 # Check whether --enable-popupwin or --disable-popupwin was given.
9122 if test "${enable_popupwin+set}" = set; then
9123 enableval="$enable_popupwin"
9124
9125 if test "$enableval" = yes; then
9126 ac_cv_use_popupwin='wxUSE_POPUPWIN=yes'
9127 else
9128 ac_cv_use_popupwin='wxUSE_POPUPWIN=no'
9129 fi
9130
9131 else
9132
9133 LINE=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
9134 if test "x$LINE" != x ; then
9135 eval "DEFAULT_$LINE"
9136 else
9137 no_cache=1
9138 fi
9139
9140 ac_cv_use_popupwin='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
9141
9142 fi;
9143
9144 eval "$ac_cv_use_popupwin"
9145 if test "$no_cache" != 1; then
9146 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
9147 fi
9148
9149 if test "$wxUSE_POPUPWIN" = yes; then
9150 echo "$as_me:$LINENO: result: yes" >&5
9151 echo "${ECHO_T}yes" >&6
9152 else
9153 echo "$as_me:$LINENO: result: no" >&5
9154 echo "${ECHO_T}no" >&6
9155 fi
9156
9157
9158
9159
9160 enablestring=
9161 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
9162 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
9163 no_cache=0
9164 # Check whether --enable-commondlg or --disable-commondlg was given.
9165 if test "${enable_commondlg+set}" = set; then
9166 enableval="$enable_commondlg"
9167
9168 if test "$enableval" = yes; then
9169 ac_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
9170 else
9171 ac_cv_use_commondlg='wxUSE_COMMONDLGS=no'
9172 fi
9173
9174 else
9175
9176 LINE=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
9177 if test "x$LINE" != x ; then
9178 eval "DEFAULT_$LINE"
9179 else
9180 no_cache=1
9181 fi
9182
9183 ac_cv_use_commondlg='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
9184
9185 fi;
9186
9187 eval "$ac_cv_use_commondlg"
9188 if test "$no_cache" != 1; then
9189 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
9190 fi
9191
9192 if test "$wxUSE_COMMONDLGS" = yes; then
9193 echo "$as_me:$LINENO: result: yes" >&5
9194 echo "${ECHO_T}yes" >&6
9195 else
9196 echo "$as_me:$LINENO: result: no" >&5
9197 echo "${ECHO_T}no" >&6
9198 fi
9199
9200
9201 enablestring=
9202 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
9203 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
9204 no_cache=0
9205 # Check whether --enable-choicedlg or --disable-choicedlg was given.
9206 if test "${enable_choicedlg+set}" = set; then
9207 enableval="$enable_choicedlg"
9208
9209 if test "$enableval" = yes; then
9210 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
9211 else
9212 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
9213 fi
9214
9215 else
9216
9217 LINE=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
9218 if test "x$LINE" != x ; then
9219 eval "DEFAULT_$LINE"
9220 else
9221 no_cache=1
9222 fi
9223
9224 ac_cv_use_choicedlg='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
9225
9226 fi;
9227
9228 eval "$ac_cv_use_choicedlg"
9229 if test "$no_cache" != 1; then
9230 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
9231 fi
9232
9233 if test "$wxUSE_CHOICEDLG" = yes; then
9234 echo "$as_me:$LINENO: result: yes" >&5
9235 echo "${ECHO_T}yes" >&6
9236 else
9237 echo "$as_me:$LINENO: result: no" >&5
9238 echo "${ECHO_T}no" >&6
9239 fi
9240
9241
9242 enablestring=
9243 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
9244 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
9245 no_cache=0
9246 # Check whether --enable-coldlg or --disable-coldlg was given.
9247 if test "${enable_coldlg+set}" = set; then
9248 enableval="$enable_coldlg"
9249
9250 if test "$enableval" = yes; then
9251 ac_cv_use_coldlg='wxUSE_COLOURDLG=yes'
9252 else
9253 ac_cv_use_coldlg='wxUSE_COLOURDLG=no'
9254 fi
9255
9256 else
9257
9258 LINE=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
9259 if test "x$LINE" != x ; then
9260 eval "DEFAULT_$LINE"
9261 else
9262 no_cache=1
9263 fi
9264
9265 ac_cv_use_coldlg='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
9266
9267 fi;
9268
9269 eval "$ac_cv_use_coldlg"
9270 if test "$no_cache" != 1; then
9271 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
9272 fi
9273
9274 if test "$wxUSE_COLOURDLG" = yes; then
9275 echo "$as_me:$LINENO: result: yes" >&5
9276 echo "${ECHO_T}yes" >&6
9277 else
9278 echo "$as_me:$LINENO: result: no" >&5
9279 echo "${ECHO_T}no" >&6
9280 fi
9281
9282
9283 enablestring=
9284 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
9285 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
9286 no_cache=0
9287 # Check whether --enable-filedlg or --disable-filedlg was given.
9288 if test "${enable_filedlg+set}" = set; then
9289 enableval="$enable_filedlg"
9290
9291 if test "$enableval" = yes; then
9292 ac_cv_use_filedlg='wxUSE_FILEDLG=yes'
9293 else
9294 ac_cv_use_filedlg='wxUSE_FILEDLG=no'
9295 fi
9296
9297 else
9298
9299 LINE=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
9300 if test "x$LINE" != x ; then
9301 eval "DEFAULT_$LINE"
9302 else
9303 no_cache=1
9304 fi
9305
9306 ac_cv_use_filedlg='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
9307
9308 fi;
9309
9310 eval "$ac_cv_use_filedlg"
9311 if test "$no_cache" != 1; then
9312 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
9313 fi
9314
9315 if test "$wxUSE_FILEDLG" = yes; then
9316 echo "$as_me:$LINENO: result: yes" >&5
9317 echo "${ECHO_T}yes" >&6
9318 else
9319 echo "$as_me:$LINENO: result: no" >&5
9320 echo "${ECHO_T}no" >&6
9321 fi
9322
9323
9324 enablestring=
9325 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
9326 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
9327 no_cache=0
9328 # Check whether --enable-finddlg or --disable-finddlg was given.
9329 if test "${enable_finddlg+set}" = set; then
9330 enableval="$enable_finddlg"
9331
9332 if test "$enableval" = yes; then
9333 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
9334 else
9335 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
9336 fi
9337
9338 else
9339
9340 LINE=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
9341 if test "x$LINE" != x ; then
9342 eval "DEFAULT_$LINE"
9343 else
9344 no_cache=1
9345 fi
9346
9347 ac_cv_use_finddlg='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
9348
9349 fi;
9350
9351 eval "$ac_cv_use_finddlg"
9352 if test "$no_cache" != 1; then
9353 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
9354 fi
9355
9356 if test "$wxUSE_FINDREPLDLG" = yes; then
9357 echo "$as_me:$LINENO: result: yes" >&5
9358 echo "${ECHO_T}yes" >&6
9359 else
9360 echo "$as_me:$LINENO: result: no" >&5
9361 echo "${ECHO_T}no" >&6
9362 fi
9363
9364
9365 enablestring=
9366 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
9367 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
9368 no_cache=0
9369 # Check whether --enable-fontdlg or --disable-fontdlg was given.
9370 if test "${enable_fontdlg+set}" = set; then
9371 enableval="$enable_fontdlg"
9372
9373 if test "$enableval" = yes; then
9374 ac_cv_use_fontdlg='wxUSE_FONTDLG=yes'
9375 else
9376 ac_cv_use_fontdlg='wxUSE_FONTDLG=no'
9377 fi
9378
9379 else
9380
9381 LINE=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
9382 if test "x$LINE" != x ; then
9383 eval "DEFAULT_$LINE"
9384 else
9385 no_cache=1
9386 fi
9387
9388 ac_cv_use_fontdlg='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
9389
9390 fi;
9391
9392 eval "$ac_cv_use_fontdlg"
9393 if test "$no_cache" != 1; then
9394 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
9395 fi
9396
9397 if test "$wxUSE_FONTDLG" = yes; then
9398 echo "$as_me:$LINENO: result: yes" >&5
9399 echo "${ECHO_T}yes" >&6
9400 else
9401 echo "$as_me:$LINENO: result: no" >&5
9402 echo "${ECHO_T}no" >&6
9403 fi
9404
9405
9406 enablestring=
9407 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
9408 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
9409 no_cache=0
9410 # Check whether --enable-dirdlg or --disable-dirdlg was given.
9411 if test "${enable_dirdlg+set}" = set; then
9412 enableval="$enable_dirdlg"
9413
9414 if test "$enableval" = yes; then
9415 ac_cv_use_dirdlg='wxUSE_DIRDLG=yes'
9416 else
9417 ac_cv_use_dirdlg='wxUSE_DIRDLG=no'
9418 fi
9419
9420 else
9421
9422 LINE=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
9423 if test "x$LINE" != x ; then
9424 eval "DEFAULT_$LINE"
9425 else
9426 no_cache=1
9427 fi
9428
9429 ac_cv_use_dirdlg='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
9430
9431 fi;
9432
9433 eval "$ac_cv_use_dirdlg"
9434 if test "$no_cache" != 1; then
9435 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
9436 fi
9437
9438 if test "$wxUSE_DIRDLG" = yes; then
9439 echo "$as_me:$LINENO: result: yes" >&5
9440 echo "${ECHO_T}yes" >&6
9441 else
9442 echo "$as_me:$LINENO: result: no" >&5
9443 echo "${ECHO_T}no" >&6
9444 fi
9445
9446
9447 enablestring=
9448 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
9449 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
9450 no_cache=0
9451 # Check whether --enable-msgdlg or --disable-msgdlg was given.
9452 if test "${enable_msgdlg+set}" = set; then
9453 enableval="$enable_msgdlg"
9454
9455 if test "$enableval" = yes; then
9456 ac_cv_use_msgdlg='wxUSE_MSGDLG=yes'
9457 else
9458 ac_cv_use_msgdlg='wxUSE_MSGDLG=no'
9459 fi
9460
9461 else
9462
9463 LINE=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
9464 if test "x$LINE" != x ; then
9465 eval "DEFAULT_$LINE"
9466 else
9467 no_cache=1
9468 fi
9469
9470 ac_cv_use_msgdlg='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
9471
9472 fi;
9473
9474 eval "$ac_cv_use_msgdlg"
9475 if test "$no_cache" != 1; then
9476 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
9477 fi
9478
9479 if test "$wxUSE_MSGDLG" = yes; then
9480 echo "$as_me:$LINENO: result: yes" >&5
9481 echo "${ECHO_T}yes" >&6
9482 else
9483 echo "$as_me:$LINENO: result: no" >&5
9484 echo "${ECHO_T}no" >&6
9485 fi
9486
9487
9488 enablestring=
9489 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
9490 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
9491 no_cache=0
9492 # Check whether --enable-numberdlg or --disable-numberdlg was given.
9493 if test "${enable_numberdlg+set}" = set; then
9494 enableval="$enable_numberdlg"
9495
9496 if test "$enableval" = yes; then
9497 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
9498 else
9499 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
9500 fi
9501
9502 else
9503
9504 LINE=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
9505 if test "x$LINE" != x ; then
9506 eval "DEFAULT_$LINE"
9507 else
9508 no_cache=1
9509 fi
9510
9511 ac_cv_use_numberdlg='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
9512
9513 fi;
9514
9515 eval "$ac_cv_use_numberdlg"
9516 if test "$no_cache" != 1; then
9517 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
9518 fi
9519
9520 if test "$wxUSE_NUMBERDLG" = yes; then
9521 echo "$as_me:$LINENO: result: yes" >&5
9522 echo "${ECHO_T}yes" >&6
9523 else
9524 echo "$as_me:$LINENO: result: no" >&5
9525 echo "${ECHO_T}no" >&6
9526 fi
9527
9528
9529 enablestring=
9530 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
9531 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
9532 no_cache=0
9533 # Check whether --enable-splash or --disable-splash was given.
9534 if test "${enable_splash+set}" = set; then
9535 enableval="$enable_splash"
9536
9537 if test "$enableval" = yes; then
9538 ac_cv_use_splash='wxUSE_SPLASH=yes'
9539 else
9540 ac_cv_use_splash='wxUSE_SPLASH=no'
9541 fi
9542
9543 else
9544
9545 LINE=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
9546 if test "x$LINE" != x ; then
9547 eval "DEFAULT_$LINE"
9548 else
9549 no_cache=1
9550 fi
9551
9552 ac_cv_use_splash='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
9553
9554 fi;
9555
9556 eval "$ac_cv_use_splash"
9557 if test "$no_cache" != 1; then
9558 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
9559 fi
9560
9561 if test "$wxUSE_SPLASH" = yes; then
9562 echo "$as_me:$LINENO: result: yes" >&5
9563 echo "${ECHO_T}yes" >&6
9564 else
9565 echo "$as_me:$LINENO: result: no" >&5
9566 echo "${ECHO_T}no" >&6
9567 fi
9568
9569
9570 enablestring=
9571 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
9572 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
9573 no_cache=0
9574 # Check whether --enable-textdlg or --disable-textdlg was given.
9575 if test "${enable_textdlg+set}" = set; then
9576 enableval="$enable_textdlg"
9577
9578 if test "$enableval" = yes; then
9579 ac_cv_use_textdlg='wxUSE_TEXTDLG=yes'
9580 else
9581 ac_cv_use_textdlg='wxUSE_TEXTDLG=no'
9582 fi
9583
9584 else
9585
9586 LINE=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
9587 if test "x$LINE" != x ; then
9588 eval "DEFAULT_$LINE"
9589 else
9590 no_cache=1
9591 fi
9592
9593 ac_cv_use_textdlg='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
9594
9595 fi;
9596
9597 eval "$ac_cv_use_textdlg"
9598 if test "$no_cache" != 1; then
9599 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
9600 fi
9601
9602 if test "$wxUSE_TEXTDLG" = yes; then
9603 echo "$as_me:$LINENO: result: yes" >&5
9604 echo "${ECHO_T}yes" >&6
9605 else
9606 echo "$as_me:$LINENO: result: no" >&5
9607 echo "${ECHO_T}no" >&6
9608 fi
9609
9610
9611 enablestring=
9612 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
9613 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
9614 no_cache=0
9615 # Check whether --enable-tipdlg or --disable-tipdlg was given.
9616 if test "${enable_tipdlg+set}" = set; then
9617 enableval="$enable_tipdlg"
9618
9619 if test "$enableval" = yes; then
9620 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
9621 else
9622 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
9623 fi
9624
9625 else
9626
9627 LINE=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
9628 if test "x$LINE" != x ; then
9629 eval "DEFAULT_$LINE"
9630 else
9631 no_cache=1
9632 fi
9633
9634 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
9635
9636 fi;
9637
9638 eval "$ac_cv_use_tipdlg"
9639 if test "$no_cache" != 1; then
9640 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
9641 fi
9642
9643 if test "$wxUSE_STARTUP_TIPS" = yes; then
9644 echo "$as_me:$LINENO: result: yes" >&5
9645 echo "${ECHO_T}yes" >&6
9646 else
9647 echo "$as_me:$LINENO: result: no" >&5
9648 echo "${ECHO_T}no" >&6
9649 fi
9650
9651
9652 enablestring=
9653 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
9654 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
9655 no_cache=0
9656 # Check whether --enable-progressdlg or --disable-progressdlg was given.
9657 if test "${enable_progressdlg+set}" = set; then
9658 enableval="$enable_progressdlg"
9659
9660 if test "$enableval" = yes; then
9661 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
9662 else
9663 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
9664 fi
9665
9666 else
9667
9668 LINE=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
9669 if test "x$LINE" != x ; then
9670 eval "DEFAULT_$LINE"
9671 else
9672 no_cache=1
9673 fi
9674
9675 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
9676
9677 fi;
9678
9679 eval "$ac_cv_use_progressdlg"
9680 if test "$no_cache" != 1; then
9681 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
9682 fi
9683
9684 if test "$wxUSE_PROGRESSDLG" = yes; then
9685 echo "$as_me:$LINENO: result: yes" >&5
9686 echo "${ECHO_T}yes" >&6
9687 else
9688 echo "$as_me:$LINENO: result: no" >&5
9689 echo "${ECHO_T}no" >&6
9690 fi
9691
9692
9693 enablestring=
9694 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
9695 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
9696 no_cache=0
9697 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
9698 if test "${enable_wizarddlg+set}" = set; then
9699 enableval="$enable_wizarddlg"
9700
9701 if test "$enableval" = yes; then
9702 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
9703 else
9704 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
9705 fi
9706
9707 else
9708
9709 LINE=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
9710 if test "x$LINE" != x ; then
9711 eval "DEFAULT_$LINE"
9712 else
9713 no_cache=1
9714 fi
9715
9716 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
9717
9718 fi;
9719
9720 eval "$ac_cv_use_wizarddlg"
9721 if test "$no_cache" != 1; then
9722 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
9723 fi
9724
9725 if test "$wxUSE_WIZARDDLG" = yes; then
9726 echo "$as_me:$LINENO: result: yes" >&5
9727 echo "${ECHO_T}yes" >&6
9728 else
9729 echo "$as_me:$LINENO: result: no" >&5
9730 echo "${ECHO_T}no" >&6
9731 fi
9732
9733
9734
9735
9736 enablestring=
9737 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
9738 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
9739 no_cache=0
9740 # Check whether --enable-menus or --disable-menus was given.
9741 if test "${enable_menus+set}" = set; then
9742 enableval="$enable_menus"
9743
9744 if test "$enableval" = yes; then
9745 ac_cv_use_menus='wxUSE_MENUS=yes'
9746 else
9747 ac_cv_use_menus='wxUSE_MENUS=no'
9748 fi
9749
9750 else
9751
9752 LINE=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
9753 if test "x$LINE" != x ; then
9754 eval "DEFAULT_$LINE"
9755 else
9756 no_cache=1
9757 fi
9758
9759 ac_cv_use_menus='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
9760
9761 fi;
9762
9763 eval "$ac_cv_use_menus"
9764 if test "$no_cache" != 1; then
9765 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
9766 fi
9767
9768 if test "$wxUSE_MENUS" = yes; then
9769 echo "$as_me:$LINENO: result: yes" >&5
9770 echo "${ECHO_T}yes" >&6
9771 else
9772 echo "$as_me:$LINENO: result: no" >&5
9773 echo "${ECHO_T}no" >&6
9774 fi
9775
9776
9777 enablestring=
9778 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
9779 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
9780 no_cache=0
9781 # Check whether --enable-miniframe or --disable-miniframe was given.
9782 if test "${enable_miniframe+set}" = set; then
9783 enableval="$enable_miniframe"
9784
9785 if test "$enableval" = yes; then
9786 ac_cv_use_miniframe='wxUSE_MINIFRAME=yes'
9787 else
9788 ac_cv_use_miniframe='wxUSE_MINIFRAME=no'
9789 fi
9790
9791 else
9792
9793 LINE=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
9794 if test "x$LINE" != x ; then
9795 eval "DEFAULT_$LINE"
9796 else
9797 no_cache=1
9798 fi
9799
9800 ac_cv_use_miniframe='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
9801
9802 fi;
9803
9804 eval "$ac_cv_use_miniframe"
9805 if test "$no_cache" != 1; then
9806 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
9807 fi
9808
9809 if test "$wxUSE_MINIFRAME" = yes; then
9810 echo "$as_me:$LINENO: result: yes" >&5
9811 echo "${ECHO_T}yes" >&6
9812 else
9813 echo "$as_me:$LINENO: result: no" >&5
9814 echo "${ECHO_T}no" >&6
9815 fi
9816
9817
9818 enablestring=
9819 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
9820 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
9821 no_cache=0
9822 # Check whether --enable-tooltips or --disable-tooltips was given.
9823 if test "${enable_tooltips+set}" = set; then
9824 enableval="$enable_tooltips"
9825
9826 if test "$enableval" = yes; then
9827 ac_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
9828 else
9829 ac_cv_use_tooltips='wxUSE_TOOLTIPS=no'
9830 fi
9831
9832 else
9833
9834 LINE=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
9835 if test "x$LINE" != x ; then
9836 eval "DEFAULT_$LINE"
9837 else
9838 no_cache=1
9839 fi
9840
9841 ac_cv_use_tooltips='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
9842
9843 fi;
9844
9845 eval "$ac_cv_use_tooltips"
9846 if test "$no_cache" != 1; then
9847 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
9848 fi
9849
9850 if test "$wxUSE_TOOLTIPS" = yes; then
9851 echo "$as_me:$LINENO: result: yes" >&5
9852 echo "${ECHO_T}yes" >&6
9853 else
9854 echo "$as_me:$LINENO: result: no" >&5
9855 echo "${ECHO_T}no" >&6
9856 fi
9857
9858
9859 enablestring=
9860 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
9861 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
9862 no_cache=0
9863 # Check whether --enable-splines or --disable-splines was given.
9864 if test "${enable_splines+set}" = set; then
9865 enableval="$enable_splines"
9866
9867 if test "$enableval" = yes; then
9868 ac_cv_use_splines='wxUSE_SPLINES=yes'
9869 else
9870 ac_cv_use_splines='wxUSE_SPLINES=no'
9871 fi
9872
9873 else
9874
9875 LINE=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
9876 if test "x$LINE" != x ; then
9877 eval "DEFAULT_$LINE"
9878 else
9879 no_cache=1
9880 fi
9881
9882 ac_cv_use_splines='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
9883
9884 fi;
9885
9886 eval "$ac_cv_use_splines"
9887 if test "$no_cache" != 1; then
9888 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
9889 fi
9890
9891 if test "$wxUSE_SPLINES" = yes; then
9892 echo "$as_me:$LINENO: result: yes" >&5
9893 echo "${ECHO_T}yes" >&6
9894 else
9895 echo "$as_me:$LINENO: result: no" >&5
9896 echo "${ECHO_T}no" >&6
9897 fi
9898
9899
9900 enablestring=
9901 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
9902 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6
9903 no_cache=0
9904 # Check whether --enable-mousewheel or --disable-mousewheel was given.
9905 if test "${enable_mousewheel+set}" = set; then
9906 enableval="$enable_mousewheel"
9907
9908 if test "$enableval" = yes; then
9909 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
9910 else
9911 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
9912 fi
9913
9914 else
9915
9916 LINE=`grep "wxUSE_MOUSEWHEEL" ${wx_arg_cache_file}`
9917 if test "x$LINE" != x ; then
9918 eval "DEFAULT_$LINE"
9919 else
9920 no_cache=1
9921 fi
9922
9923 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL='$DEFAULT_wxUSE_MOUSEWHEEL
9924
9925 fi;
9926
9927 eval "$ac_cv_use_mousewheel"
9928 if test "$no_cache" != 1; then
9929 echo $ac_cv_use_mousewheel >> ${wx_arg_cache_file}.tmp
9930 fi
9931
9932 if test "$wxUSE_MOUSEWHEEL" = yes; then
9933 echo "$as_me:$LINENO: result: yes" >&5
9934 echo "${ECHO_T}yes" >&6
9935 else
9936 echo "$as_me:$LINENO: result: no" >&5
9937 echo "${ECHO_T}no" >&6
9938 fi
9939
9940
9941 enablestring=
9942 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
9943 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
9944 no_cache=0
9945 # Check whether --enable-validators or --disable-validators was given.
9946 if test "${enable_validators+set}" = set; then
9947 enableval="$enable_validators"
9948
9949 if test "$enableval" = yes; then
9950 ac_cv_use_validators='wxUSE_VALIDATORS=yes'
9951 else
9952 ac_cv_use_validators='wxUSE_VALIDATORS=no'
9953 fi
9954
9955 else
9956
9957 LINE=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
9958 if test "x$LINE" != x ; then
9959 eval "DEFAULT_$LINE"
9960 else
9961 no_cache=1
9962 fi
9963
9964 ac_cv_use_validators='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
9965
9966 fi;
9967
9968 eval "$ac_cv_use_validators"
9969 if test "$no_cache" != 1; then
9970 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
9971 fi
9972
9973 if test "$wxUSE_VALIDATORS" = yes; then
9974 echo "$as_me:$LINENO: result: yes" >&5
9975 echo "${ECHO_T}yes" >&6
9976 else
9977 echo "$as_me:$LINENO: result: no" >&5
9978 echo "${ECHO_T}no" >&6
9979 fi
9980
9981
9982 enablestring=
9983 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
9984 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
9985 no_cache=0
9986 # Check whether --enable-busyinfo or --disable-busyinfo was given.
9987 if test "${enable_busyinfo+set}" = set; then
9988 enableval="$enable_busyinfo"
9989
9990 if test "$enableval" = yes; then
9991 ac_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
9992 else
9993 ac_cv_use_busyinfo='wxUSE_BUSYINFO=no'
9994 fi
9995
9996 else
9997
9998 LINE=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
9999 if test "x$LINE" != x ; then
10000 eval "DEFAULT_$LINE"
10001 else
10002 no_cache=1
10003 fi
10004
10005 ac_cv_use_busyinfo='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
10006
10007 fi;
10008
10009 eval "$ac_cv_use_busyinfo"
10010 if test "$no_cache" != 1; then
10011 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
10012 fi
10013
10014 if test "$wxUSE_BUSYINFO" = yes; then
10015 echo "$as_me:$LINENO: result: yes" >&5
10016 echo "${ECHO_T}yes" >&6
10017 else
10018 echo "$as_me:$LINENO: result: no" >&5
10019 echo "${ECHO_T}no" >&6
10020 fi
10021
10022
10023 enablestring=
10024 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
10025 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
10026 no_cache=0
10027 # Check whether --enable-joystick or --disable-joystick was given.
10028 if test "${enable_joystick+set}" = set; then
10029 enableval="$enable_joystick"
10030
10031 if test "$enableval" = yes; then
10032 ac_cv_use_joystick='wxUSE_JOYSTICK=yes'
10033 else
10034 ac_cv_use_joystick='wxUSE_JOYSTICK=no'
10035 fi
10036
10037 else
10038
10039 LINE=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
10040 if test "x$LINE" != x ; then
10041 eval "DEFAULT_$LINE"
10042 else
10043 no_cache=1
10044 fi
10045
10046 ac_cv_use_joystick='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
10047
10048 fi;
10049
10050 eval "$ac_cv_use_joystick"
10051 if test "$no_cache" != 1; then
10052 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
10053 fi
10054
10055 if test "$wxUSE_JOYSTICK" = yes; then
10056 echo "$as_me:$LINENO: result: yes" >&5
10057 echo "${ECHO_T}yes" >&6
10058 else
10059 echo "$as_me:$LINENO: result: no" >&5
10060 echo "${ECHO_T}no" >&6
10061 fi
10062
10063
10064 enablestring=
10065 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
10066 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
10067 no_cache=0
10068 # Check whether --enable-metafile or --disable-metafile was given.
10069 if test "${enable_metafile+set}" = set; then
10070 enableval="$enable_metafile"
10071
10072 if test "$enableval" = yes; then
10073 ac_cv_use_metafile='wxUSE_METAFILE=yes'
10074 else
10075 ac_cv_use_metafile='wxUSE_METAFILE=no'
10076 fi
10077
10078 else
10079
10080 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
10081 if test "x$LINE" != x ; then
10082 eval "DEFAULT_$LINE"
10083 else
10084 no_cache=1
10085 fi
10086
10087 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
10088
10089 fi;
10090
10091 eval "$ac_cv_use_metafile"
10092 if test "$no_cache" != 1; then
10093 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
10094 fi
10095
10096 if test "$wxUSE_METAFILE" = yes; then
10097 echo "$as_me:$LINENO: result: yes" >&5
10098 echo "${ECHO_T}yes" >&6
10099 else
10100 echo "$as_me:$LINENO: result: no" >&5
10101 echo "${ECHO_T}no" >&6
10102 fi
10103
10104
10105 enablestring=
10106 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
10107 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
10108 no_cache=0
10109 # Check whether --enable-dragimage or --disable-dragimage was given.
10110 if test "${enable_dragimage+set}" = set; then
10111 enableval="$enable_dragimage"
10112
10113 if test "$enableval" = yes; then
10114 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
10115 else
10116 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
10117 fi
10118
10119 else
10120
10121 LINE=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
10122 if test "x$LINE" != x ; then
10123 eval "DEFAULT_$LINE"
10124 else
10125 no_cache=1
10126 fi
10127
10128 ac_cv_use_dragimage='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
10129
10130 fi;
10131
10132 eval "$ac_cv_use_dragimage"
10133 if test "$no_cache" != 1; then
10134 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
10135 fi
10136
10137 if test "$wxUSE_DRAGIMAGE" = yes; then
10138 echo "$as_me:$LINENO: result: yes" >&5
10139 echo "${ECHO_T}yes" >&6
10140 else
10141 echo "$as_me:$LINENO: result: no" >&5
10142 echo "${ECHO_T}no" >&6
10143 fi
10144
10145
10146 enablestring=
10147 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
10148 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
10149 no_cache=0
10150 # Check whether --enable-accessibility or --disable-accessibility was given.
10151 if test "${enable_accessibility+set}" = set; then
10152 enableval="$enable_accessibility"
10153
10154 if test "$enableval" = yes; then
10155 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
10156 else
10157 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
10158 fi
10159
10160 else
10161
10162 LINE=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
10163 if test "x$LINE" != x ; then
10164 eval "DEFAULT_$LINE"
10165 else
10166 no_cache=1
10167 fi
10168
10169 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
10170
10171 fi;
10172
10173 eval "$ac_cv_use_accessibility"
10174 if test "$no_cache" != 1; then
10175 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
10176 fi
10177
10178 if test "$wxUSE_ACCESSIBILITY" = yes; then
10179 echo "$as_me:$LINENO: result: yes" >&5
10180 echo "${ECHO_T}yes" >&6
10181 else
10182 echo "$as_me:$LINENO: result: no" >&5
10183 echo "${ECHO_T}no" >&6
10184 fi
10185
10186
10187 if test "$wxUSE_MSW" = "1"; then
10188
10189 enablestring=
10190 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
10191 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6
10192 no_cache=0
10193 # Check whether --enable-dccache or --disable-dccache was given.
10194 if test "${enable_dccache+set}" = set; then
10195 enableval="$enable_dccache"
10196
10197 if test "$enableval" = yes; then
10198 ac_cv_use_dccache='wxUSE_DC_CACHEING=yes'
10199 else
10200 ac_cv_use_dccache='wxUSE_DC_CACHEING=no'
10201 fi
10202
10203 else
10204
10205 LINE=`grep "wxUSE_DC_CACHEING" ${wx_arg_cache_file}`
10206 if test "x$LINE" != x ; then
10207 eval "DEFAULT_$LINE"
10208 else
10209 no_cache=1
10210 fi
10211
10212 ac_cv_use_dccache='wxUSE_DC_CACHEING='$DEFAULT_wxUSE_DC_CACHEING
10213
10214 fi;
10215
10216 eval "$ac_cv_use_dccache"
10217 if test "$no_cache" != 1; then
10218 echo $ac_cv_use_dccache >> ${wx_arg_cache_file}.tmp
10219 fi
10220
10221 if test "$wxUSE_DC_CACHEING" = yes; then
10222 echo "$as_me:$LINENO: result: yes" >&5
10223 echo "${ECHO_T}yes" >&6
10224 else
10225 echo "$as_me:$LINENO: result: no" >&5
10226 echo "${ECHO_T}no" >&6
10227 fi
10228
10229 fi
10230
10231
10232
10233 enablestring=
10234 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
10235 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
10236 no_cache=0
10237 # Check whether --enable-palette or --disable-palette was given.
10238 if test "${enable_palette+set}" = set; then
10239 enableval="$enable_palette"
10240
10241 if test "$enableval" = yes; then
10242 ac_cv_use_palette='wxUSE_PALETTE=yes'
10243 else
10244 ac_cv_use_palette='wxUSE_PALETTE=no'
10245 fi
10246
10247 else
10248
10249 LINE=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
10250 if test "x$LINE" != x ; then
10251 eval "DEFAULT_$LINE"
10252 else
10253 no_cache=1
10254 fi
10255
10256 ac_cv_use_palette='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
10257
10258 fi;
10259
10260 eval "$ac_cv_use_palette"
10261 if test "$no_cache" != 1; then
10262 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
10263 fi
10264
10265 if test "$wxUSE_PALETTE" = yes; then
10266 echo "$as_me:$LINENO: result: yes" >&5
10267 echo "${ECHO_T}yes" >&6
10268 else
10269 echo "$as_me:$LINENO: result: no" >&5
10270 echo "${ECHO_T}no" >&6
10271 fi
10272
10273
10274 enablestring=
10275 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
10276 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
10277 no_cache=0
10278 # Check whether --enable-image or --disable-image was given.
10279 if test "${enable_image+set}" = set; then
10280 enableval="$enable_image"
10281
10282 if test "$enableval" = yes; then
10283 ac_cv_use_image='wxUSE_IMAGE=yes'
10284 else
10285 ac_cv_use_image='wxUSE_IMAGE=no'
10286 fi
10287
10288 else
10289
10290 LINE=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
10291 if test "x$LINE" != x ; then
10292 eval "DEFAULT_$LINE"
10293 else
10294 no_cache=1
10295 fi
10296
10297 ac_cv_use_image='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
10298
10299 fi;
10300
10301 eval "$ac_cv_use_image"
10302 if test "$no_cache" != 1; then
10303 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
10304 fi
10305
10306 if test "$wxUSE_IMAGE" = yes; then
10307 echo "$as_me:$LINENO: result: yes" >&5
10308 echo "${ECHO_T}yes" >&6
10309 else
10310 echo "$as_me:$LINENO: result: no" >&5
10311 echo "${ECHO_T}no" >&6
10312 fi
10313
10314
10315 enablestring=
10316 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
10317 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
10318 no_cache=0
10319 # Check whether --enable-gif or --disable-gif was given.
10320 if test "${enable_gif+set}" = set; then
10321 enableval="$enable_gif"
10322
10323 if test "$enableval" = yes; then
10324 ac_cv_use_gif='wxUSE_GIF=yes'
10325 else
10326 ac_cv_use_gif='wxUSE_GIF=no'
10327 fi
10328
10329 else
10330
10331 LINE=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
10332 if test "x$LINE" != x ; then
10333 eval "DEFAULT_$LINE"
10334 else
10335 no_cache=1
10336 fi
10337
10338 ac_cv_use_gif='wxUSE_GIF='$DEFAULT_wxUSE_GIF
10339
10340 fi;
10341
10342 eval "$ac_cv_use_gif"
10343 if test "$no_cache" != 1; then
10344 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
10345 fi
10346
10347 if test "$wxUSE_GIF" = yes; then
10348 echo "$as_me:$LINENO: result: yes" >&5
10349 echo "${ECHO_T}yes" >&6
10350 else
10351 echo "$as_me:$LINENO: result: no" >&5
10352 echo "${ECHO_T}no" >&6
10353 fi
10354
10355
10356 enablestring=
10357 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
10358 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
10359 no_cache=0
10360 # Check whether --enable-pcx or --disable-pcx was given.
10361 if test "${enable_pcx+set}" = set; then
10362 enableval="$enable_pcx"
10363
10364 if test "$enableval" = yes; then
10365 ac_cv_use_pcx='wxUSE_PCX=yes'
10366 else
10367 ac_cv_use_pcx='wxUSE_PCX=no'
10368 fi
10369
10370 else
10371
10372 LINE=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
10373 if test "x$LINE" != x ; then
10374 eval "DEFAULT_$LINE"
10375 else
10376 no_cache=1
10377 fi
10378
10379 ac_cv_use_pcx='wxUSE_PCX='$DEFAULT_wxUSE_PCX
10380
10381 fi;
10382
10383 eval "$ac_cv_use_pcx"
10384 if test "$no_cache" != 1; then
10385 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
10386 fi
10387
10388 if test "$wxUSE_PCX" = yes; then
10389 echo "$as_me:$LINENO: result: yes" >&5
10390 echo "${ECHO_T}yes" >&6
10391 else
10392 echo "$as_me:$LINENO: result: no" >&5
10393 echo "${ECHO_T}no" >&6
10394 fi
10395
10396
10397 enablestring=
10398 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
10399 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
10400 no_cache=0
10401 # Check whether --enable-iff or --disable-iff was given.
10402 if test "${enable_iff+set}" = set; then
10403 enableval="$enable_iff"
10404
10405 if test "$enableval" = yes; then
10406 ac_cv_use_iff='wxUSE_IFF=yes'
10407 else
10408 ac_cv_use_iff='wxUSE_IFF=no'
10409 fi
10410
10411 else
10412
10413 LINE=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
10414 if test "x$LINE" != x ; then
10415 eval "DEFAULT_$LINE"
10416 else
10417 no_cache=1
10418 fi
10419
10420 ac_cv_use_iff='wxUSE_IFF='$DEFAULT_wxUSE_IFF
10421
10422 fi;
10423
10424 eval "$ac_cv_use_iff"
10425 if test "$no_cache" != 1; then
10426 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
10427 fi
10428
10429 if test "$wxUSE_IFF" = yes; then
10430 echo "$as_me:$LINENO: result: yes" >&5
10431 echo "${ECHO_T}yes" >&6
10432 else
10433 echo "$as_me:$LINENO: result: no" >&5
10434 echo "${ECHO_T}no" >&6
10435 fi
10436
10437
10438 enablestring=
10439 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
10440 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
10441 no_cache=0
10442 # Check whether --enable-pnm or --disable-pnm was given.
10443 if test "${enable_pnm+set}" = set; then
10444 enableval="$enable_pnm"
10445
10446 if test "$enableval" = yes; then
10447 ac_cv_use_pnm='wxUSE_PNM=yes'
10448 else
10449 ac_cv_use_pnm='wxUSE_PNM=no'
10450 fi
10451
10452 else
10453
10454 LINE=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
10455 if test "x$LINE" != x ; then
10456 eval "DEFAULT_$LINE"
10457 else
10458 no_cache=1
10459 fi
10460
10461 ac_cv_use_pnm='wxUSE_PNM='$DEFAULT_wxUSE_PNM
10462
10463 fi;
10464
10465 eval "$ac_cv_use_pnm"
10466 if test "$no_cache" != 1; then
10467 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
10468 fi
10469
10470 if test "$wxUSE_PNM" = yes; then
10471 echo "$as_me:$LINENO: result: yes" >&5
10472 echo "${ECHO_T}yes" >&6
10473 else
10474 echo "$as_me:$LINENO: result: no" >&5
10475 echo "${ECHO_T}no" >&6
10476 fi
10477
10478
10479 enablestring=
10480 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
10481 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
10482 no_cache=0
10483 # Check whether --enable-xpm or --disable-xpm was given.
10484 if test "${enable_xpm+set}" = set; then
10485 enableval="$enable_xpm"
10486
10487 if test "$enableval" = yes; then
10488 ac_cv_use_xpm='wxUSE_XPM=yes'
10489 else
10490 ac_cv_use_xpm='wxUSE_XPM=no'
10491 fi
10492
10493 else
10494
10495 LINE=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
10496 if test "x$LINE" != x ; then
10497 eval "DEFAULT_$LINE"
10498 else
10499 no_cache=1
10500 fi
10501
10502 ac_cv_use_xpm='wxUSE_XPM='$DEFAULT_wxUSE_XPM
10503
10504 fi;
10505
10506 eval "$ac_cv_use_xpm"
10507 if test "$no_cache" != 1; then
10508 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
10509 fi
10510
10511 if test "$wxUSE_XPM" = yes; then
10512 echo "$as_me:$LINENO: result: yes" >&5
10513 echo "${ECHO_T}yes" >&6
10514 else
10515 echo "$as_me:$LINENO: result: no" >&5
10516 echo "${ECHO_T}no" >&6
10517 fi
10518
10519
10520 enablestring=
10521 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
10522 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
10523 no_cache=0
10524 # Check whether --enable-ico_cur or --disable-ico_cur was given.
10525 if test "${enable_ico_cur+set}" = set; then
10526 enableval="$enable_ico_cur"
10527
10528 if test "$enableval" = yes; then
10529 ac_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
10530 else
10531 ac_cv_use_ico_cur='wxUSE_ICO_CUR=no'
10532 fi
10533
10534 else
10535
10536 LINE=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
10537 if test "x$LINE" != x ; then
10538 eval "DEFAULT_$LINE"
10539 else
10540 no_cache=1
10541 fi
10542
10543 ac_cv_use_ico_cur='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
10544
10545 fi;
10546
10547 eval "$ac_cv_use_ico_cur"
10548 if test "$no_cache" != 1; then
10549 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
10550 fi
10551
10552 if test "$wxUSE_ICO_CUR" = yes; then
10553 echo "$as_me:$LINENO: result: yes" >&5
10554 echo "${ECHO_T}yes" >&6
10555 else
10556 echo "$as_me:$LINENO: result: no" >&5
10557 echo "${ECHO_T}no" >&6
10558 fi
10559
10560
10561 fi
10562
10563
10564
10565 # Check whether --with-flavour or --without-flavour was given.
10566 if test "${with_flavour+set}" = set; then
10567 withval="$with_flavour"
10568 WX_FLAVOUR="$withval"
10569 fi;
10570
10571
10572
10573 enablestring=
10574 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
10575 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6
10576 no_cache=0
10577 # Check whether --enable-official_build or --disable-official_build was given.
10578 if test "${enable_official_build+set}" = set; then
10579 enableval="$enable_official_build"
10580
10581 if test "$enableval" = yes; then
10582 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
10583 else
10584 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
10585 fi
10586
10587 else
10588
10589 LINE=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
10590 if test "x$LINE" != x ; then
10591 eval "DEFAULT_$LINE"
10592 else
10593 no_cache=1
10594 fi
10595
10596 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD='$DEFAULT_wxUSE_OFFICIAL_BUILD
10597
10598 fi;
10599
10600 eval "$ac_cv_use_official_build"
10601 if test "$no_cache" != 1; then
10602 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
10603 fi
10604
10605 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
10606 echo "$as_me:$LINENO: result: yes" >&5
10607 echo "${ECHO_T}yes" >&6
10608 else
10609 echo "$as_me:$LINENO: result: no" >&5
10610 echo "${ECHO_T}no" >&6
10611 fi
10612
10613 # Check whether --enable-vendor or --disable-vendor was given.
10614 if test "${enable_vendor+set}" = set; then
10615 enableval="$enable_vendor"
10616 VENDOR="$enableval"
10617 fi;
10618 if test "x$VENDOR" = "x"; then
10619 VENDOR="custom"
10620 fi
10621
10622
10623
10624
10625 echo "saving argument cache $wx_arg_cache_file"
10626 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
10627
10628
10629
10630 echo "$as_me:$LINENO: checking for toolkit" >&5
10631 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
10632
10633 # In Wine, we need to default to MSW, not GTK or MOTIF
10634 if test "$wxUSE_WINE" = "yes"; then
10635 DEFAULT_DEFAULT_wxUSE_GTK=0
10636 DEFAULT_DEFAULT_wxUSE_MOTIF=0
10637 DEFAULT_DEFAULT_wxUSE_MSW=1
10638 wxUSE_SHARED=no
10639 fi
10640
10641
10642 if test "$wxUSE_GUI" = "yes"; then
10643
10644 if test "$USE_BEOS" = 1; then
10645 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
10646 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
10647 { (exit 1); exit 1; }; }
10648 fi
10649
10650 if test "$TOOLKIT_GIVEN" = 1; then
10651 for toolkit in `echo $ALL_TOOLKITS`; do
10652 var=wxUSE_$toolkit
10653 eval "value=\$${var}"
10654 if test "x$value" = "xno"; then
10655 eval "$var=0"
10656 elif test "x$value" != "x"; then
10657 eval "$var=1"
10658 fi
10659
10660 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
10661 eval "wx${toolkit}_VERSION=$value"
10662 fi
10663 done
10664 else
10665 for toolkit in `echo $ALL_TOOLKITS`; do
10666 if test "$has_toolkit_in_cache" != 1; then
10667 var=DEFAULT_DEFAULT_wxUSE_$toolkit
10668 else
10669 var=DEFAULT_wxUSE_$toolkit
10670
10671 eval "version=\$DEFAULT_wx${toolkit}_VERSION"
10672 if test "x$version" != "x"; then
10673 eval "wx${toolkit}_VERSION=$version"
10674 fi
10675 fi
10676 eval "wxUSE_$toolkit=\$${var}"
10677 done
10678 fi
10679
10680 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
10681 + ${wxUSE_MGL:-0} + ${wxUSE_MICROWIN:-0} \
10682 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
10683
10684 case "${host}" in
10685 *-pc-os2_emx | *-pc-os2-emx )
10686 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
10687 esac
10688
10689 case "$NUM_TOOLKITS" in
10690 1)
10691 ;;
10692 0)
10693 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
10694 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
10695 { (exit 1); exit 1; }; }
10696 ;;
10697 *)
10698 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
10699 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
10700 { (exit 1); exit 1; }; }
10701 esac
10702
10703 # to be removed when --disable-gtk2 isn't needed
10704 if test "x$wxUSE_GTK2" = "xyes"; then
10705 wxGTK_VERSION=2
10706 elif test "x$wxUSE_GTK2" = "xno"; then
10707 wxGTK_VERSION=1
10708 fi
10709
10710 for toolkit in `echo $ALL_TOOLKITS`; do
10711 var=wxUSE_$toolkit
10712 eval "value=\$${var}"
10713 if test "x$value" != x; then
10714 cache_var=CACHE_$toolkit
10715 eval "cache=\$${cache_var}"
10716 if test "$cache" = 1; then
10717 echo "$var=$value" >> ${wx_arg_cache_file}
10718 eval "version=\$wx${toolkit}_VERSION"
10719 if test "x$version" != "x"; then
10720 echo "wx${toolkit}_VERSION=$version" >> ${wx_arg_cache_file}
10721 fi
10722 fi
10723 if test "$value" = 1; then
10724 toolkit_echo=`echo $toolkit | tr "[A-Z]" "[a-z]"`
10725 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
10726 echo "${ECHO_T}$toolkit_echo" >&6
10727 fi
10728 fi
10729 done
10730 else
10731 if test "x$host_alias" != "x"; then
10732 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
10733 echo "${ECHO_T}base ($host_alias hosted) only" >&6
10734 else
10735 echo "$as_me:$LINENO: result: base only" >&5
10736 echo "${ECHO_T}base only" >&6
10737 fi
10738 fi
10739
10740 wants_win32=0
10741 doesnt_want_win32=0
10742 case "${host}" in
10743 *-*-cygwin*)
10744 if test "$wxUSE_MSW" = 1 ; then
10745 wants_win32=1
10746 BAKEFILE_FORCE_PLATFORM=win32
10747 else
10748 doesnt_want_win32=1
10749 fi
10750 ;;
10751 *-*-mingw*)
10752 wants_win32=1
10753 ;;
10754 esac
10755
10756 if test "$wxUSE_WINE" = "yes"; then
10757 wants_win32=1
10758 CC=winegcc
10759 CXX=wineg++
10760 LDFLAGS_GUI="-mwindows"
10761 fi
10762
10763 if test "$wants_win32" = 1 ; then
10764 USE_UNIX=0
10765 USE_WIN32=1
10766 cat >>confdefs.h <<\_ACEOF
10767 #define __WIN32__ 1
10768 _ACEOF
10769
10770 cat >>confdefs.h <<\_ACEOF
10771 #define __WIN95__ 1
10772 _ACEOF
10773
10774 cat >>confdefs.h <<\_ACEOF
10775 #define __WINDOWS__ 1
10776 _ACEOF
10777
10778 cat >>confdefs.h <<\_ACEOF
10779 #define __GNUWIN32__ 1
10780 _ACEOF
10781
10782 cat >>confdefs.h <<\_ACEOF
10783 #define STRICT 1
10784 _ACEOF
10785
10786 cat >>confdefs.h <<\_ACEOF
10787 #define WINVER 0x0400
10788 _ACEOF
10789
10790 fi
10791 if test "$doesnt_want_win32" = 1 ; then
10792 USE_UNIX=1
10793 USE_WIN32=0
10794 fi
10795
10796 if test "$USE_UNIX" = 1 ; then
10797 wxUSE_UNIX=yes
10798 cat >>confdefs.h <<\_ACEOF
10799 #define __UNIX__ 1
10800 _ACEOF
10801
10802 fi
10803
10804
10805 cat >confcache <<\_ACEOF
10806 # This file is a shell script that caches the results of configure
10807 # tests run on this system so they can be shared between configure
10808 # scripts and configure runs, see configure's option --config-cache.
10809 # It is not useful on other systems. If it contains results you don't
10810 # want to keep, you may remove or edit it.
10811 #
10812 # config.status only pays attention to the cache file if you give it
10813 # the --recheck option to rerun configure.
10814 #
10815 # `ac_cv_env_foo' variables (set or unset) will be overridden when
10816 # loading this file, other *unset* `ac_cv_foo' will be assigned the
10817 # following values.
10818
10819 _ACEOF
10820
10821 # The following way of writing the cache mishandles newlines in values,
10822 # but we know of no workaround that is simple, portable, and efficient.
10823 # So, don't put newlines in cache variables' values.
10824 # Ultrix sh set writes to stderr and can't be redirected directly,
10825 # and sets the high bit in the cache file unless we assign to the vars.
10826 {
10827 (set) 2>&1 |
10828 case `(ac_space=' '; set | grep ac_space) 2>&1` in
10829 *ac_space=\ *)
10830 # `set' does not quote correctly, so add quotes (double-quote
10831 # substitution turns \\\\ into \\, and sed turns \\ into \).
10832 sed -n \
10833 "s/'/'\\\\''/g;
10834 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
10835 ;;
10836 *)
10837 # `set' quotes correctly as required by POSIX, so do not add quotes.
10838 sed -n \
10839 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
10840 ;;
10841 esac;
10842 } |
10843 sed '
10844 t clear
10845 : clear
10846 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
10847 t end
10848 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
10849 : end' >>confcache
10850 if diff $cache_file confcache >/dev/null 2>&1; then :; else
10851 if test -w $cache_file; then
10852 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
10853 cat confcache >$cache_file
10854 else
10855 echo "not updating unwritable cache $cache_file"
10856 fi
10857 fi
10858 rm -f confcache
10859
10860 CFLAGS=${CFLAGS:=}
10861
10862
10863
10864 ac_ext=c
10865 ac_cpp='$CPP $CPPFLAGS'
10866 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10867 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10868 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10869 if test -n "$ac_tool_prefix"; then
10870 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
10871 set dummy ${ac_tool_prefix}gcc; ac_word=$2
10872 echo "$as_me:$LINENO: checking for $ac_word" >&5
10873 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10874 if test "${ac_cv_prog_CC+set}" = set; then
10875 echo $ECHO_N "(cached) $ECHO_C" >&6
10876 else
10877 if test -n "$CC"; then
10878 ac_cv_prog_CC="$CC" # Let the user override the test.
10879 else
10880 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10881 for as_dir in $PATH
10882 do
10883 IFS=$as_save_IFS
10884 test -z "$as_dir" && as_dir=.
10885 for ac_exec_ext in '' $ac_executable_extensions; do
10886 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10887 ac_cv_prog_CC="${ac_tool_prefix}gcc"
10888 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10889 break 2
10890 fi
10891 done
10892 done
10893
10894 fi
10895 fi
10896 CC=$ac_cv_prog_CC
10897 if test -n "$CC"; then
10898 echo "$as_me:$LINENO: result: $CC" >&5
10899 echo "${ECHO_T}$CC" >&6
10900 else
10901 echo "$as_me:$LINENO: result: no" >&5
10902 echo "${ECHO_T}no" >&6
10903 fi
10904
10905 fi
10906 if test -z "$ac_cv_prog_CC"; then
10907 ac_ct_CC=$CC
10908 # Extract the first word of "gcc", so it can be a program name with args.
10909 set dummy gcc; ac_word=$2
10910 echo "$as_me:$LINENO: checking for $ac_word" >&5
10911 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10912 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10913 echo $ECHO_N "(cached) $ECHO_C" >&6
10914 else
10915 if test -n "$ac_ct_CC"; then
10916 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
10917 else
10918 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10919 for as_dir in $PATH
10920 do
10921 IFS=$as_save_IFS
10922 test -z "$as_dir" && as_dir=.
10923 for ac_exec_ext in '' $ac_executable_extensions; do
10924 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10925 ac_cv_prog_ac_ct_CC="gcc"
10926 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10927 break 2
10928 fi
10929 done
10930 done
10931
10932 fi
10933 fi
10934 ac_ct_CC=$ac_cv_prog_ac_ct_CC
10935 if test -n "$ac_ct_CC"; then
10936 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10937 echo "${ECHO_T}$ac_ct_CC" >&6
10938 else
10939 echo "$as_me:$LINENO: result: no" >&5
10940 echo "${ECHO_T}no" >&6
10941 fi
10942
10943 CC=$ac_ct_CC
10944 else
10945 CC="$ac_cv_prog_CC"
10946 fi
10947
10948 if test -z "$CC"; then
10949 if test -n "$ac_tool_prefix"; then
10950 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
10951 set dummy ${ac_tool_prefix}cc; ac_word=$2
10952 echo "$as_me:$LINENO: checking for $ac_word" >&5
10953 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10954 if test "${ac_cv_prog_CC+set}" = set; then
10955 echo $ECHO_N "(cached) $ECHO_C" >&6
10956 else
10957 if test -n "$CC"; then
10958 ac_cv_prog_CC="$CC" # Let the user override the test.
10959 else
10960 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10961 for as_dir in $PATH
10962 do
10963 IFS=$as_save_IFS
10964 test -z "$as_dir" && as_dir=.
10965 for ac_exec_ext in '' $ac_executable_extensions; do
10966 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10967 ac_cv_prog_CC="${ac_tool_prefix}cc"
10968 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10969 break 2
10970 fi
10971 done
10972 done
10973
10974 fi
10975 fi
10976 CC=$ac_cv_prog_CC
10977 if test -n "$CC"; then
10978 echo "$as_me:$LINENO: result: $CC" >&5
10979 echo "${ECHO_T}$CC" >&6
10980 else
10981 echo "$as_me:$LINENO: result: no" >&5
10982 echo "${ECHO_T}no" >&6
10983 fi
10984
10985 fi
10986 if test -z "$ac_cv_prog_CC"; then
10987 ac_ct_CC=$CC
10988 # Extract the first word of "cc", so it can be a program name with args.
10989 set dummy cc; ac_word=$2
10990 echo "$as_me:$LINENO: checking for $ac_word" >&5
10991 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10992 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10993 echo $ECHO_N "(cached) $ECHO_C" >&6
10994 else
10995 if test -n "$ac_ct_CC"; then
10996 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
10997 else
10998 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10999 for as_dir in $PATH
11000 do
11001 IFS=$as_save_IFS
11002 test -z "$as_dir" && as_dir=.
11003 for ac_exec_ext in '' $ac_executable_extensions; do
11004 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11005 ac_cv_prog_ac_ct_CC="cc"
11006 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11007 break 2
11008 fi
11009 done
11010 done
11011
11012 fi
11013 fi
11014 ac_ct_CC=$ac_cv_prog_ac_ct_CC
11015 if test -n "$ac_ct_CC"; then
11016 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
11017 echo "${ECHO_T}$ac_ct_CC" >&6
11018 else
11019 echo "$as_me:$LINENO: result: no" >&5
11020 echo "${ECHO_T}no" >&6
11021 fi
11022
11023 CC=$ac_ct_CC
11024 else
11025 CC="$ac_cv_prog_CC"
11026 fi
11027
11028 fi
11029 if test -z "$CC"; then
11030 # Extract the first word of "cc", so it can be a program name with args.
11031 set dummy cc; ac_word=$2
11032 echo "$as_me:$LINENO: checking for $ac_word" >&5
11033 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11034 if test "${ac_cv_prog_CC+set}" = set; then
11035 echo $ECHO_N "(cached) $ECHO_C" >&6
11036 else
11037 if test -n "$CC"; then
11038 ac_cv_prog_CC="$CC" # Let the user override the test.
11039 else
11040 ac_prog_rejected=no
11041 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11042 for as_dir in $PATH
11043 do
11044 IFS=$as_save_IFS
11045 test -z "$as_dir" && as_dir=.
11046 for ac_exec_ext in '' $ac_executable_extensions; do
11047 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11048 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
11049 ac_prog_rejected=yes
11050 continue
11051 fi
11052 ac_cv_prog_CC="cc"
11053 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11054 break 2
11055 fi
11056 done
11057 done
11058
11059 if test $ac_prog_rejected = yes; then
11060 # We found a bogon in the path, so make sure we never use it.
11061 set dummy $ac_cv_prog_CC
11062 shift
11063 if test $# != 0; then
11064 # We chose a different compiler from the bogus one.
11065 # However, it has the same basename, so the bogon will be chosen
11066 # first if we set CC to just the basename; use the full file name.
11067 shift
11068 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
11069 fi
11070 fi
11071 fi
11072 fi
11073 CC=$ac_cv_prog_CC
11074 if test -n "$CC"; then
11075 echo "$as_me:$LINENO: result: $CC" >&5
11076 echo "${ECHO_T}$CC" >&6
11077 else
11078 echo "$as_me:$LINENO: result: no" >&5
11079 echo "${ECHO_T}no" >&6
11080 fi
11081
11082 fi
11083 if test -z "$CC"; then
11084 if test -n "$ac_tool_prefix"; then
11085 for ac_prog in cl
11086 do
11087 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11088 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
11089 echo "$as_me:$LINENO: checking for $ac_word" >&5
11090 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11091 if test "${ac_cv_prog_CC+set}" = set; then
11092 echo $ECHO_N "(cached) $ECHO_C" >&6
11093 else
11094 if test -n "$CC"; then
11095 ac_cv_prog_CC="$CC" # Let the user override the test.
11096 else
11097 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11098 for as_dir in $PATH
11099 do
11100 IFS=$as_save_IFS
11101 test -z "$as_dir" && as_dir=.
11102 for ac_exec_ext in '' $ac_executable_extensions; do
11103 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11104 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
11105 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11106 break 2
11107 fi
11108 done
11109 done
11110
11111 fi
11112 fi
11113 CC=$ac_cv_prog_CC
11114 if test -n "$CC"; then
11115 echo "$as_me:$LINENO: result: $CC" >&5
11116 echo "${ECHO_T}$CC" >&6
11117 else
11118 echo "$as_me:$LINENO: result: no" >&5
11119 echo "${ECHO_T}no" >&6
11120 fi
11121
11122 test -n "$CC" && break
11123 done
11124 fi
11125 if test -z "$CC"; then
11126 ac_ct_CC=$CC
11127 for ac_prog in cl
11128 do
11129 # Extract the first word of "$ac_prog", so it can be a program name with args.
11130 set dummy $ac_prog; ac_word=$2
11131 echo "$as_me:$LINENO: checking for $ac_word" >&5
11132 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11133 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
11134 echo $ECHO_N "(cached) $ECHO_C" >&6
11135 else
11136 if test -n "$ac_ct_CC"; then
11137 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
11138 else
11139 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11140 for as_dir in $PATH
11141 do
11142 IFS=$as_save_IFS
11143 test -z "$as_dir" && as_dir=.
11144 for ac_exec_ext in '' $ac_executable_extensions; do
11145 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11146 ac_cv_prog_ac_ct_CC="$ac_prog"
11147 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11148 break 2
11149 fi
11150 done
11151 done
11152
11153 fi
11154 fi
11155 ac_ct_CC=$ac_cv_prog_ac_ct_CC
11156 if test -n "$ac_ct_CC"; then
11157 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
11158 echo "${ECHO_T}$ac_ct_CC" >&6
11159 else
11160 echo "$as_me:$LINENO: result: no" >&5
11161 echo "${ECHO_T}no" >&6
11162 fi
11163
11164 test -n "$ac_ct_CC" && break
11165 done
11166
11167 CC=$ac_ct_CC
11168 fi
11169
11170 fi
11171
11172
11173 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
11174 See \`config.log' for more details." >&5
11175 echo "$as_me: error: no acceptable C compiler found in \$PATH
11176 See \`config.log' for more details." >&2;}
11177 { (exit 1); exit 1; }; }
11178
11179 # Provide some information about the compiler.
11180 echo "$as_me:$LINENO:" \
11181 "checking for C compiler version" >&5
11182 ac_compiler=`set X $ac_compile; echo $2`
11183 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
11184 (eval $ac_compiler --version </dev/null >&5) 2>&5
11185 ac_status=$?
11186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11187 (exit $ac_status); }
11188 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
11189 (eval $ac_compiler -v </dev/null >&5) 2>&5
11190 ac_status=$?
11191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11192 (exit $ac_status); }
11193 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
11194 (eval $ac_compiler -V </dev/null >&5) 2>&5
11195 ac_status=$?
11196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11197 (exit $ac_status); }
11198
11199 cat >conftest.$ac_ext <<_ACEOF
11200 /* confdefs.h. */
11201 _ACEOF
11202 cat confdefs.h >>conftest.$ac_ext
11203 cat >>conftest.$ac_ext <<_ACEOF
11204 /* end confdefs.h. */
11205
11206 int
11207 main ()
11208 {
11209
11210 ;
11211 return 0;
11212 }
11213 _ACEOF
11214 ac_clean_files_save=$ac_clean_files
11215 ac_clean_files="$ac_clean_files a.out a.exe b.out"
11216 # Try to create an executable without -o first, disregard a.out.
11217 # It will help us diagnose broken compilers, and finding out an intuition
11218 # of exeext.
11219 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
11220 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
11221 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
11222 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
11223 (eval $ac_link_default) 2>&5
11224 ac_status=$?
11225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11226 (exit $ac_status); }; then
11227 # Find the output, starting from the most likely. This scheme is
11228 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
11229 # resort.
11230
11231 # Be careful to initialize this variable, since it used to be cached.
11232 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
11233 ac_cv_exeext=
11234 # b.out is created by i960 compilers.
11235 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
11236 do
11237 test -f "$ac_file" || continue
11238 case $ac_file in
11239 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
11240 ;;
11241 conftest.$ac_ext )
11242 # This is the source file.
11243 ;;
11244 [ab].out )
11245 # We found the default executable, but exeext='' is most
11246 # certainly right.
11247 break;;
11248 *.* )
11249 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
11250 # FIXME: I believe we export ac_cv_exeext for Libtool,
11251 # but it would be cool to find out if it's true. Does anybody
11252 # maintain Libtool? --akim.
11253 export ac_cv_exeext
11254 break;;
11255 * )
11256 break;;
11257 esac
11258 done
11259 else
11260 echo "$as_me: failed program was:" >&5
11261 sed 's/^/| /' conftest.$ac_ext >&5
11262
11263 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
11264 See \`config.log' for more details." >&5
11265 echo "$as_me: error: C compiler cannot create executables
11266 See \`config.log' for more details." >&2;}
11267 { (exit 77); exit 77; }; }
11268 fi
11269
11270 ac_exeext=$ac_cv_exeext
11271 echo "$as_me:$LINENO: result: $ac_file" >&5
11272 echo "${ECHO_T}$ac_file" >&6
11273
11274 # Check the compiler produces executables we can run. If not, either
11275 # the compiler is broken, or we cross compile.
11276 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
11277 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
11278 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
11279 # If not cross compiling, check that we can run a simple program.
11280 if test "$cross_compiling" != yes; then
11281 if { ac_try='./$ac_file'
11282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11283 (eval $ac_try) 2>&5
11284 ac_status=$?
11285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11286 (exit $ac_status); }; }; then
11287 cross_compiling=no
11288 else
11289 if test "$cross_compiling" = maybe; then
11290 cross_compiling=yes
11291 else
11292 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
11293 If you meant to cross compile, use \`--host'.
11294 See \`config.log' for more details." >&5
11295 echo "$as_me: error: cannot run C compiled programs.
11296 If you meant to cross compile, use \`--host'.
11297 See \`config.log' for more details." >&2;}
11298 { (exit 1); exit 1; }; }
11299 fi
11300 fi
11301 fi
11302 echo "$as_me:$LINENO: result: yes" >&5
11303 echo "${ECHO_T}yes" >&6
11304
11305 rm -f a.out a.exe conftest$ac_cv_exeext b.out
11306 ac_clean_files=$ac_clean_files_save
11307 # Check the compiler produces executables we can run. If not, either
11308 # the compiler is broken, or we cross compile.
11309 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
11310 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
11311 echo "$as_me:$LINENO: result: $cross_compiling" >&5
11312 echo "${ECHO_T}$cross_compiling" >&6
11313
11314 echo "$as_me:$LINENO: checking for suffix of executables" >&5
11315 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
11316 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11317 (eval $ac_link) 2>&5
11318 ac_status=$?
11319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11320 (exit $ac_status); }; then
11321 # If both `conftest.exe' and `conftest' are `present' (well, observable)
11322 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
11323 # work properly (i.e., refer to `conftest.exe'), while it won't with
11324 # `rm'.
11325 for ac_file in conftest.exe conftest conftest.*; do
11326 test -f "$ac_file" || continue
11327 case $ac_file in
11328 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
11329 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
11330 export ac_cv_exeext
11331 break;;
11332 * ) break;;
11333 esac
11334 done
11335 else
11336 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
11337 See \`config.log' for more details." >&5
11338 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
11339 See \`config.log' for more details." >&2;}
11340 { (exit 1); exit 1; }; }
11341 fi
11342
11343 rm -f conftest$ac_cv_exeext
11344 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
11345 echo "${ECHO_T}$ac_cv_exeext" >&6
11346
11347 rm -f conftest.$ac_ext
11348 EXEEXT=$ac_cv_exeext
11349 ac_exeext=$EXEEXT
11350 echo "$as_me:$LINENO: checking for suffix of object files" >&5
11351 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
11352 if test "${ac_cv_objext+set}" = set; then
11353 echo $ECHO_N "(cached) $ECHO_C" >&6
11354 else
11355 cat >conftest.$ac_ext <<_ACEOF
11356 /* confdefs.h. */
11357 _ACEOF
11358 cat confdefs.h >>conftest.$ac_ext
11359 cat >>conftest.$ac_ext <<_ACEOF
11360 /* end confdefs.h. */
11361
11362 int
11363 main ()
11364 {
11365
11366 ;
11367 return 0;
11368 }
11369 _ACEOF
11370 rm -f conftest.o conftest.obj
11371 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11372 (eval $ac_compile) 2>&5
11373 ac_status=$?
11374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11375 (exit $ac_status); }; then
11376 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
11377 case $ac_file in
11378 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
11379 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
11380 break;;
11381 esac
11382 done
11383 else
11384 echo "$as_me: failed program was:" >&5
11385 sed 's/^/| /' conftest.$ac_ext >&5
11386
11387 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
11388 See \`config.log' for more details." >&5
11389 echo "$as_me: error: cannot compute suffix of object files: cannot compile
11390 See \`config.log' for more details." >&2;}
11391 { (exit 1); exit 1; }; }
11392 fi
11393
11394 rm -f conftest.$ac_cv_objext conftest.$ac_ext
11395 fi
11396 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
11397 echo "${ECHO_T}$ac_cv_objext" >&6
11398 OBJEXT=$ac_cv_objext
11399 ac_objext=$OBJEXT
11400 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
11401 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
11402 if test "${ac_cv_c_compiler_gnu+set}" = set; then
11403 echo $ECHO_N "(cached) $ECHO_C" >&6
11404 else
11405 cat >conftest.$ac_ext <<_ACEOF
11406 /* confdefs.h. */
11407 _ACEOF
11408 cat confdefs.h >>conftest.$ac_ext
11409 cat >>conftest.$ac_ext <<_ACEOF
11410 /* end confdefs.h. */
11411
11412 int
11413 main ()
11414 {
11415 #ifndef __GNUC__
11416 choke me
11417 #endif
11418
11419 ;
11420 return 0;
11421 }
11422 _ACEOF
11423 rm -f conftest.$ac_objext
11424 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11425 (eval $ac_compile) 2>conftest.er1
11426 ac_status=$?
11427 grep -v '^ *+' conftest.er1 >conftest.err
11428 rm -f conftest.er1
11429 cat conftest.err >&5
11430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11431 (exit $ac_status); } &&
11432 { ac_try='test -z "$ac_c_werror_flag"
11433 || test ! -s conftest.err'
11434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11435 (eval $ac_try) 2>&5
11436 ac_status=$?
11437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11438 (exit $ac_status); }; } &&
11439 { ac_try='test -s conftest.$ac_objext'
11440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11441 (eval $ac_try) 2>&5
11442 ac_status=$?
11443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11444 (exit $ac_status); }; }; then
11445 ac_compiler_gnu=yes
11446 else
11447 echo "$as_me: failed program was:" >&5
11448 sed 's/^/| /' conftest.$ac_ext >&5
11449
11450 ac_compiler_gnu=no
11451 fi
11452 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11453 ac_cv_c_compiler_gnu=$ac_compiler_gnu
11454
11455 fi
11456 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
11457 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
11458 GCC=`test $ac_compiler_gnu = yes && echo yes`
11459 ac_test_CFLAGS=${CFLAGS+set}
11460 ac_save_CFLAGS=$CFLAGS
11461 CFLAGS="-g"
11462 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
11463 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
11464 if test "${ac_cv_prog_cc_g+set}" = set; then
11465 echo $ECHO_N "(cached) $ECHO_C" >&6
11466 else
11467 cat >conftest.$ac_ext <<_ACEOF
11468 /* confdefs.h. */
11469 _ACEOF
11470 cat confdefs.h >>conftest.$ac_ext
11471 cat >>conftest.$ac_ext <<_ACEOF
11472 /* end confdefs.h. */
11473
11474 int
11475 main ()
11476 {
11477
11478 ;
11479 return 0;
11480 }
11481 _ACEOF
11482 rm -f conftest.$ac_objext
11483 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11484 (eval $ac_compile) 2>conftest.er1
11485 ac_status=$?
11486 grep -v '^ *+' conftest.er1 >conftest.err
11487 rm -f conftest.er1
11488 cat conftest.err >&5
11489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11490 (exit $ac_status); } &&
11491 { ac_try='test -z "$ac_c_werror_flag"
11492 || test ! -s conftest.err'
11493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11494 (eval $ac_try) 2>&5
11495 ac_status=$?
11496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11497 (exit $ac_status); }; } &&
11498 { ac_try='test -s conftest.$ac_objext'
11499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11500 (eval $ac_try) 2>&5
11501 ac_status=$?
11502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11503 (exit $ac_status); }; }; then
11504 ac_cv_prog_cc_g=yes
11505 else
11506 echo "$as_me: failed program was:" >&5
11507 sed 's/^/| /' conftest.$ac_ext >&5
11508
11509 ac_cv_prog_cc_g=no
11510 fi
11511 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11512 fi
11513 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
11514 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
11515 if test "$ac_test_CFLAGS" = set; then
11516 CFLAGS=$ac_save_CFLAGS
11517 elif test $ac_cv_prog_cc_g = yes; then
11518 if test "$GCC" = yes; then
11519 CFLAGS="-g -O2"
11520 else
11521 CFLAGS="-g"
11522 fi
11523 else
11524 if test "$GCC" = yes; then
11525 CFLAGS="-O2"
11526 else
11527 CFLAGS=
11528 fi
11529 fi
11530 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
11531 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
11532 if test "${ac_cv_prog_cc_stdc+set}" = set; then
11533 echo $ECHO_N "(cached) $ECHO_C" >&6
11534 else
11535 ac_cv_prog_cc_stdc=no
11536 ac_save_CC=$CC
11537 cat >conftest.$ac_ext <<_ACEOF
11538 /* confdefs.h. */
11539 _ACEOF
11540 cat confdefs.h >>conftest.$ac_ext
11541 cat >>conftest.$ac_ext <<_ACEOF
11542 /* end confdefs.h. */
11543 #include <stdarg.h>
11544 #include <stdio.h>
11545 #include <sys/types.h>
11546 #include <sys/stat.h>
11547 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
11548 struct buf { int x; };
11549 FILE * (*rcsopen) (struct buf *, struct stat *, int);
11550 static char *e (p, i)
11551 char **p;
11552 int i;
11553 {
11554 return p[i];
11555 }
11556 static char *f (char * (*g) (char **, int), char **p, ...)
11557 {
11558 char *s;
11559 va_list v;
11560 va_start (v,p);
11561 s = g (p, va_arg (v,int));
11562 va_end (v);
11563 return s;
11564 }
11565
11566 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
11567 function prototypes and stuff, but not '\xHH' hex character constants.
11568 These don't provoke an error unfortunately, instead are silently treated
11569 as 'x'. The following induces an error, until -std1 is added to get
11570 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
11571 array size at least. It's necessary to write '\x00'==0 to get something
11572 that's true only with -std1. */
11573 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
11574
11575 int test (int i, double x);
11576 struct s1 {int (*f) (int a);};
11577 struct s2 {int (*f) (double a);};
11578 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
11579 int argc;
11580 char **argv;
11581 int
11582 main ()
11583 {
11584 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
11585 ;
11586 return 0;
11587 }
11588 _ACEOF
11589 # Don't try gcc -ansi; that turns off useful extensions and
11590 # breaks some systems' header files.
11591 # AIX -qlanglvl=ansi
11592 # Ultrix and OSF/1 -std1
11593 # HP-UX 10.20 and later -Ae
11594 # HP-UX older versions -Aa -D_HPUX_SOURCE
11595 # SVR4 -Xc -D__EXTENSIONS__
11596 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
11597 do
11598 CC="$ac_save_CC $ac_arg"
11599 rm -f conftest.$ac_objext
11600 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11601 (eval $ac_compile) 2>conftest.er1
11602 ac_status=$?
11603 grep -v '^ *+' conftest.er1 >conftest.err
11604 rm -f conftest.er1
11605 cat conftest.err >&5
11606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11607 (exit $ac_status); } &&
11608 { ac_try='test -z "$ac_c_werror_flag"
11609 || test ! -s conftest.err'
11610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11611 (eval $ac_try) 2>&5
11612 ac_status=$?
11613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11614 (exit $ac_status); }; } &&
11615 { ac_try='test -s conftest.$ac_objext'
11616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11617 (eval $ac_try) 2>&5
11618 ac_status=$?
11619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11620 (exit $ac_status); }; }; then
11621 ac_cv_prog_cc_stdc=$ac_arg
11622 break
11623 else
11624 echo "$as_me: failed program was:" >&5
11625 sed 's/^/| /' conftest.$ac_ext >&5
11626
11627 fi
11628 rm -f conftest.err conftest.$ac_objext
11629 done
11630 rm -f conftest.$ac_ext conftest.$ac_objext
11631 CC=$ac_save_CC
11632
11633 fi
11634
11635 case "x$ac_cv_prog_cc_stdc" in
11636 x|xno)
11637 echo "$as_me:$LINENO: result: none needed" >&5
11638 echo "${ECHO_T}none needed" >&6 ;;
11639 *)
11640 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
11641 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
11642 CC="$CC $ac_cv_prog_cc_stdc" ;;
11643 esac
11644
11645 # Some people use a C++ compiler to compile C. Since we use `exit',
11646 # in C++ we need to declare it. In case someone uses the same compiler
11647 # for both compiling C and C++ we need to have the C++ compiler decide
11648 # the declaration of exit, since it's the most demanding environment.
11649 cat >conftest.$ac_ext <<_ACEOF
11650 #ifndef __cplusplus
11651 choke me
11652 #endif
11653 _ACEOF
11654 rm -f conftest.$ac_objext
11655 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11656 (eval $ac_compile) 2>conftest.er1
11657 ac_status=$?
11658 grep -v '^ *+' conftest.er1 >conftest.err
11659 rm -f conftest.er1
11660 cat conftest.err >&5
11661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11662 (exit $ac_status); } &&
11663 { ac_try='test -z "$ac_c_werror_flag"
11664 || test ! -s conftest.err'
11665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11666 (eval $ac_try) 2>&5
11667 ac_status=$?
11668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11669 (exit $ac_status); }; } &&
11670 { ac_try='test -s conftest.$ac_objext'
11671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11672 (eval $ac_try) 2>&5
11673 ac_status=$?
11674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11675 (exit $ac_status); }; }; then
11676 for ac_declaration in \
11677 '' \
11678 'extern "C" void std::exit (int) throw (); using std::exit;' \
11679 'extern "C" void std::exit (int); using std::exit;' \
11680 'extern "C" void exit (int) throw ();' \
11681 'extern "C" void exit (int);' \
11682 'void exit (int);'
11683 do
11684 cat >conftest.$ac_ext <<_ACEOF
11685 /* confdefs.h. */
11686 _ACEOF
11687 cat confdefs.h >>conftest.$ac_ext
11688 cat >>conftest.$ac_ext <<_ACEOF
11689 /* end confdefs.h. */
11690 $ac_declaration
11691 #include <stdlib.h>
11692 int
11693 main ()
11694 {
11695 exit (42);
11696 ;
11697 return 0;
11698 }
11699 _ACEOF
11700 rm -f conftest.$ac_objext
11701 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11702 (eval $ac_compile) 2>conftest.er1
11703 ac_status=$?
11704 grep -v '^ *+' conftest.er1 >conftest.err
11705 rm -f conftest.er1
11706 cat conftest.err >&5
11707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11708 (exit $ac_status); } &&
11709 { ac_try='test -z "$ac_c_werror_flag"
11710 || test ! -s conftest.err'
11711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11712 (eval $ac_try) 2>&5
11713 ac_status=$?
11714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11715 (exit $ac_status); }; } &&
11716 { ac_try='test -s conftest.$ac_objext'
11717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11718 (eval $ac_try) 2>&5
11719 ac_status=$?
11720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11721 (exit $ac_status); }; }; then
11722 :
11723 else
11724 echo "$as_me: failed program was:" >&5
11725 sed 's/^/| /' conftest.$ac_ext >&5
11726
11727 continue
11728 fi
11729 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11730 cat >conftest.$ac_ext <<_ACEOF
11731 /* confdefs.h. */
11732 _ACEOF
11733 cat confdefs.h >>conftest.$ac_ext
11734 cat >>conftest.$ac_ext <<_ACEOF
11735 /* end confdefs.h. */
11736 $ac_declaration
11737 int
11738 main ()
11739 {
11740 exit (42);
11741 ;
11742 return 0;
11743 }
11744 _ACEOF
11745 rm -f conftest.$ac_objext
11746 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11747 (eval $ac_compile) 2>conftest.er1
11748 ac_status=$?
11749 grep -v '^ *+' conftest.er1 >conftest.err
11750 rm -f conftest.er1
11751 cat conftest.err >&5
11752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11753 (exit $ac_status); } &&
11754 { ac_try='test -z "$ac_c_werror_flag"
11755 || test ! -s conftest.err'
11756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11757 (eval $ac_try) 2>&5
11758 ac_status=$?
11759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11760 (exit $ac_status); }; } &&
11761 { ac_try='test -s conftest.$ac_objext'
11762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11763 (eval $ac_try) 2>&5
11764 ac_status=$?
11765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11766 (exit $ac_status); }; }; then
11767 break
11768 else
11769 echo "$as_me: failed program was:" >&5
11770 sed 's/^/| /' conftest.$ac_ext >&5
11771
11772 fi
11773 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11774 done
11775 rm -f conftest*
11776 if test -n "$ac_declaration"; then
11777 echo '#ifdef __cplusplus' >>confdefs.h
11778 echo $ac_declaration >>confdefs.h
11779 echo '#endif' >>confdefs.h
11780 fi
11781
11782 else
11783 echo "$as_me: failed program was:" >&5
11784 sed 's/^/| /' conftest.$ac_ext >&5
11785
11786 fi
11787 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11788 ac_ext=c
11789 ac_cpp='$CPP $CPPFLAGS'
11790 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11791 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11792 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11793
11794
11795
11796 ac_ext=c
11797 ac_cpp='$CPP $CPPFLAGS'
11798 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11799 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11800 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11801
11802 echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
11803 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6
11804 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
11805 echo $ECHO_N "(cached) $ECHO_C" >&6
11806 else
11807 cat >conftest.$ac_ext <<_ACEOF
11808 /* confdefs.h. */
11809 _ACEOF
11810 cat confdefs.h >>conftest.$ac_ext
11811 cat >>conftest.$ac_ext <<_ACEOF
11812 /* end confdefs.h. */
11813
11814 int
11815 main ()
11816 {
11817
11818 #ifndef __INTEL_COMPILER
11819 choke me
11820 #endif
11821
11822 ;
11823 return 0;
11824 }
11825 _ACEOF
11826 rm -f conftest.$ac_objext
11827 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11828 (eval $ac_compile) 2>conftest.er1
11829 ac_status=$?
11830 grep -v '^ *+' conftest.er1 >conftest.err
11831 rm -f conftest.er1
11832 cat conftest.err >&5
11833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11834 (exit $ac_status); } &&
11835 { ac_try='test -z "$ac_c_werror_flag"
11836 || test ! -s conftest.err'
11837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11838 (eval $ac_try) 2>&5
11839 ac_status=$?
11840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11841 (exit $ac_status); }; } &&
11842 { ac_try='test -s conftest.$ac_objext'
11843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11844 (eval $ac_try) 2>&5
11845 ac_status=$?
11846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11847 (exit $ac_status); }; }; then
11848 bakefile_cv_c_compiler___INTEL_COMPILER=yes
11849 else
11850 echo "$as_me: failed program was:" >&5
11851 sed 's/^/| /' conftest.$ac_ext >&5
11852
11853 bakefile_cv_c_compiler___INTEL_COMPILER=no
11854
11855 fi
11856 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11857
11858
11859 fi
11860 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
11861 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6
11862 ac_ext=c
11863 ac_cpp='$CPP $CPPFLAGS'
11864 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11865 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11866 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11867
11868 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
11869 :; INTELCC=yes
11870 else
11871 :;
11872 fi
11873
11874
11875 if test "x$GCC" != "xyes"; then
11876 if test "xCC" = "xC"; then
11877 echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
11878 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6
11879 if test "${bakefile_cv_c_exto+set}" = set; then
11880 echo $ECHO_N "(cached) $ECHO_C" >&6
11881 else
11882 cat >conftest.$ac_ext <<_ACEOF
11883 /* confdefs.h. */
11884 _ACEOF
11885 cat confdefs.h >>conftest.$ac_ext
11886 cat >>conftest.$ac_ext <<_ACEOF
11887 /* end confdefs.h. */
11888
11889 int
11890 main ()
11891 {
11892
11893 ;
11894 return 0;
11895 }
11896 _ACEOF
11897 rm -f conftest.$ac_objext conftest.$ac_ext.o
11898 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11899 (eval $ac_compile) 2>&5
11900 ac_status=$?
11901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11902 (exit $ac_status); }; then
11903 for ac_file in `(ls conftest.* 2>/dev/null)`; do
11904 case $ac_file in
11905 conftest.$ac_ext.o)
11906 bakefile_cv_c_exto="-ext o"
11907 ;;
11908 *)
11909 ;;
11910 esac
11911 done
11912 else
11913 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
11914 See \`config.log' for more details." >&5
11915 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
11916 See \`config.log' for more details." >&2;}
11917 { (exit 1); exit 1; }; }
11918
11919 fi
11920
11921 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
11922
11923 fi
11924 echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
11925 echo "${ECHO_T}$bakefile_cv_c_exto" >&6
11926 if test "x$bakefile_cv_c_exto" '!=' "x"; then
11927 if test "c" = "c"; then
11928 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
11929 fi
11930 if test "c" = "cxx"; then
11931 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
11932 fi
11933 fi
11934
11935 if test "x$bakefile_cv_c_exto" '!=' "x"; then
11936 unset ac_cv_prog_cc_g
11937 ac_test_CFLAGS=${CFLAGS+set}
11938 ac_save_CFLAGS=$CFLAGS
11939 CFLAGS="-g"
11940 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
11941 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
11942 if test "${ac_cv_prog_cc_g+set}" = set; then
11943 echo $ECHO_N "(cached) $ECHO_C" >&6
11944 else
11945 cat >conftest.$ac_ext <<_ACEOF
11946 /* confdefs.h. */
11947 _ACEOF
11948 cat confdefs.h >>conftest.$ac_ext
11949 cat >>conftest.$ac_ext <<_ACEOF
11950 /* end confdefs.h. */
11951
11952 int
11953 main ()
11954 {
11955
11956 ;
11957 return 0;
11958 }
11959 _ACEOF
11960 rm -f conftest.$ac_objext
11961 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11962 (eval $ac_compile) 2>conftest.er1
11963 ac_status=$?
11964 grep -v '^ *+' conftest.er1 >conftest.err
11965 rm -f conftest.er1
11966 cat conftest.err >&5
11967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11968 (exit $ac_status); } &&
11969 { ac_try='test -z "$ac_c_werror_flag"
11970 || test ! -s conftest.err'
11971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11972 (eval $ac_try) 2>&5
11973 ac_status=$?
11974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11975 (exit $ac_status); }; } &&
11976 { ac_try='test -s conftest.$ac_objext'
11977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11978 (eval $ac_try) 2>&5
11979 ac_status=$?
11980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11981 (exit $ac_status); }; }; then
11982 ac_cv_prog_cc_g=yes
11983 else
11984 echo "$as_me: failed program was:" >&5
11985 sed 's/^/| /' conftest.$ac_ext >&5
11986
11987 ac_cv_prog_cc_g=no
11988 fi
11989 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11990 fi
11991 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
11992 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
11993 if test "$ac_test_CFLAGS" = set; then
11994 CFLAGS=$ac_save_CFLAGS
11995 elif test $ac_cv_prog_cc_g = yes; then
11996 if test "$GCC" = yes; then
11997 CFLAGS="-g -O2"
11998 else
11999 CFLAGS="-g"
12000 fi
12001 else
12002 if test "$GCC" = yes; then
12003 CFLAGS="-O2"
12004 else
12005 CFLAGS=
12006 fi
12007 fi
12008 fi
12009 fi
12010
12011 case `uname -s` in
12012 AIX*)
12013 ac_ext=c
12014 ac_cpp='$CPP $CPPFLAGS'
12015 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12016 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12017 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12018
12019 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
12020 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6
12021 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
12022 echo $ECHO_N "(cached) $ECHO_C" >&6
12023 else
12024 cat >conftest.$ac_ext <<_ACEOF
12025 /* confdefs.h. */
12026 _ACEOF
12027 cat confdefs.h >>conftest.$ac_ext
12028 cat >>conftest.$ac_ext <<_ACEOF
12029 /* end confdefs.h. */
12030
12031 int
12032 main ()
12033 {
12034 #ifndef __xlC__
12035 choke me
12036 #endif
12037
12038 ;
12039 return 0;
12040 }
12041 _ACEOF
12042 rm -f conftest.$ac_objext
12043 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12044 (eval $ac_compile) 2>conftest.er1
12045 ac_status=$?
12046 grep -v '^ *+' conftest.er1 >conftest.err
12047 rm -f conftest.er1
12048 cat conftest.err >&5
12049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12050 (exit $ac_status); } &&
12051 { ac_try='test -z "$ac_c_werror_flag"
12052 || test ! -s conftest.err'
12053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12054 (eval $ac_try) 2>&5
12055 ac_status=$?
12056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12057 (exit $ac_status); }; } &&
12058 { ac_try='test -s conftest.$ac_objext'
12059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12060 (eval $ac_try) 2>&5
12061 ac_status=$?
12062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12063 (exit $ac_status); }; }; then
12064 bakefile_compiler_xlc=yes
12065 else
12066 echo "$as_me: failed program was:" >&5
12067 sed 's/^/| /' conftest.$ac_ext >&5
12068
12069 bakefile_compiler_xlc=no
12070 fi
12071 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12072 bakefile_cv_c_compiler_xlc=$bakefile_compiler_xlc
12073
12074 fi
12075 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
12076 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6
12077
12078 XLCC=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
12079 ac_ext=c
12080 ac_cpp='$CPP $CPPFLAGS'
12081 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12082 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12083 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12084
12085
12086 ;;
12087
12088 Darwin)
12089 ac_ext=c
12090 ac_cpp='$CPP $CPPFLAGS'
12091 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12092 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12093 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12094
12095 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
12096 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6
12097 if test "${bakefile_cv_c_compiler_mwerks+set}" = set; then
12098 echo $ECHO_N "(cached) $ECHO_C" >&6
12099 else
12100 cat >conftest.$ac_ext <<_ACEOF
12101 /* confdefs.h. */
12102 _ACEOF
12103 cat confdefs.h >>conftest.$ac_ext
12104 cat >>conftest.$ac_ext <<_ACEOF
12105 /* end confdefs.h. */
12106
12107 int
12108 main ()
12109 {
12110 #ifndef __MWERKS__
12111 choke me
12112 #endif
12113
12114 ;
12115 return 0;
12116 }
12117 _ACEOF
12118 rm -f conftest.$ac_objext
12119 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12120 (eval $ac_compile) 2>conftest.er1
12121 ac_status=$?
12122 grep -v '^ *+' conftest.er1 >conftest.err
12123 rm -f conftest.er1
12124 cat conftest.err >&5
12125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12126 (exit $ac_status); } &&
12127 { ac_try='test -z "$ac_c_werror_flag"
12128 || test ! -s conftest.err'
12129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12130 (eval $ac_try) 2>&5
12131 ac_status=$?
12132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12133 (exit $ac_status); }; } &&
12134 { ac_try='test -s conftest.$ac_objext'
12135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12136 (eval $ac_try) 2>&5
12137 ac_status=$?
12138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12139 (exit $ac_status); }; }; then
12140 bakefile_compiler_mwerks=yes
12141 else
12142 echo "$as_me: failed program was:" >&5
12143 sed 's/^/| /' conftest.$ac_ext >&5
12144
12145 bakefile_compiler_mwerks=no
12146 fi
12147 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12148 bakefile_cv_c_compiler_mwerks=$bakefile_compiler_mwerks
12149
12150 fi
12151 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_mwerks" >&5
12152 echo "${ECHO_T}$bakefile_cv_c_compiler_mwerks" >&6
12153
12154 MWCC=`test $bakefile_cv_c_compiler_mwerks = yes && echo yes`
12155 ac_ext=c
12156 ac_cpp='$CPP $CPPFLAGS'
12157 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12158 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12159 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12160
12161
12162 ac_ext=c
12163 ac_cpp='$CPP $CPPFLAGS'
12164 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12165 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12166 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12167
12168 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
12169 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6
12170 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
12171 echo $ECHO_N "(cached) $ECHO_C" >&6
12172 else
12173 cat >conftest.$ac_ext <<_ACEOF
12174 /* confdefs.h. */
12175 _ACEOF
12176 cat confdefs.h >>conftest.$ac_ext
12177 cat >>conftest.$ac_ext <<_ACEOF
12178 /* end confdefs.h. */
12179
12180 int
12181 main ()
12182 {
12183 #ifndef __xlC__
12184 choke me
12185 #endif
12186
12187 ;
12188 return 0;
12189 }
12190 _ACEOF
12191 rm -f conftest.$ac_objext
12192 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12193 (eval $ac_compile) 2>conftest.er1
12194 ac_status=$?
12195 grep -v '^ *+' conftest.er1 >conftest.err
12196 rm -f conftest.er1
12197 cat conftest.err >&5
12198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12199 (exit $ac_status); } &&
12200 { ac_try='test -z "$ac_c_werror_flag"
12201 || test ! -s conftest.err'
12202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12203 (eval $ac_try) 2>&5
12204 ac_status=$?
12205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12206 (exit $ac_status); }; } &&
12207 { ac_try='test -s conftest.$ac_objext'
12208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12209 (eval $ac_try) 2>&5
12210 ac_status=$?
12211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12212 (exit $ac_status); }; }; then
12213 bakefile_compiler_xlc=yes
12214 else
12215 echo "$as_me: failed program was:" >&5
12216 sed 's/^/| /' conftest.$ac_ext >&5
12217
12218 bakefile_compiler_xlc=no
12219 fi
12220 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12221 bakefile_cv_c_compiler_xlc=$bakefile_compiler_xlc
12222
12223 fi
12224 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
12225 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6
12226
12227 XLCC=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
12228 ac_ext=c
12229 ac_cpp='$CPP $CPPFLAGS'
12230 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12231 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12232 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12233
12234
12235 ;;
12236
12237 IRIX*)
12238
12239
12240 ac_ext=c
12241 ac_cpp='$CPP $CPPFLAGS'
12242 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12243 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12244 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12245
12246 echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
12247 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6
12248 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
12249 echo $ECHO_N "(cached) $ECHO_C" >&6
12250 else
12251 cat >conftest.$ac_ext <<_ACEOF
12252 /* confdefs.h. */
12253 _ACEOF
12254 cat confdefs.h >>conftest.$ac_ext
12255 cat >>conftest.$ac_ext <<_ACEOF
12256 /* end confdefs.h. */
12257
12258 int
12259 main ()
12260 {
12261
12262 #ifndef _SGI_COMPILER_VERSION
12263 choke me
12264 #endif
12265
12266 ;
12267 return 0;
12268 }
12269 _ACEOF
12270 rm -f conftest.$ac_objext
12271 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12272 (eval $ac_compile) 2>conftest.er1
12273 ac_status=$?
12274 grep -v '^ *+' conftest.er1 >conftest.err
12275 rm -f conftest.er1
12276 cat conftest.err >&5
12277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12278 (exit $ac_status); } &&
12279 { ac_try='test -z "$ac_c_werror_flag"
12280 || test ! -s conftest.err'
12281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12282 (eval $ac_try) 2>&5
12283 ac_status=$?
12284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12285 (exit $ac_status); }; } &&
12286 { ac_try='test -s conftest.$ac_objext'
12287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12288 (eval $ac_try) 2>&5
12289 ac_status=$?
12290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12291 (exit $ac_status); }; }; then
12292 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
12293 else
12294 echo "$as_me: failed program was:" >&5
12295 sed 's/^/| /' conftest.$ac_ext >&5
12296
12297 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
12298
12299 fi
12300 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12301
12302
12303 fi
12304 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
12305 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6
12306 ac_ext=c
12307 ac_cpp='$CPP $CPPFLAGS'
12308 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12309 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12310 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12311
12312 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
12313 :; SGICC=yes
12314 else
12315 :;
12316 fi
12317
12318
12319 ;;
12320
12321 HP-UX*)
12322
12323
12324 ac_ext=c
12325 ac_cpp='$CPP $CPPFLAGS'
12326 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12327 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12328 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12329
12330 echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
12331 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6
12332 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
12333 echo $ECHO_N "(cached) $ECHO_C" >&6
12334 else
12335 cat >conftest.$ac_ext <<_ACEOF
12336 /* confdefs.h. */
12337 _ACEOF
12338 cat confdefs.h >>conftest.$ac_ext
12339 cat >>conftest.$ac_ext <<_ACEOF
12340 /* end confdefs.h. */
12341
12342 int
12343 main ()
12344 {
12345
12346 #ifndef __HP_cc
12347 choke me
12348 #endif
12349
12350 ;
12351 return 0;
12352 }
12353 _ACEOF
12354 rm -f conftest.$ac_objext
12355 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12356 (eval $ac_compile) 2>conftest.er1
12357 ac_status=$?
12358 grep -v '^ *+' conftest.er1 >conftest.err
12359 rm -f conftest.er1
12360 cat conftest.err >&5
12361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12362 (exit $ac_status); } &&
12363 { ac_try='test -z "$ac_c_werror_flag"
12364 || test ! -s conftest.err'
12365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12366 (eval $ac_try) 2>&5
12367 ac_status=$?
12368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12369 (exit $ac_status); }; } &&
12370 { ac_try='test -s conftest.$ac_objext'
12371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12372 (eval $ac_try) 2>&5
12373 ac_status=$?
12374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12375 (exit $ac_status); }; }; then
12376 bakefile_cv_c_compiler___HP_cc=yes
12377 else
12378 echo "$as_me: failed program was:" >&5
12379 sed 's/^/| /' conftest.$ac_ext >&5
12380
12381 bakefile_cv_c_compiler___HP_cc=no
12382
12383 fi
12384 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12385
12386
12387 fi
12388 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
12389 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6
12390 ac_ext=c
12391 ac_cpp='$CPP $CPPFLAGS'
12392 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12393 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12394 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12395
12396 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
12397 :; HPCC=yes
12398 else
12399 :;
12400 fi
12401
12402
12403 ;;
12404
12405 OSF1)
12406
12407
12408 ac_ext=c
12409 ac_cpp='$CPP $CPPFLAGS'
12410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12413
12414 echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
12415 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6
12416 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
12417 echo $ECHO_N "(cached) $ECHO_C" >&6
12418 else
12419 cat >conftest.$ac_ext <<_ACEOF
12420 /* confdefs.h. */
12421 _ACEOF
12422 cat confdefs.h >>conftest.$ac_ext
12423 cat >>conftest.$ac_ext <<_ACEOF
12424 /* end confdefs.h. */
12425
12426 int
12427 main ()
12428 {
12429
12430 #ifndef __DECC
12431 choke me
12432 #endif
12433
12434 ;
12435 return 0;
12436 }
12437 _ACEOF
12438 rm -f conftest.$ac_objext
12439 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12440 (eval $ac_compile) 2>conftest.er1
12441 ac_status=$?
12442 grep -v '^ *+' conftest.er1 >conftest.err
12443 rm -f conftest.er1
12444 cat conftest.err >&5
12445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12446 (exit $ac_status); } &&
12447 { ac_try='test -z "$ac_c_werror_flag"
12448 || test ! -s conftest.err'
12449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12450 (eval $ac_try) 2>&5
12451 ac_status=$?
12452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12453 (exit $ac_status); }; } &&
12454 { ac_try='test -s conftest.$ac_objext'
12455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12456 (eval $ac_try) 2>&5
12457 ac_status=$?
12458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12459 (exit $ac_status); }; }; then
12460 bakefile_cv_c_compiler___DECC=yes
12461 else
12462 echo "$as_me: failed program was:" >&5
12463 sed 's/^/| /' conftest.$ac_ext >&5
12464
12465 bakefile_cv_c_compiler___DECC=no
12466
12467 fi
12468 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12469
12470
12471 fi
12472 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
12473 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6
12474 ac_ext=c
12475 ac_cpp='$CPP $CPPFLAGS'
12476 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12477 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12478 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12479
12480 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
12481 :; COMPAQCC=yes
12482 else
12483 :;
12484 fi
12485
12486
12487 ;;
12488
12489 SunOS)
12490
12491
12492 ac_ext=c
12493 ac_cpp='$CPP $CPPFLAGS'
12494 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12495 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12496 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12497
12498 echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
12499 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6
12500 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
12501 echo $ECHO_N "(cached) $ECHO_C" >&6
12502 else
12503 cat >conftest.$ac_ext <<_ACEOF
12504 /* confdefs.h. */
12505 _ACEOF
12506 cat confdefs.h >>conftest.$ac_ext
12507 cat >>conftest.$ac_ext <<_ACEOF
12508 /* end confdefs.h. */
12509
12510 int
12511 main ()
12512 {
12513
12514 #ifndef __SUNPRO_C
12515 choke me
12516 #endif
12517
12518 ;
12519 return 0;
12520 }
12521 _ACEOF
12522 rm -f conftest.$ac_objext
12523 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12524 (eval $ac_compile) 2>conftest.er1
12525 ac_status=$?
12526 grep -v '^ *+' conftest.er1 >conftest.err
12527 rm -f conftest.er1
12528 cat conftest.err >&5
12529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12530 (exit $ac_status); } &&
12531 { ac_try='test -z "$ac_c_werror_flag"
12532 || test ! -s conftest.err'
12533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12534 (eval $ac_try) 2>&5
12535 ac_status=$?
12536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12537 (exit $ac_status); }; } &&
12538 { ac_try='test -s conftest.$ac_objext'
12539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12540 (eval $ac_try) 2>&5
12541 ac_status=$?
12542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12543 (exit $ac_status); }; }; then
12544 bakefile_cv_c_compiler___SUNPRO_C=yes
12545 else
12546 echo "$as_me: failed program was:" >&5
12547 sed 's/^/| /' conftest.$ac_ext >&5
12548
12549 bakefile_cv_c_compiler___SUNPRO_C=no
12550
12551 fi
12552 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12553
12554
12555 fi
12556 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
12557 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6
12558 ac_ext=c
12559 ac_cpp='$CPP $CPPFLAGS'
12560 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12561 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12562 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12563
12564 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
12565 :; SUNCC=yes
12566 else
12567 :;
12568 fi
12569
12570
12571 ;;
12572 esac
12573 fi
12574
12575
12576
12577 ac_ext=c
12578 ac_cpp='$CPP $CPPFLAGS'
12579 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12580 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12581 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12582 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
12583 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
12584 # On Suns, sometimes $CPP names a directory.
12585 if test -n "$CPP" && test -d "$CPP"; then
12586 CPP=
12587 fi
12588 if test -z "$CPP"; then
12589 if test "${ac_cv_prog_CPP+set}" = set; then
12590 echo $ECHO_N "(cached) $ECHO_C" >&6
12591 else
12592 # Double quotes because CPP needs to be expanded
12593 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
12594 do
12595 ac_preproc_ok=false
12596 for ac_c_preproc_warn_flag in '' yes
12597 do
12598 # Use a header file that comes with gcc, so configuring glibc
12599 # with a fresh cross-compiler works.
12600 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12601 # <limits.h> exists even on freestanding compilers.
12602 # On the NeXT, cc -E runs the code through the compiler's parser,
12603 # not just through cpp. "Syntax error" is here to catch this case.
12604 cat >conftest.$ac_ext <<_ACEOF
12605 /* confdefs.h. */
12606 _ACEOF
12607 cat confdefs.h >>conftest.$ac_ext
12608 cat >>conftest.$ac_ext <<_ACEOF
12609 /* end confdefs.h. */
12610 #ifdef __STDC__
12611 # include <limits.h>
12612 #else
12613 # include <assert.h>
12614 #endif
12615 Syntax error
12616 _ACEOF
12617 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12618 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12619 ac_status=$?
12620 grep -v '^ *+' conftest.er1 >conftest.err
12621 rm -f conftest.er1
12622 cat conftest.err >&5
12623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12624 (exit $ac_status); } >/dev/null; then
12625 if test -s conftest.err; then
12626 ac_cpp_err=$ac_c_preproc_warn_flag
12627 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
12628 else
12629 ac_cpp_err=
12630 fi
12631 else
12632 ac_cpp_err=yes
12633 fi
12634 if test -z "$ac_cpp_err"; then
12635 :
12636 else
12637 echo "$as_me: failed program was:" >&5
12638 sed 's/^/| /' conftest.$ac_ext >&5
12639
12640 # Broken: fails on valid input.
12641 continue
12642 fi
12643 rm -f conftest.err conftest.$ac_ext
12644
12645 # OK, works on sane cases. Now check whether non-existent headers
12646 # can be detected and how.
12647 cat >conftest.$ac_ext <<_ACEOF
12648 /* confdefs.h. */
12649 _ACEOF
12650 cat confdefs.h >>conftest.$ac_ext
12651 cat >>conftest.$ac_ext <<_ACEOF
12652 /* end confdefs.h. */
12653 #include <ac_nonexistent.h>
12654 _ACEOF
12655 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12656 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12657 ac_status=$?
12658 grep -v '^ *+' conftest.er1 >conftest.err
12659 rm -f conftest.er1
12660 cat conftest.err >&5
12661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12662 (exit $ac_status); } >/dev/null; then
12663 if test -s conftest.err; then
12664 ac_cpp_err=$ac_c_preproc_warn_flag
12665 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
12666 else
12667 ac_cpp_err=
12668 fi
12669 else
12670 ac_cpp_err=yes
12671 fi
12672 if test -z "$ac_cpp_err"; then
12673 # Broken: success on invalid input.
12674 continue
12675 else
12676 echo "$as_me: failed program was:" >&5
12677 sed 's/^/| /' conftest.$ac_ext >&5
12678
12679 # Passes both tests.
12680 ac_preproc_ok=:
12681 break
12682 fi
12683 rm -f conftest.err conftest.$ac_ext
12684
12685 done
12686 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12687 rm -f conftest.err conftest.$ac_ext
12688 if $ac_preproc_ok; then
12689 break
12690 fi
12691
12692 done
12693 ac_cv_prog_CPP=$CPP
12694
12695 fi
12696 CPP=$ac_cv_prog_CPP
12697 else
12698 ac_cv_prog_CPP=$CPP
12699 fi
12700 echo "$as_me:$LINENO: result: $CPP" >&5
12701 echo "${ECHO_T}$CPP" >&6
12702 ac_preproc_ok=false
12703 for ac_c_preproc_warn_flag in '' yes
12704 do
12705 # Use a header file that comes with gcc, so configuring glibc
12706 # with a fresh cross-compiler works.
12707 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12708 # <limits.h> exists even on freestanding compilers.
12709 # On the NeXT, cc -E runs the code through the compiler's parser,
12710 # not just through cpp. "Syntax error" is here to catch this case.
12711 cat >conftest.$ac_ext <<_ACEOF
12712 /* confdefs.h. */
12713 _ACEOF
12714 cat confdefs.h >>conftest.$ac_ext
12715 cat >>conftest.$ac_ext <<_ACEOF
12716 /* end confdefs.h. */
12717 #ifdef __STDC__
12718 # include <limits.h>
12719 #else
12720 # include <assert.h>
12721 #endif
12722 Syntax error
12723 _ACEOF
12724 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12725 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12726 ac_status=$?
12727 grep -v '^ *+' conftest.er1 >conftest.err
12728 rm -f conftest.er1
12729 cat conftest.err >&5
12730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12731 (exit $ac_status); } >/dev/null; then
12732 if test -s conftest.err; then
12733 ac_cpp_err=$ac_c_preproc_warn_flag
12734 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
12735 else
12736 ac_cpp_err=
12737 fi
12738 else
12739 ac_cpp_err=yes
12740 fi
12741 if test -z "$ac_cpp_err"; then
12742 :
12743 else
12744 echo "$as_me: failed program was:" >&5
12745 sed 's/^/| /' conftest.$ac_ext >&5
12746
12747 # Broken: fails on valid input.
12748 continue
12749 fi
12750 rm -f conftest.err conftest.$ac_ext
12751
12752 # OK, works on sane cases. Now check whether non-existent headers
12753 # can be detected and how.
12754 cat >conftest.$ac_ext <<_ACEOF
12755 /* confdefs.h. */
12756 _ACEOF
12757 cat confdefs.h >>conftest.$ac_ext
12758 cat >>conftest.$ac_ext <<_ACEOF
12759 /* end confdefs.h. */
12760 #include <ac_nonexistent.h>
12761 _ACEOF
12762 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12763 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12764 ac_status=$?
12765 grep -v '^ *+' conftest.er1 >conftest.err
12766 rm -f conftest.er1
12767 cat conftest.err >&5
12768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12769 (exit $ac_status); } >/dev/null; then
12770 if test -s conftest.err; then
12771 ac_cpp_err=$ac_c_preproc_warn_flag
12772 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
12773 else
12774 ac_cpp_err=
12775 fi
12776 else
12777 ac_cpp_err=yes
12778 fi
12779 if test -z "$ac_cpp_err"; then
12780 # Broken: success on invalid input.
12781 continue
12782 else
12783 echo "$as_me: failed program was:" >&5
12784 sed 's/^/| /' conftest.$ac_ext >&5
12785
12786 # Passes both tests.
12787 ac_preproc_ok=:
12788 break
12789 fi
12790 rm -f conftest.err conftest.$ac_ext
12791
12792 done
12793 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12794 rm -f conftest.err conftest.$ac_ext
12795 if $ac_preproc_ok; then
12796 :
12797 else
12798 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
12799 See \`config.log' for more details." >&5
12800 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
12801 See \`config.log' for more details." >&2;}
12802 { (exit 1); exit 1; }; }
12803 fi
12804
12805 ac_ext=c
12806 ac_cpp='$CPP $CPPFLAGS'
12807 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12808 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12809 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12810
12811
12812 echo "$as_me:$LINENO: checking for egrep" >&5
12813 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
12814 if test "${ac_cv_prog_egrep+set}" = set; then
12815 echo $ECHO_N "(cached) $ECHO_C" >&6
12816 else
12817 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
12818 then ac_cv_prog_egrep='grep -E'
12819 else ac_cv_prog_egrep='egrep'
12820 fi
12821 fi
12822 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
12823 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
12824 EGREP=$ac_cv_prog_egrep
12825
12826
12827 if test $ac_cv_c_compiler_gnu = yes; then
12828 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
12829 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
12830 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
12831 echo $ECHO_N "(cached) $ECHO_C" >&6
12832 else
12833 ac_pattern="Autoconf.*'x'"
12834 cat >conftest.$ac_ext <<_ACEOF
12835 /* confdefs.h. */
12836 _ACEOF
12837 cat confdefs.h >>conftest.$ac_ext
12838 cat >>conftest.$ac_ext <<_ACEOF
12839 /* end confdefs.h. */
12840 #include <sgtty.h>
12841 Autoconf TIOCGETP
12842 _ACEOF
12843 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12844 $EGREP "$ac_pattern" >/dev/null 2>&1; then
12845 ac_cv_prog_gcc_traditional=yes
12846 else
12847 ac_cv_prog_gcc_traditional=no
12848 fi
12849 rm -f conftest*
12850
12851
12852 if test $ac_cv_prog_gcc_traditional = no; then
12853 cat >conftest.$ac_ext <<_ACEOF
12854 /* confdefs.h. */
12855 _ACEOF
12856 cat confdefs.h >>conftest.$ac_ext
12857 cat >>conftest.$ac_ext <<_ACEOF
12858 /* end confdefs.h. */
12859 #include <termio.h>
12860 Autoconf TCGETA
12861 _ACEOF
12862 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12863 $EGREP "$ac_pattern" >/dev/null 2>&1; then
12864 ac_cv_prog_gcc_traditional=yes
12865 fi
12866 rm -f conftest*
12867
12868 fi
12869 fi
12870 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
12871 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
12872 if test $ac_cv_prog_gcc_traditional = yes; then
12873 CC="$CC -traditional"
12874 fi
12875 fi
12876
12877
12878
12879
12880 ac_ext=cc
12881 ac_cpp='$CXXCPP $CPPFLAGS'
12882 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12883 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12884 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12885
12886
12887 CXXFLAGS=${CXXFLAGS:=}
12888
12889
12890
12891 ac_ext=cc
12892 ac_cpp='$CXXCPP $CPPFLAGS'
12893 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12894 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12895 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12896 if test -n "$ac_tool_prefix"; then
12897 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
12898 do
12899 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12900 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
12901 echo "$as_me:$LINENO: checking for $ac_word" >&5
12902 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12903 if test "${ac_cv_prog_CXX+set}" = set; then
12904 echo $ECHO_N "(cached) $ECHO_C" >&6
12905 else
12906 if test -n "$CXX"; then
12907 ac_cv_prog_CXX="$CXX" # Let the user override the test.
12908 else
12909 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12910 for as_dir in $PATH
12911 do
12912 IFS=$as_save_IFS
12913 test -z "$as_dir" && as_dir=.
12914 for ac_exec_ext in '' $ac_executable_extensions; do
12915 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12916 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
12917 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12918 break 2
12919 fi
12920 done
12921 done
12922
12923 fi
12924 fi
12925 CXX=$ac_cv_prog_CXX
12926 if test -n "$CXX"; then
12927 echo "$as_me:$LINENO: result: $CXX" >&5
12928 echo "${ECHO_T}$CXX" >&6
12929 else
12930 echo "$as_me:$LINENO: result: no" >&5
12931 echo "${ECHO_T}no" >&6
12932 fi
12933
12934 test -n "$CXX" && break
12935 done
12936 fi
12937 if test -z "$CXX"; then
12938 ac_ct_CXX=$CXX
12939 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
12940 do
12941 # Extract the first word of "$ac_prog", so it can be a program name with args.
12942 set dummy $ac_prog; ac_word=$2
12943 echo "$as_me:$LINENO: checking for $ac_word" >&5
12944 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12945 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
12946 echo $ECHO_N "(cached) $ECHO_C" >&6
12947 else
12948 if test -n "$ac_ct_CXX"; then
12949 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
12950 else
12951 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12952 for as_dir in $PATH
12953 do
12954 IFS=$as_save_IFS
12955 test -z "$as_dir" && as_dir=.
12956 for ac_exec_ext in '' $ac_executable_extensions; do
12957 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12958 ac_cv_prog_ac_ct_CXX="$ac_prog"
12959 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12960 break 2
12961 fi
12962 done
12963 done
12964
12965 fi
12966 fi
12967 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
12968 if test -n "$ac_ct_CXX"; then
12969 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
12970 echo "${ECHO_T}$ac_ct_CXX" >&6
12971 else
12972 echo "$as_me:$LINENO: result: no" >&5
12973 echo "${ECHO_T}no" >&6
12974 fi
12975
12976 test -n "$ac_ct_CXX" && break
12977 done
12978 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
12979
12980 CXX=$ac_ct_CXX
12981 fi
12982
12983
12984 # Provide some information about the compiler.
12985 echo "$as_me:$LINENO:" \
12986 "checking for C++ compiler version" >&5
12987 ac_compiler=`set X $ac_compile; echo $2`
12988 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
12989 (eval $ac_compiler --version </dev/null >&5) 2>&5
12990 ac_status=$?
12991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12992 (exit $ac_status); }
12993 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
12994 (eval $ac_compiler -v </dev/null >&5) 2>&5
12995 ac_status=$?
12996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12997 (exit $ac_status); }
12998 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
12999 (eval $ac_compiler -V </dev/null >&5) 2>&5
13000 ac_status=$?
13001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13002 (exit $ac_status); }
13003
13004 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
13005 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
13006 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
13007 echo $ECHO_N "(cached) $ECHO_C" >&6
13008 else
13009 cat >conftest.$ac_ext <<_ACEOF
13010 /* confdefs.h. */
13011 _ACEOF
13012 cat confdefs.h >>conftest.$ac_ext
13013 cat >>conftest.$ac_ext <<_ACEOF
13014 /* end confdefs.h. */
13015
13016 int
13017 main ()
13018 {
13019 #ifndef __GNUC__
13020 choke me
13021 #endif
13022
13023 ;
13024 return 0;
13025 }
13026 _ACEOF
13027 rm -f conftest.$ac_objext
13028 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13029 (eval $ac_compile) 2>conftest.er1
13030 ac_status=$?
13031 grep -v '^ *+' conftest.er1 >conftest.err
13032 rm -f conftest.er1
13033 cat conftest.err >&5
13034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13035 (exit $ac_status); } &&
13036 { ac_try='test -z "$ac_cxx_werror_flag"
13037 || test ! -s conftest.err'
13038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13039 (eval $ac_try) 2>&5
13040 ac_status=$?
13041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13042 (exit $ac_status); }; } &&
13043 { ac_try='test -s conftest.$ac_objext'
13044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13045 (eval $ac_try) 2>&5
13046 ac_status=$?
13047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13048 (exit $ac_status); }; }; then
13049 ac_compiler_gnu=yes
13050 else
13051 echo "$as_me: failed program was:" >&5
13052 sed 's/^/| /' conftest.$ac_ext >&5
13053
13054 ac_compiler_gnu=no
13055 fi
13056 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13057 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
13058
13059 fi
13060 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
13061 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
13062 GXX=`test $ac_compiler_gnu = yes && echo yes`
13063 ac_test_CXXFLAGS=${CXXFLAGS+set}
13064 ac_save_CXXFLAGS=$CXXFLAGS
13065 CXXFLAGS="-g"
13066 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
13067 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
13068 if test "${ac_cv_prog_cxx_g+set}" = set; then
13069 echo $ECHO_N "(cached) $ECHO_C" >&6
13070 else
13071 cat >conftest.$ac_ext <<_ACEOF
13072 /* confdefs.h. */
13073 _ACEOF
13074 cat confdefs.h >>conftest.$ac_ext
13075 cat >>conftest.$ac_ext <<_ACEOF
13076 /* end confdefs.h. */
13077
13078 int
13079 main ()
13080 {
13081
13082 ;
13083 return 0;
13084 }
13085 _ACEOF
13086 rm -f conftest.$ac_objext
13087 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13088 (eval $ac_compile) 2>conftest.er1
13089 ac_status=$?
13090 grep -v '^ *+' conftest.er1 >conftest.err
13091 rm -f conftest.er1
13092 cat conftest.err >&5
13093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13094 (exit $ac_status); } &&
13095 { ac_try='test -z "$ac_cxx_werror_flag"
13096 || test ! -s conftest.err'
13097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13098 (eval $ac_try) 2>&5
13099 ac_status=$?
13100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13101 (exit $ac_status); }; } &&
13102 { ac_try='test -s conftest.$ac_objext'
13103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13104 (eval $ac_try) 2>&5
13105 ac_status=$?
13106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13107 (exit $ac_status); }; }; then
13108 ac_cv_prog_cxx_g=yes
13109 else
13110 echo "$as_me: failed program was:" >&5
13111 sed 's/^/| /' conftest.$ac_ext >&5
13112
13113 ac_cv_prog_cxx_g=no
13114 fi
13115 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13116 fi
13117 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
13118 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
13119 if test "$ac_test_CXXFLAGS" = set; then
13120 CXXFLAGS=$ac_save_CXXFLAGS
13121 elif test $ac_cv_prog_cxx_g = yes; then
13122 if test "$GXX" = yes; then
13123 CXXFLAGS="-g -O2"
13124 else
13125 CXXFLAGS="-g"
13126 fi
13127 else
13128 if test "$GXX" = yes; then
13129 CXXFLAGS="-O2"
13130 else
13131 CXXFLAGS=
13132 fi
13133 fi
13134 for ac_declaration in \
13135 '' \
13136 'extern "C" void std::exit (int) throw (); using std::exit;' \
13137 'extern "C" void std::exit (int); using std::exit;' \
13138 'extern "C" void exit (int) throw ();' \
13139 'extern "C" void exit (int);' \
13140 'void exit (int);'
13141 do
13142 cat >conftest.$ac_ext <<_ACEOF
13143 /* confdefs.h. */
13144 _ACEOF
13145 cat confdefs.h >>conftest.$ac_ext
13146 cat >>conftest.$ac_ext <<_ACEOF
13147 /* end confdefs.h. */
13148 $ac_declaration
13149 #include <stdlib.h>
13150 int
13151 main ()
13152 {
13153 exit (42);
13154 ;
13155 return 0;
13156 }
13157 _ACEOF
13158 rm -f conftest.$ac_objext
13159 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13160 (eval $ac_compile) 2>conftest.er1
13161 ac_status=$?
13162 grep -v '^ *+' conftest.er1 >conftest.err
13163 rm -f conftest.er1
13164 cat conftest.err >&5
13165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13166 (exit $ac_status); } &&
13167 { ac_try='test -z "$ac_cxx_werror_flag"
13168 || test ! -s conftest.err'
13169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13170 (eval $ac_try) 2>&5
13171 ac_status=$?
13172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13173 (exit $ac_status); }; } &&
13174 { ac_try='test -s conftest.$ac_objext'
13175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13176 (eval $ac_try) 2>&5
13177 ac_status=$?
13178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13179 (exit $ac_status); }; }; then
13180 :
13181 else
13182 echo "$as_me: failed program was:" >&5
13183 sed 's/^/| /' conftest.$ac_ext >&5
13184
13185 continue
13186 fi
13187 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13188 cat >conftest.$ac_ext <<_ACEOF
13189 /* confdefs.h. */
13190 _ACEOF
13191 cat confdefs.h >>conftest.$ac_ext
13192 cat >>conftest.$ac_ext <<_ACEOF
13193 /* end confdefs.h. */
13194 $ac_declaration
13195 int
13196 main ()
13197 {
13198 exit (42);
13199 ;
13200 return 0;
13201 }
13202 _ACEOF
13203 rm -f conftest.$ac_objext
13204 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13205 (eval $ac_compile) 2>conftest.er1
13206 ac_status=$?
13207 grep -v '^ *+' conftest.er1 >conftest.err
13208 rm -f conftest.er1
13209 cat conftest.err >&5
13210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13211 (exit $ac_status); } &&
13212 { ac_try='test -z "$ac_cxx_werror_flag"
13213 || test ! -s conftest.err'
13214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13215 (eval $ac_try) 2>&5
13216 ac_status=$?
13217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13218 (exit $ac_status); }; } &&
13219 { ac_try='test -s conftest.$ac_objext'
13220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13221 (eval $ac_try) 2>&5
13222 ac_status=$?
13223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13224 (exit $ac_status); }; }; then
13225 break
13226 else
13227 echo "$as_me: failed program was:" >&5
13228 sed 's/^/| /' conftest.$ac_ext >&5
13229
13230 fi
13231 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13232 done
13233 rm -f conftest*
13234 if test -n "$ac_declaration"; then
13235 echo '#ifdef __cplusplus' >>confdefs.h
13236 echo $ac_declaration >>confdefs.h
13237 echo '#endif' >>confdefs.h
13238 fi
13239
13240 ac_ext=cc
13241 ac_cpp='$CXXCPP $CPPFLAGS'
13242 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13243 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13244 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13245
13246
13247
13248 ac_ext=cc
13249 ac_cpp='$CXXCPP $CPPFLAGS'
13250 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13251 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13252 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13253
13254 echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
13255 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6
13256 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
13257 echo $ECHO_N "(cached) $ECHO_C" >&6
13258 else
13259 cat >conftest.$ac_ext <<_ACEOF
13260 /* confdefs.h. */
13261 _ACEOF
13262 cat confdefs.h >>conftest.$ac_ext
13263 cat >>conftest.$ac_ext <<_ACEOF
13264 /* end confdefs.h. */
13265
13266 int
13267 main ()
13268 {
13269
13270 #ifndef __INTEL_COMPILER
13271 choke me
13272 #endif
13273
13274 ;
13275 return 0;
13276 }
13277 _ACEOF
13278 rm -f conftest.$ac_objext
13279 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13280 (eval $ac_compile) 2>conftest.er1
13281 ac_status=$?
13282 grep -v '^ *+' conftest.er1 >conftest.err
13283 rm -f conftest.er1
13284 cat conftest.err >&5
13285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13286 (exit $ac_status); } &&
13287 { ac_try='test -z "$ac_cxx_werror_flag"
13288 || test ! -s conftest.err'
13289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13290 (eval $ac_try) 2>&5
13291 ac_status=$?
13292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13293 (exit $ac_status); }; } &&
13294 { ac_try='test -s conftest.$ac_objext'
13295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13296 (eval $ac_try) 2>&5
13297 ac_status=$?
13298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13299 (exit $ac_status); }; }; then
13300 bakefile_cv_cxx_compiler___INTEL_COMPILER=yes
13301 else
13302 echo "$as_me: failed program was:" >&5
13303 sed 's/^/| /' conftest.$ac_ext >&5
13304
13305 bakefile_cv_cxx_compiler___INTEL_COMPILER=no
13306
13307 fi
13308 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13309
13310
13311 fi
13312 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
13313 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6
13314 ac_ext=cc
13315 ac_cpp='$CXXCPP $CPPFLAGS'
13316 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13317 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13318 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13319
13320 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
13321 :; INTELCXX=yes
13322 else
13323 :;
13324 fi
13325
13326
13327 if test "x$GCXX" != "xyes"; then
13328 if test "xCXX" = "xC"; then
13329 echo "$as_me:$LINENO: checking if the C++ compiler requires -ext o" >&5
13330 echo $ECHO_N "checking if the C++ compiler requires -ext o... $ECHO_C" >&6
13331 if test "${bakefile_cv_cxx_exto+set}" = set; then
13332 echo $ECHO_N "(cached) $ECHO_C" >&6
13333 else
13334 cat >conftest.$ac_ext <<_ACEOF
13335 /* confdefs.h. */
13336 _ACEOF
13337 cat confdefs.h >>conftest.$ac_ext
13338 cat >>conftest.$ac_ext <<_ACEOF
13339 /* end confdefs.h. */
13340
13341 int
13342 main ()
13343 {
13344
13345 ;
13346 return 0;
13347 }
13348 _ACEOF
13349 rm -f conftest.$ac_objext conftest.$ac_ext.o
13350 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13351 (eval $ac_compile) 2>&5
13352 ac_status=$?
13353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13354 (exit $ac_status); }; then
13355 for ac_file in `(ls conftest.* 2>/dev/null)`; do
13356 case $ac_file in
13357 conftest.$ac_ext.o)
13358 bakefile_cv_cxx_exto="-ext o"
13359 ;;
13360 *)
13361 ;;
13362 esac
13363 done
13364 else
13365 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
13366 See \`config.log' for more details." >&5
13367 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
13368 See \`config.log' for more details." >&2;}
13369 { (exit 1); exit 1; }; }
13370
13371 fi
13372
13373 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
13374
13375 fi
13376 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_exto" >&5
13377 echo "${ECHO_T}$bakefile_cv_cxx_exto" >&6
13378 if test "x$bakefile_cv_cxx_exto" '!=' "x"; then
13379 if test "cxx" = "c"; then
13380 CFLAGS="$bakefile_cv_cxx_exto $CFLAGS"
13381 fi
13382 if test "cxx" = "cxx"; then
13383 CXXFLAGS="$bakefile_cv_cxx_exto $CXXFLAGS"
13384 fi
13385 fi
13386
13387 if test "x$bakefile_cv_c_exto" '!=' "x"; then
13388 unset ac_cv_prog_cc_g
13389 ac_test_CFLAGS=${CFLAGS+set}
13390 ac_save_CFLAGS=$CFLAGS
13391 CFLAGS="-g"
13392 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
13393 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
13394 if test "${ac_cv_prog_cc_g+set}" = set; then
13395 echo $ECHO_N "(cached) $ECHO_C" >&6
13396 else
13397 cat >conftest.$ac_ext <<_ACEOF
13398 /* confdefs.h. */
13399 _ACEOF
13400 cat confdefs.h >>conftest.$ac_ext
13401 cat >>conftest.$ac_ext <<_ACEOF
13402 /* end confdefs.h. */
13403
13404 int
13405 main ()
13406 {
13407
13408 ;
13409 return 0;
13410 }
13411 _ACEOF
13412 rm -f conftest.$ac_objext
13413 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13414 (eval $ac_compile) 2>conftest.er1
13415 ac_status=$?
13416 grep -v '^ *+' conftest.er1 >conftest.err
13417 rm -f conftest.er1
13418 cat conftest.err >&5
13419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13420 (exit $ac_status); } &&
13421 { ac_try='test -z "$ac_cxx_werror_flag"
13422 || test ! -s conftest.err'
13423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13424 (eval $ac_try) 2>&5
13425 ac_status=$?
13426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13427 (exit $ac_status); }; } &&
13428 { ac_try='test -s conftest.$ac_objext'
13429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13430 (eval $ac_try) 2>&5
13431 ac_status=$?
13432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13433 (exit $ac_status); }; }; then
13434 ac_cv_prog_cc_g=yes
13435 else
13436 echo "$as_me: failed program was:" >&5
13437 sed 's/^/| /' conftest.$ac_ext >&5
13438
13439 ac_cv_prog_cc_g=no
13440 fi
13441 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13442 fi
13443 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
13444 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
13445 if test "$ac_test_CFLAGS" = set; then
13446 CFLAGS=$ac_save_CFLAGS
13447 elif test $ac_cv_prog_cc_g = yes; then
13448 if test "$GCC" = yes; then
13449 CFLAGS="-g -O2"
13450 else
13451 CFLAGS="-g"
13452 fi
13453 else
13454 if test "$GCC" = yes; then
13455 CFLAGS="-O2"
13456 else
13457 CFLAGS=
13458 fi
13459 fi
13460 fi
13461 fi
13462
13463 case `uname -s` in
13464 AIX*)
13465 ac_ext=cc
13466 ac_cpp='$CXXCPP $CPPFLAGS'
13467 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13468 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13469 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13470
13471 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
13472 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6
13473 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
13474 echo $ECHO_N "(cached) $ECHO_C" >&6
13475 else
13476 cat >conftest.$ac_ext <<_ACEOF
13477 /* confdefs.h. */
13478 _ACEOF
13479 cat confdefs.h >>conftest.$ac_ext
13480 cat >>conftest.$ac_ext <<_ACEOF
13481 /* end confdefs.h. */
13482
13483 int
13484 main ()
13485 {
13486 #ifndef __xlC__
13487 choke me
13488 #endif
13489
13490 ;
13491 return 0;
13492 }
13493 _ACEOF
13494 rm -f conftest.$ac_objext
13495 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13496 (eval $ac_compile) 2>conftest.er1
13497 ac_status=$?
13498 grep -v '^ *+' conftest.er1 >conftest.err
13499 rm -f conftest.er1
13500 cat conftest.err >&5
13501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13502 (exit $ac_status); } &&
13503 { ac_try='test -z "$ac_cxx_werror_flag"
13504 || test ! -s conftest.err'
13505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13506 (eval $ac_try) 2>&5
13507 ac_status=$?
13508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13509 (exit $ac_status); }; } &&
13510 { ac_try='test -s conftest.$ac_objext'
13511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13512 (eval $ac_try) 2>&5
13513 ac_status=$?
13514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13515 (exit $ac_status); }; }; then
13516 bakefile_compiler_xlc=yes
13517 else
13518 echo "$as_me: failed program was:" >&5
13519 sed 's/^/| /' conftest.$ac_ext >&5
13520
13521 bakefile_compiler_xlc=no
13522 fi
13523 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13524 bakefile_cv_cxx_compiler_xlc=$bakefile_compiler_xlc
13525
13526 fi
13527 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
13528 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6
13529
13530 XLCXX=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
13531 ac_ext=cc
13532 ac_cpp='$CXXCPP $CPPFLAGS'
13533 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13534 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13535 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13536
13537
13538 ;;
13539
13540 Darwin)
13541 ac_ext=cc
13542 ac_cpp='$CXXCPP $CPPFLAGS'
13543 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13544 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13545 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13546
13547 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
13548 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6
13549 if test "${bakefile_cv_cxx_compiler_mwerks+set}" = set; then
13550 echo $ECHO_N "(cached) $ECHO_C" >&6
13551 else
13552 cat >conftest.$ac_ext <<_ACEOF
13553 /* confdefs.h. */
13554 _ACEOF
13555 cat confdefs.h >>conftest.$ac_ext
13556 cat >>conftest.$ac_ext <<_ACEOF
13557 /* end confdefs.h. */
13558
13559 int
13560 main ()
13561 {
13562 #ifndef __MWERKS__
13563 choke me
13564 #endif
13565
13566 ;
13567 return 0;
13568 }
13569 _ACEOF
13570 rm -f conftest.$ac_objext
13571 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13572 (eval $ac_compile) 2>conftest.er1
13573 ac_status=$?
13574 grep -v '^ *+' conftest.er1 >conftest.err
13575 rm -f conftest.er1
13576 cat conftest.err >&5
13577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13578 (exit $ac_status); } &&
13579 { ac_try='test -z "$ac_cxx_werror_flag"
13580 || test ! -s conftest.err'
13581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13582 (eval $ac_try) 2>&5
13583 ac_status=$?
13584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13585 (exit $ac_status); }; } &&
13586 { ac_try='test -s conftest.$ac_objext'
13587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13588 (eval $ac_try) 2>&5
13589 ac_status=$?
13590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13591 (exit $ac_status); }; }; then
13592 bakefile_compiler_mwerks=yes
13593 else
13594 echo "$as_me: failed program was:" >&5
13595 sed 's/^/| /' conftest.$ac_ext >&5
13596
13597 bakefile_compiler_mwerks=no
13598 fi
13599 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13600 bakefile_cv_cxx_compiler_mwerks=$bakefile_compiler_mwerks
13601
13602 fi
13603 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_mwerks" >&5
13604 echo "${ECHO_T}$bakefile_cv_cxx_compiler_mwerks" >&6
13605
13606 MWCXX=`test $bakefile_cv_cxx_compiler_mwerks = yes && echo yes`
13607 ac_ext=cc
13608 ac_cpp='$CXXCPP $CPPFLAGS'
13609 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13610 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13611 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13612
13613
13614 ac_ext=cc
13615 ac_cpp='$CXXCPP $CPPFLAGS'
13616 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13617 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13618 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13619
13620 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
13621 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6
13622 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
13623 echo $ECHO_N "(cached) $ECHO_C" >&6
13624 else
13625 cat >conftest.$ac_ext <<_ACEOF
13626 /* confdefs.h. */
13627 _ACEOF
13628 cat confdefs.h >>conftest.$ac_ext
13629 cat >>conftest.$ac_ext <<_ACEOF
13630 /* end confdefs.h. */
13631
13632 int
13633 main ()
13634 {
13635 #ifndef __xlC__
13636 choke me
13637 #endif
13638
13639 ;
13640 return 0;
13641 }
13642 _ACEOF
13643 rm -f conftest.$ac_objext
13644 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13645 (eval $ac_compile) 2>conftest.er1
13646 ac_status=$?
13647 grep -v '^ *+' conftest.er1 >conftest.err
13648 rm -f conftest.er1
13649 cat conftest.err >&5
13650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13651 (exit $ac_status); } &&
13652 { ac_try='test -z "$ac_cxx_werror_flag"
13653 || test ! -s conftest.err'
13654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13655 (eval $ac_try) 2>&5
13656 ac_status=$?
13657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13658 (exit $ac_status); }; } &&
13659 { ac_try='test -s conftest.$ac_objext'
13660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13661 (eval $ac_try) 2>&5
13662 ac_status=$?
13663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13664 (exit $ac_status); }; }; then
13665 bakefile_compiler_xlc=yes
13666 else
13667 echo "$as_me: failed program was:" >&5
13668 sed 's/^/| /' conftest.$ac_ext >&5
13669
13670 bakefile_compiler_xlc=no
13671 fi
13672 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13673 bakefile_cv_cxx_compiler_xlc=$bakefile_compiler_xlc
13674
13675 fi
13676 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
13677 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6
13678
13679 XLCXX=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
13680 ac_ext=cc
13681 ac_cpp='$CXXCPP $CPPFLAGS'
13682 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13683 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13684 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13685
13686
13687 ;;
13688
13689 IRIX*)
13690
13691
13692 ac_ext=cc
13693 ac_cpp='$CXXCPP $CPPFLAGS'
13694 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13695 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13696 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13697
13698 echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
13699 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6
13700 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
13701 echo $ECHO_N "(cached) $ECHO_C" >&6
13702 else
13703 cat >conftest.$ac_ext <<_ACEOF
13704 /* confdefs.h. */
13705 _ACEOF
13706 cat confdefs.h >>conftest.$ac_ext
13707 cat >>conftest.$ac_ext <<_ACEOF
13708 /* end confdefs.h. */
13709
13710 int
13711 main ()
13712 {
13713
13714 #ifndef _SGI_COMPILER_VERSION
13715 choke me
13716 #endif
13717
13718 ;
13719 return 0;
13720 }
13721 _ACEOF
13722 rm -f conftest.$ac_objext
13723 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13724 (eval $ac_compile) 2>conftest.er1
13725 ac_status=$?
13726 grep -v '^ *+' conftest.er1 >conftest.err
13727 rm -f conftest.er1
13728 cat conftest.err >&5
13729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13730 (exit $ac_status); } &&
13731 { ac_try='test -z "$ac_cxx_werror_flag"
13732 || test ! -s conftest.err'
13733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13734 (eval $ac_try) 2>&5
13735 ac_status=$?
13736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13737 (exit $ac_status); }; } &&
13738 { ac_try='test -s conftest.$ac_objext'
13739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13740 (eval $ac_try) 2>&5
13741 ac_status=$?
13742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13743 (exit $ac_status); }; }; then
13744 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
13745 else
13746 echo "$as_me: failed program was:" >&5
13747 sed 's/^/| /' conftest.$ac_ext >&5
13748
13749 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
13750
13751 fi
13752 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13753
13754
13755 fi
13756 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
13757 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6
13758 ac_ext=cc
13759 ac_cpp='$CXXCPP $CPPFLAGS'
13760 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13761 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13762 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13763
13764 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
13765 :; SGICXX=yes
13766 else
13767 :;
13768 fi
13769
13770
13771 ;;
13772
13773 HP-UX*)
13774
13775
13776 ac_ext=cc
13777 ac_cpp='$CXXCPP $CPPFLAGS'
13778 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13779 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13780 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13781
13782 echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
13783 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6
13784 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
13785 echo $ECHO_N "(cached) $ECHO_C" >&6
13786 else
13787 cat >conftest.$ac_ext <<_ACEOF
13788 /* confdefs.h. */
13789 _ACEOF
13790 cat confdefs.h >>conftest.$ac_ext
13791 cat >>conftest.$ac_ext <<_ACEOF
13792 /* end confdefs.h. */
13793
13794 int
13795 main ()
13796 {
13797
13798 #ifndef __HP_aCC
13799 choke me
13800 #endif
13801
13802 ;
13803 return 0;
13804 }
13805 _ACEOF
13806 rm -f conftest.$ac_objext
13807 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13808 (eval $ac_compile) 2>conftest.er1
13809 ac_status=$?
13810 grep -v '^ *+' conftest.er1 >conftest.err
13811 rm -f conftest.er1
13812 cat conftest.err >&5
13813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13814 (exit $ac_status); } &&
13815 { ac_try='test -z "$ac_cxx_werror_flag"
13816 || test ! -s conftest.err'
13817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13818 (eval $ac_try) 2>&5
13819 ac_status=$?
13820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13821 (exit $ac_status); }; } &&
13822 { ac_try='test -s conftest.$ac_objext'
13823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13824 (eval $ac_try) 2>&5
13825 ac_status=$?
13826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13827 (exit $ac_status); }; }; then
13828 bakefile_cv_cxx_compiler___HP_aCC=yes
13829 else
13830 echo "$as_me: failed program was:" >&5
13831 sed 's/^/| /' conftest.$ac_ext >&5
13832
13833 bakefile_cv_cxx_compiler___HP_aCC=no
13834
13835 fi
13836 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13837
13838
13839 fi
13840 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
13841 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6
13842 ac_ext=cc
13843 ac_cpp='$CXXCPP $CPPFLAGS'
13844 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13845 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13846 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13847
13848 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
13849 :; HPCXX=yes
13850 else
13851 :;
13852 fi
13853
13854
13855 ;;
13856
13857 OSF1)
13858
13859
13860 ac_ext=cc
13861 ac_cpp='$CXXCPP $CPPFLAGS'
13862 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13863 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13864 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13865
13866 echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
13867 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6
13868 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
13869 echo $ECHO_N "(cached) $ECHO_C" >&6
13870 else
13871 cat >conftest.$ac_ext <<_ACEOF
13872 /* confdefs.h. */
13873 _ACEOF
13874 cat confdefs.h >>conftest.$ac_ext
13875 cat >>conftest.$ac_ext <<_ACEOF
13876 /* end confdefs.h. */
13877
13878 int
13879 main ()
13880 {
13881
13882 #ifndef __DECCXX
13883 choke me
13884 #endif
13885
13886 ;
13887 return 0;
13888 }
13889 _ACEOF
13890 rm -f conftest.$ac_objext
13891 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13892 (eval $ac_compile) 2>conftest.er1
13893 ac_status=$?
13894 grep -v '^ *+' conftest.er1 >conftest.err
13895 rm -f conftest.er1
13896 cat conftest.err >&5
13897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13898 (exit $ac_status); } &&
13899 { ac_try='test -z "$ac_cxx_werror_flag"
13900 || test ! -s conftest.err'
13901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13902 (eval $ac_try) 2>&5
13903 ac_status=$?
13904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13905 (exit $ac_status); }; } &&
13906 { ac_try='test -s conftest.$ac_objext'
13907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13908 (eval $ac_try) 2>&5
13909 ac_status=$?
13910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13911 (exit $ac_status); }; }; then
13912 bakefile_cv_cxx_compiler___DECCXX=yes
13913 else
13914 echo "$as_me: failed program was:" >&5
13915 sed 's/^/| /' conftest.$ac_ext >&5
13916
13917 bakefile_cv_cxx_compiler___DECCXX=no
13918
13919 fi
13920 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13921
13922
13923 fi
13924 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
13925 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6
13926 ac_ext=cc
13927 ac_cpp='$CXXCPP $CPPFLAGS'
13928 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13929 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13930 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13931
13932 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
13933 :; COMPAQCXX=yes
13934 else
13935 :;
13936 fi
13937
13938
13939 ;;
13940
13941 SunOS)
13942
13943
13944 ac_ext=cc
13945 ac_cpp='$CXXCPP $CPPFLAGS'
13946 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13947 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13948 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13949
13950 echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
13951 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6
13952 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
13953 echo $ECHO_N "(cached) $ECHO_C" >&6
13954 else
13955 cat >conftest.$ac_ext <<_ACEOF
13956 /* confdefs.h. */
13957 _ACEOF
13958 cat confdefs.h >>conftest.$ac_ext
13959 cat >>conftest.$ac_ext <<_ACEOF
13960 /* end confdefs.h. */
13961
13962 int
13963 main ()
13964 {
13965
13966 #ifndef __SUNPRO_CC
13967 choke me
13968 #endif
13969
13970 ;
13971 return 0;
13972 }
13973 _ACEOF
13974 rm -f conftest.$ac_objext
13975 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13976 (eval $ac_compile) 2>conftest.er1
13977 ac_status=$?
13978 grep -v '^ *+' conftest.er1 >conftest.err
13979 rm -f conftest.er1
13980 cat conftest.err >&5
13981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13982 (exit $ac_status); } &&
13983 { ac_try='test -z "$ac_cxx_werror_flag"
13984 || test ! -s conftest.err'
13985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13986 (eval $ac_try) 2>&5
13987 ac_status=$?
13988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13989 (exit $ac_status); }; } &&
13990 { ac_try='test -s conftest.$ac_objext'
13991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13992 (eval $ac_try) 2>&5
13993 ac_status=$?
13994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13995 (exit $ac_status); }; }; then
13996 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
13997 else
13998 echo "$as_me: failed program was:" >&5
13999 sed 's/^/| /' conftest.$ac_ext >&5
14000
14001 bakefile_cv_cxx_compiler___SUNPRO_CC=no
14002
14003 fi
14004 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14005
14006
14007 fi
14008 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
14009 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6
14010 ac_ext=cc
14011 ac_cpp='$CXXCPP $CPPFLAGS'
14012 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14013 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14014 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14015
14016 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
14017 :; SUNCXX=yes
14018 else
14019 :;
14020 fi
14021
14022
14023 ;;
14024 esac
14025 fi
14026
14027
14028
14029 ac_ext=c
14030 ac_cpp='$CPP $CPPFLAGS'
14031 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14032 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14033 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14034
14035
14036 if test -n "$ac_tool_prefix"; then
14037 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
14038 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
14039 echo "$as_me:$LINENO: checking for $ac_word" >&5
14040 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14041 if test "${ac_cv_prog_RANLIB+set}" = set; then
14042 echo $ECHO_N "(cached) $ECHO_C" >&6
14043 else
14044 if test -n "$RANLIB"; then
14045 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
14046 else
14047 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14048 for as_dir in $PATH
14049 do
14050 IFS=$as_save_IFS
14051 test -z "$as_dir" && as_dir=.
14052 for ac_exec_ext in '' $ac_executable_extensions; do
14053 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14054 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
14055 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14056 break 2
14057 fi
14058 done
14059 done
14060
14061 fi
14062 fi
14063 RANLIB=$ac_cv_prog_RANLIB
14064 if test -n "$RANLIB"; then
14065 echo "$as_me:$LINENO: result: $RANLIB" >&5
14066 echo "${ECHO_T}$RANLIB" >&6
14067 else
14068 echo "$as_me:$LINENO: result: no" >&5
14069 echo "${ECHO_T}no" >&6
14070 fi
14071
14072 fi
14073 if test -z "$ac_cv_prog_RANLIB"; then
14074 ac_ct_RANLIB=$RANLIB
14075 # Extract the first word of "ranlib", so it can be a program name with args.
14076 set dummy ranlib; ac_word=$2
14077 echo "$as_me:$LINENO: checking for $ac_word" >&5
14078 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14079 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
14080 echo $ECHO_N "(cached) $ECHO_C" >&6
14081 else
14082 if test -n "$ac_ct_RANLIB"; then
14083 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
14084 else
14085 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14086 for as_dir in $PATH
14087 do
14088 IFS=$as_save_IFS
14089 test -z "$as_dir" && as_dir=.
14090 for ac_exec_ext in '' $ac_executable_extensions; do
14091 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14092 ac_cv_prog_ac_ct_RANLIB="ranlib"
14093 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14094 break 2
14095 fi
14096 done
14097 done
14098
14099 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
14100 fi
14101 fi
14102 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
14103 if test -n "$ac_ct_RANLIB"; then
14104 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
14105 echo "${ECHO_T}$ac_ct_RANLIB" >&6
14106 else
14107 echo "$as_me:$LINENO: result: no" >&5
14108 echo "${ECHO_T}no" >&6
14109 fi
14110
14111 RANLIB=$ac_ct_RANLIB
14112 else
14113 RANLIB="$ac_cv_prog_RANLIB"
14114 fi
14115
14116
14117 if test -n "$ac_tool_prefix"; then
14118 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
14119 set dummy ${ac_tool_prefix}ar; ac_word=$2
14120 echo "$as_me:$LINENO: checking for $ac_word" >&5
14121 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14122 if test "${ac_cv_prog_AR+set}" = set; then
14123 echo $ECHO_N "(cached) $ECHO_C" >&6
14124 else
14125 if test -n "$AR"; then
14126 ac_cv_prog_AR="$AR" # Let the user override the test.
14127 else
14128 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14129 for as_dir in $PATH
14130 do
14131 IFS=$as_save_IFS
14132 test -z "$as_dir" && as_dir=.
14133 for ac_exec_ext in '' $ac_executable_extensions; do
14134 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14135 ac_cv_prog_AR="${ac_tool_prefix}ar"
14136 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14137 break 2
14138 fi
14139 done
14140 done
14141
14142 fi
14143 fi
14144 AR=$ac_cv_prog_AR
14145 if test -n "$AR"; then
14146 echo "$as_me:$LINENO: result: $AR" >&5
14147 echo "${ECHO_T}$AR" >&6
14148 else
14149 echo "$as_me:$LINENO: result: no" >&5
14150 echo "${ECHO_T}no" >&6
14151 fi
14152
14153 fi
14154 if test -z "$ac_cv_prog_AR"; then
14155 ac_ct_AR=$AR
14156 # Extract the first word of "ar", so it can be a program name with args.
14157 set dummy ar; ac_word=$2
14158 echo "$as_me:$LINENO: checking for $ac_word" >&5
14159 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14160 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
14161 echo $ECHO_N "(cached) $ECHO_C" >&6
14162 else
14163 if test -n "$ac_ct_AR"; then
14164 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
14165 else
14166 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14167 for as_dir in $PATH
14168 do
14169 IFS=$as_save_IFS
14170 test -z "$as_dir" && as_dir=.
14171 for ac_exec_ext in '' $ac_executable_extensions; do
14172 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14173 ac_cv_prog_ac_ct_AR="ar"
14174 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14175 break 2
14176 fi
14177 done
14178 done
14179
14180 fi
14181 fi
14182 ac_ct_AR=$ac_cv_prog_ac_ct_AR
14183 if test -n "$ac_ct_AR"; then
14184 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
14185 echo "${ECHO_T}$ac_ct_AR" >&6
14186 else
14187 echo "$as_me:$LINENO: result: no" >&5
14188 echo "${ECHO_T}no" >&6
14189 fi
14190
14191 AR=$ac_ct_AR
14192 else
14193 AR="$ac_cv_prog_AR"
14194 fi
14195
14196 if test "x$AR" = "x" ; then
14197 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
14198 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
14199 { (exit 1); exit 1; }; }
14200 fi
14201
14202 # Find a good install program. We prefer a C program (faster),
14203 # so one script is as good as another. But avoid the broken or
14204 # incompatible versions:
14205 # SysV /etc/install, /usr/sbin/install
14206 # SunOS /usr/etc/install
14207 # IRIX /sbin/install
14208 # AIX /bin/install
14209 # AmigaOS /C/install, which installs bootblocks on floppy discs
14210 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
14211 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
14212 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
14213 # OS/2's system install, which has a completely different semantic
14214 # ./install, which can be erroneously created by make from ./install.sh.
14215 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
14216 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
14217 if test -z "$INSTALL"; then
14218 if test "${ac_cv_path_install+set}" = set; then
14219 echo $ECHO_N "(cached) $ECHO_C" >&6
14220 else
14221 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14222 for as_dir in $PATH
14223 do
14224 IFS=$as_save_IFS
14225 test -z "$as_dir" && as_dir=.
14226 # Account for people who put trailing slashes in PATH elements.
14227 case $as_dir/ in
14228 ./ | .// | /cC/* | \
14229 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
14230 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
14231 /usr/ucb/* ) ;;
14232 *)
14233 # OSF1 and SCO ODT 3.0 have their own names for install.
14234 # Don't use installbsd from OSF since it installs stuff as root
14235 # by default.
14236 for ac_prog in ginstall scoinst install; do
14237 for ac_exec_ext in '' $ac_executable_extensions; do
14238 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
14239 if test $ac_prog = install &&
14240 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
14241 # AIX install. It has an incompatible calling convention.
14242 :
14243 elif test $ac_prog = install &&
14244 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
14245 # program-specific install script used by HP pwplus--don't use.
14246 :
14247 else
14248 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
14249 break 3
14250 fi
14251 fi
14252 done
14253 done
14254 ;;
14255 esac
14256 done
14257
14258
14259 fi
14260 if test "${ac_cv_path_install+set}" = set; then
14261 INSTALL=$ac_cv_path_install
14262 else
14263 # As a last resort, use the slow shell script. We don't cache a
14264 # path for INSTALL within a source directory, because that will
14265 # break other packages using the cache if that directory is
14266 # removed, or if the path is relative.
14267 INSTALL=$ac_install_sh
14268 fi
14269 fi
14270 echo "$as_me:$LINENO: result: $INSTALL" >&5
14271 echo "${ECHO_T}$INSTALL" >&6
14272
14273 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
14274 # It thinks the first close brace ends the variable substitution.
14275 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
14276
14277 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
14278
14279 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
14280
14281
14282 case ${INSTALL} in
14283 /* ) # Absolute
14284 ;;
14285 ?:* ) # Drive letter, considered as absolute.
14286 ;;
14287 *)
14288 INSTALL=`pwd`/${INSTALL} ;;
14289 esac
14290
14291
14292 case "${host}" in
14293
14294 *-*-darwin* )
14295 INSTALL_PROGRAM="cp -fp"
14296 INSTALL_DATA="cp -fp"
14297 ;;
14298 *)
14299 ;;
14300 esac
14301
14302 if test -n "$ac_tool_prefix"; then
14303 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
14304 set dummy ${ac_tool_prefix}strip; ac_word=$2
14305 echo "$as_me:$LINENO: checking for $ac_word" >&5
14306 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14307 if test "${ac_cv_prog_STRIP+set}" = set; then
14308 echo $ECHO_N "(cached) $ECHO_C" >&6
14309 else
14310 if test -n "$STRIP"; then
14311 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
14312 else
14313 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14314 for as_dir in $PATH
14315 do
14316 IFS=$as_save_IFS
14317 test -z "$as_dir" && as_dir=.
14318 for ac_exec_ext in '' $ac_executable_extensions; do
14319 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14320 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
14321 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14322 break 2
14323 fi
14324 done
14325 done
14326
14327 fi
14328 fi
14329 STRIP=$ac_cv_prog_STRIP
14330 if test -n "$STRIP"; then
14331 echo "$as_me:$LINENO: result: $STRIP" >&5
14332 echo "${ECHO_T}$STRIP" >&6
14333 else
14334 echo "$as_me:$LINENO: result: no" >&5
14335 echo "${ECHO_T}no" >&6
14336 fi
14337
14338 fi
14339 if test -z "$ac_cv_prog_STRIP"; then
14340 ac_ct_STRIP=$STRIP
14341 # Extract the first word of "strip", so it can be a program name with args.
14342 set dummy strip; ac_word=$2
14343 echo "$as_me:$LINENO: checking for $ac_word" >&5
14344 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14345 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
14346 echo $ECHO_N "(cached) $ECHO_C" >&6
14347 else
14348 if test -n "$ac_ct_STRIP"; then
14349 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
14350 else
14351 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14352 for as_dir in $PATH
14353 do
14354 IFS=$as_save_IFS
14355 test -z "$as_dir" && as_dir=.
14356 for ac_exec_ext in '' $ac_executable_extensions; do
14357 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14358 ac_cv_prog_ac_ct_STRIP="strip"
14359 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14360 break 2
14361 fi
14362 done
14363 done
14364
14365 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP="true"
14366 fi
14367 fi
14368 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
14369 if test -n "$ac_ct_STRIP"; then
14370 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
14371 echo "${ECHO_T}$ac_ct_STRIP" >&6
14372 else
14373 echo "$as_me:$LINENO: result: no" >&5
14374 echo "${ECHO_T}no" >&6
14375 fi
14376
14377 STRIP=$ac_ct_STRIP
14378 else
14379 STRIP="$ac_cv_prog_STRIP"
14380 fi
14381
14382
14383 if test "$wxUSE_WINE" = "yes"; then
14384 if test -n "$ac_tool_prefix"; then
14385 # Extract the first word of "${ac_tool_prefix}wrc", so it can be a program name with args.
14386 set dummy ${ac_tool_prefix}wrc; ac_word=$2
14387 echo "$as_me:$LINENO: checking for $ac_word" >&5
14388 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14389 if test "${ac_cv_prog_RESCOMP+set}" = set; then
14390 echo $ECHO_N "(cached) $ECHO_C" >&6
14391 else
14392 if test -n "$RESCOMP"; then
14393 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
14394 else
14395 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14396 for as_dir in $PATH
14397 do
14398 IFS=$as_save_IFS
14399 test -z "$as_dir" && as_dir=.
14400 for ac_exec_ext in '' $ac_executable_extensions; do
14401 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14402 ac_cv_prog_RESCOMP="${ac_tool_prefix}wrc"
14403 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14404 break 2
14405 fi
14406 done
14407 done
14408
14409 fi
14410 fi
14411 RESCOMP=$ac_cv_prog_RESCOMP
14412 if test -n "$RESCOMP"; then
14413 echo "$as_me:$LINENO: result: $RESCOMP" >&5
14414 echo "${ECHO_T}$RESCOMP" >&6
14415 else
14416 echo "$as_me:$LINENO: result: no" >&5
14417 echo "${ECHO_T}no" >&6
14418 fi
14419
14420 fi
14421 if test -z "$ac_cv_prog_RESCOMP"; then
14422 ac_ct_RESCOMP=$RESCOMP
14423 # Extract the first word of "wrc", so it can be a program name with args.
14424 set dummy wrc; ac_word=$2
14425 echo "$as_me:$LINENO: checking for $ac_word" >&5
14426 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14427 if test "${ac_cv_prog_ac_ct_RESCOMP+set}" = set; then
14428 echo $ECHO_N "(cached) $ECHO_C" >&6
14429 else
14430 if test -n "$ac_ct_RESCOMP"; then
14431 ac_cv_prog_ac_ct_RESCOMP="$ac_ct_RESCOMP" # Let the user override the test.
14432 else
14433 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14434 for as_dir in $PATH
14435 do
14436 IFS=$as_save_IFS
14437 test -z "$as_dir" && as_dir=.
14438 for ac_exec_ext in '' $ac_executable_extensions; do
14439 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14440 ac_cv_prog_ac_ct_RESCOMP="wrc"
14441 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14442 break 2
14443 fi
14444 done
14445 done
14446
14447 fi
14448 fi
14449 ac_ct_RESCOMP=$ac_cv_prog_ac_ct_RESCOMP
14450 if test -n "$ac_ct_RESCOMP"; then
14451 echo "$as_me:$LINENO: result: $ac_ct_RESCOMP" >&5
14452 echo "${ECHO_T}$ac_ct_RESCOMP" >&6
14453 else
14454 echo "$as_me:$LINENO: result: no" >&5
14455 echo "${ECHO_T}no" >&6
14456 fi
14457
14458 RESCOMP=$ac_ct_RESCOMP
14459 else
14460 RESCOMP="$ac_cv_prog_RESCOMP"
14461 fi
14462
14463 else
14464 case "${host}" in
14465 *-*-cygwin* | *-*-mingw32* )
14466 if test -n "$ac_tool_prefix"; then
14467 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
14468 set dummy ${ac_tool_prefix}windres; ac_word=$2
14469 echo "$as_me:$LINENO: checking for $ac_word" >&5
14470 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14471 if test "${ac_cv_prog_RESCOMP+set}" = set; then
14472 echo $ECHO_N "(cached) $ECHO_C" >&6
14473 else
14474 if test -n "$RESCOMP"; then
14475 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
14476 else
14477 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14478 for as_dir in $PATH
14479 do
14480 IFS=$as_save_IFS
14481 test -z "$as_dir" && as_dir=.
14482 for ac_exec_ext in '' $ac_executable_extensions; do
14483 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14484 ac_cv_prog_RESCOMP="${ac_tool_prefix}windres"
14485 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14486 break 2
14487 fi
14488 done
14489 done
14490
14491 fi
14492 fi
14493 RESCOMP=$ac_cv_prog_RESCOMP
14494 if test -n "$RESCOMP"; then
14495 echo "$as_me:$LINENO: result: $RESCOMP" >&5
14496 echo "${ECHO_T}$RESCOMP" >&6
14497 else
14498 echo "$as_me:$LINENO: result: no" >&5
14499 echo "${ECHO_T}no" >&6
14500 fi
14501
14502 fi
14503 if test -z "$ac_cv_prog_RESCOMP"; then
14504 ac_ct_RESCOMP=$RESCOMP
14505 # Extract the first word of "windres", so it can be a program name with args.
14506 set dummy windres; ac_word=$2
14507 echo "$as_me:$LINENO: checking for $ac_word" >&5
14508 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14509 if test "${ac_cv_prog_ac_ct_RESCOMP+set}" = set; then
14510 echo $ECHO_N "(cached) $ECHO_C" >&6
14511 else
14512 if test -n "$ac_ct_RESCOMP"; then
14513 ac_cv_prog_ac_ct_RESCOMP="$ac_ct_RESCOMP" # Let the user override the test.
14514 else
14515 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14516 for as_dir in $PATH
14517 do
14518 IFS=$as_save_IFS
14519 test -z "$as_dir" && as_dir=.
14520 for ac_exec_ext in '' $ac_executable_extensions; do
14521 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14522 ac_cv_prog_ac_ct_RESCOMP="windres"
14523 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14524 break 2
14525 fi
14526 done
14527 done
14528
14529 fi
14530 fi
14531 ac_ct_RESCOMP=$ac_cv_prog_ac_ct_RESCOMP
14532 if test -n "$ac_ct_RESCOMP"; then
14533 echo "$as_me:$LINENO: result: $ac_ct_RESCOMP" >&5
14534 echo "${ECHO_T}$ac_ct_RESCOMP" >&6
14535 else
14536 echo "$as_me:$LINENO: result: no" >&5
14537 echo "${ECHO_T}no" >&6
14538 fi
14539
14540 RESCOMP=$ac_ct_RESCOMP
14541 else
14542 RESCOMP="$ac_cv_prog_RESCOMP"
14543 fi
14544
14545 if test -n "$ac_tool_prefix"; then
14546 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
14547 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
14548 echo "$as_me:$LINENO: checking for $ac_word" >&5
14549 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14550 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
14551 echo $ECHO_N "(cached) $ECHO_C" >&6
14552 else
14553 if test -n "$DLLTOOL"; then
14554 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
14555 else
14556 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14557 for as_dir in $PATH
14558 do
14559 IFS=$as_save_IFS
14560 test -z "$as_dir" && as_dir=.
14561 for ac_exec_ext in '' $ac_executable_extensions; do
14562 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14563 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
14564 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14565 break 2
14566 fi
14567 done
14568 done
14569
14570 fi
14571 fi
14572 DLLTOOL=$ac_cv_prog_DLLTOOL
14573 if test -n "$DLLTOOL"; then
14574 echo "$as_me:$LINENO: result: $DLLTOOL" >&5
14575 echo "${ECHO_T}$DLLTOOL" >&6
14576 else
14577 echo "$as_me:$LINENO: result: no" >&5
14578 echo "${ECHO_T}no" >&6
14579 fi
14580
14581 fi
14582 if test -z "$ac_cv_prog_DLLTOOL"; then
14583 ac_ct_DLLTOOL=$DLLTOOL
14584 # Extract the first word of "dlltool", so it can be a program name with args.
14585 set dummy dlltool; ac_word=$2
14586 echo "$as_me:$LINENO: checking for $ac_word" >&5
14587 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14588 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
14589 echo $ECHO_N "(cached) $ECHO_C" >&6
14590 else
14591 if test -n "$ac_ct_DLLTOOL"; then
14592 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
14593 else
14594 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14595 for as_dir in $PATH
14596 do
14597 IFS=$as_save_IFS
14598 test -z "$as_dir" && as_dir=.
14599 for ac_exec_ext in '' $ac_executable_extensions; do
14600 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14601 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
14602 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14603 break 2
14604 fi
14605 done
14606 done
14607
14608 fi
14609 fi
14610 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
14611 if test -n "$ac_ct_DLLTOOL"; then
14612 echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
14613 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6
14614 else
14615 echo "$as_me:$LINENO: result: no" >&5
14616 echo "${ECHO_T}no" >&6
14617 fi
14618
14619 DLLTOOL=$ac_ct_DLLTOOL
14620 else
14621 DLLTOOL="$ac_cv_prog_DLLTOOL"
14622 fi
14623
14624 ;;
14625 esac
14626 fi
14627
14628 echo "$as_me:$LINENO: checking if make is GNU make" >&5
14629 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
14630 if test "${wx_cv_prog_makeisgnu+set}" = set; then
14631 echo $ECHO_N "(cached) $ECHO_C" >&6
14632 else
14633
14634 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
14635 egrep -s GNU > /dev/null); then
14636 wx_cv_prog_makeisgnu="yes"
14637 else
14638 wx_cv_prog_makeisgnu="no"
14639 fi
14640
14641 fi
14642 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
14643 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
14644
14645 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
14646 IF_GNU_MAKE=""
14647 else
14648 IF_GNU_MAKE="#"
14649 fi
14650
14651
14652
14653 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
14654 echo "$as_me:$LINENO: checking if make supports VPATH" >&5
14655 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
14656 if test "${wx_cv_prog_makevpath+set}" = set; then
14657 echo $ECHO_N "(cached) $ECHO_C" >&6
14658 else
14659
14660 cat - << EOF > confMake
14661 check : file
14662 cp \$? \$@
14663 cp \$? final_file
14664 EOF
14665
14666 if test ! -d sub ; then
14667 mkdir sub
14668 fi
14669 echo dummy > sub/file
14670 ${MAKE-make} -f confMake VPATH=sub 2>&5 > /dev/null
14671 RESULT=$?
14672 rm -f sub/file check final_file confMake
14673 rmdir sub
14674 if test "$RESULT" = 0; then
14675 wx_cv_prog_makevpath="yes"
14676 else
14677 wx_cv_prog_makevpath="no"
14678 fi
14679
14680 fi
14681 echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
14682 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
14683
14684 if test "x$wx_cv_prog_makevpath" != "xyes"; then
14685 { { echo "$as_me:$LINENO: error:
14686 You need a make-utility that is able to use the variable
14687 VPATH correctly.
14688 If your version of make does not support VPATH correctly,
14689 please install GNU-make (possibly as gmake), and start
14690 configure with the following command:
14691 export MAKE=gmake; ./configure for sh-type shells
14692 setenv MAKE gmake; ./configure for csh-type shells
14693 Also please do remember to use gmake in this case every time
14694 you are trying to compile.
14695 " >&5
14696 echo "$as_me: error:
14697 You need a make-utility that is able to use the variable
14698 VPATH correctly.
14699 If your version of make does not support VPATH correctly,
14700 please install GNU-make (possibly as gmake), and start
14701 configure with the following command:
14702 export MAKE=gmake; ./configure for sh-type shells
14703 setenv MAKE gmake; ./configure for csh-type shells
14704 Also please do remember to use gmake in this case every time
14705 you are trying to compile.
14706 " >&2;}
14707 { (exit 1); exit 1; }; }
14708 fi fi
14709 echo "$as_me:$LINENO: checking whether ln -s works" >&5
14710 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
14711 LN_S=$as_ln_s
14712 if test "$LN_S" = "ln -s"; then
14713 echo "$as_me:$LINENO: result: yes" >&5
14714 echo "${ECHO_T}yes" >&6
14715 else
14716 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
14717 echo "${ECHO_T}no, using $LN_S" >&6
14718 fi
14719
14720
14721 for ac_prog in lndir
14722 do
14723 # Extract the first word of "$ac_prog", so it can be a program name with args.
14724 set dummy $ac_prog; ac_word=$2
14725 echo "$as_me:$LINENO: checking for $ac_word" >&5
14726 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14727 if test "${ac_cv_prog_LNDIR+set}" = set; then
14728 echo $ECHO_N "(cached) $ECHO_C" >&6
14729 else
14730 if test -n "$LNDIR"; then
14731 ac_cv_prog_LNDIR="$LNDIR" # Let the user override the test.
14732 else
14733 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14734 for as_dir in $PATH
14735 do
14736 IFS=$as_save_IFS
14737 test -z "$as_dir" && as_dir=.
14738 for ac_exec_ext in '' $ac_executable_extensions; do
14739 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14740 ac_cv_prog_LNDIR="$ac_prog"
14741 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14742 break 2
14743 fi
14744 done
14745 done
14746
14747 fi
14748 fi
14749 LNDIR=$ac_cv_prog_LNDIR
14750 if test -n "$LNDIR"; then
14751 echo "$as_me:$LINENO: result: $LNDIR" >&5
14752 echo "${ECHO_T}$LNDIR" >&6
14753 else
14754 echo "$as_me:$LINENO: result: no" >&5
14755 echo "${ECHO_T}no" >&6
14756 fi
14757
14758 test -n "$LNDIR" && break
14759 done
14760 test -n "$LNDIR" || LNDIR="cp -pR"
14761
14762
14763
14764
14765 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
14766 CXXFLAGS="$CXXFLAGS -qunique"
14767 fi
14768
14769 case "${host}" in
14770 powerpc-*-darwin* )
14771 echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
14772 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6
14773 cat >conftest.$ac_ext <<_ACEOF
14774 /* confdefs.h. */
14775 _ACEOF
14776 cat confdefs.h >>conftest.$ac_ext
14777 cat >>conftest.$ac_ext <<_ACEOF
14778 /* end confdefs.h. */
14779
14780 int
14781 main ()
14782 {
14783 #ifndef __POWERPC__
14784 choke me for lack of PowerPC
14785 #endif
14786
14787 ;
14788 return 0;
14789 }
14790 _ACEOF
14791 rm -f conftest.$ac_objext
14792 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14793 (eval $ac_compile) 2>conftest.er1
14794 ac_status=$?
14795 grep -v '^ *+' conftest.er1 >conftest.err
14796 rm -f conftest.er1
14797 cat conftest.err >&5
14798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14799 (exit $ac_status); } &&
14800 { ac_try='test -z "$ac_c_werror_flag"
14801 || test ! -s conftest.err'
14802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14803 (eval $ac_try) 2>&5
14804 ac_status=$?
14805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14806 (exit $ac_status); }; } &&
14807 { ac_try='test -s conftest.$ac_objext'
14808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14809 (eval $ac_try) 2>&5
14810 ac_status=$?
14811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14812 (exit $ac_status); }; }; then
14813 echo "$as_me:$LINENO: result: yes" >&5
14814 echo "${ECHO_T}yes" >&6
14815 else
14816 echo "$as_me: failed program was:" >&5
14817 sed 's/^/| /' conftest.$ac_ext >&5
14818
14819 echo "$as_me:$LINENO: result: no" >&5
14820 echo "${ECHO_T}no" >&6
14821 cat >>confdefs.h <<\_ACEOF
14822 #define __POWERPC__ 1
14823 _ACEOF
14824
14825
14826 fi
14827 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14828 ;;
14829 esac
14830
14831 case "${host}" in
14832 *-*-darwin* )
14833 echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
14834 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6
14835 cat >conftest.$ac_ext <<_ACEOF
14836 /* confdefs.h. */
14837 _ACEOF
14838 cat confdefs.h >>conftest.$ac_ext
14839 cat >>conftest.$ac_ext <<_ACEOF
14840 /* end confdefs.h. */
14841 #include <CoreFoundation/CFBase.h>
14842
14843 int
14844 main ()
14845 {
14846
14847 ;
14848 return 0;
14849 }
14850 _ACEOF
14851 rm -f conftest.$ac_objext
14852 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14853 (eval $ac_compile) 2>conftest.er1
14854 ac_status=$?
14855 grep -v '^ *+' conftest.er1 >conftest.err
14856 rm -f conftest.er1
14857 cat conftest.err >&5
14858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14859 (exit $ac_status); } &&
14860 { ac_try='test -z "$ac_c_werror_flag"
14861 || test ! -s conftest.err'
14862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14863 (eval $ac_try) 2>&5
14864 ac_status=$?
14865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14866 (exit $ac_status); }; } &&
14867 { ac_try='test -s conftest.$ac_objext'
14868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14869 (eval $ac_try) 2>&5
14870 ac_status=$?
14871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14872 (exit $ac_status); }; }; then
14873 echo "$as_me:$LINENO: result: yes" >&5
14874 echo "${ECHO_T}yes" >&6
14875 else
14876 echo "$as_me: failed program was:" >&5
14877 sed 's/^/| /' conftest.$ac_ext >&5
14878
14879 echo "$as_me:$LINENO: result: no" >&5
14880 echo "${ECHO_T}no" >&6
14881 echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
14882 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6
14883 cat >conftest.$ac_ext <<_ACEOF
14884 /* confdefs.h. */
14885 _ACEOF
14886 cat confdefs.h >>conftest.$ac_ext
14887 cat >>conftest.$ac_ext <<_ACEOF
14888 /* end confdefs.h. */
14889 #define __CF_USE_FRAMEWORK_INCLUDES__
14890 #include <CoreFoundation/CFBase.h>
14891
14892 int
14893 main ()
14894 {
14895
14896 ;
14897 return 0;
14898 }
14899 _ACEOF
14900 rm -f conftest.$ac_objext
14901 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14902 (eval $ac_compile) 2>conftest.er1
14903 ac_status=$?
14904 grep -v '^ *+' conftest.er1 >conftest.err
14905 rm -f conftest.er1
14906 cat conftest.err >&5
14907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14908 (exit $ac_status); } &&
14909 { ac_try='test -z "$ac_c_werror_flag"
14910 || test ! -s conftest.err'
14911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14912 (eval $ac_try) 2>&5
14913 ac_status=$?
14914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14915 (exit $ac_status); }; } &&
14916 { ac_try='test -s conftest.$ac_objext'
14917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14918 (eval $ac_try) 2>&5
14919 ac_status=$?
14920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14921 (exit $ac_status); }; }; then
14922 echo "$as_me:$LINENO: result: yes" >&5
14923 echo "${ECHO_T}yes" >&6
14924 CPPFLAGS="$CPPFLAGS -D__CF_USE_FRAMEWORK_INCLUDES__"
14925 else
14926 echo "$as_me: failed program was:" >&5
14927 sed 's/^/| /' conftest.$ac_ext >&5
14928
14929 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
14930 See \`config.log' for more details." >&5
14931 echo "$as_me: error: no. CoreFoundation not available.
14932 See \`config.log' for more details." >&2;}
14933 { (exit 1); exit 1; }; }
14934
14935 fi
14936 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14937
14938
14939 fi
14940 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14941 ;;
14942 esac
14943
14944 case "${host}" in
14945 *-pc-os2_emx | *-pc-os2-emx )
14946 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
14947 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
14948 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
14949 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
14950 echo $ECHO_N "(cached) $ECHO_C" >&6
14951 else
14952 ac_check_lib_save_LIBS=$LIBS
14953 LIBS="-lcExt $LIBS"
14954 cat >conftest.$ac_ext <<_ACEOF
14955 /* confdefs.h. */
14956 _ACEOF
14957 cat confdefs.h >>conftest.$ac_ext
14958 cat >>conftest.$ac_ext <<_ACEOF
14959 /* end confdefs.h. */
14960
14961 /* Override any gcc2 internal prototype to avoid an error. */
14962 #ifdef __cplusplus
14963 extern "C"
14964 #endif
14965 /* We use char because int might match the return type of a gcc2
14966 builtin and then its argument prototype would still apply. */
14967 char drand48 ();
14968 int
14969 main ()
14970 {
14971 drand48 ();
14972 ;
14973 return 0;
14974 }
14975 _ACEOF
14976 rm -f conftest.$ac_objext conftest$ac_exeext
14977 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14978 (eval $ac_link) 2>conftest.er1
14979 ac_status=$?
14980 grep -v '^ *+' conftest.er1 >conftest.err
14981 rm -f conftest.er1
14982 cat conftest.err >&5
14983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14984 (exit $ac_status); } &&
14985 { ac_try='test -z "$ac_c_werror_flag"
14986 || test ! -s conftest.err'
14987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14988 (eval $ac_try) 2>&5
14989 ac_status=$?
14990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14991 (exit $ac_status); }; } &&
14992 { ac_try='test -s conftest$ac_exeext'
14993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14994 (eval $ac_try) 2>&5
14995 ac_status=$?
14996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14997 (exit $ac_status); }; }; then
14998 ac_cv_lib_cExt_drand48=yes
14999 else
15000 echo "$as_me: failed program was:" >&5
15001 sed 's/^/| /' conftest.$ac_ext >&5
15002
15003 ac_cv_lib_cExt_drand48=no
15004 fi
15005 rm -f conftest.err conftest.$ac_objext \
15006 conftest$ac_exeext conftest.$ac_ext
15007 LIBS=$ac_check_lib_save_LIBS
15008 fi
15009 echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
15010 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
15011 if test $ac_cv_lib_cExt_drand48 = yes; then
15012 LIBS="$LIBS -lcExt"
15013 fi
15014
15015 else
15016 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
15017 fi
15018 echo "$as_me:$LINENO: checking for gcc/libc version" >&5
15019 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6
15020 if test "${wx_cv_gccversion+set}" = set; then
15021 echo $ECHO_N "(cached) $ECHO_C" >&6
15022 else
15023
15024 if test "$cross_compiling" = yes; then
15025 wx_cv_gccversion="EMX2"
15026
15027 else
15028 cat >conftest.$ac_ext <<_ACEOF
15029 /* confdefs.h. */
15030 _ACEOF
15031 cat confdefs.h >>conftest.$ac_ext
15032 cat >>conftest.$ac_ext <<_ACEOF
15033 /* end confdefs.h. */
15034
15035 #include <stdio.h>
15036
15037 int main()
15038 {
15039 FILE *f=fopen("conftestval", "w");
15040 if (!f) exit(1);
15041 fprintf(f,
15042 #if (__GNUC__ < 3)
15043 "EMX2"
15044 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
15045 "EMX3"
15046 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
15047 "Innotek5"
15048 #else
15049 "Innotek6"
15050 #endif
15051 );
15052 exit(0);
15053 }
15054
15055 _ACEOF
15056 rm -f conftest$ac_exeext
15057 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15058 (eval $ac_link) 2>&5
15059 ac_status=$?
15060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15061 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15063 (eval $ac_try) 2>&5
15064 ac_status=$?
15065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15066 (exit $ac_status); }; }; then
15067 wx_cv_gccversion=`cat conftestval`
15068 else
15069 echo "$as_me: program exited with status $ac_status" >&5
15070 echo "$as_me: failed program was:" >&5
15071 sed 's/^/| /' conftest.$ac_ext >&5
15072
15073 ( exit $ac_status )
15074 wx_cv_gccversion="EMX2"
15075 fi
15076 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15077 fi
15078
15079 fi
15080 echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
15081 echo "${ECHO_T}$wx_cv_gccversion" >&6
15082 if test "$wx_cv_gccversion" = "EMX2"; then
15083 LIBS="$LIBS -lstdcpp"
15084 LDFLAGS="$LDFLAGS -Zsysv-signals"
15085 else
15086 if test "$wx_cv_gccversion" = "EMX3"; then
15087 LIBS="$LIBS -lstdcxx -lgcc"
15088 LDFLAGS="$LDFLAGS -Zsysv-signals"
15089 else
15090 LIBS="$LIBS -lstdc++"
15091 fi
15092 fi
15093 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
15094 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
15095 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
15096 wxUSE_OMF=yes
15097 enable_omf=yes
15098 fi
15099 ;;
15100 *)
15101
15102
15103
15104 ac_ext=cc
15105 ac_cpp='$CXXCPP $CPPFLAGS'
15106 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15107 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15108 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15109
15110
15111 echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
15112 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6
15113 if test "${ac_cv_string_strcasecmp+set}" = set; then
15114 echo $ECHO_N "(cached) $ECHO_C" >&6
15115 else
15116
15117 cat >conftest.$ac_ext <<_ACEOF
15118 /* confdefs.h. */
15119 _ACEOF
15120 cat confdefs.h >>conftest.$ac_ext
15121 cat >>conftest.$ac_ext <<_ACEOF
15122 /* end confdefs.h. */
15123
15124 #include <string.h>
15125
15126 int
15127 main ()
15128 {
15129
15130 strcasecmp("foo", "bar");
15131
15132 ;
15133 return 0;
15134 }
15135 _ACEOF
15136 rm -f conftest.$ac_objext conftest$ac_exeext
15137 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15138 (eval $ac_link) 2>conftest.er1
15139 ac_status=$?
15140 grep -v '^ *+' conftest.er1 >conftest.err
15141 rm -f conftest.er1
15142 cat conftest.err >&5
15143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15144 (exit $ac_status); } &&
15145 { ac_try='test -z "$ac_cxx_werror_flag"
15146 || test ! -s conftest.err'
15147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15148 (eval $ac_try) 2>&5
15149 ac_status=$?
15150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15151 (exit $ac_status); }; } &&
15152 { ac_try='test -s conftest$ac_exeext'
15153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15154 (eval $ac_try) 2>&5
15155 ac_status=$?
15156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15157 (exit $ac_status); }; }; then
15158 ac_cv_string_strcasecmp=yes
15159 else
15160 echo "$as_me: failed program was:" >&5
15161 sed 's/^/| /' conftest.$ac_ext >&5
15162
15163 ac_cv_string_strcasecmp=no
15164
15165 fi
15166 rm -f conftest.err conftest.$ac_objext \
15167 conftest$ac_exeext conftest.$ac_ext
15168
15169 fi
15170 echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
15171 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6
15172
15173 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
15174 cat >>confdefs.h <<\_ACEOF
15175 #define HAVE_STRCASECMP_IN_STRING_H 1
15176 _ACEOF
15177
15178 else
15179 echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
15180 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6
15181 if test "${ac_cv_strings_strcasecmp+set}" = set; then
15182 echo $ECHO_N "(cached) $ECHO_C" >&6
15183 else
15184
15185 cat >conftest.$ac_ext <<_ACEOF
15186 /* confdefs.h. */
15187 _ACEOF
15188 cat confdefs.h >>conftest.$ac_ext
15189 cat >>conftest.$ac_ext <<_ACEOF
15190 /* end confdefs.h. */
15191
15192 #include <strings.h>
15193
15194 int
15195 main ()
15196 {
15197
15198 strcasecmp("foo", "bar");
15199
15200 ;
15201 return 0;
15202 }
15203 _ACEOF
15204 rm -f conftest.$ac_objext conftest$ac_exeext
15205 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15206 (eval $ac_link) 2>conftest.er1
15207 ac_status=$?
15208 grep -v '^ *+' conftest.er1 >conftest.err
15209 rm -f conftest.er1
15210 cat conftest.err >&5
15211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15212 (exit $ac_status); } &&
15213 { ac_try='test -z "$ac_cxx_werror_flag"
15214 || test ! -s conftest.err'
15215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15216 (eval $ac_try) 2>&5
15217 ac_status=$?
15218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15219 (exit $ac_status); }; } &&
15220 { ac_try='test -s conftest$ac_exeext'
15221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15222 (eval $ac_try) 2>&5
15223 ac_status=$?
15224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15225 (exit $ac_status); }; }; then
15226 ac_cv_strings_strcasecmp=yes
15227 else
15228 echo "$as_me: failed program was:" >&5
15229 sed 's/^/| /' conftest.$ac_ext >&5
15230
15231 ac_cv_strings_strcasecmp=no
15232
15233 fi
15234 rm -f conftest.err conftest.$ac_objext \
15235 conftest$ac_exeext conftest.$ac_ext
15236
15237 fi
15238 echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
15239 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6
15240
15241 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
15242 cat >>confdefs.h <<\_ACEOF
15243 #define HAVE_STRCASECMP_IN_STRINGS_H 1
15244 _ACEOF
15245
15246 else
15247 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
15248 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
15249 { (exit 1); exit 1; }; }
15250 fi
15251 fi
15252
15253 ac_ext=c
15254 ac_cpp='$CPP $CPPFLAGS'
15255 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15256 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15257 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15258
15259 ;;
15260 esac
15261
15262
15263 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
15264 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
15265 if test "${ac_cv_header_stdc+set}" = set; then
15266 echo $ECHO_N "(cached) $ECHO_C" >&6
15267 else
15268 cat >conftest.$ac_ext <<_ACEOF
15269 /* confdefs.h. */
15270 _ACEOF
15271 cat confdefs.h >>conftest.$ac_ext
15272 cat >>conftest.$ac_ext <<_ACEOF
15273 /* end confdefs.h. */
15274 #include <stdlib.h>
15275 #include <stdarg.h>
15276 #include <string.h>
15277 #include <float.h>
15278
15279 int
15280 main ()
15281 {
15282
15283 ;
15284 return 0;
15285 }
15286 _ACEOF
15287 rm -f conftest.$ac_objext
15288 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15289 (eval $ac_compile) 2>conftest.er1
15290 ac_status=$?
15291 grep -v '^ *+' conftest.er1 >conftest.err
15292 rm -f conftest.er1
15293 cat conftest.err >&5
15294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15295 (exit $ac_status); } &&
15296 { ac_try='test -z "$ac_c_werror_flag"
15297 || test ! -s conftest.err'
15298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15299 (eval $ac_try) 2>&5
15300 ac_status=$?
15301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15302 (exit $ac_status); }; } &&
15303 { ac_try='test -s conftest.$ac_objext'
15304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15305 (eval $ac_try) 2>&5
15306 ac_status=$?
15307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15308 (exit $ac_status); }; }; then
15309 ac_cv_header_stdc=yes
15310 else
15311 echo "$as_me: failed program was:" >&5
15312 sed 's/^/| /' conftest.$ac_ext >&5
15313
15314 ac_cv_header_stdc=no
15315 fi
15316 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15317
15318 if test $ac_cv_header_stdc = yes; then
15319 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
15320 cat >conftest.$ac_ext <<_ACEOF
15321 /* confdefs.h. */
15322 _ACEOF
15323 cat confdefs.h >>conftest.$ac_ext
15324 cat >>conftest.$ac_ext <<_ACEOF
15325 /* end confdefs.h. */
15326 #include <string.h>
15327
15328 _ACEOF
15329 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15330 $EGREP "memchr" >/dev/null 2>&1; then
15331 :
15332 else
15333 ac_cv_header_stdc=no
15334 fi
15335 rm -f conftest*
15336
15337 fi
15338
15339 if test $ac_cv_header_stdc = yes; then
15340 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
15341 cat >conftest.$ac_ext <<_ACEOF
15342 /* confdefs.h. */
15343 _ACEOF
15344 cat confdefs.h >>conftest.$ac_ext
15345 cat >>conftest.$ac_ext <<_ACEOF
15346 /* end confdefs.h. */
15347 #include <stdlib.h>
15348
15349 _ACEOF
15350 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15351 $EGREP "free" >/dev/null 2>&1; then
15352 :
15353 else
15354 ac_cv_header_stdc=no
15355 fi
15356 rm -f conftest*
15357
15358 fi
15359
15360 if test $ac_cv_header_stdc = yes; then
15361 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
15362 if test "$cross_compiling" = yes; then
15363 :
15364 else
15365 cat >conftest.$ac_ext <<_ACEOF
15366 /* confdefs.h. */
15367 _ACEOF
15368 cat confdefs.h >>conftest.$ac_ext
15369 cat >>conftest.$ac_ext <<_ACEOF
15370 /* end confdefs.h. */
15371 #include <ctype.h>
15372 #if ((' ' & 0x0FF) == 0x020)
15373 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
15374 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
15375 #else
15376 # define ISLOWER(c) \
15377 (('a' <= (c) && (c) <= 'i') \
15378 || ('j' <= (c) && (c) <= 'r') \
15379 || ('s' <= (c) && (c) <= 'z'))
15380 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
15381 #endif
15382
15383 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
15384 int
15385 main ()
15386 {
15387 int i;
15388 for (i = 0; i < 256; i++)
15389 if (XOR (islower (i), ISLOWER (i))
15390 || toupper (i) != TOUPPER (i))
15391 exit(2);
15392 exit (0);
15393 }
15394 _ACEOF
15395 rm -f conftest$ac_exeext
15396 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15397 (eval $ac_link) 2>&5
15398 ac_status=$?
15399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15400 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15402 (eval $ac_try) 2>&5
15403 ac_status=$?
15404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15405 (exit $ac_status); }; }; then
15406 :
15407 else
15408 echo "$as_me: program exited with status $ac_status" >&5
15409 echo "$as_me: failed program was:" >&5
15410 sed 's/^/| /' conftest.$ac_ext >&5
15411
15412 ( exit $ac_status )
15413 ac_cv_header_stdc=no
15414 fi
15415 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15416 fi
15417 fi
15418 fi
15419 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
15420 echo "${ECHO_T}$ac_cv_header_stdc" >&6
15421 if test $ac_cv_header_stdc = yes; then
15422
15423 cat >>confdefs.h <<\_ACEOF
15424 #define STDC_HEADERS 1
15425 _ACEOF
15426
15427 fi
15428
15429 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
15430
15431
15432
15433
15434
15435
15436
15437
15438
15439 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
15440 inttypes.h stdint.h unistd.h
15441 do
15442 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15443 echo "$as_me:$LINENO: checking for $ac_header" >&5
15444 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15445 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15446 echo $ECHO_N "(cached) $ECHO_C" >&6
15447 else
15448 cat >conftest.$ac_ext <<_ACEOF
15449 /* confdefs.h. */
15450 _ACEOF
15451 cat confdefs.h >>conftest.$ac_ext
15452 cat >>conftest.$ac_ext <<_ACEOF
15453 /* end confdefs.h. */
15454 $ac_includes_default
15455
15456 #include <$ac_header>
15457 _ACEOF
15458 rm -f conftest.$ac_objext
15459 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15460 (eval $ac_compile) 2>conftest.er1
15461 ac_status=$?
15462 grep -v '^ *+' conftest.er1 >conftest.err
15463 rm -f conftest.er1
15464 cat conftest.err >&5
15465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15466 (exit $ac_status); } &&
15467 { ac_try='test -z "$ac_c_werror_flag"
15468 || test ! -s conftest.err'
15469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15470 (eval $ac_try) 2>&5
15471 ac_status=$?
15472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15473 (exit $ac_status); }; } &&
15474 { ac_try='test -s conftest.$ac_objext'
15475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15476 (eval $ac_try) 2>&5
15477 ac_status=$?
15478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15479 (exit $ac_status); }; }; then
15480 eval "$as_ac_Header=yes"
15481 else
15482 echo "$as_me: failed program was:" >&5
15483 sed 's/^/| /' conftest.$ac_ext >&5
15484
15485 eval "$as_ac_Header=no"
15486 fi
15487 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15488 fi
15489 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15490 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15491 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15492 cat >>confdefs.h <<_ACEOF
15493 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15494 _ACEOF
15495
15496 fi
15497
15498 done
15499
15500
15501
15502 for ac_header in stdlib.h
15503 do
15504 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15505 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15506 echo "$as_me:$LINENO: checking for $ac_header" >&5
15507 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15508 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15509 echo $ECHO_N "(cached) $ECHO_C" >&6
15510 fi
15511 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15512 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15513 else
15514 # Is the header compilable?
15515 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15516 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15517 cat >conftest.$ac_ext <<_ACEOF
15518 /* confdefs.h. */
15519 _ACEOF
15520 cat confdefs.h >>conftest.$ac_ext
15521 cat >>conftest.$ac_ext <<_ACEOF
15522 /* end confdefs.h. */
15523 $ac_includes_default
15524 #include <$ac_header>
15525 _ACEOF
15526 rm -f conftest.$ac_objext
15527 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15528 (eval $ac_compile) 2>conftest.er1
15529 ac_status=$?
15530 grep -v '^ *+' conftest.er1 >conftest.err
15531 rm -f conftest.er1
15532 cat conftest.err >&5
15533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15534 (exit $ac_status); } &&
15535 { ac_try='test -z "$ac_c_werror_flag"
15536 || test ! -s conftest.err'
15537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15538 (eval $ac_try) 2>&5
15539 ac_status=$?
15540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15541 (exit $ac_status); }; } &&
15542 { ac_try='test -s conftest.$ac_objext'
15543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15544 (eval $ac_try) 2>&5
15545 ac_status=$?
15546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15547 (exit $ac_status); }; }; then
15548 ac_header_compiler=yes
15549 else
15550 echo "$as_me: failed program was:" >&5
15551 sed 's/^/| /' conftest.$ac_ext >&5
15552
15553 ac_header_compiler=no
15554 fi
15555 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15556 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15557 echo "${ECHO_T}$ac_header_compiler" >&6
15558
15559 # Is the header present?
15560 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15561 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15562 cat >conftest.$ac_ext <<_ACEOF
15563 /* confdefs.h. */
15564 _ACEOF
15565 cat confdefs.h >>conftest.$ac_ext
15566 cat >>conftest.$ac_ext <<_ACEOF
15567 /* end confdefs.h. */
15568 #include <$ac_header>
15569 _ACEOF
15570 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15571 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
15572 ac_status=$?
15573 grep -v '^ *+' conftest.er1 >conftest.err
15574 rm -f conftest.er1
15575 cat conftest.err >&5
15576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15577 (exit $ac_status); } >/dev/null; then
15578 if test -s conftest.err; then
15579 ac_cpp_err=$ac_c_preproc_warn_flag
15580 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
15581 else
15582 ac_cpp_err=
15583 fi
15584 else
15585 ac_cpp_err=yes
15586 fi
15587 if test -z "$ac_cpp_err"; then
15588 ac_header_preproc=yes
15589 else
15590 echo "$as_me: failed program was:" >&5
15591 sed 's/^/| /' conftest.$ac_ext >&5
15592
15593 ac_header_preproc=no
15594 fi
15595 rm -f conftest.err conftest.$ac_ext
15596 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15597 echo "${ECHO_T}$ac_header_preproc" >&6
15598
15599 # So? What about this header?
15600 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15601 yes:no: )
15602 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15603 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15604 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15605 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15606 ac_header_preproc=yes
15607 ;;
15608 no:yes:* )
15609 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15610 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15611 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15612 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15613 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15614 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15615 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15616 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15617 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15618 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15619 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15620 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15621 (
15622 cat <<\_ASBOX
15623 ## ----------------------------------------- ##
15624 ## Report this to wx-dev@lists.wxwidgets.org ##
15625 ## ----------------------------------------- ##
15626 _ASBOX
15627 ) |
15628 sed "s/^/$as_me: WARNING: /" >&2
15629 ;;
15630 esac
15631 echo "$as_me:$LINENO: checking for $ac_header" >&5
15632 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15633 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15634 echo $ECHO_N "(cached) $ECHO_C" >&6
15635 else
15636 eval "$as_ac_Header=\$ac_header_preproc"
15637 fi
15638 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15639 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15640
15641 fi
15642 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15643 cat >>confdefs.h <<_ACEOF
15644 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15645 _ACEOF
15646
15647 fi
15648
15649 done
15650
15651
15652 for ac_header in malloc.h
15653 do
15654 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15655 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15656 echo "$as_me:$LINENO: checking for $ac_header" >&5
15657 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15658 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15659 echo $ECHO_N "(cached) $ECHO_C" >&6
15660 fi
15661 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15662 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15663 else
15664 # Is the header compilable?
15665 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15666 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15667 cat >conftest.$ac_ext <<_ACEOF
15668 /* confdefs.h. */
15669 _ACEOF
15670 cat confdefs.h >>conftest.$ac_ext
15671 cat >>conftest.$ac_ext <<_ACEOF
15672 /* end confdefs.h. */
15673 $ac_includes_default
15674 #include <$ac_header>
15675 _ACEOF
15676 rm -f conftest.$ac_objext
15677 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15678 (eval $ac_compile) 2>conftest.er1
15679 ac_status=$?
15680 grep -v '^ *+' conftest.er1 >conftest.err
15681 rm -f conftest.er1
15682 cat conftest.err >&5
15683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15684 (exit $ac_status); } &&
15685 { ac_try='test -z "$ac_c_werror_flag"
15686 || test ! -s conftest.err'
15687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15688 (eval $ac_try) 2>&5
15689 ac_status=$?
15690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15691 (exit $ac_status); }; } &&
15692 { ac_try='test -s conftest.$ac_objext'
15693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15694 (eval $ac_try) 2>&5
15695 ac_status=$?
15696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15697 (exit $ac_status); }; }; then
15698 ac_header_compiler=yes
15699 else
15700 echo "$as_me: failed program was:" >&5
15701 sed 's/^/| /' conftest.$ac_ext >&5
15702
15703 ac_header_compiler=no
15704 fi
15705 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15706 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15707 echo "${ECHO_T}$ac_header_compiler" >&6
15708
15709 # Is the header present?
15710 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15711 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15712 cat >conftest.$ac_ext <<_ACEOF
15713 /* confdefs.h. */
15714 _ACEOF
15715 cat confdefs.h >>conftest.$ac_ext
15716 cat >>conftest.$ac_ext <<_ACEOF
15717 /* end confdefs.h. */
15718 #include <$ac_header>
15719 _ACEOF
15720 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15721 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
15722 ac_status=$?
15723 grep -v '^ *+' conftest.er1 >conftest.err
15724 rm -f conftest.er1
15725 cat conftest.err >&5
15726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15727 (exit $ac_status); } >/dev/null; then
15728 if test -s conftest.err; then
15729 ac_cpp_err=$ac_c_preproc_warn_flag
15730 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
15731 else
15732 ac_cpp_err=
15733 fi
15734 else
15735 ac_cpp_err=yes
15736 fi
15737 if test -z "$ac_cpp_err"; then
15738 ac_header_preproc=yes
15739 else
15740 echo "$as_me: failed program was:" >&5
15741 sed 's/^/| /' conftest.$ac_ext >&5
15742
15743 ac_header_preproc=no
15744 fi
15745 rm -f conftest.err conftest.$ac_ext
15746 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15747 echo "${ECHO_T}$ac_header_preproc" >&6
15748
15749 # So? What about this header?
15750 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15751 yes:no: )
15752 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15753 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15754 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15755 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15756 ac_header_preproc=yes
15757 ;;
15758 no:yes:* )
15759 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15760 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15761 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15762 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15763 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15764 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15765 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15766 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15767 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15768 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15769 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15770 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15771 (
15772 cat <<\_ASBOX
15773 ## ----------------------------------------- ##
15774 ## Report this to wx-dev@lists.wxwidgets.org ##
15775 ## ----------------------------------------- ##
15776 _ASBOX
15777 ) |
15778 sed "s/^/$as_me: WARNING: /" >&2
15779 ;;
15780 esac
15781 echo "$as_me:$LINENO: checking for $ac_header" >&5
15782 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15783 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15784 echo $ECHO_N "(cached) $ECHO_C" >&6
15785 else
15786 eval "$as_ac_Header=\$ac_header_preproc"
15787 fi
15788 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15789 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15790
15791 fi
15792 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15793 cat >>confdefs.h <<_ACEOF
15794 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15795 _ACEOF
15796
15797 fi
15798
15799 done
15800
15801
15802 for ac_header in unistd.h
15803 do
15804 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15805 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15806 echo "$as_me:$LINENO: checking for $ac_header" >&5
15807 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15808 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15809 echo $ECHO_N "(cached) $ECHO_C" >&6
15810 fi
15811 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15812 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15813 else
15814 # Is the header compilable?
15815 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15816 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15817 cat >conftest.$ac_ext <<_ACEOF
15818 /* confdefs.h. */
15819 _ACEOF
15820 cat confdefs.h >>conftest.$ac_ext
15821 cat >>conftest.$ac_ext <<_ACEOF
15822 /* end confdefs.h. */
15823 $ac_includes_default
15824 #include <$ac_header>
15825 _ACEOF
15826 rm -f conftest.$ac_objext
15827 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15828 (eval $ac_compile) 2>conftest.er1
15829 ac_status=$?
15830 grep -v '^ *+' conftest.er1 >conftest.err
15831 rm -f conftest.er1
15832 cat conftest.err >&5
15833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15834 (exit $ac_status); } &&
15835 { ac_try='test -z "$ac_c_werror_flag"
15836 || test ! -s conftest.err'
15837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15838 (eval $ac_try) 2>&5
15839 ac_status=$?
15840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15841 (exit $ac_status); }; } &&
15842 { ac_try='test -s conftest.$ac_objext'
15843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15844 (eval $ac_try) 2>&5
15845 ac_status=$?
15846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15847 (exit $ac_status); }; }; then
15848 ac_header_compiler=yes
15849 else
15850 echo "$as_me: failed program was:" >&5
15851 sed 's/^/| /' conftest.$ac_ext >&5
15852
15853 ac_header_compiler=no
15854 fi
15855 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15856 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15857 echo "${ECHO_T}$ac_header_compiler" >&6
15858
15859 # Is the header present?
15860 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15861 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15862 cat >conftest.$ac_ext <<_ACEOF
15863 /* confdefs.h. */
15864 _ACEOF
15865 cat confdefs.h >>conftest.$ac_ext
15866 cat >>conftest.$ac_ext <<_ACEOF
15867 /* end confdefs.h. */
15868 #include <$ac_header>
15869 _ACEOF
15870 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15871 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
15872 ac_status=$?
15873 grep -v '^ *+' conftest.er1 >conftest.err
15874 rm -f conftest.er1
15875 cat conftest.err >&5
15876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15877 (exit $ac_status); } >/dev/null; then
15878 if test -s conftest.err; then
15879 ac_cpp_err=$ac_c_preproc_warn_flag
15880 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
15881 else
15882 ac_cpp_err=
15883 fi
15884 else
15885 ac_cpp_err=yes
15886 fi
15887 if test -z "$ac_cpp_err"; then
15888 ac_header_preproc=yes
15889 else
15890 echo "$as_me: failed program was:" >&5
15891 sed 's/^/| /' conftest.$ac_ext >&5
15892
15893 ac_header_preproc=no
15894 fi
15895 rm -f conftest.err conftest.$ac_ext
15896 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15897 echo "${ECHO_T}$ac_header_preproc" >&6
15898
15899 # So? What about this header?
15900 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15901 yes:no: )
15902 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15903 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15904 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15905 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15906 ac_header_preproc=yes
15907 ;;
15908 no:yes:* )
15909 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15910 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15911 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15912 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15913 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15914 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15915 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15916 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15917 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15918 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15919 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15920 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15921 (
15922 cat <<\_ASBOX
15923 ## ----------------------------------------- ##
15924 ## Report this to wx-dev@lists.wxwidgets.org ##
15925 ## ----------------------------------------- ##
15926 _ASBOX
15927 ) |
15928 sed "s/^/$as_me: WARNING: /" >&2
15929 ;;
15930 esac
15931 echo "$as_me:$LINENO: checking for $ac_header" >&5
15932 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15933 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15934 echo $ECHO_N "(cached) $ECHO_C" >&6
15935 else
15936 eval "$as_ac_Header=\$ac_header_preproc"
15937 fi
15938 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15939 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15940
15941 fi
15942 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15943 cat >>confdefs.h <<_ACEOF
15944 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15945 _ACEOF
15946
15947 fi
15948
15949 done
15950
15951
15952 for ac_header in wchar.h
15953 do
15954 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15955 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15956 echo "$as_me:$LINENO: checking for $ac_header" >&5
15957 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15958 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15959 echo $ECHO_N "(cached) $ECHO_C" >&6
15960 fi
15961 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15962 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15963 else
15964 # Is the header compilable?
15965 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15966 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15967 cat >conftest.$ac_ext <<_ACEOF
15968 /* confdefs.h. */
15969 _ACEOF
15970 cat confdefs.h >>conftest.$ac_ext
15971 cat >>conftest.$ac_ext <<_ACEOF
15972 /* end confdefs.h. */
15973 $ac_includes_default
15974 #include <$ac_header>
15975 _ACEOF
15976 rm -f conftest.$ac_objext
15977 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15978 (eval $ac_compile) 2>conftest.er1
15979 ac_status=$?
15980 grep -v '^ *+' conftest.er1 >conftest.err
15981 rm -f conftest.er1
15982 cat conftest.err >&5
15983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15984 (exit $ac_status); } &&
15985 { ac_try='test -z "$ac_c_werror_flag"
15986 || test ! -s conftest.err'
15987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15988 (eval $ac_try) 2>&5
15989 ac_status=$?
15990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15991 (exit $ac_status); }; } &&
15992 { ac_try='test -s conftest.$ac_objext'
15993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15994 (eval $ac_try) 2>&5
15995 ac_status=$?
15996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15997 (exit $ac_status); }; }; then
15998 ac_header_compiler=yes
15999 else
16000 echo "$as_me: failed program was:" >&5
16001 sed 's/^/| /' conftest.$ac_ext >&5
16002
16003 ac_header_compiler=no
16004 fi
16005 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16006 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16007 echo "${ECHO_T}$ac_header_compiler" >&6
16008
16009 # Is the header present?
16010 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16011 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16012 cat >conftest.$ac_ext <<_ACEOF
16013 /* confdefs.h. */
16014 _ACEOF
16015 cat confdefs.h >>conftest.$ac_ext
16016 cat >>conftest.$ac_ext <<_ACEOF
16017 /* end confdefs.h. */
16018 #include <$ac_header>
16019 _ACEOF
16020 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16021 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16022 ac_status=$?
16023 grep -v '^ *+' conftest.er1 >conftest.err
16024 rm -f conftest.er1
16025 cat conftest.err >&5
16026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16027 (exit $ac_status); } >/dev/null; then
16028 if test -s conftest.err; then
16029 ac_cpp_err=$ac_c_preproc_warn_flag
16030 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
16031 else
16032 ac_cpp_err=
16033 fi
16034 else
16035 ac_cpp_err=yes
16036 fi
16037 if test -z "$ac_cpp_err"; then
16038 ac_header_preproc=yes
16039 else
16040 echo "$as_me: failed program was:" >&5
16041 sed 's/^/| /' conftest.$ac_ext >&5
16042
16043 ac_header_preproc=no
16044 fi
16045 rm -f conftest.err conftest.$ac_ext
16046 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16047 echo "${ECHO_T}$ac_header_preproc" >&6
16048
16049 # So? What about this header?
16050 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16051 yes:no: )
16052 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16053 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16054 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16055 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16056 ac_header_preproc=yes
16057 ;;
16058 no:yes:* )
16059 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16060 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16061 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16062 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16063 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16064 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16065 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16066 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16067 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16068 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16069 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16070 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16071 (
16072 cat <<\_ASBOX
16073 ## ----------------------------------------- ##
16074 ## Report this to wx-dev@lists.wxwidgets.org ##
16075 ## ----------------------------------------- ##
16076 _ASBOX
16077 ) |
16078 sed "s/^/$as_me: WARNING: /" >&2
16079 ;;
16080 esac
16081 echo "$as_me:$LINENO: checking for $ac_header" >&5
16082 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16083 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16084 echo $ECHO_N "(cached) $ECHO_C" >&6
16085 else
16086 eval "$as_ac_Header=\$ac_header_preproc"
16087 fi
16088 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16089 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16090
16091 fi
16092 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16093 cat >>confdefs.h <<_ACEOF
16094 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16095 _ACEOF
16096
16097 fi
16098
16099 done
16100
16101
16102 if test "$ac_cv_header_wchar_h" != "yes"; then
16103
16104 for ac_header in wcstr.h
16105 do
16106 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16107 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16108 echo "$as_me:$LINENO: checking for $ac_header" >&5
16109 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16110 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16111 echo $ECHO_N "(cached) $ECHO_C" >&6
16112 fi
16113 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16114 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16115 else
16116 # Is the header compilable?
16117 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16118 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16119 cat >conftest.$ac_ext <<_ACEOF
16120 /* confdefs.h. */
16121 _ACEOF
16122 cat confdefs.h >>conftest.$ac_ext
16123 cat >>conftest.$ac_ext <<_ACEOF
16124 /* end confdefs.h. */
16125 $ac_includes_default
16126 #include <$ac_header>
16127 _ACEOF
16128 rm -f conftest.$ac_objext
16129 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16130 (eval $ac_compile) 2>conftest.er1
16131 ac_status=$?
16132 grep -v '^ *+' conftest.er1 >conftest.err
16133 rm -f conftest.er1
16134 cat conftest.err >&5
16135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16136 (exit $ac_status); } &&
16137 { ac_try='test -z "$ac_c_werror_flag"
16138 || test ! -s conftest.err'
16139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16140 (eval $ac_try) 2>&5
16141 ac_status=$?
16142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16143 (exit $ac_status); }; } &&
16144 { ac_try='test -s conftest.$ac_objext'
16145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16146 (eval $ac_try) 2>&5
16147 ac_status=$?
16148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16149 (exit $ac_status); }; }; then
16150 ac_header_compiler=yes
16151 else
16152 echo "$as_me: failed program was:" >&5
16153 sed 's/^/| /' conftest.$ac_ext >&5
16154
16155 ac_header_compiler=no
16156 fi
16157 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16158 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16159 echo "${ECHO_T}$ac_header_compiler" >&6
16160
16161 # Is the header present?
16162 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16163 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16164 cat >conftest.$ac_ext <<_ACEOF
16165 /* confdefs.h. */
16166 _ACEOF
16167 cat confdefs.h >>conftest.$ac_ext
16168 cat >>conftest.$ac_ext <<_ACEOF
16169 /* end confdefs.h. */
16170 #include <$ac_header>
16171 _ACEOF
16172 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16173 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16174 ac_status=$?
16175 grep -v '^ *+' conftest.er1 >conftest.err
16176 rm -f conftest.er1
16177 cat conftest.err >&5
16178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16179 (exit $ac_status); } >/dev/null; then
16180 if test -s conftest.err; then
16181 ac_cpp_err=$ac_c_preproc_warn_flag
16182 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
16183 else
16184 ac_cpp_err=
16185 fi
16186 else
16187 ac_cpp_err=yes
16188 fi
16189 if test -z "$ac_cpp_err"; then
16190 ac_header_preproc=yes
16191 else
16192 echo "$as_me: failed program was:" >&5
16193 sed 's/^/| /' conftest.$ac_ext >&5
16194
16195 ac_header_preproc=no
16196 fi
16197 rm -f conftest.err conftest.$ac_ext
16198 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16199 echo "${ECHO_T}$ac_header_preproc" >&6
16200
16201 # So? What about this header?
16202 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16203 yes:no: )
16204 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16205 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16206 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16207 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16208 ac_header_preproc=yes
16209 ;;
16210 no:yes:* )
16211 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16212 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16213 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16214 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16215 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16216 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16217 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16218 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16219 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16220 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16221 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16222 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16223 (
16224 cat <<\_ASBOX
16225 ## ----------------------------------------- ##
16226 ## Report this to wx-dev@lists.wxwidgets.org ##
16227 ## ----------------------------------------- ##
16228 _ASBOX
16229 ) |
16230 sed "s/^/$as_me: WARNING: /" >&2
16231 ;;
16232 esac
16233 echo "$as_me:$LINENO: checking for $ac_header" >&5
16234 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16235 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16236 echo $ECHO_N "(cached) $ECHO_C" >&6
16237 else
16238 eval "$as_ac_Header=\$ac_header_preproc"
16239 fi
16240 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16241 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16242
16243 fi
16244 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16245 cat >>confdefs.h <<_ACEOF
16246 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16247 _ACEOF
16248
16249 fi
16250
16251 done
16252
16253 fi
16254
16255
16256 for ac_header in fnmatch.h
16257 do
16258 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16259 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16260 echo "$as_me:$LINENO: checking for $ac_header" >&5
16261 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16262 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16263 echo $ECHO_N "(cached) $ECHO_C" >&6
16264 fi
16265 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16266 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16267 else
16268 # Is the header compilable?
16269 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16270 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16271 cat >conftest.$ac_ext <<_ACEOF
16272 /* confdefs.h. */
16273 _ACEOF
16274 cat confdefs.h >>conftest.$ac_ext
16275 cat >>conftest.$ac_ext <<_ACEOF
16276 /* end confdefs.h. */
16277 $ac_includes_default
16278 #include <$ac_header>
16279 _ACEOF
16280 rm -f conftest.$ac_objext
16281 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16282 (eval $ac_compile) 2>conftest.er1
16283 ac_status=$?
16284 grep -v '^ *+' conftest.er1 >conftest.err
16285 rm -f conftest.er1
16286 cat conftest.err >&5
16287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16288 (exit $ac_status); } &&
16289 { ac_try='test -z "$ac_c_werror_flag"
16290 || test ! -s conftest.err'
16291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16292 (eval $ac_try) 2>&5
16293 ac_status=$?
16294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16295 (exit $ac_status); }; } &&
16296 { ac_try='test -s conftest.$ac_objext'
16297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16298 (eval $ac_try) 2>&5
16299 ac_status=$?
16300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16301 (exit $ac_status); }; }; then
16302 ac_header_compiler=yes
16303 else
16304 echo "$as_me: failed program was:" >&5
16305 sed 's/^/| /' conftest.$ac_ext >&5
16306
16307 ac_header_compiler=no
16308 fi
16309 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16310 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16311 echo "${ECHO_T}$ac_header_compiler" >&6
16312
16313 # Is the header present?
16314 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16315 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16316 cat >conftest.$ac_ext <<_ACEOF
16317 /* confdefs.h. */
16318 _ACEOF
16319 cat confdefs.h >>conftest.$ac_ext
16320 cat >>conftest.$ac_ext <<_ACEOF
16321 /* end confdefs.h. */
16322 #include <$ac_header>
16323 _ACEOF
16324 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16325 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16326 ac_status=$?
16327 grep -v '^ *+' conftest.er1 >conftest.err
16328 rm -f conftest.er1
16329 cat conftest.err >&5
16330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16331 (exit $ac_status); } >/dev/null; then
16332 if test -s conftest.err; then
16333 ac_cpp_err=$ac_c_preproc_warn_flag
16334 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
16335 else
16336 ac_cpp_err=
16337 fi
16338 else
16339 ac_cpp_err=yes
16340 fi
16341 if test -z "$ac_cpp_err"; then
16342 ac_header_preproc=yes
16343 else
16344 echo "$as_me: failed program was:" >&5
16345 sed 's/^/| /' conftest.$ac_ext >&5
16346
16347 ac_header_preproc=no
16348 fi
16349 rm -f conftest.err conftest.$ac_ext
16350 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16351 echo "${ECHO_T}$ac_header_preproc" >&6
16352
16353 # So? What about this header?
16354 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16355 yes:no: )
16356 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16357 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16358 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16359 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16360 ac_header_preproc=yes
16361 ;;
16362 no:yes:* )
16363 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16364 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16365 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16366 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16367 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16368 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16369 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16370 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16371 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16372 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16373 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16374 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16375 (
16376 cat <<\_ASBOX
16377 ## ----------------------------------------- ##
16378 ## Report this to wx-dev@lists.wxwidgets.org ##
16379 ## ----------------------------------------- ##
16380 _ASBOX
16381 ) |
16382 sed "s/^/$as_me: WARNING: /" >&2
16383 ;;
16384 esac
16385 echo "$as_me:$LINENO: checking for $ac_header" >&5
16386 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16387 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16388 echo $ECHO_N "(cached) $ECHO_C" >&6
16389 else
16390 eval "$as_ac_Header=\$ac_header_preproc"
16391 fi
16392 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16393 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16394
16395 fi
16396 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16397 cat >>confdefs.h <<_ACEOF
16398 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16399 _ACEOF
16400
16401 fi
16402
16403 done
16404
16405
16406
16407 for ac_header in langinfo.h
16408 do
16409 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16410 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16411 echo "$as_me:$LINENO: checking for $ac_header" >&5
16412 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16413 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16414 echo $ECHO_N "(cached) $ECHO_C" >&6
16415 fi
16416 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16417 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16418 else
16419 # Is the header compilable?
16420 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16421 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16422 cat >conftest.$ac_ext <<_ACEOF
16423 /* confdefs.h. */
16424 _ACEOF
16425 cat confdefs.h >>conftest.$ac_ext
16426 cat >>conftest.$ac_ext <<_ACEOF
16427 /* end confdefs.h. */
16428 $ac_includes_default
16429 #include <$ac_header>
16430 _ACEOF
16431 rm -f conftest.$ac_objext
16432 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16433 (eval $ac_compile) 2>conftest.er1
16434 ac_status=$?
16435 grep -v '^ *+' conftest.er1 >conftest.err
16436 rm -f conftest.er1
16437 cat conftest.err >&5
16438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16439 (exit $ac_status); } &&
16440 { ac_try='test -z "$ac_c_werror_flag"
16441 || test ! -s conftest.err'
16442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16443 (eval $ac_try) 2>&5
16444 ac_status=$?
16445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16446 (exit $ac_status); }; } &&
16447 { ac_try='test -s conftest.$ac_objext'
16448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16449 (eval $ac_try) 2>&5
16450 ac_status=$?
16451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16452 (exit $ac_status); }; }; then
16453 ac_header_compiler=yes
16454 else
16455 echo "$as_me: failed program was:" >&5
16456 sed 's/^/| /' conftest.$ac_ext >&5
16457
16458 ac_header_compiler=no
16459 fi
16460 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16461 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16462 echo "${ECHO_T}$ac_header_compiler" >&6
16463
16464 # Is the header present?
16465 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16466 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16467 cat >conftest.$ac_ext <<_ACEOF
16468 /* confdefs.h. */
16469 _ACEOF
16470 cat confdefs.h >>conftest.$ac_ext
16471 cat >>conftest.$ac_ext <<_ACEOF
16472 /* end confdefs.h. */
16473 #include <$ac_header>
16474 _ACEOF
16475 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16476 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16477 ac_status=$?
16478 grep -v '^ *+' conftest.er1 >conftest.err
16479 rm -f conftest.er1
16480 cat conftest.err >&5
16481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16482 (exit $ac_status); } >/dev/null; then
16483 if test -s conftest.err; then
16484 ac_cpp_err=$ac_c_preproc_warn_flag
16485 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
16486 else
16487 ac_cpp_err=
16488 fi
16489 else
16490 ac_cpp_err=yes
16491 fi
16492 if test -z "$ac_cpp_err"; then
16493 ac_header_preproc=yes
16494 else
16495 echo "$as_me: failed program was:" >&5
16496 sed 's/^/| /' conftest.$ac_ext >&5
16497
16498 ac_header_preproc=no
16499 fi
16500 rm -f conftest.err conftest.$ac_ext
16501 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16502 echo "${ECHO_T}$ac_header_preproc" >&6
16503
16504 # So? What about this header?
16505 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16506 yes:no: )
16507 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16508 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16509 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16510 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16511 ac_header_preproc=yes
16512 ;;
16513 no:yes:* )
16514 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16515 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16516 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16517 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16518 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16519 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16520 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16521 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16522 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16523 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16524 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16525 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16526 (
16527 cat <<\_ASBOX
16528 ## ----------------------------------------- ##
16529 ## Report this to wx-dev@lists.wxwidgets.org ##
16530 ## ----------------------------------------- ##
16531 _ASBOX
16532 ) |
16533 sed "s/^/$as_me: WARNING: /" >&2
16534 ;;
16535 esac
16536 echo "$as_me:$LINENO: checking for $ac_header" >&5
16537 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16538 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16539 echo $ECHO_N "(cached) $ECHO_C" >&6
16540 else
16541 eval "$as_ac_Header=\$ac_header_preproc"
16542 fi
16543 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16544 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16545
16546 fi
16547 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16548 cat >>confdefs.h <<_ACEOF
16549 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16550 _ACEOF
16551
16552 fi
16553
16554 done
16555
16556
16557 case "${host}" in
16558 *-pc-os2_emx | *-pc-os2-emx )
16559 if test $ac_cv_header_langinfo_h = "yes" \
16560 -a \( "$wx_cv_gccversion" = "EMX2" \
16561 -o "$wx_cv_gccversion" = "EMX3" \
16562 -o "$wx_cv_gccversion" = "Innotek5" \); then
16563 LIBS="$LIBS -lintl"
16564 fi
16565 ;;
16566 esac
16567
16568
16569 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
16570 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
16571 if test "${ac_cv_c_const+set}" = set; then
16572 echo $ECHO_N "(cached) $ECHO_C" >&6
16573 else
16574 cat >conftest.$ac_ext <<_ACEOF
16575 /* confdefs.h. */
16576 _ACEOF
16577 cat confdefs.h >>conftest.$ac_ext
16578 cat >>conftest.$ac_ext <<_ACEOF
16579 /* end confdefs.h. */
16580
16581 int
16582 main ()
16583 {
16584 /* FIXME: Include the comments suggested by Paul. */
16585 #ifndef __cplusplus
16586 /* Ultrix mips cc rejects this. */
16587 typedef int charset[2];
16588 const charset x;
16589 /* SunOS 4.1.1 cc rejects this. */
16590 char const *const *ccp;
16591 char **p;
16592 /* NEC SVR4.0.2 mips cc rejects this. */
16593 struct point {int x, y;};
16594 static struct point const zero = {0,0};
16595 /* AIX XL C 1.02.0.0 rejects this.
16596 It does not let you subtract one const X* pointer from another in
16597 an arm of an if-expression whose if-part is not a constant
16598 expression */
16599 const char *g = "string";
16600 ccp = &g + (g ? g-g : 0);
16601 /* HPUX 7.0 cc rejects these. */
16602 ++ccp;
16603 p = (char**) ccp;
16604 ccp = (char const *const *) p;
16605 { /* SCO 3.2v4 cc rejects this. */
16606 char *t;
16607 char const *s = 0 ? (char *) 0 : (char const *) 0;
16608
16609 *t++ = 0;
16610 }
16611 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
16612 int x[] = {25, 17};
16613 const int *foo = &x[0];
16614 ++foo;
16615 }
16616 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
16617 typedef const int *iptr;
16618 iptr p = 0;
16619 ++p;
16620 }
16621 { /* AIX XL C 1.02.0.0 rejects this saying
16622 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
16623 struct s { int j; const int *ap[3]; };
16624 struct s *b; b->j = 5;
16625 }
16626 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
16627 const int foo = 10;
16628 }
16629 #endif
16630
16631 ;
16632 return 0;
16633 }
16634 _ACEOF
16635 rm -f conftest.$ac_objext
16636 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16637 (eval $ac_compile) 2>conftest.er1
16638 ac_status=$?
16639 grep -v '^ *+' conftest.er1 >conftest.err
16640 rm -f conftest.er1
16641 cat conftest.err >&5
16642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16643 (exit $ac_status); } &&
16644 { ac_try='test -z "$ac_c_werror_flag"
16645 || test ! -s conftest.err'
16646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16647 (eval $ac_try) 2>&5
16648 ac_status=$?
16649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16650 (exit $ac_status); }; } &&
16651 { ac_try='test -s conftest.$ac_objext'
16652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16653 (eval $ac_try) 2>&5
16654 ac_status=$?
16655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16656 (exit $ac_status); }; }; then
16657 ac_cv_c_const=yes
16658 else
16659 echo "$as_me: failed program was:" >&5
16660 sed 's/^/| /' conftest.$ac_ext >&5
16661
16662 ac_cv_c_const=no
16663 fi
16664 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16665 fi
16666 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
16667 echo "${ECHO_T}$ac_cv_c_const" >&6
16668 if test $ac_cv_c_const = no; then
16669
16670 cat >>confdefs.h <<\_ACEOF
16671 #define const
16672 _ACEOF
16673
16674 fi
16675
16676 echo "$as_me:$LINENO: checking for inline" >&5
16677 echo $ECHO_N "checking for inline... $ECHO_C" >&6
16678 if test "${ac_cv_c_inline+set}" = set; then
16679 echo $ECHO_N "(cached) $ECHO_C" >&6
16680 else
16681 ac_cv_c_inline=no
16682 for ac_kw in inline __inline__ __inline; do
16683 cat >conftest.$ac_ext <<_ACEOF
16684 /* confdefs.h. */
16685 _ACEOF
16686 cat confdefs.h >>conftest.$ac_ext
16687 cat >>conftest.$ac_ext <<_ACEOF
16688 /* end confdefs.h. */
16689 #ifndef __cplusplus
16690 typedef int foo_t;
16691 static $ac_kw foo_t static_foo () {return 0; }
16692 $ac_kw foo_t foo () {return 0; }
16693 #endif
16694
16695 _ACEOF
16696 rm -f conftest.$ac_objext
16697 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16698 (eval $ac_compile) 2>conftest.er1
16699 ac_status=$?
16700 grep -v '^ *+' conftest.er1 >conftest.err
16701 rm -f conftest.er1
16702 cat conftest.err >&5
16703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16704 (exit $ac_status); } &&
16705 { ac_try='test -z "$ac_c_werror_flag"
16706 || test ! -s conftest.err'
16707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16708 (eval $ac_try) 2>&5
16709 ac_status=$?
16710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16711 (exit $ac_status); }; } &&
16712 { ac_try='test -s conftest.$ac_objext'
16713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16714 (eval $ac_try) 2>&5
16715 ac_status=$?
16716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16717 (exit $ac_status); }; }; then
16718 ac_cv_c_inline=$ac_kw; break
16719 else
16720 echo "$as_me: failed program was:" >&5
16721 sed 's/^/| /' conftest.$ac_ext >&5
16722
16723 fi
16724 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16725 done
16726
16727 fi
16728 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
16729 echo "${ECHO_T}$ac_cv_c_inline" >&6
16730
16731
16732 case $ac_cv_c_inline in
16733 inline | yes) ;;
16734 *)
16735 case $ac_cv_c_inline in
16736 no) ac_val=;;
16737 *) ac_val=$ac_cv_c_inline;;
16738 esac
16739 cat >>confdefs.h <<_ACEOF
16740 #ifndef __cplusplus
16741 #define inline $ac_val
16742 #endif
16743 _ACEOF
16744 ;;
16745 esac
16746
16747
16748 echo "$as_me:$LINENO: checking for char" >&5
16749 echo $ECHO_N "checking for char... $ECHO_C" >&6
16750 if test "${ac_cv_type_char+set}" = set; then
16751 echo $ECHO_N "(cached) $ECHO_C" >&6
16752 else
16753 cat >conftest.$ac_ext <<_ACEOF
16754 /* confdefs.h. */
16755 _ACEOF
16756 cat confdefs.h >>conftest.$ac_ext
16757 cat >>conftest.$ac_ext <<_ACEOF
16758 /* end confdefs.h. */
16759 $ac_includes_default
16760 int
16761 main ()
16762 {
16763 if ((char *) 0)
16764 return 0;
16765 if (sizeof (char))
16766 return 0;
16767 ;
16768 return 0;
16769 }
16770 _ACEOF
16771 rm -f conftest.$ac_objext
16772 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16773 (eval $ac_compile) 2>conftest.er1
16774 ac_status=$?
16775 grep -v '^ *+' conftest.er1 >conftest.err
16776 rm -f conftest.er1
16777 cat conftest.err >&5
16778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16779 (exit $ac_status); } &&
16780 { ac_try='test -z "$ac_c_werror_flag"
16781 || test ! -s conftest.err'
16782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16783 (eval $ac_try) 2>&5
16784 ac_status=$?
16785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16786 (exit $ac_status); }; } &&
16787 { ac_try='test -s conftest.$ac_objext'
16788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16789 (eval $ac_try) 2>&5
16790 ac_status=$?
16791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16792 (exit $ac_status); }; }; then
16793 ac_cv_type_char=yes
16794 else
16795 echo "$as_me: failed program was:" >&5
16796 sed 's/^/| /' conftest.$ac_ext >&5
16797
16798 ac_cv_type_char=no
16799 fi
16800 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16801 fi
16802 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
16803 echo "${ECHO_T}$ac_cv_type_char" >&6
16804
16805 echo "$as_me:$LINENO: checking size of char" >&5
16806 echo $ECHO_N "checking size of char... $ECHO_C" >&6
16807 if test "${ac_cv_sizeof_char+set}" = set; then
16808 echo $ECHO_N "(cached) $ECHO_C" >&6
16809 else
16810 if test "$ac_cv_type_char" = yes; then
16811 # The cast to unsigned long works around a bug in the HP C Compiler
16812 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16813 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16814 # This bug is HP SR number 8606223364.
16815 if test "$cross_compiling" = yes; then
16816 # Depending upon the size, compute the lo and hi bounds.
16817 cat >conftest.$ac_ext <<_ACEOF
16818 /* confdefs.h. */
16819 _ACEOF
16820 cat confdefs.h >>conftest.$ac_ext
16821 cat >>conftest.$ac_ext <<_ACEOF
16822 /* end confdefs.h. */
16823 $ac_includes_default
16824 int
16825 main ()
16826 {
16827 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
16828 test_array [0] = 0
16829
16830 ;
16831 return 0;
16832 }
16833 _ACEOF
16834 rm -f conftest.$ac_objext
16835 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16836 (eval $ac_compile) 2>conftest.er1
16837 ac_status=$?
16838 grep -v '^ *+' conftest.er1 >conftest.err
16839 rm -f conftest.er1
16840 cat conftest.err >&5
16841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16842 (exit $ac_status); } &&
16843 { ac_try='test -z "$ac_c_werror_flag"
16844 || test ! -s conftest.err'
16845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16846 (eval $ac_try) 2>&5
16847 ac_status=$?
16848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16849 (exit $ac_status); }; } &&
16850 { ac_try='test -s conftest.$ac_objext'
16851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16852 (eval $ac_try) 2>&5
16853 ac_status=$?
16854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16855 (exit $ac_status); }; }; then
16856 ac_lo=0 ac_mid=0
16857 while :; do
16858 cat >conftest.$ac_ext <<_ACEOF
16859 /* confdefs.h. */
16860 _ACEOF
16861 cat confdefs.h >>conftest.$ac_ext
16862 cat >>conftest.$ac_ext <<_ACEOF
16863 /* end confdefs.h. */
16864 $ac_includes_default
16865 int
16866 main ()
16867 {
16868 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
16869 test_array [0] = 0
16870
16871 ;
16872 return 0;
16873 }
16874 _ACEOF
16875 rm -f conftest.$ac_objext
16876 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16877 (eval $ac_compile) 2>conftest.er1
16878 ac_status=$?
16879 grep -v '^ *+' conftest.er1 >conftest.err
16880 rm -f conftest.er1
16881 cat conftest.err >&5
16882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16883 (exit $ac_status); } &&
16884 { ac_try='test -z "$ac_c_werror_flag"
16885 || test ! -s conftest.err'
16886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16887 (eval $ac_try) 2>&5
16888 ac_status=$?
16889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16890 (exit $ac_status); }; } &&
16891 { ac_try='test -s conftest.$ac_objext'
16892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16893 (eval $ac_try) 2>&5
16894 ac_status=$?
16895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16896 (exit $ac_status); }; }; then
16897 ac_hi=$ac_mid; break
16898 else
16899 echo "$as_me: failed program was:" >&5
16900 sed 's/^/| /' conftest.$ac_ext >&5
16901
16902 ac_lo=`expr $ac_mid + 1`
16903 if test $ac_lo -le $ac_mid; then
16904 ac_lo= ac_hi=
16905 break
16906 fi
16907 ac_mid=`expr 2 '*' $ac_mid + 1`
16908 fi
16909 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16910 done
16911 else
16912 echo "$as_me: failed program was:" >&5
16913 sed 's/^/| /' conftest.$ac_ext >&5
16914
16915 cat >conftest.$ac_ext <<_ACEOF
16916 /* confdefs.h. */
16917 _ACEOF
16918 cat confdefs.h >>conftest.$ac_ext
16919 cat >>conftest.$ac_ext <<_ACEOF
16920 /* end confdefs.h. */
16921 $ac_includes_default
16922 int
16923 main ()
16924 {
16925 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
16926 test_array [0] = 0
16927
16928 ;
16929 return 0;
16930 }
16931 _ACEOF
16932 rm -f conftest.$ac_objext
16933 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16934 (eval $ac_compile) 2>conftest.er1
16935 ac_status=$?
16936 grep -v '^ *+' conftest.er1 >conftest.err
16937 rm -f conftest.er1
16938 cat conftest.err >&5
16939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16940 (exit $ac_status); } &&
16941 { ac_try='test -z "$ac_c_werror_flag"
16942 || 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=-1 ac_mid=-1
16955 while :; do
16956 cat >conftest.$ac_ext <<_ACEOF
16957 /* confdefs.h. */
16958 _ACEOF
16959 cat confdefs.h >>conftest.$ac_ext
16960 cat >>conftest.$ac_ext <<_ACEOF
16961 /* end confdefs.h. */
16962 $ac_includes_default
16963 int
16964 main ()
16965 {
16966 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
16967 test_array [0] = 0
16968
16969 ;
16970 return 0;
16971 }
16972 _ACEOF
16973 rm -f conftest.$ac_objext
16974 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16975 (eval $ac_compile) 2>conftest.er1
16976 ac_status=$?
16977 grep -v '^ *+' conftest.er1 >conftest.err
16978 rm -f conftest.er1
16979 cat conftest.err >&5
16980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16981 (exit $ac_status); } &&
16982 { ac_try='test -z "$ac_c_werror_flag"
16983 || test ! -s conftest.err'
16984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16985 (eval $ac_try) 2>&5
16986 ac_status=$?
16987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16988 (exit $ac_status); }; } &&
16989 { ac_try='test -s conftest.$ac_objext'
16990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16991 (eval $ac_try) 2>&5
16992 ac_status=$?
16993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16994 (exit $ac_status); }; }; then
16995 ac_lo=$ac_mid; break
16996 else
16997 echo "$as_me: failed program was:" >&5
16998 sed 's/^/| /' conftest.$ac_ext >&5
16999
17000 ac_hi=`expr '(' $ac_mid ')' - 1`
17001 if test $ac_mid -le $ac_hi; then
17002 ac_lo= ac_hi=
17003 break
17004 fi
17005 ac_mid=`expr 2 '*' $ac_mid`
17006 fi
17007 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17008 done
17009 else
17010 echo "$as_me: failed program was:" >&5
17011 sed 's/^/| /' conftest.$ac_ext >&5
17012
17013 ac_lo= ac_hi=
17014 fi
17015 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17016 fi
17017 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17018 # Binary search between lo and hi bounds.
17019 while test "x$ac_lo" != "x$ac_hi"; do
17020 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17021 cat >conftest.$ac_ext <<_ACEOF
17022 /* confdefs.h. */
17023 _ACEOF
17024 cat confdefs.h >>conftest.$ac_ext
17025 cat >>conftest.$ac_ext <<_ACEOF
17026 /* end confdefs.h. */
17027 $ac_includes_default
17028 int
17029 main ()
17030 {
17031 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
17032 test_array [0] = 0
17033
17034 ;
17035 return 0;
17036 }
17037 _ACEOF
17038 rm -f conftest.$ac_objext
17039 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17040 (eval $ac_compile) 2>conftest.er1
17041 ac_status=$?
17042 grep -v '^ *+' conftest.er1 >conftest.err
17043 rm -f conftest.er1
17044 cat conftest.err >&5
17045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17046 (exit $ac_status); } &&
17047 { ac_try='test -z "$ac_c_werror_flag"
17048 || test ! -s conftest.err'
17049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17050 (eval $ac_try) 2>&5
17051 ac_status=$?
17052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17053 (exit $ac_status); }; } &&
17054 { ac_try='test -s conftest.$ac_objext'
17055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17056 (eval $ac_try) 2>&5
17057 ac_status=$?
17058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17059 (exit $ac_status); }; }; then
17060 ac_hi=$ac_mid
17061 else
17062 echo "$as_me: failed program was:" >&5
17063 sed 's/^/| /' conftest.$ac_ext >&5
17064
17065 ac_lo=`expr '(' $ac_mid ')' + 1`
17066 fi
17067 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17068 done
17069 case $ac_lo in
17070 ?*) ac_cv_sizeof_char=$ac_lo;;
17071 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
17072 See \`config.log' for more details." >&5
17073 echo "$as_me: error: cannot compute sizeof (char), 77
17074 See \`config.log' for more details." >&2;}
17075 { (exit 1); exit 1; }; } ;;
17076 esac
17077 else
17078 if test "$cross_compiling" = yes; then
17079 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17080 See \`config.log' for more details." >&5
17081 echo "$as_me: error: cannot run test program while cross compiling
17082 See \`config.log' for more details." >&2;}
17083 { (exit 1); exit 1; }; }
17084 else
17085 cat >conftest.$ac_ext <<_ACEOF
17086 /* confdefs.h. */
17087 _ACEOF
17088 cat confdefs.h >>conftest.$ac_ext
17089 cat >>conftest.$ac_ext <<_ACEOF
17090 /* end confdefs.h. */
17091 $ac_includes_default
17092 long longval () { return (long) (sizeof (char)); }
17093 unsigned long ulongval () { return (long) (sizeof (char)); }
17094 #include <stdio.h>
17095 #include <stdlib.h>
17096 int
17097 main ()
17098 {
17099
17100 FILE *f = fopen ("conftest.val", "w");
17101 if (! f)
17102 exit (1);
17103 if (((long) (sizeof (char))) < 0)
17104 {
17105 long i = longval ();
17106 if (i != ((long) (sizeof (char))))
17107 exit (1);
17108 fprintf (f, "%ld\n", i);
17109 }
17110 else
17111 {
17112 unsigned long i = ulongval ();
17113 if (i != ((long) (sizeof (char))))
17114 exit (1);
17115 fprintf (f, "%lu\n", i);
17116 }
17117 exit (ferror (f) || fclose (f) != 0);
17118
17119 ;
17120 return 0;
17121 }
17122 _ACEOF
17123 rm -f conftest$ac_exeext
17124 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17125 (eval $ac_link) 2>&5
17126 ac_status=$?
17127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17128 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17130 (eval $ac_try) 2>&5
17131 ac_status=$?
17132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17133 (exit $ac_status); }; }; then
17134 ac_cv_sizeof_char=`cat conftest.val`
17135 else
17136 echo "$as_me: program exited with status $ac_status" >&5
17137 echo "$as_me: failed program was:" >&5
17138 sed 's/^/| /' conftest.$ac_ext >&5
17139
17140 ( exit $ac_status )
17141 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
17142 See \`config.log' for more details." >&5
17143 echo "$as_me: error: cannot compute sizeof (char), 77
17144 See \`config.log' for more details." >&2;}
17145 { (exit 1); exit 1; }; }
17146 fi
17147 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17148 fi
17149 fi
17150 rm -f conftest.val
17151 else
17152 ac_cv_sizeof_char=0
17153 fi
17154 fi
17155 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
17156 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
17157 cat >>confdefs.h <<_ACEOF
17158 #define SIZEOF_CHAR $ac_cv_sizeof_char
17159 _ACEOF
17160
17161
17162 echo "$as_me:$LINENO: checking for short" >&5
17163 echo $ECHO_N "checking for short... $ECHO_C" >&6
17164 if test "${ac_cv_type_short+set}" = set; then
17165 echo $ECHO_N "(cached) $ECHO_C" >&6
17166 else
17167 cat >conftest.$ac_ext <<_ACEOF
17168 /* confdefs.h. */
17169 _ACEOF
17170 cat confdefs.h >>conftest.$ac_ext
17171 cat >>conftest.$ac_ext <<_ACEOF
17172 /* end confdefs.h. */
17173 $ac_includes_default
17174 int
17175 main ()
17176 {
17177 if ((short *) 0)
17178 return 0;
17179 if (sizeof (short))
17180 return 0;
17181 ;
17182 return 0;
17183 }
17184 _ACEOF
17185 rm -f conftest.$ac_objext
17186 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17187 (eval $ac_compile) 2>conftest.er1
17188 ac_status=$?
17189 grep -v '^ *+' conftest.er1 >conftest.err
17190 rm -f conftest.er1
17191 cat conftest.err >&5
17192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17193 (exit $ac_status); } &&
17194 { ac_try='test -z "$ac_c_werror_flag"
17195 || test ! -s conftest.err'
17196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17197 (eval $ac_try) 2>&5
17198 ac_status=$?
17199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17200 (exit $ac_status); }; } &&
17201 { ac_try='test -s conftest.$ac_objext'
17202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17203 (eval $ac_try) 2>&5
17204 ac_status=$?
17205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17206 (exit $ac_status); }; }; then
17207 ac_cv_type_short=yes
17208 else
17209 echo "$as_me: failed program was:" >&5
17210 sed 's/^/| /' conftest.$ac_ext >&5
17211
17212 ac_cv_type_short=no
17213 fi
17214 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17215 fi
17216 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
17217 echo "${ECHO_T}$ac_cv_type_short" >&6
17218
17219 echo "$as_me:$LINENO: checking size of short" >&5
17220 echo $ECHO_N "checking size of short... $ECHO_C" >&6
17221 if test "${ac_cv_sizeof_short+set}" = set; then
17222 echo $ECHO_N "(cached) $ECHO_C" >&6
17223 else
17224 if test "$ac_cv_type_short" = yes; then
17225 # The cast to unsigned long works around a bug in the HP C Compiler
17226 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17227 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17228 # This bug is HP SR number 8606223364.
17229 if test "$cross_compiling" = yes; then
17230 # Depending upon the size, compute the lo and hi bounds.
17231 cat >conftest.$ac_ext <<_ACEOF
17232 /* confdefs.h. */
17233 _ACEOF
17234 cat confdefs.h >>conftest.$ac_ext
17235 cat >>conftest.$ac_ext <<_ACEOF
17236 /* end confdefs.h. */
17237 $ac_includes_default
17238 int
17239 main ()
17240 {
17241 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
17242 test_array [0] = 0
17243
17244 ;
17245 return 0;
17246 }
17247 _ACEOF
17248 rm -f conftest.$ac_objext
17249 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17250 (eval $ac_compile) 2>conftest.er1
17251 ac_status=$?
17252 grep -v '^ *+' conftest.er1 >conftest.err
17253 rm -f conftest.er1
17254 cat conftest.err >&5
17255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17256 (exit $ac_status); } &&
17257 { ac_try='test -z "$ac_c_werror_flag"
17258 || test ! -s conftest.err'
17259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17260 (eval $ac_try) 2>&5
17261 ac_status=$?
17262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17263 (exit $ac_status); }; } &&
17264 { ac_try='test -s conftest.$ac_objext'
17265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17266 (eval $ac_try) 2>&5
17267 ac_status=$?
17268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17269 (exit $ac_status); }; }; then
17270 ac_lo=0 ac_mid=0
17271 while :; do
17272 cat >conftest.$ac_ext <<_ACEOF
17273 /* confdefs.h. */
17274 _ACEOF
17275 cat confdefs.h >>conftest.$ac_ext
17276 cat >>conftest.$ac_ext <<_ACEOF
17277 /* end confdefs.h. */
17278 $ac_includes_default
17279 int
17280 main ()
17281 {
17282 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
17283 test_array [0] = 0
17284
17285 ;
17286 return 0;
17287 }
17288 _ACEOF
17289 rm -f conftest.$ac_objext
17290 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17291 (eval $ac_compile) 2>conftest.er1
17292 ac_status=$?
17293 grep -v '^ *+' conftest.er1 >conftest.err
17294 rm -f conftest.er1
17295 cat conftest.err >&5
17296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17297 (exit $ac_status); } &&
17298 { ac_try='test -z "$ac_c_werror_flag"
17299 || test ! -s conftest.err'
17300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17301 (eval $ac_try) 2>&5
17302 ac_status=$?
17303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17304 (exit $ac_status); }; } &&
17305 { ac_try='test -s conftest.$ac_objext'
17306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17307 (eval $ac_try) 2>&5
17308 ac_status=$?
17309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17310 (exit $ac_status); }; }; then
17311 ac_hi=$ac_mid; break
17312 else
17313 echo "$as_me: failed program was:" >&5
17314 sed 's/^/| /' conftest.$ac_ext >&5
17315
17316 ac_lo=`expr $ac_mid + 1`
17317 if test $ac_lo -le $ac_mid; then
17318 ac_lo= ac_hi=
17319 break
17320 fi
17321 ac_mid=`expr 2 '*' $ac_mid + 1`
17322 fi
17323 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17324 done
17325 else
17326 echo "$as_me: failed program was:" >&5
17327 sed 's/^/| /' conftest.$ac_ext >&5
17328
17329 cat >conftest.$ac_ext <<_ACEOF
17330 /* confdefs.h. */
17331 _ACEOF
17332 cat confdefs.h >>conftest.$ac_ext
17333 cat >>conftest.$ac_ext <<_ACEOF
17334 /* end confdefs.h. */
17335 $ac_includes_default
17336 int
17337 main ()
17338 {
17339 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
17340 test_array [0] = 0
17341
17342 ;
17343 return 0;
17344 }
17345 _ACEOF
17346 rm -f conftest.$ac_objext
17347 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17348 (eval $ac_compile) 2>conftest.er1
17349 ac_status=$?
17350 grep -v '^ *+' conftest.er1 >conftest.err
17351 rm -f conftest.er1
17352 cat conftest.err >&5
17353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17354 (exit $ac_status); } &&
17355 { ac_try='test -z "$ac_c_werror_flag"
17356 || test ! -s conftest.err'
17357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17358 (eval $ac_try) 2>&5
17359 ac_status=$?
17360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17361 (exit $ac_status); }; } &&
17362 { ac_try='test -s conftest.$ac_objext'
17363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17364 (eval $ac_try) 2>&5
17365 ac_status=$?
17366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17367 (exit $ac_status); }; }; then
17368 ac_hi=-1 ac_mid=-1
17369 while :; do
17370 cat >conftest.$ac_ext <<_ACEOF
17371 /* confdefs.h. */
17372 _ACEOF
17373 cat confdefs.h >>conftest.$ac_ext
17374 cat >>conftest.$ac_ext <<_ACEOF
17375 /* end confdefs.h. */
17376 $ac_includes_default
17377 int
17378 main ()
17379 {
17380 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
17381 test_array [0] = 0
17382
17383 ;
17384 return 0;
17385 }
17386 _ACEOF
17387 rm -f conftest.$ac_objext
17388 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17389 (eval $ac_compile) 2>conftest.er1
17390 ac_status=$?
17391 grep -v '^ *+' conftest.er1 >conftest.err
17392 rm -f conftest.er1
17393 cat conftest.err >&5
17394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17395 (exit $ac_status); } &&
17396 { ac_try='test -z "$ac_c_werror_flag"
17397 || test ! -s conftest.err'
17398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17399 (eval $ac_try) 2>&5
17400 ac_status=$?
17401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17402 (exit $ac_status); }; } &&
17403 { ac_try='test -s conftest.$ac_objext'
17404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17405 (eval $ac_try) 2>&5
17406 ac_status=$?
17407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17408 (exit $ac_status); }; }; then
17409 ac_lo=$ac_mid; break
17410 else
17411 echo "$as_me: failed program was:" >&5
17412 sed 's/^/| /' conftest.$ac_ext >&5
17413
17414 ac_hi=`expr '(' $ac_mid ')' - 1`
17415 if test $ac_mid -le $ac_hi; then
17416 ac_lo= ac_hi=
17417 break
17418 fi
17419 ac_mid=`expr 2 '*' $ac_mid`
17420 fi
17421 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17422 done
17423 else
17424 echo "$as_me: failed program was:" >&5
17425 sed 's/^/| /' conftest.$ac_ext >&5
17426
17427 ac_lo= ac_hi=
17428 fi
17429 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17430 fi
17431 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17432 # Binary search between lo and hi bounds.
17433 while test "x$ac_lo" != "x$ac_hi"; do
17434 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17435 cat >conftest.$ac_ext <<_ACEOF
17436 /* confdefs.h. */
17437 _ACEOF
17438 cat confdefs.h >>conftest.$ac_ext
17439 cat >>conftest.$ac_ext <<_ACEOF
17440 /* end confdefs.h. */
17441 $ac_includes_default
17442 int
17443 main ()
17444 {
17445 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
17446 test_array [0] = 0
17447
17448 ;
17449 return 0;
17450 }
17451 _ACEOF
17452 rm -f conftest.$ac_objext
17453 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17454 (eval $ac_compile) 2>conftest.er1
17455 ac_status=$?
17456 grep -v '^ *+' conftest.er1 >conftest.err
17457 rm -f conftest.er1
17458 cat conftest.err >&5
17459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17460 (exit $ac_status); } &&
17461 { ac_try='test -z "$ac_c_werror_flag"
17462 || test ! -s conftest.err'
17463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17464 (eval $ac_try) 2>&5
17465 ac_status=$?
17466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17467 (exit $ac_status); }; } &&
17468 { ac_try='test -s conftest.$ac_objext'
17469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17470 (eval $ac_try) 2>&5
17471 ac_status=$?
17472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17473 (exit $ac_status); }; }; then
17474 ac_hi=$ac_mid
17475 else
17476 echo "$as_me: failed program was:" >&5
17477 sed 's/^/| /' conftest.$ac_ext >&5
17478
17479 ac_lo=`expr '(' $ac_mid ')' + 1`
17480 fi
17481 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17482 done
17483 case $ac_lo in
17484 ?*) ac_cv_sizeof_short=$ac_lo;;
17485 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
17486 See \`config.log' for more details." >&5
17487 echo "$as_me: error: cannot compute sizeof (short), 77
17488 See \`config.log' for more details." >&2;}
17489 { (exit 1); exit 1; }; } ;;
17490 esac
17491 else
17492 if test "$cross_compiling" = yes; then
17493 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17494 See \`config.log' for more details." >&5
17495 echo "$as_me: error: cannot run test program while cross compiling
17496 See \`config.log' for more details." >&2;}
17497 { (exit 1); exit 1; }; }
17498 else
17499 cat >conftest.$ac_ext <<_ACEOF
17500 /* confdefs.h. */
17501 _ACEOF
17502 cat confdefs.h >>conftest.$ac_ext
17503 cat >>conftest.$ac_ext <<_ACEOF
17504 /* end confdefs.h. */
17505 $ac_includes_default
17506 long longval () { return (long) (sizeof (short)); }
17507 unsigned long ulongval () { return (long) (sizeof (short)); }
17508 #include <stdio.h>
17509 #include <stdlib.h>
17510 int
17511 main ()
17512 {
17513
17514 FILE *f = fopen ("conftest.val", "w");
17515 if (! f)
17516 exit (1);
17517 if (((long) (sizeof (short))) < 0)
17518 {
17519 long i = longval ();
17520 if (i != ((long) (sizeof (short))))
17521 exit (1);
17522 fprintf (f, "%ld\n", i);
17523 }
17524 else
17525 {
17526 unsigned long i = ulongval ();
17527 if (i != ((long) (sizeof (short))))
17528 exit (1);
17529 fprintf (f, "%lu\n", i);
17530 }
17531 exit (ferror (f) || fclose (f) != 0);
17532
17533 ;
17534 return 0;
17535 }
17536 _ACEOF
17537 rm -f conftest$ac_exeext
17538 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17539 (eval $ac_link) 2>&5
17540 ac_status=$?
17541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17542 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17544 (eval $ac_try) 2>&5
17545 ac_status=$?
17546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17547 (exit $ac_status); }; }; then
17548 ac_cv_sizeof_short=`cat conftest.val`
17549 else
17550 echo "$as_me: program exited with status $ac_status" >&5
17551 echo "$as_me: failed program was:" >&5
17552 sed 's/^/| /' conftest.$ac_ext >&5
17553
17554 ( exit $ac_status )
17555 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
17556 See \`config.log' for more details." >&5
17557 echo "$as_me: error: cannot compute sizeof (short), 77
17558 See \`config.log' for more details." >&2;}
17559 { (exit 1); exit 1; }; }
17560 fi
17561 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17562 fi
17563 fi
17564 rm -f conftest.val
17565 else
17566 ac_cv_sizeof_short=0
17567 fi
17568 fi
17569 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
17570 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
17571 cat >>confdefs.h <<_ACEOF
17572 #define SIZEOF_SHORT $ac_cv_sizeof_short
17573 _ACEOF
17574
17575
17576 echo "$as_me:$LINENO: checking for void *" >&5
17577 echo $ECHO_N "checking for void *... $ECHO_C" >&6
17578 if test "${ac_cv_type_void_p+set}" = set; then
17579 echo $ECHO_N "(cached) $ECHO_C" >&6
17580 else
17581 cat >conftest.$ac_ext <<_ACEOF
17582 /* confdefs.h. */
17583 _ACEOF
17584 cat confdefs.h >>conftest.$ac_ext
17585 cat >>conftest.$ac_ext <<_ACEOF
17586 /* end confdefs.h. */
17587 $ac_includes_default
17588 int
17589 main ()
17590 {
17591 if ((void * *) 0)
17592 return 0;
17593 if (sizeof (void *))
17594 return 0;
17595 ;
17596 return 0;
17597 }
17598 _ACEOF
17599 rm -f conftest.$ac_objext
17600 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17601 (eval $ac_compile) 2>conftest.er1
17602 ac_status=$?
17603 grep -v '^ *+' conftest.er1 >conftest.err
17604 rm -f conftest.er1
17605 cat conftest.err >&5
17606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17607 (exit $ac_status); } &&
17608 { ac_try='test -z "$ac_c_werror_flag"
17609 || test ! -s conftest.err'
17610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17611 (eval $ac_try) 2>&5
17612 ac_status=$?
17613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17614 (exit $ac_status); }; } &&
17615 { ac_try='test -s conftest.$ac_objext'
17616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17617 (eval $ac_try) 2>&5
17618 ac_status=$?
17619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17620 (exit $ac_status); }; }; then
17621 ac_cv_type_void_p=yes
17622 else
17623 echo "$as_me: failed program was:" >&5
17624 sed 's/^/| /' conftest.$ac_ext >&5
17625
17626 ac_cv_type_void_p=no
17627 fi
17628 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17629 fi
17630 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
17631 echo "${ECHO_T}$ac_cv_type_void_p" >&6
17632
17633 echo "$as_me:$LINENO: checking size of void *" >&5
17634 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
17635 if test "${ac_cv_sizeof_void_p+set}" = set; then
17636 echo $ECHO_N "(cached) $ECHO_C" >&6
17637 else
17638 if test "$ac_cv_type_void_p" = yes; then
17639 # The cast to unsigned long works around a bug in the HP C Compiler
17640 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17641 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17642 # This bug is HP SR number 8606223364.
17643 if test "$cross_compiling" = yes; then
17644 # Depending upon the size, compute the lo and hi bounds.
17645 cat >conftest.$ac_ext <<_ACEOF
17646 /* confdefs.h. */
17647 _ACEOF
17648 cat confdefs.h >>conftest.$ac_ext
17649 cat >>conftest.$ac_ext <<_ACEOF
17650 /* end confdefs.h. */
17651 $ac_includes_default
17652 int
17653 main ()
17654 {
17655 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
17656 test_array [0] = 0
17657
17658 ;
17659 return 0;
17660 }
17661 _ACEOF
17662 rm -f conftest.$ac_objext
17663 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17664 (eval $ac_compile) 2>conftest.er1
17665 ac_status=$?
17666 grep -v '^ *+' conftest.er1 >conftest.err
17667 rm -f conftest.er1
17668 cat conftest.err >&5
17669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17670 (exit $ac_status); } &&
17671 { ac_try='test -z "$ac_c_werror_flag"
17672 || test ! -s conftest.err'
17673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17674 (eval $ac_try) 2>&5
17675 ac_status=$?
17676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17677 (exit $ac_status); }; } &&
17678 { ac_try='test -s conftest.$ac_objext'
17679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17680 (eval $ac_try) 2>&5
17681 ac_status=$?
17682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17683 (exit $ac_status); }; }; then
17684 ac_lo=0 ac_mid=0
17685 while :; do
17686 cat >conftest.$ac_ext <<_ACEOF
17687 /* confdefs.h. */
17688 _ACEOF
17689 cat confdefs.h >>conftest.$ac_ext
17690 cat >>conftest.$ac_ext <<_ACEOF
17691 /* end confdefs.h. */
17692 $ac_includes_default
17693 int
17694 main ()
17695 {
17696 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
17697 test_array [0] = 0
17698
17699 ;
17700 return 0;
17701 }
17702 _ACEOF
17703 rm -f conftest.$ac_objext
17704 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17705 (eval $ac_compile) 2>conftest.er1
17706 ac_status=$?
17707 grep -v '^ *+' conftest.er1 >conftest.err
17708 rm -f conftest.er1
17709 cat conftest.err >&5
17710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17711 (exit $ac_status); } &&
17712 { ac_try='test -z "$ac_c_werror_flag"
17713 || test ! -s conftest.err'
17714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17715 (eval $ac_try) 2>&5
17716 ac_status=$?
17717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17718 (exit $ac_status); }; } &&
17719 { ac_try='test -s conftest.$ac_objext'
17720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17721 (eval $ac_try) 2>&5
17722 ac_status=$?
17723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17724 (exit $ac_status); }; }; then
17725 ac_hi=$ac_mid; break
17726 else
17727 echo "$as_me: failed program was:" >&5
17728 sed 's/^/| /' conftest.$ac_ext >&5
17729
17730 ac_lo=`expr $ac_mid + 1`
17731 if test $ac_lo -le $ac_mid; then
17732 ac_lo= ac_hi=
17733 break
17734 fi
17735 ac_mid=`expr 2 '*' $ac_mid + 1`
17736 fi
17737 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17738 done
17739 else
17740 echo "$as_me: failed program was:" >&5
17741 sed 's/^/| /' conftest.$ac_ext >&5
17742
17743 cat >conftest.$ac_ext <<_ACEOF
17744 /* confdefs.h. */
17745 _ACEOF
17746 cat confdefs.h >>conftest.$ac_ext
17747 cat >>conftest.$ac_ext <<_ACEOF
17748 /* end confdefs.h. */
17749 $ac_includes_default
17750 int
17751 main ()
17752 {
17753 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
17754 test_array [0] = 0
17755
17756 ;
17757 return 0;
17758 }
17759 _ACEOF
17760 rm -f conftest.$ac_objext
17761 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17762 (eval $ac_compile) 2>conftest.er1
17763 ac_status=$?
17764 grep -v '^ *+' conftest.er1 >conftest.err
17765 rm -f conftest.er1
17766 cat conftest.err >&5
17767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17768 (exit $ac_status); } &&
17769 { ac_try='test -z "$ac_c_werror_flag"
17770 || test ! -s conftest.err'
17771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17772 (eval $ac_try) 2>&5
17773 ac_status=$?
17774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17775 (exit $ac_status); }; } &&
17776 { ac_try='test -s conftest.$ac_objext'
17777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17778 (eval $ac_try) 2>&5
17779 ac_status=$?
17780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17781 (exit $ac_status); }; }; then
17782 ac_hi=-1 ac_mid=-1
17783 while :; do
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 (void *))) >= $ac_mid)];
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"
17811 || test ! -s conftest.err'
17812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17813 (eval $ac_try) 2>&5
17814 ac_status=$?
17815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17816 (exit $ac_status); }; } &&
17817 { ac_try='test -s conftest.$ac_objext'
17818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17819 (eval $ac_try) 2>&5
17820 ac_status=$?
17821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17822 (exit $ac_status); }; }; then
17823 ac_lo=$ac_mid; break
17824 else
17825 echo "$as_me: failed program was:" >&5
17826 sed 's/^/| /' conftest.$ac_ext >&5
17827
17828 ac_hi=`expr '(' $ac_mid ')' - 1`
17829 if test $ac_mid -le $ac_hi; then
17830 ac_lo= ac_hi=
17831 break
17832 fi
17833 ac_mid=`expr 2 '*' $ac_mid`
17834 fi
17835 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17836 done
17837 else
17838 echo "$as_me: failed program was:" >&5
17839 sed 's/^/| /' conftest.$ac_ext >&5
17840
17841 ac_lo= ac_hi=
17842 fi
17843 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17844 fi
17845 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17846 # Binary search between lo and hi bounds.
17847 while test "x$ac_lo" != "x$ac_hi"; do
17848 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17849 cat >conftest.$ac_ext <<_ACEOF
17850 /* confdefs.h. */
17851 _ACEOF
17852 cat confdefs.h >>conftest.$ac_ext
17853 cat >>conftest.$ac_ext <<_ACEOF
17854 /* end confdefs.h. */
17855 $ac_includes_default
17856 int
17857 main ()
17858 {
17859 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
17860 test_array [0] = 0
17861
17862 ;
17863 return 0;
17864 }
17865 _ACEOF
17866 rm -f conftest.$ac_objext
17867 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17868 (eval $ac_compile) 2>conftest.er1
17869 ac_status=$?
17870 grep -v '^ *+' conftest.er1 >conftest.err
17871 rm -f conftest.er1
17872 cat conftest.err >&5
17873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17874 (exit $ac_status); } &&
17875 { ac_try='test -z "$ac_c_werror_flag"
17876 || test ! -s conftest.err'
17877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17878 (eval $ac_try) 2>&5
17879 ac_status=$?
17880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17881 (exit $ac_status); }; } &&
17882 { ac_try='test -s conftest.$ac_objext'
17883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17884 (eval $ac_try) 2>&5
17885 ac_status=$?
17886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17887 (exit $ac_status); }; }; then
17888 ac_hi=$ac_mid
17889 else
17890 echo "$as_me: failed program was:" >&5
17891 sed 's/^/| /' conftest.$ac_ext >&5
17892
17893 ac_lo=`expr '(' $ac_mid ')' + 1`
17894 fi
17895 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17896 done
17897 case $ac_lo in
17898 ?*) ac_cv_sizeof_void_p=$ac_lo;;
17899 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
17900 See \`config.log' for more details." >&5
17901 echo "$as_me: error: cannot compute sizeof (void *), 77
17902 See \`config.log' for more details." >&2;}
17903 { (exit 1); exit 1; }; } ;;
17904 esac
17905 else
17906 if test "$cross_compiling" = yes; then
17907 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17908 See \`config.log' for more details." >&5
17909 echo "$as_me: error: cannot run test program while cross compiling
17910 See \`config.log' for more details." >&2;}
17911 { (exit 1); exit 1; }; }
17912 else
17913 cat >conftest.$ac_ext <<_ACEOF
17914 /* confdefs.h. */
17915 _ACEOF
17916 cat confdefs.h >>conftest.$ac_ext
17917 cat >>conftest.$ac_ext <<_ACEOF
17918 /* end confdefs.h. */
17919 $ac_includes_default
17920 long longval () { return (long) (sizeof (void *)); }
17921 unsigned long ulongval () { return (long) (sizeof (void *)); }
17922 #include <stdio.h>
17923 #include <stdlib.h>
17924 int
17925 main ()
17926 {
17927
17928 FILE *f = fopen ("conftest.val", "w");
17929 if (! f)
17930 exit (1);
17931 if (((long) (sizeof (void *))) < 0)
17932 {
17933 long i = longval ();
17934 if (i != ((long) (sizeof (void *))))
17935 exit (1);
17936 fprintf (f, "%ld\n", i);
17937 }
17938 else
17939 {
17940 unsigned long i = ulongval ();
17941 if (i != ((long) (sizeof (void *))))
17942 exit (1);
17943 fprintf (f, "%lu\n", i);
17944 }
17945 exit (ferror (f) || fclose (f) != 0);
17946
17947 ;
17948 return 0;
17949 }
17950 _ACEOF
17951 rm -f conftest$ac_exeext
17952 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17953 (eval $ac_link) 2>&5
17954 ac_status=$?
17955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17956 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17958 (eval $ac_try) 2>&5
17959 ac_status=$?
17960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17961 (exit $ac_status); }; }; then
17962 ac_cv_sizeof_void_p=`cat conftest.val`
17963 else
17964 echo "$as_me: program exited with status $ac_status" >&5
17965 echo "$as_me: failed program was:" >&5
17966 sed 's/^/| /' conftest.$ac_ext >&5
17967
17968 ( exit $ac_status )
17969 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
17970 See \`config.log' for more details." >&5
17971 echo "$as_me: error: cannot compute sizeof (void *), 77
17972 See \`config.log' for more details." >&2;}
17973 { (exit 1); exit 1; }; }
17974 fi
17975 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17976 fi
17977 fi
17978 rm -f conftest.val
17979 else
17980 ac_cv_sizeof_void_p=0
17981 fi
17982 fi
17983 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
17984 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
17985 cat >>confdefs.h <<_ACEOF
17986 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
17987 _ACEOF
17988
17989
17990 echo "$as_me:$LINENO: checking for int" >&5
17991 echo $ECHO_N "checking for int... $ECHO_C" >&6
17992 if test "${ac_cv_type_int+set}" = set; then
17993 echo $ECHO_N "(cached) $ECHO_C" >&6
17994 else
17995 cat >conftest.$ac_ext <<_ACEOF
17996 /* confdefs.h. */
17997 _ACEOF
17998 cat confdefs.h >>conftest.$ac_ext
17999 cat >>conftest.$ac_ext <<_ACEOF
18000 /* end confdefs.h. */
18001 $ac_includes_default
18002 int
18003 main ()
18004 {
18005 if ((int *) 0)
18006 return 0;
18007 if (sizeof (int))
18008 return 0;
18009 ;
18010 return 0;
18011 }
18012 _ACEOF
18013 rm -f conftest.$ac_objext
18014 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18015 (eval $ac_compile) 2>conftest.er1
18016 ac_status=$?
18017 grep -v '^ *+' conftest.er1 >conftest.err
18018 rm -f conftest.er1
18019 cat conftest.err >&5
18020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18021 (exit $ac_status); } &&
18022 { ac_try='test -z "$ac_c_werror_flag"
18023 || test ! -s conftest.err'
18024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18025 (eval $ac_try) 2>&5
18026 ac_status=$?
18027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18028 (exit $ac_status); }; } &&
18029 { ac_try='test -s conftest.$ac_objext'
18030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18031 (eval $ac_try) 2>&5
18032 ac_status=$?
18033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18034 (exit $ac_status); }; }; then
18035 ac_cv_type_int=yes
18036 else
18037 echo "$as_me: failed program was:" >&5
18038 sed 's/^/| /' conftest.$ac_ext >&5
18039
18040 ac_cv_type_int=no
18041 fi
18042 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18043 fi
18044 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
18045 echo "${ECHO_T}$ac_cv_type_int" >&6
18046
18047 echo "$as_me:$LINENO: checking size of int" >&5
18048 echo $ECHO_N "checking size of int... $ECHO_C" >&6
18049 if test "${ac_cv_sizeof_int+set}" = set; then
18050 echo $ECHO_N "(cached) $ECHO_C" >&6
18051 else
18052 if test "$ac_cv_type_int" = yes; then
18053 # The cast to unsigned long works around a bug in the HP C Compiler
18054 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18055 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18056 # This bug is HP SR number 8606223364.
18057 if test "$cross_compiling" = yes; then
18058 # Depending upon the size, compute the lo and hi bounds.
18059 cat >conftest.$ac_ext <<_ACEOF
18060 /* confdefs.h. */
18061 _ACEOF
18062 cat confdefs.h >>conftest.$ac_ext
18063 cat >>conftest.$ac_ext <<_ACEOF
18064 /* end confdefs.h. */
18065 $ac_includes_default
18066 int
18067 main ()
18068 {
18069 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
18070 test_array [0] = 0
18071
18072 ;
18073 return 0;
18074 }
18075 _ACEOF
18076 rm -f conftest.$ac_objext
18077 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18078 (eval $ac_compile) 2>conftest.er1
18079 ac_status=$?
18080 grep -v '^ *+' conftest.er1 >conftest.err
18081 rm -f conftest.er1
18082 cat conftest.err >&5
18083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18084 (exit $ac_status); } &&
18085 { ac_try='test -z "$ac_c_werror_flag"
18086 || test ! -s conftest.err'
18087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18088 (eval $ac_try) 2>&5
18089 ac_status=$?
18090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18091 (exit $ac_status); }; } &&
18092 { ac_try='test -s conftest.$ac_objext'
18093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18094 (eval $ac_try) 2>&5
18095 ac_status=$?
18096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18097 (exit $ac_status); }; }; then
18098 ac_lo=0 ac_mid=0
18099 while :; do
18100 cat >conftest.$ac_ext <<_ACEOF
18101 /* confdefs.h. */
18102 _ACEOF
18103 cat confdefs.h >>conftest.$ac_ext
18104 cat >>conftest.$ac_ext <<_ACEOF
18105 /* end confdefs.h. */
18106 $ac_includes_default
18107 int
18108 main ()
18109 {
18110 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
18111 test_array [0] = 0
18112
18113 ;
18114 return 0;
18115 }
18116 _ACEOF
18117 rm -f conftest.$ac_objext
18118 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18119 (eval $ac_compile) 2>conftest.er1
18120 ac_status=$?
18121 grep -v '^ *+' conftest.er1 >conftest.err
18122 rm -f conftest.er1
18123 cat conftest.err >&5
18124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18125 (exit $ac_status); } &&
18126 { ac_try='test -z "$ac_c_werror_flag"
18127 || test ! -s conftest.err'
18128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18129 (eval $ac_try) 2>&5
18130 ac_status=$?
18131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18132 (exit $ac_status); }; } &&
18133 { ac_try='test -s conftest.$ac_objext'
18134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18135 (eval $ac_try) 2>&5
18136 ac_status=$?
18137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18138 (exit $ac_status); }; }; then
18139 ac_hi=$ac_mid; break
18140 else
18141 echo "$as_me: failed program was:" >&5
18142 sed 's/^/| /' conftest.$ac_ext >&5
18143
18144 ac_lo=`expr $ac_mid + 1`
18145 if test $ac_lo -le $ac_mid; then
18146 ac_lo= ac_hi=
18147 break
18148 fi
18149 ac_mid=`expr 2 '*' $ac_mid + 1`
18150 fi
18151 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18152 done
18153 else
18154 echo "$as_me: failed program was:" >&5
18155 sed 's/^/| /' conftest.$ac_ext >&5
18156
18157 cat >conftest.$ac_ext <<_ACEOF
18158 /* confdefs.h. */
18159 _ACEOF
18160 cat confdefs.h >>conftest.$ac_ext
18161 cat >>conftest.$ac_ext <<_ACEOF
18162 /* end confdefs.h. */
18163 $ac_includes_default
18164 int
18165 main ()
18166 {
18167 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
18168 test_array [0] = 0
18169
18170 ;
18171 return 0;
18172 }
18173 _ACEOF
18174 rm -f conftest.$ac_objext
18175 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18176 (eval $ac_compile) 2>conftest.er1
18177 ac_status=$?
18178 grep -v '^ *+' conftest.er1 >conftest.err
18179 rm -f conftest.er1
18180 cat conftest.err >&5
18181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18182 (exit $ac_status); } &&
18183 { ac_try='test -z "$ac_c_werror_flag"
18184 || test ! -s conftest.err'
18185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18186 (eval $ac_try) 2>&5
18187 ac_status=$?
18188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18189 (exit $ac_status); }; } &&
18190 { ac_try='test -s conftest.$ac_objext'
18191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18192 (eval $ac_try) 2>&5
18193 ac_status=$?
18194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18195 (exit $ac_status); }; }; then
18196 ac_hi=-1 ac_mid=-1
18197 while :; do
18198 cat >conftest.$ac_ext <<_ACEOF
18199 /* confdefs.h. */
18200 _ACEOF
18201 cat confdefs.h >>conftest.$ac_ext
18202 cat >>conftest.$ac_ext <<_ACEOF
18203 /* end confdefs.h. */
18204 $ac_includes_default
18205 int
18206 main ()
18207 {
18208 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
18209 test_array [0] = 0
18210
18211 ;
18212 return 0;
18213 }
18214 _ACEOF
18215 rm -f conftest.$ac_objext
18216 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18217 (eval $ac_compile) 2>conftest.er1
18218 ac_status=$?
18219 grep -v '^ *+' conftest.er1 >conftest.err
18220 rm -f conftest.er1
18221 cat conftest.err >&5
18222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18223 (exit $ac_status); } &&
18224 { ac_try='test -z "$ac_c_werror_flag"
18225 || test ! -s conftest.err'
18226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18227 (eval $ac_try) 2>&5
18228 ac_status=$?
18229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18230 (exit $ac_status); }; } &&
18231 { ac_try='test -s conftest.$ac_objext'
18232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18233 (eval $ac_try) 2>&5
18234 ac_status=$?
18235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18236 (exit $ac_status); }; }; then
18237 ac_lo=$ac_mid; break
18238 else
18239 echo "$as_me: failed program was:" >&5
18240 sed 's/^/| /' conftest.$ac_ext >&5
18241
18242 ac_hi=`expr '(' $ac_mid ')' - 1`
18243 if test $ac_mid -le $ac_hi; then
18244 ac_lo= ac_hi=
18245 break
18246 fi
18247 ac_mid=`expr 2 '*' $ac_mid`
18248 fi
18249 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18250 done
18251 else
18252 echo "$as_me: failed program was:" >&5
18253 sed 's/^/| /' conftest.$ac_ext >&5
18254
18255 ac_lo= ac_hi=
18256 fi
18257 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18258 fi
18259 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18260 # Binary search between lo and hi bounds.
18261 while test "x$ac_lo" != "x$ac_hi"; do
18262 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18263 cat >conftest.$ac_ext <<_ACEOF
18264 /* confdefs.h. */
18265 _ACEOF
18266 cat confdefs.h >>conftest.$ac_ext
18267 cat >>conftest.$ac_ext <<_ACEOF
18268 /* end confdefs.h. */
18269 $ac_includes_default
18270 int
18271 main ()
18272 {
18273 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
18274 test_array [0] = 0
18275
18276 ;
18277 return 0;
18278 }
18279 _ACEOF
18280 rm -f conftest.$ac_objext
18281 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18282 (eval $ac_compile) 2>conftest.er1
18283 ac_status=$?
18284 grep -v '^ *+' conftest.er1 >conftest.err
18285 rm -f conftest.er1
18286 cat conftest.err >&5
18287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18288 (exit $ac_status); } &&
18289 { ac_try='test -z "$ac_c_werror_flag"
18290 || test ! -s conftest.err'
18291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18292 (eval $ac_try) 2>&5
18293 ac_status=$?
18294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18295 (exit $ac_status); }; } &&
18296 { ac_try='test -s conftest.$ac_objext'
18297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18298 (eval $ac_try) 2>&5
18299 ac_status=$?
18300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18301 (exit $ac_status); }; }; then
18302 ac_hi=$ac_mid
18303 else
18304 echo "$as_me: failed program was:" >&5
18305 sed 's/^/| /' conftest.$ac_ext >&5
18306
18307 ac_lo=`expr '(' $ac_mid ')' + 1`
18308 fi
18309 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18310 done
18311 case $ac_lo in
18312 ?*) ac_cv_sizeof_int=$ac_lo;;
18313 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
18314 See \`config.log' for more details." >&5
18315 echo "$as_me: error: cannot compute sizeof (int), 77
18316 See \`config.log' for more details." >&2;}
18317 { (exit 1); exit 1; }; } ;;
18318 esac
18319 else
18320 if test "$cross_compiling" = yes; then
18321 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
18322 See \`config.log' for more details." >&5
18323 echo "$as_me: error: cannot run test program while cross compiling
18324 See \`config.log' for more details." >&2;}
18325 { (exit 1); exit 1; }; }
18326 else
18327 cat >conftest.$ac_ext <<_ACEOF
18328 /* confdefs.h. */
18329 _ACEOF
18330 cat confdefs.h >>conftest.$ac_ext
18331 cat >>conftest.$ac_ext <<_ACEOF
18332 /* end confdefs.h. */
18333 $ac_includes_default
18334 long longval () { return (long) (sizeof (int)); }
18335 unsigned long ulongval () { return (long) (sizeof (int)); }
18336 #include <stdio.h>
18337 #include <stdlib.h>
18338 int
18339 main ()
18340 {
18341
18342 FILE *f = fopen ("conftest.val", "w");
18343 if (! f)
18344 exit (1);
18345 if (((long) (sizeof (int))) < 0)
18346 {
18347 long i = longval ();
18348 if (i != ((long) (sizeof (int))))
18349 exit (1);
18350 fprintf (f, "%ld\n", i);
18351 }
18352 else
18353 {
18354 unsigned long i = ulongval ();
18355 if (i != ((long) (sizeof (int))))
18356 exit (1);
18357 fprintf (f, "%lu\n", i);
18358 }
18359 exit (ferror (f) || fclose (f) != 0);
18360
18361 ;
18362 return 0;
18363 }
18364 _ACEOF
18365 rm -f conftest$ac_exeext
18366 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18367 (eval $ac_link) 2>&5
18368 ac_status=$?
18369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18370 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18372 (eval $ac_try) 2>&5
18373 ac_status=$?
18374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18375 (exit $ac_status); }; }; then
18376 ac_cv_sizeof_int=`cat conftest.val`
18377 else
18378 echo "$as_me: program exited with status $ac_status" >&5
18379 echo "$as_me: failed program was:" >&5
18380 sed 's/^/| /' conftest.$ac_ext >&5
18381
18382 ( exit $ac_status )
18383 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
18384 See \`config.log' for more details." >&5
18385 echo "$as_me: error: cannot compute sizeof (int), 77
18386 See \`config.log' for more details." >&2;}
18387 { (exit 1); exit 1; }; }
18388 fi
18389 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18390 fi
18391 fi
18392 rm -f conftest.val
18393 else
18394 ac_cv_sizeof_int=0
18395 fi
18396 fi
18397 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
18398 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
18399 cat >>confdefs.h <<_ACEOF
18400 #define SIZEOF_INT $ac_cv_sizeof_int
18401 _ACEOF
18402
18403
18404 echo "$as_me:$LINENO: checking for long" >&5
18405 echo $ECHO_N "checking for long... $ECHO_C" >&6
18406 if test "${ac_cv_type_long+set}" = set; then
18407 echo $ECHO_N "(cached) $ECHO_C" >&6
18408 else
18409 cat >conftest.$ac_ext <<_ACEOF
18410 /* confdefs.h. */
18411 _ACEOF
18412 cat confdefs.h >>conftest.$ac_ext
18413 cat >>conftest.$ac_ext <<_ACEOF
18414 /* end confdefs.h. */
18415 $ac_includes_default
18416 int
18417 main ()
18418 {
18419 if ((long *) 0)
18420 return 0;
18421 if (sizeof (long))
18422 return 0;
18423 ;
18424 return 0;
18425 }
18426 _ACEOF
18427 rm -f conftest.$ac_objext
18428 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18429 (eval $ac_compile) 2>conftest.er1
18430 ac_status=$?
18431 grep -v '^ *+' conftest.er1 >conftest.err
18432 rm -f conftest.er1
18433 cat conftest.err >&5
18434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18435 (exit $ac_status); } &&
18436 { ac_try='test -z "$ac_c_werror_flag"
18437 || test ! -s conftest.err'
18438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18439 (eval $ac_try) 2>&5
18440 ac_status=$?
18441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18442 (exit $ac_status); }; } &&
18443 { ac_try='test -s conftest.$ac_objext'
18444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18445 (eval $ac_try) 2>&5
18446 ac_status=$?
18447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18448 (exit $ac_status); }; }; then
18449 ac_cv_type_long=yes
18450 else
18451 echo "$as_me: failed program was:" >&5
18452 sed 's/^/| /' conftest.$ac_ext >&5
18453
18454 ac_cv_type_long=no
18455 fi
18456 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18457 fi
18458 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
18459 echo "${ECHO_T}$ac_cv_type_long" >&6
18460
18461 echo "$as_me:$LINENO: checking size of long" >&5
18462 echo $ECHO_N "checking size of long... $ECHO_C" >&6
18463 if test "${ac_cv_sizeof_long+set}" = set; then
18464 echo $ECHO_N "(cached) $ECHO_C" >&6
18465 else
18466 if test "$ac_cv_type_long" = yes; then
18467 # The cast to unsigned long works around a bug in the HP C Compiler
18468 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18469 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18470 # This bug is HP SR number 8606223364.
18471 if test "$cross_compiling" = yes; then
18472 # Depending upon the size, compute the lo and hi bounds.
18473 cat >conftest.$ac_ext <<_ACEOF
18474 /* confdefs.h. */
18475 _ACEOF
18476 cat confdefs.h >>conftest.$ac_ext
18477 cat >>conftest.$ac_ext <<_ACEOF
18478 /* end confdefs.h. */
18479 $ac_includes_default
18480 int
18481 main ()
18482 {
18483 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
18484 test_array [0] = 0
18485
18486 ;
18487 return 0;
18488 }
18489 _ACEOF
18490 rm -f conftest.$ac_objext
18491 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18492 (eval $ac_compile) 2>conftest.er1
18493 ac_status=$?
18494 grep -v '^ *+' conftest.er1 >conftest.err
18495 rm -f conftest.er1
18496 cat conftest.err >&5
18497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18498 (exit $ac_status); } &&
18499 { ac_try='test -z "$ac_c_werror_flag"
18500 || test ! -s conftest.err'
18501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18502 (eval $ac_try) 2>&5
18503 ac_status=$?
18504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18505 (exit $ac_status); }; } &&
18506 { ac_try='test -s conftest.$ac_objext'
18507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18508 (eval $ac_try) 2>&5
18509 ac_status=$?
18510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18511 (exit $ac_status); }; }; then
18512 ac_lo=0 ac_mid=0
18513 while :; do
18514 cat >conftest.$ac_ext <<_ACEOF
18515 /* confdefs.h. */
18516 _ACEOF
18517 cat confdefs.h >>conftest.$ac_ext
18518 cat >>conftest.$ac_ext <<_ACEOF
18519 /* end confdefs.h. */
18520 $ac_includes_default
18521 int
18522 main ()
18523 {
18524 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
18525 test_array [0] = 0
18526
18527 ;
18528 return 0;
18529 }
18530 _ACEOF
18531 rm -f conftest.$ac_objext
18532 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18533 (eval $ac_compile) 2>conftest.er1
18534 ac_status=$?
18535 grep -v '^ *+' conftest.er1 >conftest.err
18536 rm -f conftest.er1
18537 cat conftest.err >&5
18538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18539 (exit $ac_status); } &&
18540 { ac_try='test -z "$ac_c_werror_flag"
18541 || test ! -s conftest.err'
18542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18543 (eval $ac_try) 2>&5
18544 ac_status=$?
18545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18546 (exit $ac_status); }; } &&
18547 { ac_try='test -s conftest.$ac_objext'
18548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18549 (eval $ac_try) 2>&5
18550 ac_status=$?
18551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18552 (exit $ac_status); }; }; then
18553 ac_hi=$ac_mid; break
18554 else
18555 echo "$as_me: failed program was:" >&5
18556 sed 's/^/| /' conftest.$ac_ext >&5
18557
18558 ac_lo=`expr $ac_mid + 1`
18559 if test $ac_lo -le $ac_mid; then
18560 ac_lo= ac_hi=
18561 break
18562 fi
18563 ac_mid=`expr 2 '*' $ac_mid + 1`
18564 fi
18565 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18566 done
18567 else
18568 echo "$as_me: failed program was:" >&5
18569 sed 's/^/| /' conftest.$ac_ext >&5
18570
18571 cat >conftest.$ac_ext <<_ACEOF
18572 /* confdefs.h. */
18573 _ACEOF
18574 cat confdefs.h >>conftest.$ac_ext
18575 cat >>conftest.$ac_ext <<_ACEOF
18576 /* end confdefs.h. */
18577 $ac_includes_default
18578 int
18579 main ()
18580 {
18581 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
18582 test_array [0] = 0
18583
18584 ;
18585 return 0;
18586 }
18587 _ACEOF
18588 rm -f conftest.$ac_objext
18589 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18590 (eval $ac_compile) 2>conftest.er1
18591 ac_status=$?
18592 grep -v '^ *+' conftest.er1 >conftest.err
18593 rm -f conftest.er1
18594 cat conftest.err >&5
18595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18596 (exit $ac_status); } &&
18597 { ac_try='test -z "$ac_c_werror_flag"
18598 || test ! -s conftest.err'
18599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18600 (eval $ac_try) 2>&5
18601 ac_status=$?
18602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18603 (exit $ac_status); }; } &&
18604 { ac_try='test -s conftest.$ac_objext'
18605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18606 (eval $ac_try) 2>&5
18607 ac_status=$?
18608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18609 (exit $ac_status); }; }; then
18610 ac_hi=-1 ac_mid=-1
18611 while :; do
18612 cat >conftest.$ac_ext <<_ACEOF
18613 /* confdefs.h. */
18614 _ACEOF
18615 cat confdefs.h >>conftest.$ac_ext
18616 cat >>conftest.$ac_ext <<_ACEOF
18617 /* end confdefs.h. */
18618 $ac_includes_default
18619 int
18620 main ()
18621 {
18622 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
18623 test_array [0] = 0
18624
18625 ;
18626 return 0;
18627 }
18628 _ACEOF
18629 rm -f conftest.$ac_objext
18630 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18631 (eval $ac_compile) 2>conftest.er1
18632 ac_status=$?
18633 grep -v '^ *+' conftest.er1 >conftest.err
18634 rm -f conftest.er1
18635 cat conftest.err >&5
18636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18637 (exit $ac_status); } &&
18638 { ac_try='test -z "$ac_c_werror_flag"
18639 || test ! -s conftest.err'
18640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18641 (eval $ac_try) 2>&5
18642 ac_status=$?
18643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18644 (exit $ac_status); }; } &&
18645 { ac_try='test -s conftest.$ac_objext'
18646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18647 (eval $ac_try) 2>&5
18648 ac_status=$?
18649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18650 (exit $ac_status); }; }; then
18651 ac_lo=$ac_mid; break
18652 else
18653 echo "$as_me: failed program was:" >&5
18654 sed 's/^/| /' conftest.$ac_ext >&5
18655
18656 ac_hi=`expr '(' $ac_mid ')' - 1`
18657 if test $ac_mid -le $ac_hi; then
18658 ac_lo= ac_hi=
18659 break
18660 fi
18661 ac_mid=`expr 2 '*' $ac_mid`
18662 fi
18663 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18664 done
18665 else
18666 echo "$as_me: failed program was:" >&5
18667 sed 's/^/| /' conftest.$ac_ext >&5
18668
18669 ac_lo= ac_hi=
18670 fi
18671 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18672 fi
18673 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18674 # Binary search between lo and hi bounds.
18675 while test "x$ac_lo" != "x$ac_hi"; do
18676 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18677 cat >conftest.$ac_ext <<_ACEOF
18678 /* confdefs.h. */
18679 _ACEOF
18680 cat confdefs.h >>conftest.$ac_ext
18681 cat >>conftest.$ac_ext <<_ACEOF
18682 /* end confdefs.h. */
18683 $ac_includes_default
18684 int
18685 main ()
18686 {
18687 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
18688 test_array [0] = 0
18689
18690 ;
18691 return 0;
18692 }
18693 _ACEOF
18694 rm -f conftest.$ac_objext
18695 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18696 (eval $ac_compile) 2>conftest.er1
18697 ac_status=$?
18698 grep -v '^ *+' conftest.er1 >conftest.err
18699 rm -f conftest.er1
18700 cat conftest.err >&5
18701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18702 (exit $ac_status); } &&
18703 { ac_try='test -z "$ac_c_werror_flag"
18704 || test ! -s conftest.err'
18705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18706 (eval $ac_try) 2>&5
18707 ac_status=$?
18708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18709 (exit $ac_status); }; } &&
18710 { ac_try='test -s conftest.$ac_objext'
18711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18712 (eval $ac_try) 2>&5
18713 ac_status=$?
18714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18715 (exit $ac_status); }; }; then
18716 ac_hi=$ac_mid
18717 else
18718 echo "$as_me: failed program was:" >&5
18719 sed 's/^/| /' conftest.$ac_ext >&5
18720
18721 ac_lo=`expr '(' $ac_mid ')' + 1`
18722 fi
18723 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18724 done
18725 case $ac_lo in
18726 ?*) ac_cv_sizeof_long=$ac_lo;;
18727 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
18728 See \`config.log' for more details." >&5
18729 echo "$as_me: error: cannot compute sizeof (long), 77
18730 See \`config.log' for more details." >&2;}
18731 { (exit 1); exit 1; }; } ;;
18732 esac
18733 else
18734 if test "$cross_compiling" = yes; then
18735 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
18736 See \`config.log' for more details." >&5
18737 echo "$as_me: error: cannot run test program while cross compiling
18738 See \`config.log' for more details." >&2;}
18739 { (exit 1); exit 1; }; }
18740 else
18741 cat >conftest.$ac_ext <<_ACEOF
18742 /* confdefs.h. */
18743 _ACEOF
18744 cat confdefs.h >>conftest.$ac_ext
18745 cat >>conftest.$ac_ext <<_ACEOF
18746 /* end confdefs.h. */
18747 $ac_includes_default
18748 long longval () { return (long) (sizeof (long)); }
18749 unsigned long ulongval () { return (long) (sizeof (long)); }
18750 #include <stdio.h>
18751 #include <stdlib.h>
18752 int
18753 main ()
18754 {
18755
18756 FILE *f = fopen ("conftest.val", "w");
18757 if (! f)
18758 exit (1);
18759 if (((long) (sizeof (long))) < 0)
18760 {
18761 long i = longval ();
18762 if (i != ((long) (sizeof (long))))
18763 exit (1);
18764 fprintf (f, "%ld\n", i);
18765 }
18766 else
18767 {
18768 unsigned long i = ulongval ();
18769 if (i != ((long) (sizeof (long))))
18770 exit (1);
18771 fprintf (f, "%lu\n", i);
18772 }
18773 exit (ferror (f) || fclose (f) != 0);
18774
18775 ;
18776 return 0;
18777 }
18778 _ACEOF
18779 rm -f conftest$ac_exeext
18780 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18781 (eval $ac_link) 2>&5
18782 ac_status=$?
18783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18784 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18786 (eval $ac_try) 2>&5
18787 ac_status=$?
18788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18789 (exit $ac_status); }; }; then
18790 ac_cv_sizeof_long=`cat conftest.val`
18791 else
18792 echo "$as_me: program exited with status $ac_status" >&5
18793 echo "$as_me: failed program was:" >&5
18794 sed 's/^/| /' conftest.$ac_ext >&5
18795
18796 ( exit $ac_status )
18797 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
18798 See \`config.log' for more details." >&5
18799 echo "$as_me: error: cannot compute sizeof (long), 77
18800 See \`config.log' for more details." >&2;}
18801 { (exit 1); exit 1; }; }
18802 fi
18803 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18804 fi
18805 fi
18806 rm -f conftest.val
18807 else
18808 ac_cv_sizeof_long=0
18809 fi
18810 fi
18811 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
18812 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
18813 cat >>confdefs.h <<_ACEOF
18814 #define SIZEOF_LONG $ac_cv_sizeof_long
18815 _ACEOF
18816
18817
18818 echo "$as_me:$LINENO: checking for size_t" >&5
18819 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
18820 if test "${ac_cv_type_size_t+set}" = set; then
18821 echo $ECHO_N "(cached) $ECHO_C" >&6
18822 else
18823 cat >conftest.$ac_ext <<_ACEOF
18824 /* confdefs.h. */
18825 _ACEOF
18826 cat confdefs.h >>conftest.$ac_ext
18827 cat >>conftest.$ac_ext <<_ACEOF
18828 /* end confdefs.h. */
18829 $ac_includes_default
18830 int
18831 main ()
18832 {
18833 if ((size_t *) 0)
18834 return 0;
18835 if (sizeof (size_t))
18836 return 0;
18837 ;
18838 return 0;
18839 }
18840 _ACEOF
18841 rm -f conftest.$ac_objext
18842 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18843 (eval $ac_compile) 2>conftest.er1
18844 ac_status=$?
18845 grep -v '^ *+' conftest.er1 >conftest.err
18846 rm -f conftest.er1
18847 cat conftest.err >&5
18848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18849 (exit $ac_status); } &&
18850 { ac_try='test -z "$ac_c_werror_flag"
18851 || test ! -s conftest.err'
18852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18853 (eval $ac_try) 2>&5
18854 ac_status=$?
18855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18856 (exit $ac_status); }; } &&
18857 { ac_try='test -s conftest.$ac_objext'
18858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18859 (eval $ac_try) 2>&5
18860 ac_status=$?
18861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18862 (exit $ac_status); }; }; then
18863 ac_cv_type_size_t=yes
18864 else
18865 echo "$as_me: failed program was:" >&5
18866 sed 's/^/| /' conftest.$ac_ext >&5
18867
18868 ac_cv_type_size_t=no
18869 fi
18870 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18871 fi
18872 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
18873 echo "${ECHO_T}$ac_cv_type_size_t" >&6
18874
18875 echo "$as_me:$LINENO: checking size of size_t" >&5
18876 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6
18877 if test "${ac_cv_sizeof_size_t+set}" = set; then
18878 echo $ECHO_N "(cached) $ECHO_C" >&6
18879 else
18880 if test "$ac_cv_type_size_t" = yes; then
18881 # The cast to unsigned long works around a bug in the HP C Compiler
18882 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18883 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18884 # This bug is HP SR number 8606223364.
18885 if test "$cross_compiling" = yes; then
18886 # Depending upon the size, compute the lo and hi bounds.
18887 cat >conftest.$ac_ext <<_ACEOF
18888 /* confdefs.h. */
18889 _ACEOF
18890 cat confdefs.h >>conftest.$ac_ext
18891 cat >>conftest.$ac_ext <<_ACEOF
18892 /* end confdefs.h. */
18893 $ac_includes_default
18894 int
18895 main ()
18896 {
18897 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= 0)];
18898 test_array [0] = 0
18899
18900 ;
18901 return 0;
18902 }
18903 _ACEOF
18904 rm -f conftest.$ac_objext
18905 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18906 (eval $ac_compile) 2>conftest.er1
18907 ac_status=$?
18908 grep -v '^ *+' conftest.er1 >conftest.err
18909 rm -f conftest.er1
18910 cat conftest.err >&5
18911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18912 (exit $ac_status); } &&
18913 { ac_try='test -z "$ac_c_werror_flag"
18914 || test ! -s conftest.err'
18915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18916 (eval $ac_try) 2>&5
18917 ac_status=$?
18918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18919 (exit $ac_status); }; } &&
18920 { ac_try='test -s conftest.$ac_objext'
18921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18922 (eval $ac_try) 2>&5
18923 ac_status=$?
18924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18925 (exit $ac_status); }; }; then
18926 ac_lo=0 ac_mid=0
18927 while :; do
18928 cat >conftest.$ac_ext <<_ACEOF
18929 /* confdefs.h. */
18930 _ACEOF
18931 cat confdefs.h >>conftest.$ac_ext
18932 cat >>conftest.$ac_ext <<_ACEOF
18933 /* end confdefs.h. */
18934 $ac_includes_default
18935 int
18936 main ()
18937 {
18938 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
18939 test_array [0] = 0
18940
18941 ;
18942 return 0;
18943 }
18944 _ACEOF
18945 rm -f conftest.$ac_objext
18946 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18947 (eval $ac_compile) 2>conftest.er1
18948 ac_status=$?
18949 grep -v '^ *+' conftest.er1 >conftest.err
18950 rm -f conftest.er1
18951 cat conftest.err >&5
18952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18953 (exit $ac_status); } &&
18954 { ac_try='test -z "$ac_c_werror_flag"
18955 || test ! -s conftest.err'
18956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18957 (eval $ac_try) 2>&5
18958 ac_status=$?
18959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18960 (exit $ac_status); }; } &&
18961 { ac_try='test -s conftest.$ac_objext'
18962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18963 (eval $ac_try) 2>&5
18964 ac_status=$?
18965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18966 (exit $ac_status); }; }; then
18967 ac_hi=$ac_mid; break
18968 else
18969 echo "$as_me: failed program was:" >&5
18970 sed 's/^/| /' conftest.$ac_ext >&5
18971
18972 ac_lo=`expr $ac_mid + 1`
18973 if test $ac_lo -le $ac_mid; then
18974 ac_lo= ac_hi=
18975 break
18976 fi
18977 ac_mid=`expr 2 '*' $ac_mid + 1`
18978 fi
18979 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18980 done
18981 else
18982 echo "$as_me: failed program was:" >&5
18983 sed 's/^/| /' conftest.$ac_ext >&5
18984
18985 cat >conftest.$ac_ext <<_ACEOF
18986 /* confdefs.h. */
18987 _ACEOF
18988 cat confdefs.h >>conftest.$ac_ext
18989 cat >>conftest.$ac_ext <<_ACEOF
18990 /* end confdefs.h. */
18991 $ac_includes_default
18992 int
18993 main ()
18994 {
18995 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) < 0)];
18996 test_array [0] = 0
18997
18998 ;
18999 return 0;
19000 }
19001 _ACEOF
19002 rm -f conftest.$ac_objext
19003 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19004 (eval $ac_compile) 2>conftest.er1
19005 ac_status=$?
19006 grep -v '^ *+' conftest.er1 >conftest.err
19007 rm -f conftest.er1
19008 cat conftest.err >&5
19009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19010 (exit $ac_status); } &&
19011 { ac_try='test -z "$ac_c_werror_flag"
19012 || test ! -s conftest.err'
19013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19014 (eval $ac_try) 2>&5
19015 ac_status=$?
19016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19017 (exit $ac_status); }; } &&
19018 { ac_try='test -s conftest.$ac_objext'
19019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19020 (eval $ac_try) 2>&5
19021 ac_status=$?
19022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19023 (exit $ac_status); }; }; then
19024 ac_hi=-1 ac_mid=-1
19025 while :; do
19026 cat >conftest.$ac_ext <<_ACEOF
19027 /* confdefs.h. */
19028 _ACEOF
19029 cat confdefs.h >>conftest.$ac_ext
19030 cat >>conftest.$ac_ext <<_ACEOF
19031 /* end confdefs.h. */
19032 $ac_includes_default
19033 int
19034 main ()
19035 {
19036 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= $ac_mid)];
19037 test_array [0] = 0
19038
19039 ;
19040 return 0;
19041 }
19042 _ACEOF
19043 rm -f conftest.$ac_objext
19044 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19045 (eval $ac_compile) 2>conftest.er1
19046 ac_status=$?
19047 grep -v '^ *+' conftest.er1 >conftest.err
19048 rm -f conftest.er1
19049 cat conftest.err >&5
19050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19051 (exit $ac_status); } &&
19052 { ac_try='test -z "$ac_c_werror_flag"
19053 || test ! -s conftest.err'
19054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19055 (eval $ac_try) 2>&5
19056 ac_status=$?
19057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19058 (exit $ac_status); }; } &&
19059 { ac_try='test -s conftest.$ac_objext'
19060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19061 (eval $ac_try) 2>&5
19062 ac_status=$?
19063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19064 (exit $ac_status); }; }; then
19065 ac_lo=$ac_mid; break
19066 else
19067 echo "$as_me: failed program was:" >&5
19068 sed 's/^/| /' conftest.$ac_ext >&5
19069
19070 ac_hi=`expr '(' $ac_mid ')' - 1`
19071 if test $ac_mid -le $ac_hi; then
19072 ac_lo= ac_hi=
19073 break
19074 fi
19075 ac_mid=`expr 2 '*' $ac_mid`
19076 fi
19077 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19078 done
19079 else
19080 echo "$as_me: failed program was:" >&5
19081 sed 's/^/| /' conftest.$ac_ext >&5
19082
19083 ac_lo= ac_hi=
19084 fi
19085 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19086 fi
19087 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19088 # Binary search between lo and hi bounds.
19089 while test "x$ac_lo" != "x$ac_hi"; do
19090 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19091 cat >conftest.$ac_ext <<_ACEOF
19092 /* confdefs.h. */
19093 _ACEOF
19094 cat confdefs.h >>conftest.$ac_ext
19095 cat >>conftest.$ac_ext <<_ACEOF
19096 /* end confdefs.h. */
19097 $ac_includes_default
19098 int
19099 main ()
19100 {
19101 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
19102 test_array [0] = 0
19103
19104 ;
19105 return 0;
19106 }
19107 _ACEOF
19108 rm -f conftest.$ac_objext
19109 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19110 (eval $ac_compile) 2>conftest.er1
19111 ac_status=$?
19112 grep -v '^ *+' conftest.er1 >conftest.err
19113 rm -f conftest.er1
19114 cat conftest.err >&5
19115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19116 (exit $ac_status); } &&
19117 { ac_try='test -z "$ac_c_werror_flag"
19118 || test ! -s conftest.err'
19119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19120 (eval $ac_try) 2>&5
19121 ac_status=$?
19122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19123 (exit $ac_status); }; } &&
19124 { ac_try='test -s conftest.$ac_objext'
19125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19126 (eval $ac_try) 2>&5
19127 ac_status=$?
19128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19129 (exit $ac_status); }; }; then
19130 ac_hi=$ac_mid
19131 else
19132 echo "$as_me: failed program was:" >&5
19133 sed 's/^/| /' conftest.$ac_ext >&5
19134
19135 ac_lo=`expr '(' $ac_mid ')' + 1`
19136 fi
19137 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19138 done
19139 case $ac_lo in
19140 ?*) ac_cv_sizeof_size_t=$ac_lo;;
19141 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
19142 See \`config.log' for more details." >&5
19143 echo "$as_me: error: cannot compute sizeof (size_t), 77
19144 See \`config.log' for more details." >&2;}
19145 { (exit 1); exit 1; }; } ;;
19146 esac
19147 else
19148 if test "$cross_compiling" = yes; then
19149 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
19150 See \`config.log' for more details." >&5
19151 echo "$as_me: error: cannot run test program while cross compiling
19152 See \`config.log' for more details." >&2;}
19153 { (exit 1); exit 1; }; }
19154 else
19155 cat >conftest.$ac_ext <<_ACEOF
19156 /* confdefs.h. */
19157 _ACEOF
19158 cat confdefs.h >>conftest.$ac_ext
19159 cat >>conftest.$ac_ext <<_ACEOF
19160 /* end confdefs.h. */
19161 $ac_includes_default
19162 long longval () { return (long) (sizeof (size_t)); }
19163 unsigned long ulongval () { return (long) (sizeof (size_t)); }
19164 #include <stdio.h>
19165 #include <stdlib.h>
19166 int
19167 main ()
19168 {
19169
19170 FILE *f = fopen ("conftest.val", "w");
19171 if (! f)
19172 exit (1);
19173 if (((long) (sizeof (size_t))) < 0)
19174 {
19175 long i = longval ();
19176 if (i != ((long) (sizeof (size_t))))
19177 exit (1);
19178 fprintf (f, "%ld\n", i);
19179 }
19180 else
19181 {
19182 unsigned long i = ulongval ();
19183 if (i != ((long) (sizeof (size_t))))
19184 exit (1);
19185 fprintf (f, "%lu\n", i);
19186 }
19187 exit (ferror (f) || fclose (f) != 0);
19188
19189 ;
19190 return 0;
19191 }
19192 _ACEOF
19193 rm -f conftest$ac_exeext
19194 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19195 (eval $ac_link) 2>&5
19196 ac_status=$?
19197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19198 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19200 (eval $ac_try) 2>&5
19201 ac_status=$?
19202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19203 (exit $ac_status); }; }; then
19204 ac_cv_sizeof_size_t=`cat conftest.val`
19205 else
19206 echo "$as_me: program exited with status $ac_status" >&5
19207 echo "$as_me: failed program was:" >&5
19208 sed 's/^/| /' conftest.$ac_ext >&5
19209
19210 ( exit $ac_status )
19211 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
19212 See \`config.log' for more details." >&5
19213 echo "$as_me: error: cannot compute sizeof (size_t), 77
19214 See \`config.log' for more details." >&2;}
19215 { (exit 1); exit 1; }; }
19216 fi
19217 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19218 fi
19219 fi
19220 rm -f conftest.val
19221 else
19222 ac_cv_sizeof_size_t=0
19223 fi
19224 fi
19225 echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
19226 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6
19227 cat >>confdefs.h <<_ACEOF
19228 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
19229 _ACEOF
19230
19231
19232
19233 case "${host}" in
19234 arm-*-linux* )
19235 echo "$as_me:$LINENO: checking for long long" >&5
19236 echo $ECHO_N "checking for long long... $ECHO_C" >&6
19237 if test "${ac_cv_type_long_long+set}" = set; then
19238 echo $ECHO_N "(cached) $ECHO_C" >&6
19239 else
19240 cat >conftest.$ac_ext <<_ACEOF
19241 /* confdefs.h. */
19242 _ACEOF
19243 cat confdefs.h >>conftest.$ac_ext
19244 cat >>conftest.$ac_ext <<_ACEOF
19245 /* end confdefs.h. */
19246 $ac_includes_default
19247 int
19248 main ()
19249 {
19250 if ((long long *) 0)
19251 return 0;
19252 if (sizeof (long long))
19253 return 0;
19254 ;
19255 return 0;
19256 }
19257 _ACEOF
19258 rm -f conftest.$ac_objext
19259 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19260 (eval $ac_compile) 2>conftest.er1
19261 ac_status=$?
19262 grep -v '^ *+' conftest.er1 >conftest.err
19263 rm -f conftest.er1
19264 cat conftest.err >&5
19265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19266 (exit $ac_status); } &&
19267 { ac_try='test -z "$ac_c_werror_flag"
19268 || test ! -s conftest.err'
19269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19270 (eval $ac_try) 2>&5
19271 ac_status=$?
19272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19273 (exit $ac_status); }; } &&
19274 { ac_try='test -s conftest.$ac_objext'
19275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19276 (eval $ac_try) 2>&5
19277 ac_status=$?
19278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19279 (exit $ac_status); }; }; then
19280 ac_cv_type_long_long=yes
19281 else
19282 echo "$as_me: failed program was:" >&5
19283 sed 's/^/| /' conftest.$ac_ext >&5
19284
19285 ac_cv_type_long_long=no
19286 fi
19287 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19288 fi
19289 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
19290 echo "${ECHO_T}$ac_cv_type_long_long" >&6
19291
19292 echo "$as_me:$LINENO: checking size of long long" >&5
19293 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
19294 if test "${ac_cv_sizeof_long_long+set}" = set; then
19295 echo $ECHO_N "(cached) $ECHO_C" >&6
19296 else
19297 if test "$ac_cv_type_long_long" = yes; then
19298 # The cast to unsigned long works around a bug in the HP C Compiler
19299 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19300 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19301 # This bug is HP SR number 8606223364.
19302 if test "$cross_compiling" = yes; then
19303 # Depending upon the size, compute the lo and hi bounds.
19304 cat >conftest.$ac_ext <<_ACEOF
19305 /* confdefs.h. */
19306 _ACEOF
19307 cat confdefs.h >>conftest.$ac_ext
19308 cat >>conftest.$ac_ext <<_ACEOF
19309 /* end confdefs.h. */
19310 $ac_includes_default
19311 int
19312 main ()
19313 {
19314 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
19315 test_array [0] = 0
19316
19317 ;
19318 return 0;
19319 }
19320 _ACEOF
19321 rm -f conftest.$ac_objext
19322 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19323 (eval $ac_compile) 2>conftest.er1
19324 ac_status=$?
19325 grep -v '^ *+' conftest.er1 >conftest.err
19326 rm -f conftest.er1
19327 cat conftest.err >&5
19328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19329 (exit $ac_status); } &&
19330 { ac_try='test -z "$ac_c_werror_flag"
19331 || test ! -s conftest.err'
19332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19333 (eval $ac_try) 2>&5
19334 ac_status=$?
19335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19336 (exit $ac_status); }; } &&
19337 { ac_try='test -s conftest.$ac_objext'
19338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19339 (eval $ac_try) 2>&5
19340 ac_status=$?
19341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19342 (exit $ac_status); }; }; then
19343 ac_lo=0 ac_mid=0
19344 while :; do
19345 cat >conftest.$ac_ext <<_ACEOF
19346 /* confdefs.h. */
19347 _ACEOF
19348 cat confdefs.h >>conftest.$ac_ext
19349 cat >>conftest.$ac_ext <<_ACEOF
19350 /* end confdefs.h. */
19351 $ac_includes_default
19352 int
19353 main ()
19354 {
19355 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
19356 test_array [0] = 0
19357
19358 ;
19359 return 0;
19360 }
19361 _ACEOF
19362 rm -f conftest.$ac_objext
19363 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19364 (eval $ac_compile) 2>conftest.er1
19365 ac_status=$?
19366 grep -v '^ *+' conftest.er1 >conftest.err
19367 rm -f conftest.er1
19368 cat conftest.err >&5
19369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19370 (exit $ac_status); } &&
19371 { ac_try='test -z "$ac_c_werror_flag"
19372 || test ! -s conftest.err'
19373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19374 (eval $ac_try) 2>&5
19375 ac_status=$?
19376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19377 (exit $ac_status); }; } &&
19378 { ac_try='test -s conftest.$ac_objext'
19379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19380 (eval $ac_try) 2>&5
19381 ac_status=$?
19382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19383 (exit $ac_status); }; }; then
19384 ac_hi=$ac_mid; break
19385 else
19386 echo "$as_me: failed program was:" >&5
19387 sed 's/^/| /' conftest.$ac_ext >&5
19388
19389 ac_lo=`expr $ac_mid + 1`
19390 if test $ac_lo -le $ac_mid; then
19391 ac_lo= ac_hi=
19392 break
19393 fi
19394 ac_mid=`expr 2 '*' $ac_mid + 1`
19395 fi
19396 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19397 done
19398 else
19399 echo "$as_me: failed program was:" >&5
19400 sed 's/^/| /' conftest.$ac_ext >&5
19401
19402 cat >conftest.$ac_ext <<_ACEOF
19403 /* confdefs.h. */
19404 _ACEOF
19405 cat confdefs.h >>conftest.$ac_ext
19406 cat >>conftest.$ac_ext <<_ACEOF
19407 /* end confdefs.h. */
19408 $ac_includes_default
19409 int
19410 main ()
19411 {
19412 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
19413 test_array [0] = 0
19414
19415 ;
19416 return 0;
19417 }
19418 _ACEOF
19419 rm -f conftest.$ac_objext
19420 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19421 (eval $ac_compile) 2>conftest.er1
19422 ac_status=$?
19423 grep -v '^ *+' conftest.er1 >conftest.err
19424 rm -f conftest.er1
19425 cat conftest.err >&5
19426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19427 (exit $ac_status); } &&
19428 { ac_try='test -z "$ac_c_werror_flag"
19429 || test ! -s conftest.err'
19430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19431 (eval $ac_try) 2>&5
19432 ac_status=$?
19433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19434 (exit $ac_status); }; } &&
19435 { ac_try='test -s conftest.$ac_objext'
19436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19437 (eval $ac_try) 2>&5
19438 ac_status=$?
19439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19440 (exit $ac_status); }; }; then
19441 ac_hi=-1 ac_mid=-1
19442 while :; do
19443 cat >conftest.$ac_ext <<_ACEOF
19444 /* confdefs.h. */
19445 _ACEOF
19446 cat confdefs.h >>conftest.$ac_ext
19447 cat >>conftest.$ac_ext <<_ACEOF
19448 /* end confdefs.h. */
19449 $ac_includes_default
19450 int
19451 main ()
19452 {
19453 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
19454 test_array [0] = 0
19455
19456 ;
19457 return 0;
19458 }
19459 _ACEOF
19460 rm -f conftest.$ac_objext
19461 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19462 (eval $ac_compile) 2>conftest.er1
19463 ac_status=$?
19464 grep -v '^ *+' conftest.er1 >conftest.err
19465 rm -f conftest.er1
19466 cat conftest.err >&5
19467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19468 (exit $ac_status); } &&
19469 { ac_try='test -z "$ac_c_werror_flag"
19470 || test ! -s conftest.err'
19471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19472 (eval $ac_try) 2>&5
19473 ac_status=$?
19474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19475 (exit $ac_status); }; } &&
19476 { ac_try='test -s conftest.$ac_objext'
19477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19478 (eval $ac_try) 2>&5
19479 ac_status=$?
19480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19481 (exit $ac_status); }; }; then
19482 ac_lo=$ac_mid; break
19483 else
19484 echo "$as_me: failed program was:" >&5
19485 sed 's/^/| /' conftest.$ac_ext >&5
19486
19487 ac_hi=`expr '(' $ac_mid ')' - 1`
19488 if test $ac_mid -le $ac_hi; then
19489 ac_lo= ac_hi=
19490 break
19491 fi
19492 ac_mid=`expr 2 '*' $ac_mid`
19493 fi
19494 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19495 done
19496 else
19497 echo "$as_me: failed program was:" >&5
19498 sed 's/^/| /' conftest.$ac_ext >&5
19499
19500 ac_lo= ac_hi=
19501 fi
19502 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19503 fi
19504 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19505 # Binary search between lo and hi bounds.
19506 while test "x$ac_lo" != "x$ac_hi"; do
19507 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19508 cat >conftest.$ac_ext <<_ACEOF
19509 /* confdefs.h. */
19510 _ACEOF
19511 cat confdefs.h >>conftest.$ac_ext
19512 cat >>conftest.$ac_ext <<_ACEOF
19513 /* end confdefs.h. */
19514 $ac_includes_default
19515 int
19516 main ()
19517 {
19518 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
19519 test_array [0] = 0
19520
19521 ;
19522 return 0;
19523 }
19524 _ACEOF
19525 rm -f conftest.$ac_objext
19526 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19527 (eval $ac_compile) 2>conftest.er1
19528 ac_status=$?
19529 grep -v '^ *+' conftest.er1 >conftest.err
19530 rm -f conftest.er1
19531 cat conftest.err >&5
19532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19533 (exit $ac_status); } &&
19534 { ac_try='test -z "$ac_c_werror_flag"
19535 || test ! -s conftest.err'
19536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19537 (eval $ac_try) 2>&5
19538 ac_status=$?
19539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19540 (exit $ac_status); }; } &&
19541 { ac_try='test -s conftest.$ac_objext'
19542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19543 (eval $ac_try) 2>&5
19544 ac_status=$?
19545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19546 (exit $ac_status); }; }; then
19547 ac_hi=$ac_mid
19548 else
19549 echo "$as_me: failed program was:" >&5
19550 sed 's/^/| /' conftest.$ac_ext >&5
19551
19552 ac_lo=`expr '(' $ac_mid ')' + 1`
19553 fi
19554 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19555 done
19556 case $ac_lo in
19557 ?*) ac_cv_sizeof_long_long=$ac_lo;;
19558 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
19559 See \`config.log' for more details." >&5
19560 echo "$as_me: error: cannot compute sizeof (long long), 77
19561 See \`config.log' for more details." >&2;}
19562 { (exit 1); exit 1; }; } ;;
19563 esac
19564 else
19565 if test "$cross_compiling" = yes; then
19566 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
19567 See \`config.log' for more details." >&5
19568 echo "$as_me: error: cannot run test program while cross compiling
19569 See \`config.log' for more details." >&2;}
19570 { (exit 1); exit 1; }; }
19571 else
19572 cat >conftest.$ac_ext <<_ACEOF
19573 /* confdefs.h. */
19574 _ACEOF
19575 cat confdefs.h >>conftest.$ac_ext
19576 cat >>conftest.$ac_ext <<_ACEOF
19577 /* end confdefs.h. */
19578 $ac_includes_default
19579 long longval () { return (long) (sizeof (long long)); }
19580 unsigned long ulongval () { return (long) (sizeof (long long)); }
19581 #include <stdio.h>
19582 #include <stdlib.h>
19583 int
19584 main ()
19585 {
19586
19587 FILE *f = fopen ("conftest.val", "w");
19588 if (! f)
19589 exit (1);
19590 if (((long) (sizeof (long long))) < 0)
19591 {
19592 long i = longval ();
19593 if (i != ((long) (sizeof (long long))))
19594 exit (1);
19595 fprintf (f, "%ld\n", i);
19596 }
19597 else
19598 {
19599 unsigned long i = ulongval ();
19600 if (i != ((long) (sizeof (long long))))
19601 exit (1);
19602 fprintf (f, "%lu\n", i);
19603 }
19604 exit (ferror (f) || fclose (f) != 0);
19605
19606 ;
19607 return 0;
19608 }
19609 _ACEOF
19610 rm -f conftest$ac_exeext
19611 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19612 (eval $ac_link) 2>&5
19613 ac_status=$?
19614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19615 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19617 (eval $ac_try) 2>&5
19618 ac_status=$?
19619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19620 (exit $ac_status); }; }; then
19621 ac_cv_sizeof_long_long=`cat conftest.val`
19622 else
19623 echo "$as_me: program exited with status $ac_status" >&5
19624 echo "$as_me: failed program was:" >&5
19625 sed 's/^/| /' conftest.$ac_ext >&5
19626
19627 ( exit $ac_status )
19628 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
19629 See \`config.log' for more details." >&5
19630 echo "$as_me: error: cannot compute sizeof (long long), 77
19631 See \`config.log' for more details." >&2;}
19632 { (exit 1); exit 1; }; }
19633 fi
19634 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19635 fi
19636 fi
19637 rm -f conftest.val
19638 else
19639 ac_cv_sizeof_long_long=0
19640 fi
19641 fi
19642 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
19643 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
19644 cat >>confdefs.h <<_ACEOF
19645 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
19646 _ACEOF
19647
19648
19649 ;;
19650 *-hp-hpux* )
19651 echo "$as_me:$LINENO: checking for long long" >&5
19652 echo $ECHO_N "checking for long long... $ECHO_C" >&6
19653 if test "${ac_cv_type_long_long+set}" = set; then
19654 echo $ECHO_N "(cached) $ECHO_C" >&6
19655 else
19656 cat >conftest.$ac_ext <<_ACEOF
19657 /* confdefs.h. */
19658 _ACEOF
19659 cat confdefs.h >>conftest.$ac_ext
19660 cat >>conftest.$ac_ext <<_ACEOF
19661 /* end confdefs.h. */
19662 $ac_includes_default
19663 int
19664 main ()
19665 {
19666 if ((long long *) 0)
19667 return 0;
19668 if (sizeof (long long))
19669 return 0;
19670 ;
19671 return 0;
19672 }
19673 _ACEOF
19674 rm -f conftest.$ac_objext
19675 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19676 (eval $ac_compile) 2>conftest.er1
19677 ac_status=$?
19678 grep -v '^ *+' conftest.er1 >conftest.err
19679 rm -f conftest.er1
19680 cat conftest.err >&5
19681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19682 (exit $ac_status); } &&
19683 { ac_try='test -z "$ac_c_werror_flag"
19684 || test ! -s conftest.err'
19685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19686 (eval $ac_try) 2>&5
19687 ac_status=$?
19688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19689 (exit $ac_status); }; } &&
19690 { ac_try='test -s conftest.$ac_objext'
19691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19692 (eval $ac_try) 2>&5
19693 ac_status=$?
19694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19695 (exit $ac_status); }; }; then
19696 ac_cv_type_long_long=yes
19697 else
19698 echo "$as_me: failed program was:" >&5
19699 sed 's/^/| /' conftest.$ac_ext >&5
19700
19701 ac_cv_type_long_long=no
19702 fi
19703 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19704 fi
19705 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
19706 echo "${ECHO_T}$ac_cv_type_long_long" >&6
19707
19708 echo "$as_me:$LINENO: checking size of long long" >&5
19709 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
19710 if test "${ac_cv_sizeof_long_long+set}" = set; then
19711 echo $ECHO_N "(cached) $ECHO_C" >&6
19712 else
19713 if test "$ac_cv_type_long_long" = yes; then
19714 # The cast to unsigned long works around a bug in the HP C Compiler
19715 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19716 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19717 # This bug is HP SR number 8606223364.
19718 if test "$cross_compiling" = yes; then
19719 # Depending upon the size, compute the lo and hi bounds.
19720 cat >conftest.$ac_ext <<_ACEOF
19721 /* confdefs.h. */
19722 _ACEOF
19723 cat confdefs.h >>conftest.$ac_ext
19724 cat >>conftest.$ac_ext <<_ACEOF
19725 /* end confdefs.h. */
19726 $ac_includes_default
19727 int
19728 main ()
19729 {
19730 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
19731 test_array [0] = 0
19732
19733 ;
19734 return 0;
19735 }
19736 _ACEOF
19737 rm -f conftest.$ac_objext
19738 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19739 (eval $ac_compile) 2>conftest.er1
19740 ac_status=$?
19741 grep -v '^ *+' conftest.er1 >conftest.err
19742 rm -f conftest.er1
19743 cat conftest.err >&5
19744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19745 (exit $ac_status); } &&
19746 { ac_try='test -z "$ac_c_werror_flag"
19747 || test ! -s conftest.err'
19748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19749 (eval $ac_try) 2>&5
19750 ac_status=$?
19751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19752 (exit $ac_status); }; } &&
19753 { ac_try='test -s conftest.$ac_objext'
19754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19755 (eval $ac_try) 2>&5
19756 ac_status=$?
19757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19758 (exit $ac_status); }; }; then
19759 ac_lo=0 ac_mid=0
19760 while :; do
19761 cat >conftest.$ac_ext <<_ACEOF
19762 /* confdefs.h. */
19763 _ACEOF
19764 cat confdefs.h >>conftest.$ac_ext
19765 cat >>conftest.$ac_ext <<_ACEOF
19766 /* end confdefs.h. */
19767 $ac_includes_default
19768 int
19769 main ()
19770 {
19771 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
19772 test_array [0] = 0
19773
19774 ;
19775 return 0;
19776 }
19777 _ACEOF
19778 rm -f conftest.$ac_objext
19779 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19780 (eval $ac_compile) 2>conftest.er1
19781 ac_status=$?
19782 grep -v '^ *+' conftest.er1 >conftest.err
19783 rm -f conftest.er1
19784 cat conftest.err >&5
19785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19786 (exit $ac_status); } &&
19787 { ac_try='test -z "$ac_c_werror_flag"
19788 || test ! -s conftest.err'
19789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19790 (eval $ac_try) 2>&5
19791 ac_status=$?
19792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19793 (exit $ac_status); }; } &&
19794 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
19800 ac_hi=$ac_mid; break
19801 else
19802 echo "$as_me: failed program was:" >&5
19803 sed 's/^/| /' conftest.$ac_ext >&5
19804
19805 ac_lo=`expr $ac_mid + 1`
19806 if test $ac_lo -le $ac_mid; then
19807 ac_lo= ac_hi=
19808 break
19809 fi
19810 ac_mid=`expr 2 '*' $ac_mid + 1`
19811 fi
19812 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19813 done
19814 else
19815 echo "$as_me: failed program was:" >&5
19816 sed 's/^/| /' conftest.$ac_ext >&5
19817
19818 cat >conftest.$ac_ext <<_ACEOF
19819 /* confdefs.h. */
19820 _ACEOF
19821 cat confdefs.h >>conftest.$ac_ext
19822 cat >>conftest.$ac_ext <<_ACEOF
19823 /* end confdefs.h. */
19824 $ac_includes_default
19825 int
19826 main ()
19827 {
19828 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
19829 test_array [0] = 0
19830
19831 ;
19832 return 0;
19833 }
19834 _ACEOF
19835 rm -f conftest.$ac_objext
19836 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19837 (eval $ac_compile) 2>conftest.er1
19838 ac_status=$?
19839 grep -v '^ *+' conftest.er1 >conftest.err
19840 rm -f conftest.er1
19841 cat conftest.err >&5
19842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19843 (exit $ac_status); } &&
19844 { ac_try='test -z "$ac_c_werror_flag"
19845 || test ! -s conftest.err'
19846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19847 (eval $ac_try) 2>&5
19848 ac_status=$?
19849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19850 (exit $ac_status); }; } &&
19851 { ac_try='test -s conftest.$ac_objext'
19852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19853 (eval $ac_try) 2>&5
19854 ac_status=$?
19855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19856 (exit $ac_status); }; }; then
19857 ac_hi=-1 ac_mid=-1
19858 while :; do
19859 cat >conftest.$ac_ext <<_ACEOF
19860 /* confdefs.h. */
19861 _ACEOF
19862 cat confdefs.h >>conftest.$ac_ext
19863 cat >>conftest.$ac_ext <<_ACEOF
19864 /* end confdefs.h. */
19865 $ac_includes_default
19866 int
19867 main ()
19868 {
19869 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
19870 test_array [0] = 0
19871
19872 ;
19873 return 0;
19874 }
19875 _ACEOF
19876 rm -f conftest.$ac_objext
19877 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19878 (eval $ac_compile) 2>conftest.er1
19879 ac_status=$?
19880 grep -v '^ *+' conftest.er1 >conftest.err
19881 rm -f conftest.er1
19882 cat conftest.err >&5
19883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19884 (exit $ac_status); } &&
19885 { ac_try='test -z "$ac_c_werror_flag"
19886 || test ! -s conftest.err'
19887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19888 (eval $ac_try) 2>&5
19889 ac_status=$?
19890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19891 (exit $ac_status); }; } &&
19892 { ac_try='test -s conftest.$ac_objext'
19893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19894 (eval $ac_try) 2>&5
19895 ac_status=$?
19896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19897 (exit $ac_status); }; }; then
19898 ac_lo=$ac_mid; break
19899 else
19900 echo "$as_me: failed program was:" >&5
19901 sed 's/^/| /' conftest.$ac_ext >&5
19902
19903 ac_hi=`expr '(' $ac_mid ')' - 1`
19904 if test $ac_mid -le $ac_hi; then
19905 ac_lo= ac_hi=
19906 break
19907 fi
19908 ac_mid=`expr 2 '*' $ac_mid`
19909 fi
19910 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19911 done
19912 else
19913 echo "$as_me: failed program was:" >&5
19914 sed 's/^/| /' conftest.$ac_ext >&5
19915
19916 ac_lo= ac_hi=
19917 fi
19918 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19919 fi
19920 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19921 # Binary search between lo and hi bounds.
19922 while test "x$ac_lo" != "x$ac_hi"; do
19923 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19924 cat >conftest.$ac_ext <<_ACEOF
19925 /* confdefs.h. */
19926 _ACEOF
19927 cat confdefs.h >>conftest.$ac_ext
19928 cat >>conftest.$ac_ext <<_ACEOF
19929 /* end confdefs.h. */
19930 $ac_includes_default
19931 int
19932 main ()
19933 {
19934 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
19935 test_array [0] = 0
19936
19937 ;
19938 return 0;
19939 }
19940 _ACEOF
19941 rm -f conftest.$ac_objext
19942 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19943 (eval $ac_compile) 2>conftest.er1
19944 ac_status=$?
19945 grep -v '^ *+' conftest.er1 >conftest.err
19946 rm -f conftest.er1
19947 cat conftest.err >&5
19948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19949 (exit $ac_status); } &&
19950 { ac_try='test -z "$ac_c_werror_flag"
19951 || test ! -s conftest.err'
19952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19953 (eval $ac_try) 2>&5
19954 ac_status=$?
19955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19956 (exit $ac_status); }; } &&
19957 { ac_try='test -s conftest.$ac_objext'
19958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19959 (eval $ac_try) 2>&5
19960 ac_status=$?
19961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19962 (exit $ac_status); }; }; then
19963 ac_hi=$ac_mid
19964 else
19965 echo "$as_me: failed program was:" >&5
19966 sed 's/^/| /' conftest.$ac_ext >&5
19967
19968 ac_lo=`expr '(' $ac_mid ')' + 1`
19969 fi
19970 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19971 done
19972 case $ac_lo in
19973 ?*) ac_cv_sizeof_long_long=$ac_lo;;
19974 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
19975 See \`config.log' for more details." >&5
19976 echo "$as_me: error: cannot compute sizeof (long long), 77
19977 See \`config.log' for more details." >&2;}
19978 { (exit 1); exit 1; }; } ;;
19979 esac
19980 else
19981 if test "$cross_compiling" = yes; then
19982 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
19983 See \`config.log' for more details." >&5
19984 echo "$as_me: error: cannot run test program while cross compiling
19985 See \`config.log' for more details." >&2;}
19986 { (exit 1); exit 1; }; }
19987 else
19988 cat >conftest.$ac_ext <<_ACEOF
19989 /* confdefs.h. */
19990 _ACEOF
19991 cat confdefs.h >>conftest.$ac_ext
19992 cat >>conftest.$ac_ext <<_ACEOF
19993 /* end confdefs.h. */
19994 $ac_includes_default
19995 long longval () { return (long) (sizeof (long long)); }
19996 unsigned long ulongval () { return (long) (sizeof (long long)); }
19997 #include <stdio.h>
19998 #include <stdlib.h>
19999 int
20000 main ()
20001 {
20002
20003 FILE *f = fopen ("conftest.val", "w");
20004 if (! f)
20005 exit (1);
20006 if (((long) (sizeof (long long))) < 0)
20007 {
20008 long i = longval ();
20009 if (i != ((long) (sizeof (long long))))
20010 exit (1);
20011 fprintf (f, "%ld\n", i);
20012 }
20013 else
20014 {
20015 unsigned long i = ulongval ();
20016 if (i != ((long) (sizeof (long long))))
20017 exit (1);
20018 fprintf (f, "%lu\n", i);
20019 }
20020 exit (ferror (f) || fclose (f) != 0);
20021
20022 ;
20023 return 0;
20024 }
20025 _ACEOF
20026 rm -f conftest$ac_exeext
20027 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20028 (eval $ac_link) 2>&5
20029 ac_status=$?
20030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20031 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20033 (eval $ac_try) 2>&5
20034 ac_status=$?
20035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20036 (exit $ac_status); }; }; then
20037 ac_cv_sizeof_long_long=`cat conftest.val`
20038 else
20039 echo "$as_me: program exited with status $ac_status" >&5
20040 echo "$as_me: failed program was:" >&5
20041 sed 's/^/| /' conftest.$ac_ext >&5
20042
20043 ( exit $ac_status )
20044 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20045 See \`config.log' for more details." >&5
20046 echo "$as_me: error: cannot compute sizeof (long long), 77
20047 See \`config.log' for more details." >&2;}
20048 { (exit 1); exit 1; }; }
20049 fi
20050 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20051 fi
20052 fi
20053 rm -f conftest.val
20054 else
20055 ac_cv_sizeof_long_long=0
20056 fi
20057 fi
20058 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
20059 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
20060 cat >>confdefs.h <<_ACEOF
20061 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20062 _ACEOF
20063
20064
20065 if test "$ac_cv_sizeof_long_long" != "0"; then
20066 CPPFLAGS="$CPPFLAGS -D_INCLUDE_LONGLONG"
20067 fi
20068 ;;
20069 * )
20070 echo "$as_me:$LINENO: checking for long long" >&5
20071 echo $ECHO_N "checking for long long... $ECHO_C" >&6
20072 if test "${ac_cv_type_long_long+set}" = set; then
20073 echo $ECHO_N "(cached) $ECHO_C" >&6
20074 else
20075 cat >conftest.$ac_ext <<_ACEOF
20076 /* confdefs.h. */
20077 _ACEOF
20078 cat confdefs.h >>conftest.$ac_ext
20079 cat >>conftest.$ac_ext <<_ACEOF
20080 /* end confdefs.h. */
20081 $ac_includes_default
20082 int
20083 main ()
20084 {
20085 if ((long long *) 0)
20086 return 0;
20087 if (sizeof (long long))
20088 return 0;
20089 ;
20090 return 0;
20091 }
20092 _ACEOF
20093 rm -f conftest.$ac_objext
20094 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20095 (eval $ac_compile) 2>conftest.er1
20096 ac_status=$?
20097 grep -v '^ *+' conftest.er1 >conftest.err
20098 rm -f conftest.er1
20099 cat conftest.err >&5
20100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20101 (exit $ac_status); } &&
20102 { ac_try='test -z "$ac_c_werror_flag"
20103 || test ! -s conftest.err'
20104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20105 (eval $ac_try) 2>&5
20106 ac_status=$?
20107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20108 (exit $ac_status); }; } &&
20109 { ac_try='test -s conftest.$ac_objext'
20110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20111 (eval $ac_try) 2>&5
20112 ac_status=$?
20113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20114 (exit $ac_status); }; }; then
20115 ac_cv_type_long_long=yes
20116 else
20117 echo "$as_me: failed program was:" >&5
20118 sed 's/^/| /' conftest.$ac_ext >&5
20119
20120 ac_cv_type_long_long=no
20121 fi
20122 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20123 fi
20124 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
20125 echo "${ECHO_T}$ac_cv_type_long_long" >&6
20126
20127 echo "$as_me:$LINENO: checking size of long long" >&5
20128 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
20129 if test "${ac_cv_sizeof_long_long+set}" = set; then
20130 echo $ECHO_N "(cached) $ECHO_C" >&6
20131 else
20132 if test "$ac_cv_type_long_long" = yes; then
20133 # The cast to unsigned long works around a bug in the HP C Compiler
20134 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20135 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20136 # This bug is HP SR number 8606223364.
20137 if test "$cross_compiling" = yes; then
20138 # Depending upon the size, compute the lo and hi bounds.
20139 cat >conftest.$ac_ext <<_ACEOF
20140 /* confdefs.h. */
20141 _ACEOF
20142 cat confdefs.h >>conftest.$ac_ext
20143 cat >>conftest.$ac_ext <<_ACEOF
20144 /* end confdefs.h. */
20145 $ac_includes_default
20146 int
20147 main ()
20148 {
20149 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
20150 test_array [0] = 0
20151
20152 ;
20153 return 0;
20154 }
20155 _ACEOF
20156 rm -f conftest.$ac_objext
20157 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20158 (eval $ac_compile) 2>conftest.er1
20159 ac_status=$?
20160 grep -v '^ *+' conftest.er1 >conftest.err
20161 rm -f conftest.er1
20162 cat conftest.err >&5
20163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20164 (exit $ac_status); } &&
20165 { ac_try='test -z "$ac_c_werror_flag"
20166 || test ! -s conftest.err'
20167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20168 (eval $ac_try) 2>&5
20169 ac_status=$?
20170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20171 (exit $ac_status); }; } &&
20172 { ac_try='test -s conftest.$ac_objext'
20173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20174 (eval $ac_try) 2>&5
20175 ac_status=$?
20176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20177 (exit $ac_status); }; }; then
20178 ac_lo=0 ac_mid=0
20179 while :; do
20180 cat >conftest.$ac_ext <<_ACEOF
20181 /* confdefs.h. */
20182 _ACEOF
20183 cat confdefs.h >>conftest.$ac_ext
20184 cat >>conftest.$ac_ext <<_ACEOF
20185 /* end confdefs.h. */
20186 $ac_includes_default
20187 int
20188 main ()
20189 {
20190 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20191 test_array [0] = 0
20192
20193 ;
20194 return 0;
20195 }
20196 _ACEOF
20197 rm -f conftest.$ac_objext
20198 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20199 (eval $ac_compile) 2>conftest.er1
20200 ac_status=$?
20201 grep -v '^ *+' conftest.er1 >conftest.err
20202 rm -f conftest.er1
20203 cat conftest.err >&5
20204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20205 (exit $ac_status); } &&
20206 { ac_try='test -z "$ac_c_werror_flag"
20207 || test ! -s conftest.err'
20208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20209 (eval $ac_try) 2>&5
20210 ac_status=$?
20211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20212 (exit $ac_status); }; } &&
20213 { ac_try='test -s conftest.$ac_objext'
20214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20215 (eval $ac_try) 2>&5
20216 ac_status=$?
20217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20218 (exit $ac_status); }; }; then
20219 ac_hi=$ac_mid; break
20220 else
20221 echo "$as_me: failed program was:" >&5
20222 sed 's/^/| /' conftest.$ac_ext >&5
20223
20224 ac_lo=`expr $ac_mid + 1`
20225 if test $ac_lo -le $ac_mid; then
20226 ac_lo= ac_hi=
20227 break
20228 fi
20229 ac_mid=`expr 2 '*' $ac_mid + 1`
20230 fi
20231 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20232 done
20233 else
20234 echo "$as_me: failed program was:" >&5
20235 sed 's/^/| /' conftest.$ac_ext >&5
20236
20237 cat >conftest.$ac_ext <<_ACEOF
20238 /* confdefs.h. */
20239 _ACEOF
20240 cat confdefs.h >>conftest.$ac_ext
20241 cat >>conftest.$ac_ext <<_ACEOF
20242 /* end confdefs.h. */
20243 $ac_includes_default
20244 int
20245 main ()
20246 {
20247 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
20248 test_array [0] = 0
20249
20250 ;
20251 return 0;
20252 }
20253 _ACEOF
20254 rm -f conftest.$ac_objext
20255 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20256 (eval $ac_compile) 2>conftest.er1
20257 ac_status=$?
20258 grep -v '^ *+' conftest.er1 >conftest.err
20259 rm -f conftest.er1
20260 cat conftest.err >&5
20261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20262 (exit $ac_status); } &&
20263 { ac_try='test -z "$ac_c_werror_flag"
20264 || test ! -s conftest.err'
20265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20266 (eval $ac_try) 2>&5
20267 ac_status=$?
20268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20269 (exit $ac_status); }; } &&
20270 { ac_try='test -s conftest.$ac_objext'
20271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20272 (eval $ac_try) 2>&5
20273 ac_status=$?
20274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20275 (exit $ac_status); }; }; then
20276 ac_hi=-1 ac_mid=-1
20277 while :; do
20278 cat >conftest.$ac_ext <<_ACEOF
20279 /* confdefs.h. */
20280 _ACEOF
20281 cat confdefs.h >>conftest.$ac_ext
20282 cat >>conftest.$ac_ext <<_ACEOF
20283 /* end confdefs.h. */
20284 $ac_includes_default
20285 int
20286 main ()
20287 {
20288 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
20289 test_array [0] = 0
20290
20291 ;
20292 return 0;
20293 }
20294 _ACEOF
20295 rm -f conftest.$ac_objext
20296 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20297 (eval $ac_compile) 2>conftest.er1
20298 ac_status=$?
20299 grep -v '^ *+' conftest.er1 >conftest.err
20300 rm -f conftest.er1
20301 cat conftest.err >&5
20302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20303 (exit $ac_status); } &&
20304 { ac_try='test -z "$ac_c_werror_flag"
20305 || test ! -s conftest.err'
20306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20307 (eval $ac_try) 2>&5
20308 ac_status=$?
20309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20310 (exit $ac_status); }; } &&
20311 { ac_try='test -s conftest.$ac_objext'
20312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20313 (eval $ac_try) 2>&5
20314 ac_status=$?
20315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20316 (exit $ac_status); }; }; then
20317 ac_lo=$ac_mid; break
20318 else
20319 echo "$as_me: failed program was:" >&5
20320 sed 's/^/| /' conftest.$ac_ext >&5
20321
20322 ac_hi=`expr '(' $ac_mid ')' - 1`
20323 if test $ac_mid -le $ac_hi; then
20324 ac_lo= ac_hi=
20325 break
20326 fi
20327 ac_mid=`expr 2 '*' $ac_mid`
20328 fi
20329 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20330 done
20331 else
20332 echo "$as_me: failed program was:" >&5
20333 sed 's/^/| /' conftest.$ac_ext >&5
20334
20335 ac_lo= ac_hi=
20336 fi
20337 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20338 fi
20339 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20340 # Binary search between lo and hi bounds.
20341 while test "x$ac_lo" != "x$ac_hi"; do
20342 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20343 cat >conftest.$ac_ext <<_ACEOF
20344 /* confdefs.h. */
20345 _ACEOF
20346 cat confdefs.h >>conftest.$ac_ext
20347 cat >>conftest.$ac_ext <<_ACEOF
20348 /* end confdefs.h. */
20349 $ac_includes_default
20350 int
20351 main ()
20352 {
20353 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20354 test_array [0] = 0
20355
20356 ;
20357 return 0;
20358 }
20359 _ACEOF
20360 rm -f conftest.$ac_objext
20361 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20362 (eval $ac_compile) 2>conftest.er1
20363 ac_status=$?
20364 grep -v '^ *+' conftest.er1 >conftest.err
20365 rm -f conftest.er1
20366 cat conftest.err >&5
20367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20368 (exit $ac_status); } &&
20369 { ac_try='test -z "$ac_c_werror_flag"
20370 || test ! -s conftest.err'
20371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20372 (eval $ac_try) 2>&5
20373 ac_status=$?
20374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20375 (exit $ac_status); }; } &&
20376 { ac_try='test -s conftest.$ac_objext'
20377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20378 (eval $ac_try) 2>&5
20379 ac_status=$?
20380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20381 (exit $ac_status); }; }; then
20382 ac_hi=$ac_mid
20383 else
20384 echo "$as_me: failed program was:" >&5
20385 sed 's/^/| /' conftest.$ac_ext >&5
20386
20387 ac_lo=`expr '(' $ac_mid ')' + 1`
20388 fi
20389 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20390 done
20391 case $ac_lo in
20392 ?*) ac_cv_sizeof_long_long=$ac_lo;;
20393 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20394 See \`config.log' for more details." >&5
20395 echo "$as_me: error: cannot compute sizeof (long long), 77
20396 See \`config.log' for more details." >&2;}
20397 { (exit 1); exit 1; }; } ;;
20398 esac
20399 else
20400 if test "$cross_compiling" = yes; then
20401 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
20402 See \`config.log' for more details." >&5
20403 echo "$as_me: error: cannot run test program while cross compiling
20404 See \`config.log' for more details." >&2;}
20405 { (exit 1); exit 1; }; }
20406 else
20407 cat >conftest.$ac_ext <<_ACEOF
20408 /* confdefs.h. */
20409 _ACEOF
20410 cat confdefs.h >>conftest.$ac_ext
20411 cat >>conftest.$ac_ext <<_ACEOF
20412 /* end confdefs.h. */
20413 $ac_includes_default
20414 long longval () { return (long) (sizeof (long long)); }
20415 unsigned long ulongval () { return (long) (sizeof (long long)); }
20416 #include <stdio.h>
20417 #include <stdlib.h>
20418 int
20419 main ()
20420 {
20421
20422 FILE *f = fopen ("conftest.val", "w");
20423 if (! f)
20424 exit (1);
20425 if (((long) (sizeof (long long))) < 0)
20426 {
20427 long i = longval ();
20428 if (i != ((long) (sizeof (long long))))
20429 exit (1);
20430 fprintf (f, "%ld\n", i);
20431 }
20432 else
20433 {
20434 unsigned long i = ulongval ();
20435 if (i != ((long) (sizeof (long long))))
20436 exit (1);
20437 fprintf (f, "%lu\n", i);
20438 }
20439 exit (ferror (f) || fclose (f) != 0);
20440
20441 ;
20442 return 0;
20443 }
20444 _ACEOF
20445 rm -f conftest$ac_exeext
20446 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20447 (eval $ac_link) 2>&5
20448 ac_status=$?
20449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20450 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20452 (eval $ac_try) 2>&5
20453 ac_status=$?
20454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20455 (exit $ac_status); }; }; then
20456 ac_cv_sizeof_long_long=`cat conftest.val`
20457 else
20458 echo "$as_me: program exited with status $ac_status" >&5
20459 echo "$as_me: failed program was:" >&5
20460 sed 's/^/| /' conftest.$ac_ext >&5
20461
20462 ( exit $ac_status )
20463 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20464 See \`config.log' for more details." >&5
20465 echo "$as_me: error: cannot compute sizeof (long long), 77
20466 See \`config.log' for more details." >&2;}
20467 { (exit 1); exit 1; }; }
20468 fi
20469 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20470 fi
20471 fi
20472 rm -f conftest.val
20473 else
20474 ac_cv_sizeof_long_long=0
20475 fi
20476 fi
20477 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
20478 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
20479 cat >>confdefs.h <<_ACEOF
20480 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20481 _ACEOF
20482
20483
20484 esac
20485
20486 echo "$as_me:$LINENO: checking for wchar_t" >&5
20487 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6
20488 if test "${ac_cv_type_wchar_t+set}" = set; then
20489 echo $ECHO_N "(cached) $ECHO_C" >&6
20490 else
20491 cat >conftest.$ac_ext <<_ACEOF
20492 /* confdefs.h. */
20493 _ACEOF
20494 cat confdefs.h >>conftest.$ac_ext
20495 cat >>conftest.$ac_ext <<_ACEOF
20496 /* end confdefs.h. */
20497
20498 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
20499 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
20500 # error "fake wchar_t"
20501 #endif
20502 #ifdef HAVE_WCHAR_H
20503 # ifdef __CYGWIN__
20504 # include <stddef.h>
20505 # endif
20506 # include <wchar.h>
20507 #endif
20508 #ifdef HAVE_STDLIB_H
20509 # include <stdlib.h>
20510 #endif
20511 #include <stdio.h>
20512
20513
20514
20515 int
20516 main ()
20517 {
20518 if ((wchar_t *) 0)
20519 return 0;
20520 if (sizeof (wchar_t))
20521 return 0;
20522 ;
20523 return 0;
20524 }
20525 _ACEOF
20526 rm -f conftest.$ac_objext
20527 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20528 (eval $ac_compile) 2>conftest.er1
20529 ac_status=$?
20530 grep -v '^ *+' conftest.er1 >conftest.err
20531 rm -f conftest.er1
20532 cat conftest.err >&5
20533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20534 (exit $ac_status); } &&
20535 { ac_try='test -z "$ac_c_werror_flag"
20536 || test ! -s conftest.err'
20537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20538 (eval $ac_try) 2>&5
20539 ac_status=$?
20540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20541 (exit $ac_status); }; } &&
20542 { ac_try='test -s conftest.$ac_objext'
20543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20544 (eval $ac_try) 2>&5
20545 ac_status=$?
20546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20547 (exit $ac_status); }; }; then
20548 ac_cv_type_wchar_t=yes
20549 else
20550 echo "$as_me: failed program was:" >&5
20551 sed 's/^/| /' conftest.$ac_ext >&5
20552
20553 ac_cv_type_wchar_t=no
20554 fi
20555 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20556 fi
20557 echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
20558 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6
20559
20560 echo "$as_me:$LINENO: checking size of wchar_t" >&5
20561 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
20562 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
20563 echo $ECHO_N "(cached) $ECHO_C" >&6
20564 else
20565 if test "$ac_cv_type_wchar_t" = yes; then
20566 # The cast to unsigned long works around a bug in the HP C Compiler
20567 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20568 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20569 # This bug is HP SR number 8606223364.
20570 if test "$cross_compiling" = yes; then
20571 # Depending upon the size, compute the lo and hi bounds.
20572 cat >conftest.$ac_ext <<_ACEOF
20573 /* confdefs.h. */
20574 _ACEOF
20575 cat confdefs.h >>conftest.$ac_ext
20576 cat >>conftest.$ac_ext <<_ACEOF
20577 /* end confdefs.h. */
20578
20579 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
20580 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
20581 # error "fake wchar_t"
20582 #endif
20583 #ifdef HAVE_WCHAR_H
20584 # ifdef __CYGWIN__
20585 # include <stddef.h>
20586 # endif
20587 # include <wchar.h>
20588 #endif
20589 #ifdef HAVE_STDLIB_H
20590 # include <stdlib.h>
20591 #endif
20592 #include <stdio.h>
20593
20594
20595
20596 int
20597 main ()
20598 {
20599 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= 0)];
20600 test_array [0] = 0
20601
20602 ;
20603 return 0;
20604 }
20605 _ACEOF
20606 rm -f conftest.$ac_objext
20607 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20608 (eval $ac_compile) 2>conftest.er1
20609 ac_status=$?
20610 grep -v '^ *+' conftest.er1 >conftest.err
20611 rm -f conftest.er1
20612 cat conftest.err >&5
20613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20614 (exit $ac_status); } &&
20615 { ac_try='test -z "$ac_c_werror_flag"
20616 || test ! -s conftest.err'
20617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20618 (eval $ac_try) 2>&5
20619 ac_status=$?
20620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20621 (exit $ac_status); }; } &&
20622 { ac_try='test -s conftest.$ac_objext'
20623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20624 (eval $ac_try) 2>&5
20625 ac_status=$?
20626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20627 (exit $ac_status); }; }; then
20628 ac_lo=0 ac_mid=0
20629 while :; do
20630 cat >conftest.$ac_ext <<_ACEOF
20631 /* confdefs.h. */
20632 _ACEOF
20633 cat confdefs.h >>conftest.$ac_ext
20634 cat >>conftest.$ac_ext <<_ACEOF
20635 /* end confdefs.h. */
20636
20637 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
20638 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
20639 # error "fake wchar_t"
20640 #endif
20641 #ifdef HAVE_WCHAR_H
20642 # ifdef __CYGWIN__
20643 # include <stddef.h>
20644 # endif
20645 # include <wchar.h>
20646 #endif
20647 #ifdef HAVE_STDLIB_H
20648 # include <stdlib.h>
20649 #endif
20650 #include <stdio.h>
20651
20652
20653
20654 int
20655 main ()
20656 {
20657 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
20658 test_array [0] = 0
20659
20660 ;
20661 return 0;
20662 }
20663 _ACEOF
20664 rm -f conftest.$ac_objext
20665 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20666 (eval $ac_compile) 2>conftest.er1
20667 ac_status=$?
20668 grep -v '^ *+' conftest.er1 >conftest.err
20669 rm -f conftest.er1
20670 cat conftest.err >&5
20671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20672 (exit $ac_status); } &&
20673 { ac_try='test -z "$ac_c_werror_flag"
20674 || test ! -s conftest.err'
20675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20676 (eval $ac_try) 2>&5
20677 ac_status=$?
20678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20679 (exit $ac_status); }; } &&
20680 { ac_try='test -s conftest.$ac_objext'
20681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20682 (eval $ac_try) 2>&5
20683 ac_status=$?
20684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20685 (exit $ac_status); }; }; then
20686 ac_hi=$ac_mid; break
20687 else
20688 echo "$as_me: failed program was:" >&5
20689 sed 's/^/| /' conftest.$ac_ext >&5
20690
20691 ac_lo=`expr $ac_mid + 1`
20692 if test $ac_lo -le $ac_mid; then
20693 ac_lo= ac_hi=
20694 break
20695 fi
20696 ac_mid=`expr 2 '*' $ac_mid + 1`
20697 fi
20698 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20699 done
20700 else
20701 echo "$as_me: failed program was:" >&5
20702 sed 's/^/| /' conftest.$ac_ext >&5
20703
20704 cat >conftest.$ac_ext <<_ACEOF
20705 /* confdefs.h. */
20706 _ACEOF
20707 cat confdefs.h >>conftest.$ac_ext
20708 cat >>conftest.$ac_ext <<_ACEOF
20709 /* end confdefs.h. */
20710
20711 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
20712 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
20713 # error "fake wchar_t"
20714 #endif
20715 #ifdef HAVE_WCHAR_H
20716 # ifdef __CYGWIN__
20717 # include <stddef.h>
20718 # endif
20719 # include <wchar.h>
20720 #endif
20721 #ifdef HAVE_STDLIB_H
20722 # include <stdlib.h>
20723 #endif
20724 #include <stdio.h>
20725
20726
20727
20728 int
20729 main ()
20730 {
20731 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) < 0)];
20732 test_array [0] = 0
20733
20734 ;
20735 return 0;
20736 }
20737 _ACEOF
20738 rm -f conftest.$ac_objext
20739 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20740 (eval $ac_compile) 2>conftest.er1
20741 ac_status=$?
20742 grep -v '^ *+' conftest.er1 >conftest.err
20743 rm -f conftest.er1
20744 cat conftest.err >&5
20745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20746 (exit $ac_status); } &&
20747 { ac_try='test -z "$ac_c_werror_flag"
20748 || test ! -s conftest.err'
20749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20750 (eval $ac_try) 2>&5
20751 ac_status=$?
20752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20753 (exit $ac_status); }; } &&
20754 { ac_try='test -s conftest.$ac_objext'
20755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20756 (eval $ac_try) 2>&5
20757 ac_status=$?
20758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20759 (exit $ac_status); }; }; then
20760 ac_hi=-1 ac_mid=-1
20761 while :; do
20762 cat >conftest.$ac_ext <<_ACEOF
20763 /* confdefs.h. */
20764 _ACEOF
20765 cat confdefs.h >>conftest.$ac_ext
20766 cat >>conftest.$ac_ext <<_ACEOF
20767 /* end confdefs.h. */
20768
20769 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
20770 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
20771 # error "fake wchar_t"
20772 #endif
20773 #ifdef HAVE_WCHAR_H
20774 # ifdef __CYGWIN__
20775 # include <stddef.h>
20776 # endif
20777 # include <wchar.h>
20778 #endif
20779 #ifdef HAVE_STDLIB_H
20780 # include <stdlib.h>
20781 #endif
20782 #include <stdio.h>
20783
20784
20785
20786 int
20787 main ()
20788 {
20789 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= $ac_mid)];
20790 test_array [0] = 0
20791
20792 ;
20793 return 0;
20794 }
20795 _ACEOF
20796 rm -f conftest.$ac_objext
20797 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20798 (eval $ac_compile) 2>conftest.er1
20799 ac_status=$?
20800 grep -v '^ *+' conftest.er1 >conftest.err
20801 rm -f conftest.er1
20802 cat conftest.err >&5
20803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20804 (exit $ac_status); } &&
20805 { ac_try='test -z "$ac_c_werror_flag"
20806 || test ! -s conftest.err'
20807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20808 (eval $ac_try) 2>&5
20809 ac_status=$?
20810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20811 (exit $ac_status); }; } &&
20812 { ac_try='test -s conftest.$ac_objext'
20813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20814 (eval $ac_try) 2>&5
20815 ac_status=$?
20816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20817 (exit $ac_status); }; }; then
20818 ac_lo=$ac_mid; break
20819 else
20820 echo "$as_me: failed program was:" >&5
20821 sed 's/^/| /' conftest.$ac_ext >&5
20822
20823 ac_hi=`expr '(' $ac_mid ')' - 1`
20824 if test $ac_mid -le $ac_hi; then
20825 ac_lo= ac_hi=
20826 break
20827 fi
20828 ac_mid=`expr 2 '*' $ac_mid`
20829 fi
20830 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20831 done
20832 else
20833 echo "$as_me: failed program was:" >&5
20834 sed 's/^/| /' conftest.$ac_ext >&5
20835
20836 ac_lo= ac_hi=
20837 fi
20838 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20839 fi
20840 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20841 # Binary search between lo and hi bounds.
20842 while test "x$ac_lo" != "x$ac_hi"; do
20843 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20844 cat >conftest.$ac_ext <<_ACEOF
20845 /* confdefs.h. */
20846 _ACEOF
20847 cat confdefs.h >>conftest.$ac_ext
20848 cat >>conftest.$ac_ext <<_ACEOF
20849 /* end confdefs.h. */
20850
20851 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
20852 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
20853 # error "fake wchar_t"
20854 #endif
20855 #ifdef HAVE_WCHAR_H
20856 # ifdef __CYGWIN__
20857 # include <stddef.h>
20858 # endif
20859 # include <wchar.h>
20860 #endif
20861 #ifdef HAVE_STDLIB_H
20862 # include <stdlib.h>
20863 #endif
20864 #include <stdio.h>
20865
20866
20867
20868 int
20869 main ()
20870 {
20871 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
20872 test_array [0] = 0
20873
20874 ;
20875 return 0;
20876 }
20877 _ACEOF
20878 rm -f conftest.$ac_objext
20879 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20880 (eval $ac_compile) 2>conftest.er1
20881 ac_status=$?
20882 grep -v '^ *+' conftest.er1 >conftest.err
20883 rm -f conftest.er1
20884 cat conftest.err >&5
20885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20886 (exit $ac_status); } &&
20887 { ac_try='test -z "$ac_c_werror_flag"
20888 || test ! -s conftest.err'
20889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20890 (eval $ac_try) 2>&5
20891 ac_status=$?
20892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20893 (exit $ac_status); }; } &&
20894 { ac_try='test -s conftest.$ac_objext'
20895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20896 (eval $ac_try) 2>&5
20897 ac_status=$?
20898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20899 (exit $ac_status); }; }; then
20900 ac_hi=$ac_mid
20901 else
20902 echo "$as_me: failed program was:" >&5
20903 sed 's/^/| /' conftest.$ac_ext >&5
20904
20905 ac_lo=`expr '(' $ac_mid ')' + 1`
20906 fi
20907 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20908 done
20909 case $ac_lo in
20910 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
20911 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
20912 See \`config.log' for more details." >&5
20913 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
20914 See \`config.log' for more details." >&2;}
20915 { (exit 1); exit 1; }; } ;;
20916 esac
20917 else
20918 if test "$cross_compiling" = yes; then
20919 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
20920 See \`config.log' for more details." >&5
20921 echo "$as_me: error: cannot run test program while cross compiling
20922 See \`config.log' for more details." >&2;}
20923 { (exit 1); exit 1; }; }
20924 else
20925 cat >conftest.$ac_ext <<_ACEOF
20926 /* confdefs.h. */
20927 _ACEOF
20928 cat confdefs.h >>conftest.$ac_ext
20929 cat >>conftest.$ac_ext <<_ACEOF
20930 /* end confdefs.h. */
20931
20932 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
20933 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
20934 # error "fake wchar_t"
20935 #endif
20936 #ifdef HAVE_WCHAR_H
20937 # ifdef __CYGWIN__
20938 # include <stddef.h>
20939 # endif
20940 # include <wchar.h>
20941 #endif
20942 #ifdef HAVE_STDLIB_H
20943 # include <stdlib.h>
20944 #endif
20945 #include <stdio.h>
20946
20947
20948
20949 long longval () { return (long) (sizeof (wchar_t)); }
20950 unsigned long ulongval () { return (long) (sizeof (wchar_t)); }
20951 #include <stdio.h>
20952 #include <stdlib.h>
20953 int
20954 main ()
20955 {
20956
20957 FILE *f = fopen ("conftest.val", "w");
20958 if (! f)
20959 exit (1);
20960 if (((long) (sizeof (wchar_t))) < 0)
20961 {
20962 long i = longval ();
20963 if (i != ((long) (sizeof (wchar_t))))
20964 exit (1);
20965 fprintf (f, "%ld\n", i);
20966 }
20967 else
20968 {
20969 unsigned long i = ulongval ();
20970 if (i != ((long) (sizeof (wchar_t))))
20971 exit (1);
20972 fprintf (f, "%lu\n", i);
20973 }
20974 exit (ferror (f) || fclose (f) != 0);
20975
20976 ;
20977 return 0;
20978 }
20979 _ACEOF
20980 rm -f conftest$ac_exeext
20981 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20982 (eval $ac_link) 2>&5
20983 ac_status=$?
20984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20985 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20987 (eval $ac_try) 2>&5
20988 ac_status=$?
20989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20990 (exit $ac_status); }; }; then
20991 ac_cv_sizeof_wchar_t=`cat conftest.val`
20992 else
20993 echo "$as_me: program exited with status $ac_status" >&5
20994 echo "$as_me: failed program was:" >&5
20995 sed 's/^/| /' conftest.$ac_ext >&5
20996
20997 ( exit $ac_status )
20998 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
20999 See \`config.log' for more details." >&5
21000 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
21001 See \`config.log' for more details." >&2;}
21002 { (exit 1); exit 1; }; }
21003 fi
21004 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21005 fi
21006 fi
21007 rm -f conftest.val
21008 else
21009 ac_cv_sizeof_wchar_t=0
21010 fi
21011 fi
21012 echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
21013 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6
21014 cat >>confdefs.h <<_ACEOF
21015 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
21016 _ACEOF
21017
21018
21019 if test "$ac_cv_sizeof_wchar_t" != "0"; then
21020 wxUSE_WCHAR_T=yes
21021 else
21022 wxUSE_WCHAR_T=no
21023 fi
21024
21025 echo "$as_me:$LINENO: checking for va_copy" >&5
21026 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6
21027 if test "${wx_cv_func_va_copy+set}" = set; then
21028 echo $ECHO_N "(cached) $ECHO_C" >&6
21029 else
21030
21031 cat >conftest.$ac_ext <<_ACEOF
21032
21033 #include <stdarg.h>
21034 void foo(char *f, ...)
21035 {
21036 va_list ap1, ap2;
21037 va_start(ap1, f);
21038 va_copy(ap2, ap1);
21039 va_end(ap2);
21040 va_end(ap1);
21041 }
21042 int main()
21043 {
21044 foo("hi", 17);
21045 return 0;
21046 }
21047 _ACEOF
21048 rm -f conftest.$ac_objext conftest$ac_exeext
21049 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21050 (eval $ac_link) 2>conftest.er1
21051 ac_status=$?
21052 grep -v '^ *+' conftest.er1 >conftest.err
21053 rm -f conftest.er1
21054 cat conftest.err >&5
21055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21056 (exit $ac_status); } &&
21057 { ac_try='test -z "$ac_c_werror_flag"
21058 || test ! -s conftest.err'
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); }; } &&
21064 { ac_try='test -s conftest$ac_exeext'
21065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21066 (eval $ac_try) 2>&5
21067 ac_status=$?
21068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21069 (exit $ac_status); }; }; then
21070 wx_cv_func_va_copy=yes
21071 else
21072 echo "$as_me: failed program was:" >&5
21073 sed 's/^/| /' conftest.$ac_ext >&5
21074
21075 wx_cv_func_va_copy=no
21076
21077 fi
21078 rm -f conftest.err conftest.$ac_objext \
21079 conftest$ac_exeext conftest.$ac_ext
21080
21081
21082 fi
21083 echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
21084 echo "${ECHO_T}$wx_cv_func_va_copy" >&6
21085
21086 if test $wx_cv_func_va_copy = "yes"; then
21087 cat >>confdefs.h <<\_ACEOF
21088 #define HAVE_VA_COPY 1
21089 _ACEOF
21090
21091 else
21092 echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
21093 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6
21094 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
21095 echo $ECHO_N "(cached) $ECHO_C" >&6
21096 else
21097
21098 if test "$cross_compiling" = yes; then
21099 wx_cv_type_va_list_lvalue=yes
21100
21101 else
21102 cat >conftest.$ac_ext <<_ACEOF
21103
21104 #include <stdarg.h>
21105 int foo(char *f, ...)
21106 {
21107 va_list ap1, ap2;
21108 va_start(ap1, f);
21109 ap2 = ap1;
21110 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
21111 return 1;
21112 va_end(ap2);
21113 va_end(ap1);
21114 return 0;
21115 }
21116 int main()
21117 {
21118 return foo("hi", 17);
21119 }
21120 _ACEOF
21121 rm -f conftest$ac_exeext
21122 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21123 (eval $ac_link) 2>&5
21124 ac_status=$?
21125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21126 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21128 (eval $ac_try) 2>&5
21129 ac_status=$?
21130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21131 (exit $ac_status); }; }; then
21132 wx_cv_type_va_list_lvalue=yes
21133 else
21134 echo "$as_me: program exited with status $ac_status" >&5
21135 echo "$as_me: failed program was:" >&5
21136 sed 's/^/| /' conftest.$ac_ext >&5
21137
21138 ( exit $ac_status )
21139 wx_cv_type_va_list_lvalue=no
21140 fi
21141 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21142 fi
21143
21144
21145 fi
21146 echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
21147 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6
21148
21149 if test $wx_cv_type_va_list_lvalue != "yes"; then
21150 cat >>confdefs.h <<\_ACEOF
21151 #define VA_LIST_IS_ARRAY 1
21152 _ACEOF
21153
21154 fi
21155 fi
21156
21157 # Check whether --enable-largefile or --disable-largefile was given.
21158 if test "${enable_largefile+set}" = set; then
21159 enableval="$enable_largefile"
21160
21161 fi;
21162 if test "$enable_largefile" != no; then
21163 wx_largefile=no
21164
21165 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
21166 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
21167 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
21168 echo $ECHO_N "(cached) $ECHO_C" >&6
21169 else
21170
21171 cat >conftest.$ac_ext <<_ACEOF
21172 /* confdefs.h. */
21173 _ACEOF
21174 cat confdefs.h >>conftest.$ac_ext
21175 cat >>conftest.$ac_ext <<_ACEOF
21176 /* end confdefs.h. */
21177 #define _FILE_OFFSET_BITS 64
21178 #include <sys/types.h>
21179 int
21180 main ()
21181 {
21182 typedef struct {
21183 unsigned int field: sizeof(off_t) == 8;
21184 } wxlf;
21185
21186 ;
21187 return 0;
21188 }
21189 _ACEOF
21190 rm -f conftest.$ac_objext
21191 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21192 (eval $ac_compile) 2>conftest.er1
21193 ac_status=$?
21194 grep -v '^ *+' conftest.er1 >conftest.err
21195 rm -f conftest.er1
21196 cat conftest.err >&5
21197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21198 (exit $ac_status); } &&
21199 { ac_try='test -z "$ac_c_werror_flag"
21200 || test ! -s conftest.err'
21201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21202 (eval $ac_try) 2>&5
21203 ac_status=$?
21204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21205 (exit $ac_status); }; } &&
21206 { ac_try='test -s conftest.$ac_objext'
21207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21208 (eval $ac_try) 2>&5
21209 ac_status=$?
21210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21211 (exit $ac_status); }; }; then
21212 ac_cv_sys_file_offset_bits=64
21213 else
21214 echo "$as_me: failed program was:" >&5
21215 sed 's/^/| /' conftest.$ac_ext >&5
21216
21217 ac_cv_sys_file_offset_bits=no
21218 fi
21219 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21220
21221
21222 fi
21223 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
21224 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
21225
21226 if test "$ac_cv_sys_file_offset_bits" != no; then
21227 wx_largefile=yes
21228 cat >>confdefs.h <<_ACEOF
21229 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
21230 _ACEOF
21231
21232 fi
21233
21234 if test "x$wx_largefile" != "xyes"; then
21235
21236 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
21237 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
21238 if test "${ac_cv_sys_large_files+set}" = set; then
21239 echo $ECHO_N "(cached) $ECHO_C" >&6
21240 else
21241
21242 cat >conftest.$ac_ext <<_ACEOF
21243 /* confdefs.h. */
21244 _ACEOF
21245 cat confdefs.h >>conftest.$ac_ext
21246 cat >>conftest.$ac_ext <<_ACEOF
21247 /* end confdefs.h. */
21248 #define _LARGE_FILES 1
21249 #include <sys/types.h>
21250 int
21251 main ()
21252 {
21253 typedef struct {
21254 unsigned int field: sizeof(off_t) == 8;
21255 } wxlf;
21256
21257 ;
21258 return 0;
21259 }
21260 _ACEOF
21261 rm -f conftest.$ac_objext
21262 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21263 (eval $ac_compile) 2>conftest.er1
21264 ac_status=$?
21265 grep -v '^ *+' conftest.er1 >conftest.err
21266 rm -f conftest.er1
21267 cat conftest.err >&5
21268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21269 (exit $ac_status); } &&
21270 { ac_try='test -z "$ac_c_werror_flag"
21271 || test ! -s conftest.err'
21272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21273 (eval $ac_try) 2>&5
21274 ac_status=$?
21275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21276 (exit $ac_status); }; } &&
21277 { ac_try='test -s conftest.$ac_objext'
21278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21279 (eval $ac_try) 2>&5
21280 ac_status=$?
21281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21282 (exit $ac_status); }; }; then
21283 ac_cv_sys_large_files=1
21284 else
21285 echo "$as_me: failed program was:" >&5
21286 sed 's/^/| /' conftest.$ac_ext >&5
21287
21288 ac_cv_sys_large_files=no
21289 fi
21290 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21291
21292
21293 fi
21294 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
21295 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
21296
21297 if test "$ac_cv_sys_large_files" != no; then
21298 wx_largefile=yes
21299 cat >>confdefs.h <<_ACEOF
21300 #define _LARGE_FILES $ac_cv_sys_large_files
21301 _ACEOF
21302
21303 fi
21304
21305 fi
21306
21307 echo "$as_me:$LINENO: checking if large file support is available" >&5
21308 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
21309 if test "x$wx_largefile" = "xyes"; then
21310 cat >>confdefs.h <<\_ACEOF
21311 #define HAVE_LARGEFILE_SUPPORT 1
21312 _ACEOF
21313
21314 fi
21315 echo "$as_me:$LINENO: result: $wx_largefile" >&5
21316 echo "${ECHO_T}$wx_largefile" >&6
21317 fi
21318
21319
21320 if test "x$wx_largefile" = "xyes"; then
21321 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
21322 WX_LARGEFILE_FLAGS="-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
21323
21324 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
21325 echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
21326 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6
21327 if test "${wx_cv_STDC_EXT_required+set}" = set; then
21328 echo $ECHO_N "(cached) $ECHO_C" >&6
21329 else
21330
21331
21332
21333 ac_ext=cc
21334 ac_cpp='$CXXCPP $CPPFLAGS'
21335 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21336 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21337 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21338
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
21346 int
21347 main ()
21348 {
21349
21350 #ifndef __STDC_EXT__
21351 choke me
21352 #endif
21353
21354 ;
21355 return 0;
21356 }
21357 _ACEOF
21358 rm -f conftest.$ac_objext
21359 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21360 (eval $ac_compile) 2>conftest.er1
21361 ac_status=$?
21362 grep -v '^ *+' conftest.er1 >conftest.err
21363 rm -f conftest.er1
21364 cat conftest.err >&5
21365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21366 (exit $ac_status); } &&
21367 { ac_try='test -z "$ac_cxx_werror_flag"
21368 || test ! -s conftest.err'
21369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21370 (eval $ac_try) 2>&5
21371 ac_status=$?
21372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21373 (exit $ac_status); }; } &&
21374 { ac_try='test -s conftest.$ac_objext'
21375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21376 (eval $ac_try) 2>&5
21377 ac_status=$?
21378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21379 (exit $ac_status); }; }; then
21380 wx_cv_STDC_EXT_required=no
21381 else
21382 echo "$as_me: failed program was:" >&5
21383 sed 's/^/| /' conftest.$ac_ext >&5
21384
21385 wx_cv_STDC_EXT_required=yes
21386
21387 fi
21388 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21389 ac_ext=c
21390 ac_cpp='$CPP $CPPFLAGS'
21391 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21392 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21393 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21394
21395
21396
21397 fi
21398 echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
21399 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6
21400 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
21401 CXXFLAGS="$CXXFLAGS -D__STDC_EXT__"
21402 fi
21403 fi
21404 else
21405 WX_LARGEFILE_FLAGS="-D_LARGE_FILES"
21406 fi
21407 echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
21408 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6
21409 if test "${ac_cv_sys_largefile_source+set}" = set; then
21410 echo $ECHO_N "(cached) $ECHO_C" >&6
21411 else
21412 while :; do
21413 ac_cv_sys_largefile_source=no
21414 cat >conftest.$ac_ext <<_ACEOF
21415 /* confdefs.h. */
21416 _ACEOF
21417 cat confdefs.h >>conftest.$ac_ext
21418 cat >>conftest.$ac_ext <<_ACEOF
21419 /* end confdefs.h. */
21420 #include <stdio.h>
21421 int
21422 main ()
21423 {
21424 return !fseeko;
21425 ;
21426 return 0;
21427 }
21428 _ACEOF
21429 rm -f conftest.$ac_objext
21430 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21431 (eval $ac_compile) 2>conftest.er1
21432 ac_status=$?
21433 grep -v '^ *+' conftest.er1 >conftest.err
21434 rm -f conftest.er1
21435 cat conftest.err >&5
21436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21437 (exit $ac_status); } &&
21438 { ac_try='test -z "$ac_c_werror_flag"
21439 || test ! -s conftest.err'
21440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21441 (eval $ac_try) 2>&5
21442 ac_status=$?
21443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21444 (exit $ac_status); }; } &&
21445 { ac_try='test -s conftest.$ac_objext'
21446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21447 (eval $ac_try) 2>&5
21448 ac_status=$?
21449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21450 (exit $ac_status); }; }; then
21451 break
21452 else
21453 echo "$as_me: failed program was:" >&5
21454 sed 's/^/| /' conftest.$ac_ext >&5
21455
21456 fi
21457 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21458 cat >conftest.$ac_ext <<_ACEOF
21459 /* confdefs.h. */
21460 _ACEOF
21461 cat confdefs.h >>conftest.$ac_ext
21462 cat >>conftest.$ac_ext <<_ACEOF
21463 /* end confdefs.h. */
21464 #define _LARGEFILE_SOURCE 1
21465 #include <stdio.h>
21466 int
21467 main ()
21468 {
21469 return !fseeko;
21470 ;
21471 return 0;
21472 }
21473 _ACEOF
21474 rm -f conftest.$ac_objext
21475 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21476 (eval $ac_compile) 2>conftest.er1
21477 ac_status=$?
21478 grep -v '^ *+' conftest.er1 >conftest.err
21479 rm -f conftest.er1
21480 cat conftest.err >&5
21481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21482 (exit $ac_status); } &&
21483 { ac_try='test -z "$ac_c_werror_flag"
21484 || test ! -s conftest.err'
21485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21486 (eval $ac_try) 2>&5
21487 ac_status=$?
21488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21489 (exit $ac_status); }; } &&
21490 { ac_try='test -s conftest.$ac_objext'
21491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21492 (eval $ac_try) 2>&5
21493 ac_status=$?
21494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21495 (exit $ac_status); }; }; then
21496 ac_cv_sys_largefile_source=1; break
21497 else
21498 echo "$as_me: failed program was:" >&5
21499 sed 's/^/| /' conftest.$ac_ext >&5
21500
21501 fi
21502 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21503 break
21504 done
21505 fi
21506 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
21507 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6
21508 if test "$ac_cv_sys_largefile_source" != no; then
21509
21510 cat >>confdefs.h <<_ACEOF
21511 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
21512 _ACEOF
21513
21514 fi
21515 rm -f conftest*
21516
21517 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
21518 # in glibc 2.1.3, but that breaks too many other things.
21519 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
21520 echo "$as_me:$LINENO: checking for fseeko" >&5
21521 echo $ECHO_N "checking for fseeko... $ECHO_C" >&6
21522 if test "${ac_cv_func_fseeko+set}" = set; then
21523 echo $ECHO_N "(cached) $ECHO_C" >&6
21524 else
21525 cat >conftest.$ac_ext <<_ACEOF
21526 /* confdefs.h. */
21527 _ACEOF
21528 cat confdefs.h >>conftest.$ac_ext
21529 cat >>conftest.$ac_ext <<_ACEOF
21530 /* end confdefs.h. */
21531 #include <stdio.h>
21532 int
21533 main ()
21534 {
21535 return fseeko && fseeko (stdin, 0, 0);
21536 ;
21537 return 0;
21538 }
21539 _ACEOF
21540 rm -f conftest.$ac_objext conftest$ac_exeext
21541 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21542 (eval $ac_link) 2>conftest.er1
21543 ac_status=$?
21544 grep -v '^ *+' conftest.er1 >conftest.err
21545 rm -f conftest.er1
21546 cat conftest.err >&5
21547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21548 (exit $ac_status); } &&
21549 { ac_try='test -z "$ac_c_werror_flag"
21550 || test ! -s conftest.err'
21551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21552 (eval $ac_try) 2>&5
21553 ac_status=$?
21554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21555 (exit $ac_status); }; } &&
21556 { ac_try='test -s conftest$ac_exeext'
21557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21558 (eval $ac_try) 2>&5
21559 ac_status=$?
21560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21561 (exit $ac_status); }; }; then
21562 ac_cv_func_fseeko=yes
21563 else
21564 echo "$as_me: failed program was:" >&5
21565 sed 's/^/| /' conftest.$ac_ext >&5
21566
21567 ac_cv_func_fseeko=no
21568 fi
21569 rm -f conftest.err conftest.$ac_objext \
21570 conftest$ac_exeext conftest.$ac_ext
21571 fi
21572 echo "$as_me:$LINENO: result: $ac_cv_func_fseeko" >&5
21573 echo "${ECHO_T}$ac_cv_func_fseeko" >&6
21574 if test $ac_cv_func_fseeko = yes; then
21575
21576 cat >>confdefs.h <<\_ACEOF
21577 #define HAVE_FSEEKO 1
21578 _ACEOF
21579
21580 fi
21581
21582 if test "$ac_cv_sys_largefile_source" != no; then
21583 WX_LARGEFILE_FLAGS="$WX_LARGEFILE_FLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
21584 fi
21585 CPPFLAGS="$CPPFLAGS $WX_LARGEFILE_FLAGS"
21586 fi
21587
21588 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
21589 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
21590 if test "${ac_cv_c_bigendian+set}" = set; then
21591 echo $ECHO_N "(cached) $ECHO_C" >&6
21592 else
21593 ac_cv_c_bigendian=unknown
21594 # See if sys/param.h defines the BYTE_ORDER macro.
21595 cat >conftest.$ac_ext <<_ACEOF
21596 /* confdefs.h. */
21597 _ACEOF
21598 cat confdefs.h >>conftest.$ac_ext
21599 cat >>conftest.$ac_ext <<_ACEOF
21600 /* end confdefs.h. */
21601 #include <sys/types.h>
21602 #include <sys/param.h>
21603 int
21604 main ()
21605 {
21606
21607 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
21608 bogus endian macros
21609 #endif
21610 ;
21611 return 0;
21612 }
21613 _ACEOF
21614 rm -f conftest.$ac_objext
21615 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21616 (eval $ac_compile) 2>conftest.er1
21617 ac_status=$?
21618 grep -v '^ *+' conftest.er1 >conftest.err
21619 rm -f conftest.er1
21620 cat conftest.err >&5
21621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21622 (exit $ac_status); } &&
21623 { ac_try='test -z "$ac_c_werror_flag"
21624 || test ! -s conftest.err'
21625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21626 (eval $ac_try) 2>&5
21627 ac_status=$?
21628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21629 (exit $ac_status); }; } &&
21630 { ac_try='test -s conftest.$ac_objext'
21631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21632 (eval $ac_try) 2>&5
21633 ac_status=$?
21634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21635 (exit $ac_status); }; }; then
21636 # It does; now see whether it defined to BIG_ENDIAN or not.
21637 cat >conftest.$ac_ext <<_ACEOF
21638 /* confdefs.h. */
21639 _ACEOF
21640 cat confdefs.h >>conftest.$ac_ext
21641 cat >>conftest.$ac_ext <<_ACEOF
21642 /* end confdefs.h. */
21643 #include <sys/types.h>
21644 #include <sys/param.h>
21645 int
21646 main ()
21647 {
21648
21649 #if BYTE_ORDER != BIG_ENDIAN
21650 not big endian
21651 #endif
21652 ;
21653 return 0;
21654 }
21655 _ACEOF
21656 rm -f conftest.$ac_objext
21657 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21658 (eval $ac_compile) 2>conftest.er1
21659 ac_status=$?
21660 grep -v '^ *+' conftest.er1 >conftest.err
21661 rm -f conftest.er1
21662 cat conftest.err >&5
21663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21664 (exit $ac_status); } &&
21665 { ac_try='test -z "$ac_c_werror_flag"
21666 || test ! -s conftest.err'
21667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21668 (eval $ac_try) 2>&5
21669 ac_status=$?
21670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21671 (exit $ac_status); }; } &&
21672 { ac_try='test -s conftest.$ac_objext'
21673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21674 (eval $ac_try) 2>&5
21675 ac_status=$?
21676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21677 (exit $ac_status); }; }; then
21678 ac_cv_c_bigendian=yes
21679 else
21680 echo "$as_me: failed program was:" >&5
21681 sed 's/^/| /' conftest.$ac_ext >&5
21682
21683 ac_cv_c_bigendian=no
21684 fi
21685 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21686 else
21687 echo "$as_me: failed program was:" >&5
21688 sed 's/^/| /' conftest.$ac_ext >&5
21689
21690 fi
21691 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21692 if test $ac_cv_c_bigendian = unknown; then
21693 if test "$cross_compiling" = yes; then
21694 ac_cv_c_bigendian=unknown
21695 else
21696 cat >conftest.$ac_ext <<_ACEOF
21697 /* confdefs.h. */
21698 _ACEOF
21699 cat confdefs.h >>conftest.$ac_ext
21700 cat >>conftest.$ac_ext <<_ACEOF
21701 /* end confdefs.h. */
21702 main () {
21703 /* Are we little or big endian? From Harbison&Steele. */
21704 union
21705 {
21706 long l;
21707 char c[sizeof (long)];
21708 } u;
21709 u.l = 1;
21710 exit (u.c[sizeof (long) - 1] == 1);
21711 }
21712 _ACEOF
21713 rm -f conftest$ac_exeext
21714 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21715 (eval $ac_link) 2>&5
21716 ac_status=$?
21717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21718 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21720 (eval $ac_try) 2>&5
21721 ac_status=$?
21722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21723 (exit $ac_status); }; }; then
21724 ac_cv_c_bigendian=no
21725 else
21726 echo "$as_me: program exited with status $ac_status" >&5
21727 echo "$as_me: failed program was:" >&5
21728 sed 's/^/| /' conftest.$ac_ext >&5
21729
21730 ( exit $ac_status )
21731 ac_cv_c_bigendian=yes
21732 fi
21733 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21734 fi
21735 fi
21736 fi
21737 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
21738 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
21739 if test $ac_cv_c_bigendian = unknown; then
21740 { 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
21741 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;}
21742 fi
21743 if test $ac_cv_c_bigendian = yes; then
21744 cat >>confdefs.h <<\_ACEOF
21745 #define WORDS_BIGENDIAN 1
21746 _ACEOF
21747
21748 fi
21749
21750
21751 ac_ext=cc
21752 ac_cpp='$CXXCPP $CPPFLAGS'
21753 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21754 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21755 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21756 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
21757 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
21758 if test -z "$CXXCPP"; then
21759 if test "${ac_cv_prog_CXXCPP+set}" = set; then
21760 echo $ECHO_N "(cached) $ECHO_C" >&6
21761 else
21762 # Double quotes because CXXCPP needs to be expanded
21763 for CXXCPP in "$CXX -E" "/lib/cpp"
21764 do
21765 ac_preproc_ok=false
21766 for ac_cxx_preproc_warn_flag in '' yes
21767 do
21768 # Use a header file that comes with gcc, so configuring glibc
21769 # with a fresh cross-compiler works.
21770 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21771 # <limits.h> exists even on freestanding compilers.
21772 # On the NeXT, cc -E runs the code through the compiler's parser,
21773 # not just through cpp. "Syntax error" is here to catch this case.
21774 cat >conftest.$ac_ext <<_ACEOF
21775 /* confdefs.h. */
21776 _ACEOF
21777 cat confdefs.h >>conftest.$ac_ext
21778 cat >>conftest.$ac_ext <<_ACEOF
21779 /* end confdefs.h. */
21780 #ifdef __STDC__
21781 # include <limits.h>
21782 #else
21783 # include <assert.h>
21784 #endif
21785 Syntax error
21786 _ACEOF
21787 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21788 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
21789 ac_status=$?
21790 grep -v '^ *+' conftest.er1 >conftest.err
21791 rm -f conftest.er1
21792 cat conftest.err >&5
21793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21794 (exit $ac_status); } >/dev/null; then
21795 if test -s conftest.err; then
21796 ac_cpp_err=$ac_cxx_preproc_warn_flag
21797 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
21798 else
21799 ac_cpp_err=
21800 fi
21801 else
21802 ac_cpp_err=yes
21803 fi
21804 if test -z "$ac_cpp_err"; then
21805 :
21806 else
21807 echo "$as_me: failed program was:" >&5
21808 sed 's/^/| /' conftest.$ac_ext >&5
21809
21810 # Broken: fails on valid input.
21811 continue
21812 fi
21813 rm -f conftest.err conftest.$ac_ext
21814
21815 # OK, works on sane cases. Now check whether non-existent headers
21816 # can be detected and how.
21817 cat >conftest.$ac_ext <<_ACEOF
21818 /* confdefs.h. */
21819 _ACEOF
21820 cat confdefs.h >>conftest.$ac_ext
21821 cat >>conftest.$ac_ext <<_ACEOF
21822 /* end confdefs.h. */
21823 #include <ac_nonexistent.h>
21824 _ACEOF
21825 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21826 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
21827 ac_status=$?
21828 grep -v '^ *+' conftest.er1 >conftest.err
21829 rm -f conftest.er1
21830 cat conftest.err >&5
21831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21832 (exit $ac_status); } >/dev/null; then
21833 if test -s conftest.err; then
21834 ac_cpp_err=$ac_cxx_preproc_warn_flag
21835 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
21836 else
21837 ac_cpp_err=
21838 fi
21839 else
21840 ac_cpp_err=yes
21841 fi
21842 if test -z "$ac_cpp_err"; then
21843 # Broken: success on invalid input.
21844 continue
21845 else
21846 echo "$as_me: failed program was:" >&5
21847 sed 's/^/| /' conftest.$ac_ext >&5
21848
21849 # Passes both tests.
21850 ac_preproc_ok=:
21851 break
21852 fi
21853 rm -f conftest.err conftest.$ac_ext
21854
21855 done
21856 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
21857 rm -f conftest.err conftest.$ac_ext
21858 if $ac_preproc_ok; then
21859 break
21860 fi
21861
21862 done
21863 ac_cv_prog_CXXCPP=$CXXCPP
21864
21865 fi
21866 CXXCPP=$ac_cv_prog_CXXCPP
21867 else
21868 ac_cv_prog_CXXCPP=$CXXCPP
21869 fi
21870 echo "$as_me:$LINENO: result: $CXXCPP" >&5
21871 echo "${ECHO_T}$CXXCPP" >&6
21872 ac_preproc_ok=false
21873 for ac_cxx_preproc_warn_flag in '' yes
21874 do
21875 # Use a header file that comes with gcc, so configuring glibc
21876 # with a fresh cross-compiler works.
21877 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21878 # <limits.h> exists even on freestanding compilers.
21879 # On the NeXT, cc -E runs the code through the compiler's parser,
21880 # not just through cpp. "Syntax error" is here to catch this case.
21881 cat >conftest.$ac_ext <<_ACEOF
21882 /* confdefs.h. */
21883 _ACEOF
21884 cat confdefs.h >>conftest.$ac_ext
21885 cat >>conftest.$ac_ext <<_ACEOF
21886 /* end confdefs.h. */
21887 #ifdef __STDC__
21888 # include <limits.h>
21889 #else
21890 # include <assert.h>
21891 #endif
21892 Syntax error
21893 _ACEOF
21894 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21895 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
21896 ac_status=$?
21897 grep -v '^ *+' conftest.er1 >conftest.err
21898 rm -f conftest.er1
21899 cat conftest.err >&5
21900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21901 (exit $ac_status); } >/dev/null; then
21902 if test -s conftest.err; then
21903 ac_cpp_err=$ac_cxx_preproc_warn_flag
21904 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
21905 else
21906 ac_cpp_err=
21907 fi
21908 else
21909 ac_cpp_err=yes
21910 fi
21911 if test -z "$ac_cpp_err"; then
21912 :
21913 else
21914 echo "$as_me: failed program was:" >&5
21915 sed 's/^/| /' conftest.$ac_ext >&5
21916
21917 # Broken: fails on valid input.
21918 continue
21919 fi
21920 rm -f conftest.err conftest.$ac_ext
21921
21922 # OK, works on sane cases. Now check whether non-existent headers
21923 # can be detected and how.
21924 cat >conftest.$ac_ext <<_ACEOF
21925 /* confdefs.h. */
21926 _ACEOF
21927 cat confdefs.h >>conftest.$ac_ext
21928 cat >>conftest.$ac_ext <<_ACEOF
21929 /* end confdefs.h. */
21930 #include <ac_nonexistent.h>
21931 _ACEOF
21932 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21933 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
21934 ac_status=$?
21935 grep -v '^ *+' conftest.er1 >conftest.err
21936 rm -f conftest.er1
21937 cat conftest.err >&5
21938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21939 (exit $ac_status); } >/dev/null; then
21940 if test -s conftest.err; then
21941 ac_cpp_err=$ac_cxx_preproc_warn_flag
21942 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
21943 else
21944 ac_cpp_err=
21945 fi
21946 else
21947 ac_cpp_err=yes
21948 fi
21949 if test -z "$ac_cpp_err"; then
21950 # Broken: success on invalid input.
21951 continue
21952 else
21953 echo "$as_me: failed program was:" >&5
21954 sed 's/^/| /' conftest.$ac_ext >&5
21955
21956 # Passes both tests.
21957 ac_preproc_ok=:
21958 break
21959 fi
21960 rm -f conftest.err conftest.$ac_ext
21961
21962 done
21963 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
21964 rm -f conftest.err conftest.$ac_ext
21965 if $ac_preproc_ok; then
21966 :
21967 else
21968 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
21969 See \`config.log' for more details." >&5
21970 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
21971 See \`config.log' for more details." >&2;}
21972 { (exit 1); exit 1; }; }
21973 fi
21974
21975 ac_ext=cc
21976 ac_cpp='$CXXCPP $CPPFLAGS'
21977 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21978 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21979 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21980
21981
21982
21983
21984
21985 ac_ext=cc
21986 ac_cpp='$CXXCPP $CPPFLAGS'
21987 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21988 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21989 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21990
21991
21992
21993 for ac_header in iostream
21994 do
21995 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21996 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21997 echo "$as_me:$LINENO: checking for $ac_header" >&5
21998 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21999 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22000 echo $ECHO_N "(cached) $ECHO_C" >&6
22001 fi
22002 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22003 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
22004 else
22005 # Is the header compilable?
22006 echo "$as_me:$LINENO: checking $ac_header usability" >&5
22007 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
22008 cat >conftest.$ac_ext <<_ACEOF
22009 /* confdefs.h. */
22010 _ACEOF
22011 cat confdefs.h >>conftest.$ac_ext
22012 cat >>conftest.$ac_ext <<_ACEOF
22013 /* end confdefs.h. */
22014 $ac_includes_default
22015 #include <$ac_header>
22016 _ACEOF
22017 rm -f conftest.$ac_objext
22018 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22019 (eval $ac_compile) 2>conftest.er1
22020 ac_status=$?
22021 grep -v '^ *+' conftest.er1 >conftest.err
22022 rm -f conftest.er1
22023 cat conftest.err >&5
22024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22025 (exit $ac_status); } &&
22026 { ac_try='test -z "$ac_cxx_werror_flag"
22027 || test ! -s conftest.err'
22028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22029 (eval $ac_try) 2>&5
22030 ac_status=$?
22031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22032 (exit $ac_status); }; } &&
22033 { ac_try='test -s conftest.$ac_objext'
22034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22035 (eval $ac_try) 2>&5
22036 ac_status=$?
22037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22038 (exit $ac_status); }; }; then
22039 ac_header_compiler=yes
22040 else
22041 echo "$as_me: failed program was:" >&5
22042 sed 's/^/| /' conftest.$ac_ext >&5
22043
22044 ac_header_compiler=no
22045 fi
22046 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22047 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22048 echo "${ECHO_T}$ac_header_compiler" >&6
22049
22050 # Is the header present?
22051 echo "$as_me:$LINENO: checking $ac_header presence" >&5
22052 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
22053 cat >conftest.$ac_ext <<_ACEOF
22054 /* confdefs.h. */
22055 _ACEOF
22056 cat confdefs.h >>conftest.$ac_ext
22057 cat >>conftest.$ac_ext <<_ACEOF
22058 /* end confdefs.h. */
22059 #include <$ac_header>
22060 _ACEOF
22061 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22062 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
22063 ac_status=$?
22064 grep -v '^ *+' conftest.er1 >conftest.err
22065 rm -f conftest.er1
22066 cat conftest.err >&5
22067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22068 (exit $ac_status); } >/dev/null; then
22069 if test -s conftest.err; then
22070 ac_cpp_err=$ac_cxx_preproc_warn_flag
22071 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
22072 else
22073 ac_cpp_err=
22074 fi
22075 else
22076 ac_cpp_err=yes
22077 fi
22078 if test -z "$ac_cpp_err"; then
22079 ac_header_preproc=yes
22080 else
22081 echo "$as_me: failed program was:" >&5
22082 sed 's/^/| /' conftest.$ac_ext >&5
22083
22084 ac_header_preproc=no
22085 fi
22086 rm -f conftest.err conftest.$ac_ext
22087 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22088 echo "${ECHO_T}$ac_header_preproc" >&6
22089
22090 # So? What about this header?
22091 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
22092 yes:no: )
22093 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
22094 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
22095 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
22096 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
22097 ac_header_preproc=yes
22098 ;;
22099 no:yes:* )
22100 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
22101 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
22102 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
22103 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
22104 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
22105 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
22106 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
22107 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
22108 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
22109 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
22110 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
22111 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
22112 (
22113 cat <<\_ASBOX
22114 ## ----------------------------------------- ##
22115 ## Report this to wx-dev@lists.wxwidgets.org ##
22116 ## ----------------------------------------- ##
22117 _ASBOX
22118 ) |
22119 sed "s/^/$as_me: WARNING: /" >&2
22120 ;;
22121 esac
22122 echo "$as_me:$LINENO: checking for $ac_header" >&5
22123 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22124 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22125 echo $ECHO_N "(cached) $ECHO_C" >&6
22126 else
22127 eval "$as_ac_Header=\$ac_header_preproc"
22128 fi
22129 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22130 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
22131
22132 fi
22133 if test `eval echo '${'$as_ac_Header'}'` = yes; then
22134 cat >>confdefs.h <<_ACEOF
22135 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
22136 _ACEOF
22137
22138 fi
22139
22140 done
22141
22142
22143 if test "$ac_cv_header_iostream" = "yes" ; then
22144 :
22145 else
22146 cat >>confdefs.h <<\_ACEOF
22147 #define wxUSE_IOSTREAMH 1
22148 _ACEOF
22149
22150 fi
22151
22152 ac_ext=c
22153 ac_cpp='$CPP $CPPFLAGS'
22154 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22155 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22156 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22157
22158
22159
22160
22161 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
22162 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
22163 if test "${wx_cv_cpp_bool+set}" = set; then
22164 echo $ECHO_N "(cached) $ECHO_C" >&6
22165 else
22166
22167
22168
22169 ac_ext=cc
22170 ac_cpp='$CXXCPP $CPPFLAGS'
22171 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22172 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22173 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22174
22175
22176 cat >conftest.$ac_ext <<_ACEOF
22177 /* confdefs.h. */
22178 _ACEOF
22179 cat confdefs.h >>conftest.$ac_ext
22180 cat >>conftest.$ac_ext <<_ACEOF
22181 /* end confdefs.h. */
22182
22183
22184 int
22185 main ()
22186 {
22187
22188 bool b = true;
22189
22190 return 0;
22191
22192 ;
22193 return 0;
22194 }
22195 _ACEOF
22196 rm -f conftest.$ac_objext
22197 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22198 (eval $ac_compile) 2>conftest.er1
22199 ac_status=$?
22200 grep -v '^ *+' conftest.er1 >conftest.err
22201 rm -f conftest.er1
22202 cat conftest.err >&5
22203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22204 (exit $ac_status); } &&
22205 { ac_try='test -z "$ac_cxx_werror_flag"
22206 || test ! -s conftest.err'
22207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22208 (eval $ac_try) 2>&5
22209 ac_status=$?
22210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22211 (exit $ac_status); }; } &&
22212 { ac_try='test -s conftest.$ac_objext'
22213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22214 (eval $ac_try) 2>&5
22215 ac_status=$?
22216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22217 (exit $ac_status); }; }; then
22218
22219 wx_cv_cpp_bool=yes
22220
22221 else
22222 echo "$as_me: failed program was:" >&5
22223 sed 's/^/| /' conftest.$ac_ext >&5
22224
22225
22226 wx_cv_cpp_bool=no
22227
22228
22229 fi
22230 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22231
22232 ac_ext=c
22233 ac_cpp='$CPP $CPPFLAGS'
22234 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22235 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22236 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22237
22238
22239 fi
22240 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
22241 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
22242
22243 if test "$wx_cv_cpp_bool" = "yes"; then
22244 cat >>confdefs.h <<\_ACEOF
22245 #define HAVE_BOOL 1
22246 _ACEOF
22247
22248 fi
22249
22250
22251
22252 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
22253 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
22254 if test "${wx_cv_explicit+set}" = set; then
22255 echo $ECHO_N "(cached) $ECHO_C" >&6
22256 else
22257
22258
22259
22260 ac_ext=cc
22261 ac_cpp='$CXXCPP $CPPFLAGS'
22262 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22263 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22264 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22265
22266
22267 cat >conftest.$ac_ext <<_ACEOF
22268 /* confdefs.h. */
22269 _ACEOF
22270 cat confdefs.h >>conftest.$ac_ext
22271 cat >>conftest.$ac_ext <<_ACEOF
22272 /* end confdefs.h. */
22273
22274 class Foo { public: explicit Foo(int) {} };
22275
22276 int
22277 main ()
22278 {
22279
22280 return 0;
22281
22282 ;
22283 return 0;
22284 }
22285 _ACEOF
22286 rm -f conftest.$ac_objext
22287 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22288 (eval $ac_compile) 2>conftest.er1
22289 ac_status=$?
22290 grep -v '^ *+' conftest.er1 >conftest.err
22291 rm -f conftest.er1
22292 cat conftest.err >&5
22293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22294 (exit $ac_status); } &&
22295 { ac_try='test -z "$ac_cxx_werror_flag"
22296 || test ! -s conftest.err'
22297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22298 (eval $ac_try) 2>&5
22299 ac_status=$?
22300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22301 (exit $ac_status); }; } &&
22302 { ac_try='test -s conftest.$ac_objext'
22303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22304 (eval $ac_try) 2>&5
22305 ac_status=$?
22306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22307 (exit $ac_status); }; }; then
22308
22309 cat >conftest.$ac_ext <<_ACEOF
22310 /* confdefs.h. */
22311 _ACEOF
22312 cat confdefs.h >>conftest.$ac_ext
22313 cat >>conftest.$ac_ext <<_ACEOF
22314 /* end confdefs.h. */
22315
22316 class Foo { public: explicit Foo(int) {} };
22317 static void TakeFoo(const Foo& foo) { }
22318
22319 int
22320 main ()
22321 {
22322
22323 TakeFoo(17);
22324 return 0;
22325
22326 ;
22327 return 0;
22328 }
22329 _ACEOF
22330 rm -f conftest.$ac_objext
22331 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22332 (eval $ac_compile) 2>conftest.er1
22333 ac_status=$?
22334 grep -v '^ *+' conftest.er1 >conftest.err
22335 rm -f conftest.er1
22336 cat conftest.err >&5
22337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22338 (exit $ac_status); } &&
22339 { ac_try='test -z "$ac_cxx_werror_flag"
22340 || test ! -s conftest.err'
22341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22342 (eval $ac_try) 2>&5
22343 ac_status=$?
22344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22345 (exit $ac_status); }; } &&
22346 { ac_try='test -s conftest.$ac_objext'
22347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22348 (eval $ac_try) 2>&5
22349 ac_status=$?
22350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22351 (exit $ac_status); }; }; then
22352 wx_cv_explicit=no
22353 else
22354 echo "$as_me: failed program was:" >&5
22355 sed 's/^/| /' conftest.$ac_ext >&5
22356
22357 wx_cv_explicit=yes
22358
22359 fi
22360 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22361
22362 else
22363 echo "$as_me: failed program was:" >&5
22364 sed 's/^/| /' conftest.$ac_ext >&5
22365
22366 wx_cv_explicit=no
22367
22368 fi
22369 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22370
22371 ac_ext=c
22372 ac_cpp='$CPP $CPPFLAGS'
22373 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22374 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22375 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22376
22377
22378 fi
22379 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
22380 echo "${ECHO_T}$wx_cv_explicit" >&6
22381
22382 if test "$wx_cv_explicit" = "yes"; then
22383 cat >>confdefs.h <<\_ACEOF
22384 #define HAVE_EXPLICIT 1
22385 _ACEOF
22386
22387 fi
22388
22389
22390 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
22391 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
22392 if test "${ac_cv_cxx_const_cast+set}" = set; then
22393 echo $ECHO_N "(cached) $ECHO_C" >&6
22394 else
22395
22396
22397 ac_ext=cc
22398 ac_cpp='$CXXCPP $CPPFLAGS'
22399 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22400 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22401 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22402
22403 cat >conftest.$ac_ext <<_ACEOF
22404 /* confdefs.h. */
22405 _ACEOF
22406 cat confdefs.h >>conftest.$ac_ext
22407 cat >>conftest.$ac_ext <<_ACEOF
22408 /* end confdefs.h. */
22409
22410 int
22411 main ()
22412 {
22413 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
22414 ;
22415 return 0;
22416 }
22417 _ACEOF
22418 rm -f conftest.$ac_objext
22419 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22420 (eval $ac_compile) 2>conftest.er1
22421 ac_status=$?
22422 grep -v '^ *+' conftest.er1 >conftest.err
22423 rm -f conftest.er1
22424 cat conftest.err >&5
22425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22426 (exit $ac_status); } &&
22427 { ac_try='test -z "$ac_cxx_werror_flag"
22428 || test ! -s conftest.err'
22429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22430 (eval $ac_try) 2>&5
22431 ac_status=$?
22432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22433 (exit $ac_status); }; } &&
22434 { ac_try='test -s conftest.$ac_objext'
22435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22436 (eval $ac_try) 2>&5
22437 ac_status=$?
22438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22439 (exit $ac_status); }; }; then
22440 ac_cv_cxx_const_cast=yes
22441 else
22442 echo "$as_me: failed program was:" >&5
22443 sed 's/^/| /' conftest.$ac_ext >&5
22444
22445 ac_cv_cxx_const_cast=no
22446 fi
22447 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22448 ac_ext=c
22449 ac_cpp='$CPP $CPPFLAGS'
22450 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22451 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22452 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22453
22454
22455 fi
22456 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
22457 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
22458 if test "$ac_cv_cxx_const_cast" = yes; then
22459
22460 cat >>confdefs.h <<\_ACEOF
22461 #define HAVE_CONST_CAST
22462 _ACEOF
22463
22464 fi
22465
22466 echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
22467 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6
22468 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
22469 echo $ECHO_N "(cached) $ECHO_C" >&6
22470 else
22471
22472
22473 ac_ext=cc
22474 ac_cpp='$CXXCPP $CPPFLAGS'
22475 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22476 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22477 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22478
22479 cat >conftest.$ac_ext <<_ACEOF
22480 /* confdefs.h. */
22481 _ACEOF
22482 cat confdefs.h >>conftest.$ac_ext
22483 cat >>conftest.$ac_ext <<_ACEOF
22484 /* end confdefs.h. */
22485 #include <typeinfo>
22486 class Base { public : Base () {} virtual void f () = 0;};
22487 class Derived : public Base { public : Derived () {} virtual void f () {} };
22488 class Unrelated { public : Unrelated () {} };
22489 int g (Unrelated&) { return 0; }
22490 int
22491 main ()
22492 {
22493
22494 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
22495 ;
22496 return 0;
22497 }
22498 _ACEOF
22499 rm -f conftest.$ac_objext
22500 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22501 (eval $ac_compile) 2>conftest.er1
22502 ac_status=$?
22503 grep -v '^ *+' conftest.er1 >conftest.err
22504 rm -f conftest.er1
22505 cat conftest.err >&5
22506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22507 (exit $ac_status); } &&
22508 { ac_try='test -z "$ac_cxx_werror_flag"
22509 || test ! -s conftest.err'
22510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22511 (eval $ac_try) 2>&5
22512 ac_status=$?
22513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22514 (exit $ac_status); }; } &&
22515 { ac_try='test -s conftest.$ac_objext'
22516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22517 (eval $ac_try) 2>&5
22518 ac_status=$?
22519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22520 (exit $ac_status); }; }; then
22521 ac_cv_cxx_reinterpret_cast=yes
22522 else
22523 echo "$as_me: failed program was:" >&5
22524 sed 's/^/| /' conftest.$ac_ext >&5
22525
22526 ac_cv_cxx_reinterpret_cast=no
22527 fi
22528 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22529 ac_ext=c
22530 ac_cpp='$CPP $CPPFLAGS'
22531 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22532 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22533 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22534
22535
22536 fi
22537 echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
22538 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6
22539 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
22540
22541 cat >>confdefs.h <<\_ACEOF
22542 #define HAVE_REINTERPRET_CAST
22543 _ACEOF
22544
22545 fi
22546
22547 echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
22548 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6
22549 if test "${ac_cv_cxx_static_cast+set}" = set; then
22550 echo $ECHO_N "(cached) $ECHO_C" >&6
22551 else
22552
22553
22554 ac_ext=cc
22555 ac_cpp='$CXXCPP $CPPFLAGS'
22556 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22557 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22558 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22559
22560 cat >conftest.$ac_ext <<_ACEOF
22561 /* confdefs.h. */
22562 _ACEOF
22563 cat confdefs.h >>conftest.$ac_ext
22564 cat >>conftest.$ac_ext <<_ACEOF
22565 /* end confdefs.h. */
22566 #include <typeinfo>
22567 class Base { public : Base () {} virtual void f () = 0; };
22568 class Derived : public Base { public : Derived () {} virtual void f () {} };
22569 int g (Derived&) { return 0; }
22570 int
22571 main ()
22572 {
22573
22574 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
22575 ;
22576 return 0;
22577 }
22578 _ACEOF
22579 rm -f conftest.$ac_objext
22580 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22581 (eval $ac_compile) 2>conftest.er1
22582 ac_status=$?
22583 grep -v '^ *+' conftest.er1 >conftest.err
22584 rm -f conftest.er1
22585 cat conftest.err >&5
22586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22587 (exit $ac_status); } &&
22588 { ac_try='test -z "$ac_cxx_werror_flag"
22589 || test ! -s conftest.err'
22590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22591 (eval $ac_try) 2>&5
22592 ac_status=$?
22593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22594 (exit $ac_status); }; } &&
22595 { ac_try='test -s conftest.$ac_objext'
22596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22597 (eval $ac_try) 2>&5
22598 ac_status=$?
22599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22600 (exit $ac_status); }; }; then
22601 ac_cv_cxx_static_cast=yes
22602 else
22603 echo "$as_me: failed program was:" >&5
22604 sed 's/^/| /' conftest.$ac_ext >&5
22605
22606 ac_cv_cxx_static_cast=no
22607 fi
22608 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22609 ac_ext=c
22610 ac_cpp='$CPP $CPPFLAGS'
22611 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22612 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22613 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22614
22615
22616 fi
22617 echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
22618 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6
22619 if test "$ac_cv_cxx_static_cast" = yes; then
22620
22621 cat >>confdefs.h <<\_ACEOF
22622 #define HAVE_STATIC_CAST
22623 _ACEOF
22624
22625 fi
22626
22627
22628 if test "x$SUNCXX" = xyes; then
22629 CXXFLAGS="$CXXFLAGS -features=tmplife"
22630 fi
22631
22632 if test "x$SUNCC" = xyes; then
22633 CFLAGS="$CFLAGS -erroff=E_NO_EXPLICIT_TYPE_GIVEN"
22634 fi
22635
22636 if test "x$SGICC" = "xyes"; then
22637 CFLAGS="$CFLAGS -woff 3970"
22638 fi
22639 if test "x$SGICXX" = "xyes"; then
22640 CXXFLAGS="$CXXFLAGS -woff 3970"
22641 fi
22642
22643 if test "x$HPCC" = "xyes"; then
22644 CFLAGS="$CFLAGS +W 2011,2450"
22645 fi
22646 if test "x$HPCXX" = "xyes"; then
22647 CXXFLAGS="$CXXFLAGS +W 2340"
22648 fi
22649
22650 if test "x$COMPAQCXX" = "xyes"; then
22651 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
22652 fi
22653
22654 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
22655 ac_ext=cc
22656 ac_cpp='$CXXCPP $CPPFLAGS'
22657 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22658 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22659 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22660
22661
22662 if test "$wxUSE_UNICODE" = "yes"; then
22663 std_string="std::wstring"
22664 char_type="wchar_t"
22665 else
22666 std_string="std::string"
22667 char_type="char"
22668 fi
22669
22670 echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
22671 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6
22672 cat >conftest.$ac_ext <<_ACEOF
22673 /* confdefs.h. */
22674 _ACEOF
22675 cat confdefs.h >>conftest.$ac_ext
22676 cat >>conftest.$ac_ext <<_ACEOF
22677 /* end confdefs.h. */
22678 #include <string>
22679 int
22680 main ()
22681 {
22682 $std_string foo;
22683 ;
22684 return 0;
22685 }
22686 _ACEOF
22687 rm -f conftest.$ac_objext
22688 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22689 (eval $ac_compile) 2>conftest.er1
22690 ac_status=$?
22691 grep -v '^ *+' conftest.er1 >conftest.err
22692 rm -f conftest.er1
22693 cat conftest.err >&5
22694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22695 (exit $ac_status); } &&
22696 { ac_try='test -z "$ac_cxx_werror_flag"
22697 || test ! -s conftest.err'
22698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22699 (eval $ac_try) 2>&5
22700 ac_status=$?
22701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22702 (exit $ac_status); }; } &&
22703 { ac_try='test -s conftest.$ac_objext'
22704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22705 (eval $ac_try) 2>&5
22706 ac_status=$?
22707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22708 (exit $ac_status); }; }; then
22709 echo "$as_me:$LINENO: result: yes" >&5
22710 echo "${ECHO_T}yes" >&6
22711 cat >>confdefs.h <<\_ACEOF
22712 #define HAVE_STD_WSTRING 1
22713 _ACEOF
22714
22715 else
22716 echo "$as_me: failed program was:" >&5
22717 sed 's/^/| /' conftest.$ac_ext >&5
22718
22719 echo "$as_me:$LINENO: result: no" >&5
22720 echo "${ECHO_T}no" >&6
22721 echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
22722 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6
22723 cat >conftest.$ac_ext <<_ACEOF
22724 /* confdefs.h. */
22725 _ACEOF
22726 cat confdefs.h >>conftest.$ac_ext
22727 cat >>conftest.$ac_ext <<_ACEOF
22728 /* end confdefs.h. */
22729
22730 #ifdef HAVE_WCHAR_H
22731 # ifdef __CYGWIN__
22732 # include <stddef.h>
22733 # endif
22734 # include <wchar.h>
22735 #endif
22736 #ifdef HAVE_STDLIB_H
22737 # include <stdlib.h>
22738 #endif
22739 #include <stdio.h>
22740 #include <string>
22741
22742 int
22743 main ()
22744 {
22745 std::basic_string<$char_type> foo;
22746 const $char_type* dummy = foo.c_str();
22747 ;
22748 return 0;
22749 }
22750 _ACEOF
22751 rm -f conftest.$ac_objext
22752 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22753 (eval $ac_compile) 2>conftest.er1
22754 ac_status=$?
22755 grep -v '^ *+' conftest.er1 >conftest.err
22756 rm -f conftest.er1
22757 cat conftest.err >&5
22758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22759 (exit $ac_status); } &&
22760 { ac_try='test -z "$ac_cxx_werror_flag"
22761 || test ! -s conftest.err'
22762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22763 (eval $ac_try) 2>&5
22764 ac_status=$?
22765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22766 (exit $ac_status); }; } &&
22767 { ac_try='test -s conftest.$ac_objext'
22768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22769 (eval $ac_try) 2>&5
22770 ac_status=$?
22771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22772 (exit $ac_status); }; }; then
22773 echo "$as_me:$LINENO: result: yes" >&5
22774 echo "${ECHO_T}yes" >&6
22775 else
22776 echo "$as_me: failed program was:" >&5
22777 sed 's/^/| /' conftest.$ac_ext >&5
22778
22779 echo "$as_me:$LINENO: result: no" >&5
22780 echo "${ECHO_T}no" >&6
22781 if test "$wxUSE_STL" = "yes"; then
22782 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
22783 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
22784 { (exit 1); exit 1; }; }
22785 elif grep wxUSE_STD_STRING $wx_arg_cache_file >/dev/null; then
22786 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
22787 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
22788 { (exit 1); exit 1; }; }
22789 else
22790 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
22791 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
22792 wxUSE_STD_STRING=no
22793 fi
22794
22795
22796 fi
22797 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22798
22799 fi
22800 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22801
22802 ac_ext=c
22803 ac_cpp='$CPP $CPPFLAGS'
22804 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22805 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22806 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22807
22808 fi
22809
22810 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
22811 ac_ext=cc
22812 ac_cpp='$CXXCPP $CPPFLAGS'
22813 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22814 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22815 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22816
22817
22818 echo "$as_me:$LINENO: checking for std::istream" >&5
22819 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6
22820 if test "${ac_cv_type_std__istream+set}" = set; then
22821 echo $ECHO_N "(cached) $ECHO_C" >&6
22822 else
22823 cat >conftest.$ac_ext <<_ACEOF
22824 /* confdefs.h. */
22825 _ACEOF
22826 cat confdefs.h >>conftest.$ac_ext
22827 cat >>conftest.$ac_ext <<_ACEOF
22828 /* end confdefs.h. */
22829 #include <iostream>
22830
22831 int
22832 main ()
22833 {
22834 if ((std::istream *) 0)
22835 return 0;
22836 if (sizeof (std::istream))
22837 return 0;
22838 ;
22839 return 0;
22840 }
22841 _ACEOF
22842 rm -f conftest.$ac_objext
22843 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22844 (eval $ac_compile) 2>conftest.er1
22845 ac_status=$?
22846 grep -v '^ *+' conftest.er1 >conftest.err
22847 rm -f conftest.er1
22848 cat conftest.err >&5
22849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22850 (exit $ac_status); } &&
22851 { ac_try='test -z "$ac_cxx_werror_flag"
22852 || test ! -s conftest.err'
22853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22854 (eval $ac_try) 2>&5
22855 ac_status=$?
22856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22857 (exit $ac_status); }; } &&
22858 { ac_try='test -s conftest.$ac_objext'
22859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22860 (eval $ac_try) 2>&5
22861 ac_status=$?
22862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22863 (exit $ac_status); }; }; then
22864 ac_cv_type_std__istream=yes
22865 else
22866 echo "$as_me: failed program was:" >&5
22867 sed 's/^/| /' conftest.$ac_ext >&5
22868
22869 ac_cv_type_std__istream=no
22870 fi
22871 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22872 fi
22873 echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
22874 echo "${ECHO_T}$ac_cv_type_std__istream" >&6
22875 if test $ac_cv_type_std__istream = yes; then
22876
22877 cat >>confdefs.h <<_ACEOF
22878 #define HAVE_STD__ISTREAM 1
22879 _ACEOF
22880
22881
22882 else
22883 wxUSE_STD_IOSTREAM=no
22884 fi
22885 echo "$as_me:$LINENO: checking for std::ostream" >&5
22886 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6
22887 if test "${ac_cv_type_std__ostream+set}" = set; then
22888 echo $ECHO_N "(cached) $ECHO_C" >&6
22889 else
22890 cat >conftest.$ac_ext <<_ACEOF
22891 /* confdefs.h. */
22892 _ACEOF
22893 cat confdefs.h >>conftest.$ac_ext
22894 cat >>conftest.$ac_ext <<_ACEOF
22895 /* end confdefs.h. */
22896 #include <iostream>
22897
22898 int
22899 main ()
22900 {
22901 if ((std::ostream *) 0)
22902 return 0;
22903 if (sizeof (std::ostream))
22904 return 0;
22905 ;
22906 return 0;
22907 }
22908 _ACEOF
22909 rm -f conftest.$ac_objext
22910 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22911 (eval $ac_compile) 2>conftest.er1
22912 ac_status=$?
22913 grep -v '^ *+' conftest.er1 >conftest.err
22914 rm -f conftest.er1
22915 cat conftest.err >&5
22916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22917 (exit $ac_status); } &&
22918 { ac_try='test -z "$ac_cxx_werror_flag"
22919 || test ! -s conftest.err'
22920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22921 (eval $ac_try) 2>&5
22922 ac_status=$?
22923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22924 (exit $ac_status); }; } &&
22925 { ac_try='test -s conftest.$ac_objext'
22926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22927 (eval $ac_try) 2>&5
22928 ac_status=$?
22929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22930 (exit $ac_status); }; }; then
22931 ac_cv_type_std__ostream=yes
22932 else
22933 echo "$as_me: failed program was:" >&5
22934 sed 's/^/| /' conftest.$ac_ext >&5
22935
22936 ac_cv_type_std__ostream=no
22937 fi
22938 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22939 fi
22940 echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
22941 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6
22942 if test $ac_cv_type_std__ostream = yes; then
22943
22944 cat >>confdefs.h <<_ACEOF
22945 #define HAVE_STD__OSTREAM 1
22946 _ACEOF
22947
22948
22949 else
22950 wxUSE_STD_IOSTREAM=no
22951 fi
22952
22953
22954 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
22955 if grep wxUSE_STD_IOSTREAM $wx_arg_cache_file >/dev/null; then
22956 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
22957 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
22958 { (exit 1); exit 1; }; }
22959 else
22960 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
22961 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
22962 fi
22963 fi
22964
22965 ac_ext=c
22966 ac_cpp='$CPP $CPPFLAGS'
22967 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22968 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22969 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22970
22971 fi
22972
22973 if test "$wxUSE_STL" = "yes"; then
22974 ac_ext=cc
22975 ac_cpp='$CXXCPP $CPPFLAGS'
22976 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22977 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22978 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22979
22980
22981 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
22982 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
22983 cat >conftest.$ac_ext <<_ACEOF
22984 /* confdefs.h. */
22985 _ACEOF
22986 cat confdefs.h >>conftest.$ac_ext
22987 cat >>conftest.$ac_ext <<_ACEOF
22988 /* end confdefs.h. */
22989 #include <string>
22990 #include <functional>
22991 #include <algorithm>
22992 #include <vector>
22993 #include <list>
22994 int
22995 main ()
22996 {
22997 std::vector<int> moo;
22998 std::list<int> foo;
22999 std::vector<int>::iterator it =
23000 std::find_if(moo.begin(), moo.end(),
23001 std::bind2nd(std::less<int>(), 3));
23002 ;
23003 return 0;
23004 }
23005 _ACEOF
23006 rm -f conftest.$ac_objext
23007 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23008 (eval $ac_compile) 2>conftest.er1
23009 ac_status=$?
23010 grep -v '^ *+' conftest.er1 >conftest.err
23011 rm -f conftest.er1
23012 cat conftest.err >&5
23013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23014 (exit $ac_status); } &&
23015 { ac_try='test -z "$ac_cxx_werror_flag"
23016 || test ! -s conftest.err'
23017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23018 (eval $ac_try) 2>&5
23019 ac_status=$?
23020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23021 (exit $ac_status); }; } &&
23022 { ac_try='test -s conftest.$ac_objext'
23023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23024 (eval $ac_try) 2>&5
23025 ac_status=$?
23026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23027 (exit $ac_status); }; }; then
23028 echo "$as_me:$LINENO: result: yes" >&5
23029 echo "${ECHO_T}yes" >&6
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 { { echo "$as_me:$LINENO: error: Basic STL functionality missing" >&5
23037 echo "$as_me: error: Basic STL functionality missing" >&2;}
23038 { (exit 1); exit 1; }; }
23039 fi
23040 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23041
23042 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
23043 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
23044 cat >conftest.$ac_ext <<_ACEOF
23045 /* confdefs.h. */
23046 _ACEOF
23047 cat confdefs.h >>conftest.$ac_ext
23048 cat >>conftest.$ac_ext <<_ACEOF
23049 /* end confdefs.h. */
23050 #include <string>
23051 int
23052 main ()
23053 {
23054 std::string foo, bar;
23055 foo.compare(bar);
23056 foo.compare(1, 1, bar);
23057 foo.compare(1, 1, bar, 1, 1);
23058 foo.compare("");
23059 foo.compare(1, 1, "");
23060 foo.compare(1, 1, "", 2);
23061 ;
23062 return 0;
23063 }
23064 _ACEOF
23065 rm -f conftest.$ac_objext
23066 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23067 (eval $ac_compile) 2>conftest.er1
23068 ac_status=$?
23069 grep -v '^ *+' conftest.er1 >conftest.err
23070 rm -f conftest.er1
23071 cat conftest.err >&5
23072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23073 (exit $ac_status); } &&
23074 { ac_try='test -z "$ac_cxx_werror_flag"
23075 || test ! -s conftest.err'
23076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23077 (eval $ac_try) 2>&5
23078 ac_status=$?
23079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23080 (exit $ac_status); }; } &&
23081 { ac_try='test -s conftest.$ac_objext'
23082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23083 (eval $ac_try) 2>&5
23084 ac_status=$?
23085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23086 (exit $ac_status); }; }; then
23087 echo "$as_me:$LINENO: result: yes" >&5
23088 echo "${ECHO_T}yes" >&6
23089 cat >>confdefs.h <<\_ACEOF
23090 #define HAVE_STD_STRING_COMPARE 1
23091 _ACEOF
23092
23093 else
23094 echo "$as_me: failed program was:" >&5
23095 sed 's/^/| /' conftest.$ac_ext >&5
23096
23097 echo "$as_me:$LINENO: result: no" >&5
23098 echo "${ECHO_T}no" >&6
23099 fi
23100 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23101
23102 if test "${ac_cv_header_hash_map+set}" = set; then
23103 echo "$as_me:$LINENO: checking for hash_map" >&5
23104 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
23105 if test "${ac_cv_header_hash_map+set}" = set; then
23106 echo $ECHO_N "(cached) $ECHO_C" >&6
23107 fi
23108 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
23109 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
23110 else
23111 # Is the header compilable?
23112 echo "$as_me:$LINENO: checking hash_map usability" >&5
23113 echo $ECHO_N "checking hash_map usability... $ECHO_C" >&6
23114 cat >conftest.$ac_ext <<_ACEOF
23115 /* confdefs.h. */
23116 _ACEOF
23117 cat confdefs.h >>conftest.$ac_ext
23118 cat >>conftest.$ac_ext <<_ACEOF
23119 /* end confdefs.h. */
23120 $ac_includes_default
23121 #include <hash_map>
23122 _ACEOF
23123 rm -f conftest.$ac_objext
23124 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23125 (eval $ac_compile) 2>conftest.er1
23126 ac_status=$?
23127 grep -v '^ *+' conftest.er1 >conftest.err
23128 rm -f conftest.er1
23129 cat conftest.err >&5
23130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23131 (exit $ac_status); } &&
23132 { ac_try='test -z "$ac_cxx_werror_flag"
23133 || test ! -s conftest.err'
23134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23135 (eval $ac_try) 2>&5
23136 ac_status=$?
23137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23138 (exit $ac_status); }; } &&
23139 { ac_try='test -s conftest.$ac_objext'
23140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23141 (eval $ac_try) 2>&5
23142 ac_status=$?
23143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23144 (exit $ac_status); }; }; then
23145 ac_header_compiler=yes
23146 else
23147 echo "$as_me: failed program was:" >&5
23148 sed 's/^/| /' conftest.$ac_ext >&5
23149
23150 ac_header_compiler=no
23151 fi
23152 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23153 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23154 echo "${ECHO_T}$ac_header_compiler" >&6
23155
23156 # Is the header present?
23157 echo "$as_me:$LINENO: checking hash_map presence" >&5
23158 echo $ECHO_N "checking hash_map presence... $ECHO_C" >&6
23159 cat >conftest.$ac_ext <<_ACEOF
23160 /* confdefs.h. */
23161 _ACEOF
23162 cat confdefs.h >>conftest.$ac_ext
23163 cat >>conftest.$ac_ext <<_ACEOF
23164 /* end confdefs.h. */
23165 #include <hash_map>
23166 _ACEOF
23167 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23168 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
23169 ac_status=$?
23170 grep -v '^ *+' conftest.er1 >conftest.err
23171 rm -f conftest.er1
23172 cat conftest.err >&5
23173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23174 (exit $ac_status); } >/dev/null; then
23175 if test -s conftest.err; then
23176 ac_cpp_err=$ac_cxx_preproc_warn_flag
23177 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
23178 else
23179 ac_cpp_err=
23180 fi
23181 else
23182 ac_cpp_err=yes
23183 fi
23184 if test -z "$ac_cpp_err"; then
23185 ac_header_preproc=yes
23186 else
23187 echo "$as_me: failed program was:" >&5
23188 sed 's/^/| /' conftest.$ac_ext >&5
23189
23190 ac_header_preproc=no
23191 fi
23192 rm -f conftest.err conftest.$ac_ext
23193 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23194 echo "${ECHO_T}$ac_header_preproc" >&6
23195
23196 # So? What about this header?
23197 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
23198 yes:no: )
23199 { echo "$as_me:$LINENO: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
23200 echo "$as_me: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
23201 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the compiler's result" >&5
23202 echo "$as_me: WARNING: hash_map: proceeding with the compiler's result" >&2;}
23203 ac_header_preproc=yes
23204 ;;
23205 no:yes:* )
23206 { echo "$as_me:$LINENO: WARNING: hash_map: present but cannot be compiled" >&5
23207 echo "$as_me: WARNING: hash_map: present but cannot be compiled" >&2;}
23208 { echo "$as_me:$LINENO: WARNING: hash_map: check for missing prerequisite headers?" >&5
23209 echo "$as_me: WARNING: hash_map: check for missing prerequisite headers?" >&2;}
23210 { echo "$as_me:$LINENO: WARNING: hash_map: see the Autoconf documentation" >&5
23211 echo "$as_me: WARNING: hash_map: see the Autoconf documentation" >&2;}
23212 { echo "$as_me:$LINENO: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&5
23213 echo "$as_me: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
23214 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the preprocessor's result" >&5
23215 echo "$as_me: WARNING: hash_map: proceeding with the preprocessor's result" >&2;}
23216 { echo "$as_me:$LINENO: WARNING: hash_map: in the future, the compiler will take precedence" >&5
23217 echo "$as_me: WARNING: hash_map: in the future, the compiler will take precedence" >&2;}
23218 (
23219 cat <<\_ASBOX
23220 ## ----------------------------------------- ##
23221 ## Report this to wx-dev@lists.wxwidgets.org ##
23222 ## ----------------------------------------- ##
23223 _ASBOX
23224 ) |
23225 sed "s/^/$as_me: WARNING: /" >&2
23226 ;;
23227 esac
23228 echo "$as_me:$LINENO: checking for hash_map" >&5
23229 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
23230 if test "${ac_cv_header_hash_map+set}" = set; then
23231 echo $ECHO_N "(cached) $ECHO_C" >&6
23232 else
23233 ac_cv_header_hash_map=$ac_header_preproc
23234 fi
23235 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
23236 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
23237
23238 fi
23239 if test $ac_cv_header_hash_map = yes; then
23240 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
23241 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
23242 cat >conftest.$ac_ext <<_ACEOF
23243 /* confdefs.h. */
23244 _ACEOF
23245 cat confdefs.h >>conftest.$ac_ext
23246 cat >>conftest.$ac_ext <<_ACEOF
23247 /* end confdefs.h. */
23248 #include <hash_map>
23249 #include <hash_set>
23250 int
23251 main ()
23252 {
23253 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
23254 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
23255 ;
23256 return 0;
23257 }
23258 _ACEOF
23259 rm -f conftest.$ac_objext
23260 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23261 (eval $ac_compile) 2>conftest.er1
23262 ac_status=$?
23263 grep -v '^ *+' conftest.er1 >conftest.err
23264 rm -f conftest.er1
23265 cat conftest.err >&5
23266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23267 (exit $ac_status); } &&
23268 { ac_try='test -z "$ac_cxx_werror_flag"
23269 || test ! -s conftest.err'
23270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23271 (eval $ac_try) 2>&5
23272 ac_status=$?
23273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23274 (exit $ac_status); }; } &&
23275 { ac_try='test -s conftest.$ac_objext'
23276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23277 (eval $ac_try) 2>&5
23278 ac_status=$?
23279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23280 (exit $ac_status); }; }; then
23281 echo "$as_me:$LINENO: result: yes" >&5
23282 echo "${ECHO_T}yes" >&6
23283 cat >>confdefs.h <<\_ACEOF
23284 #define HAVE_HASH_MAP 1
23285 _ACEOF
23286
23287 cat >>confdefs.h <<\_ACEOF
23288 #define HAVE_STD_HASH_MAP 1
23289 _ACEOF
23290
23291 else
23292 echo "$as_me: failed program was:" >&5
23293 sed 's/^/| /' conftest.$ac_ext >&5
23294
23295 echo "$as_me:$LINENO: result: no" >&5
23296 echo "${ECHO_T}no" >&6
23297 fi
23298 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23299
23300 fi
23301
23302
23303
23304 if test "${ac_cv_header_ext_hash_map+set}" = set; then
23305 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
23306 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
23307 if test "${ac_cv_header_ext_hash_map+set}" = set; then
23308 echo $ECHO_N "(cached) $ECHO_C" >&6
23309 fi
23310 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
23311 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
23312 else
23313 # Is the header compilable?
23314 echo "$as_me:$LINENO: checking ext/hash_map usability" >&5
23315 echo $ECHO_N "checking ext/hash_map usability... $ECHO_C" >&6
23316 cat >conftest.$ac_ext <<_ACEOF
23317 /* confdefs.h. */
23318 _ACEOF
23319 cat confdefs.h >>conftest.$ac_ext
23320 cat >>conftest.$ac_ext <<_ACEOF
23321 /* end confdefs.h. */
23322 $ac_includes_default
23323 #include <ext/hash_map>
23324 _ACEOF
23325 rm -f conftest.$ac_objext
23326 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23327 (eval $ac_compile) 2>conftest.er1
23328 ac_status=$?
23329 grep -v '^ *+' conftest.er1 >conftest.err
23330 rm -f conftest.er1
23331 cat conftest.err >&5
23332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23333 (exit $ac_status); } &&
23334 { ac_try='test -z "$ac_cxx_werror_flag"
23335 || test ! -s conftest.err'
23336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23337 (eval $ac_try) 2>&5
23338 ac_status=$?
23339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23340 (exit $ac_status); }; } &&
23341 { ac_try='test -s conftest.$ac_objext'
23342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23343 (eval $ac_try) 2>&5
23344 ac_status=$?
23345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23346 (exit $ac_status); }; }; then
23347 ac_header_compiler=yes
23348 else
23349 echo "$as_me: failed program was:" >&5
23350 sed 's/^/| /' conftest.$ac_ext >&5
23351
23352 ac_header_compiler=no
23353 fi
23354 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23355 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23356 echo "${ECHO_T}$ac_header_compiler" >&6
23357
23358 # Is the header present?
23359 echo "$as_me:$LINENO: checking ext/hash_map presence" >&5
23360 echo $ECHO_N "checking ext/hash_map presence... $ECHO_C" >&6
23361 cat >conftest.$ac_ext <<_ACEOF
23362 /* confdefs.h. */
23363 _ACEOF
23364 cat confdefs.h >>conftest.$ac_ext
23365 cat >>conftest.$ac_ext <<_ACEOF
23366 /* end confdefs.h. */
23367 #include <ext/hash_map>
23368 _ACEOF
23369 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23370 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
23371 ac_status=$?
23372 grep -v '^ *+' conftest.er1 >conftest.err
23373 rm -f conftest.er1
23374 cat conftest.err >&5
23375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23376 (exit $ac_status); } >/dev/null; then
23377 if test -s conftest.err; then
23378 ac_cpp_err=$ac_cxx_preproc_warn_flag
23379 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
23380 else
23381 ac_cpp_err=
23382 fi
23383 else
23384 ac_cpp_err=yes
23385 fi
23386 if test -z "$ac_cpp_err"; then
23387 ac_header_preproc=yes
23388 else
23389 echo "$as_me: failed program was:" >&5
23390 sed 's/^/| /' conftest.$ac_ext >&5
23391
23392 ac_header_preproc=no
23393 fi
23394 rm -f conftest.err conftest.$ac_ext
23395 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23396 echo "${ECHO_T}$ac_header_preproc" >&6
23397
23398 # So? What about this header?
23399 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
23400 yes:no: )
23401 { echo "$as_me:$LINENO: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
23402 echo "$as_me: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
23403 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the compiler's result" >&5
23404 echo "$as_me: WARNING: ext/hash_map: proceeding with the compiler's result" >&2;}
23405 ac_header_preproc=yes
23406 ;;
23407 no:yes:* )
23408 { echo "$as_me:$LINENO: WARNING: ext/hash_map: present but cannot be compiled" >&5
23409 echo "$as_me: WARNING: ext/hash_map: present but cannot be compiled" >&2;}
23410 { echo "$as_me:$LINENO: WARNING: ext/hash_map: check for missing prerequisite headers?" >&5
23411 echo "$as_me: WARNING: ext/hash_map: check for missing prerequisite headers?" >&2;}
23412 { echo "$as_me:$LINENO: WARNING: ext/hash_map: see the Autoconf documentation" >&5
23413 echo "$as_me: WARNING: ext/hash_map: see the Autoconf documentation" >&2;}
23414 { echo "$as_me:$LINENO: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&5
23415 echo "$as_me: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
23416 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&5
23417 echo "$as_me: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&2;}
23418 { echo "$as_me:$LINENO: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&5
23419 echo "$as_me: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&2;}
23420 (
23421 cat <<\_ASBOX
23422 ## ----------------------------------------- ##
23423 ## Report this to wx-dev@lists.wxwidgets.org ##
23424 ## ----------------------------------------- ##
23425 _ASBOX
23426 ) |
23427 sed "s/^/$as_me: WARNING: /" >&2
23428 ;;
23429 esac
23430 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
23431 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
23432 if test "${ac_cv_header_ext_hash_map+set}" = set; then
23433 echo $ECHO_N "(cached) $ECHO_C" >&6
23434 else
23435 ac_cv_header_ext_hash_map=$ac_header_preproc
23436 fi
23437 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
23438 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
23439
23440 fi
23441 if test $ac_cv_header_ext_hash_map = yes; then
23442 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
23443 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
23444 cat >conftest.$ac_ext <<_ACEOF
23445 /* confdefs.h. */
23446 _ACEOF
23447 cat confdefs.h >>conftest.$ac_ext
23448 cat >>conftest.$ac_ext <<_ACEOF
23449 /* end confdefs.h. */
23450 #include <ext/hash_map>
23451 #include <ext/hash_set>
23452 int
23453 main ()
23454 {
23455 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
23456 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
23457 ;
23458 return 0;
23459 }
23460 _ACEOF
23461 rm -f conftest.$ac_objext
23462 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23463 (eval $ac_compile) 2>conftest.er1
23464 ac_status=$?
23465 grep -v '^ *+' conftest.er1 >conftest.err
23466 rm -f conftest.er1
23467 cat conftest.err >&5
23468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23469 (exit $ac_status); } &&
23470 { ac_try='test -z "$ac_cxx_werror_flag"
23471 || test ! -s conftest.err'
23472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23473 (eval $ac_try) 2>&5
23474 ac_status=$?
23475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23476 (exit $ac_status); }; } &&
23477 { ac_try='test -s conftest.$ac_objext'
23478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23479 (eval $ac_try) 2>&5
23480 ac_status=$?
23481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23482 (exit $ac_status); }; }; then
23483 echo "$as_me:$LINENO: result: yes" >&5
23484 echo "${ECHO_T}yes" >&6
23485 cat >>confdefs.h <<\_ACEOF
23486 #define HAVE_EXT_HASH_MAP 1
23487 _ACEOF
23488
23489 cat >>confdefs.h <<\_ACEOF
23490 #define HAVE_GNU_CXX_HASH_MAP 1
23491 _ACEOF
23492
23493 else
23494 echo "$as_me: failed program was:" >&5
23495 sed 's/^/| /' conftest.$ac_ext >&5
23496
23497 echo "$as_me:$LINENO: result: no" >&5
23498 echo "${ECHO_T}no" >&6
23499 fi
23500 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23501
23502 fi
23503
23504
23505
23506 ac_ext=c
23507 ac_cpp='$CPP $CPPFLAGS'
23508 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23509 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23510 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23511
23512 fi
23513
23514
23515 SEARCH_INCLUDE="\
23516 /usr/local/include \
23517 \
23518 /usr/Motif-2.1/include \
23519 /usr/Motif-1.2/include \
23520 /usr/include/Motif1.2 \
23521 \
23522 /usr/dt/include \
23523 /usr/openwin/include \
23524 \
23525 /usr/include/Xm \
23526 \
23527 /usr/X11R6/include \
23528 /usr/X11R6.4/include \
23529 /usr/X11R5/include \
23530 /usr/X11R4/include \
23531 \
23532 /usr/include/X11R6 \
23533 /usr/include/X11R5 \
23534 /usr/include/X11R4 \
23535 \
23536 /usr/local/X11R6/include \
23537 /usr/local/X11R5/include \
23538 /usr/local/X11R4/include \
23539 \
23540 /usr/local/include/X11R6 \
23541 /usr/local/include/X11R5 \
23542 /usr/local/include/X11R4 \
23543 \
23544 /usr/X11/include \
23545 /usr/include/X11 \
23546 /usr/local/X11/include \
23547 /usr/local/include/X11 \
23548 \
23549 /usr/XFree86/include/X11 \
23550 /usr/pkg/include \
23551 \
23552 /usr/openwin/share/include"
23553
23554 echo "$as_me:$LINENO: checking for libraries directory" >&5
23555 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6
23556
23557 case "${host}" in
23558 *-*-irix6* )
23559 if test "${wx_cv_std_libpath+set}" = set; then
23560 echo $ECHO_N "(cached) $ECHO_C" >&6
23561 else
23562
23563 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
23564 for e in a so sl dylib dll.a; do
23565 libc="$d/libc.$e"
23566 if test -f $libc; then
23567 save_LIBS="$LIBS"
23568 LIBS="$libc"
23569 cat >conftest.$ac_ext <<_ACEOF
23570 int main() { return 0; }
23571 _ACEOF
23572 rm -f conftest.$ac_objext conftest$ac_exeext
23573 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23574 (eval $ac_link) 2>conftest.er1
23575 ac_status=$?
23576 grep -v '^ *+' conftest.er1 >conftest.err
23577 rm -f conftest.er1
23578 cat conftest.err >&5
23579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23580 (exit $ac_status); } &&
23581 { ac_try='test -z "$ac_c_werror_flag"
23582 || test ! -s conftest.err'
23583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23584 (eval $ac_try) 2>&5
23585 ac_status=$?
23586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23587 (exit $ac_status); }; } &&
23588 { ac_try='test -s conftest$ac_exeext'
23589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23590 (eval $ac_try) 2>&5
23591 ac_status=$?
23592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23593 (exit $ac_status); }; }; then
23594 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
23595 else
23596 echo "$as_me: failed program was:" >&5
23597 sed 's/^/| /' conftest.$ac_ext >&5
23598
23599 fi
23600 rm -f conftest.err conftest.$ac_objext \
23601 conftest$ac_exeext conftest.$ac_ext
23602 LIBS="$save_LIBS"
23603 if test "x$wx_cv_std_libpath" != "x"; then
23604 break 2
23605 fi
23606 fi
23607 done
23608 done
23609 if test "x$wx_cv_std_libpath" = "x"; then
23610 wx_cv_std_libpath="lib"
23611 fi
23612
23613
23614 fi
23615
23616 ;;
23617
23618 *-*-solaris2* )
23619 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
23620 wx_cv_std_libpath="lib/64"
23621 else
23622 wx_cv_std_libpath="lib"
23623 fi
23624 ;;
23625
23626 *-*-linux* )
23627 if test "$ac_cv_sizeof_void_p" = 8 -a \
23628 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
23629 wx_cv_std_libpath="lib64"
23630 else
23631 wx_cv_std_libpath="lib"
23632 fi
23633 ;;
23634
23635 *)
23636 wx_cv_std_libpath="lib";
23637 ;;
23638 esac
23639
23640 echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
23641 echo "${ECHO_T}$wx_cv_std_libpath" >&6
23642
23643 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
23644
23645 if test "$build" != "$host" -a "$GCC" = yes; then
23646 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
23647 cross_root=`dirname $cross_root`
23648 cross_root=`dirname $cross_root`
23649
23650 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
23651 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
23652
23653 if test -z "$PKG_CONFIG_PATH"; then
23654 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
23655 export PKG_CONFIG_PATH
23656 fi
23657
23658 if test -z "$x_includes" -o "$x_includes" = NONE; then
23659
23660 ac_find_includes=
23661 for ac_dir in $SEARCH_INCLUDE /usr/include;
23662 do
23663 if test -f "$ac_dir/X11/Intrinsic.h"; then
23664 ac_find_includes=$ac_dir
23665 break
23666 fi
23667 done
23668
23669 x_includes=$ac_find_includes
23670 fi
23671 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
23672
23673 ac_find_libraries=
23674 for ac_dir in $SEARCH_LIB;
23675 do
23676 for ac_extension in a so sl dylib dll.a; do
23677 if test -f "$ac_dir/libXt.$ac_extension"; then
23678 ac_find_libraries=$ac_dir
23679 break 2
23680 fi
23681 done
23682 done
23683
23684 x_libraries=$ac_find_libraries
23685 fi
23686 fi
23687 fi
23688
23689
23690 cat >confcache <<\_ACEOF
23691 # This file is a shell script that caches the results of configure
23692 # tests run on this system so they can be shared between configure
23693 # scripts and configure runs, see configure's option --config-cache.
23694 # It is not useful on other systems. If it contains results you don't
23695 # want to keep, you may remove or edit it.
23696 #
23697 # config.status only pays attention to the cache file if you give it
23698 # the --recheck option to rerun configure.
23699 #
23700 # `ac_cv_env_foo' variables (set or unset) will be overridden when
23701 # loading this file, other *unset* `ac_cv_foo' will be assigned the
23702 # following values.
23703
23704 _ACEOF
23705
23706 # The following way of writing the cache mishandles newlines in values,
23707 # but we know of no workaround that is simple, portable, and efficient.
23708 # So, don't put newlines in cache variables' values.
23709 # Ultrix sh set writes to stderr and can't be redirected directly,
23710 # and sets the high bit in the cache file unless we assign to the vars.
23711 {
23712 (set) 2>&1 |
23713 case `(ac_space=' '; set | grep ac_space) 2>&1` in
23714 *ac_space=\ *)
23715 # `set' does not quote correctly, so add quotes (double-quote
23716 # substitution turns \\\\ into \\, and sed turns \\ into \).
23717 sed -n \
23718 "s/'/'\\\\''/g;
23719 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
23720 ;;
23721 *)
23722 # `set' quotes correctly as required by POSIX, so do not add quotes.
23723 sed -n \
23724 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
23725 ;;
23726 esac;
23727 } |
23728 sed '
23729 t clear
23730 : clear
23731 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
23732 t end
23733 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
23734 : end' >>confcache
23735 if diff $cache_file confcache >/dev/null 2>&1; then :; else
23736 if test -w $cache_file; then
23737 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
23738 cat confcache >$cache_file
23739 else
23740 echo "not updating unwritable cache $cache_file"
23741 fi
23742 fi
23743 rm -f confcache
23744
23745 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
23746 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
23747 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
23748 if test "${wx_cv_lib_glibc21+set}" = set; then
23749 echo $ECHO_N "(cached) $ECHO_C" >&6
23750 else
23751
23752 cat >conftest.$ac_ext <<_ACEOF
23753 /* confdefs.h. */
23754 _ACEOF
23755 cat confdefs.h >>conftest.$ac_ext
23756 cat >>conftest.$ac_ext <<_ACEOF
23757 /* end confdefs.h. */
23758 #include <features.h>
23759 int
23760 main ()
23761 {
23762
23763 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
23764 not glibc 2.1
23765 #endif
23766
23767 ;
23768 return 0;
23769 }
23770 _ACEOF
23771 rm -f conftest.$ac_objext
23772 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23773 (eval $ac_compile) 2>conftest.er1
23774 ac_status=$?
23775 grep -v '^ *+' conftest.er1 >conftest.err
23776 rm -f conftest.er1
23777 cat conftest.err >&5
23778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23779 (exit $ac_status); } &&
23780 { ac_try='test -z "$ac_c_werror_flag"
23781 || test ! -s conftest.err'
23782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23783 (eval $ac_try) 2>&5
23784 ac_status=$?
23785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23786 (exit $ac_status); }; } &&
23787 { ac_try='test -s conftest.$ac_objext'
23788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23789 (eval $ac_try) 2>&5
23790 ac_status=$?
23791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23792 (exit $ac_status); }; }; then
23793
23794 wx_cv_lib_glibc21=yes
23795
23796 else
23797 echo "$as_me: failed program was:" >&5
23798 sed 's/^/| /' conftest.$ac_ext >&5
23799
23800
23801 wx_cv_lib_glibc21=no
23802
23803
23804 fi
23805 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23806
23807 fi
23808 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
23809 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
23810 if test "$wx_cv_lib_glibc21" = "yes"; then
23811 cat >>confdefs.h <<\_ACEOF
23812 #define wxHAVE_GLIBC2 1
23813 _ACEOF
23814
23815 fi
23816 fi
23817
23818 if test "x$wx_cv_lib_glibc21" = "xyes"; then
23819 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
23820 cat >>confdefs.h <<\_ACEOF
23821 #define _GNU_SOURCE 1
23822 _ACEOF
23823
23824 fi
23825 fi
23826
23827
23828
23829 if test "$wxUSE_REGEX" != "no"; then
23830 cat >>confdefs.h <<\_ACEOF
23831 #define wxUSE_REGEX 1
23832 _ACEOF
23833
23834
23835 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
23836 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
23837 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
23838 wxUSE_REGEX=builtin
23839 fi
23840
23841 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
23842 if test "${ac_cv_header_regex_h+set}" = set; then
23843 echo "$as_me:$LINENO: checking for regex.h" >&5
23844 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
23845 if test "${ac_cv_header_regex_h+set}" = set; then
23846 echo $ECHO_N "(cached) $ECHO_C" >&6
23847 fi
23848 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
23849 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
23850 else
23851 # Is the header compilable?
23852 echo "$as_me:$LINENO: checking regex.h usability" >&5
23853 echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
23854 cat >conftest.$ac_ext <<_ACEOF
23855 /* confdefs.h. */
23856 _ACEOF
23857 cat confdefs.h >>conftest.$ac_ext
23858 cat >>conftest.$ac_ext <<_ACEOF
23859 /* end confdefs.h. */
23860 $ac_includes_default
23861 #include <regex.h>
23862 _ACEOF
23863 rm -f conftest.$ac_objext
23864 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23865 (eval $ac_compile) 2>conftest.er1
23866 ac_status=$?
23867 grep -v '^ *+' conftest.er1 >conftest.err
23868 rm -f conftest.er1
23869 cat conftest.err >&5
23870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23871 (exit $ac_status); } &&
23872 { ac_try='test -z "$ac_c_werror_flag"
23873 || test ! -s conftest.err'
23874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23875 (eval $ac_try) 2>&5
23876 ac_status=$?
23877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23878 (exit $ac_status); }; } &&
23879 { ac_try='test -s conftest.$ac_objext'
23880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23881 (eval $ac_try) 2>&5
23882 ac_status=$?
23883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23884 (exit $ac_status); }; }; then
23885 ac_header_compiler=yes
23886 else
23887 echo "$as_me: failed program was:" >&5
23888 sed 's/^/| /' conftest.$ac_ext >&5
23889
23890 ac_header_compiler=no
23891 fi
23892 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23893 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23894 echo "${ECHO_T}$ac_header_compiler" >&6
23895
23896 # Is the header present?
23897 echo "$as_me:$LINENO: checking regex.h presence" >&5
23898 echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
23899 cat >conftest.$ac_ext <<_ACEOF
23900 /* confdefs.h. */
23901 _ACEOF
23902 cat confdefs.h >>conftest.$ac_ext
23903 cat >>conftest.$ac_ext <<_ACEOF
23904 /* end confdefs.h. */
23905 #include <regex.h>
23906 _ACEOF
23907 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23908 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
23909 ac_status=$?
23910 grep -v '^ *+' conftest.er1 >conftest.err
23911 rm -f conftest.er1
23912 cat conftest.err >&5
23913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23914 (exit $ac_status); } >/dev/null; then
23915 if test -s conftest.err; then
23916 ac_cpp_err=$ac_c_preproc_warn_flag
23917 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
23918 else
23919 ac_cpp_err=
23920 fi
23921 else
23922 ac_cpp_err=yes
23923 fi
23924 if test -z "$ac_cpp_err"; then
23925 ac_header_preproc=yes
23926 else
23927 echo "$as_me: failed program was:" >&5
23928 sed 's/^/| /' conftest.$ac_ext >&5
23929
23930 ac_header_preproc=no
23931 fi
23932 rm -f conftest.err conftest.$ac_ext
23933 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23934 echo "${ECHO_T}$ac_header_preproc" >&6
23935
23936 # So? What about this header?
23937 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23938 yes:no: )
23939 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
23940 echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
23941 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the compiler's result" >&5
23942 echo "$as_me: WARNING: regex.h: proceeding with the compiler's result" >&2;}
23943 ac_header_preproc=yes
23944 ;;
23945 no:yes:* )
23946 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
23947 echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
23948 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
23949 echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
23950 { echo "$as_me:$LINENO: WARNING: regex.h: see the Autoconf documentation" >&5
23951 echo "$as_me: WARNING: regex.h: see the Autoconf documentation" >&2;}
23952 { echo "$as_me:$LINENO: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&5
23953 echo "$as_me: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&2;}
23954 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
23955 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
23956 { echo "$as_me:$LINENO: WARNING: regex.h: in the future, the compiler will take precedence" >&5
23957 echo "$as_me: WARNING: regex.h: in the future, the compiler will take precedence" >&2;}
23958 (
23959 cat <<\_ASBOX
23960 ## ----------------------------------------- ##
23961 ## Report this to wx-dev@lists.wxwidgets.org ##
23962 ## ----------------------------------------- ##
23963 _ASBOX
23964 ) |
23965 sed "s/^/$as_me: WARNING: /" >&2
23966 ;;
23967 esac
23968 echo "$as_me:$LINENO: checking for regex.h" >&5
23969 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
23970 if test "${ac_cv_header_regex_h+set}" = set; then
23971 echo $ECHO_N "(cached) $ECHO_C" >&6
23972 else
23973 ac_cv_header_regex_h=$ac_header_preproc
23974 fi
23975 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
23976 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
23977
23978 fi
23979 if test $ac_cv_header_regex_h = yes; then
23980
23981 for ac_func in regcomp
23982 do
23983 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23984 echo "$as_me:$LINENO: checking for $ac_func" >&5
23985 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23986 if eval "test \"\${$as_ac_var+set}\" = set"; then
23987 echo $ECHO_N "(cached) $ECHO_C" >&6
23988 else
23989 cat >conftest.$ac_ext <<_ACEOF
23990 /* confdefs.h. */
23991 _ACEOF
23992 cat confdefs.h >>conftest.$ac_ext
23993 cat >>conftest.$ac_ext <<_ACEOF
23994 /* end confdefs.h. */
23995 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23996 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23997 #define $ac_func innocuous_$ac_func
23998
23999 /* System header to define __stub macros and hopefully few prototypes,
24000 which can conflict with char $ac_func (); below.
24001 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24002 <limits.h> exists even on freestanding compilers. */
24003
24004 #ifdef __STDC__
24005 # include <limits.h>
24006 #else
24007 # include <assert.h>
24008 #endif
24009
24010 #undef $ac_func
24011
24012 /* Override any gcc2 internal prototype to avoid an error. */
24013 #ifdef __cplusplus
24014 extern "C"
24015 {
24016 #endif
24017 /* We use char because int might match the return type of a gcc2
24018 builtin and then its argument prototype would still apply. */
24019 char $ac_func ();
24020 /* The GNU C library defines this for functions which it implements
24021 to always fail with ENOSYS. Some functions are actually named
24022 something starting with __ and the normal name is an alias. */
24023 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24024 choke me
24025 #else
24026 char (*f) () = $ac_func;
24027 #endif
24028 #ifdef __cplusplus
24029 }
24030 #endif
24031
24032 int
24033 main ()
24034 {
24035 return f != $ac_func;
24036 ;
24037 return 0;
24038 }
24039 _ACEOF
24040 rm -f conftest.$ac_objext conftest$ac_exeext
24041 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24042 (eval $ac_link) 2>conftest.er1
24043 ac_status=$?
24044 grep -v '^ *+' conftest.er1 >conftest.err
24045 rm -f conftest.er1
24046 cat conftest.err >&5
24047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24048 (exit $ac_status); } &&
24049 { ac_try='test -z "$ac_c_werror_flag"
24050 || test ! -s conftest.err'
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); }; } &&
24056 { ac_try='test -s conftest$ac_exeext'
24057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24058 (eval $ac_try) 2>&5
24059 ac_status=$?
24060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24061 (exit $ac_status); }; }; then
24062 eval "$as_ac_var=yes"
24063 else
24064 echo "$as_me: failed program was:" >&5
24065 sed 's/^/| /' conftest.$ac_ext >&5
24066
24067 eval "$as_ac_var=no"
24068 fi
24069 rm -f conftest.err conftest.$ac_objext \
24070 conftest$ac_exeext conftest.$ac_ext
24071 fi
24072 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24073 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24074 if test `eval echo '${'$as_ac_var'}'` = yes; then
24075 cat >>confdefs.h <<_ACEOF
24076 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24077 _ACEOF
24078
24079 fi
24080 done
24081
24082 fi
24083
24084
24085
24086 if test "x$ac_cv_func_regcomp" != "xyes"; then
24087 if test "$wxUSE_REGEX" = "sys" ; then
24088 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
24089 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
24090 { (exit 1); exit 1; }; }
24091 else
24092 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
24093 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
24094 wxUSE_REGEX=builtin
24095 fi
24096 else
24097 wxUSE_REGEX=sys
24098 cat >>confdefs.h <<\_ACEOF
24099 #define WX_NO_REGEX_ADVANCED 1
24100 _ACEOF
24101
24102 fi
24103 fi
24104 fi
24105
24106
24107 ZLIB_LINK=
24108 if test "$wxUSE_ZLIB" != "no" ; then
24109 cat >>confdefs.h <<\_ACEOF
24110 #define wxUSE_ZLIB 1
24111 _ACEOF
24112
24113
24114 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
24115 if test "$USE_DARWIN" = 1; then
24116 system_zlib_h_ok="yes"
24117 else
24118 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
24119 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
24120 if test "${ac_cv_header_zlib_h+set}" = set; then
24121 echo $ECHO_N "(cached) $ECHO_C" >&6
24122 else
24123 if test "$cross_compiling" = yes; then
24124 unset ac_cv_header_zlib_h
24125
24126 else
24127 cat >conftest.$ac_ext <<_ACEOF
24128 /* confdefs.h. */
24129 _ACEOF
24130 cat confdefs.h >>conftest.$ac_ext
24131 cat >>conftest.$ac_ext <<_ACEOF
24132 /* end confdefs.h. */
24133
24134 #include <zlib.h>
24135 #include <stdio.h>
24136
24137 int main()
24138 {
24139 FILE *f=fopen("conftestval", "w");
24140 if (!f) exit(1);
24141 fprintf(f, "%s",
24142 ZLIB_VERSION[0] == '1' &&
24143 (ZLIB_VERSION[2] > '1' ||
24144 (ZLIB_VERSION[2] == '1' &&
24145 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
24146 exit(0);
24147 }
24148
24149 _ACEOF
24150 rm -f conftest$ac_exeext
24151 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24152 (eval $ac_link) 2>&5
24153 ac_status=$?
24154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24155 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24157 (eval $ac_try) 2>&5
24158 ac_status=$?
24159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24160 (exit $ac_status); }; }; then
24161 ac_cv_header_zlib_h=`cat conftestval`
24162 else
24163 echo "$as_me: program exited with status $ac_status" >&5
24164 echo "$as_me: failed program was:" >&5
24165 sed 's/^/| /' conftest.$ac_ext >&5
24166
24167 ( exit $ac_status )
24168 ac_cv_header_zlib_h=no
24169 fi
24170 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24171 fi
24172
24173 fi
24174 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
24175 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
24176 if test "${ac_cv_header_zlib_h+set}" = set; then
24177 echo "$as_me:$LINENO: checking for zlib.h" >&5
24178 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
24179 if test "${ac_cv_header_zlib_h+set}" = set; then
24180 echo $ECHO_N "(cached) $ECHO_C" >&6
24181 fi
24182 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
24183 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
24184 else
24185 # Is the header compilable?
24186 echo "$as_me:$LINENO: checking zlib.h usability" >&5
24187 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
24188 cat >conftest.$ac_ext <<_ACEOF
24189 /* confdefs.h. */
24190 _ACEOF
24191 cat confdefs.h >>conftest.$ac_ext
24192 cat >>conftest.$ac_ext <<_ACEOF
24193 /* end confdefs.h. */
24194 $ac_includes_default
24195 #include <zlib.h>
24196 _ACEOF
24197 rm -f conftest.$ac_objext
24198 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24199 (eval $ac_compile) 2>conftest.er1
24200 ac_status=$?
24201 grep -v '^ *+' conftest.er1 >conftest.err
24202 rm -f conftest.er1
24203 cat conftest.err >&5
24204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24205 (exit $ac_status); } &&
24206 { ac_try='test -z "$ac_c_werror_flag"
24207 || test ! -s conftest.err'
24208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24209 (eval $ac_try) 2>&5
24210 ac_status=$?
24211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24212 (exit $ac_status); }; } &&
24213 { ac_try='test -s conftest.$ac_objext'
24214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24215 (eval $ac_try) 2>&5
24216 ac_status=$?
24217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24218 (exit $ac_status); }; }; then
24219 ac_header_compiler=yes
24220 else
24221 echo "$as_me: failed program was:" >&5
24222 sed 's/^/| /' conftest.$ac_ext >&5
24223
24224 ac_header_compiler=no
24225 fi
24226 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24227 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24228 echo "${ECHO_T}$ac_header_compiler" >&6
24229
24230 # Is the header present?
24231 echo "$as_me:$LINENO: checking zlib.h presence" >&5
24232 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
24233 cat >conftest.$ac_ext <<_ACEOF
24234 /* confdefs.h. */
24235 _ACEOF
24236 cat confdefs.h >>conftest.$ac_ext
24237 cat >>conftest.$ac_ext <<_ACEOF
24238 /* end confdefs.h. */
24239 #include <zlib.h>
24240 _ACEOF
24241 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24242 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
24243 ac_status=$?
24244 grep -v '^ *+' conftest.er1 >conftest.err
24245 rm -f conftest.er1
24246 cat conftest.err >&5
24247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24248 (exit $ac_status); } >/dev/null; then
24249 if test -s conftest.err; then
24250 ac_cpp_err=$ac_c_preproc_warn_flag
24251 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
24252 else
24253 ac_cpp_err=
24254 fi
24255 else
24256 ac_cpp_err=yes
24257 fi
24258 if test -z "$ac_cpp_err"; then
24259 ac_header_preproc=yes
24260 else
24261 echo "$as_me: failed program was:" >&5
24262 sed 's/^/| /' conftest.$ac_ext >&5
24263
24264 ac_header_preproc=no
24265 fi
24266 rm -f conftest.err conftest.$ac_ext
24267 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24268 echo "${ECHO_T}$ac_header_preproc" >&6
24269
24270 # So? What about this header?
24271 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24272 yes:no: )
24273 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
24274 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24275 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5
24276 echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;}
24277 ac_header_preproc=yes
24278 ;;
24279 no:yes:* )
24280 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
24281 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
24282 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
24283 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
24284 { echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
24285 echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
24286 { echo "$as_me:$LINENO: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&5
24287 echo "$as_me: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
24288 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
24289 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
24290 { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
24291 echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
24292 (
24293 cat <<\_ASBOX
24294 ## ----------------------------------------- ##
24295 ## Report this to wx-dev@lists.wxwidgets.org ##
24296 ## ----------------------------------------- ##
24297 _ASBOX
24298 ) |
24299 sed "s/^/$as_me: WARNING: /" >&2
24300 ;;
24301 esac
24302 echo "$as_me:$LINENO: checking for zlib.h" >&5
24303 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
24304 if test "${ac_cv_header_zlib_h+set}" = set; then
24305 echo $ECHO_N "(cached) $ECHO_C" >&6
24306 else
24307 ac_cv_header_zlib_h=$ac_header_preproc
24308 fi
24309 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
24310 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
24311
24312 fi
24313
24314
24315
24316 system_zlib_h_ok=$ac_cv_header_zlib_h
24317 fi
24318
24319 if test "$system_zlib_h_ok" = "yes"; then
24320 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
24321 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
24322 if test "${ac_cv_lib_z_deflate+set}" = set; then
24323 echo $ECHO_N "(cached) $ECHO_C" >&6
24324 else
24325 ac_check_lib_save_LIBS=$LIBS
24326 LIBS="-lz $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 deflate ();
24341 int
24342 main ()
24343 {
24344 deflate ();
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"
24359 || test ! -s conftest.err'
24360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24361 (eval $ac_try) 2>&5
24362 ac_status=$?
24363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24364 (exit $ac_status); }; } &&
24365 { ac_try='test -s conftest$ac_exeext'
24366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24367 (eval $ac_try) 2>&5
24368 ac_status=$?
24369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24370 (exit $ac_status); }; }; then
24371 ac_cv_lib_z_deflate=yes
24372 else
24373 echo "$as_me: failed program was:" >&5
24374 sed 's/^/| /' conftest.$ac_ext >&5
24375
24376 ac_cv_lib_z_deflate=no
24377 fi
24378 rm -f conftest.err conftest.$ac_objext \
24379 conftest$ac_exeext conftest.$ac_ext
24380 LIBS=$ac_check_lib_save_LIBS
24381 fi
24382 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
24383 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
24384 if test $ac_cv_lib_z_deflate = yes; then
24385 ZLIB_LINK=" -lz"
24386 fi
24387
24388 fi
24389
24390 if test "x$ZLIB_LINK" = "x" ; then
24391 if test "$wxUSE_ZLIB" = "sys" ; then
24392 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
24393 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
24394 { (exit 1); exit 1; }; }
24395 else
24396 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
24397 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
24398 wxUSE_ZLIB=builtin
24399 fi
24400 else
24401 wxUSE_ZLIB=sys
24402 fi
24403 fi
24404 fi
24405
24406
24407 PNG_LINK=
24408 if test "$wxUSE_LIBPNG" != "no" ; then
24409 cat >>confdefs.h <<\_ACEOF
24410 #define wxUSE_LIBPNG 1
24411 _ACEOF
24412
24413
24414 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
24415 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
24416 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
24417 wxUSE_LIBPNG=sys
24418 fi
24419
24420 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
24421 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
24422 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
24423 wxUSE_LIBPNG=builtin
24424 fi
24425
24426 if test "$wxUSE_MGL" != 1 ; then
24427 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
24428 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
24429 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
24430 if test "${ac_cv_header_png_h+set}" = set; then
24431 echo $ECHO_N "(cached) $ECHO_C" >&6
24432 else
24433 if test "$cross_compiling" = yes; then
24434 unset ac_cv_header_png_h
24435
24436 else
24437 cat >conftest.$ac_ext <<_ACEOF
24438 /* confdefs.h. */
24439 _ACEOF
24440 cat confdefs.h >>conftest.$ac_ext
24441 cat >>conftest.$ac_ext <<_ACEOF
24442 /* end confdefs.h. */
24443
24444 #include <png.h>
24445 #include <stdio.h>
24446
24447 int main()
24448 {
24449 FILE *f=fopen("conftestval", "w");
24450 if (!f) exit(1);
24451 fprintf(f, "%s",
24452 PNG_LIBPNG_VER > 90 ? "yes" : "no");
24453 exit(0);
24454 }
24455
24456 _ACEOF
24457 rm -f conftest$ac_exeext
24458 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24459 (eval $ac_link) 2>&5
24460 ac_status=$?
24461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24462 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24464 (eval $ac_try) 2>&5
24465 ac_status=$?
24466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24467 (exit $ac_status); }; }; then
24468 ac_cv_header_png_h=`cat conftestval`
24469 else
24470 echo "$as_me: program exited with status $ac_status" >&5
24471 echo "$as_me: failed program was:" >&5
24472 sed 's/^/| /' conftest.$ac_ext >&5
24473
24474 ( exit $ac_status )
24475 ac_cv_header_png_h=no
24476 fi
24477 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24478 fi
24479
24480 fi
24481 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
24482 echo "${ECHO_T}$ac_cv_header_png_h" >&6
24483 if test "${ac_cv_header_png_h+set}" = set; then
24484 echo "$as_me:$LINENO: checking for png.h" >&5
24485 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
24486 if test "${ac_cv_header_png_h+set}" = set; then
24487 echo $ECHO_N "(cached) $ECHO_C" >&6
24488 fi
24489 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
24490 echo "${ECHO_T}$ac_cv_header_png_h" >&6
24491 else
24492 # Is the header compilable?
24493 echo "$as_me:$LINENO: checking png.h usability" >&5
24494 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
24495 cat >conftest.$ac_ext <<_ACEOF
24496 /* confdefs.h. */
24497 _ACEOF
24498 cat confdefs.h >>conftest.$ac_ext
24499 cat >>conftest.$ac_ext <<_ACEOF
24500 /* end confdefs.h. */
24501 $ac_includes_default
24502 #include <png.h>
24503 _ACEOF
24504 rm -f conftest.$ac_objext
24505 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24506 (eval $ac_compile) 2>conftest.er1
24507 ac_status=$?
24508 grep -v '^ *+' conftest.er1 >conftest.err
24509 rm -f conftest.er1
24510 cat conftest.err >&5
24511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24512 (exit $ac_status); } &&
24513 { ac_try='test -z "$ac_c_werror_flag"
24514 || test ! -s conftest.err'
24515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24516 (eval $ac_try) 2>&5
24517 ac_status=$?
24518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24519 (exit $ac_status); }; } &&
24520 { ac_try='test -s conftest.$ac_objext'
24521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24522 (eval $ac_try) 2>&5
24523 ac_status=$?
24524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24525 (exit $ac_status); }; }; then
24526 ac_header_compiler=yes
24527 else
24528 echo "$as_me: failed program was:" >&5
24529 sed 's/^/| /' conftest.$ac_ext >&5
24530
24531 ac_header_compiler=no
24532 fi
24533 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24534 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24535 echo "${ECHO_T}$ac_header_compiler" >&6
24536
24537 # Is the header present?
24538 echo "$as_me:$LINENO: checking png.h presence" >&5
24539 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
24540 cat >conftest.$ac_ext <<_ACEOF
24541 /* confdefs.h. */
24542 _ACEOF
24543 cat confdefs.h >>conftest.$ac_ext
24544 cat >>conftest.$ac_ext <<_ACEOF
24545 /* end confdefs.h. */
24546 #include <png.h>
24547 _ACEOF
24548 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24549 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
24550 ac_status=$?
24551 grep -v '^ *+' conftest.er1 >conftest.err
24552 rm -f conftest.er1
24553 cat conftest.err >&5
24554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24555 (exit $ac_status); } >/dev/null; then
24556 if test -s conftest.err; then
24557 ac_cpp_err=$ac_c_preproc_warn_flag
24558 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
24559 else
24560 ac_cpp_err=
24561 fi
24562 else
24563 ac_cpp_err=yes
24564 fi
24565 if test -z "$ac_cpp_err"; then
24566 ac_header_preproc=yes
24567 else
24568 echo "$as_me: failed program was:" >&5
24569 sed 's/^/| /' conftest.$ac_ext >&5
24570
24571 ac_header_preproc=no
24572 fi
24573 rm -f conftest.err conftest.$ac_ext
24574 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24575 echo "${ECHO_T}$ac_header_preproc" >&6
24576
24577 # So? What about this header?
24578 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24579 yes:no: )
24580 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
24581 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24582 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the compiler's result" >&5
24583 echo "$as_me: WARNING: png.h: proceeding with the compiler's result" >&2;}
24584 ac_header_preproc=yes
24585 ;;
24586 no:yes:* )
24587 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
24588 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
24589 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
24590 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
24591 { echo "$as_me:$LINENO: WARNING: png.h: see the Autoconf documentation" >&5
24592 echo "$as_me: WARNING: png.h: see the Autoconf documentation" >&2;}
24593 { echo "$as_me:$LINENO: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&5
24594 echo "$as_me: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&2;}
24595 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
24596 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
24597 { echo "$as_me:$LINENO: WARNING: png.h: in the future, the compiler will take precedence" >&5
24598 echo "$as_me: WARNING: png.h: in the future, the compiler will take precedence" >&2;}
24599 (
24600 cat <<\_ASBOX
24601 ## ----------------------------------------- ##
24602 ## Report this to wx-dev@lists.wxwidgets.org ##
24603 ## ----------------------------------------- ##
24604 _ASBOX
24605 ) |
24606 sed "s/^/$as_me: WARNING: /" >&2
24607 ;;
24608 esac
24609 echo "$as_me:$LINENO: checking for png.h" >&5
24610 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
24611 if test "${ac_cv_header_png_h+set}" = set; then
24612 echo $ECHO_N "(cached) $ECHO_C" >&6
24613 else
24614 ac_cv_header_png_h=$ac_header_preproc
24615 fi
24616 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
24617 echo "${ECHO_T}$ac_cv_header_png_h" >&6
24618
24619 fi
24620
24621
24622
24623 if test "$ac_cv_header_png_h" = "yes"; then
24624 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
24625 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
24626 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
24627 echo $ECHO_N "(cached) $ECHO_C" >&6
24628 else
24629 ac_check_lib_save_LIBS=$LIBS
24630 LIBS="-lpng -lz -lm $LIBS"
24631 cat >conftest.$ac_ext <<_ACEOF
24632 /* confdefs.h. */
24633 _ACEOF
24634 cat confdefs.h >>conftest.$ac_ext
24635 cat >>conftest.$ac_ext <<_ACEOF
24636 /* end confdefs.h. */
24637
24638 /* Override any gcc2 internal prototype to avoid an error. */
24639 #ifdef __cplusplus
24640 extern "C"
24641 #endif
24642 /* We use char because int might match the return type of a gcc2
24643 builtin and then its argument prototype would still apply. */
24644 char png_check_sig ();
24645 int
24646 main ()
24647 {
24648 png_check_sig ();
24649 ;
24650 return 0;
24651 }
24652 _ACEOF
24653 rm -f conftest.$ac_objext conftest$ac_exeext
24654 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24655 (eval $ac_link) 2>conftest.er1
24656 ac_status=$?
24657 grep -v '^ *+' conftest.er1 >conftest.err
24658 rm -f conftest.er1
24659 cat conftest.err >&5
24660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24661 (exit $ac_status); } &&
24662 { ac_try='test -z "$ac_c_werror_flag"
24663 || test ! -s conftest.err'
24664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24665 (eval $ac_try) 2>&5
24666 ac_status=$?
24667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24668 (exit $ac_status); }; } &&
24669 { ac_try='test -s conftest$ac_exeext'
24670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24671 (eval $ac_try) 2>&5
24672 ac_status=$?
24673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24674 (exit $ac_status); }; }; then
24675 ac_cv_lib_png_png_check_sig=yes
24676 else
24677 echo "$as_me: failed program was:" >&5
24678 sed 's/^/| /' conftest.$ac_ext >&5
24679
24680 ac_cv_lib_png_png_check_sig=no
24681 fi
24682 rm -f conftest.err conftest.$ac_objext \
24683 conftest$ac_exeext conftest.$ac_ext
24684 LIBS=$ac_check_lib_save_LIBS
24685 fi
24686 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
24687 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
24688 if test $ac_cv_lib_png_png_check_sig = yes; then
24689 PNG_LINK=" -lpng -lz"
24690 fi
24691
24692 fi
24693
24694 if test "x$PNG_LINK" = "x" ; then
24695 if test "$wxUSE_LIBPNG" = "sys" ; then
24696 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
24697 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
24698 { (exit 1); exit 1; }; }
24699 else
24700 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
24701 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
24702 wxUSE_LIBPNG=builtin
24703 fi
24704 else
24705 wxUSE_LIBPNG=sys
24706 fi
24707 fi
24708 fi
24709
24710 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS png"
24711 fi
24712
24713
24714 JPEG_LINK=
24715 if test "$wxUSE_LIBJPEG" != "no" ; then
24716 cat >>confdefs.h <<\_ACEOF
24717 #define wxUSE_LIBJPEG 1
24718 _ACEOF
24719
24720
24721 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
24722 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
24723 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
24724 wxUSE_LIBJPEG=sys
24725 fi
24726
24727 if test "$wxUSE_MGL" != 1 ; then
24728 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
24729 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
24730 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
24731 if test "${ac_cv_header_jpeglib_h+set}" = set; then
24732 echo $ECHO_N "(cached) $ECHO_C" >&6
24733 else
24734 cat >conftest.$ac_ext <<_ACEOF
24735 /* confdefs.h. */
24736 _ACEOF
24737 cat confdefs.h >>conftest.$ac_ext
24738 cat >>conftest.$ac_ext <<_ACEOF
24739 /* end confdefs.h. */
24740
24741 #undef HAVE_STDLIB_H
24742 #include <stdio.h>
24743 #include <jpeglib.h>
24744
24745 int
24746 main ()
24747 {
24748
24749
24750 ;
24751 return 0;
24752 }
24753 _ACEOF
24754 rm -f conftest.$ac_objext
24755 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24756 (eval $ac_compile) 2>conftest.er1
24757 ac_status=$?
24758 grep -v '^ *+' conftest.er1 >conftest.err
24759 rm -f conftest.er1
24760 cat conftest.err >&5
24761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24762 (exit $ac_status); } &&
24763 { ac_try='test -z "$ac_c_werror_flag"
24764 || test ! -s conftest.err'
24765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24766 (eval $ac_try) 2>&5
24767 ac_status=$?
24768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24769 (exit $ac_status); }; } &&
24770 { ac_try='test -s conftest.$ac_objext'
24771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24772 (eval $ac_try) 2>&5
24773 ac_status=$?
24774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24775 (exit $ac_status); }; }; then
24776 ac_cv_header_jpeglib_h=yes
24777 else
24778 echo "$as_me: failed program was:" >&5
24779 sed 's/^/| /' conftest.$ac_ext >&5
24780
24781 ac_cv_header_jpeglib_h=no
24782
24783 fi
24784 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24785
24786 fi
24787
24788 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
24789 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
24790
24791 if test "$ac_cv_header_jpeglib_h" = "yes"; then
24792 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
24793 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
24794 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
24795 echo $ECHO_N "(cached) $ECHO_C" >&6
24796 else
24797 ac_check_lib_save_LIBS=$LIBS
24798 LIBS="-ljpeg $LIBS"
24799 cat >conftest.$ac_ext <<_ACEOF
24800 /* confdefs.h. */
24801 _ACEOF
24802 cat confdefs.h >>conftest.$ac_ext
24803 cat >>conftest.$ac_ext <<_ACEOF
24804 /* end confdefs.h. */
24805
24806 /* Override any gcc2 internal prototype to avoid an error. */
24807 #ifdef __cplusplus
24808 extern "C"
24809 #endif
24810 /* We use char because int might match the return type of a gcc2
24811 builtin and then its argument prototype would still apply. */
24812 char jpeg_read_header ();
24813 int
24814 main ()
24815 {
24816 jpeg_read_header ();
24817 ;
24818 return 0;
24819 }
24820 _ACEOF
24821 rm -f conftest.$ac_objext conftest$ac_exeext
24822 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24823 (eval $ac_link) 2>conftest.er1
24824 ac_status=$?
24825 grep -v '^ *+' conftest.er1 >conftest.err
24826 rm -f conftest.er1
24827 cat conftest.err >&5
24828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24829 (exit $ac_status); } &&
24830 { ac_try='test -z "$ac_c_werror_flag"
24831 || test ! -s conftest.err'
24832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24833 (eval $ac_try) 2>&5
24834 ac_status=$?
24835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24836 (exit $ac_status); }; } &&
24837 { ac_try='test -s conftest$ac_exeext'
24838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24839 (eval $ac_try) 2>&5
24840 ac_status=$?
24841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24842 (exit $ac_status); }; }; then
24843 ac_cv_lib_jpeg_jpeg_read_header=yes
24844 else
24845 echo "$as_me: failed program was:" >&5
24846 sed 's/^/| /' conftest.$ac_ext >&5
24847
24848 ac_cv_lib_jpeg_jpeg_read_header=no
24849 fi
24850 rm -f conftest.err conftest.$ac_objext \
24851 conftest$ac_exeext conftest.$ac_ext
24852 LIBS=$ac_check_lib_save_LIBS
24853 fi
24854 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
24855 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
24856 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
24857 JPEG_LINK=" -ljpeg"
24858 fi
24859
24860 fi
24861
24862 if test "x$JPEG_LINK" = "x" ; then
24863 if test "$wxUSE_LIBJPEG" = "sys" ; then
24864 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
24865 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
24866 { (exit 1); exit 1; }; }
24867 else
24868 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
24869 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
24870 wxUSE_LIBJPEG=builtin
24871 fi
24872 else
24873 wxUSE_LIBJPEG=sys
24874 fi
24875 fi
24876 fi
24877 fi
24878
24879
24880 TIFF_LINK=
24881 TIFF_PREREQ_LINKS=-lm
24882 if test "$wxUSE_LIBTIFF" != "no" ; then
24883 cat >>confdefs.h <<\_ACEOF
24884 #define wxUSE_LIBTIFF 1
24885 _ACEOF
24886
24887
24888 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
24889 if test "$wxUSE_LIBJPEG" = "sys"; then
24890 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
24891 fi
24892 if test "$wxUSE_ZLIB" = "sys"; then
24893 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
24894 fi
24895 if test "${ac_cv_header_tiffio_h+set}" = set; then
24896 echo "$as_me:$LINENO: checking for tiffio.h" >&5
24897 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
24898 if test "${ac_cv_header_tiffio_h+set}" = set; then
24899 echo $ECHO_N "(cached) $ECHO_C" >&6
24900 fi
24901 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
24902 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
24903 else
24904 # Is the header compilable?
24905 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
24906 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
24907 cat >conftest.$ac_ext <<_ACEOF
24908 /* confdefs.h. */
24909 _ACEOF
24910 cat confdefs.h >>conftest.$ac_ext
24911 cat >>conftest.$ac_ext <<_ACEOF
24912 /* end confdefs.h. */
24913 $ac_includes_default
24914 #include <tiffio.h>
24915 _ACEOF
24916 rm -f conftest.$ac_objext
24917 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24918 (eval $ac_compile) 2>conftest.er1
24919 ac_status=$?
24920 grep -v '^ *+' conftest.er1 >conftest.err
24921 rm -f conftest.er1
24922 cat conftest.err >&5
24923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24924 (exit $ac_status); } &&
24925 { ac_try='test -z "$ac_c_werror_flag"
24926 || 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_objext'
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_header_compiler=yes
24939 else
24940 echo "$as_me: failed program was:" >&5
24941 sed 's/^/| /' conftest.$ac_ext >&5
24942
24943 ac_header_compiler=no
24944 fi
24945 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24946 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24947 echo "${ECHO_T}$ac_header_compiler" >&6
24948
24949 # Is the header present?
24950 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
24951 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
24952 cat >conftest.$ac_ext <<_ACEOF
24953 /* confdefs.h. */
24954 _ACEOF
24955 cat confdefs.h >>conftest.$ac_ext
24956 cat >>conftest.$ac_ext <<_ACEOF
24957 /* end confdefs.h. */
24958 #include <tiffio.h>
24959 _ACEOF
24960 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24961 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
24962 ac_status=$?
24963 grep -v '^ *+' conftest.er1 >conftest.err
24964 rm -f conftest.er1
24965 cat conftest.err >&5
24966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24967 (exit $ac_status); } >/dev/null; then
24968 if test -s conftest.err; then
24969 ac_cpp_err=$ac_c_preproc_warn_flag
24970 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
24971 else
24972 ac_cpp_err=
24973 fi
24974 else
24975 ac_cpp_err=yes
24976 fi
24977 if test -z "$ac_cpp_err"; then
24978 ac_header_preproc=yes
24979 else
24980 echo "$as_me: failed program was:" >&5
24981 sed 's/^/| /' conftest.$ac_ext >&5
24982
24983 ac_header_preproc=no
24984 fi
24985 rm -f conftest.err conftest.$ac_ext
24986 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24987 echo "${ECHO_T}$ac_header_preproc" >&6
24988
24989 # So? What about this header?
24990 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24991 yes:no: )
24992 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
24993 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24994 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the compiler's result" >&5
24995 echo "$as_me: WARNING: tiffio.h: proceeding with the compiler's result" >&2;}
24996 ac_header_preproc=yes
24997 ;;
24998 no:yes:* )
24999 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
25000 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
25001 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
25002 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
25003 { echo "$as_me:$LINENO: WARNING: tiffio.h: see the Autoconf documentation" >&5
25004 echo "$as_me: WARNING: tiffio.h: see the Autoconf documentation" >&2;}
25005 { echo "$as_me:$LINENO: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&5
25006 echo "$as_me: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&2;}
25007 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
25008 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
25009 { echo "$as_me:$LINENO: WARNING: tiffio.h: in the future, the compiler will take precedence" >&5
25010 echo "$as_me: WARNING: tiffio.h: in the future, the compiler will take precedence" >&2;}
25011 (
25012 cat <<\_ASBOX
25013 ## ----------------------------------------- ##
25014 ## Report this to wx-dev@lists.wxwidgets.org ##
25015 ## ----------------------------------------- ##
25016 _ASBOX
25017 ) |
25018 sed "s/^/$as_me: WARNING: /" >&2
25019 ;;
25020 esac
25021 echo "$as_me:$LINENO: checking for tiffio.h" >&5
25022 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
25023 if test "${ac_cv_header_tiffio_h+set}" = set; then
25024 echo $ECHO_N "(cached) $ECHO_C" >&6
25025 else
25026 ac_cv_header_tiffio_h=$ac_header_preproc
25027 fi
25028 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
25029 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
25030
25031 fi
25032 if test $ac_cv_header_tiffio_h = yes; then
25033
25034 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
25035 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
25036 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
25037 echo $ECHO_N "(cached) $ECHO_C" >&6
25038 else
25039 ac_check_lib_save_LIBS=$LIBS
25040 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
25041 cat >conftest.$ac_ext <<_ACEOF
25042 /* confdefs.h. */
25043 _ACEOF
25044 cat confdefs.h >>conftest.$ac_ext
25045 cat >>conftest.$ac_ext <<_ACEOF
25046 /* end confdefs.h. */
25047
25048 /* Override any gcc2 internal prototype to avoid an error. */
25049 #ifdef __cplusplus
25050 extern "C"
25051 #endif
25052 /* We use char because int might match the return type of a gcc2
25053 builtin and then its argument prototype would still apply. */
25054 char TIFFError ();
25055 int
25056 main ()
25057 {
25058 TIFFError ();
25059 ;
25060 return 0;
25061 }
25062 _ACEOF
25063 rm -f conftest.$ac_objext conftest$ac_exeext
25064 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25065 (eval $ac_link) 2>conftest.er1
25066 ac_status=$?
25067 grep -v '^ *+' conftest.er1 >conftest.err
25068 rm -f conftest.er1
25069 cat conftest.err >&5
25070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25071 (exit $ac_status); } &&
25072 { ac_try='test -z "$ac_c_werror_flag"
25073 || test ! -s conftest.err'
25074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25075 (eval $ac_try) 2>&5
25076 ac_status=$?
25077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25078 (exit $ac_status); }; } &&
25079 { ac_try='test -s conftest$ac_exeext'
25080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25081 (eval $ac_try) 2>&5
25082 ac_status=$?
25083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25084 (exit $ac_status); }; }; then
25085 ac_cv_lib_tiff_TIFFError=yes
25086 else
25087 echo "$as_me: failed program was:" >&5
25088 sed 's/^/| /' conftest.$ac_ext >&5
25089
25090 ac_cv_lib_tiff_TIFFError=no
25091 fi
25092 rm -f conftest.err conftest.$ac_objext \
25093 conftest$ac_exeext conftest.$ac_ext
25094 LIBS=$ac_check_lib_save_LIBS
25095 fi
25096 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
25097 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
25098 if test $ac_cv_lib_tiff_TIFFError = yes; then
25099 TIFF_LINK=" -ltiff"
25100 fi
25101
25102
25103
25104 fi
25105
25106
25107
25108 if test "x$TIFF_LINK" = "x" ; then
25109 if test "$wxUSE_LIBTIFF" = "sys" ; then
25110 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
25111 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
25112 { (exit 1); exit 1; }; }
25113 else
25114 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
25115 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
25116 wxUSE_LIBTIFF=builtin
25117 fi
25118 else
25119 wxUSE_LIBTIFF=sys
25120 fi
25121 fi
25122 fi
25123
25124
25125 if test "$wxUSE_WCHAR_T" != "yes"; then
25126 if test "$wxUSE_EXPAT" != "no"; then
25127 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
25128 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
25129 wxUSE_EXPAT=no
25130 fi
25131 if test "$wxUSE_XML" != "no"; then
25132 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
25133 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
25134 wxUSE_XML=no
25135 fi
25136 fi
25137
25138 if test "$wxUSE_EXPAT" != "no"; then
25139 wxUSE_XML=yes
25140 cat >>confdefs.h <<\_ACEOF
25141 #define wxUSE_EXPAT 1
25142 _ACEOF
25143
25144 cat >>confdefs.h <<\_ACEOF
25145 #define wxUSE_XML 1
25146 _ACEOF
25147
25148
25149 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
25150 if test "${ac_cv_header_expat_h+set}" = set; then
25151 echo "$as_me:$LINENO: checking for expat.h" >&5
25152 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
25153 if test "${ac_cv_header_expat_h+set}" = set; then
25154 echo $ECHO_N "(cached) $ECHO_C" >&6
25155 fi
25156 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
25157 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
25158 else
25159 # Is the header compilable?
25160 echo "$as_me:$LINENO: checking expat.h usability" >&5
25161 echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6
25162 cat >conftest.$ac_ext <<_ACEOF
25163 /* confdefs.h. */
25164 _ACEOF
25165 cat confdefs.h >>conftest.$ac_ext
25166 cat >>conftest.$ac_ext <<_ACEOF
25167 /* end confdefs.h. */
25168 $ac_includes_default
25169 #include <expat.h>
25170 _ACEOF
25171 rm -f conftest.$ac_objext
25172 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25173 (eval $ac_compile) 2>conftest.er1
25174 ac_status=$?
25175 grep -v '^ *+' conftest.er1 >conftest.err
25176 rm -f conftest.er1
25177 cat conftest.err >&5
25178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25179 (exit $ac_status); } &&
25180 { ac_try='test -z "$ac_c_werror_flag"
25181 || test ! -s conftest.err'
25182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25183 (eval $ac_try) 2>&5
25184 ac_status=$?
25185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25186 (exit $ac_status); }; } &&
25187 { ac_try='test -s conftest.$ac_objext'
25188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25189 (eval $ac_try) 2>&5
25190 ac_status=$?
25191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25192 (exit $ac_status); }; }; then
25193 ac_header_compiler=yes
25194 else
25195 echo "$as_me: failed program was:" >&5
25196 sed 's/^/| /' conftest.$ac_ext >&5
25197
25198 ac_header_compiler=no
25199 fi
25200 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25201 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25202 echo "${ECHO_T}$ac_header_compiler" >&6
25203
25204 # Is the header present?
25205 echo "$as_me:$LINENO: checking expat.h presence" >&5
25206 echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6
25207 cat >conftest.$ac_ext <<_ACEOF
25208 /* confdefs.h. */
25209 _ACEOF
25210 cat confdefs.h >>conftest.$ac_ext
25211 cat >>conftest.$ac_ext <<_ACEOF
25212 /* end confdefs.h. */
25213 #include <expat.h>
25214 _ACEOF
25215 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25216 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
25217 ac_status=$?
25218 grep -v '^ *+' conftest.er1 >conftest.err
25219 rm -f conftest.er1
25220 cat conftest.err >&5
25221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25222 (exit $ac_status); } >/dev/null; then
25223 if test -s conftest.err; then
25224 ac_cpp_err=$ac_c_preproc_warn_flag
25225 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
25226 else
25227 ac_cpp_err=
25228 fi
25229 else
25230 ac_cpp_err=yes
25231 fi
25232 if test -z "$ac_cpp_err"; then
25233 ac_header_preproc=yes
25234 else
25235 echo "$as_me: failed program was:" >&5
25236 sed 's/^/| /' conftest.$ac_ext >&5
25237
25238 ac_header_preproc=no
25239 fi
25240 rm -f conftest.err conftest.$ac_ext
25241 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25242 echo "${ECHO_T}$ac_header_preproc" >&6
25243
25244 # So? What about this header?
25245 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
25246 yes:no: )
25247 { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
25248 echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25249 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the compiler's result" >&5
25250 echo "$as_me: WARNING: expat.h: proceeding with the compiler's result" >&2;}
25251 ac_header_preproc=yes
25252 ;;
25253 no:yes:* )
25254 { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
25255 echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
25256 { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
25257 echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
25258 { echo "$as_me:$LINENO: WARNING: expat.h: see the Autoconf documentation" >&5
25259 echo "$as_me: WARNING: expat.h: see the Autoconf documentation" >&2;}
25260 { echo "$as_me:$LINENO: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&5
25261 echo "$as_me: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&2;}
25262 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
25263 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
25264 { echo "$as_me:$LINENO: WARNING: expat.h: in the future, the compiler will take precedence" >&5
25265 echo "$as_me: WARNING: expat.h: in the future, the compiler will take precedence" >&2;}
25266 (
25267 cat <<\_ASBOX
25268 ## ----------------------------------------- ##
25269 ## Report this to wx-dev@lists.wxwidgets.org ##
25270 ## ----------------------------------------- ##
25271 _ASBOX
25272 ) |
25273 sed "s/^/$as_me: WARNING: /" >&2
25274 ;;
25275 esac
25276 echo "$as_me:$LINENO: checking for expat.h" >&5
25277 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
25278 if test "${ac_cv_header_expat_h+set}" = set; then
25279 echo $ECHO_N "(cached) $ECHO_C" >&6
25280 else
25281 ac_cv_header_expat_h=$ac_header_preproc
25282 fi
25283 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
25284 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
25285
25286 fi
25287 if test $ac_cv_header_expat_h = yes; then
25288 found_expat_h=1
25289 fi
25290
25291
25292 if test "x$found_expat_h" = "x1"; then
25293 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
25294 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
25295 if test "${wx_cv_expat_is_not_broken+set}" = set; then
25296 echo $ECHO_N "(cached) $ECHO_C" >&6
25297 else
25298
25299
25300
25301 ac_ext=cc
25302 ac_cpp='$CXXCPP $CPPFLAGS'
25303 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25304 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25305 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25306
25307 cat >conftest.$ac_ext <<_ACEOF
25308 /* confdefs.h. */
25309 _ACEOF
25310 cat confdefs.h >>conftest.$ac_ext
25311 cat >>conftest.$ac_ext <<_ACEOF
25312 /* end confdefs.h. */
25313 #include <expat.h>
25314 int
25315 main ()
25316 {
25317
25318 ;
25319 return 0;
25320 }
25321 _ACEOF
25322 rm -f conftest.$ac_objext
25323 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25324 (eval $ac_compile) 2>conftest.er1
25325 ac_status=$?
25326 grep -v '^ *+' conftest.er1 >conftest.err
25327 rm -f conftest.er1
25328 cat conftest.err >&5
25329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25330 (exit $ac_status); } &&
25331 { ac_try='test -z "$ac_cxx_werror_flag"
25332 || test ! -s conftest.err'
25333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25334 (eval $ac_try) 2>&5
25335 ac_status=$?
25336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25337 (exit $ac_status); }; } &&
25338 { ac_try='test -s conftest.$ac_objext'
25339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25340 (eval $ac_try) 2>&5
25341 ac_status=$?
25342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25343 (exit $ac_status); }; }; then
25344 wx_cv_expat_is_not_broken=yes
25345 else
25346 echo "$as_me: failed program was:" >&5
25347 sed 's/^/| /' conftest.$ac_ext >&5
25348
25349 wx_cv_expat_is_not_broken=no
25350
25351 fi
25352 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25353 ac_ext=c
25354 ac_cpp='$CPP $CPPFLAGS'
25355 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25356 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25357 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25358
25359
25360
25361 fi
25362 echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
25363 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
25364 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
25365 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
25366 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
25367 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
25368 echo $ECHO_N "(cached) $ECHO_C" >&6
25369 else
25370 ac_check_lib_save_LIBS=$LIBS
25371 LIBS="-lexpat $LIBS"
25372 cat >conftest.$ac_ext <<_ACEOF
25373 /* confdefs.h. */
25374 _ACEOF
25375 cat confdefs.h >>conftest.$ac_ext
25376 cat >>conftest.$ac_ext <<_ACEOF
25377 /* end confdefs.h. */
25378
25379 /* Override any gcc2 internal prototype to avoid an error. */
25380 #ifdef __cplusplus
25381 extern "C"
25382 #endif
25383 /* We use char because int might match the return type of a gcc2
25384 builtin and then its argument prototype would still apply. */
25385 char XML_ParserCreate ();
25386 int
25387 main ()
25388 {
25389 XML_ParserCreate ();
25390 ;
25391 return 0;
25392 }
25393 _ACEOF
25394 rm -f conftest.$ac_objext conftest$ac_exeext
25395 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25396 (eval $ac_link) 2>conftest.er1
25397 ac_status=$?
25398 grep -v '^ *+' conftest.er1 >conftest.err
25399 rm -f conftest.er1
25400 cat conftest.err >&5
25401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25402 (exit $ac_status); } &&
25403 { ac_try='test -z "$ac_c_werror_flag"
25404 || test ! -s conftest.err'
25405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25406 (eval $ac_try) 2>&5
25407 ac_status=$?
25408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25409 (exit $ac_status); }; } &&
25410 { ac_try='test -s conftest$ac_exeext'
25411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25412 (eval $ac_try) 2>&5
25413 ac_status=$?
25414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25415 (exit $ac_status); }; }; then
25416 ac_cv_lib_expat_XML_ParserCreate=yes
25417 else
25418 echo "$as_me: failed program was:" >&5
25419 sed 's/^/| /' conftest.$ac_ext >&5
25420
25421 ac_cv_lib_expat_XML_ParserCreate=no
25422 fi
25423 rm -f conftest.err conftest.$ac_objext \
25424 conftest$ac_exeext conftest.$ac_ext
25425 LIBS=$ac_check_lib_save_LIBS
25426 fi
25427 echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
25428 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
25429 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
25430 EXPAT_LINK=" -lexpat"
25431 fi
25432
25433 fi
25434 fi
25435 if test "x$EXPAT_LINK" = "x" ; then
25436 if test "$wxUSE_EXPAT" = "sys" ; then
25437 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
25438 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
25439 { (exit 1); exit 1; }; }
25440 else
25441 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
25442 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
25443 wxUSE_EXPAT=builtin
25444 fi
25445 else
25446 wxUSE_EXPAT=sys
25447 fi
25448 fi
25449 if test "$wxUSE_EXPAT" = "builtin" ; then
25450
25451
25452 subdirs="$subdirs src/expat"
25453
25454 fi
25455 fi
25456
25457
25458
25459 if test "$wxUSE_LIBMSPACK" != "no"; then
25460 if test "${ac_cv_header_mspack_h+set}" = set; then
25461 echo "$as_me:$LINENO: checking for mspack.h" >&5
25462 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
25463 if test "${ac_cv_header_mspack_h+set}" = set; then
25464 echo $ECHO_N "(cached) $ECHO_C" >&6
25465 fi
25466 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
25467 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
25468 else
25469 # Is the header compilable?
25470 echo "$as_me:$LINENO: checking mspack.h usability" >&5
25471 echo $ECHO_N "checking mspack.h usability... $ECHO_C" >&6
25472 cat >conftest.$ac_ext <<_ACEOF
25473 /* confdefs.h. */
25474 _ACEOF
25475 cat confdefs.h >>conftest.$ac_ext
25476 cat >>conftest.$ac_ext <<_ACEOF
25477 /* end confdefs.h. */
25478 $ac_includes_default
25479 #include <mspack.h>
25480 _ACEOF
25481 rm -f conftest.$ac_objext
25482 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25483 (eval $ac_compile) 2>conftest.er1
25484 ac_status=$?
25485 grep -v '^ *+' conftest.er1 >conftest.err
25486 rm -f conftest.er1
25487 cat conftest.err >&5
25488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25489 (exit $ac_status); } &&
25490 { ac_try='test -z "$ac_c_werror_flag"
25491 || test ! -s conftest.err'
25492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25493 (eval $ac_try) 2>&5
25494 ac_status=$?
25495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25496 (exit $ac_status); }; } &&
25497 { ac_try='test -s conftest.$ac_objext'
25498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25499 (eval $ac_try) 2>&5
25500 ac_status=$?
25501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25502 (exit $ac_status); }; }; then
25503 ac_header_compiler=yes
25504 else
25505 echo "$as_me: failed program was:" >&5
25506 sed 's/^/| /' conftest.$ac_ext >&5
25507
25508 ac_header_compiler=no
25509 fi
25510 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25511 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25512 echo "${ECHO_T}$ac_header_compiler" >&6
25513
25514 # Is the header present?
25515 echo "$as_me:$LINENO: checking mspack.h presence" >&5
25516 echo $ECHO_N "checking mspack.h presence... $ECHO_C" >&6
25517 cat >conftest.$ac_ext <<_ACEOF
25518 /* confdefs.h. */
25519 _ACEOF
25520 cat confdefs.h >>conftest.$ac_ext
25521 cat >>conftest.$ac_ext <<_ACEOF
25522 /* end confdefs.h. */
25523 #include <mspack.h>
25524 _ACEOF
25525 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25526 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
25527 ac_status=$?
25528 grep -v '^ *+' conftest.er1 >conftest.err
25529 rm -f conftest.er1
25530 cat conftest.err >&5
25531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25532 (exit $ac_status); } >/dev/null; then
25533 if test -s conftest.err; then
25534 ac_cpp_err=$ac_c_preproc_warn_flag
25535 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
25536 else
25537 ac_cpp_err=
25538 fi
25539 else
25540 ac_cpp_err=yes
25541 fi
25542 if test -z "$ac_cpp_err"; then
25543 ac_header_preproc=yes
25544 else
25545 echo "$as_me: failed program was:" >&5
25546 sed 's/^/| /' conftest.$ac_ext >&5
25547
25548 ac_header_preproc=no
25549 fi
25550 rm -f conftest.err conftest.$ac_ext
25551 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25552 echo "${ECHO_T}$ac_header_preproc" >&6
25553
25554 # So? What about this header?
25555 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
25556 yes:no: )
25557 { echo "$as_me:$LINENO: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&5
25558 echo "$as_me: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25559 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the compiler's result" >&5
25560 echo "$as_me: WARNING: mspack.h: proceeding with the compiler's result" >&2;}
25561 ac_header_preproc=yes
25562 ;;
25563 no:yes:* )
25564 { echo "$as_me:$LINENO: WARNING: mspack.h: present but cannot be compiled" >&5
25565 echo "$as_me: WARNING: mspack.h: present but cannot be compiled" >&2;}
25566 { echo "$as_me:$LINENO: WARNING: mspack.h: check for missing prerequisite headers?" >&5
25567 echo "$as_me: WARNING: mspack.h: check for missing prerequisite headers?" >&2;}
25568 { echo "$as_me:$LINENO: WARNING: mspack.h: see the Autoconf documentation" >&5
25569 echo "$as_me: WARNING: mspack.h: see the Autoconf documentation" >&2;}
25570 { echo "$as_me:$LINENO: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&5
25571 echo "$as_me: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&2;}
25572 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the preprocessor's result" >&5
25573 echo "$as_me: WARNING: mspack.h: proceeding with the preprocessor's result" >&2;}
25574 { echo "$as_me:$LINENO: WARNING: mspack.h: in the future, the compiler will take precedence" >&5
25575 echo "$as_me: WARNING: mspack.h: in the future, the compiler will take precedence" >&2;}
25576 (
25577 cat <<\_ASBOX
25578 ## ----------------------------------------- ##
25579 ## Report this to wx-dev@lists.wxwidgets.org ##
25580 ## ----------------------------------------- ##
25581 _ASBOX
25582 ) |
25583 sed "s/^/$as_me: WARNING: /" >&2
25584 ;;
25585 esac
25586 echo "$as_me:$LINENO: checking for mspack.h" >&5
25587 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
25588 if test "${ac_cv_header_mspack_h+set}" = set; then
25589 echo $ECHO_N "(cached) $ECHO_C" >&6
25590 else
25591 ac_cv_header_mspack_h=$ac_header_preproc
25592 fi
25593 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
25594 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
25595
25596 fi
25597 if test $ac_cv_header_mspack_h = yes; then
25598 found_mspack_h=1
25599 fi
25600
25601
25602 if test "x$found_mspack_h" = "x1"; then
25603 echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
25604 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6
25605 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
25606 echo $ECHO_N "(cached) $ECHO_C" >&6
25607 else
25608 ac_check_lib_save_LIBS=$LIBS
25609 LIBS="-lmspack $LIBS"
25610 cat >conftest.$ac_ext <<_ACEOF
25611 /* confdefs.h. */
25612 _ACEOF
25613 cat confdefs.h >>conftest.$ac_ext
25614 cat >>conftest.$ac_ext <<_ACEOF
25615 /* end confdefs.h. */
25616
25617 /* Override any gcc2 internal prototype to avoid an error. */
25618 #ifdef __cplusplus
25619 extern "C"
25620 #endif
25621 /* We use char because int might match the return type of a gcc2
25622 builtin and then its argument prototype would still apply. */
25623 char mspack_create_chm_decompressor ();
25624 int
25625 main ()
25626 {
25627 mspack_create_chm_decompressor ();
25628 ;
25629 return 0;
25630 }
25631 _ACEOF
25632 rm -f conftest.$ac_objext conftest$ac_exeext
25633 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25634 (eval $ac_link) 2>conftest.er1
25635 ac_status=$?
25636 grep -v '^ *+' conftest.er1 >conftest.err
25637 rm -f conftest.er1
25638 cat conftest.err >&5
25639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25640 (exit $ac_status); } &&
25641 { ac_try='test -z "$ac_c_werror_flag"
25642 || test ! -s conftest.err'
25643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25644 (eval $ac_try) 2>&5
25645 ac_status=$?
25646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25647 (exit $ac_status); }; } &&
25648 { ac_try='test -s conftest$ac_exeext'
25649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25650 (eval $ac_try) 2>&5
25651 ac_status=$?
25652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25653 (exit $ac_status); }; }; then
25654 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
25655 else
25656 echo "$as_me: failed program was:" >&5
25657 sed 's/^/| /' conftest.$ac_ext >&5
25658
25659 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
25660 fi
25661 rm -f conftest.err conftest.$ac_objext \
25662 conftest$ac_exeext conftest.$ac_ext
25663 LIBS=$ac_check_lib_save_LIBS
25664 fi
25665 echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
25666 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6
25667 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
25668 MSPACK_LINK=" -lmspack"
25669 fi
25670
25671 fi
25672 if test "x$MSPACK_LINK" = "x" ; then
25673 wxUSE_LIBMSPACK=no
25674 fi
25675 fi
25676
25677 if test "$wxUSE_LIBMSPACK" != "no"; then
25678 cat >>confdefs.h <<\_ACEOF
25679 #define wxUSE_LIBMSPACK 1
25680 _ACEOF
25681
25682 fi
25683
25684
25685
25686 AFMINSTALL=
25687 WIN32INSTALL=
25688
25689 TOOLKIT=
25690 TOOLKIT_INCLUDE=
25691 WIDGET_SET=
25692
25693 if test "$USE_WIN32" = 1 ; then
25694
25695 for ac_header in w32api.h
25696 do
25697 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
25698 if eval "test \"\${$as_ac_Header+set}\" = set"; then
25699 echo "$as_me:$LINENO: checking for $ac_header" >&5
25700 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
25701 if eval "test \"\${$as_ac_Header+set}\" = set"; then
25702 echo $ECHO_N "(cached) $ECHO_C" >&6
25703 fi
25704 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
25705 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
25706 else
25707 # Is the header compilable?
25708 echo "$as_me:$LINENO: checking $ac_header usability" >&5
25709 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
25710 cat >conftest.$ac_ext <<_ACEOF
25711 /* confdefs.h. */
25712 _ACEOF
25713 cat confdefs.h >>conftest.$ac_ext
25714 cat >>conftest.$ac_ext <<_ACEOF
25715 /* end confdefs.h. */
25716 $ac_includes_default
25717 #include <$ac_header>
25718 _ACEOF
25719 rm -f conftest.$ac_objext
25720 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25721 (eval $ac_compile) 2>conftest.er1
25722 ac_status=$?
25723 grep -v '^ *+' conftest.er1 >conftest.err
25724 rm -f conftest.er1
25725 cat conftest.err >&5
25726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25727 (exit $ac_status); } &&
25728 { ac_try='test -z "$ac_c_werror_flag"
25729 || test ! -s conftest.err'
25730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25731 (eval $ac_try) 2>&5
25732 ac_status=$?
25733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25734 (exit $ac_status); }; } &&
25735 { ac_try='test -s conftest.$ac_objext'
25736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25737 (eval $ac_try) 2>&5
25738 ac_status=$?
25739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25740 (exit $ac_status); }; }; then
25741 ac_header_compiler=yes
25742 else
25743 echo "$as_me: failed program was:" >&5
25744 sed 's/^/| /' conftest.$ac_ext >&5
25745
25746 ac_header_compiler=no
25747 fi
25748 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25749 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25750 echo "${ECHO_T}$ac_header_compiler" >&6
25751
25752 # Is the header present?
25753 echo "$as_me:$LINENO: checking $ac_header presence" >&5
25754 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
25755 cat >conftest.$ac_ext <<_ACEOF
25756 /* confdefs.h. */
25757 _ACEOF
25758 cat confdefs.h >>conftest.$ac_ext
25759 cat >>conftest.$ac_ext <<_ACEOF
25760 /* end confdefs.h. */
25761 #include <$ac_header>
25762 _ACEOF
25763 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25764 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
25765 ac_status=$?
25766 grep -v '^ *+' conftest.er1 >conftest.err
25767 rm -f conftest.er1
25768 cat conftest.err >&5
25769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25770 (exit $ac_status); } >/dev/null; then
25771 if test -s conftest.err; then
25772 ac_cpp_err=$ac_c_preproc_warn_flag
25773 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
25774 else
25775 ac_cpp_err=
25776 fi
25777 else
25778 ac_cpp_err=yes
25779 fi
25780 if test -z "$ac_cpp_err"; then
25781 ac_header_preproc=yes
25782 else
25783 echo "$as_me: failed program was:" >&5
25784 sed 's/^/| /' conftest.$ac_ext >&5
25785
25786 ac_header_preproc=no
25787 fi
25788 rm -f conftest.err conftest.$ac_ext
25789 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25790 echo "${ECHO_T}$ac_header_preproc" >&6
25791
25792 # So? What about this header?
25793 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
25794 yes:no: )
25795 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
25796 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
25797 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
25798 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
25799 ac_header_preproc=yes
25800 ;;
25801 no:yes:* )
25802 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
25803 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
25804 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
25805 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
25806 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
25807 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
25808 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
25809 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
25810 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
25811 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
25812 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
25813 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
25814 (
25815 cat <<\_ASBOX
25816 ## ----------------------------------------- ##
25817 ## Report this to wx-dev@lists.wxwidgets.org ##
25818 ## ----------------------------------------- ##
25819 _ASBOX
25820 ) |
25821 sed "s/^/$as_me: WARNING: /" >&2
25822 ;;
25823 esac
25824 echo "$as_me:$LINENO: checking for $ac_header" >&5
25825 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
25826 if eval "test \"\${$as_ac_Header+set}\" = set"; then
25827 echo $ECHO_N "(cached) $ECHO_C" >&6
25828 else
25829 eval "$as_ac_Header=\$ac_header_preproc"
25830 fi
25831 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
25832 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
25833
25834 fi
25835 if test `eval echo '${'$as_ac_Header'}'` = yes; then
25836 cat >>confdefs.h <<_ACEOF
25837 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
25838 _ACEOF
25839
25840 fi
25841
25842 done
25843
25844 if test "${ac_cv_header_windows_h+set}" = set; then
25845 echo "$as_me:$LINENO: checking for windows.h" >&5
25846 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
25847 if test "${ac_cv_header_windows_h+set}" = set; then
25848 echo $ECHO_N "(cached) $ECHO_C" >&6
25849 fi
25850 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
25851 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
25852 else
25853 # Is the header compilable?
25854 echo "$as_me:$LINENO: checking windows.h usability" >&5
25855 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
25856 cat >conftest.$ac_ext <<_ACEOF
25857 /* confdefs.h. */
25858 _ACEOF
25859 cat confdefs.h >>conftest.$ac_ext
25860 cat >>conftest.$ac_ext <<_ACEOF
25861 /* end confdefs.h. */
25862 $ac_includes_default
25863 #include <windows.h>
25864 _ACEOF
25865 rm -f conftest.$ac_objext
25866 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25867 (eval $ac_compile) 2>conftest.er1
25868 ac_status=$?
25869 grep -v '^ *+' conftest.er1 >conftest.err
25870 rm -f conftest.er1
25871 cat conftest.err >&5
25872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25873 (exit $ac_status); } &&
25874 { ac_try='test -z "$ac_c_werror_flag"
25875 || test ! -s conftest.err'
25876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25877 (eval $ac_try) 2>&5
25878 ac_status=$?
25879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25880 (exit $ac_status); }; } &&
25881 { ac_try='test -s conftest.$ac_objext'
25882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25883 (eval $ac_try) 2>&5
25884 ac_status=$?
25885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25886 (exit $ac_status); }; }; then
25887 ac_header_compiler=yes
25888 else
25889 echo "$as_me: failed program was:" >&5
25890 sed 's/^/| /' conftest.$ac_ext >&5
25891
25892 ac_header_compiler=no
25893 fi
25894 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25895 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25896 echo "${ECHO_T}$ac_header_compiler" >&6
25897
25898 # Is the header present?
25899 echo "$as_me:$LINENO: checking windows.h presence" >&5
25900 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
25901 cat >conftest.$ac_ext <<_ACEOF
25902 /* confdefs.h. */
25903 _ACEOF
25904 cat confdefs.h >>conftest.$ac_ext
25905 cat >>conftest.$ac_ext <<_ACEOF
25906 /* end confdefs.h. */
25907 #include <windows.h>
25908 _ACEOF
25909 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25910 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
25911 ac_status=$?
25912 grep -v '^ *+' conftest.er1 >conftest.err
25913 rm -f conftest.er1
25914 cat conftest.err >&5
25915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25916 (exit $ac_status); } >/dev/null; then
25917 if test -s conftest.err; then
25918 ac_cpp_err=$ac_c_preproc_warn_flag
25919 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
25920 else
25921 ac_cpp_err=
25922 fi
25923 else
25924 ac_cpp_err=yes
25925 fi
25926 if test -z "$ac_cpp_err"; then
25927 ac_header_preproc=yes
25928 else
25929 echo "$as_me: failed program was:" >&5
25930 sed 's/^/| /' conftest.$ac_ext >&5
25931
25932 ac_header_preproc=no
25933 fi
25934 rm -f conftest.err conftest.$ac_ext
25935 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25936 echo "${ECHO_T}$ac_header_preproc" >&6
25937
25938 # So? What about this header?
25939 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
25940 yes:no: )
25941 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
25942 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25943 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the compiler's result" >&5
25944 echo "$as_me: WARNING: windows.h: proceeding with the compiler's result" >&2;}
25945 ac_header_preproc=yes
25946 ;;
25947 no:yes:* )
25948 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
25949 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
25950 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
25951 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
25952 { echo "$as_me:$LINENO: WARNING: windows.h: see the Autoconf documentation" >&5
25953 echo "$as_me: WARNING: windows.h: see the Autoconf documentation" >&2;}
25954 { echo "$as_me:$LINENO: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&5
25955 echo "$as_me: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&2;}
25956 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
25957 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
25958 { echo "$as_me:$LINENO: WARNING: windows.h: in the future, the compiler will take precedence" >&5
25959 echo "$as_me: WARNING: windows.h: in the future, the compiler will take precedence" >&2;}
25960 (
25961 cat <<\_ASBOX
25962 ## ----------------------------------------- ##
25963 ## Report this to wx-dev@lists.wxwidgets.org ##
25964 ## ----------------------------------------- ##
25965 _ASBOX
25966 ) |
25967 sed "s/^/$as_me: WARNING: /" >&2
25968 ;;
25969 esac
25970 echo "$as_me:$LINENO: checking for windows.h" >&5
25971 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
25972 if test "${ac_cv_header_windows_h+set}" = set; then
25973 echo $ECHO_N "(cached) $ECHO_C" >&6
25974 else
25975 ac_cv_header_windows_h=$ac_header_preproc
25976 fi
25977 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
25978 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
25979
25980 fi
25981 if test $ac_cv_header_windows_h = yes; then
25982 :
25983 else
25984
25985 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
25986 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
25987 { (exit 1); exit 1; }; }
25988
25989 fi
25990
25991
25992
25993 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
25994
25995 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
25996 LIBS="$LIBS -loleacc"
25997 fi
25998
25999 case "${host}" in
26000 *-*-cygwin* )
26001 LIBS="$LIBS -lkernel32 -luser32"
26002 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WIN95__"
26003 esac
26004
26005 if test "$wxUSE_ODBC" = "sys" ; then
26006 wxUSE_ODBC = "yes"
26007 fi
26008 if test "$wxUSE_ODBC" = "yes" ; then
26009 LIBS=" -lodbc32 -lole32 -loleaut32 $LIBS"
26010 cat >>confdefs.h <<\_ACEOF
26011 #define wxUSE_ODBC 1
26012 _ACEOF
26013
26014 fi
26015
26016 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
26017 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
26018
26019 WIN32INSTALL=win32install
26020 fi
26021
26022 if test "$wxUSE_GUI" = "yes"; then
26023 USE_GUI=1
26024
26025 GUI_TK_LIBRARY=
26026
26027 WXGTK12=
26028 WXGTK127=
26029 WXGTK20=
26030 WXGPE=
26031
26032 if test "$wxUSE_COCOA" = 1 ; then
26033 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
26034 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
26035 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
26036 wxUSE_PRINTING_ARCHITECTURE=no
26037 fi
26038 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
26039 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
26040 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
26041 wxUSE_DRAG_AND_DROP=no
26042 fi
26043 if test "$wxUSE_DRAGIMAGE" = "yes"; then
26044 { echo "$as_me:$LINENO: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&5
26045 echo "$as_me: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&2;}
26046 wxUSE_DRAGIMAGE=no
26047 fi
26048 fi
26049
26050 if test "$wxUSE_MSW" = 1 ; then
26051 TOOLKIT=MSW
26052 GUIDIST=MSW_DIST
26053
26054 case "${host}" in
26055 *-*-mingw32* )
26056 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
26057 esac
26058 fi
26059
26060 if test "$wxUSE_GTK" = 1; then
26061 echo "$as_me:$LINENO: checking for GTK+ version" >&5
26062 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
26063
26064 gtk_version_cached=1
26065 if test "${wx_cv_lib_gtk+set}" = set; then
26066 echo $ECHO_N "(cached) $ECHO_C" >&6
26067 else
26068
26069 gtk_version_cached=0
26070 echo "$as_me:$LINENO: result: " >&5
26071 echo "${ECHO_T}" >&6
26072
26073 GTK_MODULES=
26074 if test "$wxUSE_THREADS" = "yes"; then
26075 GTK_MODULES=gthread
26076 fi
26077
26078 wx_cv_lib_gtk=
26079 if test "x$wxGTK_VERSION" != "x1"
26080 then
26081 case "${host}" in
26082 *-*-solaris2* )
26083 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
26084 enable_gtktest=no
26085 fi
26086 esac
26087
26088 # Check whether --enable-gtktest or --disable-gtktest was given.
26089 if test "${enable_gtktest+set}" = set; then
26090 enableval="$enable_gtktest"
26091
26092 else
26093 enable_gtktest=yes
26094 fi;
26095
26096 pkg_config_args=gtk+-2.0
26097 for module in . $GTK_MODULES
26098 do
26099 case "$module" in
26100 gthread)
26101 pkg_config_args="$pkg_config_args gthread-2.0"
26102 ;;
26103 esac
26104 done
26105
26106 no_gtk=""
26107
26108 # Extract the first word of "pkg-config", so it can be a program name with args.
26109 set dummy pkg-config; ac_word=$2
26110 echo "$as_me:$LINENO: checking for $ac_word" >&5
26111 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
26112 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
26113 echo $ECHO_N "(cached) $ECHO_C" >&6
26114 else
26115 case $PKG_CONFIG in
26116 [\\/]* | ?:[\\/]*)
26117 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
26118 ;;
26119 *)
26120 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26121 for as_dir in $PATH
26122 do
26123 IFS=$as_save_IFS
26124 test -z "$as_dir" && as_dir=.
26125 for ac_exec_ext in '' $ac_executable_extensions; do
26126 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
26127 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
26128 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
26129 break 2
26130 fi
26131 done
26132 done
26133
26134 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
26135 ;;
26136 esac
26137 fi
26138 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
26139
26140 if test -n "$PKG_CONFIG"; then
26141 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
26142 echo "${ECHO_T}$PKG_CONFIG" >&6
26143 else
26144 echo "$as_me:$LINENO: result: no" >&5
26145 echo "${ECHO_T}no" >&6
26146 fi
26147
26148
26149 if test x$PKG_CONFIG != xno ; then
26150 if pkg-config --atleast-pkgconfig-version 0.7 ; then
26151 :
26152 else
26153 echo "*** pkg-config too old; version 0.7 or better required."
26154 no_gtk=yes
26155 PKG_CONFIG=no
26156 fi
26157 else
26158 no_gtk=yes
26159 fi
26160
26161 min_gtk_version=2.0.0
26162 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
26163 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
26164
26165 if test x$PKG_CONFIG != xno ; then
26166 ## don't try to run the test against uninstalled libtool libs
26167 if $PKG_CONFIG --uninstalled $pkg_config_args; then
26168 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
26169 enable_gtktest=no
26170 fi
26171
26172 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
26173 :
26174 else
26175 no_gtk=yes
26176 fi
26177 fi
26178
26179 if test x"$no_gtk" = x ; then
26180 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
26181 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
26182 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
26183 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
26184 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
26185 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
26186 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
26187 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
26188 if test "x$enable_gtktest" = "xyes" ; then
26189 ac_save_CFLAGS="$CFLAGS"
26190 ac_save_LIBS="$LIBS"
26191 CFLAGS="$CFLAGS $GTK_CFLAGS"
26192 LIBS="$GTK_LIBS $LIBS"
26193 rm -f conf.gtktest
26194 if test "$cross_compiling" = yes; then
26195 echo $ac_n "cross compiling; assumed OK... $ac_c"
26196 else
26197 cat >conftest.$ac_ext <<_ACEOF
26198 /* confdefs.h. */
26199 _ACEOF
26200 cat confdefs.h >>conftest.$ac_ext
26201 cat >>conftest.$ac_ext <<_ACEOF
26202 /* end confdefs.h. */
26203
26204 #include <gtk/gtk.h>
26205 #include <stdio.h>
26206 #include <stdlib.h>
26207
26208 int
26209 main ()
26210 {
26211 int major, minor, micro;
26212 char *tmp_version;
26213
26214 system ("touch conf.gtktest");
26215
26216 /* HP/UX 9 (%@#!) writes to sscanf strings */
26217 tmp_version = g_strdup("$min_gtk_version");
26218 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
26219 printf("%s, bad version string\n", "$min_gtk_version");
26220 exit(1);
26221 }
26222
26223 if ((gtk_major_version != $gtk_config_major_version) ||
26224 (gtk_minor_version != $gtk_config_minor_version) ||
26225 (gtk_micro_version != $gtk_config_micro_version))
26226 {
26227 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
26228 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
26229 gtk_major_version, gtk_minor_version, gtk_micro_version);
26230 printf ("*** was found! If pkg-config was correct, then it is best\n");
26231 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
26232 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
26233 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
26234 printf("*** required on your system.\n");
26235 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
26236 printf("*** to point to the correct configuration files\n");
26237 }
26238 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
26239 (gtk_minor_version != GTK_MINOR_VERSION) ||
26240 (gtk_micro_version != GTK_MICRO_VERSION))
26241 {
26242 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
26243 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
26244 printf("*** library (version %d.%d.%d)\n",
26245 gtk_major_version, gtk_minor_version, gtk_micro_version);
26246 }
26247 else
26248 {
26249 if ((gtk_major_version > major) ||
26250 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
26251 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
26252 {
26253 return 0;
26254 }
26255 else
26256 {
26257 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
26258 gtk_major_version, gtk_minor_version, gtk_micro_version);
26259 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
26260 major, minor, micro);
26261 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
26262 printf("***\n");
26263 printf("*** If you have already installed a sufficiently new version, this error\n");
26264 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
26265 printf("*** being found. The easiest way to fix this is to remove the old version\n");
26266 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
26267 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
26268 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
26269 printf("*** so that the correct libraries are found at run-time))\n");
26270 }
26271 }
26272 return 1;
26273 }
26274
26275 _ACEOF
26276 rm -f conftest$ac_exeext
26277 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26278 (eval $ac_link) 2>&5
26279 ac_status=$?
26280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26281 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
26282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26283 (eval $ac_try) 2>&5
26284 ac_status=$?
26285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26286 (exit $ac_status); }; }; then
26287 :
26288 else
26289 echo "$as_me: program exited with status $ac_status" >&5
26290 echo "$as_me: failed program was:" >&5
26291 sed 's/^/| /' conftest.$ac_ext >&5
26292
26293 ( exit $ac_status )
26294 no_gtk=yes
26295 fi
26296 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26297 fi
26298 CFLAGS="$ac_save_CFLAGS"
26299 LIBS="$ac_save_LIBS"
26300 fi
26301 fi
26302 if test "x$no_gtk" = x ; then
26303 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
26304 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
26305 wx_cv_lib_gtk=2.0
26306 else
26307 echo "$as_me:$LINENO: result: no" >&5
26308 echo "${ECHO_T}no" >&6
26309 if test "$PKG_CONFIG" = "no" ; then
26310 echo "*** A new enough version of pkg-config was not found."
26311 echo "*** See http://pkgconfig.sourceforge.net"
26312 else
26313 if test -f conf.gtktest ; then
26314 :
26315 else
26316 echo "*** Could not run GTK+ test program, checking why..."
26317 ac_save_CFLAGS="$CFLAGS"
26318 ac_save_LIBS="$LIBS"
26319 CFLAGS="$CFLAGS $GTK_CFLAGS"
26320 LIBS="$LIBS $GTK_LIBS"
26321 cat >conftest.$ac_ext <<_ACEOF
26322 /* confdefs.h. */
26323 _ACEOF
26324 cat confdefs.h >>conftest.$ac_ext
26325 cat >>conftest.$ac_ext <<_ACEOF
26326 /* end confdefs.h. */
26327
26328 #include <gtk/gtk.h>
26329 #include <stdio.h>
26330
26331 int
26332 main ()
26333 {
26334 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
26335 ;
26336 return 0;
26337 }
26338 _ACEOF
26339 rm -f conftest.$ac_objext conftest$ac_exeext
26340 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26341 (eval $ac_link) 2>conftest.er1
26342 ac_status=$?
26343 grep -v '^ *+' conftest.er1 >conftest.err
26344 rm -f conftest.er1
26345 cat conftest.err >&5
26346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26347 (exit $ac_status); } &&
26348 { ac_try='test -z "$ac_c_werror_flag"
26349 || test ! -s conftest.err'
26350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26351 (eval $ac_try) 2>&5
26352 ac_status=$?
26353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26354 (exit $ac_status); }; } &&
26355 { ac_try='test -s conftest$ac_exeext'
26356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26357 (eval $ac_try) 2>&5
26358 ac_status=$?
26359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26360 (exit $ac_status); }; }; then
26361 echo "*** The test program compiled, but did not run. This usually means"
26362 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
26363 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
26364 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
26365 echo "*** to the installed location Also, make sure you have run ldconfig if that"
26366 echo "*** is required on your system"
26367 echo "***"
26368 echo "*** If you have an old version installed, it is best to remove it, although"
26369 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
26370 else
26371 echo "$as_me: failed program was:" >&5
26372 sed 's/^/| /' conftest.$ac_ext >&5
26373
26374 echo "*** The test program failed to compile or link. See the file config.log for the"
26375 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
26376 fi
26377 rm -f conftest.err conftest.$ac_objext \
26378 conftest$ac_exeext conftest.$ac_ext
26379 CFLAGS="$ac_save_CFLAGS"
26380 LIBS="$ac_save_LIBS"
26381 fi
26382 fi
26383 GTK_CFLAGS=""
26384 GTK_LIBS=""
26385 :
26386 fi
26387
26388
26389 rm -f conf.gtktest
26390
26391
26392 case "${host}" in
26393 *-*-solaris2* )
26394 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
26395 GTK_CFLAGS=`echo $GTK_CFLAGS | sed 's/-mt//'`
26396 GTK_LIBS=`echo $GTK_LIBS | sed 's/-mt//'`
26397 fi
26398 if test "$wxUSE_SHARED" != "yes"; then
26399 GTK_LIBS="$GTK_LIBS -lX11"
26400 fi
26401 esac
26402 fi
26403
26404 if test -z "$wx_cv_lib_gtk"; then
26405 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
26406
26407 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
26408 if test "${with_gtk_prefix+set}" = set; then
26409 withval="$with_gtk_prefix"
26410 gtk_config_prefix="$withval"
26411 else
26412 gtk_config_prefix=""
26413 fi;
26414
26415 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
26416 if test "${with_gtk_exec_prefix+set}" = set; then
26417 withval="$with_gtk_exec_prefix"
26418 gtk_config_exec_prefix="$withval"
26419 else
26420 gtk_config_exec_prefix=""
26421 fi;
26422 # Check whether --enable-gtktest or --disable-gtktest was given.
26423 if test "${enable_gtktest+set}" = set; then
26424 enableval="$enable_gtktest"
26425
26426 else
26427 enable_gtktest=yes
26428 fi;
26429
26430 for module in . $GTK_MODULES
26431 do
26432 case "$module" in
26433 gthread)
26434 gtk_config_args="$gtk_config_args gthread"
26435 ;;
26436 esac
26437 done
26438
26439 if test x$gtk_config_exec_prefix != x ; then
26440 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
26441 if test x${GTK_CONFIG+set} != xset ; then
26442 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
26443 fi
26444 fi
26445 if test x$gtk_config_prefix != x ; then
26446 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
26447 if test x${GTK_CONFIG+set} != xset ; then
26448 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
26449 fi
26450 fi
26451
26452 # Extract the first word of "gtk-config", so it can be a program name with args.
26453 set dummy gtk-config; ac_word=$2
26454 echo "$as_me:$LINENO: checking for $ac_word" >&5
26455 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
26456 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
26457 echo $ECHO_N "(cached) $ECHO_C" >&6
26458 else
26459 case $GTK_CONFIG in
26460 [\\/]* | ?:[\\/]*)
26461 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
26462 ;;
26463 *)
26464 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26465 for as_dir in $PATH
26466 do
26467 IFS=$as_save_IFS
26468 test -z "$as_dir" && as_dir=.
26469 for ac_exec_ext in '' $ac_executable_extensions; do
26470 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
26471 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
26472 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
26473 break 2
26474 fi
26475 done
26476 done
26477
26478 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
26479 ;;
26480 esac
26481 fi
26482 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
26483
26484 if test -n "$GTK_CONFIG"; then
26485 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
26486 echo "${ECHO_T}$GTK_CONFIG" >&6
26487 else
26488 echo "$as_me:$LINENO: result: no" >&5
26489 echo "${ECHO_T}no" >&6
26490 fi
26491
26492 min_gtk_version=1.2.7
26493 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
26494 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
26495 no_gtk=""
26496 if test "$GTK_CONFIG" = "no" ; then
26497 no_gtk=yes
26498 else
26499 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
26500 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
26501 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
26502 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
26503 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
26504 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
26505 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
26506 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
26507 if test "x$enable_gtktest" = "xyes" ; then
26508 ac_save_CFLAGS="$CFLAGS"
26509 ac_save_LIBS="$LIBS"
26510 CFLAGS="$CFLAGS $GTK_CFLAGS"
26511 LIBS="$GTK_LIBS $LIBS"
26512 rm -f conf.gtktest
26513 if test "$cross_compiling" = yes; then
26514 echo $ac_n "cross compiling; assumed OK... $ac_c"
26515 else
26516 cat >conftest.$ac_ext <<_ACEOF
26517 /* confdefs.h. */
26518 _ACEOF
26519 cat confdefs.h >>conftest.$ac_ext
26520 cat >>conftest.$ac_ext <<_ACEOF
26521 /* end confdefs.h. */
26522
26523 #include <gtk/gtk.h>
26524 #include <stdio.h>
26525 #include <stdlib.h>
26526
26527 int
26528 main ()
26529 {
26530 int major, minor, micro;
26531 char *tmp_version;
26532
26533 system ("touch conf.gtktest");
26534
26535 /* HP/UX 9 (%@#!) writes to sscanf strings */
26536 tmp_version = g_strdup("$min_gtk_version");
26537 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
26538 printf("%s, bad version string\n", "$min_gtk_version");
26539 exit(1);
26540 }
26541
26542 if ((gtk_major_version != $gtk_config_major_version) ||
26543 (gtk_minor_version != $gtk_config_minor_version) ||
26544 (gtk_micro_version != $gtk_config_micro_version))
26545 {
26546 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
26547 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
26548 gtk_major_version, gtk_minor_version, gtk_micro_version);
26549 printf ("*** was found! If gtk-config was correct, then it is best\n");
26550 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
26551 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
26552 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
26553 printf("*** required on your system.\n");
26554 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
26555 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
26556 printf("*** before re-running configure\n");
26557 }
26558 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
26559 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
26560 (gtk_minor_version != GTK_MINOR_VERSION) ||
26561 (gtk_micro_version != GTK_MICRO_VERSION))
26562 {
26563 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
26564 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
26565 printf("*** library (version %d.%d.%d)\n",
26566 gtk_major_version, gtk_minor_version, gtk_micro_version);
26567 }
26568 #endif /* defined (GTK_MAJOR_VERSION) ... */
26569 else
26570 {
26571 if ((gtk_major_version > major) ||
26572 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
26573 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
26574 {
26575 return 0;
26576 }
26577 else
26578 {
26579 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
26580 gtk_major_version, gtk_minor_version, gtk_micro_version);
26581 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
26582 major, minor, micro);
26583 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
26584 printf("***\n");
26585 printf("*** If you have already installed a sufficiently new version, this error\n");
26586 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
26587 printf("*** being found. The easiest way to fix this is to remove the old version\n");
26588 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
26589 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
26590 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
26591 printf("*** so that the correct libraries are found at run-time))\n");
26592 }
26593 }
26594 return 1;
26595 }
26596
26597 _ACEOF
26598 rm -f conftest$ac_exeext
26599 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26600 (eval $ac_link) 2>&5
26601 ac_status=$?
26602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26603 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
26604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26605 (eval $ac_try) 2>&5
26606 ac_status=$?
26607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26608 (exit $ac_status); }; }; then
26609 :
26610 else
26611 echo "$as_me: program exited with status $ac_status" >&5
26612 echo "$as_me: failed program was:" >&5
26613 sed 's/^/| /' conftest.$ac_ext >&5
26614
26615 ( exit $ac_status )
26616 no_gtk=yes
26617 fi
26618 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26619 fi
26620 CFLAGS="$ac_save_CFLAGS"
26621 LIBS="$ac_save_LIBS"
26622 fi
26623 fi
26624 if test "x$no_gtk" = x ; then
26625 echo "$as_me:$LINENO: result: yes" >&5
26626 echo "${ECHO_T}yes" >&6
26627 wx_cv_lib_gtk=1.2.7
26628 else
26629 echo "$as_me:$LINENO: result: no" >&5
26630 echo "${ECHO_T}no" >&6
26631 if test "$GTK_CONFIG" = "no" ; then
26632 echo "*** The gtk-config script installed by GTK could not be found"
26633 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
26634 echo "*** your path, or set the GTK_CONFIG environment variable to the"
26635 echo "*** full path to gtk-config."
26636 else
26637 if test -f conf.gtktest ; then
26638 :
26639 else
26640 echo "*** Could not run GTK test program, checking why..."
26641 CFLAGS="$CFLAGS $GTK_CFLAGS"
26642 LIBS="$LIBS $GTK_LIBS"
26643 cat >conftest.$ac_ext <<_ACEOF
26644 /* confdefs.h. */
26645 _ACEOF
26646 cat confdefs.h >>conftest.$ac_ext
26647 cat >>conftest.$ac_ext <<_ACEOF
26648 /* end confdefs.h. */
26649
26650 #include <gtk/gtk.h>
26651 #include <stdio.h>
26652
26653 int
26654 main ()
26655 {
26656 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
26657 ;
26658 return 0;
26659 }
26660 _ACEOF
26661 rm -f conftest.$ac_objext conftest$ac_exeext
26662 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26663 (eval $ac_link) 2>conftest.er1
26664 ac_status=$?
26665 grep -v '^ *+' conftest.er1 >conftest.err
26666 rm -f conftest.er1
26667 cat conftest.err >&5
26668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26669 (exit $ac_status); } &&
26670 { ac_try='test -z "$ac_c_werror_flag"
26671 || test ! -s conftest.err'
26672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26673 (eval $ac_try) 2>&5
26674 ac_status=$?
26675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26676 (exit $ac_status); }; } &&
26677 { ac_try='test -s conftest$ac_exeext'
26678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26679 (eval $ac_try) 2>&5
26680 ac_status=$?
26681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26682 (exit $ac_status); }; }; then
26683 echo "*** The test program compiled, but did not run. This usually means"
26684 echo "*** that the run-time linker is not finding GTK or finding the wrong"
26685 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
26686 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
26687 echo "*** to the installed location Also, make sure you have run ldconfig if that"
26688 echo "*** is required on your system"
26689 echo "***"
26690 echo "*** If you have an old version installed, it is best to remove it, although"
26691 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
26692 echo "***"
26693 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
26694 echo "*** came with the system with the command"
26695 echo "***"
26696 echo "*** rpm --erase --nodeps gtk gtk-devel"
26697 else
26698 echo "$as_me: failed program was:" >&5
26699 sed 's/^/| /' conftest.$ac_ext >&5
26700
26701 echo "*** The test program failed to compile or link. See the file config.log for the"
26702 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
26703 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
26704 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
26705 fi
26706 rm -f conftest.err conftest.$ac_objext \
26707 conftest$ac_exeext conftest.$ac_ext
26708 CFLAGS="$ac_save_CFLAGS"
26709 LIBS="$ac_save_LIBS"
26710 fi
26711 fi
26712 GTK_CFLAGS=""
26713 GTK_LIBS=""
26714 :
26715 fi
26716
26717
26718 rm -f conf.gtktest
26719
26720
26721 if test -z "$wx_cv_lib_gtk"; then
26722
26723 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
26724 if test "${with_gtk_prefix+set}" = set; then
26725 withval="$with_gtk_prefix"
26726 gtk_config_prefix="$withval"
26727 else
26728 gtk_config_prefix=""
26729 fi;
26730
26731 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
26732 if test "${with_gtk_exec_prefix+set}" = set; then
26733 withval="$with_gtk_exec_prefix"
26734 gtk_config_exec_prefix="$withval"
26735 else
26736 gtk_config_exec_prefix=""
26737 fi;
26738 # Check whether --enable-gtktest or --disable-gtktest was given.
26739 if test "${enable_gtktest+set}" = set; then
26740 enableval="$enable_gtktest"
26741
26742 else
26743 enable_gtktest=yes
26744 fi;
26745
26746 for module in . $GTK_MODULES
26747 do
26748 case "$module" in
26749 gthread)
26750 gtk_config_args="$gtk_config_args gthread"
26751 ;;
26752 esac
26753 done
26754
26755 if test x$gtk_config_exec_prefix != x ; then
26756 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
26757 if test x${GTK_CONFIG+set} != xset ; then
26758 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
26759 fi
26760 fi
26761 if test x$gtk_config_prefix != x ; then
26762 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
26763 if test x${GTK_CONFIG+set} != xset ; then
26764 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
26765 fi
26766 fi
26767
26768 # Extract the first word of "gtk-config", so it can be a program name with args.
26769 set dummy gtk-config; ac_word=$2
26770 echo "$as_me:$LINENO: checking for $ac_word" >&5
26771 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
26772 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
26773 echo $ECHO_N "(cached) $ECHO_C" >&6
26774 else
26775 case $GTK_CONFIG in
26776 [\\/]* | ?:[\\/]*)
26777 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
26778 ;;
26779 *)
26780 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26781 for as_dir in $PATH
26782 do
26783 IFS=$as_save_IFS
26784 test -z "$as_dir" && as_dir=.
26785 for ac_exec_ext in '' $ac_executable_extensions; do
26786 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
26787 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
26788 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
26789 break 2
26790 fi
26791 done
26792 done
26793
26794 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
26795 ;;
26796 esac
26797 fi
26798 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
26799
26800 if test -n "$GTK_CONFIG"; then
26801 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
26802 echo "${ECHO_T}$GTK_CONFIG" >&6
26803 else
26804 echo "$as_me:$LINENO: result: no" >&5
26805 echo "${ECHO_T}no" >&6
26806 fi
26807
26808 min_gtk_version=1.2.3
26809 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
26810 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
26811 no_gtk=""
26812 if test "$GTK_CONFIG" = "no" ; then
26813 no_gtk=yes
26814 else
26815 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
26816 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
26817 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
26818 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
26819 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
26820 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
26821 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
26822 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
26823 if test "x$enable_gtktest" = "xyes" ; then
26824 ac_save_CFLAGS="$CFLAGS"
26825 ac_save_LIBS="$LIBS"
26826 CFLAGS="$CFLAGS $GTK_CFLAGS"
26827 LIBS="$GTK_LIBS $LIBS"
26828 rm -f conf.gtktest
26829 if test "$cross_compiling" = yes; then
26830 echo $ac_n "cross compiling; assumed OK... $ac_c"
26831 else
26832 cat >conftest.$ac_ext <<_ACEOF
26833 /* confdefs.h. */
26834 _ACEOF
26835 cat confdefs.h >>conftest.$ac_ext
26836 cat >>conftest.$ac_ext <<_ACEOF
26837 /* end confdefs.h. */
26838
26839 #include <gtk/gtk.h>
26840 #include <stdio.h>
26841 #include <stdlib.h>
26842
26843 int
26844 main ()
26845 {
26846 int major, minor, micro;
26847 char *tmp_version;
26848
26849 system ("touch conf.gtktest");
26850
26851 /* HP/UX 9 (%@#!) writes to sscanf strings */
26852 tmp_version = g_strdup("$min_gtk_version");
26853 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
26854 printf("%s, bad version string\n", "$min_gtk_version");
26855 exit(1);
26856 }
26857
26858 if ((gtk_major_version != $gtk_config_major_version) ||
26859 (gtk_minor_version != $gtk_config_minor_version) ||
26860 (gtk_micro_version != $gtk_config_micro_version))
26861 {
26862 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
26863 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
26864 gtk_major_version, gtk_minor_version, gtk_micro_version);
26865 printf ("*** was found! If gtk-config was correct, then it is best\n");
26866 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
26867 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
26868 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
26869 printf("*** required on your system.\n");
26870 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
26871 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
26872 printf("*** before re-running configure\n");
26873 }
26874 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
26875 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
26876 (gtk_minor_version != GTK_MINOR_VERSION) ||
26877 (gtk_micro_version != GTK_MICRO_VERSION))
26878 {
26879 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
26880 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
26881 printf("*** library (version %d.%d.%d)\n",
26882 gtk_major_version, gtk_minor_version, gtk_micro_version);
26883 }
26884 #endif /* defined (GTK_MAJOR_VERSION) ... */
26885 else
26886 {
26887 if ((gtk_major_version > major) ||
26888 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
26889 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
26890 {
26891 return 0;
26892 }
26893 else
26894 {
26895 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
26896 gtk_major_version, gtk_minor_version, gtk_micro_version);
26897 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
26898 major, minor, micro);
26899 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
26900 printf("***\n");
26901 printf("*** If you have already installed a sufficiently new version, this error\n");
26902 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
26903 printf("*** being found. The easiest way to fix this is to remove the old version\n");
26904 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
26905 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
26906 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
26907 printf("*** so that the correct libraries are found at run-time))\n");
26908 }
26909 }
26910 return 1;
26911 }
26912
26913 _ACEOF
26914 rm -f conftest$ac_exeext
26915 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26916 (eval $ac_link) 2>&5
26917 ac_status=$?
26918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26919 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
26920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26921 (eval $ac_try) 2>&5
26922 ac_status=$?
26923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26924 (exit $ac_status); }; }; then
26925 :
26926 else
26927 echo "$as_me: program exited with status $ac_status" >&5
26928 echo "$as_me: failed program was:" >&5
26929 sed 's/^/| /' conftest.$ac_ext >&5
26930
26931 ( exit $ac_status )
26932 no_gtk=yes
26933 fi
26934 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26935 fi
26936 CFLAGS="$ac_save_CFLAGS"
26937 LIBS="$ac_save_LIBS"
26938 fi
26939 fi
26940 if test "x$no_gtk" = x ; then
26941 echo "$as_me:$LINENO: result: yes" >&5
26942 echo "${ECHO_T}yes" >&6
26943 wx_cv_lib_gtk=1.2.3
26944 else
26945 echo "$as_me:$LINENO: result: no" >&5
26946 echo "${ECHO_T}no" >&6
26947 if test "$GTK_CONFIG" = "no" ; then
26948 echo "*** The gtk-config script installed by GTK could not be found"
26949 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
26950 echo "*** your path, or set the GTK_CONFIG environment variable to the"
26951 echo "*** full path to gtk-config."
26952 else
26953 if test -f conf.gtktest ; then
26954 :
26955 else
26956 echo "*** Could not run GTK test program, checking why..."
26957 CFLAGS="$CFLAGS $GTK_CFLAGS"
26958 LIBS="$LIBS $GTK_LIBS"
26959 cat >conftest.$ac_ext <<_ACEOF
26960 /* confdefs.h. */
26961 _ACEOF
26962 cat confdefs.h >>conftest.$ac_ext
26963 cat >>conftest.$ac_ext <<_ACEOF
26964 /* end confdefs.h. */
26965
26966 #include <gtk/gtk.h>
26967 #include <stdio.h>
26968
26969 int
26970 main ()
26971 {
26972 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
26973 ;
26974 return 0;
26975 }
26976 _ACEOF
26977 rm -f conftest.$ac_objext conftest$ac_exeext
26978 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26979 (eval $ac_link) 2>conftest.er1
26980 ac_status=$?
26981 grep -v '^ *+' conftest.er1 >conftest.err
26982 rm -f conftest.er1
26983 cat conftest.err >&5
26984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26985 (exit $ac_status); } &&
26986 { ac_try='test -z "$ac_c_werror_flag"
26987 || test ! -s conftest.err'
26988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26989 (eval $ac_try) 2>&5
26990 ac_status=$?
26991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26992 (exit $ac_status); }; } &&
26993 { ac_try='test -s conftest$ac_exeext'
26994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26995 (eval $ac_try) 2>&5
26996 ac_status=$?
26997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26998 (exit $ac_status); }; }; then
26999 echo "*** The test program compiled, but did not run. This usually means"
27000 echo "*** that the run-time linker is not finding GTK or finding the wrong"
27001 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
27002 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
27003 echo "*** to the installed location Also, make sure you have run ldconfig if that"
27004 echo "*** is required on your system"
27005 echo "***"
27006 echo "*** If you have an old version installed, it is best to remove it, although"
27007 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
27008 echo "***"
27009 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
27010 echo "*** came with the system with the command"
27011 echo "***"
27012 echo "*** rpm --erase --nodeps gtk gtk-devel"
27013 else
27014 echo "$as_me: failed program was:" >&5
27015 sed 's/^/| /' conftest.$ac_ext >&5
27016
27017 echo "*** The test program failed to compile or link. See the file config.log for the"
27018 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
27019 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
27020 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
27021 fi
27022 rm -f conftest.err conftest.$ac_objext \
27023 conftest$ac_exeext conftest.$ac_ext
27024 CFLAGS="$ac_save_CFLAGS"
27025 LIBS="$ac_save_LIBS"
27026 fi
27027 fi
27028 GTK_CFLAGS=""
27029 GTK_LIBS=""
27030 :
27031 fi
27032
27033
27034 rm -f conf.gtktest
27035
27036 fi
27037 fi
27038 fi
27039
27040 if test -z "$wx_cv_lib_gtk"; then
27041 wx_cv_lib_gtk=none
27042 else
27043 wx_cv_cflags_gtk=$GTK_CFLAGS
27044 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's/ -l[^ ]*cairo[^ ]*//g'`
27045 fi
27046
27047
27048 fi
27049
27050
27051 if test "$gtk_version_cached" = 1; then
27052 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
27053 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
27054 fi
27055
27056 case "$wx_cv_lib_gtk" in
27057 2.0) WXGTK20=1
27058 TOOLKIT_VERSION=2
27059 ;;
27060 1.2.7) WXGTK127=1
27061 WXGTK12=1
27062 ;;
27063 1.2.3) WXGTK12=1
27064 ;;
27065 *) { { echo "$as_me:$LINENO: error:
27066 The development files for GTK+ were not found. For GTK+ 2, please
27067 ensure that pkg-config is in the path and that gtk+-2.0.pc is
27068 installed. For GTK+ 1.2 please check that gtk-config is in the path,
27069 and that the version is 1.2.3 or above. Also check that the
27070 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
27071 --libs' are in the LD_LIBRARY_PATH or equivalent.
27072 " >&5
27073 echo "$as_me: error:
27074 The development files for GTK+ were not found. For GTK+ 2, please
27075 ensure that pkg-config is in the path and that gtk+-2.0.pc is
27076 installed. For GTK+ 1.2 please check that gtk-config is in the path,
27077 and that the version is 1.2.3 or above. Also check that the
27078 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
27079 --libs' are in the LD_LIBRARY_PATH or equivalent.
27080 " >&2;}
27081 { (exit 1); exit 1; }; }
27082 ;;
27083 esac
27084
27085 if test "$WXGTK20" = 1; then
27086 save_CFLAGS="$CFLAGS"
27087 save_LIBS="$LIBS"
27088 CFLAGS="$CFLAGS $wx_cv_cflags_gtk"
27089 LIBS="$LIBS $wx_cv_libs_gtk"
27090
27091 echo "$as_me:$LINENO: checking if gtk_icon_size_lookup is missing" >&5
27092 echo $ECHO_N "checking if gtk_icon_size_lookup is missing... $ECHO_C" >&6
27093 cat >conftest.$ac_ext <<_ACEOF
27094 /* confdefs.h. */
27095 _ACEOF
27096 cat confdefs.h >>conftest.$ac_ext
27097 cat >>conftest.$ac_ext <<_ACEOF
27098 /* end confdefs.h. */
27099
27100 #include <gtk/gtk.h>
27101
27102 int
27103 main ()
27104 {
27105
27106 void *f = gtk_icon_size_lookup;
27107
27108 ;
27109 return 0;
27110 }
27111 _ACEOF
27112 rm -f conftest.$ac_objext
27113 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27114 (eval $ac_compile) 2>conftest.er1
27115 ac_status=$?
27116 grep -v '^ *+' conftest.er1 >conftest.err
27117 rm -f conftest.er1
27118 cat conftest.err >&5
27119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27120 (exit $ac_status); } &&
27121 { ac_try='test -z "$ac_c_werror_flag"
27122 || test ! -s conftest.err'
27123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27124 (eval $ac_try) 2>&5
27125 ac_status=$?
27126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27127 (exit $ac_status); }; } &&
27128 { ac_try='test -s conftest.$ac_objext'
27129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27130 (eval $ac_try) 2>&5
27131 ac_status=$?
27132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27133 (exit $ac_status); }; }; then
27134
27135 echo "$as_me:$LINENO: result: no" >&5
27136 echo "${ECHO_T}no" >&6
27137
27138 else
27139 echo "$as_me: failed program was:" >&5
27140 sed 's/^/| /' conftest.$ac_ext >&5
27141
27142
27143 cat >>confdefs.h <<\_ACEOF
27144 #define NEED_GTK_ICON_SIZE_LOOKUP 1
27145 _ACEOF
27146
27147 echo "$as_me:$LINENO: result: yes" >&5
27148 echo "${ECHO_T}yes" >&6
27149
27150 fi
27151 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27152
27153 echo "$as_me:$LINENO: checking if GTK+ is version >= 2.4" >&5
27154 echo $ECHO_N "checking if GTK+ is version >= 2.4... $ECHO_C" >&6
27155 cat >conftest.$ac_ext <<_ACEOF
27156 /* confdefs.h. */
27157 _ACEOF
27158 cat confdefs.h >>conftest.$ac_ext
27159 cat >>conftest.$ac_ext <<_ACEOF
27160 /* end confdefs.h. */
27161
27162 #include <gtk/gtk.h>
27163
27164 int
27165 main ()
27166 {
27167
27168 #if !GTK_CHECK_VERSION(2,4,0)
27169 Not GTK+ 2.4
27170 #endif
27171
27172 ;
27173 return 0;
27174 }
27175 _ACEOF
27176 rm -f conftest.$ac_objext
27177 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27178 (eval $ac_compile) 2>conftest.er1
27179 ac_status=$?
27180 grep -v '^ *+' conftest.er1 >conftest.err
27181 rm -f conftest.er1
27182 cat conftest.err >&5
27183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27184 (exit $ac_status); } &&
27185 { ac_try='test -z "$ac_c_werror_flag"
27186 || test ! -s conftest.err'
27187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27188 (eval $ac_try) 2>&5
27189 ac_status=$?
27190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27191 (exit $ac_status); }; } &&
27192 { ac_try='test -s conftest.$ac_objext'
27193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27194 (eval $ac_try) 2>&5
27195 ac_status=$?
27196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27197 (exit $ac_status); }; }; then
27198
27199 cat >>confdefs.h <<\_ACEOF
27200 #define __WXGTK24__ 1
27201 _ACEOF
27202
27203 echo "$as_me:$LINENO: result: yes" >&5
27204 echo "${ECHO_T}yes" >&6
27205
27206 else
27207 echo "$as_me: failed program was:" >&5
27208 sed 's/^/| /' conftest.$ac_ext >&5
27209
27210
27211 echo "$as_me:$LINENO: result: no" >&5
27212 echo "${ECHO_T}no" >&6
27213
27214 fi
27215 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27216
27217 CFLAGS="$save_CFLAGS"
27218 LIBS="$save_LIBS"
27219 else
27220 if test "$wxUSE_UNICODE" = "yes"; then
27221 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
27222 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
27223 wxUSE_UNICODE=no
27224 fi
27225 fi
27226
27227 if test "$USE_DARWIN" != 1; then
27228
27229 for ac_func in poll
27230 do
27231 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27232 echo "$as_me:$LINENO: checking for $ac_func" >&5
27233 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27234 if eval "test \"\${$as_ac_var+set}\" = set"; then
27235 echo $ECHO_N "(cached) $ECHO_C" >&6
27236 else
27237 cat >conftest.$ac_ext <<_ACEOF
27238 /* confdefs.h. */
27239 _ACEOF
27240 cat confdefs.h >>conftest.$ac_ext
27241 cat >>conftest.$ac_ext <<_ACEOF
27242 /* end confdefs.h. */
27243 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27244 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27245 #define $ac_func innocuous_$ac_func
27246
27247 /* System header to define __stub macros and hopefully few prototypes,
27248 which can conflict with char $ac_func (); below.
27249 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27250 <limits.h> exists even on freestanding compilers. */
27251
27252 #ifdef __STDC__
27253 # include <limits.h>
27254 #else
27255 # include <assert.h>
27256 #endif
27257
27258 #undef $ac_func
27259
27260 /* Override any gcc2 internal prototype to avoid an error. */
27261 #ifdef __cplusplus
27262 extern "C"
27263 {
27264 #endif
27265 /* We use char because int might match the return type of a gcc2
27266 builtin and then its argument prototype would still apply. */
27267 char $ac_func ();
27268 /* The GNU C library defines this for functions which it implements
27269 to always fail with ENOSYS. Some functions are actually named
27270 something starting with __ and the normal name is an alias. */
27271 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27272 choke me
27273 #else
27274 char (*f) () = $ac_func;
27275 #endif
27276 #ifdef __cplusplus
27277 }
27278 #endif
27279
27280 int
27281 main ()
27282 {
27283 return f != $ac_func;
27284 ;
27285 return 0;
27286 }
27287 _ACEOF
27288 rm -f conftest.$ac_objext conftest$ac_exeext
27289 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27290 (eval $ac_link) 2>conftest.er1
27291 ac_status=$?
27292 grep -v '^ *+' conftest.er1 >conftest.err
27293 rm -f conftest.er1
27294 cat conftest.err >&5
27295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27296 (exit $ac_status); } &&
27297 { ac_try='test -z "$ac_c_werror_flag"
27298 || test ! -s conftest.err'
27299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27300 (eval $ac_try) 2>&5
27301 ac_status=$?
27302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27303 (exit $ac_status); }; } &&
27304 { ac_try='test -s conftest$ac_exeext'
27305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27306 (eval $ac_try) 2>&5
27307 ac_status=$?
27308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27309 (exit $ac_status); }; }; then
27310 eval "$as_ac_var=yes"
27311 else
27312 echo "$as_me: failed program was:" >&5
27313 sed 's/^/| /' conftest.$ac_ext >&5
27314
27315 eval "$as_ac_var=no"
27316 fi
27317 rm -f conftest.err conftest.$ac_objext \
27318 conftest$ac_exeext conftest.$ac_ext
27319 fi
27320 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27321 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27322 if test `eval echo '${'$as_ac_var'}'` = yes; then
27323 cat >>confdefs.h <<_ACEOF
27324 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27325 _ACEOF
27326
27327 fi
27328 done
27329
27330 fi
27331
27332 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
27333 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
27334
27335 AFMINSTALL=afminstall
27336 TOOLKIT=GTK
27337 GUIDIST=GTK_DIST
27338
27339 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
27340 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
27341 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
27342 echo $ECHO_N "(cached) $ECHO_C" >&6
27343 else
27344 ac_check_lib_save_LIBS=$LIBS
27345 LIBS="-lgdk $LIBS"
27346 cat >conftest.$ac_ext <<_ACEOF
27347 /* confdefs.h. */
27348 _ACEOF
27349 cat confdefs.h >>conftest.$ac_ext
27350 cat >>conftest.$ac_ext <<_ACEOF
27351 /* end confdefs.h. */
27352
27353 /* Override any gcc2 internal prototype to avoid an error. */
27354 #ifdef __cplusplus
27355 extern "C"
27356 #endif
27357 /* We use char because int might match the return type of a gcc2
27358 builtin and then its argument prototype would still apply. */
27359 char gdk_im_open ();
27360 int
27361 main ()
27362 {
27363 gdk_im_open ();
27364 ;
27365 return 0;
27366 }
27367 _ACEOF
27368 rm -f conftest.$ac_objext conftest$ac_exeext
27369 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27370 (eval $ac_link) 2>conftest.er1
27371 ac_status=$?
27372 grep -v '^ *+' conftest.er1 >conftest.err
27373 rm -f conftest.er1
27374 cat conftest.err >&5
27375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27376 (exit $ac_status); } &&
27377 { ac_try='test -z "$ac_c_werror_flag"
27378 || test ! -s conftest.err'
27379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27380 (eval $ac_try) 2>&5
27381 ac_status=$?
27382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27383 (exit $ac_status); }; } &&
27384 { ac_try='test -s conftest$ac_exeext'
27385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27386 (eval $ac_try) 2>&5
27387 ac_status=$?
27388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27389 (exit $ac_status); }; }; then
27390 ac_cv_lib_gdk_gdk_im_open=yes
27391 else
27392 echo "$as_me: failed program was:" >&5
27393 sed 's/^/| /' conftest.$ac_ext >&5
27394
27395 ac_cv_lib_gdk_gdk_im_open=no
27396 fi
27397 rm -f conftest.err conftest.$ac_objext \
27398 conftest$ac_exeext conftest.$ac_ext
27399 LIBS=$ac_check_lib_save_LIBS
27400 fi
27401 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
27402 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
27403 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
27404 cat >>confdefs.h <<\_ACEOF
27405 #define HAVE_XIM 1
27406 _ACEOF
27407
27408 fi
27409
27410
27411
27412 if test "$wxUSE_GPE" = "yes"; then
27413 echo "$as_me:$LINENO: checking for gpewidget library" >&5
27414 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6
27415
27416 ac_find_libraries=
27417 for ac_dir in $SEARCH_LIB;
27418 do
27419 for ac_extension in a so sl dylib dll.a; do
27420 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
27421 ac_find_libraries=$ac_dir
27422 break 2
27423 fi
27424 done
27425 done
27426
27427 if test "$ac_find_libraries" != "" ; then
27428
27429 if test "$ac_find_libraries" = "default location"; then
27430 ac_path_to_link=""
27431 else
27432 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
27433 result=$?
27434 if test $result = 0; then
27435 ac_path_to_link=""
27436 else
27437 ac_path_to_link=" -L$ac_find_libraries"
27438 fi
27439 fi
27440
27441 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
27442 WXGPE=1
27443 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
27444 echo "${ECHO_T}found in $ac_find_libraries" >&6
27445 else
27446 echo "$as_me:$LINENO: result: not found" >&5
27447 echo "${ECHO_T}not found" >&6
27448 fi
27449
27450 fi
27451 fi
27452
27453 if test "$wxUSE_MGL" = 1; then
27454 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
27455 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
27456 if test "x$MGL_ROOT" = x ; then
27457 echo "$as_me:$LINENO: result: not found" >&5
27458 echo "${ECHO_T}not found" >&6
27459 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
27460 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
27461 { (exit 1); exit 1; }; }
27462 else
27463 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
27464 echo "${ECHO_T}$MGL_ROOT" >&6
27465 fi
27466
27467 echo "$as_me:$LINENO: checking for libmgl location" >&5
27468 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
27469 case "${host}" in
27470 *-*-linux* )
27471 if test "x$wxUSE_SHARED" = xyes ; then
27472 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
27473 else
27474 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
27475 fi
27476 ;;
27477 *-pc-msdosdjgpp )
27478 mgl_os_candidates="dos32/dj2"
27479 ;;
27480 *)
27481 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
27482 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
27483 { (exit 1); exit 1; }; }
27484 esac
27485
27486 mgl_lib_type=""
27487 mgl_os=""
27488
27489 for mgl_os_i in $mgl_os_candidates ; do
27490 if test "x$mgl_os" = x ; then
27491 if test "$wxUSE_DEBUG_FLAG" = yes ; then
27492 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
27493 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
27494 mgl_lib_type=debug
27495 mgl_os=$mgl_os_i
27496 fi
27497 fi
27498 if test "x$mgl_lib_type" = x ; then
27499 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
27500 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
27501 mgl_lib_type=release
27502 mgl_os=$mgl_os_i
27503 fi
27504 fi
27505 fi
27506 done
27507
27508 if test "x$mgl_os" = x ; then
27509 echo "$as_me:$LINENO: result: not found" >&5
27510 echo "${ECHO_T}not found" >&6
27511 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
27512 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
27513 { (exit 1); exit 1; }; }
27514 fi
27515 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
27516 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
27517
27518 wxUSE_UNIVERSAL="yes"
27519
27520 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
27521 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
27522
27523 AFMINSTALL=afminstall
27524 TOOLKIT=MGL
27525 GUIDIST=MGL_DIST
27526 fi
27527
27528 if test "$wxUSE_MICROWIN" = 1; then
27529 echo "$as_me:$LINENO: checking for MicroWindows" >&5
27530 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
27531 if test "x$MICROWINDOWS" = x ; then
27532 echo "$as_me:$LINENO: result: not found" >&5
27533 echo "${ECHO_T}not found" >&6
27534 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
27535 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
27536 { (exit 1); exit 1; }; }
27537 else
27538 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
27539 echo "${ECHO_T}$MICROWINDOWS" >&6
27540 fi
27541
27542 if test -f $MICROWINDOWS/lib/libmwin.a; then
27543 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
27544 echo "${ECHO_T}MicroWindows' libraries found." >&6
27545 else
27546 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
27547 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
27548 { (exit 1); exit 1; }; }
27549 fi
27550
27551 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
27552 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
27553
27554 wxUSE_UNIVERSAL="yes"
27555
27556 AFMINSTALL=afminstall
27557 TOOLKIT=MICROWIN
27558 GUIDIST=MICROWIN_DIST
27559
27560 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
27561 fi
27562
27563 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
27564 echo "$as_me:$LINENO: checking for X" >&5
27565 echo $ECHO_N "checking for X... $ECHO_C" >&6
27566
27567
27568 # Check whether --with-x or --without-x was given.
27569 if test "${with_x+set}" = set; then
27570 withval="$with_x"
27571
27572 fi;
27573 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
27574 if test "x$with_x" = xno; then
27575 # The user explicitly disabled X.
27576 have_x=disabled
27577 else
27578 if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then
27579 # Both variables are already set.
27580 have_x=yes
27581 else
27582 if test "${ac_cv_have_x+set}" = set; then
27583 echo $ECHO_N "(cached) $ECHO_C" >&6
27584 else
27585 # One or both of the vars are not set, and there is no cached value.
27586 ac_x_includes=no ac_x_libraries=no
27587 rm -fr conftest.dir
27588 if mkdir conftest.dir; then
27589 cd conftest.dir
27590 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
27591 cat >Imakefile <<'_ACEOF'
27592 acfindx:
27593 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
27594 _ACEOF
27595 if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
27596 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
27597 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
27598 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
27599 for ac_extension in a so sl; do
27600 if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
27601 test -f $ac_im_libdir/libX11.$ac_extension; then
27602 ac_im_usrlibdir=$ac_im_libdir; break
27603 fi
27604 done
27605 # Screen out bogus values from the imake configuration. They are
27606 # bogus both because they are the default anyway, and because
27607 # using them would break gcc on systems where it needs fixed includes.
27608 case $ac_im_incroot in
27609 /usr/include) ;;
27610 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
27611 esac
27612 case $ac_im_usrlibdir in
27613 /usr/lib | /lib) ;;
27614 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
27615 esac
27616 fi
27617 cd ..
27618 rm -fr conftest.dir
27619 fi
27620
27621 # Standard set of common directories for X headers.
27622 # Check X11 before X11Rn because it is often a symlink to the current release.
27623 ac_x_header_dirs='
27624 /usr/X11/include
27625 /usr/X11R6/include
27626 /usr/X11R5/include
27627 /usr/X11R4/include
27628
27629 /usr/include/X11
27630 /usr/include/X11R6
27631 /usr/include/X11R5
27632 /usr/include/X11R4
27633
27634 /usr/local/X11/include
27635 /usr/local/X11R6/include
27636 /usr/local/X11R5/include
27637 /usr/local/X11R4/include
27638
27639 /usr/local/include/X11
27640 /usr/local/include/X11R6
27641 /usr/local/include/X11R5
27642 /usr/local/include/X11R4
27643
27644 /usr/X386/include
27645 /usr/x386/include
27646 /usr/XFree86/include/X11
27647
27648 /usr/include
27649 /usr/local/include
27650 /usr/unsupported/include
27651 /usr/athena/include
27652 /usr/local/x11r5/include
27653 /usr/lpp/Xamples/include
27654
27655 /usr/openwin/include
27656 /usr/openwin/share/include'
27657
27658 if test "$ac_x_includes" = no; then
27659 # Guess where to find include files, by looking for Intrinsic.h.
27660 # First, try using that file with no special directory specified.
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 #include <X11/Intrinsic.h>
27668 _ACEOF
27669 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27670 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
27671 ac_status=$?
27672 grep -v '^ *+' conftest.er1 >conftest.err
27673 rm -f conftest.er1
27674 cat conftest.err >&5
27675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27676 (exit $ac_status); } >/dev/null; then
27677 if test -s conftest.err; then
27678 ac_cpp_err=$ac_c_preproc_warn_flag
27679 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
27680 else
27681 ac_cpp_err=
27682 fi
27683 else
27684 ac_cpp_err=yes
27685 fi
27686 if test -z "$ac_cpp_err"; then
27687 # We can compile using X headers with no special include directory.
27688 ac_x_includes=
27689 else
27690 echo "$as_me: failed program was:" >&5
27691 sed 's/^/| /' conftest.$ac_ext >&5
27692
27693 for ac_dir in $ac_x_header_dirs; do
27694 if test -r "$ac_dir/X11/Intrinsic.h"; then
27695 ac_x_includes=$ac_dir
27696 break
27697 fi
27698 done
27699 fi
27700 rm -f conftest.err conftest.$ac_ext
27701 fi # $ac_x_includes = no
27702
27703 if test "$ac_x_libraries" = no; then
27704 # Check for the libraries.
27705 # See if we find them without any special options.
27706 # Don't add to $LIBS permanently.
27707 ac_save_LIBS=$LIBS
27708 LIBS="-lXt $LIBS"
27709 cat >conftest.$ac_ext <<_ACEOF
27710 /* confdefs.h. */
27711 _ACEOF
27712 cat confdefs.h >>conftest.$ac_ext
27713 cat >>conftest.$ac_ext <<_ACEOF
27714 /* end confdefs.h. */
27715 #include <X11/Intrinsic.h>
27716 int
27717 main ()
27718 {
27719 XtMalloc (0)
27720 ;
27721 return 0;
27722 }
27723 _ACEOF
27724 rm -f conftest.$ac_objext conftest$ac_exeext
27725 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27726 (eval $ac_link) 2>conftest.er1
27727 ac_status=$?
27728 grep -v '^ *+' conftest.er1 >conftest.err
27729 rm -f conftest.er1
27730 cat conftest.err >&5
27731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27732 (exit $ac_status); } &&
27733 { ac_try='test -z "$ac_c_werror_flag"
27734 || test ! -s conftest.err'
27735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27736 (eval $ac_try) 2>&5
27737 ac_status=$?
27738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27739 (exit $ac_status); }; } &&
27740 { ac_try='test -s conftest$ac_exeext'
27741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27742 (eval $ac_try) 2>&5
27743 ac_status=$?
27744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27745 (exit $ac_status); }; }; then
27746 LIBS=$ac_save_LIBS
27747 # We can link X programs with no special library path.
27748 ac_x_libraries=
27749 else
27750 echo "$as_me: failed program was:" >&5
27751 sed 's/^/| /' conftest.$ac_ext >&5
27752
27753 LIBS=$ac_save_LIBS
27754 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
27755 do
27756 # Don't even attempt the hair of trying to link an X program!
27757 for ac_extension in a so sl; do
27758 if test -r $ac_dir/libXt.$ac_extension; then
27759 ac_x_libraries=$ac_dir
27760 break 2
27761 fi
27762 done
27763 done
27764 fi
27765 rm -f conftest.err conftest.$ac_objext \
27766 conftest$ac_exeext conftest.$ac_ext
27767 fi # $ac_x_libraries = no
27768
27769 if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then
27770 # Didn't find X anywhere. Cache the known absence of X.
27771 ac_cv_have_x="have_x=no"
27772 else
27773 # Record where we found X for the cache.
27774 ac_cv_have_x="have_x=yes \
27775 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
27776 fi
27777 fi
27778
27779 fi
27780 eval "$ac_cv_have_x"
27781 fi # $with_x != no
27782
27783 if test "$have_x" != yes; then
27784 echo "$as_me:$LINENO: result: $have_x" >&5
27785 echo "${ECHO_T}$have_x" >&6
27786 no_x=yes
27787 else
27788 # If each of the values was on the command line, it overrides each guess.
27789 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
27790 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
27791 # Update the cache value to reflect the command line values.
27792 ac_cv_have_x="have_x=yes \
27793 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
27794 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
27795 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
27796 fi
27797
27798 if test "$no_x" = yes; then
27799 # Not all programs may use this symbol, but it does not hurt to define it.
27800
27801 cat >>confdefs.h <<\_ACEOF
27802 #define X_DISPLAY_MISSING 1
27803 _ACEOF
27804
27805 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
27806 else
27807 if test -n "$x_includes"; then
27808 X_CFLAGS="$X_CFLAGS -I$x_includes"
27809 fi
27810
27811 # It would also be nice to do this for all -L options, not just this one.
27812 if test -n "$x_libraries"; then
27813 X_LIBS="$X_LIBS -L$x_libraries"
27814 # For Solaris; some versions of Sun CC require a space after -R and
27815 # others require no space. Words are not sufficient . . . .
27816 case `(uname -sr) 2>/dev/null` in
27817 "SunOS 5"*)
27818 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
27819 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
27820 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
27821 cat >conftest.$ac_ext <<_ACEOF
27822 /* confdefs.h. */
27823 _ACEOF
27824 cat confdefs.h >>conftest.$ac_ext
27825 cat >>conftest.$ac_ext <<_ACEOF
27826 /* end confdefs.h. */
27827
27828 int
27829 main ()
27830 {
27831
27832 ;
27833 return 0;
27834 }
27835 _ACEOF
27836 rm -f conftest.$ac_objext conftest$ac_exeext
27837 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27838 (eval $ac_link) 2>conftest.er1
27839 ac_status=$?
27840 grep -v '^ *+' conftest.er1 >conftest.err
27841 rm -f conftest.er1
27842 cat conftest.err >&5
27843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27844 (exit $ac_status); } &&
27845 { ac_try='test -z "$ac_c_werror_flag"
27846 || test ! -s conftest.err'
27847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27848 (eval $ac_try) 2>&5
27849 ac_status=$?
27850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27851 (exit $ac_status); }; } &&
27852 { ac_try='test -s conftest$ac_exeext'
27853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27854 (eval $ac_try) 2>&5
27855 ac_status=$?
27856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27857 (exit $ac_status); }; }; then
27858 ac_R_nospace=yes
27859 else
27860 echo "$as_me: failed program was:" >&5
27861 sed 's/^/| /' conftest.$ac_ext >&5
27862
27863 ac_R_nospace=no
27864 fi
27865 rm -f conftest.err conftest.$ac_objext \
27866 conftest$ac_exeext conftest.$ac_ext
27867 if test $ac_R_nospace = yes; then
27868 echo "$as_me:$LINENO: result: no" >&5
27869 echo "${ECHO_T}no" >&6
27870 X_LIBS="$X_LIBS -R$x_libraries"
27871 else
27872 LIBS="$ac_xsave_LIBS -R $x_libraries"
27873 cat >conftest.$ac_ext <<_ACEOF
27874 /* confdefs.h. */
27875 _ACEOF
27876 cat confdefs.h >>conftest.$ac_ext
27877 cat >>conftest.$ac_ext <<_ACEOF
27878 /* end confdefs.h. */
27879
27880 int
27881 main ()
27882 {
27883
27884 ;
27885 return 0;
27886 }
27887 _ACEOF
27888 rm -f conftest.$ac_objext conftest$ac_exeext
27889 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27890 (eval $ac_link) 2>conftest.er1
27891 ac_status=$?
27892 grep -v '^ *+' conftest.er1 >conftest.err
27893 rm -f conftest.er1
27894 cat conftest.err >&5
27895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27896 (exit $ac_status); } &&
27897 { ac_try='test -z "$ac_c_werror_flag"
27898 || test ! -s conftest.err'
27899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27900 (eval $ac_try) 2>&5
27901 ac_status=$?
27902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27903 (exit $ac_status); }; } &&
27904 { ac_try='test -s conftest$ac_exeext'
27905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27906 (eval $ac_try) 2>&5
27907 ac_status=$?
27908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27909 (exit $ac_status); }; }; then
27910 ac_R_space=yes
27911 else
27912 echo "$as_me: failed program was:" >&5
27913 sed 's/^/| /' conftest.$ac_ext >&5
27914
27915 ac_R_space=no
27916 fi
27917 rm -f conftest.err conftest.$ac_objext \
27918 conftest$ac_exeext conftest.$ac_ext
27919 if test $ac_R_space = yes; then
27920 echo "$as_me:$LINENO: result: yes" >&5
27921 echo "${ECHO_T}yes" >&6
27922 X_LIBS="$X_LIBS -R $x_libraries"
27923 else
27924 echo "$as_me:$LINENO: result: neither works" >&5
27925 echo "${ECHO_T}neither works" >&6
27926 fi
27927 fi
27928 LIBS=$ac_xsave_LIBS
27929 esac
27930 fi
27931
27932 # Check for system-dependent libraries X programs must link with.
27933 # Do this before checking for the system-independent R6 libraries
27934 # (-lICE), since we may need -lsocket or whatever for X linking.
27935
27936 if test "$ISC" = yes; then
27937 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
27938 else
27939 # Martyn Johnson says this is needed for Ultrix, if the X
27940 # libraries were built with DECnet support. And Karl Berry says
27941 # the Alpha needs dnet_stub (dnet does not exist).
27942 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
27943 cat >conftest.$ac_ext <<_ACEOF
27944 /* confdefs.h. */
27945 _ACEOF
27946 cat confdefs.h >>conftest.$ac_ext
27947 cat >>conftest.$ac_ext <<_ACEOF
27948 /* end confdefs.h. */
27949
27950 /* Override any gcc2 internal prototype to avoid an error. */
27951 #ifdef __cplusplus
27952 extern "C"
27953 #endif
27954 /* We use char because int might match the return type of a gcc2
27955 builtin and then its argument prototype would still apply. */
27956 char XOpenDisplay ();
27957 int
27958 main ()
27959 {
27960 XOpenDisplay ();
27961 ;
27962 return 0;
27963 }
27964 _ACEOF
27965 rm -f conftest.$ac_objext conftest$ac_exeext
27966 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27967 (eval $ac_link) 2>conftest.er1
27968 ac_status=$?
27969 grep -v '^ *+' conftest.er1 >conftest.err
27970 rm -f conftest.er1
27971 cat conftest.err >&5
27972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27973 (exit $ac_status); } &&
27974 { ac_try='test -z "$ac_c_werror_flag"
27975 || test ! -s conftest.err'
27976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27977 (eval $ac_try) 2>&5
27978 ac_status=$?
27979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27980 (exit $ac_status); }; } &&
27981 { ac_try='test -s conftest$ac_exeext'
27982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27983 (eval $ac_try) 2>&5
27984 ac_status=$?
27985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27986 (exit $ac_status); }; }; then
27987 :
27988 else
27989 echo "$as_me: failed program was:" >&5
27990 sed 's/^/| /' conftest.$ac_ext >&5
27991
27992 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
27993 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
27994 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
27995 echo $ECHO_N "(cached) $ECHO_C" >&6
27996 else
27997 ac_check_lib_save_LIBS=$LIBS
27998 LIBS="-ldnet $LIBS"
27999 cat >conftest.$ac_ext <<_ACEOF
28000 /* confdefs.h. */
28001 _ACEOF
28002 cat confdefs.h >>conftest.$ac_ext
28003 cat >>conftest.$ac_ext <<_ACEOF
28004 /* end confdefs.h. */
28005
28006 /* Override any gcc2 internal prototype to avoid an error. */
28007 #ifdef __cplusplus
28008 extern "C"
28009 #endif
28010 /* We use char because int might match the return type of a gcc2
28011 builtin and then its argument prototype would still apply. */
28012 char dnet_ntoa ();
28013 int
28014 main ()
28015 {
28016 dnet_ntoa ();
28017 ;
28018 return 0;
28019 }
28020 _ACEOF
28021 rm -f conftest.$ac_objext conftest$ac_exeext
28022 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28023 (eval $ac_link) 2>conftest.er1
28024 ac_status=$?
28025 grep -v '^ *+' conftest.er1 >conftest.err
28026 rm -f conftest.er1
28027 cat conftest.err >&5
28028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28029 (exit $ac_status); } &&
28030 { ac_try='test -z "$ac_c_werror_flag"
28031 || test ! -s conftest.err'
28032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28033 (eval $ac_try) 2>&5
28034 ac_status=$?
28035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28036 (exit $ac_status); }; } &&
28037 { ac_try='test -s conftest$ac_exeext'
28038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28039 (eval $ac_try) 2>&5
28040 ac_status=$?
28041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28042 (exit $ac_status); }; }; then
28043 ac_cv_lib_dnet_dnet_ntoa=yes
28044 else
28045 echo "$as_me: failed program was:" >&5
28046 sed 's/^/| /' conftest.$ac_ext >&5
28047
28048 ac_cv_lib_dnet_dnet_ntoa=no
28049 fi
28050 rm -f conftest.err conftest.$ac_objext \
28051 conftest$ac_exeext conftest.$ac_ext
28052 LIBS=$ac_check_lib_save_LIBS
28053 fi
28054 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
28055 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
28056 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
28057 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
28058 fi
28059
28060 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
28061 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
28062 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
28063 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
28064 echo $ECHO_N "(cached) $ECHO_C" >&6
28065 else
28066 ac_check_lib_save_LIBS=$LIBS
28067 LIBS="-ldnet_stub $LIBS"
28068 cat >conftest.$ac_ext <<_ACEOF
28069 /* confdefs.h. */
28070 _ACEOF
28071 cat confdefs.h >>conftest.$ac_ext
28072 cat >>conftest.$ac_ext <<_ACEOF
28073 /* end confdefs.h. */
28074
28075 /* Override any gcc2 internal prototype to avoid an error. */
28076 #ifdef __cplusplus
28077 extern "C"
28078 #endif
28079 /* We use char because int might match the return type of a gcc2
28080 builtin and then its argument prototype would still apply. */
28081 char dnet_ntoa ();
28082 int
28083 main ()
28084 {
28085 dnet_ntoa ();
28086 ;
28087 return 0;
28088 }
28089 _ACEOF
28090 rm -f conftest.$ac_objext conftest$ac_exeext
28091 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28092 (eval $ac_link) 2>conftest.er1
28093 ac_status=$?
28094 grep -v '^ *+' conftest.er1 >conftest.err
28095 rm -f conftest.er1
28096 cat conftest.err >&5
28097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28098 (exit $ac_status); } &&
28099 { ac_try='test -z "$ac_c_werror_flag"
28100 || test ! -s conftest.err'
28101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28102 (eval $ac_try) 2>&5
28103 ac_status=$?
28104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28105 (exit $ac_status); }; } &&
28106 { ac_try='test -s conftest$ac_exeext'
28107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28108 (eval $ac_try) 2>&5
28109 ac_status=$?
28110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28111 (exit $ac_status); }; }; then
28112 ac_cv_lib_dnet_stub_dnet_ntoa=yes
28113 else
28114 echo "$as_me: failed program was:" >&5
28115 sed 's/^/| /' conftest.$ac_ext >&5
28116
28117 ac_cv_lib_dnet_stub_dnet_ntoa=no
28118 fi
28119 rm -f conftest.err conftest.$ac_objext \
28120 conftest$ac_exeext conftest.$ac_ext
28121 LIBS=$ac_check_lib_save_LIBS
28122 fi
28123 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
28124 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
28125 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
28126 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
28127 fi
28128
28129 fi
28130 fi
28131 rm -f conftest.err conftest.$ac_objext \
28132 conftest$ac_exeext conftest.$ac_ext
28133 LIBS="$ac_xsave_LIBS"
28134
28135 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
28136 # to get the SysV transport functions.
28137 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
28138 # needs -lnsl.
28139 # The nsl library prevents programs from opening the X display
28140 # on Irix 5.2, according to T.E. Dickey.
28141 # The functions gethostbyname, getservbyname, and inet_addr are
28142 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
28143 echo "$as_me:$LINENO: checking for gethostbyname" >&5
28144 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
28145 if test "${ac_cv_func_gethostbyname+set}" = set; then
28146 echo $ECHO_N "(cached) $ECHO_C" >&6
28147 else
28148 cat >conftest.$ac_ext <<_ACEOF
28149 /* confdefs.h. */
28150 _ACEOF
28151 cat confdefs.h >>conftest.$ac_ext
28152 cat >>conftest.$ac_ext <<_ACEOF
28153 /* end confdefs.h. */
28154 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
28155 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28156 #define gethostbyname innocuous_gethostbyname
28157
28158 /* System header to define __stub macros and hopefully few prototypes,
28159 which can conflict with char gethostbyname (); below.
28160 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28161 <limits.h> exists even on freestanding compilers. */
28162
28163 #ifdef __STDC__
28164 # include <limits.h>
28165 #else
28166 # include <assert.h>
28167 #endif
28168
28169 #undef gethostbyname
28170
28171 /* Override any gcc2 internal prototype to avoid an error. */
28172 #ifdef __cplusplus
28173 extern "C"
28174 {
28175 #endif
28176 /* We use char because int might match the return type of a gcc2
28177 builtin and then its argument prototype would still apply. */
28178 char gethostbyname ();
28179 /* The GNU C library defines this for functions which it implements
28180 to always fail with ENOSYS. Some functions are actually named
28181 something starting with __ and the normal name is an alias. */
28182 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
28183 choke me
28184 #else
28185 char (*f) () = gethostbyname;
28186 #endif
28187 #ifdef __cplusplus
28188 }
28189 #endif
28190
28191 int
28192 main ()
28193 {
28194 return f != gethostbyname;
28195 ;
28196 return 0;
28197 }
28198 _ACEOF
28199 rm -f conftest.$ac_objext conftest$ac_exeext
28200 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28201 (eval $ac_link) 2>conftest.er1
28202 ac_status=$?
28203 grep -v '^ *+' conftest.er1 >conftest.err
28204 rm -f conftest.er1
28205 cat conftest.err >&5
28206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28207 (exit $ac_status); } &&
28208 { ac_try='test -z "$ac_c_werror_flag"
28209 || test ! -s conftest.err'
28210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28211 (eval $ac_try) 2>&5
28212 ac_status=$?
28213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28214 (exit $ac_status); }; } &&
28215 { ac_try='test -s conftest$ac_exeext'
28216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28217 (eval $ac_try) 2>&5
28218 ac_status=$?
28219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28220 (exit $ac_status); }; }; then
28221 ac_cv_func_gethostbyname=yes
28222 else
28223 echo "$as_me: failed program was:" >&5
28224 sed 's/^/| /' conftest.$ac_ext >&5
28225
28226 ac_cv_func_gethostbyname=no
28227 fi
28228 rm -f conftest.err conftest.$ac_objext \
28229 conftest$ac_exeext conftest.$ac_ext
28230 fi
28231 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
28232 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
28233
28234 if test $ac_cv_func_gethostbyname = no; then
28235 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
28236 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
28237 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
28238 echo $ECHO_N "(cached) $ECHO_C" >&6
28239 else
28240 ac_check_lib_save_LIBS=$LIBS
28241 LIBS="-lnsl $LIBS"
28242 cat >conftest.$ac_ext <<_ACEOF
28243 /* confdefs.h. */
28244 _ACEOF
28245 cat confdefs.h >>conftest.$ac_ext
28246 cat >>conftest.$ac_ext <<_ACEOF
28247 /* end confdefs.h. */
28248
28249 /* Override any gcc2 internal prototype to avoid an error. */
28250 #ifdef __cplusplus
28251 extern "C"
28252 #endif
28253 /* We use char because int might match the return type of a gcc2
28254 builtin and then its argument prototype would still apply. */
28255 char gethostbyname ();
28256 int
28257 main ()
28258 {
28259 gethostbyname ();
28260 ;
28261 return 0;
28262 }
28263 _ACEOF
28264 rm -f conftest.$ac_objext conftest$ac_exeext
28265 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28266 (eval $ac_link) 2>conftest.er1
28267 ac_status=$?
28268 grep -v '^ *+' conftest.er1 >conftest.err
28269 rm -f conftest.er1
28270 cat conftest.err >&5
28271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28272 (exit $ac_status); } &&
28273 { ac_try='test -z "$ac_c_werror_flag"
28274 || test ! -s conftest.err'
28275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28276 (eval $ac_try) 2>&5
28277 ac_status=$?
28278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28279 (exit $ac_status); }; } &&
28280 { ac_try='test -s conftest$ac_exeext'
28281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28282 (eval $ac_try) 2>&5
28283 ac_status=$?
28284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28285 (exit $ac_status); }; }; then
28286 ac_cv_lib_nsl_gethostbyname=yes
28287 else
28288 echo "$as_me: failed program was:" >&5
28289 sed 's/^/| /' conftest.$ac_ext >&5
28290
28291 ac_cv_lib_nsl_gethostbyname=no
28292 fi
28293 rm -f conftest.err conftest.$ac_objext \
28294 conftest$ac_exeext conftest.$ac_ext
28295 LIBS=$ac_check_lib_save_LIBS
28296 fi
28297 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
28298 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
28299 if test $ac_cv_lib_nsl_gethostbyname = yes; then
28300 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
28301 fi
28302
28303 if test $ac_cv_lib_nsl_gethostbyname = no; then
28304 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
28305 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
28306 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
28307 echo $ECHO_N "(cached) $ECHO_C" >&6
28308 else
28309 ac_check_lib_save_LIBS=$LIBS
28310 LIBS="-lbsd $LIBS"
28311 cat >conftest.$ac_ext <<_ACEOF
28312 /* confdefs.h. */
28313 _ACEOF
28314 cat confdefs.h >>conftest.$ac_ext
28315 cat >>conftest.$ac_ext <<_ACEOF
28316 /* end confdefs.h. */
28317
28318 /* Override any gcc2 internal prototype to avoid an error. */
28319 #ifdef __cplusplus
28320 extern "C"
28321 #endif
28322 /* We use char because int might match the return type of a gcc2
28323 builtin and then its argument prototype would still apply. */
28324 char gethostbyname ();
28325 int
28326 main ()
28327 {
28328 gethostbyname ();
28329 ;
28330 return 0;
28331 }
28332 _ACEOF
28333 rm -f conftest.$ac_objext conftest$ac_exeext
28334 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28335 (eval $ac_link) 2>conftest.er1
28336 ac_status=$?
28337 grep -v '^ *+' conftest.er1 >conftest.err
28338 rm -f conftest.er1
28339 cat conftest.err >&5
28340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28341 (exit $ac_status); } &&
28342 { ac_try='test -z "$ac_c_werror_flag"
28343 || 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_bsd_gethostbyname=yes
28356 else
28357 echo "$as_me: failed program was:" >&5
28358 sed 's/^/| /' conftest.$ac_ext >&5
28359
28360 ac_cv_lib_bsd_gethostbyname=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_bsd_gethostbyname" >&5
28367 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
28368 if test $ac_cv_lib_bsd_gethostbyname = yes; then
28369 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
28370 fi
28371
28372 fi
28373 fi
28374
28375 # lieder@skyler.mavd.honeywell.com says without -lsocket,
28376 # socket/setsockopt and other routines are undefined under SCO ODT
28377 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
28378 # on later versions), says Simon Leinen: it contains gethostby*
28379 # variants that don't use the name server (or something). -lsocket
28380 # must be given before -lnsl if both are needed. We assume that
28381 # if connect needs -lnsl, so does gethostbyname.
28382 echo "$as_me:$LINENO: checking for connect" >&5
28383 echo $ECHO_N "checking for connect... $ECHO_C" >&6
28384 if test "${ac_cv_func_connect+set}" = set; then
28385 echo $ECHO_N "(cached) $ECHO_C" >&6
28386 else
28387 cat >conftest.$ac_ext <<_ACEOF
28388 /* confdefs.h. */
28389 _ACEOF
28390 cat confdefs.h >>conftest.$ac_ext
28391 cat >>conftest.$ac_ext <<_ACEOF
28392 /* end confdefs.h. */
28393 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
28394 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28395 #define connect innocuous_connect
28396
28397 /* System header to define __stub macros and hopefully few prototypes,
28398 which can conflict with char connect (); below.
28399 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28400 <limits.h> exists even on freestanding compilers. */
28401
28402 #ifdef __STDC__
28403 # include <limits.h>
28404 #else
28405 # include <assert.h>
28406 #endif
28407
28408 #undef connect
28409
28410 /* Override any gcc2 internal prototype to avoid an error. */
28411 #ifdef __cplusplus
28412 extern "C"
28413 {
28414 #endif
28415 /* We use char because int might match the return type of a gcc2
28416 builtin and then its argument prototype would still apply. */
28417 char connect ();
28418 /* The GNU C library defines this for functions which it implements
28419 to always fail with ENOSYS. Some functions are actually named
28420 something starting with __ and the normal name is an alias. */
28421 #if defined (__stub_connect) || defined (__stub___connect)
28422 choke me
28423 #else
28424 char (*f) () = connect;
28425 #endif
28426 #ifdef __cplusplus
28427 }
28428 #endif
28429
28430 int
28431 main ()
28432 {
28433 return f != connect;
28434 ;
28435 return 0;
28436 }
28437 _ACEOF
28438 rm -f conftest.$ac_objext conftest$ac_exeext
28439 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28440 (eval $ac_link) 2>conftest.er1
28441 ac_status=$?
28442 grep -v '^ *+' conftest.er1 >conftest.err
28443 rm -f conftest.er1
28444 cat conftest.err >&5
28445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28446 (exit $ac_status); } &&
28447 { ac_try='test -z "$ac_c_werror_flag"
28448 || test ! -s conftest.err'
28449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28450 (eval $ac_try) 2>&5
28451 ac_status=$?
28452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28453 (exit $ac_status); }; } &&
28454 { ac_try='test -s conftest$ac_exeext'
28455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28456 (eval $ac_try) 2>&5
28457 ac_status=$?
28458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28459 (exit $ac_status); }; }; then
28460 ac_cv_func_connect=yes
28461 else
28462 echo "$as_me: failed program was:" >&5
28463 sed 's/^/| /' conftest.$ac_ext >&5
28464
28465 ac_cv_func_connect=no
28466 fi
28467 rm -f conftest.err conftest.$ac_objext \
28468 conftest$ac_exeext conftest.$ac_ext
28469 fi
28470 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
28471 echo "${ECHO_T}$ac_cv_func_connect" >&6
28472
28473 if test $ac_cv_func_connect = no; then
28474 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
28475 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
28476 if test "${ac_cv_lib_socket_connect+set}" = set; then
28477 echo $ECHO_N "(cached) $ECHO_C" >&6
28478 else
28479 ac_check_lib_save_LIBS=$LIBS
28480 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
28481 cat >conftest.$ac_ext <<_ACEOF
28482 /* confdefs.h. */
28483 _ACEOF
28484 cat confdefs.h >>conftest.$ac_ext
28485 cat >>conftest.$ac_ext <<_ACEOF
28486 /* end confdefs.h. */
28487
28488 /* Override any gcc2 internal prototype to avoid an error. */
28489 #ifdef __cplusplus
28490 extern "C"
28491 #endif
28492 /* We use char because int might match the return type of a gcc2
28493 builtin and then its argument prototype would still apply. */
28494 char connect ();
28495 int
28496 main ()
28497 {
28498 connect ();
28499 ;
28500 return 0;
28501 }
28502 _ACEOF
28503 rm -f conftest.$ac_objext conftest$ac_exeext
28504 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28505 (eval $ac_link) 2>conftest.er1
28506 ac_status=$?
28507 grep -v '^ *+' conftest.er1 >conftest.err
28508 rm -f conftest.er1
28509 cat conftest.err >&5
28510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28511 (exit $ac_status); } &&
28512 { ac_try='test -z "$ac_c_werror_flag"
28513 || test ! -s conftest.err'
28514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28515 (eval $ac_try) 2>&5
28516 ac_status=$?
28517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28518 (exit $ac_status); }; } &&
28519 { ac_try='test -s conftest$ac_exeext'
28520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28521 (eval $ac_try) 2>&5
28522 ac_status=$?
28523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28524 (exit $ac_status); }; }; then
28525 ac_cv_lib_socket_connect=yes
28526 else
28527 echo "$as_me: failed program was:" >&5
28528 sed 's/^/| /' conftest.$ac_ext >&5
28529
28530 ac_cv_lib_socket_connect=no
28531 fi
28532 rm -f conftest.err conftest.$ac_objext \
28533 conftest$ac_exeext conftest.$ac_ext
28534 LIBS=$ac_check_lib_save_LIBS
28535 fi
28536 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
28537 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
28538 if test $ac_cv_lib_socket_connect = yes; then
28539 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
28540 fi
28541
28542 fi
28543
28544 # Guillermo Gomez says -lposix is necessary on A/UX.
28545 echo "$as_me:$LINENO: checking for remove" >&5
28546 echo $ECHO_N "checking for remove... $ECHO_C" >&6
28547 if test "${ac_cv_func_remove+set}" = set; then
28548 echo $ECHO_N "(cached) $ECHO_C" >&6
28549 else
28550 cat >conftest.$ac_ext <<_ACEOF
28551 /* confdefs.h. */
28552 _ACEOF
28553 cat confdefs.h >>conftest.$ac_ext
28554 cat >>conftest.$ac_ext <<_ACEOF
28555 /* end confdefs.h. */
28556 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
28557 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28558 #define remove innocuous_remove
28559
28560 /* System header to define __stub macros and hopefully few prototypes,
28561 which can conflict with char remove (); below.
28562 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28563 <limits.h> exists even on freestanding compilers. */
28564
28565 #ifdef __STDC__
28566 # include <limits.h>
28567 #else
28568 # include <assert.h>
28569 #endif
28570
28571 #undef remove
28572
28573 /* Override any gcc2 internal prototype to avoid an error. */
28574 #ifdef __cplusplus
28575 extern "C"
28576 {
28577 #endif
28578 /* We use char because int might match the return type of a gcc2
28579 builtin and then its argument prototype would still apply. */
28580 char remove ();
28581 /* The GNU C library defines this for functions which it implements
28582 to always fail with ENOSYS. Some functions are actually named
28583 something starting with __ and the normal name is an alias. */
28584 #if defined (__stub_remove) || defined (__stub___remove)
28585 choke me
28586 #else
28587 char (*f) () = remove;
28588 #endif
28589 #ifdef __cplusplus
28590 }
28591 #endif
28592
28593 int
28594 main ()
28595 {
28596 return f != remove;
28597 ;
28598 return 0;
28599 }
28600 _ACEOF
28601 rm -f conftest.$ac_objext conftest$ac_exeext
28602 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28603 (eval $ac_link) 2>conftest.er1
28604 ac_status=$?
28605 grep -v '^ *+' conftest.er1 >conftest.err
28606 rm -f conftest.er1
28607 cat conftest.err >&5
28608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28609 (exit $ac_status); } &&
28610 { ac_try='test -z "$ac_c_werror_flag"
28611 || test ! -s conftest.err'
28612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28613 (eval $ac_try) 2>&5
28614 ac_status=$?
28615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28616 (exit $ac_status); }; } &&
28617 { ac_try='test -s conftest$ac_exeext'
28618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28619 (eval $ac_try) 2>&5
28620 ac_status=$?
28621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28622 (exit $ac_status); }; }; then
28623 ac_cv_func_remove=yes
28624 else
28625 echo "$as_me: failed program was:" >&5
28626 sed 's/^/| /' conftest.$ac_ext >&5
28627
28628 ac_cv_func_remove=no
28629 fi
28630 rm -f conftest.err conftest.$ac_objext \
28631 conftest$ac_exeext conftest.$ac_ext
28632 fi
28633 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
28634 echo "${ECHO_T}$ac_cv_func_remove" >&6
28635
28636 if test $ac_cv_func_remove = no; then
28637 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
28638 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
28639 if test "${ac_cv_lib_posix_remove+set}" = set; then
28640 echo $ECHO_N "(cached) $ECHO_C" >&6
28641 else
28642 ac_check_lib_save_LIBS=$LIBS
28643 LIBS="-lposix $LIBS"
28644 cat >conftest.$ac_ext <<_ACEOF
28645 /* confdefs.h. */
28646 _ACEOF
28647 cat confdefs.h >>conftest.$ac_ext
28648 cat >>conftest.$ac_ext <<_ACEOF
28649 /* end confdefs.h. */
28650
28651 /* Override any gcc2 internal prototype to avoid an error. */
28652 #ifdef __cplusplus
28653 extern "C"
28654 #endif
28655 /* We use char because int might match the return type of a gcc2
28656 builtin and then its argument prototype would still apply. */
28657 char remove ();
28658 int
28659 main ()
28660 {
28661 remove ();
28662 ;
28663 return 0;
28664 }
28665 _ACEOF
28666 rm -f conftest.$ac_objext conftest$ac_exeext
28667 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28668 (eval $ac_link) 2>conftest.er1
28669 ac_status=$?
28670 grep -v '^ *+' conftest.er1 >conftest.err
28671 rm -f conftest.er1
28672 cat conftest.err >&5
28673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28674 (exit $ac_status); } &&
28675 { ac_try='test -z "$ac_c_werror_flag"
28676 || test ! -s conftest.err'
28677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28678 (eval $ac_try) 2>&5
28679 ac_status=$?
28680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28681 (exit $ac_status); }; } &&
28682 { ac_try='test -s conftest$ac_exeext'
28683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28684 (eval $ac_try) 2>&5
28685 ac_status=$?
28686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28687 (exit $ac_status); }; }; then
28688 ac_cv_lib_posix_remove=yes
28689 else
28690 echo "$as_me: failed program was:" >&5
28691 sed 's/^/| /' conftest.$ac_ext >&5
28692
28693 ac_cv_lib_posix_remove=no
28694 fi
28695 rm -f conftest.err conftest.$ac_objext \
28696 conftest$ac_exeext conftest.$ac_ext
28697 LIBS=$ac_check_lib_save_LIBS
28698 fi
28699 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
28700 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
28701 if test $ac_cv_lib_posix_remove = yes; then
28702 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
28703 fi
28704
28705 fi
28706
28707 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
28708 echo "$as_me:$LINENO: checking for shmat" >&5
28709 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
28710 if test "${ac_cv_func_shmat+set}" = set; then
28711 echo $ECHO_N "(cached) $ECHO_C" >&6
28712 else
28713 cat >conftest.$ac_ext <<_ACEOF
28714 /* confdefs.h. */
28715 _ACEOF
28716 cat confdefs.h >>conftest.$ac_ext
28717 cat >>conftest.$ac_ext <<_ACEOF
28718 /* end confdefs.h. */
28719 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
28720 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28721 #define shmat innocuous_shmat
28722
28723 /* System header to define __stub macros and hopefully few prototypes,
28724 which can conflict with char shmat (); below.
28725 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28726 <limits.h> exists even on freestanding compilers. */
28727
28728 #ifdef __STDC__
28729 # include <limits.h>
28730 #else
28731 # include <assert.h>
28732 #endif
28733
28734 #undef shmat
28735
28736 /* Override any gcc2 internal prototype to avoid an error. */
28737 #ifdef __cplusplus
28738 extern "C"
28739 {
28740 #endif
28741 /* We use char because int might match the return type of a gcc2
28742 builtin and then its argument prototype would still apply. */
28743 char shmat ();
28744 /* The GNU C library defines this for functions which it implements
28745 to always fail with ENOSYS. Some functions are actually named
28746 something starting with __ and the normal name is an alias. */
28747 #if defined (__stub_shmat) || defined (__stub___shmat)
28748 choke me
28749 #else
28750 char (*f) () = shmat;
28751 #endif
28752 #ifdef __cplusplus
28753 }
28754 #endif
28755
28756 int
28757 main ()
28758 {
28759 return f != shmat;
28760 ;
28761 return 0;
28762 }
28763 _ACEOF
28764 rm -f conftest.$ac_objext conftest$ac_exeext
28765 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28766 (eval $ac_link) 2>conftest.er1
28767 ac_status=$?
28768 grep -v '^ *+' conftest.er1 >conftest.err
28769 rm -f conftest.er1
28770 cat conftest.err >&5
28771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28772 (exit $ac_status); } &&
28773 { ac_try='test -z "$ac_c_werror_flag"
28774 || test ! -s conftest.err'
28775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28776 (eval $ac_try) 2>&5
28777 ac_status=$?
28778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28779 (exit $ac_status); }; } &&
28780 { ac_try='test -s conftest$ac_exeext'
28781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28782 (eval $ac_try) 2>&5
28783 ac_status=$?
28784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28785 (exit $ac_status); }; }; then
28786 ac_cv_func_shmat=yes
28787 else
28788 echo "$as_me: failed program was:" >&5
28789 sed 's/^/| /' conftest.$ac_ext >&5
28790
28791 ac_cv_func_shmat=no
28792 fi
28793 rm -f conftest.err conftest.$ac_objext \
28794 conftest$ac_exeext conftest.$ac_ext
28795 fi
28796 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
28797 echo "${ECHO_T}$ac_cv_func_shmat" >&6
28798
28799 if test $ac_cv_func_shmat = no; then
28800 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
28801 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
28802 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
28803 echo $ECHO_N "(cached) $ECHO_C" >&6
28804 else
28805 ac_check_lib_save_LIBS=$LIBS
28806 LIBS="-lipc $LIBS"
28807 cat >conftest.$ac_ext <<_ACEOF
28808 /* confdefs.h. */
28809 _ACEOF
28810 cat confdefs.h >>conftest.$ac_ext
28811 cat >>conftest.$ac_ext <<_ACEOF
28812 /* end confdefs.h. */
28813
28814 /* Override any gcc2 internal prototype to avoid an error. */
28815 #ifdef __cplusplus
28816 extern "C"
28817 #endif
28818 /* We use char because int might match the return type of a gcc2
28819 builtin and then its argument prototype would still apply. */
28820 char shmat ();
28821 int
28822 main ()
28823 {
28824 shmat ();
28825 ;
28826 return 0;
28827 }
28828 _ACEOF
28829 rm -f conftest.$ac_objext conftest$ac_exeext
28830 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28831 (eval $ac_link) 2>conftest.er1
28832 ac_status=$?
28833 grep -v '^ *+' conftest.er1 >conftest.err
28834 rm -f conftest.er1
28835 cat conftest.err >&5
28836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28837 (exit $ac_status); } &&
28838 { ac_try='test -z "$ac_c_werror_flag"
28839 || test ! -s conftest.err'
28840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28841 (eval $ac_try) 2>&5
28842 ac_status=$?
28843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28844 (exit $ac_status); }; } &&
28845 { ac_try='test -s conftest$ac_exeext'
28846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28847 (eval $ac_try) 2>&5
28848 ac_status=$?
28849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28850 (exit $ac_status); }; }; then
28851 ac_cv_lib_ipc_shmat=yes
28852 else
28853 echo "$as_me: failed program was:" >&5
28854 sed 's/^/| /' conftest.$ac_ext >&5
28855
28856 ac_cv_lib_ipc_shmat=no
28857 fi
28858 rm -f conftest.err conftest.$ac_objext \
28859 conftest$ac_exeext conftest.$ac_ext
28860 LIBS=$ac_check_lib_save_LIBS
28861 fi
28862 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
28863 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
28864 if test $ac_cv_lib_ipc_shmat = yes; then
28865 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
28866 fi
28867
28868 fi
28869 fi
28870
28871 # Check for libraries that X11R6 Xt/Xaw programs need.
28872 ac_save_LDFLAGS=$LDFLAGS
28873 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
28874 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
28875 # check for ICE first), but we must link in the order -lSM -lICE or
28876 # we get undefined symbols. So assume we have SM if we have ICE.
28877 # These have to be linked with before -lX11, unlike the other
28878 # libraries we check for below, so use a different variable.
28879 # John Interrante, Karl Berry
28880 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
28881 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
28882 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
28883 echo $ECHO_N "(cached) $ECHO_C" >&6
28884 else
28885 ac_check_lib_save_LIBS=$LIBS
28886 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
28887 cat >conftest.$ac_ext <<_ACEOF
28888 /* confdefs.h. */
28889 _ACEOF
28890 cat confdefs.h >>conftest.$ac_ext
28891 cat >>conftest.$ac_ext <<_ACEOF
28892 /* end confdefs.h. */
28893
28894 /* Override any gcc2 internal prototype to avoid an error. */
28895 #ifdef __cplusplus
28896 extern "C"
28897 #endif
28898 /* We use char because int might match the return type of a gcc2
28899 builtin and then its argument prototype would still apply. */
28900 char IceConnectionNumber ();
28901 int
28902 main ()
28903 {
28904 IceConnectionNumber ();
28905 ;
28906 return 0;
28907 }
28908 _ACEOF
28909 rm -f conftest.$ac_objext conftest$ac_exeext
28910 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28911 (eval $ac_link) 2>conftest.er1
28912 ac_status=$?
28913 grep -v '^ *+' conftest.er1 >conftest.err
28914 rm -f conftest.er1
28915 cat conftest.err >&5
28916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28917 (exit $ac_status); } &&
28918 { ac_try='test -z "$ac_c_werror_flag"
28919 || test ! -s conftest.err'
28920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28921 (eval $ac_try) 2>&5
28922 ac_status=$?
28923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28924 (exit $ac_status); }; } &&
28925 { ac_try='test -s conftest$ac_exeext'
28926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28927 (eval $ac_try) 2>&5
28928 ac_status=$?
28929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28930 (exit $ac_status); }; }; then
28931 ac_cv_lib_ICE_IceConnectionNumber=yes
28932 else
28933 echo "$as_me: failed program was:" >&5
28934 sed 's/^/| /' conftest.$ac_ext >&5
28935
28936 ac_cv_lib_ICE_IceConnectionNumber=no
28937 fi
28938 rm -f conftest.err conftest.$ac_objext \
28939 conftest$ac_exeext conftest.$ac_ext
28940 LIBS=$ac_check_lib_save_LIBS
28941 fi
28942 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
28943 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
28944 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
28945 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
28946 fi
28947
28948 LDFLAGS=$ac_save_LDFLAGS
28949
28950 fi
28951
28952
28953 if test "$no_x" = "yes"; then
28954 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
28955 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
28956 { (exit 1); exit 1; }; }
28957 fi
28958
28959 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
28960 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
28961 AFMINSTALL=afminstall
28962 COMPILED_X_PROGRAM=0
28963
28964 fi
28965
28966 if test "$wxUSE_X11" = 1; then
28967 if test "$wxUSE_NANOX" = "yes"; then
28968 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
28969 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
28970 if test "x$MICROWIN" = x ; then
28971 echo "$as_me:$LINENO: result: not found" >&5
28972 echo "${ECHO_T}not found" >&6
28973 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
28974 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
28975 { (exit 1); exit 1; }; }
28976 else
28977 echo "$as_me:$LINENO: result: $MICROWIN" >&5
28978 echo "${ECHO_T}$MICROWIN" >&6
28979 cat >>confdefs.h <<\_ACEOF
28980 #define wxUSE_NANOX 1
28981 _ACEOF
28982
28983 fi
28984 fi
28985
28986 if test "$wxUSE_UNICODE" = "yes"; then
28987
28988 succeeded=no
28989
28990 if test -z "$PKG_CONFIG"; then
28991 # Extract the first word of "pkg-config", so it can be a program name with args.
28992 set dummy pkg-config; ac_word=$2
28993 echo "$as_me:$LINENO: checking for $ac_word" >&5
28994 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28995 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
28996 echo $ECHO_N "(cached) $ECHO_C" >&6
28997 else
28998 case $PKG_CONFIG in
28999 [\\/]* | ?:[\\/]*)
29000 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
29001 ;;
29002 *)
29003 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29004 for as_dir in $PATH
29005 do
29006 IFS=$as_save_IFS
29007 test -z "$as_dir" && as_dir=.
29008 for ac_exec_ext in '' $ac_executable_extensions; do
29009 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29010 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29011 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29012 break 2
29013 fi
29014 done
29015 done
29016
29017 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
29018 ;;
29019 esac
29020 fi
29021 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
29022
29023 if test -n "$PKG_CONFIG"; then
29024 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
29025 echo "${ECHO_T}$PKG_CONFIG" >&6
29026 else
29027 echo "$as_me:$LINENO: result: no" >&5
29028 echo "${ECHO_T}no" >&6
29029 fi
29030
29031 fi
29032
29033 if test "$PKG_CONFIG" = "no" ; then
29034 echo "*** The pkg-config script could not be found. Make sure it is"
29035 echo "*** in your path, or set the PKG_CONFIG environment variable"
29036 echo "*** to the full path to pkg-config."
29037 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
29038 else
29039 PKG_CONFIG_MIN_VERSION=0.9.0
29040 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
29041 echo "$as_me:$LINENO: checking for pangox" >&5
29042 echo $ECHO_N "checking for pangox... $ECHO_C" >&6
29043
29044 if $PKG_CONFIG --exists "pangox" ; then
29045 echo "$as_me:$LINENO: result: yes" >&5
29046 echo "${ECHO_T}yes" >&6
29047 succeeded=yes
29048
29049 echo "$as_me:$LINENO: checking PANGOX_CFLAGS" >&5
29050 echo $ECHO_N "checking PANGOX_CFLAGS... $ECHO_C" >&6
29051 PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox"`
29052 echo "$as_me:$LINENO: result: $PANGOX_CFLAGS" >&5
29053 echo "${ECHO_T}$PANGOX_CFLAGS" >&6
29054
29055 echo "$as_me:$LINENO: checking PANGOX_LIBS" >&5
29056 echo $ECHO_N "checking PANGOX_LIBS... $ECHO_C" >&6
29057 PANGOX_LIBS=`$PKG_CONFIG --libs "pangox"`
29058 echo "$as_me:$LINENO: result: $PANGOX_LIBS" >&5
29059 echo "${ECHO_T}$PANGOX_LIBS" >&6
29060 else
29061 PANGOX_CFLAGS=""
29062 PANGOX_LIBS=""
29063 ## If we have a custom action on failure, don't print errors, but
29064 ## do set a variable so people can do so.
29065 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
29066
29067 fi
29068
29069
29070
29071 else
29072 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
29073 echo "*** See http://www.freedesktop.org/software/pkgconfig"
29074 fi
29075 fi
29076
29077 if test $succeeded = yes; then
29078
29079 CXXFLAGS="$CXXFLAGS $PANGOX_CFLAGS"
29080 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
29081
29082 else
29083
29084 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
29085 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
29086 { (exit 1); exit 1; }; }
29087
29088
29089 fi
29090
29091
29092 succeeded=no
29093
29094 if test -z "$PKG_CONFIG"; then
29095 # Extract the first word of "pkg-config", so it can be a program name with args.
29096 set dummy pkg-config; ac_word=$2
29097 echo "$as_me:$LINENO: checking for $ac_word" >&5
29098 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29099 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29100 echo $ECHO_N "(cached) $ECHO_C" >&6
29101 else
29102 case $PKG_CONFIG in
29103 [\\/]* | ?:[\\/]*)
29104 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
29105 ;;
29106 *)
29107 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29108 for as_dir in $PATH
29109 do
29110 IFS=$as_save_IFS
29111 test -z "$as_dir" && as_dir=.
29112 for ac_exec_ext in '' $ac_executable_extensions; do
29113 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29114 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29115 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29116 break 2
29117 fi
29118 done
29119 done
29120
29121 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
29122 ;;
29123 esac
29124 fi
29125 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
29126
29127 if test -n "$PKG_CONFIG"; then
29128 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
29129 echo "${ECHO_T}$PKG_CONFIG" >&6
29130 else
29131 echo "$as_me:$LINENO: result: no" >&5
29132 echo "${ECHO_T}no" >&6
29133 fi
29134
29135 fi
29136
29137 if test "$PKG_CONFIG" = "no" ; then
29138 echo "*** The pkg-config script could not be found. Make sure it is"
29139 echo "*** in your path, or set the PKG_CONFIG environment variable"
29140 echo "*** to the full path to pkg-config."
29141 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
29142 else
29143 PKG_CONFIG_MIN_VERSION=0.9.0
29144 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
29145 echo "$as_me:$LINENO: checking for pangoft2" >&5
29146 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
29147
29148 if $PKG_CONFIG --exists "pangoft2" ; then
29149 echo "$as_me:$LINENO: result: yes" >&5
29150 echo "${ECHO_T}yes" >&6
29151 succeeded=yes
29152
29153 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
29154 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
29155 PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2"`
29156 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
29157 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
29158
29159 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
29160 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
29161 PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2"`
29162 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
29163 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
29164 else
29165 PANGOFT2_CFLAGS=""
29166 PANGOFT2_LIBS=""
29167 ## If we have a custom action on failure, don't print errors, but
29168 ## do set a variable so people can do so.
29169 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
29170
29171 fi
29172
29173
29174
29175 else
29176 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
29177 echo "*** See http://www.freedesktop.org/software/pkgconfig"
29178 fi
29179 fi
29180
29181 if test $succeeded = yes; then
29182
29183 CXXFLAGS="$CXXFLAGS $PANGOFT2_CFLAGS"
29184 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
29185
29186 else
29187
29188 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
29189 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
29190 wxUSE_PRINTING_ARCHITECTURE="no"
29191
29192
29193 fi
29194
29195
29196 succeeded=no
29197
29198 if test -z "$PKG_CONFIG"; then
29199 # Extract the first word of "pkg-config", so it can be a program name with args.
29200 set dummy pkg-config; ac_word=$2
29201 echo "$as_me:$LINENO: checking for $ac_word" >&5
29202 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29203 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29204 echo $ECHO_N "(cached) $ECHO_C" >&6
29205 else
29206 case $PKG_CONFIG in
29207 [\\/]* | ?:[\\/]*)
29208 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
29209 ;;
29210 *)
29211 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29212 for as_dir in $PATH
29213 do
29214 IFS=$as_save_IFS
29215 test -z "$as_dir" && as_dir=.
29216 for ac_exec_ext in '' $ac_executable_extensions; do
29217 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29218 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29219 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29220 break 2
29221 fi
29222 done
29223 done
29224
29225 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
29226 ;;
29227 esac
29228 fi
29229 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
29230
29231 if test -n "$PKG_CONFIG"; then
29232 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
29233 echo "${ECHO_T}$PKG_CONFIG" >&6
29234 else
29235 echo "$as_me:$LINENO: result: no" >&5
29236 echo "${ECHO_T}no" >&6
29237 fi
29238
29239 fi
29240
29241 if test "$PKG_CONFIG" = "no" ; then
29242 echo "*** The pkg-config script could not be found. Make sure it is"
29243 echo "*** in your path, or set the PKG_CONFIG environment variable"
29244 echo "*** to the full path to pkg-config."
29245 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
29246 else
29247 PKG_CONFIG_MIN_VERSION=0.9.0
29248 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
29249 echo "$as_me:$LINENO: checking for pangoxft" >&5
29250 echo $ECHO_N "checking for pangoxft... $ECHO_C" >&6
29251
29252 if $PKG_CONFIG --exists "pangoxft" ; then
29253 echo "$as_me:$LINENO: result: yes" >&5
29254 echo "${ECHO_T}yes" >&6
29255 succeeded=yes
29256
29257 echo "$as_me:$LINENO: checking PANGOXFT_CFLAGS" >&5
29258 echo $ECHO_N "checking PANGOXFT_CFLAGS... $ECHO_C" >&6
29259 PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft"`
29260 echo "$as_me:$LINENO: result: $PANGOXFT_CFLAGS" >&5
29261 echo "${ECHO_T}$PANGOXFT_CFLAGS" >&6
29262
29263 echo "$as_me:$LINENO: checking PANGOXFT_LIBS" >&5
29264 echo $ECHO_N "checking PANGOXFT_LIBS... $ECHO_C" >&6
29265 PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft"`
29266 echo "$as_me:$LINENO: result: $PANGOXFT_LIBS" >&5
29267 echo "${ECHO_T}$PANGOXFT_LIBS" >&6
29268 else
29269 PANGOXFT_CFLAGS=""
29270 PANGOXFT_LIBS=""
29271 ## If we have a custom action on failure, don't print errors, but
29272 ## do set a variable so people can do so.
29273 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
29274
29275 fi
29276
29277
29278
29279 else
29280 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
29281 echo "*** See http://www.freedesktop.org/software/pkgconfig"
29282 fi
29283 fi
29284
29285 if test $succeeded = yes; then
29286
29287 cat >>confdefs.h <<\_ACEOF
29288 #define HAVE_PANGO_XFT 1
29289 _ACEOF
29290
29291 CXXFLAGS="$CXXFLAGS $PANGOXFT_CFLAGS"
29292 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
29293
29294 else
29295
29296 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
29297 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
29298
29299
29300 fi
29301
29302 save_CFLAGS="$CFLAGS"
29303 save_LIBS="$LIBS"
29304 CFLAGS="$CFLAGS $PANGOX_CFLAGS"
29305 LIBS="$LIBS $PANGOX_LIBS"
29306
29307 for ac_func in pango_font_family_is_monospace
29308 do
29309 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29310 echo "$as_me:$LINENO: checking for $ac_func" >&5
29311 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29312 if eval "test \"\${$as_ac_var+set}\" = set"; then
29313 echo $ECHO_N "(cached) $ECHO_C" >&6
29314 else
29315 cat >conftest.$ac_ext <<_ACEOF
29316 /* confdefs.h. */
29317 _ACEOF
29318 cat confdefs.h >>conftest.$ac_ext
29319 cat >>conftest.$ac_ext <<_ACEOF
29320 /* end confdefs.h. */
29321 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29322 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29323 #define $ac_func innocuous_$ac_func
29324
29325 /* System header to define __stub macros and hopefully few prototypes,
29326 which can conflict with char $ac_func (); below.
29327 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29328 <limits.h> exists even on freestanding compilers. */
29329
29330 #ifdef __STDC__
29331 # include <limits.h>
29332 #else
29333 # include <assert.h>
29334 #endif
29335
29336 #undef $ac_func
29337
29338 /* Override any gcc2 internal prototype to avoid an error. */
29339 #ifdef __cplusplus
29340 extern "C"
29341 {
29342 #endif
29343 /* We use char because int might match the return type of a gcc2
29344 builtin and then its argument prototype would still apply. */
29345 char $ac_func ();
29346 /* The GNU C library defines this for functions which it implements
29347 to always fail with ENOSYS. Some functions are actually named
29348 something starting with __ and the normal name is an alias. */
29349 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29350 choke me
29351 #else
29352 char (*f) () = $ac_func;
29353 #endif
29354 #ifdef __cplusplus
29355 }
29356 #endif
29357
29358 int
29359 main ()
29360 {
29361 return f != $ac_func;
29362 ;
29363 return 0;
29364 }
29365 _ACEOF
29366 rm -f conftest.$ac_objext conftest$ac_exeext
29367 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29368 (eval $ac_link) 2>conftest.er1
29369 ac_status=$?
29370 grep -v '^ *+' conftest.er1 >conftest.err
29371 rm -f conftest.er1
29372 cat conftest.err >&5
29373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29374 (exit $ac_status); } &&
29375 { ac_try='test -z "$ac_c_werror_flag"
29376 || test ! -s conftest.err'
29377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29378 (eval $ac_try) 2>&5
29379 ac_status=$?
29380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29381 (exit $ac_status); }; } &&
29382 { ac_try='test -s conftest$ac_exeext'
29383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29384 (eval $ac_try) 2>&5
29385 ac_status=$?
29386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29387 (exit $ac_status); }; }; then
29388 eval "$as_ac_var=yes"
29389 else
29390 echo "$as_me: failed program was:" >&5
29391 sed 's/^/| /' conftest.$ac_ext >&5
29392
29393 eval "$as_ac_var=no"
29394 fi
29395 rm -f conftest.err conftest.$ac_objext \
29396 conftest$ac_exeext conftest.$ac_ext
29397 fi
29398 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29399 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29400 if test `eval echo '${'$as_ac_var'}'` = yes; then
29401 cat >>confdefs.h <<_ACEOF
29402 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29403 _ACEOF
29404
29405 fi
29406 done
29407
29408 CFLAGS="$save_CFLAGS"
29409 LIBS="$save_LIBS"
29410 fi
29411
29412 wxUSE_UNIVERSAL="yes"
29413
29414 if test "$wxUSE_NANOX" = "yes"; then
29415 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
29416 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"
29417 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
29418 else
29419 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
29420 fi
29421
29422 TOOLKIT=X11
29423 GUIDIST=X11_DIST
29424 fi
29425
29426 if test "$wxUSE_MOTIF" = 1; then
29427 if test "$wxUSE_UNICODE" = "yes"; then
29428 { { echo "$as_me:$LINENO: error: Unicode configuration not supported with Motif" >&5
29429 echo "$as_me: error: Unicode configuration not supported with Motif" >&2;}
29430 { (exit 1); exit 1; }; }
29431 fi
29432
29433 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
29434 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
29435
29436 ac_find_includes=
29437 for ac_dir in $SEARCH_INCLUDE /usr/include;
29438 do
29439 if test -f "$ac_dir/Xm/Xm.h"; then
29440 ac_find_includes=$ac_dir
29441 break
29442 fi
29443 done
29444
29445 if test "$ac_find_includes" != "" ; then
29446 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
29447 echo "${ECHO_T}found in $ac_find_includes" >&6
29448
29449 if test "x$ac_find_includes" = "x/usr/include"; then
29450 ac_path_to_include=""
29451 else
29452 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
29453 result=$?
29454 if test $result = 0; then
29455 ac_path_to_include=""
29456 else
29457 ac_path_to_include=" -I$ac_find_includes"
29458 fi
29459 fi
29460
29461 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
29462 else
29463 save_CFLAGS=$CFLAGS
29464 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
29465
29466 cat >conftest.$ac_ext <<_ACEOF
29467 /* confdefs.h. */
29468 _ACEOF
29469 cat confdefs.h >>conftest.$ac_ext
29470 cat >>conftest.$ac_ext <<_ACEOF
29471 /* end confdefs.h. */
29472
29473 #include <Xm/Xm.h>
29474
29475 int
29476 main ()
29477 {
29478
29479 int version;
29480 version = xmUseVersion;
29481
29482 ;
29483 return 0;
29484 }
29485 _ACEOF
29486 rm -f conftest.$ac_objext
29487 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29488 (eval $ac_compile) 2>conftest.er1
29489 ac_status=$?
29490 grep -v '^ *+' conftest.er1 >conftest.err
29491 rm -f conftest.er1
29492 cat conftest.err >&5
29493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29494 (exit $ac_status); } &&
29495 { ac_try='test -z "$ac_c_werror_flag"
29496 || test ! -s conftest.err'
29497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29498 (eval $ac_try) 2>&5
29499 ac_status=$?
29500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29501 (exit $ac_status); }; } &&
29502 { ac_try='test -s conftest.$ac_objext'
29503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29504 (eval $ac_try) 2>&5
29505 ac_status=$?
29506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29507 (exit $ac_status); }; }; then
29508
29509 echo "$as_me:$LINENO: result: found in default search path" >&5
29510 echo "${ECHO_T}found in default search path" >&6
29511 COMPILED_X_PROGRAM=1
29512
29513 else
29514 echo "$as_me: failed program was:" >&5
29515 sed 's/^/| /' conftest.$ac_ext >&5
29516
29517
29518 echo "$as_me:$LINENO: result: no" >&5
29519 echo "${ECHO_T}no" >&6
29520 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
29521 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
29522 { (exit 1); exit 1; }; }
29523
29524
29525 fi
29526 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29527
29528 CFLAGS=$save_CFLAGS
29529 fi
29530
29531
29532 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
29533 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
29534
29535 ac_find_libraries=
29536 for ac_dir in $SEARCH_LIB;
29537 do
29538 for ac_extension in a so sl dylib dll.a; do
29539 if test -f "$ac_dir/libXm.$ac_extension"; then
29540 ac_find_libraries=$ac_dir
29541 break 2
29542 fi
29543 done
29544 done
29545
29546
29547 if test "x$ac_find_libraries" != "x" ; then
29548 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
29549 echo "${ECHO_T}found in $ac_find_libraries" >&6
29550
29551
29552 if test "$ac_find_libraries" = "default location"; then
29553 ac_path_to_link=""
29554 else
29555 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
29556 result=$?
29557 if test $result = 0; then
29558 ac_path_to_link=""
29559 else
29560 ac_path_to_link=" -L$ac_find_libraries"
29561 fi
29562 fi
29563
29564 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
29565 else
29566 save_CFLAGS=$CFLAGS
29567 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
29568 save_LIBS="$LIBS"
29569 LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
29570
29571 cat >conftest.$ac_ext <<_ACEOF
29572 /* confdefs.h. */
29573 _ACEOF
29574 cat confdefs.h >>conftest.$ac_ext
29575 cat >>conftest.$ac_ext <<_ACEOF
29576 /* end confdefs.h. */
29577
29578 #include <Xm/Xm.h>
29579
29580 int
29581 main ()
29582 {
29583
29584 int version;
29585 version = xmUseVersion;
29586
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"
29601 || test ! -s conftest.err'
29602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29603 (eval $ac_try) 2>&5
29604 ac_status=$?
29605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29606 (exit $ac_status); }; } &&
29607 { ac_try='test -s conftest$ac_exeext'
29608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29609 (eval $ac_try) 2>&5
29610 ac_status=$?
29611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29612 (exit $ac_status); }; }; then
29613
29614 echo "$as_me:$LINENO: result: found in default search path" >&5
29615 echo "${ECHO_T}found in default search path" >&6
29616 COMPILED_X_PROGRAM=1
29617
29618 else
29619 echo "$as_me: failed program was:" >&5
29620 sed 's/^/| /' conftest.$ac_ext >&5
29621
29622
29623 echo "$as_me:$LINENO: result: no" >&5
29624 echo "${ECHO_T}no" >&6
29625 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
29626 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
29627 { (exit 1); exit 1; }; }
29628
29629
29630 fi
29631 rm -f conftest.err conftest.$ac_objext \
29632 conftest$ac_exeext conftest.$ac_ext
29633
29634 CFLAGS=$save_CFLAGS
29635 LIBS="$save_LIBS"
29636 fi
29637
29638 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
29639 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
29640 libp_link=""
29641 libsm_ice_link=""
29642 libs_found=0
29643 for libp in "" " -lXp"; do
29644 if test "$libs_found" = "0"; then
29645 for libsm_ice in "" " -lSM -lICE"; do
29646 if test "$libs_found" = "0"; then
29647 save_LIBS="$LIBS"
29648 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
29649 save_CFLAGS=$CFLAGS
29650 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
29651
29652 cat >conftest.$ac_ext <<_ACEOF
29653 /* confdefs.h. */
29654 _ACEOF
29655 cat confdefs.h >>conftest.$ac_ext
29656 cat >>conftest.$ac_ext <<_ACEOF
29657 /* end confdefs.h. */
29658
29659 #include <Xm/Xm.h>
29660 #include <Xm/List.h>
29661
29662 int
29663 main ()
29664 {
29665
29666 XmString string = NULL;
29667 Widget w = NULL;
29668 int position = 0;
29669 XmListAddItem(w, string, position);
29670
29671 ;
29672 return 0;
29673 }
29674 _ACEOF
29675 rm -f conftest.$ac_objext conftest$ac_exeext
29676 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29677 (eval $ac_link) 2>conftest.er1
29678 ac_status=$?
29679 grep -v '^ *+' conftest.er1 >conftest.err
29680 rm -f conftest.er1
29681 cat conftest.err >&5
29682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29683 (exit $ac_status); } &&
29684 { ac_try='test -z "$ac_c_werror_flag"
29685 || test ! -s conftest.err'
29686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29687 (eval $ac_try) 2>&5
29688 ac_status=$?
29689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29690 (exit $ac_status); }; } &&
29691 { ac_try='test -s conftest$ac_exeext'
29692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29693 (eval $ac_try) 2>&5
29694 ac_status=$?
29695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29696 (exit $ac_status); }; }; then
29697
29698 libp_link="$libp"
29699 libsm_ice_link="$libsm_ice"
29700 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
29701 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
29702 libs_found=1
29703
29704 else
29705 echo "$as_me: failed program was:" >&5
29706 sed 's/^/| /' conftest.$ac_ext >&5
29707
29708
29709
29710 fi
29711 rm -f conftest.err conftest.$ac_objext \
29712 conftest$ac_exeext conftest.$ac_ext
29713
29714 LIBS="$save_LIBS"
29715 CFLAGS=$save_CFLAGS
29716 fi
29717 done
29718 fi
29719 done
29720
29721 if test "$libs_found" = "0"; then
29722 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
29723 echo "${ECHO_T}can't find the right libraries" >&6
29724 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
29725 echo "$as_me: error: can't link a simple motif program" >&2;}
29726 { (exit 1); exit 1; }; }
29727 fi
29728
29729 echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
29730 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6
29731 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
29732 echo $ECHO_N "(cached) $ECHO_C" >&6
29733 else
29734 ac_check_lib_save_LIBS=$LIBS
29735 LIBS="-lSgm $LIBS"
29736 cat >conftest.$ac_ext <<_ACEOF
29737 /* confdefs.h. */
29738 _ACEOF
29739 cat confdefs.h >>conftest.$ac_ext
29740 cat >>conftest.$ac_ext <<_ACEOF
29741 /* end confdefs.h. */
29742
29743 /* Override any gcc2 internal prototype to avoid an error. */
29744 #ifdef __cplusplus
29745 extern "C"
29746 #endif
29747 /* We use char because int might match the return type of a gcc2
29748 builtin and then its argument prototype would still apply. */
29749 char SgCreateList ();
29750 int
29751 main ()
29752 {
29753 SgCreateList ();
29754 ;
29755 return 0;
29756 }
29757 _ACEOF
29758 rm -f conftest.$ac_objext conftest$ac_exeext
29759 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29760 (eval $ac_link) 2>conftest.er1
29761 ac_status=$?
29762 grep -v '^ *+' conftest.er1 >conftest.err
29763 rm -f conftest.er1
29764 cat conftest.err >&5
29765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29766 (exit $ac_status); } &&
29767 { ac_try='test -z "$ac_c_werror_flag"
29768 || test ! -s conftest.err'
29769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29770 (eval $ac_try) 2>&5
29771 ac_status=$?
29772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29773 (exit $ac_status); }; } &&
29774 { ac_try='test -s conftest$ac_exeext'
29775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29776 (eval $ac_try) 2>&5
29777 ac_status=$?
29778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29779 (exit $ac_status); }; }; then
29780 ac_cv_lib_Sgm_SgCreateList=yes
29781 else
29782 echo "$as_me: failed program was:" >&5
29783 sed 's/^/| /' conftest.$ac_ext >&5
29784
29785 ac_cv_lib_Sgm_SgCreateList=no
29786 fi
29787 rm -f conftest.err conftest.$ac_objext \
29788 conftest$ac_exeext conftest.$ac_ext
29789 LIBS=$ac_check_lib_save_LIBS
29790 fi
29791 echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
29792 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6
29793 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
29794 libsgm_link=" -lSgm"
29795 fi
29796
29797
29798 save_CFLAGS=$CFLAGS
29799 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
29800
29801 echo "$as_me:$LINENO: checking for Motif 2" >&5
29802 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
29803 if test "${wx_cv_lib_motif2+set}" = set; then
29804 echo $ECHO_N "(cached) $ECHO_C" >&6
29805 else
29806 cat >conftest.$ac_ext <<_ACEOF
29807 /* confdefs.h. */
29808 _ACEOF
29809 cat confdefs.h >>conftest.$ac_ext
29810 cat >>conftest.$ac_ext <<_ACEOF
29811 /* end confdefs.h. */
29812
29813 #include <Xm/Xm.h>
29814
29815 int
29816 main ()
29817 {
29818
29819 #if XmVersion < 2000
29820 Not Motif 2
29821 #endif
29822
29823 ;
29824 return 0;
29825 }
29826 _ACEOF
29827 rm -f conftest.$ac_objext
29828 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29829 (eval $ac_compile) 2>conftest.er1
29830 ac_status=$?
29831 grep -v '^ *+' conftest.er1 >conftest.err
29832 rm -f conftest.er1
29833 cat conftest.err >&5
29834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29835 (exit $ac_status); } &&
29836 { ac_try='test -z "$ac_c_werror_flag"
29837 || test ! -s conftest.err'
29838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29839 (eval $ac_try) 2>&5
29840 ac_status=$?
29841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29842 (exit $ac_status); }; } &&
29843 { ac_try='test -s conftest.$ac_objext'
29844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29845 (eval $ac_try) 2>&5
29846 ac_status=$?
29847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29848 (exit $ac_status); }; }; then
29849 wx_cv_lib_motif2="yes"
29850 else
29851 echo "$as_me: failed program was:" >&5
29852 sed 's/^/| /' conftest.$ac_ext >&5
29853
29854 wx_cv_lib_motif2="no"
29855 fi
29856 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29857 fi
29858 echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
29859 echo "${ECHO_T}$wx_cv_lib_motif2" >&6
29860 if test "$wx_cv_lib_motif2" = "yes"; then
29861 cat >>confdefs.h <<\_ACEOF
29862 #define __WXMOTIF20__ 1
29863 _ACEOF
29864
29865 else
29866 cat >>confdefs.h <<\_ACEOF
29867 #define __WXMOTIF20__ 0
29868 _ACEOF
29869
29870 fi
29871
29872 echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
29873 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6
29874 if test "${wx_cv_lib_lesstif+set}" = set; then
29875 echo $ECHO_N "(cached) $ECHO_C" >&6
29876 else
29877 cat >conftest.$ac_ext <<_ACEOF
29878 /* confdefs.h. */
29879 _ACEOF
29880 cat confdefs.h >>conftest.$ac_ext
29881 cat >>conftest.$ac_ext <<_ACEOF
29882 /* end confdefs.h. */
29883
29884 #include <Xm/Xm.h>
29885
29886 int
29887 main ()
29888 {
29889
29890 #if !defined(LesstifVersion) || LesstifVersion <= 0
29891 Not Lesstif
29892 #endif
29893
29894 ;
29895 return 0;
29896 }
29897 _ACEOF
29898 rm -f conftest.$ac_objext
29899 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29900 (eval $ac_compile) 2>conftest.er1
29901 ac_status=$?
29902 grep -v '^ *+' conftest.er1 >conftest.err
29903 rm -f conftest.er1
29904 cat conftest.err >&5
29905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29906 (exit $ac_status); } &&
29907 { ac_try='test -z "$ac_c_werror_flag"
29908 || test ! -s conftest.err'
29909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29910 (eval $ac_try) 2>&5
29911 ac_status=$?
29912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29913 (exit $ac_status); }; } &&
29914 { ac_try='test -s conftest.$ac_objext'
29915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29916 (eval $ac_try) 2>&5
29917 ac_status=$?
29918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29919 (exit $ac_status); }; }; then
29920 wx_cv_lib_lesstif="yes"
29921 else
29922 echo "$as_me: failed program was:" >&5
29923 sed 's/^/| /' conftest.$ac_ext >&5
29924
29925 wx_cv_lib_lesstif="no"
29926 fi
29927 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29928
29929 fi
29930 echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
29931 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6
29932 if test "$wx_cv_lib_lesstif" = "yes"; then
29933 cat >>confdefs.h <<\_ACEOF
29934 #define __WXLESSTIF__ 1
29935 _ACEOF
29936
29937 else
29938 cat >>confdefs.h <<\_ACEOF
29939 #define __WXLESSTIF__ 0
29940 _ACEOF
29941
29942 fi
29943
29944 CFLAGS=$save_CFLAGS
29945
29946 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
29947 TOOLKIT=MOTIF
29948 GUIDIST=MOTIF_DIST
29949 fi
29950
29951 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
29952 if test "$wxUSE_LIBXPM" = "sys"; then
29953 echo "$as_me:$LINENO: checking for Xpm library" >&5
29954 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
29955
29956 ac_find_libraries=
29957 for ac_dir in $SEARCH_LIB;
29958 do
29959 for ac_extension in a so sl dylib dll.a; do
29960 if test -f "$ac_dir/libXpm.$ac_extension"; then
29961 ac_find_libraries=$ac_dir
29962 break 2
29963 fi
29964 done
29965 done
29966
29967 if test "$ac_find_libraries" != "" ; then
29968
29969 if test "$ac_find_libraries" = "default location"; then
29970 ac_path_to_link=""
29971 else
29972 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
29973 result=$?
29974 if test $result = 0; then
29975 ac_path_to_link=""
29976 else
29977 ac_path_to_link=" -L$ac_find_libraries"
29978 fi
29979 fi
29980
29981 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
29982 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
29983 echo "${ECHO_T}found in $ac_find_libraries" >&6
29984
29985 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
29986 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
29987 if test "${wx_cv_x11_xpm_h+set}" = set; then
29988 echo $ECHO_N "(cached) $ECHO_C" >&6
29989 else
29990
29991 save_CFLAGS=$CFLAGS
29992 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
29993
29994 cat >conftest.$ac_ext <<_ACEOF
29995 /* confdefs.h. */
29996 _ACEOF
29997 cat confdefs.h >>conftest.$ac_ext
29998 cat >>conftest.$ac_ext <<_ACEOF
29999 /* end confdefs.h. */
30000
30001 #include <X11/xpm.h>
30002
30003 int
30004 main ()
30005 {
30006
30007 int version;
30008 version = XpmLibraryVersion();
30009
30010 ;
30011 return 0;
30012 }
30013 _ACEOF
30014 rm -f conftest.$ac_objext
30015 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30016 (eval $ac_compile) 2>conftest.er1
30017 ac_status=$?
30018 grep -v '^ *+' conftest.er1 >conftest.err
30019 rm -f conftest.er1
30020 cat conftest.err >&5
30021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30022 (exit $ac_status); } &&
30023 { ac_try='test -z "$ac_c_werror_flag"
30024 || test ! -s conftest.err'
30025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30026 (eval $ac_try) 2>&5
30027 ac_status=$?
30028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30029 (exit $ac_status); }; } &&
30030 { ac_try='test -s conftest.$ac_objext'
30031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30032 (eval $ac_try) 2>&5
30033 ac_status=$?
30034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30035 (exit $ac_status); }; }; then
30036 wx_cv_x11_xpm_h=yes
30037 else
30038 echo "$as_me: failed program was:" >&5
30039 sed 's/^/| /' conftest.$ac_ext >&5
30040
30041 wx_cv_x11_xpm_h=no
30042
30043 fi
30044 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30045
30046 CFLAGS=$save_CFLAGS
30047
30048
30049 fi
30050 echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
30051 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6
30052
30053 if test $wx_cv_x11_xpm_h = "yes"; then
30054 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
30055 cat >>confdefs.h <<\_ACEOF
30056 #define wxHAVE_LIB_XPM 1
30057 _ACEOF
30058
30059 else
30060 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
30061 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
30062 fi
30063 fi
30064
30065 fi
30066
30067 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
30068 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
30069 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
30070 echo $ECHO_N "(cached) $ECHO_C" >&6
30071 else
30072 ac_check_lib_save_LIBS=$LIBS
30073 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
30074 cat >conftest.$ac_ext <<_ACEOF
30075 /* confdefs.h. */
30076 _ACEOF
30077 cat confdefs.h >>conftest.$ac_ext
30078 cat >>conftest.$ac_ext <<_ACEOF
30079 /* end confdefs.h. */
30080
30081 /* Override any gcc2 internal prototype to avoid an error. */
30082 #ifdef __cplusplus
30083 extern "C"
30084 #endif
30085 /* We use char because int might match the return type of a gcc2
30086 builtin and then its argument prototype would still apply. */
30087 char XShapeQueryExtension ();
30088 int
30089 main ()
30090 {
30091 XShapeQueryExtension ();
30092 ;
30093 return 0;
30094 }
30095 _ACEOF
30096 rm -f conftest.$ac_objext conftest$ac_exeext
30097 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30098 (eval $ac_link) 2>conftest.er1
30099 ac_status=$?
30100 grep -v '^ *+' conftest.er1 >conftest.err
30101 rm -f conftest.er1
30102 cat conftest.err >&5
30103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30104 (exit $ac_status); } &&
30105 { ac_try='test -z "$ac_c_werror_flag"
30106 || test ! -s conftest.err'
30107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30108 (eval $ac_try) 2>&5
30109 ac_status=$?
30110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30111 (exit $ac_status); }; } &&
30112 { ac_try='test -s conftest$ac_exeext'
30113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30114 (eval $ac_try) 2>&5
30115 ac_status=$?
30116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30117 (exit $ac_status); }; }; then
30118 ac_cv_lib_Xext_XShapeQueryExtension=yes
30119 else
30120 echo "$as_me: failed program was:" >&5
30121 sed 's/^/| /' conftest.$ac_ext >&5
30122
30123 ac_cv_lib_Xext_XShapeQueryExtension=no
30124 fi
30125 rm -f conftest.err conftest.$ac_objext \
30126 conftest$ac_exeext conftest.$ac_ext
30127 LIBS=$ac_check_lib_save_LIBS
30128 fi
30129 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
30130 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
30131 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
30132
30133 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
30134 wxHAVE_XEXT_LIB=1
30135
30136 fi
30137
30138
30139 if test "$wxHAVE_XEXT_LIB" = 1; then
30140 save_CFLAGS="$CFLAGS"
30141 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
30142
30143 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
30144 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
30145 cat >conftest.$ac_ext <<_ACEOF
30146 /* confdefs.h. */
30147 _ACEOF
30148 cat confdefs.h >>conftest.$ac_ext
30149 cat >>conftest.$ac_ext <<_ACEOF
30150 /* end confdefs.h. */
30151
30152 #include <X11/Xlib.h>
30153 #include <X11/extensions/shape.h>
30154
30155 int
30156 main ()
30157 {
30158
30159 int dummy1, dummy2;
30160 XShapeQueryExtension((Display*)NULL,
30161 (int*)NULL, (int*)NULL);
30162
30163 ;
30164 return 0;
30165 }
30166 _ACEOF
30167 rm -f conftest.$ac_objext
30168 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30169 (eval $ac_compile) 2>conftest.er1
30170 ac_status=$?
30171 grep -v '^ *+' conftest.er1 >conftest.err
30172 rm -f conftest.er1
30173 cat conftest.err >&5
30174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30175 (exit $ac_status); } &&
30176 { ac_try='test -z "$ac_c_werror_flag"
30177 || test ! -s conftest.err'
30178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30179 (eval $ac_try) 2>&5
30180 ac_status=$?
30181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30182 (exit $ac_status); }; } &&
30183 { ac_try='test -s conftest.$ac_objext'
30184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30185 (eval $ac_try) 2>&5
30186 ac_status=$?
30187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30188 (exit $ac_status); }; }; then
30189
30190 cat >>confdefs.h <<\_ACEOF
30191 #define HAVE_XSHAPE 1
30192 _ACEOF
30193
30194 echo "$as_me:$LINENO: result: found" >&5
30195 echo "${ECHO_T}found" >&6
30196
30197 else
30198 echo "$as_me: failed program was:" >&5
30199 sed 's/^/| /' conftest.$ac_ext >&5
30200
30201
30202 echo "$as_me:$LINENO: result: not found" >&5
30203 echo "${ECHO_T}not found" >&6
30204
30205 fi
30206 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30207 CFLAGS="$save_CFLAGS"
30208
30209 fi
30210 fi
30211
30212 if test "$wxUSE_MAC" = 1; then
30213 echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
30214 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6
30215 if test "$GCC" = yes; then
30216 echo "$as_me:$LINENO: result: gcc" >&5
30217 echo "${ECHO_T}gcc" >&6
30218 CPPFLAGS_PASCAL="-fpascal-strings"
30219 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
30220 echo "$as_me:$LINENO: result: xlc" >&5
30221 echo "${ECHO_T}xlc" >&6
30222 CPPFLAGS_PASCAL="-qmacpstr"
30223 else
30224 echo "$as_me:$LINENO: result: none" >&5
30225 echo "${ECHO_T}none" >&6
30226 fi
30227
30228 if test "x$wxUSE_UNIX" = "xyes"; then
30229 CPPFLAGS="$CPPFLAGS $CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon"
30230 else
30231 CPPFLAGS="$CPPFLAGS $CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON"
30232 fi
30233
30234 TOOLKIT=MAC
30235 GUIDIST=MACX_DIST
30236 WXBASEPORT="_carbon"
30237 fi
30238
30239 if test "$wxUSE_COCOA" = 1; then
30240 TOOLKIT=COCOA
30241 GUIDIST=COCOA_DIST
30242 fi
30243
30244 if test "$wxUSE_PM" = 1; then
30245 TOOLKIT=PM
30246 GUIDIST=PM_DIST
30247 echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
30248 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6
30249 if test "${wx_cv_spbcdata+set}" = set; then
30250 echo $ECHO_N "(cached) $ECHO_C" >&6
30251 else
30252
30253 cat >conftest.$ac_ext <<_ACEOF
30254 /* confdefs.h. */
30255 _ACEOF
30256 cat confdefs.h >>conftest.$ac_ext
30257 cat >>conftest.$ac_ext <<_ACEOF
30258 /* end confdefs.h. */
30259
30260 #define INCL_PM
30261 #include <os2.h>
30262
30263 int
30264 main ()
30265 {
30266
30267 SPBCDATA test;
30268
30269 ;
30270 return 0;
30271 }
30272 _ACEOF
30273 rm -f conftest.$ac_objext
30274 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30275 (eval $ac_compile) 2>conftest.er1
30276 ac_status=$?
30277 grep -v '^ *+' conftest.er1 >conftest.err
30278 rm -f conftest.er1
30279 cat conftest.err >&5
30280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30281 (exit $ac_status); } &&
30282 { ac_try='test -z "$ac_c_werror_flag"
30283 || test ! -s conftest.err'
30284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30285 (eval $ac_try) 2>&5
30286 ac_status=$?
30287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30288 (exit $ac_status); }; } &&
30289 { ac_try='test -s conftest.$ac_objext'
30290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30291 (eval $ac_try) 2>&5
30292 ac_status=$?
30293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30294 (exit $ac_status); }; }; then
30295 wx_cv_spbcdata=yes
30296 else
30297 echo "$as_me: failed program was:" >&5
30298 sed 's/^/| /' conftest.$ac_ext >&5
30299
30300 wx_cv_spbcdata=no
30301
30302 fi
30303 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30304
30305
30306 fi
30307 echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
30308 echo "${ECHO_T}$wx_cv_spbcdata" >&6
30309
30310 if test $wx_cv_spbcdata = "yes"; then
30311 cat >>confdefs.h <<\_ACEOF
30312 #define HAVE_SPBCDATA 1
30313 _ACEOF
30314
30315 fi
30316 fi
30317
30318 if test "$TOOLKIT" = "PM" ; then
30319 TOOLKIT_DIR="os2"
30320 else
30321 TOOLKIT_DIR=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
30322 fi
30323
30324 if test "$wxUSE_UNIVERSAL" = "yes"; then
30325 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
30326 WIDGET_SET=univ
30327 fi
30328
30329 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
30330 DISTDIR="wx\$(TOOLKIT)"
30331 else
30332 USE_GUI=0
30333
30334 TOOLKIT_DIR="base"
30335
30336 if test "$USE_WIN32" = 1 ; then
30337 TOOLKIT="MSW"
30338 fi
30339
30340 GUIDIST="BASE_DIST"
30341 DISTDIR="wxBase"
30342 fi
30343
30344
30345 if test "$wxUSE_GUI" = "yes"; then
30346 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
30347
30348 for ac_header in X11/Xlib.h
30349 do
30350 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
30351 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30352 echo "$as_me:$LINENO: checking for $ac_header" >&5
30353 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30354 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30355 echo $ECHO_N "(cached) $ECHO_C" >&6
30356 fi
30357 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30358 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30359 else
30360 # Is the header compilable?
30361 echo "$as_me:$LINENO: checking $ac_header usability" >&5
30362 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
30363 cat >conftest.$ac_ext <<_ACEOF
30364 /* confdefs.h. */
30365 _ACEOF
30366 cat confdefs.h >>conftest.$ac_ext
30367 cat >>conftest.$ac_ext <<_ACEOF
30368 /* end confdefs.h. */
30369 $ac_includes_default
30370 #include <$ac_header>
30371 _ACEOF
30372 rm -f conftest.$ac_objext
30373 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30374 (eval $ac_compile) 2>conftest.er1
30375 ac_status=$?
30376 grep -v '^ *+' conftest.er1 >conftest.err
30377 rm -f conftest.er1
30378 cat conftest.err >&5
30379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30380 (exit $ac_status); } &&
30381 { ac_try='test -z "$ac_c_werror_flag"
30382 || test ! -s conftest.err'
30383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30384 (eval $ac_try) 2>&5
30385 ac_status=$?
30386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30387 (exit $ac_status); }; } &&
30388 { ac_try='test -s conftest.$ac_objext'
30389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30390 (eval $ac_try) 2>&5
30391 ac_status=$?
30392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30393 (exit $ac_status); }; }; then
30394 ac_header_compiler=yes
30395 else
30396 echo "$as_me: failed program was:" >&5
30397 sed 's/^/| /' conftest.$ac_ext >&5
30398
30399 ac_header_compiler=no
30400 fi
30401 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30402 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
30403 echo "${ECHO_T}$ac_header_compiler" >&6
30404
30405 # Is the header present?
30406 echo "$as_me:$LINENO: checking $ac_header presence" >&5
30407 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
30408 cat >conftest.$ac_ext <<_ACEOF
30409 /* confdefs.h. */
30410 _ACEOF
30411 cat confdefs.h >>conftest.$ac_ext
30412 cat >>conftest.$ac_ext <<_ACEOF
30413 /* end confdefs.h. */
30414 #include <$ac_header>
30415 _ACEOF
30416 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
30417 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
30418 ac_status=$?
30419 grep -v '^ *+' conftest.er1 >conftest.err
30420 rm -f conftest.er1
30421 cat conftest.err >&5
30422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30423 (exit $ac_status); } >/dev/null; then
30424 if test -s conftest.err; then
30425 ac_cpp_err=$ac_c_preproc_warn_flag
30426 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
30427 else
30428 ac_cpp_err=
30429 fi
30430 else
30431 ac_cpp_err=yes
30432 fi
30433 if test -z "$ac_cpp_err"; then
30434 ac_header_preproc=yes
30435 else
30436 echo "$as_me: failed program was:" >&5
30437 sed 's/^/| /' conftest.$ac_ext >&5
30438
30439 ac_header_preproc=no
30440 fi
30441 rm -f conftest.err conftest.$ac_ext
30442 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30443 echo "${ECHO_T}$ac_header_preproc" >&6
30444
30445 # So? What about this header?
30446 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
30447 yes:no: )
30448 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
30449 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
30450 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
30451 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
30452 ac_header_preproc=yes
30453 ;;
30454 no:yes:* )
30455 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
30456 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
30457 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
30458 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
30459 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
30460 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
30461 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
30462 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
30463 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
30464 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
30465 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
30466 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
30467 (
30468 cat <<\_ASBOX
30469 ## ----------------------------------------- ##
30470 ## Report this to wx-dev@lists.wxwidgets.org ##
30471 ## ----------------------------------------- ##
30472 _ASBOX
30473 ) |
30474 sed "s/^/$as_me: WARNING: /" >&2
30475 ;;
30476 esac
30477 echo "$as_me:$LINENO: checking for $ac_header" >&5
30478 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30479 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30480 echo $ECHO_N "(cached) $ECHO_C" >&6
30481 else
30482 eval "$as_ac_Header=\$ac_header_preproc"
30483 fi
30484 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30485 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30486
30487 fi
30488 if test `eval echo '${'$as_ac_Header'}'` = yes; then
30489 cat >>confdefs.h <<_ACEOF
30490 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
30491 _ACEOF
30492
30493 fi
30494
30495 done
30496
30497
30498 for ac_header in X11/XKBlib.h
30499 do
30500 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
30501 echo "$as_me:$LINENO: checking for $ac_header" >&5
30502 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30503 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30504 echo $ECHO_N "(cached) $ECHO_C" >&6
30505 else
30506 cat >conftest.$ac_ext <<_ACEOF
30507 /* confdefs.h. */
30508 _ACEOF
30509 cat confdefs.h >>conftest.$ac_ext
30510 cat >>conftest.$ac_ext <<_ACEOF
30511 /* end confdefs.h. */
30512
30513 #if HAVE_X11_XLIB_H
30514 #include <X11/Xlib.h>
30515 #endif
30516
30517
30518 #include <$ac_header>
30519 _ACEOF
30520 rm -f conftest.$ac_objext
30521 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30522 (eval $ac_compile) 2>conftest.er1
30523 ac_status=$?
30524 grep -v '^ *+' conftest.er1 >conftest.err
30525 rm -f conftest.er1
30526 cat conftest.err >&5
30527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30528 (exit $ac_status); } &&
30529 { ac_try='test -z "$ac_c_werror_flag"
30530 || test ! -s conftest.err'
30531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30532 (eval $ac_try) 2>&5
30533 ac_status=$?
30534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30535 (exit $ac_status); }; } &&
30536 { ac_try='test -s conftest.$ac_objext'
30537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30538 (eval $ac_try) 2>&5
30539 ac_status=$?
30540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30541 (exit $ac_status); }; }; then
30542 eval "$as_ac_Header=yes"
30543 else
30544 echo "$as_me: failed program was:" >&5
30545 sed 's/^/| /' conftest.$ac_ext >&5
30546
30547 eval "$as_ac_Header=no"
30548 fi
30549 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30550 fi
30551 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30552 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30553 if test `eval echo '${'$as_ac_Header'}'` = yes; then
30554 cat >>confdefs.h <<_ACEOF
30555 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
30556 _ACEOF
30557
30558 fi
30559
30560 done
30561
30562 fi
30563 fi
30564
30565
30566
30567 IODBC_C_SRC=""
30568
30569
30570 if test "$TOOLKIT" != "MSW" ; then
30571
30572 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
30573
30574 if test "${ac_cv_header_sql_h+set}" = set; then
30575 echo "$as_me:$LINENO: checking for sql.h" >&5
30576 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
30577 if test "${ac_cv_header_sql_h+set}" = set; then
30578 echo $ECHO_N "(cached) $ECHO_C" >&6
30579 fi
30580 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
30581 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
30582 else
30583 # Is the header compilable?
30584 echo "$as_me:$LINENO: checking sql.h usability" >&5
30585 echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
30586 cat >conftest.$ac_ext <<_ACEOF
30587 /* confdefs.h. */
30588 _ACEOF
30589 cat confdefs.h >>conftest.$ac_ext
30590 cat >>conftest.$ac_ext <<_ACEOF
30591 /* end confdefs.h. */
30592 $ac_includes_default
30593 #include <sql.h>
30594 _ACEOF
30595 rm -f conftest.$ac_objext
30596 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30597 (eval $ac_compile) 2>conftest.er1
30598 ac_status=$?
30599 grep -v '^ *+' conftest.er1 >conftest.err
30600 rm -f conftest.er1
30601 cat conftest.err >&5
30602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30603 (exit $ac_status); } &&
30604 { ac_try='test -z "$ac_c_werror_flag"
30605 || test ! -s conftest.err'
30606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30607 (eval $ac_try) 2>&5
30608 ac_status=$?
30609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30610 (exit $ac_status); }; } &&
30611 { ac_try='test -s conftest.$ac_objext'
30612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30613 (eval $ac_try) 2>&5
30614 ac_status=$?
30615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30616 (exit $ac_status); }; }; then
30617 ac_header_compiler=yes
30618 else
30619 echo "$as_me: failed program was:" >&5
30620 sed 's/^/| /' conftest.$ac_ext >&5
30621
30622 ac_header_compiler=no
30623 fi
30624 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30625 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
30626 echo "${ECHO_T}$ac_header_compiler" >&6
30627
30628 # Is the header present?
30629 echo "$as_me:$LINENO: checking sql.h presence" >&5
30630 echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
30631 cat >conftest.$ac_ext <<_ACEOF
30632 /* confdefs.h. */
30633 _ACEOF
30634 cat confdefs.h >>conftest.$ac_ext
30635 cat >>conftest.$ac_ext <<_ACEOF
30636 /* end confdefs.h. */
30637 #include <sql.h>
30638 _ACEOF
30639 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
30640 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
30641 ac_status=$?
30642 grep -v '^ *+' conftest.er1 >conftest.err
30643 rm -f conftest.er1
30644 cat conftest.err >&5
30645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30646 (exit $ac_status); } >/dev/null; then
30647 if test -s conftest.err; then
30648 ac_cpp_err=$ac_c_preproc_warn_flag
30649 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
30650 else
30651 ac_cpp_err=
30652 fi
30653 else
30654 ac_cpp_err=yes
30655 fi
30656 if test -z "$ac_cpp_err"; then
30657 ac_header_preproc=yes
30658 else
30659 echo "$as_me: failed program was:" >&5
30660 sed 's/^/| /' conftest.$ac_ext >&5
30661
30662 ac_header_preproc=no
30663 fi
30664 rm -f conftest.err conftest.$ac_ext
30665 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30666 echo "${ECHO_T}$ac_header_preproc" >&6
30667
30668 # So? What about this header?
30669 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
30670 yes:no: )
30671 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
30672 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
30673 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the compiler's result" >&5
30674 echo "$as_me: WARNING: sql.h: proceeding with the compiler's result" >&2;}
30675 ac_header_preproc=yes
30676 ;;
30677 no:yes:* )
30678 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
30679 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
30680 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
30681 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
30682 { echo "$as_me:$LINENO: WARNING: sql.h: see the Autoconf documentation" >&5
30683 echo "$as_me: WARNING: sql.h: see the Autoconf documentation" >&2;}
30684 { echo "$as_me:$LINENO: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&5
30685 echo "$as_me: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&2;}
30686 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
30687 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
30688 { echo "$as_me:$LINENO: WARNING: sql.h: in the future, the compiler will take precedence" >&5
30689 echo "$as_me: WARNING: sql.h: in the future, the compiler will take precedence" >&2;}
30690 (
30691 cat <<\_ASBOX
30692 ## ----------------------------------------- ##
30693 ## Report this to wx-dev@lists.wxwidgets.org ##
30694 ## ----------------------------------------- ##
30695 _ASBOX
30696 ) |
30697 sed "s/^/$as_me: WARNING: /" >&2
30698 ;;
30699 esac
30700 echo "$as_me:$LINENO: checking for sql.h" >&5
30701 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
30702 if test "${ac_cv_header_sql_h+set}" = set; then
30703 echo $ECHO_N "(cached) $ECHO_C" >&6
30704 else
30705 ac_cv_header_sql_h=$ac_header_preproc
30706 fi
30707 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
30708 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
30709
30710 fi
30711 if test $ac_cv_header_sql_h = yes; then
30712 found_sql_h=1
30713 fi
30714
30715
30716 if test "x$found_sql_h" = "x1" ; then
30717 echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
30718 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6
30719 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
30720 echo $ECHO_N "(cached) $ECHO_C" >&6
30721 else
30722 ac_check_lib_save_LIBS=$LIBS
30723 LIBS="-liodbc $LIBS"
30724 cat >conftest.$ac_ext <<_ACEOF
30725 /* confdefs.h. */
30726 _ACEOF
30727 cat confdefs.h >>conftest.$ac_ext
30728 cat >>conftest.$ac_ext <<_ACEOF
30729 /* end confdefs.h. */
30730
30731 /* Override any gcc2 internal prototype to avoid an error. */
30732 #ifdef __cplusplus
30733 extern "C"
30734 #endif
30735 /* We use char because int might match the return type of a gcc2
30736 builtin and then its argument prototype would still apply. */
30737 char SQLAllocEnv ();
30738 int
30739 main ()
30740 {
30741 SQLAllocEnv ();
30742 ;
30743 return 0;
30744 }
30745 _ACEOF
30746 rm -f conftest.$ac_objext conftest$ac_exeext
30747 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30748 (eval $ac_link) 2>conftest.er1
30749 ac_status=$?
30750 grep -v '^ *+' conftest.er1 >conftest.err
30751 rm -f conftest.er1
30752 cat conftest.err >&5
30753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30754 (exit $ac_status); } &&
30755 { ac_try='test -z "$ac_c_werror_flag"
30756 || test ! -s conftest.err'
30757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30758 (eval $ac_try) 2>&5
30759 ac_status=$?
30760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30761 (exit $ac_status); }; } &&
30762 { ac_try='test -s conftest$ac_exeext'
30763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30764 (eval $ac_try) 2>&5
30765 ac_status=$?
30766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30767 (exit $ac_status); }; }; then
30768 ac_cv_lib_iodbc_SQLAllocEnv=yes
30769 else
30770 echo "$as_me: failed program was:" >&5
30771 sed 's/^/| /' conftest.$ac_ext >&5
30772
30773 ac_cv_lib_iodbc_SQLAllocEnv=no
30774 fi
30775 rm -f conftest.err conftest.$ac_objext \
30776 conftest$ac_exeext conftest.$ac_ext
30777 LIBS=$ac_check_lib_save_LIBS
30778 fi
30779 echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
30780 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6
30781 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
30782 ODBC_LINK=" -liodbc"
30783 else
30784
30785 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
30786 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6
30787 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
30788 echo $ECHO_N "(cached) $ECHO_C" >&6
30789 else
30790 ac_check_lib_save_LIBS=$LIBS
30791 LIBS="-lunixodbc $LIBS"
30792 cat >conftest.$ac_ext <<_ACEOF
30793 /* confdefs.h. */
30794 _ACEOF
30795 cat confdefs.h >>conftest.$ac_ext
30796 cat >>conftest.$ac_ext <<_ACEOF
30797 /* end confdefs.h. */
30798
30799 /* Override any gcc2 internal prototype to avoid an error. */
30800 #ifdef __cplusplus
30801 extern "C"
30802 #endif
30803 /* We use char because int might match the return type of a gcc2
30804 builtin and then its argument prototype would still apply. */
30805 char SQLAllocEnv ();
30806 int
30807 main ()
30808 {
30809 SQLAllocEnv ();
30810 ;
30811 return 0;
30812 }
30813 _ACEOF
30814 rm -f conftest.$ac_objext conftest$ac_exeext
30815 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30816 (eval $ac_link) 2>conftest.er1
30817 ac_status=$?
30818 grep -v '^ *+' conftest.er1 >conftest.err
30819 rm -f conftest.er1
30820 cat conftest.err >&5
30821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30822 (exit $ac_status); } &&
30823 { ac_try='test -z "$ac_c_werror_flag"
30824 || test ! -s conftest.err'
30825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30826 (eval $ac_try) 2>&5
30827 ac_status=$?
30828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30829 (exit $ac_status); }; } &&
30830 { ac_try='test -s conftest$ac_exeext'
30831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30832 (eval $ac_try) 2>&5
30833 ac_status=$?
30834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30835 (exit $ac_status); }; }; then
30836 ac_cv_lib_unixodbc_SQLAllocEnv=yes
30837 else
30838 echo "$as_me: failed program was:" >&5
30839 sed 's/^/| /' conftest.$ac_ext >&5
30840
30841 ac_cv_lib_unixodbc_SQLAllocEnv=no
30842 fi
30843 rm -f conftest.err conftest.$ac_objext \
30844 conftest$ac_exeext conftest.$ac_ext
30845 LIBS=$ac_check_lib_save_LIBS
30846 fi
30847 echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
30848 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6
30849 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
30850 ODBC_LINK=" -lunixodbc"
30851 else
30852
30853 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
30854 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6
30855 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
30856 echo $ECHO_N "(cached) $ECHO_C" >&6
30857 else
30858 ac_check_lib_save_LIBS=$LIBS
30859 LIBS="-lodbc $LIBS"
30860 cat >conftest.$ac_ext <<_ACEOF
30861 /* confdefs.h. */
30862 _ACEOF
30863 cat confdefs.h >>conftest.$ac_ext
30864 cat >>conftest.$ac_ext <<_ACEOF
30865 /* end confdefs.h. */
30866
30867 /* Override any gcc2 internal prototype to avoid an error. */
30868 #ifdef __cplusplus
30869 extern "C"
30870 #endif
30871 /* We use char because int might match the return type of a gcc2
30872 builtin and then its argument prototype would still apply. */
30873 char SQLAllocEnv ();
30874 int
30875 main ()
30876 {
30877 SQLAllocEnv ();
30878 ;
30879 return 0;
30880 }
30881 _ACEOF
30882 rm -f conftest.$ac_objext conftest$ac_exeext
30883 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30884 (eval $ac_link) 2>conftest.er1
30885 ac_status=$?
30886 grep -v '^ *+' conftest.er1 >conftest.err
30887 rm -f conftest.er1
30888 cat conftest.err >&5
30889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30890 (exit $ac_status); } &&
30891 { ac_try='test -z "$ac_c_werror_flag"
30892 || test ! -s conftest.err'
30893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30894 (eval $ac_try) 2>&5
30895 ac_status=$?
30896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30897 (exit $ac_status); }; } &&
30898 { ac_try='test -s conftest$ac_exeext'
30899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30900 (eval $ac_try) 2>&5
30901 ac_status=$?
30902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30903 (exit $ac_status); }; }; then
30904 ac_cv_lib_odbc_SQLAllocEnv=yes
30905 else
30906 echo "$as_me: failed program was:" >&5
30907 sed 's/^/| /' conftest.$ac_ext >&5
30908
30909 ac_cv_lib_odbc_SQLAllocEnv=no
30910 fi
30911 rm -f conftest.err conftest.$ac_objext \
30912 conftest$ac_exeext conftest.$ac_ext
30913 LIBS=$ac_check_lib_save_LIBS
30914 fi
30915 echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
30916 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6
30917 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
30918 ODBC_LINK=" -lodbc"
30919 fi
30920
30921
30922 fi
30923
30924
30925 fi
30926
30927 fi
30928 if test "x$ODBC_LINK" = "x" ; then
30929 if test "$wxUSE_ODBC" = "sys" ; then
30930 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
30931 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
30932 { (exit 1); exit 1; }; }
30933 else
30934 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
30935 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
30936 wxUSE_ODBC=builtin
30937 fi
30938 else
30939 wxUSE_ODBC=sys
30940 fi
30941 fi
30942
30943 if test "$wxUSE_ODBC" = "builtin" ; then
30944 cat >>confdefs.h <<\_ACEOF
30945 #define wxUSE_BUILTIN_IODBC 1
30946 _ACEOF
30947
30948 fi
30949 fi
30950
30951 if test "$wxUSE_ODBC" != "no" ; then
30952 cat >>confdefs.h <<\_ACEOF
30953 #define wxUSE_ODBC 1
30954 _ACEOF
30955
30956 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS db"
30957
30958 WXODBCFLAG="-D_IODBC_"
30959 fi
30960
30961
30962 if test "$wxUSE_DISPLAY" = "yes"; then
30963 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
30964 echo "$as_me:$LINENO: checking for Xinerama" >&5
30965 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6
30966
30967 ac_find_libraries=
30968 for ac_dir in $SEARCH_LIB;
30969 do
30970 for ac_extension in a so sl dylib dll.a; do
30971 if test -f "$ac_dir/libXinerama.$ac_extension"; then
30972 ac_find_libraries=$ac_dir
30973 break 2
30974 fi
30975 done
30976 done
30977
30978 if test "$ac_find_libraries" != "" ; then
30979
30980 if test "$ac_find_libraries" = "default location"; then
30981 ac_path_to_link=""
30982 else
30983 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
30984 result=$?
30985 if test $result = 0; then
30986 ac_path_to_link=""
30987 else
30988 ac_path_to_link=" -L$ac_find_libraries"
30989 fi
30990 fi
30991
30992 if test "$ac_path_to_link" != " -L/usr/lib" ; then
30993 LDFLAGS="$LDFLAGS $ac_path_to_link"
30994 fi
30995 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
30996 echo "$as_me:$LINENO: result: yes" >&5
30997 echo "${ECHO_T}yes" >&6
30998
30999 echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
31000 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6
31001
31002 ac_find_libraries=
31003 for ac_dir in $SEARCH_LIB;
31004 do
31005 for ac_extension in a so sl dylib dll.a; do
31006 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
31007 ac_find_libraries=$ac_dir
31008 break 2
31009 fi
31010 done
31011 done
31012
31013 if test "$ac_find_libraries" != "" ; then
31014 echo "$as_me:$LINENO: result: yes" >&5
31015 echo "${ECHO_T}yes" >&6
31016
31017 for ac_header in X11/extensions/xf86vmode.h
31018 do
31019 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31020 echo "$as_me:$LINENO: checking for $ac_header" >&5
31021 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31022 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31023 echo $ECHO_N "(cached) $ECHO_C" >&6
31024 else
31025 cat >conftest.$ac_ext <<_ACEOF
31026 /* confdefs.h. */
31027 _ACEOF
31028 cat confdefs.h >>conftest.$ac_ext
31029 cat >>conftest.$ac_ext <<_ACEOF
31030 /* end confdefs.h. */
31031
31032 #if HAVE_X11_XLIB_H
31033 #include <X11/Xlib.h>
31034 #endif
31035
31036
31037 #include <$ac_header>
31038 _ACEOF
31039 rm -f conftest.$ac_objext
31040 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31041 (eval $ac_compile) 2>conftest.er1
31042 ac_status=$?
31043 grep -v '^ *+' conftest.er1 >conftest.err
31044 rm -f conftest.er1
31045 cat conftest.err >&5
31046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31047 (exit $ac_status); } &&
31048 { ac_try='test -z "$ac_c_werror_flag"
31049 || test ! -s conftest.err'
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 { ac_try='test -s conftest.$ac_objext'
31056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31057 (eval $ac_try) 2>&5
31058 ac_status=$?
31059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31060 (exit $ac_status); }; }; then
31061 eval "$as_ac_Header=yes"
31062 else
31063 echo "$as_me: failed program was:" >&5
31064 sed 's/^/| /' conftest.$ac_ext >&5
31065
31066 eval "$as_ac_Header=no"
31067 fi
31068 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31069 fi
31070 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31071 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31072 if test `eval echo '${'$as_ac_Header'}'` = yes; then
31073 cat >>confdefs.h <<_ACEOF
31074 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31075 _ACEOF
31076
31077 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
31078
31079 fi
31080
31081 done
31082
31083 else
31084 echo "$as_me:$LINENO: result: no" >&5
31085 echo "${ECHO_T}no" >&6
31086 fi
31087
31088 else
31089 echo "$as_me:$LINENO: result: no" >&5
31090 echo "${ECHO_T}no" >&6
31091 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
31092 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
31093 wxUSE_DISPLAY="no"
31094 fi
31095 elif test "$wxUSE_MSW" = 1; then
31096
31097
31098 for ac_header in multimon.h ddraw.h
31099 do
31100 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31101 echo "$as_me:$LINENO: checking for $ac_header" >&5
31102 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31103 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31104 echo $ECHO_N "(cached) $ECHO_C" >&6
31105 else
31106 cat >conftest.$ac_ext <<_ACEOF
31107 /* confdefs.h. */
31108 _ACEOF
31109 cat confdefs.h >>conftest.$ac_ext
31110 cat >>conftest.$ac_ext <<_ACEOF
31111 /* end confdefs.h. */
31112 #include <windows.h>
31113
31114 #include <$ac_header>
31115 _ACEOF
31116 rm -f conftest.$ac_objext
31117 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31118 (eval $ac_compile) 2>conftest.er1
31119 ac_status=$?
31120 grep -v '^ *+' conftest.er1 >conftest.err
31121 rm -f conftest.er1
31122 cat conftest.err >&5
31123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31124 (exit $ac_status); } &&
31125 { ac_try='test -z "$ac_c_werror_flag"
31126 || test ! -s conftest.err'
31127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31128 (eval $ac_try) 2>&5
31129 ac_status=$?
31130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31131 (exit $ac_status); }; } &&
31132 { ac_try='test -s conftest.$ac_objext'
31133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31134 (eval $ac_try) 2>&5
31135 ac_status=$?
31136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31137 (exit $ac_status); }; }; then
31138 eval "$as_ac_Header=yes"
31139 else
31140 echo "$as_me: failed program was:" >&5
31141 sed 's/^/| /' conftest.$ac_ext >&5
31142
31143 eval "$as_ac_Header=no"
31144 fi
31145 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31146 fi
31147 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31148 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31149 if test `eval echo '${'$as_ac_Header'}'` = yes; then
31150 cat >>confdefs.h <<_ACEOF
31151 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31152 _ACEOF
31153
31154 else
31155
31156 wxUSE_DISPLAY="no"
31157 { echo "$as_me:$LINENO: WARNING: ddraw.h or multimon.h not found; disabling wxDisplay" >&5
31158 echo "$as_me: WARNING: ddraw.h or multimon.h not found; disabling wxDisplay" >&2;}
31159
31160 fi
31161
31162 done
31163
31164 fi
31165 fi
31166
31167
31168 USE_OPENGL=0
31169 if test "$wxUSE_OPENGL" = "yes"; then
31170 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
31171 OPENGL_LIBS="-framework OpenGL -framework AGL"
31172 elif test "$wxUSE_MSW" = 1; then
31173 OPENGL_LIBS="-lopengl32 -lglu32"
31174 else
31175
31176
31177 ac_find_includes=
31178 for ac_dir in $SEARCH_INCLUDE /usr/include;
31179 do
31180 if test -f "$ac_dir/GL/gl.h"; then
31181 ac_find_includes=$ac_dir
31182 break
31183 fi
31184 done
31185
31186 if test "$ac_find_includes" != "" ; then
31187 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
31188 echo "${ECHO_T}found in $ac_find_includes" >&6
31189
31190 if test "x$ac_find_includes" = "x/usr/include"; then
31191 ac_path_to_include=""
31192 else
31193 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
31194 result=$?
31195 if test $result = 0; then
31196 ac_path_to_include=""
31197 else
31198 ac_path_to_include=" -I$ac_find_includes"
31199 fi
31200 fi
31201
31202 CPPFLAGS="$CPPFLAGS$ac_path_to_include"
31203 fi
31204
31205 if test "${ac_cv_header_GL_gl_h+set}" = set; then
31206 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
31207 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
31208 if test "${ac_cv_header_GL_gl_h+set}" = set; then
31209 echo $ECHO_N "(cached) $ECHO_C" >&6
31210 fi
31211 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
31212 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
31213 else
31214 # Is the header compilable?
31215 echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
31216 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
31217 cat >conftest.$ac_ext <<_ACEOF
31218 /* confdefs.h. */
31219 _ACEOF
31220 cat confdefs.h >>conftest.$ac_ext
31221 cat >>conftest.$ac_ext <<_ACEOF
31222 /* end confdefs.h. */
31223 $ac_includes_default
31224 #include <GL/gl.h>
31225 _ACEOF
31226 rm -f conftest.$ac_objext
31227 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31228 (eval $ac_compile) 2>conftest.er1
31229 ac_status=$?
31230 grep -v '^ *+' conftest.er1 >conftest.err
31231 rm -f conftest.er1
31232 cat conftest.err >&5
31233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31234 (exit $ac_status); } &&
31235 { ac_try='test -z "$ac_c_werror_flag"
31236 || test ! -s conftest.err'
31237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31238 (eval $ac_try) 2>&5
31239 ac_status=$?
31240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31241 (exit $ac_status); }; } &&
31242 { ac_try='test -s conftest.$ac_objext'
31243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31244 (eval $ac_try) 2>&5
31245 ac_status=$?
31246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31247 (exit $ac_status); }; }; then
31248 ac_header_compiler=yes
31249 else
31250 echo "$as_me: failed program was:" >&5
31251 sed 's/^/| /' conftest.$ac_ext >&5
31252
31253 ac_header_compiler=no
31254 fi
31255 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31256 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31257 echo "${ECHO_T}$ac_header_compiler" >&6
31258
31259 # Is the header present?
31260 echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
31261 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
31262 cat >conftest.$ac_ext <<_ACEOF
31263 /* confdefs.h. */
31264 _ACEOF
31265 cat confdefs.h >>conftest.$ac_ext
31266 cat >>conftest.$ac_ext <<_ACEOF
31267 /* end confdefs.h. */
31268 #include <GL/gl.h>
31269 _ACEOF
31270 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31271 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
31272 ac_status=$?
31273 grep -v '^ *+' conftest.er1 >conftest.err
31274 rm -f conftest.er1
31275 cat conftest.err >&5
31276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31277 (exit $ac_status); } >/dev/null; then
31278 if test -s conftest.err; then
31279 ac_cpp_err=$ac_c_preproc_warn_flag
31280 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
31281 else
31282 ac_cpp_err=
31283 fi
31284 else
31285 ac_cpp_err=yes
31286 fi
31287 if test -z "$ac_cpp_err"; then
31288 ac_header_preproc=yes
31289 else
31290 echo "$as_me: failed program was:" >&5
31291 sed 's/^/| /' conftest.$ac_ext >&5
31292
31293 ac_header_preproc=no
31294 fi
31295 rm -f conftest.err conftest.$ac_ext
31296 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31297 echo "${ECHO_T}$ac_header_preproc" >&6
31298
31299 # So? What about this header?
31300 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
31301 yes:no: )
31302 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
31303 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
31304 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the compiler's result" >&5
31305 echo "$as_me: WARNING: GL/gl.h: proceeding with the compiler's result" >&2;}
31306 ac_header_preproc=yes
31307 ;;
31308 no:yes:* )
31309 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
31310 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
31311 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
31312 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
31313 { echo "$as_me:$LINENO: WARNING: GL/gl.h: see the Autoconf documentation" >&5
31314 echo "$as_me: WARNING: GL/gl.h: see the Autoconf documentation" >&2;}
31315 { echo "$as_me:$LINENO: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&5
31316 echo "$as_me: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&2;}
31317 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
31318 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
31319 { echo "$as_me:$LINENO: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&5
31320 echo "$as_me: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&2;}
31321 (
31322 cat <<\_ASBOX
31323 ## ----------------------------------------- ##
31324 ## Report this to wx-dev@lists.wxwidgets.org ##
31325 ## ----------------------------------------- ##
31326 _ASBOX
31327 ) |
31328 sed "s/^/$as_me: WARNING: /" >&2
31329 ;;
31330 esac
31331 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
31332 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
31333 if test "${ac_cv_header_GL_gl_h+set}" = set; then
31334 echo $ECHO_N "(cached) $ECHO_C" >&6
31335 else
31336 ac_cv_header_GL_gl_h=$ac_header_preproc
31337 fi
31338 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
31339 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
31340
31341 fi
31342 if test $ac_cv_header_GL_gl_h = yes; then
31343
31344 found_gl=0
31345
31346 echo "$as_me:$LINENO: checking for -lGL" >&5
31347 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
31348
31349 ac_find_libraries=
31350 for ac_dir in $SEARCH_LIB;
31351 do
31352 for ac_extension in a so sl dylib dll.a; do
31353 if test -f "$ac_dir/libGL.$ac_extension"; then
31354 ac_find_libraries=$ac_dir
31355 break 2
31356 fi
31357 done
31358 done
31359
31360 if test "$ac_find_libraries" != "" ; then
31361 echo "$as_me:$LINENO: result: yes" >&5
31362 echo "${ECHO_T}yes" >&6
31363
31364
31365 if test "$ac_find_libraries" = "default location"; then
31366 ac_path_to_link=""
31367 else
31368 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
31369 result=$?
31370 if test $result = 0; then
31371 ac_path_to_link=""
31372 else
31373 ac_path_to_link=" -L$ac_find_libraries"
31374 fi
31375 fi
31376
31377 if test "$ac_path_to_link" != " -L/usr/lib" ; then
31378 LDFLAGS_GL="$ac_path_to_link"
31379 fi
31380
31381 echo "$as_me:$LINENO: checking for -lGLU" >&5
31382 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6
31383
31384 ac_find_libraries=
31385 for ac_dir in $SEARCH_LIB;
31386 do
31387 for ac_extension in a so sl dylib dll.a; do
31388 if test -f "$ac_dir/libGLU.$ac_extension"; then
31389 ac_find_libraries=$ac_dir
31390 break 2
31391 fi
31392 done
31393 done
31394
31395 if test "$ac_find_libraries" != "" ; then
31396
31397 if test "$ac_find_libraries" = "default location"; then
31398 ac_path_to_link=""
31399 else
31400 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
31401 result=$?
31402 if test $result = 0; then
31403 ac_path_to_link=""
31404 else
31405 ac_path_to_link=" -L$ac_find_libraries"
31406 fi
31407 fi
31408
31409 if test "$ac_path_to_link" != " -L/usr/lib" -a \
31410 "$ac_path_to_link" != "$LDFLAGS_GL"; then
31411 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
31412 fi
31413
31414 found_gl=1
31415 OPENGL_LIBS="-lGL -lGLU"
31416 echo "$as_me:$LINENO: result: yes" >&5
31417 echo "${ECHO_T}yes" >&6
31418 else
31419 echo "$as_me:$LINENO: result: no" >&5
31420 echo "${ECHO_T}no" >&6
31421 fi
31422 else
31423 echo "$as_me:$LINENO: result: no" >&5
31424 echo "${ECHO_T}no" >&6
31425 fi
31426
31427 if test "$found_gl" != 1; then
31428 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
31429 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
31430
31431 ac_find_libraries=
31432 for ac_dir in $SEARCH_LIB;
31433 do
31434 for ac_extension in a so sl dylib dll.a; do
31435 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
31436 ac_find_libraries=$ac_dir
31437 break 2
31438 fi
31439 done
31440 done
31441
31442 if test "$ac_find_libraries" != "" ; then
31443
31444 if test "$ac_find_libraries" = "default location"; then
31445 ac_path_to_link=""
31446 else
31447 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
31448 result=$?
31449 if test $result = 0; then
31450 ac_path_to_link=""
31451 else
31452 ac_path_to_link=" -L$ac_find_libraries"
31453 fi
31454 fi
31455
31456 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
31457 OPENGL_LIBS="-lMesaGL -lMesaGLU"
31458 echo "$as_me:$LINENO: result: yes" >&5
31459 echo "${ECHO_T}yes" >&6
31460 else
31461 echo "$as_me:$LINENO: result: no" >&5
31462 echo "${ECHO_T}no" >&6
31463 fi
31464 fi
31465
31466 fi
31467
31468
31469
31470 if test "x$OPENGL_LIBS" = "x"; then
31471 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
31472 echo "$as_me: error: OpenGL libraries not available" >&2;}
31473 { (exit 1); exit 1; }; }
31474 fi
31475 fi
31476
31477 if test "$wxUSE_OPENGL" = "yes"; then
31478 USE_OPENGL=1
31479 cat >>confdefs.h <<\_ACEOF
31480 #define wxUSE_OPENGL 1
31481 _ACEOF
31482
31483 cat >>confdefs.h <<\_ACEOF
31484 #define wxUSE_GLCANVAS 1
31485 _ACEOF
31486
31487 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
31488 fi
31489 fi
31490
31491
31492 if test -n "$TOOLKIT" ; then
31493 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
31494 fi
31495
31496
31497
31498 if test "$wxUSE_SHARED" = "yes"; then
31499 case "${host}" in
31500 *-pc-msdosdjgpp )
31501 wxUSE_SHARED=no
31502 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
31503 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
31504 ;;
31505 esac
31506 fi
31507
31508 if test "$wxUSE_SHARED" = "yes"; then
31509
31510
31511 found_versioning=no
31512
31513
31514 if test $found_versioning = no ; then
31515 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
31516 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
31517 if test "${wx_cv_version_script+set}" = set; then
31518 echo $ECHO_N "(cached) $ECHO_C" >&6
31519 else
31520
31521 echo "VER_1 { *; };" >conftest.sym
31522 echo "int main() { return 0; }" >conftest.cpp
31523
31524 if { ac_try='
31525 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
31526 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
31527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31528 (eval $ac_try) 2>&5
31529 ac_status=$?
31530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31531 (exit $ac_status); }; } ; then
31532 if test -s conftest.stderr ; then
31533 wx_cv_version_script=no
31534 else
31535 wx_cv_version_script=yes
31536 fi
31537 else
31538 wx_cv_version_script=no
31539 fi
31540
31541 if test $wx_cv_version_script = yes
31542 then
31543 echo "struct B { virtual ~B() { } }; \
31544 struct D : public B { }; \
31545 void F() { D d; }" > conftest.cpp
31546
31547 if { ac_try='
31548 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
31549 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
31550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31551 (eval $ac_try) 2>&5
31552 ac_status=$?
31553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31554 (exit $ac_status); }; } &&
31555 { ac_try='
31556 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
31557 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
31558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31559 (eval $ac_try) 2>&5
31560 ac_status=$?
31561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31562 (exit $ac_status); }; }
31563 then
31564 if { ac_try='
31565 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
31566 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
31567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31568 (eval $ac_try) 2>&5
31569 ac_status=$?
31570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31571 (exit $ac_status); }; }
31572 then
31573 wx_cv_version_script=yes
31574 else
31575 wx_cv_version_script=no
31576 fi
31577 fi
31578 fi
31579
31580 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
31581 rm -f conftest1.output conftest2.output conftest3.output
31582
31583 fi
31584 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
31585 echo "${ECHO_T}$wx_cv_version_script" >&6
31586 if test $wx_cv_version_script = yes ; then
31587 LDFLAGS_VERSIONING="-Wl,--version-script,\$(top_builddir)version-script"
31588 fi
31589 fi
31590
31591
31592 case "${host}" in
31593 *-*-linux* | *-*-gnu* )
31594 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(top_builddir)lib"
31595 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
31596 ;;
31597
31598 *-*-solaris2* )
31599 if test "$GCC" = yes ; then
31600 CPPFLAGS="$CPPFLAGS -isystem /usr/openwin/include"
31601
31602 saveLdflags="$LDFLAGS"
31603 LDFLAGS="$saveLdflags -Wl,-rpath,/"
31604 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
31605 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
31606 cat >conftest.$ac_ext <<_ACEOF
31607 /* confdefs.h. */
31608 _ACEOF
31609 cat confdefs.h >>conftest.$ac_ext
31610 cat >>conftest.$ac_ext <<_ACEOF
31611 /* end confdefs.h. */
31612
31613 int
31614 main ()
31615 {
31616
31617 ;
31618 return 0;
31619 }
31620 _ACEOF
31621 rm -f conftest.$ac_objext conftest$ac_exeext
31622 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31623 (eval $ac_link) 2>conftest.er1
31624 ac_status=$?
31625 grep -v '^ *+' conftest.er1 >conftest.err
31626 rm -f conftest.er1
31627 cat conftest.err >&5
31628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31629 (exit $ac_status); } &&
31630 { ac_try='test -z "$ac_c_werror_flag"
31631 || test ! -s conftest.err'
31632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31633 (eval $ac_try) 2>&5
31634 ac_status=$?
31635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31636 (exit $ac_status); }; } &&
31637 { ac_try='test -s conftest$ac_exeext'
31638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31639 (eval $ac_try) 2>&5
31640 ac_status=$?
31641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31642 (exit $ac_status); }; }; then
31643
31644 echo "$as_me:$LINENO: result: yes" >&5
31645 echo "${ECHO_T}yes" >&6
31646 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(top_builddir)lib"
31647 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
31648
31649 else
31650 echo "$as_me: failed program was:" >&5
31651 sed 's/^/| /' conftest.$ac_ext >&5
31652
31653
31654 echo "$as_me:$LINENO: result: no" >&5
31655 echo "${ECHO_T}no" >&6
31656 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
31657 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
31658 LDFLAGS="$saveLdflags -Wl,-R,/"
31659 cat >conftest.$ac_ext <<_ACEOF
31660 /* confdefs.h. */
31661 _ACEOF
31662 cat confdefs.h >>conftest.$ac_ext
31663 cat >>conftest.$ac_ext <<_ACEOF
31664 /* end confdefs.h. */
31665
31666 int
31667 main ()
31668 {
31669
31670 ;
31671 return 0;
31672 }
31673 _ACEOF
31674 rm -f conftest.$ac_objext conftest$ac_exeext
31675 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31676 (eval $ac_link) 2>conftest.er1
31677 ac_status=$?
31678 grep -v '^ *+' conftest.er1 >conftest.err
31679 rm -f conftest.er1
31680 cat conftest.err >&5
31681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31682 (exit $ac_status); } &&
31683 { ac_try='test -z "$ac_c_werror_flag"
31684 || test ! -s conftest.err'
31685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31686 (eval $ac_try) 2>&5
31687 ac_status=$?
31688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31689 (exit $ac_status); }; } &&
31690 { ac_try='test -s conftest$ac_exeext'
31691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31692 (eval $ac_try) 2>&5
31693 ac_status=$?
31694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31695 (exit $ac_status); }; }; then
31696
31697 echo "$as_me:$LINENO: result: yes" >&5
31698 echo "${ECHO_T}yes" >&6
31699 SAMPLES_RPATH_FLAG="-Wl,-R,\$(top_builddir)lib"
31700 WXCONFIG_RPATH="-Wl,-R,\$libdir"
31701
31702 else
31703 echo "$as_me: failed program was:" >&5
31704 sed 's/^/| /' conftest.$ac_ext >&5
31705
31706
31707 echo "$as_me:$LINENO: result: no" >&5
31708 echo "${ECHO_T}no" >&6
31709
31710 fi
31711 rm -f conftest.err conftest.$ac_objext \
31712 conftest$ac_exeext conftest.$ac_ext
31713
31714 fi
31715 rm -f conftest.err conftest.$ac_objext \
31716 conftest$ac_exeext conftest.$ac_ext
31717 LDFLAGS="$saveLdflags"
31718 else
31719 SAMPLES_RPATH_FLAG="-R\$(top_builddir)lib"
31720 WXCONFIG_RPATH="-R\$libdir"
31721 fi
31722 ;;
31723
31724 *-*-darwin* )
31725 install_name_tool=`which install_name_tool`
31726 if test "$install_name_tool" -a -x "$install_name_tool"; then
31727 SAMPLES_RPATH_POSTLINK="\$(top_builddir)change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
31728 cat <<EOF >change-install-names
31729 #!/bin/sh
31730 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
31731 inst_cmd="install_name_tool "
31732 for i in \${libnames} ; do
31733 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
31734 done
31735 \${inst_cmd} \${3}
31736 EOF
31737 chmod +x change-install-names
31738 fi
31739 ;;
31740
31741 *-*-cygwin* | *-*-mingw32* )
31742 TOOLCHAIN_DLL_DEFS="${TOOLCHAIN_DLL_DEFS} -DWXUSINGDLL=1"
31743 ;;
31744
31745 *-*-hpux* )
31746 SAMPLES_RPATH_FLAG="-Wl,+b,\$(top_builddir)lib"
31747 WXCONFIG_RPATH="-Wl,+b,\$libdir"
31748 ;;
31749
31750 esac
31751
31752 if test $wxUSE_RPATH = "no"; then
31753 SAMPLES_RPATH_FLAG=''
31754 SAMPLES_RPATH_POSTLINK=''
31755 WXCONFIG_RPATH=''
31756 fi
31757
31758 SHARED=1
31759
31760 else
31761
31762 config_linkage_component="-static"
31763 SHARED=0
31764
31765 fi
31766
31767
31768 UNICODE=0
31769 lib_unicode_suffix=
31770 WX_CHARTYPE="ansi"
31771 if test "$wxUSE_UNICODE" = "yes"; then
31772 lib_unicode_suffix=u
31773 WX_CHARTYPE="unicode"
31774 UNICODE=1
31775 fi
31776
31777 lib_debug_suffix=
31778 WX_DEBUGTYPE="release"
31779 DEBUG_FLAG=0
31780 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
31781 lib_debug_suffix=d
31782 WX_DEBUGTYPE="debug"
31783 DEBUG_FLAG=1
31784 fi
31785
31786 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
31787 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
31788
31789 DEBUG_INFO=0
31790 if test "$wxUSE_DEBUG_INFO" = "yes"; then
31791 DEBUG_INFO=1
31792 fi
31793
31794 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
31795
31796 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
31797
31798 TOOLCHAIN_FULLNAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
31799
31800 if test "$cross_compiling" = "yes"; then
31801 HOST_SUFFIX="-$host_alias"
31802 TOOLCHAIN_NAME="$TOOLCHAIN_NAME$HOST_SUFFIX"
31803 TOOLCHAIN_FULLNAME="${host_alias}-$TOOLCHAIN_FULLNAME"
31804 fi
31805
31806 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
31807 if test "${TOOLKIT_DIR}" = "os2"; then
31808 WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
31809 else
31810 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
31811 fi
31812
31813
31814
31815 if test "$wxUSE_COCOA" = 1; then
31816
31817
31818 ac_ext=c
31819 ac_cpp='$CPP $CPPFLAGS'
31820 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31821 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31822 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31823
31824 ac_ext=m
31825
31826 echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
31827 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6
31828 cat >conftest.$ac_ext <<_ACEOF
31829 /* confdefs.h. */
31830 _ACEOF
31831 cat confdefs.h >>conftest.$ac_ext
31832 cat >>conftest.$ac_ext <<_ACEOF
31833 /* end confdefs.h. */
31834 #include <AppKit/NSEvent.h>
31835 #include <CoreFoundation/CoreFoundation.h>
31836
31837 int
31838 main ()
31839 {
31840
31841 ;
31842 return 0;
31843 }
31844 _ACEOF
31845 rm -f conftest.$ac_objext
31846 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31847 (eval $ac_compile) 2>conftest.er1
31848 ac_status=$?
31849 grep -v '^ *+' conftest.er1 >conftest.err
31850 rm -f conftest.er1
31851 cat conftest.err >&5
31852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31853 (exit $ac_status); } &&
31854 { ac_try='test -z "$ac_c_werror_flag"
31855 || test ! -s conftest.err'
31856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31857 (eval $ac_try) 2>&5
31858 ac_status=$?
31859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31860 (exit $ac_status); }; } &&
31861 { ac_try='test -s conftest.$ac_objext'
31862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31863 (eval $ac_try) 2>&5
31864 ac_status=$?
31865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31866 (exit $ac_status); }; }; then
31867 echo "$as_me:$LINENO: result: no" >&5
31868 echo "${ECHO_T}no" >&6
31869 else
31870 echo "$as_me: failed program was:" >&5
31871 sed 's/^/| /' conftest.$ac_ext >&5
31872
31873 echo "$as_me:$LINENO: result: yes" >&5
31874 echo "${ECHO_T}yes" >&6
31875 echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
31876 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6
31877 cat >conftest.$ac_ext <<_ACEOF
31878 /* confdefs.h. */
31879 _ACEOF
31880 cat confdefs.h >>conftest.$ac_ext
31881 cat >>conftest.$ac_ext <<_ACEOF
31882 /* end confdefs.h. */
31883 #define __Point__ 1
31884 #include <AppKit/NSEvent.h>
31885 #include <CoreFoundation/CoreFoundation.h>
31886
31887 int
31888 main ()
31889 {
31890
31891 ;
31892 return 0;
31893 }
31894 _ACEOF
31895 rm -f conftest.$ac_objext
31896 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31897 (eval $ac_compile) 2>conftest.er1
31898 ac_status=$?
31899 grep -v '^ *+' conftest.er1 >conftest.err
31900 rm -f conftest.er1
31901 cat conftest.err >&5
31902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31903 (exit $ac_status); } &&
31904 { ac_try='test -z "$ac_c_werror_flag"
31905 || test ! -s conftest.err'
31906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31907 (eval $ac_try) 2>&5
31908 ac_status=$?
31909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31910 (exit $ac_status); }; } &&
31911 { ac_try='test -s conftest.$ac_objext'
31912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31913 (eval $ac_try) 2>&5
31914 ac_status=$?
31915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31916 (exit $ac_status); }; }; then
31917 echo "$as_me:$LINENO: result: yes" >&5
31918 echo "${ECHO_T}yes" >&6
31919 cat >>confdefs.h <<\_ACEOF
31920 #define __Point__ 1
31921 _ACEOF
31922
31923
31924 else
31925 echo "$as_me: failed program was:" >&5
31926 sed 's/^/| /' conftest.$ac_ext >&5
31927
31928 { { echo "$as_me:$LINENO: error: no
31929 See \`config.log' for more details." >&5
31930 echo "$as_me: error: no
31931 See \`config.log' for more details." >&2;}
31932 { (exit 1); exit 1; }; }
31933
31934 fi
31935 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31936
31937 fi
31938 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31939 ac_ext=c
31940 ac_cpp='$CPP $CPPFLAGS'
31941 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31942 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31943 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31944
31945 fi
31946
31947 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
31948 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
31949 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
31950
31951 LIBWXMACRES="\$(top_builddir)lib/${WX_RESOURCES_MACOSX_ASCII}"
31952
31953 # Extract the first word of "Rez", so it can be a program name with args.
31954 set dummy Rez; ac_word=$2
31955 echo "$as_me:$LINENO: checking for $ac_word" >&5
31956 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
31957 if test "${ac_cv_prog_RESCOMP+set}" = set; then
31958 echo $ECHO_N "(cached) $ECHO_C" >&6
31959 else
31960 if test -n "$RESCOMP"; then
31961 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
31962 else
31963 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31964 for as_dir in $PATH
31965 do
31966 IFS=$as_save_IFS
31967 test -z "$as_dir" && as_dir=.
31968 for ac_exec_ext in '' $ac_executable_extensions; do
31969 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
31970 ac_cv_prog_RESCOMP="Rez"
31971 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31972 break 2
31973 fi
31974 done
31975 done
31976
31977 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="/Developer/Tools/Rez"
31978 fi
31979 fi
31980 RESCOMP=$ac_cv_prog_RESCOMP
31981 if test -n "$RESCOMP"; then
31982 echo "$as_me:$LINENO: result: $RESCOMP" >&5
31983 echo "${ECHO_T}$RESCOMP" >&6
31984 else
31985 echo "$as_me:$LINENO: result: no" >&5
31986 echo "${ECHO_T}no" >&6
31987 fi
31988
31989 # Extract the first word of "DeRez", so it can be a program name with args.
31990 set dummy DeRez; ac_word=$2
31991 echo "$as_me:$LINENO: checking for $ac_word" >&5
31992 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
31993 if test "${ac_cv_prog_DEREZ+set}" = set; then
31994 echo $ECHO_N "(cached) $ECHO_C" >&6
31995 else
31996 if test -n "$DEREZ"; then
31997 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
31998 else
31999 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32000 for as_dir in $PATH
32001 do
32002 IFS=$as_save_IFS
32003 test -z "$as_dir" && as_dir=.
32004 for ac_exec_ext in '' $ac_executable_extensions; do
32005 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
32006 ac_cv_prog_DEREZ="DeRez"
32007 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32008 break 2
32009 fi
32010 done
32011 done
32012
32013 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
32014 fi
32015 fi
32016 DEREZ=$ac_cv_prog_DEREZ
32017 if test -n "$DEREZ"; then
32018 echo "$as_me:$LINENO: result: $DEREZ" >&5
32019 echo "${ECHO_T}$DEREZ" >&6
32020 else
32021 echo "$as_me:$LINENO: result: no" >&5
32022 echo "${ECHO_T}no" >&6
32023 fi
32024
32025 # Extract the first word of "SetFile", so it can be a program name with args.
32026 set dummy SetFile; ac_word=$2
32027 echo "$as_me:$LINENO: checking for $ac_word" >&5
32028 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
32029 if test "${ac_cv_prog_SETFILE+set}" = set; then
32030 echo $ECHO_N "(cached) $ECHO_C" >&6
32031 else
32032 if test -n "$SETFILE"; then
32033 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
32034 else
32035 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32036 for as_dir in $PATH
32037 do
32038 IFS=$as_save_IFS
32039 test -z "$as_dir" && as_dir=.
32040 for ac_exec_ext in '' $ac_executable_extensions; do
32041 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
32042 ac_cv_prog_SETFILE="SetFile"
32043 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32044 break 2
32045 fi
32046 done
32047 done
32048
32049 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
32050 fi
32051 fi
32052 SETFILE=$ac_cv_prog_SETFILE
32053 if test -n "$SETFILE"; then
32054 echo "$as_me:$LINENO: result: $SETFILE" >&5
32055 echo "${ECHO_T}$SETFILE" >&6
32056 else
32057 echo "$as_me:$LINENO: result: no" >&5
32058 echo "${ECHO_T}no" >&6
32059 fi
32060
32061
32062 MACSETFILE="\$(SETFILE)"
32063
32064 if test "$wxUSE_MAC" = 1; then
32065 MACRESCOMP="\$(RESCOMP) -d __DARWIN__ -t APPL Carbon.r -o"
32066
32067 MACRESWXCONFIG="${RESCOMP} -d __DARWIN__ -t APPL Carbon.r -o"
32068 else
32069 MACRESCOMP="echo -n | \$(RESCOMP) -d __DARWIN__ -t APPL ${LIBWXMACRES} -o"
32070 MACRESWXCONFIG="echo -n \\\| ${RESCOMP} -d __DARWIN__ -t APPL \\\${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
32071 fi
32072 else
32073 MACSETFILE="@true"
32074 MACRESWXCONFIG="@true"
32075
32076 if test "$wxUSE_PM" = 1; then
32077 MACRESCOMP="emxbind -ep"
32078 else
32079 MACRESCOMP="@true"
32080 fi
32081 fi
32082
32083
32084
32085 echo "$as_me:$LINENO: checking for mode_t" >&5
32086 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
32087 if test "${ac_cv_type_mode_t+set}" = set; then
32088 echo $ECHO_N "(cached) $ECHO_C" >&6
32089 else
32090 cat >conftest.$ac_ext <<_ACEOF
32091 /* confdefs.h. */
32092 _ACEOF
32093 cat confdefs.h >>conftest.$ac_ext
32094 cat >>conftest.$ac_ext <<_ACEOF
32095 /* end confdefs.h. */
32096 $ac_includes_default
32097 int
32098 main ()
32099 {
32100 if ((mode_t *) 0)
32101 return 0;
32102 if (sizeof (mode_t))
32103 return 0;
32104 ;
32105 return 0;
32106 }
32107 _ACEOF
32108 rm -f conftest.$ac_objext
32109 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32110 (eval $ac_compile) 2>conftest.er1
32111 ac_status=$?
32112 grep -v '^ *+' conftest.er1 >conftest.err
32113 rm -f conftest.er1
32114 cat conftest.err >&5
32115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32116 (exit $ac_status); } &&
32117 { ac_try='test -z "$ac_c_werror_flag"
32118 || test ! -s conftest.err'
32119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32120 (eval $ac_try) 2>&5
32121 ac_status=$?
32122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32123 (exit $ac_status); }; } &&
32124 { ac_try='test -s conftest.$ac_objext'
32125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32126 (eval $ac_try) 2>&5
32127 ac_status=$?
32128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32129 (exit $ac_status); }; }; then
32130 ac_cv_type_mode_t=yes
32131 else
32132 echo "$as_me: failed program was:" >&5
32133 sed 's/^/| /' conftest.$ac_ext >&5
32134
32135 ac_cv_type_mode_t=no
32136 fi
32137 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32138 fi
32139 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
32140 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
32141 if test $ac_cv_type_mode_t = yes; then
32142 :
32143 else
32144
32145 cat >>confdefs.h <<_ACEOF
32146 #define mode_t int
32147 _ACEOF
32148
32149 fi
32150
32151 echo "$as_me:$LINENO: checking for off_t" >&5
32152 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
32153 if test "${ac_cv_type_off_t+set}" = set; then
32154 echo $ECHO_N "(cached) $ECHO_C" >&6
32155 else
32156 cat >conftest.$ac_ext <<_ACEOF
32157 /* confdefs.h. */
32158 _ACEOF
32159 cat confdefs.h >>conftest.$ac_ext
32160 cat >>conftest.$ac_ext <<_ACEOF
32161 /* end confdefs.h. */
32162 $ac_includes_default
32163 int
32164 main ()
32165 {
32166 if ((off_t *) 0)
32167 return 0;
32168 if (sizeof (off_t))
32169 return 0;
32170 ;
32171 return 0;
32172 }
32173 _ACEOF
32174 rm -f conftest.$ac_objext
32175 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32176 (eval $ac_compile) 2>conftest.er1
32177 ac_status=$?
32178 grep -v '^ *+' conftest.er1 >conftest.err
32179 rm -f conftest.er1
32180 cat conftest.err >&5
32181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32182 (exit $ac_status); } &&
32183 { ac_try='test -z "$ac_c_werror_flag"
32184 || test ! -s conftest.err'
32185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32186 (eval $ac_try) 2>&5
32187 ac_status=$?
32188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32189 (exit $ac_status); }; } &&
32190 { ac_try='test -s conftest.$ac_objext'
32191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32192 (eval $ac_try) 2>&5
32193 ac_status=$?
32194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32195 (exit $ac_status); }; }; then
32196 ac_cv_type_off_t=yes
32197 else
32198 echo "$as_me: failed program was:" >&5
32199 sed 's/^/| /' conftest.$ac_ext >&5
32200
32201 ac_cv_type_off_t=no
32202 fi
32203 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32204 fi
32205 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
32206 echo "${ECHO_T}$ac_cv_type_off_t" >&6
32207 if test $ac_cv_type_off_t = yes; then
32208 :
32209 else
32210
32211 cat >>confdefs.h <<_ACEOF
32212 #define off_t long
32213 _ACEOF
32214
32215 fi
32216
32217 echo "$as_me:$LINENO: checking for pid_t" >&5
32218 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
32219 if test "${ac_cv_type_pid_t+set}" = set; then
32220 echo $ECHO_N "(cached) $ECHO_C" >&6
32221 else
32222 cat >conftest.$ac_ext <<_ACEOF
32223 /* confdefs.h. */
32224 _ACEOF
32225 cat confdefs.h >>conftest.$ac_ext
32226 cat >>conftest.$ac_ext <<_ACEOF
32227 /* end confdefs.h. */
32228 $ac_includes_default
32229 int
32230 main ()
32231 {
32232 if ((pid_t *) 0)
32233 return 0;
32234 if (sizeof (pid_t))
32235 return 0;
32236 ;
32237 return 0;
32238 }
32239 _ACEOF
32240 rm -f conftest.$ac_objext
32241 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32242 (eval $ac_compile) 2>conftest.er1
32243 ac_status=$?
32244 grep -v '^ *+' conftest.er1 >conftest.err
32245 rm -f conftest.er1
32246 cat conftest.err >&5
32247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32248 (exit $ac_status); } &&
32249 { ac_try='test -z "$ac_c_werror_flag"
32250 || test ! -s conftest.err'
32251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32252 (eval $ac_try) 2>&5
32253 ac_status=$?
32254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32255 (exit $ac_status); }; } &&
32256 { ac_try='test -s conftest.$ac_objext'
32257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32258 (eval $ac_try) 2>&5
32259 ac_status=$?
32260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32261 (exit $ac_status); }; }; then
32262 ac_cv_type_pid_t=yes
32263 else
32264 echo "$as_me: failed program was:" >&5
32265 sed 's/^/| /' conftest.$ac_ext >&5
32266
32267 ac_cv_type_pid_t=no
32268 fi
32269 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32270 fi
32271 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
32272 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
32273 if test $ac_cv_type_pid_t = yes; then
32274 :
32275 else
32276
32277 cat >>confdefs.h <<_ACEOF
32278 #define pid_t int
32279 _ACEOF
32280
32281 fi
32282
32283 echo "$as_me:$LINENO: checking for size_t" >&5
32284 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
32285 if test "${ac_cv_type_size_t+set}" = set; then
32286 echo $ECHO_N "(cached) $ECHO_C" >&6
32287 else
32288 cat >conftest.$ac_ext <<_ACEOF
32289 /* confdefs.h. */
32290 _ACEOF
32291 cat confdefs.h >>conftest.$ac_ext
32292 cat >>conftest.$ac_ext <<_ACEOF
32293 /* end confdefs.h. */
32294 $ac_includes_default
32295 int
32296 main ()
32297 {
32298 if ((size_t *) 0)
32299 return 0;
32300 if (sizeof (size_t))
32301 return 0;
32302 ;
32303 return 0;
32304 }
32305 _ACEOF
32306 rm -f conftest.$ac_objext
32307 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32308 (eval $ac_compile) 2>conftest.er1
32309 ac_status=$?
32310 grep -v '^ *+' conftest.er1 >conftest.err
32311 rm -f conftest.er1
32312 cat conftest.err >&5
32313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32314 (exit $ac_status); } &&
32315 { ac_try='test -z "$ac_c_werror_flag"
32316 || test ! -s conftest.err'
32317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32318 (eval $ac_try) 2>&5
32319 ac_status=$?
32320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32321 (exit $ac_status); }; } &&
32322 { ac_try='test -s conftest.$ac_objext'
32323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32324 (eval $ac_try) 2>&5
32325 ac_status=$?
32326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32327 (exit $ac_status); }; }; then
32328 ac_cv_type_size_t=yes
32329 else
32330 echo "$as_me: failed program was:" >&5
32331 sed 's/^/| /' conftest.$ac_ext >&5
32332
32333 ac_cv_type_size_t=no
32334 fi
32335 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32336 fi
32337 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
32338 echo "${ECHO_T}$ac_cv_type_size_t" >&6
32339 if test $ac_cv_type_size_t = yes; then
32340 :
32341 else
32342
32343 cat >>confdefs.h <<_ACEOF
32344 #define size_t unsigned
32345 _ACEOF
32346
32347 fi
32348
32349 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
32350 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
32351 if test "${ac_cv_type_uid_t+set}" = set; then
32352 echo $ECHO_N "(cached) $ECHO_C" >&6
32353 else
32354 cat >conftest.$ac_ext <<_ACEOF
32355 /* confdefs.h. */
32356 _ACEOF
32357 cat confdefs.h >>conftest.$ac_ext
32358 cat >>conftest.$ac_ext <<_ACEOF
32359 /* end confdefs.h. */
32360 #include <sys/types.h>
32361
32362 _ACEOF
32363 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
32364 $EGREP "uid_t" >/dev/null 2>&1; then
32365 ac_cv_type_uid_t=yes
32366 else
32367 ac_cv_type_uid_t=no
32368 fi
32369 rm -f conftest*
32370
32371 fi
32372 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
32373 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
32374 if test $ac_cv_type_uid_t = no; then
32375
32376 cat >>confdefs.h <<\_ACEOF
32377 #define uid_t int
32378 _ACEOF
32379
32380
32381 cat >>confdefs.h <<\_ACEOF
32382 #define gid_t int
32383 _ACEOF
32384
32385 fi
32386
32387
32388 echo "$as_me:$LINENO: checking for ssize_t" >&5
32389 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
32390 if test "${ac_cv_type_ssize_t+set}" = set; then
32391 echo $ECHO_N "(cached) $ECHO_C" >&6
32392 else
32393 cat >conftest.$ac_ext <<_ACEOF
32394 /* confdefs.h. */
32395 _ACEOF
32396 cat confdefs.h >>conftest.$ac_ext
32397 cat >>conftest.$ac_ext <<_ACEOF
32398 /* end confdefs.h. */
32399 $ac_includes_default
32400 int
32401 main ()
32402 {
32403 if ((ssize_t *) 0)
32404 return 0;
32405 if (sizeof (ssize_t))
32406 return 0;
32407 ;
32408 return 0;
32409 }
32410 _ACEOF
32411 rm -f conftest.$ac_objext
32412 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32413 (eval $ac_compile) 2>conftest.er1
32414 ac_status=$?
32415 grep -v '^ *+' conftest.er1 >conftest.err
32416 rm -f conftest.er1
32417 cat conftest.err >&5
32418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32419 (exit $ac_status); } &&
32420 { ac_try='test -z "$ac_c_werror_flag"
32421 || test ! -s conftest.err'
32422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32423 (eval $ac_try) 2>&5
32424 ac_status=$?
32425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32426 (exit $ac_status); }; } &&
32427 { ac_try='test -s conftest.$ac_objext'
32428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32429 (eval $ac_try) 2>&5
32430 ac_status=$?
32431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32432 (exit $ac_status); }; }; then
32433 ac_cv_type_ssize_t=yes
32434 else
32435 echo "$as_me: failed program was:" >&5
32436 sed 's/^/| /' conftest.$ac_ext >&5
32437
32438 ac_cv_type_ssize_t=no
32439 fi
32440 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32441 fi
32442 echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
32443 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
32444 if test $ac_cv_type_ssize_t = yes; then
32445
32446 cat >>confdefs.h <<_ACEOF
32447 #define HAVE_SSIZE_T 1
32448 _ACEOF
32449
32450
32451 fi
32452
32453
32454
32455
32456 ac_ext=cc
32457 ac_cpp='$CXXCPP $CPPFLAGS'
32458 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32459 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32460 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32461
32462 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
32463 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
32464 if test "${wx_cv_size_t_is_uint+set}" = set; then
32465 echo $ECHO_N "(cached) $ECHO_C" >&6
32466 else
32467
32468 cat >conftest.$ac_ext <<_ACEOF
32469 /* confdefs.h. */
32470 _ACEOF
32471 cat confdefs.h >>conftest.$ac_ext
32472 cat >>conftest.$ac_ext <<_ACEOF
32473 /* end confdefs.h. */
32474 #include <stddef.h>
32475 int
32476 main ()
32477 {
32478
32479 return 0; }
32480
32481 struct Foo { void foo(size_t); void foo(unsigned int); };
32482
32483 int bar() {
32484
32485 ;
32486 return 0;
32487 }
32488 _ACEOF
32489 rm -f conftest.$ac_objext
32490 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32491 (eval $ac_compile) 2>conftest.er1
32492 ac_status=$?
32493 grep -v '^ *+' conftest.er1 >conftest.err
32494 rm -f conftest.er1
32495 cat conftest.err >&5
32496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32497 (exit $ac_status); } &&
32498 { ac_try='test -z "$ac_cxx_werror_flag"
32499 || test ! -s conftest.err'
32500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32501 (eval $ac_try) 2>&5
32502 ac_status=$?
32503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32504 (exit $ac_status); }; } &&
32505 { ac_try='test -s conftest.$ac_objext'
32506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32507 (eval $ac_try) 2>&5
32508 ac_status=$?
32509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32510 (exit $ac_status); }; }; then
32511 wx_cv_size_t_is_uint=no
32512 else
32513 echo "$as_me: failed program was:" >&5
32514 sed 's/^/| /' conftest.$ac_ext >&5
32515
32516 wx_cv_size_t_is_uint=yes
32517
32518 fi
32519 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32520
32521
32522 fi
32523 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
32524 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
32525
32526 if test "$wx_cv_size_t_is_uint" = "yes"; then
32527 cat >>confdefs.h <<\_ACEOF
32528 #define wxSIZE_T_IS_UINT 1
32529 _ACEOF
32530
32531 else
32532 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
32533 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
32534 if test "${wx_cv_size_t_is_ulong+set}" = set; then
32535 echo $ECHO_N "(cached) $ECHO_C" >&6
32536 else
32537 cat >conftest.$ac_ext <<_ACEOF
32538 /* confdefs.h. */
32539 _ACEOF
32540 cat confdefs.h >>conftest.$ac_ext
32541 cat >>conftest.$ac_ext <<_ACEOF
32542 /* end confdefs.h. */
32543 #include <stddef.h>
32544 int
32545 main ()
32546 {
32547
32548 return 0; }
32549
32550 struct Foo { void foo(size_t); void foo(unsigned long); };
32551
32552 int bar() {
32553
32554 ;
32555 return 0;
32556 }
32557 _ACEOF
32558 rm -f conftest.$ac_objext
32559 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32560 (eval $ac_compile) 2>conftest.er1
32561 ac_status=$?
32562 grep -v '^ *+' conftest.er1 >conftest.err
32563 rm -f conftest.er1
32564 cat conftest.err >&5
32565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32566 (exit $ac_status); } &&
32567 { ac_try='test -z "$ac_cxx_werror_flag"
32568 || test ! -s conftest.err'
32569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32570 (eval $ac_try) 2>&5
32571 ac_status=$?
32572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32573 (exit $ac_status); }; } &&
32574 { ac_try='test -s conftest.$ac_objext'
32575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32576 (eval $ac_try) 2>&5
32577 ac_status=$?
32578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32579 (exit $ac_status); }; }; then
32580 wx_cv_size_t_is_ulong=no
32581 else
32582 echo "$as_me: failed program was:" >&5
32583 sed 's/^/| /' conftest.$ac_ext >&5
32584
32585 wx_cv_size_t_is_ulong=yes
32586
32587 fi
32588 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32589
32590 fi
32591 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
32592 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
32593
32594 if test "$wx_cv_size_t_is_ulong" = "yes"; then
32595 cat >>confdefs.h <<\_ACEOF
32596 #define wxSIZE_T_IS_ULONG 1
32597 _ACEOF
32598
32599 fi
32600 fi
32601
32602 ac_ext=c
32603 ac_cpp='$CPP $CPPFLAGS'
32604 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32605 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32606 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32607
32608
32609
32610 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
32611 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
32612 if test "${wx_cv_struct_pw_gecos+set}" = set; then
32613 echo $ECHO_N "(cached) $ECHO_C" >&6
32614 else
32615
32616 cat >conftest.$ac_ext <<_ACEOF
32617 /* confdefs.h. */
32618 _ACEOF
32619 cat confdefs.h >>conftest.$ac_ext
32620 cat >>conftest.$ac_ext <<_ACEOF
32621 /* end confdefs.h. */
32622 #include <pwd.h>
32623 int
32624 main ()
32625 {
32626
32627 char *p;
32628 struct passwd *pw;
32629 p = pw->pw_gecos;
32630
32631 ;
32632 return 0;
32633 }
32634 _ACEOF
32635 rm -f conftest.$ac_objext
32636 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32637 (eval $ac_compile) 2>conftest.er1
32638 ac_status=$?
32639 grep -v '^ *+' conftest.er1 >conftest.err
32640 rm -f conftest.er1
32641 cat conftest.err >&5
32642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32643 (exit $ac_status); } &&
32644 { ac_try='test -z "$ac_c_werror_flag"
32645 || test ! -s conftest.err'
32646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32647 (eval $ac_try) 2>&5
32648 ac_status=$?
32649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32650 (exit $ac_status); }; } &&
32651 { ac_try='test -s conftest.$ac_objext'
32652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32653 (eval $ac_try) 2>&5
32654 ac_status=$?
32655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32656 (exit $ac_status); }; }; then
32657
32658 wx_cv_struct_pw_gecos=yes
32659
32660 else
32661 echo "$as_me: failed program was:" >&5
32662 sed 's/^/| /' conftest.$ac_ext >&5
32663
32664
32665 wx_cv_struct_pw_gecos=no
32666
32667
32668 fi
32669 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32670
32671
32672 fi
32673 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
32674 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
32675
32676 if test "$wx_cv_struct_pw_gecos" = "yes"; then
32677 cat >>confdefs.h <<\_ACEOF
32678 #define HAVE_PW_GECOS 1
32679 _ACEOF
32680
32681 fi
32682
32683
32684 if test "$wxUSE_WCHAR_T" = "yes"; then
32685 cat >>confdefs.h <<\_ACEOF
32686 #define wxUSE_WCHAR_T 1
32687 _ACEOF
32688
32689
32690 WCSLEN_FOUND=0
32691 WCHAR_LINK=
32692
32693 for ac_func in wcslen
32694 do
32695 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32696 echo "$as_me:$LINENO: checking for $ac_func" >&5
32697 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32698 if eval "test \"\${$as_ac_var+set}\" = set"; then
32699 echo $ECHO_N "(cached) $ECHO_C" >&6
32700 else
32701 cat >conftest.$ac_ext <<_ACEOF
32702 /* confdefs.h. */
32703 _ACEOF
32704 cat confdefs.h >>conftest.$ac_ext
32705 cat >>conftest.$ac_ext <<_ACEOF
32706 /* end confdefs.h. */
32707 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32708 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32709 #define $ac_func innocuous_$ac_func
32710
32711 /* System header to define __stub macros and hopefully few prototypes,
32712 which can conflict with char $ac_func (); below.
32713 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32714 <limits.h> exists even on freestanding compilers. */
32715
32716 #ifdef __STDC__
32717 # include <limits.h>
32718 #else
32719 # include <assert.h>
32720 #endif
32721
32722 #undef $ac_func
32723
32724 /* Override any gcc2 internal prototype to avoid an error. */
32725 #ifdef __cplusplus
32726 extern "C"
32727 {
32728 #endif
32729 /* We use char because int might match the return type of a gcc2
32730 builtin and then its argument prototype would still apply. */
32731 char $ac_func ();
32732 /* The GNU C library defines this for functions which it implements
32733 to always fail with ENOSYS. Some functions are actually named
32734 something starting with __ and the normal name is an alias. */
32735 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32736 choke me
32737 #else
32738 char (*f) () = $ac_func;
32739 #endif
32740 #ifdef __cplusplus
32741 }
32742 #endif
32743
32744 int
32745 main ()
32746 {
32747 return f != $ac_func;
32748 ;
32749 return 0;
32750 }
32751 _ACEOF
32752 rm -f conftest.$ac_objext conftest$ac_exeext
32753 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32754 (eval $ac_link) 2>conftest.er1
32755 ac_status=$?
32756 grep -v '^ *+' conftest.er1 >conftest.err
32757 rm -f conftest.er1
32758 cat conftest.err >&5
32759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32760 (exit $ac_status); } &&
32761 { ac_try='test -z "$ac_c_werror_flag"
32762 || test ! -s conftest.err'
32763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32764 (eval $ac_try) 2>&5
32765 ac_status=$?
32766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32767 (exit $ac_status); }; } &&
32768 { ac_try='test -s conftest$ac_exeext'
32769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32770 (eval $ac_try) 2>&5
32771 ac_status=$?
32772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32773 (exit $ac_status); }; }; then
32774 eval "$as_ac_var=yes"
32775 else
32776 echo "$as_me: failed program was:" >&5
32777 sed 's/^/| /' conftest.$ac_ext >&5
32778
32779 eval "$as_ac_var=no"
32780 fi
32781 rm -f conftest.err conftest.$ac_objext \
32782 conftest$ac_exeext conftest.$ac_ext
32783 fi
32784 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32785 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32786 if test `eval echo '${'$as_ac_var'}'` = yes; then
32787 cat >>confdefs.h <<_ACEOF
32788 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32789 _ACEOF
32790 WCSLEN_FOUND=1
32791 fi
32792 done
32793
32794
32795 if test "$WCSLEN_FOUND" = 0; then
32796 if test "$TOOLKIT" = "MSW"; then
32797 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
32798 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
32799 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
32800 echo $ECHO_N "(cached) $ECHO_C" >&6
32801 else
32802 ac_check_lib_save_LIBS=$LIBS
32803 LIBS="-lmsvcrt $LIBS"
32804 cat >conftest.$ac_ext <<_ACEOF
32805 /* confdefs.h. */
32806 _ACEOF
32807 cat confdefs.h >>conftest.$ac_ext
32808 cat >>conftest.$ac_ext <<_ACEOF
32809 /* end confdefs.h. */
32810
32811 /* Override any gcc2 internal prototype to avoid an error. */
32812 #ifdef __cplusplus
32813 extern "C"
32814 #endif
32815 /* We use char because int might match the return type of a gcc2
32816 builtin and then its argument prototype would still apply. */
32817 char wcslen ();
32818 int
32819 main ()
32820 {
32821 wcslen ();
32822 ;
32823 return 0;
32824 }
32825 _ACEOF
32826 rm -f conftest.$ac_objext conftest$ac_exeext
32827 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32828 (eval $ac_link) 2>conftest.er1
32829 ac_status=$?
32830 grep -v '^ *+' conftest.er1 >conftest.err
32831 rm -f conftest.er1
32832 cat conftest.err >&5
32833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32834 (exit $ac_status); } &&
32835 { ac_try='test -z "$ac_c_werror_flag"
32836 || test ! -s conftest.err'
32837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32838 (eval $ac_try) 2>&5
32839 ac_status=$?
32840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32841 (exit $ac_status); }; } &&
32842 { ac_try='test -s conftest$ac_exeext'
32843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32844 (eval $ac_try) 2>&5
32845 ac_status=$?
32846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32847 (exit $ac_status); }; }; then
32848 ac_cv_lib_msvcrt_wcslen=yes
32849 else
32850 echo "$as_me: failed program was:" >&5
32851 sed 's/^/| /' conftest.$ac_ext >&5
32852
32853 ac_cv_lib_msvcrt_wcslen=no
32854 fi
32855 rm -f conftest.err conftest.$ac_objext \
32856 conftest$ac_exeext conftest.$ac_ext
32857 LIBS=$ac_check_lib_save_LIBS
32858 fi
32859 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
32860 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
32861 if test $ac_cv_lib_msvcrt_wcslen = yes; then
32862 WCHAR_OK=1
32863 fi
32864
32865 else
32866 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
32867 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
32868 if test "${ac_cv_lib_w_wcslen+set}" = set; then
32869 echo $ECHO_N "(cached) $ECHO_C" >&6
32870 else
32871 ac_check_lib_save_LIBS=$LIBS
32872 LIBS="-lw $LIBS"
32873 cat >conftest.$ac_ext <<_ACEOF
32874 /* confdefs.h. */
32875 _ACEOF
32876 cat confdefs.h >>conftest.$ac_ext
32877 cat >>conftest.$ac_ext <<_ACEOF
32878 /* end confdefs.h. */
32879
32880 /* Override any gcc2 internal prototype to avoid an error. */
32881 #ifdef __cplusplus
32882 extern "C"
32883 #endif
32884 /* We use char because int might match the return type of a gcc2
32885 builtin and then its argument prototype would still apply. */
32886 char wcslen ();
32887 int
32888 main ()
32889 {
32890 wcslen ();
32891 ;
32892 return 0;
32893 }
32894 _ACEOF
32895 rm -f conftest.$ac_objext conftest$ac_exeext
32896 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32897 (eval $ac_link) 2>conftest.er1
32898 ac_status=$?
32899 grep -v '^ *+' conftest.er1 >conftest.err
32900 rm -f conftest.er1
32901 cat conftest.err >&5
32902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32903 (exit $ac_status); } &&
32904 { ac_try='test -z "$ac_c_werror_flag"
32905 || test ! -s conftest.err'
32906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32907 (eval $ac_try) 2>&5
32908 ac_status=$?
32909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32910 (exit $ac_status); }; } &&
32911 { ac_try='test -s conftest$ac_exeext'
32912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32913 (eval $ac_try) 2>&5
32914 ac_status=$?
32915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32916 (exit $ac_status); }; }; then
32917 ac_cv_lib_w_wcslen=yes
32918 else
32919 echo "$as_me: failed program was:" >&5
32920 sed 's/^/| /' conftest.$ac_ext >&5
32921
32922 ac_cv_lib_w_wcslen=no
32923 fi
32924 rm -f conftest.err conftest.$ac_objext \
32925 conftest$ac_exeext conftest.$ac_ext
32926 LIBS=$ac_check_lib_save_LIBS
32927 fi
32928 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
32929 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
32930 if test $ac_cv_lib_w_wcslen = yes; then
32931
32932 WCHAR_LINK=" -lw"
32933 WCSLEN_FOUND=1
32934
32935 fi
32936
32937 fi
32938 fi
32939
32940 if test "$WCSLEN_FOUND" = 1; then
32941 cat >>confdefs.h <<\_ACEOF
32942 #define HAVE_WCSLEN 1
32943 _ACEOF
32944
32945 fi
32946
32947 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
32948 CPPFLAGS="$CPPFLAGS -D_INCLUDE__STDC_A1_SOURCE "
32949 fi
32950
32951 echo "$as_me:$LINENO: checking for mbstate_t" >&5
32952 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
32953 if test "${ac_cv_type_mbstate_t+set}" = set; then
32954 echo $ECHO_N "(cached) $ECHO_C" >&6
32955 else
32956 cat >conftest.$ac_ext <<_ACEOF
32957 /* confdefs.h. */
32958 _ACEOF
32959 cat confdefs.h >>conftest.$ac_ext
32960 cat >>conftest.$ac_ext <<_ACEOF
32961 /* end confdefs.h. */
32962 #include <wchar.h>
32963
32964 int
32965 main ()
32966 {
32967 if ((mbstate_t *) 0)
32968 return 0;
32969 if (sizeof (mbstate_t))
32970 return 0;
32971 ;
32972 return 0;
32973 }
32974 _ACEOF
32975 rm -f conftest.$ac_objext
32976 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32977 (eval $ac_compile) 2>conftest.er1
32978 ac_status=$?
32979 grep -v '^ *+' conftest.er1 >conftest.err
32980 rm -f conftest.er1
32981 cat conftest.err >&5
32982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32983 (exit $ac_status); } &&
32984 { ac_try='test -z "$ac_c_werror_flag"
32985 || test ! -s conftest.err'
32986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32987 (eval $ac_try) 2>&5
32988 ac_status=$?
32989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32990 (exit $ac_status); }; } &&
32991 { ac_try='test -s conftest.$ac_objext'
32992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32993 (eval $ac_try) 2>&5
32994 ac_status=$?
32995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32996 (exit $ac_status); }; }; then
32997 ac_cv_type_mbstate_t=yes
32998 else
32999 echo "$as_me: failed program was:" >&5
33000 sed 's/^/| /' conftest.$ac_ext >&5
33001
33002 ac_cv_type_mbstate_t=no
33003 fi
33004 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33005 fi
33006 echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
33007 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6
33008 if test $ac_cv_type_mbstate_t = yes; then
33009
33010 cat >>confdefs.h <<_ACEOF
33011 #define HAVE_MBSTATE_T 1
33012 _ACEOF
33013
33014
33015 for ac_func in wcsrtombs
33016 do
33017 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33018 echo "$as_me:$LINENO: checking for $ac_func" >&5
33019 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33020 if eval "test \"\${$as_ac_var+set}\" = set"; then
33021 echo $ECHO_N "(cached) $ECHO_C" >&6
33022 else
33023 cat >conftest.$ac_ext <<_ACEOF
33024 /* confdefs.h. */
33025 _ACEOF
33026 cat confdefs.h >>conftest.$ac_ext
33027 cat >>conftest.$ac_ext <<_ACEOF
33028 /* end confdefs.h. */
33029 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33030 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33031 #define $ac_func innocuous_$ac_func
33032
33033 /* System header to define __stub macros and hopefully few prototypes,
33034 which can conflict with char $ac_func (); below.
33035 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33036 <limits.h> exists even on freestanding compilers. */
33037
33038 #ifdef __STDC__
33039 # include <limits.h>
33040 #else
33041 # include <assert.h>
33042 #endif
33043
33044 #undef $ac_func
33045
33046 /* Override any gcc2 internal prototype to avoid an error. */
33047 #ifdef __cplusplus
33048 extern "C"
33049 {
33050 #endif
33051 /* We use char because int might match the return type of a gcc2
33052 builtin and then its argument prototype would still apply. */
33053 char $ac_func ();
33054 /* The GNU C library defines this for functions which it implements
33055 to always fail with ENOSYS. Some functions are actually named
33056 something starting with __ and the normal name is an alias. */
33057 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33058 choke me
33059 #else
33060 char (*f) () = $ac_func;
33061 #endif
33062 #ifdef __cplusplus
33063 }
33064 #endif
33065
33066 int
33067 main ()
33068 {
33069 return f != $ac_func;
33070 ;
33071 return 0;
33072 }
33073 _ACEOF
33074 rm -f conftest.$ac_objext conftest$ac_exeext
33075 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33076 (eval $ac_link) 2>conftest.er1
33077 ac_status=$?
33078 grep -v '^ *+' conftest.er1 >conftest.err
33079 rm -f conftest.er1
33080 cat conftest.err >&5
33081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33082 (exit $ac_status); } &&
33083 { ac_try='test -z "$ac_c_werror_flag"
33084 || test ! -s conftest.err'
33085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33086 (eval $ac_try) 2>&5
33087 ac_status=$?
33088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33089 (exit $ac_status); }; } &&
33090 { ac_try='test -s conftest$ac_exeext'
33091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33092 (eval $ac_try) 2>&5
33093 ac_status=$?
33094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33095 (exit $ac_status); }; }; then
33096 eval "$as_ac_var=yes"
33097 else
33098 echo "$as_me: failed program was:" >&5
33099 sed 's/^/| /' conftest.$ac_ext >&5
33100
33101 eval "$as_ac_var=no"
33102 fi
33103 rm -f conftest.err conftest.$ac_objext \
33104 conftest$ac_exeext conftest.$ac_ext
33105 fi
33106 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33107 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33108 if test `eval echo '${'$as_ac_var'}'` = yes; then
33109 cat >>confdefs.h <<_ACEOF
33110 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33111 _ACEOF
33112
33113 fi
33114 done
33115
33116 fi
33117
33118 else
33119 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
33120 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
33121 fi
33122
33123
33124
33125 ac_ext=cc
33126 ac_cpp='$CXXCPP $CPPFLAGS'
33127 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33128 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33129 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33130
33131
33132
33133
33134 for ac_func in snprintf vsnprintf
33135 do
33136 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33137 echo "$as_me:$LINENO: checking for $ac_func" >&5
33138 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33139 if eval "test \"\${$as_ac_var+set}\" = set"; then
33140 echo $ECHO_N "(cached) $ECHO_C" >&6
33141 else
33142 cat >conftest.$ac_ext <<_ACEOF
33143 /* confdefs.h. */
33144 _ACEOF
33145 cat confdefs.h >>conftest.$ac_ext
33146 cat >>conftest.$ac_ext <<_ACEOF
33147 /* end confdefs.h. */
33148 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33149 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33150 #define $ac_func innocuous_$ac_func
33151
33152 /* System header to define __stub macros and hopefully few prototypes,
33153 which can conflict with char $ac_func (); below.
33154 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33155 <limits.h> exists even on freestanding compilers. */
33156
33157 #ifdef __STDC__
33158 # include <limits.h>
33159 #else
33160 # include <assert.h>
33161 #endif
33162
33163 #undef $ac_func
33164
33165 /* Override any gcc2 internal prototype to avoid an error. */
33166 #ifdef __cplusplus
33167 extern "C"
33168 {
33169 #endif
33170 /* We use char because int might match the return type of a gcc2
33171 builtin and then its argument prototype would still apply. */
33172 char $ac_func ();
33173 /* The GNU C library defines this for functions which it implements
33174 to always fail with ENOSYS. Some functions are actually named
33175 something starting with __ and the normal name is an alias. */
33176 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33177 choke me
33178 #else
33179 char (*f) () = $ac_func;
33180 #endif
33181 #ifdef __cplusplus
33182 }
33183 #endif
33184
33185 int
33186 main ()
33187 {
33188 return f != $ac_func;
33189 ;
33190 return 0;
33191 }
33192 _ACEOF
33193 rm -f conftest.$ac_objext conftest$ac_exeext
33194 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33195 (eval $ac_link) 2>conftest.er1
33196 ac_status=$?
33197 grep -v '^ *+' conftest.er1 >conftest.err
33198 rm -f conftest.er1
33199 cat conftest.err >&5
33200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33201 (exit $ac_status); } &&
33202 { ac_try='test -z "$ac_cxx_werror_flag"
33203 || test ! -s conftest.err'
33204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33205 (eval $ac_try) 2>&5
33206 ac_status=$?
33207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33208 (exit $ac_status); }; } &&
33209 { ac_try='test -s conftest$ac_exeext'
33210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33211 (eval $ac_try) 2>&5
33212 ac_status=$?
33213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33214 (exit $ac_status); }; }; then
33215 eval "$as_ac_var=yes"
33216 else
33217 echo "$as_me: failed program was:" >&5
33218 sed 's/^/| /' conftest.$ac_ext >&5
33219
33220 eval "$as_ac_var=no"
33221 fi
33222 rm -f conftest.err conftest.$ac_objext \
33223 conftest$ac_exeext conftest.$ac_ext
33224 fi
33225 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33226 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33227 if test `eval echo '${'$as_ac_var'}'` = yes; then
33228 cat >>confdefs.h <<_ACEOF
33229 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33230 _ACEOF
33231
33232 fi
33233 done
33234
33235
33236 if test "$ac_cv_func_vsnprintf" = "yes"; then
33237 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
33238 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
33239 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
33240 echo $ECHO_N "(cached) $ECHO_C" >&6
33241 else
33242
33243 cat >conftest.$ac_ext <<_ACEOF
33244 /* confdefs.h. */
33245 _ACEOF
33246 cat confdefs.h >>conftest.$ac_ext
33247 cat >>conftest.$ac_ext <<_ACEOF
33248 /* end confdefs.h. */
33249
33250 #include <stdio.h>
33251 #include <stdarg.h>
33252 #ifdef __MSL__
33253 #if __MSL__ >= 0x6000
33254 namespace std {}
33255 using namespace std;
33256 #endif
33257 #endif
33258
33259 int
33260 main ()
33261 {
33262
33263 char *buf;
33264 va_list ap;
33265 vsnprintf(buf, 10u, "%s", ap);
33266
33267 ;
33268 return 0;
33269 }
33270 _ACEOF
33271 rm -f conftest.$ac_objext
33272 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33273 (eval $ac_compile) 2>conftest.er1
33274 ac_status=$?
33275 grep -v '^ *+' conftest.er1 >conftest.err
33276 rm -f conftest.er1
33277 cat conftest.err >&5
33278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33279 (exit $ac_status); } &&
33280 { ac_try='test -z "$ac_cxx_werror_flag"
33281 || test ! -s conftest.err'
33282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33283 (eval $ac_try) 2>&5
33284 ac_status=$?
33285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33286 (exit $ac_status); }; } &&
33287 { ac_try='test -s conftest.$ac_objext'
33288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33289 (eval $ac_try) 2>&5
33290 ac_status=$?
33291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33292 (exit $ac_status); }; }; then
33293 wx_cv_func_vsnprintf_decl=yes
33294 else
33295 echo "$as_me: failed program was:" >&5
33296 sed 's/^/| /' conftest.$ac_ext >&5
33297
33298 wx_cv_func_vsnprintf_decl=no
33299
33300 fi
33301 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33302
33303
33304 fi
33305 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
33306 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
33307
33308 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
33309 cat >>confdefs.h <<\_ACEOF
33310 #define HAVE_VSNPRINTF_DECL 1
33311 _ACEOF
33312
33313
33314 echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
33315 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6
33316 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
33317 echo $ECHO_N "(cached) $ECHO_C" >&6
33318 else
33319
33320 cat >conftest.$ac_ext <<_ACEOF
33321 /* confdefs.h. */
33322 _ACEOF
33323 cat confdefs.h >>conftest.$ac_ext
33324 cat >>conftest.$ac_ext <<_ACEOF
33325 /* end confdefs.h. */
33326
33327 #include <stdio.h>
33328 #include <stdarg.h>
33329 #ifdef __MSL__
33330 #if __MSL__ >= 0x6000
33331 namespace std {}
33332 using namespace std;
33333 #endif
33334 #endif
33335
33336 int
33337 main ()
33338 {
33339
33340 char *buf;
33341 va_list ap;
33342 const char *fmt = "%s";
33343 vsnprintf(buf, 10u, fmt, ap);
33344
33345 ;
33346 return 0;
33347 }
33348 _ACEOF
33349 rm -f conftest.$ac_objext
33350 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33351 (eval $ac_compile) 2>conftest.er1
33352 ac_status=$?
33353 grep -v '^ *+' conftest.er1 >conftest.err
33354 rm -f conftest.er1
33355 cat conftest.err >&5
33356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33357 (exit $ac_status); } &&
33358 { ac_try='test -z "$ac_cxx_werror_flag"
33359 || test ! -s conftest.err'
33360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33361 (eval $ac_try) 2>&5
33362 ac_status=$?
33363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33364 (exit $ac_status); }; } &&
33365 { ac_try='test -s conftest.$ac_objext'
33366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33367 (eval $ac_try) 2>&5
33368 ac_status=$?
33369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33370 (exit $ac_status); }; }; then
33371 wx_cv_func_broken_vsnprintf_decl=no
33372 else
33373 echo "$as_me: failed program was:" >&5
33374 sed 's/^/| /' conftest.$ac_ext >&5
33375
33376 wx_cv_func_broken_vsnprintf_decl=yes
33377
33378 fi
33379 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33380
33381
33382 fi
33383 echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
33384 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6
33385
33386 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
33387 cat >>confdefs.h <<\_ACEOF
33388 #define HAVE_BROKEN_VSNPRINTF_DECL 1
33389 _ACEOF
33390
33391 fi
33392 fi
33393 fi
33394
33395 if test "$ac_cv_func_snprintf" = "yes"; then
33396 echo "$as_me:$LINENO: checking for snprintf declaration" >&5
33397 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6
33398 if test "${wx_cv_func_snprintf_decl+set}" = set; then
33399 echo $ECHO_N "(cached) $ECHO_C" >&6
33400 else
33401
33402 cat >conftest.$ac_ext <<_ACEOF
33403 /* confdefs.h. */
33404 _ACEOF
33405 cat confdefs.h >>conftest.$ac_ext
33406 cat >>conftest.$ac_ext <<_ACEOF
33407 /* end confdefs.h. */
33408
33409 #include <stdio.h>
33410 #include <stdarg.h>
33411 #ifdef __MSL__
33412 #if __MSL__ >= 0x6000
33413 namespace std {}
33414 using namespace std;
33415 #endif
33416 #endif
33417
33418 int
33419 main ()
33420 {
33421
33422 char *buf;
33423 snprintf(buf, 10u, "%s", "wx");
33424
33425 ;
33426 return 0;
33427 }
33428 _ACEOF
33429 rm -f conftest.$ac_objext
33430 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33431 (eval $ac_compile) 2>conftest.er1
33432 ac_status=$?
33433 grep -v '^ *+' conftest.er1 >conftest.err
33434 rm -f conftest.er1
33435 cat conftest.err >&5
33436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33437 (exit $ac_status); } &&
33438 { ac_try='test -z "$ac_cxx_werror_flag"
33439 || test ! -s conftest.err'
33440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33441 (eval $ac_try) 2>&5
33442 ac_status=$?
33443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33444 (exit $ac_status); }; } &&
33445 { ac_try='test -s conftest.$ac_objext'
33446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33447 (eval $ac_try) 2>&5
33448 ac_status=$?
33449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33450 (exit $ac_status); }; }; then
33451 wx_cv_func_snprintf_decl=yes
33452 else
33453 echo "$as_me: failed program was:" >&5
33454 sed 's/^/| /' conftest.$ac_ext >&5
33455
33456 wx_cv_func_snprintf_decl=no
33457
33458 fi
33459 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33460
33461
33462 fi
33463 echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
33464 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6
33465
33466 if test "$wx_cv_func_snprintf_decl" = "yes"; then
33467 cat >>confdefs.h <<\_ACEOF
33468 #define HAVE_SNPRINTF_DECL 1
33469 _ACEOF
33470
33471
33472 echo "$as_me:$LINENO: checking if snprintf declaration is broken" >&5
33473 echo $ECHO_N "checking if snprintf declaration is broken... $ECHO_C" >&6
33474 if test "${wx_cv_func_broken_snprintf_decl+set}" = set; then
33475 echo $ECHO_N "(cached) $ECHO_C" >&6
33476 else
33477
33478 cat >conftest.$ac_ext <<_ACEOF
33479 /* confdefs.h. */
33480 _ACEOF
33481 cat confdefs.h >>conftest.$ac_ext
33482 cat >>conftest.$ac_ext <<_ACEOF
33483 /* end confdefs.h. */
33484
33485 #include <stdio.h>
33486 #include <stdarg.h>
33487 #ifdef __MSL__
33488 #if __MSL__ >= 0x6000
33489 namespace std {}
33490 using namespace std;
33491 #endif
33492 #endif
33493
33494 int
33495 main ()
33496 {
33497
33498 char *buf;
33499 const char *fmt = "%s";
33500 snprintf(buf, 10u, fmt, "wx");
33501
33502 ;
33503 return 0;
33504 }
33505 _ACEOF
33506 rm -f conftest.$ac_objext
33507 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33508 (eval $ac_compile) 2>conftest.er1
33509 ac_status=$?
33510 grep -v '^ *+' conftest.er1 >conftest.err
33511 rm -f conftest.er1
33512 cat conftest.err >&5
33513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33514 (exit $ac_status); } &&
33515 { ac_try='test -z "$ac_cxx_werror_flag"
33516 || test ! -s conftest.err'
33517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33518 (eval $ac_try) 2>&5
33519 ac_status=$?
33520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33521 (exit $ac_status); }; } &&
33522 { ac_try='test -s conftest.$ac_objext'
33523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33524 (eval $ac_try) 2>&5
33525 ac_status=$?
33526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33527 (exit $ac_status); }; }; then
33528 wx_cv_func_broken_snprintf_decl=no
33529 else
33530 echo "$as_me: failed program was:" >&5
33531 sed 's/^/| /' conftest.$ac_ext >&5
33532
33533 wx_cv_func_broken_snprintf_decl=yes
33534
33535 fi
33536 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33537
33538
33539 fi
33540 echo "$as_me:$LINENO: result: $wx_cv_func_broken_snprintf_decl" >&5
33541 echo "${ECHO_T}$wx_cv_func_broken_snprintf_decl" >&6
33542
33543 if test "$wx_cv_func_broken_snprintf_decl" = "yes"; then
33544 cat >>confdefs.h <<\_ACEOF
33545 #define HAVE_BROKEN_SNPRINTF_DECL 1
33546 _ACEOF
33547
33548 fi
33549 fi
33550 fi
33551
33552 if test "$wxUSE_UNICODE" = yes; then
33553
33554
33555
33556
33557
33558
33559 for ac_func in wputc wputchar putws fputws wprintf vswprintf
33560 do
33561 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33562 echo "$as_me:$LINENO: checking for $ac_func" >&5
33563 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33564 if eval "test \"\${$as_ac_var+set}\" = set"; then
33565 echo $ECHO_N "(cached) $ECHO_C" >&6
33566 else
33567 cat >conftest.$ac_ext <<_ACEOF
33568 /* confdefs.h. */
33569 _ACEOF
33570 cat confdefs.h >>conftest.$ac_ext
33571 cat >>conftest.$ac_ext <<_ACEOF
33572 /* end confdefs.h. */
33573 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33574 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33575 #define $ac_func innocuous_$ac_func
33576
33577 /* System header to define __stub macros and hopefully few prototypes,
33578 which can conflict with char $ac_func (); below.
33579 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33580 <limits.h> exists even on freestanding compilers. */
33581
33582 #ifdef __STDC__
33583 # include <limits.h>
33584 #else
33585 # include <assert.h>
33586 #endif
33587
33588 #undef $ac_func
33589
33590 /* Override any gcc2 internal prototype to avoid an error. */
33591 #ifdef __cplusplus
33592 extern "C"
33593 {
33594 #endif
33595 /* We use char because int might match the return type of a gcc2
33596 builtin and then its argument prototype would still apply. */
33597 char $ac_func ();
33598 /* The GNU C library defines this for functions which it implements
33599 to always fail with ENOSYS. Some functions are actually named
33600 something starting with __ and the normal name is an alias. */
33601 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33602 choke me
33603 #else
33604 char (*f) () = $ac_func;
33605 #endif
33606 #ifdef __cplusplus
33607 }
33608 #endif
33609
33610 int
33611 main ()
33612 {
33613 return f != $ac_func;
33614 ;
33615 return 0;
33616 }
33617 _ACEOF
33618 rm -f conftest.$ac_objext conftest$ac_exeext
33619 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33620 (eval $ac_link) 2>conftest.er1
33621 ac_status=$?
33622 grep -v '^ *+' conftest.er1 >conftest.err
33623 rm -f conftest.er1
33624 cat conftest.err >&5
33625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33626 (exit $ac_status); } &&
33627 { ac_try='test -z "$ac_cxx_werror_flag"
33628 || test ! -s conftest.err'
33629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33630 (eval $ac_try) 2>&5
33631 ac_status=$?
33632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33633 (exit $ac_status); }; } &&
33634 { ac_try='test -s conftest$ac_exeext'
33635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33636 (eval $ac_try) 2>&5
33637 ac_status=$?
33638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33639 (exit $ac_status); }; }; then
33640 eval "$as_ac_var=yes"
33641 else
33642 echo "$as_me: failed program was:" >&5
33643 sed 's/^/| /' conftest.$ac_ext >&5
33644
33645 eval "$as_ac_var=no"
33646 fi
33647 rm -f conftest.err conftest.$ac_objext \
33648 conftest$ac_exeext conftest.$ac_ext
33649 fi
33650 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33651 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33652 if test `eval echo '${'$as_ac_var'}'` = yes; then
33653 cat >>confdefs.h <<_ACEOF
33654 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33655 _ACEOF
33656
33657 fi
33658 done
33659
33660
33661 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
33662 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
33663 cat >conftest.$ac_ext <<_ACEOF
33664 /* confdefs.h. */
33665 _ACEOF
33666 cat confdefs.h >>conftest.$ac_ext
33667 cat >>conftest.$ac_ext <<_ACEOF
33668 /* end confdefs.h. */
33669 #include <wchar.h>
33670 int
33671 main ()
33672 {
33673 &_vsnwprintf;
33674 ;
33675 return 0;
33676 }
33677 _ACEOF
33678 rm -f conftest.$ac_objext
33679 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33680 (eval $ac_compile) 2>conftest.er1
33681 ac_status=$?
33682 grep -v '^ *+' conftest.er1 >conftest.err
33683 rm -f conftest.er1
33684 cat conftest.err >&5
33685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33686 (exit $ac_status); } &&
33687 { ac_try='test -z "$ac_cxx_werror_flag"
33688 || test ! -s conftest.err'
33689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33690 (eval $ac_try) 2>&5
33691 ac_status=$?
33692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33693 (exit $ac_status); }; } &&
33694 { ac_try='test -s conftest.$ac_objext'
33695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33696 (eval $ac_try) 2>&5
33697 ac_status=$?
33698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33699 (exit $ac_status); }; }; then
33700 echo "$as_me:$LINENO: result: yes" >&5
33701 echo "${ECHO_T}yes" >&6
33702 cat >>confdefs.h <<\_ACEOF
33703 #define HAVE__VSNWPRINTF 1
33704 _ACEOF
33705
33706 else
33707 echo "$as_me: failed program was:" >&5
33708 sed 's/^/| /' conftest.$ac_ext >&5
33709
33710 echo "$as_me:$LINENO: result: no" >&5
33711 echo "${ECHO_T}no" >&6
33712 fi
33713 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext;
33714 fi
33715
33716 ac_ext=c
33717 ac_cpp='$CPP $CPPFLAGS'
33718 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33719 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33720 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33721
33722
33723 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
33724
33725 for ac_func in fnmatch
33726 do
33727 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33728 echo "$as_me:$LINENO: checking for $ac_func" >&5
33729 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33730 if eval "test \"\${$as_ac_var+set}\" = set"; then
33731 echo $ECHO_N "(cached) $ECHO_C" >&6
33732 else
33733 cat >conftest.$ac_ext <<_ACEOF
33734 /* confdefs.h. */
33735 _ACEOF
33736 cat confdefs.h >>conftest.$ac_ext
33737 cat >>conftest.$ac_ext <<_ACEOF
33738 /* end confdefs.h. */
33739 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33740 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33741 #define $ac_func innocuous_$ac_func
33742
33743 /* System header to define __stub macros and hopefully few prototypes,
33744 which can conflict with char $ac_func (); below.
33745 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33746 <limits.h> exists even on freestanding compilers. */
33747
33748 #ifdef __STDC__
33749 # include <limits.h>
33750 #else
33751 # include <assert.h>
33752 #endif
33753
33754 #undef $ac_func
33755
33756 /* Override any gcc2 internal prototype to avoid an error. */
33757 #ifdef __cplusplus
33758 extern "C"
33759 {
33760 #endif
33761 /* We use char because int might match the return type of a gcc2
33762 builtin and then its argument prototype would still apply. */
33763 char $ac_func ();
33764 /* The GNU C library defines this for functions which it implements
33765 to always fail with ENOSYS. Some functions are actually named
33766 something starting with __ and the normal name is an alias. */
33767 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33768 choke me
33769 #else
33770 char (*f) () = $ac_func;
33771 #endif
33772 #ifdef __cplusplus
33773 }
33774 #endif
33775
33776 int
33777 main ()
33778 {
33779 return f != $ac_func;
33780 ;
33781 return 0;
33782 }
33783 _ACEOF
33784 rm -f conftest.$ac_objext conftest$ac_exeext
33785 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33786 (eval $ac_link) 2>conftest.er1
33787 ac_status=$?
33788 grep -v '^ *+' conftest.er1 >conftest.err
33789 rm -f conftest.er1
33790 cat conftest.err >&5
33791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33792 (exit $ac_status); } &&
33793 { ac_try='test -z "$ac_c_werror_flag"
33794 || test ! -s conftest.err'
33795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33796 (eval $ac_try) 2>&5
33797 ac_status=$?
33798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33799 (exit $ac_status); }; } &&
33800 { ac_try='test -s conftest$ac_exeext'
33801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33802 (eval $ac_try) 2>&5
33803 ac_status=$?
33804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33805 (exit $ac_status); }; }; then
33806 eval "$as_ac_var=yes"
33807 else
33808 echo "$as_me: failed program was:" >&5
33809 sed 's/^/| /' conftest.$ac_ext >&5
33810
33811 eval "$as_ac_var=no"
33812 fi
33813 rm -f conftest.err conftest.$ac_objext \
33814 conftest$ac_exeext conftest.$ac_ext
33815 fi
33816 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33817 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33818 if test `eval echo '${'$as_ac_var'}'` = yes; then
33819 cat >>confdefs.h <<_ACEOF
33820 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33821 _ACEOF
33822
33823 fi
33824 done
33825
33826 fi
33827
33828 if test "$wxUSE_FILE" = "yes"; then
33829
33830 for ac_func in fsync
33831 do
33832 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33833 echo "$as_me:$LINENO: checking for $ac_func" >&5
33834 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33835 if eval "test \"\${$as_ac_var+set}\" = set"; then
33836 echo $ECHO_N "(cached) $ECHO_C" >&6
33837 else
33838 cat >conftest.$ac_ext <<_ACEOF
33839 /* confdefs.h. */
33840 _ACEOF
33841 cat confdefs.h >>conftest.$ac_ext
33842 cat >>conftest.$ac_ext <<_ACEOF
33843 /* end confdefs.h. */
33844 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33845 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33846 #define $ac_func innocuous_$ac_func
33847
33848 /* System header to define __stub macros and hopefully few prototypes,
33849 which can conflict with char $ac_func (); below.
33850 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33851 <limits.h> exists even on freestanding compilers. */
33852
33853 #ifdef __STDC__
33854 # include <limits.h>
33855 #else
33856 # include <assert.h>
33857 #endif
33858
33859 #undef $ac_func
33860
33861 /* Override any gcc2 internal prototype to avoid an error. */
33862 #ifdef __cplusplus
33863 extern "C"
33864 {
33865 #endif
33866 /* We use char because int might match the return type of a gcc2
33867 builtin and then its argument prototype would still apply. */
33868 char $ac_func ();
33869 /* The GNU C library defines this for functions which it implements
33870 to always fail with ENOSYS. Some functions are actually named
33871 something starting with __ and the normal name is an alias. */
33872 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33873 choke me
33874 #else
33875 char (*f) () = $ac_func;
33876 #endif
33877 #ifdef __cplusplus
33878 }
33879 #endif
33880
33881 int
33882 main ()
33883 {
33884 return f != $ac_func;
33885 ;
33886 return 0;
33887 }
33888 _ACEOF
33889 rm -f conftest.$ac_objext conftest$ac_exeext
33890 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33891 (eval $ac_link) 2>conftest.er1
33892 ac_status=$?
33893 grep -v '^ *+' conftest.er1 >conftest.err
33894 rm -f conftest.er1
33895 cat conftest.err >&5
33896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33897 (exit $ac_status); } &&
33898 { ac_try='test -z "$ac_c_werror_flag"
33899 || test ! -s conftest.err'
33900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33901 (eval $ac_try) 2>&5
33902 ac_status=$?
33903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33904 (exit $ac_status); }; } &&
33905 { ac_try='test -s conftest$ac_exeext'
33906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33907 (eval $ac_try) 2>&5
33908 ac_status=$?
33909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33910 (exit $ac_status); }; }; then
33911 eval "$as_ac_var=yes"
33912 else
33913 echo "$as_me: failed program was:" >&5
33914 sed 's/^/| /' conftest.$ac_ext >&5
33915
33916 eval "$as_ac_var=no"
33917 fi
33918 rm -f conftest.err conftest.$ac_objext \
33919 conftest$ac_exeext conftest.$ac_ext
33920 fi
33921 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33922 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33923 if test `eval echo '${'$as_ac_var'}'` = yes; then
33924 cat >>confdefs.h <<_ACEOF
33925 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33926 _ACEOF
33927
33928 fi
33929 done
33930
33931 fi
33932
33933
33934 if test "$TOOLKIT" != "MSW"; then
33935
33936
33937
33938
33939 ac_ext=cc
33940 ac_cpp='$CXXCPP $CPPFLAGS'
33941 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33942 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33943 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33944
33945
33946
33947
33948 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
33949 if test "${with_libiconv_prefix+set}" = set; then
33950 withval="$with_libiconv_prefix"
33951
33952 for dir in `echo "$withval" | tr : ' '`; do
33953 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
33954 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
33955 done
33956
33957 fi;
33958
33959 echo "$as_me:$LINENO: checking for iconv" >&5
33960 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
33961 if test "${am_cv_func_iconv+set}" = set; then
33962 echo $ECHO_N "(cached) $ECHO_C" >&6
33963 else
33964
33965 am_cv_func_iconv="no, consider installing GNU libiconv"
33966 am_cv_lib_iconv=no
33967 cat >conftest.$ac_ext <<_ACEOF
33968 /* confdefs.h. */
33969 _ACEOF
33970 cat confdefs.h >>conftest.$ac_ext
33971 cat >>conftest.$ac_ext <<_ACEOF
33972 /* end confdefs.h. */
33973 #include <stdlib.h>
33974 #include <iconv.h>
33975 int
33976 main ()
33977 {
33978 iconv_t cd = iconv_open("","");
33979 iconv(cd,NULL,NULL,NULL,NULL);
33980 iconv_close(cd);
33981 ;
33982 return 0;
33983 }
33984 _ACEOF
33985 rm -f conftest.$ac_objext conftest$ac_exeext
33986 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33987 (eval $ac_link) 2>conftest.er1
33988 ac_status=$?
33989 grep -v '^ *+' conftest.er1 >conftest.err
33990 rm -f conftest.er1
33991 cat conftest.err >&5
33992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33993 (exit $ac_status); } &&
33994 { ac_try='test -z "$ac_cxx_werror_flag"
33995 || test ! -s conftest.err'
33996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33997 (eval $ac_try) 2>&5
33998 ac_status=$?
33999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34000 (exit $ac_status); }; } &&
34001 { ac_try='test -s conftest$ac_exeext'
34002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34003 (eval $ac_try) 2>&5
34004 ac_status=$?
34005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34006 (exit $ac_status); }; }; then
34007 am_cv_func_iconv=yes
34008 else
34009 echo "$as_me: failed program was:" >&5
34010 sed 's/^/| /' conftest.$ac_ext >&5
34011
34012 fi
34013 rm -f conftest.err conftest.$ac_objext \
34014 conftest$ac_exeext conftest.$ac_ext
34015 if test "$am_cv_func_iconv" != yes; then
34016 am_save_LIBS="$LIBS"
34017 LIBS="$LIBS -liconv"
34018 cat >conftest.$ac_ext <<_ACEOF
34019 /* confdefs.h. */
34020 _ACEOF
34021 cat confdefs.h >>conftest.$ac_ext
34022 cat >>conftest.$ac_ext <<_ACEOF
34023 /* end confdefs.h. */
34024 #include <stdlib.h>
34025 #include <iconv.h>
34026 int
34027 main ()
34028 {
34029 iconv_t cd = iconv_open("","");
34030 iconv(cd,NULL,NULL,NULL,NULL);
34031 iconv_close(cd);
34032 ;
34033 return 0;
34034 }
34035 _ACEOF
34036 rm -f conftest.$ac_objext conftest$ac_exeext
34037 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34038 (eval $ac_link) 2>conftest.er1
34039 ac_status=$?
34040 grep -v '^ *+' conftest.er1 >conftest.err
34041 rm -f conftest.er1
34042 cat conftest.err >&5
34043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34044 (exit $ac_status); } &&
34045 { ac_try='test -z "$ac_cxx_werror_flag"
34046 || test ! -s conftest.err'
34047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34048 (eval $ac_try) 2>&5
34049 ac_status=$?
34050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34051 (exit $ac_status); }; } &&
34052 { ac_try='test -s conftest$ac_exeext'
34053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34054 (eval $ac_try) 2>&5
34055 ac_status=$?
34056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34057 (exit $ac_status); }; }; then
34058 am_cv_lib_iconv=yes
34059 am_cv_func_iconv=yes
34060 else
34061 echo "$as_me: failed program was:" >&5
34062 sed 's/^/| /' conftest.$ac_ext >&5
34063
34064 fi
34065 rm -f conftest.err conftest.$ac_objext \
34066 conftest$ac_exeext conftest.$ac_ext
34067 LIBS="$am_save_LIBS"
34068 fi
34069
34070 fi
34071 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
34072 echo "${ECHO_T}$am_cv_func_iconv" >&6
34073 if test "$am_cv_func_iconv" = yes; then
34074
34075 cat >>confdefs.h <<\_ACEOF
34076 #define HAVE_ICONV 1
34077 _ACEOF
34078
34079 echo "$as_me:$LINENO: checking if iconv needs const" >&5
34080 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
34081 if test "${wx_cv_func_iconv_const+set}" = set; then
34082 echo $ECHO_N "(cached) $ECHO_C" >&6
34083 else
34084 cat >conftest.$ac_ext <<_ACEOF
34085 /* confdefs.h. */
34086 _ACEOF
34087 cat confdefs.h >>conftest.$ac_ext
34088 cat >>conftest.$ac_ext <<_ACEOF
34089 /* end confdefs.h. */
34090
34091 #include <stdlib.h>
34092 #include <iconv.h>
34093 extern
34094 #ifdef __cplusplus
34095 "C"
34096 #endif
34097 #if defined(__STDC__) || defined(__cplusplus)
34098 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
34099 #else
34100 size_t iconv();
34101 #endif
34102
34103 int
34104 main ()
34105 {
34106
34107 ;
34108 return 0;
34109 }
34110 _ACEOF
34111 rm -f conftest.$ac_objext
34112 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34113 (eval $ac_compile) 2>conftest.er1
34114 ac_status=$?
34115 grep -v '^ *+' conftest.er1 >conftest.err
34116 rm -f conftest.er1
34117 cat conftest.err >&5
34118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34119 (exit $ac_status); } &&
34120 { ac_try='test -z "$ac_cxx_werror_flag"
34121 || test ! -s conftest.err'
34122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34123 (eval $ac_try) 2>&5
34124 ac_status=$?
34125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34126 (exit $ac_status); }; } &&
34127 { ac_try='test -s conftest.$ac_objext'
34128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34129 (eval $ac_try) 2>&5
34130 ac_status=$?
34131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34132 (exit $ac_status); }; }; then
34133 wx_cv_func_iconv_const="no"
34134 else
34135 echo "$as_me: failed program was:" >&5
34136 sed 's/^/| /' conftest.$ac_ext >&5
34137
34138 wx_cv_func_iconv_const="yes"
34139
34140 fi
34141 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34142
34143 fi
34144 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
34145 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
34146
34147 iconv_const=
34148 if test "x$wx_cv_func_iconv_const" = "xyes"; then
34149 iconv_const="const"
34150 fi
34151
34152
34153 cat >>confdefs.h <<_ACEOF
34154 #define ICONV_CONST $iconv_const
34155 _ACEOF
34156
34157 fi
34158 LIBICONV=
34159 if test "$am_cv_lib_iconv" = yes; then
34160 LIBICONV="-liconv"
34161 fi
34162
34163
34164 LIBS="$LIBICONV $LIBS"
34165 ac_ext=c
34166 ac_cpp='$CPP $CPPFLAGS'
34167 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34168 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34169 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34170
34171
34172 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
34173
34174 for ac_func in sigaction
34175 do
34176 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34177 echo "$as_me:$LINENO: checking for $ac_func" >&5
34178 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34179 if eval "test \"\${$as_ac_var+set}\" = set"; then
34180 echo $ECHO_N "(cached) $ECHO_C" >&6
34181 else
34182 cat >conftest.$ac_ext <<_ACEOF
34183 /* confdefs.h. */
34184 _ACEOF
34185 cat confdefs.h >>conftest.$ac_ext
34186 cat >>conftest.$ac_ext <<_ACEOF
34187 /* end confdefs.h. */
34188 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34189 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34190 #define $ac_func innocuous_$ac_func
34191
34192 /* System header to define __stub macros and hopefully few prototypes,
34193 which can conflict with char $ac_func (); below.
34194 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34195 <limits.h> exists even on freestanding compilers. */
34196
34197 #ifdef __STDC__
34198 # include <limits.h>
34199 #else
34200 # include <assert.h>
34201 #endif
34202
34203 #undef $ac_func
34204
34205 /* Override any gcc2 internal prototype to avoid an error. */
34206 #ifdef __cplusplus
34207 extern "C"
34208 {
34209 #endif
34210 /* We use char because int might match the return type of a gcc2
34211 builtin and then its argument prototype would still apply. */
34212 char $ac_func ();
34213 /* The GNU C library defines this for functions which it implements
34214 to always fail with ENOSYS. Some functions are actually named
34215 something starting with __ and the normal name is an alias. */
34216 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34217 choke me
34218 #else
34219 char (*f) () = $ac_func;
34220 #endif
34221 #ifdef __cplusplus
34222 }
34223 #endif
34224
34225 int
34226 main ()
34227 {
34228 return f != $ac_func;
34229 ;
34230 return 0;
34231 }
34232 _ACEOF
34233 rm -f conftest.$ac_objext conftest$ac_exeext
34234 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34235 (eval $ac_link) 2>conftest.er1
34236 ac_status=$?
34237 grep -v '^ *+' conftest.er1 >conftest.err
34238 rm -f conftest.er1
34239 cat conftest.err >&5
34240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34241 (exit $ac_status); } &&
34242 { ac_try='test -z "$ac_c_werror_flag"
34243 || test ! -s conftest.err'
34244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34245 (eval $ac_try) 2>&5
34246 ac_status=$?
34247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34248 (exit $ac_status); }; } &&
34249 { ac_try='test -s conftest$ac_exeext'
34250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34251 (eval $ac_try) 2>&5
34252 ac_status=$?
34253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34254 (exit $ac_status); }; }; then
34255 eval "$as_ac_var=yes"
34256 else
34257 echo "$as_me: failed program was:" >&5
34258 sed 's/^/| /' conftest.$ac_ext >&5
34259
34260 eval "$as_ac_var=no"
34261 fi
34262 rm -f conftest.err conftest.$ac_objext \
34263 conftest$ac_exeext conftest.$ac_ext
34264 fi
34265 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34266 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34267 if test `eval echo '${'$as_ac_var'}'` = yes; then
34268 cat >>confdefs.h <<_ACEOF
34269 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34270 _ACEOF
34271
34272 fi
34273 done
34274
34275
34276 if test "$ac_cv_func_sigaction" = "no"; then
34277 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
34278 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
34279 wxUSE_ON_FATAL_EXCEPTION=no
34280 fi
34281
34282 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
34283
34284
34285 ac_ext=cc
34286 ac_cpp='$CXXCPP $CPPFLAGS'
34287 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34288 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34289 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34290
34291
34292 echo "$as_me:$LINENO: checking for sa_handler type" >&5
34293 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
34294 if test "${wx_cv_type_sa_handler+set}" = set; then
34295 echo $ECHO_N "(cached) $ECHO_C" >&6
34296 else
34297
34298 cat >conftest.$ac_ext <<_ACEOF
34299 /* confdefs.h. */
34300 _ACEOF
34301 cat confdefs.h >>conftest.$ac_ext
34302 cat >>conftest.$ac_ext <<_ACEOF
34303 /* end confdefs.h. */
34304 #include <signal.h>
34305 int
34306 main ()
34307 {
34308
34309 extern void testSigHandler(int);
34310
34311 struct sigaction sa;
34312 sa.sa_handler = testSigHandler;
34313
34314 ;
34315 return 0;
34316 }
34317 _ACEOF
34318 rm -f conftest.$ac_objext
34319 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34320 (eval $ac_compile) 2>conftest.er1
34321 ac_status=$?
34322 grep -v '^ *+' conftest.er1 >conftest.err
34323 rm -f conftest.er1
34324 cat conftest.err >&5
34325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34326 (exit $ac_status); } &&
34327 { ac_try='test -z "$ac_cxx_werror_flag"
34328 || test ! -s conftest.err'
34329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34330 (eval $ac_try) 2>&5
34331 ac_status=$?
34332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34333 (exit $ac_status); }; } &&
34334 { ac_try='test -s conftest.$ac_objext'
34335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34336 (eval $ac_try) 2>&5
34337 ac_status=$?
34338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34339 (exit $ac_status); }; }; then
34340
34341 wx_cv_type_sa_handler=int
34342
34343 else
34344 echo "$as_me: failed program was:" >&5
34345 sed 's/^/| /' conftest.$ac_ext >&5
34346
34347
34348 wx_cv_type_sa_handler=void
34349
34350 fi
34351 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34352
34353 fi
34354 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
34355 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
34356
34357 ac_ext=c
34358 ac_cpp='$CPP $CPPFLAGS'
34359 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34360 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34361 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34362
34363
34364 cat >>confdefs.h <<_ACEOF
34365 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
34366 _ACEOF
34367
34368 fi
34369 fi
34370
34371 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
34372
34373
34374 ac_ext=cc
34375 ac_cpp='$CXXCPP $CPPFLAGS'
34376 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34377 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34378 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34379
34380
34381 echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
34382 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6
34383 if test "${wx_cv_func_backtrace+set}" = set; then
34384 echo $ECHO_N "(cached) $ECHO_C" >&6
34385 else
34386
34387 cat >conftest.$ac_ext <<_ACEOF
34388 /* confdefs.h. */
34389 _ACEOF
34390 cat confdefs.h >>conftest.$ac_ext
34391 cat >>conftest.$ac_ext <<_ACEOF
34392 /* end confdefs.h. */
34393 #include <execinfo.h>
34394 int
34395 main ()
34396 {
34397
34398 void *trace[1];
34399 char **messages;
34400
34401 backtrace(trace, 1);
34402 messages = backtrace_symbols(trace, 1);
34403
34404 ;
34405 return 0;
34406 }
34407 _ACEOF
34408 rm -f conftest.$ac_objext
34409 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34410 (eval $ac_compile) 2>conftest.er1
34411 ac_status=$?
34412 grep -v '^ *+' conftest.er1 >conftest.err
34413 rm -f conftest.er1
34414 cat conftest.err >&5
34415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34416 (exit $ac_status); } &&
34417 { ac_try='test -z "$ac_cxx_werror_flag"
34418 || test ! -s conftest.err'
34419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34420 (eval $ac_try) 2>&5
34421 ac_status=$?
34422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34423 (exit $ac_status); }; } &&
34424 { ac_try='test -s conftest.$ac_objext'
34425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34426 (eval $ac_try) 2>&5
34427 ac_status=$?
34428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34429 (exit $ac_status); }; }; then
34430 wx_cv_func_backtrace=yes
34431 else
34432 echo "$as_me: failed program was:" >&5
34433 sed 's/^/| /' conftest.$ac_ext >&5
34434
34435 wx_cv_func_backtrace=no
34436
34437 fi
34438 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34439
34440
34441 fi
34442 echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
34443 echo "${ECHO_T}$wx_cv_func_backtrace" >&6
34444
34445
34446 if test "$wx_cv_func_backtrace" = "no"; then
34447 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
34448 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
34449 wxUSE_STACKWALKER=no
34450 else
34451 echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
34452 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6
34453 if test "${wx_cv_func_cxa_demangle+set}" = set; then
34454 echo $ECHO_N "(cached) $ECHO_C" >&6
34455 else
34456
34457 cat >conftest.$ac_ext <<_ACEOF
34458 /* confdefs.h. */
34459 _ACEOF
34460 cat confdefs.h >>conftest.$ac_ext
34461 cat >>conftest.$ac_ext <<_ACEOF
34462 /* end confdefs.h. */
34463 #include <cxxabi.h>
34464 int
34465 main ()
34466 {
34467
34468 int rc;
34469 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
34470
34471 ;
34472 return 0;
34473 }
34474 _ACEOF
34475 rm -f conftest.$ac_objext conftest$ac_exeext
34476 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34477 (eval $ac_link) 2>conftest.er1
34478 ac_status=$?
34479 grep -v '^ *+' conftest.er1 >conftest.err
34480 rm -f conftest.er1
34481 cat conftest.err >&5
34482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34483 (exit $ac_status); } &&
34484 { ac_try='test -z "$ac_cxx_werror_flag"
34485 || test ! -s conftest.err'
34486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34487 (eval $ac_try) 2>&5
34488 ac_status=$?
34489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34490 (exit $ac_status); }; } &&
34491 { ac_try='test -s conftest$ac_exeext'
34492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34493 (eval $ac_try) 2>&5
34494 ac_status=$?
34495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34496 (exit $ac_status); }; }; then
34497 wx_cv_func_cxa_demangle=yes
34498 else
34499 echo "$as_me: failed program was:" >&5
34500 sed 's/^/| /' conftest.$ac_ext >&5
34501
34502 wx_cv_func_cxa_demangle=no
34503
34504 fi
34505 rm -f conftest.err conftest.$ac_objext \
34506 conftest$ac_exeext conftest.$ac_ext
34507
34508
34509 fi
34510 echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
34511 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6
34512
34513 if test "$wx_cv_func_cxa_demangle" = "yes"; then
34514 cat >>confdefs.h <<\_ACEOF
34515 #define HAVE_CXA_DEMANGLE 1
34516 _ACEOF
34517
34518 fi
34519 fi
34520
34521 ac_ext=c
34522 ac_cpp='$CPP $CPPFLAGS'
34523 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34524 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34525 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34526
34527 fi
34528
34529 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != "1" -a "$USE_UNIX" != "1"; then
34530 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
34531 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
34532 wxUSE_STACKWALKER=no
34533 fi
34534
34535
34536
34537
34538 for ac_func in mkstemp mktemp
34539 do
34540 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34541 echo "$as_me:$LINENO: checking for $ac_func" >&5
34542 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34543 if eval "test \"\${$as_ac_var+set}\" = set"; then
34544 echo $ECHO_N "(cached) $ECHO_C" >&6
34545 else
34546 cat >conftest.$ac_ext <<_ACEOF
34547 /* confdefs.h. */
34548 _ACEOF
34549 cat confdefs.h >>conftest.$ac_ext
34550 cat >>conftest.$ac_ext <<_ACEOF
34551 /* end confdefs.h. */
34552 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34553 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34554 #define $ac_func innocuous_$ac_func
34555
34556 /* System header to define __stub macros and hopefully few prototypes,
34557 which can conflict with char $ac_func (); below.
34558 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34559 <limits.h> exists even on freestanding compilers. */
34560
34561 #ifdef __STDC__
34562 # include <limits.h>
34563 #else
34564 # include <assert.h>
34565 #endif
34566
34567 #undef $ac_func
34568
34569 /* Override any gcc2 internal prototype to avoid an error. */
34570 #ifdef __cplusplus
34571 extern "C"
34572 {
34573 #endif
34574 /* We use char because int might match the return type of a gcc2
34575 builtin and then its argument prototype would still apply. */
34576 char $ac_func ();
34577 /* The GNU C library defines this for functions which it implements
34578 to always fail with ENOSYS. Some functions are actually named
34579 something starting with __ and the normal name is an alias. */
34580 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34581 choke me
34582 #else
34583 char (*f) () = $ac_func;
34584 #endif
34585 #ifdef __cplusplus
34586 }
34587 #endif
34588
34589 int
34590 main ()
34591 {
34592 return f != $ac_func;
34593 ;
34594 return 0;
34595 }
34596 _ACEOF
34597 rm -f conftest.$ac_objext conftest$ac_exeext
34598 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34599 (eval $ac_link) 2>conftest.er1
34600 ac_status=$?
34601 grep -v '^ *+' conftest.er1 >conftest.err
34602 rm -f conftest.er1
34603 cat conftest.err >&5
34604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34605 (exit $ac_status); } &&
34606 { ac_try='test -z "$ac_c_werror_flag"
34607 || test ! -s conftest.err'
34608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34609 (eval $ac_try) 2>&5
34610 ac_status=$?
34611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34612 (exit $ac_status); }; } &&
34613 { ac_try='test -s conftest$ac_exeext'
34614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34615 (eval $ac_try) 2>&5
34616 ac_status=$?
34617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34618 (exit $ac_status); }; }; then
34619 eval "$as_ac_var=yes"
34620 else
34621 echo "$as_me: failed program was:" >&5
34622 sed 's/^/| /' conftest.$ac_ext >&5
34623
34624 eval "$as_ac_var=no"
34625 fi
34626 rm -f conftest.err conftest.$ac_objext \
34627 conftest$ac_exeext conftest.$ac_ext
34628 fi
34629 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34630 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34631 if test `eval echo '${'$as_ac_var'}'` = yes; then
34632 cat >>confdefs.h <<_ACEOF
34633 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34634 _ACEOF
34635 break
34636 fi
34637 done
34638
34639
34640 echo "$as_me:$LINENO: checking for statfs" >&5
34641 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
34642 if test "${wx_cv_func_statfs+set}" = set; then
34643 echo $ECHO_N "(cached) $ECHO_C" >&6
34644 else
34645 cat >conftest.$ac_ext <<_ACEOF
34646 /* confdefs.h. */
34647 _ACEOF
34648 cat confdefs.h >>conftest.$ac_ext
34649 cat >>conftest.$ac_ext <<_ACEOF
34650 /* end confdefs.h. */
34651
34652 #if defined(__BSD__)
34653 #include <sys/param.h>
34654 #include <sys/mount.h>
34655 #else
34656 #include <sys/vfs.h>
34657 #endif
34658
34659 int
34660 main ()
34661 {
34662
34663 long l;
34664 struct statfs fs;
34665 statfs("/", &fs);
34666 l = fs.f_bsize;
34667 l += fs.f_blocks;
34668 l += fs.f_bavail;
34669
34670 ;
34671 return 0;
34672 }
34673 _ACEOF
34674 rm -f conftest.$ac_objext
34675 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34676 (eval $ac_compile) 2>conftest.er1
34677 ac_status=$?
34678 grep -v '^ *+' conftest.er1 >conftest.err
34679 rm -f conftest.er1
34680 cat conftest.err >&5
34681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34682 (exit $ac_status); } &&
34683 { ac_try='test -z "$ac_c_werror_flag"
34684 || test ! -s conftest.err'
34685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34686 (eval $ac_try) 2>&5
34687 ac_status=$?
34688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34689 (exit $ac_status); }; } &&
34690 { ac_try='test -s conftest.$ac_objext'
34691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34692 (eval $ac_try) 2>&5
34693 ac_status=$?
34694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34695 (exit $ac_status); }; }; then
34696 wx_cv_func_statfs=yes
34697 else
34698 echo "$as_me: failed program was:" >&5
34699 sed 's/^/| /' conftest.$ac_ext >&5
34700
34701 wx_cv_func_statfs=no
34702
34703 fi
34704 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34705
34706 fi
34707 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
34708 echo "${ECHO_T}$wx_cv_func_statfs" >&6
34709
34710 if test "$wx_cv_func_statfs" = "yes"; then
34711
34712
34713 ac_ext=cc
34714 ac_cpp='$CXXCPP $CPPFLAGS'
34715 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34716 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34717 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34718
34719 echo "$as_me:$LINENO: checking for statfs declaration" >&5
34720 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6
34721 if test "${wx_cv_func_statfs_decl+set}" = set; then
34722 echo $ECHO_N "(cached) $ECHO_C" >&6
34723 else
34724 cat >conftest.$ac_ext <<_ACEOF
34725 /* confdefs.h. */
34726 _ACEOF
34727 cat confdefs.h >>conftest.$ac_ext
34728 cat >>conftest.$ac_ext <<_ACEOF
34729 /* end confdefs.h. */
34730
34731 #if defined(__BSD__)
34732 #include <sys/param.h>
34733 #include <sys/mount.h>
34734 #else
34735 #include <sys/vfs.h>
34736 #endif
34737
34738 int
34739 main ()
34740 {
34741
34742 struct statfs fs;
34743 statfs("", &fs);
34744
34745 ;
34746 return 0;
34747 }
34748 _ACEOF
34749 rm -f conftest.$ac_objext
34750 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34751 (eval $ac_compile) 2>conftest.er1
34752 ac_status=$?
34753 grep -v '^ *+' conftest.er1 >conftest.err
34754 rm -f conftest.er1
34755 cat conftest.err >&5
34756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34757 (exit $ac_status); } &&
34758 { ac_try='test -z "$ac_cxx_werror_flag"
34759 || test ! -s conftest.err'
34760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34761 (eval $ac_try) 2>&5
34762 ac_status=$?
34763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34764 (exit $ac_status); }; } &&
34765 { ac_try='test -s conftest.$ac_objext'
34766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34767 (eval $ac_try) 2>&5
34768 ac_status=$?
34769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34770 (exit $ac_status); }; }; then
34771 wx_cv_func_statfs_decl=yes
34772 else
34773 echo "$as_me: failed program was:" >&5
34774 sed 's/^/| /' conftest.$ac_ext >&5
34775
34776 wx_cv_func_statfs_decl=no
34777
34778 fi
34779 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34780
34781 fi
34782 echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
34783 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6
34784 ac_ext=c
34785 ac_cpp='$CPP $CPPFLAGS'
34786 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34787 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34788 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34789
34790
34791 if test "$wx_cv_func_statfs_decl" = "yes"; then
34792 cat >>confdefs.h <<\_ACEOF
34793 #define HAVE_STATFS_DECL 1
34794 _ACEOF
34795
34796 fi
34797
34798 wx_cv_type_statvfs_t="struct statfs"
34799 cat >>confdefs.h <<\_ACEOF
34800 #define HAVE_STATFS 1
34801 _ACEOF
34802
34803 else
34804 echo "$as_me:$LINENO: checking for statvfs" >&5
34805 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
34806 if test "${wx_cv_func_statvfs+set}" = set; then
34807 echo $ECHO_N "(cached) $ECHO_C" >&6
34808 else
34809 cat >conftest.$ac_ext <<_ACEOF
34810 /* confdefs.h. */
34811 _ACEOF
34812 cat confdefs.h >>conftest.$ac_ext
34813 cat >>conftest.$ac_ext <<_ACEOF
34814 /* end confdefs.h. */
34815
34816 #include <stddef.h>
34817 #include <sys/statvfs.h>
34818
34819 int
34820 main ()
34821 {
34822
34823 statvfs("/", NULL);
34824
34825 ;
34826 return 0;
34827 }
34828 _ACEOF
34829 rm -f conftest.$ac_objext
34830 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34831 (eval $ac_compile) 2>conftest.er1
34832 ac_status=$?
34833 grep -v '^ *+' conftest.er1 >conftest.err
34834 rm -f conftest.er1
34835 cat conftest.err >&5
34836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34837 (exit $ac_status); } &&
34838 { ac_try='test -z "$ac_c_werror_flag"
34839 || test ! -s conftest.err'
34840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34841 (eval $ac_try) 2>&5
34842 ac_status=$?
34843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34844 (exit $ac_status); }; } &&
34845 { ac_try='test -s conftest.$ac_objext'
34846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34847 (eval $ac_try) 2>&5
34848 ac_status=$?
34849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34850 (exit $ac_status); }; }; then
34851 wx_cv_func_statvfs=yes
34852 else
34853 echo "$as_me: failed program was:" >&5
34854 sed 's/^/| /' conftest.$ac_ext >&5
34855
34856 wx_cv_func_statvfs=no
34857
34858 fi
34859 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34860
34861 fi
34862 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
34863 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
34864
34865 if test "$wx_cv_func_statvfs" = "yes"; then
34866
34867
34868 ac_ext=cc
34869 ac_cpp='$CXXCPP $CPPFLAGS'
34870 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34871 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34872 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34873
34874
34875 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
34876 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
34877 if test "${wx_cv_type_statvfs_t+set}" = set; then
34878 echo $ECHO_N "(cached) $ECHO_C" >&6
34879 else
34880 cat >conftest.$ac_ext <<_ACEOF
34881 /* confdefs.h. */
34882 _ACEOF
34883 cat confdefs.h >>conftest.$ac_ext
34884 cat >>conftest.$ac_ext <<_ACEOF
34885 /* end confdefs.h. */
34886
34887 #include <sys/statvfs.h>
34888
34889 int
34890 main ()
34891 {
34892
34893 long l;
34894 statvfs_t fs;
34895 statvfs("/", &fs);
34896 l = fs.f_bsize;
34897 l += fs.f_blocks;
34898 l += fs.f_bavail;
34899
34900 ;
34901 return 0;
34902 }
34903 _ACEOF
34904 rm -f conftest.$ac_objext
34905 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34906 (eval $ac_compile) 2>conftest.er1
34907 ac_status=$?
34908 grep -v '^ *+' conftest.er1 >conftest.err
34909 rm -f conftest.er1
34910 cat conftest.err >&5
34911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34912 (exit $ac_status); } &&
34913 { ac_try='test -z "$ac_cxx_werror_flag"
34914 || test ! -s conftest.err'
34915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34916 (eval $ac_try) 2>&5
34917 ac_status=$?
34918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34919 (exit $ac_status); }; } &&
34920 { ac_try='test -s conftest.$ac_objext'
34921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34922 (eval $ac_try) 2>&5
34923 ac_status=$?
34924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34925 (exit $ac_status); }; }; then
34926 wx_cv_type_statvfs_t=statvfs_t
34927 else
34928 echo "$as_me: failed program was:" >&5
34929 sed 's/^/| /' conftest.$ac_ext >&5
34930
34931
34932 cat >conftest.$ac_ext <<_ACEOF
34933 /* confdefs.h. */
34934 _ACEOF
34935 cat confdefs.h >>conftest.$ac_ext
34936 cat >>conftest.$ac_ext <<_ACEOF
34937 /* end confdefs.h. */
34938
34939 #include <sys/statvfs.h>
34940
34941 int
34942 main ()
34943 {
34944
34945 long l;
34946 struct statvfs fs;
34947 statvfs("/", &fs);
34948 l = fs.f_bsize;
34949 l += fs.f_blocks;
34950 l += fs.f_bavail;
34951
34952 ;
34953 return 0;
34954 }
34955 _ACEOF
34956 rm -f conftest.$ac_objext
34957 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34958 (eval $ac_compile) 2>conftest.er1
34959 ac_status=$?
34960 grep -v '^ *+' conftest.er1 >conftest.err
34961 rm -f conftest.er1
34962 cat conftest.err >&5
34963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34964 (exit $ac_status); } &&
34965 { ac_try='test -z "$ac_cxx_werror_flag"
34966 || test ! -s conftest.err'
34967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34968 (eval $ac_try) 2>&5
34969 ac_status=$?
34970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34971 (exit $ac_status); }; } &&
34972 { ac_try='test -s conftest.$ac_objext'
34973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34974 (eval $ac_try) 2>&5
34975 ac_status=$?
34976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34977 (exit $ac_status); }; }; then
34978 wx_cv_type_statvfs_t="struct statvfs"
34979 else
34980 echo "$as_me: failed program was:" >&5
34981 sed 's/^/| /' conftest.$ac_ext >&5
34982
34983 wx_cv_type_statvfs_t="unknown"
34984
34985 fi
34986 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34987
34988
34989 fi
34990 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34991
34992 fi
34993 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
34994 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
34995
34996 ac_ext=c
34997 ac_cpp='$CPP $CPPFLAGS'
34998 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34999 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35000 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35001
35002
35003 if test "$wx_cv_type_statvfs_t" != "unknown"; then
35004 cat >>confdefs.h <<\_ACEOF
35005 #define HAVE_STATVFS 1
35006 _ACEOF
35007
35008 fi
35009 else
35010 wx_cv_type_statvfs_t="unknown"
35011 fi
35012 fi
35013
35014 if test "$wx_cv_type_statvfs_t" != "unknown"; then
35015 cat >>confdefs.h <<_ACEOF
35016 #define WX_STATFS_T $wx_cv_type_statvfs_t
35017 _ACEOF
35018
35019 else
35020 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
35021 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
35022 fi
35023
35024 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
35025
35026
35027 for ac_func in fcntl flock
35028 do
35029 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35030 echo "$as_me:$LINENO: checking for $ac_func" >&5
35031 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35032 if eval "test \"\${$as_ac_var+set}\" = set"; then
35033 echo $ECHO_N "(cached) $ECHO_C" >&6
35034 else
35035 cat >conftest.$ac_ext <<_ACEOF
35036 /* confdefs.h. */
35037 _ACEOF
35038 cat confdefs.h >>conftest.$ac_ext
35039 cat >>conftest.$ac_ext <<_ACEOF
35040 /* end confdefs.h. */
35041 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35042 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35043 #define $ac_func innocuous_$ac_func
35044
35045 /* System header to define __stub macros and hopefully few prototypes,
35046 which can conflict with char $ac_func (); below.
35047 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35048 <limits.h> exists even on freestanding compilers. */
35049
35050 #ifdef __STDC__
35051 # include <limits.h>
35052 #else
35053 # include <assert.h>
35054 #endif
35055
35056 #undef $ac_func
35057
35058 /* Override any gcc2 internal prototype to avoid an error. */
35059 #ifdef __cplusplus
35060 extern "C"
35061 {
35062 #endif
35063 /* We use char because int might match the return type of a gcc2
35064 builtin and then its argument prototype would still apply. */
35065 char $ac_func ();
35066 /* The GNU C library defines this for functions which it implements
35067 to always fail with ENOSYS. Some functions are actually named
35068 something starting with __ and the normal name is an alias. */
35069 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35070 choke me
35071 #else
35072 char (*f) () = $ac_func;
35073 #endif
35074 #ifdef __cplusplus
35075 }
35076 #endif
35077
35078 int
35079 main ()
35080 {
35081 return f != $ac_func;
35082 ;
35083 return 0;
35084 }
35085 _ACEOF
35086 rm -f conftest.$ac_objext conftest$ac_exeext
35087 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35088 (eval $ac_link) 2>conftest.er1
35089 ac_status=$?
35090 grep -v '^ *+' conftest.er1 >conftest.err
35091 rm -f conftest.er1
35092 cat conftest.err >&5
35093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35094 (exit $ac_status); } &&
35095 { ac_try='test -z "$ac_c_werror_flag"
35096 || test ! -s conftest.err'
35097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35098 (eval $ac_try) 2>&5
35099 ac_status=$?
35100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35101 (exit $ac_status); }; } &&
35102 { ac_try='test -s conftest$ac_exeext'
35103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35104 (eval $ac_try) 2>&5
35105 ac_status=$?
35106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35107 (exit $ac_status); }; }; then
35108 eval "$as_ac_var=yes"
35109 else
35110 echo "$as_me: failed program was:" >&5
35111 sed 's/^/| /' conftest.$ac_ext >&5
35112
35113 eval "$as_ac_var=no"
35114 fi
35115 rm -f conftest.err conftest.$ac_objext \
35116 conftest$ac_exeext conftest.$ac_ext
35117 fi
35118 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35119 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35120 if test `eval echo '${'$as_ac_var'}'` = yes; then
35121 cat >>confdefs.h <<_ACEOF
35122 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35123 _ACEOF
35124 break
35125 fi
35126 done
35127
35128
35129 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
35130 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
35131 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
35132 wxUSE_SNGLINST_CHECKER=no
35133 fi
35134 fi
35135
35136
35137 for ac_func in timegm
35138 do
35139 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35140 echo "$as_me:$LINENO: checking for $ac_func" >&5
35141 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35142 if eval "test \"\${$as_ac_var+set}\" = set"; then
35143 echo $ECHO_N "(cached) $ECHO_C" >&6
35144 else
35145 cat >conftest.$ac_ext <<_ACEOF
35146 /* confdefs.h. */
35147 _ACEOF
35148 cat confdefs.h >>conftest.$ac_ext
35149 cat >>conftest.$ac_ext <<_ACEOF
35150 /* end confdefs.h. */
35151 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35152 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35153 #define $ac_func innocuous_$ac_func
35154
35155 /* System header to define __stub macros and hopefully few prototypes,
35156 which can conflict with char $ac_func (); below.
35157 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35158 <limits.h> exists even on freestanding compilers. */
35159
35160 #ifdef __STDC__
35161 # include <limits.h>
35162 #else
35163 # include <assert.h>
35164 #endif
35165
35166 #undef $ac_func
35167
35168 /* Override any gcc2 internal prototype to avoid an error. */
35169 #ifdef __cplusplus
35170 extern "C"
35171 {
35172 #endif
35173 /* We use char because int might match the return type of a gcc2
35174 builtin and then its argument prototype would still apply. */
35175 char $ac_func ();
35176 /* The GNU C library defines this for functions which it implements
35177 to always fail with ENOSYS. Some functions are actually named
35178 something starting with __ and the normal name is an alias. */
35179 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35180 choke me
35181 #else
35182 char (*f) () = $ac_func;
35183 #endif
35184 #ifdef __cplusplus
35185 }
35186 #endif
35187
35188 int
35189 main ()
35190 {
35191 return f != $ac_func;
35192 ;
35193 return 0;
35194 }
35195 _ACEOF
35196 rm -f conftest.$ac_objext conftest$ac_exeext
35197 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35198 (eval $ac_link) 2>conftest.er1
35199 ac_status=$?
35200 grep -v '^ *+' conftest.er1 >conftest.err
35201 rm -f conftest.er1
35202 cat conftest.err >&5
35203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35204 (exit $ac_status); } &&
35205 { ac_try='test -z "$ac_c_werror_flag"
35206 || test ! -s conftest.err'
35207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35208 (eval $ac_try) 2>&5
35209 ac_status=$?
35210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35211 (exit $ac_status); }; } &&
35212 { ac_try='test -s conftest$ac_exeext'
35213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35214 (eval $ac_try) 2>&5
35215 ac_status=$?
35216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35217 (exit $ac_status); }; }; then
35218 eval "$as_ac_var=yes"
35219 else
35220 echo "$as_me: failed program was:" >&5
35221 sed 's/^/| /' conftest.$ac_ext >&5
35222
35223 eval "$as_ac_var=no"
35224 fi
35225 rm -f conftest.err conftest.$ac_objext \
35226 conftest$ac_exeext conftest.$ac_ext
35227 fi
35228 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35229 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35230 if test `eval echo '${'$as_ac_var'}'` = yes; then
35231 cat >>confdefs.h <<_ACEOF
35232 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35233 _ACEOF
35234
35235 fi
35236 done
35237
35238
35239
35240
35241 for ac_func in putenv setenv
35242 do
35243 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35244 echo "$as_me:$LINENO: checking for $ac_func" >&5
35245 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35246 if eval "test \"\${$as_ac_var+set}\" = set"; then
35247 echo $ECHO_N "(cached) $ECHO_C" >&6
35248 else
35249 cat >conftest.$ac_ext <<_ACEOF
35250 /* confdefs.h. */
35251 _ACEOF
35252 cat confdefs.h >>conftest.$ac_ext
35253 cat >>conftest.$ac_ext <<_ACEOF
35254 /* end confdefs.h. */
35255 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35256 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35257 #define $ac_func innocuous_$ac_func
35258
35259 /* System header to define __stub macros and hopefully few prototypes,
35260 which can conflict with char $ac_func (); below.
35261 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35262 <limits.h> exists even on freestanding compilers. */
35263
35264 #ifdef __STDC__
35265 # include <limits.h>
35266 #else
35267 # include <assert.h>
35268 #endif
35269
35270 #undef $ac_func
35271
35272 /* Override any gcc2 internal prototype to avoid an error. */
35273 #ifdef __cplusplus
35274 extern "C"
35275 {
35276 #endif
35277 /* We use char because int might match the return type of a gcc2
35278 builtin and then its argument prototype would still apply. */
35279 char $ac_func ();
35280 /* The GNU C library defines this for functions which it implements
35281 to always fail with ENOSYS. Some functions are actually named
35282 something starting with __ and the normal name is an alias. */
35283 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35284 choke me
35285 #else
35286 char (*f) () = $ac_func;
35287 #endif
35288 #ifdef __cplusplus
35289 }
35290 #endif
35291
35292 int
35293 main ()
35294 {
35295 return f != $ac_func;
35296 ;
35297 return 0;
35298 }
35299 _ACEOF
35300 rm -f conftest.$ac_objext conftest$ac_exeext
35301 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35302 (eval $ac_link) 2>conftest.er1
35303 ac_status=$?
35304 grep -v '^ *+' conftest.er1 >conftest.err
35305 rm -f conftest.er1
35306 cat conftest.err >&5
35307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35308 (exit $ac_status); } &&
35309 { ac_try='test -z "$ac_c_werror_flag"
35310 || test ! -s conftest.err'
35311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35312 (eval $ac_try) 2>&5
35313 ac_status=$?
35314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35315 (exit $ac_status); }; } &&
35316 { ac_try='test -s conftest$ac_exeext'
35317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35318 (eval $ac_try) 2>&5
35319 ac_status=$?
35320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35321 (exit $ac_status); }; }; then
35322 eval "$as_ac_var=yes"
35323 else
35324 echo "$as_me: failed program was:" >&5
35325 sed 's/^/| /' conftest.$ac_ext >&5
35326
35327 eval "$as_ac_var=no"
35328 fi
35329 rm -f conftest.err conftest.$ac_objext \
35330 conftest$ac_exeext conftest.$ac_ext
35331 fi
35332 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35333 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35334 if test `eval echo '${'$as_ac_var'}'` = yes; then
35335 cat >>confdefs.h <<_ACEOF
35336 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35337 _ACEOF
35338 break
35339 fi
35340 done
35341
35342
35343 HAVE_SOME_SLEEP_FUNC=0
35344 if test "$USE_BEOS" = 1; then
35345 cat >>confdefs.h <<\_ACEOF
35346 #define HAVE_SLEEP 1
35347 _ACEOF
35348
35349 HAVE_SOME_SLEEP_FUNC=1
35350 fi
35351
35352 if test "$USE_DARWIN" = 1; then
35353 cat >>confdefs.h <<\_ACEOF
35354 #define HAVE_USLEEP 1
35355 _ACEOF
35356
35357 HAVE_SOME_SLEEP_FUNC=1
35358 fi
35359
35360 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
35361 POSIX4_LINK=
35362
35363 for ac_func in nanosleep
35364 do
35365 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35366 echo "$as_me:$LINENO: checking for $ac_func" >&5
35367 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35368 if eval "test \"\${$as_ac_var+set}\" = set"; then
35369 echo $ECHO_N "(cached) $ECHO_C" >&6
35370 else
35371 cat >conftest.$ac_ext <<_ACEOF
35372 /* confdefs.h. */
35373 _ACEOF
35374 cat confdefs.h >>conftest.$ac_ext
35375 cat >>conftest.$ac_ext <<_ACEOF
35376 /* end confdefs.h. */
35377 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35378 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35379 #define $ac_func innocuous_$ac_func
35380
35381 /* System header to define __stub macros and hopefully few prototypes,
35382 which can conflict with char $ac_func (); below.
35383 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35384 <limits.h> exists even on freestanding compilers. */
35385
35386 #ifdef __STDC__
35387 # include <limits.h>
35388 #else
35389 # include <assert.h>
35390 #endif
35391
35392 #undef $ac_func
35393
35394 /* Override any gcc2 internal prototype to avoid an error. */
35395 #ifdef __cplusplus
35396 extern "C"
35397 {
35398 #endif
35399 /* We use char because int might match the return type of a gcc2
35400 builtin and then its argument prototype would still apply. */
35401 char $ac_func ();
35402 /* The GNU C library defines this for functions which it implements
35403 to always fail with ENOSYS. Some functions are actually named
35404 something starting with __ and the normal name is an alias. */
35405 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35406 choke me
35407 #else
35408 char (*f) () = $ac_func;
35409 #endif
35410 #ifdef __cplusplus
35411 }
35412 #endif
35413
35414 int
35415 main ()
35416 {
35417 return f != $ac_func;
35418 ;
35419 return 0;
35420 }
35421 _ACEOF
35422 rm -f conftest.$ac_objext conftest$ac_exeext
35423 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35424 (eval $ac_link) 2>conftest.er1
35425 ac_status=$?
35426 grep -v '^ *+' conftest.er1 >conftest.err
35427 rm -f conftest.er1
35428 cat conftest.err >&5
35429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35430 (exit $ac_status); } &&
35431 { ac_try='test -z "$ac_c_werror_flag"
35432 || test ! -s conftest.err'
35433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35434 (eval $ac_try) 2>&5
35435 ac_status=$?
35436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35437 (exit $ac_status); }; } &&
35438 { ac_try='test -s conftest$ac_exeext'
35439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35440 (eval $ac_try) 2>&5
35441 ac_status=$?
35442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35443 (exit $ac_status); }; }; then
35444 eval "$as_ac_var=yes"
35445 else
35446 echo "$as_me: failed program was:" >&5
35447 sed 's/^/| /' conftest.$ac_ext >&5
35448
35449 eval "$as_ac_var=no"
35450 fi
35451 rm -f conftest.err conftest.$ac_objext \
35452 conftest$ac_exeext conftest.$ac_ext
35453 fi
35454 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35455 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35456 if test `eval echo '${'$as_ac_var'}'` = yes; then
35457 cat >>confdefs.h <<_ACEOF
35458 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35459 _ACEOF
35460 cat >>confdefs.h <<\_ACEOF
35461 #define HAVE_NANOSLEEP 1
35462 _ACEOF
35463
35464 else
35465
35466 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
35467 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
35468 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
35469 echo $ECHO_N "(cached) $ECHO_C" >&6
35470 else
35471 ac_check_lib_save_LIBS=$LIBS
35472 LIBS="-lposix4 $LIBS"
35473 cat >conftest.$ac_ext <<_ACEOF
35474 /* confdefs.h. */
35475 _ACEOF
35476 cat confdefs.h >>conftest.$ac_ext
35477 cat >>conftest.$ac_ext <<_ACEOF
35478 /* end confdefs.h. */
35479
35480 /* Override any gcc2 internal prototype to avoid an error. */
35481 #ifdef __cplusplus
35482 extern "C"
35483 #endif
35484 /* We use char because int might match the return type of a gcc2
35485 builtin and then its argument prototype would still apply. */
35486 char nanosleep ();
35487 int
35488 main ()
35489 {
35490 nanosleep ();
35491 ;
35492 return 0;
35493 }
35494 _ACEOF
35495 rm -f conftest.$ac_objext conftest$ac_exeext
35496 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35497 (eval $ac_link) 2>conftest.er1
35498 ac_status=$?
35499 grep -v '^ *+' conftest.er1 >conftest.err
35500 rm -f conftest.er1
35501 cat conftest.err >&5
35502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35503 (exit $ac_status); } &&
35504 { ac_try='test -z "$ac_c_werror_flag"
35505 || test ! -s conftest.err'
35506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35507 (eval $ac_try) 2>&5
35508 ac_status=$?
35509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35510 (exit $ac_status); }; } &&
35511 { ac_try='test -s conftest$ac_exeext'
35512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35513 (eval $ac_try) 2>&5
35514 ac_status=$?
35515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35516 (exit $ac_status); }; }; then
35517 ac_cv_lib_posix4_nanosleep=yes
35518 else
35519 echo "$as_me: failed program was:" >&5
35520 sed 's/^/| /' conftest.$ac_ext >&5
35521
35522 ac_cv_lib_posix4_nanosleep=no
35523 fi
35524 rm -f conftest.err conftest.$ac_objext \
35525 conftest$ac_exeext conftest.$ac_ext
35526 LIBS=$ac_check_lib_save_LIBS
35527 fi
35528 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
35529 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
35530 if test $ac_cv_lib_posix4_nanosleep = yes; then
35531
35532 cat >>confdefs.h <<\_ACEOF
35533 #define HAVE_NANOSLEEP 1
35534 _ACEOF
35535
35536 POSIX4_LINK=" -lposix4"
35537
35538 else
35539
35540
35541 for ac_func in usleep
35542 do
35543 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35544 echo "$as_me:$LINENO: checking for $ac_func" >&5
35545 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35546 if eval "test \"\${$as_ac_var+set}\" = set"; then
35547 echo $ECHO_N "(cached) $ECHO_C" >&6
35548 else
35549 cat >conftest.$ac_ext <<_ACEOF
35550 /* confdefs.h. */
35551 _ACEOF
35552 cat confdefs.h >>conftest.$ac_ext
35553 cat >>conftest.$ac_ext <<_ACEOF
35554 /* end confdefs.h. */
35555 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35556 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35557 #define $ac_func innocuous_$ac_func
35558
35559 /* System header to define __stub macros and hopefully few prototypes,
35560 which can conflict with char $ac_func (); below.
35561 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35562 <limits.h> exists even on freestanding compilers. */
35563
35564 #ifdef __STDC__
35565 # include <limits.h>
35566 #else
35567 # include <assert.h>
35568 #endif
35569
35570 #undef $ac_func
35571
35572 /* Override any gcc2 internal prototype to avoid an error. */
35573 #ifdef __cplusplus
35574 extern "C"
35575 {
35576 #endif
35577 /* We use char because int might match the return type of a gcc2
35578 builtin and then its argument prototype would still apply. */
35579 char $ac_func ();
35580 /* The GNU C library defines this for functions which it implements
35581 to always fail with ENOSYS. Some functions are actually named
35582 something starting with __ and the normal name is an alias. */
35583 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35584 choke me
35585 #else
35586 char (*f) () = $ac_func;
35587 #endif
35588 #ifdef __cplusplus
35589 }
35590 #endif
35591
35592 int
35593 main ()
35594 {
35595 return f != $ac_func;
35596 ;
35597 return 0;
35598 }
35599 _ACEOF
35600 rm -f conftest.$ac_objext conftest$ac_exeext
35601 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35602 (eval $ac_link) 2>conftest.er1
35603 ac_status=$?
35604 grep -v '^ *+' conftest.er1 >conftest.err
35605 rm -f conftest.er1
35606 cat conftest.err >&5
35607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35608 (exit $ac_status); } &&
35609 { ac_try='test -z "$ac_c_werror_flag"
35610 || test ! -s conftest.err'
35611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35612 (eval $ac_try) 2>&5
35613 ac_status=$?
35614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35615 (exit $ac_status); }; } &&
35616 { ac_try='test -s conftest$ac_exeext'
35617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35618 (eval $ac_try) 2>&5
35619 ac_status=$?
35620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35621 (exit $ac_status); }; }; then
35622 eval "$as_ac_var=yes"
35623 else
35624 echo "$as_me: failed program was:" >&5
35625 sed 's/^/| /' conftest.$ac_ext >&5
35626
35627 eval "$as_ac_var=no"
35628 fi
35629 rm -f conftest.err conftest.$ac_objext \
35630 conftest$ac_exeext conftest.$ac_ext
35631 fi
35632 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35633 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35634 if test `eval echo '${'$as_ac_var'}'` = yes; then
35635 cat >>confdefs.h <<_ACEOF
35636 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35637 _ACEOF
35638 cat >>confdefs.h <<\_ACEOF
35639 #define HAVE_USLEEP 1
35640 _ACEOF
35641
35642 else
35643 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
35644 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
35645
35646 fi
35647 done
35648
35649
35650
35651 fi
35652
35653
35654
35655 fi
35656 done
35657
35658 fi
35659
35660
35661
35662 for ac_func in uname gethostname
35663 do
35664 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35665 echo "$as_me:$LINENO: checking for $ac_func" >&5
35666 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35667 if eval "test \"\${$as_ac_var+set}\" = set"; then
35668 echo $ECHO_N "(cached) $ECHO_C" >&6
35669 else
35670 cat >conftest.$ac_ext <<_ACEOF
35671 /* confdefs.h. */
35672 _ACEOF
35673 cat confdefs.h >>conftest.$ac_ext
35674 cat >>conftest.$ac_ext <<_ACEOF
35675 /* end confdefs.h. */
35676 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35677 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35678 #define $ac_func innocuous_$ac_func
35679
35680 /* System header to define __stub macros and hopefully few prototypes,
35681 which can conflict with char $ac_func (); below.
35682 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35683 <limits.h> exists even on freestanding compilers. */
35684
35685 #ifdef __STDC__
35686 # include <limits.h>
35687 #else
35688 # include <assert.h>
35689 #endif
35690
35691 #undef $ac_func
35692
35693 /* Override any gcc2 internal prototype to avoid an error. */
35694 #ifdef __cplusplus
35695 extern "C"
35696 {
35697 #endif
35698 /* We use char because int might match the return type of a gcc2
35699 builtin and then its argument prototype would still apply. */
35700 char $ac_func ();
35701 /* The GNU C library defines this for functions which it implements
35702 to always fail with ENOSYS. Some functions are actually named
35703 something starting with __ and the normal name is an alias. */
35704 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35705 choke me
35706 #else
35707 char (*f) () = $ac_func;
35708 #endif
35709 #ifdef __cplusplus
35710 }
35711 #endif
35712
35713 int
35714 main ()
35715 {
35716 return f != $ac_func;
35717 ;
35718 return 0;
35719 }
35720 _ACEOF
35721 rm -f conftest.$ac_objext conftest$ac_exeext
35722 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35723 (eval $ac_link) 2>conftest.er1
35724 ac_status=$?
35725 grep -v '^ *+' conftest.er1 >conftest.err
35726 rm -f conftest.er1
35727 cat conftest.err >&5
35728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35729 (exit $ac_status); } &&
35730 { ac_try='test -z "$ac_c_werror_flag"
35731 || test ! -s conftest.err'
35732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35733 (eval $ac_try) 2>&5
35734 ac_status=$?
35735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35736 (exit $ac_status); }; } &&
35737 { ac_try='test -s conftest$ac_exeext'
35738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35739 (eval $ac_try) 2>&5
35740 ac_status=$?
35741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35742 (exit $ac_status); }; }; then
35743 eval "$as_ac_var=yes"
35744 else
35745 echo "$as_me: failed program was:" >&5
35746 sed 's/^/| /' conftest.$ac_ext >&5
35747
35748 eval "$as_ac_var=no"
35749 fi
35750 rm -f conftest.err conftest.$ac_objext \
35751 conftest$ac_exeext conftest.$ac_ext
35752 fi
35753 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35754 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35755 if test `eval echo '${'$as_ac_var'}'` = yes; then
35756 cat >>confdefs.h <<_ACEOF
35757 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35758 _ACEOF
35759 break
35760 fi
35761 done
35762
35763
35764
35765
35766 ac_ext=cc
35767 ac_cpp='$CXXCPP $CPPFLAGS'
35768 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35769 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35770 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35771
35772
35773
35774 for ac_func in strtok_r
35775 do
35776 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35777 echo "$as_me:$LINENO: checking for $ac_func" >&5
35778 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35779 if eval "test \"\${$as_ac_var+set}\" = set"; then
35780 echo $ECHO_N "(cached) $ECHO_C" >&6
35781 else
35782 cat >conftest.$ac_ext <<_ACEOF
35783 /* confdefs.h. */
35784 _ACEOF
35785 cat confdefs.h >>conftest.$ac_ext
35786 cat >>conftest.$ac_ext <<_ACEOF
35787 /* end confdefs.h. */
35788 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35789 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35790 #define $ac_func innocuous_$ac_func
35791
35792 /* System header to define __stub macros and hopefully few prototypes,
35793 which can conflict with char $ac_func (); below.
35794 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35795 <limits.h> exists even on freestanding compilers. */
35796
35797 #ifdef __STDC__
35798 # include <limits.h>
35799 #else
35800 # include <assert.h>
35801 #endif
35802
35803 #undef $ac_func
35804
35805 /* Override any gcc2 internal prototype to avoid an error. */
35806 #ifdef __cplusplus
35807 extern "C"
35808 {
35809 #endif
35810 /* We use char because int might match the return type of a gcc2
35811 builtin and then its argument prototype would still apply. */
35812 char $ac_func ();
35813 /* The GNU C library defines this for functions which it implements
35814 to always fail with ENOSYS. Some functions are actually named
35815 something starting with __ and the normal name is an alias. */
35816 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35817 choke me
35818 #else
35819 char (*f) () = $ac_func;
35820 #endif
35821 #ifdef __cplusplus
35822 }
35823 #endif
35824
35825 int
35826 main ()
35827 {
35828 return f != $ac_func;
35829 ;
35830 return 0;
35831 }
35832 _ACEOF
35833 rm -f conftest.$ac_objext conftest$ac_exeext
35834 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35835 (eval $ac_link) 2>conftest.er1
35836 ac_status=$?
35837 grep -v '^ *+' conftest.er1 >conftest.err
35838 rm -f conftest.er1
35839 cat conftest.err >&5
35840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35841 (exit $ac_status); } &&
35842 { ac_try='test -z "$ac_cxx_werror_flag"
35843 || test ! -s conftest.err'
35844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35845 (eval $ac_try) 2>&5
35846 ac_status=$?
35847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35848 (exit $ac_status); }; } &&
35849 { ac_try='test -s conftest$ac_exeext'
35850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35851 (eval $ac_try) 2>&5
35852 ac_status=$?
35853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35854 (exit $ac_status); }; }; then
35855 eval "$as_ac_var=yes"
35856 else
35857 echo "$as_me: failed program was:" >&5
35858 sed 's/^/| /' conftest.$ac_ext >&5
35859
35860 eval "$as_ac_var=no"
35861 fi
35862 rm -f conftest.err conftest.$ac_objext \
35863 conftest$ac_exeext conftest.$ac_ext
35864 fi
35865 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35866 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35867 if test `eval echo '${'$as_ac_var'}'` = yes; then
35868 cat >>confdefs.h <<_ACEOF
35869 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35870 _ACEOF
35871
35872 fi
35873 done
35874
35875
35876 ac_ext=c
35877 ac_cpp='$CPP $CPPFLAGS'
35878 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35879 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35880 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35881
35882
35883 INET_LINK=
35884
35885 for ac_func in inet_addr
35886 do
35887 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35888 echo "$as_me:$LINENO: checking for $ac_func" >&5
35889 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35890 if eval "test \"\${$as_ac_var+set}\" = set"; then
35891 echo $ECHO_N "(cached) $ECHO_C" >&6
35892 else
35893 cat >conftest.$ac_ext <<_ACEOF
35894 /* confdefs.h. */
35895 _ACEOF
35896 cat confdefs.h >>conftest.$ac_ext
35897 cat >>conftest.$ac_ext <<_ACEOF
35898 /* end confdefs.h. */
35899 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35900 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35901 #define $ac_func innocuous_$ac_func
35902
35903 /* System header to define __stub macros and hopefully few prototypes,
35904 which can conflict with char $ac_func (); below.
35905 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35906 <limits.h> exists even on freestanding compilers. */
35907
35908 #ifdef __STDC__
35909 # include <limits.h>
35910 #else
35911 # include <assert.h>
35912 #endif
35913
35914 #undef $ac_func
35915
35916 /* Override any gcc2 internal prototype to avoid an error. */
35917 #ifdef __cplusplus
35918 extern "C"
35919 {
35920 #endif
35921 /* We use char because int might match the return type of a gcc2
35922 builtin and then its argument prototype would still apply. */
35923 char $ac_func ();
35924 /* The GNU C library defines this for functions which it implements
35925 to always fail with ENOSYS. Some functions are actually named
35926 something starting with __ and the normal name is an alias. */
35927 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35928 choke me
35929 #else
35930 char (*f) () = $ac_func;
35931 #endif
35932 #ifdef __cplusplus
35933 }
35934 #endif
35935
35936 int
35937 main ()
35938 {
35939 return f != $ac_func;
35940 ;
35941 return 0;
35942 }
35943 _ACEOF
35944 rm -f conftest.$ac_objext conftest$ac_exeext
35945 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35946 (eval $ac_link) 2>conftest.er1
35947 ac_status=$?
35948 grep -v '^ *+' conftest.er1 >conftest.err
35949 rm -f conftest.er1
35950 cat conftest.err >&5
35951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35952 (exit $ac_status); } &&
35953 { ac_try='test -z "$ac_c_werror_flag"
35954 || test ! -s conftest.err'
35955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35956 (eval $ac_try) 2>&5
35957 ac_status=$?
35958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35959 (exit $ac_status); }; } &&
35960 { ac_try='test -s conftest$ac_exeext'
35961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35962 (eval $ac_try) 2>&5
35963 ac_status=$?
35964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35965 (exit $ac_status); }; }; then
35966 eval "$as_ac_var=yes"
35967 else
35968 echo "$as_me: failed program was:" >&5
35969 sed 's/^/| /' conftest.$ac_ext >&5
35970
35971 eval "$as_ac_var=no"
35972 fi
35973 rm -f conftest.err conftest.$ac_objext \
35974 conftest$ac_exeext conftest.$ac_ext
35975 fi
35976 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35977 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35978 if test `eval echo '${'$as_ac_var'}'` = yes; then
35979 cat >>confdefs.h <<_ACEOF
35980 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35981 _ACEOF
35982 cat >>confdefs.h <<\_ACEOF
35983 #define HAVE_INET_ADDR 1
35984 _ACEOF
35985
35986 else
35987
35988 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
35989 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
35990 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
35991 echo $ECHO_N "(cached) $ECHO_C" >&6
35992 else
35993 ac_check_lib_save_LIBS=$LIBS
35994 LIBS="-lnsl $LIBS"
35995 cat >conftest.$ac_ext <<_ACEOF
35996 /* confdefs.h. */
35997 _ACEOF
35998 cat confdefs.h >>conftest.$ac_ext
35999 cat >>conftest.$ac_ext <<_ACEOF
36000 /* end confdefs.h. */
36001
36002 /* Override any gcc2 internal prototype to avoid an error. */
36003 #ifdef __cplusplus
36004 extern "C"
36005 #endif
36006 /* We use char because int might match the return type of a gcc2
36007 builtin and then its argument prototype would still apply. */
36008 char inet_addr ();
36009 int
36010 main ()
36011 {
36012 inet_addr ();
36013 ;
36014 return 0;
36015 }
36016 _ACEOF
36017 rm -f conftest.$ac_objext conftest$ac_exeext
36018 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36019 (eval $ac_link) 2>conftest.er1
36020 ac_status=$?
36021 grep -v '^ *+' conftest.er1 >conftest.err
36022 rm -f conftest.er1
36023 cat conftest.err >&5
36024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36025 (exit $ac_status); } &&
36026 { ac_try='test -z "$ac_c_werror_flag"
36027 || test ! -s conftest.err'
36028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36029 (eval $ac_try) 2>&5
36030 ac_status=$?
36031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36032 (exit $ac_status); }; } &&
36033 { ac_try='test -s conftest$ac_exeext'
36034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36035 (eval $ac_try) 2>&5
36036 ac_status=$?
36037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36038 (exit $ac_status); }; }; then
36039 ac_cv_lib_nsl_inet_addr=yes
36040 else
36041 echo "$as_me: failed program was:" >&5
36042 sed 's/^/| /' conftest.$ac_ext >&5
36043
36044 ac_cv_lib_nsl_inet_addr=no
36045 fi
36046 rm -f conftest.err conftest.$ac_objext \
36047 conftest$ac_exeext conftest.$ac_ext
36048 LIBS=$ac_check_lib_save_LIBS
36049 fi
36050 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
36051 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
36052 if test $ac_cv_lib_nsl_inet_addr = yes; then
36053 INET_LINK="nsl"
36054 else
36055
36056 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
36057 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
36058 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
36059 echo $ECHO_N "(cached) $ECHO_C" >&6
36060 else
36061 ac_check_lib_save_LIBS=$LIBS
36062 LIBS="-lresolv $LIBS"
36063 cat >conftest.$ac_ext <<_ACEOF
36064 /* confdefs.h. */
36065 _ACEOF
36066 cat confdefs.h >>conftest.$ac_ext
36067 cat >>conftest.$ac_ext <<_ACEOF
36068 /* end confdefs.h. */
36069
36070 /* Override any gcc2 internal prototype to avoid an error. */
36071 #ifdef __cplusplus
36072 extern "C"
36073 #endif
36074 /* We use char because int might match the return type of a gcc2
36075 builtin and then its argument prototype would still apply. */
36076 char inet_addr ();
36077 int
36078 main ()
36079 {
36080 inet_addr ();
36081 ;
36082 return 0;
36083 }
36084 _ACEOF
36085 rm -f conftest.$ac_objext conftest$ac_exeext
36086 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36087 (eval $ac_link) 2>conftest.er1
36088 ac_status=$?
36089 grep -v '^ *+' conftest.er1 >conftest.err
36090 rm -f conftest.er1
36091 cat conftest.err >&5
36092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36093 (exit $ac_status); } &&
36094 { ac_try='test -z "$ac_c_werror_flag"
36095 || test ! -s conftest.err'
36096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36097 (eval $ac_try) 2>&5
36098 ac_status=$?
36099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36100 (exit $ac_status); }; } &&
36101 { ac_try='test -s conftest$ac_exeext'
36102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36103 (eval $ac_try) 2>&5
36104 ac_status=$?
36105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36106 (exit $ac_status); }; }; then
36107 ac_cv_lib_resolv_inet_addr=yes
36108 else
36109 echo "$as_me: failed program was:" >&5
36110 sed 's/^/| /' conftest.$ac_ext >&5
36111
36112 ac_cv_lib_resolv_inet_addr=no
36113 fi
36114 rm -f conftest.err conftest.$ac_objext \
36115 conftest$ac_exeext conftest.$ac_ext
36116 LIBS=$ac_check_lib_save_LIBS
36117 fi
36118 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
36119 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
36120 if test $ac_cv_lib_resolv_inet_addr = yes; then
36121 INET_LINK="resolv"
36122 else
36123
36124 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
36125 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
36126 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
36127 echo $ECHO_N "(cached) $ECHO_C" >&6
36128 else
36129 ac_check_lib_save_LIBS=$LIBS
36130 LIBS="-lsocket $LIBS"
36131 cat >conftest.$ac_ext <<_ACEOF
36132 /* confdefs.h. */
36133 _ACEOF
36134 cat confdefs.h >>conftest.$ac_ext
36135 cat >>conftest.$ac_ext <<_ACEOF
36136 /* end confdefs.h. */
36137
36138 /* Override any gcc2 internal prototype to avoid an error. */
36139 #ifdef __cplusplus
36140 extern "C"
36141 #endif
36142 /* We use char because int might match the return type of a gcc2
36143 builtin and then its argument prototype would still apply. */
36144 char inet_addr ();
36145 int
36146 main ()
36147 {
36148 inet_addr ();
36149 ;
36150 return 0;
36151 }
36152 _ACEOF
36153 rm -f conftest.$ac_objext conftest$ac_exeext
36154 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36155 (eval $ac_link) 2>conftest.er1
36156 ac_status=$?
36157 grep -v '^ *+' conftest.er1 >conftest.err
36158 rm -f conftest.er1
36159 cat conftest.err >&5
36160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36161 (exit $ac_status); } &&
36162 { ac_try='test -z "$ac_c_werror_flag"
36163 || test ! -s conftest.err'
36164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36165 (eval $ac_try) 2>&5
36166 ac_status=$?
36167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36168 (exit $ac_status); }; } &&
36169 { ac_try='test -s conftest$ac_exeext'
36170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36171 (eval $ac_try) 2>&5
36172 ac_status=$?
36173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36174 (exit $ac_status); }; }; then
36175 ac_cv_lib_socket_inet_addr=yes
36176 else
36177 echo "$as_me: failed program was:" >&5
36178 sed 's/^/| /' conftest.$ac_ext >&5
36179
36180 ac_cv_lib_socket_inet_addr=no
36181 fi
36182 rm -f conftest.err conftest.$ac_objext \
36183 conftest$ac_exeext conftest.$ac_ext
36184 LIBS=$ac_check_lib_save_LIBS
36185 fi
36186 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
36187 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
36188 if test $ac_cv_lib_socket_inet_addr = yes; then
36189 INET_LINK="socket"
36190
36191 fi
36192
36193
36194
36195 fi
36196
36197
36198
36199 fi
36200
36201
36202
36203 fi
36204 done
36205
36206
36207
36208 for ac_func in inet_aton
36209 do
36210 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36211 echo "$as_me:$LINENO: checking for $ac_func" >&5
36212 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36213 if eval "test \"\${$as_ac_var+set}\" = set"; then
36214 echo $ECHO_N "(cached) $ECHO_C" >&6
36215 else
36216 cat >conftest.$ac_ext <<_ACEOF
36217 /* confdefs.h. */
36218 _ACEOF
36219 cat confdefs.h >>conftest.$ac_ext
36220 cat >>conftest.$ac_ext <<_ACEOF
36221 /* end confdefs.h. */
36222 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36223 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36224 #define $ac_func innocuous_$ac_func
36225
36226 /* System header to define __stub macros and hopefully few prototypes,
36227 which can conflict with char $ac_func (); below.
36228 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36229 <limits.h> exists even on freestanding compilers. */
36230
36231 #ifdef __STDC__
36232 # include <limits.h>
36233 #else
36234 # include <assert.h>
36235 #endif
36236
36237 #undef $ac_func
36238
36239 /* Override any gcc2 internal prototype to avoid an error. */
36240 #ifdef __cplusplus
36241 extern "C"
36242 {
36243 #endif
36244 /* We use char because int might match the return type of a gcc2
36245 builtin and then its argument prototype would still apply. */
36246 char $ac_func ();
36247 /* The GNU C library defines this for functions which it implements
36248 to always fail with ENOSYS. Some functions are actually named
36249 something starting with __ and the normal name is an alias. */
36250 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36251 choke me
36252 #else
36253 char (*f) () = $ac_func;
36254 #endif
36255 #ifdef __cplusplus
36256 }
36257 #endif
36258
36259 int
36260 main ()
36261 {
36262 return f != $ac_func;
36263 ;
36264 return 0;
36265 }
36266 _ACEOF
36267 rm -f conftest.$ac_objext conftest$ac_exeext
36268 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36269 (eval $ac_link) 2>conftest.er1
36270 ac_status=$?
36271 grep -v '^ *+' conftest.er1 >conftest.err
36272 rm -f conftest.er1
36273 cat conftest.err >&5
36274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36275 (exit $ac_status); } &&
36276 { ac_try='test -z "$ac_c_werror_flag"
36277 || test ! -s conftest.err'
36278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36279 (eval $ac_try) 2>&5
36280 ac_status=$?
36281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36282 (exit $ac_status); }; } &&
36283 { ac_try='test -s conftest$ac_exeext'
36284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36285 (eval $ac_try) 2>&5
36286 ac_status=$?
36287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36288 (exit $ac_status); }; }; then
36289 eval "$as_ac_var=yes"
36290 else
36291 echo "$as_me: failed program was:" >&5
36292 sed 's/^/| /' conftest.$ac_ext >&5
36293
36294 eval "$as_ac_var=no"
36295 fi
36296 rm -f conftest.err conftest.$ac_objext \
36297 conftest$ac_exeext conftest.$ac_ext
36298 fi
36299 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36300 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36301 if test `eval echo '${'$as_ac_var'}'` = yes; then
36302 cat >>confdefs.h <<_ACEOF
36303 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36304 _ACEOF
36305 cat >>confdefs.h <<\_ACEOF
36306 #define HAVE_INET_ATON 1
36307 _ACEOF
36308
36309 else
36310
36311 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
36312 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
36313 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
36314 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
36315 echo $ECHO_N "(cached) $ECHO_C" >&6
36316 else
36317 ac_check_lib_save_LIBS=$LIBS
36318 LIBS="-l$INET_LINK $LIBS"
36319 cat >conftest.$ac_ext <<_ACEOF
36320 /* confdefs.h. */
36321 _ACEOF
36322 cat confdefs.h >>conftest.$ac_ext
36323 cat >>conftest.$ac_ext <<_ACEOF
36324 /* end confdefs.h. */
36325
36326 /* Override any gcc2 internal prototype to avoid an error. */
36327 #ifdef __cplusplus
36328 extern "C"
36329 #endif
36330 /* We use char because int might match the return type of a gcc2
36331 builtin and then its argument prototype would still apply. */
36332 char inet_aton ();
36333 int
36334 main ()
36335 {
36336 inet_aton ();
36337 ;
36338 return 0;
36339 }
36340 _ACEOF
36341 rm -f conftest.$ac_objext conftest$ac_exeext
36342 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36343 (eval $ac_link) 2>conftest.er1
36344 ac_status=$?
36345 grep -v '^ *+' conftest.er1 >conftest.err
36346 rm -f conftest.er1
36347 cat conftest.err >&5
36348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36349 (exit $ac_status); } &&
36350 { ac_try='test -z "$ac_c_werror_flag"
36351 || test ! -s conftest.err'
36352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36353 (eval $ac_try) 2>&5
36354 ac_status=$?
36355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36356 (exit $ac_status); }; } &&
36357 { ac_try='test -s conftest$ac_exeext'
36358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36359 (eval $ac_try) 2>&5
36360 ac_status=$?
36361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36362 (exit $ac_status); }; }; then
36363 eval "$as_ac_Lib=yes"
36364 else
36365 echo "$as_me: failed program was:" >&5
36366 sed 's/^/| /' conftest.$ac_ext >&5
36367
36368 eval "$as_ac_Lib=no"
36369 fi
36370 rm -f conftest.err conftest.$ac_objext \
36371 conftest$ac_exeext conftest.$ac_ext
36372 LIBS=$ac_check_lib_save_LIBS
36373 fi
36374 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
36375 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
36376 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
36377 cat >>confdefs.h <<\_ACEOF
36378 #define HAVE_INET_ATON 1
36379 _ACEOF
36380
36381 fi
36382
36383
36384 fi
36385 done
36386
36387
36388 if test "x$INET_LINK" != "x"; then
36389 cat >>confdefs.h <<\_ACEOF
36390 #define HAVE_INET_ADDR 1
36391 _ACEOF
36392
36393 INET_LINK=" -l$INET_LINK"
36394 fi
36395
36396 fi
36397
36398
36399
36400 EXTRALIBS_ESD=
36401 echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
36402 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
36403 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
36404 echo $ECHO_N "(cached) $ECHO_C" >&6
36405 else
36406 ac_check_lib_save_LIBS=$LIBS
36407 LIBS="-lesd $LIBS"
36408 cat >conftest.$ac_ext <<_ACEOF
36409 /* confdefs.h. */
36410 _ACEOF
36411 cat confdefs.h >>conftest.$ac_ext
36412 cat >>conftest.$ac_ext <<_ACEOF
36413 /* end confdefs.h. */
36414
36415 /* Override any gcc2 internal prototype to avoid an error. */
36416 #ifdef __cplusplus
36417 extern "C"
36418 #endif
36419 /* We use char because int might match the return type of a gcc2
36420 builtin and then its argument prototype would still apply. */
36421 char esd_close ();
36422 int
36423 main ()
36424 {
36425 esd_close ();
36426 ;
36427 return 0;
36428 }
36429 _ACEOF
36430 rm -f conftest.$ac_objext conftest$ac_exeext
36431 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36432 (eval $ac_link) 2>conftest.er1
36433 ac_status=$?
36434 grep -v '^ *+' conftest.er1 >conftest.err
36435 rm -f conftest.er1
36436 cat conftest.err >&5
36437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36438 (exit $ac_status); } &&
36439 { ac_try='test -z "$ac_c_werror_flag"
36440 || test ! -s conftest.err'
36441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36442 (eval $ac_try) 2>&5
36443 ac_status=$?
36444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36445 (exit $ac_status); }; } &&
36446 { ac_try='test -s conftest$ac_exeext'
36447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36448 (eval $ac_try) 2>&5
36449 ac_status=$?
36450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36451 (exit $ac_status); }; }; then
36452 ac_cv_lib_esd_esd_close=yes
36453 else
36454 echo "$as_me: failed program was:" >&5
36455 sed 's/^/| /' conftest.$ac_ext >&5
36456
36457 ac_cv_lib_esd_esd_close=no
36458 fi
36459 rm -f conftest.err conftest.$ac_objext \
36460 conftest$ac_exeext conftest.$ac_ext
36461 LIBS=$ac_check_lib_save_LIBS
36462 fi
36463 echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
36464 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
36465 if test $ac_cv_lib_esd_esd_close = yes; then
36466
36467
36468 for ac_header in esd.h
36469 do
36470 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
36471 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36472 echo "$as_me:$LINENO: checking for $ac_header" >&5
36473 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36474 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36475 echo $ECHO_N "(cached) $ECHO_C" >&6
36476 fi
36477 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36478 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36479 else
36480 # Is the header compilable?
36481 echo "$as_me:$LINENO: checking $ac_header usability" >&5
36482 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
36483 cat >conftest.$ac_ext <<_ACEOF
36484 /* confdefs.h. */
36485 _ACEOF
36486 cat confdefs.h >>conftest.$ac_ext
36487 cat >>conftest.$ac_ext <<_ACEOF
36488 /* end confdefs.h. */
36489 $ac_includes_default
36490 #include <$ac_header>
36491 _ACEOF
36492 rm -f conftest.$ac_objext
36493 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36494 (eval $ac_compile) 2>conftest.er1
36495 ac_status=$?
36496 grep -v '^ *+' conftest.er1 >conftest.err
36497 rm -f conftest.er1
36498 cat conftest.err >&5
36499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36500 (exit $ac_status); } &&
36501 { ac_try='test -z "$ac_c_werror_flag"
36502 || test ! -s conftest.err'
36503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36504 (eval $ac_try) 2>&5
36505 ac_status=$?
36506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36507 (exit $ac_status); }; } &&
36508 { ac_try='test -s conftest.$ac_objext'
36509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36510 (eval $ac_try) 2>&5
36511 ac_status=$?
36512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36513 (exit $ac_status); }; }; then
36514 ac_header_compiler=yes
36515 else
36516 echo "$as_me: failed program was:" >&5
36517 sed 's/^/| /' conftest.$ac_ext >&5
36518
36519 ac_header_compiler=no
36520 fi
36521 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36522 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
36523 echo "${ECHO_T}$ac_header_compiler" >&6
36524
36525 # Is the header present?
36526 echo "$as_me:$LINENO: checking $ac_header presence" >&5
36527 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
36528 cat >conftest.$ac_ext <<_ACEOF
36529 /* confdefs.h. */
36530 _ACEOF
36531 cat confdefs.h >>conftest.$ac_ext
36532 cat >>conftest.$ac_ext <<_ACEOF
36533 /* end confdefs.h. */
36534 #include <$ac_header>
36535 _ACEOF
36536 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
36537 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
36538 ac_status=$?
36539 grep -v '^ *+' conftest.er1 >conftest.err
36540 rm -f conftest.er1
36541 cat conftest.err >&5
36542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36543 (exit $ac_status); } >/dev/null; then
36544 if test -s conftest.err; then
36545 ac_cpp_err=$ac_c_preproc_warn_flag
36546 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
36547 else
36548 ac_cpp_err=
36549 fi
36550 else
36551 ac_cpp_err=yes
36552 fi
36553 if test -z "$ac_cpp_err"; then
36554 ac_header_preproc=yes
36555 else
36556 echo "$as_me: failed program was:" >&5
36557 sed 's/^/| /' conftest.$ac_ext >&5
36558
36559 ac_header_preproc=no
36560 fi
36561 rm -f conftest.err conftest.$ac_ext
36562 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
36563 echo "${ECHO_T}$ac_header_preproc" >&6
36564
36565 # So? What about this header?
36566 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
36567 yes:no: )
36568 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
36569 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
36570 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
36571 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
36572 ac_header_preproc=yes
36573 ;;
36574 no:yes:* )
36575 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
36576 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
36577 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
36578 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
36579 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
36580 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
36581 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
36582 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
36583 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
36584 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
36585 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
36586 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
36587 (
36588 cat <<\_ASBOX
36589 ## ----------------------------------------- ##
36590 ## Report this to wx-dev@lists.wxwidgets.org ##
36591 ## ----------------------------------------- ##
36592 _ASBOX
36593 ) |
36594 sed "s/^/$as_me: WARNING: /" >&2
36595 ;;
36596 esac
36597 echo "$as_me:$LINENO: checking for $ac_header" >&5
36598 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36599 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36600 echo $ECHO_N "(cached) $ECHO_C" >&6
36601 else
36602 eval "$as_ac_Header=\$ac_header_preproc"
36603 fi
36604 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36605 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36606
36607 fi
36608 if test `eval echo '${'$as_ac_Header'}'` = yes; then
36609 cat >>confdefs.h <<_ACEOF
36610 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
36611 _ACEOF
36612
36613 EXTRALIBS_ESD="-lesd"
36614
36615 fi
36616
36617 done
36618
36619
36620 fi
36621
36622
36623
36624 echo "$as_me:$LINENO: checking for known CD-ROM interface" >&5
36625 echo $ECHO_N "checking for known CD-ROM interface... $ECHO_C" >&6
36626 cat >conftest.$ac_ext <<_ACEOF
36627 /* confdefs.h. */
36628 _ACEOF
36629 cat confdefs.h >>conftest.$ac_ext
36630 cat >>conftest.$ac_ext <<_ACEOF
36631 /* end confdefs.h. */
36632 #ifdef __linux__
36633 #include <linux/cdrom.h>
36634 #else
36635 /* For Solaris */
36636 #include <sys/cdio.h>
36637 #endif
36638
36639 int
36640 main ()
36641 {
36642 struct cdrom_tocentry entry, old_entry;
36643 ;
36644 return 0;
36645 }
36646 _ACEOF
36647 rm -f conftest.$ac_objext
36648 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36649 (eval $ac_compile) 2>conftest.er1
36650 ac_status=$?
36651 grep -v '^ *+' conftest.er1 >conftest.err
36652 rm -f conftest.er1
36653 cat conftest.err >&5
36654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36655 (exit $ac_status); } &&
36656 { ac_try='test -z "$ac_c_werror_flag"
36657 || test ! -s conftest.err'
36658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36659 (eval $ac_try) 2>&5
36660 ac_status=$?
36661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36662 (exit $ac_status); }; } &&
36663 { ac_try='test -s conftest.$ac_objext'
36664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36665 (eval $ac_try) 2>&5
36666 ac_status=$?
36667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36668 (exit $ac_status); }; }; then
36669 echo "$as_me:$LINENO: result: yes" >&5
36670 echo "${ECHO_T}yes" >&6
36671 cat >>confdefs.h <<\_ACEOF
36672 #define HAVE_KNOWN_CDROM_INTERFACE 1
36673 _ACEOF
36674
36675 else
36676 echo "$as_me: failed program was:" >&5
36677 sed 's/^/| /' conftest.$ac_ext >&5
36678
36679 echo "$as_me:$LINENO: result: no" >&5
36680 echo "${ECHO_T}no" >&6
36681 fi
36682 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36683
36684
36685 cat >confcache <<\_ACEOF
36686 # This file is a shell script that caches the results of configure
36687 # tests run on this system so they can be shared between configure
36688 # scripts and configure runs, see configure's option --config-cache.
36689 # It is not useful on other systems. If it contains results you don't
36690 # want to keep, you may remove or edit it.
36691 #
36692 # config.status only pays attention to the cache file if you give it
36693 # the --recheck option to rerun configure.
36694 #
36695 # `ac_cv_env_foo' variables (set or unset) will be overridden when
36696 # loading this file, other *unset* `ac_cv_foo' will be assigned the
36697 # following values.
36698
36699 _ACEOF
36700
36701 # The following way of writing the cache mishandles newlines in values,
36702 # but we know of no workaround that is simple, portable, and efficient.
36703 # So, don't put newlines in cache variables' values.
36704 # Ultrix sh set writes to stderr and can't be redirected directly,
36705 # and sets the high bit in the cache file unless we assign to the vars.
36706 {
36707 (set) 2>&1 |
36708 case `(ac_space=' '; set | grep ac_space) 2>&1` in
36709 *ac_space=\ *)
36710 # `set' does not quote correctly, so add quotes (double-quote
36711 # substitution turns \\\\ into \\, and sed turns \\ into \).
36712 sed -n \
36713 "s/'/'\\\\''/g;
36714 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
36715 ;;
36716 *)
36717 # `set' quotes correctly as required by POSIX, so do not add quotes.
36718 sed -n \
36719 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
36720 ;;
36721 esac;
36722 } |
36723 sed '
36724 t clear
36725 : clear
36726 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
36727 t end
36728 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
36729 : end' >>confcache
36730 if diff $cache_file confcache >/dev/null 2>&1; then :; else
36731 if test -w $cache_file; then
36732 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
36733 cat confcache >$cache_file
36734 else
36735 echo "not updating unwritable cache $cache_file"
36736 fi
36737 fi
36738 rm -f confcache
36739
36740
36741 CPP_MT_FLAG=
36742 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
36743
36744
36745 THREADS_LINK=
36746 THREADS_CFLAGS=
36747
36748 if test "$wxUSE_THREADS" = "yes" ; then
36749 if test "$USE_BEOS" = 1; then
36750 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
36751 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
36752 wxUSE_THREADS="no"
36753 fi
36754 fi
36755
36756 if test "$wxUSE_THREADS" = "yes" ; then
36757
36758
36759 THREAD_OPTS="-pthread"
36760 case "${host}" in
36761 *-*-solaris2* | *-*-sunos4* )
36762 if test "x$GCC" = "xyes"; then
36763 THREAD_OPTS="-pthreads $THREAD_OPTS"
36764 else
36765 THREAD_OPTS="-mt $THREAD_OPTS"
36766 fi
36767 ;;
36768 *-*-freebsd*)
36769 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
36770 ;;
36771 *-*-darwin* | *-*-cygwin* )
36772 THREAD_OPTS=""
36773 ;;
36774 *-*-aix*)
36775 THREAD_OPTS="pthreads"
36776 ;;
36777 *-hp-hpux* )
36778 if test "x$GCC" = "xyes"; then
36779 $CXX -dumpspecs | grep 'pthread:' >/dev/null ||
36780 THREAD_OPTS=""
36781 else
36782 THREAD_OPTS="-mt"
36783 fi
36784 ;;
36785
36786 *-*-irix* )
36787 if test "x$GCC" = "xyes"; then
36788 THREAD_OPTS=""
36789 fi
36790 ;;
36791
36792 *-*-*UnixWare*)
36793 if test "x$GCC" != "xyes"; then
36794 THREAD_OPTS="-Ethread"
36795 fi
36796 ;;
36797 esac
36798
36799 THREAD_OPTS="$THREAD_OPTS pthread none"
36800
36801 THREADS_OK=no
36802 for flag in $THREAD_OPTS; do
36803 case $flag in
36804 none)
36805 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
36806 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
36807 ;;
36808
36809 -*)
36810 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
36811 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
36812 THREADS_CFLAGS="$flag"
36813 ;;
36814
36815 *)
36816 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
36817 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
36818 THREADS_LINK="-l$flag"
36819 ;;
36820 esac
36821
36822 save_LIBS="$LIBS"
36823 save_CFLAGS="$CFLAGS"
36824 LIBS="$THREADS_LINK $LIBS"
36825 CFLAGS="$THREADS_CFLAGS $CFLAGS"
36826
36827 cat >conftest.$ac_ext <<_ACEOF
36828 /* confdefs.h. */
36829 _ACEOF
36830 cat confdefs.h >>conftest.$ac_ext
36831 cat >>conftest.$ac_ext <<_ACEOF
36832 /* end confdefs.h. */
36833 #include <pthread.h>
36834 int
36835 main ()
36836 {
36837 pthread_create(0,0,0,0);
36838 ;
36839 return 0;
36840 }
36841 _ACEOF
36842 rm -f conftest.$ac_objext conftest$ac_exeext
36843 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36844 (eval $ac_link) 2>conftest.er1
36845 ac_status=$?
36846 grep -v '^ *+' conftest.er1 >conftest.err
36847 rm -f conftest.er1
36848 cat conftest.err >&5
36849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36850 (exit $ac_status); } &&
36851 { ac_try='test -z "$ac_c_werror_flag"
36852 || test ! -s conftest.err'
36853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36854 (eval $ac_try) 2>&5
36855 ac_status=$?
36856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36857 (exit $ac_status); }; } &&
36858 { ac_try='test -s conftest$ac_exeext'
36859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36860 (eval $ac_try) 2>&5
36861 ac_status=$?
36862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36863 (exit $ac_status); }; }; then
36864 THREADS_OK=yes
36865 else
36866 echo "$as_me: failed program was:" >&5
36867 sed 's/^/| /' conftest.$ac_ext >&5
36868
36869 fi
36870 rm -f conftest.err conftest.$ac_objext \
36871 conftest$ac_exeext conftest.$ac_ext
36872
36873 LIBS="$save_LIBS"
36874 CFLAGS="$save_CFLAGS"
36875
36876 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
36877 echo "${ECHO_T}$THREADS_OK" >&6
36878 if test "x$THREADS_OK" = "xyes"; then
36879 break;
36880 fi
36881
36882 THREADS_LINK=""
36883 THREADS_CFLAGS=""
36884 done
36885
36886 if test "x$THREADS_OK" != "xyes"; then
36887 wxUSE_THREADS=no
36888 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
36889 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
36890 else
36891 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
36892 LIBS="$THREADS_LINK $LIBS"
36893
36894 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
36895 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
36896 flag=no
36897 case "${host}" in
36898 *-aix*)
36899 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
36900 flag="-D_THREAD_SAFE"
36901 ;;
36902 *-freebsd*)
36903 flag="-D_THREAD_SAFE"
36904 ;;
36905 *-hp-hpux* )
36906 flag="-D_REENTRANT"
36907 if test "x$GCC" != "xyes"; then
36908 flag="$flag -D_RWSTD_MULTI_THREAD"
36909 fi
36910 ;;
36911 *solaris* | alpha*-osf*)
36912 flag="-D_REENTRANT"
36913 ;;
36914 esac
36915 echo "$as_me:$LINENO: result: ${flag}" >&5
36916 echo "${ECHO_T}${flag}" >&6
36917 if test "x$flag" != xno; then
36918 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
36919 fi
36920
36921 if test "x$THREADS_CFLAGS" != "x"; then
36922 CFLAGS="$CFLAGS $THREADS_CFLAGS"
36923 CXXFLAGS="$CXXFLAGS $THREADS_CFLAGS"
36924 fi
36925 fi
36926 fi
36927
36928 if test "$wxUSE_THREADS" = "yes" ; then
36929
36930 for ac_func in thr_setconcurrency
36931 do
36932 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36933 echo "$as_me:$LINENO: checking for $ac_func" >&5
36934 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36935 if eval "test \"\${$as_ac_var+set}\" = set"; then
36936 echo $ECHO_N "(cached) $ECHO_C" >&6
36937 else
36938 cat >conftest.$ac_ext <<_ACEOF
36939 /* confdefs.h. */
36940 _ACEOF
36941 cat confdefs.h >>conftest.$ac_ext
36942 cat >>conftest.$ac_ext <<_ACEOF
36943 /* end confdefs.h. */
36944 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36945 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36946 #define $ac_func innocuous_$ac_func
36947
36948 /* System header to define __stub macros and hopefully few prototypes,
36949 which can conflict with char $ac_func (); below.
36950 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36951 <limits.h> exists even on freestanding compilers. */
36952
36953 #ifdef __STDC__
36954 # include <limits.h>
36955 #else
36956 # include <assert.h>
36957 #endif
36958
36959 #undef $ac_func
36960
36961 /* Override any gcc2 internal prototype to avoid an error. */
36962 #ifdef __cplusplus
36963 extern "C"
36964 {
36965 #endif
36966 /* We use char because int might match the return type of a gcc2
36967 builtin and then its argument prototype would still apply. */
36968 char $ac_func ();
36969 /* The GNU C library defines this for functions which it implements
36970 to always fail with ENOSYS. Some functions are actually named
36971 something starting with __ and the normal name is an alias. */
36972 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36973 choke me
36974 #else
36975 char (*f) () = $ac_func;
36976 #endif
36977 #ifdef __cplusplus
36978 }
36979 #endif
36980
36981 int
36982 main ()
36983 {
36984 return f != $ac_func;
36985 ;
36986 return 0;
36987 }
36988 _ACEOF
36989 rm -f conftest.$ac_objext conftest$ac_exeext
36990 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36991 (eval $ac_link) 2>conftest.er1
36992 ac_status=$?
36993 grep -v '^ *+' conftest.er1 >conftest.err
36994 rm -f conftest.er1
36995 cat conftest.err >&5
36996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36997 (exit $ac_status); } &&
36998 { ac_try='test -z "$ac_c_werror_flag"
36999 || test ! -s conftest.err'
37000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37001 (eval $ac_try) 2>&5
37002 ac_status=$?
37003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37004 (exit $ac_status); }; } &&
37005 { ac_try='test -s conftest$ac_exeext'
37006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37007 (eval $ac_try) 2>&5
37008 ac_status=$?
37009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37010 (exit $ac_status); }; }; then
37011 eval "$as_ac_var=yes"
37012 else
37013 echo "$as_me: failed program was:" >&5
37014 sed 's/^/| /' conftest.$ac_ext >&5
37015
37016 eval "$as_ac_var=no"
37017 fi
37018 rm -f conftest.err conftest.$ac_objext \
37019 conftest$ac_exeext conftest.$ac_ext
37020 fi
37021 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37022 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37023 if test `eval echo '${'$as_ac_var'}'` = yes; then
37024 cat >>confdefs.h <<_ACEOF
37025 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37026 _ACEOF
37027
37028 fi
37029 done
37030
37031
37032 echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
37033 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6
37034 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
37035 echo $ECHO_N "(cached) $ECHO_C" >&6
37036 else
37037
37038 cat >conftest.$ac_ext <<_ACEOF
37039 /* confdefs.h. */
37040 _ACEOF
37041 cat confdefs.h >>conftest.$ac_ext
37042 cat >>conftest.$ac_ext <<_ACEOF
37043 /* end confdefs.h. */
37044 #include <pthread.h>
37045 void ThreadCleanupFunc(void *p);
37046
37047 int
37048 main ()
37049 {
37050
37051 void *p;
37052 pthread_cleanup_push(ThreadCleanupFunc, p);
37053 pthread_cleanup_pop(0);
37054
37055 ;
37056 return 0;
37057 }
37058 _ACEOF
37059 rm -f conftest.$ac_objext
37060 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37061 (eval $ac_compile) 2>conftest.er1
37062 ac_status=$?
37063 grep -v '^ *+' conftest.er1 >conftest.err
37064 rm -f conftest.er1
37065 cat conftest.err >&5
37066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37067 (exit $ac_status); } &&
37068 { ac_try='test -z "$ac_c_werror_flag"
37069 || test ! -s conftest.err'
37070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37071 (eval $ac_try) 2>&5
37072 ac_status=$?
37073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37074 (exit $ac_status); }; } &&
37075 { ac_try='test -s conftest.$ac_objext'
37076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37077 (eval $ac_try) 2>&5
37078 ac_status=$?
37079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37080 (exit $ac_status); }; }; then
37081
37082 wx_cv_func_pthread_cleanup=yes
37083
37084 else
37085 echo "$as_me: failed program was:" >&5
37086 sed 's/^/| /' conftest.$ac_ext >&5
37087
37088
37089 wx_cv_func_pthread_cleanup=no
37090
37091
37092 fi
37093 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37094
37095 fi
37096 echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
37097 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6
37098 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
37099 cat >>confdefs.h <<\_ACEOF
37100 #define wxHAVE_PTHREAD_CLEANUP 1
37101 _ACEOF
37102
37103 fi
37104
37105
37106 for ac_header in sched.h
37107 do
37108 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
37109 if eval "test \"\${$as_ac_Header+set}\" = set"; then
37110 echo "$as_me:$LINENO: checking for $ac_header" >&5
37111 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
37112 if eval "test \"\${$as_ac_Header+set}\" = set"; then
37113 echo $ECHO_N "(cached) $ECHO_C" >&6
37114 fi
37115 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
37116 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
37117 else
37118 # Is the header compilable?
37119 echo "$as_me:$LINENO: checking $ac_header usability" >&5
37120 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
37121 cat >conftest.$ac_ext <<_ACEOF
37122 /* confdefs.h. */
37123 _ACEOF
37124 cat confdefs.h >>conftest.$ac_ext
37125 cat >>conftest.$ac_ext <<_ACEOF
37126 /* end confdefs.h. */
37127 $ac_includes_default
37128 #include <$ac_header>
37129 _ACEOF
37130 rm -f conftest.$ac_objext
37131 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37132 (eval $ac_compile) 2>conftest.er1
37133 ac_status=$?
37134 grep -v '^ *+' conftest.er1 >conftest.err
37135 rm -f conftest.er1
37136 cat conftest.err >&5
37137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37138 (exit $ac_status); } &&
37139 { ac_try='test -z "$ac_c_werror_flag"
37140 || test ! -s conftest.err'
37141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37142 (eval $ac_try) 2>&5
37143 ac_status=$?
37144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37145 (exit $ac_status); }; } &&
37146 { ac_try='test -s conftest.$ac_objext'
37147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37148 (eval $ac_try) 2>&5
37149 ac_status=$?
37150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37151 (exit $ac_status); }; }; then
37152 ac_header_compiler=yes
37153 else
37154 echo "$as_me: failed program was:" >&5
37155 sed 's/^/| /' conftest.$ac_ext >&5
37156
37157 ac_header_compiler=no
37158 fi
37159 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37160 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
37161 echo "${ECHO_T}$ac_header_compiler" >&6
37162
37163 # Is the header present?
37164 echo "$as_me:$LINENO: checking $ac_header presence" >&5
37165 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
37166 cat >conftest.$ac_ext <<_ACEOF
37167 /* confdefs.h. */
37168 _ACEOF
37169 cat confdefs.h >>conftest.$ac_ext
37170 cat >>conftest.$ac_ext <<_ACEOF
37171 /* end confdefs.h. */
37172 #include <$ac_header>
37173 _ACEOF
37174 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
37175 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
37176 ac_status=$?
37177 grep -v '^ *+' conftest.er1 >conftest.err
37178 rm -f conftest.er1
37179 cat conftest.err >&5
37180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37181 (exit $ac_status); } >/dev/null; then
37182 if test -s conftest.err; then
37183 ac_cpp_err=$ac_c_preproc_warn_flag
37184 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
37185 else
37186 ac_cpp_err=
37187 fi
37188 else
37189 ac_cpp_err=yes
37190 fi
37191 if test -z "$ac_cpp_err"; then
37192 ac_header_preproc=yes
37193 else
37194 echo "$as_me: failed program was:" >&5
37195 sed 's/^/| /' conftest.$ac_ext >&5
37196
37197 ac_header_preproc=no
37198 fi
37199 rm -f conftest.err conftest.$ac_ext
37200 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
37201 echo "${ECHO_T}$ac_header_preproc" >&6
37202
37203 # So? What about this header?
37204 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
37205 yes:no: )
37206 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
37207 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
37208 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
37209 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
37210 ac_header_preproc=yes
37211 ;;
37212 no:yes:* )
37213 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
37214 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
37215 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
37216 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
37217 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
37218 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
37219 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
37220 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
37221 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
37222 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
37223 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
37224 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
37225 (
37226 cat <<\_ASBOX
37227 ## ----------------------------------------- ##
37228 ## Report this to wx-dev@lists.wxwidgets.org ##
37229 ## ----------------------------------------- ##
37230 _ASBOX
37231 ) |
37232 sed "s/^/$as_me: WARNING: /" >&2
37233 ;;
37234 esac
37235 echo "$as_me:$LINENO: checking for $ac_header" >&5
37236 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
37237 if eval "test \"\${$as_ac_Header+set}\" = set"; then
37238 echo $ECHO_N "(cached) $ECHO_C" >&6
37239 else
37240 eval "$as_ac_Header=\$ac_header_preproc"
37241 fi
37242 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
37243 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
37244
37245 fi
37246 if test `eval echo '${'$as_ac_Header'}'` = yes; then
37247 cat >>confdefs.h <<_ACEOF
37248 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
37249 _ACEOF
37250
37251 fi
37252
37253 done
37254
37255 if test "$ac_cv_header_sched_h" = "yes"; then
37256 echo "$as_me:$LINENO: checking for sched_yield" >&5
37257 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
37258 if test "${ac_cv_func_sched_yield+set}" = set; then
37259 echo $ECHO_N "(cached) $ECHO_C" >&6
37260 else
37261 cat >conftest.$ac_ext <<_ACEOF
37262 /* confdefs.h. */
37263 _ACEOF
37264 cat confdefs.h >>conftest.$ac_ext
37265 cat >>conftest.$ac_ext <<_ACEOF
37266 /* end confdefs.h. */
37267 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
37268 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37269 #define sched_yield innocuous_sched_yield
37270
37271 /* System header to define __stub macros and hopefully few prototypes,
37272 which can conflict with char sched_yield (); below.
37273 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37274 <limits.h> exists even on freestanding compilers. */
37275
37276 #ifdef __STDC__
37277 # include <limits.h>
37278 #else
37279 # include <assert.h>
37280 #endif
37281
37282 #undef sched_yield
37283
37284 /* Override any gcc2 internal prototype to avoid an error. */
37285 #ifdef __cplusplus
37286 extern "C"
37287 {
37288 #endif
37289 /* We use char because int might match the return type of a gcc2
37290 builtin and then its argument prototype would still apply. */
37291 char sched_yield ();
37292 /* The GNU C library defines this for functions which it implements
37293 to always fail with ENOSYS. Some functions are actually named
37294 something starting with __ and the normal name is an alias. */
37295 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
37296 choke me
37297 #else
37298 char (*f) () = sched_yield;
37299 #endif
37300 #ifdef __cplusplus
37301 }
37302 #endif
37303
37304 int
37305 main ()
37306 {
37307 return f != sched_yield;
37308 ;
37309 return 0;
37310 }
37311 _ACEOF
37312 rm -f conftest.$ac_objext conftest$ac_exeext
37313 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37314 (eval $ac_link) 2>conftest.er1
37315 ac_status=$?
37316 grep -v '^ *+' conftest.er1 >conftest.err
37317 rm -f conftest.er1
37318 cat conftest.err >&5
37319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37320 (exit $ac_status); } &&
37321 { ac_try='test -z "$ac_c_werror_flag"
37322 || test ! -s conftest.err'
37323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37324 (eval $ac_try) 2>&5
37325 ac_status=$?
37326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37327 (exit $ac_status); }; } &&
37328 { ac_try='test -s conftest$ac_exeext'
37329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37330 (eval $ac_try) 2>&5
37331 ac_status=$?
37332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37333 (exit $ac_status); }; }; then
37334 ac_cv_func_sched_yield=yes
37335 else
37336 echo "$as_me: failed program was:" >&5
37337 sed 's/^/| /' conftest.$ac_ext >&5
37338
37339 ac_cv_func_sched_yield=no
37340 fi
37341 rm -f conftest.err conftest.$ac_objext \
37342 conftest$ac_exeext conftest.$ac_ext
37343 fi
37344 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
37345 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
37346 if test $ac_cv_func_sched_yield = yes; then
37347 cat >>confdefs.h <<\_ACEOF
37348 #define HAVE_SCHED_YIELD 1
37349 _ACEOF
37350
37351 else
37352
37353 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
37354 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
37355 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
37356 echo $ECHO_N "(cached) $ECHO_C" >&6
37357 else
37358 ac_check_lib_save_LIBS=$LIBS
37359 LIBS="-lposix4 $LIBS"
37360 cat >conftest.$ac_ext <<_ACEOF
37361 /* confdefs.h. */
37362 _ACEOF
37363 cat confdefs.h >>conftest.$ac_ext
37364 cat >>conftest.$ac_ext <<_ACEOF
37365 /* end confdefs.h. */
37366
37367 /* Override any gcc2 internal prototype to avoid an error. */
37368 #ifdef __cplusplus
37369 extern "C"
37370 #endif
37371 /* We use char because int might match the return type of a gcc2
37372 builtin and then its argument prototype would still apply. */
37373 char sched_yield ();
37374 int
37375 main ()
37376 {
37377 sched_yield ();
37378 ;
37379 return 0;
37380 }
37381 _ACEOF
37382 rm -f conftest.$ac_objext conftest$ac_exeext
37383 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37384 (eval $ac_link) 2>conftest.er1
37385 ac_status=$?
37386 grep -v '^ *+' conftest.er1 >conftest.err
37387 rm -f conftest.er1
37388 cat conftest.err >&5
37389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37390 (exit $ac_status); } &&
37391 { ac_try='test -z "$ac_c_werror_flag"
37392 || test ! -s conftest.err'
37393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37394 (eval $ac_try) 2>&5
37395 ac_status=$?
37396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37397 (exit $ac_status); }; } &&
37398 { ac_try='test -s conftest$ac_exeext'
37399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37400 (eval $ac_try) 2>&5
37401 ac_status=$?
37402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37403 (exit $ac_status); }; }; then
37404 ac_cv_lib_posix4_sched_yield=yes
37405 else
37406 echo "$as_me: failed program was:" >&5
37407 sed 's/^/| /' conftest.$ac_ext >&5
37408
37409 ac_cv_lib_posix4_sched_yield=no
37410 fi
37411 rm -f conftest.err conftest.$ac_objext \
37412 conftest$ac_exeext conftest.$ac_ext
37413 LIBS=$ac_check_lib_save_LIBS
37414 fi
37415 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
37416 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
37417 if test $ac_cv_lib_posix4_sched_yield = yes; then
37418 cat >>confdefs.h <<\_ACEOF
37419 #define HAVE_SCHED_YIELD 1
37420 _ACEOF
37421 POSIX4_LINK=" -lposix4"
37422 else
37423 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
37424 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
37425
37426 fi
37427
37428
37429
37430 fi
37431
37432 fi
37433
37434 HAVE_PRIOR_FUNCS=0
37435 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
37436 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
37437 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
37438 echo $ECHO_N "(cached) $ECHO_C" >&6
37439 else
37440 cat >conftest.$ac_ext <<_ACEOF
37441 /* confdefs.h. */
37442 _ACEOF
37443 cat confdefs.h >>conftest.$ac_ext
37444 cat >>conftest.$ac_ext <<_ACEOF
37445 /* end confdefs.h. */
37446 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
37447 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37448 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
37449
37450 /* System header to define __stub macros and hopefully few prototypes,
37451 which can conflict with char pthread_attr_getschedpolicy (); below.
37452 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37453 <limits.h> exists even on freestanding compilers. */
37454
37455 #ifdef __STDC__
37456 # include <limits.h>
37457 #else
37458 # include <assert.h>
37459 #endif
37460
37461 #undef pthread_attr_getschedpolicy
37462
37463 /* Override any gcc2 internal prototype to avoid an error. */
37464 #ifdef __cplusplus
37465 extern "C"
37466 {
37467 #endif
37468 /* We use char because int might match the return type of a gcc2
37469 builtin and then its argument prototype would still apply. */
37470 char pthread_attr_getschedpolicy ();
37471 /* The GNU C library defines this for functions which it implements
37472 to always fail with ENOSYS. Some functions are actually named
37473 something starting with __ and the normal name is an alias. */
37474 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
37475 choke me
37476 #else
37477 char (*f) () = pthread_attr_getschedpolicy;
37478 #endif
37479 #ifdef __cplusplus
37480 }
37481 #endif
37482
37483 int
37484 main ()
37485 {
37486 return f != pthread_attr_getschedpolicy;
37487 ;
37488 return 0;
37489 }
37490 _ACEOF
37491 rm -f conftest.$ac_objext conftest$ac_exeext
37492 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37493 (eval $ac_link) 2>conftest.er1
37494 ac_status=$?
37495 grep -v '^ *+' conftest.er1 >conftest.err
37496 rm -f conftest.er1
37497 cat conftest.err >&5
37498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37499 (exit $ac_status); } &&
37500 { ac_try='test -z "$ac_c_werror_flag"
37501 || test ! -s conftest.err'
37502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37503 (eval $ac_try) 2>&5
37504 ac_status=$?
37505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37506 (exit $ac_status); }; } &&
37507 { ac_try='test -s conftest$ac_exeext'
37508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37509 (eval $ac_try) 2>&5
37510 ac_status=$?
37511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37512 (exit $ac_status); }; }; then
37513 ac_cv_func_pthread_attr_getschedpolicy=yes
37514 else
37515 echo "$as_me: failed program was:" >&5
37516 sed 's/^/| /' conftest.$ac_ext >&5
37517
37518 ac_cv_func_pthread_attr_getschedpolicy=no
37519 fi
37520 rm -f conftest.err conftest.$ac_objext \
37521 conftest$ac_exeext conftest.$ac_ext
37522 fi
37523 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
37524 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
37525 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
37526 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
37527 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
37528 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
37529 echo $ECHO_N "(cached) $ECHO_C" >&6
37530 else
37531 cat >conftest.$ac_ext <<_ACEOF
37532 /* confdefs.h. */
37533 _ACEOF
37534 cat confdefs.h >>conftest.$ac_ext
37535 cat >>conftest.$ac_ext <<_ACEOF
37536 /* end confdefs.h. */
37537 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
37538 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37539 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
37540
37541 /* System header to define __stub macros and hopefully few prototypes,
37542 which can conflict with char pthread_attr_setschedparam (); below.
37543 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37544 <limits.h> exists even on freestanding compilers. */
37545
37546 #ifdef __STDC__
37547 # include <limits.h>
37548 #else
37549 # include <assert.h>
37550 #endif
37551
37552 #undef pthread_attr_setschedparam
37553
37554 /* Override any gcc2 internal prototype to avoid an error. */
37555 #ifdef __cplusplus
37556 extern "C"
37557 {
37558 #endif
37559 /* We use char because int might match the return type of a gcc2
37560 builtin and then its argument prototype would still apply. */
37561 char pthread_attr_setschedparam ();
37562 /* The GNU C library defines this for functions which it implements
37563 to always fail with ENOSYS. Some functions are actually named
37564 something starting with __ and the normal name is an alias. */
37565 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
37566 choke me
37567 #else
37568 char (*f) () = pthread_attr_setschedparam;
37569 #endif
37570 #ifdef __cplusplus
37571 }
37572 #endif
37573
37574 int
37575 main ()
37576 {
37577 return f != pthread_attr_setschedparam;
37578 ;
37579 return 0;
37580 }
37581 _ACEOF
37582 rm -f conftest.$ac_objext conftest$ac_exeext
37583 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37584 (eval $ac_link) 2>conftest.er1
37585 ac_status=$?
37586 grep -v '^ *+' conftest.er1 >conftest.err
37587 rm -f conftest.er1
37588 cat conftest.err >&5
37589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37590 (exit $ac_status); } &&
37591 { ac_try='test -z "$ac_c_werror_flag"
37592 || test ! -s conftest.err'
37593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37594 (eval $ac_try) 2>&5
37595 ac_status=$?
37596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37597 (exit $ac_status); }; } &&
37598 { ac_try='test -s conftest$ac_exeext'
37599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37600 (eval $ac_try) 2>&5
37601 ac_status=$?
37602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37603 (exit $ac_status); }; }; then
37604 ac_cv_func_pthread_attr_setschedparam=yes
37605 else
37606 echo "$as_me: failed program was:" >&5
37607 sed 's/^/| /' conftest.$ac_ext >&5
37608
37609 ac_cv_func_pthread_attr_setschedparam=no
37610 fi
37611 rm -f conftest.err conftest.$ac_objext \
37612 conftest$ac_exeext conftest.$ac_ext
37613 fi
37614 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
37615 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
37616 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
37617 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
37618 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
37619 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
37620 echo $ECHO_N "(cached) $ECHO_C" >&6
37621 else
37622 cat >conftest.$ac_ext <<_ACEOF
37623 /* confdefs.h. */
37624 _ACEOF
37625 cat confdefs.h >>conftest.$ac_ext
37626 cat >>conftest.$ac_ext <<_ACEOF
37627 /* end confdefs.h. */
37628 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
37629 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37630 #define sched_get_priority_max innocuous_sched_get_priority_max
37631
37632 /* System header to define __stub macros and hopefully few prototypes,
37633 which can conflict with char sched_get_priority_max (); below.
37634 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37635 <limits.h> exists even on freestanding compilers. */
37636
37637 #ifdef __STDC__
37638 # include <limits.h>
37639 #else
37640 # include <assert.h>
37641 #endif
37642
37643 #undef sched_get_priority_max
37644
37645 /* Override any gcc2 internal prototype to avoid an error. */
37646 #ifdef __cplusplus
37647 extern "C"
37648 {
37649 #endif
37650 /* We use char because int might match the return type of a gcc2
37651 builtin and then its argument prototype would still apply. */
37652 char sched_get_priority_max ();
37653 /* The GNU C library defines this for functions which it implements
37654 to always fail with ENOSYS. Some functions are actually named
37655 something starting with __ and the normal name is an alias. */
37656 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
37657 choke me
37658 #else
37659 char (*f) () = sched_get_priority_max;
37660 #endif
37661 #ifdef __cplusplus
37662 }
37663 #endif
37664
37665 int
37666 main ()
37667 {
37668 return f != sched_get_priority_max;
37669 ;
37670 return 0;
37671 }
37672 _ACEOF
37673 rm -f conftest.$ac_objext conftest$ac_exeext
37674 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37675 (eval $ac_link) 2>conftest.er1
37676 ac_status=$?
37677 grep -v '^ *+' conftest.er1 >conftest.err
37678 rm -f conftest.er1
37679 cat conftest.err >&5
37680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37681 (exit $ac_status); } &&
37682 { ac_try='test -z "$ac_c_werror_flag"
37683 || test ! -s conftest.err'
37684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37685 (eval $ac_try) 2>&5
37686 ac_status=$?
37687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37688 (exit $ac_status); }; } &&
37689 { ac_try='test -s conftest$ac_exeext'
37690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37691 (eval $ac_try) 2>&5
37692 ac_status=$?
37693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37694 (exit $ac_status); }; }; then
37695 ac_cv_func_sched_get_priority_max=yes
37696 else
37697 echo "$as_me: failed program was:" >&5
37698 sed 's/^/| /' conftest.$ac_ext >&5
37699
37700 ac_cv_func_sched_get_priority_max=no
37701 fi
37702 rm -f conftest.err conftest.$ac_objext \
37703 conftest$ac_exeext conftest.$ac_ext
37704 fi
37705 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
37706 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
37707 if test $ac_cv_func_sched_get_priority_max = yes; then
37708 HAVE_PRIOR_FUNCS=1
37709 else
37710 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
37711 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
37712 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
37713 echo $ECHO_N "(cached) $ECHO_C" >&6
37714 else
37715 ac_check_lib_save_LIBS=$LIBS
37716 LIBS="-lposix4 $LIBS"
37717 cat >conftest.$ac_ext <<_ACEOF
37718 /* confdefs.h. */
37719 _ACEOF
37720 cat confdefs.h >>conftest.$ac_ext
37721 cat >>conftest.$ac_ext <<_ACEOF
37722 /* end confdefs.h. */
37723
37724 /* Override any gcc2 internal prototype to avoid an error. */
37725 #ifdef __cplusplus
37726 extern "C"
37727 #endif
37728 /* We use char because int might match the return type of a gcc2
37729 builtin and then its argument prototype would still apply. */
37730 char sched_get_priority_max ();
37731 int
37732 main ()
37733 {
37734 sched_get_priority_max ();
37735 ;
37736 return 0;
37737 }
37738 _ACEOF
37739 rm -f conftest.$ac_objext conftest$ac_exeext
37740 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37741 (eval $ac_link) 2>conftest.er1
37742 ac_status=$?
37743 grep -v '^ *+' conftest.er1 >conftest.err
37744 rm -f conftest.er1
37745 cat conftest.err >&5
37746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37747 (exit $ac_status); } &&
37748 { ac_try='test -z "$ac_c_werror_flag"
37749 || test ! -s conftest.err'
37750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37751 (eval $ac_try) 2>&5
37752 ac_status=$?
37753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37754 (exit $ac_status); }; } &&
37755 { ac_try='test -s conftest$ac_exeext'
37756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37757 (eval $ac_try) 2>&5
37758 ac_status=$?
37759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37760 (exit $ac_status); }; }; then
37761 ac_cv_lib_posix4_sched_get_priority_max=yes
37762 else
37763 echo "$as_me: failed program was:" >&5
37764 sed 's/^/| /' conftest.$ac_ext >&5
37765
37766 ac_cv_lib_posix4_sched_get_priority_max=no
37767 fi
37768 rm -f conftest.err conftest.$ac_objext \
37769 conftest$ac_exeext conftest.$ac_ext
37770 LIBS=$ac_check_lib_save_LIBS
37771 fi
37772 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
37773 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
37774 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
37775
37776 HAVE_PRIOR_FUNCS=1
37777 POSIX4_LINK=" -lposix4"
37778
37779 fi
37780
37781
37782 fi
37783
37784
37785 fi
37786
37787
37788 fi
37789
37790
37791 if test "$HAVE_PRIOR_FUNCS" = 1; then
37792 cat >>confdefs.h <<\_ACEOF
37793 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
37794 _ACEOF
37795
37796 else
37797 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
37798 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
37799 fi
37800
37801 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
37802 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
37803 if test "${ac_cv_func_pthread_cancel+set}" = set; then
37804 echo $ECHO_N "(cached) $ECHO_C" >&6
37805 else
37806 cat >conftest.$ac_ext <<_ACEOF
37807 /* confdefs.h. */
37808 _ACEOF
37809 cat confdefs.h >>conftest.$ac_ext
37810 cat >>conftest.$ac_ext <<_ACEOF
37811 /* end confdefs.h. */
37812 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
37813 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37814 #define pthread_cancel innocuous_pthread_cancel
37815
37816 /* System header to define __stub macros and hopefully few prototypes,
37817 which can conflict with char pthread_cancel (); below.
37818 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37819 <limits.h> exists even on freestanding compilers. */
37820
37821 #ifdef __STDC__
37822 # include <limits.h>
37823 #else
37824 # include <assert.h>
37825 #endif
37826
37827 #undef pthread_cancel
37828
37829 /* Override any gcc2 internal prototype to avoid an error. */
37830 #ifdef __cplusplus
37831 extern "C"
37832 {
37833 #endif
37834 /* We use char because int might match the return type of a gcc2
37835 builtin and then its argument prototype would still apply. */
37836 char pthread_cancel ();
37837 /* The GNU C library defines this for functions which it implements
37838 to always fail with ENOSYS. Some functions are actually named
37839 something starting with __ and the normal name is an alias. */
37840 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
37841 choke me
37842 #else
37843 char (*f) () = pthread_cancel;
37844 #endif
37845 #ifdef __cplusplus
37846 }
37847 #endif
37848
37849 int
37850 main ()
37851 {
37852 return f != pthread_cancel;
37853 ;
37854 return 0;
37855 }
37856 _ACEOF
37857 rm -f conftest.$ac_objext conftest$ac_exeext
37858 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37859 (eval $ac_link) 2>conftest.er1
37860 ac_status=$?
37861 grep -v '^ *+' conftest.er1 >conftest.err
37862 rm -f conftest.er1
37863 cat conftest.err >&5
37864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37865 (exit $ac_status); } &&
37866 { ac_try='test -z "$ac_c_werror_flag"
37867 || test ! -s conftest.err'
37868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37869 (eval $ac_try) 2>&5
37870 ac_status=$?
37871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37872 (exit $ac_status); }; } &&
37873 { ac_try='test -s conftest$ac_exeext'
37874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37875 (eval $ac_try) 2>&5
37876 ac_status=$?
37877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37878 (exit $ac_status); }; }; then
37879 ac_cv_func_pthread_cancel=yes
37880 else
37881 echo "$as_me: failed program was:" >&5
37882 sed 's/^/| /' conftest.$ac_ext >&5
37883
37884 ac_cv_func_pthread_cancel=no
37885 fi
37886 rm -f conftest.err conftest.$ac_objext \
37887 conftest$ac_exeext conftest.$ac_ext
37888 fi
37889 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
37890 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
37891 if test $ac_cv_func_pthread_cancel = yes; then
37892 cat >>confdefs.h <<\_ACEOF
37893 #define HAVE_PTHREAD_CANCEL 1
37894 _ACEOF
37895
37896 else
37897 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
37898 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
37899 fi
37900
37901
37902 echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
37903 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6
37904 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
37905 echo $ECHO_N "(cached) $ECHO_C" >&6
37906 else
37907 cat >conftest.$ac_ext <<_ACEOF
37908 /* confdefs.h. */
37909 _ACEOF
37910 cat confdefs.h >>conftest.$ac_ext
37911 cat >>conftest.$ac_ext <<_ACEOF
37912 /* end confdefs.h. */
37913 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
37914 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37915 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
37916
37917 /* System header to define __stub macros and hopefully few prototypes,
37918 which can conflict with char pthread_attr_setstacksize (); below.
37919 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37920 <limits.h> exists even on freestanding compilers. */
37921
37922 #ifdef __STDC__
37923 # include <limits.h>
37924 #else
37925 # include <assert.h>
37926 #endif
37927
37928 #undef pthread_attr_setstacksize
37929
37930 /* Override any gcc2 internal prototype to avoid an error. */
37931 #ifdef __cplusplus
37932 extern "C"
37933 {
37934 #endif
37935 /* We use char because int might match the return type of a gcc2
37936 builtin and then its argument prototype would still apply. */
37937 char pthread_attr_setstacksize ();
37938 /* The GNU C library defines this for functions which it implements
37939 to always fail with ENOSYS. Some functions are actually named
37940 something starting with __ and the normal name is an alias. */
37941 #if defined (__stub_pthread_attr_setstacksize) || defined (__stub___pthread_attr_setstacksize)
37942 choke me
37943 #else
37944 char (*f) () = pthread_attr_setstacksize;
37945 #endif
37946 #ifdef __cplusplus
37947 }
37948 #endif
37949
37950 int
37951 main ()
37952 {
37953 return f != pthread_attr_setstacksize;
37954 ;
37955 return 0;
37956 }
37957 _ACEOF
37958 rm -f conftest.$ac_objext conftest$ac_exeext
37959 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37960 (eval $ac_link) 2>conftest.er1
37961 ac_status=$?
37962 grep -v '^ *+' conftest.er1 >conftest.err
37963 rm -f conftest.er1
37964 cat conftest.err >&5
37965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37966 (exit $ac_status); } &&
37967 { ac_try='test -z "$ac_c_werror_flag"
37968 || test ! -s conftest.err'
37969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37970 (eval $ac_try) 2>&5
37971 ac_status=$?
37972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37973 (exit $ac_status); }; } &&
37974 { ac_try='test -s conftest$ac_exeext'
37975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37976 (eval $ac_try) 2>&5
37977 ac_status=$?
37978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37979 (exit $ac_status); }; }; then
37980 ac_cv_func_pthread_attr_setstacksize=yes
37981 else
37982 echo "$as_me: failed program was:" >&5
37983 sed 's/^/| /' conftest.$ac_ext >&5
37984
37985 ac_cv_func_pthread_attr_setstacksize=no
37986 fi
37987 rm -f conftest.err conftest.$ac_objext \
37988 conftest$ac_exeext conftest.$ac_ext
37989 fi
37990 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
37991 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6
37992 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
37993 cat >>confdefs.h <<\_ACEOF
37994 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
37995 _ACEOF
37996
37997 fi
37998
37999
38000
38001 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
38002 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
38003 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
38004 echo $ECHO_N "(cached) $ECHO_C" >&6
38005 else
38006
38007 cat >conftest.$ac_ext <<_ACEOF
38008 /* confdefs.h. */
38009 _ACEOF
38010 cat confdefs.h >>conftest.$ac_ext
38011 cat >>conftest.$ac_ext <<_ACEOF
38012 /* end confdefs.h. */
38013 #include <pthread.h>
38014 int
38015 main ()
38016 {
38017
38018 pthread_mutexattr_t attr;
38019 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
38020
38021 ;
38022 return 0;
38023 }
38024 _ACEOF
38025 rm -f conftest.$ac_objext
38026 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38027 (eval $ac_compile) 2>conftest.er1
38028 ac_status=$?
38029 grep -v '^ *+' conftest.er1 >conftest.err
38030 rm -f conftest.er1
38031 cat conftest.err >&5
38032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38033 (exit $ac_status); } &&
38034 { ac_try='test -z "$ac_c_werror_flag"
38035 || test ! -s conftest.err'
38036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38037 (eval $ac_try) 2>&5
38038 ac_status=$?
38039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38040 (exit $ac_status); }; } &&
38041 { ac_try='test -s conftest.$ac_objext'
38042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38043 (eval $ac_try) 2>&5
38044 ac_status=$?
38045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38046 (exit $ac_status); }; }; then
38047 wx_cv_type_pthread_mutexattr_t=yes
38048 else
38049 echo "$as_me: failed program was:" >&5
38050 sed 's/^/| /' conftest.$ac_ext >&5
38051
38052 wx_cv_type_pthread_mutexattr_t=no
38053
38054 fi
38055 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38056
38057 fi
38058 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
38059 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
38060
38061 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
38062 cat >>confdefs.h <<\_ACEOF
38063 #define HAVE_PTHREAD_MUTEXATTR_T 1
38064 _ACEOF
38065
38066
38067 echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
38068 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6
38069 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
38070 echo $ECHO_N "(cached) $ECHO_C" >&6
38071 else
38072
38073 cat >conftest.$ac_ext <<_ACEOF
38074 /* confdefs.h. */
38075 _ACEOF
38076 cat confdefs.h >>conftest.$ac_ext
38077 cat >>conftest.$ac_ext <<_ACEOF
38078 /* end confdefs.h. */
38079 #include <pthread.h>
38080 int
38081 main ()
38082 {
38083
38084 pthread_mutexattr_t attr;
38085 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
38086
38087 ;
38088 return 0;
38089 }
38090 _ACEOF
38091 rm -f conftest.$ac_objext
38092 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38093 (eval $ac_compile) 2>conftest.er1
38094 ac_status=$?
38095 grep -v '^ *+' conftest.er1 >conftest.err
38096 rm -f conftest.er1
38097 cat conftest.err >&5
38098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38099 (exit $ac_status); } &&
38100 { ac_try='test -z "$ac_c_werror_flag"
38101 || test ! -s conftest.err'
38102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38103 (eval $ac_try) 2>&5
38104 ac_status=$?
38105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38106 (exit $ac_status); }; } &&
38107 { ac_try='test -s conftest.$ac_objext'
38108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38109 (eval $ac_try) 2>&5
38110 ac_status=$?
38111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38112 (exit $ac_status); }; }; then
38113 wx_cv_func_pthread_mutexattr_settype_decl=yes
38114 else
38115 echo "$as_me: failed program was:" >&5
38116 sed 's/^/| /' conftest.$ac_ext >&5
38117
38118 wx_cv_func_pthread_mutexattr_settype_decl=no
38119
38120 fi
38121 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38122
38123 fi
38124 echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
38125 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6
38126 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
38127 cat >>confdefs.h <<\_ACEOF
38128 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
38129 _ACEOF
38130
38131 fi
38132 else
38133 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
38134 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
38135 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
38136 echo $ECHO_N "(cached) $ECHO_C" >&6
38137 else
38138
38139 cat >conftest.$ac_ext <<_ACEOF
38140 /* confdefs.h. */
38141 _ACEOF
38142 cat confdefs.h >>conftest.$ac_ext
38143 cat >>conftest.$ac_ext <<_ACEOF
38144 /* end confdefs.h. */
38145 #include <pthread.h>
38146 int
38147 main ()
38148 {
38149
38150 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
38151
38152 ;
38153 return 0;
38154 }
38155 _ACEOF
38156 rm -f conftest.$ac_objext
38157 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38158 (eval $ac_compile) 2>conftest.er1
38159 ac_status=$?
38160 grep -v '^ *+' conftest.er1 >conftest.err
38161 rm -f conftest.er1
38162 cat conftest.err >&5
38163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38164 (exit $ac_status); } &&
38165 { ac_try='test -z "$ac_c_werror_flag"
38166 || test ! -s conftest.err'
38167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38168 (eval $ac_try) 2>&5
38169 ac_status=$?
38170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38171 (exit $ac_status); }; } &&
38172 { ac_try='test -s conftest.$ac_objext'
38173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38174 (eval $ac_try) 2>&5
38175 ac_status=$?
38176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38177 (exit $ac_status); }; }; then
38178
38179 wx_cv_type_pthread_rec_mutex_init=yes
38180
38181 else
38182 echo "$as_me: failed program was:" >&5
38183 sed 's/^/| /' conftest.$ac_ext >&5
38184
38185
38186 wx_cv_type_pthread_rec_mutex_init=no
38187
38188
38189 fi
38190 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38191
38192 fi
38193 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
38194 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
38195 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
38196 cat >>confdefs.h <<\_ACEOF
38197 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
38198 _ACEOF
38199
38200 else
38201 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
38202 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
38203 fi
38204 fi
38205 fi
38206
38207 else
38208 if test "$wxUSE_THREADS" = "yes" ; then
38209 case "${host}" in
38210 *-*-mingw32* )
38211 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
38212 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
38213 if test "${wx_cv_cflags_mthread+set}" = set; then
38214 echo $ECHO_N "(cached) $ECHO_C" >&6
38215 else
38216
38217 CFLAGS_OLD="$CFLAGS"
38218 CFLAGS="$CFLAGS -mthreads"
38219 cat >conftest.$ac_ext <<_ACEOF
38220 /* confdefs.h. */
38221 _ACEOF
38222 cat confdefs.h >>conftest.$ac_ext
38223 cat >>conftest.$ac_ext <<_ACEOF
38224 /* end confdefs.h. */
38225
38226 int
38227 main ()
38228 {
38229
38230 ;
38231 return 0;
38232 }
38233 _ACEOF
38234 rm -f conftest.$ac_objext
38235 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38236 (eval $ac_compile) 2>conftest.er1
38237 ac_status=$?
38238 grep -v '^ *+' conftest.er1 >conftest.err
38239 rm -f conftest.er1
38240 cat conftest.err >&5
38241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38242 (exit $ac_status); } &&
38243 { ac_try='test -z "$ac_c_werror_flag"
38244 || test ! -s conftest.err'
38245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38246 (eval $ac_try) 2>&5
38247 ac_status=$?
38248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38249 (exit $ac_status); }; } &&
38250 { ac_try='test -s conftest.$ac_objext'
38251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38252 (eval $ac_try) 2>&5
38253 ac_status=$?
38254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38255 (exit $ac_status); }; }; then
38256 wx_cv_cflags_mthread=yes
38257 else
38258 echo "$as_me: failed program was:" >&5
38259 sed 's/^/| /' conftest.$ac_ext >&5
38260
38261 wx_cv_cflags_mthread=no
38262
38263 fi
38264 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38265
38266
38267 fi
38268 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
38269 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
38270
38271 if test "$wx_cv_cflags_mthread" = "yes"; then
38272 CXXFLAGS="$CXXFLAGS -mthreads"
38273 TOOLCHAIN_DEFS="$TOOLCHAIN_DEFS -mthreads"
38274 LDFLAGS="$LDFLAGS -mthreads"
38275 else
38276 CFLAGS="$CFLAGS_OLD"
38277 fi
38278 ;;
38279 *-pc-os2*emx )
38280 CFLAGS="$CFLAGS -Zmt -D__ST_MT_ERRNO__"
38281 CXXFLAGS="$CXXFLAGS -Zmt -D__ST_MT_ERRNO__"
38282 LDFLAGS="$LDFLAGS -Zmt"
38283 ;;
38284 esac
38285 fi
38286 fi
38287
38288 if test "$wxUSE_THREADS" = "yes"; then
38289 cat >>confdefs.h <<\_ACEOF
38290 #define wxUSE_THREADS 1
38291 _ACEOF
38292
38293
38294 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
38295 else
38296 if test "$ac_cv_func_strtok_r" = "yes"; then
38297 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
38298 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
38299 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
38300 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D_REENTRANT"
38301 echo "$as_me:$LINENO: result: yes" >&5
38302 echo "${ECHO_T}yes" >&6
38303 else
38304 echo "$as_me:$LINENO: result: no" >&5
38305 echo "${ECHO_T}no" >&6
38306 fi
38307 fi
38308 fi
38309
38310 if test "$WXGTK20" = 1 ; then
38311 cat >>confdefs.h <<_ACEOF
38312 #define __WXGTK20__ $WXGTK20
38313 _ACEOF
38314
38315 WXGTK12=1
38316 fi
38317
38318 if test "$WXGTK12" = 1 ; then
38319 cat >>confdefs.h <<_ACEOF
38320 #define __WXGTK12__ $WXGTK12
38321 _ACEOF
38322
38323 fi
38324
38325 if test "$WXGTK127" = 1 ; then
38326 cat >>confdefs.h <<_ACEOF
38327 #define __WXGTK127__ $WXGTK127
38328 _ACEOF
38329
38330 fi
38331
38332 if test "$WXGPE" = 1 ; then
38333 cat >>confdefs.h <<_ACEOF
38334 #define __WXGPE__ $WXGPE
38335 _ACEOF
38336
38337 fi
38338
38339 WXDEBUG=
38340
38341 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
38342 WXDEBUG="-g"
38343 wxUSE_OPTIMISE=no
38344 fi
38345
38346 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
38347 wxUSE_DEBUG_INFO=yes
38348 if test "$GCC" = yes; then
38349 WXDEBUG="-ggdb"
38350 fi
38351 fi
38352
38353 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
38354 cat >>confdefs.h <<\_ACEOF
38355 #define WXDEBUG 1
38356 _ACEOF
38357
38358 WXDEBUG_DEFINE="-D__WXDEBUG__"
38359 else
38360 if test "$wxUSE_GTK" = 1 ; then
38361 WXDEBUG_DEFINE="-DGTK_NO_CHECK_CASTS"
38362 fi
38363 fi
38364
38365 if test "$wxUSE_MEM_TRACING" = "yes" ; then
38366 cat >>confdefs.h <<\_ACEOF
38367 #define wxUSE_MEMORY_TRACING 1
38368 _ACEOF
38369
38370 cat >>confdefs.h <<\_ACEOF
38371 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
38372 _ACEOF
38373
38374 cat >>confdefs.h <<\_ACEOF
38375 #define wxUSE_DEBUG_NEW_ALWAYS 1
38376 _ACEOF
38377
38378 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
38379 fi
38380
38381 if test "$wxUSE_DMALLOC" = "yes" ; then
38382 DMALLOC_LIBS="-ldmallocthcxx"
38383 fi
38384
38385 PROFILE=
38386 if test "$wxUSE_PROFILE" = "yes" ; then
38387 PROFILE=" -pg"
38388 fi
38389
38390 CODE_GEN_FLAGS=
38391 CODE_GEN_FLAGS_CXX=
38392 if test "$GCC" = "yes" ; then
38393 if test "$wxUSE_NO_RTTI" = "yes" ; then
38394 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fno-rtti"
38395 fi
38396 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
38397 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fno-exceptions"
38398 fi
38399 if test "$wxUSE_PERMISSIVE" = "yes" ; then
38400 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -fpermissive"
38401 fi
38402
38403 case "${host}" in
38404 powerpc*-*-aix* )
38405 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -mminimal-toc"
38406 ;;
38407 *-hppa* )
38408 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -ffunction-sections"
38409 ;;
38410 esac
38411 fi
38412
38413 OPTIMISE=
38414 if test "$wxUSE_OPTIMISE" = "no" ; then
38415 if test "$GCC" = yes ; then
38416 OPTIMISE="-O0"
38417 fi
38418 else
38419 if test "$GCC" = yes ; then
38420 OPTIMISE="-O2"
38421
38422 case "${host}" in
38423 i586-*-*|i686-*-* )
38424 OPTIMISE="${OPTIMISE} "
38425 ;;
38426 esac
38427 else
38428 OPTIMISE="-O"
38429 fi
38430 fi
38431
38432
38433 if test "x$WXWIN_COMPATIBILITY_2_4" = "xyes"; then
38434 cat >>confdefs.h <<\_ACEOF
38435 #define WXWIN_COMPATIBILITY_2_4 1
38436 _ACEOF
38437
38438
38439 WXWIN_COMPATIBILITY_2_6="yes"
38440 fi
38441
38442 if test "x$WXWIN_COMPATIBILITY_2_6" != "xno"; then
38443 cat >>confdefs.h <<\_ACEOF
38444 #define WXWIN_COMPATIBILITY_2_6 1
38445 _ACEOF
38446
38447 fi
38448
38449
38450 if test "$wxUSE_GUI" = "yes"; then
38451 cat >>confdefs.h <<\_ACEOF
38452 #define wxUSE_GUI 1
38453 _ACEOF
38454
38455
38456 fi
38457
38458
38459 if test "$wxUSE_UNIX" = "yes"; then
38460 cat >>confdefs.h <<\_ACEOF
38461 #define wxUSE_UNIX 1
38462 _ACEOF
38463
38464 fi
38465
38466
38467 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
38468
38469 HAVE_DL_FUNCS=0
38470 HAVE_SHL_FUNCS=0
38471 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
38472 if test "$USE_DARWIN" = 1; then
38473 HAVE_DL_FUNCS=1
38474 elif test "$USE_DOS" = 1; then
38475 HAVE_DL_FUNCS=0
38476 else
38477
38478 for ac_func in dlopen
38479 do
38480 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38481 echo "$as_me:$LINENO: checking for $ac_func" >&5
38482 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38483 if eval "test \"\${$as_ac_var+set}\" = set"; then
38484 echo $ECHO_N "(cached) $ECHO_C" >&6
38485 else
38486 cat >conftest.$ac_ext <<_ACEOF
38487 /* confdefs.h. */
38488 _ACEOF
38489 cat confdefs.h >>conftest.$ac_ext
38490 cat >>conftest.$ac_ext <<_ACEOF
38491 /* end confdefs.h. */
38492 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38493 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38494 #define $ac_func innocuous_$ac_func
38495
38496 /* System header to define __stub macros and hopefully few prototypes,
38497 which can conflict with char $ac_func (); below.
38498 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38499 <limits.h> exists even on freestanding compilers. */
38500
38501 #ifdef __STDC__
38502 # include <limits.h>
38503 #else
38504 # include <assert.h>
38505 #endif
38506
38507 #undef $ac_func
38508
38509 /* Override any gcc2 internal prototype to avoid an error. */
38510 #ifdef __cplusplus
38511 extern "C"
38512 {
38513 #endif
38514 /* We use char because int might match the return type of a gcc2
38515 builtin and then its argument prototype would still apply. */
38516 char $ac_func ();
38517 /* The GNU C library defines this for functions which it implements
38518 to always fail with ENOSYS. Some functions are actually named
38519 something starting with __ and the normal name is an alias. */
38520 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38521 choke me
38522 #else
38523 char (*f) () = $ac_func;
38524 #endif
38525 #ifdef __cplusplus
38526 }
38527 #endif
38528
38529 int
38530 main ()
38531 {
38532 return f != $ac_func;
38533 ;
38534 return 0;
38535 }
38536 _ACEOF
38537 rm -f conftest.$ac_objext conftest$ac_exeext
38538 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38539 (eval $ac_link) 2>conftest.er1
38540 ac_status=$?
38541 grep -v '^ *+' conftest.er1 >conftest.err
38542 rm -f conftest.er1
38543 cat conftest.err >&5
38544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38545 (exit $ac_status); } &&
38546 { ac_try='test -z "$ac_c_werror_flag"
38547 || test ! -s conftest.err'
38548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38549 (eval $ac_try) 2>&5
38550 ac_status=$?
38551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38552 (exit $ac_status); }; } &&
38553 { ac_try='test -s conftest$ac_exeext'
38554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38555 (eval $ac_try) 2>&5
38556 ac_status=$?
38557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38558 (exit $ac_status); }; }; then
38559 eval "$as_ac_var=yes"
38560 else
38561 echo "$as_me: failed program was:" >&5
38562 sed 's/^/| /' conftest.$ac_ext >&5
38563
38564 eval "$as_ac_var=no"
38565 fi
38566 rm -f conftest.err conftest.$ac_objext \
38567 conftest$ac_exeext conftest.$ac_ext
38568 fi
38569 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38570 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38571 if test `eval echo '${'$as_ac_var'}'` = yes; then
38572 cat >>confdefs.h <<_ACEOF
38573 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38574 _ACEOF
38575
38576 cat >>confdefs.h <<\_ACEOF
38577 #define HAVE_DLOPEN 1
38578 _ACEOF
38579
38580 HAVE_DL_FUNCS=1
38581
38582 else
38583
38584 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
38585 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
38586 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
38587 echo $ECHO_N "(cached) $ECHO_C" >&6
38588 else
38589 ac_check_lib_save_LIBS=$LIBS
38590 LIBS="-ldl $LIBS"
38591 cat >conftest.$ac_ext <<_ACEOF
38592 /* confdefs.h. */
38593 _ACEOF
38594 cat confdefs.h >>conftest.$ac_ext
38595 cat >>conftest.$ac_ext <<_ACEOF
38596 /* end confdefs.h. */
38597
38598 /* Override any gcc2 internal prototype to avoid an error. */
38599 #ifdef __cplusplus
38600 extern "C"
38601 #endif
38602 /* We use char because int might match the return type of a gcc2
38603 builtin and then its argument prototype would still apply. */
38604 char dlopen ();
38605 int
38606 main ()
38607 {
38608 dlopen ();
38609 ;
38610 return 0;
38611 }
38612 _ACEOF
38613 rm -f conftest.$ac_objext conftest$ac_exeext
38614 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38615 (eval $ac_link) 2>conftest.er1
38616 ac_status=$?
38617 grep -v '^ *+' conftest.er1 >conftest.err
38618 rm -f conftest.er1
38619 cat conftest.err >&5
38620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38621 (exit $ac_status); } &&
38622 { ac_try='test -z "$ac_c_werror_flag"
38623 || test ! -s conftest.err'
38624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38625 (eval $ac_try) 2>&5
38626 ac_status=$?
38627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38628 (exit $ac_status); }; } &&
38629 { ac_try='test -s conftest$ac_exeext'
38630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38631 (eval $ac_try) 2>&5
38632 ac_status=$?
38633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38634 (exit $ac_status); }; }; then
38635 ac_cv_lib_dl_dlopen=yes
38636 else
38637 echo "$as_me: failed program was:" >&5
38638 sed 's/^/| /' conftest.$ac_ext >&5
38639
38640 ac_cv_lib_dl_dlopen=no
38641 fi
38642 rm -f conftest.err conftest.$ac_objext \
38643 conftest$ac_exeext conftest.$ac_ext
38644 LIBS=$ac_check_lib_save_LIBS
38645 fi
38646 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
38647 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
38648 if test $ac_cv_lib_dl_dlopen = yes; then
38649
38650 cat >>confdefs.h <<\_ACEOF
38651 #define HAVE_DLOPEN 1
38652 _ACEOF
38653
38654 HAVE_DL_FUNCS=1
38655 DL_LINK=" -ldl$DL_LINK"
38656
38657 else
38658
38659
38660 for ac_func in shl_load
38661 do
38662 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38663 echo "$as_me:$LINENO: checking for $ac_func" >&5
38664 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38665 if eval "test \"\${$as_ac_var+set}\" = set"; then
38666 echo $ECHO_N "(cached) $ECHO_C" >&6
38667 else
38668 cat >conftest.$ac_ext <<_ACEOF
38669 /* confdefs.h. */
38670 _ACEOF
38671 cat confdefs.h >>conftest.$ac_ext
38672 cat >>conftest.$ac_ext <<_ACEOF
38673 /* end confdefs.h. */
38674 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38675 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38676 #define $ac_func innocuous_$ac_func
38677
38678 /* System header to define __stub macros and hopefully few prototypes,
38679 which can conflict with char $ac_func (); below.
38680 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38681 <limits.h> exists even on freestanding compilers. */
38682
38683 #ifdef __STDC__
38684 # include <limits.h>
38685 #else
38686 # include <assert.h>
38687 #endif
38688
38689 #undef $ac_func
38690
38691 /* Override any gcc2 internal prototype to avoid an error. */
38692 #ifdef __cplusplus
38693 extern "C"
38694 {
38695 #endif
38696 /* We use char because int might match the return type of a gcc2
38697 builtin and then its argument prototype would still apply. */
38698 char $ac_func ();
38699 /* The GNU C library defines this for functions which it implements
38700 to always fail with ENOSYS. Some functions are actually named
38701 something starting with __ and the normal name is an alias. */
38702 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38703 choke me
38704 #else
38705 char (*f) () = $ac_func;
38706 #endif
38707 #ifdef __cplusplus
38708 }
38709 #endif
38710
38711 int
38712 main ()
38713 {
38714 return f != $ac_func;
38715 ;
38716 return 0;
38717 }
38718 _ACEOF
38719 rm -f conftest.$ac_objext conftest$ac_exeext
38720 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38721 (eval $ac_link) 2>conftest.er1
38722 ac_status=$?
38723 grep -v '^ *+' conftest.er1 >conftest.err
38724 rm -f conftest.er1
38725 cat conftest.err >&5
38726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38727 (exit $ac_status); } &&
38728 { ac_try='test -z "$ac_c_werror_flag"
38729 || test ! -s conftest.err'
38730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38731 (eval $ac_try) 2>&5
38732 ac_status=$?
38733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38734 (exit $ac_status); }; } &&
38735 { ac_try='test -s conftest$ac_exeext'
38736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38737 (eval $ac_try) 2>&5
38738 ac_status=$?
38739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38740 (exit $ac_status); }; }; then
38741 eval "$as_ac_var=yes"
38742 else
38743 echo "$as_me: failed program was:" >&5
38744 sed 's/^/| /' conftest.$ac_ext >&5
38745
38746 eval "$as_ac_var=no"
38747 fi
38748 rm -f conftest.err conftest.$ac_objext \
38749 conftest$ac_exeext conftest.$ac_ext
38750 fi
38751 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38752 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38753 if test `eval echo '${'$as_ac_var'}'` = yes; then
38754 cat >>confdefs.h <<_ACEOF
38755 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38756 _ACEOF
38757
38758 cat >>confdefs.h <<\_ACEOF
38759 #define HAVE_SHL_LOAD 1
38760 _ACEOF
38761
38762 HAVE_SHL_FUNCS=1
38763
38764 else
38765
38766 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
38767 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
38768 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
38769 echo $ECHO_N "(cached) $ECHO_C" >&6
38770 else
38771 ac_check_lib_save_LIBS=$LIBS
38772 LIBS="-lshl_load $LIBS"
38773 cat >conftest.$ac_ext <<_ACEOF
38774 /* confdefs.h. */
38775 _ACEOF
38776 cat confdefs.h >>conftest.$ac_ext
38777 cat >>conftest.$ac_ext <<_ACEOF
38778 /* end confdefs.h. */
38779
38780 /* Override any gcc2 internal prototype to avoid an error. */
38781 #ifdef __cplusplus
38782 extern "C"
38783 #endif
38784 /* We use char because int might match the return type of a gcc2
38785 builtin and then its argument prototype would still apply. */
38786 char dld ();
38787 int
38788 main ()
38789 {
38790 dld ();
38791 ;
38792 return 0;
38793 }
38794 _ACEOF
38795 rm -f conftest.$ac_objext conftest$ac_exeext
38796 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38797 (eval $ac_link) 2>conftest.er1
38798 ac_status=$?
38799 grep -v '^ *+' conftest.er1 >conftest.err
38800 rm -f conftest.er1
38801 cat conftest.err >&5
38802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38803 (exit $ac_status); } &&
38804 { ac_try='test -z "$ac_c_werror_flag"
38805 || test ! -s conftest.err'
38806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38807 (eval $ac_try) 2>&5
38808 ac_status=$?
38809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38810 (exit $ac_status); }; } &&
38811 { ac_try='test -s conftest$ac_exeext'
38812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38813 (eval $ac_try) 2>&5
38814 ac_status=$?
38815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38816 (exit $ac_status); }; }; then
38817 ac_cv_lib_shl_load_dld=yes
38818 else
38819 echo "$as_me: failed program was:" >&5
38820 sed 's/^/| /' conftest.$ac_ext >&5
38821
38822 ac_cv_lib_shl_load_dld=no
38823 fi
38824 rm -f conftest.err conftest.$ac_objext \
38825 conftest$ac_exeext conftest.$ac_ext
38826 LIBS=$ac_check_lib_save_LIBS
38827 fi
38828 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
38829 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
38830 if test $ac_cv_lib_shl_load_dld = yes; then
38831
38832 HAVE_SHL_FUNCS=1
38833 DL_LINK=" -ldld$DL_LINK"
38834
38835 fi
38836
38837
38838 fi
38839 done
38840
38841
38842 fi
38843
38844
38845 fi
38846 done
38847
38848
38849 if test "$HAVE_DL_FUNCS" = 1; then
38850
38851 for ac_func in dlerror
38852 do
38853 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38854 echo "$as_me:$LINENO: checking for $ac_func" >&5
38855 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38856 if eval "test \"\${$as_ac_var+set}\" = set"; then
38857 echo $ECHO_N "(cached) $ECHO_C" >&6
38858 else
38859 cat >conftest.$ac_ext <<_ACEOF
38860 /* confdefs.h. */
38861 _ACEOF
38862 cat confdefs.h >>conftest.$ac_ext
38863 cat >>conftest.$ac_ext <<_ACEOF
38864 /* end confdefs.h. */
38865 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38866 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38867 #define $ac_func innocuous_$ac_func
38868
38869 /* System header to define __stub macros and hopefully few prototypes,
38870 which can conflict with char $ac_func (); below.
38871 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38872 <limits.h> exists even on freestanding compilers. */
38873
38874 #ifdef __STDC__
38875 # include <limits.h>
38876 #else
38877 # include <assert.h>
38878 #endif
38879
38880 #undef $ac_func
38881
38882 /* Override any gcc2 internal prototype to avoid an error. */
38883 #ifdef __cplusplus
38884 extern "C"
38885 {
38886 #endif
38887 /* We use char because int might match the return type of a gcc2
38888 builtin and then its argument prototype would still apply. */
38889 char $ac_func ();
38890 /* The GNU C library defines this for functions which it implements
38891 to always fail with ENOSYS. Some functions are actually named
38892 something starting with __ and the normal name is an alias. */
38893 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38894 choke me
38895 #else
38896 char (*f) () = $ac_func;
38897 #endif
38898 #ifdef __cplusplus
38899 }
38900 #endif
38901
38902 int
38903 main ()
38904 {
38905 return f != $ac_func;
38906 ;
38907 return 0;
38908 }
38909 _ACEOF
38910 rm -f conftest.$ac_objext conftest$ac_exeext
38911 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38912 (eval $ac_link) 2>conftest.er1
38913 ac_status=$?
38914 grep -v '^ *+' conftest.er1 >conftest.err
38915 rm -f conftest.er1
38916 cat conftest.err >&5
38917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38918 (exit $ac_status); } &&
38919 { ac_try='test -z "$ac_c_werror_flag"
38920 || test ! -s conftest.err'
38921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38922 (eval $ac_try) 2>&5
38923 ac_status=$?
38924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38925 (exit $ac_status); }; } &&
38926 { ac_try='test -s conftest$ac_exeext'
38927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38928 (eval $ac_try) 2>&5
38929 ac_status=$?
38930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38931 (exit $ac_status); }; }; then
38932 eval "$as_ac_var=yes"
38933 else
38934 echo "$as_me: failed program was:" >&5
38935 sed 's/^/| /' conftest.$ac_ext >&5
38936
38937 eval "$as_ac_var=no"
38938 fi
38939 rm -f conftest.err conftest.$ac_objext \
38940 conftest$ac_exeext conftest.$ac_ext
38941 fi
38942 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38943 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38944 if test `eval echo '${'$as_ac_var'}'` = yes; then
38945 cat >>confdefs.h <<_ACEOF
38946 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38947 _ACEOF
38948 cat >>confdefs.h <<\_ACEOF
38949 #define HAVE_DLERROR 1
38950 _ACEOF
38951
38952 else
38953
38954 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
38955 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
38956 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
38957 echo $ECHO_N "(cached) $ECHO_C" >&6
38958 else
38959 ac_check_lib_save_LIBS=$LIBS
38960 LIBS="-ldl $LIBS"
38961 cat >conftest.$ac_ext <<_ACEOF
38962 /* confdefs.h. */
38963 _ACEOF
38964 cat confdefs.h >>conftest.$ac_ext
38965 cat >>conftest.$ac_ext <<_ACEOF
38966 /* end confdefs.h. */
38967
38968 /* Override any gcc2 internal prototype to avoid an error. */
38969 #ifdef __cplusplus
38970 extern "C"
38971 #endif
38972 /* We use char because int might match the return type of a gcc2
38973 builtin and then its argument prototype would still apply. */
38974 char dlerror ();
38975 int
38976 main ()
38977 {
38978 dlerror ();
38979 ;
38980 return 0;
38981 }
38982 _ACEOF
38983 rm -f conftest.$ac_objext conftest$ac_exeext
38984 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38985 (eval $ac_link) 2>conftest.er1
38986 ac_status=$?
38987 grep -v '^ *+' conftest.er1 >conftest.err
38988 rm -f conftest.er1
38989 cat conftest.err >&5
38990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38991 (exit $ac_status); } &&
38992 { ac_try='test -z "$ac_c_werror_flag"
38993 || test ! -s conftest.err'
38994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38995 (eval $ac_try) 2>&5
38996 ac_status=$?
38997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38998 (exit $ac_status); }; } &&
38999 { ac_try='test -s conftest$ac_exeext'
39000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39001 (eval $ac_try) 2>&5
39002 ac_status=$?
39003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39004 (exit $ac_status); }; }; then
39005 ac_cv_lib_dl_dlerror=yes
39006 else
39007 echo "$as_me: failed program was:" >&5
39008 sed 's/^/| /' conftest.$ac_ext >&5
39009
39010 ac_cv_lib_dl_dlerror=no
39011 fi
39012 rm -f conftest.err conftest.$ac_objext \
39013 conftest$ac_exeext conftest.$ac_ext
39014 LIBS=$ac_check_lib_save_LIBS
39015 fi
39016 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
39017 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
39018 if test $ac_cv_lib_dl_dlerror = yes; then
39019 cat >>confdefs.h <<\_ACEOF
39020 #define HAVE_DLERROR 1
39021 _ACEOF
39022
39023 fi
39024
39025
39026
39027 fi
39028 done
39029
39030 fi
39031 fi
39032
39033 if test "$HAVE_DL_FUNCS" = 0; then
39034 if test "$HAVE_SHL_FUNCS" = 0; then
39035 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
39036 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
39037 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
39038 wxUSE_DYNAMIC_LOADER=no
39039 wxUSE_DYNLIB_CLASS=no
39040 else
39041 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
39042 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
39043 fi
39044 fi
39045 fi
39046 fi
39047 fi
39048
39049 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
39050 cat >>confdefs.h <<\_ACEOF
39051 #define wxUSE_DYNAMIC_LOADER 1
39052 _ACEOF
39053
39054 fi
39055 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
39056 cat >>confdefs.h <<\_ACEOF
39057 #define wxUSE_DYNLIB_CLASS 1
39058 _ACEOF
39059
39060 fi
39061
39062
39063
39064 if test "$wxUSE_PLUGINS" = "yes" ; then
39065 if test "$wxUSE_SHARED" = "no" ; then
39066 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
39067 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
39068 wxUSE_PLUGINS=no
39069 fi
39070 if test "$wxUSE_MONOLITHIC" = "yes" ; then
39071 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
39072 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
39073 wxUSE_PLUGINS=no
39074 fi
39075 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
39076 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
39077 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
39078 wxUSE_PLUGINS=no
39079 fi
39080 if test "$wxUSE_PLUGINS" = "yes" ; then
39081 cat >>confdefs.h <<\_ACEOF
39082 #define wxUSE_PLUGINS 1
39083 _ACEOF
39084
39085 fi
39086 fi
39087
39088
39089 if test "$wxUSE_STL" = "yes"; then
39090 cat >>confdefs.h <<\_ACEOF
39091 #define wxUSE_STL 1
39092 _ACEOF
39093
39094 fi
39095
39096 if test "$wxUSE_APPLE_IEEE" = "yes"; then
39097 cat >>confdefs.h <<\_ACEOF
39098 #define wxUSE_APPLE_IEEE 1
39099 _ACEOF
39100
39101 fi
39102
39103 if test "$wxUSE_TIMER" = "yes"; then
39104 cat >>confdefs.h <<\_ACEOF
39105 #define wxUSE_TIMER 1
39106 _ACEOF
39107
39108 fi
39109
39110 if test "$USE_UNIX" = "1" ; then
39111 echo "$as_me:$LINENO: checking for ioctl() in sys/soundcard.h" >&5
39112 echo $ECHO_N "checking for ioctl() in sys/soundcard.h... $ECHO_C" >&6
39113 if test "${ac_cv_header_sys_soundcard+set}" = set; then
39114 echo $ECHO_N "(cached) $ECHO_C" >&6
39115 else
39116
39117 cat >conftest.$ac_ext <<_ACEOF
39118 /* confdefs.h. */
39119 _ACEOF
39120 cat confdefs.h >>conftest.$ac_ext
39121 cat >>conftest.$ac_ext <<_ACEOF
39122 /* end confdefs.h. */
39123
39124 #include <sys/soundcard.h>
39125
39126 int
39127 main ()
39128 {
39129
39130 ioctl(0, SNDCTL_DSP_SYNC, 0);
39131
39132 ;
39133 return 0;
39134 }
39135 _ACEOF
39136 rm -f conftest.$ac_objext conftest$ac_exeext
39137 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39138 (eval $ac_link) 2>conftest.er1
39139 ac_status=$?
39140 grep -v '^ *+' conftest.er1 >conftest.err
39141 rm -f conftest.er1
39142 cat conftest.err >&5
39143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39144 (exit $ac_status); } &&
39145 { ac_try='test -z "$ac_c_werror_flag"
39146 || test ! -s conftest.err'
39147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39148 (eval $ac_try) 2>&5
39149 ac_status=$?
39150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39151 (exit $ac_status); }; } &&
39152 { ac_try='test -s conftest$ac_exeext'
39153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39154 (eval $ac_try) 2>&5
39155 ac_status=$?
39156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39157 (exit $ac_status); }; }; then
39158 ac_cv_header_sys_soundcard=yes
39159 else
39160 echo "$as_me: failed program was:" >&5
39161 sed 's/^/| /' conftest.$ac_ext >&5
39162
39163
39164 saveLibs="$LIBS"
39165 LIBS="$saveLibs -lossaudio"
39166 cat >conftest.$ac_ext <<_ACEOF
39167 /* confdefs.h. */
39168 _ACEOF
39169 cat confdefs.h >>conftest.$ac_ext
39170 cat >>conftest.$ac_ext <<_ACEOF
39171 /* end confdefs.h. */
39172
39173 #include <sys/soundcard.h>
39174
39175 int
39176 main ()
39177 {
39178
39179 ioctl(0, SNDCTL_DSP_SYNC, 0);
39180
39181 ;
39182 return 0;
39183 }
39184 _ACEOF
39185 rm -f conftest.$ac_objext conftest$ac_exeext
39186 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39187 (eval $ac_link) 2>conftest.er1
39188 ac_status=$?
39189 grep -v '^ *+' conftest.er1 >conftest.err
39190 rm -f conftest.er1
39191 cat conftest.err >&5
39192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39193 (exit $ac_status); } &&
39194 { ac_try='test -z "$ac_c_werror_flag"
39195 || test ! -s conftest.err'
39196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39197 (eval $ac_try) 2>&5
39198 ac_status=$?
39199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39200 (exit $ac_status); }; } &&
39201 { ac_try='test -s conftest$ac_exeext'
39202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39203 (eval $ac_try) 2>&5
39204 ac_status=$?
39205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39206 (exit $ac_status); }; }; then
39207 ac_cv_header_sys_soundcard=yes
39208 else
39209 echo "$as_me: failed program was:" >&5
39210 sed 's/^/| /' conftest.$ac_ext >&5
39211
39212
39213 LIBS="$saveLibs"
39214 ac_cv_header_sys_soundcard=no
39215
39216
39217 fi
39218 rm -f conftest.err conftest.$ac_objext \
39219 conftest$ac_exeext conftest.$ac_ext
39220
39221
39222 fi
39223 rm -f conftest.err conftest.$ac_objext \
39224 conftest$ac_exeext conftest.$ac_ext
39225
39226 fi
39227 echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
39228 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6
39229
39230 if test "$ac_cv_header_sys_soundcard" = "yes"; then
39231 cat >>confdefs.h <<\_ACEOF
39232 #define HAVE_SYS_SOUNDCARD_H 1
39233 _ACEOF
39234
39235 else
39236 DISABLED_CONTRIB="$DISABLED_CONTRIB mmedia"
39237 fi
39238 fi
39239 WITH_PLUGIN_SDL=0
39240 if test "$wxUSE_SOUND" = "yes"; then
39241 if test "$USE_UNIX" = "1" ; then
39242 if test "$wxUSE_LIBSDL" != "no"; then
39243
39244 # Check whether --with-sdl-prefix or --without-sdl-prefix was given.
39245 if test "${with_sdl_prefix+set}" = set; then
39246 withval="$with_sdl_prefix"
39247 sdl_prefix="$withval"
39248 else
39249 sdl_prefix=""
39250 fi;
39251
39252 # Check whether --with-sdl-exec-prefix or --without-sdl-exec-prefix was given.
39253 if test "${with_sdl_exec_prefix+set}" = set; then
39254 withval="$with_sdl_exec_prefix"
39255 sdl_exec_prefix="$withval"
39256 else
39257 sdl_exec_prefix=""
39258 fi;
39259 # Check whether --enable-sdltest or --disable-sdltest was given.
39260 if test "${enable_sdltest+set}" = set; then
39261 enableval="$enable_sdltest"
39262
39263 else
39264 enable_sdltest=yes
39265 fi;
39266
39267 if test x$sdl_exec_prefix != x ; then
39268 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
39269 if test x${SDL_CONFIG+set} != xset ; then
39270 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
39271 fi
39272 fi
39273 if test x$sdl_prefix != x ; then
39274 sdl_args="$sdl_args --prefix=$sdl_prefix"
39275 if test x${SDL_CONFIG+set} != xset ; then
39276 SDL_CONFIG=$sdl_prefix/bin/sdl-config
39277 fi
39278 fi
39279
39280
39281 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
39282 # Extract the first word of "sdl-config", so it can be a program name with args.
39283 set dummy sdl-config; ac_word=$2
39284 echo "$as_me:$LINENO: checking for $ac_word" >&5
39285 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39286 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
39287 echo $ECHO_N "(cached) $ECHO_C" >&6
39288 else
39289 case $SDL_CONFIG in
39290 [\\/]* | ?:[\\/]*)
39291 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
39292 ;;
39293 *)
39294 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
39295 for as_dir in $PATH
39296 do
39297 IFS=$as_save_IFS
39298 test -z "$as_dir" && as_dir=.
39299 for ac_exec_ext in '' $ac_executable_extensions; do
39300 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39301 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
39302 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39303 break 2
39304 fi
39305 done
39306 done
39307
39308 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
39309 ;;
39310 esac
39311 fi
39312 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
39313
39314 if test -n "$SDL_CONFIG"; then
39315 echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
39316 echo "${ECHO_T}$SDL_CONFIG" >&6
39317 else
39318 echo "$as_me:$LINENO: result: no" >&5
39319 echo "${ECHO_T}no" >&6
39320 fi
39321
39322 min_sdl_version=1.2.0
39323 echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
39324 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6
39325 no_sdl=""
39326 if test "$SDL_CONFIG" = "no" ; then
39327 no_sdl=yes
39328 else
39329 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
39330 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
39331
39332 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
39333 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
39334 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
39335 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
39336 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
39337 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
39338 if test "x$enable_sdltest" = "xyes" ; then
39339 ac_save_CFLAGS="$CFLAGS"
39340 ac_save_CXXFLAGS="$CXXFLAGS"
39341 ac_save_LIBS="$LIBS"
39342 CFLAGS="$CFLAGS $SDL_CFLAGS"
39343 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
39344 LIBS="$LIBS $SDL_LIBS"
39345 rm -f conf.sdltest
39346 if test "$cross_compiling" = yes; then
39347 echo $ac_n "cross compiling; assumed OK... $ac_c"
39348 else
39349 cat >conftest.$ac_ext <<_ACEOF
39350 /* confdefs.h. */
39351 _ACEOF
39352 cat confdefs.h >>conftest.$ac_ext
39353 cat >>conftest.$ac_ext <<_ACEOF
39354 /* end confdefs.h. */
39355
39356 #include <stdio.h>
39357 #include <stdlib.h>
39358 #include <string.h>
39359 #include "SDL.h"
39360
39361 char*
39362 my_strdup (char *str)
39363 {
39364 char *new_str;
39365
39366 if (str)
39367 {
39368 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
39369 strcpy (new_str, str);
39370 }
39371 else
39372 new_str = NULL;
39373
39374 return new_str;
39375 }
39376
39377 int main (int argc, char *argv[])
39378 {
39379 int major, minor, micro;
39380 char *tmp_version;
39381
39382 /* This hangs on some systems (?)
39383 system ("touch conf.sdltest");
39384 */
39385 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
39386
39387 /* HP/UX 9 (%@#!) writes to sscanf strings */
39388 tmp_version = my_strdup("$min_sdl_version");
39389 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
39390 printf("%s, bad version string\n", "$min_sdl_version");
39391 exit(1);
39392 }
39393
39394 if (($sdl_major_version > major) ||
39395 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
39396 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
39397 {
39398 return 0;
39399 }
39400 else
39401 {
39402 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
39403 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
39404 printf("*** best to upgrade to the required version.\n");
39405 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
39406 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
39407 printf("*** config.cache before re-running configure\n");
39408 return 1;
39409 }
39410 }
39411
39412
39413 _ACEOF
39414 rm -f conftest$ac_exeext
39415 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39416 (eval $ac_link) 2>&5
39417 ac_status=$?
39418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39419 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
39420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39421 (eval $ac_try) 2>&5
39422 ac_status=$?
39423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39424 (exit $ac_status); }; }; then
39425 :
39426 else
39427 echo "$as_me: program exited with status $ac_status" >&5
39428 echo "$as_me: failed program was:" >&5
39429 sed 's/^/| /' conftest.$ac_ext >&5
39430
39431 ( exit $ac_status )
39432 no_sdl=yes
39433 fi
39434 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
39435 fi
39436 CFLAGS="$ac_save_CFLAGS"
39437 CXXFLAGS="$ac_save_CXXFLAGS"
39438 LIBS="$ac_save_LIBS"
39439 fi
39440 fi
39441 if test "x$no_sdl" = x ; then
39442 echo "$as_me:$LINENO: result: yes" >&5
39443 echo "${ECHO_T}yes" >&6
39444
39445 EXTRALIBS_SDL="$SDL_LIBS"
39446 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
39447 cat >>confdefs.h <<\_ACEOF
39448 #define wxUSE_LIBSDL 1
39449 _ACEOF
39450
39451
39452 else
39453 echo "$as_me:$LINENO: result: no" >&5
39454 echo "${ECHO_T}no" >&6
39455 if test "$SDL_CONFIG" = "no" ; then
39456 echo "*** The sdl-config script installed by SDL could not be found"
39457 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
39458 echo "*** your path, or set the SDL_CONFIG environment variable to the"
39459 echo "*** full path to sdl-config."
39460 else
39461 if test -f conf.sdltest ; then
39462 :
39463 else
39464 echo "*** Could not run SDL test program, checking why..."
39465 CFLAGS="$CFLAGS $SDL_CFLAGS"
39466 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
39467 LIBS="$LIBS $SDL_LIBS"
39468 cat >conftest.$ac_ext <<_ACEOF
39469 /* confdefs.h. */
39470 _ACEOF
39471 cat confdefs.h >>conftest.$ac_ext
39472 cat >>conftest.$ac_ext <<_ACEOF
39473 /* end confdefs.h. */
39474
39475 #include <stdio.h>
39476 #include "SDL.h"
39477
39478 int main(int argc, char *argv[])
39479 { return 0; }
39480 #undef main
39481 #define main K_and_R_C_main
39482
39483 int
39484 main ()
39485 {
39486 return 0;
39487 ;
39488 return 0;
39489 }
39490 _ACEOF
39491 rm -f conftest.$ac_objext conftest$ac_exeext
39492 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39493 (eval $ac_link) 2>conftest.er1
39494 ac_status=$?
39495 grep -v '^ *+' conftest.er1 >conftest.err
39496 rm -f conftest.er1
39497 cat conftest.err >&5
39498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39499 (exit $ac_status); } &&
39500 { ac_try='test -z "$ac_c_werror_flag"
39501 || test ! -s conftest.err'
39502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39503 (eval $ac_try) 2>&5
39504 ac_status=$?
39505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39506 (exit $ac_status); }; } &&
39507 { ac_try='test -s conftest$ac_exeext'
39508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39509 (eval $ac_try) 2>&5
39510 ac_status=$?
39511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39512 (exit $ac_status); }; }; then
39513 echo "*** The test program compiled, but did not run. This usually means"
39514 echo "*** that the run-time linker is not finding SDL or finding the wrong"
39515 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
39516 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
39517 echo "*** to the installed location Also, make sure you have run ldconfig if that"
39518 echo "*** is required on your system"
39519 echo "***"
39520 echo "*** If you have an old version installed, it is best to remove it, although"
39521 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
39522 else
39523 echo "$as_me: failed program was:" >&5
39524 sed 's/^/| /' conftest.$ac_ext >&5
39525
39526 echo "*** The test program failed to compile or link. See the file config.log for the"
39527 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
39528 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
39529 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
39530 fi
39531 rm -f conftest.err conftest.$ac_objext \
39532 conftest$ac_exeext conftest.$ac_ext
39533 CFLAGS="$ac_save_CFLAGS"
39534 CXXFLAGS="$ac_save_CXXFLAGS"
39535 LIBS="$ac_save_LIBS"
39536 fi
39537 fi
39538 SDL_CFLAGS=""
39539 SDL_LIBS=""
39540 wxUSE_LIBSDL="no"
39541 fi
39542
39543
39544 rm -f conf.sdltest
39545
39546 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
39547 WITH_PLUGIN_SDL=1
39548 fi
39549 fi
39550 fi
39551
39552 cat >>confdefs.h <<\_ACEOF
39553 #define wxUSE_SOUND 1
39554 _ACEOF
39555
39556 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
39557 fi
39558
39559 if test "$WXGTK20" = 1; then
39560 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
39561 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
39562
39563
39564 succeeded=no
39565
39566 if test -z "$PKG_CONFIG"; then
39567 # Extract the first word of "pkg-config", so it can be a program name with args.
39568 set dummy pkg-config; ac_word=$2
39569 echo "$as_me:$LINENO: checking for $ac_word" >&5
39570 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39571 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
39572 echo $ECHO_N "(cached) $ECHO_C" >&6
39573 else
39574 case $PKG_CONFIG in
39575 [\\/]* | ?:[\\/]*)
39576 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
39577 ;;
39578 *)
39579 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
39580 for as_dir in $PATH
39581 do
39582 IFS=$as_save_IFS
39583 test -z "$as_dir" && as_dir=.
39584 for ac_exec_ext in '' $ac_executable_extensions; do
39585 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39586 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
39587 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39588 break 2
39589 fi
39590 done
39591 done
39592
39593 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
39594 ;;
39595 esac
39596 fi
39597 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
39598
39599 if test -n "$PKG_CONFIG"; then
39600 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
39601 echo "${ECHO_T}$PKG_CONFIG" >&6
39602 else
39603 echo "$as_me:$LINENO: result: no" >&5
39604 echo "${ECHO_T}no" >&6
39605 fi
39606
39607 fi
39608
39609 if test "$PKG_CONFIG" = "no" ; then
39610 echo "*** The pkg-config script could not be found. Make sure it is"
39611 echo "*** in your path, or set the PKG_CONFIG environment variable"
39612 echo "*** to the full path to pkg-config."
39613 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
39614 else
39615 PKG_CONFIG_MIN_VERSION=0.9.0
39616 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
39617 echo "$as_me:$LINENO: checking for libgnomeprintui-2.2 >= 2.8" >&5
39618 echo $ECHO_N "checking for libgnomeprintui-2.2 >= 2.8... $ECHO_C" >&6
39619
39620 if $PKG_CONFIG --exists "libgnomeprintui-2.2 >= 2.8" ; then
39621 echo "$as_me:$LINENO: result: yes" >&5
39622 echo "${ECHO_T}yes" >&6
39623 succeeded=yes
39624
39625 echo "$as_me:$LINENO: checking LIBGNOMEPRINTUI_CFLAGS" >&5
39626 echo $ECHO_N "checking LIBGNOMEPRINTUI_CFLAGS... $ECHO_C" >&6
39627 LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8"`
39628 echo "$as_me:$LINENO: result: $LIBGNOMEPRINTUI_CFLAGS" >&5
39629 echo "${ECHO_T}$LIBGNOMEPRINTUI_CFLAGS" >&6
39630
39631 echo "$as_me:$LINENO: checking LIBGNOMEPRINTUI_LIBS" >&5
39632 echo $ECHO_N "checking LIBGNOMEPRINTUI_LIBS... $ECHO_C" >&6
39633 LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8"`
39634 echo "$as_me:$LINENO: result: $LIBGNOMEPRINTUI_LIBS" >&5
39635 echo "${ECHO_T}$LIBGNOMEPRINTUI_LIBS" >&6
39636 else
39637 LIBGNOMEPRINTUI_CFLAGS=""
39638 LIBGNOMEPRINTUI_LIBS=""
39639 ## If we have a custom action on failure, don't print errors, but
39640 ## do set a variable so people can do so.
39641 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
39642
39643 fi
39644
39645
39646
39647 else
39648 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
39649 echo "*** See http://www.freedesktop.org/software/pkgconfig"
39650 fi
39651 fi
39652
39653 if test $succeeded = yes; then
39654
39655 CXXFLAGS="$CXXFLAGS $LIBGNOMEPRINTUI_CFLAGS"
39656 cat >>confdefs.h <<\_ACEOF
39657 #define wxUSE_LIBGNOMEPRINT 1
39658 _ACEOF
39659
39660
39661 else
39662
39663 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
39664 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
39665 wxUSE_LIBGNOMEPRINT="no"
39666
39667
39668 fi
39669
39670 fi
39671 fi
39672 fi
39673
39674
39675 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
39676 cat >>confdefs.h <<\_ACEOF
39677 #define wxUSE_CMDLINE_PARSER 1
39678 _ACEOF
39679
39680 fi
39681
39682 if test "$wxUSE_STOPWATCH" = "yes"; then
39683 cat >>confdefs.h <<\_ACEOF
39684 #define wxUSE_STOPWATCH 1
39685 _ACEOF
39686
39687 fi
39688
39689 if test "$wxUSE_DATETIME" = "yes"; then
39690 cat >>confdefs.h <<\_ACEOF
39691 #define wxUSE_DATETIME 1
39692 _ACEOF
39693
39694 fi
39695
39696 if test "$wxUSE_FILE" = "yes"; then
39697 cat >>confdefs.h <<\_ACEOF
39698 #define wxUSE_FILE 1
39699 _ACEOF
39700
39701 fi
39702
39703 if test "$wxUSE_FFILE" = "yes"; then
39704 cat >>confdefs.h <<\_ACEOF
39705 #define wxUSE_FFILE 1
39706 _ACEOF
39707
39708 fi
39709
39710 if test "$wxUSE_FILESYSTEM" = "yes"; then
39711 cat >>confdefs.h <<\_ACEOF
39712 #define wxUSE_FILESYSTEM 1
39713 _ACEOF
39714
39715 fi
39716
39717 if test "$wxUSE_FS_ZIP" = "yes"; then
39718 cat >>confdefs.h <<\_ACEOF
39719 #define wxUSE_FS_ZIP 1
39720 _ACEOF
39721
39722 fi
39723
39724 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
39725 cat >>confdefs.h <<\_ACEOF
39726 #define wxUSE_ARCHIVE_STREAMS 1
39727 _ACEOF
39728
39729 fi
39730
39731 if test "$wxUSE_ZIPSTREAM" = "yes"; then
39732 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
39733 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
39734 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
39735 elif test "$wxUSE_ZLIB" = "no"; then
39736 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
39737 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
39738 else
39739 cat >>confdefs.h <<\_ACEOF
39740 #define wxUSE_ZIPSTREAM 1
39741 _ACEOF
39742
39743 fi
39744 fi
39745
39746 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
39747 if test "$USE_UNIX" != 1; then
39748 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
39749 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
39750 wxUSE_ON_FATAL_EXCEPTION=no
39751 else
39752 cat >>confdefs.h <<\_ACEOF
39753 #define wxUSE_ON_FATAL_EXCEPTION 1
39754 _ACEOF
39755
39756 fi
39757 fi
39758
39759 if test "$wxUSE_STACKWALKER" = "yes"; then
39760 cat >>confdefs.h <<\_ACEOF
39761 #define wxUSE_STACKWALKER 1
39762 _ACEOF
39763
39764 fi
39765
39766 if test "$wxUSE_DEBUGREPORT" = "yes"; then
39767 if test "$USE_UNIX" != "1" -a "$USE_WIN32" != "1"; then
39768 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
39769 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
39770 wxUSE_DEBUGREPORT=no
39771 else
39772 cat >>confdefs.h <<\_ACEOF
39773 #define wxUSE_DEBUGREPORT 1
39774 _ACEOF
39775
39776 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
39777 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
39778 fi
39779 fi
39780 fi
39781
39782 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
39783 cat >>confdefs.h <<\_ACEOF
39784 #define wxUSE_SNGLINST_CHECKER 1
39785 _ACEOF
39786
39787 fi
39788
39789 if test "$wxUSE_BUSYINFO" = "yes"; then
39790 cat >>confdefs.h <<\_ACEOF
39791 #define wxUSE_BUSYINFO 1
39792 _ACEOF
39793
39794 fi
39795
39796 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
39797 cat >>confdefs.h <<\_ACEOF
39798 #define wxUSE_STD_IOSTREAM 1
39799 _ACEOF
39800
39801 fi
39802
39803 if test "$wxUSE_STD_STRING" = "yes"; then
39804 cat >>confdefs.h <<\_ACEOF
39805 #define wxUSE_STD_STRING 1
39806 _ACEOF
39807
39808 fi
39809
39810 if test "$wxUSE_STDPATHS" = "yes"; then
39811 cat >>confdefs.h <<\_ACEOF
39812 #define wxUSE_STDPATHS 1
39813 _ACEOF
39814
39815 fi
39816
39817 if test "$wxUSE_TEXTBUFFER" = "yes"; then
39818 cat >>confdefs.h <<\_ACEOF
39819 #define wxUSE_TEXTBUFFER 1
39820 _ACEOF
39821
39822 fi
39823
39824 if test "$wxUSE_TEXTFILE" = "yes"; then
39825 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
39826 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
39827 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
39828 else
39829 cat >>confdefs.h <<\_ACEOF
39830 #define wxUSE_TEXTFILE 1
39831 _ACEOF
39832
39833 fi
39834 fi
39835
39836 if test "$wxUSE_CONFIG" = "yes" ; then
39837 if test "$wxUSE_TEXTFILE" != "yes"; then
39838 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
39839 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
39840 else
39841 cat >>confdefs.h <<\_ACEOF
39842 #define wxUSE_CONFIG 1
39843 _ACEOF
39844
39845 cat >>confdefs.h <<\_ACEOF
39846 #define wxUSE_CONFIG_NATIVE 1
39847 _ACEOF
39848
39849 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
39850 fi
39851 fi
39852
39853 if test "$wxUSE_INTL" = "yes" ; then
39854 if test "$wxUSE_FILE" != "yes"; then
39855 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
39856 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
39857 else
39858 cat >>confdefs.h <<\_ACEOF
39859 #define wxUSE_INTL 1
39860 _ACEOF
39861
39862 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
39863 GUIDIST="$GUIDIST INTL_DIST"
39864 fi
39865 fi
39866
39867 if test "$wxUSE_LOG" = "yes"; then
39868 cat >>confdefs.h <<\_ACEOF
39869 #define wxUSE_LOG 1
39870 _ACEOF
39871
39872
39873 if test "$wxUSE_LOGGUI" = "yes"; then
39874 cat >>confdefs.h <<\_ACEOF
39875 #define wxUSE_LOGGUI 1
39876 _ACEOF
39877
39878 fi
39879
39880 if test "$wxUSE_LOGWINDOW" = "yes"; then
39881 cat >>confdefs.h <<\_ACEOF
39882 #define wxUSE_LOGWINDOW 1
39883 _ACEOF
39884
39885 fi
39886
39887 if test "$wxUSE_LOGDIALOG" = "yes"; then
39888 cat >>confdefs.h <<\_ACEOF
39889 #define wxUSE_LOG_DIALOG 1
39890 _ACEOF
39891
39892 fi
39893
39894 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
39895 fi
39896
39897 if test "$wxUSE_LONGLONG" = "yes"; then
39898 cat >>confdefs.h <<\_ACEOF
39899 #define wxUSE_LONGLONG 1
39900 _ACEOF
39901
39902 fi
39903
39904 if test "$wxUSE_GEOMETRY" = "yes"; then
39905 cat >>confdefs.h <<\_ACEOF
39906 #define wxUSE_GEOMETRY 1
39907 _ACEOF
39908
39909 fi
39910
39911 if test "$wxUSE_STREAMS" = "yes" ; then
39912 cat >>confdefs.h <<\_ACEOF
39913 #define wxUSE_STREAMS 1
39914 _ACEOF
39915
39916 fi
39917
39918
39919 if test "$wxUSE_DATETIME" = "yes"; then
39920
39921 for ac_func in strptime
39922 do
39923 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39924 echo "$as_me:$LINENO: checking for $ac_func" >&5
39925 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39926 if eval "test \"\${$as_ac_var+set}\" = set"; then
39927 echo $ECHO_N "(cached) $ECHO_C" >&6
39928 else
39929 cat >conftest.$ac_ext <<_ACEOF
39930 /* confdefs.h. */
39931 _ACEOF
39932 cat confdefs.h >>conftest.$ac_ext
39933 cat >>conftest.$ac_ext <<_ACEOF
39934 /* end confdefs.h. */
39935 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39936 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39937 #define $ac_func innocuous_$ac_func
39938
39939 /* System header to define __stub macros and hopefully few prototypes,
39940 which can conflict with char $ac_func (); below.
39941 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39942 <limits.h> exists even on freestanding compilers. */
39943
39944 #ifdef __STDC__
39945 # include <limits.h>
39946 #else
39947 # include <assert.h>
39948 #endif
39949
39950 #undef $ac_func
39951
39952 /* Override any gcc2 internal prototype to avoid an error. */
39953 #ifdef __cplusplus
39954 extern "C"
39955 {
39956 #endif
39957 /* We use char because int might match the return type of a gcc2
39958 builtin and then its argument prototype would still apply. */
39959 char $ac_func ();
39960 /* The GNU C library defines this for functions which it implements
39961 to always fail with ENOSYS. Some functions are actually named
39962 something starting with __ and the normal name is an alias. */
39963 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39964 choke me
39965 #else
39966 char (*f) () = $ac_func;
39967 #endif
39968 #ifdef __cplusplus
39969 }
39970 #endif
39971
39972 int
39973 main ()
39974 {
39975 return f != $ac_func;
39976 ;
39977 return 0;
39978 }
39979 _ACEOF
39980 rm -f conftest.$ac_objext conftest$ac_exeext
39981 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39982 (eval $ac_link) 2>conftest.er1
39983 ac_status=$?
39984 grep -v '^ *+' conftest.er1 >conftest.err
39985 rm -f conftest.er1
39986 cat conftest.err >&5
39987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39988 (exit $ac_status); } &&
39989 { ac_try='test -z "$ac_c_werror_flag"
39990 || test ! -s conftest.err'
39991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39992 (eval $ac_try) 2>&5
39993 ac_status=$?
39994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39995 (exit $ac_status); }; } &&
39996 { ac_try='test -s conftest$ac_exeext'
39997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39998 (eval $ac_try) 2>&5
39999 ac_status=$?
40000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40001 (exit $ac_status); }; }; then
40002 eval "$as_ac_var=yes"
40003 else
40004 echo "$as_me: failed program was:" >&5
40005 sed 's/^/| /' conftest.$ac_ext >&5
40006
40007 eval "$as_ac_var=no"
40008 fi
40009 rm -f conftest.err conftest.$ac_objext \
40010 conftest$ac_exeext conftest.$ac_ext
40011 fi
40012 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40013 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40014 if test `eval echo '${'$as_ac_var'}'` = yes; then
40015 cat >>confdefs.h <<_ACEOF
40016 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40017 _ACEOF
40018
40019 fi
40020 done
40021
40022 if test "$ac_cv_func_strptime" = "yes"; then
40023 echo "$as_me:$LINENO: checking for strptime declaration" >&5
40024 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6
40025 if test "${wx_cv_func_strptime_decl+set}" = set; then
40026 echo $ECHO_N "(cached) $ECHO_C" >&6
40027 else
40028
40029
40030
40031 ac_ext=cc
40032 ac_cpp='$CXXCPP $CPPFLAGS'
40033 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40034 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40035 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40036
40037 cat >conftest.$ac_ext <<_ACEOF
40038 /* confdefs.h. */
40039 _ACEOF
40040 cat confdefs.h >>conftest.$ac_ext
40041 cat >>conftest.$ac_ext <<_ACEOF
40042 /* end confdefs.h. */
40043
40044 #include <time.h>
40045
40046 int
40047 main ()
40048 {
40049
40050 struct tm t;
40051 strptime("foo", "bar", &t);
40052
40053 ;
40054 return 0;
40055 }
40056 _ACEOF
40057 rm -f conftest.$ac_objext
40058 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40059 (eval $ac_compile) 2>conftest.er1
40060 ac_status=$?
40061 grep -v '^ *+' conftest.er1 >conftest.err
40062 rm -f conftest.er1
40063 cat conftest.err >&5
40064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40065 (exit $ac_status); } &&
40066 { ac_try='test -z "$ac_cxx_werror_flag"
40067 || test ! -s conftest.err'
40068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40069 (eval $ac_try) 2>&5
40070 ac_status=$?
40071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40072 (exit $ac_status); }; } &&
40073 { ac_try='test -s conftest.$ac_objext'
40074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40075 (eval $ac_try) 2>&5
40076 ac_status=$?
40077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40078 (exit $ac_status); }; }; then
40079 wx_cv_func_strptime_decl=yes
40080 else
40081 echo "$as_me: failed program was:" >&5
40082 sed 's/^/| /' conftest.$ac_ext >&5
40083
40084 wx_cv_func_strptime_decl=no
40085
40086 fi
40087 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40088 ac_ext=c
40089 ac_cpp='$CPP $CPPFLAGS'
40090 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40091 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40092 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40093
40094
40095
40096 fi
40097 echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
40098 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6
40099 fi
40100 if test "$wx_cv_func_strptime_decl" = "yes"; then
40101 cat >>confdefs.h <<\_ACEOF
40102 #define HAVE_STRPTIME_DECL 1
40103 _ACEOF
40104
40105 fi
40106
40107 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
40108 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
40109 if test "${wx_cv_var_timezone+set}" = set; then
40110 echo $ECHO_N "(cached) $ECHO_C" >&6
40111 else
40112
40113 cat >conftest.$ac_ext <<_ACEOF
40114 /* confdefs.h. */
40115 _ACEOF
40116 cat confdefs.h >>conftest.$ac_ext
40117 cat >>conftest.$ac_ext <<_ACEOF
40118 /* end confdefs.h. */
40119
40120 #include <time.h>
40121
40122 int
40123 main ()
40124 {
40125
40126 int tz;
40127 tz = timezone;
40128
40129 ;
40130 return 0;
40131 }
40132 _ACEOF
40133 rm -f conftest.$ac_objext
40134 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40135 (eval $ac_compile) 2>conftest.er1
40136 ac_status=$?
40137 grep -v '^ *+' conftest.er1 >conftest.err
40138 rm -f conftest.er1
40139 cat conftest.err >&5
40140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40141 (exit $ac_status); } &&
40142 { ac_try='test -z "$ac_c_werror_flag"
40143 || test ! -s conftest.err'
40144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40145 (eval $ac_try) 2>&5
40146 ac_status=$?
40147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40148 (exit $ac_status); }; } &&
40149 { ac_try='test -s conftest.$ac_objext'
40150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40151 (eval $ac_try) 2>&5
40152 ac_status=$?
40153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40154 (exit $ac_status); }; }; then
40155
40156 wx_cv_var_timezone=timezone
40157
40158 else
40159 echo "$as_me: failed program was:" >&5
40160 sed 's/^/| /' conftest.$ac_ext >&5
40161
40162
40163 cat >conftest.$ac_ext <<_ACEOF
40164 /* confdefs.h. */
40165 _ACEOF
40166 cat confdefs.h >>conftest.$ac_ext
40167 cat >>conftest.$ac_ext <<_ACEOF
40168 /* end confdefs.h. */
40169
40170 #include <time.h>
40171
40172 int
40173 main ()
40174 {
40175
40176 int tz;
40177 tz = _timezone;
40178
40179 ;
40180 return 0;
40181 }
40182 _ACEOF
40183 rm -f conftest.$ac_objext
40184 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40185 (eval $ac_compile) 2>conftest.er1
40186 ac_status=$?
40187 grep -v '^ *+' conftest.er1 >conftest.err
40188 rm -f conftest.er1
40189 cat conftest.err >&5
40190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40191 (exit $ac_status); } &&
40192 { ac_try='test -z "$ac_c_werror_flag"
40193 || test ! -s conftest.err'
40194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40195 (eval $ac_try) 2>&5
40196 ac_status=$?
40197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40198 (exit $ac_status); }; } &&
40199 { ac_try='test -s conftest.$ac_objext'
40200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40201 (eval $ac_try) 2>&5
40202 ac_status=$?
40203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40204 (exit $ac_status); }; }; then
40205
40206 wx_cv_var_timezone=_timezone
40207
40208 else
40209 echo "$as_me: failed program was:" >&5
40210 sed 's/^/| /' conftest.$ac_ext >&5
40211
40212
40213 cat >conftest.$ac_ext <<_ACEOF
40214 /* confdefs.h. */
40215 _ACEOF
40216 cat confdefs.h >>conftest.$ac_ext
40217 cat >>conftest.$ac_ext <<_ACEOF
40218 /* end confdefs.h. */
40219
40220 #include <time.h>
40221
40222 int
40223 main ()
40224 {
40225
40226 int tz;
40227 tz = __timezone;
40228
40229 ;
40230 return 0;
40231 }
40232 _ACEOF
40233 rm -f conftest.$ac_objext
40234 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40235 (eval $ac_compile) 2>conftest.er1
40236 ac_status=$?
40237 grep -v '^ *+' conftest.er1 >conftest.err
40238 rm -f conftest.er1
40239 cat conftest.err >&5
40240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40241 (exit $ac_status); } &&
40242 { ac_try='test -z "$ac_c_werror_flag"
40243 || test ! -s conftest.err'
40244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40245 (eval $ac_try) 2>&5
40246 ac_status=$?
40247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40248 (exit $ac_status); }; } &&
40249 { ac_try='test -s conftest.$ac_objext'
40250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40251 (eval $ac_try) 2>&5
40252 ac_status=$?
40253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40254 (exit $ac_status); }; }; then
40255
40256 wx_cv_var_timezone=__timezone
40257
40258 else
40259 echo "$as_me: failed program was:" >&5
40260 sed 's/^/| /' conftest.$ac_ext >&5
40261
40262
40263 if test "$USE_DOS" = 0 ; then
40264 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
40265 echo "$as_me: WARNING: no timezone variable" >&2;}
40266 fi
40267
40268
40269 fi
40270 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40271
40272
40273 fi
40274 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40275
40276
40277 fi
40278 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40279
40280
40281 fi
40282 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
40283 echo "${ECHO_T}$wx_cv_var_timezone" >&6
40284
40285 if test "x$wx_cv_var_timezone" != x ; then
40286 cat >>confdefs.h <<_ACEOF
40287 #define WX_TIMEZONE $wx_cv_var_timezone
40288 _ACEOF
40289
40290 fi
40291
40292
40293 for ac_func in localtime
40294 do
40295 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40296 echo "$as_me:$LINENO: checking for $ac_func" >&5
40297 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40298 if eval "test \"\${$as_ac_var+set}\" = set"; then
40299 echo $ECHO_N "(cached) $ECHO_C" >&6
40300 else
40301 cat >conftest.$ac_ext <<_ACEOF
40302 /* confdefs.h. */
40303 _ACEOF
40304 cat confdefs.h >>conftest.$ac_ext
40305 cat >>conftest.$ac_ext <<_ACEOF
40306 /* end confdefs.h. */
40307 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40308 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40309 #define $ac_func innocuous_$ac_func
40310
40311 /* System header to define __stub macros and hopefully few prototypes,
40312 which can conflict with char $ac_func (); below.
40313 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40314 <limits.h> exists even on freestanding compilers. */
40315
40316 #ifdef __STDC__
40317 # include <limits.h>
40318 #else
40319 # include <assert.h>
40320 #endif
40321
40322 #undef $ac_func
40323
40324 /* Override any gcc2 internal prototype to avoid an error. */
40325 #ifdef __cplusplus
40326 extern "C"
40327 {
40328 #endif
40329 /* We use char because int might match the return type of a gcc2
40330 builtin and then its argument prototype would still apply. */
40331 char $ac_func ();
40332 /* The GNU C library defines this for functions which it implements
40333 to always fail with ENOSYS. Some functions are actually named
40334 something starting with __ and the normal name is an alias. */
40335 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40336 choke me
40337 #else
40338 char (*f) () = $ac_func;
40339 #endif
40340 #ifdef __cplusplus
40341 }
40342 #endif
40343
40344 int
40345 main ()
40346 {
40347 return f != $ac_func;
40348 ;
40349 return 0;
40350 }
40351 _ACEOF
40352 rm -f conftest.$ac_objext conftest$ac_exeext
40353 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40354 (eval $ac_link) 2>conftest.er1
40355 ac_status=$?
40356 grep -v '^ *+' conftest.er1 >conftest.err
40357 rm -f conftest.er1
40358 cat conftest.err >&5
40359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40360 (exit $ac_status); } &&
40361 { ac_try='test -z "$ac_c_werror_flag"
40362 || test ! -s conftest.err'
40363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40364 (eval $ac_try) 2>&5
40365 ac_status=$?
40366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40367 (exit $ac_status); }; } &&
40368 { ac_try='test -s conftest$ac_exeext'
40369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40370 (eval $ac_try) 2>&5
40371 ac_status=$?
40372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40373 (exit $ac_status); }; }; then
40374 eval "$as_ac_var=yes"
40375 else
40376 echo "$as_me: failed program was:" >&5
40377 sed 's/^/| /' conftest.$ac_ext >&5
40378
40379 eval "$as_ac_var=no"
40380 fi
40381 rm -f conftest.err conftest.$ac_objext \
40382 conftest$ac_exeext conftest.$ac_ext
40383 fi
40384 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40385 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40386 if test `eval echo '${'$as_ac_var'}'` = yes; then
40387 cat >>confdefs.h <<_ACEOF
40388 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40389 _ACEOF
40390
40391 fi
40392 done
40393
40394
40395 if test "$ac_cv_func_localtime" = "yes"; then
40396 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
40397 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
40398 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
40399 echo $ECHO_N "(cached) $ECHO_C" >&6
40400 else
40401
40402 cat >conftest.$ac_ext <<_ACEOF
40403 /* confdefs.h. */
40404 _ACEOF
40405 cat confdefs.h >>conftest.$ac_ext
40406 cat >>conftest.$ac_ext <<_ACEOF
40407 /* end confdefs.h. */
40408
40409 #include <time.h>
40410
40411 int
40412 main ()
40413 {
40414
40415 struct tm tm;
40416 tm.tm_gmtoff++;
40417
40418 ;
40419 return 0;
40420 }
40421 _ACEOF
40422 rm -f conftest.$ac_objext
40423 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40424 (eval $ac_compile) 2>conftest.er1
40425 ac_status=$?
40426 grep -v '^ *+' conftest.er1 >conftest.err
40427 rm -f conftest.er1
40428 cat conftest.err >&5
40429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40430 (exit $ac_status); } &&
40431 { ac_try='test -z "$ac_c_werror_flag"
40432 || test ! -s conftest.err'
40433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40434 (eval $ac_try) 2>&5
40435 ac_status=$?
40436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40437 (exit $ac_status); }; } &&
40438 { ac_try='test -s conftest.$ac_objext'
40439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40440 (eval $ac_try) 2>&5
40441 ac_status=$?
40442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40443 (exit $ac_status); }; }; then
40444
40445 wx_cv_struct_tm_has_gmtoff=yes
40446
40447 else
40448 echo "$as_me: failed program was:" >&5
40449 sed 's/^/| /' conftest.$ac_ext >&5
40450
40451 wx_cv_struct_tm_has_gmtoff=no
40452
40453 fi
40454 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40455
40456 fi
40457 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
40458 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
40459 fi
40460
40461 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
40462 cat >>confdefs.h <<\_ACEOF
40463 #define WX_GMTOFF_IN_TM 1
40464 _ACEOF
40465
40466 fi
40467
40468
40469
40470 for ac_func in gettimeofday ftime
40471 do
40472 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40473 echo "$as_me:$LINENO: checking for $ac_func" >&5
40474 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40475 if eval "test \"\${$as_ac_var+set}\" = set"; then
40476 echo $ECHO_N "(cached) $ECHO_C" >&6
40477 else
40478 cat >conftest.$ac_ext <<_ACEOF
40479 /* confdefs.h. */
40480 _ACEOF
40481 cat confdefs.h >>conftest.$ac_ext
40482 cat >>conftest.$ac_ext <<_ACEOF
40483 /* end confdefs.h. */
40484 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40485 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40486 #define $ac_func innocuous_$ac_func
40487
40488 /* System header to define __stub macros and hopefully few prototypes,
40489 which can conflict with char $ac_func (); below.
40490 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40491 <limits.h> exists even on freestanding compilers. */
40492
40493 #ifdef __STDC__
40494 # include <limits.h>
40495 #else
40496 # include <assert.h>
40497 #endif
40498
40499 #undef $ac_func
40500
40501 /* Override any gcc2 internal prototype to avoid an error. */
40502 #ifdef __cplusplus
40503 extern "C"
40504 {
40505 #endif
40506 /* We use char because int might match the return type of a gcc2
40507 builtin and then its argument prototype would still apply. */
40508 char $ac_func ();
40509 /* The GNU C library defines this for functions which it implements
40510 to always fail with ENOSYS. Some functions are actually named
40511 something starting with __ and the normal name is an alias. */
40512 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40513 choke me
40514 #else
40515 char (*f) () = $ac_func;
40516 #endif
40517 #ifdef __cplusplus
40518 }
40519 #endif
40520
40521 int
40522 main ()
40523 {
40524 return f != $ac_func;
40525 ;
40526 return 0;
40527 }
40528 _ACEOF
40529 rm -f conftest.$ac_objext conftest$ac_exeext
40530 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40531 (eval $ac_link) 2>conftest.er1
40532 ac_status=$?
40533 grep -v '^ *+' conftest.er1 >conftest.err
40534 rm -f conftest.er1
40535 cat conftest.err >&5
40536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40537 (exit $ac_status); } &&
40538 { ac_try='test -z "$ac_c_werror_flag"
40539 || test ! -s conftest.err'
40540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40541 (eval $ac_try) 2>&5
40542 ac_status=$?
40543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40544 (exit $ac_status); }; } &&
40545 { ac_try='test -s conftest$ac_exeext'
40546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40547 (eval $ac_try) 2>&5
40548 ac_status=$?
40549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40550 (exit $ac_status); }; }; then
40551 eval "$as_ac_var=yes"
40552 else
40553 echo "$as_me: failed program was:" >&5
40554 sed 's/^/| /' conftest.$ac_ext >&5
40555
40556 eval "$as_ac_var=no"
40557 fi
40558 rm -f conftest.err conftest.$ac_objext \
40559 conftest$ac_exeext conftest.$ac_ext
40560 fi
40561 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40562 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40563 if test `eval echo '${'$as_ac_var'}'` = yes; then
40564 cat >>confdefs.h <<_ACEOF
40565 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40566 _ACEOF
40567 break
40568 fi
40569 done
40570
40571
40572 if test "$ac_cv_func_gettimeofday" = "yes"; then
40573 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
40574 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
40575 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
40576 echo $ECHO_N "(cached) $ECHO_C" >&6
40577 else
40578
40579
40580
40581 ac_ext=cc
40582 ac_cpp='$CXXCPP $CPPFLAGS'
40583 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40584 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40585 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40586
40587
40588 cat >conftest.$ac_ext <<_ACEOF
40589 /* confdefs.h. */
40590 _ACEOF
40591 cat confdefs.h >>conftest.$ac_ext
40592 cat >>conftest.$ac_ext <<_ACEOF
40593 /* end confdefs.h. */
40594
40595 #include <sys/time.h>
40596 #include <unistd.h>
40597
40598 int
40599 main ()
40600 {
40601
40602 struct timeval tv;
40603 gettimeofday(&tv, NULL);
40604
40605 ;
40606 return 0;
40607 }
40608 _ACEOF
40609 rm -f conftest.$ac_objext
40610 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40611 (eval $ac_compile) 2>conftest.er1
40612 ac_status=$?
40613 grep -v '^ *+' conftest.er1 >conftest.err
40614 rm -f conftest.er1
40615 cat conftest.err >&5
40616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40617 (exit $ac_status); } &&
40618 { ac_try='test -z "$ac_cxx_werror_flag"
40619 || test ! -s conftest.err'
40620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40621 (eval $ac_try) 2>&5
40622 ac_status=$?
40623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40624 (exit $ac_status); }; } &&
40625 { ac_try='test -s conftest.$ac_objext'
40626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40627 (eval $ac_try) 2>&5
40628 ac_status=$?
40629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40630 (exit $ac_status); }; }; then
40631 wx_cv_func_gettimeofday_has_2_args=yes
40632 else
40633 echo "$as_me: failed program was:" >&5
40634 sed 's/^/| /' conftest.$ac_ext >&5
40635
40636 cat >conftest.$ac_ext <<_ACEOF
40637 /* confdefs.h. */
40638 _ACEOF
40639 cat confdefs.h >>conftest.$ac_ext
40640 cat >>conftest.$ac_ext <<_ACEOF
40641 /* end confdefs.h. */
40642
40643 #include <sys/time.h>
40644 #include <unistd.h>
40645
40646 int
40647 main ()
40648 {
40649
40650 struct timeval tv;
40651 gettimeofday(&tv);
40652
40653 ;
40654 return 0;
40655 }
40656 _ACEOF
40657 rm -f conftest.$ac_objext
40658 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40659 (eval $ac_compile) 2>conftest.er1
40660 ac_status=$?
40661 grep -v '^ *+' conftest.er1 >conftest.err
40662 rm -f conftest.er1
40663 cat conftest.err >&5
40664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40665 (exit $ac_status); } &&
40666 { ac_try='test -z "$ac_cxx_werror_flag"
40667 || test ! -s conftest.err'
40668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40669 (eval $ac_try) 2>&5
40670 ac_status=$?
40671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40672 (exit $ac_status); }; } &&
40673 { ac_try='test -s conftest.$ac_objext'
40674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40675 (eval $ac_try) 2>&5
40676 ac_status=$?
40677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40678 (exit $ac_status); }; }; then
40679 wx_cv_func_gettimeofday_has_2_args=no
40680 else
40681 echo "$as_me: failed program was:" >&5
40682 sed 's/^/| /' conftest.$ac_ext >&5
40683
40684
40685 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
40686 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
40687 wx_cv_func_gettimeofday_has_2_args=unknown
40688
40689
40690 fi
40691 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40692
40693 fi
40694 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40695 ac_ext=c
40696 ac_cpp='$CPP $CPPFLAGS'
40697 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40698 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40699 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40700
40701
40702 fi
40703 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
40704 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
40705
40706 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
40707 cat >>confdefs.h <<\_ACEOF
40708 #define WX_GETTIMEOFDAY_NO_TZ 1
40709 _ACEOF
40710
40711 fi
40712 fi
40713
40714 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
40715 fi
40716
40717
40718 if test "$wxUSE_SOCKETS" = "yes"; then
40719 if test "$wxUSE_MGL" = "1"; then
40720 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
40721 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
40722 wxUSE_SOCKETS="no"
40723 fi
40724 fi
40725
40726 if test "$wxUSE_SOCKETS" = "yes"; then
40727 if test "$TOOLKIT" != "MSW"; then
40728 echo "$as_me:$LINENO: checking for socket" >&5
40729 echo $ECHO_N "checking for socket... $ECHO_C" >&6
40730 if test "${ac_cv_func_socket+set}" = set; then
40731 echo $ECHO_N "(cached) $ECHO_C" >&6
40732 else
40733 cat >conftest.$ac_ext <<_ACEOF
40734 /* confdefs.h. */
40735 _ACEOF
40736 cat confdefs.h >>conftest.$ac_ext
40737 cat >>conftest.$ac_ext <<_ACEOF
40738 /* end confdefs.h. */
40739 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
40740 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40741 #define socket innocuous_socket
40742
40743 /* System header to define __stub macros and hopefully few prototypes,
40744 which can conflict with char socket (); below.
40745 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40746 <limits.h> exists even on freestanding compilers. */
40747
40748 #ifdef __STDC__
40749 # include <limits.h>
40750 #else
40751 # include <assert.h>
40752 #endif
40753
40754 #undef socket
40755
40756 /* Override any gcc2 internal prototype to avoid an error. */
40757 #ifdef __cplusplus
40758 extern "C"
40759 {
40760 #endif
40761 /* We use char because int might match the return type of a gcc2
40762 builtin and then its argument prototype would still apply. */
40763 char socket ();
40764 /* The GNU C library defines this for functions which it implements
40765 to always fail with ENOSYS. Some functions are actually named
40766 something starting with __ and the normal name is an alias. */
40767 #if defined (__stub_socket) || defined (__stub___socket)
40768 choke me
40769 #else
40770 char (*f) () = socket;
40771 #endif
40772 #ifdef __cplusplus
40773 }
40774 #endif
40775
40776 int
40777 main ()
40778 {
40779 return f != socket;
40780 ;
40781 return 0;
40782 }
40783 _ACEOF
40784 rm -f conftest.$ac_objext conftest$ac_exeext
40785 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40786 (eval $ac_link) 2>conftest.er1
40787 ac_status=$?
40788 grep -v '^ *+' conftest.er1 >conftest.err
40789 rm -f conftest.er1
40790 cat conftest.err >&5
40791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40792 (exit $ac_status); } &&
40793 { ac_try='test -z "$ac_c_werror_flag"
40794 || test ! -s conftest.err'
40795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40796 (eval $ac_try) 2>&5
40797 ac_status=$?
40798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40799 (exit $ac_status); }; } &&
40800 { ac_try='test -s conftest$ac_exeext'
40801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40802 (eval $ac_try) 2>&5
40803 ac_status=$?
40804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40805 (exit $ac_status); }; }; then
40806 ac_cv_func_socket=yes
40807 else
40808 echo "$as_me: failed program was:" >&5
40809 sed 's/^/| /' conftest.$ac_ext >&5
40810
40811 ac_cv_func_socket=no
40812 fi
40813 rm -f conftest.err conftest.$ac_objext \
40814 conftest$ac_exeext conftest.$ac_ext
40815 fi
40816 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
40817 echo "${ECHO_T}$ac_cv_func_socket" >&6
40818 if test $ac_cv_func_socket = yes; then
40819 :
40820 else
40821
40822 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
40823 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
40824 if test "${ac_cv_lib_socket_socket+set}" = set; then
40825 echo $ECHO_N "(cached) $ECHO_C" >&6
40826 else
40827 ac_check_lib_save_LIBS=$LIBS
40828 LIBS="-lsocket $LIBS"
40829 cat >conftest.$ac_ext <<_ACEOF
40830 /* confdefs.h. */
40831 _ACEOF
40832 cat confdefs.h >>conftest.$ac_ext
40833 cat >>conftest.$ac_ext <<_ACEOF
40834 /* end confdefs.h. */
40835
40836 /* Override any gcc2 internal prototype to avoid an error. */
40837 #ifdef __cplusplus
40838 extern "C"
40839 #endif
40840 /* We use char because int might match the return type of a gcc2
40841 builtin and then its argument prototype would still apply. */
40842 char socket ();
40843 int
40844 main ()
40845 {
40846 socket ();
40847 ;
40848 return 0;
40849 }
40850 _ACEOF
40851 rm -f conftest.$ac_objext conftest$ac_exeext
40852 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40853 (eval $ac_link) 2>conftest.er1
40854 ac_status=$?
40855 grep -v '^ *+' conftest.er1 >conftest.err
40856 rm -f conftest.er1
40857 cat conftest.err >&5
40858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40859 (exit $ac_status); } &&
40860 { ac_try='test -z "$ac_c_werror_flag"
40861 || test ! -s conftest.err'
40862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40863 (eval $ac_try) 2>&5
40864 ac_status=$?
40865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40866 (exit $ac_status); }; } &&
40867 { ac_try='test -s conftest$ac_exeext'
40868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40869 (eval $ac_try) 2>&5
40870 ac_status=$?
40871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40872 (exit $ac_status); }; }; then
40873 ac_cv_lib_socket_socket=yes
40874 else
40875 echo "$as_me: failed program was:" >&5
40876 sed 's/^/| /' conftest.$ac_ext >&5
40877
40878 ac_cv_lib_socket_socket=no
40879 fi
40880 rm -f conftest.err conftest.$ac_objext \
40881 conftest$ac_exeext conftest.$ac_ext
40882 LIBS=$ac_check_lib_save_LIBS
40883 fi
40884 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
40885 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
40886 if test $ac_cv_lib_socket_socket = yes; then
40887 if test "$INET_LINK" != " -lsocket"; then
40888 INET_LINK="$INET_LINK -lsocket"
40889 fi
40890 else
40891
40892 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
40893 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
40894 wxUSE_SOCKETS=no
40895
40896
40897 fi
40898
40899
40900
40901 fi
40902
40903 fi
40904 fi
40905
40906 if test "$wxUSE_SOCKETS" = "yes" ; then
40907 if test "$TOOLKIT" != "MSW"; then
40908 ac_ext=cc
40909 ac_cpp='$CXXCPP $CPPFLAGS'
40910 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40911 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40912 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40913
40914 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
40915 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
40916 if test "${wx_cv_type_getsockname3+set}" = set; then
40917 echo $ECHO_N "(cached) $ECHO_C" >&6
40918 else
40919
40920 cat >conftest.$ac_ext <<_ACEOF
40921 /* confdefs.h. */
40922 _ACEOF
40923 cat confdefs.h >>conftest.$ac_ext
40924 cat >>conftest.$ac_ext <<_ACEOF
40925 /* end confdefs.h. */
40926
40927 #include <sys/types.h>
40928 #include <sys/socket.h>
40929
40930 int
40931 main ()
40932 {
40933
40934 socklen_t len;
40935 getsockname(0, 0, &len);
40936
40937 ;
40938 return 0;
40939 }
40940 _ACEOF
40941 rm -f conftest.$ac_objext
40942 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40943 (eval $ac_compile) 2>conftest.er1
40944 ac_status=$?
40945 grep -v '^ *+' conftest.er1 >conftest.err
40946 rm -f conftest.er1
40947 cat conftest.err >&5
40948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40949 (exit $ac_status); } &&
40950 { ac_try='test -z "$ac_cxx_werror_flag"
40951 || test ! -s conftest.err'
40952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40953 (eval $ac_try) 2>&5
40954 ac_status=$?
40955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40956 (exit $ac_status); }; } &&
40957 { ac_try='test -s conftest.$ac_objext'
40958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40959 (eval $ac_try) 2>&5
40960 ac_status=$?
40961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40962 (exit $ac_status); }; }; then
40963 wx_cv_type_getsockname3=socklen_t
40964 else
40965 echo "$as_me: failed program was:" >&5
40966 sed 's/^/| /' conftest.$ac_ext >&5
40967
40968
40969 CXXFLAGS_OLD="$CXXFLAGS"
40970 if test "$GCC" = yes ; then
40971 CXXFLAGS="$CXXFLAGS -Werror"
40972 fi
40973
40974 cat >conftest.$ac_ext <<_ACEOF
40975 /* confdefs.h. */
40976 _ACEOF
40977 cat confdefs.h >>conftest.$ac_ext
40978 cat >>conftest.$ac_ext <<_ACEOF
40979 /* end confdefs.h. */
40980
40981 #include <sys/types.h>
40982 #include <sys/socket.h>
40983
40984 int
40985 main ()
40986 {
40987
40988 size_t len;
40989 getsockname(0, 0, &len);
40990
40991 ;
40992 return 0;
40993 }
40994 _ACEOF
40995 rm -f conftest.$ac_objext
40996 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40997 (eval $ac_compile) 2>conftest.er1
40998 ac_status=$?
40999 grep -v '^ *+' conftest.er1 >conftest.err
41000 rm -f conftest.er1
41001 cat conftest.err >&5
41002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41003 (exit $ac_status); } &&
41004 { ac_try='test -z "$ac_cxx_werror_flag"
41005 || test ! -s conftest.err'
41006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41007 (eval $ac_try) 2>&5
41008 ac_status=$?
41009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41010 (exit $ac_status); }; } &&
41011 { ac_try='test -s conftest.$ac_objext'
41012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41013 (eval $ac_try) 2>&5
41014 ac_status=$?
41015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41016 (exit $ac_status); }; }; then
41017 wx_cv_type_getsockname3=size_t
41018 else
41019 echo "$as_me: failed program was:" >&5
41020 sed 's/^/| /' conftest.$ac_ext >&5
41021
41022 cat >conftest.$ac_ext <<_ACEOF
41023 /* confdefs.h. */
41024 _ACEOF
41025 cat confdefs.h >>conftest.$ac_ext
41026 cat >>conftest.$ac_ext <<_ACEOF
41027 /* end confdefs.h. */
41028
41029 #include <sys/types.h>
41030 #include <sys/socket.h>
41031
41032 int
41033 main ()
41034 {
41035
41036 int len;
41037 getsockname(0, 0, &len);
41038
41039 ;
41040 return 0;
41041 }
41042 _ACEOF
41043 rm -f conftest.$ac_objext
41044 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41045 (eval $ac_compile) 2>conftest.er1
41046 ac_status=$?
41047 grep -v '^ *+' conftest.er1 >conftest.err
41048 rm -f conftest.er1
41049 cat conftest.err >&5
41050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41051 (exit $ac_status); } &&
41052 { ac_try='test -z "$ac_cxx_werror_flag"
41053 || test ! -s conftest.err'
41054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41055 (eval $ac_try) 2>&5
41056 ac_status=$?
41057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41058 (exit $ac_status); }; } &&
41059 { ac_try='test -s conftest.$ac_objext'
41060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41061 (eval $ac_try) 2>&5
41062 ac_status=$?
41063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41064 (exit $ac_status); }; }; then
41065 wx_cv_type_getsockname3=int
41066 else
41067 echo "$as_me: failed program was:" >&5
41068 sed 's/^/| /' conftest.$ac_ext >&5
41069
41070 wx_cv_type_getsockname3=unknown
41071
41072 fi
41073 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41074
41075 fi
41076 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41077
41078 CXXFLAGS="$CXXFLAGS_OLD"
41079
41080
41081 fi
41082 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41083
41084 fi
41085 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
41086 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
41087
41088 if test "$wx_cv_type_getsockname3" = "unknown"; then
41089 wxUSE_SOCKETS=no
41090 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
41091 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
41092 else
41093 cat >>confdefs.h <<_ACEOF
41094 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
41095 _ACEOF
41096
41097 fi
41098 echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
41099 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6
41100 if test "${wx_cv_type_getsockopt5+set}" = set; then
41101 echo $ECHO_N "(cached) $ECHO_C" >&6
41102 else
41103
41104 cat >conftest.$ac_ext <<_ACEOF
41105 /* confdefs.h. */
41106 _ACEOF
41107 cat confdefs.h >>conftest.$ac_ext
41108 cat >>conftest.$ac_ext <<_ACEOF
41109 /* end confdefs.h. */
41110
41111 #include <sys/types.h>
41112 #include <sys/socket.h>
41113
41114 int
41115 main ()
41116 {
41117
41118 socklen_t len;
41119 getsockopt(0, 0, 0, 0, &len);
41120
41121 ;
41122 return 0;
41123 }
41124 _ACEOF
41125 rm -f conftest.$ac_objext
41126 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41127 (eval $ac_compile) 2>conftest.er1
41128 ac_status=$?
41129 grep -v '^ *+' conftest.er1 >conftest.err
41130 rm -f conftest.er1
41131 cat conftest.err >&5
41132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41133 (exit $ac_status); } &&
41134 { ac_try='test -z "$ac_cxx_werror_flag"
41135 || test ! -s conftest.err'
41136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41137 (eval $ac_try) 2>&5
41138 ac_status=$?
41139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41140 (exit $ac_status); }; } &&
41141 { ac_try='test -s conftest.$ac_objext'
41142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41143 (eval $ac_try) 2>&5
41144 ac_status=$?
41145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41146 (exit $ac_status); }; }; then
41147 wx_cv_type_getsockopt5=socklen_t
41148 else
41149 echo "$as_me: failed program was:" >&5
41150 sed 's/^/| /' conftest.$ac_ext >&5
41151
41152
41153 CXXFLAGS_OLD="$CXXFLAGS"
41154 if test "$GCC" = yes ; then
41155 CXXFLAGS="$CXXFLAGS -Werror"
41156 fi
41157
41158 cat >conftest.$ac_ext <<_ACEOF
41159 /* confdefs.h. */
41160 _ACEOF
41161 cat confdefs.h >>conftest.$ac_ext
41162 cat >>conftest.$ac_ext <<_ACEOF
41163 /* end confdefs.h. */
41164
41165 #include <sys/types.h>
41166 #include <sys/socket.h>
41167
41168 int
41169 main ()
41170 {
41171
41172 size_t len;
41173 getsockopt(0, 0, 0, 0, &len);
41174
41175 ;
41176 return 0;
41177 }
41178 _ACEOF
41179 rm -f conftest.$ac_objext
41180 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41181 (eval $ac_compile) 2>conftest.er1
41182 ac_status=$?
41183 grep -v '^ *+' conftest.er1 >conftest.err
41184 rm -f conftest.er1
41185 cat conftest.err >&5
41186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41187 (exit $ac_status); } &&
41188 { ac_try='test -z "$ac_cxx_werror_flag"
41189 || test ! -s conftest.err'
41190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41191 (eval $ac_try) 2>&5
41192 ac_status=$?
41193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41194 (exit $ac_status); }; } &&
41195 { ac_try='test -s conftest.$ac_objext'
41196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41197 (eval $ac_try) 2>&5
41198 ac_status=$?
41199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41200 (exit $ac_status); }; }; then
41201 wx_cv_type_getsockopt5=size_t
41202 else
41203 echo "$as_me: failed program was:" >&5
41204 sed 's/^/| /' conftest.$ac_ext >&5
41205
41206 cat >conftest.$ac_ext <<_ACEOF
41207 /* confdefs.h. */
41208 _ACEOF
41209 cat confdefs.h >>conftest.$ac_ext
41210 cat >>conftest.$ac_ext <<_ACEOF
41211 /* end confdefs.h. */
41212
41213 #include <sys/types.h>
41214 #include <sys/socket.h>
41215
41216 int
41217 main ()
41218 {
41219
41220 int len;
41221 getsockopt(0, 0, 0, 0, &len);
41222
41223 ;
41224 return 0;
41225 }
41226 _ACEOF
41227 rm -f conftest.$ac_objext
41228 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41229 (eval $ac_compile) 2>conftest.er1
41230 ac_status=$?
41231 grep -v '^ *+' conftest.er1 >conftest.err
41232 rm -f conftest.er1
41233 cat conftest.err >&5
41234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41235 (exit $ac_status); } &&
41236 { ac_try='test -z "$ac_cxx_werror_flag"
41237 || test ! -s conftest.err'
41238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41239 (eval $ac_try) 2>&5
41240 ac_status=$?
41241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41242 (exit $ac_status); }; } &&
41243 { ac_try='test -s conftest.$ac_objext'
41244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41245 (eval $ac_try) 2>&5
41246 ac_status=$?
41247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41248 (exit $ac_status); }; }; then
41249 wx_cv_type_getsockopt5=int
41250 else
41251 echo "$as_me: failed program was:" >&5
41252 sed 's/^/| /' conftest.$ac_ext >&5
41253
41254 wx_cv_type_getsockopt5=unknown
41255
41256 fi
41257 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41258
41259 fi
41260 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41261
41262 CXXFLAGS="$CXXFLAGS_OLD"
41263
41264
41265 fi
41266 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41267
41268 fi
41269 echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
41270 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6
41271
41272 if test "$wx_cv_type_getsockopt5" = "unknown"; then
41273 wxUSE_SOCKETS=no
41274 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
41275 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
41276 else
41277 cat >>confdefs.h <<_ACEOF
41278 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
41279 _ACEOF
41280
41281 fi
41282 ac_ext=c
41283 ac_cpp='$CPP $CPPFLAGS'
41284 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41285 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41286 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41287
41288 fi
41289 fi
41290
41291 if test "$wxUSE_SOCKETS" = "yes" ; then
41292 cat >>confdefs.h <<\_ACEOF
41293 #define wxUSE_SOCKETS 1
41294 _ACEOF
41295
41296 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
41297 fi
41298
41299 if test "$wxUSE_PROTOCOL" = "yes"; then
41300 if test "$wxUSE_SOCKETS" != "yes"; then
41301 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
41302 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
41303 wxUSE_PROTOCOL=no
41304 fi
41305 fi
41306
41307 if test "$wxUSE_PROTOCOL" = "yes"; then
41308 cat >>confdefs.h <<\_ACEOF
41309 #define wxUSE_PROTOCOL 1
41310 _ACEOF
41311
41312
41313 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
41314 cat >>confdefs.h <<\_ACEOF
41315 #define wxUSE_PROTOCOL_HTTP 1
41316 _ACEOF
41317
41318 fi
41319 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
41320 cat >>confdefs.h <<\_ACEOF
41321 #define wxUSE_PROTOCOL_FTP 1
41322 _ACEOF
41323
41324 fi
41325 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
41326 cat >>confdefs.h <<\_ACEOF
41327 #define wxUSE_PROTOCOL_FILE 1
41328 _ACEOF
41329
41330 fi
41331 else
41332 if test "$wxUSE_FS_INET" = "yes"; then
41333 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
41334 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
41335 wxUSE_FS_INET="no"
41336 fi
41337 fi
41338
41339 if test "$wxUSE_URL" = "yes"; then
41340 if test "$wxUSE_PROTOCOL" != "yes"; then
41341 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
41342 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
41343 wxUSE_URL=no
41344 fi
41345 if test "$wxUSE_URL" = "yes"; then
41346 cat >>confdefs.h <<\_ACEOF
41347 #define wxUSE_URL 1
41348 _ACEOF
41349
41350 fi
41351 fi
41352
41353 if test "$wxUSE_FS_INET" = "yes"; then
41354 cat >>confdefs.h <<\_ACEOF
41355 #define wxUSE_FS_INET 1
41356 _ACEOF
41357
41358 fi
41359
41360
41361 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
41362 wxUSE_JOYSTICK=no
41363
41364 if test "$TOOLKIT" = "MSW"; then
41365 wxUSE_JOYSTICK=yes
41366
41367 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
41368 if test "$USE_DARWIN" = 1; then
41369 echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
41370 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6
41371 ac_ext=cc
41372 ac_cpp='$CXXCPP $CPPFLAGS'
41373 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41374 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41375 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41376
41377 cat >conftest.$ac_ext <<_ACEOF
41378 /* confdefs.h. */
41379 _ACEOF
41380 cat confdefs.h >>conftest.$ac_ext
41381 cat >>conftest.$ac_ext <<_ACEOF
41382 /* end confdefs.h. */
41383 #include <IOKit/hid/IOHIDLib.h>
41384 int
41385 main ()
41386 {
41387 IOHIDQueueInterface *qi = NULL;
41388 IOHIDCallbackFunction cb = NULL;
41389 qi->setEventCallout(NULL, cb, NULL, NULL);
41390 ;
41391 return 0;
41392 }
41393 _ACEOF
41394 rm -f conftest.$ac_objext
41395 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41396 (eval $ac_compile) 2>conftest.er1
41397 ac_status=$?
41398 grep -v '^ *+' conftest.er1 >conftest.err
41399 rm -f conftest.er1
41400 cat conftest.err >&5
41401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41402 (exit $ac_status); } &&
41403 { ac_try='test -z "$ac_cxx_werror_flag"
41404 || test ! -s conftest.err'
41405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41406 (eval $ac_try) 2>&5
41407 ac_status=$?
41408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41409 (exit $ac_status); }; } &&
41410 { ac_try='test -s conftest.$ac_objext'
41411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41412 (eval $ac_try) 2>&5
41413 ac_status=$?
41414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41415 (exit $ac_status); }; }; then
41416 wxUSE_JOYSTICK=yes
41417
41418 else
41419 echo "$as_me: failed program was:" >&5
41420 sed 's/^/| /' conftest.$ac_ext >&5
41421
41422 fi
41423 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41424 ac_ext=c
41425 ac_cpp='$CPP $CPPFLAGS'
41426 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41427 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41428 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41429
41430 echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
41431 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6
41432 fi
41433
41434 else
41435
41436 for ac_header in linux/joystick.h
41437 do
41438 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
41439 if eval "test \"\${$as_ac_Header+set}\" = set"; then
41440 echo "$as_me:$LINENO: checking for $ac_header" >&5
41441 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
41442 if eval "test \"\${$as_ac_Header+set}\" = set"; then
41443 echo $ECHO_N "(cached) $ECHO_C" >&6
41444 fi
41445 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
41446 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
41447 else
41448 # Is the header compilable?
41449 echo "$as_me:$LINENO: checking $ac_header usability" >&5
41450 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
41451 cat >conftest.$ac_ext <<_ACEOF
41452 /* confdefs.h. */
41453 _ACEOF
41454 cat confdefs.h >>conftest.$ac_ext
41455 cat >>conftest.$ac_ext <<_ACEOF
41456 /* end confdefs.h. */
41457 $ac_includes_default
41458 #include <$ac_header>
41459 _ACEOF
41460 rm -f conftest.$ac_objext
41461 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41462 (eval $ac_compile) 2>conftest.er1
41463 ac_status=$?
41464 grep -v '^ *+' conftest.er1 >conftest.err
41465 rm -f conftest.er1
41466 cat conftest.err >&5
41467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41468 (exit $ac_status); } &&
41469 { ac_try='test -z "$ac_c_werror_flag"
41470 || test ! -s conftest.err'
41471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41472 (eval $ac_try) 2>&5
41473 ac_status=$?
41474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41475 (exit $ac_status); }; } &&
41476 { ac_try='test -s conftest.$ac_objext'
41477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41478 (eval $ac_try) 2>&5
41479 ac_status=$?
41480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41481 (exit $ac_status); }; }; then
41482 ac_header_compiler=yes
41483 else
41484 echo "$as_me: failed program was:" >&5
41485 sed 's/^/| /' conftest.$ac_ext >&5
41486
41487 ac_header_compiler=no
41488 fi
41489 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41490 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
41491 echo "${ECHO_T}$ac_header_compiler" >&6
41492
41493 # Is the header present?
41494 echo "$as_me:$LINENO: checking $ac_header presence" >&5
41495 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
41496 cat >conftest.$ac_ext <<_ACEOF
41497 /* confdefs.h. */
41498 _ACEOF
41499 cat confdefs.h >>conftest.$ac_ext
41500 cat >>conftest.$ac_ext <<_ACEOF
41501 /* end confdefs.h. */
41502 #include <$ac_header>
41503 _ACEOF
41504 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
41505 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
41506 ac_status=$?
41507 grep -v '^ *+' conftest.er1 >conftest.err
41508 rm -f conftest.er1
41509 cat conftest.err >&5
41510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41511 (exit $ac_status); } >/dev/null; then
41512 if test -s conftest.err; then
41513 ac_cpp_err=$ac_c_preproc_warn_flag
41514 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
41515 else
41516 ac_cpp_err=
41517 fi
41518 else
41519 ac_cpp_err=yes
41520 fi
41521 if test -z "$ac_cpp_err"; then
41522 ac_header_preproc=yes
41523 else
41524 echo "$as_me: failed program was:" >&5
41525 sed 's/^/| /' conftest.$ac_ext >&5
41526
41527 ac_header_preproc=no
41528 fi
41529 rm -f conftest.err conftest.$ac_ext
41530 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
41531 echo "${ECHO_T}$ac_header_preproc" >&6
41532
41533 # So? What about this header?
41534 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
41535 yes:no: )
41536 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
41537 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
41538 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
41539 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
41540 ac_header_preproc=yes
41541 ;;
41542 no:yes:* )
41543 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
41544 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
41545 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
41546 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
41547 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
41548 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
41549 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
41550 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
41551 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
41552 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
41553 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
41554 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
41555 (
41556 cat <<\_ASBOX
41557 ## ----------------------------------------- ##
41558 ## Report this to wx-dev@lists.wxwidgets.org ##
41559 ## ----------------------------------------- ##
41560 _ASBOX
41561 ) |
41562 sed "s/^/$as_me: WARNING: /" >&2
41563 ;;
41564 esac
41565 echo "$as_me:$LINENO: checking for $ac_header" >&5
41566 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
41567 if eval "test \"\${$as_ac_Header+set}\" = set"; then
41568 echo $ECHO_N "(cached) $ECHO_C" >&6
41569 else
41570 eval "$as_ac_Header=\$ac_header_preproc"
41571 fi
41572 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
41573 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
41574
41575 fi
41576 if test `eval echo '${'$as_ac_Header'}'` = yes; then
41577 cat >>confdefs.h <<_ACEOF
41578 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
41579 _ACEOF
41580 wxUSE_JOYSTICK=yes
41581 fi
41582
41583 done
41584
41585 fi
41586
41587 if test "$wxUSE_JOYSTICK" = "yes"; then
41588 cat >>confdefs.h <<\_ACEOF
41589 #define wxUSE_JOYSTICK 1
41590 _ACEOF
41591
41592 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
41593 else
41594 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
41595 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
41596 fi
41597 fi
41598
41599
41600
41601 if test "$wxUSE_FONTMAP" = "yes" ; then
41602 cat >>confdefs.h <<\_ACEOF
41603 #define wxUSE_FONTMAP 1
41604 _ACEOF
41605
41606 fi
41607
41608 if test "$wxUSE_UNICODE" = "yes" ; then
41609 cat >>confdefs.h <<\_ACEOF
41610 #define wxUSE_UNICODE 1
41611 _ACEOF
41612
41613
41614 if test "$USE_WIN32" != 1; then
41615 wxUSE_UNICODE_MSLU=no
41616 fi
41617
41618 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
41619 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
41620 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
41621 if test "${ac_cv_lib_unicows_main+set}" = set; then
41622 echo $ECHO_N "(cached) $ECHO_C" >&6
41623 else
41624 ac_check_lib_save_LIBS=$LIBS
41625 LIBS="-lunicows $LIBS"
41626 cat >conftest.$ac_ext <<_ACEOF
41627 /* confdefs.h. */
41628 _ACEOF
41629 cat confdefs.h >>conftest.$ac_ext
41630 cat >>conftest.$ac_ext <<_ACEOF
41631 /* end confdefs.h. */
41632
41633
41634 int
41635 main ()
41636 {
41637 main ();
41638 ;
41639 return 0;
41640 }
41641 _ACEOF
41642 rm -f conftest.$ac_objext conftest$ac_exeext
41643 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41644 (eval $ac_link) 2>conftest.er1
41645 ac_status=$?
41646 grep -v '^ *+' conftest.er1 >conftest.err
41647 rm -f conftest.er1
41648 cat conftest.err >&5
41649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41650 (exit $ac_status); } &&
41651 { ac_try='test -z "$ac_c_werror_flag"
41652 || test ! -s conftest.err'
41653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41654 (eval $ac_try) 2>&5
41655 ac_status=$?
41656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41657 (exit $ac_status); }; } &&
41658 { ac_try='test -s conftest$ac_exeext'
41659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41660 (eval $ac_try) 2>&5
41661 ac_status=$?
41662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41663 (exit $ac_status); }; }; then
41664 ac_cv_lib_unicows_main=yes
41665 else
41666 echo "$as_me: failed program was:" >&5
41667 sed 's/^/| /' conftest.$ac_ext >&5
41668
41669 ac_cv_lib_unicows_main=no
41670 fi
41671 rm -f conftest.err conftest.$ac_objext \
41672 conftest$ac_exeext conftest.$ac_ext
41673 LIBS=$ac_check_lib_save_LIBS
41674 fi
41675 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
41676 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
41677 if test $ac_cv_lib_unicows_main = yes; then
41678
41679 cat >>confdefs.h <<\_ACEOF
41680 #define wxUSE_UNICODE_MSLU 1
41681 _ACEOF
41682
41683
41684 else
41685
41686 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
41687 Applications will only run on Windows NT/2000/XP!" >&5
41688 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
41689 Applications will only run on Windows NT/2000/XP!" >&2;}
41690 wxUSE_UNICODE_MSLU=no
41691
41692 fi
41693
41694 fi
41695 fi
41696
41697 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
41698 cat >>confdefs.h <<\_ACEOF
41699 #define wxUSE_EXPERIMENTAL_PRINTF 1
41700 _ACEOF
41701
41702 fi
41703
41704
41705 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
41706 cat >>confdefs.h <<\_ACEOF
41707 #define wxUSE_POSTSCRIPT 1
41708 _ACEOF
41709
41710 fi
41711
41712 cat >>confdefs.h <<\_ACEOF
41713 #define wxUSE_AFM_FOR_POSTSCRIPT 1
41714 _ACEOF
41715
41716
41717 cat >>confdefs.h <<\_ACEOF
41718 #define wxUSE_NORMALIZED_PS_FONTS 1
41719 _ACEOF
41720
41721
41722
41723 if test "$wxUSE_CONSTRAINTS" = "yes"; then
41724 cat >>confdefs.h <<\_ACEOF
41725 #define wxUSE_CONSTRAINTS 1
41726 _ACEOF
41727
41728 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
41729 fi
41730
41731 if test "$wxUSE_MDI" = "yes"; then
41732 cat >>confdefs.h <<\_ACEOF
41733 #define wxUSE_MDI 1
41734 _ACEOF
41735
41736
41737 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
41738 cat >>confdefs.h <<\_ACEOF
41739 #define wxUSE_MDI_ARCHITECTURE 1
41740 _ACEOF
41741
41742 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
41743 fi
41744 fi
41745
41746 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
41747 cat >>confdefs.h <<\_ACEOF
41748 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
41749 _ACEOF
41750
41751 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
41752 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
41753 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
41754 fi
41755 fi
41756
41757 if test "$wxUSE_HELP" = "yes"; then
41758 cat >>confdefs.h <<\_ACEOF
41759 #define wxUSE_HELP 1
41760 _ACEOF
41761
41762 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
41763
41764 if test "$wxUSE_MSW" = 1; then
41765 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
41766 cat >>confdefs.h <<\_ACEOF
41767 #define wxUSE_MS_HTML_HELP 1
41768 _ACEOF
41769
41770 fi
41771 fi
41772
41773 if test "$wxUSE_WXHTML_HELP" = "yes"; then
41774 if test "$wxUSE_HTML" = "yes"; then
41775 cat >>confdefs.h <<\_ACEOF
41776 #define wxUSE_WXHTML_HELP 1
41777 _ACEOF
41778
41779 else
41780 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
41781 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
41782 wxUSE_WXHTML_HELP=no
41783 fi
41784 fi
41785 fi
41786
41787 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
41788 if test "$wxUSE_CONSTRAINTS" != "yes"; then
41789 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
41790 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
41791 else
41792 cat >>confdefs.h <<\_ACEOF
41793 #define wxUSE_PRINTING_ARCHITECTURE 1
41794 _ACEOF
41795
41796 fi
41797 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
41798 fi
41799
41800 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
41801 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
41802 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
41803 { (exit 1); exit 1; }; }
41804 fi
41805
41806
41807 if test "$wxUSE_METAFILE" = "yes"; then
41808 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
41809 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
41810 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
41811 wxUSE_METAFILE=no
41812 fi
41813 fi
41814
41815
41816 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
41817 -o "$wxUSE_CLIPBOARD" = "yes" \
41818 -o "$wxUSE_OLE" = "yes" \
41819 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
41820
41821 for ac_header in ole2.h
41822 do
41823 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
41824 if eval "test \"\${$as_ac_Header+set}\" = set"; then
41825 echo "$as_me:$LINENO: checking for $ac_header" >&5
41826 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
41827 if eval "test \"\${$as_ac_Header+set}\" = set"; then
41828 echo $ECHO_N "(cached) $ECHO_C" >&6
41829 fi
41830 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
41831 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
41832 else
41833 # Is the header compilable?
41834 echo "$as_me:$LINENO: checking $ac_header usability" >&5
41835 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
41836 cat >conftest.$ac_ext <<_ACEOF
41837 /* confdefs.h. */
41838 _ACEOF
41839 cat confdefs.h >>conftest.$ac_ext
41840 cat >>conftest.$ac_ext <<_ACEOF
41841 /* end confdefs.h. */
41842 $ac_includes_default
41843 #include <$ac_header>
41844 _ACEOF
41845 rm -f conftest.$ac_objext
41846 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41847 (eval $ac_compile) 2>conftest.er1
41848 ac_status=$?
41849 grep -v '^ *+' conftest.er1 >conftest.err
41850 rm -f conftest.er1
41851 cat conftest.err >&5
41852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41853 (exit $ac_status); } &&
41854 { ac_try='test -z "$ac_c_werror_flag"
41855 || test ! -s conftest.err'
41856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41857 (eval $ac_try) 2>&5
41858 ac_status=$?
41859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41860 (exit $ac_status); }; } &&
41861 { ac_try='test -s conftest.$ac_objext'
41862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41863 (eval $ac_try) 2>&5
41864 ac_status=$?
41865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41866 (exit $ac_status); }; }; then
41867 ac_header_compiler=yes
41868 else
41869 echo "$as_me: failed program was:" >&5
41870 sed 's/^/| /' conftest.$ac_ext >&5
41871
41872 ac_header_compiler=no
41873 fi
41874 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41875 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
41876 echo "${ECHO_T}$ac_header_compiler" >&6
41877
41878 # Is the header present?
41879 echo "$as_me:$LINENO: checking $ac_header presence" >&5
41880 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
41881 cat >conftest.$ac_ext <<_ACEOF
41882 /* confdefs.h. */
41883 _ACEOF
41884 cat confdefs.h >>conftest.$ac_ext
41885 cat >>conftest.$ac_ext <<_ACEOF
41886 /* end confdefs.h. */
41887 #include <$ac_header>
41888 _ACEOF
41889 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
41890 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
41891 ac_status=$?
41892 grep -v '^ *+' conftest.er1 >conftest.err
41893 rm -f conftest.er1
41894 cat conftest.err >&5
41895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41896 (exit $ac_status); } >/dev/null; then
41897 if test -s conftest.err; then
41898 ac_cpp_err=$ac_c_preproc_warn_flag
41899 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
41900 else
41901 ac_cpp_err=
41902 fi
41903 else
41904 ac_cpp_err=yes
41905 fi
41906 if test -z "$ac_cpp_err"; then
41907 ac_header_preproc=yes
41908 else
41909 echo "$as_me: failed program was:" >&5
41910 sed 's/^/| /' conftest.$ac_ext >&5
41911
41912 ac_header_preproc=no
41913 fi
41914 rm -f conftest.err conftest.$ac_ext
41915 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
41916 echo "${ECHO_T}$ac_header_preproc" >&6
41917
41918 # So? What about this header?
41919 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
41920 yes:no: )
41921 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
41922 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
41923 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
41924 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
41925 ac_header_preproc=yes
41926 ;;
41927 no:yes:* )
41928 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
41929 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
41930 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
41931 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
41932 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
41933 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
41934 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
41935 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
41936 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
41937 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
41938 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
41939 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
41940 (
41941 cat <<\_ASBOX
41942 ## ----------------------------------------- ##
41943 ## Report this to wx-dev@lists.wxwidgets.org ##
41944 ## ----------------------------------------- ##
41945 _ASBOX
41946 ) |
41947 sed "s/^/$as_me: WARNING: /" >&2
41948 ;;
41949 esac
41950 echo "$as_me:$LINENO: checking for $ac_header" >&5
41951 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
41952 if eval "test \"\${$as_ac_Header+set}\" = set"; then
41953 echo $ECHO_N "(cached) $ECHO_C" >&6
41954 else
41955 eval "$as_ac_Header=\$ac_header_preproc"
41956 fi
41957 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
41958 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
41959
41960 fi
41961 if test `eval echo '${'$as_ac_Header'}'` = yes; then
41962 cat >>confdefs.h <<_ACEOF
41963 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
41964 _ACEOF
41965
41966 fi
41967
41968 done
41969
41970
41971 if test "$ac_cv_header_ole2_h" = "yes" ; then
41972 if test "$GCC" = yes ; then
41973
41974
41975 ac_ext=cc
41976 ac_cpp='$CXXCPP $CPPFLAGS'
41977 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41978 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41979 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41980
41981
41982 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
41983 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
41984 cat >conftest.$ac_ext <<_ACEOF
41985 /* confdefs.h. */
41986 _ACEOF
41987 cat confdefs.h >>conftest.$ac_ext
41988 cat >>conftest.$ac_ext <<_ACEOF
41989 /* end confdefs.h. */
41990 #include <windows.h>
41991 #include <ole2.h>
41992 int
41993 main ()
41994 {
41995
41996 ;
41997 return 0;
41998 }
41999 _ACEOF
42000 rm -f conftest.$ac_objext
42001 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42002 (eval $ac_compile) 2>conftest.er1
42003 ac_status=$?
42004 grep -v '^ *+' conftest.er1 >conftest.err
42005 rm -f conftest.er1
42006 cat conftest.err >&5
42007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42008 (exit $ac_status); } &&
42009 { ac_try='test -z "$ac_cxx_werror_flag"
42010 || test ! -s conftest.err'
42011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42012 (eval $ac_try) 2>&5
42013 ac_status=$?
42014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42015 (exit $ac_status); }; } &&
42016 { ac_try='test -s conftest.$ac_objext'
42017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42018 (eval $ac_try) 2>&5
42019 ac_status=$?
42020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42021 (exit $ac_status); }; }; then
42022 echo "$as_me:$LINENO: result: no" >&5
42023 echo "${ECHO_T}no" >&6
42024 else
42025 echo "$as_me: failed program was:" >&5
42026 sed 's/^/| /' conftest.$ac_ext >&5
42027
42028 echo "$as_me:$LINENO: result: yes" >&5
42029 echo "${ECHO_T}yes" >&6
42030 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
42031 fi
42032 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42033 ac_ext=c
42034 ac_cpp='$CPP $CPPFLAGS'
42035 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42036 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42037 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42038
42039 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
42040 if test "$wxUSE_OLE" = "yes" ; then
42041 cat >>confdefs.h <<\_ACEOF
42042 #define wxUSE_OLE 1
42043 _ACEOF
42044
42045 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
42046 fi
42047 fi
42048
42049 if test "$wxUSE_DATAOBJ" = "yes" ; then
42050 cat >>confdefs.h <<\_ACEOF
42051 #define wxUSE_DATAOBJ 1
42052 _ACEOF
42053
42054 fi
42055 else
42056 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
42057 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
42058
42059 wxUSE_CLIPBOARD=no
42060 wxUSE_DRAG_AND_DROP=no
42061 wxUSE_DATAOBJ=no
42062 wxUSE_OLE=no
42063 fi
42064
42065 if test "$wxUSE_METAFILE" = "yes"; then
42066 cat >>confdefs.h <<\_ACEOF
42067 #define wxUSE_METAFILE 1
42068 _ACEOF
42069
42070
42071 cat >>confdefs.h <<\_ACEOF
42072 #define wxUSE_ENH_METAFILE 1
42073 _ACEOF
42074
42075 fi
42076 fi
42077
42078 if test "$wxUSE_IPC" = "yes"; then
42079 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
42080 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
42081 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
42082 wxUSE_IPC=no
42083 fi
42084
42085 if test "$wxUSE_IPC" = "yes"; then
42086 cat >>confdefs.h <<\_ACEOF
42087 #define wxUSE_IPC 1
42088 _ACEOF
42089
42090 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
42091 fi
42092 fi
42093
42094 if test "$wxUSE_DATAOBJ" = "yes"; then
42095 if test "$wxUSE_MGL" = 1; then
42096 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under MGL... disabled" >&5
42097 echo "$as_me: WARNING: wxDataObject not yet supported under MGL... disabled" >&2;}
42098 wxUSE_DATAOBJ=no
42099 else
42100 cat >>confdefs.h <<\_ACEOF
42101 #define wxUSE_DATAOBJ 1
42102 _ACEOF
42103
42104 fi
42105 else
42106 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
42107 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
42108 wxUSE_CLIPBOARD=no
42109 wxUSE_DRAG_AND_DROP=no
42110 fi
42111
42112 if test "$wxUSE_CLIPBOARD" = "yes"; then
42113 if test "$wxUSE_MGL" = 1; then
42114 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
42115 echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
42116 wxUSE_CLIPBOARD=no
42117 fi
42118
42119 if test "$wxUSE_CLIPBOARD" = "yes"; then
42120 cat >>confdefs.h <<\_ACEOF
42121 #define wxUSE_CLIPBOARD 1
42122 _ACEOF
42123
42124 fi
42125 fi
42126
42127 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
42128 if test "$wxUSE_GTK" = 1; then
42129 if test "$WXGTK12" != 1; then
42130 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
42131 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
42132 wxUSE_DRAG_AND_DROP=no
42133 fi
42134 fi
42135
42136 if test "$wxUSE_MOTIF" = 1; then
42137 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
42138 echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
42139 wxUSE_DRAG_AND_DROP=no
42140 fi
42141
42142 if test "$wxUSE_X11" = 1; then
42143 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
42144 echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
42145 wxUSE_DRAG_AND_DROP=no
42146 fi
42147
42148 if test "$wxUSE_MGL" = 1; then
42149 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
42150 echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
42151 wxUSE_DRAG_AND_DROP=no
42152 fi
42153
42154 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
42155 cat >>confdefs.h <<\_ACEOF
42156 #define wxUSE_DRAG_AND_DROP 1
42157 _ACEOF
42158
42159 fi
42160
42161 fi
42162
42163 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
42164 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
42165 fi
42166
42167 if test "$wxUSE_SPLINES" = "yes" ; then
42168 cat >>confdefs.h <<\_ACEOF
42169 #define wxUSE_SPLINES 1
42170 _ACEOF
42171
42172 fi
42173
42174 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
42175 cat >>confdefs.h <<\_ACEOF
42176 #define wxUSE_MOUSEWHEEL 1
42177 _ACEOF
42178
42179 fi
42180
42181
42182 USES_CONTROLS=0
42183 if test "$wxUSE_CONTROLS" = "yes"; then
42184 USES_CONTROLS=1
42185 fi
42186
42187 if test "$wxUSE_ACCEL" = "yes"; then
42188 cat >>confdefs.h <<\_ACEOF
42189 #define wxUSE_ACCEL 1
42190 _ACEOF
42191
42192 USES_CONTROLS=1
42193 fi
42194
42195 if test "$wxUSE_BUTTON" = "yes"; then
42196 cat >>confdefs.h <<\_ACEOF
42197 #define wxUSE_BUTTON 1
42198 _ACEOF
42199
42200 USES_CONTROLS=1
42201 fi
42202
42203 if test "$wxUSE_BMPBUTTON" = "yes"; then
42204 cat >>confdefs.h <<\_ACEOF
42205 #define wxUSE_BMPBUTTON 1
42206 _ACEOF
42207
42208 USES_CONTROLS=1
42209 fi
42210
42211 if test "$wxUSE_CALCTRL" = "yes"; then
42212 cat >>confdefs.h <<\_ACEOF
42213 #define wxUSE_CALENDARCTRL 1
42214 _ACEOF
42215
42216 USES_CONTROLS=1
42217 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
42218 fi
42219
42220 if test "$wxUSE_CARET" = "yes"; then
42221 cat >>confdefs.h <<\_ACEOF
42222 #define wxUSE_CARET 1
42223 _ACEOF
42224
42225 USES_CONTROLS=1
42226 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
42227 fi
42228
42229 if test "$wxUSE_COMBOBOX" = "yes"; then
42230 cat >>confdefs.h <<\_ACEOF
42231 #define wxUSE_COMBOBOX 1
42232 _ACEOF
42233
42234 USES_CONTROLS=1
42235 fi
42236
42237 if test "$wxUSE_CHOICE" = "yes"; then
42238 cat >>confdefs.h <<\_ACEOF
42239 #define wxUSE_CHOICE 1
42240 _ACEOF
42241
42242 USES_CONTROLS=1
42243 fi
42244
42245 if test "$wxUSE_CHOICEBOOK" = "yes"; then
42246 cat >>confdefs.h <<\_ACEOF
42247 #define wxUSE_CHOICEBOOK 1
42248 _ACEOF
42249
42250 USES_CONTROLS=1
42251 fi
42252
42253 if test "$wxUSE_CHECKBOX" = "yes"; then
42254 cat >>confdefs.h <<\_ACEOF
42255 #define wxUSE_CHECKBOX 1
42256 _ACEOF
42257
42258 USES_CONTROLS=1
42259 fi
42260
42261 if test "$wxUSE_CHECKLST" = "yes"; then
42262 cat >>confdefs.h <<\_ACEOF
42263 #define wxUSE_CHECKLISTBOX 1
42264 _ACEOF
42265
42266 USES_CONTROLS=1
42267 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS checklst"
42268 fi
42269
42270 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
42271 cat >>confdefs.h <<\_ACEOF
42272 #define wxUSE_DATEPICKCTRL 1
42273 _ACEOF
42274
42275 USES_CONTROLS=1
42276 fi
42277
42278 if test "$wxUSE_DISPLAY" = "yes"; then
42279 cat >>confdefs.h <<\_ACEOF
42280 #define wxUSE_DISPLAY 1
42281 _ACEOF
42282
42283 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display multimon"
42284 fi
42285
42286 if test "$wxUSE_GAUGE" = "yes"; then
42287 cat >>confdefs.h <<\_ACEOF
42288 #define wxUSE_GAUGE 1
42289 _ACEOF
42290
42291 USES_CONTROLS=1
42292 fi
42293
42294 if test "$wxUSE_GRID" = "yes"; then
42295 cat >>confdefs.h <<\_ACEOF
42296 #define wxUSE_GRID 1
42297 _ACEOF
42298
42299 USES_CONTROLS=1
42300 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
42301 fi
42302
42303 if test "$wxUSE_IMAGLIST" = "yes"; then
42304 cat >>confdefs.h <<\_ACEOF
42305 #define wxUSE_IMAGLIST 1
42306 _ACEOF
42307
42308 fi
42309
42310 if test "$wxUSE_LISTBOOK" = "yes"; then
42311 cat >>confdefs.h <<\_ACEOF
42312 #define wxUSE_LISTBOOK 1
42313 _ACEOF
42314
42315 USES_CONTROLS=1
42316 fi
42317
42318 if test "$wxUSE_LISTBOX" = "yes"; then
42319 cat >>confdefs.h <<\_ACEOF
42320 #define wxUSE_LISTBOX 1
42321 _ACEOF
42322
42323 USES_CONTROLS=1
42324 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listbox"
42325 fi
42326
42327 if test "$wxUSE_LISTCTRL" = "yes"; then
42328 if test "$wxUSE_IMAGLIST" = "yes"; then
42329 cat >>confdefs.h <<\_ACEOF
42330 #define wxUSE_LISTCTRL 1
42331 _ACEOF
42332
42333 USES_CONTROLS=1
42334 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
42335 else
42336 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
42337 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
42338 fi
42339 fi
42340
42341 if test "$wxUSE_NOTEBOOK" = "yes"; then
42342 cat >>confdefs.h <<\_ACEOF
42343 #define wxUSE_NOTEBOOK 1
42344 _ACEOF
42345
42346 USES_CONTROLS=1
42347 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
42348 fi
42349
42350
42351 if test "$wxUSE_RADIOBOX" = "yes"; then
42352 cat >>confdefs.h <<\_ACEOF
42353 #define wxUSE_RADIOBOX 1
42354 _ACEOF
42355
42356 USES_CONTROLS=1
42357 fi
42358
42359 if test "$wxUSE_RADIOBTN" = "yes"; then
42360 cat >>confdefs.h <<\_ACEOF
42361 #define wxUSE_RADIOBTN 1
42362 _ACEOF
42363
42364 USES_CONTROLS=1
42365 fi
42366
42367 if test "$wxUSE_SASH" = "yes"; then
42368 cat >>confdefs.h <<\_ACEOF
42369 #define wxUSE_SASH 1
42370 _ACEOF
42371
42372 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
42373 fi
42374
42375 if test "$wxUSE_SCROLLBAR" = "yes"; then
42376 cat >>confdefs.h <<\_ACEOF
42377 #define wxUSE_SCROLLBAR 1
42378 _ACEOF
42379
42380 USES_CONTROLS=1
42381 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
42382 fi
42383
42384 if test "$wxUSE_SLIDER" = "yes"; then
42385 cat >>confdefs.h <<\_ACEOF
42386 #define wxUSE_SLIDER 1
42387 _ACEOF
42388
42389 USES_CONTROLS=1
42390 fi
42391
42392 if test "$wxUSE_SPINBTN" = "yes"; then
42393 cat >>confdefs.h <<\_ACEOF
42394 #define wxUSE_SPINBTN 1
42395 _ACEOF
42396
42397 USES_CONTROLS=1
42398 fi
42399
42400 if test "$wxUSE_SPINCTRL" = "yes"; then
42401 cat >>confdefs.h <<\_ACEOF
42402 #define wxUSE_SPINCTRL 1
42403 _ACEOF
42404
42405 USES_CONTROLS=1
42406 fi
42407
42408 if test "$wxUSE_SPLITTER" = "yes"; then
42409 cat >>confdefs.h <<\_ACEOF
42410 #define wxUSE_SPLITTER 1
42411 _ACEOF
42412
42413 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
42414 fi
42415
42416 if test "$wxUSE_STATBMP" = "yes"; then
42417 cat >>confdefs.h <<\_ACEOF
42418 #define wxUSE_STATBMP 1
42419 _ACEOF
42420
42421 USES_CONTROLS=1
42422 fi
42423
42424 if test "$wxUSE_STATBOX" = "yes"; then
42425 cat >>confdefs.h <<\_ACEOF
42426 #define wxUSE_STATBOX 1
42427 _ACEOF
42428
42429 USES_CONTROLS=1
42430 fi
42431
42432 if test "$wxUSE_STATTEXT" = "yes"; then
42433 cat >>confdefs.h <<\_ACEOF
42434 #define wxUSE_STATTEXT 1
42435 _ACEOF
42436
42437 USES_CONTROLS=1
42438 fi
42439
42440 if test "$wxUSE_STATLINE" = "yes"; then
42441 cat >>confdefs.h <<\_ACEOF
42442 #define wxUSE_STATLINE 1
42443 _ACEOF
42444
42445 USES_CONTROLS=1
42446 fi
42447
42448 if test "$wxUSE_STATUSBAR" = "yes"; then
42449 cat >>confdefs.h <<\_ACEOF
42450 #define wxUSE_NATIVE_STATUSBAR 1
42451 _ACEOF
42452
42453 cat >>confdefs.h <<\_ACEOF
42454 #define wxUSE_STATUSBAR 1
42455 _ACEOF
42456
42457 USES_CONTROLS=1
42458
42459 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
42460 fi
42461
42462 if test "$wxUSE_TABDIALOG" = "yes"; then
42463 cat >>confdefs.h <<\_ACEOF
42464 #define wxUSE_TAB_DIALOG 1
42465 _ACEOF
42466
42467 fi
42468
42469 if test "$wxUSE_TEXTCTRL" = "yes"; then
42470 cat >>confdefs.h <<\_ACEOF
42471 #define wxUSE_TEXTCTRL 1
42472 _ACEOF
42473
42474 USES_CONTROLS=1
42475 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
42476 fi
42477
42478 if test "$wxUSE_TOGGLEBTN" = "yes"; then
42479 if test "$wxUSE_COCOA" = 1 ; then
42480 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
42481 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
42482 wxUSE_TOGGLEBTN=no
42483 fi
42484 if test "$wxUSE_UNIVERSAL" = "yes"; then
42485 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&5
42486 echo "$as_me: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&2;}
42487 wxUSE_TOGGLEBTN=no
42488 fi
42489
42490 if test "$wxUSE_TOGGLEBTN" = "yes"; then
42491 cat >>confdefs.h <<\_ACEOF
42492 #define wxUSE_TOGGLEBTN 1
42493 _ACEOF
42494
42495 USES_CONTROLS=1
42496 fi
42497 fi
42498
42499 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
42500 cat >>confdefs.h <<\_ACEOF
42501 #define wxUSE_TOOLBAR_SIMPLE 1
42502 _ACEOF
42503
42504 wxUSE_TOOLBAR="yes"
42505 USES_CONTROLS=1
42506 fi
42507
42508 if test "$wxUSE_TOOLBAR" = "yes"; then
42509 cat >>confdefs.h <<\_ACEOF
42510 #define wxUSE_TOOLBAR 1
42511 _ACEOF
42512
42513 USES_CONTROLS=1
42514
42515 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
42516 wxUSE_TOOLBAR_NATIVE="yes"
42517 fi
42518
42519 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
42520 cat >>confdefs.h <<\_ACEOF
42521 #define wxUSE_TOOLBAR_NATIVE 1
42522 _ACEOF
42523
42524 USES_CONTROLS=1
42525 fi
42526
42527 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
42528 fi
42529
42530 if test "$wxUSE_TOOLTIPS" = "yes"; then
42531 if test "$wxUSE_MOTIF" = 1; then
42532 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
42533 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
42534 else
42535 if test "$wxUSE_UNIVERSAL" = "yes"; then
42536 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
42537 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
42538 else
42539 cat >>confdefs.h <<\_ACEOF
42540 #define wxUSE_TOOLTIPS 1
42541 _ACEOF
42542
42543 fi
42544 fi
42545 fi
42546
42547 if test "$wxUSE_TREEBOOK" = "yes"; then
42548 cat >>confdefs.h <<\_ACEOF
42549 #define wxUSE_TREEBOOK 1
42550 _ACEOF
42551
42552 USES_CONTROLS=1
42553 fi
42554
42555 if test "$wxUSE_TREECTRL" = "yes"; then
42556 if test "$wxUSE_IMAGLIST" = "yes"; then
42557 cat >>confdefs.h <<\_ACEOF
42558 #define wxUSE_TREECTRL 1
42559 _ACEOF
42560
42561 USES_CONTROLS=1
42562 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
42563 else
42564 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
42565 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
42566 fi
42567 fi
42568
42569 if test "$wxUSE_POPUPWIN" = "yes"; then
42570 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
42571 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
42572 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
42573 else
42574 if test "$wxUSE_PM" = 1; then
42575 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
42576 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
42577 else
42578 cat >>confdefs.h <<\_ACEOF
42579 #define wxUSE_POPUPWIN 1
42580 _ACEOF
42581
42582 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
42583
42584 USES_CONTROLS=1
42585 fi
42586 fi
42587 fi
42588
42589 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
42590 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
42591 { echo "$as_me:$LINENO: WARNING: Dialup manager not yet supported under Mac OS X... disabled" >&5
42592 echo "$as_me: WARNING: Dialup manager not yet supported under Mac OS X... disabled" >&2;}
42593 else
42594 cat >>confdefs.h <<\_ACEOF
42595 #define wxUSE_DIALUP_MANAGER 1
42596 _ACEOF
42597
42598 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
42599 fi
42600 fi
42601
42602 if test "$wxUSE_TIPWINDOW" = "yes"; then
42603 if test "$wxUSE_PM" = 1; then
42604 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
42605 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
42606 else
42607 cat >>confdefs.h <<\_ACEOF
42608 #define wxUSE_TIPWINDOW 1
42609 _ACEOF
42610
42611 fi
42612 fi
42613
42614 if test "$USES_CONTROLS" = 1; then
42615 cat >>confdefs.h <<\_ACEOF
42616 #define wxUSE_CONTROLS 1
42617 _ACEOF
42618
42619 fi
42620
42621
42622 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
42623 cat >>confdefs.h <<\_ACEOF
42624 #define wxUSE_ACCESSIBILITY 1
42625 _ACEOF
42626
42627 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
42628 fi
42629
42630 if test "$wxUSE_DC_CACHEING" = "yes"; then
42631 cat >>confdefs.h <<\_ACEOF
42632 #define wxUSE_DC_CACHEING 1
42633 _ACEOF
42634
42635 fi
42636
42637 if test "$wxUSE_DRAGIMAGE" = "yes"; then
42638 cat >>confdefs.h <<\_ACEOF
42639 #define wxUSE_DRAGIMAGE 1
42640 _ACEOF
42641
42642 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
42643 fi
42644
42645 if test "$wxUSE_EXCEPTIONS" = "yes"; then
42646 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
42647 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
42648 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
42649 else
42650 cat >>confdefs.h <<\_ACEOF
42651 #define wxUSE_EXCEPTIONS 1
42652 _ACEOF
42653
42654 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
42655 fi
42656 fi
42657
42658 USE_HTML=0
42659 if test "$wxUSE_HTML" = "yes"; then
42660 cat >>confdefs.h <<\_ACEOF
42661 #define wxUSE_HTML 1
42662 _ACEOF
42663
42664 USE_HTML=1
42665 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
42666 if test "$wxUSE_MAC" = 1; then
42667 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
42668 fi
42669 fi
42670 if test "$wxUSE_WEBKIT" = "yes"; then
42671 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
42672 old_CPPFLAGS="$CPPFLAGS"
42673 CPPFLAGS="$CPPFLAGS -x objective-c++"
42674 echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
42675 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6
42676 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
42677 echo $ECHO_N "(cached) $ECHO_C" >&6
42678 else
42679 cat >conftest.$ac_ext <<_ACEOF
42680 /* confdefs.h. */
42681 _ACEOF
42682 cat confdefs.h >>conftest.$ac_ext
42683 cat >>conftest.$ac_ext <<_ACEOF
42684 /* end confdefs.h. */
42685 #include <Carbon/Carbon.h>
42686
42687 #include <WebKit/HIWebView.h>
42688 _ACEOF
42689 rm -f conftest.$ac_objext
42690 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42691 (eval $ac_compile) 2>conftest.er1
42692 ac_status=$?
42693 grep -v '^ *+' conftest.er1 >conftest.err
42694 rm -f conftest.er1
42695 cat conftest.err >&5
42696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42697 (exit $ac_status); } &&
42698 { ac_try='test -z "$ac_c_werror_flag"
42699 || test ! -s conftest.err'
42700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42701 (eval $ac_try) 2>&5
42702 ac_status=$?
42703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42704 (exit $ac_status); }; } &&
42705 { ac_try='test -s conftest.$ac_objext'
42706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42707 (eval $ac_try) 2>&5
42708 ac_status=$?
42709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42710 (exit $ac_status); }; }; then
42711 ac_cv_header_WebKit_HIWebView_h=yes
42712 else
42713 echo "$as_me: failed program was:" >&5
42714 sed 's/^/| /' conftest.$ac_ext >&5
42715
42716 ac_cv_header_WebKit_HIWebView_h=no
42717 fi
42718 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42719 fi
42720 echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
42721 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6
42722 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
42723
42724 cat >>confdefs.h <<\_ACEOF
42725 #define wxUSE_WEBKIT 1
42726 _ACEOF
42727
42728 WEBKIT_LINK="-framework WebKit"
42729
42730 else
42731
42732 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
42733 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
42734 wxUSE_WEBKIT=no
42735
42736 fi
42737
42738
42739 CPPFLAGS="$old_CPPFLAGS"
42740 elif test "$wxUSE_COCOA" = 1; then
42741 cat >>confdefs.h <<\_ACEOF
42742 #define wxUSE_WEBKIT 1
42743 _ACEOF
42744
42745 else
42746 wxUSE_WEBKIT=no
42747 fi
42748 fi
42749
42750 USE_XRC=0
42751 if test "$wxUSE_XRC" = "yes"; then
42752 if test "$wxUSE_XML" != "yes"; then
42753 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
42754 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
42755 wxUSE_XRC=no
42756 else
42757 cat >>confdefs.h <<\_ACEOF
42758 #define wxUSE_XRC 1
42759 _ACEOF
42760
42761 USE_XRC=1
42762 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
42763 fi
42764 fi
42765
42766 if test "$wxUSE_MENUS" = "yes"; then
42767 cat >>confdefs.h <<\_ACEOF
42768 #define wxUSE_MENUS 1
42769 _ACEOF
42770
42771 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
42772 fi
42773
42774 if test "$wxUSE_METAFILE" = "yes"; then
42775 cat >>confdefs.h <<\_ACEOF
42776 #define wxUSE_METAFILE 1
42777 _ACEOF
42778
42779 fi
42780
42781 if test "$wxUSE_MIMETYPE" = "yes"; then
42782 cat >>confdefs.h <<\_ACEOF
42783 #define wxUSE_MIMETYPE 1
42784 _ACEOF
42785
42786 fi
42787
42788 if test "$wxUSE_MINIFRAME" = "yes"; then
42789 cat >>confdefs.h <<\_ACEOF
42790 #define wxUSE_MINIFRAME 1
42791 _ACEOF
42792
42793 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS minifram"
42794 fi
42795
42796 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
42797 cat >>confdefs.h <<\_ACEOF
42798 #define wxUSE_SYSTEM_OPTIONS 1
42799 _ACEOF
42800
42801 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
42802 "$TOOLKIT" = "MOTIF" -o "$TOOLKIT" = "COCOA"; then
42803 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
42804 fi
42805 fi
42806
42807
42808 if test "$wxUSE_VALIDATORS" = "yes"; then
42809 cat >>confdefs.h <<\_ACEOF
42810 #define wxUSE_VALIDATORS 1
42811 _ACEOF
42812
42813 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
42814 fi
42815
42816 if test "$wxUSE_PALETTE" = "yes" ; then
42817 cat >>confdefs.h <<\_ACEOF
42818 #define wxUSE_PALETTE 1
42819 _ACEOF
42820
42821 fi
42822
42823 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
42824 LIBS=" -lunicows $LIBS"
42825 fi
42826
42827 USE_RICHTEXT=0
42828 if test "$wxUSE_RICHTEXT" = "yes"; then
42829 cat >>confdefs.h <<\_ACEOF
42830 #define wxUSE_RICHTEXT 1
42831 _ACEOF
42832
42833 USE_RICHTEXT=1
42834 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
42835 fi
42836
42837
42838 if test "$wxUSE_IMAGE" = "yes" ; then
42839 cat >>confdefs.h <<\_ACEOF
42840 #define wxUSE_IMAGE 1
42841 _ACEOF
42842
42843
42844 if test "$wxUSE_GIF" = "yes" ; then
42845 cat >>confdefs.h <<\_ACEOF
42846 #define wxUSE_GIF 1
42847 _ACEOF
42848
42849 fi
42850
42851 if test "$wxUSE_PCX" = "yes" ; then
42852 cat >>confdefs.h <<\_ACEOF
42853 #define wxUSE_PCX 1
42854 _ACEOF
42855
42856 fi
42857
42858 if test "$wxUSE_IFF" = "yes" ; then
42859 cat >>confdefs.h <<\_ACEOF
42860 #define wxUSE_IFF 1
42861 _ACEOF
42862
42863 fi
42864
42865 if test "$wxUSE_PNM" = "yes" ; then
42866 cat >>confdefs.h <<\_ACEOF
42867 #define wxUSE_PNM 1
42868 _ACEOF
42869
42870 fi
42871
42872 if test "$wxUSE_XPM" = "yes" ; then
42873 cat >>confdefs.h <<\_ACEOF
42874 #define wxUSE_XPM 1
42875 _ACEOF
42876
42877 fi
42878
42879 if test "$wxUSE_ICO_CUR" = "yes" ; then
42880 cat >>confdefs.h <<\_ACEOF
42881 #define wxUSE_ICO_CUR 1
42882 _ACEOF
42883
42884 fi
42885 fi
42886
42887
42888 if test "$wxUSE_CHOICEDLG" = "yes"; then
42889 cat >>confdefs.h <<\_ACEOF
42890 #define wxUSE_CHOICEDLG 1
42891 _ACEOF
42892
42893 fi
42894
42895 if test "$wxUSE_COLOURDLG" = "yes"; then
42896 cat >>confdefs.h <<\_ACEOF
42897 #define wxUSE_COLOURDLG 1
42898 _ACEOF
42899
42900 fi
42901
42902 if test "$wxUSE_FILEDLG" = "yes"; then
42903 cat >>confdefs.h <<\_ACEOF
42904 #define wxUSE_FILEDLG 1
42905 _ACEOF
42906
42907 fi
42908
42909 if test "$wxUSE_FINDREPLDLG" = "yes"; then
42910 cat >>confdefs.h <<\_ACEOF
42911 #define wxUSE_FINDREPLDLG 1
42912 _ACEOF
42913
42914 fi
42915
42916 if test "$wxUSE_FONTDLG" = "yes"; then
42917 cat >>confdefs.h <<\_ACEOF
42918 #define wxUSE_FONTDLG 1
42919 _ACEOF
42920
42921 fi
42922
42923 if test "$wxUSE_DIRDLG" = "yes"; then
42924 if test "$wxUSE_TREECTRL" != "yes"; then
42925 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
42926 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
42927 else
42928 cat >>confdefs.h <<\_ACEOF
42929 #define wxUSE_DIRDLG 1
42930 _ACEOF
42931
42932 fi
42933 fi
42934
42935 if test "$wxUSE_MSGDLG" = "yes"; then
42936 cat >>confdefs.h <<\_ACEOF
42937 #define wxUSE_MSGDLG 1
42938 _ACEOF
42939
42940 fi
42941
42942 if test "$wxUSE_NUMBERDLG" = "yes"; then
42943 cat >>confdefs.h <<\_ACEOF
42944 #define wxUSE_NUMBERDLG 1
42945 _ACEOF
42946
42947 fi
42948
42949 if test "$wxUSE_PROGRESSDLG" = "yes"; then
42950 if test "$wxUSE_CONSTRAINTS" != "yes"; then
42951 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
42952 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
42953 else
42954 cat >>confdefs.h <<\_ACEOF
42955 #define wxUSE_PROGRESSDLG 1
42956 _ACEOF
42957
42958 fi
42959 fi
42960
42961 if test "$wxUSE_SPLASH" = "yes"; then
42962 cat >>confdefs.h <<\_ACEOF
42963 #define wxUSE_SPLASH 1
42964 _ACEOF
42965
42966 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
42967 fi
42968
42969 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
42970 if test "$wxUSE_CONSTRAINTS" != "yes"; then
42971 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
42972 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
42973 else
42974 cat >>confdefs.h <<\_ACEOF
42975 #define wxUSE_STARTUP_TIPS 1
42976 _ACEOF
42977
42978 fi
42979 fi
42980
42981 if test "$wxUSE_TEXTDLG" = "yes"; then
42982 cat >>confdefs.h <<\_ACEOF
42983 #define wxUSE_TEXTDLG 1
42984 _ACEOF
42985
42986 fi
42987
42988 if test "$wxUSE_WIZARDDLG" = "yes"; then
42989 cat >>confdefs.h <<\_ACEOF
42990 #define wxUSE_WIZARDDLG 1
42991 _ACEOF
42992
42993 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
42994 fi
42995
42996
42997 if test "$wxUSE_MEDIACTRL" = "yes"; then
42998 if test "$wxUSE_GTK" = 1; then
42999 wxUSE_GSTREAMER="yes"
43000
43001
43002 succeeded=no
43003
43004 if test -z "$PKG_CONFIG"; then
43005 # Extract the first word of "pkg-config", so it can be a program name with args.
43006 set dummy pkg-config; ac_word=$2
43007 echo "$as_me:$LINENO: checking for $ac_word" >&5
43008 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
43009 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
43010 echo $ECHO_N "(cached) $ECHO_C" >&6
43011 else
43012 case $PKG_CONFIG in
43013 [\\/]* | ?:[\\/]*)
43014 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
43015 ;;
43016 *)
43017 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
43018 for as_dir in $PATH
43019 do
43020 IFS=$as_save_IFS
43021 test -z "$as_dir" && as_dir=.
43022 for ac_exec_ext in '' $ac_executable_extensions; do
43023 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
43024 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
43025 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43026 break 2
43027 fi
43028 done
43029 done
43030
43031 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
43032 ;;
43033 esac
43034 fi
43035 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
43036
43037 if test -n "$PKG_CONFIG"; then
43038 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
43039 echo "${ECHO_T}$PKG_CONFIG" >&6
43040 else
43041 echo "$as_me:$LINENO: result: no" >&5
43042 echo "${ECHO_T}no" >&6
43043 fi
43044
43045 fi
43046
43047 if test "$PKG_CONFIG" = "no" ; then
43048 echo "*** The pkg-config script could not be found. Make sure it is"
43049 echo "*** in your path, or set the PKG_CONFIG environment variable"
43050 echo "*** to the full path to pkg-config."
43051 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
43052 else
43053 PKG_CONFIG_MIN_VERSION=0.9.0
43054 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
43055 echo "$as_me:$LINENO: checking for gstreamer-0.8" >&5
43056 echo $ECHO_N "checking for gstreamer-0.8... $ECHO_C" >&6
43057
43058 if $PKG_CONFIG --exists "gstreamer-0.8" ; then
43059 echo "$as_me:$LINENO: result: yes" >&5
43060 echo "${ECHO_T}yes" >&6
43061 succeeded=yes
43062
43063 echo "$as_me:$LINENO: checking GSTREAMER_CFLAGS" >&5
43064 echo $ECHO_N "checking GSTREAMER_CFLAGS... $ECHO_C" >&6
43065 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-0.8"`
43066 echo "$as_me:$LINENO: result: $GSTREAMER_CFLAGS" >&5
43067 echo "${ECHO_T}$GSTREAMER_CFLAGS" >&6
43068
43069 echo "$as_me:$LINENO: checking GSTREAMER_LIBS" >&5
43070 echo $ECHO_N "checking GSTREAMER_LIBS... $ECHO_C" >&6
43071 GSTREAMER_LIBS=`$PKG_CONFIG --libs "gstreamer-0.8"`
43072 echo "$as_me:$LINENO: result: $GSTREAMER_LIBS" >&5
43073 echo "${ECHO_T}$GSTREAMER_LIBS" >&6
43074 else
43075 GSTREAMER_CFLAGS=""
43076 GSTREAMER_LIBS=""
43077 ## If we have a custom action on failure, don't print errors, but
43078 ## do set a variable so people can do so.
43079 GSTREAMER_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-0.8"`
43080
43081 fi
43082
43083
43084
43085 else
43086 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
43087 echo "*** See http://www.freedesktop.org/software/pkgconfig"
43088 fi
43089 fi
43090
43091 if test $succeeded = yes; then
43092
43093 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
43094 LIBS="$LIBS $GSTREAMER_LIBS -lgstplay-0.8"
43095
43096 else
43097
43098 { echo "$as_me:$LINENO: WARNING: GStreamer installation not found" >&5
43099 echo "$as_me: WARNING: GStreamer installation not found" >&2;}
43100 wxUSE_GSTREAMER="no"
43101
43102 fi
43103
43104
43105
43106
43107
43108 if test "x$GST_INSPECT" == "x"; then
43109 # Extract the first word of "gst-inspect", so it can be a program name with args.
43110 set dummy gst-inspect; ac_word=$2
43111 echo "$as_me:$LINENO: checking for $ac_word" >&5
43112 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
43113 if test "${ac_cv_prog_GST_INSPECT+set}" = set; then
43114 echo $ECHO_N "(cached) $ECHO_C" >&6
43115 else
43116 if test -n "$GST_INSPECT"; then
43117 ac_cv_prog_GST_INSPECT="$GST_INSPECT" # Let the user override the test.
43118 else
43119 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
43120 for as_dir in $PATH
43121 do
43122 IFS=$as_save_IFS
43123 test -z "$as_dir" && as_dir=.
43124 for ac_exec_ext in '' $ac_executable_extensions; do
43125 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
43126 ac_cv_prog_GST_INSPECT="gst-inspect"
43127 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43128 break 2
43129 fi
43130 done
43131 done
43132
43133 fi
43134 fi
43135 GST_INSPECT=$ac_cv_prog_GST_INSPECT
43136 if test -n "$GST_INSPECT"; then
43137 echo "$as_me:$LINENO: result: $GST_INSPECT" >&5
43138 echo "${ECHO_T}$GST_INSPECT" >&6
43139 else
43140 echo "$as_me:$LINENO: result: no" >&5
43141 echo "${ECHO_T}no" >&6
43142 fi
43143
43144 fi
43145
43146 if test "x$GST_INSPECT" != "x"; then
43147 echo "$as_me:$LINENO: checking GStreamer element xvimagesink" >&5
43148 echo $ECHO_N "checking GStreamer element xvimagesink... $ECHO_C" >&6
43149 if $GST_INSPECT xvimagesink > /dev/null 2> /dev/null ; then
43150 echo "$as_me:$LINENO: result: found." >&5
43151 echo "${ECHO_T}found." >&6
43152
43153 else
43154 echo "$as_me:$LINENO: result: not found." >&5
43155 echo "${ECHO_T}not found." >&6
43156
43157 wxUSE_GSTREAMER="no"
43158 { echo "$as_me:$LINENO: WARNING: x video sink not found - cannot use GStreamer" >&5
43159 echo "$as_me: WARNING: x video sink not found - cannot use GStreamer" >&2;}
43160
43161 fi
43162 fi
43163
43164
43165 echo "$as_me:$LINENO: checking for gst/xoverlay/xoverlay.h" >&5
43166 echo $ECHO_N "checking for gst/xoverlay/xoverlay.h... $ECHO_C" >&6
43167 if test "${ac_cv_header_gst_xoverlay_xoverlay_h+set}" = set; then
43168 echo $ECHO_N "(cached) $ECHO_C" >&6
43169 else
43170 cat >conftest.$ac_ext <<_ACEOF
43171 /* confdefs.h. */
43172 _ACEOF
43173 cat confdefs.h >>conftest.$ac_ext
43174 cat >>conftest.$ac_ext <<_ACEOF
43175 /* end confdefs.h. */
43176 #include <gst/gst.h>
43177
43178 #include <gst/xoverlay/xoverlay.h>
43179 _ACEOF
43180 rm -f conftest.$ac_objext
43181 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43182 (eval $ac_compile) 2>conftest.er1
43183 ac_status=$?
43184 grep -v '^ *+' conftest.er1 >conftest.err
43185 rm -f conftest.er1
43186 cat conftest.err >&5
43187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43188 (exit $ac_status); } &&
43189 { ac_try='test -z "$ac_c_werror_flag"
43190 || test ! -s conftest.err'
43191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43192 (eval $ac_try) 2>&5
43193 ac_status=$?
43194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43195 (exit $ac_status); }; } &&
43196 { ac_try='test -s conftest.$ac_objext'
43197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43198 (eval $ac_try) 2>&5
43199 ac_status=$?
43200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43201 (exit $ac_status); }; }; then
43202 ac_cv_header_gst_xoverlay_xoverlay_h=yes
43203 else
43204 echo "$as_me: failed program was:" >&5
43205 sed 's/^/| /' conftest.$ac_ext >&5
43206
43207 ac_cv_header_gst_xoverlay_xoverlay_h=no
43208 fi
43209 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43210 fi
43211 echo "$as_me:$LINENO: result: $ac_cv_header_gst_xoverlay_xoverlay_h" >&5
43212 echo "${ECHO_T}$ac_cv_header_gst_xoverlay_xoverlay_h" >&6
43213 if test $ac_cv_header_gst_xoverlay_xoverlay_h = yes; then
43214 :
43215 else
43216
43217 wxUSE_GSTREAMER="no"
43218 { echo "$as_me:$LINENO: WARNING: xoverlay header not found, cannot use GStreamer" >&5
43219 echo "$as_me: WARNING: xoverlay header not found, cannot use GStreamer" >&2;}
43220
43221 fi
43222
43223
43224
43225 echo "$as_me:$LINENO: checking for gstplay 0.8" >&5
43226 echo $ECHO_N "checking for gstplay 0.8... $ECHO_C" >&6
43227
43228 ac_find_libraries=
43229 for ac_dir in $SEARCH_LIB;
43230 do
43231 for ac_extension in a so sl dylib dll.a; do
43232 if test -f "$ac_dir/libgstplay-0.8.$ac_extension"; then
43233 ac_find_libraries=$ac_dir
43234 break 2
43235 fi
43236 done
43237 done
43238
43239
43240 if test "$ac_find_libraries" = "" ; then
43241 echo "$as_me:$LINENO: result: no" >&5
43242 echo "${ECHO_T}no" >&6
43243 wxUSE_GSTREAMER="no"
43244 else
43245 echo "$as_me:$LINENO: result: yes" >&5
43246 echo "${ECHO_T}yes" >&6
43247 fi
43248
43249 if test "$wxUSE_GSTREAMER" = "yes"; then
43250 cat >>confdefs.h <<\_ACEOF
43251 #define wxUSE_GSTREAMER 1
43252 _ACEOF
43253
43254 echo "$as_me:$LINENO: result: GStreamer detection successful" >&5
43255 echo "${ECHO_T}GStreamer detection successful" >&6
43256 fi
43257 fi
43258 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
43259 cat >>confdefs.h <<\_ACEOF
43260 #define wxUSE_MEDIACTRL 1
43261 _ACEOF
43262
43263 fi
43264
43265
43266 if test "$cross_compiling" = "yes"; then
43267 OSINFO="\"$host\""
43268 else
43269 OSINFO=`uname -s -r -m`
43270 OSINFO="\"$OSINFO\""
43271 fi
43272
43273 cat >>confdefs.h <<_ACEOF
43274 #define WXWIN_OS_DESCRIPTION $OSINFO
43275 _ACEOF
43276
43277
43278
43279 if test "x$prefix" != "xNONE"; then
43280 wxPREFIX=$prefix
43281 else
43282 wxPREFIX=$ac_default_prefix
43283 fi
43284
43285 cat >>confdefs.h <<_ACEOF
43286 #define wxINSTALL_PREFIX "$wxPREFIX"
43287 _ACEOF
43288
43289
43290
43291
43292 CORE_BASE_LIBS="net base"
43293 CORE_GUI_LIBS="adv core"
43294
43295 if test "$wxUSE_XML" = "yes" ; then
43296 CORE_BASE_LIBS="xml $CORE_BASE_LIBS"
43297 fi
43298 if test "$wxUSE_ODBC" != "no" ; then
43299 CORE_BASE_LIBS="odbc $CORE_BASE_LIBS"
43300 CORE_GUI_LIBS="dbgrid $CORE_GUI_LIBS"
43301 fi
43302 if test "$wxUSE_HTML" = "yes" ; then
43303 CORE_GUI_LIBS="html $CORE_GUI_LIBS"
43304 fi
43305 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
43306 CORE_GUI_LIBS="qa $CORE_GUI_LIBS"
43307 fi
43308 if test "$wxUSE_XRC" = "yes" ; then
43309 CORE_GUI_LIBS="xrc $CORE_GUI_LIBS"
43310 fi
43311
43312 if test "$wxUSE_GUI" != "yes"; then
43313 CORE_GUI_LIBS=""
43314 fi
43315
43316
43317
43318
43319
43320
43321
43322
43323 if test "$wxUSE_MAC" = 1 ; then
43324 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
43325 if test "$USE_DARWIN" = 1; then
43326 LDFLAGS="$LDFLAGS -framework QuickTime"
43327 else
43328 LDFLAGS="$LDFLAGS -lQuickTimeLib"
43329 fi
43330 fi
43331 if test "$USE_DARWIN" = 1; then
43332 LDFLAGS="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
43333 else
43334 LDFLAGS="$LDFLAGS -lCarbonLib"
43335 fi
43336 fi
43337 if test "$wxUSE_COCOA" = 1 ; then
43338 LDFLAGS="$LDFLAGS -framework IOKit -framework Cocoa"
43339 if test "$wxUSE_MEDIACTRL" = "yes"; then
43340 LDFLAGS="$LDFLAGS -framework QuickTime"
43341 fi
43342 fi
43343 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
43344 LDFLAGS="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
43345 fi
43346
43347
43348 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
43349
43350 have_cos=0
43351 have_floor=0
43352
43353 for ac_func in cos
43354 do
43355 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43356 echo "$as_me:$LINENO: checking for $ac_func" >&5
43357 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43358 if eval "test \"\${$as_ac_var+set}\" = set"; then
43359 echo $ECHO_N "(cached) $ECHO_C" >&6
43360 else
43361 cat >conftest.$ac_ext <<_ACEOF
43362 /* confdefs.h. */
43363 _ACEOF
43364 cat confdefs.h >>conftest.$ac_ext
43365 cat >>conftest.$ac_ext <<_ACEOF
43366 /* end confdefs.h. */
43367 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43368 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43369 #define $ac_func innocuous_$ac_func
43370
43371 /* System header to define __stub macros and hopefully few prototypes,
43372 which can conflict with char $ac_func (); below.
43373 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43374 <limits.h> exists even on freestanding compilers. */
43375
43376 #ifdef __STDC__
43377 # include <limits.h>
43378 #else
43379 # include <assert.h>
43380 #endif
43381
43382 #undef $ac_func
43383
43384 /* Override any gcc2 internal prototype to avoid an error. */
43385 #ifdef __cplusplus
43386 extern "C"
43387 {
43388 #endif
43389 /* We use char because int might match the return type of a gcc2
43390 builtin and then its argument prototype would still apply. */
43391 char $ac_func ();
43392 /* The GNU C library defines this for functions which it implements
43393 to always fail with ENOSYS. Some functions are actually named
43394 something starting with __ and the normal name is an alias. */
43395 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43396 choke me
43397 #else
43398 char (*f) () = $ac_func;
43399 #endif
43400 #ifdef __cplusplus
43401 }
43402 #endif
43403
43404 int
43405 main ()
43406 {
43407 return f != $ac_func;
43408 ;
43409 return 0;
43410 }
43411 _ACEOF
43412 rm -f conftest.$ac_objext conftest$ac_exeext
43413 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43414 (eval $ac_link) 2>conftest.er1
43415 ac_status=$?
43416 grep -v '^ *+' conftest.er1 >conftest.err
43417 rm -f conftest.er1
43418 cat conftest.err >&5
43419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43420 (exit $ac_status); } &&
43421 { ac_try='test -z "$ac_c_werror_flag"
43422 || test ! -s conftest.err'
43423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43424 (eval $ac_try) 2>&5
43425 ac_status=$?
43426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43427 (exit $ac_status); }; } &&
43428 { ac_try='test -s conftest$ac_exeext'
43429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43430 (eval $ac_try) 2>&5
43431 ac_status=$?
43432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43433 (exit $ac_status); }; }; then
43434 eval "$as_ac_var=yes"
43435 else
43436 echo "$as_me: failed program was:" >&5
43437 sed 's/^/| /' conftest.$ac_ext >&5
43438
43439 eval "$as_ac_var=no"
43440 fi
43441 rm -f conftest.err conftest.$ac_objext \
43442 conftest$ac_exeext conftest.$ac_ext
43443 fi
43444 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43445 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43446 if test `eval echo '${'$as_ac_var'}'` = yes; then
43447 cat >>confdefs.h <<_ACEOF
43448 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43449 _ACEOF
43450 have_cos=1
43451 fi
43452 done
43453
43454
43455 for ac_func in floor
43456 do
43457 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43458 echo "$as_me:$LINENO: checking for $ac_func" >&5
43459 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43460 if eval "test \"\${$as_ac_var+set}\" = set"; then
43461 echo $ECHO_N "(cached) $ECHO_C" >&6
43462 else
43463 cat >conftest.$ac_ext <<_ACEOF
43464 /* confdefs.h. */
43465 _ACEOF
43466 cat confdefs.h >>conftest.$ac_ext
43467 cat >>conftest.$ac_ext <<_ACEOF
43468 /* end confdefs.h. */
43469 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43470 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43471 #define $ac_func innocuous_$ac_func
43472
43473 /* System header to define __stub macros and hopefully few prototypes,
43474 which can conflict with char $ac_func (); below.
43475 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43476 <limits.h> exists even on freestanding compilers. */
43477
43478 #ifdef __STDC__
43479 # include <limits.h>
43480 #else
43481 # include <assert.h>
43482 #endif
43483
43484 #undef $ac_func
43485
43486 /* Override any gcc2 internal prototype to avoid an error. */
43487 #ifdef __cplusplus
43488 extern "C"
43489 {
43490 #endif
43491 /* We use char because int might match the return type of a gcc2
43492 builtin and then its argument prototype would still apply. */
43493 char $ac_func ();
43494 /* The GNU C library defines this for functions which it implements
43495 to always fail with ENOSYS. Some functions are actually named
43496 something starting with __ and the normal name is an alias. */
43497 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43498 choke me
43499 #else
43500 char (*f) () = $ac_func;
43501 #endif
43502 #ifdef __cplusplus
43503 }
43504 #endif
43505
43506 int
43507 main ()
43508 {
43509 return f != $ac_func;
43510 ;
43511 return 0;
43512 }
43513 _ACEOF
43514 rm -f conftest.$ac_objext conftest$ac_exeext
43515 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43516 (eval $ac_link) 2>conftest.er1
43517 ac_status=$?
43518 grep -v '^ *+' conftest.er1 >conftest.err
43519 rm -f conftest.er1
43520 cat conftest.err >&5
43521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43522 (exit $ac_status); } &&
43523 { ac_try='test -z "$ac_c_werror_flag"
43524 || test ! -s conftest.err'
43525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43526 (eval $ac_try) 2>&5
43527 ac_status=$?
43528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43529 (exit $ac_status); }; } &&
43530 { ac_try='test -s conftest$ac_exeext'
43531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43532 (eval $ac_try) 2>&5
43533 ac_status=$?
43534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43535 (exit $ac_status); }; }; then
43536 eval "$as_ac_var=yes"
43537 else
43538 echo "$as_me: failed program was:" >&5
43539 sed 's/^/| /' conftest.$ac_ext >&5
43540
43541 eval "$as_ac_var=no"
43542 fi
43543 rm -f conftest.err conftest.$ac_objext \
43544 conftest$ac_exeext conftest.$ac_ext
43545 fi
43546 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43547 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43548 if test `eval echo '${'$as_ac_var'}'` = yes; then
43549 cat >>confdefs.h <<_ACEOF
43550 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43551 _ACEOF
43552 have_floor=1
43553 fi
43554 done
43555
43556 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
43557 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
43558 if test "$have_cos" = 1 -a "$have_floor" = 1; then
43559 echo "$as_me:$LINENO: result: yes" >&5
43560 echo "${ECHO_T}yes" >&6
43561 else
43562 echo "$as_me:$LINENO: result: no" >&5
43563 echo "${ECHO_T}no" >&6
43564 LIBS="$LIBS -lm"
43565 # use different functions to avoid configure caching
43566 have_sin=0
43567 have_ceil=0
43568
43569 for ac_func in sin
43570 do
43571 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43572 echo "$as_me:$LINENO: checking for $ac_func" >&5
43573 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43574 if eval "test \"\${$as_ac_var+set}\" = set"; then
43575 echo $ECHO_N "(cached) $ECHO_C" >&6
43576 else
43577 cat >conftest.$ac_ext <<_ACEOF
43578 /* confdefs.h. */
43579 _ACEOF
43580 cat confdefs.h >>conftest.$ac_ext
43581 cat >>conftest.$ac_ext <<_ACEOF
43582 /* end confdefs.h. */
43583 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43584 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43585 #define $ac_func innocuous_$ac_func
43586
43587 /* System header to define __stub macros and hopefully few prototypes,
43588 which can conflict with char $ac_func (); below.
43589 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43590 <limits.h> exists even on freestanding compilers. */
43591
43592 #ifdef __STDC__
43593 # include <limits.h>
43594 #else
43595 # include <assert.h>
43596 #endif
43597
43598 #undef $ac_func
43599
43600 /* Override any gcc2 internal prototype to avoid an error. */
43601 #ifdef __cplusplus
43602 extern "C"
43603 {
43604 #endif
43605 /* We use char because int might match the return type of a gcc2
43606 builtin and then its argument prototype would still apply. */
43607 char $ac_func ();
43608 /* The GNU C library defines this for functions which it implements
43609 to always fail with ENOSYS. Some functions are actually named
43610 something starting with __ and the normal name is an alias. */
43611 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43612 choke me
43613 #else
43614 char (*f) () = $ac_func;
43615 #endif
43616 #ifdef __cplusplus
43617 }
43618 #endif
43619
43620 int
43621 main ()
43622 {
43623 return f != $ac_func;
43624 ;
43625 return 0;
43626 }
43627 _ACEOF
43628 rm -f conftest.$ac_objext conftest$ac_exeext
43629 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43630 (eval $ac_link) 2>conftest.er1
43631 ac_status=$?
43632 grep -v '^ *+' conftest.er1 >conftest.err
43633 rm -f conftest.er1
43634 cat conftest.err >&5
43635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43636 (exit $ac_status); } &&
43637 { ac_try='test -z "$ac_c_werror_flag"
43638 || test ! -s conftest.err'
43639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43640 (eval $ac_try) 2>&5
43641 ac_status=$?
43642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43643 (exit $ac_status); }; } &&
43644 { ac_try='test -s conftest$ac_exeext'
43645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43646 (eval $ac_try) 2>&5
43647 ac_status=$?
43648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43649 (exit $ac_status); }; }; then
43650 eval "$as_ac_var=yes"
43651 else
43652 echo "$as_me: failed program was:" >&5
43653 sed 's/^/| /' conftest.$ac_ext >&5
43654
43655 eval "$as_ac_var=no"
43656 fi
43657 rm -f conftest.err conftest.$ac_objext \
43658 conftest$ac_exeext conftest.$ac_ext
43659 fi
43660 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43661 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43662 if test `eval echo '${'$as_ac_var'}'` = yes; then
43663 cat >>confdefs.h <<_ACEOF
43664 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43665 _ACEOF
43666 have_sin=1
43667 fi
43668 done
43669
43670
43671 for ac_func in ceil
43672 do
43673 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43674 echo "$as_me:$LINENO: checking for $ac_func" >&5
43675 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43676 if eval "test \"\${$as_ac_var+set}\" = set"; then
43677 echo $ECHO_N "(cached) $ECHO_C" >&6
43678 else
43679 cat >conftest.$ac_ext <<_ACEOF
43680 /* confdefs.h. */
43681 _ACEOF
43682 cat confdefs.h >>conftest.$ac_ext
43683 cat >>conftest.$ac_ext <<_ACEOF
43684 /* end confdefs.h. */
43685 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43686 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43687 #define $ac_func innocuous_$ac_func
43688
43689 /* System header to define __stub macros and hopefully few prototypes,
43690 which can conflict with char $ac_func (); below.
43691 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43692 <limits.h> exists even on freestanding compilers. */
43693
43694 #ifdef __STDC__
43695 # include <limits.h>
43696 #else
43697 # include <assert.h>
43698 #endif
43699
43700 #undef $ac_func
43701
43702 /* Override any gcc2 internal prototype to avoid an error. */
43703 #ifdef __cplusplus
43704 extern "C"
43705 {
43706 #endif
43707 /* We use char because int might match the return type of a gcc2
43708 builtin and then its argument prototype would still apply. */
43709 char $ac_func ();
43710 /* The GNU C library defines this for functions which it implements
43711 to always fail with ENOSYS. Some functions are actually named
43712 something starting with __ and the normal name is an alias. */
43713 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43714 choke me
43715 #else
43716 char (*f) () = $ac_func;
43717 #endif
43718 #ifdef __cplusplus
43719 }
43720 #endif
43721
43722 int
43723 main ()
43724 {
43725 return f != $ac_func;
43726 ;
43727 return 0;
43728 }
43729 _ACEOF
43730 rm -f conftest.$ac_objext conftest$ac_exeext
43731 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43732 (eval $ac_link) 2>conftest.er1
43733 ac_status=$?
43734 grep -v '^ *+' conftest.er1 >conftest.err
43735 rm -f conftest.er1
43736 cat conftest.err >&5
43737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43738 (exit $ac_status); } &&
43739 { ac_try='test -z "$ac_c_werror_flag"
43740 || test ! -s conftest.err'
43741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43742 (eval $ac_try) 2>&5
43743 ac_status=$?
43744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43745 (exit $ac_status); }; } &&
43746 { ac_try='test -s conftest$ac_exeext'
43747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43748 (eval $ac_try) 2>&5
43749 ac_status=$?
43750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43751 (exit $ac_status); }; }; then
43752 eval "$as_ac_var=yes"
43753 else
43754 echo "$as_me: failed program was:" >&5
43755 sed 's/^/| /' conftest.$ac_ext >&5
43756
43757 eval "$as_ac_var=no"
43758 fi
43759 rm -f conftest.err conftest.$ac_objext \
43760 conftest$ac_exeext conftest.$ac_ext
43761 fi
43762 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43763 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43764 if test `eval echo '${'$as_ac_var'}'` = yes; then
43765 cat >>confdefs.h <<_ACEOF
43766 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43767 _ACEOF
43768 have_ceil=1
43769 fi
43770 done
43771
43772 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
43773 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
43774 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
43775 echo "$as_me:$LINENO: result: yes" >&5
43776 echo "${ECHO_T}yes" >&6
43777 else
43778 echo "$as_me:$LINENO: result: no" >&5
43779 echo "${ECHO_T}no" >&6
43780 # not sure we should warn the user, crash, etc.
43781 fi
43782 fi
43783
43784 if test "$wxUSE_GUI" = "yes"; then
43785
43786
43787 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
43788 dynamic erase event exec font image minimal mobile \
43789 mobile/wxedit mobile/styles propsize render \
43790 richedit rotate shaped vscroll widgets"
43791
43792 if test "$wxUSE_MONOLITHIC" != "yes"; then
43793 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
43794 fi
43795 if test "$TOOLKIT" = "MSW"; then
43796 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
43797 if test "$wxUSE_UNIVERSAL" != "yes"; then
43798 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg"
43799 fi
43800 fi
43801 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
43802 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
43803 fi
43804 else
43805 SAMPLES_SUBDIRS="console"
43806 fi
43807
43808
43809 INCLUDES="-I\${top_builddir}lib/wx/include/${TOOLCHAIN_FULLNAME} \
43810 -I\${top_srcdir}/include $TOOLKIT_INCLUDE"
43811
43812 if test "x$INTELCC" = "xyes" ; then
43813 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684"
43814 elif test "$GCC" = yes ; then
43815 CWARNINGS="-Wall -Wundef"
43816 fi
43817
43818 if test "x$INTELCXX" = "xyes" ; then
43819 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419"
43820 elif test "$GXX" = yes ; then
43821 CXXWARNINGS="-Wall -Wundef -Wno-ctor-dtor-privacy"
43822
43823 case "${host}" in
43824 *-*-cygwin* | *-*-mingw32* )
43825 CXXWARNINGS="$CXXWARNINGS -Wno-format"
43826 esac
43827 fi
43828
43829 EXTRA_CFLAGS="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE"
43830
43831 CPPFLAGS=`echo $WXDEBUG_DEFINE $INCLUDES $CPPFLAGS`
43832 CFLAGS=`echo $CODE_GEN_FLAGS $EXTRA_CFLAGS $CFLAGS $CWARNINGS`
43833 CXXFLAGS=`echo $CODE_GEN_FLAGS $CODE_GEN_FLAGS_CXX $EXTRA_CFLAGS $CXXFLAGS $CXXWARNINGS`
43834
43835 if test "x$MWCC" = "xyes"; then
43836
43837 CC="$CC -cwd source -I-"
43838 CXX="$CXX -cwd source -I-"
43839 fi
43840
43841
43842 LIBS=`echo $LIBS`
43843 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
43844 EXTRALIBS_XML="$EXPAT_LINK"
43845 EXTRALIBS_HTML="$MSPACK_LINK"
43846 EXTRALIBS_ODBC="$ODBC_LINK"
43847 if test "$wxUSE_GUI" = "yes"; then
43848 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_GNOMEPRINT`
43849 fi
43850 if test "$wxUSE_OPENGL" = "yes"; then
43851 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
43852 fi
43853
43854 LDFLAGS="$LDFLAGS $PROFILE"
43855
43856 if test "$wxUSE_GTK" = 1; then
43857 WXCONFIG_INCLUDE=
43858 else
43859 WXCONFIG_INCLUDE="$TOOLKIT_INCLUDE"
43860 fi
43861
43862 WXCONFIG_EXTRALIBS="$LIBS"
43863
43864 if test "$wxUSE_REGEX" = "builtin" ; then
43865 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
43866 fi
43867 if test "$wxUSE_EXPAT" = "builtin" ; then
43868 wxconfig_3rdparty="expat $wxconfig_3rdparty"
43869 fi
43870 if test "$wxUSE_ODBC" = "builtin" ; then
43871 wxconfig_3rdparty="odbc $wxconfig_3rdparty"
43872 fi
43873 if test "$wxUSE_LIBTIFF" = "builtin" ; then
43874 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
43875 fi
43876 if test "$wxUSE_LIBJPEG" = "builtin" ; then
43877 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
43878 fi
43879 if test "$wxUSE_LIBPNG" = "builtin" ; then
43880 wxconfig_3rdparty="png $wxconfig_3rdparty"
43881 fi
43882 if test "$wxUSE_ZLIB" = "builtin" ; then
43883 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
43884 fi
43885
43886 for i in $wxconfig_3rdparty ; do
43887 WXCONFIG_EXTRALIBS="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_EXTRALIBS"
43888 done
43889
43890
43891 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
43892 WXUNIV=1
43893 else
43894 WXUNIV=0
43895 fi
43896
43897
43898
43899
43900
43901
43902
43903
43904
43905 if test $wxUSE_MONOLITHIC = "yes" ; then
43906 MONOLITHIC=1
43907 else
43908 MONOLITHIC=0
43909 fi
43910
43911 if test $wxUSE_PLUGINS = "yes" ; then
43912 USE_PLUGINS=1
43913 else
43914 USE_PLUGINS=0
43915 fi
43916
43917 if test $wxUSE_ODBC != "no" ; then
43918 USE_ODBC=1
43919 else
43920 USE_ODBC=0
43921 fi
43922
43923 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
43924 USE_QA=1
43925 else
43926 USE_QA=0
43927 fi
43928
43929 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
43930 OFFICIAL_BUILD=1
43931 else
43932 OFFICIAL_BUILD=0
43933 fi
43934
43935
43936
43937
43938
43939
43940
43941
43942
43943
43944
43945
43946
43947
43948
43949
43950
43951
43952
43953
43954
43955
43956
43957 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
43958
43959
43960
43961
43962
43963
43964
43965
43966 case "$TOOLKIT" in
43967 GTK)
43968 TOOLKIT_USER="GTK+"
43969 if test "$WXGTK20" = 1; then
43970 TOOLKIT_USER="$TOOLKIT_USER 2"
43971 fi
43972 ;;
43973
43974 *)
43975 TOOLKIT_USER=$TOOLKIT_LOWERCASE
43976 ;;
43977 esac
43978
43979 if test "$wxUSE_WINE" = "yes"; then
43980 BAKEFILE_FORCE_PLATFORM=win32
43981 fi
43982
43983
43984
43985
43986 if test "x$BAKEFILE_HOST" = "x"; then
43987 BAKEFILE_HOST="${host}"
43988 fi
43989
43990 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
43991
43992 if test -n "$ac_tool_prefix"; then
43993 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
43994 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
43995 echo "$as_me:$LINENO: checking for $ac_word" >&5
43996 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
43997 if test "${ac_cv_prog_RANLIB+set}" = set; then
43998 echo $ECHO_N "(cached) $ECHO_C" >&6
43999 else
44000 if test -n "$RANLIB"; then
44001 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
44002 else
44003 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
44004 for as_dir in $PATH
44005 do
44006 IFS=$as_save_IFS
44007 test -z "$as_dir" && as_dir=.
44008 for ac_exec_ext in '' $ac_executable_extensions; do
44009 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
44010 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
44011 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44012 break 2
44013 fi
44014 done
44015 done
44016
44017 fi
44018 fi
44019 RANLIB=$ac_cv_prog_RANLIB
44020 if test -n "$RANLIB"; then
44021 echo "$as_me:$LINENO: result: $RANLIB" >&5
44022 echo "${ECHO_T}$RANLIB" >&6
44023 else
44024 echo "$as_me:$LINENO: result: no" >&5
44025 echo "${ECHO_T}no" >&6
44026 fi
44027
44028 fi
44029 if test -z "$ac_cv_prog_RANLIB"; then
44030 ac_ct_RANLIB=$RANLIB
44031 # Extract the first word of "ranlib", so it can be a program name with args.
44032 set dummy ranlib; ac_word=$2
44033 echo "$as_me:$LINENO: checking for $ac_word" >&5
44034 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
44035 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
44036 echo $ECHO_N "(cached) $ECHO_C" >&6
44037 else
44038 if test -n "$ac_ct_RANLIB"; then
44039 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
44040 else
44041 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
44042 for as_dir in $PATH
44043 do
44044 IFS=$as_save_IFS
44045 test -z "$as_dir" && as_dir=.
44046 for ac_exec_ext in '' $ac_executable_extensions; do
44047 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
44048 ac_cv_prog_ac_ct_RANLIB="ranlib"
44049 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44050 break 2
44051 fi
44052 done
44053 done
44054
44055 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
44056 fi
44057 fi
44058 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
44059 if test -n "$ac_ct_RANLIB"; then
44060 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
44061 echo "${ECHO_T}$ac_ct_RANLIB" >&6
44062 else
44063 echo "$as_me:$LINENO: result: no" >&5
44064 echo "${ECHO_T}no" >&6
44065 fi
44066
44067 RANLIB=$ac_ct_RANLIB
44068 else
44069 RANLIB="$ac_cv_prog_RANLIB"
44070 fi
44071
44072 # Find a good install program. We prefer a C program (faster),
44073 # so one script is as good as another. But avoid the broken or
44074 # incompatible versions:
44075 # SysV /etc/install, /usr/sbin/install
44076 # SunOS /usr/etc/install
44077 # IRIX /sbin/install
44078 # AIX /bin/install
44079 # AmigaOS /C/install, which installs bootblocks on floppy discs
44080 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
44081 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
44082 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
44083 # OS/2's system install, which has a completely different semantic
44084 # ./install, which can be erroneously created by make from ./install.sh.
44085 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
44086 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
44087 if test -z "$INSTALL"; then
44088 if test "${ac_cv_path_install+set}" = set; then
44089 echo $ECHO_N "(cached) $ECHO_C" >&6
44090 else
44091 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
44092 for as_dir in $PATH
44093 do
44094 IFS=$as_save_IFS
44095 test -z "$as_dir" && as_dir=.
44096 # Account for people who put trailing slashes in PATH elements.
44097 case $as_dir/ in
44098 ./ | .// | /cC/* | \
44099 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
44100 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
44101 /usr/ucb/* ) ;;
44102 *)
44103 # OSF1 and SCO ODT 3.0 have their own names for install.
44104 # Don't use installbsd from OSF since it installs stuff as root
44105 # by default.
44106 for ac_prog in ginstall scoinst install; do
44107 for ac_exec_ext in '' $ac_executable_extensions; do
44108 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
44109 if test $ac_prog = install &&
44110 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
44111 # AIX install. It has an incompatible calling convention.
44112 :
44113 elif test $ac_prog = install &&
44114 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
44115 # program-specific install script used by HP pwplus--don't use.
44116 :
44117 else
44118 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
44119 break 3
44120 fi
44121 fi
44122 done
44123 done
44124 ;;
44125 esac
44126 done
44127
44128
44129 fi
44130 if test "${ac_cv_path_install+set}" = set; then
44131 INSTALL=$ac_cv_path_install
44132 else
44133 # As a last resort, use the slow shell script. We don't cache a
44134 # path for INSTALL within a source directory, because that will
44135 # break other packages using the cache if that directory is
44136 # removed, or if the path is relative.
44137 INSTALL=$ac_install_sh
44138 fi
44139 fi
44140 echo "$as_me:$LINENO: result: $INSTALL" >&5
44141 echo "${ECHO_T}$INSTALL" >&6
44142
44143 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
44144 # It thinks the first close brace ends the variable substitution.
44145 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
44146
44147 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
44148
44149 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
44150
44151 echo "$as_me:$LINENO: checking whether ln -s works" >&5
44152 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
44153 LN_S=$as_ln_s
44154 if test "$LN_S" = "ln -s"; then
44155 echo "$as_me:$LINENO: result: yes" >&5
44156 echo "${ECHO_T}yes" >&6
44157 else
44158 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
44159 echo "${ECHO_T}no, using $LN_S" >&6
44160 fi
44161
44162
44163 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
44164 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
44165 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
44166 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
44167 echo $ECHO_N "(cached) $ECHO_C" >&6
44168 else
44169 cat >conftest.make <<\_ACEOF
44170 all:
44171 @echo 'ac_maketemp="$(MAKE)"'
44172 _ACEOF
44173 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
44174 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
44175 if test -n "$ac_maketemp"; then
44176 eval ac_cv_prog_make_${ac_make}_set=yes
44177 else
44178 eval ac_cv_prog_make_${ac_make}_set=no
44179 fi
44180 rm -f conftest.make
44181 fi
44182 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
44183 echo "$as_me:$LINENO: result: yes" >&5
44184 echo "${ECHO_T}yes" >&6
44185 SET_MAKE=
44186 else
44187 echo "$as_me:$LINENO: result: no" >&5
44188 echo "${ECHO_T}no" >&6
44189 SET_MAKE="MAKE=${MAKE-make}"
44190 fi
44191
44192
44193
44194 if test -n "$ac_tool_prefix"; then
44195 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
44196 set dummy ${ac_tool_prefix}ar; ac_word=$2
44197 echo "$as_me:$LINENO: checking for $ac_word" >&5
44198 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
44199 if test "${ac_cv_prog_AR+set}" = set; then
44200 echo $ECHO_N "(cached) $ECHO_C" >&6
44201 else
44202 if test -n "$AR"; then
44203 ac_cv_prog_AR="$AR" # Let the user override the test.
44204 else
44205 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
44206 for as_dir in $PATH
44207 do
44208 IFS=$as_save_IFS
44209 test -z "$as_dir" && as_dir=.
44210 for ac_exec_ext in '' $ac_executable_extensions; do
44211 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
44212 ac_cv_prog_AR="${ac_tool_prefix}ar"
44213 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44214 break 2
44215 fi
44216 done
44217 done
44218
44219 fi
44220 fi
44221 AR=$ac_cv_prog_AR
44222 if test -n "$AR"; then
44223 echo "$as_me:$LINENO: result: $AR" >&5
44224 echo "${ECHO_T}$AR" >&6
44225 else
44226 echo "$as_me:$LINENO: result: no" >&5
44227 echo "${ECHO_T}no" >&6
44228 fi
44229
44230 fi
44231 if test -z "$ac_cv_prog_AR"; then
44232 ac_ct_AR=$AR
44233 # Extract the first word of "ar", so it can be a program name with args.
44234 set dummy ar; ac_word=$2
44235 echo "$as_me:$LINENO: checking for $ac_word" >&5
44236 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
44237 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
44238 echo $ECHO_N "(cached) $ECHO_C" >&6
44239 else
44240 if test -n "$ac_ct_AR"; then
44241 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
44242 else
44243 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
44244 for as_dir in $PATH
44245 do
44246 IFS=$as_save_IFS
44247 test -z "$as_dir" && as_dir=.
44248 for ac_exec_ext in '' $ac_executable_extensions; do
44249 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
44250 ac_cv_prog_ac_ct_AR="ar"
44251 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44252 break 2
44253 fi
44254 done
44255 done
44256
44257 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="ar"
44258 fi
44259 fi
44260 ac_ct_AR=$ac_cv_prog_ac_ct_AR
44261 if test -n "$ac_ct_AR"; then
44262 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
44263 echo "${ECHO_T}$ac_ct_AR" >&6
44264 else
44265 echo "$as_me:$LINENO: result: no" >&5
44266 echo "${ECHO_T}no" >&6
44267 fi
44268
44269 AR=$ac_ct_AR
44270 else
44271 AR="$ac_cv_prog_AR"
44272 fi
44273
44274 if test -n "$ac_tool_prefix"; then
44275 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
44276 set dummy ${ac_tool_prefix}strip; ac_word=$2
44277 echo "$as_me:$LINENO: checking for $ac_word" >&5
44278 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
44279 if test "${ac_cv_prog_STRIP+set}" = set; then
44280 echo $ECHO_N "(cached) $ECHO_C" >&6
44281 else
44282 if test -n "$STRIP"; then
44283 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
44284 else
44285 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
44286 for as_dir in $PATH
44287 do
44288 IFS=$as_save_IFS
44289 test -z "$as_dir" && as_dir=.
44290 for ac_exec_ext in '' $ac_executable_extensions; do
44291 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
44292 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
44293 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44294 break 2
44295 fi
44296 done
44297 done
44298
44299 fi
44300 fi
44301 STRIP=$ac_cv_prog_STRIP
44302 if test -n "$STRIP"; then
44303 echo "$as_me:$LINENO: result: $STRIP" >&5
44304 echo "${ECHO_T}$STRIP" >&6
44305 else
44306 echo "$as_me:$LINENO: result: no" >&5
44307 echo "${ECHO_T}no" >&6
44308 fi
44309
44310 fi
44311 if test -z "$ac_cv_prog_STRIP"; then
44312 ac_ct_STRIP=$STRIP
44313 # Extract the first word of "strip", so it can be a program name with args.
44314 set dummy strip; ac_word=$2
44315 echo "$as_me:$LINENO: checking for $ac_word" >&5
44316 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
44317 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
44318 echo $ECHO_N "(cached) $ECHO_C" >&6
44319 else
44320 if test -n "$ac_ct_STRIP"; then
44321 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
44322 else
44323 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
44324 for as_dir in $PATH
44325 do
44326 IFS=$as_save_IFS
44327 test -z "$as_dir" && as_dir=.
44328 for ac_exec_ext in '' $ac_executable_extensions; do
44329 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
44330 ac_cv_prog_ac_ct_STRIP="strip"
44331 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44332 break 2
44333 fi
44334 done
44335 done
44336
44337 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
44338 fi
44339 fi
44340 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
44341 if test -n "$ac_ct_STRIP"; then
44342 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
44343 echo "${ECHO_T}$ac_ct_STRIP" >&6
44344 else
44345 echo "$as_me:$LINENO: result: no" >&5
44346 echo "${ECHO_T}no" >&6
44347 fi
44348
44349 STRIP=$ac_ct_STRIP
44350 else
44351 STRIP="$ac_cv_prog_STRIP"
44352 fi
44353
44354 if test -n "$ac_tool_prefix"; then
44355 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
44356 set dummy ${ac_tool_prefix}nm; ac_word=$2
44357 echo "$as_me:$LINENO: checking for $ac_word" >&5
44358 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
44359 if test "${ac_cv_prog_NM+set}" = set; then
44360 echo $ECHO_N "(cached) $ECHO_C" >&6
44361 else
44362 if test -n "$NM"; then
44363 ac_cv_prog_NM="$NM" # Let the user override the test.
44364 else
44365 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
44366 for as_dir in $PATH
44367 do
44368 IFS=$as_save_IFS
44369 test -z "$as_dir" && as_dir=.
44370 for ac_exec_ext in '' $ac_executable_extensions; do
44371 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
44372 ac_cv_prog_NM="${ac_tool_prefix}nm"
44373 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44374 break 2
44375 fi
44376 done
44377 done
44378
44379 fi
44380 fi
44381 NM=$ac_cv_prog_NM
44382 if test -n "$NM"; then
44383 echo "$as_me:$LINENO: result: $NM" >&5
44384 echo "${ECHO_T}$NM" >&6
44385 else
44386 echo "$as_me:$LINENO: result: no" >&5
44387 echo "${ECHO_T}no" >&6
44388 fi
44389
44390 fi
44391 if test -z "$ac_cv_prog_NM"; then
44392 ac_ct_NM=$NM
44393 # Extract the first word of "nm", so it can be a program name with args.
44394 set dummy nm; ac_word=$2
44395 echo "$as_me:$LINENO: checking for $ac_word" >&5
44396 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
44397 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
44398 echo $ECHO_N "(cached) $ECHO_C" >&6
44399 else
44400 if test -n "$ac_ct_NM"; then
44401 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
44402 else
44403 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
44404 for as_dir in $PATH
44405 do
44406 IFS=$as_save_IFS
44407 test -z "$as_dir" && as_dir=.
44408 for ac_exec_ext in '' $ac_executable_extensions; do
44409 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
44410 ac_cv_prog_ac_ct_NM="nm"
44411 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44412 break 2
44413 fi
44414 done
44415 done
44416
44417 test -z "$ac_cv_prog_ac_ct_NM" && ac_cv_prog_ac_ct_NM=":"
44418 fi
44419 fi
44420 ac_ct_NM=$ac_cv_prog_ac_ct_NM
44421 if test -n "$ac_ct_NM"; then
44422 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
44423 echo "${ECHO_T}$ac_ct_NM" >&6
44424 else
44425 echo "$as_me:$LINENO: result: no" >&5
44426 echo "${ECHO_T}no" >&6
44427 fi
44428
44429 NM=$ac_ct_NM
44430 else
44431 NM="$ac_cv_prog_NM"
44432 fi
44433
44434
44435 case ${BAKEFILE_HOST} in
44436 *-hp-hpux* )
44437 INSTALL_DIR="mkdir -p"
44438 ;;
44439 *) INSTALL_DIR="$INSTALL -d"
44440 ;;
44441 esac
44442
44443
44444 LDFLAGS_GUI=
44445 case ${BAKEFILE_HOST} in
44446 *-*-cygwin* | *-*-mingw32* )
44447 LDFLAGS_GUI="-mwindows"
44448 esac
44449
44450
44451 fi
44452
44453 echo "$as_me:$LINENO: checking if make is GNU make" >&5
44454 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
44455 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
44456 echo $ECHO_N "(cached) $ECHO_C" >&6
44457 else
44458
44459 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
44460 egrep -s GNU > /dev/null); then
44461 bakefile_cv_prog_makeisgnu="yes"
44462 else
44463 bakefile_cv_prog_makeisgnu="no"
44464 fi
44465
44466 fi
44467 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
44468 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
44469
44470 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
44471 IF_GNU_MAKE=""
44472 else
44473 IF_GNU_MAKE="#"
44474 fi
44475
44476
44477
44478 PLATFORM_UNIX=0
44479 PLATFORM_WIN32=0
44480 PLATFORM_MSDOS=0
44481 PLATFORM_MAC=0
44482 PLATFORM_MACOS=0
44483 PLATFORM_MACOSX=0
44484 PLATFORM_OS2=0
44485 PLATFORM_BEOS=0
44486
44487 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
44488 case "${BAKEFILE_HOST}" in
44489 *-*-mingw32* )
44490 PLATFORM_WIN32=1
44491 ;;
44492 *-pc-msdosdjgpp )
44493 PLATFORM_MSDOS=1
44494 ;;
44495 *-pc-os2_emx | *-pc-os2-emx )
44496 PLATFORM_OS2=1
44497 ;;
44498 *-*-darwin* )
44499 PLATFORM_MAC=1
44500 PLATFORM_MACOSX=1
44501 ;;
44502 *-*-beos* )
44503 PLATFORM_BEOS=1
44504 ;;
44505 powerpc-apple-macos* )
44506 PLATFORM_MAC=1
44507 PLATFORM_MACOS=1
44508 ;;
44509 * )
44510 PLATFORM_UNIX=1
44511 ;;
44512 esac
44513 else
44514 case "$BAKEFILE_FORCE_PLATFORM" in
44515 win32 )
44516 PLATFORM_WIN32=1
44517 ;;
44518 msdos )
44519 PLATFORM_MSDOS=1
44520 ;;
44521 os2 )
44522 PLATFORM_OS2=1
44523 ;;
44524 darwin )
44525 PLATFORM_MAC=1
44526 PLATFORM_MACOSX=1
44527 ;;
44528 unix )
44529 PLATFORM_UNIX=1
44530 ;;
44531 beos )
44532 PLATFORM_BEOS=1
44533 ;;
44534 * )
44535 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
44536 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
44537 { (exit 1); exit 1; }; }
44538 ;;
44539 esac
44540 fi
44541
44542
44543
44544
44545
44546
44547
44548
44549
44550
44551
44552 # Check whether --enable-omf or --disable-omf was given.
44553 if test "${enable_omf+set}" = set; then
44554 enableval="$enable_omf"
44555 bk_os2_use_omf="$enableval"
44556 fi;
44557
44558 case "${BAKEFILE_HOST}" in
44559 *-*-darwin* )
44560 if test "x$GCC" = "xyes"; then
44561 CFLAGS="$CFLAGS -fno-common"
44562 CXXFLAGS="$CXXFLAGS -fno-common"
44563 fi
44564 if test "x$XLCC" = "xyes"; then
44565 CFLAGS="$CFLAGS -qnocommon"
44566 CXXFLAGS="$CXXFLAGS -qnocommon"
44567 fi
44568 ;;
44569
44570 *-pc-os2_emx | *-pc-os2-emx )
44571 if test "x$bk_os2_use_omf" = "xyes" ; then
44572 AR=emxomfar
44573 RANLIB=:
44574 LDFLAGS="-Zomf $LDFLAGS"
44575 CFLAGS="-Zomf $CFLAGS"
44576 CXXFLAGS="-Zomf $CXXFLAGS"
44577 OS2_LIBEXT="lib"
44578 else
44579 OS2_LIBEXT="a"
44580 fi
44581 ;;
44582
44583 i*86-*-beos* )
44584 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
44585 ;;
44586 esac
44587
44588
44589 SO_SUFFIX="so"
44590 SO_SUFFIX_MODULE="so"
44591 EXEEXT=""
44592 LIBPREFIX="lib"
44593 LIBEXT=".a"
44594 DLLPREFIX="lib"
44595 DLLPREFIX_MODULE=""
44596 DLLIMP_SUFFIX=""
44597 dlldir="$libdir"
44598
44599 case "${BAKEFILE_HOST}" in
44600 *-hp-hpux* )
44601 SO_SUFFIX="sl"
44602 SO_SUFFIX_MODULE="sl"
44603 ;;
44604 *-*-aix* )
44605 SO_SUFFIX="a"
44606 SO_SUFFIX_MODULE="a"
44607 ;;
44608 *-*-cygwin* )
44609 SO_SUFFIX="dll"
44610 SO_SUFFIX_MODULE="dll"
44611 DLLIMP_SUFFIX="dll.a"
44612 EXEEXT=".exe"
44613 DLLPREFIX="cyg"
44614 dlldir="$bindir"
44615 ;;
44616 *-*-mingw32* )
44617 SO_SUFFIX="dll"
44618 SO_SUFFIX_MODULE="dll"
44619 DLLIMP_SUFFIX="dll.a"
44620 EXEEXT=".exe"
44621 DLLPREFIX=""
44622 dlldir="$bindir"
44623 ;;
44624 *-pc-msdosdjgpp )
44625 EXEEXT=".exe"
44626 DLLPREFIX=""
44627 dlldir="$bindir"
44628 ;;
44629 *-pc-os2_emx | *-pc-os2-emx )
44630 SO_SUFFIX="dll"
44631 SO_SUFFIX_MODULE="dll"
44632 DLLIMP_SUFFIX=$OS2_LIBEXT
44633 EXEEXT=".exe"
44634 DLLPREFIX=""
44635 LIBPREFIX=""
44636 LIBEXT=".$OS2_LIBEXT"
44637 dlldir="$bindir"
44638 ;;
44639 *-*-darwin* )
44640 SO_SUFFIX="dylib"
44641 SO_SUFFIX_MODULE="bundle"
44642 ;;
44643 esac
44644
44645 if test "x$DLLIMP_SUFFIX" = "x" ; then
44646 DLLIMP_SUFFIX="$SO_SUFFIX"
44647 fi
44648
44649
44650
44651
44652
44653
44654
44655
44656
44657
44658
44659
44660 PIC_FLAG=""
44661 if test "x$GCC" = "xyes"; then
44662 PIC_FLAG="-fPIC"
44663 fi
44664
44665 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
44666 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
44667 WINDOWS_IMPLIB=0
44668
44669 case "${BAKEFILE_HOST}" in
44670 *-hp-hpux* )
44671 if test "x$GCC" != "xyes"; then
44672 LDFLAGS="$LDFLAGS -L/usr/lib"
44673
44674 SHARED_LD_CC="${CC} -b -o"
44675 SHARED_LD_CXX="${CXX} -b -o"
44676 PIC_FLAG="+Z"
44677 fi
44678 ;;
44679
44680 *-*-linux* )
44681 if test "x$GCC" != "xyes"; then
44682 echo "$as_me:$LINENO: checking for Intel compiler" >&5
44683 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
44684 if test "${bakefile_cv_prog_icc+set}" = set; then
44685 echo $ECHO_N "(cached) $ECHO_C" >&6
44686 else
44687
44688 cat >conftest.$ac_ext <<_ACEOF
44689 /* confdefs.h. */
44690 _ACEOF
44691 cat confdefs.h >>conftest.$ac_ext
44692 cat >>conftest.$ac_ext <<_ACEOF
44693 /* end confdefs.h. */
44694
44695 int
44696 main ()
44697 {
44698
44699 #ifndef __INTEL_COMPILER
44700 #error Not icc
44701 #endif
44702
44703 ;
44704 return 0;
44705 }
44706 _ACEOF
44707 rm -f conftest.$ac_objext
44708 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44709 (eval $ac_compile) 2>conftest.er1
44710 ac_status=$?
44711 grep -v '^ *+' conftest.er1 >conftest.err
44712 rm -f conftest.er1
44713 cat conftest.err >&5
44714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44715 (exit $ac_status); } &&
44716 { ac_try='test -z "$ac_c_werror_flag"
44717 || test ! -s conftest.err'
44718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44719 (eval $ac_try) 2>&5
44720 ac_status=$?
44721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44722 (exit $ac_status); }; } &&
44723 { ac_try='test -s conftest.$ac_objext'
44724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44725 (eval $ac_try) 2>&5
44726 ac_status=$?
44727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44728 (exit $ac_status); }; }; then
44729 bakefile_cv_prog_icc=yes
44730 else
44731 echo "$as_me: failed program was:" >&5
44732 sed 's/^/| /' conftest.$ac_ext >&5
44733
44734 bakefile_cv_prog_icc=no
44735
44736 fi
44737 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44738
44739 fi
44740 echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
44741 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
44742 if test "$bakefile_cv_prog_icc" = "yes"; then
44743 PIC_FLAG="-KPIC"
44744 fi
44745 fi
44746 ;;
44747
44748 *-*-solaris2* )
44749 if test "x$GCC" != xyes ; then
44750 SHARED_LD_CC="${CC} -G -o"
44751 SHARED_LD_CXX="${CXX} -G -o"
44752 PIC_FLAG="-KPIC"
44753 fi
44754 ;;
44755
44756 *-*-darwin* )
44757
44758 D='$'
44759 cat <<EOF >shared-ld-sh
44760 #!/bin/sh
44761 #-----------------------------------------------------------------------------
44762 #-- Name: distrib/mac/shared-ld-sh
44763 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
44764 #-- Author: Gilles Depeyrot
44765 #-- Copyright: (c) 2002 Gilles Depeyrot
44766 #-- Licence: any use permitted
44767 #-----------------------------------------------------------------------------
44768
44769 verbose=0
44770 args=""
44771 objects=""
44772 linking_flag="-dynamiclib"
44773 ldargs="-r -keep_private_externs -nostdlib"
44774
44775 while test ${D}# -gt 0; do
44776 case ${D}1 in
44777
44778 -v)
44779 verbose=1
44780 ;;
44781
44782 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
44783 # collect these options and values
44784 args="${D}{args} ${D}1 ${D}2"
44785 shift
44786 ;;
44787
44788 -s|-Wl,*)
44789 # collect these load args
44790 ldargs="${D}{ldargs} ${D}1"
44791 ;;
44792
44793 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
44794 # collect these options
44795 args="${D}{args} ${D}1"
44796 ;;
44797
44798 -dynamiclib|-bundle)
44799 linking_flag="${D}1"
44800 ;;
44801
44802 -*)
44803 echo "shared-ld: unhandled option '${D}1'"
44804 exit 1
44805 ;;
44806
44807 *.o | *.a | *.dylib)
44808 # collect object files
44809 objects="${D}{objects} ${D}1"
44810 ;;
44811
44812 *)
44813 echo "shared-ld: unhandled argument '${D}1'"
44814 exit 1
44815 ;;
44816
44817 esac
44818 shift
44819 done
44820
44821 status=0
44822
44823 #
44824 # Link one module containing all the others
44825 #
44826 if test ${D}{verbose} = 1; then
44827 echo "c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
44828 fi
44829 c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
44830 status=${D}?
44831
44832 #
44833 # Link the shared library from the single module created, but only if the
44834 # previous command didn't fail:
44835 #
44836 if test ${D}{status} = 0; then
44837 if test ${D}{verbose} = 1; then
44838 echo "c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
44839 fi
44840 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
44841 status=${D}?
44842 fi
44843
44844 #
44845 # Remove intermediate module
44846 #
44847 rm -f master.${D}${D}.o
44848
44849 exit ${D}status
44850 EOF
44851
44852 chmod +x shared-ld-sh
44853
44854 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
44855 SHARED_LD_MODULE_CXX="$SHARED_LD_MODULE_CC"
44856
44857
44858 echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
44859 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6
44860 if test "${bakefile_cv_gcc31+set}" = set; then
44861 echo $ECHO_N "(cached) $ECHO_C" >&6
44862 else
44863
44864 cat >conftest.$ac_ext <<_ACEOF
44865 /* confdefs.h. */
44866 _ACEOF
44867 cat confdefs.h >>conftest.$ac_ext
44868 cat >>conftest.$ac_ext <<_ACEOF
44869 /* end confdefs.h. */
44870
44871 int
44872 main ()
44873 {
44874
44875 #if (__GNUC__ < 3) || \
44876 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
44877 #error old gcc
44878 #endif
44879
44880 ;
44881 return 0;
44882 }
44883 _ACEOF
44884 rm -f conftest.$ac_objext
44885 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44886 (eval $ac_compile) 2>conftest.er1
44887 ac_status=$?
44888 grep -v '^ *+' conftest.er1 >conftest.err
44889 rm -f conftest.er1
44890 cat conftest.err >&5
44891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44892 (exit $ac_status); } &&
44893 { ac_try='test -z "$ac_c_werror_flag"
44894 || test ! -s conftest.err'
44895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44896 (eval $ac_try) 2>&5
44897 ac_status=$?
44898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44899 (exit $ac_status); }; } &&
44900 { ac_try='test -s conftest.$ac_objext'
44901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44902 (eval $ac_try) 2>&5
44903 ac_status=$?
44904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44905 (exit $ac_status); }; }; then
44906
44907 bakefile_cv_gcc31=yes
44908
44909 else
44910 echo "$as_me: failed program was:" >&5
44911 sed 's/^/| /' conftest.$ac_ext >&5
44912
44913
44914 bakefile_cv_gcc31=no
44915
44916
44917 fi
44918 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44919
44920 fi
44921 echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
44922 echo "${ECHO_T}$bakefile_cv_gcc31" >&6
44923 if test "$bakefile_cv_gcc31" = "no"; then
44924 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
44925 SHARED_LD_CXX="$SHARED_LD_CC"
44926 else
44927 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
44928 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
44929 fi
44930
44931 if test "x$GCC" == "xyes"; then
44932 PIC_FLAG="-dynamic -fPIC"
44933 fi
44934 if test "x$XLCC" = "xyes"; then
44935 PIC_FLAG="-dynamic -DPIC"
44936 fi
44937 ;;
44938
44939 *-*-aix* )
44940 if test "x$GCC" = "xyes"; then
44941 PIC_FLAG=""
44942
44943 case "${BAKEFILE_HOST}" in
44944 *-*-aix5* )
44945 LD_EXPFULL="-Wl,-bexpfull"
44946 ;;
44947 esac
44948
44949 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
44950 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
44951 else
44952 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
44953 set dummy makeC++SharedLib; ac_word=$2
44954 echo "$as_me:$LINENO: checking for $ac_word" >&5
44955 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
44956 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
44957 echo $ECHO_N "(cached) $ECHO_C" >&6
44958 else
44959 if test -n "$AIX_CXX_LD"; then
44960 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
44961 else
44962 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
44963 for as_dir in $PATH
44964 do
44965 IFS=$as_save_IFS
44966 test -z "$as_dir" && as_dir=.
44967 for ac_exec_ext in '' $ac_executable_extensions; do
44968 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
44969 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
44970 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44971 break 2
44972 fi
44973 done
44974 done
44975
44976 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
44977 fi
44978 fi
44979 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
44980 if test -n "$AIX_CXX_LD"; then
44981 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
44982 echo "${ECHO_T}$AIX_CXX_LD" >&6
44983 else
44984 echo "$as_me:$LINENO: result: no" >&5
44985 echo "${ECHO_T}no" >&6
44986 fi
44987
44988 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
44989 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
44990 fi
44991 ;;
44992
44993 *-*-beos* )
44994 SHARED_LD_CC="${LD} -nostart -o"
44995 SHARED_LD_CXX="${LD} -nostart -o"
44996 ;;
44997
44998 *-*-irix* )
44999 if test "x$GCC" != "xyes"; then
45000 PIC_FLAG="-KPIC"
45001 fi
45002 ;;
45003
45004 *-*-cygwin* | *-*-mingw32* )
45005 PIC_FLAG=""
45006 SHARED_LD_CC="\$(CC) -shared -o"
45007 SHARED_LD_CXX="\$(CXX) -shared -o"
45008 WINDOWS_IMPLIB=1
45009 ;;
45010
45011 *-pc-os2_emx | *-pc-os2-emx )
45012 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
45013 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
45014 PIC_FLAG=""
45015
45016 D='$'
45017 cat <<EOF >dllar.sh
45018 #!/bin/sh
45019 #
45020 # dllar - a tool to build both a .dll and an .a file
45021 # from a set of object (.o) files for EMX/OS2.
45022 #
45023 # Written by Andrew Zabolotny, bit@freya.etu.ru
45024 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
45025 #
45026 # This script will accept a set of files on the command line.
45027 # All the public symbols from the .o files will be exported into
45028 # a .DEF file, then linker will be run (through gcc) against them to
45029 # build a shared library consisting of all given .o files. All libraries
45030 # (.a) will be first decompressed into component .o files then act as
45031 # described above. You can optionally give a description (-d "description")
45032 # which will be put into .DLL. To see the list of accepted options (as well
45033 # as command-line format) simply run this program without options. The .DLL
45034 # is built to be imported by name (there is no guarantee that new versions
45035 # of the library you build will have same ordinals for same symbols).
45036 #
45037 # dllar is free software; you can redistribute it and/or modify
45038 # it under the terms of the GNU General Public License as published by
45039 # the Free Software Foundation; either version 2, or (at your option)
45040 # any later version.
45041 #
45042 # dllar is distributed in the hope that it will be useful,
45043 # but WITHOUT ANY WARRANTY; without even the implied warranty of
45044 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
45045 # GNU General Public License for more details.
45046 #
45047 # You should have received a copy of the GNU General Public License
45048 # along with dllar; see the file COPYING. If not, write to the Free
45049 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
45050 # 02111-1307, USA.
45051
45052 # To successfuly run this program you will need:
45053 # - Current drive should have LFN support (HPFS, ext2, network, etc)
45054 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
45055 # - gcc
45056 # (used to build the .dll)
45057 # - emxexp
45058 # (used to create .def file from .o files)
45059 # - emximp
45060 # (used to create .a file from .def file)
45061 # - GNU text utilites (cat, sort, uniq)
45062 # used to process emxexp output
45063 # - GNU file utilities (mv, rm)
45064 # - GNU sed
45065 # - lxlite (optional, see flag below)
45066 # (used for general .dll cleanup)
45067 #
45068
45069 flag_USE_LXLITE=1;
45070
45071 #
45072 # helper functions
45073 # basnam, variant of basename, which does _not_ remove the path, _iff_
45074 # second argument (suffix to remove) is given
45075 basnam(){
45076 case ${D}# in
45077 1)
45078 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
45079 ;;
45080 2)
45081 echo ${D}1 | sed 's/'${D}2'${D}//'
45082 ;;
45083 *)
45084 echo "error in basnam ${D}*"
45085 exit 8
45086 ;;
45087 esac
45088 }
45089
45090 # Cleanup temporary files and output
45091 CleanUp() {
45092 cd ${D}curDir
45093 for i in ${D}inputFiles ; do
45094 case ${D}i in
45095 *!)
45096 rm -rf \`basnam ${D}i !\`
45097 ;;
45098 *)
45099 ;;
45100 esac
45101 done
45102
45103 # Kill result in case of failure as there is just to many stupid make/nmake
45104 # things out there which doesn't do this.
45105 if [ ${D}# -eq 0 ]; then
45106 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
45107 fi
45108 }
45109
45110 # Print usage and exit script with rc=1.
45111 PrintHelp() {
45112 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
45113 echo ' [-name-mangler-script script.sh]'
45114 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
45115 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
45116 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
45117 echo ' [*.o] [*.a]'
45118 echo '*> "output_file" should have no extension.'
45119 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
45120 echo ' The import library name is derived from this and is set to "name".a,'
45121 echo ' unless overridden by -import'
45122 echo '*> "importlib_name" should have no extension.'
45123 echo ' If it has the .o, or .a extension, it is automatically removed.'
45124 echo ' This name is used as the import library name and may be longer and'
45125 echo ' more descriptive than the DLL name which has to follow the old '
45126 echo ' 8.3 convention of FAT.'
45127 echo '*> "script.sh may be given to override the output_file name by a'
45128 echo ' different name. It is mainly useful if the regular make process'
45129 echo ' of some package does not take into account OS/2 restriction of'
45130 echo ' DLL name lengths. It takes the importlib name as input and is'
45131 echo ' supposed to procude a shorter name as output. The script should'
45132 echo ' expect to get importlib_name without extension and should produce'
45133 echo ' a (max.) 8 letter name without extension.'
45134 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
45135 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
45136 echo ' These flags will be put at the start of GCC command line.'
45137 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
45138 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
45139 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
45140 echo ' If the last character of a symbol is "*", all symbols beginning'
45141 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
45142 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
45143 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
45144 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
45145 echo ' C runtime DLLs.'
45146 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
45147 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
45148 echo ' unchanged to GCC at the end of command line.'
45149 echo '*> If you create a DLL from a library and you do not specify -o,'
45150 echo ' the basename for DLL and import library will be set to library name,'
45151 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
45152 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
45153 echo ' library will be renamed into gcc_s.a.'
45154 echo '--------'
45155 echo 'Example:'
45156 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
45157 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
45158 CleanUp
45159 exit 1
45160 }
45161
45162 # Execute a command.
45163 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
45164 # @Uses Whatever CleanUp() uses.
45165 doCommand() {
45166 echo "${D}*"
45167 eval ${D}*
45168 rcCmd=${D}?
45169
45170 if [ ${D}rcCmd -ne 0 ]; then
45171 echo "command failed, exit code="${D}rcCmd
45172 CleanUp
45173 exit ${D}rcCmd
45174 fi
45175 }
45176
45177 # main routine
45178 # setup globals
45179 cmdLine=${D}*
45180 outFile=""
45181 outimpFile=""
45182 inputFiles=""
45183 renameScript=""
45184 description=""
45185 CC=gcc.exe
45186 CFLAGS="-s -Zcrtdll"
45187 EXTRA_CFLAGS=""
45188 EXPORT_BY_ORDINALS=0
45189 exclude_symbols=""
45190 library_flags=""
45191 curDir=\`pwd\`
45192 curDirS=curDir
45193 case ${D}curDirS in
45194 */)
45195 ;;
45196 *)
45197 curDirS=${D}{curDirS}"/"
45198 ;;
45199 esac
45200 # Parse commandline
45201 libsToLink=0
45202 omfLinking=0
45203 while [ ${D}1 ]; do
45204 case ${D}1 in
45205 -ord*)
45206 EXPORT_BY_ORDINALS=1;
45207 ;;
45208 -o*)
45209 shift
45210 outFile=${D}1
45211 ;;
45212 -i*)
45213 shift
45214 outimpFile=${D}1
45215 ;;
45216 -name-mangler-script)
45217 shift
45218 renameScript=${D}1
45219 ;;
45220 -d*)
45221 shift
45222 description=${D}1
45223 ;;
45224 -f*)
45225 shift
45226 CFLAGS=${D}1
45227 ;;
45228 -c*)
45229 shift
45230 CC=${D}1
45231 ;;
45232 -h*)
45233 PrintHelp
45234 ;;
45235 -ex*)
45236 shift
45237 exclude_symbols=${D}{exclude_symbols}${D}1" "
45238 ;;
45239 -libf*)
45240 shift
45241 library_flags=${D}{library_flags}${D}1" "
45242 ;;
45243 -nocrt*)
45244 CFLAGS="-s"
45245 ;;
45246 -nolxl*)
45247 flag_USE_LXLITE=0
45248 ;;
45249 -* | /*)
45250 case ${D}1 in
45251 -L* | -l*)
45252 libsToLink=1
45253 ;;
45254 -Zomf)
45255 omfLinking=1
45256 ;;
45257 *)
45258 ;;
45259 esac
45260 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
45261 ;;
45262 *.dll)
45263 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
45264 if [ ${D}omfLinking -eq 1 ]; then
45265 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
45266 else
45267 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
45268 fi
45269 ;;
45270 *)
45271 found=0;
45272 if [ ${D}libsToLink -ne 0 ]; then
45273 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
45274 else
45275 for file in ${D}1 ; do
45276 if [ -f ${D}file ]; then
45277 inputFiles="${D}{inputFiles} ${D}file"
45278 found=1
45279 fi
45280 done
45281 if [ ${D}found -eq 0 ]; then
45282 echo "ERROR: No file(s) found: "${D}1
45283 exit 8
45284 fi
45285 fi
45286 ;;
45287 esac
45288 shift
45289 done # iterate cmdline words
45290
45291 #
45292 if [ -z "${D}inputFiles" ]; then
45293 echo "dllar: no input files"
45294 PrintHelp
45295 fi
45296
45297 # Now extract all .o files from .a files
45298 newInputFiles=""
45299 for file in ${D}inputFiles ; do
45300 case ${D}file in
45301 *.a | *.lib)
45302 case ${D}file in
45303 *.a)
45304 suffix=".a"
45305 AR="ar"
45306 ;;
45307 *.lib)
45308 suffix=".lib"
45309 AR="emxomfar"
45310 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
45311 ;;
45312 *)
45313 ;;
45314 esac
45315 dirname=\`basnam ${D}file ${D}suffix\`"_%"
45316 mkdir ${D}dirname
45317 if [ ${D}? -ne 0 ]; then
45318 echo "Failed to create subdirectory ./${D}dirname"
45319 CleanUp
45320 exit 8;
45321 fi
45322 # Append '!' to indicate archive
45323 newInputFiles="${D}newInputFiles ${D}{dirname}!"
45324 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
45325 cd ${D}curDir
45326 found=0;
45327 for subfile in ${D}dirname/*.o* ; do
45328 if [ -f ${D}subfile ]; then
45329 found=1
45330 if [ -s ${D}subfile ]; then
45331 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
45332 newInputFiles="${D}newInputFiles ${D}subfile"
45333 fi
45334 fi
45335 done
45336 if [ ${D}found -eq 0 ]; then
45337 echo "WARNING: there are no files in archive \\'${D}file\\'"
45338 fi
45339 ;;
45340 *)
45341 newInputFiles="${D}{newInputFiles} ${D}file"
45342 ;;
45343 esac
45344 done
45345 inputFiles="${D}newInputFiles"
45346
45347 # Output filename(s).
45348 do_backup=0;
45349 if [ -z ${D}outFile ]; then
45350 do_backup=1;
45351 set outFile ${D}inputFiles; outFile=${D}2
45352 fi
45353
45354 # If it is an archive, remove the '!' and the '_%' suffixes
45355 case ${D}outFile in
45356 *_%!)
45357 outFile=\`basnam ${D}outFile _%!\`
45358 ;;
45359 *)
45360 ;;
45361 esac
45362 case ${D}outFile in
45363 *.dll)
45364 outFile=\`basnam ${D}outFile .dll\`
45365 ;;
45366 *.DLL)
45367 outFile=\`basnam ${D}outFile .DLL\`
45368 ;;
45369 *.o)
45370 outFile=\`basnam ${D}outFile .o\`
45371 ;;
45372 *.obj)
45373 outFile=\`basnam ${D}outFile .obj\`
45374 ;;
45375 *.a)
45376 outFile=\`basnam ${D}outFile .a\`
45377 ;;
45378 *.lib)
45379 outFile=\`basnam ${D}outFile .lib\`
45380 ;;
45381 *)
45382 ;;
45383 esac
45384 case ${D}outimpFile in
45385 *.a)
45386 outimpFile=\`basnam ${D}outimpFile .a\`
45387 ;;
45388 *.lib)
45389 outimpFile=\`basnam ${D}outimpFile .lib\`
45390 ;;
45391 *)
45392 ;;
45393 esac
45394 if [ -z ${D}outimpFile ]; then
45395 outimpFile=${D}outFile
45396 fi
45397 defFile="${D}{outFile}.def"
45398 arcFile="${D}{outimpFile}.a"
45399 arcFile2="${D}{outimpFile}.lib"
45400
45401 #create ${D}dllFile as something matching 8.3 restrictions,
45402 if [ -z ${D}renameScript ] ; then
45403 dllFile="${D}outFile"
45404 else
45405 dllFile=\`${D}renameScript ${D}outimpFile\`
45406 fi
45407
45408 if [ ${D}do_backup -ne 0 ] ; then
45409 if [ -f ${D}arcFile ] ; then
45410 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
45411 fi
45412 if [ -f ${D}arcFile2 ] ; then
45413 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
45414 fi
45415 fi
45416
45417 # Extract public symbols from all the object files.
45418 tmpdefFile=${D}{defFile}_%
45419 rm -f ${D}tmpdefFile
45420 for file in ${D}inputFiles ; do
45421 case ${D}file in
45422 *!)
45423 ;;
45424 *)
45425 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
45426 ;;
45427 esac
45428 done
45429
45430 # Create the def file.
45431 rm -f ${D}defFile
45432 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
45433 dllFile="${D}{dllFile}.dll"
45434 if [ ! -z ${D}description ]; then
45435 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
45436 fi
45437 echo "EXPORTS" >> ${D}defFile
45438
45439 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
45440 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
45441
45442 # Checks if the export is ok or not.
45443 for word in ${D}exclude_symbols; do
45444 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
45445 mv ${D}{tmpdefFile}% ${D}tmpdefFile
45446 done
45447
45448
45449 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
45450 sed "=" < ${D}tmpdefFile | \\
45451 sed '
45452 N
45453 : loop
45454 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
45455 t loop
45456 ' > ${D}{tmpdefFile}%
45457 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
45458 else
45459 rm -f ${D}{tmpdefFile}%
45460 fi
45461 cat ${D}tmpdefFile >> ${D}defFile
45462 rm -f ${D}tmpdefFile
45463
45464 # Do linking, create implib, and apply lxlite.
45465 gccCmdl="";
45466 for file in ${D}inputFiles ; do
45467 case ${D}file in
45468 *!)
45469 ;;
45470 *)
45471 gccCmdl="${D}gccCmdl ${D}file"
45472 ;;
45473 esac
45474 done
45475 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
45476 touch "${D}{outFile}.dll"
45477
45478 doCommand "emximp -o ${D}arcFile ${D}defFile"
45479 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
45480 add_flags="";
45481 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
45482 add_flags="-ynd"
45483 fi
45484 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
45485 fi
45486 doCommand "emxomf -s -l ${D}arcFile"
45487
45488 # Successful exit.
45489 CleanUp 1
45490 exit 0
45491 EOF
45492
45493 chmod +x dllar.sh
45494 ;;
45495
45496 powerpc-apple-macos* | \
45497 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
45498 *-*-sunos4* | \
45499 *-*-osf* | \
45500 *-*-dgux5* | \
45501 *-*-sysv5* | \
45502 *-pc-msdosdjgpp )
45503 ;;
45504
45505 *)
45506 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
45507 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
45508 { (exit 1); exit 1; }; }
45509 esac
45510
45511 if test "x$PIC_FLAG" != "x" ; then
45512 PIC_FLAG="$PIC_FLAG -DPIC"
45513 fi
45514
45515 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
45516 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
45517 fi
45518 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
45519 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
45520 fi
45521
45522
45523
45524
45525
45526
45527
45528
45529
45530 USE_SOVERSION=0
45531 USE_SOVERLINUX=0
45532 USE_SOVERSOLARIS=0
45533 USE_SOVERCYGWIN=0
45534 USE_SOSYMLINKS=0
45535 USE_MACVERSION=0
45536 SONAME_FLAG=
45537
45538 case "${BAKEFILE_HOST}" in
45539 *-*-linux* | *-*-freebsd* | *-*-k*bsd*-gnu )
45540 SONAME_FLAG="-Wl,-soname,"
45541 USE_SOVERSION=1
45542 USE_SOVERLINUX=1
45543 USE_SOSYMLINKS=1
45544 ;;
45545
45546 *-*-solaris2* )
45547 SONAME_FLAG="-h "
45548 USE_SOVERSION=1
45549 USE_SOVERSOLARIS=1
45550 USE_SOSYMLINKS=1
45551 ;;
45552
45553 *-*-darwin* )
45554 USE_MACVERSION=1
45555 USE_SOVERSION=1
45556 USE_SOSYMLINKS=1
45557 ;;
45558
45559 *-*-cygwin* )
45560 USE_SOVERSION=1
45561 USE_SOVERCYGWIN=1
45562 ;;
45563 esac
45564
45565
45566
45567
45568
45569
45570
45571
45572
45573
45574 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
45575 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
45576 DEPS_TRACKING=1
45577
45578 if test "x$GCC" = "xyes"; then
45579 DEPSMODE=gcc
45580 case "${BAKEFILE_HOST}" in
45581 *-*-darwin* )
45582 DEPSFLAG="-no-cpp-precomp -MMD"
45583 ;;
45584 * )
45585 DEPSFLAG="-MMD"
45586 ;;
45587 esac
45588 echo "$as_me:$LINENO: result: gcc" >&5
45589 echo "${ECHO_T}gcc" >&6
45590 elif test "x$MWCC" = "xyes"; then
45591 DEPSMODE=mwcc
45592 DEPSFLAG="-MM"
45593 echo "$as_me:$LINENO: result: mwcc" >&5
45594 echo "${ECHO_T}mwcc" >&6
45595 elif test "x$SUNCC" = "xyes"; then
45596 DEPSMODE=unixcc
45597 DEPSFLAG="-xM1"
45598 echo "$as_me:$LINENO: result: Sun cc" >&5
45599 echo "${ECHO_T}Sun cc" >&6
45600 elif test "x$SGICC" = "xyes"; then
45601 DEPSMODE=unixcc
45602 DEPSFLAG="-M"
45603 echo "$as_me:$LINENO: result: SGI cc" >&5
45604 echo "${ECHO_T}SGI cc" >&6
45605 elif test "x$HPCC" = "xyes"; then
45606 DEPSMODE=unixcc
45607 DEPSFLAG="+make"
45608 echo "$as_me:$LINENO: result: HP cc" >&5
45609 echo "${ECHO_T}HP cc" >&6
45610 elif test "x$COMPAQCC" = "xyes"; then
45611 DEPSMODE=gcc
45612 DEPSFLAG="-MD"
45613 echo "$as_me:$LINENO: result: Compaq cc" >&5
45614 echo "${ECHO_T}Compaq cc" >&6
45615 else
45616 DEPS_TRACKING=0
45617 echo "$as_me:$LINENO: result: none" >&5
45618 echo "${ECHO_T}none" >&6
45619 fi
45620
45621 if test $DEPS_TRACKING = 1 ; then
45622
45623 D='$'
45624 cat <<EOF >bk-deps
45625 #!/bin/sh
45626
45627 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
45628 # script. It is used to track C/C++ files dependencies in portable way.
45629 #
45630 # Permission is given to use this file in any way.
45631
45632 DEPSMODE=${DEPSMODE}
45633 DEPSDIR=.deps
45634 DEPSFLAG="${DEPSFLAG}"
45635
45636 mkdir -p ${D}DEPSDIR
45637
45638 if test ${D}DEPSMODE = gcc ; then
45639 ${D}* ${D}{DEPSFLAG}
45640 status=${D}?
45641 if test ${D}{status} != 0 ; then
45642 exit ${D}{status}
45643 fi
45644 # move created file to the location we want it in:
45645 while test ${D}# -gt 0; do
45646 case "${D}1" in
45647 -o )
45648 shift
45649 objfile=${D}1
45650 ;;
45651 -* )
45652 ;;
45653 * )
45654 srcfile=${D}1
45655 ;;
45656 esac
45657 shift
45658 done
45659 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
45660 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
45661 if test -f ${D}depfile ; then
45662 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
45663 rm -f ${D}depfile
45664 else
45665 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
45666 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
45667 if test ! -f ${D}depfile ; then
45668 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
45669 depfile="${D}objfile.d"
45670 fi
45671 if test -f ${D}depfile ; then
45672 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
45673 rm -f ${D}depfile
45674 fi
45675 fi
45676 exit 0
45677 elif test ${D}DEPSMODE = mwcc ; then
45678 ${D}* || exit ${D}?
45679 # Run mwcc again with -MM and redirect into the dep file we want
45680 # NOTE: We can't use shift here because we need ${D}* to be valid
45681 prevarg=
45682 for arg in ${D}* ; do
45683 if test "${D}prevarg" = "-o"; then
45684 objfile=${D}arg
45685 else
45686 case "${D}arg" in
45687 -* )
45688 ;;
45689 * )
45690 srcfile=${D}arg
45691 ;;
45692 esac
45693 fi
45694 prevarg="${D}arg"
45695 done
45696 ${D}* ${D}DEPSFLAG >${D}{DEPSDIR}/${D}{objfile}.d
45697 exit 0
45698 elif test ${D}DEPSMODE = unixcc; then
45699 ${D}* || exit ${D}?
45700 # Run compiler again with deps flag and redirect into the dep file.
45701 # It doesn't work if the '-o FILE' option is used, but without it the
45702 # dependency file will contain the wrong name for the object. So it is
45703 # removed from the command line, and the dep file is fixed with sed.
45704 cmd=""
45705 while test ${D}# -gt 0; do
45706 case "${D}1" in
45707 -o )
45708 shift
45709 objfile=${D}1
45710 ;;
45711 * )
45712 eval arg${D}#=\\${D}1
45713 cmd="${D}cmd \\${D}arg${D}#"
45714 ;;
45715 esac
45716 shift
45717 done
45718 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
45719 exit 0
45720 else
45721 ${D}*
45722 exit ${D}?
45723 fi
45724 EOF
45725
45726 chmod +x bk-deps
45727 fi
45728
45729
45730
45731
45732 RESCOMP=
45733 SETFILE=
45734
45735 case ${BAKEFILE_HOST} in
45736 *-*-cygwin* | *-*-mingw32* )
45737 if test "$build" != "$host" ; then
45738 RESCOMP=$host_alias-windres
45739 else
45740 # Extract the first word of "windres", so it can be a program name with args.
45741 set dummy windres; ac_word=$2
45742 echo "$as_me:$LINENO: checking for $ac_word" >&5
45743 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45744 if test "${ac_cv_prog_RESCOMP+set}" = set; then
45745 echo $ECHO_N "(cached) $ECHO_C" >&6
45746 else
45747 if test -n "$RESCOMP"; then
45748 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
45749 else
45750 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45751 for as_dir in $PATH
45752 do
45753 IFS=$as_save_IFS
45754 test -z "$as_dir" && as_dir=.
45755 for ac_exec_ext in '' $ac_executable_extensions; do
45756 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45757 ac_cv_prog_RESCOMP="windres"
45758 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45759 break 2
45760 fi
45761 done
45762 done
45763
45764 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="windres"
45765 fi
45766 fi
45767 RESCOMP=$ac_cv_prog_RESCOMP
45768 if test -n "$RESCOMP"; then
45769 echo "$as_me:$LINENO: result: $RESCOMP" >&5
45770 echo "${ECHO_T}$RESCOMP" >&6
45771 else
45772 echo "$as_me:$LINENO: result: no" >&5
45773 echo "${ECHO_T}no" >&6
45774 fi
45775
45776 fi
45777 ;;
45778
45779 *-*-darwin* | powerpc-apple-macos* )
45780 # Extract the first word of "Rez", so it can be a program name with args.
45781 set dummy Rez; ac_word=$2
45782 echo "$as_me:$LINENO: checking for $ac_word" >&5
45783 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45784 if test "${ac_cv_prog_RESCOMP+set}" = set; then
45785 echo $ECHO_N "(cached) $ECHO_C" >&6
45786 else
45787 if test -n "$RESCOMP"; then
45788 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
45789 else
45790 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45791 for as_dir in $PATH
45792 do
45793 IFS=$as_save_IFS
45794 test -z "$as_dir" && as_dir=.
45795 for ac_exec_ext in '' $ac_executable_extensions; do
45796 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45797 ac_cv_prog_RESCOMP="Rez"
45798 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45799 break 2
45800 fi
45801 done
45802 done
45803
45804 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="/Developer/Tools/Rez"
45805 fi
45806 fi
45807 RESCOMP=$ac_cv_prog_RESCOMP
45808 if test -n "$RESCOMP"; then
45809 echo "$as_me:$LINENO: result: $RESCOMP" >&5
45810 echo "${ECHO_T}$RESCOMP" >&6
45811 else
45812 echo "$as_me:$LINENO: result: no" >&5
45813 echo "${ECHO_T}no" >&6
45814 fi
45815
45816 # Extract the first word of "SetFile", so it can be a program name with args.
45817 set dummy SetFile; ac_word=$2
45818 echo "$as_me:$LINENO: checking for $ac_word" >&5
45819 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45820 if test "${ac_cv_prog_SETFILE+set}" = set; then
45821 echo $ECHO_N "(cached) $ECHO_C" >&6
45822 else
45823 if test -n "$SETFILE"; then
45824 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
45825 else
45826 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45827 for as_dir in $PATH
45828 do
45829 IFS=$as_save_IFS
45830 test -z "$as_dir" && as_dir=.
45831 for ac_exec_ext in '' $ac_executable_extensions; do
45832 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45833 ac_cv_prog_SETFILE="SetFile"
45834 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45835 break 2
45836 fi
45837 done
45838 done
45839
45840 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
45841 fi
45842 fi
45843 SETFILE=$ac_cv_prog_SETFILE
45844 if test -n "$SETFILE"; then
45845 echo "$as_me:$LINENO: result: $SETFILE" >&5
45846 echo "${ECHO_T}$SETFILE" >&6
45847 else
45848 echo "$as_me:$LINENO: result: no" >&5
45849 echo "${ECHO_T}no" >&6
45850 fi
45851
45852 ;;
45853 esac
45854
45855
45856
45857
45858
45859 BAKEFILE_BAKEFILE_M4_VERSION="0.1.9"
45860
45861
45862 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.1.9"
45863
45864
45865
45866 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
45867 if test "${enable_precomp_headers+set}" = set; then
45868 enableval="$enable_precomp_headers"
45869 bk_use_pch="$enableval"
45870 fi;
45871
45872 GCC_PCH=0
45873
45874 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
45875 if test "x$GCC" = "xyes"; then
45876 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
45877 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
45878 cat >conftest.$ac_ext <<_ACEOF
45879 /* confdefs.h. */
45880 _ACEOF
45881 cat confdefs.h >>conftest.$ac_ext
45882 cat >>conftest.$ac_ext <<_ACEOF
45883 /* end confdefs.h. */
45884
45885 int
45886 main ()
45887 {
45888
45889 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
45890 #error "no pch support"
45891 #endif
45892 #if (__GNUC__ < 3)
45893 #error "no pch support"
45894 #endif
45895 #if (__GNUC__ == 3) && \
45896 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
45897 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3)))
45898 #error "no pch support"
45899 #endif
45900
45901 ;
45902 return 0;
45903 }
45904 _ACEOF
45905 rm -f conftest.$ac_objext
45906 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45907 (eval $ac_compile) 2>conftest.er1
45908 ac_status=$?
45909 grep -v '^ *+' conftest.er1 >conftest.err
45910 rm -f conftest.er1
45911 cat conftest.err >&5
45912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45913 (exit $ac_status); } &&
45914 { ac_try='test -z "$ac_c_werror_flag"
45915 || test ! -s conftest.err'
45916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45917 (eval $ac_try) 2>&5
45918 ac_status=$?
45919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45920 (exit $ac_status); }; } &&
45921 { ac_try='test -s conftest.$ac_objext'
45922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45923 (eval $ac_try) 2>&5
45924 ac_status=$?
45925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45926 (exit $ac_status); }; }; then
45927
45928 echo "$as_me:$LINENO: result: yes" >&5
45929 echo "${ECHO_T}yes" >&6
45930 GCC_PCH=1
45931
45932 else
45933 echo "$as_me: failed program was:" >&5
45934 sed 's/^/| /' conftest.$ac_ext >&5
45935
45936
45937 echo "$as_me:$LINENO: result: no" >&5
45938 echo "${ECHO_T}no" >&6
45939
45940 fi
45941 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45942 if test $GCC_PCH = 1 ; then
45943
45944 D='$'
45945 cat <<EOF >bk-make-pch
45946 #!/bin/sh
45947
45948 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
45949 # script. It is used to generated precompiled headers.
45950 #
45951 # Permission is given to use this file in any way.
45952
45953 outfile="${D}{1}"
45954 header="${D}{2}"
45955 shift
45956 shift
45957
45958 compiler=
45959 headerfile=
45960 while test ${D}{#} -gt 0; do
45961 case "${D}{1}" in
45962 -I* )
45963 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
45964 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
45965 headerfile="${D}{incdir}/${D}{header}"
45966 fi
45967 ;;
45968 esac
45969 compiler="${D}{compiler} ${D}{1}"
45970 shift
45971 done
45972
45973 if test "x${D}{headerfile}" = "x" ; then
45974 echo "error: can't find header ${D}{header} in include paths" >2
45975 else
45976 if test -f ${D}{outfile} ; then
45977 rm -f ${D}{outfile}
45978 else
45979 mkdir -p \`dirname ${D}{outfile}\`
45980 fi
45981 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
45982 mkdir -p .deps
45983 # can do this because gcc is >= 3.4:
45984 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
45985 exit ${D}{?}
45986 fi
45987 EOF
45988
45989 chmod +x bk-make-pch
45990 fi
45991 fi
45992 fi
45993
45994
45995
45996 COND_BUILD_DEBUG="#"
45997 if test "x$BUILD" = "xdebug" ; then
45998 COND_BUILD_DEBUG=""
45999 fi
46000
46001 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
46002 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
46003 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
46004 fi
46005
46006 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
46007 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
46008 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
46009 fi
46010
46011 COND_BUILD_DEBUG_UNICODE_0="#"
46012 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
46013 COND_BUILD_DEBUG_UNICODE_0=""
46014 fi
46015
46016 COND_BUILD_DEBUG_UNICODE_1="#"
46017 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
46018 COND_BUILD_DEBUG_UNICODE_1=""
46019 fi
46020
46021 COND_BUILD_RELEASE="#"
46022 if test "x$BUILD" = "xrelease" ; then
46023 COND_BUILD_RELEASE=""
46024 fi
46025
46026 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
46027 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
46028 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
46029 fi
46030
46031 COND_BUILD_RELEASE_UNICODE_0="#"
46032 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
46033 COND_BUILD_RELEASE_UNICODE_0=""
46034 fi
46035
46036 COND_BUILD_RELEASE_UNICODE_1="#"
46037 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
46038 COND_BUILD_RELEASE_UNICODE_1=""
46039 fi
46040
46041 COND_DEBUG_FLAG_1="#"
46042 if test "x$DEBUG_FLAG" = "x1" ; then
46043 COND_DEBUG_FLAG_1=""
46044 fi
46045
46046 COND_DEBUG_INFO_0="#"
46047 if test "x$DEBUG_INFO" = "x0" ; then
46048 COND_DEBUG_INFO_0=""
46049 fi
46050
46051 COND_DEBUG_INFO_1="#"
46052 if test "x$DEBUG_INFO" = "x1" ; then
46053 COND_DEBUG_INFO_1=""
46054 fi
46055
46056 COND_DEPS_TRACKING_0="#"
46057 if test "x$DEPS_TRACKING" = "x0" ; then
46058 COND_DEPS_TRACKING_0=""
46059 fi
46060
46061 COND_DEPS_TRACKING_1="#"
46062 if test "x$DEPS_TRACKING" = "x1" ; then
46063 COND_DEPS_TRACKING_1=""
46064 fi
46065
46066 COND_GCC_PCH_1="#"
46067 if test "x$GCC_PCH" = "x1" ; then
46068 COND_GCC_PCH_1=""
46069 fi
46070
46071 COND_MONOLITHIC_0="#"
46072 if test "x$MONOLITHIC" = "x0" ; then
46073 COND_MONOLITHIC_0=""
46074 fi
46075
46076 COND_MONOLITHIC_0_SHARED_0="#"
46077 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
46078 COND_MONOLITHIC_0_SHARED_0=""
46079 fi
46080
46081 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
46082 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
46083 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
46084 fi
46085
46086 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
46087 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
46088 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
46089 fi
46090
46091 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1="#"
46092 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
46093 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1=""
46094 fi
46095
46096 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
46097 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
46098 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
46099 fi
46100
46101 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1="#"
46102 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
46103 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1=""
46104 fi
46105
46106 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
46107 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
46108 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
46109 fi
46110
46111 COND_MONOLITHIC_0_SHARED_1="#"
46112 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
46113 COND_MONOLITHIC_0_SHARED_1=""
46114 fi
46115
46116 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
46117 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
46118 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
46119 fi
46120
46121 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
46122 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
46123 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
46124 fi
46125
46126 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1="#"
46127 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
46128 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1=""
46129 fi
46130
46131 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
46132 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
46133 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
46134 fi
46135
46136 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1="#"
46137 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
46138 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1=""
46139 fi
46140
46141 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
46142 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
46143 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
46144 fi
46145
46146 COND_MONOLITHIC_0_USE_ODBC_1="#"
46147 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
46148 COND_MONOLITHIC_0_USE_ODBC_1=""
46149 fi
46150
46151 COND_MONOLITHIC_1="#"
46152 if test "x$MONOLITHIC" = "x1" ; then
46153 COND_MONOLITHIC_1=""
46154 fi
46155
46156 COND_MONOLITHIC_1_SHARED_0="#"
46157 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
46158 COND_MONOLITHIC_1_SHARED_0=""
46159 fi
46160
46161 COND_MONOLITHIC_1_SHARED_1="#"
46162 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
46163 COND_MONOLITHIC_1_SHARED_1=""
46164 fi
46165
46166 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
46167 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
46168 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
46169 fi
46170
46171 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
46172 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
46173 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
46174 fi
46175
46176 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
46177 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
46178 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
46179 fi
46180
46181 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
46182 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
46183 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
46184 fi
46185
46186 COND_PLATFORM_MACOSX_1="#"
46187 if test "x$PLATFORM_MACOSX" = "x1" ; then
46188 COND_PLATFORM_MACOSX_1=""
46189 fi
46190
46191 COND_PLATFORM_MACOSX_1_TOOLKIT_="#"
46192 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
46193 COND_PLATFORM_MACOSX_1_TOOLKIT_=""
46194 fi
46195
46196 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#"
46197 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
46198 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA=""
46199 fi
46200
46201 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="#"
46202 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
46203 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK=""
46204 fi
46205
46206 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="#"
46207 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
46208 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC=""
46209 fi
46210
46211 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1="#"
46212 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
46213 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1=""
46214 fi
46215
46216 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
46217 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
46218 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
46219 fi
46220
46221 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF="#"
46222 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
46223 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF=""
46224 fi
46225
46226 COND_PLATFORM_MACOSX_1_TOOLKIT_X11="#"
46227 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
46228 COND_PLATFORM_MACOSX_1_TOOLKIT_X11=""
46229 fi
46230
46231 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
46232 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
46233 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
46234 fi
46235
46236 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
46237 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
46238 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
46239 fi
46240
46241 COND_PLATFORM_MACOS_1="#"
46242 if test "x$PLATFORM_MACOS" = "x1" ; then
46243 COND_PLATFORM_MACOS_1=""
46244 fi
46245
46246 COND_PLATFORM_MAC_1="#"
46247 if test "x$PLATFORM_MAC" = "x1" ; then
46248 COND_PLATFORM_MAC_1=""
46249 fi
46250
46251 COND_PLATFORM_MSDOS_1="#"
46252 if test "x$PLATFORM_MSDOS" = "x1" ; then
46253 COND_PLATFORM_MSDOS_1=""
46254 fi
46255
46256 COND_PLATFORM_OS2_1="#"
46257 if test "x$PLATFORM_OS2" = "x1" ; then
46258 COND_PLATFORM_OS2_1=""
46259 fi
46260
46261 COND_PLATFORM_UNIX_0="#"
46262 if test "x$PLATFORM_UNIX" = "x0" ; then
46263 COND_PLATFORM_UNIX_0=""
46264 fi
46265
46266 COND_PLATFORM_UNIX_1="#"
46267 if test "x$PLATFORM_UNIX" = "x1" ; then
46268 COND_PLATFORM_UNIX_1=""
46269 fi
46270
46271 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
46272 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
46273 COND_PLATFORM_UNIX_1_USE_GUI_1=""
46274 fi
46275
46276 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
46277 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
46278 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
46279 fi
46280
46281 COND_PLATFORM_WIN32_0="#"
46282 if test "x$PLATFORM_WIN32" = "x0" ; then
46283 COND_PLATFORM_WIN32_0=""
46284 fi
46285
46286 COND_PLATFORM_WIN32_1="#"
46287 if test "x$PLATFORM_WIN32" = "x1" ; then
46288 COND_PLATFORM_WIN32_1=""
46289 fi
46290
46291 COND_SHARED_0="#"
46292 if test "x$SHARED" = "x0" ; then
46293 COND_SHARED_0=""
46294 fi
46295
46296 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
46297 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
46298 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
46299 fi
46300
46301 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
46302 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
46303 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
46304 fi
46305
46306 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
46307 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
46308 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
46309 fi
46310
46311 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
46312 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
46313 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
46314 fi
46315
46316 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
46317 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
46318 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
46319 fi
46320
46321 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
46322 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
46323 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
46324 fi
46325
46326 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
46327 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
46328 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
46329 fi
46330
46331 COND_SHARED_0_USE_XRC_1="#"
46332 if test "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
46333 COND_SHARED_0_USE_XRC_1=""
46334 fi
46335
46336 COND_SHARED_0_WXUSE_EXPAT_BUILTIN="#"
46337 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
46338 COND_SHARED_0_WXUSE_EXPAT_BUILTIN=""
46339 fi
46340
46341 COND_SHARED_0_WXUSE_ODBC_BUILTIN="#"
46342 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
46343 COND_SHARED_0_WXUSE_ODBC_BUILTIN=""
46344 fi
46345
46346 COND_SHARED_0_WXUSE_REGEX_BUILTIN="#"
46347 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
46348 COND_SHARED_0_WXUSE_REGEX_BUILTIN=""
46349 fi
46350
46351 COND_SHARED_0_WXUSE_ZLIB_BUILTIN="#"
46352 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
46353 COND_SHARED_0_WXUSE_ZLIB_BUILTIN=""
46354 fi
46355
46356 COND_SHARED_1="#"
46357 if test "x$SHARED" = "x1" ; then
46358 COND_SHARED_1=""
46359 fi
46360
46361 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
46362 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
46363 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
46364 fi
46365
46366 COND_SHARED_1_USE_XRC_1="#"
46367 if test "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
46368 COND_SHARED_1_USE_XRC_1=""
46369 fi
46370
46371 COND_TOOLKIT_="#"
46372 if test "x$TOOLKIT" = "x" ; then
46373 COND_TOOLKIT_=""
46374 fi
46375
46376 COND_TOOLKIT_COCOA="#"
46377 if test "x$TOOLKIT" = "xCOCOA" ; then
46378 COND_TOOLKIT_COCOA=""
46379 fi
46380
46381 COND_TOOLKIT_COCOA_USE_GUI_1="#"
46382 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
46383 COND_TOOLKIT_COCOA_USE_GUI_1=""
46384 fi
46385
46386 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
46387 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
46388 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
46389 fi
46390
46391 COND_TOOLKIT_GTK="#"
46392 if test "x$TOOLKIT" = "xGTK" ; then
46393 COND_TOOLKIT_GTK=""
46394 fi
46395
46396 COND_TOOLKIT_GTK_USE_GUI_1="#"
46397 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
46398 COND_TOOLKIT_GTK_USE_GUI_1=""
46399 fi
46400
46401 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0="#"
46402 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
46403 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0=""
46404 fi
46405
46406 COND_TOOLKIT_MAC="#"
46407 if test "x$TOOLKIT" = "xMAC" ; then
46408 COND_TOOLKIT_MAC=""
46409 fi
46410
46411 COND_TOOLKIT_MAC_USE_GUI_1="#"
46412 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
46413 COND_TOOLKIT_MAC_USE_GUI_1=""
46414 fi
46415
46416 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
46417 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
46418 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
46419 fi
46420
46421 COND_TOOLKIT_MGL="#"
46422 if test "x$TOOLKIT" = "xMGL" ; then
46423 COND_TOOLKIT_MGL=""
46424 fi
46425
46426 COND_TOOLKIT_MGL_USE_GUI_1="#"
46427 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
46428 COND_TOOLKIT_MGL_USE_GUI_1=""
46429 fi
46430
46431 COND_TOOLKIT_MOTIF="#"
46432 if test "x$TOOLKIT" = "xMOTIF" ; then
46433 COND_TOOLKIT_MOTIF=""
46434 fi
46435
46436 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
46437 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
46438 COND_TOOLKIT_MOTIF_USE_GUI_1=""
46439 fi
46440
46441 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
46442 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
46443 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
46444 fi
46445
46446 COND_TOOLKIT_MSW="#"
46447 if test "x$TOOLKIT" = "xMSW" ; then
46448 COND_TOOLKIT_MSW=""
46449 fi
46450
46451 COND_TOOLKIT_MSW_USE_GUI_1="#"
46452 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
46453 COND_TOOLKIT_MSW_USE_GUI_1=""
46454 fi
46455
46456 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
46457 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
46458 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
46459 fi
46460
46461 COND_TOOLKIT_MSW_WXUNIV_0="#"
46462 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
46463 COND_TOOLKIT_MSW_WXUNIV_0=""
46464 fi
46465
46466 COND_TOOLKIT_PM="#"
46467 if test "x$TOOLKIT" = "xPM" ; then
46468 COND_TOOLKIT_PM=""
46469 fi
46470
46471 COND_TOOLKIT_PM_USE_GUI_1="#"
46472 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
46473 COND_TOOLKIT_PM_USE_GUI_1=""
46474 fi
46475
46476 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
46477 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
46478 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
46479 fi
46480
46481 COND_TOOLKIT_WINCE="#"
46482 if test "x$TOOLKIT" = "xWINCE" ; then
46483 COND_TOOLKIT_WINCE=""
46484 fi
46485
46486 COND_TOOLKIT_WINCE_USE_GUI_1="#"
46487 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
46488 COND_TOOLKIT_WINCE_USE_GUI_1=""
46489 fi
46490
46491 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
46492 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
46493 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
46494 fi
46495
46496 COND_TOOLKIT_WINCE_WXUNIV_0="#"
46497 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
46498 COND_TOOLKIT_WINCE_WXUNIV_0=""
46499 fi
46500
46501 COND_TOOLKIT_X11="#"
46502 if test "x$TOOLKIT" = "xX11" ; then
46503 COND_TOOLKIT_X11=""
46504 fi
46505
46506 COND_TOOLKIT_X11_USE_GUI_1="#"
46507 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
46508 COND_TOOLKIT_X11_USE_GUI_1=""
46509 fi
46510
46511 COND_UNICODE_1="#"
46512 if test "x$UNICODE" = "x1" ; then
46513 COND_UNICODE_1=""
46514 fi
46515
46516 COND_USE_EXCEPTIONS_0="#"
46517 if test "x$USE_EXCEPTIONS" = "x0" ; then
46518 COND_USE_EXCEPTIONS_0=""
46519 fi
46520
46521 COND_USE_EXCEPTIONS_1="#"
46522 if test "x$USE_EXCEPTIONS" = "x1" ; then
46523 COND_USE_EXCEPTIONS_1=""
46524 fi
46525
46526 COND_USE_GUI_0="#"
46527 if test "x$USE_GUI" = "x0" ; then
46528 COND_USE_GUI_0=""
46529 fi
46530
46531 COND_USE_GUI_1="#"
46532 if test "x$USE_GUI" = "x1" ; then
46533 COND_USE_GUI_1=""
46534 fi
46535
46536 COND_USE_GUI_1_WXUNIV_0="#"
46537 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
46538 COND_USE_GUI_1_WXUNIV_0=""
46539 fi
46540
46541 COND_USE_GUI_1_WXUNIV_1="#"
46542 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
46543 COND_USE_GUI_1_WXUNIV_1=""
46544 fi
46545
46546 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
46547 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
46548 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
46549 fi
46550
46551 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
46552 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
46553 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
46554 fi
46555
46556 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
46557 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
46558 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
46559 fi
46560
46561 COND_USE_ODBC_1="#"
46562 if test "x$USE_ODBC" = "x1" ; then
46563 COND_USE_ODBC_1=""
46564 fi
46565
46566 COND_USE_OPENGL_1="#"
46567 if test "x$USE_OPENGL" = "x1" ; then
46568 COND_USE_OPENGL_1=""
46569 fi
46570
46571 COND_USE_PLUGINS_0="#"
46572 if test "x$USE_PLUGINS" = "x0" ; then
46573 COND_USE_PLUGINS_0=""
46574 fi
46575
46576 COND_USE_RTTI_0="#"
46577 if test "x$USE_RTTI" = "x0" ; then
46578 COND_USE_RTTI_0=""
46579 fi
46580
46581 COND_USE_RTTI_1="#"
46582 if test "x$USE_RTTI" = "x1" ; then
46583 COND_USE_RTTI_1=""
46584 fi
46585
46586 COND_USE_SOSYMLINKS_1="#"
46587 if test "x$USE_SOSYMLINKS" = "x1" ; then
46588 COND_USE_SOSYMLINKS_1=""
46589 fi
46590
46591 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
46592 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
46593 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
46594 fi
46595
46596 COND_USE_SOVERLINUX_1="#"
46597 if test "x$USE_SOVERLINUX" = "x1" ; then
46598 COND_USE_SOVERLINUX_1=""
46599 fi
46600
46601 COND_USE_SOVERSION_0="#"
46602 if test "x$USE_SOVERSION" = "x0" ; then
46603 COND_USE_SOVERSION_0=""
46604 fi
46605
46606 COND_USE_SOVERSOLARIS_1="#"
46607 if test "x$USE_SOVERSOLARIS" = "x1" ; then
46608 COND_USE_SOVERSOLARIS_1=""
46609 fi
46610
46611 COND_USE_THREADS_0="#"
46612 if test "x$USE_THREADS" = "x0" ; then
46613 COND_USE_THREADS_0=""
46614 fi
46615
46616 COND_USE_THREADS_1="#"
46617 if test "x$USE_THREADS" = "x1" ; then
46618 COND_USE_THREADS_1=""
46619 fi
46620
46621 COND_USE_XRC_1="#"
46622 if test "x$USE_XRC" = "x1" ; then
46623 COND_USE_XRC_1=""
46624 fi
46625
46626 COND_WINDOWS_IMPLIB_1="#"
46627 if test "x$WINDOWS_IMPLIB" = "x1" ; then
46628 COND_WINDOWS_IMPLIB_1=""
46629 fi
46630
46631 COND_WITH_PLUGIN_SDL_1="#"
46632 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
46633 COND_WITH_PLUGIN_SDL_1=""
46634 fi
46635
46636 COND_WXUNIV_0="#"
46637 if test "x$WXUNIV" = "x0" ; then
46638 COND_WXUNIV_0=""
46639 fi
46640
46641 COND_WXUNIV_1="#"
46642 if test "x$WXUNIV" = "x1" ; then
46643 COND_WXUNIV_1=""
46644 fi
46645
46646 COND_WXUSE_EXPAT_BUILTIN="#"
46647 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
46648 COND_WXUSE_EXPAT_BUILTIN=""
46649 fi
46650
46651 COND_WXUSE_LIBJPEG_BUILTIN="#"
46652 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
46653 COND_WXUSE_LIBJPEG_BUILTIN=""
46654 fi
46655
46656 COND_WXUSE_LIBPNG_BUILTIN="#"
46657 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
46658 COND_WXUSE_LIBPNG_BUILTIN=""
46659 fi
46660
46661 COND_WXUSE_LIBTIFF_BUILTIN="#"
46662 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
46663 COND_WXUSE_LIBTIFF_BUILTIN=""
46664 fi
46665
46666 COND_WXUSE_ODBC_BUILTIN="#"
46667 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
46668 COND_WXUSE_ODBC_BUILTIN=""
46669 fi
46670
46671 COND_WXUSE_REGEX_BUILTIN="#"
46672 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
46673 COND_WXUSE_REGEX_BUILTIN=""
46674 fi
46675
46676 COND_WXUSE_ZLIB_BUILTIN="#"
46677 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
46678 COND_WXUSE_ZLIB_BUILTIN=""
46679 fi
46680
46681
46682
46683 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
46684 { { 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
46685 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;}
46686 { (exit 1); exit 1; }; }
46687 fi
46688
46689 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
46690 { { 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
46691 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;}
46692 { (exit 1); exit 1; }; }
46693 fi
46694
46695
46696 if test "$wxUSE_SHARED" = "yes"; then
46697
46698 sanitised_bakefile_mess=`echo "$SHARED_LD_CXX" | tr -d '()'`
46699 EXE_LINKER=`eval echo "$sanitised_bakefile_mess"`
46700
46701 case "${host}" in
46702 *-pc-os2_emx | *-pc-os2-emx )
46703 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
46704 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
46705 cp -p ${srcdir}/src/os2/dllnames.sh .
46706 cp -p ${srcdir}/src/os2/dllar.sh .
46707 ;;
46708 esac
46709 else
46710
46711 EXE_LINKER="$CXX -o"
46712
46713 fi
46714 if test "$wxUSE_OMF" = "yes"; then
46715 case "${host}" in
46716 *-pc-os2_emx | *-pc-os2-emx )
46717 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
46718 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
46719 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
46720 ;;
46721 esac
46722 fi
46723
46724 if test $GCC_PCH = 1 ; then
46725 CPPFLAGS="-DWX_PRECOMP $CPPFLAGS"
46726 fi
46727
46728 CPPFLAGS="$CPPFLAGS $TOOLCHAIN_DEFS"
46729
46730 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
46731
46732
46733
46734
46735
46736
46737
46738
46739
46740
46741
46742
46743
46744
46745
46746
46747
46748
46749
46750
46751
46752
46753
46754
46755
46756
46757
46758
46759
46760
46761
46762
46763
46764
46765
46766
46767
46768
46769
46770
46771
46772
46773
46774
46775
46776
46777
46778
46779
46780
46781
46782
46783
46784
46785
46786
46787
46788
46789
46790
46791
46792
46793
46794 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
46795 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
46796 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
46797 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
46798 echo $ECHO_N "(cached) $ECHO_C" >&6
46799 else
46800 cat >conftest.make <<\_ACEOF
46801 all:
46802 @echo 'ac_maketemp="$(MAKE)"'
46803 _ACEOF
46804 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
46805 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
46806 if test -n "$ac_maketemp"; then
46807 eval ac_cv_prog_make_${ac_make}_set=yes
46808 else
46809 eval ac_cv_prog_make_${ac_make}_set=no
46810 fi
46811 rm -f conftest.make
46812 fi
46813 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
46814 echo "$as_me:$LINENO: result: yes" >&5
46815 echo "${ECHO_T}yes" >&6
46816 SET_MAKE=
46817 else
46818 echo "$as_me:$LINENO: result: no" >&5
46819 echo "${ECHO_T}no" >&6
46820 SET_MAKE="MAKE=${MAKE-make}"
46821 fi
46822
46823
46824
46825 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
46826
46827
46828 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
46829
46830
46831 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
46832
46833
46834 ac_config_files="$ac_config_files version-script Makefile"
46835
46836
46837 ac_config_commands="$ac_config_commands wx-config
46838 "
46839
46840
46841
46842 if test "$wxWITH_SUBDIRS" != "no"; then
46843 if test "$wxUSE_GUI" = "yes"; then
46844 SUBDIRS="samples demos utils contrib"
46845 else SUBDIRS="samples utils"
46846 fi
46847
46848
46849
46850 # Check whether --with-cppunit-prefix or --without-cppunit-prefix was given.
46851 if test "${with_cppunit_prefix+set}" = set; then
46852 withval="$with_cppunit_prefix"
46853 cppunit_config_prefix="$withval"
46854 else
46855 cppunit_config_prefix=""
46856 fi;
46857
46858 # Check whether --with-cppunit-exec-prefix or --without-cppunit-exec-prefix was given.
46859 if test "${with_cppunit_exec_prefix+set}" = set; then
46860 withval="$with_cppunit_exec_prefix"
46861 cppunit_config_exec_prefix="$withval"
46862 else
46863 cppunit_config_exec_prefix=""
46864 fi;
46865
46866 if test x$cppunit_config_exec_prefix != x ; then
46867 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
46868 if test x${CPPUNIT_CONFIG+set} != xset ; then
46869 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
46870 fi
46871 fi
46872 if test x$cppunit_config_prefix != x ; then
46873 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
46874 if test x${CPPUNIT_CONFIG+set} != xset ; then
46875 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
46876 fi
46877 fi
46878
46879 # Extract the first word of "cppunit-config", so it can be a program name with args.
46880 set dummy cppunit-config; ac_word=$2
46881 echo "$as_me:$LINENO: checking for $ac_word" >&5
46882 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
46883 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
46884 echo $ECHO_N "(cached) $ECHO_C" >&6
46885 else
46886 case $CPPUNIT_CONFIG in
46887 [\\/]* | ?:[\\/]*)
46888 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
46889 ;;
46890 *)
46891 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46892 for as_dir in $PATH
46893 do
46894 IFS=$as_save_IFS
46895 test -z "$as_dir" && as_dir=.
46896 for ac_exec_ext in '' $ac_executable_extensions; do
46897 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
46898 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
46899 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46900 break 2
46901 fi
46902 done
46903 done
46904
46905 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
46906 ;;
46907 esac
46908 fi
46909 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
46910
46911 if test -n "$CPPUNIT_CONFIG"; then
46912 echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
46913 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6
46914 else
46915 echo "$as_me:$LINENO: result: no" >&5
46916 echo "${ECHO_T}no" >&6
46917 fi
46918
46919 cppunit_version_min=1.8.0
46920
46921 echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
46922 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6
46923 no_cppunit=""
46924 if test "$CPPUNIT_CONFIG" = "no" ; then
46925 no_cppunit=yes
46926 else
46927 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
46928 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
46929 cppunit_version=`$CPPUNIT_CONFIG --version`
46930
46931 cppunit_major_version=`echo $cppunit_version | \
46932 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
46933 cppunit_minor_version=`echo $cppunit_version | \
46934 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
46935 cppunit_micro_version=`echo $cppunit_version | \
46936 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
46937
46938 cppunit_major_min=`echo $cppunit_version_min | \
46939 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
46940 cppunit_minor_min=`echo $cppunit_version_min | \
46941 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
46942 cppunit_micro_min=`echo $cppunit_version_min | \
46943 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
46944
46945 cppunit_version_proper=`expr \
46946 $cppunit_major_version \> $cppunit_major_min \| \
46947 $cppunit_major_version \= $cppunit_major_min \& \
46948 $cppunit_minor_version \> $cppunit_minor_min \| \
46949 $cppunit_major_version \= $cppunit_major_min \& \
46950 $cppunit_minor_version \= $cppunit_minor_min \& \
46951 $cppunit_micro_version \>= $cppunit_micro_min `
46952
46953 if test "$cppunit_version_proper" = "1" ; then
46954 echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
46955 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6
46956 else
46957 echo "$as_me:$LINENO: result: no" >&5
46958 echo "${ECHO_T}no" >&6
46959 no_cppunit=yes
46960 fi
46961 fi
46962
46963 if test "x$no_cppunit" = x ; then
46964 SUBDIRS="$SUBDIRS tests"
46965 else
46966 CPPUNIT_CFLAGS=""
46967 CPPUNIT_LIBS=""
46968 :
46969 fi
46970
46971
46972
46973
46974
46975 for subdir in `echo $SUBDIRS`; do
46976 if test -d ${srcdir}/${subdir} ; then
46977 if test "$wxUSE_GUI" = "yes"; then
46978 if test ${subdir} = "samples"; then
46979 makefiles="samples/Makefile.in $makefiles"
46980 for sample in `echo $SAMPLES_SUBDIRS`; do
46981 if test -d $srcdir/samples/$sample; then
46982 makefiles="samples/$sample/Makefile.in $makefiles"
46983 fi
46984 done
46985 else
46986 disabled_var=DISABLED_`echo $subdir | tr [a-z] [A-Z]`;
46987 eval "disabled=\$$disabled_var"
46988 disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
46989 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | egrep -v "$disabled"`
46990 fi
46991 else if test ${subdir} = "samples"; then
46992 makefiles="samples/Makefile.in samples/console/Makefile.in"
46993 elif test ${subdir} = "utils"; then
46994 makefiles=""
46995 for util in HelpGen tex2rtf ; do
46996 if test -d $srcdir/utils/$util ; then
46997 makefiles="utils/$util/Makefile.in \
46998 utils/$util/src/Makefile.in \
46999 $makefiles"
47000 fi
47001 done
47002 else makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
47003 fi
47004 fi
47005
47006 for mkin in $makefiles ; do
47007 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
47008 ac_config_files="$ac_config_files $mk"
47009
47010 done
47011 fi
47012 done
47013 fi
47014 cat >confcache <<\_ACEOF
47015 # This file is a shell script that caches the results of configure
47016 # tests run on this system so they can be shared between configure
47017 # scripts and configure runs, see configure's option --config-cache.
47018 # It is not useful on other systems. If it contains results you don't
47019 # want to keep, you may remove or edit it.
47020 #
47021 # config.status only pays attention to the cache file if you give it
47022 # the --recheck option to rerun configure.
47023 #
47024 # `ac_cv_env_foo' variables (set or unset) will be overridden when
47025 # loading this file, other *unset* `ac_cv_foo' will be assigned the
47026 # following values.
47027
47028 _ACEOF
47029
47030 # The following way of writing the cache mishandles newlines in values,
47031 # but we know of no workaround that is simple, portable, and efficient.
47032 # So, don't put newlines in cache variables' values.
47033 # Ultrix sh set writes to stderr and can't be redirected directly,
47034 # and sets the high bit in the cache file unless we assign to the vars.
47035 {
47036 (set) 2>&1 |
47037 case `(ac_space=' '; set | grep ac_space) 2>&1` in
47038 *ac_space=\ *)
47039 # `set' does not quote correctly, so add quotes (double-quote
47040 # substitution turns \\\\ into \\, and sed turns \\ into \).
47041 sed -n \
47042 "s/'/'\\\\''/g;
47043 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
47044 ;;
47045 *)
47046 # `set' quotes correctly as required by POSIX, so do not add quotes.
47047 sed -n \
47048 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
47049 ;;
47050 esac;
47051 } |
47052 sed '
47053 t clear
47054 : clear
47055 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
47056 t end
47057 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
47058 : end' >>confcache
47059 if diff $cache_file confcache >/dev/null 2>&1; then :; else
47060 if test -w $cache_file; then
47061 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
47062 cat confcache >$cache_file
47063 else
47064 echo "not updating unwritable cache $cache_file"
47065 fi
47066 fi
47067 rm -f confcache
47068
47069 test "x$prefix" = xNONE && prefix=$ac_default_prefix
47070 # Let make expand exec_prefix.
47071 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
47072
47073 # VPATH may cause trouble with some makes, so we remove $(srcdir),
47074 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
47075 # trailing colons and then remove the whole line if VPATH becomes empty
47076 # (actually we leave an empty line to preserve line numbers).
47077 if test "x$srcdir" = x.; then
47078 ac_vpsub='/^[ ]*VPATH[ ]*=/{
47079 s/:*\$(srcdir):*/:/;
47080 s/:*\${srcdir}:*/:/;
47081 s/:*@srcdir@:*/:/;
47082 s/^\([^=]*=[ ]*\):*/\1/;
47083 s/:*$//;
47084 s/^[^=]*=[ ]*$//;
47085 }'
47086 fi
47087
47088 DEFS=-DHAVE_CONFIG_H
47089
47090 ac_libobjs=
47091 ac_ltlibobjs=
47092 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
47093 # 1. Remove the extension, and $U if already installed.
47094 ac_i=`echo "$ac_i" |
47095 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
47096 # 2. Add them.
47097 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
47098 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
47099 done
47100 LIBOBJS=$ac_libobjs
47101
47102 LTLIBOBJS=$ac_ltlibobjs
47103
47104
47105
47106 : ${CONFIG_STATUS=./config.status}
47107 ac_clean_files_save=$ac_clean_files
47108 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
47109 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
47110 echo "$as_me: creating $CONFIG_STATUS" >&6;}
47111 cat >$CONFIG_STATUS <<_ACEOF
47112 #! $SHELL
47113 # Generated by $as_me.
47114 # Run this file to recreate the current configuration.
47115 # Compiler output produced by configure, useful for debugging
47116 # configure, is in config.log if it exists.
47117
47118 debug=false
47119 ac_cs_recheck=false
47120 ac_cs_silent=false
47121 SHELL=\${CONFIG_SHELL-$SHELL}
47122 _ACEOF
47123
47124 cat >>$CONFIG_STATUS <<\_ACEOF
47125 ## --------------------- ##
47126 ## M4sh Initialization. ##
47127 ## --------------------- ##
47128
47129 # Be Bourne compatible
47130 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
47131 emulate sh
47132 NULLCMD=:
47133 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
47134 # is contrary to our usage. Disable this feature.
47135 alias -g '${1+"$@"}'='"$@"'
47136 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
47137 set -o posix
47138 fi
47139 DUALCASE=1; export DUALCASE # for MKS sh
47140
47141 # Support unset when possible.
47142 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
47143 as_unset=unset
47144 else
47145 as_unset=false
47146 fi
47147
47148
47149 # Work around bugs in pre-3.0 UWIN ksh.
47150 $as_unset ENV MAIL MAILPATH
47151 PS1='$ '
47152 PS2='> '
47153 PS4='+ '
47154
47155 # NLS nuisances.
47156 for as_var in \
47157 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
47158 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
47159 LC_TELEPHONE LC_TIME
47160 do
47161 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
47162 eval $as_var=C; export $as_var
47163 else
47164 $as_unset $as_var
47165 fi
47166 done
47167
47168 # Required to use basename.
47169 if expr a : '\(a\)' >/dev/null 2>&1; then
47170 as_expr=expr
47171 else
47172 as_expr=false
47173 fi
47174
47175 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
47176 as_basename=basename
47177 else
47178 as_basename=false
47179 fi
47180
47181
47182 # Name of the executable.
47183 as_me=`$as_basename "$0" ||
47184 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
47185 X"$0" : 'X\(//\)$' \| \
47186 X"$0" : 'X\(/\)$' \| \
47187 . : '\(.\)' 2>/dev/null ||
47188 echo X/"$0" |
47189 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
47190 /^X\/\(\/\/\)$/{ s//\1/; q; }
47191 /^X\/\(\/\).*/{ s//\1/; q; }
47192 s/.*/./; q'`
47193
47194
47195 # PATH needs CR, and LINENO needs CR and PATH.
47196 # Avoid depending upon Character Ranges.
47197 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
47198 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
47199 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
47200 as_cr_digits='0123456789'
47201 as_cr_alnum=$as_cr_Letters$as_cr_digits
47202
47203 # The user is always right.
47204 if test "${PATH_SEPARATOR+set}" != set; then
47205 echo "#! /bin/sh" >conf$$.sh
47206 echo "exit 0" >>conf$$.sh
47207 chmod +x conf$$.sh
47208 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
47209 PATH_SEPARATOR=';'
47210 else
47211 PATH_SEPARATOR=:
47212 fi
47213 rm -f conf$$.sh
47214 fi
47215
47216
47217 as_lineno_1=$LINENO
47218 as_lineno_2=$LINENO
47219 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
47220 test "x$as_lineno_1" != "x$as_lineno_2" &&
47221 test "x$as_lineno_3" = "x$as_lineno_2" || {
47222 # Find who we are. Look in the path if we contain no path at all
47223 # relative or not.
47224 case $0 in
47225 *[\\/]* ) as_myself=$0 ;;
47226 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47227 for as_dir in $PATH
47228 do
47229 IFS=$as_save_IFS
47230 test -z "$as_dir" && as_dir=.
47231 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
47232 done
47233
47234 ;;
47235 esac
47236 # We did not find ourselves, most probably we were run as `sh COMMAND'
47237 # in which case we are not to be found in the path.
47238 if test "x$as_myself" = x; then
47239 as_myself=$0
47240 fi
47241 if test ! -f "$as_myself"; then
47242 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
47243 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
47244 { (exit 1); exit 1; }; }
47245 fi
47246 case $CONFIG_SHELL in
47247 '')
47248 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47249 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
47250 do
47251 IFS=$as_save_IFS
47252 test -z "$as_dir" && as_dir=.
47253 for as_base in sh bash ksh sh5; do
47254 case $as_dir in
47255 /*)
47256 if ("$as_dir/$as_base" -c '
47257 as_lineno_1=$LINENO
47258 as_lineno_2=$LINENO
47259 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
47260 test "x$as_lineno_1" != "x$as_lineno_2" &&
47261 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
47262 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
47263 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
47264 CONFIG_SHELL=$as_dir/$as_base
47265 export CONFIG_SHELL
47266 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
47267 fi;;
47268 esac
47269 done
47270 done
47271 ;;
47272 esac
47273
47274 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
47275 # uniformly replaced by the line number. The first 'sed' inserts a
47276 # line-number line before each line; the second 'sed' does the real
47277 # work. The second script uses 'N' to pair each line-number line
47278 # with the numbered line, and appends trailing '-' during
47279 # substitution so that $LINENO is not a special case at line end.
47280 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
47281 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
47282 sed '=' <$as_myself |
47283 sed '
47284 N
47285 s,$,-,
47286 : loop
47287 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
47288 t loop
47289 s,-$,,
47290 s,^['$as_cr_digits']*\n,,
47291 ' >$as_me.lineno &&
47292 chmod +x $as_me.lineno ||
47293 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
47294 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
47295 { (exit 1); exit 1; }; }
47296
47297 # Don't try to exec as it changes $[0], causing all sort of problems
47298 # (the dirname of $[0] is not the place where we might find the
47299 # original and so on. Autoconf is especially sensible to this).
47300 . ./$as_me.lineno
47301 # Exit status is that of the last command.
47302 exit
47303 }
47304
47305
47306 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
47307 *c*,-n*) ECHO_N= ECHO_C='
47308 ' ECHO_T=' ' ;;
47309 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
47310 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
47311 esac
47312
47313 if expr a : '\(a\)' >/dev/null 2>&1; then
47314 as_expr=expr
47315 else
47316 as_expr=false
47317 fi
47318
47319 rm -f conf$$ conf$$.exe conf$$.file
47320 echo >conf$$.file
47321 if ln -s conf$$.file conf$$ 2>/dev/null; then
47322 # We could just check for DJGPP; but this test a) works b) is more generic
47323 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
47324 if test -f conf$$.exe; then
47325 # Don't use ln at all; we don't have any links
47326 as_ln_s='cp -p'
47327 else
47328 as_ln_s='ln -s'
47329 fi
47330 elif ln conf$$.file conf$$ 2>/dev/null; then
47331 as_ln_s=ln
47332 else
47333 as_ln_s='cp -p'
47334 fi
47335 rm -f conf$$ conf$$.exe conf$$.file
47336
47337 if mkdir -p . 2>/dev/null; then
47338 as_mkdir_p=:
47339 else
47340 test -d ./-p && rmdir ./-p
47341 as_mkdir_p=false
47342 fi
47343
47344 as_executable_p="test -f"
47345
47346 # Sed expression to map a string onto a valid CPP name.
47347 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
47348
47349 # Sed expression to map a string onto a valid variable name.
47350 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
47351
47352
47353 # IFS
47354 # We need space, tab and new line, in precisely that order.
47355 as_nl='
47356 '
47357 IFS=" $as_nl"
47358
47359 # CDPATH.
47360 $as_unset CDPATH
47361
47362 exec 6>&1
47363
47364 # Open the log real soon, to keep \$[0] and so on meaningful, and to
47365 # report actual input values of CONFIG_FILES etc. instead of their
47366 # values after options handling. Logging --version etc. is OK.
47367 exec 5>>config.log
47368 {
47369 echo
47370 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
47371 ## Running $as_me. ##
47372 _ASBOX
47373 } >&5
47374 cat >&5 <<_CSEOF
47375
47376 This file was extended by wxWidgets $as_me 2.7.0, which was
47377 generated by GNU Autoconf 2.59. Invocation command line was
47378
47379 CONFIG_FILES = $CONFIG_FILES
47380 CONFIG_HEADERS = $CONFIG_HEADERS
47381 CONFIG_LINKS = $CONFIG_LINKS
47382 CONFIG_COMMANDS = $CONFIG_COMMANDS
47383 $ $0 $@
47384
47385 _CSEOF
47386 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
47387 echo >&5
47388 _ACEOF
47389
47390 # Files that config.status was made for.
47391 if test -n "$ac_config_files"; then
47392 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
47393 fi
47394
47395 if test -n "$ac_config_headers"; then
47396 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
47397 fi
47398
47399 if test -n "$ac_config_links"; then
47400 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
47401 fi
47402
47403 if test -n "$ac_config_commands"; then
47404 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
47405 fi
47406
47407 cat >>$CONFIG_STATUS <<\_ACEOF
47408
47409 ac_cs_usage="\
47410 \`$as_me' instantiates files from templates according to the
47411 current configuration.
47412
47413 Usage: $0 [OPTIONS] [FILE]...
47414
47415 -h, --help print this help, then exit
47416 -V, --version print version number, then exit
47417 -q, --quiet do not print progress messages
47418 -d, --debug don't remove temporary files
47419 --recheck update $as_me by reconfiguring in the same conditions
47420 --file=FILE[:TEMPLATE]
47421 instantiate the configuration file FILE
47422 --header=FILE[:TEMPLATE]
47423 instantiate the configuration header FILE
47424
47425 Configuration files:
47426 $config_files
47427
47428 Configuration headers:
47429 $config_headers
47430
47431 Configuration commands:
47432 $config_commands
47433
47434 Report bugs to <bug-autoconf@gnu.org>."
47435 _ACEOF
47436
47437 cat >>$CONFIG_STATUS <<_ACEOF
47438 ac_cs_version="\\
47439 wxWidgets config.status 2.7.0
47440 configured by $0, generated by GNU Autoconf 2.59,
47441 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
47442
47443 Copyright (C) 2003 Free Software Foundation, Inc.
47444 This config.status script is free software; the Free Software Foundation
47445 gives unlimited permission to copy, distribute and modify it."
47446 srcdir=$srcdir
47447 INSTALL="$INSTALL"
47448 _ACEOF
47449
47450 cat >>$CONFIG_STATUS <<\_ACEOF
47451 # If no file are specified by the user, then we need to provide default
47452 # value. By we need to know if files were specified by the user.
47453 ac_need_defaults=:
47454 while test $# != 0
47455 do
47456 case $1 in
47457 --*=*)
47458 ac_option=`expr "x$1" : 'x\([^=]*\)='`
47459 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
47460 ac_shift=:
47461 ;;
47462 -*)
47463 ac_option=$1
47464 ac_optarg=$2
47465 ac_shift=shift
47466 ;;
47467 *) # This is not an option, so the user has probably given explicit
47468 # arguments.
47469 ac_option=$1
47470 ac_need_defaults=false;;
47471 esac
47472
47473 case $ac_option in
47474 # Handling of the options.
47475 _ACEOF
47476 cat >>$CONFIG_STATUS <<\_ACEOF
47477 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
47478 ac_cs_recheck=: ;;
47479 --version | --vers* | -V )
47480 echo "$ac_cs_version"; exit 0 ;;
47481 --he | --h)
47482 # Conflict between --help and --header
47483 { { echo "$as_me:$LINENO: error: ambiguous option: $1
47484 Try \`$0 --help' for more information." >&5
47485 echo "$as_me: error: ambiguous option: $1
47486 Try \`$0 --help' for more information." >&2;}
47487 { (exit 1); exit 1; }; };;
47488 --help | --hel | -h )
47489 echo "$ac_cs_usage"; exit 0 ;;
47490 --debug | --d* | -d )
47491 debug=: ;;
47492 --file | --fil | --fi | --f )
47493 $ac_shift
47494 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
47495 ac_need_defaults=false;;
47496 --header | --heade | --head | --hea )
47497 $ac_shift
47498 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
47499 ac_need_defaults=false;;
47500 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
47501 | -silent | --silent | --silen | --sile | --sil | --si | --s)
47502 ac_cs_silent=: ;;
47503
47504 # This is an error.
47505 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
47506 Try \`$0 --help' for more information." >&5
47507 echo "$as_me: error: unrecognized option: $1
47508 Try \`$0 --help' for more information." >&2;}
47509 { (exit 1); exit 1; }; } ;;
47510
47511 *) ac_config_targets="$ac_config_targets $1" ;;
47512
47513 esac
47514 shift
47515 done
47516
47517 ac_configure_extra_args=
47518
47519 if $ac_cs_silent; then
47520 exec 6>/dev/null
47521 ac_configure_extra_args="$ac_configure_extra_args --silent"
47522 fi
47523
47524 _ACEOF
47525 cat >>$CONFIG_STATUS <<_ACEOF
47526 if \$ac_cs_recheck; then
47527 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
47528 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
47529 fi
47530
47531 _ACEOF
47532
47533 cat >>$CONFIG_STATUS <<_ACEOF
47534 #
47535 # INIT-COMMANDS section.
47536 #
47537
47538 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
47539 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
47540 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
47541 LN_S="${LN_S}"
47542
47543
47544 _ACEOF
47545
47546
47547
47548 cat >>$CONFIG_STATUS <<\_ACEOF
47549 for ac_config_target in $ac_config_targets
47550 do
47551 case "$ac_config_target" in
47552 # Handling of arguments.
47553 "lib/wx/config/${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
47554 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
47555 "version-script" ) CONFIG_FILES="$CONFIG_FILES version-script" ;;
47556 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
47557 "$mk" ) CONFIG_FILES="$CONFIG_FILES $mk" ;;
47558 "wx-config" ) CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
47559 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h" ) CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
47560 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
47561 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
47562 { (exit 1); exit 1; }; };;
47563 esac
47564 done
47565
47566 # If the user did not use the arguments to specify the items to instantiate,
47567 # then the envvar interface is used. Set only those that are not.
47568 # We use the long form for the default assignment because of an extremely
47569 # bizarre bug on SunOS 4.1.3.
47570 if $ac_need_defaults; then
47571 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
47572 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
47573 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
47574 fi
47575
47576 # Have a temporary directory for convenience. Make it in the build tree
47577 # simply because there is no reason to put it here, and in addition,
47578 # creating and moving files from /tmp can sometimes cause problems.
47579 # Create a temporary directory, and hook for its removal unless debugging.
47580 $debug ||
47581 {
47582 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
47583 trap '{ (exit 1); exit 1; }' 1 2 13 15
47584 }
47585
47586 # Create a (secure) tmp directory for tmp files.
47587
47588 {
47589 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
47590 test -n "$tmp" && test -d "$tmp"
47591 } ||
47592 {
47593 tmp=./confstat$$-$RANDOM
47594 (umask 077 && mkdir $tmp)
47595 } ||
47596 {
47597 echo "$me: cannot create a temporary directory in ." >&2
47598 { (exit 1); exit 1; }
47599 }
47600
47601 _ACEOF
47602
47603 cat >>$CONFIG_STATUS <<_ACEOF
47604
47605 #
47606 # CONFIG_FILES section.
47607 #
47608
47609 # No need to generate the scripts if there are no CONFIG_FILES.
47610 # This happens for instance when ./config.status config.h
47611 if test -n "\$CONFIG_FILES"; then
47612 # Protect against being on the right side of a sed subst in config.status.
47613 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
47614 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
47615 s,@SHELL@,$SHELL,;t t
47616 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
47617 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
47618 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
47619 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
47620 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
47621 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
47622 s,@exec_prefix@,$exec_prefix,;t t
47623 s,@prefix@,$prefix,;t t
47624 s,@program_transform_name@,$program_transform_name,;t t
47625 s,@bindir@,$bindir,;t t
47626 s,@sbindir@,$sbindir,;t t
47627 s,@libexecdir@,$libexecdir,;t t
47628 s,@datadir@,$datadir,;t t
47629 s,@sysconfdir@,$sysconfdir,;t t
47630 s,@sharedstatedir@,$sharedstatedir,;t t
47631 s,@localstatedir@,$localstatedir,;t t
47632 s,@libdir@,$libdir,;t t
47633 s,@includedir@,$includedir,;t t
47634 s,@oldincludedir@,$oldincludedir,;t t
47635 s,@infodir@,$infodir,;t t
47636 s,@mandir@,$mandir,;t t
47637 s,@build_alias@,$build_alias,;t t
47638 s,@host_alias@,$host_alias,;t t
47639 s,@target_alias@,$target_alias,;t t
47640 s,@DEFS@,$DEFS,;t t
47641 s,@ECHO_C@,$ECHO_C,;t t
47642 s,@ECHO_N@,$ECHO_N,;t t
47643 s,@ECHO_T@,$ECHO_T,;t t
47644 s,@LIBS@,$LIBS,;t t
47645 s,@build@,$build,;t t
47646 s,@build_cpu@,$build_cpu,;t t
47647 s,@build_vendor@,$build_vendor,;t t
47648 s,@build_os@,$build_os,;t t
47649 s,@host@,$host,;t t
47650 s,@host_cpu@,$host_cpu,;t t
47651 s,@host_vendor@,$host_vendor,;t t
47652 s,@host_os@,$host_os,;t t
47653 s,@target@,$target,;t t
47654 s,@target_cpu@,$target_cpu,;t t
47655 s,@target_vendor@,$target_vendor,;t t
47656 s,@target_os@,$target_os,;t t
47657 s,@CC@,$CC,;t t
47658 s,@CFLAGS@,$CFLAGS,;t t
47659 s,@LDFLAGS@,$LDFLAGS,;t t
47660 s,@CPPFLAGS@,$CPPFLAGS,;t t
47661 s,@ac_ct_CC@,$ac_ct_CC,;t t
47662 s,@EXEEXT@,$EXEEXT,;t t
47663 s,@OBJEXT@,$OBJEXT,;t t
47664 s,@CPP@,$CPP,;t t
47665 s,@EGREP@,$EGREP,;t t
47666 s,@CXX@,$CXX,;t t
47667 s,@CXXFLAGS@,$CXXFLAGS,;t t
47668 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
47669 s,@RANLIB@,$RANLIB,;t t
47670 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
47671 s,@AR@,$AR,;t t
47672 s,@ac_ct_AR@,$ac_ct_AR,;t t
47673 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
47674 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
47675 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
47676 s,@STRIP@,$STRIP,;t t
47677 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
47678 s,@RESCOMP@,$RESCOMP,;t t
47679 s,@ac_ct_RESCOMP@,$ac_ct_RESCOMP,;t t
47680 s,@DLLTOOL@,$DLLTOOL,;t t
47681 s,@ac_ct_DLLTOOL@,$ac_ct_DLLTOOL,;t t
47682 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
47683 s,@LN_S@,$LN_S,;t t
47684 s,@LNDIR@,$LNDIR,;t t
47685 s,@CXXCPP@,$CXXCPP,;t t
47686 s,@subdirs@,$subdirs,;t t
47687 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
47688 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
47689 s,@GTK_LIBS@,$GTK_LIBS,;t t
47690 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
47691 s,@X_CFLAGS@,$X_CFLAGS,;t t
47692 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
47693 s,@X_LIBS@,$X_LIBS,;t t
47694 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
47695 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
47696 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
47697 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
47698 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
47699 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
47700 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
47701 s,@DEREZ@,$DEREZ,;t t
47702 s,@SETFILE@,$SETFILE,;t t
47703 s,@LIBICONV@,$LIBICONV,;t t
47704 s,@EXTRALIBS_ESD@,$EXTRALIBS_ESD,;t t
47705 s,@SDL_CONFIG@,$SDL_CONFIG,;t t
47706 s,@SDL_CFLAGS@,$SDL_CFLAGS,;t t
47707 s,@SDL_LIBS@,$SDL_LIBS,;t t
47708 s,@LIBGNOMEPRINTUI_CFLAGS@,$LIBGNOMEPRINTUI_CFLAGS,;t t
47709 s,@LIBGNOMEPRINTUI_LIBS@,$LIBGNOMEPRINTUI_LIBS,;t t
47710 s,@GSTREAMER_CFLAGS@,$GSTREAMER_CFLAGS,;t t
47711 s,@GSTREAMER_LIBS@,$GSTREAMER_LIBS,;t t
47712 s,@GST_INSPECT@,$GST_INSPECT,;t t
47713 s,@CORE_BASE_LIBS@,$CORE_BASE_LIBS,;t t
47714 s,@CORE_GUI_LIBS@,$CORE_GUI_LIBS,;t t
47715 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
47716 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
47717 s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
47718 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
47719 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
47720 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
47721 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
47722 s,@VENDOR@,$VENDOR,;t t
47723 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
47724 s,@WX_FLAVOUR@,$WX_FLAVOUR,;t t
47725 s,@WX_LIB_FLAVOUR@,$WX_LIB_FLAVOUR,;t t
47726 s,@WXUNIV@,$WXUNIV,;t t
47727 s,@MONOLITHIC@,$MONOLITHIC,;t t
47728 s,@USE_PLUGINS@,$USE_PLUGINS,;t t
47729 s,@EXTRALIBS@,$EXTRALIBS,;t t
47730 s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
47731 s,@EXTRALIBS_HTML@,$EXTRALIBS_HTML,;t t
47732 s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
47733 s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
47734 s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
47735 s,@EXTRALIBS_SDL@,$EXTRALIBS_SDL,;t t
47736 s,@WITH_PLUGIN_SDL@,$WITH_PLUGIN_SDL,;t t
47737 s,@EXTRALIBS_GNOMEPRINT@,$EXTRALIBS_GNOMEPRINT,;t t
47738 s,@UNICODE@,$UNICODE,;t t
47739 s,@BUILD@,$BUILD,;t t
47740 s,@DEBUG_INFO@,$DEBUG_INFO,;t t
47741 s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
47742 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
47743 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
47744 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
47745 s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
47746 s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
47747 s,@CPPUNIT_CFLAGS@,$CPPUNIT_CFLAGS,;t t
47748 s,@CPPUNIT_LIBS@,$CPPUNIT_LIBS,;t t
47749 s,@SET_MAKE@,$SET_MAKE,;t t
47750 s,@MAKE_SET@,$MAKE_SET,;t t
47751 s,@NM@,$NM,;t t
47752 s,@ac_ct_NM@,$ac_ct_NM,;t t
47753 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
47754 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
47755 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
47756 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
47757 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
47758 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
47759 s,@PLATFORM_MACOS@,$PLATFORM_MACOS,;t t
47760 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
47761 s,@PLATFORM_OS2@,$PLATFORM_OS2,;t t
47762 s,@PLATFORM_BEOS@,$PLATFORM_BEOS,;t t
47763 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
47764 s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
47765 s,@DLLIMP_SUFFIX@,$DLLIMP_SUFFIX,;t t
47766 s,@LIBPREFIX@,$LIBPREFIX,;t t
47767 s,@LIBEXT@,$LIBEXT,;t t
47768 s,@DLLPREFIX@,$DLLPREFIX,;t t
47769 s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
47770 s,@dlldir@,$dlldir,;t t
47771 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
47772 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
47773 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
47774 s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
47775 s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
47776 s,@PIC_FLAG@,$PIC_FLAG,;t t
47777 s,@WINDOWS_IMPLIB@,$WINDOWS_IMPLIB,;t t
47778 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
47779 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
47780 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
47781 s,@USE_SOVERCYGWIN@,$USE_SOVERCYGWIN,;t t
47782 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
47783 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
47784 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
47785 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
47786 s,@GCC_PCH@,$GCC_PCH,;t t
47787 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
47788 s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
47789 s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
47790 s,@COND_BUILD_DEBUG_UNICODE_0@,$COND_BUILD_DEBUG_UNICODE_0,;t t
47791 s,@COND_BUILD_DEBUG_UNICODE_1@,$COND_BUILD_DEBUG_UNICODE_1,;t t
47792 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
47793 s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
47794 s,@COND_BUILD_RELEASE_UNICODE_0@,$COND_BUILD_RELEASE_UNICODE_0,;t t
47795 s,@COND_BUILD_RELEASE_UNICODE_1@,$COND_BUILD_RELEASE_UNICODE_1,;t t
47796 s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
47797 s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
47798 s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
47799 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
47800 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
47801 s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
47802 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
47803 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
47804 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
47805 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
47806 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
47807 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
47808 s,@COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1,;t t
47809 s,@COND_MONOLITHIC_0_SHARED_0_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1,;t t
47810 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
47811 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
47812 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
47813 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
47814 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
47815 s,@COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1,;t t
47816 s,@COND_MONOLITHIC_0_SHARED_1_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1,;t t
47817 s,@COND_MONOLITHIC_0_USE_ODBC_1@,$COND_MONOLITHIC_0_USE_ODBC_1,;t t
47818 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
47819 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
47820 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
47821 s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
47822 s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
47823 s,@COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1,;t t
47824 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
47825 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
47826 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_@,$COND_PLATFORM_MACOSX_1_TOOLKIT_,;t t
47827 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
47828 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
47829 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
47830 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1,;t t
47831 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
47832 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF,;t t
47833 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_X11@,$COND_PLATFORM_MACOSX_1_TOOLKIT_X11,;t t
47834 s,@COND_PLATFORM_MACOSX_1_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_USE_GUI_1,;t t
47835 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
47836 s,@COND_PLATFORM_MACOS_1@,$COND_PLATFORM_MACOS_1,;t t
47837 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
47838 s,@COND_PLATFORM_MSDOS_1@,$COND_PLATFORM_MSDOS_1,;t t
47839 s,@COND_PLATFORM_OS2_1@,$COND_PLATFORM_OS2_1,;t t
47840 s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
47841 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
47842 s,@COND_PLATFORM_UNIX_1_USE_GUI_1@,$COND_PLATFORM_UNIX_1_USE_GUI_1,;t t
47843 s,@COND_PLATFORM_UNIX_1_USE_PLUGINS_0@,$COND_PLATFORM_UNIX_1_USE_PLUGINS_0,;t t
47844 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
47845 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
47846 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
47847 s,@COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0,;t t
47848 s,@COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0,;t t
47849 s,@COND_SHARED_0_TOOLKIT_PM_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0,;t t
47850 s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
47851 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
47852 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
47853 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
47854 s,@COND_SHARED_0_USE_XRC_1@,$COND_SHARED_0_USE_XRC_1,;t t
47855 s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
47856 s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
47857 s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
47858 s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
47859 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
47860 s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
47861 s,@COND_SHARED_1_USE_XRC_1@,$COND_SHARED_1_USE_XRC_1,;t t
47862 s,@COND_TOOLKIT_@,$COND_TOOLKIT_,;t t
47863 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
47864 s,@COND_TOOLKIT_COCOA_USE_GUI_1@,$COND_TOOLKIT_COCOA_USE_GUI_1,;t t
47865 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
47866 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
47867 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
47868 s,@COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0,;t t
47869 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
47870 s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
47871 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
47872 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
47873 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
47874 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
47875 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
47876 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
47877 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
47878 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
47879 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
47880 s,@COND_TOOLKIT_MSW_WXUNIV_0@,$COND_TOOLKIT_MSW_WXUNIV_0,;t t
47881 s,@COND_TOOLKIT_PM@,$COND_TOOLKIT_PM,;t t
47882 s,@COND_TOOLKIT_PM_USE_GUI_1@,$COND_TOOLKIT_PM_USE_GUI_1,;t t
47883 s,@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0,;t t
47884 s,@COND_TOOLKIT_WINCE@,$COND_TOOLKIT_WINCE,;t t
47885 s,@COND_TOOLKIT_WINCE_USE_GUI_1@,$COND_TOOLKIT_WINCE_USE_GUI_1,;t t
47886 s,@COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0,;t t
47887 s,@COND_TOOLKIT_WINCE_WXUNIV_0@,$COND_TOOLKIT_WINCE_WXUNIV_0,;t t
47888 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
47889 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
47890 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
47891 s,@COND_USE_EXCEPTIONS_0@,$COND_USE_EXCEPTIONS_0,;t t
47892 s,@COND_USE_EXCEPTIONS_1@,$COND_USE_EXCEPTIONS_1,;t t
47893 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
47894 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
47895 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
47896 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
47897 s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
47898 s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
47899 s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
47900 s,@COND_USE_ODBC_1@,$COND_USE_ODBC_1,;t t
47901 s,@COND_USE_OPENGL_1@,$COND_USE_OPENGL_1,;t t
47902 s,@COND_USE_PLUGINS_0@,$COND_USE_PLUGINS_0,;t t
47903 s,@COND_USE_RTTI_0@,$COND_USE_RTTI_0,;t t
47904 s,@COND_USE_RTTI_1@,$COND_USE_RTTI_1,;t t
47905 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
47906 s,@COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1@,$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1,;t t
47907 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
47908 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
47909 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
47910 s,@COND_USE_THREADS_0@,$COND_USE_THREADS_0,;t t
47911 s,@COND_USE_THREADS_1@,$COND_USE_THREADS_1,;t t
47912 s,@COND_USE_XRC_1@,$COND_USE_XRC_1,;t t
47913 s,@COND_WINDOWS_IMPLIB_1@,$COND_WINDOWS_IMPLIB_1,;t t
47914 s,@COND_WITH_PLUGIN_SDL_1@,$COND_WITH_PLUGIN_SDL_1,;t t
47915 s,@COND_WXUNIV_0@,$COND_WXUNIV_0,;t t
47916 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
47917 s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
47918 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
47919 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
47920 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
47921 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
47922 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
47923 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
47924 s,@SHARED@,$SHARED,;t t
47925 s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
47926 s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
47927 s,@WXDEBUG_DEFINE@,$WXDEBUG_DEFINE,;t t
47928 s,@USE_GUI@,$USE_GUI,;t t
47929 s,@AFMINSTALL@,$AFMINSTALL,;t t
47930 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
47931 s,@TOOLKIT@,$TOOLKIT,;t t
47932 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
47933 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
47934 s,@TOOLCHAIN_FULLNAME@,$TOOLCHAIN_FULLNAME,;t t
47935 s,@TOOLCHAIN_DEFS@,$TOOLCHAIN_DEFS,;t t
47936 s,@TOOLCHAIN_DLL_DEFS@,$TOOLCHAIN_DLL_DEFS,;t t
47937 s,@cross_compiling@,$cross_compiling,;t t
47938 s,@WIDGET_SET@,$WIDGET_SET,;t t
47939 s,@WX_RELEASE@,$WX_RELEASE,;t t
47940 s,@WX_VERSION@,$WX_VERSION,;t t
47941 s,@WX_SUBVERSION@,$WX_SUBVERSION,;t t
47942 s,@WX_CHARTYPE@,$WX_CHARTYPE,;t t
47943 s,@WX_DEBUGTYPE@,$WX_DEBUGTYPE,;t t
47944 s,@WXCONFIG_EXTRALIBS@,$WXCONFIG_EXTRALIBS,;t t
47945 s,@WXCONFIG_INCLUDE@,$WXCONFIG_INCLUDE,;t t
47946 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
47947 s,@WXCONFIG_LDFLAGS_GUI@,$WXCONFIG_LDFLAGS_GUI,;t t
47948 s,@WX_LARGEFILE_FLAGS@,$WX_LARGEFILE_FLAGS,;t t
47949 s,@GCC_PRAGMA_FLAGS@,$GCC_PRAGMA_FLAGS,;t t
47950 s,@CODE_GEN_FLAGS@,$CODE_GEN_FLAGS,;t t
47951 s,@CODE_GEN_FLAGS_CXX@,$CODE_GEN_FLAGS_CXX,;t t
47952 s,@EXE_LINKER@,$EXE_LINKER,;t t
47953 s,@GUIDIST@,$GUIDIST,;t t
47954 s,@DISTDIR@,$DISTDIR,;t t
47955 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
47956 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
47957 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
47958 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
47959 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
47960 s,@RESFLAGS@,$RESFLAGS,;t t
47961 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
47962 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
47963 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
47964 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
47965 s,@MACRESCOMP@,$MACRESCOMP,;t t
47966 s,@MACSETFILE@,$MACSETFILE,;t t
47967 s,@MACRESWXCONFIG@,$MACRESWXCONFIG,;t t
47968 s,@GCC@,$GCC,;t t
47969 s,@CPPUNIT_CONFIG@,$CPPUNIT_CONFIG,;t t
47970 s,@LIBOBJS@,$LIBOBJS,;t t
47971 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
47972 CEOF
47973
47974 _ACEOF
47975
47976 cat >>$CONFIG_STATUS <<\_ACEOF
47977 # Split the substitutions into bite-sized pieces for seds with
47978 # small command number limits, like on Digital OSF/1 and HP-UX.
47979 ac_max_sed_lines=48
47980 ac_sed_frag=1 # Number of current file.
47981 ac_beg=1 # First line for current file.
47982 ac_end=$ac_max_sed_lines # Line after last line for current file.
47983 ac_more_lines=:
47984 ac_sed_cmds=
47985 while $ac_more_lines; do
47986 if test $ac_beg -gt 1; then
47987 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
47988 else
47989 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
47990 fi
47991 if test ! -s $tmp/subs.frag; then
47992 ac_more_lines=false
47993 else
47994 # The purpose of the label and of the branching condition is to
47995 # speed up the sed processing (if there are no `@' at all, there
47996 # is no need to browse any of the substitutions).
47997 # These are the two extra sed commands mentioned above.
47998 (echo ':t
47999 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
48000 if test -z "$ac_sed_cmds"; then
48001 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
48002 else
48003 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
48004 fi
48005 ac_sed_frag=`expr $ac_sed_frag + 1`
48006 ac_beg=$ac_end
48007 ac_end=`expr $ac_end + $ac_max_sed_lines`
48008 fi
48009 done
48010 if test -z "$ac_sed_cmds"; then
48011 ac_sed_cmds=cat
48012 fi
48013 fi # test -n "$CONFIG_FILES"
48014
48015 _ACEOF
48016 cat >>$CONFIG_STATUS <<\_ACEOF
48017 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
48018 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
48019 case $ac_file in
48020 - | *:- | *:-:* ) # input from stdin
48021 cat >$tmp/stdin
48022 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
48023 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
48024 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
48025 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
48026 * ) ac_file_in=$ac_file.in ;;
48027 esac
48028
48029 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
48030 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
48031 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
48032 X"$ac_file" : 'X\(//\)[^/]' \| \
48033 X"$ac_file" : 'X\(//\)$' \| \
48034 X"$ac_file" : 'X\(/\)' \| \
48035 . : '\(.\)' 2>/dev/null ||
48036 echo X"$ac_file" |
48037 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
48038 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
48039 /^X\(\/\/\)$/{ s//\1/; q; }
48040 /^X\(\/\).*/{ s//\1/; q; }
48041 s/.*/./; q'`
48042 { if $as_mkdir_p; then
48043 mkdir -p "$ac_dir"
48044 else
48045 as_dir="$ac_dir"
48046 as_dirs=
48047 while test ! -d "$as_dir"; do
48048 as_dirs="$as_dir $as_dirs"
48049 as_dir=`(dirname "$as_dir") 2>/dev/null ||
48050 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
48051 X"$as_dir" : 'X\(//\)[^/]' \| \
48052 X"$as_dir" : 'X\(//\)$' \| \
48053 X"$as_dir" : 'X\(/\)' \| \
48054 . : '\(.\)' 2>/dev/null ||
48055 echo X"$as_dir" |
48056 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
48057 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
48058 /^X\(\/\/\)$/{ s//\1/; q; }
48059 /^X\(\/\).*/{ s//\1/; q; }
48060 s/.*/./; q'`
48061 done
48062 test ! -n "$as_dirs" || mkdir $as_dirs
48063 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
48064 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
48065 { (exit 1); exit 1; }; }; }
48066
48067 ac_builddir=.
48068
48069 if test "$ac_dir" != .; then
48070 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
48071 # A "../" for each directory in $ac_dir_suffix.
48072 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
48073 else
48074 ac_dir_suffix= ac_top_builddir=
48075 fi
48076
48077 case $srcdir in
48078 .) # No --srcdir option. We are building in place.
48079 ac_srcdir=.
48080 if test -z "$ac_top_builddir"; then
48081 ac_top_srcdir=.
48082 else
48083 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
48084 fi ;;
48085 [\\/]* | ?:[\\/]* ) # Absolute path.
48086 ac_srcdir=$srcdir$ac_dir_suffix;
48087 ac_top_srcdir=$srcdir ;;
48088 *) # Relative path.
48089 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
48090 ac_top_srcdir=$ac_top_builddir$srcdir ;;
48091 esac
48092
48093 # Do not use `cd foo && pwd` to compute absolute paths, because
48094 # the directories may not exist.
48095 case `pwd` in
48096 .) ac_abs_builddir="$ac_dir";;
48097 *)
48098 case "$ac_dir" in
48099 .) ac_abs_builddir=`pwd`;;
48100 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
48101 *) ac_abs_builddir=`pwd`/"$ac_dir";;
48102 esac;;
48103 esac
48104 case $ac_abs_builddir in
48105 .) ac_abs_top_builddir=${ac_top_builddir}.;;
48106 *)
48107 case ${ac_top_builddir}. in
48108 .) ac_abs_top_builddir=$ac_abs_builddir;;
48109 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
48110 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
48111 esac;;
48112 esac
48113 case $ac_abs_builddir in
48114 .) ac_abs_srcdir=$ac_srcdir;;
48115 *)
48116 case $ac_srcdir in
48117 .) ac_abs_srcdir=$ac_abs_builddir;;
48118 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
48119 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
48120 esac;;
48121 esac
48122 case $ac_abs_builddir in
48123 .) ac_abs_top_srcdir=$ac_top_srcdir;;
48124 *)
48125 case $ac_top_srcdir in
48126 .) ac_abs_top_srcdir=$ac_abs_builddir;;
48127 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
48128 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
48129 esac;;
48130 esac
48131
48132
48133 case $INSTALL in
48134 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
48135 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
48136 esac
48137
48138 if test x"$ac_file" != x-; then
48139 { echo "$as_me:$LINENO: creating $ac_file" >&5
48140 echo "$as_me: creating $ac_file" >&6;}
48141 rm -f "$ac_file"
48142 fi
48143 # Let's still pretend it is `configure' which instantiates (i.e., don't
48144 # use $as_me), people would be surprised to read:
48145 # /* config.h. Generated by config.status. */
48146 if test x"$ac_file" = x-; then
48147 configure_input=
48148 else
48149 configure_input="$ac_file. "
48150 fi
48151 configure_input=$configure_input"Generated from `echo $ac_file_in |
48152 sed 's,.*/,,'` by configure."
48153
48154 # First look for the input files in the build tree, otherwise in the
48155 # src tree.
48156 ac_file_inputs=`IFS=:
48157 for f in $ac_file_in; do
48158 case $f in
48159 -) echo $tmp/stdin ;;
48160 [\\/$]*)
48161 # Absolute (can't be DOS-style, as IFS=:)
48162 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
48163 echo "$as_me: error: cannot find input file: $f" >&2;}
48164 { (exit 1); exit 1; }; }
48165 echo "$f";;
48166 *) # Relative
48167 if test -f "$f"; then
48168 # Build tree
48169 echo "$f"
48170 elif test -f "$srcdir/$f"; then
48171 # Source tree
48172 echo "$srcdir/$f"
48173 else
48174 # /dev/null tree
48175 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
48176 echo "$as_me: error: cannot find input file: $f" >&2;}
48177 { (exit 1); exit 1; }; }
48178 fi;;
48179 esac
48180 done` || { (exit 1); exit 1; }
48181 _ACEOF
48182 cat >>$CONFIG_STATUS <<_ACEOF
48183 sed "$ac_vpsub
48184 $extrasub
48185 _ACEOF
48186 cat >>$CONFIG_STATUS <<\_ACEOF
48187 :t
48188 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
48189 s,@configure_input@,$configure_input,;t t
48190 s,@srcdir@,$ac_srcdir,;t t
48191 s,@abs_srcdir@,$ac_abs_srcdir,;t t
48192 s,@top_srcdir@,$ac_top_srcdir,;t t
48193 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
48194 s,@builddir@,$ac_builddir,;t t
48195 s,@abs_builddir@,$ac_abs_builddir,;t t
48196 s,@top_builddir@,$ac_top_builddir,;t t
48197 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
48198 s,@INSTALL@,$ac_INSTALL,;t t
48199 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
48200 rm -f $tmp/stdin
48201 if test x"$ac_file" != x-; then
48202 mv $tmp/out $ac_file
48203 else
48204 cat $tmp/out
48205 rm -f $tmp/out
48206 fi
48207
48208 # Run the commands associated with the file.
48209 case $ac_file in
48210 lib/wx/config/${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
48211 lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
48212 esac
48213 done
48214 _ACEOF
48215 cat >>$CONFIG_STATUS <<\_ACEOF
48216
48217 #
48218 # CONFIG_HEADER section.
48219 #
48220
48221 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
48222 # NAME is the cpp macro being defined and VALUE is the value it is being given.
48223 #
48224 # ac_d sets the value in "#define NAME VALUE" lines.
48225 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
48226 ac_dB='[ ].*$,\1#\2'
48227 ac_dC=' '
48228 ac_dD=',;t'
48229 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
48230 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
48231 ac_uB='$,\1#\2define\3'
48232 ac_uC=' '
48233 ac_uD=',;t'
48234
48235 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
48236 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
48237 case $ac_file in
48238 - | *:- | *:-:* ) # input from stdin
48239 cat >$tmp/stdin
48240 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
48241 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
48242 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
48243 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
48244 * ) ac_file_in=$ac_file.in ;;
48245 esac
48246
48247 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
48248 echo "$as_me: creating $ac_file" >&6;}
48249
48250 # First look for the input files in the build tree, otherwise in the
48251 # src tree.
48252 ac_file_inputs=`IFS=:
48253 for f in $ac_file_in; do
48254 case $f in
48255 -) echo $tmp/stdin ;;
48256 [\\/$]*)
48257 # Absolute (can't be DOS-style, as IFS=:)
48258 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
48259 echo "$as_me: error: cannot find input file: $f" >&2;}
48260 { (exit 1); exit 1; }; }
48261 # Do quote $f, to prevent DOS paths from being IFS'd.
48262 echo "$f";;
48263 *) # Relative
48264 if test -f "$f"; then
48265 # Build tree
48266 echo "$f"
48267 elif test -f "$srcdir/$f"; then
48268 # Source tree
48269 echo "$srcdir/$f"
48270 else
48271 # /dev/null tree
48272 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
48273 echo "$as_me: error: cannot find input file: $f" >&2;}
48274 { (exit 1); exit 1; }; }
48275 fi;;
48276 esac
48277 done` || { (exit 1); exit 1; }
48278 # Remove the trailing spaces.
48279 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
48280
48281 _ACEOF
48282
48283 # Transform confdefs.h into two sed scripts, `conftest.defines' and
48284 # `conftest.undefs', that substitutes the proper values into
48285 # config.h.in to produce config.h. The first handles `#define'
48286 # templates, and the second `#undef' templates.
48287 # And first: Protect against being on the right side of a sed subst in
48288 # config.status. Protect against being in an unquoted here document
48289 # in config.status.
48290 rm -f conftest.defines conftest.undefs
48291 # Using a here document instead of a string reduces the quoting nightmare.
48292 # Putting comments in sed scripts is not portable.
48293 #
48294 # `end' is used to avoid that the second main sed command (meant for
48295 # 0-ary CPP macros) applies to n-ary macro definitions.
48296 # See the Autoconf documentation for `clear'.
48297 cat >confdef2sed.sed <<\_ACEOF
48298 s/[\\&,]/\\&/g
48299 s,[\\$`],\\&,g
48300 t clear
48301 : clear
48302 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
48303 t end
48304 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
48305 : end
48306 _ACEOF
48307 # If some macros were called several times there might be several times
48308 # the same #defines, which is useless. Nevertheless, we may not want to
48309 # sort them, since we want the *last* AC-DEFINE to be honored.
48310 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
48311 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
48312 rm -f confdef2sed.sed
48313
48314 # This sed command replaces #undef with comments. This is necessary, for
48315 # example, in the case of _POSIX_SOURCE, which is predefined and required
48316 # on some systems where configure will not decide to define it.
48317 cat >>conftest.undefs <<\_ACEOF
48318 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
48319 _ACEOF
48320
48321 # Break up conftest.defines because some shells have a limit on the size
48322 # of here documents, and old seds have small limits too (100 cmds).
48323 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
48324 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
48325 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
48326 echo ' :' >>$CONFIG_STATUS
48327 rm -f conftest.tail
48328 while grep . conftest.defines >/dev/null
48329 do
48330 # Write a limited-size here document to $tmp/defines.sed.
48331 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
48332 # Speed up: don't consider the non `#define' lines.
48333 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
48334 # Work around the forget-to-reset-the-flag bug.
48335 echo 't clr' >>$CONFIG_STATUS
48336 echo ': clr' >>$CONFIG_STATUS
48337 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
48338 echo 'CEOF
48339 sed -f $tmp/defines.sed $tmp/in >$tmp/out
48340 rm -f $tmp/in
48341 mv $tmp/out $tmp/in
48342 ' >>$CONFIG_STATUS
48343 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
48344 rm -f conftest.defines
48345 mv conftest.tail conftest.defines
48346 done
48347 rm -f conftest.defines
48348 echo ' fi # grep' >>$CONFIG_STATUS
48349 echo >>$CONFIG_STATUS
48350
48351 # Break up conftest.undefs because some shells have a limit on the size
48352 # of here documents, and old seds have small limits too (100 cmds).
48353 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
48354 rm -f conftest.tail
48355 while grep . conftest.undefs >/dev/null
48356 do
48357 # Write a limited-size here document to $tmp/undefs.sed.
48358 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
48359 # Speed up: don't consider the non `#undef'
48360 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
48361 # Work around the forget-to-reset-the-flag bug.
48362 echo 't clr' >>$CONFIG_STATUS
48363 echo ': clr' >>$CONFIG_STATUS
48364 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
48365 echo 'CEOF
48366 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
48367 rm -f $tmp/in
48368 mv $tmp/out $tmp/in
48369 ' >>$CONFIG_STATUS
48370 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
48371 rm -f conftest.undefs
48372 mv conftest.tail conftest.undefs
48373 done
48374 rm -f conftest.undefs
48375
48376 cat >>$CONFIG_STATUS <<\_ACEOF
48377 # Let's still pretend it is `configure' which instantiates (i.e., don't
48378 # use $as_me), people would be surprised to read:
48379 # /* config.h. Generated by config.status. */
48380 if test x"$ac_file" = x-; then
48381 echo "/* Generated by configure. */" >$tmp/config.h
48382 else
48383 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
48384 fi
48385 cat $tmp/in >>$tmp/config.h
48386 rm -f $tmp/in
48387 if test x"$ac_file" != x-; then
48388 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
48389 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
48390 echo "$as_me: $ac_file is unchanged" >&6;}
48391 else
48392 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
48393 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
48394 X"$ac_file" : 'X\(//\)[^/]' \| \
48395 X"$ac_file" : 'X\(//\)$' \| \
48396 X"$ac_file" : 'X\(/\)' \| \
48397 . : '\(.\)' 2>/dev/null ||
48398 echo X"$ac_file" |
48399 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
48400 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
48401 /^X\(\/\/\)$/{ s//\1/; q; }
48402 /^X\(\/\).*/{ s//\1/; q; }
48403 s/.*/./; q'`
48404 { if $as_mkdir_p; then
48405 mkdir -p "$ac_dir"
48406 else
48407 as_dir="$ac_dir"
48408 as_dirs=
48409 while test ! -d "$as_dir"; do
48410 as_dirs="$as_dir $as_dirs"
48411 as_dir=`(dirname "$as_dir") 2>/dev/null ||
48412 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
48413 X"$as_dir" : 'X\(//\)[^/]' \| \
48414 X"$as_dir" : 'X\(//\)$' \| \
48415 X"$as_dir" : 'X\(/\)' \| \
48416 . : '\(.\)' 2>/dev/null ||
48417 echo X"$as_dir" |
48418 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
48419 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
48420 /^X\(\/\/\)$/{ s//\1/; q; }
48421 /^X\(\/\).*/{ s//\1/; q; }
48422 s/.*/./; q'`
48423 done
48424 test ! -n "$as_dirs" || mkdir $as_dirs
48425 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
48426 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
48427 { (exit 1); exit 1; }; }; }
48428
48429 rm -f $ac_file
48430 mv $tmp/config.h $ac_file
48431 fi
48432 else
48433 cat $tmp/config.h
48434 rm -f $tmp/config.h
48435 fi
48436 done
48437 _ACEOF
48438 cat >>$CONFIG_STATUS <<\_ACEOF
48439
48440 #
48441 # CONFIG_COMMANDS section.
48442 #
48443 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
48444 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
48445 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
48446 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
48447 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
48448 X"$ac_dest" : 'X\(//\)[^/]' \| \
48449 X"$ac_dest" : 'X\(//\)$' \| \
48450 X"$ac_dest" : 'X\(/\)' \| \
48451 . : '\(.\)' 2>/dev/null ||
48452 echo X"$ac_dest" |
48453 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
48454 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
48455 /^X\(\/\/\)$/{ s//\1/; q; }
48456 /^X\(\/\).*/{ s//\1/; q; }
48457 s/.*/./; q'`
48458 { if $as_mkdir_p; then
48459 mkdir -p "$ac_dir"
48460 else
48461 as_dir="$ac_dir"
48462 as_dirs=
48463 while test ! -d "$as_dir"; do
48464 as_dirs="$as_dir $as_dirs"
48465 as_dir=`(dirname "$as_dir") 2>/dev/null ||
48466 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
48467 X"$as_dir" : 'X\(//\)[^/]' \| \
48468 X"$as_dir" : 'X\(//\)$' \| \
48469 X"$as_dir" : 'X\(/\)' \| \
48470 . : '\(.\)' 2>/dev/null ||
48471 echo X"$as_dir" |
48472 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
48473 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
48474 /^X\(\/\/\)$/{ s//\1/; q; }
48475 /^X\(\/\).*/{ s//\1/; q; }
48476 s/.*/./; q'`
48477 done
48478 test ! -n "$as_dirs" || mkdir $as_dirs
48479 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
48480 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
48481 { (exit 1); exit 1; }; }; }
48482
48483 ac_builddir=.
48484
48485 if test "$ac_dir" != .; then
48486 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
48487 # A "../" for each directory in $ac_dir_suffix.
48488 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
48489 else
48490 ac_dir_suffix= ac_top_builddir=
48491 fi
48492
48493 case $srcdir in
48494 .) # No --srcdir option. We are building in place.
48495 ac_srcdir=.
48496 if test -z "$ac_top_builddir"; then
48497 ac_top_srcdir=.
48498 else
48499 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
48500 fi ;;
48501 [\\/]* | ?:[\\/]* ) # Absolute path.
48502 ac_srcdir=$srcdir$ac_dir_suffix;
48503 ac_top_srcdir=$srcdir ;;
48504 *) # Relative path.
48505 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
48506 ac_top_srcdir=$ac_top_builddir$srcdir ;;
48507 esac
48508
48509 # Do not use `cd foo && pwd` to compute absolute paths, because
48510 # the directories may not exist.
48511 case `pwd` in
48512 .) ac_abs_builddir="$ac_dir";;
48513 *)
48514 case "$ac_dir" in
48515 .) ac_abs_builddir=`pwd`;;
48516 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
48517 *) ac_abs_builddir=`pwd`/"$ac_dir";;
48518 esac;;
48519 esac
48520 case $ac_abs_builddir in
48521 .) ac_abs_top_builddir=${ac_top_builddir}.;;
48522 *)
48523 case ${ac_top_builddir}. in
48524 .) ac_abs_top_builddir=$ac_abs_builddir;;
48525 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
48526 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
48527 esac;;
48528 esac
48529 case $ac_abs_builddir in
48530 .) ac_abs_srcdir=$ac_srcdir;;
48531 *)
48532 case $ac_srcdir in
48533 .) ac_abs_srcdir=$ac_abs_builddir;;
48534 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
48535 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
48536 esac;;
48537 esac
48538 case $ac_abs_builddir in
48539 .) ac_abs_top_srcdir=$ac_top_srcdir;;
48540 *)
48541 case $ac_top_srcdir in
48542 .) ac_abs_top_srcdir=$ac_abs_builddir;;
48543 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
48544 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
48545 esac;;
48546 esac
48547
48548
48549 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
48550 echo "$as_me: executing $ac_dest commands" >&6;}
48551 case $ac_dest in
48552 wx-config ) rm -f wx-config
48553 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
48554 ;;
48555 esac
48556 done
48557 _ACEOF
48558
48559 cat >>$CONFIG_STATUS <<\_ACEOF
48560
48561 { (exit 0); exit 0; }
48562 _ACEOF
48563 chmod +x $CONFIG_STATUS
48564 ac_clean_files=$ac_clean_files_save
48565
48566
48567 # configure is writing to config.log, and then calls config.status.
48568 # config.status does its own redirection, appending to config.log.
48569 # Unfortunately, on DOS this fails, as config.log is still kept open
48570 # by configure, so config.status won't be able to write to it; its
48571 # output is simply discarded. So we exec the FD to /dev/null,
48572 # effectively closing config.log, so it can be properly (re)opened and
48573 # appended to by config.status. When coming back to configure, we
48574 # need to make the FD available again.
48575 if test "$no_create" != yes; then
48576 ac_cs_success=:
48577 ac_config_status_args=
48578 test "$silent" = yes &&
48579 ac_config_status_args="$ac_config_status_args --quiet"
48580 exec 5>/dev/null
48581 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
48582 exec 5>>config.log
48583 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
48584 # would make configure fail if this is the last instruction.
48585 $ac_cs_success || { (exit 1); exit 1; }
48586 fi
48587
48588 #
48589 # CONFIG_SUBDIRS section.
48590 #
48591 if test "$no_recursion" != yes; then
48592
48593 # Remove --cache-file and --srcdir arguments so they do not pile up.
48594 ac_sub_configure_args=
48595 ac_prev=
48596 for ac_arg in $ac_configure_args; do
48597 if test -n "$ac_prev"; then
48598 ac_prev=
48599 continue
48600 fi
48601 case $ac_arg in
48602 -cache-file | --cache-file | --cache-fil | --cache-fi \
48603 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
48604 ac_prev=cache_file ;;
48605 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
48606 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
48607 | --c=*)
48608 ;;
48609 --config-cache | -C)
48610 ;;
48611 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
48612 ac_prev=srcdir ;;
48613 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
48614 ;;
48615 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
48616 ac_prev=prefix ;;
48617 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
48618 ;;
48619 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
48620 esac
48621 done
48622
48623 # Always prepend --prefix to ensure using the same prefix
48624 # in subdir configurations.
48625 ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args"
48626
48627 ac_popdir=`pwd`
48628 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
48629
48630 # Do not complain, so a configure script can configure whichever
48631 # parts of a large source tree are present.
48632 test -d $srcdir/$ac_dir || continue
48633
48634 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
48635 echo "$as_me: configuring in $ac_dir" >&6;}
48636 { if $as_mkdir_p; then
48637 mkdir -p "$ac_dir"
48638 else
48639 as_dir="$ac_dir"
48640 as_dirs=
48641 while test ! -d "$as_dir"; do
48642 as_dirs="$as_dir $as_dirs"
48643 as_dir=`(dirname "$as_dir") 2>/dev/null ||
48644 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
48645 X"$as_dir" : 'X\(//\)[^/]' \| \
48646 X"$as_dir" : 'X\(//\)$' \| \
48647 X"$as_dir" : 'X\(/\)' \| \
48648 . : '\(.\)' 2>/dev/null ||
48649 echo X"$as_dir" |
48650 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
48651 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
48652 /^X\(\/\/\)$/{ s//\1/; q; }
48653 /^X\(\/\).*/{ s//\1/; q; }
48654 s/.*/./; q'`
48655 done
48656 test ! -n "$as_dirs" || mkdir $as_dirs
48657 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
48658 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
48659 { (exit 1); exit 1; }; }; }
48660
48661 ac_builddir=.
48662
48663 if test "$ac_dir" != .; then
48664 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
48665 # A "../" for each directory in $ac_dir_suffix.
48666 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
48667 else
48668 ac_dir_suffix= ac_top_builddir=
48669 fi
48670
48671 case $srcdir in
48672 .) # No --srcdir option. We are building in place.
48673 ac_srcdir=.
48674 if test -z "$ac_top_builddir"; then
48675 ac_top_srcdir=.
48676 else
48677 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
48678 fi ;;
48679 [\\/]* | ?:[\\/]* ) # Absolute path.
48680 ac_srcdir=$srcdir$ac_dir_suffix;
48681 ac_top_srcdir=$srcdir ;;
48682 *) # Relative path.
48683 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
48684 ac_top_srcdir=$ac_top_builddir$srcdir ;;
48685 esac
48686
48687 # Do not use `cd foo && pwd` to compute absolute paths, because
48688 # the directories may not exist.
48689 case `pwd` in
48690 .) ac_abs_builddir="$ac_dir";;
48691 *)
48692 case "$ac_dir" in
48693 .) ac_abs_builddir=`pwd`;;
48694 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
48695 *) ac_abs_builddir=`pwd`/"$ac_dir";;
48696 esac;;
48697 esac
48698 case $ac_abs_builddir in
48699 .) ac_abs_top_builddir=${ac_top_builddir}.;;
48700 *)
48701 case ${ac_top_builddir}. in
48702 .) ac_abs_top_builddir=$ac_abs_builddir;;
48703 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
48704 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
48705 esac;;
48706 esac
48707 case $ac_abs_builddir in
48708 .) ac_abs_srcdir=$ac_srcdir;;
48709 *)
48710 case $ac_srcdir in
48711 .) ac_abs_srcdir=$ac_abs_builddir;;
48712 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
48713 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
48714 esac;;
48715 esac
48716 case $ac_abs_builddir in
48717 .) ac_abs_top_srcdir=$ac_top_srcdir;;
48718 *)
48719 case $ac_top_srcdir in
48720 .) ac_abs_top_srcdir=$ac_abs_builddir;;
48721 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
48722 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
48723 esac;;
48724 esac
48725
48726
48727 cd $ac_dir
48728
48729 # Check for guested configure; otherwise get Cygnus style configure.
48730 if test -f $ac_srcdir/configure.gnu; then
48731 ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'"
48732 elif test -f $ac_srcdir/configure; then
48733 ac_sub_configure="$SHELL '$ac_srcdir/configure'"
48734 elif test -f $ac_srcdir/configure.in; then
48735 ac_sub_configure=$ac_configure
48736 else
48737 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
48738 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
48739 ac_sub_configure=
48740 fi
48741
48742 # The recursion is here.
48743 if test -n "$ac_sub_configure"; then
48744 # Make the cache file name correct relative to the subdirectory.
48745 case $cache_file in
48746 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
48747 *) # Relative path.
48748 ac_sub_cache_file=$ac_top_builddir$cache_file ;;
48749 esac
48750
48751 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
48752 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
48753 # The eval makes quoting arguments work.
48754 eval $ac_sub_configure $ac_sub_configure_args \
48755 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
48756 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
48757 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
48758 { (exit 1); exit 1; }; }
48759 fi
48760
48761 cd $ac_popdir
48762 done
48763 fi
48764
48765
48766 echo
48767 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
48768 echo ""
48769 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_USER:-base only}"
48770 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
48771
48772 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
48773 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
48774 echo " Should wxWidgets be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
48775
48776 echo " What level of wxWidgets compatibility should be enabled?"
48777 echo " wxWidgets 2.4 ${WXWIN_COMPATIBILITY_2_4:-no}"
48778 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-yes}"
48779
48780 echo " Which libraries should wxWidgets use?"
48781 echo " jpeg ${wxUSE_LIBJPEG-none}"
48782 echo " png ${wxUSE_LIBPNG-none}"
48783 echo " regex ${wxUSE_REGEX}"
48784 echo " tiff ${wxUSE_LIBTIFF-none}"
48785 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
48786 echo " xpm ${wxUSE_LIBXPM-none}"
48787 fi
48788 echo " zlib ${wxUSE_ZLIB}"
48789 echo " odbc ${wxUSE_ODBC}"
48790 echo " expat ${wxUSE_EXPAT}"
48791 echo " libmspack ${wxUSE_LIBMSPACK}"
48792 echo " sdl ${wxUSE_LIBSDL}"
48793 echo " gnomeprint ${wxUSE_LIBGNOMEPRINT-none}"
48794
48795 echo ""
48796