]> git.saurik.com Git - wxWidgets.git/blob - configure
added tech note for MSW programmers
[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.6.1.
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.6.1'
274 PACKAGE_STRING='wxWidgets 2.6.1'
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 INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA STRIP IF_GNU_MAKE LN_S CXXCPP subdirs PKG_CONFIG GTK_CFLAGS GTK_LIBS GTK_CONFIG X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS PANGOX_CFLAGS PANGOX_LIBS PANGOFT2_CFLAGS PANGOFT2_LIBS PANGOXFT_CFLAGS PANGOXFT_LIBS RESCOMP 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 ac_ct_AR ac_ct_STRIP 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 AIX_CXX_LD SHARED_LD_CC SHARED_LD_CXX SHARED_LD_MODULE_CC SHARED_LD_MODULE_CXX PIC_FLAG USE_SOVERSION USE_SOVERLINUX USE_SOVERSOLARIS 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_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_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_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_SOVERLINUX_1 COND_USE_SOVERSION_0 COND_USE_SOVERSOLARIS_1 COND_USE_THREADS_0 COND_USE_THREADS_1 COND_USE_XRC_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 DLLTOOL 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.6.1 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.6.1:";;
864 esac
865 cat <<\_ACEOF
866
867 Optional Features:
868 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
869 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
870 --enable-gui use GUI classes
871 --enable-monolithic build wxWidgets as single library
872 --enable-plugins build parts of wxWidgets as loadable components
873 --enable-universal use wxWidgets GUI controls instead of native ones
874 --enable-nanox use NanoX
875 --disable-gtk2 use GTK+ 1.2 instead of 2.0
876 --enable-gpe use GNOME PDA Environment features if possible
877 --enable-shared create shared library code
878 --enable-optimise create optimised code
879 --enable-debug same as debug_flag and debug_info
880 --enable-stl use STL for containers
881 --enable-omf use OMF object format
882 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)
883 --enable-debug_info create code with debugging information
884 --enable-debug_gdb create code with extra GDB debugging information
885 --enable-debug_cntxt use wxDebugContext
886 --enable-mem_tracing create code with memory tracing
887 --enable-profile create code with profiling information
888 --enable-no_rtti create code without RTTI information
889 --enable-no_exceptions create code without C++ exceptions handling
890 --enable-permissive compile code disregarding strict ANSI
891 --enable-no_deps create code without dependency information
892 --enable-compat22 enable wxWidgets 2.2 compatibility
893 --disable-compat24 disable wxWidgets 2.4 compatibility
894 --disable-rpath disable use of rpath for uninstalled builds
895 --enable-intl use internationalization system
896 --enable-config use wxConfig (and derived) classes
897 --enable-protocols use wxProtocol and derived classes
898 --enable-ftp use wxFTP (requires wxProtocol
899 --enable-http use wxHTTP (requires wxProtocol
900 --enable-fileproto use wxFileProto class (requires wxProtocol
901 --enable-sockets use socket/network classes
902 --enable-ole use OLE classes (Win32 only)
903 --enable-dataobj use data object classes
904 --enable-ipc use interprocess communication (wxSocket etc.)
905 --enable-apple_ieee use the Apple IEEE codec
906 --enable-arcstream use wxArchive streams
907 --enable-backtrace use wxStackWalker class for getting backtraces
908 --enable-catch_segvs catch signals in wxApp::OnFatalException (Unix only)
909 --enable-cmdline use wxCmdLineParser class
910 --enable-datetime use wxDateTime class
911 --enable-debugreport use wxDebugReport class
912 --enable-dialupman use dialup network classes
913 --enable-dynlib use wxLibrary class for DLL loading
914 --enable-dynamicloader use (new) wxDynamicLibrary class
915 --enable-exceptions build exception-safe library
916 --enable-ffile use wxFFile class
917 --enable-file use wxFile class
918 --enable-filesystem use virtual file systems classes
919 --enable-fontmap use font encodings conversion classes
920 --enable-fs_inet use virtual HTTP/FTP filesystems
921 --enable-fs_zip use virtual ZIP filesystems
922 --enable-geometry use geometry class
923 --enable-log use logging system
924 --enable-longlong use wxLongLong class
925 --enable-mimetype use wxMimeTypesManager
926 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
927 --enable-snglinst use wxSingleInstanceChecker class
928 --enable-std_iostreams use standard C++ stream classes
929 --enable-std_string use standard C++ string classes
930 --enable-stdpaths use wxStandardPaths class
931 --enable-stopwatch use wxStopWatch class
932 --enable-streams use wxStream etc classes
933 --enable-sysoptions use wxSystemOptions
934 --enable-textbuf use wxTextBuffer class
935 --enable-textfile use wxTextFile class
936 --enable-timer use wxTimer class
937 --enable-unicode compile wxString with Unicode support
938 --enable-sound use wxSound class
939 --enable-mediactrl use wxMediaCtrl class
940 --enable-wxprintfv use wxWidgets implementation of vprintf()
941 --enable-zipstream use wxZip streams
942 --enable-url use wxURL class
943 --enable-protocol use wxProtocol class
944 --enable-protocol-http HTTP support in wxProtocol
945 --enable-protocol-ftp FTP support in wxProtocol
946 --enable-protocol-file FILE support in wxProtocol
947 --enable-threads use threads
948 --enable-docview use document view architecture
949 --enable-help use help subsystem
950 --enable-mshtmlhelp use MS HTML Help (win32)
951 --enable-html use wxHTML sub-library
952 --enable-htmlhelp use wxHTML-based help
953 --enable-xrc use XRC resources sub-library
954 --enable-constraints use layout-constraints system
955 --enable-printarch use printing architecture
956 --enable-mdi use multiple document interface architecture
957 --enable-mdidoc use docview architecture with MDI
958 --enable-loggui use standard GUI logger
959 --enable-logwin use wxLogWindow
960 --enable-logdialog use wxLogDialog
961 --enable-webkit use wxWebKitCtrl (Mac)
962 --enable-postscript use wxPostscriptDC device context (default for gtk+)
963 --enable-prologio not available; see contrib
964 --enable-resources not available; see contrib
965 --enable-clipboard use wxClipboard class
966 --enable-dnd use Drag'n'Drop classes
967 --enable-metafile use win32 metafiles
968 --enable-controls use all usual controls
969 --enable-accel use accelerators
970 --enable-button use wxButton class
971 --enable-bmpbutton use wxBitmapButton class
972 --enable-calendar use wxCalendarCtrl class
973 --enable-caret use wxCaret class
974 --enable-checkbox use wxCheckBox class
975 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
976 --enable-choice use wxChoice class
977 --enable-choicebook use wxChoicebook class
978 --enable-combobox use wxComboBox class
979 --enable-datepick use wxDatePickerCtrl class
980 --enable-display use wxDisplay class
981 --enable-gauge use wxGauge class
982 --enable-grid use wxGrid class
983 --enable-imaglist use wxImageList class
984 --enable-listbook use wxListbook class
985 --enable-listbox use wxListBox class
986 --enable-listctrl use wxListCtrl class
987 --enable-notebook use wxNotebook class
988 --enable-radiobox use wxRadioBox class
989 --enable-radiobtn use wxRadioButton class
990 --enable-sash use wxSashWindow class
991 --enable-scrollbar use wxScrollBar class and scrollable windows
992 --enable-slider use wxSlider class
993 --enable-spinbtn use wxSpinButton class
994 --enable-spinctrl use wxSpinCtrl class
995 --enable-splitter use wxSplitterWindow class
996 --enable-statbmp use wxStaticBitmap class
997 --enable-statbox use wxStaticBox class
998 --enable-statline use wxStaticLine class
999 --enable-stattext use wxStaticText class
1000 --enable-statusbar use wxStatusBar class
1001 --enable-tabdialog use wxTabControl class
1002 --enable-textctrl use wxTextCtrl class
1003 --enable-togglebtn use wxToggleButton class
1004 --enable-toolbar use wxToolBar class
1005 --enable-tbarnative use native wxToolBar class
1006 --enable-tbarsmpl use wxToolBarSimple class
1007 --enable-treectrl use wxTreeCtrl class
1008 --enable-tipwindow use wxTipWindow class
1009 --enable-popupwin use wxPopUpWindow class
1010 --enable-commondlg use all common dialogs
1011 --enable-choicedlg use wxChoiceDialog
1012 --enable-coldlg use wxColourDialog
1013 --enable-filedlg use wxFileDialog
1014 --enable-finddlg use wxFindReplaceDialog
1015 --enable-fontdlg use wxFontDialog
1016 --enable-dirdlg use wxDirDialog
1017 --enable-msgdlg use wxMessageDialog
1018 --enable-numberdlg use wxNumberEntryDialog
1019 --enable-splash use wxSplashScreen
1020 --enable-textdlg use wxTextDialog
1021 --enable-tipdlg use startup tips
1022 --enable-progressdlg use wxProgressDialog
1023 --enable-wizarddlg use wxWizard
1024 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1025 --enable-miniframe use wxMiniFrame class
1026 --enable-tooltips use wxToolTip class
1027 --enable-splines use spline drawing code
1028 --enable-mousewheel use mousewheel
1029 --enable-validators use wxValidator and derived classes
1030 --enable-busyinfo use wxBusyInfo
1031 --enable-joystick use wxJoystick
1032 --enable-metafiles use wxMetaFile (Windows only)
1033 --enable-dragimage use wxDragImage
1034 --enable-accessibility enable accessibility support
1035 --enable-palette use wxPalette class
1036 --enable-image use wxImage class
1037 --enable-gif use gif images (GIF file format)
1038 --enable-pcx use pcx images (PCX file format)
1039 --enable-iff use iff images (IFF file format)
1040 --enable-pnm use pnm images (PNM file format)
1041 --enable-xpm use xpm images (XPM file format)
1042 --enable-icocur use Windows ICO and CUR formats
1043 --enable-official_build official build of wxWidgets (win32 DLL only)
1044 --enable-vendor=VENDOR vendor name (win32 DLL only)
1045 --disable-largefile omit support for large files
1046 --disable-gtktest do not try to compile and run a test GTK+ program
1047 --disable-gtktest Do not try to compile and run a test GTK program
1048 --disable-sdltest Do not try to compile and run a test SDL program
1049 --enable-omf use OMF object format (OS/2)
1050 --disable-precomp-headers
1051 don't use precompiled headers even if compiler can
1052
1053 Optional Packages:
1054 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1055 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1056 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1057 --with-motif use Motif/Lesstif
1058 --with-mac use Mac OS X
1059 --with-cocoa use Cocoa
1060 --with-wine use Wine
1061 --with-msw use MS-Windows
1062 --with-pm use OS/2 Presentation Manager
1063 --with-mgl use SciTech MGL
1064 --with-microwin use MicroWindows
1065 --with-x11 use X11
1066 --with-libpng use libpng (PNG image format)
1067 --with-libjpeg use libjpeg (JPEG file format)
1068 --with-libtiff use libtiff (TIFF file format)
1069 --with-libxpm use libxpm (XPM file format)
1070 --with-libmspack use libmspack (CHM help files loading)
1071 --with-sdl use SDL for audio on Unix
1072 --with-gnomeprint use GNOME print for printing under Unix
1073 --with-opengl use OpenGL (or Mesa)
1074 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1075 --with-regex enable support for wxRegEx class
1076 --with-zlib use zlib for LZW compression
1077 --with-odbc use the IODBC and wxODBC classes
1078 --with-expat enable XML support using expat parser
1079 --with-flavour=NAME specify a name to identify this build
1080 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1081 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1082 --with-x use the X Window System
1083 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1084 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1085 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1086 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1087 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1088
1089 Some influential environment variables:
1090 CC C compiler command
1091 CFLAGS C compiler flags
1092 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1093 nonstandard directory <lib dir>
1094 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1095 headers in a nonstandard directory <include dir>
1096 CPP C preprocessor
1097 CXX C++ compiler command
1098 CXXFLAGS C++ compiler flags
1099 CXXCPP C++ preprocessor
1100
1101 Use these variables to override the choices made by `configure' or to help
1102 it to find libraries and programs with nonstandard names/locations.
1103
1104 Report bugs to <wx-dev@lists.wxwidgets.org>.
1105 _ACEOF
1106 fi
1107
1108 if test "$ac_init_help" = "recursive"; then
1109 # If there are subdirs, report their specific --help.
1110 ac_popdir=`pwd`
1111 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1112 test -d $ac_dir || continue
1113 ac_builddir=.
1114
1115 if test "$ac_dir" != .; then
1116 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1117 # A "../" for each directory in $ac_dir_suffix.
1118 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1119 else
1120 ac_dir_suffix= ac_top_builddir=
1121 fi
1122
1123 case $srcdir in
1124 .) # No --srcdir option. We are building in place.
1125 ac_srcdir=.
1126 if test -z "$ac_top_builddir"; then
1127 ac_top_srcdir=.
1128 else
1129 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1130 fi ;;
1131 [\\/]* | ?:[\\/]* ) # Absolute path.
1132 ac_srcdir=$srcdir$ac_dir_suffix;
1133 ac_top_srcdir=$srcdir ;;
1134 *) # Relative path.
1135 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1136 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1137 esac
1138
1139 # Do not use `cd foo && pwd` to compute absolute paths, because
1140 # the directories may not exist.
1141 case `pwd` in
1142 .) ac_abs_builddir="$ac_dir";;
1143 *)
1144 case "$ac_dir" in
1145 .) ac_abs_builddir=`pwd`;;
1146 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1147 *) ac_abs_builddir=`pwd`/"$ac_dir";;
1148 esac;;
1149 esac
1150 case $ac_abs_builddir in
1151 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1152 *)
1153 case ${ac_top_builddir}. in
1154 .) ac_abs_top_builddir=$ac_abs_builddir;;
1155 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1156 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1157 esac;;
1158 esac
1159 case $ac_abs_builddir in
1160 .) ac_abs_srcdir=$ac_srcdir;;
1161 *)
1162 case $ac_srcdir in
1163 .) ac_abs_srcdir=$ac_abs_builddir;;
1164 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1165 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1166 esac;;
1167 esac
1168 case $ac_abs_builddir in
1169 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1170 *)
1171 case $ac_top_srcdir in
1172 .) ac_abs_top_srcdir=$ac_abs_builddir;;
1173 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1174 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1175 esac;;
1176 esac
1177
1178 cd $ac_dir
1179 # Check for guested configure; otherwise get Cygnus style configure.
1180 if test -f $ac_srcdir/configure.gnu; then
1181 echo
1182 $SHELL $ac_srcdir/configure.gnu --help=recursive
1183 elif test -f $ac_srcdir/configure; then
1184 echo
1185 $SHELL $ac_srcdir/configure --help=recursive
1186 elif test -f $ac_srcdir/configure.ac ||
1187 test -f $ac_srcdir/configure.in; then
1188 echo
1189 $ac_configure --help
1190 else
1191 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1192 fi
1193 cd $ac_popdir
1194 done
1195 fi
1196
1197 test -n "$ac_init_help" && exit 0
1198 if $ac_init_version; then
1199 cat <<\_ACEOF
1200 wxWidgets configure 2.6.1
1201 generated by GNU Autoconf 2.59
1202
1203 Copyright (C) 2003 Free Software Foundation, Inc.
1204 This configure script is free software; the Free Software Foundation
1205 gives unlimited permission to copy, distribute and modify it.
1206 _ACEOF
1207 exit 0
1208 fi
1209 exec 5>config.log
1210 cat >&5 <<_ACEOF
1211 This file contains any messages produced by compilers while
1212 running configure, to aid debugging if configure makes a mistake.
1213
1214 It was created by wxWidgets $as_me 2.6.1, which was
1215 generated by GNU Autoconf 2.59. Invocation command line was
1216
1217 $ $0 $@
1218
1219 _ACEOF
1220 {
1221 cat <<_ASUNAME
1222 ## --------- ##
1223 ## Platform. ##
1224 ## --------- ##
1225
1226 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1227 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1228 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1229 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1230 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1231
1232 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1233 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1234
1235 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1236 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1237 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1238 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1239 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1240 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1241 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1242
1243 _ASUNAME
1244
1245 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1246 for as_dir in $PATH
1247 do
1248 IFS=$as_save_IFS
1249 test -z "$as_dir" && as_dir=.
1250 echo "PATH: $as_dir"
1251 done
1252
1253 } >&5
1254
1255 cat >&5 <<_ACEOF
1256
1257
1258 ## ----------- ##
1259 ## Core tests. ##
1260 ## ----------- ##
1261
1262 _ACEOF
1263
1264
1265 # Keep a trace of the command line.
1266 # Strip out --no-create and --no-recursion so they do not pile up.
1267 # Strip out --silent because we don't want to record it for future runs.
1268 # Also quote any args containing shell meta-characters.
1269 # Make two passes to allow for proper duplicate-argument suppression.
1270 ac_configure_args=
1271 ac_configure_args0=
1272 ac_configure_args1=
1273 ac_sep=
1274 ac_must_keep_next=false
1275 for ac_pass in 1 2
1276 do
1277 for ac_arg
1278 do
1279 case $ac_arg in
1280 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1281 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1282 | -silent | --silent | --silen | --sile | --sil)
1283 continue ;;
1284 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1285 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1286 esac
1287 case $ac_pass in
1288 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1289 2)
1290 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1291 if test $ac_must_keep_next = true; then
1292 ac_must_keep_next=false # Got value, back to normal.
1293 else
1294 case $ac_arg in
1295 *=* | --config-cache | -C | -disable-* | --disable-* \
1296 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1297 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1298 | -with-* | --with-* | -without-* | --without-* | --x)
1299 case "$ac_configure_args0 " in
1300 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1301 esac
1302 ;;
1303 -* ) ac_must_keep_next=true ;;
1304 esac
1305 fi
1306 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1307 # Get rid of the leading space.
1308 ac_sep=" "
1309 ;;
1310 esac
1311 done
1312 done
1313 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1314 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1315
1316 # When interrupted or exit'd, cleanup temporary files, and complete
1317 # config.log. We remove comments because anyway the quotes in there
1318 # would cause problems or look ugly.
1319 # WARNING: Be sure not to use single quotes in there, as some shells,
1320 # such as our DU 5.0 friend, will then `close' the trap.
1321 trap 'exit_status=$?
1322 # Save into config.log some information that might help in debugging.
1323 {
1324 echo
1325
1326 cat <<\_ASBOX
1327 ## ---------------- ##
1328 ## Cache variables. ##
1329 ## ---------------- ##
1330 _ASBOX
1331 echo
1332 # The following way of writing the cache mishandles newlines in values,
1333 {
1334 (set) 2>&1 |
1335 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1336 *ac_space=\ *)
1337 sed -n \
1338 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1339 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1340 ;;
1341 *)
1342 sed -n \
1343 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1344 ;;
1345 esac;
1346 }
1347 echo
1348
1349 cat <<\_ASBOX
1350 ## ----------------- ##
1351 ## Output variables. ##
1352 ## ----------------- ##
1353 _ASBOX
1354 echo
1355 for ac_var in $ac_subst_vars
1356 do
1357 eval ac_val=$`echo $ac_var`
1358 echo "$ac_var='"'"'$ac_val'"'"'"
1359 done | sort
1360 echo
1361
1362 if test -n "$ac_subst_files"; then
1363 cat <<\_ASBOX
1364 ## ------------- ##
1365 ## Output files. ##
1366 ## ------------- ##
1367 _ASBOX
1368 echo
1369 for ac_var in $ac_subst_files
1370 do
1371 eval ac_val=$`echo $ac_var`
1372 echo "$ac_var='"'"'$ac_val'"'"'"
1373 done | sort
1374 echo
1375 fi
1376
1377 if test -s confdefs.h; then
1378 cat <<\_ASBOX
1379 ## ----------- ##
1380 ## confdefs.h. ##
1381 ## ----------- ##
1382 _ASBOX
1383 echo
1384 sed "/^$/d" confdefs.h | sort
1385 echo
1386 fi
1387 test "$ac_signal" != 0 &&
1388 echo "$as_me: caught signal $ac_signal"
1389 echo "$as_me: exit $exit_status"
1390 } >&5
1391 rm -f core *.core &&
1392 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1393 exit $exit_status
1394 ' 0
1395 for ac_signal in 1 2 13 15; do
1396 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1397 done
1398 ac_signal=0
1399
1400 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1401 rm -rf conftest* confdefs.h
1402 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1403 echo >confdefs.h
1404
1405 # Predefined preprocessor variables.
1406
1407 cat >>confdefs.h <<_ACEOF
1408 #define PACKAGE_NAME "$PACKAGE_NAME"
1409 _ACEOF
1410
1411
1412 cat >>confdefs.h <<_ACEOF
1413 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1414 _ACEOF
1415
1416
1417 cat >>confdefs.h <<_ACEOF
1418 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1419 _ACEOF
1420
1421
1422 cat >>confdefs.h <<_ACEOF
1423 #define PACKAGE_STRING "$PACKAGE_STRING"
1424 _ACEOF
1425
1426
1427 cat >>confdefs.h <<_ACEOF
1428 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1429 _ACEOF
1430
1431
1432 # Let the site file select an alternate cache file if it wants to.
1433 # Prefer explicitly selected file to automatically selected ones.
1434 if test -z "$CONFIG_SITE"; then
1435 if test "x$prefix" != xNONE; then
1436 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1437 else
1438 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1439 fi
1440 fi
1441 for ac_site_file in $CONFIG_SITE; do
1442 if test -r "$ac_site_file"; then
1443 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1444 echo "$as_me: loading site script $ac_site_file" >&6;}
1445 sed 's/^/| /' "$ac_site_file" >&5
1446 . "$ac_site_file"
1447 fi
1448 done
1449
1450 if test -r "$cache_file"; then
1451 # Some versions of bash will fail to source /dev/null (special
1452 # files actually), so we avoid doing that.
1453 if test -f "$cache_file"; then
1454 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1455 echo "$as_me: loading cache $cache_file" >&6;}
1456 case $cache_file in
1457 [\\/]* | ?:[\\/]* ) . $cache_file;;
1458 *) . ./$cache_file;;
1459 esac
1460 fi
1461 else
1462 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1463 echo "$as_me: creating cache $cache_file" >&6;}
1464 >$cache_file
1465 fi
1466
1467 # Check that the precious variables saved in the cache have kept the same
1468 # value.
1469 ac_cache_corrupted=false
1470 for ac_var in `(set) 2>&1 |
1471 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1472 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1473 eval ac_new_set=\$ac_env_${ac_var}_set
1474 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1475 eval ac_new_val="\$ac_env_${ac_var}_value"
1476 case $ac_old_set,$ac_new_set in
1477 set,)
1478 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1479 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1480 ac_cache_corrupted=: ;;
1481 ,set)
1482 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1483 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1484 ac_cache_corrupted=: ;;
1485 ,);;
1486 *)
1487 if test "x$ac_old_val" != "x$ac_new_val"; then
1488 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1489 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1490 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1491 echo "$as_me: former value: $ac_old_val" >&2;}
1492 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1493 echo "$as_me: current value: $ac_new_val" >&2;}
1494 ac_cache_corrupted=:
1495 fi;;
1496 esac
1497 # Pass precious variables to config.status.
1498 if test "$ac_new_set" = set; then
1499 case $ac_new_val in
1500 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1501 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1502 *) ac_arg=$ac_var=$ac_new_val ;;
1503 esac
1504 case " $ac_configure_args " in
1505 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1506 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1507 esac
1508 fi
1509 done
1510 if $ac_cache_corrupted; then
1511 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1512 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1513 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1514 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1515 { (exit 1); exit 1; }; }
1516 fi
1517
1518 ac_ext=c
1519 ac_cpp='$CPP $CPPFLAGS'
1520 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1521 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1522 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553 ac_aux_dir=
1554 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1555 if test -f $ac_dir/install-sh; then
1556 ac_aux_dir=$ac_dir
1557 ac_install_sh="$ac_aux_dir/install-sh -c"
1558 break
1559 elif 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/shtool; then
1564 ac_aux_dir=$ac_dir
1565 ac_install_sh="$ac_aux_dir/shtool install -c"
1566 break
1567 fi
1568 done
1569 if test -z "$ac_aux_dir"; then
1570 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1571 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1572 { (exit 1); exit 1; }; }
1573 fi
1574 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1575 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1576 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1577
1578 # Make sure we can run config.sub.
1579 $ac_config_sub sun4 >/dev/null 2>&1 ||
1580 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1581 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1582 { (exit 1); exit 1; }; }
1583
1584 echo "$as_me:$LINENO: checking build system type" >&5
1585 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1586 if test "${ac_cv_build+set}" = set; then
1587 echo $ECHO_N "(cached) $ECHO_C" >&6
1588 else
1589 ac_cv_build_alias=$build_alias
1590 test -z "$ac_cv_build_alias" &&
1591 ac_cv_build_alias=`$ac_config_guess`
1592 test -z "$ac_cv_build_alias" &&
1593 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1594 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1595 { (exit 1); exit 1; }; }
1596 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1597 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1598 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1599 { (exit 1); exit 1; }; }
1600
1601 fi
1602 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1603 echo "${ECHO_T}$ac_cv_build" >&6
1604 build=$ac_cv_build
1605 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1606 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1607 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1608
1609
1610 echo "$as_me:$LINENO: checking host system type" >&5
1611 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1612 if test "${ac_cv_host+set}" = set; then
1613 echo $ECHO_N "(cached) $ECHO_C" >&6
1614 else
1615 ac_cv_host_alias=$host_alias
1616 test -z "$ac_cv_host_alias" &&
1617 ac_cv_host_alias=$ac_cv_build_alias
1618 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1619 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1620 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1621 { (exit 1); exit 1; }; }
1622
1623 fi
1624 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1625 echo "${ECHO_T}$ac_cv_host" >&6
1626 host=$ac_cv_host
1627 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1628 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1629 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1630
1631
1632 echo "$as_me:$LINENO: checking target system type" >&5
1633 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1634 if test "${ac_cv_target+set}" = set; then
1635 echo $ECHO_N "(cached) $ECHO_C" >&6
1636 else
1637 ac_cv_target_alias=$target_alias
1638 test "x$ac_cv_target_alias" = "x" &&
1639 ac_cv_target_alias=$ac_cv_host_alias
1640 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1641 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1642 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1643 { (exit 1); exit 1; }; }
1644
1645 fi
1646 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1647 echo "${ECHO_T}$ac_cv_target" >&6
1648 target=$ac_cv_target
1649 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1650 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1651 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1652
1653
1654 # The aliases save the names the user supplied, while $host etc.
1655 # will get canonicalized.
1656 test -n "$target_alias" &&
1657 test "$program_prefix$program_suffix$program_transform_name" = \
1658 NONENONEs,x,x, &&
1659 program_prefix=${target_alias}-
1660
1661
1662
1663 wx_major_version_number=2
1664 wx_minor_version_number=6
1665 wx_release_number=1
1666 wx_subrelease_number=0
1667
1668 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
1669 WX_VERSION=$WX_RELEASE.$wx_release_number
1670 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
1671
1672 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
1673
1674 WX_CURRENT=0
1675 WX_REVISION=1
1676 WX_AGE=0
1677
1678
1679
1680 USE_UNIX=1
1681 USE_OS2=0
1682 USE_WIN32=0
1683 USE_DOS=0
1684 USE_BEOS=0
1685 USE_MAC=0
1686
1687 USE_AIX=
1688 USE_BSD= USE_DARWIN= USE_FREEBSD=
1689 USE_GNU= USE_HPUX=
1690 USE_LINUX=
1691 USE_NETBSD=
1692 USE_OPENBSD=
1693 USE_OSF= USE_SGI=
1694 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
1695 USE_ULTRIX=
1696 USE_UNIXWARE=
1697
1698 USE_ALPHA=
1699
1700 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
1701
1702 ALL_TOOLKITS="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11"
1703
1704 DEFAULT_wxUSE_COCOA=0
1705 DEFAULT_wxUSE_GTK=0
1706 DEFAULT_wxUSE_MAC=0
1707 DEFAULT_wxUSE_MGL=0
1708 DEFAULT_wxUSE_MICROWIN=0
1709 DEFAULT_wxUSE_MOTIF=0
1710 DEFAULT_wxUSE_MSW=0
1711 DEFAULT_wxUSE_PM=0
1712 DEFAULT_wxUSE_X11=0
1713
1714 DEFAULT_DEFAULT_wxUSE_COCOA=0
1715 DEFAULT_DEFAULT_wxUSE_GTK=0
1716 DEFAULT_DEFAULT_wxUSE_MAC=0
1717 DEFAULT_DEFAULT_wxUSE_MGL=0
1718 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
1719 DEFAULT_DEFAULT_wxUSE_MOTIF=0
1720 DEFAULT_DEFAULT_wxUSE_MSW=0
1721 DEFAULT_DEFAULT_wxUSE_PM=0
1722 DEFAULT_DEFAULT_wxUSE_X11=0
1723
1724 PROGRAM_EXT=
1725 SO_SUFFIX=so
1726 SAMPLES_RPATH_FLAG=
1727 SAMPLES_RPATH_POSTLINK=
1728
1729 DEFAULT_STD_FLAG=yes
1730
1731 case "${host}" in
1732 *-hp-hpux* )
1733 USE_HPUX=1
1734 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1735 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1736 SO_SUFFIX=sl
1737 cat >>confdefs.h <<\_ACEOF
1738 #define __HPUX__ 1
1739 _ACEOF
1740
1741 ;;
1742 *-*-linux* )
1743 USE_LINUX=1
1744 cat >>confdefs.h <<\_ACEOF
1745 #define __LINUX__ 1
1746 _ACEOF
1747
1748 TMP=`uname -m`
1749 if test "x$TMP" = "xalpha"; then
1750 USE_ALPHA=1
1751 cat >>confdefs.h <<\_ACEOF
1752 #define __ALPHA__ 1
1753 _ACEOF
1754
1755 fi
1756 DEFAULT_DEFAULT_wxUSE_GTK=1
1757 ;;
1758 *-*-gnu* | *-*-k*bsd*-gnu )
1759 USE_GNU=1
1760 TMP=`uname -m`
1761 if test "x$TMP" = "xalpha"; then
1762 USE_ALPHA=1
1763 cat >>confdefs.h <<\_ACEOF
1764 #define __ALPHA__ 1
1765 _ACEOF
1766
1767 fi
1768 DEFAULT_DEFAULT_wxUSE_GTK=1
1769 ;;
1770 *-*-irix5* | *-*-irix6* )
1771 USE_SGI=1
1772 USE_SVR4=1
1773 cat >>confdefs.h <<\_ACEOF
1774 #define __SGI__ 1
1775 _ACEOF
1776
1777 cat >>confdefs.h <<\_ACEOF
1778 #define __SVR4__ 1
1779 _ACEOF
1780
1781 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1782 ;;
1783 *-*-solaris2* )
1784 USE_SUN=1
1785 USE_SOLARIS=1
1786 USE_SVR4=1
1787 cat >>confdefs.h <<\_ACEOF
1788 #define __SUN__ 1
1789 _ACEOF
1790
1791 cat >>confdefs.h <<\_ACEOF
1792 #define __SOLARIS__ 1
1793 _ACEOF
1794
1795 cat >>confdefs.h <<\_ACEOF
1796 #define __SVR4__ 1
1797 _ACEOF
1798
1799 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1800 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1801 ;;
1802 *-*-sunos4* )
1803 USE_SUN=1
1804 USE_SUNOS=1
1805 USE_BSD=1
1806 cat >>confdefs.h <<\_ACEOF
1807 #define __SUN__ 1
1808 _ACEOF
1809
1810 cat >>confdefs.h <<\_ACEOF
1811 #define __SUNOS__ 1
1812 _ACEOF
1813
1814 cat >>confdefs.h <<\_ACEOF
1815 #define __BSD__ 1
1816 _ACEOF
1817
1818 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1819 ;;
1820 *-*-freebsd*)
1821 USE_BSD=1
1822 USE_FREEBSD=1
1823 cat >>confdefs.h <<\_ACEOF
1824 #define __FREEBSD__ 1
1825 _ACEOF
1826
1827 cat >>confdefs.h <<\_ACEOF
1828 #define __BSD__ 1
1829 _ACEOF
1830
1831 DEFAULT_DEFAULT_wxUSE_GTK=1
1832 ;;
1833 *-*-openbsd*)
1834 USE_BSD=1
1835 USE_OPENBSD=1
1836 cat >>confdefs.h <<\_ACEOF
1837 #define __OPENBSD__ 1
1838 _ACEOF
1839
1840 cat >>confdefs.h <<\_ACEOF
1841 #define __BSD__ 1
1842 _ACEOF
1843
1844 DEFAULT_DEFAULT_wxUSE_GTK=1
1845 ;;
1846 *-*-netbsd*)
1847 USE_BSD=1
1848 USE_NETBSD=1
1849 cat >>confdefs.h <<\_ACEOF
1850 #define __NETBSD__ 1
1851 _ACEOF
1852
1853 cat >>confdefs.h <<\_ACEOF
1854 #define __BSD__ 1
1855 _ACEOF
1856
1857 DEFAULT_DEFAULT_wxUSE_GTK=1
1858 ;;
1859 *-*-osf* )
1860 USE_ALPHA=1
1861 USE_OSF=1
1862 cat >>confdefs.h <<\_ACEOF
1863 #define __ALPHA__ 1
1864 _ACEOF
1865
1866 cat >>confdefs.h <<\_ACEOF
1867 #define __OSF__ 1
1868 _ACEOF
1869
1870 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1871 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1872 ;;
1873 *-*-dgux5* )
1874 USE_ALPHA=1
1875 USE_SVR4=1
1876 cat >>confdefs.h <<\_ACEOF
1877 #define __ALPHA__ 1
1878 _ACEOF
1879
1880 cat >>confdefs.h <<\_ACEOF
1881 #define __SVR4__ 1
1882 _ACEOF
1883
1884 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1885 ;;
1886 *-*-sysv5* )
1887 USE_SYSV=1
1888 USE_SVR4=1
1889 cat >>confdefs.h <<\_ACEOF
1890 #define __SYSV__ 1
1891 _ACEOF
1892
1893 cat >>confdefs.h <<\_ACEOF
1894 #define __SVR4__ 1
1895 _ACEOF
1896
1897 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1898 ;;
1899 *-*-aix* )
1900 USE_AIX=1
1901 USE_SYSV=1
1902 USE_SVR4=1
1903 SO_SUFFIX=a
1904 cat >>confdefs.h <<\_ACEOF
1905 #define __AIX__ 1
1906 _ACEOF
1907
1908 cat >>confdefs.h <<\_ACEOF
1909 #define __SYSV__ 1
1910 _ACEOF
1911
1912 cat >>confdefs.h <<\_ACEOF
1913 #define __SVR4__ 1
1914 _ACEOF
1915
1916 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1917 ;;
1918
1919 *-*-*UnixWare*)
1920 USE_SYSV=1
1921 USE_SVR4=1
1922 USE_UNIXWARE=1
1923 cat >>confdefs.h <<\_ACEOF
1924 #define __UNIXWARE__ 1
1925 _ACEOF
1926
1927 ;;
1928
1929 *-*-cygwin* | *-*-mingw32* )
1930 SO_SUFFIX=dll
1931 PROGRAM_EXT=".exe"
1932 RESCOMP=windres
1933 DEFAULT_DEFAULT_wxUSE_MSW=1
1934 DEFAULT_STD_FLAG=no
1935 ;;
1936
1937 *-pc-msdosdjgpp )
1938 USE_UNIX=0
1939 USE_DOS=1
1940 cat >>confdefs.h <<\_ACEOF
1941 #define __DOS__ 1
1942 _ACEOF
1943
1944 PROGRAM_EXT=".exe"
1945 DEFAULT_DEFAULT_wxUSE_MGL=1
1946 ;;
1947
1948 *-pc-os2_emx | *-pc-os2-emx )
1949 cat >>confdefs.h <<\_ACEOF
1950 #define __EMX__ 1
1951 _ACEOF
1952
1953 USE_OS2=1
1954 cat >>confdefs.h <<\_ACEOF
1955 #define __OS2__ 1
1956 _ACEOF
1957
1958 PROGRAM_EXT=".exe"
1959 DEFAULT_DEFAULT_wxUSE_PM=1
1960 CXX=gcc
1961 LDFLAGS="$LDFLAGS -Zcrtdll"
1962 ac_executable_extensions=".exe"
1963 export ac_executable_extensions
1964 ac_save_IFS="$IFS"
1965 IFS='\\'
1966 ac_TEMP_PATH=
1967 for ac_dir in $PATH; do
1968 IFS=$ac_save_IFS
1969 if test -z "$ac_TEMP_PATH"; then
1970 ac_TEMP_PATH="$ac_dir"
1971 else
1972 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
1973 fi
1974 done
1975 export PATH="$ac_TEMP_PATH"
1976 unset ac_TEMP_PATH
1977 DEFAULT_STD_FLAG=no
1978 ;;
1979
1980 powerpc-*-darwin* )
1981 USE_BSD=1
1982 USE_DARWIN=1
1983 SO_SUFFIX=dylib
1984 cat >>confdefs.h <<\_ACEOF
1985 #define __BSD__ 1
1986 _ACEOF
1987
1988 cat >>confdefs.h <<\_ACEOF
1989 #define __DARWIN__ 1
1990 _ACEOF
1991
1992 cat >>confdefs.h <<\_ACEOF
1993 #define TARGET_CARBON 1
1994 _ACEOF
1995
1996 DEFAULT_DEFAULT_wxUSE_MAC=1
1997 DEFAULT_STD_FLAG=no
1998 ;;
1999 powerpc-apple-macos* )
2000 USE_UNIX=0
2001 ac_cv_c_bigendian=yes
2002 SO_SUFFIX=shlib
2003 DEFAULT_DEFAULT_wxUSE_MAC=1
2004 DEFAULT_STD_FLAG=no
2005 ;;
2006
2007 *-*-beos* )
2008 USE_BEOS=1
2009 cat >>confdefs.h <<\_ACEOF
2010 #define __BEOS__ 1
2011 _ACEOF
2012
2013 ;;
2014
2015 *)
2016 { { echo "$as_me:$LINENO: error: unknown system type ${host}." >&5
2017 echo "$as_me: error: unknown system type ${host}." >&2;}
2018 { (exit 1); exit 1; }; }
2019 esac
2020
2021
2022
2023
2024 wx_arg_cache_file="configarg.cache"
2025 echo "loading argument cache $wx_arg_cache_file"
2026 rm -f ${wx_arg_cache_file}.tmp
2027 touch ${wx_arg_cache_file}.tmp
2028 touch ${wx_arg_cache_file}
2029
2030
2031 DEBUG_CONFIGURE=0
2032 if test $DEBUG_CONFIGURE = 1; then
2033 DEFAULT_wxUSE_UNIVERSAL=no
2034 DEFAULT_wxUSE_STL=no
2035
2036 DEFAULT_wxUSE_NANOX=no
2037
2038 DEFAULT_wxUSE_THREADS=yes
2039
2040 DEFAULT_wxUSE_SHARED=yes
2041 DEFAULT_wxUSE_OPTIMISE=no
2042 DEFAULT_wxUSE_PROFILE=no
2043 DEFAULT_wxUSE_NO_DEPS=no
2044 DEFAULT_wxUSE_NO_RTTI=no
2045 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2046 DEFAULT_wxUSE_RPATH=yes
2047 DEFAULT_wxUSE_PERMISSIVE=no
2048 DEFAULT_wxUSE_DEBUG_FLAG=yes
2049 DEFAULT_wxUSE_DEBUG_INFO=yes
2050 DEFAULT_wxUSE_DEBUG_GDB=yes
2051 DEFAULT_wxUSE_MEM_TRACING=no
2052 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2053 DEFAULT_wxUSE_DMALLOC=no
2054 DEFAULT_wxUSE_APPLE_IEEE=no
2055
2056 DEFAULT_wxUSE_EXCEPTIONS=no
2057 DEFAULT_wxUSE_LOG=yes
2058 DEFAULT_wxUSE_LOGWINDOW=no
2059 DEFAULT_wxUSE_LOGGUI=no
2060 DEFAULT_wxUSE_LOGDIALOG=no
2061
2062 DEFAULT_wxUSE_GUI=yes
2063 DEFAULT_wxUSE_CONTROLS=no
2064
2065 DEFAULT_wxUSE_REGEX=no
2066 DEFAULT_wxUSE_XML=no
2067 DEFAULT_wxUSE_EXPAT=no
2068 DEFAULT_wxUSE_ZLIB=no
2069 DEFAULT_wxUSE_LIBPNG=no
2070 DEFAULT_wxUSE_LIBJPEG=no
2071 DEFAULT_wxUSE_LIBTIFF=no
2072 DEFAULT_wxUSE_LIBXPM=no
2073 DEFAULT_wxUSE_LIBMSPACK=no
2074 DEFAULT_wxUSE_LIBSDL=no
2075 DEFAULT_wxUSE_LIBGNOMEPRINT=no
2076 DEFAULT_wxUSE_ODBC=no
2077 DEFAULT_wxUSE_OPENGL=no
2078
2079 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=no
2080 DEFAULT_wxUSE_STACKWALKER=no
2081 DEFAULT_wxUSE_DEBUGREPORT=no
2082 DEFAULT_wxUSE_SNGLINST_CHECKER=no
2083 DEFAULT_wxUSE_STD_IOSTREAM=no
2084 DEFAULT_wxUSE_STD_STRING=no
2085 DEFAULT_wxUSE_CMDLINE_PARSER=no
2086 DEFAULT_wxUSE_DATETIME=no
2087 DEFAULT_wxUSE_TIMER=no
2088 DEFAULT_wxUSE_STOPWATCH=no
2089 DEFAULT_wxUSE_FILE=no
2090 DEFAULT_wxUSE_FFILE=no
2091 DEFAULT_wxUSE_STDPATHS=no
2092 DEFAULT_wxUSE_TEXTBUFFER=no
2093 DEFAULT_wxUSE_TEXTFILE=no
2094 DEFAULT_wxUSE_SOUND=no
2095 DEFAULT_wxUSE_MEDIACTRL=no
2096 DEFAULT_wxUSE_INTL=no
2097 DEFAULT_wxUSE_CONFIG=no
2098 DEFAULT_wxUSE_FONTMAP=no
2099 DEFAULT_wxUSE_STREAMS=no
2100 DEFAULT_wxUSE_SOCKETS=no
2101 DEFAULT_wxUSE_OLE=no
2102 DEFAULT_wxUSE_DATAOBJ=no
2103 DEFAULT_wxUSE_DIALUP_MANAGER=no
2104 DEFAULT_wxUSE_JOYSTICK=no
2105 DEFAULT_wxUSE_DYNLIB_CLASS=no
2106 DEFAULT_wxUSE_DYNAMIC_LOADER=no
2107 DEFAULT_wxUSE_LONGLONG=no
2108 DEFAULT_wxUSE_GEOMETRY=no
2109
2110 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=no
2111 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=no
2112 DEFAULT_wxUSE_POSTSCRIPT=no
2113
2114 DEFAULT_wxUSE_CLIPBOARD=no
2115 DEFAULT_wxUSE_TOOLTIPS=no
2116 DEFAULT_wxUSE_DRAG_AND_DROP=no
2117 DEFAULT_wxUSE_DRAGIMAGE=no
2118 DEFAULT_wxUSE_SPLINES=no
2119 DEFAULT_wxUSE_MOUSEWHEEL=no
2120
2121 DEFAULT_wxUSE_MDI=no
2122 DEFAULT_wxUSE_MDI_ARCHITECTURE=no
2123 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=no
2124 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=no
2125
2126 DEFAULT_wxUSE_RESOURCES=no
2127 DEFAULT_wxUSE_CONSTRAINTS=no
2128 DEFAULT_wxUSE_IPC=no
2129 DEFAULT_wxUSE_HELP=no
2130 DEFAULT_wxUSE_MS_HTML_HELP=no
2131 DEFAULT_wxUSE_WXHTML_HELP=no
2132 DEFAULT_wxUSE_TREELAYOUT=no
2133 DEFAULT_wxUSE_METAFILE=no
2134 DEFAULT_wxUSE_MIMETYPE=no
2135 DEFAULT_wxUSE_SYSTEM_OPTIONS=no
2136 DEFAULT_wxUSE_PROTOCOL=no
2137 DEFAULT_wxUSE_PROTOCOL_HTTP=no
2138 DEFAULT_wxUSE_PROTOCOL_FTP=no
2139 DEFAULT_wxUSE_PROTOCOL_FILE=no
2140 DEFAULT_wxUSE_URL=no
2141
2142 DEFAULT_wxUSE_COMMONDLGS=no
2143 DEFAULT_wxUSE_CHOICEDLG=no
2144 DEFAULT_wxUSE_COLOURDLG=no
2145 DEFAULT_wxUSE_DIRDLG=no
2146 DEFAULT_wxUSE_FILEDLG=no
2147 DEFAULT_wxUSE_FINDREPLDLG=no
2148 DEFAULT_wxUSE_FONTDLG=no
2149 DEFAULT_wxUSE_MSGDLG=no
2150 DEFAULT_wxUSE_NUMBERDLG=no
2151 DEFAULT_wxUSE_TEXTDLG=no
2152 DEFAULT_wxUSE_SPLASH=no
2153 DEFAULT_wxUSE_STARTUP_TIPS=no
2154 DEFAULT_wxUSE_PROGRESSDLG=no
2155 DEFAULT_wxUSE_WIZARDDLG=no
2156
2157 DEFAULT_wxUSE_MENUS=no
2158 DEFAULT_wxUSE_MINIFRAME=no
2159 DEFAULT_wxUSE_HTML=no
2160 DEFAULT_wxUSE_XRC=no
2161 DEFAULT_wxUSE_WEBKIT=no
2162 DEFAULT_wxUSE_FILESYSTEM=no
2163 DEFAULT_wxUSE_FS_INET=no
2164 DEFAULT_wxUSE_FS_ZIP=no
2165 DEFAULT_wxUSE_BUSYINFO=no
2166 DEFAULT_wxUSE_ARCHIVE_STREAMS=no
2167 DEFAULT_wxUSE_ZIPSTREAM=no
2168 DEFAULT_wxUSE_VALIDATORS=no
2169
2170 DEFAULT_wxUSE_ACCEL=no
2171 DEFAULT_wxUSE_BUTTON=no
2172 DEFAULT_wxUSE_BMPBUTTON=no
2173 DEFAULT_wxUSE_CALCTRL=no
2174 DEFAULT_wxUSE_CARET=no
2175 DEFAULT_wxUSE_CHECKBOX=no
2176 DEFAULT_wxUSE_CHECKLST=no
2177 DEFAULT_wxUSE_CHOICE=no
2178 DEFAULT_wxUSE_CHOICEBOOK=no
2179 DEFAULT_wxUSE_COMBOBOX=no
2180 DEFAULT_wxUSE_DATEPICKCTRL=no
2181 DEFAULT_wxUSE_DISPLAY=no
2182 DEFAULT_wxUSE_GAUGE=no
2183 DEFAULT_wxUSE_GRID=no
2184 DEFAULT_wxUSE_IMAGLIST=no
2185 DEFAULT_wxUSE_LISTBOOK=no
2186 DEFAULT_wxUSE_LISTBOX=no
2187 DEFAULT_wxUSE_LISTCTRL=no
2188 DEFAULT_wxUSE_NOTEBOOK=no
2189 DEFAULT_wxUSE_RADIOBOX=no
2190 DEFAULT_wxUSE_RADIOBTN=no
2191 DEFAULT_wxUSE_SASH=no
2192 DEFAULT_wxUSE_SCROLLBAR=no
2193 DEFAULT_wxUSE_SLIDER=no
2194 DEFAULT_wxUSE_SPINBTN=no
2195 DEFAULT_wxUSE_SPINCTRL=no
2196 DEFAULT_wxUSE_SPLITTER=no
2197 DEFAULT_wxUSE_STATBMP=no
2198 DEFAULT_wxUSE_STATBOX=no
2199 DEFAULT_wxUSE_STATLINE=no
2200 DEFAULT_wxUSE_STATTEXT=no
2201 DEFAULT_wxUSE_STATUSBAR=yes
2202 DEFAULT_wxUSE_TABDIALOG=no
2203 DEFAULT_wxUSE_TEXTCTRL=no
2204 DEFAULT_wxUSE_TOGGLEBTN=no
2205 DEFAULT_wxUSE_TOOLBAR=no
2206 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
2207 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
2208 DEFAULT_wxUSE_TREECTRL=no
2209 DEFAULT_wxUSE_POPUPWIN=no
2210 DEFAULT_wxUSE_TIPWINDOW=no
2211
2212 DEFAULT_wxUSE_UNICODE=no
2213 DEFAULT_wxUSE_UNICODE_MSLU=no
2214 DEFAULT_wxUSE_WCSRTOMBS=no
2215
2216 DEFAULT_wxUSE_PALETTE=no
2217 DEFAULT_wxUSE_IMAGE=no
2218 DEFAULT_wxUSE_GIF=no
2219 DEFAULT_wxUSE_PCX=no
2220 DEFAULT_wxUSE_PNM=no
2221 DEFAULT_wxUSE_IFF=no
2222 DEFAULT_wxUSE_XPM=no
2223 DEFAULT_wxUSE_ICO_CUR=no
2224 DEFAULT_wxUSE_ACCESSIBILITY=no
2225
2226 DEFAULT_wxUSE_MONOLITHIC=no
2227 DEFAULT_wxUSE_PLUGINS=no
2228 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2229 else
2230 DEFAULT_wxUSE_UNIVERSAL=no
2231 DEFAULT_wxUSE_STL=no
2232
2233 DEFAULT_wxUSE_NANOX=no
2234
2235 DEFAULT_wxUSE_THREADS=yes
2236
2237 DEFAULT_wxUSE_SHARED=yes
2238 DEFAULT_wxUSE_OPTIMISE=yes
2239 DEFAULT_wxUSE_PROFILE=no
2240 DEFAULT_wxUSE_NO_DEPS=no
2241 DEFAULT_wxUSE_NO_RTTI=no
2242 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2243 DEFAULT_wxUSE_RPATH=yes
2244 DEFAULT_wxUSE_PERMISSIVE=no
2245 DEFAULT_wxUSE_DEBUG_FLAG=no
2246 DEFAULT_wxUSE_DEBUG_INFO=no
2247 DEFAULT_wxUSE_DEBUG_GDB=no
2248 DEFAULT_wxUSE_MEM_TRACING=no
2249 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2250 DEFAULT_wxUSE_DMALLOC=no
2251 DEFAULT_wxUSE_APPLE_IEEE=yes
2252
2253 DEFAULT_wxUSE_EXCEPTIONS=yes
2254 DEFAULT_wxUSE_LOG=yes
2255 DEFAULT_wxUSE_LOGWINDOW=yes
2256 DEFAULT_wxUSE_LOGGUI=yes
2257 DEFAULT_wxUSE_LOGDIALOG=yes
2258
2259 DEFAULT_wxUSE_GUI=yes
2260
2261 DEFAULT_wxUSE_REGEX=yes
2262 DEFAULT_wxUSE_XML=yes
2263 DEFAULT_wxUSE_EXPAT=yes
2264 DEFAULT_wxUSE_ZLIB=yes
2265 DEFAULT_wxUSE_LIBPNG=yes
2266 DEFAULT_wxUSE_LIBJPEG=yes
2267 DEFAULT_wxUSE_LIBTIFF=yes
2268 DEFAULT_wxUSE_LIBXPM=yes
2269 DEFAULT_wxUSE_LIBMSPACK=yes
2270 DEFAULT_wxUSE_LIBSDL=no
2271 DEFAULT_wxUSE_LIBGNOMEPRINT=no
2272 DEFAULT_wxUSE_ODBC=no
2273 DEFAULT_wxUSE_OPENGL=no
2274
2275 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=yes
2276 DEFAULT_wxUSE_STACKWALKER=yes
2277 DEFAULT_wxUSE_DEBUGREPORT=yes
2278 DEFAULT_wxUSE_SNGLINST_CHECKER=yes
2279 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
2280 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
2281 DEFAULT_wxUSE_CMDLINE_PARSER=yes
2282 DEFAULT_wxUSE_DATETIME=yes
2283 DEFAULT_wxUSE_TIMER=yes
2284 DEFAULT_wxUSE_STOPWATCH=yes
2285 DEFAULT_wxUSE_FILE=yes
2286 DEFAULT_wxUSE_FFILE=yes
2287 DEFAULT_wxUSE_STDPATHS=yes
2288 DEFAULT_wxUSE_TEXTBUFFER=yes
2289 DEFAULT_wxUSE_TEXTFILE=yes
2290 DEFAULT_wxUSE_SOUND=yes
2291 DEFAULT_wxUSE_MEDIACTRL=no
2292 DEFAULT_wxUSE_INTL=yes
2293 DEFAULT_wxUSE_CONFIG=yes
2294 DEFAULT_wxUSE_FONTMAP=yes
2295 DEFAULT_wxUSE_STREAMS=yes
2296 DEFAULT_wxUSE_SOCKETS=yes
2297 DEFAULT_wxUSE_OLE=yes
2298 DEFAULT_wxUSE_DATAOBJ=yes
2299 DEFAULT_wxUSE_DIALUP_MANAGER=yes
2300 DEFAULT_wxUSE_JOYSTICK=yes
2301 DEFAULT_wxUSE_DYNLIB_CLASS=yes
2302 DEFAULT_wxUSE_DYNAMIC_LOADER=yes
2303 DEFAULT_wxUSE_LONGLONG=yes
2304 DEFAULT_wxUSE_GEOMETRY=yes
2305
2306 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=yes
2307 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=yes
2308 DEFAULT_wxUSE_POSTSCRIPT=yes
2309
2310 DEFAULT_wxUSE_CLIPBOARD=yes
2311 DEFAULT_wxUSE_TOOLTIPS=yes
2312 DEFAULT_wxUSE_DRAG_AND_DROP=yes
2313 DEFAULT_wxUSE_DRAGIMAGE=yes
2314 DEFAULT_wxUSE_SPLINES=yes
2315 DEFAULT_wxUSE_MOUSEWHEEL=yes
2316
2317 DEFAULT_wxUSE_MDI=yes
2318 DEFAULT_wxUSE_MDI_ARCHITECTURE=yes
2319 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=yes
2320 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=yes
2321
2322 DEFAULT_wxUSE_RESOURCES=no
2323 DEFAULT_wxUSE_CONSTRAINTS=yes
2324 DEFAULT_wxUSE_IPC=yes
2325 DEFAULT_wxUSE_HELP=yes
2326 DEFAULT_wxUSE_MS_HTML_HELP=yes
2327 DEFAULT_wxUSE_WXHTML_HELP=yes
2328 DEFAULT_wxUSE_TREELAYOUT=yes
2329 DEFAULT_wxUSE_METAFILE=yes
2330 DEFAULT_wxUSE_MIMETYPE=yes
2331 DEFAULT_wxUSE_SYSTEM_OPTIONS=yes
2332 DEFAULT_wxUSE_PROTOCOL=yes
2333 DEFAULT_wxUSE_PROTOCOL_HTTP=yes
2334 DEFAULT_wxUSE_PROTOCOL_FTP=yes
2335 DEFAULT_wxUSE_PROTOCOL_FILE=yes
2336 DEFAULT_wxUSE_URL=yes
2337
2338 DEFAULT_wxUSE_COMMONDLGS=yes
2339 DEFAULT_wxUSE_CHOICEDLG=yes
2340 DEFAULT_wxUSE_COLOURDLG=yes
2341 DEFAULT_wxUSE_DIRDLG=yes
2342 DEFAULT_wxUSE_FILEDLG=yes
2343 DEFAULT_wxUSE_FINDREPLDLG=yes
2344 DEFAULT_wxUSE_FONTDLG=yes
2345 DEFAULT_wxUSE_MSGDLG=yes
2346 DEFAULT_wxUSE_NUMBERDLG=yes
2347 DEFAULT_wxUSE_TEXTDLG=yes
2348 DEFAULT_wxUSE_SPLASH=yes
2349 DEFAULT_wxUSE_STARTUP_TIPS=yes
2350 DEFAULT_wxUSE_PROGRESSDLG=yes
2351 DEFAULT_wxUSE_WIZARDDLG=yes
2352
2353 DEFAULT_wxUSE_MENUS=yes
2354 DEFAULT_wxUSE_MINIFRAME=yes
2355 DEFAULT_wxUSE_HTML=yes
2356 DEFAULT_wxUSE_XRC=yes
2357 DEFAULT_wxUSE_WEBKIT=yes
2358 DEFAULT_wxUSE_FILESYSTEM=yes
2359 DEFAULT_wxUSE_FS_INET=yes
2360 DEFAULT_wxUSE_FS_ZIP=yes
2361 DEFAULT_wxUSE_BUSYINFO=yes
2362 DEFAULT_wxUSE_ARCHIVE_STREAMS=yes
2363 DEFAULT_wxUSE_ZIPSTREAM=yes
2364 DEFAULT_wxUSE_VALIDATORS=yes
2365
2366 DEFAULT_wxUSE_ACCEL=yes
2367 DEFAULT_wxUSE_BUTTON=yes
2368 DEFAULT_wxUSE_BMPBUTTON=yes
2369 DEFAULT_wxUSE_CALCTRL=yes
2370 DEFAULT_wxUSE_CARET=yes
2371 DEFAULT_wxUSE_CHECKBOX=yes
2372 DEFAULT_wxUSE_CHECKLST=yes
2373 DEFAULT_wxUSE_CHOICE=yes
2374 DEFAULT_wxUSE_CHOICEBOOK=yes
2375 DEFAULT_wxUSE_COMBOBOX=yes
2376 DEFAULT_wxUSE_DATEPICKCTRL=yes
2377 DEFAULT_wxUSE_DISPLAY=yes
2378 DEFAULT_wxUSE_GAUGE=yes
2379 DEFAULT_wxUSE_GRID=yes
2380 DEFAULT_wxUSE_IMAGLIST=yes
2381 DEFAULT_wxUSE_LISTBOOK=yes
2382 DEFAULT_wxUSE_LISTBOX=yes
2383 DEFAULT_wxUSE_LISTCTRL=yes
2384 DEFAULT_wxUSE_NOTEBOOK=yes
2385 DEFAULT_wxUSE_RADIOBOX=yes
2386 DEFAULT_wxUSE_RADIOBTN=yes
2387 DEFAULT_wxUSE_SASH=yes
2388 DEFAULT_wxUSE_SCROLLBAR=yes
2389 DEFAULT_wxUSE_SLIDER=yes
2390 DEFAULT_wxUSE_SPINBTN=yes
2391 DEFAULT_wxUSE_SPINCTRL=yes
2392 DEFAULT_wxUSE_SPLITTER=yes
2393 DEFAULT_wxUSE_STATBMP=yes
2394 DEFAULT_wxUSE_STATBOX=yes
2395 DEFAULT_wxUSE_STATLINE=yes
2396 DEFAULT_wxUSE_STATTEXT=yes
2397 DEFAULT_wxUSE_STATUSBAR=yes
2398 DEFAULT_wxUSE_TABDIALOG=no
2399 DEFAULT_wxUSE_TEXTCTRL=yes
2400 DEFAULT_wxUSE_TOGGLEBTN=yes
2401 DEFAULT_wxUSE_TOOLBAR=yes
2402 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
2403 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
2404 DEFAULT_wxUSE_TREECTRL=yes
2405 DEFAULT_wxUSE_POPUPWIN=yes
2406 DEFAULT_wxUSE_TIPWINDOW=yes
2407
2408 DEFAULT_wxUSE_UNICODE=no
2409 DEFAULT_wxUSE_UNICODE_MSLU=yes
2410 DEFAULT_wxUSE_WCSRTOMBS=no
2411
2412 DEFAULT_wxUSE_PALETTE=yes
2413 DEFAULT_wxUSE_IMAGE=yes
2414 DEFAULT_wxUSE_GIF=yes
2415 DEFAULT_wxUSE_PCX=yes
2416 DEFAULT_wxUSE_IFF=no
2417 DEFAULT_wxUSE_PNM=yes
2418 DEFAULT_wxUSE_XPM=yes
2419 DEFAULT_wxUSE_ICO_CUR=yes
2420 DEFAULT_wxUSE_ACCESSIBILITY=no
2421
2422 DEFAULT_wxUSE_MONOLITHIC=no
2423 DEFAULT_wxUSE_PLUGINS=no
2424 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2425
2426 DEFAULT_wxUSE_GTK2=yes
2427 fi
2428
2429
2430
2431
2432 for toolkit in `echo $ALL_TOOLKITS`; do
2433 LINE=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2434 if test "x$LINE" != "x" ; then
2435 has_toolkit_in_cache=1
2436 eval "DEFAULT_$LINE"
2437 eval "CACHE_$toolkit=1"
2438
2439 LINE=`grep "wx${toolkit}_VERSION=" ${wx_arg_cache_file}`
2440 if test "x$LINE" != "x" ; then
2441 eval "DEFAULT_$LINE"
2442 fi
2443 fi
2444 done
2445
2446
2447
2448 enablestring=
2449 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2450 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6
2451 no_cache=0
2452 # Check whether --enable-gui or --disable-gui was given.
2453 if test "${enable_gui+set}" = set; then
2454 enableval="$enable_gui"
2455
2456 if test "$enableval" = yes; then
2457 ac_cv_use_gui='wxUSE_GUI=yes'
2458 else
2459 ac_cv_use_gui='wxUSE_GUI=no'
2460 fi
2461
2462 else
2463
2464 LINE=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
2465 if test "x$LINE" != x ; then
2466 eval "DEFAULT_$LINE"
2467 else
2468 no_cache=1
2469 fi
2470
2471 ac_cv_use_gui='wxUSE_GUI='$DEFAULT_wxUSE_GUI
2472
2473 fi;
2474
2475 eval "$ac_cv_use_gui"
2476 if test "$no_cache" != 1; then
2477 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2478 fi
2479
2480 if test "$wxUSE_GUI" = yes; then
2481 echo "$as_me:$LINENO: result: yes" >&5
2482 echo "${ECHO_T}yes" >&6
2483 else
2484 echo "$as_me:$LINENO: result: no" >&5
2485 echo "${ECHO_T}no" >&6
2486 fi
2487
2488
2489 enablestring=
2490 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2491 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6
2492 no_cache=0
2493 # Check whether --enable-monolithic or --disable-monolithic was given.
2494 if test "${enable_monolithic+set}" = set; then
2495 enableval="$enable_monolithic"
2496
2497 if test "$enableval" = yes; then
2498 ac_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
2499 else
2500 ac_cv_use_monolithic='wxUSE_MONOLITHIC=no'
2501 fi
2502
2503 else
2504
2505 LINE=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
2506 if test "x$LINE" != x ; then
2507 eval "DEFAULT_$LINE"
2508 else
2509 no_cache=1
2510 fi
2511
2512 ac_cv_use_monolithic='wxUSE_MONOLITHIC='$DEFAULT_wxUSE_MONOLITHIC
2513
2514 fi;
2515
2516 eval "$ac_cv_use_monolithic"
2517 if test "$no_cache" != 1; then
2518 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
2519 fi
2520
2521 if test "$wxUSE_MONOLITHIC" = yes; then
2522 echo "$as_me:$LINENO: result: yes" >&5
2523 echo "${ECHO_T}yes" >&6
2524 else
2525 echo "$as_me:$LINENO: result: no" >&5
2526 echo "${ECHO_T}no" >&6
2527 fi
2528
2529
2530 enablestring=
2531 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
2532 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6
2533 no_cache=0
2534 # Check whether --enable-plugins or --disable-plugins was given.
2535 if test "${enable_plugins+set}" = set; then
2536 enableval="$enable_plugins"
2537
2538 if test "$enableval" = yes; then
2539 ac_cv_use_plugins='wxUSE_PLUGINS=yes'
2540 else
2541 ac_cv_use_plugins='wxUSE_PLUGINS=no'
2542 fi
2543
2544 else
2545
2546 LINE=`grep "wxUSE_PLUGINS" ${wx_arg_cache_file}`
2547 if test "x$LINE" != x ; then
2548 eval "DEFAULT_$LINE"
2549 else
2550 no_cache=1
2551 fi
2552
2553 ac_cv_use_plugins='wxUSE_PLUGINS='$DEFAULT_wxUSE_PLUGINS
2554
2555 fi;
2556
2557 eval "$ac_cv_use_plugins"
2558 if test "$no_cache" != 1; then
2559 echo $ac_cv_use_plugins >> ${wx_arg_cache_file}.tmp
2560 fi
2561
2562 if test "$wxUSE_PLUGINS" = yes; then
2563 echo "$as_me:$LINENO: result: yes" >&5
2564 echo "${ECHO_T}yes" >&6
2565 else
2566 echo "$as_me:$LINENO: result: no" >&5
2567 echo "${ECHO_T}no" >&6
2568 fi
2569
2570
2571 if test "$wxUSE_GUI" = "yes"; then
2572
2573
2574 enablestring=
2575 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
2576 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6
2577 no_cache=0
2578 # Check whether --enable-universal or --disable-universal was given.
2579 if test "${enable_universal+set}" = set; then
2580 enableval="$enable_universal"
2581
2582 if test "$enableval" = yes; then
2583 ac_cv_use_universal='wxUSE_UNIVERSAL=yes'
2584 else
2585 ac_cv_use_universal='wxUSE_UNIVERSAL=no'
2586 fi
2587
2588 else
2589
2590 LINE=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
2591 if test "x$LINE" != x ; then
2592 eval "DEFAULT_$LINE"
2593 else
2594 no_cache=1
2595 fi
2596
2597 ac_cv_use_universal='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
2598
2599 fi;
2600
2601 eval "$ac_cv_use_universal"
2602 if test "$no_cache" != 1; then
2603 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
2604 fi
2605
2606 if test "$wxUSE_UNIVERSAL" = yes; then
2607 echo "$as_me:$LINENO: result: yes" >&5
2608 echo "${ECHO_T}yes" >&6
2609 else
2610 echo "$as_me:$LINENO: result: no" >&5
2611 echo "${ECHO_T}no" >&6
2612 fi
2613
2614
2615 # Check whether --with-gtk or --without-gtk was given.
2616 if test "${with_gtk+set}" = set; then
2617 withval="$with_gtk"
2618 wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
2619 fi;
2620
2621 # Check whether --with-motif or --without-motif was given.
2622 if test "${with_motif+set}" = set; then
2623 withval="$with_motif"
2624 wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
2625 fi;
2626
2627 # Check whether --with-mac or --without-mac was given.
2628 if test "${with_mac+set}" = set; then
2629 withval="$with_mac"
2630 wxUSE_MAC="$withval" CACHE_MAC=1 TOOLKIT_GIVEN=1
2631 fi;
2632
2633 # Check whether --with-cocoa or --without-cocoa was given.
2634 if test "${with_cocoa+set}" = set; then
2635 withval="$with_cocoa"
2636 wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
2637 fi;
2638
2639 # Check whether --with-wine or --without-wine was given.
2640 if test "${with_wine+set}" = set; then
2641 withval="$with_wine"
2642 wxUSE_WINE="$withval" CACHE_WINE=1
2643 fi;
2644
2645 # Check whether --with-msw or --without-msw was given.
2646 if test "${with_msw+set}" = set; then
2647 withval="$with_msw"
2648 wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
2649 fi;
2650
2651 # Check whether --with-pm or --without-pm was given.
2652 if test "${with_pm+set}" = set; then
2653 withval="$with_pm"
2654 wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
2655 fi;
2656
2657 # Check whether --with-mgl or --without-mgl was given.
2658 if test "${with_mgl+set}" = set; then
2659 withval="$with_mgl"
2660 wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
2661 fi;
2662
2663 # Check whether --with-microwin or --without-microwin was given.
2664 if test "${with_microwin+set}" = set; then
2665 withval="$with_microwin"
2666 wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
2667 fi;
2668
2669 # Check whether --with-x11 or --without-x11 was given.
2670 if test "${with_x11+set}" = set; then
2671 withval="$with_x11"
2672 wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
2673 fi;
2674
2675 enablestring=
2676 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
2677 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6
2678 no_cache=0
2679 # Check whether --enable-nanox or --disable-nanox was given.
2680 if test "${enable_nanox+set}" = set; then
2681 enableval="$enable_nanox"
2682
2683 if test "$enableval" = yes; then
2684 ac_cv_use_nanox='wxUSE_NANOX=yes'
2685 else
2686 ac_cv_use_nanox='wxUSE_NANOX=no'
2687 fi
2688
2689 else
2690
2691 LINE=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
2692 if test "x$LINE" != x ; then
2693 eval "DEFAULT_$LINE"
2694 else
2695 no_cache=1
2696 fi
2697
2698 ac_cv_use_nanox='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
2699
2700 fi;
2701
2702 eval "$ac_cv_use_nanox"
2703 if test "$no_cache" != 1; then
2704 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
2705 fi
2706
2707 if test "$wxUSE_NANOX" = yes; then
2708 echo "$as_me:$LINENO: result: yes" >&5
2709 echo "${ECHO_T}yes" >&6
2710 else
2711 echo "$as_me:$LINENO: result: no" >&5
2712 echo "${ECHO_T}no" >&6
2713 fi
2714
2715
2716 # Check whether --enable-gtk2 or --disable-gtk2 was given.
2717 if test "${enable_gtk2+set}" = set; then
2718 enableval="$enable_gtk2"
2719 wxUSE_GTK2="$enableval"
2720 fi;
2721
2722 enablestring=
2723 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
2724 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6
2725 no_cache=0
2726 # Check whether --enable-gpe or --disable-gpe was given.
2727 if test "${enable_gpe+set}" = set; then
2728 enableval="$enable_gpe"
2729
2730 if test "$enableval" = yes; then
2731 ac_cv_use_gpe='wxUSE_GPE=yes'
2732 else
2733 ac_cv_use_gpe='wxUSE_GPE=no'
2734 fi
2735
2736 else
2737
2738 LINE=`grep "wxUSE_GPE" ${wx_arg_cache_file}`
2739 if test "x$LINE" != x ; then
2740 eval "DEFAULT_$LINE"
2741 else
2742 no_cache=1
2743 fi
2744
2745 ac_cv_use_gpe='wxUSE_GPE='$DEFAULT_wxUSE_GPE
2746
2747 fi;
2748
2749 eval "$ac_cv_use_gpe"
2750 if test "$no_cache" != 1; then
2751 echo $ac_cv_use_gpe >> ${wx_arg_cache_file}.tmp
2752 fi
2753
2754 if test "$wxUSE_GPE" = yes; then
2755 echo "$as_me:$LINENO: result: yes" >&5
2756 echo "${ECHO_T}yes" >&6
2757 else
2758 echo "$as_me:$LINENO: result: no" >&5
2759 echo "${ECHO_T}no" >&6
2760 fi
2761
2762
2763
2764 echo "$as_me:$LINENO: checking for --with-libpng" >&5
2765 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
2766 no_cache=0
2767
2768 # Check whether --with-libpng or --without-libpng was given.
2769 if test "${with_libpng+set}" = set; then
2770 withval="$with_libpng"
2771
2772 if test "$withval" = yes; then
2773 ac_cv_use_libpng='wxUSE_LIBPNG=yes'
2774 elif test "$withval" = no; then
2775 ac_cv_use_libpng='wxUSE_LIBPNG=no'
2776 elif test "$withval" = sys; then
2777 ac_cv_use_libpng='wxUSE_LIBPNG=sys'
2778 elif test "$withval" = builtin; then
2779 ac_cv_use_libpng='wxUSE_LIBPNG=builtin'
2780 else
2781 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2782 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2783 { (exit 1); exit 1; }; }
2784 fi
2785
2786 else
2787
2788 LINE=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
2789 if test "x$LINE" != x ; then
2790 eval "DEFAULT_$LINE"
2791 else
2792 no_cache=1
2793 fi
2794
2795 ac_cv_use_libpng='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
2796
2797 fi;
2798
2799 eval "$ac_cv_use_libpng"
2800 if test "$no_cache" != 1; then
2801 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
2802 fi
2803
2804 if test "$wxUSE_LIBPNG" = yes; then
2805 echo "$as_me:$LINENO: result: yes" >&5
2806 echo "${ECHO_T}yes" >&6
2807 elif test "$wxUSE_LIBPNG" = no; then
2808 echo "$as_me:$LINENO: result: no" >&5
2809 echo "${ECHO_T}no" >&6
2810 elif test "$wxUSE_LIBPNG" = sys; then
2811 echo "$as_me:$LINENO: result: system version" >&5
2812 echo "${ECHO_T}system version" >&6
2813 elif test "$wxUSE_LIBPNG" = builtin; then
2814 echo "$as_me:$LINENO: result: builtin version" >&5
2815 echo "${ECHO_T}builtin version" >&6
2816 else
2817 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2818 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2819 { (exit 1); exit 1; }; }
2820 fi
2821
2822
2823 echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
2824 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
2825 no_cache=0
2826
2827 # Check whether --with-libjpeg or --without-libjpeg was given.
2828 if test "${with_libjpeg+set}" = set; then
2829 withval="$with_libjpeg"
2830
2831 if test "$withval" = yes; then
2832 ac_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
2833 elif test "$withval" = no; then
2834 ac_cv_use_libjpeg='wxUSE_LIBJPEG=no'
2835 elif test "$withval" = sys; then
2836 ac_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
2837 elif test "$withval" = builtin; then
2838 ac_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
2839 else
2840 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2841 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2842 { (exit 1); exit 1; }; }
2843 fi
2844
2845 else
2846
2847 LINE=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
2848 if test "x$LINE" != x ; then
2849 eval "DEFAULT_$LINE"
2850 else
2851 no_cache=1
2852 fi
2853
2854 ac_cv_use_libjpeg='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
2855
2856 fi;
2857
2858 eval "$ac_cv_use_libjpeg"
2859 if test "$no_cache" != 1; then
2860 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
2861 fi
2862
2863 if test "$wxUSE_LIBJPEG" = yes; then
2864 echo "$as_me:$LINENO: result: yes" >&5
2865 echo "${ECHO_T}yes" >&6
2866 elif test "$wxUSE_LIBJPEG" = no; then
2867 echo "$as_me:$LINENO: result: no" >&5
2868 echo "${ECHO_T}no" >&6
2869 elif test "$wxUSE_LIBJPEG" = sys; then
2870 echo "$as_me:$LINENO: result: system version" >&5
2871 echo "${ECHO_T}system version" >&6
2872 elif test "$wxUSE_LIBJPEG" = builtin; then
2873 echo "$as_me:$LINENO: result: builtin version" >&5
2874 echo "${ECHO_T}builtin version" >&6
2875 else
2876 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2877 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2878 { (exit 1); exit 1; }; }
2879 fi
2880
2881
2882 echo "$as_me:$LINENO: checking for --with-libtiff" >&5
2883 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
2884 no_cache=0
2885
2886 # Check whether --with-libtiff or --without-libtiff was given.
2887 if test "${with_libtiff+set}" = set; then
2888 withval="$with_libtiff"
2889
2890 if test "$withval" = yes; then
2891 ac_cv_use_libtiff='wxUSE_LIBTIFF=yes'
2892 elif test "$withval" = no; then
2893 ac_cv_use_libtiff='wxUSE_LIBTIFF=no'
2894 elif test "$withval" = sys; then
2895 ac_cv_use_libtiff='wxUSE_LIBTIFF=sys'
2896 elif test "$withval" = builtin; then
2897 ac_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
2898 else
2899 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2900 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2901 { (exit 1); exit 1; }; }
2902 fi
2903
2904 else
2905
2906 LINE=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
2907 if test "x$LINE" != x ; then
2908 eval "DEFAULT_$LINE"
2909 else
2910 no_cache=1
2911 fi
2912
2913 ac_cv_use_libtiff='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
2914
2915 fi;
2916
2917 eval "$ac_cv_use_libtiff"
2918 if test "$no_cache" != 1; then
2919 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
2920 fi
2921
2922 if test "$wxUSE_LIBTIFF" = yes; then
2923 echo "$as_me:$LINENO: result: yes" >&5
2924 echo "${ECHO_T}yes" >&6
2925 elif test "$wxUSE_LIBTIFF" = no; then
2926 echo "$as_me:$LINENO: result: no" >&5
2927 echo "${ECHO_T}no" >&6
2928 elif test "$wxUSE_LIBTIFF" = sys; then
2929 echo "$as_me:$LINENO: result: system version" >&5
2930 echo "${ECHO_T}system version" >&6
2931 elif test "$wxUSE_LIBTIFF" = builtin; then
2932 echo "$as_me:$LINENO: result: builtin version" >&5
2933 echo "${ECHO_T}builtin version" >&6
2934 else
2935 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2936 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2937 { (exit 1); exit 1; }; }
2938 fi
2939
2940
2941 echo "$as_me:$LINENO: checking for --with-libxpm" >&5
2942 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6
2943 no_cache=0
2944
2945 # Check whether --with-libxpm or --without-libxpm was given.
2946 if test "${with_libxpm+set}" = set; then
2947 withval="$with_libxpm"
2948
2949 if test "$withval" = yes; then
2950 ac_cv_use_libxpm='wxUSE_LIBXPM=yes'
2951 elif test "$withval" = no; then
2952 ac_cv_use_libxpm='wxUSE_LIBXPM=no'
2953 elif test "$withval" = sys; then
2954 ac_cv_use_libxpm='wxUSE_LIBXPM=sys'
2955 elif test "$withval" = builtin; then
2956 ac_cv_use_libxpm='wxUSE_LIBXPM=builtin'
2957 else
2958 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
2959 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
2960 { (exit 1); exit 1; }; }
2961 fi
2962
2963 else
2964
2965 LINE=`grep "wxUSE_LIBXPM" ${wx_arg_cache_file}`
2966 if test "x$LINE" != x ; then
2967 eval "DEFAULT_$LINE"
2968 else
2969 no_cache=1
2970 fi
2971
2972 ac_cv_use_libxpm='wxUSE_LIBXPM='$DEFAULT_wxUSE_LIBXPM
2973
2974 fi;
2975
2976 eval "$ac_cv_use_libxpm"
2977 if test "$no_cache" != 1; then
2978 echo $ac_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
2979 fi
2980
2981 if test "$wxUSE_LIBXPM" = yes; then
2982 echo "$as_me:$LINENO: result: yes" >&5
2983 echo "${ECHO_T}yes" >&6
2984 elif test "$wxUSE_LIBXPM" = no; then
2985 echo "$as_me:$LINENO: result: no" >&5
2986 echo "${ECHO_T}no" >&6
2987 elif test "$wxUSE_LIBXPM" = sys; then
2988 echo "$as_me:$LINENO: result: system version" >&5
2989 echo "${ECHO_T}system version" >&6
2990 elif test "$wxUSE_LIBXPM" = builtin; then
2991 echo "$as_me:$LINENO: result: builtin version" >&5
2992 echo "${ECHO_T}builtin version" >&6
2993 else
2994 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
2995 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
2996 { (exit 1); exit 1; }; }
2997 fi
2998
2999
3000 echo "$as_me:$LINENO: checking for --with-libmspack" >&5
3001 echo $ECHO_N "checking for --with-libmspack... $ECHO_C" >&6
3002 no_cache=0
3003
3004 # Check whether --with-libmspack or --without-libmspack was given.
3005 if test "${with_libmspack+set}" = set; then
3006 withval="$with_libmspack"
3007
3008 if test "$withval" = yes; then
3009 ac_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3010 else
3011 ac_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3012 fi
3013
3014 else
3015
3016 LINE=`grep "wxUSE_LIBMSPACK" ${wx_arg_cache_file}`
3017 if test "x$LINE" != x ; then
3018 eval "DEFAULT_$LINE"
3019 else
3020 no_cache=1
3021 fi
3022
3023 ac_cv_use_libmspack='wxUSE_LIBMSPACK='$DEFAULT_wxUSE_LIBMSPACK
3024
3025 fi;
3026
3027 eval "$ac_cv_use_libmspack"
3028 if test "$no_cache" != 1; then
3029 echo $ac_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
3030 fi
3031
3032 if test "$wxUSE_LIBMSPACK" = yes; then
3033 echo "$as_me:$LINENO: result: yes" >&5
3034 echo "${ECHO_T}yes" >&6
3035 else
3036 echo "$as_me:$LINENO: result: no" >&5
3037 echo "${ECHO_T}no" >&6
3038 fi
3039
3040
3041 echo "$as_me:$LINENO: checking for --with-sdl" >&5
3042 echo $ECHO_N "checking for --with-sdl... $ECHO_C" >&6
3043 no_cache=0
3044
3045 # Check whether --with-sdl or --without-sdl was given.
3046 if test "${with_sdl+set}" = set; then
3047 withval="$with_sdl"
3048
3049 if test "$withval" = yes; then
3050 ac_cv_use_sdl='wxUSE_LIBSDL=yes'
3051 else
3052 ac_cv_use_sdl='wxUSE_LIBSDL=no'
3053 fi
3054
3055 else
3056
3057 LINE=`grep "wxUSE_LIBSDL" ${wx_arg_cache_file}`
3058 if test "x$LINE" != x ; then
3059 eval "DEFAULT_$LINE"
3060 else
3061 no_cache=1
3062 fi
3063
3064 ac_cv_use_sdl='wxUSE_LIBSDL='$DEFAULT_wxUSE_LIBSDL
3065
3066 fi;
3067
3068 eval "$ac_cv_use_sdl"
3069 if test "$no_cache" != 1; then
3070 echo $ac_cv_use_sdl >> ${wx_arg_cache_file}.tmp
3071 fi
3072
3073 if test "$wxUSE_LIBSDL" = yes; then
3074 echo "$as_me:$LINENO: result: yes" >&5
3075 echo "${ECHO_T}yes" >&6
3076 else
3077 echo "$as_me:$LINENO: result: no" >&5
3078 echo "${ECHO_T}no" >&6
3079 fi
3080
3081
3082 echo "$as_me:$LINENO: checking for --with-gnomeprint" >&5
3083 echo $ECHO_N "checking for --with-gnomeprint... $ECHO_C" >&6
3084 no_cache=0
3085
3086 # Check whether --with-gnomeprint or --without-gnomeprint was given.
3087 if test "${with_gnomeprint+set}" = set; then
3088 withval="$with_gnomeprint"
3089
3090 if test "$withval" = yes; then
3091 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
3092 else
3093 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
3094 fi
3095
3096 else
3097
3098 LINE=`grep "wxUSE_LIBGNOMEPRINT" ${wx_arg_cache_file}`
3099 if test "x$LINE" != x ; then
3100 eval "DEFAULT_$LINE"
3101 else
3102 no_cache=1
3103 fi
3104
3105 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT='$DEFAULT_wxUSE_LIBGNOMEPRINT
3106
3107 fi;
3108
3109 eval "$ac_cv_use_gnomeprint"
3110 if test "$no_cache" != 1; then
3111 echo $ac_cv_use_gnomeprint >> ${wx_arg_cache_file}.tmp
3112 fi
3113
3114 if test "$wxUSE_LIBGNOMEPRINT" = yes; then
3115 echo "$as_me:$LINENO: result: yes" >&5
3116 echo "${ECHO_T}yes" >&6
3117 else
3118 echo "$as_me:$LINENO: result: no" >&5
3119 echo "${ECHO_T}no" >&6
3120 fi
3121
3122
3123 echo "$as_me:$LINENO: checking for --with-opengl" >&5
3124 echo $ECHO_N "checking for --with-opengl... $ECHO_C" >&6
3125 no_cache=0
3126
3127 # Check whether --with-opengl or --without-opengl was given.
3128 if test "${with_opengl+set}" = set; then
3129 withval="$with_opengl"
3130
3131 if test "$withval" = yes; then
3132 ac_cv_use_opengl='wxUSE_OPENGL=yes'
3133 else
3134 ac_cv_use_opengl='wxUSE_OPENGL=no'
3135 fi
3136
3137 else
3138
3139 LINE=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
3140 if test "x$LINE" != x ; then
3141 eval "DEFAULT_$LINE"
3142 else
3143 no_cache=1
3144 fi
3145
3146 ac_cv_use_opengl='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
3147
3148 fi;
3149
3150 eval "$ac_cv_use_opengl"
3151 if test "$no_cache" != 1; then
3152 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
3153 fi
3154
3155 if test "$wxUSE_OPENGL" = yes; then
3156 echo "$as_me:$LINENO: result: yes" >&5
3157 echo "${ECHO_T}yes" >&6
3158 else
3159 echo "$as_me:$LINENO: result: no" >&5
3160 echo "${ECHO_T}no" >&6
3161 fi
3162
3163
3164 fi
3165
3166
3167 echo "$as_me:$LINENO: checking for --with-dmalloc" >&5
3168 echo $ECHO_N "checking for --with-dmalloc... $ECHO_C" >&6
3169 no_cache=0
3170
3171 # Check whether --with-dmalloc or --without-dmalloc was given.
3172 if test "${with_dmalloc+set}" = set; then
3173 withval="$with_dmalloc"
3174
3175 if test "$withval" = yes; then
3176 ac_cv_use_dmalloc='wxUSE_DMALLOC=yes'
3177 else
3178 ac_cv_use_dmalloc='wxUSE_DMALLOC=no'
3179 fi
3180
3181 else
3182
3183 LINE=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
3184 if test "x$LINE" != x ; then
3185 eval "DEFAULT_$LINE"
3186 else
3187 no_cache=1
3188 fi
3189
3190 ac_cv_use_dmalloc='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
3191
3192 fi;
3193
3194 eval "$ac_cv_use_dmalloc"
3195 if test "$no_cache" != 1; then
3196 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
3197 fi
3198
3199 if test "$wxUSE_DMALLOC" = yes; then
3200 echo "$as_me:$LINENO: result: yes" >&5
3201 echo "${ECHO_T}yes" >&6
3202 else
3203 echo "$as_me:$LINENO: result: no" >&5
3204 echo "${ECHO_T}no" >&6
3205 fi
3206
3207
3208 echo "$as_me:$LINENO: checking for --with-regex" >&5
3209 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
3210 no_cache=0
3211
3212 # Check whether --with-regex or --without-regex was given.
3213 if test "${with_regex+set}" = set; then
3214 withval="$with_regex"
3215
3216 if test "$withval" = yes; then
3217 ac_cv_use_regex='wxUSE_REGEX=yes'
3218 elif test "$withval" = no; then
3219 ac_cv_use_regex='wxUSE_REGEX=no'
3220 elif test "$withval" = sys; then
3221 ac_cv_use_regex='wxUSE_REGEX=sys'
3222 elif test "$withval" = builtin; then
3223 ac_cv_use_regex='wxUSE_REGEX=builtin'
3224 else
3225 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3226 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3227 { (exit 1); exit 1; }; }
3228 fi
3229
3230 else
3231
3232 LINE=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
3233 if test "x$LINE" != x ; then
3234 eval "DEFAULT_$LINE"
3235 else
3236 no_cache=1
3237 fi
3238
3239 ac_cv_use_regex='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
3240
3241 fi;
3242
3243 eval "$ac_cv_use_regex"
3244 if test "$no_cache" != 1; then
3245 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
3246 fi
3247
3248 if test "$wxUSE_REGEX" = yes; then
3249 echo "$as_me:$LINENO: result: yes" >&5
3250 echo "${ECHO_T}yes" >&6
3251 elif test "$wxUSE_REGEX" = no; then
3252 echo "$as_me:$LINENO: result: no" >&5
3253 echo "${ECHO_T}no" >&6
3254 elif test "$wxUSE_REGEX" = sys; then
3255 echo "$as_me:$LINENO: result: system version" >&5
3256 echo "${ECHO_T}system version" >&6
3257 elif test "$wxUSE_REGEX" = builtin; then
3258 echo "$as_me:$LINENO: result: builtin version" >&5
3259 echo "${ECHO_T}builtin version" >&6
3260 else
3261 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3262 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3263 { (exit 1); exit 1; }; }
3264 fi
3265
3266
3267 echo "$as_me:$LINENO: checking for --with-zlib" >&5
3268 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
3269 no_cache=0
3270
3271 # Check whether --with-zlib or --without-zlib was given.
3272 if test "${with_zlib+set}" = set; then
3273 withval="$with_zlib"
3274
3275 if test "$withval" = yes; then
3276 ac_cv_use_zlib='wxUSE_ZLIB=yes'
3277 elif test "$withval" = no; then
3278 ac_cv_use_zlib='wxUSE_ZLIB=no'
3279 elif test "$withval" = sys; then
3280 ac_cv_use_zlib='wxUSE_ZLIB=sys'
3281 elif test "$withval" = builtin; then
3282 ac_cv_use_zlib='wxUSE_ZLIB=builtin'
3283 else
3284 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3285 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3286 { (exit 1); exit 1; }; }
3287 fi
3288
3289 else
3290
3291 LINE=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
3292 if test "x$LINE" != x ; then
3293 eval "DEFAULT_$LINE"
3294 else
3295 no_cache=1
3296 fi
3297
3298 ac_cv_use_zlib='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
3299
3300 fi;
3301
3302 eval "$ac_cv_use_zlib"
3303 if test "$no_cache" != 1; then
3304 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
3305 fi
3306
3307 if test "$wxUSE_ZLIB" = yes; then
3308 echo "$as_me:$LINENO: result: yes" >&5
3309 echo "${ECHO_T}yes" >&6
3310 elif test "$wxUSE_ZLIB" = no; then
3311 echo "$as_me:$LINENO: result: no" >&5
3312 echo "${ECHO_T}no" >&6
3313 elif test "$wxUSE_ZLIB" = sys; then
3314 echo "$as_me:$LINENO: result: system version" >&5
3315 echo "${ECHO_T}system version" >&6
3316 elif test "$wxUSE_ZLIB" = builtin; then
3317 echo "$as_me:$LINENO: result: builtin version" >&5
3318 echo "${ECHO_T}builtin version" >&6
3319 else
3320 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3321 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3322 { (exit 1); exit 1; }; }
3323 fi
3324
3325
3326 echo "$as_me:$LINENO: checking for --with-odbc" >&5
3327 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6
3328 no_cache=0
3329
3330 # Check whether --with-odbc or --without-odbc was given.
3331 if test "${with_odbc+set}" = set; then
3332 withval="$with_odbc"
3333
3334 if test "$withval" = yes; then
3335 ac_cv_use_odbc='wxUSE_ODBC=yes'
3336 elif test "$withval" = no; then
3337 ac_cv_use_odbc='wxUSE_ODBC=no'
3338 elif test "$withval" = sys; then
3339 ac_cv_use_odbc='wxUSE_ODBC=sys'
3340 elif test "$withval" = builtin; then
3341 ac_cv_use_odbc='wxUSE_ODBC=builtin'
3342 else
3343 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3344 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3345 { (exit 1); exit 1; }; }
3346 fi
3347
3348 else
3349
3350 LINE=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
3351 if test "x$LINE" != x ; then
3352 eval "DEFAULT_$LINE"
3353 else
3354 no_cache=1
3355 fi
3356
3357 ac_cv_use_odbc='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
3358
3359 fi;
3360
3361 eval "$ac_cv_use_odbc"
3362 if test "$no_cache" != 1; then
3363 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
3364 fi
3365
3366 if test "$wxUSE_ODBC" = yes; then
3367 echo "$as_me:$LINENO: result: yes" >&5
3368 echo "${ECHO_T}yes" >&6
3369 elif test "$wxUSE_ODBC" = no; then
3370 echo "$as_me:$LINENO: result: no" >&5
3371 echo "${ECHO_T}no" >&6
3372 elif test "$wxUSE_ODBC" = sys; then
3373 echo "$as_me:$LINENO: result: system version" >&5
3374 echo "${ECHO_T}system version" >&6
3375 elif test "$wxUSE_ODBC" = builtin; then
3376 echo "$as_me:$LINENO: result: builtin version" >&5
3377 echo "${ECHO_T}builtin version" >&6
3378 else
3379 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3380 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3381 { (exit 1); exit 1; }; }
3382 fi
3383
3384
3385 echo "$as_me:$LINENO: checking for --with-expat" >&5
3386 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6
3387 no_cache=0
3388
3389 # Check whether --with-expat or --without-expat was given.
3390 if test "${with_expat+set}" = set; then
3391 withval="$with_expat"
3392
3393 if test "$withval" = yes; then
3394 ac_cv_use_expat='wxUSE_EXPAT=yes'
3395 elif test "$withval" = no; then
3396 ac_cv_use_expat='wxUSE_EXPAT=no'
3397 elif test "$withval" = sys; then
3398 ac_cv_use_expat='wxUSE_EXPAT=sys'
3399 elif test "$withval" = builtin; then
3400 ac_cv_use_expat='wxUSE_EXPAT=builtin'
3401 else
3402 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3403 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3404 { (exit 1); exit 1; }; }
3405 fi
3406
3407 else
3408
3409 LINE=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
3410 if test "x$LINE" != x ; then
3411 eval "DEFAULT_$LINE"
3412 else
3413 no_cache=1
3414 fi
3415
3416 ac_cv_use_expat='wxUSE_EXPAT='$DEFAULT_wxUSE_EXPAT
3417
3418 fi;
3419
3420 eval "$ac_cv_use_expat"
3421 if test "$no_cache" != 1; then
3422 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
3423 fi
3424
3425 if test "$wxUSE_EXPAT" = yes; then
3426 echo "$as_me:$LINENO: result: yes" >&5
3427 echo "${ECHO_T}yes" >&6
3428 elif test "$wxUSE_EXPAT" = no; then
3429 echo "$as_me:$LINENO: result: no" >&5
3430 echo "${ECHO_T}no" >&6
3431 elif test "$wxUSE_EXPAT" = sys; then
3432 echo "$as_me:$LINENO: result: system version" >&5
3433 echo "${ECHO_T}system version" >&6
3434 elif test "$wxUSE_EXPAT" = builtin; then
3435 echo "$as_me:$LINENO: result: builtin version" >&5
3436 echo "${ECHO_T}builtin version" >&6
3437 else
3438 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3439 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3440 { (exit 1); exit 1; }; }
3441 fi
3442
3443
3444
3445
3446 enablestring=
3447 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
3448 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6
3449 no_cache=0
3450 # Check whether --enable-shared or --disable-shared was given.
3451 if test "${enable_shared+set}" = set; then
3452 enableval="$enable_shared"
3453
3454 if test "$enableval" = yes; then
3455 ac_cv_use_shared='wxUSE_SHARED=yes'
3456 else
3457 ac_cv_use_shared='wxUSE_SHARED=no'
3458 fi
3459
3460 else
3461
3462 LINE=`grep "wxUSE_SHARED" ${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_shared='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
3470
3471 fi;
3472
3473 eval "$ac_cv_use_shared"
3474 if test "$no_cache" != 1; then
3475 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
3476 fi
3477
3478 if test "$wxUSE_SHARED" = yes; then
3479 echo "$as_me:$LINENO: result: yes" >&5
3480 echo "${ECHO_T}yes" >&6
3481 else
3482 echo "$as_me:$LINENO: result: no" >&5
3483 echo "${ECHO_T}no" >&6
3484 fi
3485
3486
3487 enablestring=
3488 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
3489 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6
3490 no_cache=0
3491 # Check whether --enable-optimise or --disable-optimise was given.
3492 if test "${enable_optimise+set}" = set; then
3493 enableval="$enable_optimise"
3494
3495 if test "$enableval" = yes; then
3496 ac_cv_use_optimise='wxUSE_OPTIMISE=yes'
3497 else
3498 ac_cv_use_optimise='wxUSE_OPTIMISE=no'
3499 fi
3500
3501 else
3502
3503 LINE=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
3504 if test "x$LINE" != x ; then
3505 eval "DEFAULT_$LINE"
3506 else
3507 no_cache=1
3508 fi
3509
3510 ac_cv_use_optimise='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
3511
3512 fi;
3513
3514 eval "$ac_cv_use_optimise"
3515 if test "$no_cache" != 1; then
3516 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
3517 fi
3518
3519 if test "$wxUSE_OPTIMISE" = yes; then
3520 echo "$as_me:$LINENO: result: yes" >&5
3521 echo "${ECHO_T}yes" >&6
3522 else
3523 echo "$as_me:$LINENO: result: no" >&5
3524 echo "${ECHO_T}no" >&6
3525 fi
3526
3527
3528 enablestring=
3529 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
3530 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6
3531 no_cache=0
3532 # Check whether --enable-debug or --disable-debug was given.
3533 if test "${enable_debug+set}" = set; then
3534 enableval="$enable_debug"
3535
3536 if test "$enableval" = yes; then
3537 ac_cv_use_debug='wxUSE_DEBUG=yes'
3538 else
3539 ac_cv_use_debug='wxUSE_DEBUG=no'
3540 fi
3541
3542 else
3543
3544 LINE=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
3545 if test "x$LINE" != x ; then
3546 eval "DEFAULT_$LINE"
3547 else
3548 no_cache=1
3549 fi
3550
3551 ac_cv_use_debug='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
3552
3553 fi;
3554
3555 eval "$ac_cv_use_debug"
3556 if test "$no_cache" != 1; then
3557 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
3558 fi
3559
3560 if test "$wxUSE_DEBUG" = yes; then
3561 echo "$as_me:$LINENO: result: yes" >&5
3562 echo "${ECHO_T}yes" >&6
3563 else
3564 echo "$as_me:$LINENO: result: no" >&5
3565 echo "${ECHO_T}no" >&6
3566 fi
3567
3568
3569 enablestring=
3570 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
3571 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6
3572 no_cache=0
3573 # Check whether --enable-stl or --disable-stl was given.
3574 if test "${enable_stl+set}" = set; then
3575 enableval="$enable_stl"
3576
3577 if test "$enableval" = yes; then
3578 ac_cv_use_stl='wxUSE_STL=yes'
3579 else
3580 ac_cv_use_stl='wxUSE_STL=no'
3581 fi
3582
3583 else
3584
3585 LINE=`grep "wxUSE_STL" ${wx_arg_cache_file}`
3586 if test "x$LINE" != x ; then
3587 eval "DEFAULT_$LINE"
3588 else
3589 no_cache=1
3590 fi
3591
3592 ac_cv_use_stl='wxUSE_STL='$DEFAULT_wxUSE_STL
3593
3594 fi;
3595
3596 eval "$ac_cv_use_stl"
3597 if test "$no_cache" != 1; then
3598 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
3599 fi
3600
3601 if test "$wxUSE_STL" = yes; then
3602 echo "$as_me:$LINENO: result: yes" >&5
3603 echo "${ECHO_T}yes" >&6
3604 else
3605 echo "$as_me:$LINENO: result: no" >&5
3606 echo "${ECHO_T}no" >&6
3607 fi
3608
3609 if test "$USE_OS2" = "1"; then
3610 DEFAULT_wxUSE_OMF=no
3611
3612 enablestring=
3613 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
3614 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6
3615 no_cache=0
3616 # Check whether --enable-omf or --disable-omf was given.
3617 if test "${enable_omf+set}" = set; then
3618 enableval="$enable_omf"
3619
3620 if test "$enableval" = yes; then
3621 ac_cv_use_omf='wxUSE_OMF=yes'
3622 else
3623 ac_cv_use_omf='wxUSE_OMF=no'
3624 fi
3625
3626 else
3627
3628 LINE=`grep "wxUSE_OMF" ${wx_arg_cache_file}`
3629 if test "x$LINE" != x ; then
3630 eval "DEFAULT_$LINE"
3631 else
3632 no_cache=1
3633 fi
3634
3635 ac_cv_use_omf='wxUSE_OMF='$DEFAULT_wxUSE_OMF
3636
3637 fi;
3638
3639 eval "$ac_cv_use_omf"
3640 if test "$no_cache" != 1; then
3641 echo $ac_cv_use_omf >> ${wx_arg_cache_file}.tmp
3642 fi
3643
3644 if test "$wxUSE_OMF" = yes; then
3645 echo "$as_me:$LINENO: result: yes" >&5
3646 echo "${ECHO_T}yes" >&6
3647 else
3648 echo "$as_me:$LINENO: result: no" >&5
3649 echo "${ECHO_T}no" >&6
3650 fi
3651
3652 fi
3653
3654 if test "$wxUSE_DEBUG" = "yes"; then
3655 DEFAULT_wxUSE_DEBUG_FLAG=yes
3656 DEFAULT_wxUSE_DEBUG_INFO=yes
3657 BUILD=debug
3658 elif test "$wxUSE_DEBUG" = "no"; then
3659 DEFAULT_wxUSE_DEBUG_FLAG=no
3660 DEFAULT_wxUSE_DEBUG_INFO=no
3661 BUILD=release
3662 fi
3663
3664
3665 enablestring=
3666 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
3667 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6
3668 no_cache=0
3669 # Check whether --enable-debug_flag or --disable-debug_flag was given.
3670 if test "${enable_debug_flag+set}" = set; then
3671 enableval="$enable_debug_flag"
3672
3673 if test "$enableval" = yes; then
3674 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
3675 else
3676 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
3677 fi
3678
3679 else
3680
3681 LINE=`grep "wxUSE_DEBUG_FLAG" ${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_debug_flag='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
3689
3690 fi;
3691
3692 eval "$ac_cv_use_debug_flag"
3693 if test "$no_cache" != 1; then
3694 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
3695 fi
3696
3697 if test "$wxUSE_DEBUG_FLAG" = 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
3706 enablestring=
3707 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
3708 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
3709 no_cache=0
3710 # Check whether --enable-debug_info or --disable-debug_info was given.
3711 if test "${enable_debug_info+set}" = set; then
3712 enableval="$enable_debug_info"
3713
3714 if test "$enableval" = yes; then
3715 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
3716 else
3717 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
3718 fi
3719
3720 else
3721
3722 LINE=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
3723 if test "x$LINE" != x ; then
3724 eval "DEFAULT_$LINE"
3725 else
3726 no_cache=1
3727 fi
3728
3729 ac_cv_use_debug_info='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
3730
3731 fi;
3732
3733 eval "$ac_cv_use_debug_info"
3734 if test "$no_cache" != 1; then
3735 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
3736 fi
3737
3738 if test "$wxUSE_DEBUG_INFO" = yes; then
3739 echo "$as_me:$LINENO: result: yes" >&5
3740 echo "${ECHO_T}yes" >&6
3741 else
3742 echo "$as_me:$LINENO: result: no" >&5
3743 echo "${ECHO_T}no" >&6
3744 fi
3745
3746
3747 enablestring=
3748 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
3749 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6
3750 no_cache=0
3751 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
3752 if test "${enable_debug_gdb+set}" = set; then
3753 enableval="$enable_debug_gdb"
3754
3755 if test "$enableval" = yes; then
3756 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
3757 else
3758 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
3759 fi
3760
3761 else
3762
3763 LINE=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
3764 if test "x$LINE" != x ; then
3765 eval "DEFAULT_$LINE"
3766 else
3767 no_cache=1
3768 fi
3769
3770 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
3771
3772 fi;
3773
3774 eval "$ac_cv_use_debug_gdb"
3775 if test "$no_cache" != 1; then
3776 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
3777 fi
3778
3779 if test "$wxUSE_DEBUG_GDB" = yes; then
3780 echo "$as_me:$LINENO: result: yes" >&5
3781 echo "${ECHO_T}yes" >&6
3782 else
3783 echo "$as_me:$LINENO: result: no" >&5
3784 echo "${ECHO_T}no" >&6
3785 fi
3786
3787
3788 enablestring=
3789 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
3790 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6
3791 no_cache=0
3792 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
3793 if test "${enable_debug_cntxt+set}" = set; then
3794 enableval="$enable_debug_cntxt"
3795
3796 if test "$enableval" = yes; then
3797 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
3798 else
3799 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
3800 fi
3801
3802 else
3803
3804 LINE=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
3805 if test "x$LINE" != x ; then
3806 eval "DEFAULT_$LINE"
3807 else
3808 no_cache=1
3809 fi
3810
3811 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
3812
3813 fi;
3814
3815 eval "$ac_cv_use_debug_cntxt"
3816 if test "$no_cache" != 1; then
3817 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
3818 fi
3819
3820 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
3821 echo "$as_me:$LINENO: result: yes" >&5
3822 echo "${ECHO_T}yes" >&6
3823 else
3824 echo "$as_me:$LINENO: result: no" >&5
3825 echo "${ECHO_T}no" >&6
3826 fi
3827
3828
3829 enablestring=
3830 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
3831 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
3832 no_cache=0
3833 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
3834 if test "${enable_mem_tracing+set}" = set; then
3835 enableval="$enable_mem_tracing"
3836
3837 if test "$enableval" = yes; then
3838 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
3839 else
3840 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
3841 fi
3842
3843 else
3844
3845 LINE=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
3846 if test "x$LINE" != x ; then
3847 eval "DEFAULT_$LINE"
3848 else
3849 no_cache=1
3850 fi
3851
3852 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
3853
3854 fi;
3855
3856 eval "$ac_cv_use_mem_tracing"
3857 if test "$no_cache" != 1; then
3858 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
3859 fi
3860
3861 if test "$wxUSE_MEM_TRACING" = yes; then
3862 echo "$as_me:$LINENO: result: yes" >&5
3863 echo "${ECHO_T}yes" >&6
3864 else
3865 echo "$as_me:$LINENO: result: no" >&5
3866 echo "${ECHO_T}no" >&6
3867 fi
3868
3869
3870 enablestring=
3871 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
3872 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6
3873 no_cache=0
3874 # Check whether --enable-profile or --disable-profile was given.
3875 if test "${enable_profile+set}" = set; then
3876 enableval="$enable_profile"
3877
3878 if test "$enableval" = yes; then
3879 ac_cv_use_profile='wxUSE_PROFILE=yes'
3880 else
3881 ac_cv_use_profile='wxUSE_PROFILE=no'
3882 fi
3883
3884 else
3885
3886 LINE=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
3887 if test "x$LINE" != x ; then
3888 eval "DEFAULT_$LINE"
3889 else
3890 no_cache=1
3891 fi
3892
3893 ac_cv_use_profile='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
3894
3895 fi;
3896
3897 eval "$ac_cv_use_profile"
3898 if test "$no_cache" != 1; then
3899 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
3900 fi
3901
3902 if test "$wxUSE_PROFILE" = yes; then
3903 echo "$as_me:$LINENO: result: yes" >&5
3904 echo "${ECHO_T}yes" >&6
3905 else
3906 echo "$as_me:$LINENO: result: no" >&5
3907 echo "${ECHO_T}no" >&6
3908 fi
3909
3910
3911 enablestring=
3912 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
3913 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6
3914 no_cache=0
3915 # Check whether --enable-no_rtti or --disable-no_rtti was given.
3916 if test "${enable_no_rtti+set}" = set; then
3917 enableval="$enable_no_rtti"
3918
3919 if test "$enableval" = yes; then
3920 ac_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
3921 else
3922 ac_cv_use_no_rtti='wxUSE_NO_RTTI=no'
3923 fi
3924
3925 else
3926
3927 LINE=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
3928 if test "x$LINE" != x ; then
3929 eval "DEFAULT_$LINE"
3930 else
3931 no_cache=1
3932 fi
3933
3934 ac_cv_use_no_rtti='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
3935
3936 fi;
3937
3938 eval "$ac_cv_use_no_rtti"
3939 if test "$no_cache" != 1; then
3940 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
3941 fi
3942
3943 if test "$wxUSE_NO_RTTI" = yes; then
3944 echo "$as_me:$LINENO: result: yes" >&5
3945 echo "${ECHO_T}yes" >&6
3946 else
3947 echo "$as_me:$LINENO: result: no" >&5
3948 echo "${ECHO_T}no" >&6
3949 fi
3950
3951
3952 enablestring=
3953 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
3954 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
3955 no_cache=0
3956 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
3957 if test "${enable_no_exceptions+set}" = set; then
3958 enableval="$enable_no_exceptions"
3959
3960 if test "$enableval" = yes; then
3961 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
3962 else
3963 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
3964 fi
3965
3966 else
3967
3968 LINE=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
3969 if test "x$LINE" != x ; then
3970 eval "DEFAULT_$LINE"
3971 else
3972 no_cache=1
3973 fi
3974
3975 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
3976
3977 fi;
3978
3979 eval "$ac_cv_use_no_exceptions"
3980 if test "$no_cache" != 1; then
3981 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
3982 fi
3983
3984 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
3985 echo "$as_me:$LINENO: result: yes" >&5
3986 echo "${ECHO_T}yes" >&6
3987 else
3988 echo "$as_me:$LINENO: result: no" >&5
3989 echo "${ECHO_T}no" >&6
3990 fi
3991
3992
3993 enablestring=
3994 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
3995 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6
3996 no_cache=0
3997 # Check whether --enable-permissive or --disable-permissive was given.
3998 if test "${enable_permissive+set}" = set; then
3999 enableval="$enable_permissive"
4000
4001 if test "$enableval" = yes; then
4002 ac_cv_use_permissive='wxUSE_PERMISSIVE=yes'
4003 else
4004 ac_cv_use_permissive='wxUSE_PERMISSIVE=no'
4005 fi
4006
4007 else
4008
4009 LINE=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
4010 if test "x$LINE" != x ; then
4011 eval "DEFAULT_$LINE"
4012 else
4013 no_cache=1
4014 fi
4015
4016 ac_cv_use_permissive='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
4017
4018 fi;
4019
4020 eval "$ac_cv_use_permissive"
4021 if test "$no_cache" != 1; then
4022 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
4023 fi
4024
4025 if test "$wxUSE_PERMISSIVE" = yes; then
4026 echo "$as_me:$LINENO: result: yes" >&5
4027 echo "${ECHO_T}yes" >&6
4028 else
4029 echo "$as_me:$LINENO: result: no" >&5
4030 echo "${ECHO_T}no" >&6
4031 fi
4032
4033
4034 enablestring=
4035 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
4036 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6
4037 no_cache=0
4038 # Check whether --enable-no_deps or --disable-no_deps was given.
4039 if test "${enable_no_deps+set}" = set; then
4040 enableval="$enable_no_deps"
4041
4042 if test "$enableval" = yes; then
4043 ac_cv_use_no_deps='wxUSE_NO_DEPS=yes'
4044 else
4045 ac_cv_use_no_deps='wxUSE_NO_DEPS=no'
4046 fi
4047
4048 else
4049
4050 LINE=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
4051 if test "x$LINE" != x ; then
4052 eval "DEFAULT_$LINE"
4053 else
4054 no_cache=1
4055 fi
4056
4057 ac_cv_use_no_deps='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
4058
4059 fi;
4060
4061 eval "$ac_cv_use_no_deps"
4062 if test "$no_cache" != 1; then
4063 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
4064 fi
4065
4066 if test "$wxUSE_NO_DEPS" = yes; then
4067 echo "$as_me:$LINENO: result: yes" >&5
4068 echo "${ECHO_T}yes" >&6
4069 else
4070 echo "$as_me:$LINENO: result: no" >&5
4071 echo "${ECHO_T}no" >&6
4072 fi
4073
4074
4075
4076 enablestring=
4077 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat22" >&5
4078 echo $ECHO_N "checking for --${enablestring:-enable}-compat22... $ECHO_C" >&6
4079 no_cache=0
4080 # Check whether --enable-compat22 or --disable-compat22 was given.
4081 if test "${enable_compat22+set}" = set; then
4082 enableval="$enable_compat22"
4083
4084 if test "$enableval" = yes; then
4085 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2=yes'
4086 else
4087 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2=no'
4088 fi
4089
4090 else
4091
4092 LINE=`grep "WXWIN_COMPATIBILITY_2_2" ${wx_arg_cache_file}`
4093 if test "x$LINE" != x ; then
4094 eval "DEFAULT_$LINE"
4095 else
4096 no_cache=1
4097 fi
4098
4099 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2='$DEFAULT_WXWIN_COMPATIBILITY_2_2
4100
4101 fi;
4102
4103 eval "$ac_cv_use_compat22"
4104 if test "$no_cache" != 1; then
4105 echo $ac_cv_use_compat22 >> ${wx_arg_cache_file}.tmp
4106 fi
4107
4108 if test "$WXWIN_COMPATIBILITY_2_2" = yes; then
4109 echo "$as_me:$LINENO: result: yes" >&5
4110 echo "${ECHO_T}yes" >&6
4111 else
4112 echo "$as_me:$LINENO: result: no" >&5
4113 echo "${ECHO_T}no" >&6
4114 fi
4115
4116
4117 enablestring=disable
4118 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat24" >&5
4119 echo $ECHO_N "checking for --${enablestring:-enable}-compat24... $ECHO_C" >&6
4120 no_cache=0
4121 # Check whether --enable-compat24 or --disable-compat24 was given.
4122 if test "${enable_compat24+set}" = set; then
4123 enableval="$enable_compat24"
4124
4125 if test "$enableval" = yes; then
4126 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4=yes'
4127 else
4128 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4=no'
4129 fi
4130
4131 else
4132
4133 LINE=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
4134 if test "x$LINE" != x ; then
4135 eval "DEFAULT_$LINE"
4136 else
4137 no_cache=1
4138 fi
4139
4140 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4='$DEFAULT_WXWIN_COMPATIBILITY_2_4
4141
4142 fi;
4143
4144 eval "$ac_cv_use_compat24"
4145 if test "$no_cache" != 1; then
4146 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
4147 fi
4148
4149 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
4150 echo "$as_me:$LINENO: result: yes" >&5
4151 echo "${ECHO_T}yes" >&6
4152 else
4153 echo "$as_me:$LINENO: result: no" >&5
4154 echo "${ECHO_T}no" >&6
4155 fi
4156
4157
4158
4159 enablestring=
4160 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
4161 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6
4162 no_cache=0
4163 # Check whether --enable-rpath or --disable-rpath was given.
4164 if test "${enable_rpath+set}" = set; then
4165 enableval="$enable_rpath"
4166
4167 if test "$enableval" = yes; then
4168 ac_cv_use_rpath='wxUSE_RPATH=yes'
4169 else
4170 ac_cv_use_rpath='wxUSE_RPATH=no'
4171 fi
4172
4173 else
4174
4175 LINE=`grep "wxUSE_RPATH" ${wx_arg_cache_file}`
4176 if test "x$LINE" != x ; then
4177 eval "DEFAULT_$LINE"
4178 else
4179 no_cache=1
4180 fi
4181
4182 ac_cv_use_rpath='wxUSE_RPATH='$DEFAULT_wxUSE_RPATH
4183
4184 fi;
4185
4186 eval "$ac_cv_use_rpath"
4187 if test "$no_cache" != 1; then
4188 echo $ac_cv_use_rpath >> ${wx_arg_cache_file}.tmp
4189 fi
4190
4191 if test "$wxUSE_RPATH" = yes; then
4192 echo "$as_me:$LINENO: result: yes" >&5
4193 echo "${ECHO_T}yes" >&6
4194 else
4195 echo "$as_me:$LINENO: result: no" >&5
4196 echo "${ECHO_T}no" >&6
4197 fi
4198
4199
4200
4201
4202
4203 enablestring=
4204 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
4205 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
4206 no_cache=0
4207 # Check whether --enable-intl or --disable-intl was given.
4208 if test "${enable_intl+set}" = set; then
4209 enableval="$enable_intl"
4210
4211 if test "$enableval" = yes; then
4212 ac_cv_use_intl='wxUSE_INTL=yes'
4213 else
4214 ac_cv_use_intl='wxUSE_INTL=no'
4215 fi
4216
4217 else
4218
4219 LINE=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
4220 if test "x$LINE" != x ; then
4221 eval "DEFAULT_$LINE"
4222 else
4223 no_cache=1
4224 fi
4225
4226 ac_cv_use_intl='wxUSE_INTL='$DEFAULT_wxUSE_INTL
4227
4228 fi;
4229
4230 eval "$ac_cv_use_intl"
4231 if test "$no_cache" != 1; then
4232 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
4233 fi
4234
4235 if test "$wxUSE_INTL" = yes; then
4236 echo "$as_me:$LINENO: result: yes" >&5
4237 echo "${ECHO_T}yes" >&6
4238 else
4239 echo "$as_me:$LINENO: result: no" >&5
4240 echo "${ECHO_T}no" >&6
4241 fi
4242
4243
4244 enablestring=
4245 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
4246 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
4247 no_cache=0
4248 # Check whether --enable-config or --disable-config was given.
4249 if test "${enable_config+set}" = set; then
4250 enableval="$enable_config"
4251
4252 if test "$enableval" = yes; then
4253 ac_cv_use_config='wxUSE_CONFIG=yes'
4254 else
4255 ac_cv_use_config='wxUSE_CONFIG=no'
4256 fi
4257
4258 else
4259
4260 LINE=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
4261 if test "x$LINE" != x ; then
4262 eval "DEFAULT_$LINE"
4263 else
4264 no_cache=1
4265 fi
4266
4267 ac_cv_use_config='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
4268
4269 fi;
4270
4271 eval "$ac_cv_use_config"
4272 if test "$no_cache" != 1; then
4273 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
4274 fi
4275
4276 if test "$wxUSE_CONFIG" = yes; then
4277 echo "$as_me:$LINENO: result: yes" >&5
4278 echo "${ECHO_T}yes" >&6
4279 else
4280 echo "$as_me:$LINENO: result: no" >&5
4281 echo "${ECHO_T}no" >&6
4282 fi
4283
4284
4285
4286 enablestring=
4287 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
4288 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6
4289 no_cache=0
4290 # Check whether --enable-protocols or --disable-protocols was given.
4291 if test "${enable_protocols+set}" = set; then
4292 enableval="$enable_protocols"
4293
4294 if test "$enableval" = yes; then
4295 ac_cv_use_protocols='wxUSE_PROTOCOL=yes'
4296 else
4297 ac_cv_use_protocols='wxUSE_PROTOCOL=no'
4298 fi
4299
4300 else
4301
4302 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
4303 if test "x$LINE" != x ; then
4304 eval "DEFAULT_$LINE"
4305 else
4306 no_cache=1
4307 fi
4308
4309 ac_cv_use_protocols='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
4310
4311 fi;
4312
4313 eval "$ac_cv_use_protocols"
4314 if test "$no_cache" != 1; then
4315 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
4316 fi
4317
4318 if test "$wxUSE_PROTOCOL" = yes; then
4319 echo "$as_me:$LINENO: result: yes" >&5
4320 echo "${ECHO_T}yes" >&6
4321 else
4322 echo "$as_me:$LINENO: result: no" >&5
4323 echo "${ECHO_T}no" >&6
4324 fi
4325
4326
4327 enablestring=
4328 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
4329 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
4330 no_cache=0
4331 # Check whether --enable-ftp or --disable-ftp was given.
4332 if test "${enable_ftp+set}" = set; then
4333 enableval="$enable_ftp"
4334
4335 if test "$enableval" = yes; then
4336 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
4337 else
4338 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
4339 fi
4340
4341 else
4342
4343 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
4344 if test "x$LINE" != x ; then
4345 eval "DEFAULT_$LINE"
4346 else
4347 no_cache=1
4348 fi
4349
4350 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
4351
4352 fi;
4353
4354 eval "$ac_cv_use_ftp"
4355 if test "$no_cache" != 1; then
4356 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
4357 fi
4358
4359 if test "$wxUSE_PROTOCOL_FTP" = yes; then
4360 echo "$as_me:$LINENO: result: yes" >&5
4361 echo "${ECHO_T}yes" >&6
4362 else
4363 echo "$as_me:$LINENO: result: no" >&5
4364 echo "${ECHO_T}no" >&6
4365 fi
4366
4367
4368 enablestring=
4369 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
4370 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
4371 no_cache=0
4372 # Check whether --enable-http or --disable-http was given.
4373 if test "${enable_http+set}" = set; then
4374 enableval="$enable_http"
4375
4376 if test "$enableval" = yes; then
4377 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
4378 else
4379 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
4380 fi
4381
4382 else
4383
4384 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
4385 if test "x$LINE" != x ; then
4386 eval "DEFAULT_$LINE"
4387 else
4388 no_cache=1
4389 fi
4390
4391 ac_cv_use_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
4392
4393 fi;
4394
4395 eval "$ac_cv_use_http"
4396 if test "$no_cache" != 1; then
4397 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
4398 fi
4399
4400 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4401 echo "$as_me:$LINENO: result: yes" >&5
4402 echo "${ECHO_T}yes" >&6
4403 else
4404 echo "$as_me:$LINENO: result: no" >&5
4405 echo "${ECHO_T}no" >&6
4406 fi
4407
4408
4409 enablestring=
4410 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
4411 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6
4412 no_cache=0
4413 # Check whether --enable-fileproto or --disable-fileproto was given.
4414 if test "${enable_fileproto+set}" = set; then
4415 enableval="$enable_fileproto"
4416
4417 if test "$enableval" = yes; then
4418 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
4419 else
4420 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
4421 fi
4422
4423 else
4424
4425 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4426 if test "x$LINE" != x ; then
4427 eval "DEFAULT_$LINE"
4428 else
4429 no_cache=1
4430 fi
4431
4432 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
4433
4434 fi;
4435
4436 eval "$ac_cv_use_fileproto"
4437 if test "$no_cache" != 1; then
4438 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
4439 fi
4440
4441 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4442 echo "$as_me:$LINENO: result: yes" >&5
4443 echo "${ECHO_T}yes" >&6
4444 else
4445 echo "$as_me:$LINENO: result: no" >&5
4446 echo "${ECHO_T}no" >&6
4447 fi
4448
4449
4450 enablestring=
4451 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
4452 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
4453 no_cache=0
4454 # Check whether --enable-sockets or --disable-sockets was given.
4455 if test "${enable_sockets+set}" = set; then
4456 enableval="$enable_sockets"
4457
4458 if test "$enableval" = yes; then
4459 ac_cv_use_sockets='wxUSE_SOCKETS=yes'
4460 else
4461 ac_cv_use_sockets='wxUSE_SOCKETS=no'
4462 fi
4463
4464 else
4465
4466 LINE=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
4467 if test "x$LINE" != x ; then
4468 eval "DEFAULT_$LINE"
4469 else
4470 no_cache=1
4471 fi
4472
4473 ac_cv_use_sockets='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
4474
4475 fi;
4476
4477 eval "$ac_cv_use_sockets"
4478 if test "$no_cache" != 1; then
4479 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
4480 fi
4481
4482 if test "$wxUSE_SOCKETS" = yes; then
4483 echo "$as_me:$LINENO: result: yes" >&5
4484 echo "${ECHO_T}yes" >&6
4485 else
4486 echo "$as_me:$LINENO: result: no" >&5
4487 echo "${ECHO_T}no" >&6
4488 fi
4489
4490
4491 enablestring=
4492 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
4493 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
4494 no_cache=0
4495 # Check whether --enable-ole or --disable-ole was given.
4496 if test "${enable_ole+set}" = set; then
4497 enableval="$enable_ole"
4498
4499 if test "$enableval" = yes; then
4500 ac_cv_use_ole='wxUSE_OLE=yes'
4501 else
4502 ac_cv_use_ole='wxUSE_OLE=no'
4503 fi
4504
4505 else
4506
4507 LINE=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
4508 if test "x$LINE" != x ; then
4509 eval "DEFAULT_$LINE"
4510 else
4511 no_cache=1
4512 fi
4513
4514 ac_cv_use_ole='wxUSE_OLE='$DEFAULT_wxUSE_OLE
4515
4516 fi;
4517
4518 eval "$ac_cv_use_ole"
4519 if test "$no_cache" != 1; then
4520 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
4521 fi
4522
4523 if test "$wxUSE_OLE" = yes; then
4524 echo "$as_me:$LINENO: result: yes" >&5
4525 echo "${ECHO_T}yes" >&6
4526 else
4527 echo "$as_me:$LINENO: result: no" >&5
4528 echo "${ECHO_T}no" >&6
4529 fi
4530
4531
4532 enablestring=
4533 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
4534 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6
4535 no_cache=0
4536 # Check whether --enable-dataobj or --disable-dataobj was given.
4537 if test "${enable_dataobj+set}" = set; then
4538 enableval="$enable_dataobj"
4539
4540 if test "$enableval" = yes; then
4541 ac_cv_use_dataobj='wxUSE_DATAOBJ=yes'
4542 else
4543 ac_cv_use_dataobj='wxUSE_DATAOBJ=no'
4544 fi
4545
4546 else
4547
4548 LINE=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
4549 if test "x$LINE" != x ; then
4550 eval "DEFAULT_$LINE"
4551 else
4552 no_cache=1
4553 fi
4554
4555 ac_cv_use_dataobj='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
4556
4557 fi;
4558
4559 eval "$ac_cv_use_dataobj"
4560 if test "$no_cache" != 1; then
4561 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
4562 fi
4563
4564 if test "$wxUSE_DATAOBJ" = yes; then
4565 echo "$as_me:$LINENO: result: yes" >&5
4566 echo "${ECHO_T}yes" >&6
4567 else
4568 echo "$as_me:$LINENO: result: no" >&5
4569 echo "${ECHO_T}no" >&6
4570 fi
4571
4572
4573
4574 enablestring=
4575 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
4576 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
4577 no_cache=0
4578 # Check whether --enable-ipc or --disable-ipc was given.
4579 if test "${enable_ipc+set}" = set; then
4580 enableval="$enable_ipc"
4581
4582 if test "$enableval" = yes; then
4583 ac_cv_use_ipc='wxUSE_IPC=yes'
4584 else
4585 ac_cv_use_ipc='wxUSE_IPC=no'
4586 fi
4587
4588 else
4589
4590 LINE=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
4591 if test "x$LINE" != x ; then
4592 eval "DEFAULT_$LINE"
4593 else
4594 no_cache=1
4595 fi
4596
4597 ac_cv_use_ipc='wxUSE_IPC='$DEFAULT_wxUSE_IPC
4598
4599 fi;
4600
4601 eval "$ac_cv_use_ipc"
4602 if test "$no_cache" != 1; then
4603 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
4604 fi
4605
4606 if test "$wxUSE_IPC" = yes; then
4607 echo "$as_me:$LINENO: result: yes" >&5
4608 echo "${ECHO_T}yes" >&6
4609 else
4610 echo "$as_me:$LINENO: result: no" >&5
4611 echo "${ECHO_T}no" >&6
4612 fi
4613
4614
4615
4616 enablestring=
4617 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
4618 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6
4619 no_cache=0
4620 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
4621 if test "${enable_apple_ieee+set}" = set; then
4622 enableval="$enable_apple_ieee"
4623
4624 if test "$enableval" = yes; then
4625 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
4626 else
4627 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
4628 fi
4629
4630 else
4631
4632 LINE=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
4633 if test "x$LINE" != x ; then
4634 eval "DEFAULT_$LINE"
4635 else
4636 no_cache=1
4637 fi
4638
4639 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
4640
4641 fi;
4642
4643 eval "$ac_cv_use_apple_ieee"
4644 if test "$no_cache" != 1; then
4645 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
4646 fi
4647
4648 if test "$wxUSE_APPLE_IEEE" = yes; then
4649 echo "$as_me:$LINENO: result: yes" >&5
4650 echo "${ECHO_T}yes" >&6
4651 else
4652 echo "$as_me:$LINENO: result: no" >&5
4653 echo "${ECHO_T}no" >&6
4654 fi
4655
4656
4657 enablestring=
4658 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
4659 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6
4660 no_cache=0
4661 # Check whether --enable-arcstream or --disable-arcstream was given.
4662 if test "${enable_arcstream+set}" = set; then
4663 enableval="$enable_arcstream"
4664
4665 if test "$enableval" = yes; then
4666 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
4667 else
4668 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
4669 fi
4670
4671 else
4672
4673 LINE=`grep "wxUSE_ARCHIVE_STREAMS" ${wx_arg_cache_file}`
4674 if test "x$LINE" != x ; then
4675 eval "DEFAULT_$LINE"
4676 else
4677 no_cache=1
4678 fi
4679
4680 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS='$DEFAULT_wxUSE_ARCHIVE_STREAMS
4681
4682 fi;
4683
4684 eval "$ac_cv_use_arcstream"
4685 if test "$no_cache" != 1; then
4686 echo $ac_cv_use_arcstream >> ${wx_arg_cache_file}.tmp
4687 fi
4688
4689 if test "$wxUSE_ARCHIVE_STREAMS" = yes; then
4690 echo "$as_me:$LINENO: result: yes" >&5
4691 echo "${ECHO_T}yes" >&6
4692 else
4693 echo "$as_me:$LINENO: result: no" >&5
4694 echo "${ECHO_T}no" >&6
4695 fi
4696
4697
4698 enablestring=
4699 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
4700 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6
4701 no_cache=0
4702 # Check whether --enable-backtrace or --disable-backtrace was given.
4703 if test "${enable_backtrace+set}" = set; then
4704 enableval="$enable_backtrace"
4705
4706 if test "$enableval" = yes; then
4707 ac_cv_use_backtrace='wxUSE_STACKWALKER=yes'
4708 else
4709 ac_cv_use_backtrace='wxUSE_STACKWALKER=no'
4710 fi
4711
4712 else
4713
4714 LINE=`grep "wxUSE_STACKWALKER" ${wx_arg_cache_file}`
4715 if test "x$LINE" != x ; then
4716 eval "DEFAULT_$LINE"
4717 else
4718 no_cache=1
4719 fi
4720
4721 ac_cv_use_backtrace='wxUSE_STACKWALKER='$DEFAULT_wxUSE_STACKWALKER
4722
4723 fi;
4724
4725 eval "$ac_cv_use_backtrace"
4726 if test "$no_cache" != 1; then
4727 echo $ac_cv_use_backtrace >> ${wx_arg_cache_file}.tmp
4728 fi
4729
4730 if test "$wxUSE_STACKWALKER" = yes; then
4731 echo "$as_me:$LINENO: result: yes" >&5
4732 echo "${ECHO_T}yes" >&6
4733 else
4734 echo "$as_me:$LINENO: result: no" >&5
4735 echo "${ECHO_T}no" >&6
4736 fi
4737
4738
4739 enablestring=
4740 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
4741 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
4742 no_cache=0
4743 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
4744 if test "${enable_catch_segvs+set}" = set; then
4745 enableval="$enable_catch_segvs"
4746
4747 if test "$enableval" = yes; then
4748 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
4749 else
4750 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
4751 fi
4752
4753 else
4754
4755 LINE=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
4756 if test "x$LINE" != x ; then
4757 eval "DEFAULT_$LINE"
4758 else
4759 no_cache=1
4760 fi
4761
4762 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
4763
4764 fi;
4765
4766 eval "$ac_cv_use_catch_segvs"
4767 if test "$no_cache" != 1; then
4768 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
4769 fi
4770
4771 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
4772 echo "$as_me:$LINENO: result: yes" >&5
4773 echo "${ECHO_T}yes" >&6
4774 else
4775 echo "$as_me:$LINENO: result: no" >&5
4776 echo "${ECHO_T}no" >&6
4777 fi
4778
4779
4780 enablestring=
4781 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
4782 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
4783 no_cache=0
4784 # Check whether --enable-cmdline or --disable-cmdline was given.
4785 if test "${enable_cmdline+set}" = set; then
4786 enableval="$enable_cmdline"
4787
4788 if test "$enableval" = yes; then
4789 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
4790 else
4791 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
4792 fi
4793
4794 else
4795
4796 LINE=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
4797 if test "x$LINE" != x ; then
4798 eval "DEFAULT_$LINE"
4799 else
4800 no_cache=1
4801 fi
4802
4803 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
4804
4805 fi;
4806
4807 eval "$ac_cv_use_cmdline"
4808 if test "$no_cache" != 1; then
4809 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
4810 fi
4811
4812 if test "$wxUSE_CMDLINE_PARSER" = yes; then
4813 echo "$as_me:$LINENO: result: yes" >&5
4814 echo "${ECHO_T}yes" >&6
4815 else
4816 echo "$as_me:$LINENO: result: no" >&5
4817 echo "${ECHO_T}no" >&6
4818 fi
4819
4820
4821 enablestring=
4822 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
4823 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
4824 no_cache=0
4825 # Check whether --enable-datetime or --disable-datetime was given.
4826 if test "${enable_datetime+set}" = set; then
4827 enableval="$enable_datetime"
4828
4829 if test "$enableval" = yes; then
4830 ac_cv_use_datetime='wxUSE_DATETIME=yes'
4831 else
4832 ac_cv_use_datetime='wxUSE_DATETIME=no'
4833 fi
4834
4835 else
4836
4837 LINE=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
4838 if test "x$LINE" != x ; then
4839 eval "DEFAULT_$LINE"
4840 else
4841 no_cache=1
4842 fi
4843
4844 ac_cv_use_datetime='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
4845
4846 fi;
4847
4848 eval "$ac_cv_use_datetime"
4849 if test "$no_cache" != 1; then
4850 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
4851 fi
4852
4853 if test "$wxUSE_DATETIME" = yes; then
4854 echo "$as_me:$LINENO: result: yes" >&5
4855 echo "${ECHO_T}yes" >&6
4856 else
4857 echo "$as_me:$LINENO: result: no" >&5
4858 echo "${ECHO_T}no" >&6
4859 fi
4860
4861
4862 enablestring=
4863 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
4864 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6
4865 no_cache=0
4866 # Check whether --enable-debugreport or --disable-debugreport was given.
4867 if test "${enable_debugreport+set}" = set; then
4868 enableval="$enable_debugreport"
4869
4870 if test "$enableval" = yes; then
4871 ac_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
4872 else
4873 ac_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
4874 fi
4875
4876 else
4877
4878 LINE=`grep "wxUSE_DEBUGREPORT" ${wx_arg_cache_file}`
4879 if test "x$LINE" != x ; then
4880 eval "DEFAULT_$LINE"
4881 else
4882 no_cache=1
4883 fi
4884
4885 ac_cv_use_debugreport='wxUSE_DEBUGREPORT='$DEFAULT_wxUSE_DEBUGREPORT
4886
4887 fi;
4888
4889 eval "$ac_cv_use_debugreport"
4890 if test "$no_cache" != 1; then
4891 echo $ac_cv_use_debugreport >> ${wx_arg_cache_file}.tmp
4892 fi
4893
4894 if test "$wxUSE_DEBUGREPORT" = yes; then
4895 echo "$as_me:$LINENO: result: yes" >&5
4896 echo "${ECHO_T}yes" >&6
4897 else
4898 echo "$as_me:$LINENO: result: no" >&5
4899 echo "${ECHO_T}no" >&6
4900 fi
4901
4902
4903 enablestring=
4904 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
4905 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
4906 no_cache=0
4907 # Check whether --enable-dialupman or --disable-dialupman was given.
4908 if test "${enable_dialupman+set}" = set; then
4909 enableval="$enable_dialupman"
4910
4911 if test "$enableval" = yes; then
4912 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
4913 else
4914 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
4915 fi
4916
4917 else
4918
4919 LINE=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
4920 if test "x$LINE" != x ; then
4921 eval "DEFAULT_$LINE"
4922 else
4923 no_cache=1
4924 fi
4925
4926 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
4927
4928 fi;
4929
4930 eval "$ac_cv_use_dialupman"
4931 if test "$no_cache" != 1; then
4932 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
4933 fi
4934
4935 if test "$wxUSE_DIALUP_MANAGER" = yes; then
4936 echo "$as_me:$LINENO: result: yes" >&5
4937 echo "${ECHO_T}yes" >&6
4938 else
4939 echo "$as_me:$LINENO: result: no" >&5
4940 echo "${ECHO_T}no" >&6
4941 fi
4942
4943
4944 enablestring=
4945 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
4946 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
4947 no_cache=0
4948 # Check whether --enable-dynlib or --disable-dynlib was given.
4949 if test "${enable_dynlib+set}" = set; then
4950 enableval="$enable_dynlib"
4951
4952 if test "$enableval" = yes; then
4953 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
4954 else
4955 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
4956 fi
4957
4958 else
4959
4960 LINE=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
4961 if test "x$LINE" != x ; then
4962 eval "DEFAULT_$LINE"
4963 else
4964 no_cache=1
4965 fi
4966
4967 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
4968
4969 fi;
4970
4971 eval "$ac_cv_use_dynlib"
4972 if test "$no_cache" != 1; then
4973 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
4974 fi
4975
4976 if test "$wxUSE_DYNLIB_CLASS" = yes; then
4977 echo "$as_me:$LINENO: result: yes" >&5
4978 echo "${ECHO_T}yes" >&6
4979 else
4980 echo "$as_me:$LINENO: result: no" >&5
4981 echo "${ECHO_T}no" >&6
4982 fi
4983
4984
4985 enablestring=
4986 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
4987 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6
4988 no_cache=0
4989 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
4990 if test "${enable_dynamicloader+set}" = set; then
4991 enableval="$enable_dynamicloader"
4992
4993 if test "$enableval" = yes; then
4994 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
4995 else
4996 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
4997 fi
4998
4999 else
5000
5001 LINE=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
5002 if test "x$LINE" != x ; then
5003 eval "DEFAULT_$LINE"
5004 else
5005 no_cache=1
5006 fi
5007
5008 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
5009
5010 fi;
5011
5012 eval "$ac_cv_use_dynamicloader"
5013 if test "$no_cache" != 1; then
5014 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
5015 fi
5016
5017 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
5018 echo "$as_me:$LINENO: result: yes" >&5
5019 echo "${ECHO_T}yes" >&6
5020 else
5021 echo "$as_me:$LINENO: result: no" >&5
5022 echo "${ECHO_T}no" >&6
5023 fi
5024
5025
5026 enablestring=
5027 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
5028 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6
5029 no_cache=0
5030 # Check whether --enable-exceptions or --disable-exceptions was given.
5031 if test "${enable_exceptions+set}" = set; then
5032 enableval="$enable_exceptions"
5033
5034 if test "$enableval" = yes; then
5035 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
5036 else
5037 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
5038 fi
5039
5040 else
5041
5042 LINE=`grep "wxUSE_EXCEPTIONS" ${wx_arg_cache_file}`
5043 if test "x$LINE" != x ; then
5044 eval "DEFAULT_$LINE"
5045 else
5046 no_cache=1
5047 fi
5048
5049 ac_cv_use_exceptions='wxUSE_EXCEPTIONS='$DEFAULT_wxUSE_EXCEPTIONS
5050
5051 fi;
5052
5053 eval "$ac_cv_use_exceptions"
5054 if test "$no_cache" != 1; then
5055 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
5056 fi
5057
5058 if test "$wxUSE_EXCEPTIONS" = yes; then
5059 echo "$as_me:$LINENO: result: yes" >&5
5060 echo "${ECHO_T}yes" >&6
5061 else
5062 echo "$as_me:$LINENO: result: no" >&5
5063 echo "${ECHO_T}no" >&6
5064 fi
5065
5066
5067 enablestring=
5068 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
5069 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
5070 no_cache=0
5071 # Check whether --enable-ffile or --disable-ffile was given.
5072 if test "${enable_ffile+set}" = set; then
5073 enableval="$enable_ffile"
5074
5075 if test "$enableval" = yes; then
5076 ac_cv_use_ffile='wxUSE_FFILE=yes'
5077 else
5078 ac_cv_use_ffile='wxUSE_FFILE=no'
5079 fi
5080
5081 else
5082
5083 LINE=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
5084 if test "x$LINE" != x ; then
5085 eval "DEFAULT_$LINE"
5086 else
5087 no_cache=1
5088 fi
5089
5090 ac_cv_use_ffile='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
5091
5092 fi;
5093
5094 eval "$ac_cv_use_ffile"
5095 if test "$no_cache" != 1; then
5096 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
5097 fi
5098
5099 if test "$wxUSE_FFILE" = yes; then
5100 echo "$as_me:$LINENO: result: yes" >&5
5101 echo "${ECHO_T}yes" >&6
5102 else
5103 echo "$as_me:$LINENO: result: no" >&5
5104 echo "${ECHO_T}no" >&6
5105 fi
5106
5107
5108 enablestring=
5109 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
5110 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6
5111 no_cache=0
5112 # Check whether --enable-file or --disable-file was given.
5113 if test "${enable_file+set}" = set; then
5114 enableval="$enable_file"
5115
5116 if test "$enableval" = yes; then
5117 ac_cv_use_file='wxUSE_FILE=yes'
5118 else
5119 ac_cv_use_file='wxUSE_FILE=no'
5120 fi
5121
5122 else
5123
5124 LINE=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
5125 if test "x$LINE" != x ; then
5126 eval "DEFAULT_$LINE"
5127 else
5128 no_cache=1
5129 fi
5130
5131 ac_cv_use_file='wxUSE_FILE='$DEFAULT_wxUSE_FILE
5132
5133 fi;
5134
5135 eval "$ac_cv_use_file"
5136 if test "$no_cache" != 1; then
5137 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
5138 fi
5139
5140 if test "$wxUSE_FILE" = yes; then
5141 echo "$as_me:$LINENO: result: yes" >&5
5142 echo "${ECHO_T}yes" >&6
5143 else
5144 echo "$as_me:$LINENO: result: no" >&5
5145 echo "${ECHO_T}no" >&6
5146 fi
5147
5148
5149 enablestring=
5150 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
5151 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
5152 no_cache=0
5153 # Check whether --enable-filesystem or --disable-filesystem was given.
5154 if test "${enable_filesystem+set}" = set; then
5155 enableval="$enable_filesystem"
5156
5157 if test "$enableval" = yes; then
5158 ac_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
5159 else
5160 ac_cv_use_filesystem='wxUSE_FILESYSTEM=no'
5161 fi
5162
5163 else
5164
5165 LINE=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
5166 if test "x$LINE" != x ; then
5167 eval "DEFAULT_$LINE"
5168 else
5169 no_cache=1
5170 fi
5171
5172 ac_cv_use_filesystem='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
5173
5174 fi;
5175
5176 eval "$ac_cv_use_filesystem"
5177 if test "$no_cache" != 1; then
5178 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
5179 fi
5180
5181 if test "$wxUSE_FILESYSTEM" = yes; then
5182 echo "$as_me:$LINENO: result: yes" >&5
5183 echo "${ECHO_T}yes" >&6
5184 else
5185 echo "$as_me:$LINENO: result: no" >&5
5186 echo "${ECHO_T}no" >&6
5187 fi
5188
5189
5190 enablestring=
5191 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
5192 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6
5193 no_cache=0
5194 # Check whether --enable-fontmap or --disable-fontmap was given.
5195 if test "${enable_fontmap+set}" = set; then
5196 enableval="$enable_fontmap"
5197
5198 if test "$enableval" = yes; then
5199 ac_cv_use_fontmap='wxUSE_FONTMAP=yes'
5200 else
5201 ac_cv_use_fontmap='wxUSE_FONTMAP=no'
5202 fi
5203
5204 else
5205
5206 LINE=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
5207 if test "x$LINE" != x ; then
5208 eval "DEFAULT_$LINE"
5209 else
5210 no_cache=1
5211 fi
5212
5213 ac_cv_use_fontmap='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
5214
5215 fi;
5216
5217 eval "$ac_cv_use_fontmap"
5218 if test "$no_cache" != 1; then
5219 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
5220 fi
5221
5222 if test "$wxUSE_FONTMAP" = yes; then
5223 echo "$as_me:$LINENO: result: yes" >&5
5224 echo "${ECHO_T}yes" >&6
5225 else
5226 echo "$as_me:$LINENO: result: no" >&5
5227 echo "${ECHO_T}no" >&6
5228 fi
5229
5230
5231 enablestring=
5232 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
5233 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
5234 no_cache=0
5235 # Check whether --enable-fs_inet or --disable-fs_inet was given.
5236 if test "${enable_fs_inet+set}" = set; then
5237 enableval="$enable_fs_inet"
5238
5239 if test "$enableval" = yes; then
5240 ac_cv_use_fs_inet='wxUSE_FS_INET=yes'
5241 else
5242 ac_cv_use_fs_inet='wxUSE_FS_INET=no'
5243 fi
5244
5245 else
5246
5247 LINE=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
5248 if test "x$LINE" != x ; then
5249 eval "DEFAULT_$LINE"
5250 else
5251 no_cache=1
5252 fi
5253
5254 ac_cv_use_fs_inet='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
5255
5256 fi;
5257
5258 eval "$ac_cv_use_fs_inet"
5259 if test "$no_cache" != 1; then
5260 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
5261 fi
5262
5263 if test "$wxUSE_FS_INET" = yes; then
5264 echo "$as_me:$LINENO: result: yes" >&5
5265 echo "${ECHO_T}yes" >&6
5266 else
5267 echo "$as_me:$LINENO: result: no" >&5
5268 echo "${ECHO_T}no" >&6
5269 fi
5270
5271
5272 enablestring=
5273 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
5274 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6
5275 no_cache=0
5276 # Check whether --enable-fs_zip or --disable-fs_zip was given.
5277 if test "${enable_fs_zip+set}" = set; then
5278 enableval="$enable_fs_zip"
5279
5280 if test "$enableval" = yes; then
5281 ac_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
5282 else
5283 ac_cv_use_fs_zip='wxUSE_FS_ZIP=no'
5284 fi
5285
5286 else
5287
5288 LINE=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
5289 if test "x$LINE" != x ; then
5290 eval "DEFAULT_$LINE"
5291 else
5292 no_cache=1
5293 fi
5294
5295 ac_cv_use_fs_zip='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
5296
5297 fi;
5298
5299 eval "$ac_cv_use_fs_zip"
5300 if test "$no_cache" != 1; then
5301 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
5302 fi
5303
5304 if test "$wxUSE_FS_ZIP" = yes; then
5305 echo "$as_me:$LINENO: result: yes" >&5
5306 echo "${ECHO_T}yes" >&6
5307 else
5308 echo "$as_me:$LINENO: result: no" >&5
5309 echo "${ECHO_T}no" >&6
5310 fi
5311
5312
5313 enablestring=
5314 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
5315 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6
5316 no_cache=0
5317 # Check whether --enable-geometry or --disable-geometry was given.
5318 if test "${enable_geometry+set}" = set; then
5319 enableval="$enable_geometry"
5320
5321 if test "$enableval" = yes; then
5322 ac_cv_use_geometry='wxUSE_GEOMETRY=yes'
5323 else
5324 ac_cv_use_geometry='wxUSE_GEOMETRY=no'
5325 fi
5326
5327 else
5328
5329 LINE=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
5330 if test "x$LINE" != x ; then
5331 eval "DEFAULT_$LINE"
5332 else
5333 no_cache=1
5334 fi
5335
5336 ac_cv_use_geometry='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
5337
5338 fi;
5339
5340 eval "$ac_cv_use_geometry"
5341 if test "$no_cache" != 1; then
5342 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
5343 fi
5344
5345 if test "$wxUSE_GEOMETRY" = yes; then
5346 echo "$as_me:$LINENO: result: yes" >&5
5347 echo "${ECHO_T}yes" >&6
5348 else
5349 echo "$as_me:$LINENO: result: no" >&5
5350 echo "${ECHO_T}no" >&6
5351 fi
5352
5353
5354 enablestring=
5355 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
5356 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
5357 no_cache=0
5358 # Check whether --enable-log or --disable-log was given.
5359 if test "${enable_log+set}" = set; then
5360 enableval="$enable_log"
5361
5362 if test "$enableval" = yes; then
5363 ac_cv_use_log='wxUSE_LOG=yes'
5364 else
5365 ac_cv_use_log='wxUSE_LOG=no'
5366 fi
5367
5368 else
5369
5370 LINE=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
5371 if test "x$LINE" != x ; then
5372 eval "DEFAULT_$LINE"
5373 else
5374 no_cache=1
5375 fi
5376
5377 ac_cv_use_log='wxUSE_LOG='$DEFAULT_wxUSE_LOG
5378
5379 fi;
5380
5381 eval "$ac_cv_use_log"
5382 if test "$no_cache" != 1; then
5383 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
5384 fi
5385
5386 if test "$wxUSE_LOG" = yes; then
5387 echo "$as_me:$LINENO: result: yes" >&5
5388 echo "${ECHO_T}yes" >&6
5389 else
5390 echo "$as_me:$LINENO: result: no" >&5
5391 echo "${ECHO_T}no" >&6
5392 fi
5393
5394
5395 enablestring=
5396 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
5397 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6
5398 no_cache=0
5399 # Check whether --enable-longlong or --disable-longlong was given.
5400 if test "${enable_longlong+set}" = set; then
5401 enableval="$enable_longlong"
5402
5403 if test "$enableval" = yes; then
5404 ac_cv_use_longlong='wxUSE_LONGLONG=yes'
5405 else
5406 ac_cv_use_longlong='wxUSE_LONGLONG=no'
5407 fi
5408
5409 else
5410
5411 LINE=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
5412 if test "x$LINE" != x ; then
5413 eval "DEFAULT_$LINE"
5414 else
5415 no_cache=1
5416 fi
5417
5418 ac_cv_use_longlong='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
5419
5420 fi;
5421
5422 eval "$ac_cv_use_longlong"
5423 if test "$no_cache" != 1; then
5424 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
5425 fi
5426
5427 if test "$wxUSE_LONGLONG" = yes; then
5428 echo "$as_me:$LINENO: result: yes" >&5
5429 echo "${ECHO_T}yes" >&6
5430 else
5431 echo "$as_me:$LINENO: result: no" >&5
5432 echo "${ECHO_T}no" >&6
5433 fi
5434
5435
5436 enablestring=
5437 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
5438 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6
5439 no_cache=0
5440 # Check whether --enable-mimetype or --disable-mimetype was given.
5441 if test "${enable_mimetype+set}" = set; then
5442 enableval="$enable_mimetype"
5443
5444 if test "$enableval" = yes; then
5445 ac_cv_use_mimetype='wxUSE_MIMETYPE=yes'
5446 else
5447 ac_cv_use_mimetype='wxUSE_MIMETYPE=no'
5448 fi
5449
5450 else
5451
5452 LINE=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
5453 if test "x$LINE" != x ; then
5454 eval "DEFAULT_$LINE"
5455 else
5456 no_cache=1
5457 fi
5458
5459 ac_cv_use_mimetype='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
5460
5461 fi;
5462
5463 eval "$ac_cv_use_mimetype"
5464 if test "$no_cache" != 1; then
5465 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
5466 fi
5467
5468 if test "$wxUSE_MIMETYPE" = yes; then
5469 echo "$as_me:$LINENO: result: yes" >&5
5470 echo "${ECHO_T}yes" >&6
5471 else
5472 echo "$as_me:$LINENO: result: no" >&5
5473 echo "${ECHO_T}no" >&6
5474 fi
5475
5476
5477 enablestring=
5478 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5479 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6
5480 no_cache=0
5481 # Check whether --enable-mslu or --disable-mslu was given.
5482 if test "${enable_mslu+set}" = set; then
5483 enableval="$enable_mslu"
5484
5485 if test "$enableval" = yes; then
5486 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
5487 else
5488 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
5489 fi
5490
5491 else
5492
5493 LINE=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
5494 if test "x$LINE" != x ; then
5495 eval "DEFAULT_$LINE"
5496 else
5497 no_cache=1
5498 fi
5499
5500 ac_cv_use_mslu='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
5501
5502 fi;
5503
5504 eval "$ac_cv_use_mslu"
5505 if test "$no_cache" != 1; then
5506 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
5507 fi
5508
5509 if test "$wxUSE_UNICODE_MSLU" = yes; then
5510 echo "$as_me:$LINENO: result: yes" >&5
5511 echo "${ECHO_T}yes" >&6
5512 else
5513 echo "$as_me:$LINENO: result: no" >&5
5514 echo "${ECHO_T}no" >&6
5515 fi
5516
5517
5518 enablestring=
5519 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
5520 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
5521 no_cache=0
5522 # Check whether --enable-snglinst or --disable-snglinst was given.
5523 if test "${enable_snglinst+set}" = set; then
5524 enableval="$enable_snglinst"
5525
5526 if test "$enableval" = yes; then
5527 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
5528 else
5529 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
5530 fi
5531
5532 else
5533
5534 LINE=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
5535 if test "x$LINE" != x ; then
5536 eval "DEFAULT_$LINE"
5537 else
5538 no_cache=1
5539 fi
5540
5541 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
5542
5543 fi;
5544
5545 eval "$ac_cv_use_snglinst"
5546 if test "$no_cache" != 1; then
5547 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
5548 fi
5549
5550 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
5551 echo "$as_me:$LINENO: result: yes" >&5
5552 echo "${ECHO_T}yes" >&6
5553 else
5554 echo "$as_me:$LINENO: result: no" >&5
5555 echo "${ECHO_T}no" >&6
5556 fi
5557
5558
5559 enablestring=
5560 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
5561 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
5562 no_cache=0
5563 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
5564 if test "${enable_std_iostreams+set}" = set; then
5565 enableval="$enable_std_iostreams"
5566
5567 if test "$enableval" = yes; then
5568 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
5569 else
5570 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
5571 fi
5572
5573 else
5574
5575 LINE=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
5576 if test "x$LINE" != x ; then
5577 eval "DEFAULT_$LINE"
5578 else
5579 no_cache=1
5580 fi
5581
5582 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
5583
5584 fi;
5585
5586 eval "$ac_cv_use_std_iostreams"
5587 if test "$no_cache" != 1; then
5588 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
5589 fi
5590
5591 if test "$wxUSE_STD_IOSTREAM" = yes; then
5592 echo "$as_me:$LINENO: result: yes" >&5
5593 echo "${ECHO_T}yes" >&6
5594 else
5595 echo "$as_me:$LINENO: result: no" >&5
5596 echo "${ECHO_T}no" >&6
5597 fi
5598
5599
5600 enablestring=
5601 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
5602 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6
5603 no_cache=0
5604 # Check whether --enable-std_string or --disable-std_string was given.
5605 if test "${enable_std_string+set}" = set; then
5606 enableval="$enable_std_string"
5607
5608 if test "$enableval" = yes; then
5609 ac_cv_use_std_string='wxUSE_STD_STRING=yes'
5610 else
5611 ac_cv_use_std_string='wxUSE_STD_STRING=no'
5612 fi
5613
5614 else
5615
5616 LINE=`grep "wxUSE_STD_STRING" ${wx_arg_cache_file}`
5617 if test "x$LINE" != x ; then
5618 eval "DEFAULT_$LINE"
5619 else
5620 no_cache=1
5621 fi
5622
5623 ac_cv_use_std_string='wxUSE_STD_STRING='$DEFAULT_wxUSE_STD_STRING
5624
5625 fi;
5626
5627 eval "$ac_cv_use_std_string"
5628 if test "$no_cache" != 1; then
5629 echo $ac_cv_use_std_string >> ${wx_arg_cache_file}.tmp
5630 fi
5631
5632 if test "$wxUSE_STD_STRING" = yes; then
5633 echo "$as_me:$LINENO: result: yes" >&5
5634 echo "${ECHO_T}yes" >&6
5635 else
5636 echo "$as_me:$LINENO: result: no" >&5
5637 echo "${ECHO_T}no" >&6
5638 fi
5639
5640
5641 enablestring=
5642 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
5643 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6
5644 no_cache=0
5645 # Check whether --enable-stdpaths or --disable-stdpaths was given.
5646 if test "${enable_stdpaths+set}" = set; then
5647 enableval="$enable_stdpaths"
5648
5649 if test "$enableval" = yes; then
5650 ac_cv_use_stdpaths='wxUSE_STDPATHS=yes'
5651 else
5652 ac_cv_use_stdpaths='wxUSE_STDPATHS=no'
5653 fi
5654
5655 else
5656
5657 LINE=`grep "wxUSE_STDPATHS" ${wx_arg_cache_file}`
5658 if test "x$LINE" != x ; then
5659 eval "DEFAULT_$LINE"
5660 else
5661 no_cache=1
5662 fi
5663
5664 ac_cv_use_stdpaths='wxUSE_STDPATHS='$DEFAULT_wxUSE_STDPATHS
5665
5666 fi;
5667
5668 eval "$ac_cv_use_stdpaths"
5669 if test "$no_cache" != 1; then
5670 echo $ac_cv_use_stdpaths >> ${wx_arg_cache_file}.tmp
5671 fi
5672
5673 if test "$wxUSE_STDPATHS" = yes; then
5674 echo "$as_me:$LINENO: result: yes" >&5
5675 echo "${ECHO_T}yes" >&6
5676 else
5677 echo "$as_me:$LINENO: result: no" >&5
5678 echo "${ECHO_T}no" >&6
5679 fi
5680
5681
5682 enablestring=
5683 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
5684 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
5685 no_cache=0
5686 # Check whether --enable-stopwatch or --disable-stopwatch was given.
5687 if test "${enable_stopwatch+set}" = set; then
5688 enableval="$enable_stopwatch"
5689
5690 if test "$enableval" = yes; then
5691 ac_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
5692 else
5693 ac_cv_use_stopwatch='wxUSE_STOPWATCH=no'
5694 fi
5695
5696 else
5697
5698 LINE=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
5699 if test "x$LINE" != x ; then
5700 eval "DEFAULT_$LINE"
5701 else
5702 no_cache=1
5703 fi
5704
5705 ac_cv_use_stopwatch='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
5706
5707 fi;
5708
5709 eval "$ac_cv_use_stopwatch"
5710 if test "$no_cache" != 1; then
5711 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
5712 fi
5713
5714 if test "$wxUSE_STOPWATCH" = yes; then
5715 echo "$as_me:$LINENO: result: yes" >&5
5716 echo "${ECHO_T}yes" >&6
5717 else
5718 echo "$as_me:$LINENO: result: no" >&5
5719 echo "${ECHO_T}no" >&6
5720 fi
5721
5722
5723 enablestring=
5724 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
5725 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
5726 no_cache=0
5727 # Check whether --enable-streams or --disable-streams was given.
5728 if test "${enable_streams+set}" = set; then
5729 enableval="$enable_streams"
5730
5731 if test "$enableval" = yes; then
5732 ac_cv_use_streams='wxUSE_STREAMS=yes'
5733 else
5734 ac_cv_use_streams='wxUSE_STREAMS=no'
5735 fi
5736
5737 else
5738
5739 LINE=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
5740 if test "x$LINE" != x ; then
5741 eval "DEFAULT_$LINE"
5742 else
5743 no_cache=1
5744 fi
5745
5746 ac_cv_use_streams='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
5747
5748 fi;
5749
5750 eval "$ac_cv_use_streams"
5751 if test "$no_cache" != 1; then
5752 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
5753 fi
5754
5755 if test "$wxUSE_STREAMS" = yes; then
5756 echo "$as_me:$LINENO: result: yes" >&5
5757 echo "${ECHO_T}yes" >&6
5758 else
5759 echo "$as_me:$LINENO: result: no" >&5
5760 echo "${ECHO_T}no" >&6
5761 fi
5762
5763
5764 enablestring=
5765 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
5766 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6
5767 no_cache=0
5768 # Check whether --enable-system_options or --disable-system_options was given.
5769 if test "${enable_system_options+set}" = set; then
5770 enableval="$enable_system_options"
5771
5772 if test "$enableval" = yes; then
5773 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
5774 else
5775 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
5776 fi
5777
5778 else
5779
5780 LINE=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
5781 if test "x$LINE" != x ; then
5782 eval "DEFAULT_$LINE"
5783 else
5784 no_cache=1
5785 fi
5786
5787 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
5788
5789 fi;
5790
5791 eval "$ac_cv_use_system_options"
5792 if test "$no_cache" != 1; then
5793 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
5794 fi
5795
5796 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
5797 echo "$as_me:$LINENO: result: yes" >&5
5798 echo "${ECHO_T}yes" >&6
5799 else
5800 echo "$as_me:$LINENO: result: no" >&5
5801 echo "${ECHO_T}no" >&6
5802 fi
5803
5804
5805 enablestring=
5806 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
5807 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
5808 no_cache=0
5809 # Check whether --enable-textbuf or --disable-textbuf was given.
5810 if test "${enable_textbuf+set}" = set; then
5811 enableval="$enable_textbuf"
5812
5813 if test "$enableval" = yes; then
5814 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
5815 else
5816 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
5817 fi
5818
5819 else
5820
5821 LINE=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
5822 if test "x$LINE" != x ; then
5823 eval "DEFAULT_$LINE"
5824 else
5825 no_cache=1
5826 fi
5827
5828 ac_cv_use_textbuf='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
5829
5830 fi;
5831
5832 eval "$ac_cv_use_textbuf"
5833 if test "$no_cache" != 1; then
5834 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
5835 fi
5836
5837 if test "$wxUSE_TEXTBUFFER" = yes; then
5838 echo "$as_me:$LINENO: result: yes" >&5
5839 echo "${ECHO_T}yes" >&6
5840 else
5841 echo "$as_me:$LINENO: result: no" >&5
5842 echo "${ECHO_T}no" >&6
5843 fi
5844
5845
5846 enablestring=
5847 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
5848 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
5849 no_cache=0
5850 # Check whether --enable-textfile or --disable-textfile was given.
5851 if test "${enable_textfile+set}" = set; then
5852 enableval="$enable_textfile"
5853
5854 if test "$enableval" = yes; then
5855 ac_cv_use_textfile='wxUSE_TEXTFILE=yes'
5856 else
5857 ac_cv_use_textfile='wxUSE_TEXTFILE=no'
5858 fi
5859
5860 else
5861
5862 LINE=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
5863 if test "x$LINE" != x ; then
5864 eval "DEFAULT_$LINE"
5865 else
5866 no_cache=1
5867 fi
5868
5869 ac_cv_use_textfile='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
5870
5871 fi;
5872
5873 eval "$ac_cv_use_textfile"
5874 if test "$no_cache" != 1; then
5875 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
5876 fi
5877
5878 if test "$wxUSE_TEXTFILE" = yes; then
5879 echo "$as_me:$LINENO: result: yes" >&5
5880 echo "${ECHO_T}yes" >&6
5881 else
5882 echo "$as_me:$LINENO: result: no" >&5
5883 echo "${ECHO_T}no" >&6
5884 fi
5885
5886
5887 enablestring=
5888 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
5889 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
5890 no_cache=0
5891 # Check whether --enable-timer or --disable-timer was given.
5892 if test "${enable_timer+set}" = set; then
5893 enableval="$enable_timer"
5894
5895 if test "$enableval" = yes; then
5896 ac_cv_use_timer='wxUSE_TIMER=yes'
5897 else
5898 ac_cv_use_timer='wxUSE_TIMER=no'
5899 fi
5900
5901 else
5902
5903 LINE=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
5904 if test "x$LINE" != x ; then
5905 eval "DEFAULT_$LINE"
5906 else
5907 no_cache=1
5908 fi
5909
5910 ac_cv_use_timer='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
5911
5912 fi;
5913
5914 eval "$ac_cv_use_timer"
5915 if test "$no_cache" != 1; then
5916 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
5917 fi
5918
5919 if test "$wxUSE_TIMER" = yes; then
5920 echo "$as_me:$LINENO: result: yes" >&5
5921 echo "${ECHO_T}yes" >&6
5922 else
5923 echo "$as_me:$LINENO: result: no" >&5
5924 echo "${ECHO_T}no" >&6
5925 fi
5926
5927
5928 enablestring=
5929 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
5930 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
5931 no_cache=0
5932 # Check whether --enable-unicode or --disable-unicode was given.
5933 if test "${enable_unicode+set}" = set; then
5934 enableval="$enable_unicode"
5935
5936 if test "$enableval" = yes; then
5937 ac_cv_use_unicode='wxUSE_UNICODE=yes'
5938 else
5939 ac_cv_use_unicode='wxUSE_UNICODE=no'
5940 fi
5941
5942 else
5943
5944 LINE=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
5945 if test "x$LINE" != x ; then
5946 eval "DEFAULT_$LINE"
5947 else
5948 no_cache=1
5949 fi
5950
5951 ac_cv_use_unicode='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
5952
5953 fi;
5954
5955 eval "$ac_cv_use_unicode"
5956 if test "$no_cache" != 1; then
5957 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
5958 fi
5959
5960 if test "$wxUSE_UNICODE" = yes; then
5961 echo "$as_me:$LINENO: result: yes" >&5
5962 echo "${ECHO_T}yes" >&6
5963 else
5964 echo "$as_me:$LINENO: result: no" >&5
5965 echo "${ECHO_T}no" >&6
5966 fi
5967
5968
5969 enablestring=
5970 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
5971 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6
5972 no_cache=0
5973 # Check whether --enable-sound or --disable-sound was given.
5974 if test "${enable_sound+set}" = set; then
5975 enableval="$enable_sound"
5976
5977 if test "$enableval" = yes; then
5978 ac_cv_use_sound='wxUSE_SOUND=yes'
5979 else
5980 ac_cv_use_sound='wxUSE_SOUND=no'
5981 fi
5982
5983 else
5984
5985 LINE=`grep "wxUSE_SOUND" ${wx_arg_cache_file}`
5986 if test "x$LINE" != x ; then
5987 eval "DEFAULT_$LINE"
5988 else
5989 no_cache=1
5990 fi
5991
5992 ac_cv_use_sound='wxUSE_SOUND='$DEFAULT_wxUSE_SOUND
5993
5994 fi;
5995
5996 eval "$ac_cv_use_sound"
5997 if test "$no_cache" != 1; then
5998 echo $ac_cv_use_sound >> ${wx_arg_cache_file}.tmp
5999 fi
6000
6001 if test "$wxUSE_SOUND" = yes; then
6002 echo "$as_me:$LINENO: result: yes" >&5
6003 echo "${ECHO_T}yes" >&6
6004 else
6005 echo "$as_me:$LINENO: result: no" >&5
6006 echo "${ECHO_T}no" >&6
6007 fi
6008
6009
6010 enablestring=
6011 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
6012 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6
6013 no_cache=0
6014 # Check whether --enable-mediactrl or --disable-mediactrl was given.
6015 if test "${enable_mediactrl+set}" = set; then
6016 enableval="$enable_mediactrl"
6017
6018 if test "$enableval" = yes; then
6019 ac_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
6020 else
6021 ac_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
6022 fi
6023
6024 else
6025
6026 LINE=`grep "wxUSE_MEDIACTRL" ${wx_arg_cache_file}`
6027 if test "x$LINE" != x ; then
6028 eval "DEFAULT_$LINE"
6029 else
6030 no_cache=1
6031 fi
6032
6033 ac_cv_use_mediactrl='wxUSE_MEDIACTRL='$DEFAULT_wxUSE_MEDIACTRL
6034
6035 fi;
6036
6037 eval "$ac_cv_use_mediactrl"
6038 if test "$no_cache" != 1; then
6039 echo $ac_cv_use_mediactrl >> ${wx_arg_cache_file}.tmp
6040 fi
6041
6042 if test "$wxUSE_MEDIACTRL" = yes; then
6043 echo "$as_me:$LINENO: result: yes" >&5
6044 echo "${ECHO_T}yes" >&6
6045 else
6046 echo "$as_me:$LINENO: result: no" >&5
6047 echo "${ECHO_T}no" >&6
6048 fi
6049
6050
6051 enablestring=
6052 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxprintfv" >&5
6053 echo $ECHO_N "checking for --${enablestring:-enable}-wxprintfv... $ECHO_C" >&6
6054 no_cache=0
6055 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
6056 if test "${enable_wxprintfv+set}" = set; then
6057 enableval="$enable_wxprintfv"
6058
6059 if test "$enableval" = yes; then
6060 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF=yes'
6061 else
6062 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF=no'
6063 fi
6064
6065 else
6066
6067 LINE=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
6068 if test "x$LINE" != x ; then
6069 eval "DEFAULT_$LINE"
6070 else
6071 no_cache=1
6072 fi
6073
6074 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
6075
6076 fi;
6077
6078 eval "$ac_cv_use_wxprintfv"
6079 if test "$no_cache" != 1; then
6080 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
6081 fi
6082
6083 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
6084 echo "$as_me:$LINENO: result: yes" >&5
6085 echo "${ECHO_T}yes" >&6
6086 else
6087 echo "$as_me:$LINENO: result: no" >&5
6088 echo "${ECHO_T}no" >&6
6089 fi
6090
6091
6092 enablestring=
6093 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
6094 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
6095 no_cache=0
6096 # Check whether --enable-zipstream or --disable-zipstream was given.
6097 if test "${enable_zipstream+set}" = set; then
6098 enableval="$enable_zipstream"
6099
6100 if test "$enableval" = yes; then
6101 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
6102 else
6103 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
6104 fi
6105
6106 else
6107
6108 LINE=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
6109 if test "x$LINE" != x ; then
6110 eval "DEFAULT_$LINE"
6111 else
6112 no_cache=1
6113 fi
6114
6115 ac_cv_use_zipstream='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
6116
6117 fi;
6118
6119 eval "$ac_cv_use_zipstream"
6120 if test "$no_cache" != 1; then
6121 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
6122 fi
6123
6124 if test "$wxUSE_ZIPSTREAM" = yes; then
6125 echo "$as_me:$LINENO: result: yes" >&5
6126 echo "${ECHO_T}yes" >&6
6127 else
6128 echo "$as_me:$LINENO: result: no" >&5
6129 echo "${ECHO_T}no" >&6
6130 fi
6131
6132
6133
6134 enablestring=
6135 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
6136 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
6137 no_cache=0
6138 # Check whether --enable-url or --disable-url was given.
6139 if test "${enable_url+set}" = set; then
6140 enableval="$enable_url"
6141
6142 if test "$enableval" = yes; then
6143 ac_cv_use_url='wxUSE_URL=yes'
6144 else
6145 ac_cv_use_url='wxUSE_URL=no'
6146 fi
6147
6148 else
6149
6150 LINE=`grep "wxUSE_URL" ${wx_arg_cache_file}`
6151 if test "x$LINE" != x ; then
6152 eval "DEFAULT_$LINE"
6153 else
6154 no_cache=1
6155 fi
6156
6157 ac_cv_use_url='wxUSE_URL='$DEFAULT_wxUSE_URL
6158
6159 fi;
6160
6161 eval "$ac_cv_use_url"
6162 if test "$no_cache" != 1; then
6163 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
6164 fi
6165
6166 if test "$wxUSE_URL" = yes; then
6167 echo "$as_me:$LINENO: result: yes" >&5
6168 echo "${ECHO_T}yes" >&6
6169 else
6170 echo "$as_me:$LINENO: result: no" >&5
6171 echo "${ECHO_T}no" >&6
6172 fi
6173
6174
6175 enablestring=
6176 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
6177 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
6178 no_cache=0
6179 # Check whether --enable-protocol or --disable-protocol was given.
6180 if test "${enable_protocol+set}" = set; then
6181 enableval="$enable_protocol"
6182
6183 if test "$enableval" = yes; then
6184 ac_cv_use_protocol='wxUSE_PROTOCOL=yes'
6185 else
6186 ac_cv_use_protocol='wxUSE_PROTOCOL=no'
6187 fi
6188
6189 else
6190
6191 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
6192 if test "x$LINE" != x ; then
6193 eval "DEFAULT_$LINE"
6194 else
6195 no_cache=1
6196 fi
6197
6198 ac_cv_use_protocol='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
6199
6200 fi;
6201
6202 eval "$ac_cv_use_protocol"
6203 if test "$no_cache" != 1; then
6204 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
6205 fi
6206
6207 if test "$wxUSE_PROTOCOL" = yes; then
6208 echo "$as_me:$LINENO: result: yes" >&5
6209 echo "${ECHO_T}yes" >&6
6210 else
6211 echo "$as_me:$LINENO: result: no" >&5
6212 echo "${ECHO_T}no" >&6
6213 fi
6214
6215
6216 enablestring=
6217 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
6218 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
6219 no_cache=0
6220 # Check whether --enable-protocol_http or --disable-protocol_http was given.
6221 if test "${enable_protocol_http+set}" = set; then
6222 enableval="$enable_protocol_http"
6223
6224 if test "$enableval" = yes; then
6225 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
6226 else
6227 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
6228 fi
6229
6230 else
6231
6232 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
6233 if test "x$LINE" != x ; then
6234 eval "DEFAULT_$LINE"
6235 else
6236 no_cache=1
6237 fi
6238
6239 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
6240
6241 fi;
6242
6243 eval "$ac_cv_use_protocol_http"
6244 if test "$no_cache" != 1; then
6245 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
6246 fi
6247
6248 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
6249 echo "$as_me:$LINENO: result: yes" >&5
6250 echo "${ECHO_T}yes" >&6
6251 else
6252 echo "$as_me:$LINENO: result: no" >&5
6253 echo "${ECHO_T}no" >&6
6254 fi
6255
6256
6257 enablestring=
6258 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
6259 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
6260 no_cache=0
6261 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
6262 if test "${enable_protocol_ftp+set}" = set; then
6263 enableval="$enable_protocol_ftp"
6264
6265 if test "$enableval" = yes; then
6266 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
6267 else
6268 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
6269 fi
6270
6271 else
6272
6273 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
6274 if test "x$LINE" != x ; then
6275 eval "DEFAULT_$LINE"
6276 else
6277 no_cache=1
6278 fi
6279
6280 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
6281
6282 fi;
6283
6284 eval "$ac_cv_use_protocol_ftp"
6285 if test "$no_cache" != 1; then
6286 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
6287 fi
6288
6289 if test "$wxUSE_PROTOCOL_FTP" = yes; then
6290 echo "$as_me:$LINENO: result: yes" >&5
6291 echo "${ECHO_T}yes" >&6
6292 else
6293 echo "$as_me:$LINENO: result: no" >&5
6294 echo "${ECHO_T}no" >&6
6295 fi
6296
6297
6298 enablestring=
6299 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
6300 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
6301 no_cache=0
6302 # Check whether --enable-protocol_file or --disable-protocol_file was given.
6303 if test "${enable_protocol_file+set}" = set; then
6304 enableval="$enable_protocol_file"
6305
6306 if test "$enableval" = yes; then
6307 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
6308 else
6309 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
6310 fi
6311
6312 else
6313
6314 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
6315 if test "x$LINE" != x ; then
6316 eval "DEFAULT_$LINE"
6317 else
6318 no_cache=1
6319 fi
6320
6321 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
6322
6323 fi;
6324
6325 eval "$ac_cv_use_protocol_file"
6326 if test "$no_cache" != 1; then
6327 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
6328 fi
6329
6330 if test "$wxUSE_PROTOCOL_FILE" = yes; then
6331 echo "$as_me:$LINENO: result: yes" >&5
6332 echo "${ECHO_T}yes" >&6
6333 else
6334 echo "$as_me:$LINENO: result: no" >&5
6335 echo "${ECHO_T}no" >&6
6336 fi
6337
6338
6339
6340
6341
6342 enablestring=
6343 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
6344 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
6345 no_cache=0
6346 # Check whether --enable-threads or --disable-threads was given.
6347 if test "${enable_threads+set}" = set; then
6348 enableval="$enable_threads"
6349
6350 if test "$enableval" = yes; then
6351 ac_cv_use_threads='wxUSE_THREADS=yes'
6352 else
6353 ac_cv_use_threads='wxUSE_THREADS=no'
6354 fi
6355
6356 else
6357
6358 LINE=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
6359 if test "x$LINE" != x ; then
6360 eval "DEFAULT_$LINE"
6361 else
6362 no_cache=1
6363 fi
6364
6365 ac_cv_use_threads='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
6366
6367 fi;
6368
6369 eval "$ac_cv_use_threads"
6370 if test "$no_cache" != 1; then
6371 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
6372 fi
6373
6374 if test "$wxUSE_THREADS" = yes; then
6375 echo "$as_me:$LINENO: result: yes" >&5
6376 echo "${ECHO_T}yes" >&6
6377 else
6378 echo "$as_me:$LINENO: result: no" >&5
6379 echo "${ECHO_T}no" >&6
6380 fi
6381
6382
6383 if test "$wxUSE_GUI" = "yes"; then
6384
6385
6386
6387 enablestring=
6388 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
6389 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
6390 no_cache=0
6391 # Check whether --enable-docview or --disable-docview was given.
6392 if test "${enable_docview+set}" = set; then
6393 enableval="$enable_docview"
6394
6395 if test "$enableval" = yes; then
6396 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
6397 else
6398 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
6399 fi
6400
6401 else
6402
6403 LINE=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
6404 if test "x$LINE" != x ; then
6405 eval "DEFAULT_$LINE"
6406 else
6407 no_cache=1
6408 fi
6409
6410 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
6411
6412 fi;
6413
6414 eval "$ac_cv_use_docview"
6415 if test "$no_cache" != 1; then
6416 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
6417 fi
6418
6419 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
6420 echo "$as_me:$LINENO: result: yes" >&5
6421 echo "${ECHO_T}yes" >&6
6422 else
6423 echo "$as_me:$LINENO: result: no" >&5
6424 echo "${ECHO_T}no" >&6
6425 fi
6426
6427
6428 enablestring=
6429 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
6430 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
6431 no_cache=0
6432 # Check whether --enable-help or --disable-help was given.
6433 if test "${enable_help+set}" = set; then
6434 enableval="$enable_help"
6435
6436 if test "$enableval" = yes; then
6437 ac_cv_use_help='wxUSE_HELP=yes'
6438 else
6439 ac_cv_use_help='wxUSE_HELP=no'
6440 fi
6441
6442 else
6443
6444 LINE=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
6445 if test "x$LINE" != x ; then
6446 eval "DEFAULT_$LINE"
6447 else
6448 no_cache=1
6449 fi
6450
6451 ac_cv_use_help='wxUSE_HELP='$DEFAULT_wxUSE_HELP
6452
6453 fi;
6454
6455 eval "$ac_cv_use_help"
6456 if test "$no_cache" != 1; then
6457 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
6458 fi
6459
6460 if test "$wxUSE_HELP" = yes; then
6461 echo "$as_me:$LINENO: result: yes" >&5
6462 echo "${ECHO_T}yes" >&6
6463 else
6464 echo "$as_me:$LINENO: result: no" >&5
6465 echo "${ECHO_T}no" >&6
6466 fi
6467
6468
6469 enablestring=
6470 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
6471 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6
6472 no_cache=0
6473 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
6474 if test "${enable_mshtmlhelp+set}" = set; then
6475 enableval="$enable_mshtmlhelp"
6476
6477 if test "$enableval" = yes; then
6478 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
6479 else
6480 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
6481 fi
6482
6483 else
6484
6485 LINE=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
6486 if test "x$LINE" != x ; then
6487 eval "DEFAULT_$LINE"
6488 else
6489 no_cache=1
6490 fi
6491
6492 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
6493
6494 fi;
6495
6496 eval "$ac_cv_use_mshtmlhelp"
6497 if test "$no_cache" != 1; then
6498 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
6499 fi
6500
6501 if test "$wxUSE_MS_HTML_HELP" = yes; then
6502 echo "$as_me:$LINENO: result: yes" >&5
6503 echo "${ECHO_T}yes" >&6
6504 else
6505 echo "$as_me:$LINENO: result: no" >&5
6506 echo "${ECHO_T}no" >&6
6507 fi
6508
6509
6510 enablestring=
6511 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
6512 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
6513 no_cache=0
6514 # Check whether --enable-html or --disable-html was given.
6515 if test "${enable_html+set}" = set; then
6516 enableval="$enable_html"
6517
6518 if test "$enableval" = yes; then
6519 ac_cv_use_html='wxUSE_HTML=yes'
6520 else
6521 ac_cv_use_html='wxUSE_HTML=no'
6522 fi
6523
6524 else
6525
6526 LINE=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
6527 if test "x$LINE" != x ; then
6528 eval "DEFAULT_$LINE"
6529 else
6530 no_cache=1
6531 fi
6532
6533 ac_cv_use_html='wxUSE_HTML='$DEFAULT_wxUSE_HTML
6534
6535 fi;
6536
6537 eval "$ac_cv_use_html"
6538 if test "$no_cache" != 1; then
6539 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
6540 fi
6541
6542 if test "$wxUSE_HTML" = yes; then
6543 echo "$as_me:$LINENO: result: yes" >&5
6544 echo "${ECHO_T}yes" >&6
6545 else
6546 echo "$as_me:$LINENO: result: no" >&5
6547 echo "${ECHO_T}no" >&6
6548 fi
6549
6550
6551 enablestring=
6552 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
6553 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
6554 no_cache=0
6555 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
6556 if test "${enable_htmlhelp+set}" = set; then
6557 enableval="$enable_htmlhelp"
6558
6559 if test "$enableval" = yes; then
6560 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
6561 else
6562 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
6563 fi
6564
6565 else
6566
6567 LINE=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
6568 if test "x$LINE" != x ; then
6569 eval "DEFAULT_$LINE"
6570 else
6571 no_cache=1
6572 fi
6573
6574 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
6575
6576 fi;
6577
6578 eval "$ac_cv_use_htmlhelp"
6579 if test "$no_cache" != 1; then
6580 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
6581 fi
6582
6583 if test "$wxUSE_WXHTML_HELP" = yes; then
6584 echo "$as_me:$LINENO: result: yes" >&5
6585 echo "${ECHO_T}yes" >&6
6586 else
6587 echo "$as_me:$LINENO: result: no" >&5
6588 echo "${ECHO_T}no" >&6
6589 fi
6590
6591
6592 enablestring=
6593 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
6594 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6
6595 no_cache=0
6596 # Check whether --enable-xrc or --disable-xrc was given.
6597 if test "${enable_xrc+set}" = set; then
6598 enableval="$enable_xrc"
6599
6600 if test "$enableval" = yes; then
6601 ac_cv_use_xrc='wxUSE_XRC=yes'
6602 else
6603 ac_cv_use_xrc='wxUSE_XRC=no'
6604 fi
6605
6606 else
6607
6608 LINE=`grep "wxUSE_XRC" ${wx_arg_cache_file}`
6609 if test "x$LINE" != x ; then
6610 eval "DEFAULT_$LINE"
6611 else
6612 no_cache=1
6613 fi
6614
6615 ac_cv_use_xrc='wxUSE_XRC='$DEFAULT_wxUSE_XRC
6616
6617 fi;
6618
6619 eval "$ac_cv_use_xrc"
6620 if test "$no_cache" != 1; then
6621 echo $ac_cv_use_xrc >> ${wx_arg_cache_file}.tmp
6622 fi
6623
6624 if test "$wxUSE_XRC" = yes; then
6625 echo "$as_me:$LINENO: result: yes" >&5
6626 echo "${ECHO_T}yes" >&6
6627 else
6628 echo "$as_me:$LINENO: result: no" >&5
6629 echo "${ECHO_T}no" >&6
6630 fi
6631
6632
6633 enablestring=
6634 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
6635 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6
6636 no_cache=0
6637 # Check whether --enable-constraints or --disable-constraints was given.
6638 if test "${enable_constraints+set}" = set; then
6639 enableval="$enable_constraints"
6640
6641 if test "$enableval" = yes; then
6642 ac_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
6643 else
6644 ac_cv_use_constraints='wxUSE_CONSTRAINTS=no'
6645 fi
6646
6647 else
6648
6649 LINE=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
6650 if test "x$LINE" != x ; then
6651 eval "DEFAULT_$LINE"
6652 else
6653 no_cache=1
6654 fi
6655
6656 ac_cv_use_constraints='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
6657
6658 fi;
6659
6660 eval "$ac_cv_use_constraints"
6661 if test "$no_cache" != 1; then
6662 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
6663 fi
6664
6665 if test "$wxUSE_CONSTRAINTS" = yes; then
6666 echo "$as_me:$LINENO: result: yes" >&5
6667 echo "${ECHO_T}yes" >&6
6668 else
6669 echo "$as_me:$LINENO: result: no" >&5
6670 echo "${ECHO_T}no" >&6
6671 fi
6672
6673
6674 enablestring=
6675 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
6676 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
6677 no_cache=0
6678 # Check whether --enable-printarch or --disable-printarch was given.
6679 if test "${enable_printarch+set}" = set; then
6680 enableval="$enable_printarch"
6681
6682 if test "$enableval" = yes; then
6683 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
6684 else
6685 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
6686 fi
6687
6688 else
6689
6690 LINE=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
6691 if test "x$LINE" != x ; then
6692 eval "DEFAULT_$LINE"
6693 else
6694 no_cache=1
6695 fi
6696
6697 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
6698
6699 fi;
6700
6701 eval "$ac_cv_use_printarch"
6702 if test "$no_cache" != 1; then
6703 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
6704 fi
6705
6706 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
6707 echo "$as_me:$LINENO: result: yes" >&5
6708 echo "${ECHO_T}yes" >&6
6709 else
6710 echo "$as_me:$LINENO: result: no" >&5
6711 echo "${ECHO_T}no" >&6
6712 fi
6713
6714
6715 enablestring=
6716 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
6717 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
6718 no_cache=0
6719 # Check whether --enable-mdi or --disable-mdi was given.
6720 if test "${enable_mdi+set}" = set; then
6721 enableval="$enable_mdi"
6722
6723 if test "$enableval" = yes; then
6724 ac_cv_use_mdi='wxUSE_MDI=yes'
6725 else
6726 ac_cv_use_mdi='wxUSE_MDI=no'
6727 fi
6728
6729 else
6730
6731 LINE=`grep "wxUSE_MDI" ${wx_arg_cache_file}`
6732 if test "x$LINE" != x ; then
6733 eval "DEFAULT_$LINE"
6734 else
6735 no_cache=1
6736 fi
6737
6738 ac_cv_use_mdi='wxUSE_MDI='$DEFAULT_wxUSE_MDI
6739
6740 fi;
6741
6742 eval "$ac_cv_use_mdi"
6743 if test "$no_cache" != 1; then
6744 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
6745 fi
6746
6747 if test "$wxUSE_MDI" = yes; then
6748 echo "$as_me:$LINENO: result: yes" >&5
6749 echo "${ECHO_T}yes" >&6
6750 else
6751 echo "$as_me:$LINENO: result: no" >&5
6752 echo "${ECHO_T}no" >&6
6753 fi
6754
6755
6756 enablestring=
6757 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
6758 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6
6759 no_cache=0
6760 # Check whether --enable-mdidoc or --disable-mdidoc was given.
6761 if test "${enable_mdidoc+set}" = set; then
6762 enableval="$enable_mdidoc"
6763
6764 if test "$enableval" = yes; then
6765 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
6766 else
6767 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
6768 fi
6769
6770 else
6771
6772 LINE=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
6773 if test "x$LINE" != x ; then
6774 eval "DEFAULT_$LINE"
6775 else
6776 no_cache=1
6777 fi
6778
6779 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
6780
6781 fi;
6782
6783 eval "$ac_cv_use_mdidoc"
6784 if test "$no_cache" != 1; then
6785 echo $ac_cv_use_mdidoc >> ${wx_arg_cache_file}.tmp
6786 fi
6787
6788 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
6789 echo "$as_me:$LINENO: result: yes" >&5
6790 echo "${ECHO_T}yes" >&6
6791 else
6792 echo "$as_me:$LINENO: result: no" >&5
6793 echo "${ECHO_T}no" >&6
6794 fi
6795
6796
6797 enablestring=
6798 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
6799 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
6800 no_cache=0
6801 # Check whether --enable-loggui or --disable-loggui was given.
6802 if test "${enable_loggui+set}" = set; then
6803 enableval="$enable_loggui"
6804
6805 if test "$enableval" = yes; then
6806 ac_cv_use_loggui='wxUSE_LOGGUI=yes'
6807 else
6808 ac_cv_use_loggui='wxUSE_LOGGUI=no'
6809 fi
6810
6811 else
6812
6813 LINE=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
6814 if test "x$LINE" != x ; then
6815 eval "DEFAULT_$LINE"
6816 else
6817 no_cache=1
6818 fi
6819
6820 ac_cv_use_loggui='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
6821
6822 fi;
6823
6824 eval "$ac_cv_use_loggui"
6825 if test "$no_cache" != 1; then
6826 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
6827 fi
6828
6829 if test "$wxUSE_LOGGUI" = yes; then
6830 echo "$as_me:$LINENO: result: yes" >&5
6831 echo "${ECHO_T}yes" >&6
6832 else
6833 echo "$as_me:$LINENO: result: no" >&5
6834 echo "${ECHO_T}no" >&6
6835 fi
6836
6837
6838 enablestring=
6839 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
6840 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
6841 no_cache=0
6842 # Check whether --enable-logwin or --disable-logwin was given.
6843 if test "${enable_logwin+set}" = set; then
6844 enableval="$enable_logwin"
6845
6846 if test "$enableval" = yes; then
6847 ac_cv_use_logwin='wxUSE_LOGWINDOW=yes'
6848 else
6849 ac_cv_use_logwin='wxUSE_LOGWINDOW=no'
6850 fi
6851
6852 else
6853
6854 LINE=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
6855 if test "x$LINE" != x ; then
6856 eval "DEFAULT_$LINE"
6857 else
6858 no_cache=1
6859 fi
6860
6861 ac_cv_use_logwin='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
6862
6863 fi;
6864
6865 eval "$ac_cv_use_logwin"
6866 if test "$no_cache" != 1; then
6867 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
6868 fi
6869
6870 if test "$wxUSE_LOGWINDOW" = yes; then
6871 echo "$as_me:$LINENO: result: yes" >&5
6872 echo "${ECHO_T}yes" >&6
6873 else
6874 echo "$as_me:$LINENO: result: no" >&5
6875 echo "${ECHO_T}no" >&6
6876 fi
6877
6878
6879 enablestring=
6880 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
6881 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6
6882 no_cache=0
6883 # Check whether --enable-logdialog or --disable-logdialog was given.
6884 if test "${enable_logdialog+set}" = set; then
6885 enableval="$enable_logdialog"
6886
6887 if test "$enableval" = yes; then
6888 ac_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
6889 else
6890 ac_cv_use_logdialog='wxUSE_LOGDIALOG=no'
6891 fi
6892
6893 else
6894
6895 LINE=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
6896 if test "x$LINE" != x ; then
6897 eval "DEFAULT_$LINE"
6898 else
6899 no_cache=1
6900 fi
6901
6902 ac_cv_use_logdialog='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
6903
6904 fi;
6905
6906 eval "$ac_cv_use_logdialog"
6907 if test "$no_cache" != 1; then
6908 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
6909 fi
6910
6911 if test "$wxUSE_LOGDIALOG" = yes; then
6912 echo "$as_me:$LINENO: result: yes" >&5
6913 echo "${ECHO_T}yes" >&6
6914 else
6915 echo "$as_me:$LINENO: result: no" >&5
6916 echo "${ECHO_T}no" >&6
6917 fi
6918
6919
6920 enablestring=
6921 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
6922 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6
6923 no_cache=0
6924 # Check whether --enable-webkit or --disable-webkit was given.
6925 if test "${enable_webkit+set}" = set; then
6926 enableval="$enable_webkit"
6927
6928 if test "$enableval" = yes; then
6929 ac_cv_use_webkit='wxUSE_WEBKIT=yes'
6930 else
6931 ac_cv_use_webkit='wxUSE_WEBKIT=no'
6932 fi
6933
6934 else
6935
6936 LINE=`grep "wxUSE_WEBKIT" ${wx_arg_cache_file}`
6937 if test "x$LINE" != x ; then
6938 eval "DEFAULT_$LINE"
6939 else
6940 no_cache=1
6941 fi
6942
6943 ac_cv_use_webkit='wxUSE_WEBKIT='$DEFAULT_wxUSE_WEBKIT
6944
6945 fi;
6946
6947 eval "$ac_cv_use_webkit"
6948 if test "$no_cache" != 1; then
6949 echo $ac_cv_use_webkit >> ${wx_arg_cache_file}.tmp
6950 fi
6951
6952 if test "$wxUSE_WEBKIT" = yes; then
6953 echo "$as_me:$LINENO: result: yes" >&5
6954 echo "${ECHO_T}yes" >&6
6955 else
6956 echo "$as_me:$LINENO: result: no" >&5
6957 echo "${ECHO_T}no" >&6
6958 fi
6959
6960
6961
6962 enablestring=
6963 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
6964 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
6965 no_cache=0
6966 # Check whether --enable-postscript or --disable-postscript was given.
6967 if test "${enable_postscript+set}" = set; then
6968 enableval="$enable_postscript"
6969
6970 if test "$enableval" = yes; then
6971 ac_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
6972 else
6973 ac_cv_use_postscript='wxUSE_POSTSCRIPT=no'
6974 fi
6975
6976 else
6977
6978 LINE=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
6979 if test "x$LINE" != x ; then
6980 eval "DEFAULT_$LINE"
6981 else
6982 no_cache=1
6983 fi
6984
6985 ac_cv_use_postscript='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
6986
6987 fi;
6988
6989 eval "$ac_cv_use_postscript"
6990 if test "$no_cache" != 1; then
6991 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
6992 fi
6993
6994 if test "$wxUSE_POSTSCRIPT" = yes; then
6995 echo "$as_me:$LINENO: result: yes" >&5
6996 echo "${ECHO_T}yes" >&6
6997 else
6998 echo "$as_me:$LINENO: result: no" >&5
6999 echo "${ECHO_T}no" >&6
7000 fi
7001
7002
7003
7004
7005
7006 enablestring=
7007 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
7008 echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6
7009 no_cache=0
7010 # Check whether --enable-prologio or --disable-prologio was given.
7011 if test "${enable_prologio+set}" = set; then
7012 enableval="$enable_prologio"
7013
7014 if test "$enableval" = yes; then
7015 ac_cv_use_prologio='wxUSE_PROLOGIO=yes'
7016 else
7017 ac_cv_use_prologio='wxUSE_PROLOGIO=no'
7018 fi
7019
7020 else
7021
7022 LINE=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
7023 if test "x$LINE" != x ; then
7024 eval "DEFAULT_$LINE"
7025 else
7026 no_cache=1
7027 fi
7028
7029 ac_cv_use_prologio='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
7030
7031 fi;
7032
7033 eval "$ac_cv_use_prologio"
7034 if test "$no_cache" != 1; then
7035 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
7036 fi
7037
7038 if test "$wxUSE_PROLOGIO" = yes; then
7039 echo "$as_me:$LINENO: result: yes" >&5
7040 echo "${ECHO_T}yes" >&6
7041 else
7042 echo "$as_me:$LINENO: result: no" >&5
7043 echo "${ECHO_T}no" >&6
7044 fi
7045
7046
7047 enablestring=
7048 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5
7049 echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6
7050 no_cache=0
7051 # Check whether --enable-resources or --disable-resources was given.
7052 if test "${enable_resources+set}" = set; then
7053 enableval="$enable_resources"
7054
7055 if test "$enableval" = yes; then
7056 ac_cv_use_resources='wxUSE_RESOURCES=yes'
7057 else
7058 ac_cv_use_resources='wxUSE_RESOURCES=no'
7059 fi
7060
7061 else
7062
7063 LINE=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
7064 if test "x$LINE" != x ; then
7065 eval "DEFAULT_$LINE"
7066 else
7067 no_cache=1
7068 fi
7069
7070 ac_cv_use_resources='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
7071
7072 fi;
7073
7074 eval "$ac_cv_use_resources"
7075 if test "$no_cache" != 1; then
7076 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
7077 fi
7078
7079 if test "$wxUSE_RESOURCES" = yes; then
7080 echo "$as_me:$LINENO: result: yes" >&5
7081 echo "${ECHO_T}yes" >&6
7082 else
7083 echo "$as_me:$LINENO: result: no" >&5
7084 echo "${ECHO_T}no" >&6
7085 fi
7086
7087
7088
7089
7090 enablestring=
7091 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
7092 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6
7093 no_cache=0
7094 # Check whether --enable-clipboard or --disable-clipboard was given.
7095 if test "${enable_clipboard+set}" = set; then
7096 enableval="$enable_clipboard"
7097
7098 if test "$enableval" = yes; then
7099 ac_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
7100 else
7101 ac_cv_use_clipboard='wxUSE_CLIPBOARD=no'
7102 fi
7103
7104 else
7105
7106 LINE=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
7107 if test "x$LINE" != x ; then
7108 eval "DEFAULT_$LINE"
7109 else
7110 no_cache=1
7111 fi
7112
7113 ac_cv_use_clipboard='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
7114
7115 fi;
7116
7117 eval "$ac_cv_use_clipboard"
7118 if test "$no_cache" != 1; then
7119 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
7120 fi
7121
7122 if test "$wxUSE_CLIPBOARD" = yes; then
7123 echo "$as_me:$LINENO: result: yes" >&5
7124 echo "${ECHO_T}yes" >&6
7125 else
7126 echo "$as_me:$LINENO: result: no" >&5
7127 echo "${ECHO_T}no" >&6
7128 fi
7129
7130
7131 enablestring=
7132 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
7133 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
7134 no_cache=0
7135 # Check whether --enable-dnd or --disable-dnd was given.
7136 if test "${enable_dnd+set}" = set; then
7137 enableval="$enable_dnd"
7138
7139 if test "$enableval" = yes; then
7140 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
7141 else
7142 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
7143 fi
7144
7145 else
7146
7147 LINE=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
7148 if test "x$LINE" != x ; then
7149 eval "DEFAULT_$LINE"
7150 else
7151 no_cache=1
7152 fi
7153
7154 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
7155
7156 fi;
7157
7158 eval "$ac_cv_use_dnd"
7159 if test "$no_cache" != 1; then
7160 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
7161 fi
7162
7163 if test "$wxUSE_DRAG_AND_DROP" = yes; then
7164 echo "$as_me:$LINENO: result: yes" >&5
7165 echo "${ECHO_T}yes" >&6
7166 else
7167 echo "$as_me:$LINENO: result: no" >&5
7168 echo "${ECHO_T}no" >&6
7169 fi
7170
7171
7172 enablestring=
7173 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
7174 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
7175 no_cache=0
7176 # Check whether --enable-metafile or --disable-metafile was given.
7177 if test "${enable_metafile+set}" = set; then
7178 enableval="$enable_metafile"
7179
7180 if test "$enableval" = yes; then
7181 ac_cv_use_metafile='wxUSE_METAFILE=yes'
7182 else
7183 ac_cv_use_metafile='wxUSE_METAFILE=no'
7184 fi
7185
7186 else
7187
7188 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
7189 if test "x$LINE" != x ; then
7190 eval "DEFAULT_$LINE"
7191 else
7192 no_cache=1
7193 fi
7194
7195 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
7196
7197 fi;
7198
7199 eval "$ac_cv_use_metafile"
7200 if test "$no_cache" != 1; then
7201 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
7202 fi
7203
7204 if test "$wxUSE_METAFILE" = yes; then
7205 echo "$as_me:$LINENO: result: yes" >&5
7206 echo "${ECHO_T}yes" >&6
7207 else
7208 echo "$as_me:$LINENO: result: no" >&5
7209 echo "${ECHO_T}no" >&6
7210 fi
7211
7212
7213
7214
7215
7216 enablestring=
7217 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
7218 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6
7219 no_cache=0
7220 # Check whether --enable-controls or --disable-controls was given.
7221 if test "${enable_controls+set}" = set; then
7222 enableval="$enable_controls"
7223
7224 if test "$enableval" = yes; then
7225 ac_cv_use_controls='wxUSE_CONTROLS=yes'
7226 else
7227 ac_cv_use_controls='wxUSE_CONTROLS=no'
7228 fi
7229
7230 else
7231
7232 LINE=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
7233 if test "x$LINE" != x ; then
7234 eval "DEFAULT_$LINE"
7235 else
7236 no_cache=1
7237 fi
7238
7239 ac_cv_use_controls='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
7240
7241 fi;
7242
7243 eval "$ac_cv_use_controls"
7244 if test "$no_cache" != 1; then
7245 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
7246 fi
7247
7248 if test "$wxUSE_CONTROLS" = yes; then
7249 echo "$as_me:$LINENO: result: yes" >&5
7250 echo "${ECHO_T}yes" >&6
7251 else
7252 echo "$as_me:$LINENO: result: no" >&5
7253 echo "${ECHO_T}no" >&6
7254 fi
7255
7256
7257 if test "$wxUSE_CONTROLS" = "yes"; then
7258 DEFAULT_wxUSE_ACCEL=yes
7259 DEFAULT_wxUSE_BMPBUTTON=yes
7260 DEFAULT_wxUSE_BUTTON=yes
7261 DEFAULT_wxUSE_CALCTRL=yes
7262 DEFAULT_wxUSE_CARET=yes
7263 DEFAULT_wxUSE_COMBOBOX=yes
7264 DEFAULT_wxUSE_CHECKBOX=yes
7265 DEFAULT_wxUSE_CHECKLISTBOX=yes
7266 DEFAULT_wxUSE_CHOICE=yes
7267 DEFAULT_wxUSE_CHOICEBOOK=yes
7268 DEFAULT_wxUSE_DATEPICKCTRL=yes
7269 DEFAULT_wxUSE_GAUGE=yes
7270 DEFAULT_wxUSE_GRID=yes
7271 DEFAULT_wxUSE_IMAGLIST=yes
7272 DEFAULT_wxUSE_LISTBOOK=yes
7273 DEFAULT_wxUSE_LISTBOX=yes
7274 DEFAULT_wxUSE_LISTCTRL=yes
7275 DEFAULT_wxUSE_NOTEBOOK=yes
7276 DEFAULT_wxUSE_RADIOBOX=yes
7277 DEFAULT_wxUSE_RADIOBTN=yes
7278 DEFAULT_wxUSE_SASH=yes
7279 DEFAULT_wxUSE_SCROLLBAR=yes
7280 DEFAULT_wxUSE_SLIDER=yes
7281 DEFAULT_wxUSE_SPINBTN=yes
7282 DEFAULT_wxUSE_SPINCTRL=yes
7283 DEFAULT_wxUSE_SPLITTER=yes
7284 DEFAULT_wxUSE_STATBMP=yes
7285 DEFAULT_wxUSE_STATBOX=yes
7286 DEFAULT_wxUSE_STATLINE=yes
7287 DEFAULT_wxUSE_STATUSBAR=yes
7288 DEFAULT_wxUSE_TAB_DIALOG=yes
7289 DEFAULT_wxUSE_TOGGLEBTN=yes
7290 DEFAULT_wxUSE_TOOLBAR=yes
7291 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
7292 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
7293 DEFAULT_wxUSE_TOOLTIPS=yes
7294 DEFAULT_wxUSE_TREECTRL=yes
7295 DEFAULT_wxUSE_POPUPWIN=yes
7296 DEFAULT_wxUSE_TIPWINDOW=yes
7297 elif test "$wxUSE_CONTROLS" = "no"; then
7298 DEFAULT_wxUSE_ACCEL=no
7299 DEFAULT_wxUSE_BMPBUTTON=no
7300 DEFAULT_wxUSE_BUTTON=no
7301 DEFAULT_wxUSE_CALCTRL=no
7302 DEFAULT_wxUSE_CARET=no
7303 DEFAULT_wxUSE_COMBOBOX=no
7304 DEFAULT_wxUSE_CHECKBOX=no
7305 DEFAULT_wxUSE_CHECKLISTBOX=no
7306 DEFAULT_wxUSE_CHOICE=no
7307 DEFAULT_wxUSE_CHOICEBOOK=no
7308 DEFAULT_wxUSE_DATEPICKCTRL=no
7309 DEFAULT_wxUSE_GAUGE=no
7310 DEFAULT_wxUSE_GRID=no
7311 DEFAULT_wxUSE_IMAGLIST=no
7312 DEFAULT_wxUSE_LISTBOOK=no
7313 DEFAULT_wxUSE_LISTBOX=no
7314 DEFAULT_wxUSE_LISTCTRL=no
7315 DEFAULT_wxUSE_NOTEBOOK=no
7316 DEFAULT_wxUSE_RADIOBOX=no
7317 DEFAULT_wxUSE_RADIOBTN=no
7318 DEFAULT_wxUSE_SASH=no
7319 DEFAULT_wxUSE_SCROLLBAR=no
7320 DEFAULT_wxUSE_SLIDER=no
7321 DEFAULT_wxUSE_SPINBTN=no
7322 DEFAULT_wxUSE_SPINCTRL=no
7323 DEFAULT_wxUSE_SPLITTER=no
7324 DEFAULT_wxUSE_STATBMP=no
7325 DEFAULT_wxUSE_STATBOX=no
7326 DEFAULT_wxUSE_STATLINE=no
7327 DEFAULT_wxUSE_STATUSBAR=no
7328 DEFAULT_wxUSE_TAB_DIALOG=no
7329 DEFAULT_wxUSE_TOGGLEBTN=no
7330 DEFAULT_wxUSE_TOOLBAR=no
7331 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
7332 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
7333 DEFAULT_wxUSE_TOOLTIPS=no
7334 DEFAULT_wxUSE_TREECTRL=no
7335 DEFAULT_wxUSE_POPUPWIN=no
7336 DEFAULT_wxUSE_TIPWINDOW=no
7337 fi
7338
7339
7340 enablestring=
7341 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
7342 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
7343 no_cache=0
7344 # Check whether --enable-accel or --disable-accel was given.
7345 if test "${enable_accel+set}" = set; then
7346 enableval="$enable_accel"
7347
7348 if test "$enableval" = yes; then
7349 ac_cv_use_accel='wxUSE_ACCEL=yes'
7350 else
7351 ac_cv_use_accel='wxUSE_ACCEL=no'
7352 fi
7353
7354 else
7355
7356 LINE=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
7357 if test "x$LINE" != x ; then
7358 eval "DEFAULT_$LINE"
7359 else
7360 no_cache=1
7361 fi
7362
7363 ac_cv_use_accel='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
7364
7365 fi;
7366
7367 eval "$ac_cv_use_accel"
7368 if test "$no_cache" != 1; then
7369 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
7370 fi
7371
7372 if test "$wxUSE_ACCEL" = yes; then
7373 echo "$as_me:$LINENO: result: yes" >&5
7374 echo "${ECHO_T}yes" >&6
7375 else
7376 echo "$as_me:$LINENO: result: no" >&5
7377 echo "${ECHO_T}no" >&6
7378 fi
7379
7380
7381 enablestring=
7382 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
7383 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
7384 no_cache=0
7385 # Check whether --enable-button or --disable-button was given.
7386 if test "${enable_button+set}" = set; then
7387 enableval="$enable_button"
7388
7389 if test "$enableval" = yes; then
7390 ac_cv_use_button='wxUSE_BUTTON=yes'
7391 else
7392 ac_cv_use_button='wxUSE_BUTTON=no'
7393 fi
7394
7395 else
7396
7397 LINE=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
7398 if test "x$LINE" != x ; then
7399 eval "DEFAULT_$LINE"
7400 else
7401 no_cache=1
7402 fi
7403
7404 ac_cv_use_button='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
7405
7406 fi;
7407
7408 eval "$ac_cv_use_button"
7409 if test "$no_cache" != 1; then
7410 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
7411 fi
7412
7413 if test "$wxUSE_BUTTON" = yes; then
7414 echo "$as_me:$LINENO: result: yes" >&5
7415 echo "${ECHO_T}yes" >&6
7416 else
7417 echo "$as_me:$LINENO: result: no" >&5
7418 echo "${ECHO_T}no" >&6
7419 fi
7420
7421
7422 enablestring=
7423 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
7424 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
7425 no_cache=0
7426 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
7427 if test "${enable_bmpbutton+set}" = set; then
7428 enableval="$enable_bmpbutton"
7429
7430 if test "$enableval" = yes; then
7431 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
7432 else
7433 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
7434 fi
7435
7436 else
7437
7438 LINE=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
7439 if test "x$LINE" != x ; then
7440 eval "DEFAULT_$LINE"
7441 else
7442 no_cache=1
7443 fi
7444
7445 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
7446
7447 fi;
7448
7449 eval "$ac_cv_use_bmpbutton"
7450 if test "$no_cache" != 1; then
7451 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
7452 fi
7453
7454 if test "$wxUSE_BMPBUTTON" = yes; then
7455 echo "$as_me:$LINENO: result: yes" >&5
7456 echo "${ECHO_T}yes" >&6
7457 else
7458 echo "$as_me:$LINENO: result: no" >&5
7459 echo "${ECHO_T}no" >&6
7460 fi
7461
7462
7463 enablestring=
7464 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
7465 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
7466 no_cache=0
7467 # Check whether --enable-calendar or --disable-calendar was given.
7468 if test "${enable_calendar+set}" = set; then
7469 enableval="$enable_calendar"
7470
7471 if test "$enableval" = yes; then
7472 ac_cv_use_calendar='wxUSE_CALCTRL=yes'
7473 else
7474 ac_cv_use_calendar='wxUSE_CALCTRL=no'
7475 fi
7476
7477 else
7478
7479 LINE=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
7480 if test "x$LINE" != x ; then
7481 eval "DEFAULT_$LINE"
7482 else
7483 no_cache=1
7484 fi
7485
7486 ac_cv_use_calendar='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
7487
7488 fi;
7489
7490 eval "$ac_cv_use_calendar"
7491 if test "$no_cache" != 1; then
7492 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
7493 fi
7494
7495 if test "$wxUSE_CALCTRL" = yes; then
7496 echo "$as_me:$LINENO: result: yes" >&5
7497 echo "${ECHO_T}yes" >&6
7498 else
7499 echo "$as_me:$LINENO: result: no" >&5
7500 echo "${ECHO_T}no" >&6
7501 fi
7502
7503
7504 enablestring=
7505 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
7506 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
7507 no_cache=0
7508 # Check whether --enable-caret or --disable-caret was given.
7509 if test "${enable_caret+set}" = set; then
7510 enableval="$enable_caret"
7511
7512 if test "$enableval" = yes; then
7513 ac_cv_use_caret='wxUSE_CARET=yes'
7514 else
7515 ac_cv_use_caret='wxUSE_CARET=no'
7516 fi
7517
7518 else
7519
7520 LINE=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
7521 if test "x$LINE" != x ; then
7522 eval "DEFAULT_$LINE"
7523 else
7524 no_cache=1
7525 fi
7526
7527 ac_cv_use_caret='wxUSE_CARET='$DEFAULT_wxUSE_CARET
7528
7529 fi;
7530
7531 eval "$ac_cv_use_caret"
7532 if test "$no_cache" != 1; then
7533 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
7534 fi
7535
7536 if test "$wxUSE_CARET" = yes; then
7537 echo "$as_me:$LINENO: result: yes" >&5
7538 echo "${ECHO_T}yes" >&6
7539 else
7540 echo "$as_me:$LINENO: result: no" >&5
7541 echo "${ECHO_T}no" >&6
7542 fi
7543
7544
7545 enablestring=
7546 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
7547 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
7548 no_cache=0
7549 # Check whether --enable-checkbox or --disable-checkbox was given.
7550 if test "${enable_checkbox+set}" = set; then
7551 enableval="$enable_checkbox"
7552
7553 if test "$enableval" = yes; then
7554 ac_cv_use_checkbox='wxUSE_CHECKBOX=yes'
7555 else
7556 ac_cv_use_checkbox='wxUSE_CHECKBOX=no'
7557 fi
7558
7559 else
7560
7561 LINE=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
7562 if test "x$LINE" != x ; then
7563 eval "DEFAULT_$LINE"
7564 else
7565 no_cache=1
7566 fi
7567
7568 ac_cv_use_checkbox='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
7569
7570 fi;
7571
7572 eval "$ac_cv_use_checkbox"
7573 if test "$no_cache" != 1; then
7574 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
7575 fi
7576
7577 if test "$wxUSE_CHECKBOX" = yes; then
7578 echo "$as_me:$LINENO: result: yes" >&5
7579 echo "${ECHO_T}yes" >&6
7580 else
7581 echo "$as_me:$LINENO: result: no" >&5
7582 echo "${ECHO_T}no" >&6
7583 fi
7584
7585
7586 enablestring=
7587 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
7588 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
7589 no_cache=0
7590 # Check whether --enable-checklst or --disable-checklst was given.
7591 if test "${enable_checklst+set}" = set; then
7592 enableval="$enable_checklst"
7593
7594 if test "$enableval" = yes; then
7595 ac_cv_use_checklst='wxUSE_CHECKLST=yes'
7596 else
7597 ac_cv_use_checklst='wxUSE_CHECKLST=no'
7598 fi
7599
7600 else
7601
7602 LINE=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
7603 if test "x$LINE" != x ; then
7604 eval "DEFAULT_$LINE"
7605 else
7606 no_cache=1
7607 fi
7608
7609 ac_cv_use_checklst='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
7610
7611 fi;
7612
7613 eval "$ac_cv_use_checklst"
7614 if test "$no_cache" != 1; then
7615 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
7616 fi
7617
7618 if test "$wxUSE_CHECKLST" = yes; then
7619 echo "$as_me:$LINENO: result: yes" >&5
7620 echo "${ECHO_T}yes" >&6
7621 else
7622 echo "$as_me:$LINENO: result: no" >&5
7623 echo "${ECHO_T}no" >&6
7624 fi
7625
7626
7627 enablestring=
7628 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
7629 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
7630 no_cache=0
7631 # Check whether --enable-choice or --disable-choice was given.
7632 if test "${enable_choice+set}" = set; then
7633 enableval="$enable_choice"
7634
7635 if test "$enableval" = yes; then
7636 ac_cv_use_choice='wxUSE_CHOICE=yes'
7637 else
7638 ac_cv_use_choice='wxUSE_CHOICE=no'
7639 fi
7640
7641 else
7642
7643 LINE=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
7644 if test "x$LINE" != x ; then
7645 eval "DEFAULT_$LINE"
7646 else
7647 no_cache=1
7648 fi
7649
7650 ac_cv_use_choice='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
7651
7652 fi;
7653
7654 eval "$ac_cv_use_choice"
7655 if test "$no_cache" != 1; then
7656 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
7657 fi
7658
7659 if test "$wxUSE_CHOICE" = yes; then
7660 echo "$as_me:$LINENO: result: yes" >&5
7661 echo "${ECHO_T}yes" >&6
7662 else
7663 echo "$as_me:$LINENO: result: no" >&5
7664 echo "${ECHO_T}no" >&6
7665 fi
7666
7667
7668 enablestring=
7669 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
7670 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6
7671 no_cache=0
7672 # Check whether --enable-choicebook or --disable-choicebook was given.
7673 if test "${enable_choicebook+set}" = set; then
7674 enableval="$enable_choicebook"
7675
7676 if test "$enableval" = yes; then
7677 ac_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
7678 else
7679 ac_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
7680 fi
7681
7682 else
7683
7684 LINE=`grep "wxUSE_CHOICEBOOK" ${wx_arg_cache_file}`
7685 if test "x$LINE" != x ; then
7686 eval "DEFAULT_$LINE"
7687 else
7688 no_cache=1
7689 fi
7690
7691 ac_cv_use_choicebook='wxUSE_CHOICEBOOK='$DEFAULT_wxUSE_CHOICEBOOK
7692
7693 fi;
7694
7695 eval "$ac_cv_use_choicebook"
7696 if test "$no_cache" != 1; then
7697 echo $ac_cv_use_choicebook >> ${wx_arg_cache_file}.tmp
7698 fi
7699
7700 if test "$wxUSE_CHOICEBOOK" = yes; then
7701 echo "$as_me:$LINENO: result: yes" >&5
7702 echo "${ECHO_T}yes" >&6
7703 else
7704 echo "$as_me:$LINENO: result: no" >&5
7705 echo "${ECHO_T}no" >&6
7706 fi
7707
7708
7709 enablestring=
7710 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
7711 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
7712 no_cache=0
7713 # Check whether --enable-combobox or --disable-combobox was given.
7714 if test "${enable_combobox+set}" = set; then
7715 enableval="$enable_combobox"
7716
7717 if test "$enableval" = yes; then
7718 ac_cv_use_combobox='wxUSE_COMBOBOX=yes'
7719 else
7720 ac_cv_use_combobox='wxUSE_COMBOBOX=no'
7721 fi
7722
7723 else
7724
7725 LINE=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
7726 if test "x$LINE" != x ; then
7727 eval "DEFAULT_$LINE"
7728 else
7729 no_cache=1
7730 fi
7731
7732 ac_cv_use_combobox='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
7733
7734 fi;
7735
7736 eval "$ac_cv_use_combobox"
7737 if test "$no_cache" != 1; then
7738 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
7739 fi
7740
7741 if test "$wxUSE_COMBOBOX" = yes; then
7742 echo "$as_me:$LINENO: result: yes" >&5
7743 echo "${ECHO_T}yes" >&6
7744 else
7745 echo "$as_me:$LINENO: result: no" >&5
7746 echo "${ECHO_T}no" >&6
7747 fi
7748
7749
7750 enablestring=
7751 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
7752 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6
7753 no_cache=0
7754 # Check whether --enable-datepick or --disable-datepick was given.
7755 if test "${enable_datepick+set}" = set; then
7756 enableval="$enable_datepick"
7757
7758 if test "$enableval" = yes; then
7759 ac_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
7760 else
7761 ac_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
7762 fi
7763
7764 else
7765
7766 LINE=`grep "wxUSE_DATEPICKCTRL" ${wx_arg_cache_file}`
7767 if test "x$LINE" != x ; then
7768 eval "DEFAULT_$LINE"
7769 else
7770 no_cache=1
7771 fi
7772
7773 ac_cv_use_datepick='wxUSE_DATEPICKCTRL='$DEFAULT_wxUSE_DATEPICKCTRL
7774
7775 fi;
7776
7777 eval "$ac_cv_use_datepick"
7778 if test "$no_cache" != 1; then
7779 echo $ac_cv_use_datepick >> ${wx_arg_cache_file}.tmp
7780 fi
7781
7782 if test "$wxUSE_DATEPICKCTRL" = yes; then
7783 echo "$as_me:$LINENO: result: yes" >&5
7784 echo "${ECHO_T}yes" >&6
7785 else
7786 echo "$as_me:$LINENO: result: no" >&5
7787 echo "${ECHO_T}no" >&6
7788 fi
7789
7790
7791 enablestring=
7792 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
7793 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
7794 no_cache=0
7795 # Check whether --enable-display or --disable-display was given.
7796 if test "${enable_display+set}" = set; then
7797 enableval="$enable_display"
7798
7799 if test "$enableval" = yes; then
7800 ac_cv_use_display='wxUSE_DISPLAY=yes'
7801 else
7802 ac_cv_use_display='wxUSE_DISPLAY=no'
7803 fi
7804
7805 else
7806
7807 LINE=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
7808 if test "x$LINE" != x ; then
7809 eval "DEFAULT_$LINE"
7810 else
7811 no_cache=1
7812 fi
7813
7814 ac_cv_use_display='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
7815
7816 fi;
7817
7818 eval "$ac_cv_use_display"
7819 if test "$no_cache" != 1; then
7820 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
7821 fi
7822
7823 if test "$wxUSE_DISPLAY" = yes; then
7824 echo "$as_me:$LINENO: result: yes" >&5
7825 echo "${ECHO_T}yes" >&6
7826 else
7827 echo "$as_me:$LINENO: result: no" >&5
7828 echo "${ECHO_T}no" >&6
7829 fi
7830
7831
7832 enablestring=
7833 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
7834 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
7835 no_cache=0
7836 # Check whether --enable-gauge or --disable-gauge was given.
7837 if test "${enable_gauge+set}" = set; then
7838 enableval="$enable_gauge"
7839
7840 if test "$enableval" = yes; then
7841 ac_cv_use_gauge='wxUSE_GAUGE=yes'
7842 else
7843 ac_cv_use_gauge='wxUSE_GAUGE=no'
7844 fi
7845
7846 else
7847
7848 LINE=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
7849 if test "x$LINE" != x ; then
7850 eval "DEFAULT_$LINE"
7851 else
7852 no_cache=1
7853 fi
7854
7855 ac_cv_use_gauge='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
7856
7857 fi;
7858
7859 eval "$ac_cv_use_gauge"
7860 if test "$no_cache" != 1; then
7861 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
7862 fi
7863
7864 if test "$wxUSE_GAUGE" = yes; then
7865 echo "$as_me:$LINENO: result: yes" >&5
7866 echo "${ECHO_T}yes" >&6
7867 else
7868 echo "$as_me:$LINENO: result: no" >&5
7869 echo "${ECHO_T}no" >&6
7870 fi
7871
7872
7873 enablestring=
7874 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
7875 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
7876 no_cache=0
7877 # Check whether --enable-grid or --disable-grid was given.
7878 if test "${enable_grid+set}" = set; then
7879 enableval="$enable_grid"
7880
7881 if test "$enableval" = yes; then
7882 ac_cv_use_grid='wxUSE_GRID=yes'
7883 else
7884 ac_cv_use_grid='wxUSE_GRID=no'
7885 fi
7886
7887 else
7888
7889 LINE=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
7890 if test "x$LINE" != x ; then
7891 eval "DEFAULT_$LINE"
7892 else
7893 no_cache=1
7894 fi
7895
7896 ac_cv_use_grid='wxUSE_GRID='$DEFAULT_wxUSE_GRID
7897
7898 fi;
7899
7900 eval "$ac_cv_use_grid"
7901 if test "$no_cache" != 1; then
7902 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
7903 fi
7904
7905 if test "$wxUSE_GRID" = yes; then
7906 echo "$as_me:$LINENO: result: yes" >&5
7907 echo "${ECHO_T}yes" >&6
7908 else
7909 echo "$as_me:$LINENO: result: no" >&5
7910 echo "${ECHO_T}no" >&6
7911 fi
7912
7913
7914 enablestring=
7915 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
7916 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
7917 no_cache=0
7918 # Check whether --enable-imaglist or --disable-imaglist was given.
7919 if test "${enable_imaglist+set}" = set; then
7920 enableval="$enable_imaglist"
7921
7922 if test "$enableval" = yes; then
7923 ac_cv_use_imaglist='wxUSE_IMAGLIST=yes'
7924 else
7925 ac_cv_use_imaglist='wxUSE_IMAGLIST=no'
7926 fi
7927
7928 else
7929
7930 LINE=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
7931 if test "x$LINE" != x ; then
7932 eval "DEFAULT_$LINE"
7933 else
7934 no_cache=1
7935 fi
7936
7937 ac_cv_use_imaglist='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
7938
7939 fi;
7940
7941 eval "$ac_cv_use_imaglist"
7942 if test "$no_cache" != 1; then
7943 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
7944 fi
7945
7946 if test "$wxUSE_IMAGLIST" = yes; then
7947 echo "$as_me:$LINENO: result: yes" >&5
7948 echo "${ECHO_T}yes" >&6
7949 else
7950 echo "$as_me:$LINENO: result: no" >&5
7951 echo "${ECHO_T}no" >&6
7952 fi
7953
7954
7955 enablestring=
7956 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
7957 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6
7958 no_cache=0
7959 # Check whether --enable-listbook or --disable-listbook was given.
7960 if test "${enable_listbook+set}" = set; then
7961 enableval="$enable_listbook"
7962
7963 if test "$enableval" = yes; then
7964 ac_cv_use_listbook='wxUSE_LISTBOOK=yes'
7965 else
7966 ac_cv_use_listbook='wxUSE_LISTBOOK=no'
7967 fi
7968
7969 else
7970
7971 LINE=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}`
7972 if test "x$LINE" != x ; then
7973 eval "DEFAULT_$LINE"
7974 else
7975 no_cache=1
7976 fi
7977
7978 ac_cv_use_listbook='wxUSE_LISTBOOK='$DEFAULT_wxUSE_LISTBOOK
7979
7980 fi;
7981
7982 eval "$ac_cv_use_listbook"
7983 if test "$no_cache" != 1; then
7984 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
7985 fi
7986
7987 if test "$wxUSE_LISTBOOK" = yes; then
7988 echo "$as_me:$LINENO: result: yes" >&5
7989 echo "${ECHO_T}yes" >&6
7990 else
7991 echo "$as_me:$LINENO: result: no" >&5
7992 echo "${ECHO_T}no" >&6
7993 fi
7994
7995
7996 enablestring=
7997 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
7998 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
7999 no_cache=0
8000 # Check whether --enable-listbox or --disable-listbox was given.
8001 if test "${enable_listbox+set}" = set; then
8002 enableval="$enable_listbox"
8003
8004 if test "$enableval" = yes; then
8005 ac_cv_use_listbox='wxUSE_LISTBOX=yes'
8006 else
8007 ac_cv_use_listbox='wxUSE_LISTBOX=no'
8008 fi
8009
8010 else
8011
8012 LINE=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
8013 if test "x$LINE" != x ; then
8014 eval "DEFAULT_$LINE"
8015 else
8016 no_cache=1
8017 fi
8018
8019 ac_cv_use_listbox='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
8020
8021 fi;
8022
8023 eval "$ac_cv_use_listbox"
8024 if test "$no_cache" != 1; then
8025 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
8026 fi
8027
8028 if test "$wxUSE_LISTBOX" = yes; then
8029 echo "$as_me:$LINENO: result: yes" >&5
8030 echo "${ECHO_T}yes" >&6
8031 else
8032 echo "$as_me:$LINENO: result: no" >&5
8033 echo "${ECHO_T}no" >&6
8034 fi
8035
8036
8037 enablestring=
8038 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
8039 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
8040 no_cache=0
8041 # Check whether --enable-listctrl or --disable-listctrl was given.
8042 if test "${enable_listctrl+set}" = set; then
8043 enableval="$enable_listctrl"
8044
8045 if test "$enableval" = yes; then
8046 ac_cv_use_listctrl='wxUSE_LISTCTRL=yes'
8047 else
8048 ac_cv_use_listctrl='wxUSE_LISTCTRL=no'
8049 fi
8050
8051 else
8052
8053 LINE=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
8054 if test "x$LINE" != x ; then
8055 eval "DEFAULT_$LINE"
8056 else
8057 no_cache=1
8058 fi
8059
8060 ac_cv_use_listctrl='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
8061
8062 fi;
8063
8064 eval "$ac_cv_use_listctrl"
8065 if test "$no_cache" != 1; then
8066 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
8067 fi
8068
8069 if test "$wxUSE_LISTCTRL" = yes; then
8070 echo "$as_me:$LINENO: result: yes" >&5
8071 echo "${ECHO_T}yes" >&6
8072 else
8073 echo "$as_me:$LINENO: result: no" >&5
8074 echo "${ECHO_T}no" >&6
8075 fi
8076
8077
8078 enablestring=
8079 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
8080 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
8081 no_cache=0
8082 # Check whether --enable-notebook or --disable-notebook was given.
8083 if test "${enable_notebook+set}" = set; then
8084 enableval="$enable_notebook"
8085
8086 if test "$enableval" = yes; then
8087 ac_cv_use_notebook='wxUSE_NOTEBOOK=yes'
8088 else
8089 ac_cv_use_notebook='wxUSE_NOTEBOOK=no'
8090 fi
8091
8092 else
8093
8094 LINE=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
8095 if test "x$LINE" != x ; then
8096 eval "DEFAULT_$LINE"
8097 else
8098 no_cache=1
8099 fi
8100
8101 ac_cv_use_notebook='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
8102
8103 fi;
8104
8105 eval "$ac_cv_use_notebook"
8106 if test "$no_cache" != 1; then
8107 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
8108 fi
8109
8110 if test "$wxUSE_NOTEBOOK" = yes; then
8111 echo "$as_me:$LINENO: result: yes" >&5
8112 echo "${ECHO_T}yes" >&6
8113 else
8114 echo "$as_me:$LINENO: result: no" >&5
8115 echo "${ECHO_T}no" >&6
8116 fi
8117
8118
8119 enablestring=
8120 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
8121 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
8122 no_cache=0
8123 # Check whether --enable-radiobox or --disable-radiobox was given.
8124 if test "${enable_radiobox+set}" = set; then
8125 enableval="$enable_radiobox"
8126
8127 if test "$enableval" = yes; then
8128 ac_cv_use_radiobox='wxUSE_RADIOBOX=yes'
8129 else
8130 ac_cv_use_radiobox='wxUSE_RADIOBOX=no'
8131 fi
8132
8133 else
8134
8135 LINE=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
8136 if test "x$LINE" != x ; then
8137 eval "DEFAULT_$LINE"
8138 else
8139 no_cache=1
8140 fi
8141
8142 ac_cv_use_radiobox='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
8143
8144 fi;
8145
8146 eval "$ac_cv_use_radiobox"
8147 if test "$no_cache" != 1; then
8148 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
8149 fi
8150
8151 if test "$wxUSE_RADIOBOX" = yes; then
8152 echo "$as_me:$LINENO: result: yes" >&5
8153 echo "${ECHO_T}yes" >&6
8154 else
8155 echo "$as_me:$LINENO: result: no" >&5
8156 echo "${ECHO_T}no" >&6
8157 fi
8158
8159
8160 enablestring=
8161 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
8162 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
8163 no_cache=0
8164 # Check whether --enable-radiobtn or --disable-radiobtn was given.
8165 if test "${enable_radiobtn+set}" = set; then
8166 enableval="$enable_radiobtn"
8167
8168 if test "$enableval" = yes; then
8169 ac_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
8170 else
8171 ac_cv_use_radiobtn='wxUSE_RADIOBTN=no'
8172 fi
8173
8174 else
8175
8176 LINE=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
8177 if test "x$LINE" != x ; then
8178 eval "DEFAULT_$LINE"
8179 else
8180 no_cache=1
8181 fi
8182
8183 ac_cv_use_radiobtn='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
8184
8185 fi;
8186
8187 eval "$ac_cv_use_radiobtn"
8188 if test "$no_cache" != 1; then
8189 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
8190 fi
8191
8192 if test "$wxUSE_RADIOBTN" = yes; then
8193 echo "$as_me:$LINENO: result: yes" >&5
8194 echo "${ECHO_T}yes" >&6
8195 else
8196 echo "$as_me:$LINENO: result: no" >&5
8197 echo "${ECHO_T}no" >&6
8198 fi
8199
8200
8201 enablestring=
8202 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
8203 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
8204 no_cache=0
8205 # Check whether --enable-sash or --disable-sash was given.
8206 if test "${enable_sash+set}" = set; then
8207 enableval="$enable_sash"
8208
8209 if test "$enableval" = yes; then
8210 ac_cv_use_sash='wxUSE_SASH=yes'
8211 else
8212 ac_cv_use_sash='wxUSE_SASH=no'
8213 fi
8214
8215 else
8216
8217 LINE=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
8218 if test "x$LINE" != x ; then
8219 eval "DEFAULT_$LINE"
8220 else
8221 no_cache=1
8222 fi
8223
8224 ac_cv_use_sash='wxUSE_SASH='$DEFAULT_wxUSE_SASH
8225
8226 fi;
8227
8228 eval "$ac_cv_use_sash"
8229 if test "$no_cache" != 1; then
8230 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
8231 fi
8232
8233 if test "$wxUSE_SASH" = yes; then
8234 echo "$as_me:$LINENO: result: yes" >&5
8235 echo "${ECHO_T}yes" >&6
8236 else
8237 echo "$as_me:$LINENO: result: no" >&5
8238 echo "${ECHO_T}no" >&6
8239 fi
8240
8241
8242 enablestring=
8243 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
8244 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
8245 no_cache=0
8246 # Check whether --enable-scrollbar or --disable-scrollbar was given.
8247 if test "${enable_scrollbar+set}" = set; then
8248 enableval="$enable_scrollbar"
8249
8250 if test "$enableval" = yes; then
8251 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
8252 else
8253 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
8254 fi
8255
8256 else
8257
8258 LINE=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
8259 if test "x$LINE" != x ; then
8260 eval "DEFAULT_$LINE"
8261 else
8262 no_cache=1
8263 fi
8264
8265 ac_cv_use_scrollbar='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
8266
8267 fi;
8268
8269 eval "$ac_cv_use_scrollbar"
8270 if test "$no_cache" != 1; then
8271 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
8272 fi
8273
8274 if test "$wxUSE_SCROLLBAR" = yes; then
8275 echo "$as_me:$LINENO: result: yes" >&5
8276 echo "${ECHO_T}yes" >&6
8277 else
8278 echo "$as_me:$LINENO: result: no" >&5
8279 echo "${ECHO_T}no" >&6
8280 fi
8281
8282
8283 enablestring=
8284 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
8285 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
8286 no_cache=0
8287 # Check whether --enable-slider or --disable-slider was given.
8288 if test "${enable_slider+set}" = set; then
8289 enableval="$enable_slider"
8290
8291 if test "$enableval" = yes; then
8292 ac_cv_use_slider='wxUSE_SLIDER=yes'
8293 else
8294 ac_cv_use_slider='wxUSE_SLIDER=no'
8295 fi
8296
8297 else
8298
8299 LINE=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
8300 if test "x$LINE" != x ; then
8301 eval "DEFAULT_$LINE"
8302 else
8303 no_cache=1
8304 fi
8305
8306 ac_cv_use_slider='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
8307
8308 fi;
8309
8310 eval "$ac_cv_use_slider"
8311 if test "$no_cache" != 1; then
8312 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
8313 fi
8314
8315 if test "$wxUSE_SLIDER" = yes; then
8316 echo "$as_me:$LINENO: result: yes" >&5
8317 echo "${ECHO_T}yes" >&6
8318 else
8319 echo "$as_me:$LINENO: result: no" >&5
8320 echo "${ECHO_T}no" >&6
8321 fi
8322
8323
8324 enablestring=
8325 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
8326 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
8327 no_cache=0
8328 # Check whether --enable-spinbtn or --disable-spinbtn was given.
8329 if test "${enable_spinbtn+set}" = set; then
8330 enableval="$enable_spinbtn"
8331
8332 if test "$enableval" = yes; then
8333 ac_cv_use_spinbtn='wxUSE_SPINBTN=yes'
8334 else
8335 ac_cv_use_spinbtn='wxUSE_SPINBTN=no'
8336 fi
8337
8338 else
8339
8340 LINE=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
8341 if test "x$LINE" != x ; then
8342 eval "DEFAULT_$LINE"
8343 else
8344 no_cache=1
8345 fi
8346
8347 ac_cv_use_spinbtn='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
8348
8349 fi;
8350
8351 eval "$ac_cv_use_spinbtn"
8352 if test "$no_cache" != 1; then
8353 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
8354 fi
8355
8356 if test "$wxUSE_SPINBTN" = yes; then
8357 echo "$as_me:$LINENO: result: yes" >&5
8358 echo "${ECHO_T}yes" >&6
8359 else
8360 echo "$as_me:$LINENO: result: no" >&5
8361 echo "${ECHO_T}no" >&6
8362 fi
8363
8364
8365 enablestring=
8366 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
8367 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
8368 no_cache=0
8369 # Check whether --enable-spinctrl or --disable-spinctrl was given.
8370 if test "${enable_spinctrl+set}" = set; then
8371 enableval="$enable_spinctrl"
8372
8373 if test "$enableval" = yes; then
8374 ac_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
8375 else
8376 ac_cv_use_spinctrl='wxUSE_SPINCTRL=no'
8377 fi
8378
8379 else
8380
8381 LINE=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
8382 if test "x$LINE" != x ; then
8383 eval "DEFAULT_$LINE"
8384 else
8385 no_cache=1
8386 fi
8387
8388 ac_cv_use_spinctrl='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
8389
8390 fi;
8391
8392 eval "$ac_cv_use_spinctrl"
8393 if test "$no_cache" != 1; then
8394 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
8395 fi
8396
8397 if test "$wxUSE_SPINCTRL" = yes; then
8398 echo "$as_me:$LINENO: result: yes" >&5
8399 echo "${ECHO_T}yes" >&6
8400 else
8401 echo "$as_me:$LINENO: result: no" >&5
8402 echo "${ECHO_T}no" >&6
8403 fi
8404
8405
8406 enablestring=
8407 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
8408 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
8409 no_cache=0
8410 # Check whether --enable-splitter or --disable-splitter was given.
8411 if test "${enable_splitter+set}" = set; then
8412 enableval="$enable_splitter"
8413
8414 if test "$enableval" = yes; then
8415 ac_cv_use_splitter='wxUSE_SPLITTER=yes'
8416 else
8417 ac_cv_use_splitter='wxUSE_SPLITTER=no'
8418 fi
8419
8420 else
8421
8422 LINE=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
8423 if test "x$LINE" != x ; then
8424 eval "DEFAULT_$LINE"
8425 else
8426 no_cache=1
8427 fi
8428
8429 ac_cv_use_splitter='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
8430
8431 fi;
8432
8433 eval "$ac_cv_use_splitter"
8434 if test "$no_cache" != 1; then
8435 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
8436 fi
8437
8438 if test "$wxUSE_SPLITTER" = yes; then
8439 echo "$as_me:$LINENO: result: yes" >&5
8440 echo "${ECHO_T}yes" >&6
8441 else
8442 echo "$as_me:$LINENO: result: no" >&5
8443 echo "${ECHO_T}no" >&6
8444 fi
8445
8446
8447 enablestring=
8448 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
8449 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
8450 no_cache=0
8451 # Check whether --enable-statbmp or --disable-statbmp was given.
8452 if test "${enable_statbmp+set}" = set; then
8453 enableval="$enable_statbmp"
8454
8455 if test "$enableval" = yes; then
8456 ac_cv_use_statbmp='wxUSE_STATBMP=yes'
8457 else
8458 ac_cv_use_statbmp='wxUSE_STATBMP=no'
8459 fi
8460
8461 else
8462
8463 LINE=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
8464 if test "x$LINE" != x ; then
8465 eval "DEFAULT_$LINE"
8466 else
8467 no_cache=1
8468 fi
8469
8470 ac_cv_use_statbmp='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
8471
8472 fi;
8473
8474 eval "$ac_cv_use_statbmp"
8475 if test "$no_cache" != 1; then
8476 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
8477 fi
8478
8479 if test "$wxUSE_STATBMP" = yes; then
8480 echo "$as_me:$LINENO: result: yes" >&5
8481 echo "${ECHO_T}yes" >&6
8482 else
8483 echo "$as_me:$LINENO: result: no" >&5
8484 echo "${ECHO_T}no" >&6
8485 fi
8486
8487
8488 enablestring=
8489 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
8490 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
8491 no_cache=0
8492 # Check whether --enable-statbox or --disable-statbox was given.
8493 if test "${enable_statbox+set}" = set; then
8494 enableval="$enable_statbox"
8495
8496 if test "$enableval" = yes; then
8497 ac_cv_use_statbox='wxUSE_STATBOX=yes'
8498 else
8499 ac_cv_use_statbox='wxUSE_STATBOX=no'
8500 fi
8501
8502 else
8503
8504 LINE=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
8505 if test "x$LINE" != x ; then
8506 eval "DEFAULT_$LINE"
8507 else
8508 no_cache=1
8509 fi
8510
8511 ac_cv_use_statbox='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
8512
8513 fi;
8514
8515 eval "$ac_cv_use_statbox"
8516 if test "$no_cache" != 1; then
8517 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
8518 fi
8519
8520 if test "$wxUSE_STATBOX" = yes; then
8521 echo "$as_me:$LINENO: result: yes" >&5
8522 echo "${ECHO_T}yes" >&6
8523 else
8524 echo "$as_me:$LINENO: result: no" >&5
8525 echo "${ECHO_T}no" >&6
8526 fi
8527
8528
8529 enablestring=
8530 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
8531 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
8532 no_cache=0
8533 # Check whether --enable-statline or --disable-statline was given.
8534 if test "${enable_statline+set}" = set; then
8535 enableval="$enable_statline"
8536
8537 if test "$enableval" = yes; then
8538 ac_cv_use_statline='wxUSE_STATLINE=yes'
8539 else
8540 ac_cv_use_statline='wxUSE_STATLINE=no'
8541 fi
8542
8543 else
8544
8545 LINE=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
8546 if test "x$LINE" != x ; then
8547 eval "DEFAULT_$LINE"
8548 else
8549 no_cache=1
8550 fi
8551
8552 ac_cv_use_statline='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
8553
8554 fi;
8555
8556 eval "$ac_cv_use_statline"
8557 if test "$no_cache" != 1; then
8558 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
8559 fi
8560
8561 if test "$wxUSE_STATLINE" = yes; then
8562 echo "$as_me:$LINENO: result: yes" >&5
8563 echo "${ECHO_T}yes" >&6
8564 else
8565 echo "$as_me:$LINENO: result: no" >&5
8566 echo "${ECHO_T}no" >&6
8567 fi
8568
8569
8570 enablestring=
8571 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
8572 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
8573 no_cache=0
8574 # Check whether --enable-stattext or --disable-stattext was given.
8575 if test "${enable_stattext+set}" = set; then
8576 enableval="$enable_stattext"
8577
8578 if test "$enableval" = yes; then
8579 ac_cv_use_stattext='wxUSE_STATTEXT=yes'
8580 else
8581 ac_cv_use_stattext='wxUSE_STATTEXT=no'
8582 fi
8583
8584 else
8585
8586 LINE=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
8587 if test "x$LINE" != x ; then
8588 eval "DEFAULT_$LINE"
8589 else
8590 no_cache=1
8591 fi
8592
8593 ac_cv_use_stattext='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
8594
8595 fi;
8596
8597 eval "$ac_cv_use_stattext"
8598 if test "$no_cache" != 1; then
8599 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
8600 fi
8601
8602 if test "$wxUSE_STATTEXT" = yes; then
8603 echo "$as_me:$LINENO: result: yes" >&5
8604 echo "${ECHO_T}yes" >&6
8605 else
8606 echo "$as_me:$LINENO: result: no" >&5
8607 echo "${ECHO_T}no" >&6
8608 fi
8609
8610
8611 enablestring=
8612 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
8613 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
8614 no_cache=0
8615 # Check whether --enable-statusbar or --disable-statusbar was given.
8616 if test "${enable_statusbar+set}" = set; then
8617 enableval="$enable_statusbar"
8618
8619 if test "$enableval" = yes; then
8620 ac_cv_use_statusbar='wxUSE_STATUSBAR=yes'
8621 else
8622 ac_cv_use_statusbar='wxUSE_STATUSBAR=no'
8623 fi
8624
8625 else
8626
8627 LINE=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
8628 if test "x$LINE" != x ; then
8629 eval "DEFAULT_$LINE"
8630 else
8631 no_cache=1
8632 fi
8633
8634 ac_cv_use_statusbar='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
8635
8636 fi;
8637
8638 eval "$ac_cv_use_statusbar"
8639 if test "$no_cache" != 1; then
8640 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
8641 fi
8642
8643 if test "$wxUSE_STATUSBAR" = yes; then
8644 echo "$as_me:$LINENO: result: yes" >&5
8645 echo "${ECHO_T}yes" >&6
8646 else
8647 echo "$as_me:$LINENO: result: no" >&5
8648 echo "${ECHO_T}no" >&6
8649 fi
8650
8651
8652 enablestring=
8653 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
8654 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
8655 no_cache=0
8656 # Check whether --enable-tabdialog or --disable-tabdialog was given.
8657 if test "${enable_tabdialog+set}" = set; then
8658 enableval="$enable_tabdialog"
8659
8660 if test "$enableval" = yes; then
8661 ac_cv_use_tabdialog='wxUSE_TABDIALOG=yes'
8662 else
8663 ac_cv_use_tabdialog='wxUSE_TABDIALOG=no'
8664 fi
8665
8666 else
8667
8668 LINE=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
8669 if test "x$LINE" != x ; then
8670 eval "DEFAULT_$LINE"
8671 else
8672 no_cache=1
8673 fi
8674
8675 ac_cv_use_tabdialog='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
8676
8677 fi;
8678
8679 eval "$ac_cv_use_tabdialog"
8680 if test "$no_cache" != 1; then
8681 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
8682 fi
8683
8684 if test "$wxUSE_TABDIALOG" = yes; then
8685 echo "$as_me:$LINENO: result: yes" >&5
8686 echo "${ECHO_T}yes" >&6
8687 else
8688 echo "$as_me:$LINENO: result: no" >&5
8689 echo "${ECHO_T}no" >&6
8690 fi
8691
8692
8693 enablestring=
8694 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
8695 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
8696 no_cache=0
8697 # Check whether --enable-textctrl or --disable-textctrl was given.
8698 if test "${enable_textctrl+set}" = set; then
8699 enableval="$enable_textctrl"
8700
8701 if test "$enableval" = yes; then
8702 ac_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
8703 else
8704 ac_cv_use_textctrl='wxUSE_TEXTCTRL=no'
8705 fi
8706
8707 else
8708
8709 LINE=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
8710 if test "x$LINE" != x ; then
8711 eval "DEFAULT_$LINE"
8712 else
8713 no_cache=1
8714 fi
8715
8716 ac_cv_use_textctrl='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
8717
8718 fi;
8719
8720 eval "$ac_cv_use_textctrl"
8721 if test "$no_cache" != 1; then
8722 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
8723 fi
8724
8725 if test "$wxUSE_TEXTCTRL" = yes; then
8726 echo "$as_me:$LINENO: result: yes" >&5
8727 echo "${ECHO_T}yes" >&6
8728 else
8729 echo "$as_me:$LINENO: result: no" >&5
8730 echo "${ECHO_T}no" >&6
8731 fi
8732
8733
8734 enablestring=
8735 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
8736 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
8737 no_cache=0
8738 # Check whether --enable-togglebtn or --disable-togglebtn was given.
8739 if test "${enable_togglebtn+set}" = set; then
8740 enableval="$enable_togglebtn"
8741
8742 if test "$enableval" = yes; then
8743 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
8744 else
8745 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
8746 fi
8747
8748 else
8749
8750 LINE=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
8751 if test "x$LINE" != x ; then
8752 eval "DEFAULT_$LINE"
8753 else
8754 no_cache=1
8755 fi
8756
8757 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
8758
8759 fi;
8760
8761 eval "$ac_cv_use_togglebtn"
8762 if test "$no_cache" != 1; then
8763 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
8764 fi
8765
8766 if test "$wxUSE_TOGGLEBTN" = yes; then
8767 echo "$as_me:$LINENO: result: yes" >&5
8768 echo "${ECHO_T}yes" >&6
8769 else
8770 echo "$as_me:$LINENO: result: no" >&5
8771 echo "${ECHO_T}no" >&6
8772 fi
8773
8774
8775 enablestring=
8776 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
8777 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
8778 no_cache=0
8779 # Check whether --enable-toolbar or --disable-toolbar was given.
8780 if test "${enable_toolbar+set}" = set; then
8781 enableval="$enable_toolbar"
8782
8783 if test "$enableval" = yes; then
8784 ac_cv_use_toolbar='wxUSE_TOOLBAR=yes'
8785 else
8786 ac_cv_use_toolbar='wxUSE_TOOLBAR=no'
8787 fi
8788
8789 else
8790
8791 LINE=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
8792 if test "x$LINE" != x ; then
8793 eval "DEFAULT_$LINE"
8794 else
8795 no_cache=1
8796 fi
8797
8798 ac_cv_use_toolbar='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
8799
8800 fi;
8801
8802 eval "$ac_cv_use_toolbar"
8803 if test "$no_cache" != 1; then
8804 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
8805 fi
8806
8807 if test "$wxUSE_TOOLBAR" = yes; then
8808 echo "$as_me:$LINENO: result: yes" >&5
8809 echo "${ECHO_T}yes" >&6
8810 else
8811 echo "$as_me:$LINENO: result: no" >&5
8812 echo "${ECHO_T}no" >&6
8813 fi
8814
8815
8816 enablestring=
8817 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
8818 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
8819 no_cache=0
8820 # Check whether --enable-tbarnative or --disable-tbarnative was given.
8821 if test "${enable_tbarnative+set}" = set; then
8822 enableval="$enable_tbarnative"
8823
8824 if test "$enableval" = yes; then
8825 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
8826 else
8827 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
8828 fi
8829
8830 else
8831
8832 LINE=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
8833 if test "x$LINE" != x ; then
8834 eval "DEFAULT_$LINE"
8835 else
8836 no_cache=1
8837 fi
8838
8839 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
8840
8841 fi;
8842
8843 eval "$ac_cv_use_tbarnative"
8844 if test "$no_cache" != 1; then
8845 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
8846 fi
8847
8848 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
8849 echo "$as_me:$LINENO: result: yes" >&5
8850 echo "${ECHO_T}yes" >&6
8851 else
8852 echo "$as_me:$LINENO: result: no" >&5
8853 echo "${ECHO_T}no" >&6
8854 fi
8855
8856
8857 enablestring=
8858 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarsmpl" >&5
8859 echo $ECHO_N "checking for --${enablestring:-enable}-tbarsmpl... $ECHO_C" >&6
8860 no_cache=0
8861 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
8862 if test "${enable_tbarsmpl+set}" = set; then
8863 enableval="$enable_tbarsmpl"
8864
8865 if test "$enableval" = yes; then
8866 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE=yes'
8867 else
8868 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE=no'
8869 fi
8870
8871 else
8872
8873 LINE=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
8874 if test "x$LINE" != x ; then
8875 eval "DEFAULT_$LINE"
8876 else
8877 no_cache=1
8878 fi
8879
8880 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
8881
8882 fi;
8883
8884 eval "$ac_cv_use_tbarsmpl"
8885 if test "$no_cache" != 1; then
8886 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
8887 fi
8888
8889 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
8890 echo "$as_me:$LINENO: result: yes" >&5
8891 echo "${ECHO_T}yes" >&6
8892 else
8893 echo "$as_me:$LINENO: result: no" >&5
8894 echo "${ECHO_T}no" >&6
8895 fi
8896
8897
8898 enablestring=
8899 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
8900 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
8901 no_cache=0
8902 # Check whether --enable-treectrl or --disable-treectrl was given.
8903 if test "${enable_treectrl+set}" = set; then
8904 enableval="$enable_treectrl"
8905
8906 if test "$enableval" = yes; then
8907 ac_cv_use_treectrl='wxUSE_TREECTRL=yes'
8908 else
8909 ac_cv_use_treectrl='wxUSE_TREECTRL=no'
8910 fi
8911
8912 else
8913
8914 LINE=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
8915 if test "x$LINE" != x ; then
8916 eval "DEFAULT_$LINE"
8917 else
8918 no_cache=1
8919 fi
8920
8921 ac_cv_use_treectrl='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
8922
8923 fi;
8924
8925 eval "$ac_cv_use_treectrl"
8926 if test "$no_cache" != 1; then
8927 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
8928 fi
8929
8930 if test "$wxUSE_TREECTRL" = yes; then
8931 echo "$as_me:$LINENO: result: yes" >&5
8932 echo "${ECHO_T}yes" >&6
8933 else
8934 echo "$as_me:$LINENO: result: no" >&5
8935 echo "${ECHO_T}no" >&6
8936 fi
8937
8938
8939 enablestring=
8940 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
8941 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
8942 no_cache=0
8943 # Check whether --enable-tipwindow or --disable-tipwindow was given.
8944 if test "${enable_tipwindow+set}" = set; then
8945 enableval="$enable_tipwindow"
8946
8947 if test "$enableval" = yes; then
8948 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
8949 else
8950 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
8951 fi
8952
8953 else
8954
8955 LINE=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
8956 if test "x$LINE" != x ; then
8957 eval "DEFAULT_$LINE"
8958 else
8959 no_cache=1
8960 fi
8961
8962 ac_cv_use_tipwindow='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
8963
8964 fi;
8965
8966 eval "$ac_cv_use_tipwindow"
8967 if test "$no_cache" != 1; then
8968 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
8969 fi
8970
8971 if test "$wxUSE_TIPWINDOW" = yes; then
8972 echo "$as_me:$LINENO: result: yes" >&5
8973 echo "${ECHO_T}yes" >&6
8974 else
8975 echo "$as_me:$LINENO: result: no" >&5
8976 echo "${ECHO_T}no" >&6
8977 fi
8978
8979
8980 enablestring=
8981 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
8982 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
8983 no_cache=0
8984 # Check whether --enable-popupwin or --disable-popupwin was given.
8985 if test "${enable_popupwin+set}" = set; then
8986 enableval="$enable_popupwin"
8987
8988 if test "$enableval" = yes; then
8989 ac_cv_use_popupwin='wxUSE_POPUPWIN=yes'
8990 else
8991 ac_cv_use_popupwin='wxUSE_POPUPWIN=no'
8992 fi
8993
8994 else
8995
8996 LINE=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
8997 if test "x$LINE" != x ; then
8998 eval "DEFAULT_$LINE"
8999 else
9000 no_cache=1
9001 fi
9002
9003 ac_cv_use_popupwin='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
9004
9005 fi;
9006
9007 eval "$ac_cv_use_popupwin"
9008 if test "$no_cache" != 1; then
9009 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
9010 fi
9011
9012 if test "$wxUSE_POPUPWIN" = yes; then
9013 echo "$as_me:$LINENO: result: yes" >&5
9014 echo "${ECHO_T}yes" >&6
9015 else
9016 echo "$as_me:$LINENO: result: no" >&5
9017 echo "${ECHO_T}no" >&6
9018 fi
9019
9020
9021
9022
9023 enablestring=
9024 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
9025 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
9026 no_cache=0
9027 # Check whether --enable-commondlg or --disable-commondlg was given.
9028 if test "${enable_commondlg+set}" = set; then
9029 enableval="$enable_commondlg"
9030
9031 if test "$enableval" = yes; then
9032 ac_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
9033 else
9034 ac_cv_use_commondlg='wxUSE_COMMONDLGS=no'
9035 fi
9036
9037 else
9038
9039 LINE=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
9040 if test "x$LINE" != x ; then
9041 eval "DEFAULT_$LINE"
9042 else
9043 no_cache=1
9044 fi
9045
9046 ac_cv_use_commondlg='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
9047
9048 fi;
9049
9050 eval "$ac_cv_use_commondlg"
9051 if test "$no_cache" != 1; then
9052 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
9053 fi
9054
9055 if test "$wxUSE_COMMONDLGS" = yes; then
9056 echo "$as_me:$LINENO: result: yes" >&5
9057 echo "${ECHO_T}yes" >&6
9058 else
9059 echo "$as_me:$LINENO: result: no" >&5
9060 echo "${ECHO_T}no" >&6
9061 fi
9062
9063
9064 enablestring=
9065 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
9066 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
9067 no_cache=0
9068 # Check whether --enable-choicedlg or --disable-choicedlg was given.
9069 if test "${enable_choicedlg+set}" = set; then
9070 enableval="$enable_choicedlg"
9071
9072 if test "$enableval" = yes; then
9073 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
9074 else
9075 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
9076 fi
9077
9078 else
9079
9080 LINE=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
9081 if test "x$LINE" != x ; then
9082 eval "DEFAULT_$LINE"
9083 else
9084 no_cache=1
9085 fi
9086
9087 ac_cv_use_choicedlg='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
9088
9089 fi;
9090
9091 eval "$ac_cv_use_choicedlg"
9092 if test "$no_cache" != 1; then
9093 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
9094 fi
9095
9096 if test "$wxUSE_CHOICEDLG" = yes; then
9097 echo "$as_me:$LINENO: result: yes" >&5
9098 echo "${ECHO_T}yes" >&6
9099 else
9100 echo "$as_me:$LINENO: result: no" >&5
9101 echo "${ECHO_T}no" >&6
9102 fi
9103
9104
9105 enablestring=
9106 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
9107 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
9108 no_cache=0
9109 # Check whether --enable-coldlg or --disable-coldlg was given.
9110 if test "${enable_coldlg+set}" = set; then
9111 enableval="$enable_coldlg"
9112
9113 if test "$enableval" = yes; then
9114 ac_cv_use_coldlg='wxUSE_COLOURDLG=yes'
9115 else
9116 ac_cv_use_coldlg='wxUSE_COLOURDLG=no'
9117 fi
9118
9119 else
9120
9121 LINE=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
9122 if test "x$LINE" != x ; then
9123 eval "DEFAULT_$LINE"
9124 else
9125 no_cache=1
9126 fi
9127
9128 ac_cv_use_coldlg='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
9129
9130 fi;
9131
9132 eval "$ac_cv_use_coldlg"
9133 if test "$no_cache" != 1; then
9134 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
9135 fi
9136
9137 if test "$wxUSE_COLOURDLG" = yes; then
9138 echo "$as_me:$LINENO: result: yes" >&5
9139 echo "${ECHO_T}yes" >&6
9140 else
9141 echo "$as_me:$LINENO: result: no" >&5
9142 echo "${ECHO_T}no" >&6
9143 fi
9144
9145
9146 enablestring=
9147 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
9148 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
9149 no_cache=0
9150 # Check whether --enable-filedlg or --disable-filedlg was given.
9151 if test "${enable_filedlg+set}" = set; then
9152 enableval="$enable_filedlg"
9153
9154 if test "$enableval" = yes; then
9155 ac_cv_use_filedlg='wxUSE_FILEDLG=yes'
9156 else
9157 ac_cv_use_filedlg='wxUSE_FILEDLG=no'
9158 fi
9159
9160 else
9161
9162 LINE=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
9163 if test "x$LINE" != x ; then
9164 eval "DEFAULT_$LINE"
9165 else
9166 no_cache=1
9167 fi
9168
9169 ac_cv_use_filedlg='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
9170
9171 fi;
9172
9173 eval "$ac_cv_use_filedlg"
9174 if test "$no_cache" != 1; then
9175 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
9176 fi
9177
9178 if test "$wxUSE_FILEDLG" = yes; then
9179 echo "$as_me:$LINENO: result: yes" >&5
9180 echo "${ECHO_T}yes" >&6
9181 else
9182 echo "$as_me:$LINENO: result: no" >&5
9183 echo "${ECHO_T}no" >&6
9184 fi
9185
9186
9187 enablestring=
9188 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
9189 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
9190 no_cache=0
9191 # Check whether --enable-finddlg or --disable-finddlg was given.
9192 if test "${enable_finddlg+set}" = set; then
9193 enableval="$enable_finddlg"
9194
9195 if test "$enableval" = yes; then
9196 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
9197 else
9198 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
9199 fi
9200
9201 else
9202
9203 LINE=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
9204 if test "x$LINE" != x ; then
9205 eval "DEFAULT_$LINE"
9206 else
9207 no_cache=1
9208 fi
9209
9210 ac_cv_use_finddlg='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
9211
9212 fi;
9213
9214 eval "$ac_cv_use_finddlg"
9215 if test "$no_cache" != 1; then
9216 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
9217 fi
9218
9219 if test "$wxUSE_FINDREPLDLG" = yes; then
9220 echo "$as_me:$LINENO: result: yes" >&5
9221 echo "${ECHO_T}yes" >&6
9222 else
9223 echo "$as_me:$LINENO: result: no" >&5
9224 echo "${ECHO_T}no" >&6
9225 fi
9226
9227
9228 enablestring=
9229 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
9230 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
9231 no_cache=0
9232 # Check whether --enable-fontdlg or --disable-fontdlg was given.
9233 if test "${enable_fontdlg+set}" = set; then
9234 enableval="$enable_fontdlg"
9235
9236 if test "$enableval" = yes; then
9237 ac_cv_use_fontdlg='wxUSE_FONTDLG=yes'
9238 else
9239 ac_cv_use_fontdlg='wxUSE_FONTDLG=no'
9240 fi
9241
9242 else
9243
9244 LINE=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
9245 if test "x$LINE" != x ; then
9246 eval "DEFAULT_$LINE"
9247 else
9248 no_cache=1
9249 fi
9250
9251 ac_cv_use_fontdlg='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
9252
9253 fi;
9254
9255 eval "$ac_cv_use_fontdlg"
9256 if test "$no_cache" != 1; then
9257 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
9258 fi
9259
9260 if test "$wxUSE_FONTDLG" = yes; then
9261 echo "$as_me:$LINENO: result: yes" >&5
9262 echo "${ECHO_T}yes" >&6
9263 else
9264 echo "$as_me:$LINENO: result: no" >&5
9265 echo "${ECHO_T}no" >&6
9266 fi
9267
9268
9269 enablestring=
9270 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
9271 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
9272 no_cache=0
9273 # Check whether --enable-dirdlg or --disable-dirdlg was given.
9274 if test "${enable_dirdlg+set}" = set; then
9275 enableval="$enable_dirdlg"
9276
9277 if test "$enableval" = yes; then
9278 ac_cv_use_dirdlg='wxUSE_DIRDLG=yes'
9279 else
9280 ac_cv_use_dirdlg='wxUSE_DIRDLG=no'
9281 fi
9282
9283 else
9284
9285 LINE=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
9286 if test "x$LINE" != x ; then
9287 eval "DEFAULT_$LINE"
9288 else
9289 no_cache=1
9290 fi
9291
9292 ac_cv_use_dirdlg='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
9293
9294 fi;
9295
9296 eval "$ac_cv_use_dirdlg"
9297 if test "$no_cache" != 1; then
9298 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
9299 fi
9300
9301 if test "$wxUSE_DIRDLG" = yes; then
9302 echo "$as_me:$LINENO: result: yes" >&5
9303 echo "${ECHO_T}yes" >&6
9304 else
9305 echo "$as_me:$LINENO: result: no" >&5
9306 echo "${ECHO_T}no" >&6
9307 fi
9308
9309
9310 enablestring=
9311 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
9312 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
9313 no_cache=0
9314 # Check whether --enable-msgdlg or --disable-msgdlg was given.
9315 if test "${enable_msgdlg+set}" = set; then
9316 enableval="$enable_msgdlg"
9317
9318 if test "$enableval" = yes; then
9319 ac_cv_use_msgdlg='wxUSE_MSGDLG=yes'
9320 else
9321 ac_cv_use_msgdlg='wxUSE_MSGDLG=no'
9322 fi
9323
9324 else
9325
9326 LINE=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
9327 if test "x$LINE" != x ; then
9328 eval "DEFAULT_$LINE"
9329 else
9330 no_cache=1
9331 fi
9332
9333 ac_cv_use_msgdlg='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
9334
9335 fi;
9336
9337 eval "$ac_cv_use_msgdlg"
9338 if test "$no_cache" != 1; then
9339 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
9340 fi
9341
9342 if test "$wxUSE_MSGDLG" = yes; then
9343 echo "$as_me:$LINENO: result: yes" >&5
9344 echo "${ECHO_T}yes" >&6
9345 else
9346 echo "$as_me:$LINENO: result: no" >&5
9347 echo "${ECHO_T}no" >&6
9348 fi
9349
9350
9351 enablestring=
9352 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
9353 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
9354 no_cache=0
9355 # Check whether --enable-numberdlg or --disable-numberdlg was given.
9356 if test "${enable_numberdlg+set}" = set; then
9357 enableval="$enable_numberdlg"
9358
9359 if test "$enableval" = yes; then
9360 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
9361 else
9362 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
9363 fi
9364
9365 else
9366
9367 LINE=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
9368 if test "x$LINE" != x ; then
9369 eval "DEFAULT_$LINE"
9370 else
9371 no_cache=1
9372 fi
9373
9374 ac_cv_use_numberdlg='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
9375
9376 fi;
9377
9378 eval "$ac_cv_use_numberdlg"
9379 if test "$no_cache" != 1; then
9380 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
9381 fi
9382
9383 if test "$wxUSE_NUMBERDLG" = yes; then
9384 echo "$as_me:$LINENO: result: yes" >&5
9385 echo "${ECHO_T}yes" >&6
9386 else
9387 echo "$as_me:$LINENO: result: no" >&5
9388 echo "${ECHO_T}no" >&6
9389 fi
9390
9391
9392 enablestring=
9393 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
9394 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
9395 no_cache=0
9396 # Check whether --enable-splash or --disable-splash was given.
9397 if test "${enable_splash+set}" = set; then
9398 enableval="$enable_splash"
9399
9400 if test "$enableval" = yes; then
9401 ac_cv_use_splash='wxUSE_SPLASH=yes'
9402 else
9403 ac_cv_use_splash='wxUSE_SPLASH=no'
9404 fi
9405
9406 else
9407
9408 LINE=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
9409 if test "x$LINE" != x ; then
9410 eval "DEFAULT_$LINE"
9411 else
9412 no_cache=1
9413 fi
9414
9415 ac_cv_use_splash='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
9416
9417 fi;
9418
9419 eval "$ac_cv_use_splash"
9420 if test "$no_cache" != 1; then
9421 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
9422 fi
9423
9424 if test "$wxUSE_SPLASH" = yes; then
9425 echo "$as_me:$LINENO: result: yes" >&5
9426 echo "${ECHO_T}yes" >&6
9427 else
9428 echo "$as_me:$LINENO: result: no" >&5
9429 echo "${ECHO_T}no" >&6
9430 fi
9431
9432
9433 enablestring=
9434 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
9435 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
9436 no_cache=0
9437 # Check whether --enable-textdlg or --disable-textdlg was given.
9438 if test "${enable_textdlg+set}" = set; then
9439 enableval="$enable_textdlg"
9440
9441 if test "$enableval" = yes; then
9442 ac_cv_use_textdlg='wxUSE_TEXTDLG=yes'
9443 else
9444 ac_cv_use_textdlg='wxUSE_TEXTDLG=no'
9445 fi
9446
9447 else
9448
9449 LINE=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
9450 if test "x$LINE" != x ; then
9451 eval "DEFAULT_$LINE"
9452 else
9453 no_cache=1
9454 fi
9455
9456 ac_cv_use_textdlg='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
9457
9458 fi;
9459
9460 eval "$ac_cv_use_textdlg"
9461 if test "$no_cache" != 1; then
9462 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
9463 fi
9464
9465 if test "$wxUSE_TEXTDLG" = yes; then
9466 echo "$as_me:$LINENO: result: yes" >&5
9467 echo "${ECHO_T}yes" >&6
9468 else
9469 echo "$as_me:$LINENO: result: no" >&5
9470 echo "${ECHO_T}no" >&6
9471 fi
9472
9473
9474 enablestring=
9475 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
9476 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
9477 no_cache=0
9478 # Check whether --enable-tipdlg or --disable-tipdlg was given.
9479 if test "${enable_tipdlg+set}" = set; then
9480 enableval="$enable_tipdlg"
9481
9482 if test "$enableval" = yes; then
9483 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
9484 else
9485 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
9486 fi
9487
9488 else
9489
9490 LINE=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
9491 if test "x$LINE" != x ; then
9492 eval "DEFAULT_$LINE"
9493 else
9494 no_cache=1
9495 fi
9496
9497 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
9498
9499 fi;
9500
9501 eval "$ac_cv_use_tipdlg"
9502 if test "$no_cache" != 1; then
9503 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
9504 fi
9505
9506 if test "$wxUSE_STARTUP_TIPS" = yes; then
9507 echo "$as_me:$LINENO: result: yes" >&5
9508 echo "${ECHO_T}yes" >&6
9509 else
9510 echo "$as_me:$LINENO: result: no" >&5
9511 echo "${ECHO_T}no" >&6
9512 fi
9513
9514
9515 enablestring=
9516 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
9517 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
9518 no_cache=0
9519 # Check whether --enable-progressdlg or --disable-progressdlg was given.
9520 if test "${enable_progressdlg+set}" = set; then
9521 enableval="$enable_progressdlg"
9522
9523 if test "$enableval" = yes; then
9524 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
9525 else
9526 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
9527 fi
9528
9529 else
9530
9531 LINE=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
9532 if test "x$LINE" != x ; then
9533 eval "DEFAULT_$LINE"
9534 else
9535 no_cache=1
9536 fi
9537
9538 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
9539
9540 fi;
9541
9542 eval "$ac_cv_use_progressdlg"
9543 if test "$no_cache" != 1; then
9544 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
9545 fi
9546
9547 if test "$wxUSE_PROGRESSDLG" = yes; then
9548 echo "$as_me:$LINENO: result: yes" >&5
9549 echo "${ECHO_T}yes" >&6
9550 else
9551 echo "$as_me:$LINENO: result: no" >&5
9552 echo "${ECHO_T}no" >&6
9553 fi
9554
9555
9556 enablestring=
9557 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
9558 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
9559 no_cache=0
9560 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
9561 if test "${enable_wizarddlg+set}" = set; then
9562 enableval="$enable_wizarddlg"
9563
9564 if test "$enableval" = yes; then
9565 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
9566 else
9567 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
9568 fi
9569
9570 else
9571
9572 LINE=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
9573 if test "x$LINE" != x ; then
9574 eval "DEFAULT_$LINE"
9575 else
9576 no_cache=1
9577 fi
9578
9579 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
9580
9581 fi;
9582
9583 eval "$ac_cv_use_wizarddlg"
9584 if test "$no_cache" != 1; then
9585 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
9586 fi
9587
9588 if test "$wxUSE_WIZARDDLG" = yes; then
9589 echo "$as_me:$LINENO: result: yes" >&5
9590 echo "${ECHO_T}yes" >&6
9591 else
9592 echo "$as_me:$LINENO: result: no" >&5
9593 echo "${ECHO_T}no" >&6
9594 fi
9595
9596
9597
9598
9599 enablestring=
9600 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
9601 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
9602 no_cache=0
9603 # Check whether --enable-menus or --disable-menus was given.
9604 if test "${enable_menus+set}" = set; then
9605 enableval="$enable_menus"
9606
9607 if test "$enableval" = yes; then
9608 ac_cv_use_menus='wxUSE_MENUS=yes'
9609 else
9610 ac_cv_use_menus='wxUSE_MENUS=no'
9611 fi
9612
9613 else
9614
9615 LINE=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
9616 if test "x$LINE" != x ; then
9617 eval "DEFAULT_$LINE"
9618 else
9619 no_cache=1
9620 fi
9621
9622 ac_cv_use_menus='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
9623
9624 fi;
9625
9626 eval "$ac_cv_use_menus"
9627 if test "$no_cache" != 1; then
9628 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
9629 fi
9630
9631 if test "$wxUSE_MENUS" = yes; then
9632 echo "$as_me:$LINENO: result: yes" >&5
9633 echo "${ECHO_T}yes" >&6
9634 else
9635 echo "$as_me:$LINENO: result: no" >&5
9636 echo "${ECHO_T}no" >&6
9637 fi
9638
9639
9640 enablestring=
9641 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
9642 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
9643 no_cache=0
9644 # Check whether --enable-miniframe or --disable-miniframe was given.
9645 if test "${enable_miniframe+set}" = set; then
9646 enableval="$enable_miniframe"
9647
9648 if test "$enableval" = yes; then
9649 ac_cv_use_miniframe='wxUSE_MINIFRAME=yes'
9650 else
9651 ac_cv_use_miniframe='wxUSE_MINIFRAME=no'
9652 fi
9653
9654 else
9655
9656 LINE=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
9657 if test "x$LINE" != x ; then
9658 eval "DEFAULT_$LINE"
9659 else
9660 no_cache=1
9661 fi
9662
9663 ac_cv_use_miniframe='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
9664
9665 fi;
9666
9667 eval "$ac_cv_use_miniframe"
9668 if test "$no_cache" != 1; then
9669 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
9670 fi
9671
9672 if test "$wxUSE_MINIFRAME" = yes; then
9673 echo "$as_me:$LINENO: result: yes" >&5
9674 echo "${ECHO_T}yes" >&6
9675 else
9676 echo "$as_me:$LINENO: result: no" >&5
9677 echo "${ECHO_T}no" >&6
9678 fi
9679
9680
9681 enablestring=
9682 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
9683 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
9684 no_cache=0
9685 # Check whether --enable-tooltips or --disable-tooltips was given.
9686 if test "${enable_tooltips+set}" = set; then
9687 enableval="$enable_tooltips"
9688
9689 if test "$enableval" = yes; then
9690 ac_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
9691 else
9692 ac_cv_use_tooltips='wxUSE_TOOLTIPS=no'
9693 fi
9694
9695 else
9696
9697 LINE=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
9698 if test "x$LINE" != x ; then
9699 eval "DEFAULT_$LINE"
9700 else
9701 no_cache=1
9702 fi
9703
9704 ac_cv_use_tooltips='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
9705
9706 fi;
9707
9708 eval "$ac_cv_use_tooltips"
9709 if test "$no_cache" != 1; then
9710 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
9711 fi
9712
9713 if test "$wxUSE_TOOLTIPS" = yes; then
9714 echo "$as_me:$LINENO: result: yes" >&5
9715 echo "${ECHO_T}yes" >&6
9716 else
9717 echo "$as_me:$LINENO: result: no" >&5
9718 echo "${ECHO_T}no" >&6
9719 fi
9720
9721
9722 enablestring=
9723 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
9724 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
9725 no_cache=0
9726 # Check whether --enable-splines or --disable-splines was given.
9727 if test "${enable_splines+set}" = set; then
9728 enableval="$enable_splines"
9729
9730 if test "$enableval" = yes; then
9731 ac_cv_use_splines='wxUSE_SPLINES=yes'
9732 else
9733 ac_cv_use_splines='wxUSE_SPLINES=no'
9734 fi
9735
9736 else
9737
9738 LINE=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
9739 if test "x$LINE" != x ; then
9740 eval "DEFAULT_$LINE"
9741 else
9742 no_cache=1
9743 fi
9744
9745 ac_cv_use_splines='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
9746
9747 fi;
9748
9749 eval "$ac_cv_use_splines"
9750 if test "$no_cache" != 1; then
9751 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
9752 fi
9753
9754 if test "$wxUSE_SPLINES" = yes; then
9755 echo "$as_me:$LINENO: result: yes" >&5
9756 echo "${ECHO_T}yes" >&6
9757 else
9758 echo "$as_me:$LINENO: result: no" >&5
9759 echo "${ECHO_T}no" >&6
9760 fi
9761
9762
9763 enablestring=
9764 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
9765 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6
9766 no_cache=0
9767 # Check whether --enable-mousewheel or --disable-mousewheel was given.
9768 if test "${enable_mousewheel+set}" = set; then
9769 enableval="$enable_mousewheel"
9770
9771 if test "$enableval" = yes; then
9772 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
9773 else
9774 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
9775 fi
9776
9777 else
9778
9779 LINE=`grep "wxUSE_MOUSEWHEEL" ${wx_arg_cache_file}`
9780 if test "x$LINE" != x ; then
9781 eval "DEFAULT_$LINE"
9782 else
9783 no_cache=1
9784 fi
9785
9786 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL='$DEFAULT_wxUSE_MOUSEWHEEL
9787
9788 fi;
9789
9790 eval "$ac_cv_use_mousewheel"
9791 if test "$no_cache" != 1; then
9792 echo $ac_cv_use_mousewheel >> ${wx_arg_cache_file}.tmp
9793 fi
9794
9795 if test "$wxUSE_MOUSEWHEEL" = yes; then
9796 echo "$as_me:$LINENO: result: yes" >&5
9797 echo "${ECHO_T}yes" >&6
9798 else
9799 echo "$as_me:$LINENO: result: no" >&5
9800 echo "${ECHO_T}no" >&6
9801 fi
9802
9803
9804 enablestring=
9805 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
9806 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
9807 no_cache=0
9808 # Check whether --enable-validators or --disable-validators was given.
9809 if test "${enable_validators+set}" = set; then
9810 enableval="$enable_validators"
9811
9812 if test "$enableval" = yes; then
9813 ac_cv_use_validators='wxUSE_VALIDATORS=yes'
9814 else
9815 ac_cv_use_validators='wxUSE_VALIDATORS=no'
9816 fi
9817
9818 else
9819
9820 LINE=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
9821 if test "x$LINE" != x ; then
9822 eval "DEFAULT_$LINE"
9823 else
9824 no_cache=1
9825 fi
9826
9827 ac_cv_use_validators='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
9828
9829 fi;
9830
9831 eval "$ac_cv_use_validators"
9832 if test "$no_cache" != 1; then
9833 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
9834 fi
9835
9836 if test "$wxUSE_VALIDATORS" = yes; then
9837 echo "$as_me:$LINENO: result: yes" >&5
9838 echo "${ECHO_T}yes" >&6
9839 else
9840 echo "$as_me:$LINENO: result: no" >&5
9841 echo "${ECHO_T}no" >&6
9842 fi
9843
9844
9845 enablestring=
9846 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
9847 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
9848 no_cache=0
9849 # Check whether --enable-busyinfo or --disable-busyinfo was given.
9850 if test "${enable_busyinfo+set}" = set; then
9851 enableval="$enable_busyinfo"
9852
9853 if test "$enableval" = yes; then
9854 ac_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
9855 else
9856 ac_cv_use_busyinfo='wxUSE_BUSYINFO=no'
9857 fi
9858
9859 else
9860
9861 LINE=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
9862 if test "x$LINE" != x ; then
9863 eval "DEFAULT_$LINE"
9864 else
9865 no_cache=1
9866 fi
9867
9868 ac_cv_use_busyinfo='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
9869
9870 fi;
9871
9872 eval "$ac_cv_use_busyinfo"
9873 if test "$no_cache" != 1; then
9874 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
9875 fi
9876
9877 if test "$wxUSE_BUSYINFO" = yes; then
9878 echo "$as_me:$LINENO: result: yes" >&5
9879 echo "${ECHO_T}yes" >&6
9880 else
9881 echo "$as_me:$LINENO: result: no" >&5
9882 echo "${ECHO_T}no" >&6
9883 fi
9884
9885
9886 enablestring=
9887 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
9888 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
9889 no_cache=0
9890 # Check whether --enable-joystick or --disable-joystick was given.
9891 if test "${enable_joystick+set}" = set; then
9892 enableval="$enable_joystick"
9893
9894 if test "$enableval" = yes; then
9895 ac_cv_use_joystick='wxUSE_JOYSTICK=yes'
9896 else
9897 ac_cv_use_joystick='wxUSE_JOYSTICK=no'
9898 fi
9899
9900 else
9901
9902 LINE=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
9903 if test "x$LINE" != x ; then
9904 eval "DEFAULT_$LINE"
9905 else
9906 no_cache=1
9907 fi
9908
9909 ac_cv_use_joystick='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
9910
9911 fi;
9912
9913 eval "$ac_cv_use_joystick"
9914 if test "$no_cache" != 1; then
9915 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
9916 fi
9917
9918 if test "$wxUSE_JOYSTICK" = yes; then
9919 echo "$as_me:$LINENO: result: yes" >&5
9920 echo "${ECHO_T}yes" >&6
9921 else
9922 echo "$as_me:$LINENO: result: no" >&5
9923 echo "${ECHO_T}no" >&6
9924 fi
9925
9926
9927 enablestring=
9928 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
9929 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
9930 no_cache=0
9931 # Check whether --enable-metafile or --disable-metafile was given.
9932 if test "${enable_metafile+set}" = set; then
9933 enableval="$enable_metafile"
9934
9935 if test "$enableval" = yes; then
9936 ac_cv_use_metafile='wxUSE_METAFILE=yes'
9937 else
9938 ac_cv_use_metafile='wxUSE_METAFILE=no'
9939 fi
9940
9941 else
9942
9943 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
9944 if test "x$LINE" != x ; then
9945 eval "DEFAULT_$LINE"
9946 else
9947 no_cache=1
9948 fi
9949
9950 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
9951
9952 fi;
9953
9954 eval "$ac_cv_use_metafile"
9955 if test "$no_cache" != 1; then
9956 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
9957 fi
9958
9959 if test "$wxUSE_METAFILE" = yes; then
9960 echo "$as_me:$LINENO: result: yes" >&5
9961 echo "${ECHO_T}yes" >&6
9962 else
9963 echo "$as_me:$LINENO: result: no" >&5
9964 echo "${ECHO_T}no" >&6
9965 fi
9966
9967
9968 enablestring=
9969 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
9970 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
9971 no_cache=0
9972 # Check whether --enable-dragimage or --disable-dragimage was given.
9973 if test "${enable_dragimage+set}" = set; then
9974 enableval="$enable_dragimage"
9975
9976 if test "$enableval" = yes; then
9977 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
9978 else
9979 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
9980 fi
9981
9982 else
9983
9984 LINE=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
9985 if test "x$LINE" != x ; then
9986 eval "DEFAULT_$LINE"
9987 else
9988 no_cache=1
9989 fi
9990
9991 ac_cv_use_dragimage='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
9992
9993 fi;
9994
9995 eval "$ac_cv_use_dragimage"
9996 if test "$no_cache" != 1; then
9997 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
9998 fi
9999
10000 if test "$wxUSE_DRAGIMAGE" = yes; then
10001 echo "$as_me:$LINENO: result: yes" >&5
10002 echo "${ECHO_T}yes" >&6
10003 else
10004 echo "$as_me:$LINENO: result: no" >&5
10005 echo "${ECHO_T}no" >&6
10006 fi
10007
10008
10009 enablestring=
10010 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
10011 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
10012 no_cache=0
10013 # Check whether --enable-accessibility or --disable-accessibility was given.
10014 if test "${enable_accessibility+set}" = set; then
10015 enableval="$enable_accessibility"
10016
10017 if test "$enableval" = yes; then
10018 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
10019 else
10020 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
10021 fi
10022
10023 else
10024
10025 LINE=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
10026 if test "x$LINE" != x ; then
10027 eval "DEFAULT_$LINE"
10028 else
10029 no_cache=1
10030 fi
10031
10032 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
10033
10034 fi;
10035
10036 eval "$ac_cv_use_accessibility"
10037 if test "$no_cache" != 1; then
10038 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
10039 fi
10040
10041 if test "$wxUSE_ACCESSIBILITY" = yes; then
10042 echo "$as_me:$LINENO: result: yes" >&5
10043 echo "${ECHO_T}yes" >&6
10044 else
10045 echo "$as_me:$LINENO: result: no" >&5
10046 echo "${ECHO_T}no" >&6
10047 fi
10048
10049
10050
10051
10052 enablestring=
10053 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
10054 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
10055 no_cache=0
10056 # Check whether --enable-palette or --disable-palette was given.
10057 if test "${enable_palette+set}" = set; then
10058 enableval="$enable_palette"
10059
10060 if test "$enableval" = yes; then
10061 ac_cv_use_palette='wxUSE_PALETTE=yes'
10062 else
10063 ac_cv_use_palette='wxUSE_PALETTE=no'
10064 fi
10065
10066 else
10067
10068 LINE=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
10069 if test "x$LINE" != x ; then
10070 eval "DEFAULT_$LINE"
10071 else
10072 no_cache=1
10073 fi
10074
10075 ac_cv_use_palette='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
10076
10077 fi;
10078
10079 eval "$ac_cv_use_palette"
10080 if test "$no_cache" != 1; then
10081 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
10082 fi
10083
10084 if test "$wxUSE_PALETTE" = yes; then
10085 echo "$as_me:$LINENO: result: yes" >&5
10086 echo "${ECHO_T}yes" >&6
10087 else
10088 echo "$as_me:$LINENO: result: no" >&5
10089 echo "${ECHO_T}no" >&6
10090 fi
10091
10092
10093 enablestring=
10094 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
10095 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
10096 no_cache=0
10097 # Check whether --enable-image or --disable-image was given.
10098 if test "${enable_image+set}" = set; then
10099 enableval="$enable_image"
10100
10101 if test "$enableval" = yes; then
10102 ac_cv_use_image='wxUSE_IMAGE=yes'
10103 else
10104 ac_cv_use_image='wxUSE_IMAGE=no'
10105 fi
10106
10107 else
10108
10109 LINE=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
10110 if test "x$LINE" != x ; then
10111 eval "DEFAULT_$LINE"
10112 else
10113 no_cache=1
10114 fi
10115
10116 ac_cv_use_image='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
10117
10118 fi;
10119
10120 eval "$ac_cv_use_image"
10121 if test "$no_cache" != 1; then
10122 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
10123 fi
10124
10125 if test "$wxUSE_IMAGE" = yes; then
10126 echo "$as_me:$LINENO: result: yes" >&5
10127 echo "${ECHO_T}yes" >&6
10128 else
10129 echo "$as_me:$LINENO: result: no" >&5
10130 echo "${ECHO_T}no" >&6
10131 fi
10132
10133
10134 enablestring=
10135 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
10136 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
10137 no_cache=0
10138 # Check whether --enable-gif or --disable-gif was given.
10139 if test "${enable_gif+set}" = set; then
10140 enableval="$enable_gif"
10141
10142 if test "$enableval" = yes; then
10143 ac_cv_use_gif='wxUSE_GIF=yes'
10144 else
10145 ac_cv_use_gif='wxUSE_GIF=no'
10146 fi
10147
10148 else
10149
10150 LINE=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
10151 if test "x$LINE" != x ; then
10152 eval "DEFAULT_$LINE"
10153 else
10154 no_cache=1
10155 fi
10156
10157 ac_cv_use_gif='wxUSE_GIF='$DEFAULT_wxUSE_GIF
10158
10159 fi;
10160
10161 eval "$ac_cv_use_gif"
10162 if test "$no_cache" != 1; then
10163 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
10164 fi
10165
10166 if test "$wxUSE_GIF" = yes; then
10167 echo "$as_me:$LINENO: result: yes" >&5
10168 echo "${ECHO_T}yes" >&6
10169 else
10170 echo "$as_me:$LINENO: result: no" >&5
10171 echo "${ECHO_T}no" >&6
10172 fi
10173
10174
10175 enablestring=
10176 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
10177 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
10178 no_cache=0
10179 # Check whether --enable-pcx or --disable-pcx was given.
10180 if test "${enable_pcx+set}" = set; then
10181 enableval="$enable_pcx"
10182
10183 if test "$enableval" = yes; then
10184 ac_cv_use_pcx='wxUSE_PCX=yes'
10185 else
10186 ac_cv_use_pcx='wxUSE_PCX=no'
10187 fi
10188
10189 else
10190
10191 LINE=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
10192 if test "x$LINE" != x ; then
10193 eval "DEFAULT_$LINE"
10194 else
10195 no_cache=1
10196 fi
10197
10198 ac_cv_use_pcx='wxUSE_PCX='$DEFAULT_wxUSE_PCX
10199
10200 fi;
10201
10202 eval "$ac_cv_use_pcx"
10203 if test "$no_cache" != 1; then
10204 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
10205 fi
10206
10207 if test "$wxUSE_PCX" = yes; then
10208 echo "$as_me:$LINENO: result: yes" >&5
10209 echo "${ECHO_T}yes" >&6
10210 else
10211 echo "$as_me:$LINENO: result: no" >&5
10212 echo "${ECHO_T}no" >&6
10213 fi
10214
10215
10216 enablestring=
10217 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
10218 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
10219 no_cache=0
10220 # Check whether --enable-iff or --disable-iff was given.
10221 if test "${enable_iff+set}" = set; then
10222 enableval="$enable_iff"
10223
10224 if test "$enableval" = yes; then
10225 ac_cv_use_iff='wxUSE_IFF=yes'
10226 else
10227 ac_cv_use_iff='wxUSE_IFF=no'
10228 fi
10229
10230 else
10231
10232 LINE=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
10233 if test "x$LINE" != x ; then
10234 eval "DEFAULT_$LINE"
10235 else
10236 no_cache=1
10237 fi
10238
10239 ac_cv_use_iff='wxUSE_IFF='$DEFAULT_wxUSE_IFF
10240
10241 fi;
10242
10243 eval "$ac_cv_use_iff"
10244 if test "$no_cache" != 1; then
10245 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
10246 fi
10247
10248 if test "$wxUSE_IFF" = yes; then
10249 echo "$as_me:$LINENO: result: yes" >&5
10250 echo "${ECHO_T}yes" >&6
10251 else
10252 echo "$as_me:$LINENO: result: no" >&5
10253 echo "${ECHO_T}no" >&6
10254 fi
10255
10256
10257 enablestring=
10258 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
10259 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
10260 no_cache=0
10261 # Check whether --enable-pnm or --disable-pnm was given.
10262 if test "${enable_pnm+set}" = set; then
10263 enableval="$enable_pnm"
10264
10265 if test "$enableval" = yes; then
10266 ac_cv_use_pnm='wxUSE_PNM=yes'
10267 else
10268 ac_cv_use_pnm='wxUSE_PNM=no'
10269 fi
10270
10271 else
10272
10273 LINE=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
10274 if test "x$LINE" != x ; then
10275 eval "DEFAULT_$LINE"
10276 else
10277 no_cache=1
10278 fi
10279
10280 ac_cv_use_pnm='wxUSE_PNM='$DEFAULT_wxUSE_PNM
10281
10282 fi;
10283
10284 eval "$ac_cv_use_pnm"
10285 if test "$no_cache" != 1; then
10286 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
10287 fi
10288
10289 if test "$wxUSE_PNM" = yes; then
10290 echo "$as_me:$LINENO: result: yes" >&5
10291 echo "${ECHO_T}yes" >&6
10292 else
10293 echo "$as_me:$LINENO: result: no" >&5
10294 echo "${ECHO_T}no" >&6
10295 fi
10296
10297
10298 enablestring=
10299 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
10300 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
10301 no_cache=0
10302 # Check whether --enable-xpm or --disable-xpm was given.
10303 if test "${enable_xpm+set}" = set; then
10304 enableval="$enable_xpm"
10305
10306 if test "$enableval" = yes; then
10307 ac_cv_use_xpm='wxUSE_XPM=yes'
10308 else
10309 ac_cv_use_xpm='wxUSE_XPM=no'
10310 fi
10311
10312 else
10313
10314 LINE=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
10315 if test "x$LINE" != x ; then
10316 eval "DEFAULT_$LINE"
10317 else
10318 no_cache=1
10319 fi
10320
10321 ac_cv_use_xpm='wxUSE_XPM='$DEFAULT_wxUSE_XPM
10322
10323 fi;
10324
10325 eval "$ac_cv_use_xpm"
10326 if test "$no_cache" != 1; then
10327 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
10328 fi
10329
10330 if test "$wxUSE_XPM" = yes; then
10331 echo "$as_me:$LINENO: result: yes" >&5
10332 echo "${ECHO_T}yes" >&6
10333 else
10334 echo "$as_me:$LINENO: result: no" >&5
10335 echo "${ECHO_T}no" >&6
10336 fi
10337
10338
10339 enablestring=
10340 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
10341 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
10342 no_cache=0
10343 # Check whether --enable-ico_cur or --disable-ico_cur was given.
10344 if test "${enable_ico_cur+set}" = set; then
10345 enableval="$enable_ico_cur"
10346
10347 if test "$enableval" = yes; then
10348 ac_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
10349 else
10350 ac_cv_use_ico_cur='wxUSE_ICO_CUR=no'
10351 fi
10352
10353 else
10354
10355 LINE=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
10356 if test "x$LINE" != x ; then
10357 eval "DEFAULT_$LINE"
10358 else
10359 no_cache=1
10360 fi
10361
10362 ac_cv_use_ico_cur='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
10363
10364 fi;
10365
10366 eval "$ac_cv_use_ico_cur"
10367 if test "$no_cache" != 1; then
10368 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
10369 fi
10370
10371 if test "$wxUSE_ICO_CUR" = yes; then
10372 echo "$as_me:$LINENO: result: yes" >&5
10373 echo "${ECHO_T}yes" >&6
10374 else
10375 echo "$as_me:$LINENO: result: no" >&5
10376 echo "${ECHO_T}no" >&6
10377 fi
10378
10379
10380 fi
10381
10382
10383
10384 # Check whether --with-flavour or --without-flavour was given.
10385 if test "${with_flavour+set}" = set; then
10386 withval="$with_flavour"
10387 WX_FLAVOUR="$withval"
10388 fi;
10389
10390
10391
10392 enablestring=
10393 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
10394 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6
10395 no_cache=0
10396 # Check whether --enable-official_build or --disable-official_build was given.
10397 if test "${enable_official_build+set}" = set; then
10398 enableval="$enable_official_build"
10399
10400 if test "$enableval" = yes; then
10401 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
10402 else
10403 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
10404 fi
10405
10406 else
10407
10408 LINE=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
10409 if test "x$LINE" != x ; then
10410 eval "DEFAULT_$LINE"
10411 else
10412 no_cache=1
10413 fi
10414
10415 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD='$DEFAULT_wxUSE_OFFICIAL_BUILD
10416
10417 fi;
10418
10419 eval "$ac_cv_use_official_build"
10420 if test "$no_cache" != 1; then
10421 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
10422 fi
10423
10424 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
10425 echo "$as_me:$LINENO: result: yes" >&5
10426 echo "${ECHO_T}yes" >&6
10427 else
10428 echo "$as_me:$LINENO: result: no" >&5
10429 echo "${ECHO_T}no" >&6
10430 fi
10431
10432 # Check whether --enable-vendor or --disable-vendor was given.
10433 if test "${enable_vendor+set}" = set; then
10434 enableval="$enable_vendor"
10435 VENDOR="$enableval"
10436 fi;
10437 if test "x$VENDOR" = "x"; then
10438 VENDOR="custom"
10439 fi
10440
10441
10442
10443
10444 echo "saving argument cache $wx_arg_cache_file"
10445 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
10446
10447
10448
10449 echo "$as_me:$LINENO: checking for toolkit" >&5
10450 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
10451
10452 # In Wine, we need to default to MSW, not GTK or MOTIF
10453 if test "$wxUSE_WINE" = "yes"; then
10454 DEFAULT_DEFAULT_wxUSE_GTK=0
10455 DEFAULT_DEFAULT_wxUSE_MOTIF=0
10456 DEFAULT_DEFAULT_wxUSE_MSW=1
10457 wxUSE_SHARED=no
10458 fi
10459
10460
10461 if test "$wxUSE_GUI" = "yes"; then
10462
10463 if test "$USE_BEOS" = 1; then
10464 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
10465 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
10466 { (exit 1); exit 1; }; }
10467 fi
10468
10469 if test "$TOOLKIT_GIVEN" = 1; then
10470 for toolkit in `echo $ALL_TOOLKITS`; do
10471 var=wxUSE_$toolkit
10472 eval "value=\$${var}"
10473 if test "x$value" = "xno"; then
10474 eval "$var=0"
10475 elif test "x$value" != "x"; then
10476 eval "$var=1"
10477 fi
10478
10479 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
10480 eval "wx${toolkit}_VERSION=$value"
10481 fi
10482 done
10483 else
10484 for toolkit in `echo $ALL_TOOLKITS`; do
10485 if test "$has_toolkit_in_cache" != 1; then
10486 var=DEFAULT_DEFAULT_wxUSE_$toolkit
10487 else
10488 var=DEFAULT_wxUSE_$toolkit
10489
10490 eval "version=\$DEFAULT_wx${toolkit}_VERSION"
10491 if test "x$version" != "x"; then
10492 eval "wx${toolkit}_VERSION=$version"
10493 fi
10494 fi
10495 eval "wxUSE_$toolkit=\$${var}"
10496 done
10497 fi
10498
10499 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
10500 + ${wxUSE_MGL:-0} + ${wxUSE_MICROWIN:-0} \
10501 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
10502
10503 case "${host}" in
10504 *-pc-os2_emx | *-pc-os2-emx )
10505 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
10506 esac
10507
10508 case "$NUM_TOOLKITS" in
10509 1)
10510 ;;
10511 0)
10512 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
10513 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
10514 { (exit 1); exit 1; }; }
10515 ;;
10516 *)
10517 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
10518 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
10519 { (exit 1); exit 1; }; }
10520 esac
10521
10522 # to be removed when --disable-gtk2 isn't needed
10523 if test "x$wxUSE_GTK2" = "xyes"; then
10524 wxGTK_VERSION=2
10525 elif test "x$wxUSE_GTK2" = "xno"; then
10526 wxGTK_VERSION=1
10527 fi
10528
10529 for toolkit in `echo $ALL_TOOLKITS`; do
10530 var=wxUSE_$toolkit
10531 eval "value=\$${var}"
10532 if test "x$value" != x; then
10533 cache_var=CACHE_$toolkit
10534 eval "cache=\$${cache_var}"
10535 if test "$cache" = 1; then
10536 echo "$var=$value" >> ${wx_arg_cache_file}
10537 eval "version=\$wx${toolkit}_VERSION"
10538 if test "x$version" != "x"; then
10539 echo "wx${toolkit}_VERSION=$version" >> ${wx_arg_cache_file}
10540 fi
10541 fi
10542 if test "$value" = 1; then
10543 toolkit_echo=`echo $toolkit | tr "[A-Z]" "[a-z]"`
10544 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
10545 echo "${ECHO_T}$toolkit_echo" >&6
10546 fi
10547 fi
10548 done
10549 else
10550 if test "x$host_alias" != "x"; then
10551 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
10552 echo "${ECHO_T}base ($host_alias hosted) only" >&6
10553 else
10554 echo "$as_me:$LINENO: result: base only" >&5
10555 echo "${ECHO_T}base only" >&6
10556 fi
10557 fi
10558
10559 wants_win32=0
10560 doesnt_want_win32=0
10561 case "${host}" in
10562 *-*-cygwin*)
10563 if test "$wxUSE_MSW" = 1 ; then
10564 wants_win32=1
10565 else
10566 doesnt_want_win32=1
10567 fi
10568 ;;
10569 *-*-mingw*)
10570 wants_win32=1
10571 ;;
10572 esac
10573
10574 if test "$wxUSE_WINE" = "yes"; then
10575 wants_win32=1
10576 CC=winegcc
10577 CXX=wineg++
10578 RESCOMP=wrc
10579 LDFLAGS_GUI="-mwindows"
10580 fi
10581
10582 if test "$wants_win32" = 1 ; then
10583 USE_UNIX=0
10584 USE_WIN32=1
10585 cat >>confdefs.h <<\_ACEOF
10586 #define __WIN32__ 1
10587 _ACEOF
10588
10589 cat >>confdefs.h <<\_ACEOF
10590 #define __WIN95__ 1
10591 _ACEOF
10592
10593 cat >>confdefs.h <<\_ACEOF
10594 #define __WINDOWS__ 1
10595 _ACEOF
10596
10597 cat >>confdefs.h <<\_ACEOF
10598 #define __GNUWIN32__ 1
10599 _ACEOF
10600
10601 cat >>confdefs.h <<\_ACEOF
10602 #define STRICT 1
10603 _ACEOF
10604
10605 cat >>confdefs.h <<\_ACEOF
10606 #define WINVER 0x0400
10607 _ACEOF
10608
10609 fi
10610 if test "$doesnt_want_win32" = 1 ; then
10611 USE_UNIX=1
10612 USE_WIN32=0
10613 fi
10614
10615 if test "$USE_UNIX" = 1 ; then
10616 wxUSE_UNIX=yes
10617 cat >>confdefs.h <<\_ACEOF
10618 #define __UNIX__ 1
10619 _ACEOF
10620
10621 fi
10622
10623
10624 cat >confcache <<\_ACEOF
10625 # This file is a shell script that caches the results of configure
10626 # tests run on this system so they can be shared between configure
10627 # scripts and configure runs, see configure's option --config-cache.
10628 # It is not useful on other systems. If it contains results you don't
10629 # want to keep, you may remove or edit it.
10630 #
10631 # config.status only pays attention to the cache file if you give it
10632 # the --recheck option to rerun configure.
10633 #
10634 # `ac_cv_env_foo' variables (set or unset) will be overridden when
10635 # loading this file, other *unset* `ac_cv_foo' will be assigned the
10636 # following values.
10637
10638 _ACEOF
10639
10640 # The following way of writing the cache mishandles newlines in values,
10641 # but we know of no workaround that is simple, portable, and efficient.
10642 # So, don't put newlines in cache variables' values.
10643 # Ultrix sh set writes to stderr and can't be redirected directly,
10644 # and sets the high bit in the cache file unless we assign to the vars.
10645 {
10646 (set) 2>&1 |
10647 case `(ac_space=' '; set | grep ac_space) 2>&1` in
10648 *ac_space=\ *)
10649 # `set' does not quote correctly, so add quotes (double-quote
10650 # substitution turns \\\\ into \\, and sed turns \\ into \).
10651 sed -n \
10652 "s/'/'\\\\''/g;
10653 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
10654 ;;
10655 *)
10656 # `set' quotes correctly as required by POSIX, so do not add quotes.
10657 sed -n \
10658 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
10659 ;;
10660 esac;
10661 } |
10662 sed '
10663 t clear
10664 : clear
10665 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
10666 t end
10667 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
10668 : end' >>confcache
10669 if diff $cache_file confcache >/dev/null 2>&1; then :; else
10670 if test -w $cache_file; then
10671 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
10672 cat confcache >$cache_file
10673 else
10674 echo "not updating unwritable cache $cache_file"
10675 fi
10676 fi
10677 rm -f confcache
10678
10679 if test "$build" != "$host" ; then
10680 if test "$USE_WIN32" = 1 -o "$USE_DOS" = 1 -o "$USE_UNIX" = 1; then
10681 CC=$host_alias-gcc
10682 CXX=$host_alias-c++
10683 AR=$host_alias-ar
10684 RANLIB=$host_alias-ranlib
10685 DLLTOOL=$host_alias-dlltool
10686 RESCOMP=$host_alias-windres
10687 STRIP=$host_alias-strip
10688 elif test "x$CC" '!=' "x"; then
10689 echo "You set CC, I assume you know what you are doing."
10690 else
10691 { { echo "$as_me:$LINENO: error: $build_alias -> $host_alias cross compilation not supported yet." >&5
10692 echo "$as_me: error: $build_alias -> $host_alias cross compilation not supported yet." >&2;}
10693 { (exit 1); exit 1; }; }
10694 fi
10695 fi
10696
10697 CFLAGS=${CFLAGS:=}
10698
10699
10700 ac_ext=c
10701 ac_cpp='$CPP $CPPFLAGS'
10702 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10703 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10704 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10705 if test -n "$ac_tool_prefix"; then
10706 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
10707 set dummy ${ac_tool_prefix}gcc; ac_word=$2
10708 echo "$as_me:$LINENO: checking for $ac_word" >&5
10709 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10710 if test "${ac_cv_prog_CC+set}" = set; then
10711 echo $ECHO_N "(cached) $ECHO_C" >&6
10712 else
10713 if test -n "$CC"; then
10714 ac_cv_prog_CC="$CC" # Let the user override the test.
10715 else
10716 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10717 for as_dir in $PATH
10718 do
10719 IFS=$as_save_IFS
10720 test -z "$as_dir" && as_dir=.
10721 for ac_exec_ext in '' $ac_executable_extensions; do
10722 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10723 ac_cv_prog_CC="${ac_tool_prefix}gcc"
10724 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10725 break 2
10726 fi
10727 done
10728 done
10729
10730 fi
10731 fi
10732 CC=$ac_cv_prog_CC
10733 if test -n "$CC"; then
10734 echo "$as_me:$LINENO: result: $CC" >&5
10735 echo "${ECHO_T}$CC" >&6
10736 else
10737 echo "$as_me:$LINENO: result: no" >&5
10738 echo "${ECHO_T}no" >&6
10739 fi
10740
10741 fi
10742 if test -z "$ac_cv_prog_CC"; then
10743 ac_ct_CC=$CC
10744 # Extract the first word of "gcc", so it can be a program name with args.
10745 set dummy gcc; ac_word=$2
10746 echo "$as_me:$LINENO: checking for $ac_word" >&5
10747 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10748 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10749 echo $ECHO_N "(cached) $ECHO_C" >&6
10750 else
10751 if test -n "$ac_ct_CC"; then
10752 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
10753 else
10754 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10755 for as_dir in $PATH
10756 do
10757 IFS=$as_save_IFS
10758 test -z "$as_dir" && as_dir=.
10759 for ac_exec_ext in '' $ac_executable_extensions; do
10760 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10761 ac_cv_prog_ac_ct_CC="gcc"
10762 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10763 break 2
10764 fi
10765 done
10766 done
10767
10768 fi
10769 fi
10770 ac_ct_CC=$ac_cv_prog_ac_ct_CC
10771 if test -n "$ac_ct_CC"; then
10772 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10773 echo "${ECHO_T}$ac_ct_CC" >&6
10774 else
10775 echo "$as_me:$LINENO: result: no" >&5
10776 echo "${ECHO_T}no" >&6
10777 fi
10778
10779 CC=$ac_ct_CC
10780 else
10781 CC="$ac_cv_prog_CC"
10782 fi
10783
10784 if test -z "$CC"; then
10785 if test -n "$ac_tool_prefix"; then
10786 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
10787 set dummy ${ac_tool_prefix}cc; ac_word=$2
10788 echo "$as_me:$LINENO: checking for $ac_word" >&5
10789 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10790 if test "${ac_cv_prog_CC+set}" = set; then
10791 echo $ECHO_N "(cached) $ECHO_C" >&6
10792 else
10793 if test -n "$CC"; then
10794 ac_cv_prog_CC="$CC" # Let the user override the test.
10795 else
10796 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10797 for as_dir in $PATH
10798 do
10799 IFS=$as_save_IFS
10800 test -z "$as_dir" && as_dir=.
10801 for ac_exec_ext in '' $ac_executable_extensions; do
10802 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10803 ac_cv_prog_CC="${ac_tool_prefix}cc"
10804 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10805 break 2
10806 fi
10807 done
10808 done
10809
10810 fi
10811 fi
10812 CC=$ac_cv_prog_CC
10813 if test -n "$CC"; then
10814 echo "$as_me:$LINENO: result: $CC" >&5
10815 echo "${ECHO_T}$CC" >&6
10816 else
10817 echo "$as_me:$LINENO: result: no" >&5
10818 echo "${ECHO_T}no" >&6
10819 fi
10820
10821 fi
10822 if test -z "$ac_cv_prog_CC"; then
10823 ac_ct_CC=$CC
10824 # Extract the first word of "cc", so it can be a program name with args.
10825 set dummy cc; ac_word=$2
10826 echo "$as_me:$LINENO: checking for $ac_word" >&5
10827 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10828 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10829 echo $ECHO_N "(cached) $ECHO_C" >&6
10830 else
10831 if test -n "$ac_ct_CC"; then
10832 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
10833 else
10834 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10835 for as_dir in $PATH
10836 do
10837 IFS=$as_save_IFS
10838 test -z "$as_dir" && as_dir=.
10839 for ac_exec_ext in '' $ac_executable_extensions; do
10840 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10841 ac_cv_prog_ac_ct_CC="cc"
10842 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10843 break 2
10844 fi
10845 done
10846 done
10847
10848 fi
10849 fi
10850 ac_ct_CC=$ac_cv_prog_ac_ct_CC
10851 if test -n "$ac_ct_CC"; then
10852 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10853 echo "${ECHO_T}$ac_ct_CC" >&6
10854 else
10855 echo "$as_me:$LINENO: result: no" >&5
10856 echo "${ECHO_T}no" >&6
10857 fi
10858
10859 CC=$ac_ct_CC
10860 else
10861 CC="$ac_cv_prog_CC"
10862 fi
10863
10864 fi
10865 if test -z "$CC"; then
10866 # Extract the first word of "cc", so it can be a program name with args.
10867 set dummy cc; ac_word=$2
10868 echo "$as_me:$LINENO: checking for $ac_word" >&5
10869 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10870 if test "${ac_cv_prog_CC+set}" = set; then
10871 echo $ECHO_N "(cached) $ECHO_C" >&6
10872 else
10873 if test -n "$CC"; then
10874 ac_cv_prog_CC="$CC" # Let the user override the test.
10875 else
10876 ac_prog_rejected=no
10877 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10878 for as_dir in $PATH
10879 do
10880 IFS=$as_save_IFS
10881 test -z "$as_dir" && as_dir=.
10882 for ac_exec_ext in '' $ac_executable_extensions; do
10883 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10884 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
10885 ac_prog_rejected=yes
10886 continue
10887 fi
10888 ac_cv_prog_CC="cc"
10889 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10890 break 2
10891 fi
10892 done
10893 done
10894
10895 if test $ac_prog_rejected = yes; then
10896 # We found a bogon in the path, so make sure we never use it.
10897 set dummy $ac_cv_prog_CC
10898 shift
10899 if test $# != 0; then
10900 # We chose a different compiler from the bogus one.
10901 # However, it has the same basename, so the bogon will be chosen
10902 # first if we set CC to just the basename; use the full file name.
10903 shift
10904 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
10905 fi
10906 fi
10907 fi
10908 fi
10909 CC=$ac_cv_prog_CC
10910 if test -n "$CC"; then
10911 echo "$as_me:$LINENO: result: $CC" >&5
10912 echo "${ECHO_T}$CC" >&6
10913 else
10914 echo "$as_me:$LINENO: result: no" >&5
10915 echo "${ECHO_T}no" >&6
10916 fi
10917
10918 fi
10919 if test -z "$CC"; then
10920 if test -n "$ac_tool_prefix"; then
10921 for ac_prog in cl
10922 do
10923 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10924 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
10925 echo "$as_me:$LINENO: checking for $ac_word" >&5
10926 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10927 if test "${ac_cv_prog_CC+set}" = set; then
10928 echo $ECHO_N "(cached) $ECHO_C" >&6
10929 else
10930 if test -n "$CC"; then
10931 ac_cv_prog_CC="$CC" # Let the user override the test.
10932 else
10933 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10934 for as_dir in $PATH
10935 do
10936 IFS=$as_save_IFS
10937 test -z "$as_dir" && as_dir=.
10938 for ac_exec_ext in '' $ac_executable_extensions; do
10939 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10940 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
10941 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10942 break 2
10943 fi
10944 done
10945 done
10946
10947 fi
10948 fi
10949 CC=$ac_cv_prog_CC
10950 if test -n "$CC"; then
10951 echo "$as_me:$LINENO: result: $CC" >&5
10952 echo "${ECHO_T}$CC" >&6
10953 else
10954 echo "$as_me:$LINENO: result: no" >&5
10955 echo "${ECHO_T}no" >&6
10956 fi
10957
10958 test -n "$CC" && break
10959 done
10960 fi
10961 if test -z "$CC"; then
10962 ac_ct_CC=$CC
10963 for ac_prog in cl
10964 do
10965 # Extract the first word of "$ac_prog", so it can be a program name with args.
10966 set dummy $ac_prog; ac_word=$2
10967 echo "$as_me:$LINENO: checking for $ac_word" >&5
10968 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10969 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10970 echo $ECHO_N "(cached) $ECHO_C" >&6
10971 else
10972 if test -n "$ac_ct_CC"; then
10973 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
10974 else
10975 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10976 for as_dir in $PATH
10977 do
10978 IFS=$as_save_IFS
10979 test -z "$as_dir" && as_dir=.
10980 for ac_exec_ext in '' $ac_executable_extensions; do
10981 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10982 ac_cv_prog_ac_ct_CC="$ac_prog"
10983 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10984 break 2
10985 fi
10986 done
10987 done
10988
10989 fi
10990 fi
10991 ac_ct_CC=$ac_cv_prog_ac_ct_CC
10992 if test -n "$ac_ct_CC"; then
10993 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10994 echo "${ECHO_T}$ac_ct_CC" >&6
10995 else
10996 echo "$as_me:$LINENO: result: no" >&5
10997 echo "${ECHO_T}no" >&6
10998 fi
10999
11000 test -n "$ac_ct_CC" && break
11001 done
11002
11003 CC=$ac_ct_CC
11004 fi
11005
11006 fi
11007
11008
11009 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
11010 See \`config.log' for more details." >&5
11011 echo "$as_me: error: no acceptable C compiler found in \$PATH
11012 See \`config.log' for more details." >&2;}
11013 { (exit 1); exit 1; }; }
11014
11015 # Provide some information about the compiler.
11016 echo "$as_me:$LINENO:" \
11017 "checking for C compiler version" >&5
11018 ac_compiler=`set X $ac_compile; echo $2`
11019 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
11020 (eval $ac_compiler --version </dev/null >&5) 2>&5
11021 ac_status=$?
11022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11023 (exit $ac_status); }
11024 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
11025 (eval $ac_compiler -v </dev/null >&5) 2>&5
11026 ac_status=$?
11027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11028 (exit $ac_status); }
11029 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
11030 (eval $ac_compiler -V </dev/null >&5) 2>&5
11031 ac_status=$?
11032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11033 (exit $ac_status); }
11034
11035 cat >conftest.$ac_ext <<_ACEOF
11036 /* confdefs.h. */
11037 _ACEOF
11038 cat confdefs.h >>conftest.$ac_ext
11039 cat >>conftest.$ac_ext <<_ACEOF
11040 /* end confdefs.h. */
11041
11042 int
11043 main ()
11044 {
11045
11046 ;
11047 return 0;
11048 }
11049 _ACEOF
11050 ac_clean_files_save=$ac_clean_files
11051 ac_clean_files="$ac_clean_files a.out a.exe b.out"
11052 # Try to create an executable without -o first, disregard a.out.
11053 # It will help us diagnose broken compilers, and finding out an intuition
11054 # of exeext.
11055 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
11056 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
11057 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
11058 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
11059 (eval $ac_link_default) 2>&5
11060 ac_status=$?
11061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11062 (exit $ac_status); }; then
11063 # Find the output, starting from the most likely. This scheme is
11064 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
11065 # resort.
11066
11067 # Be careful to initialize this variable, since it used to be cached.
11068 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
11069 ac_cv_exeext=
11070 # b.out is created by i960 compilers.
11071 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
11072 do
11073 test -f "$ac_file" || continue
11074 case $ac_file in
11075 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
11076 ;;
11077 conftest.$ac_ext )
11078 # This is the source file.
11079 ;;
11080 [ab].out )
11081 # We found the default executable, but exeext='' is most
11082 # certainly right.
11083 break;;
11084 *.* )
11085 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
11086 # FIXME: I believe we export ac_cv_exeext for Libtool,
11087 # but it would be cool to find out if it's true. Does anybody
11088 # maintain Libtool? --akim.
11089 export ac_cv_exeext
11090 break;;
11091 * )
11092 break;;
11093 esac
11094 done
11095 else
11096 echo "$as_me: failed program was:" >&5
11097 sed 's/^/| /' conftest.$ac_ext >&5
11098
11099 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
11100 See \`config.log' for more details." >&5
11101 echo "$as_me: error: C compiler cannot create executables
11102 See \`config.log' for more details." >&2;}
11103 { (exit 77); exit 77; }; }
11104 fi
11105
11106 ac_exeext=$ac_cv_exeext
11107 echo "$as_me:$LINENO: result: $ac_file" >&5
11108 echo "${ECHO_T}$ac_file" >&6
11109
11110 # Check the compiler produces executables we can run. If not, either
11111 # the compiler is broken, or we cross compile.
11112 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
11113 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
11114 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
11115 # If not cross compiling, check that we can run a simple program.
11116 if test "$cross_compiling" != yes; then
11117 if { ac_try='./$ac_file'
11118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11119 (eval $ac_try) 2>&5
11120 ac_status=$?
11121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11122 (exit $ac_status); }; }; then
11123 cross_compiling=no
11124 else
11125 if test "$cross_compiling" = maybe; then
11126 cross_compiling=yes
11127 else
11128 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
11129 If you meant to cross compile, use \`--host'.
11130 See \`config.log' for more details." >&5
11131 echo "$as_me: error: cannot run C compiled programs.
11132 If you meant to cross compile, use \`--host'.
11133 See \`config.log' for more details." >&2;}
11134 { (exit 1); exit 1; }; }
11135 fi
11136 fi
11137 fi
11138 echo "$as_me:$LINENO: result: yes" >&5
11139 echo "${ECHO_T}yes" >&6
11140
11141 rm -f a.out a.exe conftest$ac_cv_exeext b.out
11142 ac_clean_files=$ac_clean_files_save
11143 # Check the compiler produces executables we can run. If not, either
11144 # the compiler is broken, or we cross compile.
11145 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
11146 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
11147 echo "$as_me:$LINENO: result: $cross_compiling" >&5
11148 echo "${ECHO_T}$cross_compiling" >&6
11149
11150 echo "$as_me:$LINENO: checking for suffix of executables" >&5
11151 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
11152 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11153 (eval $ac_link) 2>&5
11154 ac_status=$?
11155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11156 (exit $ac_status); }; then
11157 # If both `conftest.exe' and `conftest' are `present' (well, observable)
11158 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
11159 # work properly (i.e., refer to `conftest.exe'), while it won't with
11160 # `rm'.
11161 for ac_file in conftest.exe conftest conftest.*; do
11162 test -f "$ac_file" || continue
11163 case $ac_file in
11164 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
11165 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
11166 export ac_cv_exeext
11167 break;;
11168 * ) break;;
11169 esac
11170 done
11171 else
11172 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
11173 See \`config.log' for more details." >&5
11174 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
11175 See \`config.log' for more details." >&2;}
11176 { (exit 1); exit 1; }; }
11177 fi
11178
11179 rm -f conftest$ac_cv_exeext
11180 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
11181 echo "${ECHO_T}$ac_cv_exeext" >&6
11182
11183 rm -f conftest.$ac_ext
11184 EXEEXT=$ac_cv_exeext
11185 ac_exeext=$EXEEXT
11186 echo "$as_me:$LINENO: checking for suffix of object files" >&5
11187 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
11188 if test "${ac_cv_objext+set}" = set; then
11189 echo $ECHO_N "(cached) $ECHO_C" >&6
11190 else
11191 cat >conftest.$ac_ext <<_ACEOF
11192 /* confdefs.h. */
11193 _ACEOF
11194 cat confdefs.h >>conftest.$ac_ext
11195 cat >>conftest.$ac_ext <<_ACEOF
11196 /* end confdefs.h. */
11197
11198 int
11199 main ()
11200 {
11201
11202 ;
11203 return 0;
11204 }
11205 _ACEOF
11206 rm -f conftest.o conftest.obj
11207 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11208 (eval $ac_compile) 2>&5
11209 ac_status=$?
11210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11211 (exit $ac_status); }; then
11212 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
11213 case $ac_file in
11214 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
11215 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
11216 break;;
11217 esac
11218 done
11219 else
11220 echo "$as_me: failed program was:" >&5
11221 sed 's/^/| /' conftest.$ac_ext >&5
11222
11223 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
11224 See \`config.log' for more details." >&5
11225 echo "$as_me: error: cannot compute suffix of object files: cannot compile
11226 See \`config.log' for more details." >&2;}
11227 { (exit 1); exit 1; }; }
11228 fi
11229
11230 rm -f conftest.$ac_cv_objext conftest.$ac_ext
11231 fi
11232 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
11233 echo "${ECHO_T}$ac_cv_objext" >&6
11234 OBJEXT=$ac_cv_objext
11235 ac_objext=$OBJEXT
11236 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
11237 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
11238 if test "${ac_cv_c_compiler_gnu+set}" = set; then
11239 echo $ECHO_N "(cached) $ECHO_C" >&6
11240 else
11241 cat >conftest.$ac_ext <<_ACEOF
11242 /* confdefs.h. */
11243 _ACEOF
11244 cat confdefs.h >>conftest.$ac_ext
11245 cat >>conftest.$ac_ext <<_ACEOF
11246 /* end confdefs.h. */
11247
11248 int
11249 main ()
11250 {
11251 #ifndef __GNUC__
11252 choke me
11253 #endif
11254
11255 ;
11256 return 0;
11257 }
11258 _ACEOF
11259 rm -f conftest.$ac_objext
11260 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11261 (eval $ac_compile) 2>conftest.er1
11262 ac_status=$?
11263 grep -v '^ *+' conftest.er1 >conftest.err
11264 rm -f conftest.er1
11265 cat conftest.err >&5
11266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11267 (exit $ac_status); } &&
11268 { ac_try='test -z "$ac_c_werror_flag"
11269 || test ! -s conftest.err'
11270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11271 (eval $ac_try) 2>&5
11272 ac_status=$?
11273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11274 (exit $ac_status); }; } &&
11275 { ac_try='test -s conftest.$ac_objext'
11276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11277 (eval $ac_try) 2>&5
11278 ac_status=$?
11279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11280 (exit $ac_status); }; }; then
11281 ac_compiler_gnu=yes
11282 else
11283 echo "$as_me: failed program was:" >&5
11284 sed 's/^/| /' conftest.$ac_ext >&5
11285
11286 ac_compiler_gnu=no
11287 fi
11288 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11289 ac_cv_c_compiler_gnu=$ac_compiler_gnu
11290
11291 fi
11292 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
11293 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
11294 GCC=`test $ac_compiler_gnu = yes && echo yes`
11295 ac_test_CFLAGS=${CFLAGS+set}
11296 ac_save_CFLAGS=$CFLAGS
11297 CFLAGS="-g"
11298 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
11299 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
11300 if test "${ac_cv_prog_cc_g+set}" = set; then
11301 echo $ECHO_N "(cached) $ECHO_C" >&6
11302 else
11303 cat >conftest.$ac_ext <<_ACEOF
11304 /* confdefs.h. */
11305 _ACEOF
11306 cat confdefs.h >>conftest.$ac_ext
11307 cat >>conftest.$ac_ext <<_ACEOF
11308 /* end confdefs.h. */
11309
11310 int
11311 main ()
11312 {
11313
11314 ;
11315 return 0;
11316 }
11317 _ACEOF
11318 rm -f conftest.$ac_objext
11319 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11320 (eval $ac_compile) 2>conftest.er1
11321 ac_status=$?
11322 grep -v '^ *+' conftest.er1 >conftest.err
11323 rm -f conftest.er1
11324 cat conftest.err >&5
11325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11326 (exit $ac_status); } &&
11327 { ac_try='test -z "$ac_c_werror_flag"
11328 || test ! -s conftest.err'
11329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11330 (eval $ac_try) 2>&5
11331 ac_status=$?
11332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11333 (exit $ac_status); }; } &&
11334 { ac_try='test -s conftest.$ac_objext'
11335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11336 (eval $ac_try) 2>&5
11337 ac_status=$?
11338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11339 (exit $ac_status); }; }; then
11340 ac_cv_prog_cc_g=yes
11341 else
11342 echo "$as_me: failed program was:" >&5
11343 sed 's/^/| /' conftest.$ac_ext >&5
11344
11345 ac_cv_prog_cc_g=no
11346 fi
11347 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11348 fi
11349 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
11350 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
11351 if test "$ac_test_CFLAGS" = set; then
11352 CFLAGS=$ac_save_CFLAGS
11353 elif test $ac_cv_prog_cc_g = yes; then
11354 if test "$GCC" = yes; then
11355 CFLAGS="-g -O2"
11356 else
11357 CFLAGS="-g"
11358 fi
11359 else
11360 if test "$GCC" = yes; then
11361 CFLAGS="-O2"
11362 else
11363 CFLAGS=
11364 fi
11365 fi
11366 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
11367 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
11368 if test "${ac_cv_prog_cc_stdc+set}" = set; then
11369 echo $ECHO_N "(cached) $ECHO_C" >&6
11370 else
11371 ac_cv_prog_cc_stdc=no
11372 ac_save_CC=$CC
11373 cat >conftest.$ac_ext <<_ACEOF
11374 /* confdefs.h. */
11375 _ACEOF
11376 cat confdefs.h >>conftest.$ac_ext
11377 cat >>conftest.$ac_ext <<_ACEOF
11378 /* end confdefs.h. */
11379 #include <stdarg.h>
11380 #include <stdio.h>
11381 #include <sys/types.h>
11382 #include <sys/stat.h>
11383 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
11384 struct buf { int x; };
11385 FILE * (*rcsopen) (struct buf *, struct stat *, int);
11386 static char *e (p, i)
11387 char **p;
11388 int i;
11389 {
11390 return p[i];
11391 }
11392 static char *f (char * (*g) (char **, int), char **p, ...)
11393 {
11394 char *s;
11395 va_list v;
11396 va_start (v,p);
11397 s = g (p, va_arg (v,int));
11398 va_end (v);
11399 return s;
11400 }
11401
11402 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
11403 function prototypes and stuff, but not '\xHH' hex character constants.
11404 These don't provoke an error unfortunately, instead are silently treated
11405 as 'x'. The following induces an error, until -std1 is added to get
11406 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
11407 array size at least. It's necessary to write '\x00'==0 to get something
11408 that's true only with -std1. */
11409 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
11410
11411 int test (int i, double x);
11412 struct s1 {int (*f) (int a);};
11413 struct s2 {int (*f) (double a);};
11414 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
11415 int argc;
11416 char **argv;
11417 int
11418 main ()
11419 {
11420 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
11421 ;
11422 return 0;
11423 }
11424 _ACEOF
11425 # Don't try gcc -ansi; that turns off useful extensions and
11426 # breaks some systems' header files.
11427 # AIX -qlanglvl=ansi
11428 # Ultrix and OSF/1 -std1
11429 # HP-UX 10.20 and later -Ae
11430 # HP-UX older versions -Aa -D_HPUX_SOURCE
11431 # SVR4 -Xc -D__EXTENSIONS__
11432 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
11433 do
11434 CC="$ac_save_CC $ac_arg"
11435 rm -f conftest.$ac_objext
11436 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11437 (eval $ac_compile) 2>conftest.er1
11438 ac_status=$?
11439 grep -v '^ *+' conftest.er1 >conftest.err
11440 rm -f conftest.er1
11441 cat conftest.err >&5
11442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11443 (exit $ac_status); } &&
11444 { ac_try='test -z "$ac_c_werror_flag"
11445 || test ! -s conftest.err'
11446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11447 (eval $ac_try) 2>&5
11448 ac_status=$?
11449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11450 (exit $ac_status); }; } &&
11451 { ac_try='test -s conftest.$ac_objext'
11452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11453 (eval $ac_try) 2>&5
11454 ac_status=$?
11455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11456 (exit $ac_status); }; }; then
11457 ac_cv_prog_cc_stdc=$ac_arg
11458 break
11459 else
11460 echo "$as_me: failed program was:" >&5
11461 sed 's/^/| /' conftest.$ac_ext >&5
11462
11463 fi
11464 rm -f conftest.err conftest.$ac_objext
11465 done
11466 rm -f conftest.$ac_ext conftest.$ac_objext
11467 CC=$ac_save_CC
11468
11469 fi
11470
11471 case "x$ac_cv_prog_cc_stdc" in
11472 x|xno)
11473 echo "$as_me:$LINENO: result: none needed" >&5
11474 echo "${ECHO_T}none needed" >&6 ;;
11475 *)
11476 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
11477 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
11478 CC="$CC $ac_cv_prog_cc_stdc" ;;
11479 esac
11480
11481 # Some people use a C++ compiler to compile C. Since we use `exit',
11482 # in C++ we need to declare it. In case someone uses the same compiler
11483 # for both compiling C and C++ we need to have the C++ compiler decide
11484 # the declaration of exit, since it's the most demanding environment.
11485 cat >conftest.$ac_ext <<_ACEOF
11486 #ifndef __cplusplus
11487 choke me
11488 #endif
11489 _ACEOF
11490 rm -f conftest.$ac_objext
11491 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11492 (eval $ac_compile) 2>conftest.er1
11493 ac_status=$?
11494 grep -v '^ *+' conftest.er1 >conftest.err
11495 rm -f conftest.er1
11496 cat conftest.err >&5
11497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11498 (exit $ac_status); } &&
11499 { ac_try='test -z "$ac_c_werror_flag"
11500 || test ! -s conftest.err'
11501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11502 (eval $ac_try) 2>&5
11503 ac_status=$?
11504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11505 (exit $ac_status); }; } &&
11506 { ac_try='test -s conftest.$ac_objext'
11507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11508 (eval $ac_try) 2>&5
11509 ac_status=$?
11510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11511 (exit $ac_status); }; }; then
11512 for ac_declaration in \
11513 '' \
11514 'extern "C" void std::exit (int) throw (); using std::exit;' \
11515 'extern "C" void std::exit (int); using std::exit;' \
11516 'extern "C" void exit (int) throw ();' \
11517 'extern "C" void exit (int);' \
11518 'void exit (int);'
11519 do
11520 cat >conftest.$ac_ext <<_ACEOF
11521 /* confdefs.h. */
11522 _ACEOF
11523 cat confdefs.h >>conftest.$ac_ext
11524 cat >>conftest.$ac_ext <<_ACEOF
11525 /* end confdefs.h. */
11526 $ac_declaration
11527 #include <stdlib.h>
11528 int
11529 main ()
11530 {
11531 exit (42);
11532 ;
11533 return 0;
11534 }
11535 _ACEOF
11536 rm -f conftest.$ac_objext
11537 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11538 (eval $ac_compile) 2>conftest.er1
11539 ac_status=$?
11540 grep -v '^ *+' conftest.er1 >conftest.err
11541 rm -f conftest.er1
11542 cat conftest.err >&5
11543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11544 (exit $ac_status); } &&
11545 { ac_try='test -z "$ac_c_werror_flag"
11546 || test ! -s conftest.err'
11547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11548 (eval $ac_try) 2>&5
11549 ac_status=$?
11550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11551 (exit $ac_status); }; } &&
11552 { ac_try='test -s conftest.$ac_objext'
11553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11554 (eval $ac_try) 2>&5
11555 ac_status=$?
11556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11557 (exit $ac_status); }; }; then
11558 :
11559 else
11560 echo "$as_me: failed program was:" >&5
11561 sed 's/^/| /' conftest.$ac_ext >&5
11562
11563 continue
11564 fi
11565 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11566 cat >conftest.$ac_ext <<_ACEOF
11567 /* confdefs.h. */
11568 _ACEOF
11569 cat confdefs.h >>conftest.$ac_ext
11570 cat >>conftest.$ac_ext <<_ACEOF
11571 /* end confdefs.h. */
11572 $ac_declaration
11573 int
11574 main ()
11575 {
11576 exit (42);
11577 ;
11578 return 0;
11579 }
11580 _ACEOF
11581 rm -f conftest.$ac_objext
11582 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11583 (eval $ac_compile) 2>conftest.er1
11584 ac_status=$?
11585 grep -v '^ *+' conftest.er1 >conftest.err
11586 rm -f conftest.er1
11587 cat conftest.err >&5
11588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11589 (exit $ac_status); } &&
11590 { ac_try='test -z "$ac_c_werror_flag"
11591 || test ! -s conftest.err'
11592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11593 (eval $ac_try) 2>&5
11594 ac_status=$?
11595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11596 (exit $ac_status); }; } &&
11597 { ac_try='test -s conftest.$ac_objext'
11598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11599 (eval $ac_try) 2>&5
11600 ac_status=$?
11601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11602 (exit $ac_status); }; }; then
11603 break
11604 else
11605 echo "$as_me: failed program was:" >&5
11606 sed 's/^/| /' conftest.$ac_ext >&5
11607
11608 fi
11609 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11610 done
11611 rm -f conftest*
11612 if test -n "$ac_declaration"; then
11613 echo '#ifdef __cplusplus' >>confdefs.h
11614 echo $ac_declaration >>confdefs.h
11615 echo '#endif' >>confdefs.h
11616 fi
11617
11618 else
11619 echo "$as_me: failed program was:" >&5
11620 sed 's/^/| /' conftest.$ac_ext >&5
11621
11622 fi
11623 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11624 ac_ext=c
11625 ac_cpp='$CPP $CPPFLAGS'
11626 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11627 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11628 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11629
11630 echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
11631 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6
11632 if test "${wx_cv_c_exto+set}" = set; then
11633 echo $ECHO_N "(cached) $ECHO_C" >&6
11634 else
11635 cat >conftest.$ac_ext <<_ACEOF
11636 /* confdefs.h. */
11637 _ACEOF
11638 cat confdefs.h >>conftest.$ac_ext
11639 cat >>conftest.$ac_ext <<_ACEOF
11640 /* end confdefs.h. */
11641
11642 int
11643 main ()
11644 {
11645
11646 ;
11647 return 0;
11648 }
11649 _ACEOF
11650 rm -f conftest.$ac_objext conftest.$ac_ext.o
11651 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11652 (eval $ac_compile) 2>&5
11653 ac_status=$?
11654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11655 (exit $ac_status); }; then
11656 for ac_file in `(ls conftest.* 2>/dev/null)`; do
11657 case $ac_file in
11658 conftest.$ac_ext.o)
11659 wx_cv_c_exto="-ext o"
11660 ;;
11661 *)
11662 ;;
11663 esac
11664 done
11665 else
11666 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
11667 See \`config.log' for more details." >&5
11668 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
11669 See \`config.log' for more details." >&2;}
11670 { (exit 1); exit 1; }; }
11671
11672 fi
11673
11674 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
11675
11676 fi
11677 echo "$as_me:$LINENO: result: $wx_cv_c_exto" >&5
11678 echo "${ECHO_T}$wx_cv_c_exto" >&6
11679 if test "x$wx_cv_c_exto" '!=' "x"; then
11680 if test "c" = "c"; then
11681 CFLAGS="$wx_cv_c_exto $CFLAGS"
11682 fi
11683 if test "c" = "cxx"; then
11684 CXXFLAGS="$wx_cv_c_exto $CXXFLAGS"
11685 fi
11686 fi
11687
11688 if test "x$wx_cv_c_exto" '!=' "x"; then
11689 unset ac_cv_prog_cc_g
11690 ac_test_CFLAGS=${CFLAGS+set}
11691 ac_save_CFLAGS=$CFLAGS
11692 CFLAGS="-g"
11693 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
11694 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
11695 if test "${ac_cv_prog_cc_g+set}" = set; then
11696 echo $ECHO_N "(cached) $ECHO_C" >&6
11697 else
11698 cat >conftest.$ac_ext <<_ACEOF
11699 /* confdefs.h. */
11700 _ACEOF
11701 cat confdefs.h >>conftest.$ac_ext
11702 cat >>conftest.$ac_ext <<_ACEOF
11703 /* end confdefs.h. */
11704
11705 int
11706 main ()
11707 {
11708
11709 ;
11710 return 0;
11711 }
11712 _ACEOF
11713 rm -f conftest.$ac_objext
11714 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11715 (eval $ac_compile) 2>conftest.er1
11716 ac_status=$?
11717 grep -v '^ *+' conftest.er1 >conftest.err
11718 rm -f conftest.er1
11719 cat conftest.err >&5
11720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11721 (exit $ac_status); } &&
11722 { ac_try='test -z "$ac_c_werror_flag"
11723 || test ! -s conftest.err'
11724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11725 (eval $ac_try) 2>&5
11726 ac_status=$?
11727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11728 (exit $ac_status); }; } &&
11729 { ac_try='test -s conftest.$ac_objext'
11730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11731 (eval $ac_try) 2>&5
11732 ac_status=$?
11733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11734 (exit $ac_status); }; }; then
11735 ac_cv_prog_cc_g=yes
11736 else
11737 echo "$as_me: failed program was:" >&5
11738 sed 's/^/| /' conftest.$ac_ext >&5
11739
11740 ac_cv_prog_cc_g=no
11741 fi
11742 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11743 fi
11744 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
11745 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
11746 if test "$ac_test_CFLAGS" = set; then
11747 CFLAGS=$ac_save_CFLAGS
11748 elif test $ac_cv_prog_cc_g = yes; then
11749 if test "$GCC" = yes; then
11750 CFLAGS="-g -O2"
11751 else
11752 CFLAGS="-g"
11753 fi
11754 else
11755 if test "$GCC" = yes; then
11756 CFLAGS="-O2"
11757 else
11758 CFLAGS=
11759 fi
11760 fi
11761 fi
11762 ac_ext=c
11763 ac_cpp='$CPP $CPPFLAGS'
11764 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11765 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11766 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11767
11768 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
11769 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6
11770 if test "${bakefile_cv_c_compiler_mwerks+set}" = set; then
11771 echo $ECHO_N "(cached) $ECHO_C" >&6
11772 else
11773 cat >conftest.$ac_ext <<_ACEOF
11774 /* confdefs.h. */
11775 _ACEOF
11776 cat confdefs.h >>conftest.$ac_ext
11777 cat >>conftest.$ac_ext <<_ACEOF
11778 /* end confdefs.h. */
11779
11780 int
11781 main ()
11782 {
11783 #ifndef __MWERKS__
11784 choke me
11785 #endif
11786
11787 ;
11788 return 0;
11789 }
11790 _ACEOF
11791 rm -f conftest.$ac_objext
11792 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11793 (eval $ac_compile) 2>conftest.er1
11794 ac_status=$?
11795 grep -v '^ *+' conftest.er1 >conftest.err
11796 rm -f conftest.er1
11797 cat conftest.err >&5
11798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11799 (exit $ac_status); } &&
11800 { ac_try='test -z "$ac_c_werror_flag"
11801 || test ! -s conftest.err'
11802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11803 (eval $ac_try) 2>&5
11804 ac_status=$?
11805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11806 (exit $ac_status); }; } &&
11807 { ac_try='test -s conftest.$ac_objext'
11808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11809 (eval $ac_try) 2>&5
11810 ac_status=$?
11811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11812 (exit $ac_status); }; }; then
11813 bakefile_compiler_mwerks=yes
11814 else
11815 echo "$as_me: failed program was:" >&5
11816 sed 's/^/| /' conftest.$ac_ext >&5
11817
11818 bakefile_compiler_mwerks=no
11819 fi
11820 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11821 bakefile_cv_c_compiler_mwerks=$bakefile_compiler_mwerks
11822
11823 fi
11824 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_mwerks" >&5
11825 echo "${ECHO_T}$bakefile_cv_c_compiler_mwerks" >&6
11826
11827 MWCC=`test $bakefile_cv_c_compiler_mwerks = yes && echo yes`
11828 ac_ext=c
11829 ac_cpp='$CPP $CPPFLAGS'
11830 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11831 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11832 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11833
11834
11835 ac_ext=c
11836 ac_cpp='$CPP $CPPFLAGS'
11837 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11838 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11839 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11840
11841 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
11842 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6
11843 if test "${wx_cv_c_compiler_xlc+set}" = set; then
11844 echo $ECHO_N "(cached) $ECHO_C" >&6
11845 else
11846 cat >conftest.$ac_ext <<_ACEOF
11847 /* confdefs.h. */
11848 _ACEOF
11849 cat confdefs.h >>conftest.$ac_ext
11850 cat >>conftest.$ac_ext <<_ACEOF
11851 /* end confdefs.h. */
11852
11853 int
11854 main ()
11855 {
11856 #ifndef __xlC__
11857 choke me
11858 #endif
11859
11860 ;
11861 return 0;
11862 }
11863 _ACEOF
11864 rm -f conftest.$ac_objext
11865 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11866 (eval $ac_compile) 2>conftest.er1
11867 ac_status=$?
11868 grep -v '^ *+' conftest.er1 >conftest.err
11869 rm -f conftest.er1
11870 cat conftest.err >&5
11871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11872 (exit $ac_status); } &&
11873 { ac_try='test -z "$ac_c_werror_flag"
11874 || test ! -s conftest.err'
11875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11876 (eval $ac_try) 2>&5
11877 ac_status=$?
11878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11879 (exit $ac_status); }; } &&
11880 { ac_try='test -s conftest.$ac_objext'
11881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11882 (eval $ac_try) 2>&5
11883 ac_status=$?
11884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11885 (exit $ac_status); }; }; then
11886 wx_compiler_xlc=yes
11887 else
11888 echo "$as_me: failed program was:" >&5
11889 sed 's/^/| /' conftest.$ac_ext >&5
11890
11891 wx_compiler_xlc=no
11892 fi
11893 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11894 wx_cv_c_compiler_xlc=$wx_compiler_xlc
11895
11896 fi
11897 echo "$as_me:$LINENO: result: $wx_cv_c_compiler_xlc" >&5
11898 echo "${ECHO_T}$wx_cv_c_compiler_xlc" >&6
11899
11900 XLCC=`test $wx_cv_c_compiler_xlc = yes && echo yes`
11901 ac_ext=c
11902 ac_cpp='$CPP $CPPFLAGS'
11903 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11904 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11905 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11906
11907
11908
11909
11910 ac_ext=c
11911 ac_cpp='$CPP $CPPFLAGS'
11912 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11913 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11914 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11915
11916 echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
11917 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6
11918 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
11919 echo $ECHO_N "(cached) $ECHO_C" >&6
11920 else
11921 cat >conftest.$ac_ext <<_ACEOF
11922 /* confdefs.h. */
11923 _ACEOF
11924 cat confdefs.h >>conftest.$ac_ext
11925 cat >>conftest.$ac_ext <<_ACEOF
11926 /* end confdefs.h. */
11927
11928 int
11929 main ()
11930 {
11931
11932 #ifndef __SUNPRO_C
11933 choke me
11934 #endif
11935
11936 ;
11937 return 0;
11938 }
11939 _ACEOF
11940 rm -f conftest.$ac_objext
11941 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11942 (eval $ac_compile) 2>conftest.er1
11943 ac_status=$?
11944 grep -v '^ *+' conftest.er1 >conftest.err
11945 rm -f conftest.er1
11946 cat conftest.err >&5
11947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11948 (exit $ac_status); } &&
11949 { ac_try='test -z "$ac_c_werror_flag"
11950 || test ! -s conftest.err'
11951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11952 (eval $ac_try) 2>&5
11953 ac_status=$?
11954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11955 (exit $ac_status); }; } &&
11956 { ac_try='test -s conftest.$ac_objext'
11957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11958 (eval $ac_try) 2>&5
11959 ac_status=$?
11960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11961 (exit $ac_status); }; }; then
11962 bakefile_cv_c_compiler___SUNPRO_C=yes
11963 else
11964 echo "$as_me: failed program was:" >&5
11965 sed 's/^/| /' conftest.$ac_ext >&5
11966
11967 bakefile_cv_c_compiler___SUNPRO_C=no
11968
11969 fi
11970 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11971
11972
11973 fi
11974 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
11975 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6
11976 ac_ext=c
11977 ac_cpp='$CPP $CPPFLAGS'
11978 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11979 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11980 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11981
11982 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
11983 :; SUNCC=yes
11984 else
11985 :;
11986 fi
11987
11988
11989
11990
11991 ac_ext=c
11992 ac_cpp='$CPP $CPPFLAGS'
11993 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11994 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11995 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11996 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
11997 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
11998 # On Suns, sometimes $CPP names a directory.
11999 if test -n "$CPP" && test -d "$CPP"; then
12000 CPP=
12001 fi
12002 if test -z "$CPP"; then
12003 if test "${ac_cv_prog_CPP+set}" = set; then
12004 echo $ECHO_N "(cached) $ECHO_C" >&6
12005 else
12006 # Double quotes because CPP needs to be expanded
12007 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
12008 do
12009 ac_preproc_ok=false
12010 for ac_c_preproc_warn_flag in '' yes
12011 do
12012 # Use a header file that comes with gcc, so configuring glibc
12013 # with a fresh cross-compiler works.
12014 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12015 # <limits.h> exists even on freestanding compilers.
12016 # On the NeXT, cc -E runs the code through the compiler's parser,
12017 # not just through cpp. "Syntax error" is here to catch this case.
12018 cat >conftest.$ac_ext <<_ACEOF
12019 /* confdefs.h. */
12020 _ACEOF
12021 cat confdefs.h >>conftest.$ac_ext
12022 cat >>conftest.$ac_ext <<_ACEOF
12023 /* end confdefs.h. */
12024 #ifdef __STDC__
12025 # include <limits.h>
12026 #else
12027 # include <assert.h>
12028 #endif
12029 Syntax error
12030 _ACEOF
12031 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12032 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12033 ac_status=$?
12034 grep -v '^ *+' conftest.er1 >conftest.err
12035 rm -f conftest.er1
12036 cat conftest.err >&5
12037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12038 (exit $ac_status); } >/dev/null; then
12039 if test -s conftest.err; then
12040 ac_cpp_err=$ac_c_preproc_warn_flag
12041 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
12042 else
12043 ac_cpp_err=
12044 fi
12045 else
12046 ac_cpp_err=yes
12047 fi
12048 if test -z "$ac_cpp_err"; then
12049 :
12050 else
12051 echo "$as_me: failed program was:" >&5
12052 sed 's/^/| /' conftest.$ac_ext >&5
12053
12054 # Broken: fails on valid input.
12055 continue
12056 fi
12057 rm -f conftest.err conftest.$ac_ext
12058
12059 # OK, works on sane cases. Now check whether non-existent headers
12060 # can be detected and how.
12061 cat >conftest.$ac_ext <<_ACEOF
12062 /* confdefs.h. */
12063 _ACEOF
12064 cat confdefs.h >>conftest.$ac_ext
12065 cat >>conftest.$ac_ext <<_ACEOF
12066 /* end confdefs.h. */
12067 #include <ac_nonexistent.h>
12068 _ACEOF
12069 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12070 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12071 ac_status=$?
12072 grep -v '^ *+' conftest.er1 >conftest.err
12073 rm -f conftest.er1
12074 cat conftest.err >&5
12075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12076 (exit $ac_status); } >/dev/null; then
12077 if test -s conftest.err; then
12078 ac_cpp_err=$ac_c_preproc_warn_flag
12079 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
12080 else
12081 ac_cpp_err=
12082 fi
12083 else
12084 ac_cpp_err=yes
12085 fi
12086 if test -z "$ac_cpp_err"; then
12087 # Broken: success on invalid input.
12088 continue
12089 else
12090 echo "$as_me: failed program was:" >&5
12091 sed 's/^/| /' conftest.$ac_ext >&5
12092
12093 # Passes both tests.
12094 ac_preproc_ok=:
12095 break
12096 fi
12097 rm -f conftest.err conftest.$ac_ext
12098
12099 done
12100 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12101 rm -f conftest.err conftest.$ac_ext
12102 if $ac_preproc_ok; then
12103 break
12104 fi
12105
12106 done
12107 ac_cv_prog_CPP=$CPP
12108
12109 fi
12110 CPP=$ac_cv_prog_CPP
12111 else
12112 ac_cv_prog_CPP=$CPP
12113 fi
12114 echo "$as_me:$LINENO: result: $CPP" >&5
12115 echo "${ECHO_T}$CPP" >&6
12116 ac_preproc_ok=false
12117 for ac_c_preproc_warn_flag in '' yes
12118 do
12119 # Use a header file that comes with gcc, so configuring glibc
12120 # with a fresh cross-compiler works.
12121 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12122 # <limits.h> exists even on freestanding compilers.
12123 # On the NeXT, cc -E runs the code through the compiler's parser,
12124 # not just through cpp. "Syntax error" is here to catch this case.
12125 cat >conftest.$ac_ext <<_ACEOF
12126 /* confdefs.h. */
12127 _ACEOF
12128 cat confdefs.h >>conftest.$ac_ext
12129 cat >>conftest.$ac_ext <<_ACEOF
12130 /* end confdefs.h. */
12131 #ifdef __STDC__
12132 # include <limits.h>
12133 #else
12134 # include <assert.h>
12135 #endif
12136 Syntax error
12137 _ACEOF
12138 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12139 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12140 ac_status=$?
12141 grep -v '^ *+' conftest.er1 >conftest.err
12142 rm -f conftest.er1
12143 cat conftest.err >&5
12144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12145 (exit $ac_status); } >/dev/null; then
12146 if test -s conftest.err; then
12147 ac_cpp_err=$ac_c_preproc_warn_flag
12148 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
12149 else
12150 ac_cpp_err=
12151 fi
12152 else
12153 ac_cpp_err=yes
12154 fi
12155 if test -z "$ac_cpp_err"; then
12156 :
12157 else
12158 echo "$as_me: failed program was:" >&5
12159 sed 's/^/| /' conftest.$ac_ext >&5
12160
12161 # Broken: fails on valid input.
12162 continue
12163 fi
12164 rm -f conftest.err conftest.$ac_ext
12165
12166 # OK, works on sane cases. Now check whether non-existent headers
12167 # can be detected and how.
12168 cat >conftest.$ac_ext <<_ACEOF
12169 /* confdefs.h. */
12170 _ACEOF
12171 cat confdefs.h >>conftest.$ac_ext
12172 cat >>conftest.$ac_ext <<_ACEOF
12173 /* end confdefs.h. */
12174 #include <ac_nonexistent.h>
12175 _ACEOF
12176 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12177 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12178 ac_status=$?
12179 grep -v '^ *+' conftest.er1 >conftest.err
12180 rm -f conftest.er1
12181 cat conftest.err >&5
12182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12183 (exit $ac_status); } >/dev/null; then
12184 if test -s conftest.err; then
12185 ac_cpp_err=$ac_c_preproc_warn_flag
12186 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
12187 else
12188 ac_cpp_err=
12189 fi
12190 else
12191 ac_cpp_err=yes
12192 fi
12193 if test -z "$ac_cpp_err"; then
12194 # Broken: success on invalid input.
12195 continue
12196 else
12197 echo "$as_me: failed program was:" >&5
12198 sed 's/^/| /' conftest.$ac_ext >&5
12199
12200 # Passes both tests.
12201 ac_preproc_ok=:
12202 break
12203 fi
12204 rm -f conftest.err conftest.$ac_ext
12205
12206 done
12207 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12208 rm -f conftest.err conftest.$ac_ext
12209 if $ac_preproc_ok; then
12210 :
12211 else
12212 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
12213 See \`config.log' for more details." >&5
12214 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
12215 See \`config.log' for more details." >&2;}
12216 { (exit 1); exit 1; }; }
12217 fi
12218
12219 ac_ext=c
12220 ac_cpp='$CPP $CPPFLAGS'
12221 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12222 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12223 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12224
12225
12226 echo "$as_me:$LINENO: checking for egrep" >&5
12227 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
12228 if test "${ac_cv_prog_egrep+set}" = set; then
12229 echo $ECHO_N "(cached) $ECHO_C" >&6
12230 else
12231 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
12232 then ac_cv_prog_egrep='grep -E'
12233 else ac_cv_prog_egrep='egrep'
12234 fi
12235 fi
12236 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
12237 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
12238 EGREP=$ac_cv_prog_egrep
12239
12240
12241 if test $ac_cv_c_compiler_gnu = yes; then
12242 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
12243 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
12244 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
12245 echo $ECHO_N "(cached) $ECHO_C" >&6
12246 else
12247 ac_pattern="Autoconf.*'x'"
12248 cat >conftest.$ac_ext <<_ACEOF
12249 /* confdefs.h. */
12250 _ACEOF
12251 cat confdefs.h >>conftest.$ac_ext
12252 cat >>conftest.$ac_ext <<_ACEOF
12253 /* end confdefs.h. */
12254 #include <sgtty.h>
12255 Autoconf TIOCGETP
12256 _ACEOF
12257 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12258 $EGREP "$ac_pattern" >/dev/null 2>&1; then
12259 ac_cv_prog_gcc_traditional=yes
12260 else
12261 ac_cv_prog_gcc_traditional=no
12262 fi
12263 rm -f conftest*
12264
12265
12266 if test $ac_cv_prog_gcc_traditional = no; then
12267 cat >conftest.$ac_ext <<_ACEOF
12268 /* confdefs.h. */
12269 _ACEOF
12270 cat confdefs.h >>conftest.$ac_ext
12271 cat >>conftest.$ac_ext <<_ACEOF
12272 /* end confdefs.h. */
12273 #include <termio.h>
12274 Autoconf TCGETA
12275 _ACEOF
12276 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12277 $EGREP "$ac_pattern" >/dev/null 2>&1; then
12278 ac_cv_prog_gcc_traditional=yes
12279 fi
12280 rm -f conftest*
12281
12282 fi
12283 fi
12284 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
12285 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
12286 if test $ac_cv_prog_gcc_traditional = yes; then
12287 CC="$CC -traditional"
12288 fi
12289 fi
12290
12291
12292
12293
12294 ac_ext=cc
12295 ac_cpp='$CXXCPP $CPPFLAGS'
12296 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12297 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12298 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12299
12300
12301 CXXFLAGS=${CXXFLAGS:=}
12302
12303
12304 ac_ext=cc
12305 ac_cpp='$CXXCPP $CPPFLAGS'
12306 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12307 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12308 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12309 if test -n "$ac_tool_prefix"; then
12310 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
12311 do
12312 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12313 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
12314 echo "$as_me:$LINENO: checking for $ac_word" >&5
12315 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12316 if test "${ac_cv_prog_CXX+set}" = set; then
12317 echo $ECHO_N "(cached) $ECHO_C" >&6
12318 else
12319 if test -n "$CXX"; then
12320 ac_cv_prog_CXX="$CXX" # Let the user override the test.
12321 else
12322 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12323 for as_dir in $PATH
12324 do
12325 IFS=$as_save_IFS
12326 test -z "$as_dir" && as_dir=.
12327 for ac_exec_ext in '' $ac_executable_extensions; do
12328 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12329 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
12330 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12331 break 2
12332 fi
12333 done
12334 done
12335
12336 fi
12337 fi
12338 CXX=$ac_cv_prog_CXX
12339 if test -n "$CXX"; then
12340 echo "$as_me:$LINENO: result: $CXX" >&5
12341 echo "${ECHO_T}$CXX" >&6
12342 else
12343 echo "$as_me:$LINENO: result: no" >&5
12344 echo "${ECHO_T}no" >&6
12345 fi
12346
12347 test -n "$CXX" && break
12348 done
12349 fi
12350 if test -z "$CXX"; then
12351 ac_ct_CXX=$CXX
12352 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
12353 do
12354 # Extract the first word of "$ac_prog", so it can be a program name with args.
12355 set dummy $ac_prog; ac_word=$2
12356 echo "$as_me:$LINENO: checking for $ac_word" >&5
12357 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12358 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
12359 echo $ECHO_N "(cached) $ECHO_C" >&6
12360 else
12361 if test -n "$ac_ct_CXX"; then
12362 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
12363 else
12364 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12365 for as_dir in $PATH
12366 do
12367 IFS=$as_save_IFS
12368 test -z "$as_dir" && as_dir=.
12369 for ac_exec_ext in '' $ac_executable_extensions; do
12370 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12371 ac_cv_prog_ac_ct_CXX="$ac_prog"
12372 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12373 break 2
12374 fi
12375 done
12376 done
12377
12378 fi
12379 fi
12380 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
12381 if test -n "$ac_ct_CXX"; then
12382 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
12383 echo "${ECHO_T}$ac_ct_CXX" >&6
12384 else
12385 echo "$as_me:$LINENO: result: no" >&5
12386 echo "${ECHO_T}no" >&6
12387 fi
12388
12389 test -n "$ac_ct_CXX" && break
12390 done
12391 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
12392
12393 CXX=$ac_ct_CXX
12394 fi
12395
12396
12397 # Provide some information about the compiler.
12398 echo "$as_me:$LINENO:" \
12399 "checking for C++ compiler version" >&5
12400 ac_compiler=`set X $ac_compile; echo $2`
12401 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
12402 (eval $ac_compiler --version </dev/null >&5) 2>&5
12403 ac_status=$?
12404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12405 (exit $ac_status); }
12406 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
12407 (eval $ac_compiler -v </dev/null >&5) 2>&5
12408 ac_status=$?
12409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12410 (exit $ac_status); }
12411 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
12412 (eval $ac_compiler -V </dev/null >&5) 2>&5
12413 ac_status=$?
12414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12415 (exit $ac_status); }
12416
12417 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
12418 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
12419 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
12420 echo $ECHO_N "(cached) $ECHO_C" >&6
12421 else
12422 cat >conftest.$ac_ext <<_ACEOF
12423 /* confdefs.h. */
12424 _ACEOF
12425 cat confdefs.h >>conftest.$ac_ext
12426 cat >>conftest.$ac_ext <<_ACEOF
12427 /* end confdefs.h. */
12428
12429 int
12430 main ()
12431 {
12432 #ifndef __GNUC__
12433 choke me
12434 #endif
12435
12436 ;
12437 return 0;
12438 }
12439 _ACEOF
12440 rm -f conftest.$ac_objext
12441 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12442 (eval $ac_compile) 2>conftest.er1
12443 ac_status=$?
12444 grep -v '^ *+' conftest.er1 >conftest.err
12445 rm -f conftest.er1
12446 cat conftest.err >&5
12447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12448 (exit $ac_status); } &&
12449 { ac_try='test -z "$ac_cxx_werror_flag"
12450 || test ! -s conftest.err'
12451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12452 (eval $ac_try) 2>&5
12453 ac_status=$?
12454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12455 (exit $ac_status); }; } &&
12456 { ac_try='test -s conftest.$ac_objext'
12457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12458 (eval $ac_try) 2>&5
12459 ac_status=$?
12460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12461 (exit $ac_status); }; }; then
12462 ac_compiler_gnu=yes
12463 else
12464 echo "$as_me: failed program was:" >&5
12465 sed 's/^/| /' conftest.$ac_ext >&5
12466
12467 ac_compiler_gnu=no
12468 fi
12469 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12470 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
12471
12472 fi
12473 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
12474 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
12475 GXX=`test $ac_compiler_gnu = yes && echo yes`
12476 ac_test_CXXFLAGS=${CXXFLAGS+set}
12477 ac_save_CXXFLAGS=$CXXFLAGS
12478 CXXFLAGS="-g"
12479 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
12480 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
12481 if test "${ac_cv_prog_cxx_g+set}" = set; then
12482 echo $ECHO_N "(cached) $ECHO_C" >&6
12483 else
12484 cat >conftest.$ac_ext <<_ACEOF
12485 /* confdefs.h. */
12486 _ACEOF
12487 cat confdefs.h >>conftest.$ac_ext
12488 cat >>conftest.$ac_ext <<_ACEOF
12489 /* end confdefs.h. */
12490
12491 int
12492 main ()
12493 {
12494
12495 ;
12496 return 0;
12497 }
12498 _ACEOF
12499 rm -f conftest.$ac_objext
12500 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12501 (eval $ac_compile) 2>conftest.er1
12502 ac_status=$?
12503 grep -v '^ *+' conftest.er1 >conftest.err
12504 rm -f conftest.er1
12505 cat conftest.err >&5
12506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12507 (exit $ac_status); } &&
12508 { ac_try='test -z "$ac_cxx_werror_flag"
12509 || test ! -s conftest.err'
12510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12511 (eval $ac_try) 2>&5
12512 ac_status=$?
12513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12514 (exit $ac_status); }; } &&
12515 { ac_try='test -s conftest.$ac_objext'
12516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12517 (eval $ac_try) 2>&5
12518 ac_status=$?
12519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12520 (exit $ac_status); }; }; then
12521 ac_cv_prog_cxx_g=yes
12522 else
12523 echo "$as_me: failed program was:" >&5
12524 sed 's/^/| /' conftest.$ac_ext >&5
12525
12526 ac_cv_prog_cxx_g=no
12527 fi
12528 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12529 fi
12530 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
12531 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
12532 if test "$ac_test_CXXFLAGS" = set; then
12533 CXXFLAGS=$ac_save_CXXFLAGS
12534 elif test $ac_cv_prog_cxx_g = yes; then
12535 if test "$GXX" = yes; then
12536 CXXFLAGS="-g -O2"
12537 else
12538 CXXFLAGS="-g"
12539 fi
12540 else
12541 if test "$GXX" = yes; then
12542 CXXFLAGS="-O2"
12543 else
12544 CXXFLAGS=
12545 fi
12546 fi
12547 for ac_declaration in \
12548 '' \
12549 'extern "C" void std::exit (int) throw (); using std::exit;' \
12550 'extern "C" void std::exit (int); using std::exit;' \
12551 'extern "C" void exit (int) throw ();' \
12552 'extern "C" void exit (int);' \
12553 'void exit (int);'
12554 do
12555 cat >conftest.$ac_ext <<_ACEOF
12556 /* confdefs.h. */
12557 _ACEOF
12558 cat confdefs.h >>conftest.$ac_ext
12559 cat >>conftest.$ac_ext <<_ACEOF
12560 /* end confdefs.h. */
12561 $ac_declaration
12562 #include <stdlib.h>
12563 int
12564 main ()
12565 {
12566 exit (42);
12567 ;
12568 return 0;
12569 }
12570 _ACEOF
12571 rm -f conftest.$ac_objext
12572 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12573 (eval $ac_compile) 2>conftest.er1
12574 ac_status=$?
12575 grep -v '^ *+' conftest.er1 >conftest.err
12576 rm -f conftest.er1
12577 cat conftest.err >&5
12578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12579 (exit $ac_status); } &&
12580 { ac_try='test -z "$ac_cxx_werror_flag"
12581 || test ! -s conftest.err'
12582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12583 (eval $ac_try) 2>&5
12584 ac_status=$?
12585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12586 (exit $ac_status); }; } &&
12587 { ac_try='test -s conftest.$ac_objext'
12588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12589 (eval $ac_try) 2>&5
12590 ac_status=$?
12591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12592 (exit $ac_status); }; }; then
12593 :
12594 else
12595 echo "$as_me: failed program was:" >&5
12596 sed 's/^/| /' conftest.$ac_ext >&5
12597
12598 continue
12599 fi
12600 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12601 cat >conftest.$ac_ext <<_ACEOF
12602 /* confdefs.h. */
12603 _ACEOF
12604 cat confdefs.h >>conftest.$ac_ext
12605 cat >>conftest.$ac_ext <<_ACEOF
12606 /* end confdefs.h. */
12607 $ac_declaration
12608 int
12609 main ()
12610 {
12611 exit (42);
12612 ;
12613 return 0;
12614 }
12615 _ACEOF
12616 rm -f conftest.$ac_objext
12617 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12618 (eval $ac_compile) 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); } &&
12625 { ac_try='test -z "$ac_cxx_werror_flag"
12626 || test ! -s conftest.err'
12627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12628 (eval $ac_try) 2>&5
12629 ac_status=$?
12630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12631 (exit $ac_status); }; } &&
12632 { ac_try='test -s conftest.$ac_objext'
12633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12634 (eval $ac_try) 2>&5
12635 ac_status=$?
12636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12637 (exit $ac_status); }; }; then
12638 break
12639 else
12640 echo "$as_me: failed program was:" >&5
12641 sed 's/^/| /' conftest.$ac_ext >&5
12642
12643 fi
12644 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12645 done
12646 rm -f conftest*
12647 if test -n "$ac_declaration"; then
12648 echo '#ifdef __cplusplus' >>confdefs.h
12649 echo $ac_declaration >>confdefs.h
12650 echo '#endif' >>confdefs.h
12651 fi
12652
12653 ac_ext=cc
12654 ac_cpp='$CXXCPP $CPPFLAGS'
12655 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12656 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12657 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12658
12659 echo "$as_me:$LINENO: checking if the C++ compiler requires -ext o" >&5
12660 echo $ECHO_N "checking if the C++ compiler requires -ext o... $ECHO_C" >&6
12661 if test "${wx_cv_cxx_exto+set}" = set; then
12662 echo $ECHO_N "(cached) $ECHO_C" >&6
12663 else
12664 cat >conftest.$ac_ext <<_ACEOF
12665 /* confdefs.h. */
12666 _ACEOF
12667 cat confdefs.h >>conftest.$ac_ext
12668 cat >>conftest.$ac_ext <<_ACEOF
12669 /* end confdefs.h. */
12670
12671 int
12672 main ()
12673 {
12674
12675 ;
12676 return 0;
12677 }
12678 _ACEOF
12679 rm -f conftest.$ac_objext conftest.$ac_ext.o
12680 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12681 (eval $ac_compile) 2>&5
12682 ac_status=$?
12683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12684 (exit $ac_status); }; then
12685 for ac_file in `(ls conftest.* 2>/dev/null)`; do
12686 case $ac_file in
12687 conftest.$ac_ext.o)
12688 wx_cv_cxx_exto="-ext o"
12689 ;;
12690 *)
12691 ;;
12692 esac
12693 done
12694 else
12695 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
12696 See \`config.log' for more details." >&5
12697 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
12698 See \`config.log' for more details." >&2;}
12699 { (exit 1); exit 1; }; }
12700
12701 fi
12702
12703 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
12704
12705 fi
12706 echo "$as_me:$LINENO: result: $wx_cv_cxx_exto" >&5
12707 echo "${ECHO_T}$wx_cv_cxx_exto" >&6
12708 if test "x$wx_cv_cxx_exto" '!=' "x"; then
12709 if test "cxx" = "c"; then
12710 CFLAGS="$wx_cv_cxx_exto $CFLAGS"
12711 fi
12712 if test "cxx" = "cxx"; then
12713 CXXFLAGS="$wx_cv_cxx_exto $CXXFLAGS"
12714 fi
12715 fi
12716
12717 if test "x$wx_cv_cxx_exto" '!=' "x"; then
12718 unset ac_cv_prog_cxx_g
12719 ac_test_CXXFLAGS=${CXXFLAGS+set}
12720 ac_save_CXXFLAGS=$CXXFLAGS
12721 CXXFLAGS="-g"
12722 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
12723 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
12724 if test "${ac_cv_prog_cxx_g+set}" = set; then
12725 echo $ECHO_N "(cached) $ECHO_C" >&6
12726 else
12727 cat >conftest.$ac_ext <<_ACEOF
12728 /* confdefs.h. */
12729 _ACEOF
12730 cat confdefs.h >>conftest.$ac_ext
12731 cat >>conftest.$ac_ext <<_ACEOF
12732 /* end confdefs.h. */
12733
12734 int
12735 main ()
12736 {
12737
12738 ;
12739 return 0;
12740 }
12741 _ACEOF
12742 rm -f conftest.$ac_objext
12743 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12744 (eval $ac_compile) 2>conftest.er1
12745 ac_status=$?
12746 grep -v '^ *+' conftest.er1 >conftest.err
12747 rm -f conftest.er1
12748 cat conftest.err >&5
12749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12750 (exit $ac_status); } &&
12751 { ac_try='test -z "$ac_cxx_werror_flag"
12752 || test ! -s conftest.err'
12753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12754 (eval $ac_try) 2>&5
12755 ac_status=$?
12756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12757 (exit $ac_status); }; } &&
12758 { ac_try='test -s conftest.$ac_objext'
12759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12760 (eval $ac_try) 2>&5
12761 ac_status=$?
12762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12763 (exit $ac_status); }; }; then
12764 ac_cv_prog_cxx_g=yes
12765 else
12766 echo "$as_me: failed program was:" >&5
12767 sed 's/^/| /' conftest.$ac_ext >&5
12768
12769 ac_cv_prog_cxx_g=no
12770 fi
12771 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12772 fi
12773 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
12774 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
12775 if test "$ac_test_CXXFLAGS" = set; then
12776 CXXFLAGS=$ac_save_CXXFLAGS
12777 elif test $ac_cv_prog_cxx_g = yes; then
12778 if test "$GXX" = yes; then
12779 CXXFLAGS="-g -O2"
12780 else
12781 CXXFLAGS="-g"
12782 fi
12783 else
12784 if test "$GXX" = yes; then
12785 CXXFLAGS="-O2"
12786 else
12787 CXXFLAGS=
12788 fi
12789 fi
12790 fi
12791 ac_ext=cc
12792 ac_cpp='$CXXCPP $CPPFLAGS'
12793 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12794 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12795 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12796
12797 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
12798 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6
12799 if test "${bakefile_cv_cxx_compiler_mwerks+set}" = set; then
12800 echo $ECHO_N "(cached) $ECHO_C" >&6
12801 else
12802 cat >conftest.$ac_ext <<_ACEOF
12803 /* confdefs.h. */
12804 _ACEOF
12805 cat confdefs.h >>conftest.$ac_ext
12806 cat >>conftest.$ac_ext <<_ACEOF
12807 /* end confdefs.h. */
12808
12809 int
12810 main ()
12811 {
12812 #ifndef __MWERKS__
12813 choke me
12814 #endif
12815
12816 ;
12817 return 0;
12818 }
12819 _ACEOF
12820 rm -f conftest.$ac_objext
12821 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12822 (eval $ac_compile) 2>conftest.er1
12823 ac_status=$?
12824 grep -v '^ *+' conftest.er1 >conftest.err
12825 rm -f conftest.er1
12826 cat conftest.err >&5
12827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12828 (exit $ac_status); } &&
12829 { ac_try='test -z "$ac_cxx_werror_flag"
12830 || test ! -s conftest.err'
12831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12832 (eval $ac_try) 2>&5
12833 ac_status=$?
12834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12835 (exit $ac_status); }; } &&
12836 { ac_try='test -s conftest.$ac_objext'
12837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12838 (eval $ac_try) 2>&5
12839 ac_status=$?
12840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12841 (exit $ac_status); }; }; then
12842 bakefile_compiler_mwerks=yes
12843 else
12844 echo "$as_me: failed program was:" >&5
12845 sed 's/^/| /' conftest.$ac_ext >&5
12846
12847 bakefile_compiler_mwerks=no
12848 fi
12849 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12850 bakefile_cv_cxx_compiler_mwerks=$bakefile_compiler_mwerks
12851
12852 fi
12853 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_mwerks" >&5
12854 echo "${ECHO_T}$bakefile_cv_cxx_compiler_mwerks" >&6
12855
12856 MWCXX=`test $bakefile_cv_cxx_compiler_mwerks = yes && echo yes`
12857 ac_ext=cc
12858 ac_cpp='$CXXCPP $CPPFLAGS'
12859 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12860 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12861 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12862
12863
12864 ac_ext=cc
12865 ac_cpp='$CXXCPP $CPPFLAGS'
12866 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12867 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12868 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12869
12870 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
12871 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6
12872 if test "${wx_cv_cxx_compiler_xlc+set}" = set; then
12873 echo $ECHO_N "(cached) $ECHO_C" >&6
12874 else
12875 cat >conftest.$ac_ext <<_ACEOF
12876 /* confdefs.h. */
12877 _ACEOF
12878 cat confdefs.h >>conftest.$ac_ext
12879 cat >>conftest.$ac_ext <<_ACEOF
12880 /* end confdefs.h. */
12881
12882 int
12883 main ()
12884 {
12885 #ifndef __xlC__
12886 choke me
12887 #endif
12888
12889 ;
12890 return 0;
12891 }
12892 _ACEOF
12893 rm -f conftest.$ac_objext
12894 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12895 (eval $ac_compile) 2>conftest.er1
12896 ac_status=$?
12897 grep -v '^ *+' conftest.er1 >conftest.err
12898 rm -f conftest.er1
12899 cat conftest.err >&5
12900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12901 (exit $ac_status); } &&
12902 { ac_try='test -z "$ac_cxx_werror_flag"
12903 || test ! -s conftest.err'
12904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12905 (eval $ac_try) 2>&5
12906 ac_status=$?
12907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12908 (exit $ac_status); }; } &&
12909 { ac_try='test -s conftest.$ac_objext'
12910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12911 (eval $ac_try) 2>&5
12912 ac_status=$?
12913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12914 (exit $ac_status); }; }; then
12915 wx_compiler_xlc=yes
12916 else
12917 echo "$as_me: failed program was:" >&5
12918 sed 's/^/| /' conftest.$ac_ext >&5
12919
12920 wx_compiler_xlc=no
12921 fi
12922 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12923 wx_cv_cxx_compiler_xlc=$wx_compiler_xlc
12924
12925 fi
12926 echo "$as_me:$LINENO: result: $wx_cv_cxx_compiler_xlc" >&5
12927 echo "${ECHO_T}$wx_cv_cxx_compiler_xlc" >&6
12928
12929 XLCXX=`test $wx_cv_cxx_compiler_xlc = yes && echo yes`
12930 ac_ext=cc
12931 ac_cpp='$CXXCPP $CPPFLAGS'
12932 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12933 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12934 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12935
12936
12937
12938
12939 ac_ext=cc
12940 ac_cpp='$CXXCPP $CPPFLAGS'
12941 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12942 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12943 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12944
12945 echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
12946 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6
12947 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
12948 echo $ECHO_N "(cached) $ECHO_C" >&6
12949 else
12950 cat >conftest.$ac_ext <<_ACEOF
12951 /* confdefs.h. */
12952 _ACEOF
12953 cat confdefs.h >>conftest.$ac_ext
12954 cat >>conftest.$ac_ext <<_ACEOF
12955 /* end confdefs.h. */
12956
12957 int
12958 main ()
12959 {
12960
12961 #ifndef __SUNPRO_CC
12962 choke me
12963 #endif
12964
12965 ;
12966 return 0;
12967 }
12968 _ACEOF
12969 rm -f conftest.$ac_objext
12970 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12971 (eval $ac_compile) 2>conftest.er1
12972 ac_status=$?
12973 grep -v '^ *+' conftest.er1 >conftest.err
12974 rm -f conftest.er1
12975 cat conftest.err >&5
12976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12977 (exit $ac_status); } &&
12978 { ac_try='test -z "$ac_cxx_werror_flag"
12979 || test ! -s conftest.err'
12980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12981 (eval $ac_try) 2>&5
12982 ac_status=$?
12983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12984 (exit $ac_status); }; } &&
12985 { ac_try='test -s conftest.$ac_objext'
12986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12987 (eval $ac_try) 2>&5
12988 ac_status=$?
12989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12990 (exit $ac_status); }; }; then
12991 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
12992 else
12993 echo "$as_me: failed program was:" >&5
12994 sed 's/^/| /' conftest.$ac_ext >&5
12995
12996 bakefile_cv_cxx_compiler___SUNPRO_CC=no
12997
12998 fi
12999 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13000
13001
13002 fi
13003 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
13004 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6
13005 ac_ext=cc
13006 ac_cpp='$CXXCPP $CPPFLAGS'
13007 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13008 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13009 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13010
13011 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
13012 :; SUNCXX=yes
13013 else
13014 :;
13015 fi
13016
13017
13018
13019
13020 ac_ext=c
13021 ac_cpp='$CPP $CPPFLAGS'
13022 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13023 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13024 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13025
13026
13027 if test -n "$ac_tool_prefix"; then
13028 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
13029 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
13030 echo "$as_me:$LINENO: checking for $ac_word" >&5
13031 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13032 if test "${ac_cv_prog_RANLIB+set}" = set; then
13033 echo $ECHO_N "(cached) $ECHO_C" >&6
13034 else
13035 if test -n "$RANLIB"; then
13036 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
13037 else
13038 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13039 for as_dir in $PATH
13040 do
13041 IFS=$as_save_IFS
13042 test -z "$as_dir" && as_dir=.
13043 for ac_exec_ext in '' $ac_executable_extensions; do
13044 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13045 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
13046 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13047 break 2
13048 fi
13049 done
13050 done
13051
13052 fi
13053 fi
13054 RANLIB=$ac_cv_prog_RANLIB
13055 if test -n "$RANLIB"; then
13056 echo "$as_me:$LINENO: result: $RANLIB" >&5
13057 echo "${ECHO_T}$RANLIB" >&6
13058 else
13059 echo "$as_me:$LINENO: result: no" >&5
13060 echo "${ECHO_T}no" >&6
13061 fi
13062
13063 fi
13064 if test -z "$ac_cv_prog_RANLIB"; then
13065 ac_ct_RANLIB=$RANLIB
13066 # Extract the first word of "ranlib", so it can be a program name with args.
13067 set dummy ranlib; ac_word=$2
13068 echo "$as_me:$LINENO: checking for $ac_word" >&5
13069 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13070 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
13071 echo $ECHO_N "(cached) $ECHO_C" >&6
13072 else
13073 if test -n "$ac_ct_RANLIB"; then
13074 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
13075 else
13076 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13077 for as_dir in $PATH
13078 do
13079 IFS=$as_save_IFS
13080 test -z "$as_dir" && as_dir=.
13081 for ac_exec_ext in '' $ac_executable_extensions; do
13082 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13083 ac_cv_prog_ac_ct_RANLIB="ranlib"
13084 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13085 break 2
13086 fi
13087 done
13088 done
13089
13090 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
13091 fi
13092 fi
13093 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
13094 if test -n "$ac_ct_RANLIB"; then
13095 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
13096 echo "${ECHO_T}$ac_ct_RANLIB" >&6
13097 else
13098 echo "$as_me:$LINENO: result: no" >&5
13099 echo "${ECHO_T}no" >&6
13100 fi
13101
13102 RANLIB=$ac_ct_RANLIB
13103 else
13104 RANLIB="$ac_cv_prog_RANLIB"
13105 fi
13106
13107
13108 # Extract the first word of "ar", so it can be a program name with args.
13109 set dummy ar; ac_word=$2
13110 echo "$as_me:$LINENO: checking for $ac_word" >&5
13111 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13112 if test "${ac_cv_prog_AR+set}" = set; then
13113 echo $ECHO_N "(cached) $ECHO_C" >&6
13114 else
13115 if test -n "$AR"; then
13116 ac_cv_prog_AR="$AR" # Let the user override the test.
13117 else
13118 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13119 for as_dir in $PATH
13120 do
13121 IFS=$as_save_IFS
13122 test -z "$as_dir" && as_dir=.
13123 for ac_exec_ext in '' $ac_executable_extensions; do
13124 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13125 ac_cv_prog_AR="ar"
13126 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13127 break 2
13128 fi
13129 done
13130 done
13131
13132 fi
13133 fi
13134 AR=$ac_cv_prog_AR
13135 if test -n "$AR"; then
13136 echo "$as_me:$LINENO: result: $AR" >&5
13137 echo "${ECHO_T}$AR" >&6
13138 else
13139 echo "$as_me:$LINENO: result: no" >&5
13140 echo "${ECHO_T}no" >&6
13141 fi
13142
13143 if test "x$AR" = "x" ; then
13144 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
13145 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
13146 { (exit 1); exit 1; }; }
13147 fi
13148
13149 # Find a good install program. We prefer a C program (faster),
13150 # so one script is as good as another. But avoid the broken or
13151 # incompatible versions:
13152 # SysV /etc/install, /usr/sbin/install
13153 # SunOS /usr/etc/install
13154 # IRIX /sbin/install
13155 # AIX /bin/install
13156 # AmigaOS /C/install, which installs bootblocks on floppy discs
13157 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
13158 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
13159 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
13160 # OS/2's system install, which has a completely different semantic
13161 # ./install, which can be erroneously created by make from ./install.sh.
13162 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
13163 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
13164 if test -z "$INSTALL"; then
13165 if test "${ac_cv_path_install+set}" = set; then
13166 echo $ECHO_N "(cached) $ECHO_C" >&6
13167 else
13168 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13169 for as_dir in $PATH
13170 do
13171 IFS=$as_save_IFS
13172 test -z "$as_dir" && as_dir=.
13173 # Account for people who put trailing slashes in PATH elements.
13174 case $as_dir/ in
13175 ./ | .// | /cC/* | \
13176 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
13177 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
13178 /usr/ucb/* ) ;;
13179 *)
13180 # OSF1 and SCO ODT 3.0 have their own names for install.
13181 # Don't use installbsd from OSF since it installs stuff as root
13182 # by default.
13183 for ac_prog in ginstall scoinst install; do
13184 for ac_exec_ext in '' $ac_executable_extensions; do
13185 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
13186 if test $ac_prog = install &&
13187 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
13188 # AIX install. It has an incompatible calling convention.
13189 :
13190 elif test $ac_prog = install &&
13191 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
13192 # program-specific install script used by HP pwplus--don't use.
13193 :
13194 else
13195 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
13196 break 3
13197 fi
13198 fi
13199 done
13200 done
13201 ;;
13202 esac
13203 done
13204
13205
13206 fi
13207 if test "${ac_cv_path_install+set}" = set; then
13208 INSTALL=$ac_cv_path_install
13209 else
13210 # As a last resort, use the slow shell script. We don't cache a
13211 # path for INSTALL within a source directory, because that will
13212 # break other packages using the cache if that directory is
13213 # removed, or if the path is relative.
13214 INSTALL=$ac_install_sh
13215 fi
13216 fi
13217 echo "$as_me:$LINENO: result: $INSTALL" >&5
13218 echo "${ECHO_T}$INSTALL" >&6
13219
13220 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
13221 # It thinks the first close brace ends the variable substitution.
13222 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
13223
13224 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
13225
13226 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
13227
13228
13229 case ${INSTALL} in
13230 /* ) # Absolute
13231 ;;
13232 ?:* ) # Drive letter, considered as absolute.
13233 ;;
13234 *)
13235 INSTALL=`pwd`/${INSTALL} ;;
13236 esac
13237
13238
13239 case "${host}" in
13240
13241 powerpc-*-darwin* )
13242 INSTALL_PROGRAM="cp -fp"
13243 INSTALL_DATA="cp -fp"
13244 ;;
13245 *)
13246 ;;
13247 esac
13248
13249 # Extract the first word of "strip", so it can be a program name with args.
13250 set dummy strip; ac_word=$2
13251 echo "$as_me:$LINENO: checking for $ac_word" >&5
13252 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13253 if test "${ac_cv_prog_STRIP+set}" = set; then
13254 echo $ECHO_N "(cached) $ECHO_C" >&6
13255 else
13256 if test -n "$STRIP"; then
13257 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
13258 else
13259 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13260 for as_dir in $PATH
13261 do
13262 IFS=$as_save_IFS
13263 test -z "$as_dir" && as_dir=.
13264 for ac_exec_ext in '' $ac_executable_extensions; do
13265 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13266 ac_cv_prog_STRIP="strip"
13267 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13268 break 2
13269 fi
13270 done
13271 done
13272
13273 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP="true"
13274 fi
13275 fi
13276 STRIP=$ac_cv_prog_STRIP
13277 if test -n "$STRIP"; then
13278 echo "$as_me:$LINENO: result: $STRIP" >&5
13279 echo "${ECHO_T}$STRIP" >&6
13280 else
13281 echo "$as_me:$LINENO: result: no" >&5
13282 echo "${ECHO_T}no" >&6
13283 fi
13284
13285
13286 echo "$as_me:$LINENO: checking if make is GNU make" >&5
13287 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
13288 if test "${wx_cv_prog_makeisgnu+set}" = set; then
13289 echo $ECHO_N "(cached) $ECHO_C" >&6
13290 else
13291
13292 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
13293 egrep -s GNU > /dev/null); then
13294 wx_cv_prog_makeisgnu="yes"
13295 else
13296 wx_cv_prog_makeisgnu="no"
13297 fi
13298
13299 fi
13300 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
13301 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
13302
13303 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
13304 IF_GNU_MAKE=""
13305 else
13306 IF_GNU_MAKE="#"
13307 fi
13308
13309
13310
13311 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
13312 echo "$as_me:$LINENO: checking if make supports VPATH" >&5
13313 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
13314 if test "${wx_cv_prog_makevpath+set}" = set; then
13315 echo $ECHO_N "(cached) $ECHO_C" >&6
13316 else
13317
13318 cat - << EOF > confMake
13319 check : file
13320 cp \$? \$@
13321 cp \$? final_file
13322 EOF
13323
13324 if test ! -d sub ; then
13325 mkdir sub
13326 fi
13327 echo dummy > sub/file
13328 ${MAKE-make} -f confMake VPATH=sub 2>&5 > /dev/null
13329 RESULT=$?
13330 rm -f sub/file check final_file confMake
13331 rmdir sub
13332 if test "$RESULT" = 0; then
13333 wx_cv_prog_makevpath="yes"
13334 else
13335 wx_cv_prog_makevpath="no"
13336 fi
13337
13338 fi
13339 echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
13340 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
13341
13342 if test "x$wx_cv_prog_makevpath" != "xyes"; then
13343 { { echo "$as_me:$LINENO: error:
13344 You need a make-utility that is able to use the variable
13345 VPATH correctly.
13346 If your version of make does not support VPATH correctly,
13347 please install GNU-make (possibly as gmake), and start
13348 configure with the following command:
13349 export MAKE=gmake; ./configure for sh-type shells
13350 setenv MAKE gmake; ./configure for csh-type shells
13351 Also please do remember to use gmake in this case every time
13352 you are trying to compile.
13353 " >&5
13354 echo "$as_me: error:
13355 You need a make-utility that is able to use the variable
13356 VPATH correctly.
13357 If your version of make does not support VPATH correctly,
13358 please install GNU-make (possibly as gmake), and start
13359 configure with the following command:
13360 export MAKE=gmake; ./configure for sh-type shells
13361 setenv MAKE gmake; ./configure for csh-type shells
13362 Also please do remember to use gmake in this case every time
13363 you are trying to compile.
13364 " >&2;}
13365 { (exit 1); exit 1; }; }
13366 fi fi
13367 echo "$as_me:$LINENO: checking whether ln -s works" >&5
13368 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
13369 LN_S=$as_ln_s
13370 if test "$LN_S" = "ln -s"; then
13371 echo "$as_me:$LINENO: result: yes" >&5
13372 echo "${ECHO_T}yes" >&6
13373 else
13374 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
13375 echo "${ECHO_T}no, using $LN_S" >&6
13376 fi
13377
13378
13379
13380 if test "x$XLCXX" = "xyes"; then
13381 CXXFLAGS="$CXXFLAGS -qunique"
13382 fi
13383
13384
13385 case "${host}" in
13386 powerpc-*-darwin* )
13387 echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
13388 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6
13389 cat >conftest.$ac_ext <<_ACEOF
13390 /* confdefs.h. */
13391 _ACEOF
13392 cat confdefs.h >>conftest.$ac_ext
13393 cat >>conftest.$ac_ext <<_ACEOF
13394 /* end confdefs.h. */
13395
13396 int
13397 main ()
13398 {
13399 #ifndef __POWERPC__
13400 choke me for lack of PowerPC
13401 #endif
13402
13403 ;
13404 return 0;
13405 }
13406 _ACEOF
13407 rm -f conftest.$ac_objext
13408 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13409 (eval $ac_compile) 2>conftest.er1
13410 ac_status=$?
13411 grep -v '^ *+' conftest.er1 >conftest.err
13412 rm -f conftest.er1
13413 cat conftest.err >&5
13414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13415 (exit $ac_status); } &&
13416 { ac_try='test -z "$ac_c_werror_flag"
13417 || test ! -s conftest.err'
13418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13419 (eval $ac_try) 2>&5
13420 ac_status=$?
13421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13422 (exit $ac_status); }; } &&
13423 { ac_try='test -s conftest.$ac_objext'
13424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13425 (eval $ac_try) 2>&5
13426 ac_status=$?
13427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13428 (exit $ac_status); }; }; then
13429 echo "$as_me:$LINENO: result: yes" >&5
13430 echo "${ECHO_T}yes" >&6
13431 else
13432 echo "$as_me: failed program was:" >&5
13433 sed 's/^/| /' conftest.$ac_ext >&5
13434
13435 echo "$as_me:$LINENO: result: no" >&5
13436 echo "${ECHO_T}no" >&6
13437 cat >>confdefs.h <<\_ACEOF
13438 #define __POWERPC__ 1
13439 _ACEOF
13440
13441
13442 fi
13443 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13444 echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
13445 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6
13446 cat >conftest.$ac_ext <<_ACEOF
13447 /* confdefs.h. */
13448 _ACEOF
13449 cat confdefs.h >>conftest.$ac_ext
13450 cat >>conftest.$ac_ext <<_ACEOF
13451 /* end confdefs.h. */
13452 #include <CoreFoundation/CFBase.h>
13453
13454 int
13455 main ()
13456 {
13457
13458 ;
13459 return 0;
13460 }
13461 _ACEOF
13462 rm -f conftest.$ac_objext
13463 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13464 (eval $ac_compile) 2>conftest.er1
13465 ac_status=$?
13466 grep -v '^ *+' conftest.er1 >conftest.err
13467 rm -f conftest.er1
13468 cat conftest.err >&5
13469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13470 (exit $ac_status); } &&
13471 { ac_try='test -z "$ac_c_werror_flag"
13472 || test ! -s conftest.err'
13473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13474 (eval $ac_try) 2>&5
13475 ac_status=$?
13476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13477 (exit $ac_status); }; } &&
13478 { ac_try='test -s conftest.$ac_objext'
13479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13480 (eval $ac_try) 2>&5
13481 ac_status=$?
13482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13483 (exit $ac_status); }; }; then
13484 echo "$as_me:$LINENO: result: yes" >&5
13485 echo "${ECHO_T}yes" >&6
13486 else
13487 echo "$as_me: failed program was:" >&5
13488 sed 's/^/| /' conftest.$ac_ext >&5
13489
13490 echo "$as_me:$LINENO: result: no" >&5
13491 echo "${ECHO_T}no" >&6
13492 echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
13493 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6
13494 cat >conftest.$ac_ext <<_ACEOF
13495 /* confdefs.h. */
13496 _ACEOF
13497 cat confdefs.h >>conftest.$ac_ext
13498 cat >>conftest.$ac_ext <<_ACEOF
13499 /* end confdefs.h. */
13500 #define __CF_USE_FRAMEWORK_INCLUDES__
13501 #include <CoreFoundation/CFBase.h>
13502
13503 int
13504 main ()
13505 {
13506
13507 ;
13508 return 0;
13509 }
13510 _ACEOF
13511 rm -f conftest.$ac_objext
13512 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13513 (eval $ac_compile) 2>conftest.er1
13514 ac_status=$?
13515 grep -v '^ *+' conftest.er1 >conftest.err
13516 rm -f conftest.er1
13517 cat conftest.err >&5
13518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13519 (exit $ac_status); } &&
13520 { ac_try='test -z "$ac_c_werror_flag"
13521 || test ! -s conftest.err'
13522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13523 (eval $ac_try) 2>&5
13524 ac_status=$?
13525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13526 (exit $ac_status); }; } &&
13527 { ac_try='test -s conftest.$ac_objext'
13528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13529 (eval $ac_try) 2>&5
13530 ac_status=$?
13531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13532 (exit $ac_status); }; }; then
13533 echo "$as_me:$LINENO: result: yes" >&5
13534 echo "${ECHO_T}yes" >&6
13535 CPPFLAGS="$CPPFLAGS -D__CF_USE_FRAMEWORK_INCLUDES__"
13536 else
13537 echo "$as_me: failed program was:" >&5
13538 sed 's/^/| /' conftest.$ac_ext >&5
13539
13540 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
13541 See \`config.log' for more details." >&5
13542 echo "$as_me: error: no. CoreFoundation not available.
13543 See \`config.log' for more details." >&2;}
13544 { (exit 1); exit 1; }; }
13545
13546 fi
13547 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13548
13549
13550 fi
13551 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13552 ;;
13553 esac
13554
13555 case "${host}" in
13556 *-pc-os2_emx | *-pc-os2-emx )
13557 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
13558 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
13559 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
13560 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
13561 echo $ECHO_N "(cached) $ECHO_C" >&6
13562 else
13563 ac_check_lib_save_LIBS=$LIBS
13564 LIBS="-lcExt $LIBS"
13565 cat >conftest.$ac_ext <<_ACEOF
13566 /* confdefs.h. */
13567 _ACEOF
13568 cat confdefs.h >>conftest.$ac_ext
13569 cat >>conftest.$ac_ext <<_ACEOF
13570 /* end confdefs.h. */
13571
13572 /* Override any gcc2 internal prototype to avoid an error. */
13573 #ifdef __cplusplus
13574 extern "C"
13575 #endif
13576 /* We use char because int might match the return type of a gcc2
13577 builtin and then its argument prototype would still apply. */
13578 char drand48 ();
13579 int
13580 main ()
13581 {
13582 drand48 ();
13583 ;
13584 return 0;
13585 }
13586 _ACEOF
13587 rm -f conftest.$ac_objext conftest$ac_exeext
13588 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13589 (eval $ac_link) 2>conftest.er1
13590 ac_status=$?
13591 grep -v '^ *+' conftest.er1 >conftest.err
13592 rm -f conftest.er1
13593 cat conftest.err >&5
13594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13595 (exit $ac_status); } &&
13596 { ac_try='test -z "$ac_c_werror_flag"
13597 || test ! -s conftest.err'
13598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13599 (eval $ac_try) 2>&5
13600 ac_status=$?
13601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13602 (exit $ac_status); }; } &&
13603 { ac_try='test -s conftest$ac_exeext'
13604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13605 (eval $ac_try) 2>&5
13606 ac_status=$?
13607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13608 (exit $ac_status); }; }; then
13609 ac_cv_lib_cExt_drand48=yes
13610 else
13611 echo "$as_me: failed program was:" >&5
13612 sed 's/^/| /' conftest.$ac_ext >&5
13613
13614 ac_cv_lib_cExt_drand48=no
13615 fi
13616 rm -f conftest.err conftest.$ac_objext \
13617 conftest$ac_exeext conftest.$ac_ext
13618 LIBS=$ac_check_lib_save_LIBS
13619 fi
13620 echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
13621 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
13622 if test $ac_cv_lib_cExt_drand48 = yes; then
13623 LIBS="$LIBS -lcExt"
13624 fi
13625
13626 else
13627 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
13628 fi
13629 echo "$as_me:$LINENO: checking for gcc/libc version" >&5
13630 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6
13631 if test "${wx_cv_gccversion+set}" = set; then
13632 echo $ECHO_N "(cached) $ECHO_C" >&6
13633 else
13634
13635 if test "$cross_compiling" = yes; then
13636 wx_cv_gccversion="EMX2"
13637
13638 else
13639 cat >conftest.$ac_ext <<_ACEOF
13640 /* confdefs.h. */
13641 _ACEOF
13642 cat confdefs.h >>conftest.$ac_ext
13643 cat >>conftest.$ac_ext <<_ACEOF
13644 /* end confdefs.h. */
13645
13646 #include <stdio.h>
13647
13648 int main()
13649 {
13650 FILE *f=fopen("conftestval", "w");
13651 if (!f) exit(1);
13652 fprintf(f,
13653 #if (__GNUC__ < 3)
13654 "EMX2"
13655 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
13656 "EMX3"
13657 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
13658 "Innotek5"
13659 #else
13660 "Innotek6"
13661 #endif
13662 );
13663 exit(0);
13664 }
13665
13666 _ACEOF
13667 rm -f conftest$ac_exeext
13668 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13669 (eval $ac_link) 2>&5
13670 ac_status=$?
13671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13672 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
13673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13674 (eval $ac_try) 2>&5
13675 ac_status=$?
13676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13677 (exit $ac_status); }; }; then
13678 wx_cv_gccversion=`cat conftestval`
13679 else
13680 echo "$as_me: program exited with status $ac_status" >&5
13681 echo "$as_me: failed program was:" >&5
13682 sed 's/^/| /' conftest.$ac_ext >&5
13683
13684 ( exit $ac_status )
13685 wx_cv_gccversion="EMX2"
13686 fi
13687 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
13688 fi
13689
13690 fi
13691 echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
13692 echo "${ECHO_T}$wx_cv_gccversion" >&6
13693 if test "$wx_cv_gccversion" = "EMX2"; then
13694 LIBS="$LIBS -lstdcpp"
13695 LDFLAGS="$LDFLAGS -Zsysv-signals"
13696 else
13697 if test "$wx_cv_gccversion" = "EMX3"; then
13698 LIBS="$LIBS -lstdcxx"
13699 LDFLAGS="$LDFLAGS -Zsysv-signals"
13700 else
13701 LIBS="$LIBS -lstdc++"
13702 fi
13703 fi
13704 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
13705 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
13706 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
13707 wxUSE_OMF=yes
13708 enable_omf=yes
13709 fi
13710 ;;
13711 *)
13712
13713
13714
13715 ac_ext=cc
13716 ac_cpp='$CXXCPP $CPPFLAGS'
13717 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13718 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13719 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13720
13721
13722 echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
13723 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6
13724 if test "${ac_cv_string_strcasecmp+set}" = set; then
13725 echo $ECHO_N "(cached) $ECHO_C" >&6
13726 else
13727
13728 cat >conftest.$ac_ext <<_ACEOF
13729 /* confdefs.h. */
13730 _ACEOF
13731 cat confdefs.h >>conftest.$ac_ext
13732 cat >>conftest.$ac_ext <<_ACEOF
13733 /* end confdefs.h. */
13734
13735 #include <string.h>
13736
13737 int
13738 main ()
13739 {
13740
13741 strcasecmp("foo", "bar");
13742
13743 ;
13744 return 0;
13745 }
13746 _ACEOF
13747 rm -f conftest.$ac_objext conftest$ac_exeext
13748 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13749 (eval $ac_link) 2>conftest.er1
13750 ac_status=$?
13751 grep -v '^ *+' conftest.er1 >conftest.err
13752 rm -f conftest.er1
13753 cat conftest.err >&5
13754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13755 (exit $ac_status); } &&
13756 { ac_try='test -z "$ac_cxx_werror_flag"
13757 || test ! -s conftest.err'
13758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13759 (eval $ac_try) 2>&5
13760 ac_status=$?
13761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13762 (exit $ac_status); }; } &&
13763 { ac_try='test -s conftest$ac_exeext'
13764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13765 (eval $ac_try) 2>&5
13766 ac_status=$?
13767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13768 (exit $ac_status); }; }; then
13769 ac_cv_string_strcasecmp=yes
13770 else
13771 echo "$as_me: failed program was:" >&5
13772 sed 's/^/| /' conftest.$ac_ext >&5
13773
13774 ac_cv_string_strcasecmp=no
13775
13776 fi
13777 rm -f conftest.err conftest.$ac_objext \
13778 conftest$ac_exeext conftest.$ac_ext
13779
13780 fi
13781 echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
13782 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6
13783
13784 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
13785 cat >>confdefs.h <<\_ACEOF
13786 #define HAVE_STRCASECMP_IN_STRING_H 1
13787 _ACEOF
13788
13789 else
13790 echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
13791 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6
13792 if test "${ac_cv_strings_strcasecmp+set}" = set; then
13793 echo $ECHO_N "(cached) $ECHO_C" >&6
13794 else
13795
13796 cat >conftest.$ac_ext <<_ACEOF
13797 /* confdefs.h. */
13798 _ACEOF
13799 cat confdefs.h >>conftest.$ac_ext
13800 cat >>conftest.$ac_ext <<_ACEOF
13801 /* end confdefs.h. */
13802
13803 #include <strings.h>
13804
13805 int
13806 main ()
13807 {
13808
13809 strcasecmp("foo", "bar");
13810
13811 ;
13812 return 0;
13813 }
13814 _ACEOF
13815 rm -f conftest.$ac_objext conftest$ac_exeext
13816 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13817 (eval $ac_link) 2>conftest.er1
13818 ac_status=$?
13819 grep -v '^ *+' conftest.er1 >conftest.err
13820 rm -f conftest.er1
13821 cat conftest.err >&5
13822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13823 (exit $ac_status); } &&
13824 { ac_try='test -z "$ac_cxx_werror_flag"
13825 || test ! -s conftest.err'
13826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13827 (eval $ac_try) 2>&5
13828 ac_status=$?
13829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13830 (exit $ac_status); }; } &&
13831 { ac_try='test -s conftest$ac_exeext'
13832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13833 (eval $ac_try) 2>&5
13834 ac_status=$?
13835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13836 (exit $ac_status); }; }; then
13837 ac_cv_strings_strcasecmp=yes
13838 else
13839 echo "$as_me: failed program was:" >&5
13840 sed 's/^/| /' conftest.$ac_ext >&5
13841
13842 ac_cv_strings_strcasecmp=no
13843
13844 fi
13845 rm -f conftest.err conftest.$ac_objext \
13846 conftest$ac_exeext conftest.$ac_ext
13847
13848 fi
13849 echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
13850 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6
13851
13852 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
13853 cat >>confdefs.h <<\_ACEOF
13854 #define HAVE_STRCASECMP_IN_STRINGS_H 1
13855 _ACEOF
13856
13857 else
13858 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
13859 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
13860 { (exit 1); exit 1; }; }
13861 fi
13862 fi
13863
13864 ac_ext=c
13865 ac_cpp='$CPP $CPPFLAGS'
13866 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13867 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13868 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13869
13870 ;;
13871 esac
13872
13873
13874 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
13875 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
13876 if test "${ac_cv_header_stdc+set}" = set; then
13877 echo $ECHO_N "(cached) $ECHO_C" >&6
13878 else
13879 cat >conftest.$ac_ext <<_ACEOF
13880 /* confdefs.h. */
13881 _ACEOF
13882 cat confdefs.h >>conftest.$ac_ext
13883 cat >>conftest.$ac_ext <<_ACEOF
13884 /* end confdefs.h. */
13885 #include <stdlib.h>
13886 #include <stdarg.h>
13887 #include <string.h>
13888 #include <float.h>
13889
13890 int
13891 main ()
13892 {
13893
13894 ;
13895 return 0;
13896 }
13897 _ACEOF
13898 rm -f conftest.$ac_objext
13899 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13900 (eval $ac_compile) 2>conftest.er1
13901 ac_status=$?
13902 grep -v '^ *+' conftest.er1 >conftest.err
13903 rm -f conftest.er1
13904 cat conftest.err >&5
13905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13906 (exit $ac_status); } &&
13907 { ac_try='test -z "$ac_c_werror_flag"
13908 || test ! -s conftest.err'
13909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13910 (eval $ac_try) 2>&5
13911 ac_status=$?
13912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13913 (exit $ac_status); }; } &&
13914 { ac_try='test -s conftest.$ac_objext'
13915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13916 (eval $ac_try) 2>&5
13917 ac_status=$?
13918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13919 (exit $ac_status); }; }; then
13920 ac_cv_header_stdc=yes
13921 else
13922 echo "$as_me: failed program was:" >&5
13923 sed 's/^/| /' conftest.$ac_ext >&5
13924
13925 ac_cv_header_stdc=no
13926 fi
13927 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13928
13929 if test $ac_cv_header_stdc = yes; then
13930 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
13931 cat >conftest.$ac_ext <<_ACEOF
13932 /* confdefs.h. */
13933 _ACEOF
13934 cat confdefs.h >>conftest.$ac_ext
13935 cat >>conftest.$ac_ext <<_ACEOF
13936 /* end confdefs.h. */
13937 #include <string.h>
13938
13939 _ACEOF
13940 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13941 $EGREP "memchr" >/dev/null 2>&1; then
13942 :
13943 else
13944 ac_cv_header_stdc=no
13945 fi
13946 rm -f conftest*
13947
13948 fi
13949
13950 if test $ac_cv_header_stdc = yes; then
13951 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
13952 cat >conftest.$ac_ext <<_ACEOF
13953 /* confdefs.h. */
13954 _ACEOF
13955 cat confdefs.h >>conftest.$ac_ext
13956 cat >>conftest.$ac_ext <<_ACEOF
13957 /* end confdefs.h. */
13958 #include <stdlib.h>
13959
13960 _ACEOF
13961 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13962 $EGREP "free" >/dev/null 2>&1; then
13963 :
13964 else
13965 ac_cv_header_stdc=no
13966 fi
13967 rm -f conftest*
13968
13969 fi
13970
13971 if test $ac_cv_header_stdc = yes; then
13972 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
13973 if test "$cross_compiling" = yes; then
13974 :
13975 else
13976 cat >conftest.$ac_ext <<_ACEOF
13977 /* confdefs.h. */
13978 _ACEOF
13979 cat confdefs.h >>conftest.$ac_ext
13980 cat >>conftest.$ac_ext <<_ACEOF
13981 /* end confdefs.h. */
13982 #include <ctype.h>
13983 #if ((' ' & 0x0FF) == 0x020)
13984 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
13985 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
13986 #else
13987 # define ISLOWER(c) \
13988 (('a' <= (c) && (c) <= 'i') \
13989 || ('j' <= (c) && (c) <= 'r') \
13990 || ('s' <= (c) && (c) <= 'z'))
13991 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
13992 #endif
13993
13994 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
13995 int
13996 main ()
13997 {
13998 int i;
13999 for (i = 0; i < 256; i++)
14000 if (XOR (islower (i), ISLOWER (i))
14001 || toupper (i) != TOUPPER (i))
14002 exit(2);
14003 exit (0);
14004 }
14005 _ACEOF
14006 rm -f conftest$ac_exeext
14007 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14008 (eval $ac_link) 2>&5
14009 ac_status=$?
14010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14011 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14013 (eval $ac_try) 2>&5
14014 ac_status=$?
14015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14016 (exit $ac_status); }; }; then
14017 :
14018 else
14019 echo "$as_me: program exited with status $ac_status" >&5
14020 echo "$as_me: failed program was:" >&5
14021 sed 's/^/| /' conftest.$ac_ext >&5
14022
14023 ( exit $ac_status )
14024 ac_cv_header_stdc=no
14025 fi
14026 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14027 fi
14028 fi
14029 fi
14030 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
14031 echo "${ECHO_T}$ac_cv_header_stdc" >&6
14032 if test $ac_cv_header_stdc = yes; then
14033
14034 cat >>confdefs.h <<\_ACEOF
14035 #define STDC_HEADERS 1
14036 _ACEOF
14037
14038 fi
14039
14040 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
14041
14042
14043
14044
14045
14046
14047
14048
14049
14050 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
14051 inttypes.h stdint.h unistd.h
14052 do
14053 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14054 echo "$as_me:$LINENO: checking for $ac_header" >&5
14055 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14056 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14057 echo $ECHO_N "(cached) $ECHO_C" >&6
14058 else
14059 cat >conftest.$ac_ext <<_ACEOF
14060 /* confdefs.h. */
14061 _ACEOF
14062 cat confdefs.h >>conftest.$ac_ext
14063 cat >>conftest.$ac_ext <<_ACEOF
14064 /* end confdefs.h. */
14065 $ac_includes_default
14066
14067 #include <$ac_header>
14068 _ACEOF
14069 rm -f conftest.$ac_objext
14070 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14071 (eval $ac_compile) 2>conftest.er1
14072 ac_status=$?
14073 grep -v '^ *+' conftest.er1 >conftest.err
14074 rm -f conftest.er1
14075 cat conftest.err >&5
14076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14077 (exit $ac_status); } &&
14078 { ac_try='test -z "$ac_c_werror_flag"
14079 || test ! -s conftest.err'
14080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14081 (eval $ac_try) 2>&5
14082 ac_status=$?
14083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14084 (exit $ac_status); }; } &&
14085 { ac_try='test -s conftest.$ac_objext'
14086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14087 (eval $ac_try) 2>&5
14088 ac_status=$?
14089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14090 (exit $ac_status); }; }; then
14091 eval "$as_ac_Header=yes"
14092 else
14093 echo "$as_me: failed program was:" >&5
14094 sed 's/^/| /' conftest.$ac_ext >&5
14095
14096 eval "$as_ac_Header=no"
14097 fi
14098 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14099 fi
14100 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14101 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14102 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14103 cat >>confdefs.h <<_ACEOF
14104 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14105 _ACEOF
14106
14107 fi
14108
14109 done
14110
14111
14112
14113 for ac_header in stdlib.h
14114 do
14115 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14116 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14117 echo "$as_me:$LINENO: checking for $ac_header" >&5
14118 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14119 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14120 echo $ECHO_N "(cached) $ECHO_C" >&6
14121 fi
14122 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14123 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14124 else
14125 # Is the header compilable?
14126 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14127 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14128 cat >conftest.$ac_ext <<_ACEOF
14129 /* confdefs.h. */
14130 _ACEOF
14131 cat confdefs.h >>conftest.$ac_ext
14132 cat >>conftest.$ac_ext <<_ACEOF
14133 /* end confdefs.h. */
14134 $ac_includes_default
14135 #include <$ac_header>
14136 _ACEOF
14137 rm -f conftest.$ac_objext
14138 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14139 (eval $ac_compile) 2>conftest.er1
14140 ac_status=$?
14141 grep -v '^ *+' conftest.er1 >conftest.err
14142 rm -f conftest.er1
14143 cat conftest.err >&5
14144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14145 (exit $ac_status); } &&
14146 { ac_try='test -z "$ac_c_werror_flag"
14147 || test ! -s conftest.err'
14148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14149 (eval $ac_try) 2>&5
14150 ac_status=$?
14151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14152 (exit $ac_status); }; } &&
14153 { ac_try='test -s conftest.$ac_objext'
14154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14155 (eval $ac_try) 2>&5
14156 ac_status=$?
14157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14158 (exit $ac_status); }; }; then
14159 ac_header_compiler=yes
14160 else
14161 echo "$as_me: failed program was:" >&5
14162 sed 's/^/| /' conftest.$ac_ext >&5
14163
14164 ac_header_compiler=no
14165 fi
14166 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14167 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14168 echo "${ECHO_T}$ac_header_compiler" >&6
14169
14170 # Is the header present?
14171 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14172 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14173 cat >conftest.$ac_ext <<_ACEOF
14174 /* confdefs.h. */
14175 _ACEOF
14176 cat confdefs.h >>conftest.$ac_ext
14177 cat >>conftest.$ac_ext <<_ACEOF
14178 /* end confdefs.h. */
14179 #include <$ac_header>
14180 _ACEOF
14181 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14182 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14183 ac_status=$?
14184 grep -v '^ *+' conftest.er1 >conftest.err
14185 rm -f conftest.er1
14186 cat conftest.err >&5
14187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14188 (exit $ac_status); } >/dev/null; then
14189 if test -s conftest.err; then
14190 ac_cpp_err=$ac_c_preproc_warn_flag
14191 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14192 else
14193 ac_cpp_err=
14194 fi
14195 else
14196 ac_cpp_err=yes
14197 fi
14198 if test -z "$ac_cpp_err"; then
14199 ac_header_preproc=yes
14200 else
14201 echo "$as_me: failed program was:" >&5
14202 sed 's/^/| /' conftest.$ac_ext >&5
14203
14204 ac_header_preproc=no
14205 fi
14206 rm -f conftest.err conftest.$ac_ext
14207 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14208 echo "${ECHO_T}$ac_header_preproc" >&6
14209
14210 # So? What about this header?
14211 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14212 yes:no: )
14213 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14214 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14215 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14216 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14217 ac_header_preproc=yes
14218 ;;
14219 no:yes:* )
14220 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14221 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14222 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14223 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14224 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14225 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14226 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14227 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14228 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14229 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14230 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14231 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14232 (
14233 cat <<\_ASBOX
14234 ## ----------------------------------------- ##
14235 ## Report this to wx-dev@lists.wxwidgets.org ##
14236 ## ----------------------------------------- ##
14237 _ASBOX
14238 ) |
14239 sed "s/^/$as_me: WARNING: /" >&2
14240 ;;
14241 esac
14242 echo "$as_me:$LINENO: checking for $ac_header" >&5
14243 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14244 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14245 echo $ECHO_N "(cached) $ECHO_C" >&6
14246 else
14247 eval "$as_ac_Header=\$ac_header_preproc"
14248 fi
14249 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14250 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14251
14252 fi
14253 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14254 cat >>confdefs.h <<_ACEOF
14255 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14256 _ACEOF
14257
14258 fi
14259
14260 done
14261
14262
14263 for ac_header in malloc.h
14264 do
14265 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14266 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14267 echo "$as_me:$LINENO: checking for $ac_header" >&5
14268 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14269 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14270 echo $ECHO_N "(cached) $ECHO_C" >&6
14271 fi
14272 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14273 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14274 else
14275 # Is the header compilable?
14276 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14277 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14278 cat >conftest.$ac_ext <<_ACEOF
14279 /* confdefs.h. */
14280 _ACEOF
14281 cat confdefs.h >>conftest.$ac_ext
14282 cat >>conftest.$ac_ext <<_ACEOF
14283 /* end confdefs.h. */
14284 $ac_includes_default
14285 #include <$ac_header>
14286 _ACEOF
14287 rm -f conftest.$ac_objext
14288 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14289 (eval $ac_compile) 2>conftest.er1
14290 ac_status=$?
14291 grep -v '^ *+' conftest.er1 >conftest.err
14292 rm -f conftest.er1
14293 cat conftest.err >&5
14294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14295 (exit $ac_status); } &&
14296 { ac_try='test -z "$ac_c_werror_flag"
14297 || test ! -s conftest.err'
14298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14299 (eval $ac_try) 2>&5
14300 ac_status=$?
14301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14302 (exit $ac_status); }; } &&
14303 { ac_try='test -s conftest.$ac_objext'
14304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14305 (eval $ac_try) 2>&5
14306 ac_status=$?
14307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14308 (exit $ac_status); }; }; then
14309 ac_header_compiler=yes
14310 else
14311 echo "$as_me: failed program was:" >&5
14312 sed 's/^/| /' conftest.$ac_ext >&5
14313
14314 ac_header_compiler=no
14315 fi
14316 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14317 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14318 echo "${ECHO_T}$ac_header_compiler" >&6
14319
14320 # Is the header present?
14321 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14322 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14323 cat >conftest.$ac_ext <<_ACEOF
14324 /* confdefs.h. */
14325 _ACEOF
14326 cat confdefs.h >>conftest.$ac_ext
14327 cat >>conftest.$ac_ext <<_ACEOF
14328 /* end confdefs.h. */
14329 #include <$ac_header>
14330 _ACEOF
14331 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14332 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14333 ac_status=$?
14334 grep -v '^ *+' conftest.er1 >conftest.err
14335 rm -f conftest.er1
14336 cat conftest.err >&5
14337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14338 (exit $ac_status); } >/dev/null; then
14339 if test -s conftest.err; then
14340 ac_cpp_err=$ac_c_preproc_warn_flag
14341 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14342 else
14343 ac_cpp_err=
14344 fi
14345 else
14346 ac_cpp_err=yes
14347 fi
14348 if test -z "$ac_cpp_err"; then
14349 ac_header_preproc=yes
14350 else
14351 echo "$as_me: failed program was:" >&5
14352 sed 's/^/| /' conftest.$ac_ext >&5
14353
14354 ac_header_preproc=no
14355 fi
14356 rm -f conftest.err conftest.$ac_ext
14357 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14358 echo "${ECHO_T}$ac_header_preproc" >&6
14359
14360 # So? What about this header?
14361 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14362 yes:no: )
14363 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14364 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14365 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14366 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14367 ac_header_preproc=yes
14368 ;;
14369 no:yes:* )
14370 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14371 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14372 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14373 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14374 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14375 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14376 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14377 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14378 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14379 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14380 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14381 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14382 (
14383 cat <<\_ASBOX
14384 ## ----------------------------------------- ##
14385 ## Report this to wx-dev@lists.wxwidgets.org ##
14386 ## ----------------------------------------- ##
14387 _ASBOX
14388 ) |
14389 sed "s/^/$as_me: WARNING: /" >&2
14390 ;;
14391 esac
14392 echo "$as_me:$LINENO: checking for $ac_header" >&5
14393 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14394 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14395 echo $ECHO_N "(cached) $ECHO_C" >&6
14396 else
14397 eval "$as_ac_Header=\$ac_header_preproc"
14398 fi
14399 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14400 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14401
14402 fi
14403 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14404 cat >>confdefs.h <<_ACEOF
14405 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14406 _ACEOF
14407
14408 fi
14409
14410 done
14411
14412
14413 for ac_header in unistd.h
14414 do
14415 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14416 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14417 echo "$as_me:$LINENO: checking for $ac_header" >&5
14418 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14419 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14420 echo $ECHO_N "(cached) $ECHO_C" >&6
14421 fi
14422 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14423 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14424 else
14425 # Is the header compilable?
14426 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14427 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14428 cat >conftest.$ac_ext <<_ACEOF
14429 /* confdefs.h. */
14430 _ACEOF
14431 cat confdefs.h >>conftest.$ac_ext
14432 cat >>conftest.$ac_ext <<_ACEOF
14433 /* end confdefs.h. */
14434 $ac_includes_default
14435 #include <$ac_header>
14436 _ACEOF
14437 rm -f conftest.$ac_objext
14438 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14439 (eval $ac_compile) 2>conftest.er1
14440 ac_status=$?
14441 grep -v '^ *+' conftest.er1 >conftest.err
14442 rm -f conftest.er1
14443 cat conftest.err >&5
14444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14445 (exit $ac_status); } &&
14446 { ac_try='test -z "$ac_c_werror_flag"
14447 || test ! -s conftest.err'
14448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14449 (eval $ac_try) 2>&5
14450 ac_status=$?
14451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14452 (exit $ac_status); }; } &&
14453 { ac_try='test -s conftest.$ac_objext'
14454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14455 (eval $ac_try) 2>&5
14456 ac_status=$?
14457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14458 (exit $ac_status); }; }; then
14459 ac_header_compiler=yes
14460 else
14461 echo "$as_me: failed program was:" >&5
14462 sed 's/^/| /' conftest.$ac_ext >&5
14463
14464 ac_header_compiler=no
14465 fi
14466 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14467 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14468 echo "${ECHO_T}$ac_header_compiler" >&6
14469
14470 # Is the header present?
14471 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14472 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14473 cat >conftest.$ac_ext <<_ACEOF
14474 /* confdefs.h. */
14475 _ACEOF
14476 cat confdefs.h >>conftest.$ac_ext
14477 cat >>conftest.$ac_ext <<_ACEOF
14478 /* end confdefs.h. */
14479 #include <$ac_header>
14480 _ACEOF
14481 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14482 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14483 ac_status=$?
14484 grep -v '^ *+' conftest.er1 >conftest.err
14485 rm -f conftest.er1
14486 cat conftest.err >&5
14487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14488 (exit $ac_status); } >/dev/null; then
14489 if test -s conftest.err; then
14490 ac_cpp_err=$ac_c_preproc_warn_flag
14491 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14492 else
14493 ac_cpp_err=
14494 fi
14495 else
14496 ac_cpp_err=yes
14497 fi
14498 if test -z "$ac_cpp_err"; then
14499 ac_header_preproc=yes
14500 else
14501 echo "$as_me: failed program was:" >&5
14502 sed 's/^/| /' conftest.$ac_ext >&5
14503
14504 ac_header_preproc=no
14505 fi
14506 rm -f conftest.err conftest.$ac_ext
14507 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14508 echo "${ECHO_T}$ac_header_preproc" >&6
14509
14510 # So? What about this header?
14511 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14512 yes:no: )
14513 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14514 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14515 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14516 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14517 ac_header_preproc=yes
14518 ;;
14519 no:yes:* )
14520 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14521 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14522 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14523 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14524 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14525 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14526 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14527 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14528 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14529 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14530 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14531 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14532 (
14533 cat <<\_ASBOX
14534 ## ----------------------------------------- ##
14535 ## Report this to wx-dev@lists.wxwidgets.org ##
14536 ## ----------------------------------------- ##
14537 _ASBOX
14538 ) |
14539 sed "s/^/$as_me: WARNING: /" >&2
14540 ;;
14541 esac
14542 echo "$as_me:$LINENO: checking for $ac_header" >&5
14543 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14544 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14545 echo $ECHO_N "(cached) $ECHO_C" >&6
14546 else
14547 eval "$as_ac_Header=\$ac_header_preproc"
14548 fi
14549 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14550 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14551
14552 fi
14553 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14554 cat >>confdefs.h <<_ACEOF
14555 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14556 _ACEOF
14557
14558 fi
14559
14560 done
14561
14562
14563 for ac_header in wchar.h
14564 do
14565 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14566 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14567 echo "$as_me:$LINENO: checking for $ac_header" >&5
14568 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14569 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14570 echo $ECHO_N "(cached) $ECHO_C" >&6
14571 fi
14572 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14573 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14574 else
14575 # Is the header compilable?
14576 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14577 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14578 cat >conftest.$ac_ext <<_ACEOF
14579 /* confdefs.h. */
14580 _ACEOF
14581 cat confdefs.h >>conftest.$ac_ext
14582 cat >>conftest.$ac_ext <<_ACEOF
14583 /* end confdefs.h. */
14584 $ac_includes_default
14585 #include <$ac_header>
14586 _ACEOF
14587 rm -f conftest.$ac_objext
14588 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14589 (eval $ac_compile) 2>conftest.er1
14590 ac_status=$?
14591 grep -v '^ *+' conftest.er1 >conftest.err
14592 rm -f conftest.er1
14593 cat conftest.err >&5
14594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14595 (exit $ac_status); } &&
14596 { ac_try='test -z "$ac_c_werror_flag"
14597 || test ! -s conftest.err'
14598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14599 (eval $ac_try) 2>&5
14600 ac_status=$?
14601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14602 (exit $ac_status); }; } &&
14603 { ac_try='test -s conftest.$ac_objext'
14604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14605 (eval $ac_try) 2>&5
14606 ac_status=$?
14607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14608 (exit $ac_status); }; }; then
14609 ac_header_compiler=yes
14610 else
14611 echo "$as_me: failed program was:" >&5
14612 sed 's/^/| /' conftest.$ac_ext >&5
14613
14614 ac_header_compiler=no
14615 fi
14616 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14617 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14618 echo "${ECHO_T}$ac_header_compiler" >&6
14619
14620 # Is the header present?
14621 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14622 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14623 cat >conftest.$ac_ext <<_ACEOF
14624 /* confdefs.h. */
14625 _ACEOF
14626 cat confdefs.h >>conftest.$ac_ext
14627 cat >>conftest.$ac_ext <<_ACEOF
14628 /* end confdefs.h. */
14629 #include <$ac_header>
14630 _ACEOF
14631 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14632 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14633 ac_status=$?
14634 grep -v '^ *+' conftest.er1 >conftest.err
14635 rm -f conftest.er1
14636 cat conftest.err >&5
14637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14638 (exit $ac_status); } >/dev/null; then
14639 if test -s conftest.err; then
14640 ac_cpp_err=$ac_c_preproc_warn_flag
14641 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14642 else
14643 ac_cpp_err=
14644 fi
14645 else
14646 ac_cpp_err=yes
14647 fi
14648 if test -z "$ac_cpp_err"; then
14649 ac_header_preproc=yes
14650 else
14651 echo "$as_me: failed program was:" >&5
14652 sed 's/^/| /' conftest.$ac_ext >&5
14653
14654 ac_header_preproc=no
14655 fi
14656 rm -f conftest.err conftest.$ac_ext
14657 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14658 echo "${ECHO_T}$ac_header_preproc" >&6
14659
14660 # So? What about this header?
14661 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14662 yes:no: )
14663 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14664 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14665 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14666 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14667 ac_header_preproc=yes
14668 ;;
14669 no:yes:* )
14670 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14671 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14672 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14673 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14674 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14675 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14676 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14677 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14678 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14679 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14680 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14681 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14682 (
14683 cat <<\_ASBOX
14684 ## ----------------------------------------- ##
14685 ## Report this to wx-dev@lists.wxwidgets.org ##
14686 ## ----------------------------------------- ##
14687 _ASBOX
14688 ) |
14689 sed "s/^/$as_me: WARNING: /" >&2
14690 ;;
14691 esac
14692 echo "$as_me:$LINENO: checking for $ac_header" >&5
14693 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14694 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14695 echo $ECHO_N "(cached) $ECHO_C" >&6
14696 else
14697 eval "$as_ac_Header=\$ac_header_preproc"
14698 fi
14699 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14700 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14701
14702 fi
14703 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14704 cat >>confdefs.h <<_ACEOF
14705 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14706 _ACEOF
14707
14708 fi
14709
14710 done
14711
14712
14713 if test "$ac_cv_header_wchar_h" != "yes"; then
14714
14715 for ac_header in wcstr.h
14716 do
14717 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14718 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14719 echo "$as_me:$LINENO: checking for $ac_header" >&5
14720 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14721 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14722 echo $ECHO_N "(cached) $ECHO_C" >&6
14723 fi
14724 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14725 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14726 else
14727 # Is the header compilable?
14728 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14729 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14730 cat >conftest.$ac_ext <<_ACEOF
14731 /* confdefs.h. */
14732 _ACEOF
14733 cat confdefs.h >>conftest.$ac_ext
14734 cat >>conftest.$ac_ext <<_ACEOF
14735 /* end confdefs.h. */
14736 $ac_includes_default
14737 #include <$ac_header>
14738 _ACEOF
14739 rm -f conftest.$ac_objext
14740 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14741 (eval $ac_compile) 2>conftest.er1
14742 ac_status=$?
14743 grep -v '^ *+' conftest.er1 >conftest.err
14744 rm -f conftest.er1
14745 cat conftest.err >&5
14746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14747 (exit $ac_status); } &&
14748 { ac_try='test -z "$ac_c_werror_flag"
14749 || test ! -s conftest.err'
14750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14751 (eval $ac_try) 2>&5
14752 ac_status=$?
14753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14754 (exit $ac_status); }; } &&
14755 { ac_try='test -s conftest.$ac_objext'
14756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14757 (eval $ac_try) 2>&5
14758 ac_status=$?
14759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14760 (exit $ac_status); }; }; then
14761 ac_header_compiler=yes
14762 else
14763 echo "$as_me: failed program was:" >&5
14764 sed 's/^/| /' conftest.$ac_ext >&5
14765
14766 ac_header_compiler=no
14767 fi
14768 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14769 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14770 echo "${ECHO_T}$ac_header_compiler" >&6
14771
14772 # Is the header present?
14773 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14774 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14775 cat >conftest.$ac_ext <<_ACEOF
14776 /* confdefs.h. */
14777 _ACEOF
14778 cat confdefs.h >>conftest.$ac_ext
14779 cat >>conftest.$ac_ext <<_ACEOF
14780 /* end confdefs.h. */
14781 #include <$ac_header>
14782 _ACEOF
14783 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14784 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14785 ac_status=$?
14786 grep -v '^ *+' conftest.er1 >conftest.err
14787 rm -f conftest.er1
14788 cat conftest.err >&5
14789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14790 (exit $ac_status); } >/dev/null; then
14791 if test -s conftest.err; then
14792 ac_cpp_err=$ac_c_preproc_warn_flag
14793 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14794 else
14795 ac_cpp_err=
14796 fi
14797 else
14798 ac_cpp_err=yes
14799 fi
14800 if test -z "$ac_cpp_err"; then
14801 ac_header_preproc=yes
14802 else
14803 echo "$as_me: failed program was:" >&5
14804 sed 's/^/| /' conftest.$ac_ext >&5
14805
14806 ac_header_preproc=no
14807 fi
14808 rm -f conftest.err conftest.$ac_ext
14809 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14810 echo "${ECHO_T}$ac_header_preproc" >&6
14811
14812 # So? What about this header?
14813 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14814 yes:no: )
14815 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14816 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14817 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14818 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14819 ac_header_preproc=yes
14820 ;;
14821 no:yes:* )
14822 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14823 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14824 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14825 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14826 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14827 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14828 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14829 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14830 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14831 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14832 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14833 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14834 (
14835 cat <<\_ASBOX
14836 ## ----------------------------------------- ##
14837 ## Report this to wx-dev@lists.wxwidgets.org ##
14838 ## ----------------------------------------- ##
14839 _ASBOX
14840 ) |
14841 sed "s/^/$as_me: WARNING: /" >&2
14842 ;;
14843 esac
14844 echo "$as_me:$LINENO: checking for $ac_header" >&5
14845 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14846 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14847 echo $ECHO_N "(cached) $ECHO_C" >&6
14848 else
14849 eval "$as_ac_Header=\$ac_header_preproc"
14850 fi
14851 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14852 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14853
14854 fi
14855 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14856 cat >>confdefs.h <<_ACEOF
14857 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14858 _ACEOF
14859
14860 fi
14861
14862 done
14863
14864 fi
14865
14866
14867 for ac_header in fnmatch.h
14868 do
14869 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14870 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14871 echo "$as_me:$LINENO: checking for $ac_header" >&5
14872 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14873 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14874 echo $ECHO_N "(cached) $ECHO_C" >&6
14875 fi
14876 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14877 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14878 else
14879 # Is the header compilable?
14880 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14881 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14882 cat >conftest.$ac_ext <<_ACEOF
14883 /* confdefs.h. */
14884 _ACEOF
14885 cat confdefs.h >>conftest.$ac_ext
14886 cat >>conftest.$ac_ext <<_ACEOF
14887 /* end confdefs.h. */
14888 $ac_includes_default
14889 #include <$ac_header>
14890 _ACEOF
14891 rm -f conftest.$ac_objext
14892 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14893 (eval $ac_compile) 2>conftest.er1
14894 ac_status=$?
14895 grep -v '^ *+' conftest.er1 >conftest.err
14896 rm -f conftest.er1
14897 cat conftest.err >&5
14898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14899 (exit $ac_status); } &&
14900 { ac_try='test -z "$ac_c_werror_flag"
14901 || test ! -s conftest.err'
14902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14903 (eval $ac_try) 2>&5
14904 ac_status=$?
14905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14906 (exit $ac_status); }; } &&
14907 { ac_try='test -s conftest.$ac_objext'
14908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14909 (eval $ac_try) 2>&5
14910 ac_status=$?
14911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14912 (exit $ac_status); }; }; then
14913 ac_header_compiler=yes
14914 else
14915 echo "$as_me: failed program was:" >&5
14916 sed 's/^/| /' conftest.$ac_ext >&5
14917
14918 ac_header_compiler=no
14919 fi
14920 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14921 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14922 echo "${ECHO_T}$ac_header_compiler" >&6
14923
14924 # Is the header present?
14925 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14926 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14927 cat >conftest.$ac_ext <<_ACEOF
14928 /* confdefs.h. */
14929 _ACEOF
14930 cat confdefs.h >>conftest.$ac_ext
14931 cat >>conftest.$ac_ext <<_ACEOF
14932 /* end confdefs.h. */
14933 #include <$ac_header>
14934 _ACEOF
14935 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14936 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14937 ac_status=$?
14938 grep -v '^ *+' conftest.er1 >conftest.err
14939 rm -f conftest.er1
14940 cat conftest.err >&5
14941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14942 (exit $ac_status); } >/dev/null; then
14943 if test -s conftest.err; then
14944 ac_cpp_err=$ac_c_preproc_warn_flag
14945 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14946 else
14947 ac_cpp_err=
14948 fi
14949 else
14950 ac_cpp_err=yes
14951 fi
14952 if test -z "$ac_cpp_err"; then
14953 ac_header_preproc=yes
14954 else
14955 echo "$as_me: failed program was:" >&5
14956 sed 's/^/| /' conftest.$ac_ext >&5
14957
14958 ac_header_preproc=no
14959 fi
14960 rm -f conftest.err conftest.$ac_ext
14961 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14962 echo "${ECHO_T}$ac_header_preproc" >&6
14963
14964 # So? What about this header?
14965 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14966 yes:no: )
14967 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14968 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14969 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14970 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14971 ac_header_preproc=yes
14972 ;;
14973 no:yes:* )
14974 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14975 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14976 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14977 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14978 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14979 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14980 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14981 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14982 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14983 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14984 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14985 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14986 (
14987 cat <<\_ASBOX
14988 ## ----------------------------------------- ##
14989 ## Report this to wx-dev@lists.wxwidgets.org ##
14990 ## ----------------------------------------- ##
14991 _ASBOX
14992 ) |
14993 sed "s/^/$as_me: WARNING: /" >&2
14994 ;;
14995 esac
14996 echo "$as_me:$LINENO: checking for $ac_header" >&5
14997 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14998 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14999 echo $ECHO_N "(cached) $ECHO_C" >&6
15000 else
15001 eval "$as_ac_Header=\$ac_header_preproc"
15002 fi
15003 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15004 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15005
15006 fi
15007 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15008 cat >>confdefs.h <<_ACEOF
15009 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15010 _ACEOF
15011
15012 fi
15013
15014 done
15015
15016
15017 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
15018
15019 for ac_func in fnmatch
15020 do
15021 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15022 echo "$as_me:$LINENO: checking for $ac_func" >&5
15023 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15024 if eval "test \"\${$as_ac_var+set}\" = set"; then
15025 echo $ECHO_N "(cached) $ECHO_C" >&6
15026 else
15027 cat >conftest.$ac_ext <<_ACEOF
15028 /* confdefs.h. */
15029 _ACEOF
15030 cat confdefs.h >>conftest.$ac_ext
15031 cat >>conftest.$ac_ext <<_ACEOF
15032 /* end confdefs.h. */
15033 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15034 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15035 #define $ac_func innocuous_$ac_func
15036
15037 /* System header to define __stub macros and hopefully few prototypes,
15038 which can conflict with char $ac_func (); below.
15039 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15040 <limits.h> exists even on freestanding compilers. */
15041
15042 #ifdef __STDC__
15043 # include <limits.h>
15044 #else
15045 # include <assert.h>
15046 #endif
15047
15048 #undef $ac_func
15049
15050 /* Override any gcc2 internal prototype to avoid an error. */
15051 #ifdef __cplusplus
15052 extern "C"
15053 {
15054 #endif
15055 /* We use char because int might match the return type of a gcc2
15056 builtin and then its argument prototype would still apply. */
15057 char $ac_func ();
15058 /* The GNU C library defines this for functions which it implements
15059 to always fail with ENOSYS. Some functions are actually named
15060 something starting with __ and the normal name is an alias. */
15061 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15062 choke me
15063 #else
15064 char (*f) () = $ac_func;
15065 #endif
15066 #ifdef __cplusplus
15067 }
15068 #endif
15069
15070 int
15071 main ()
15072 {
15073 return f != $ac_func;
15074 ;
15075 return 0;
15076 }
15077 _ACEOF
15078 rm -f conftest.$ac_objext conftest$ac_exeext
15079 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15080 (eval $ac_link) 2>conftest.er1
15081 ac_status=$?
15082 grep -v '^ *+' conftest.er1 >conftest.err
15083 rm -f conftest.er1
15084 cat conftest.err >&5
15085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15086 (exit $ac_status); } &&
15087 { ac_try='test -z "$ac_c_werror_flag"
15088 || test ! -s conftest.err'
15089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15090 (eval $ac_try) 2>&5
15091 ac_status=$?
15092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15093 (exit $ac_status); }; } &&
15094 { ac_try='test -s conftest$ac_exeext'
15095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15096 (eval $ac_try) 2>&5
15097 ac_status=$?
15098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15099 (exit $ac_status); }; }; then
15100 eval "$as_ac_var=yes"
15101 else
15102 echo "$as_me: failed program was:" >&5
15103 sed 's/^/| /' conftest.$ac_ext >&5
15104
15105 eval "$as_ac_var=no"
15106 fi
15107 rm -f conftest.err conftest.$ac_objext \
15108 conftest$ac_exeext conftest.$ac_ext
15109 fi
15110 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15111 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15112 if test `eval echo '${'$as_ac_var'}'` = yes; then
15113 cat >>confdefs.h <<_ACEOF
15114 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15115 _ACEOF
15116
15117 fi
15118 done
15119
15120 fi
15121
15122
15123 for ac_header in langinfo.h
15124 do
15125 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15126 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15127 echo "$as_me:$LINENO: checking for $ac_header" >&5
15128 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15129 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15130 echo $ECHO_N "(cached) $ECHO_C" >&6
15131 fi
15132 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15133 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15134 else
15135 # Is the header compilable?
15136 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15137 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15138 cat >conftest.$ac_ext <<_ACEOF
15139 /* confdefs.h. */
15140 _ACEOF
15141 cat confdefs.h >>conftest.$ac_ext
15142 cat >>conftest.$ac_ext <<_ACEOF
15143 /* end confdefs.h. */
15144 $ac_includes_default
15145 #include <$ac_header>
15146 _ACEOF
15147 rm -f conftest.$ac_objext
15148 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15149 (eval $ac_compile) 2>conftest.er1
15150 ac_status=$?
15151 grep -v '^ *+' conftest.er1 >conftest.err
15152 rm -f conftest.er1
15153 cat conftest.err >&5
15154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15155 (exit $ac_status); } &&
15156 { ac_try='test -z "$ac_c_werror_flag"
15157 || test ! -s conftest.err'
15158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15159 (eval $ac_try) 2>&5
15160 ac_status=$?
15161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15162 (exit $ac_status); }; } &&
15163 { ac_try='test -s conftest.$ac_objext'
15164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15165 (eval $ac_try) 2>&5
15166 ac_status=$?
15167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15168 (exit $ac_status); }; }; then
15169 ac_header_compiler=yes
15170 else
15171 echo "$as_me: failed program was:" >&5
15172 sed 's/^/| /' conftest.$ac_ext >&5
15173
15174 ac_header_compiler=no
15175 fi
15176 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15177 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15178 echo "${ECHO_T}$ac_header_compiler" >&6
15179
15180 # Is the header present?
15181 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15182 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15183 cat >conftest.$ac_ext <<_ACEOF
15184 /* confdefs.h. */
15185 _ACEOF
15186 cat confdefs.h >>conftest.$ac_ext
15187 cat >>conftest.$ac_ext <<_ACEOF
15188 /* end confdefs.h. */
15189 #include <$ac_header>
15190 _ACEOF
15191 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15192 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
15193 ac_status=$?
15194 grep -v '^ *+' conftest.er1 >conftest.err
15195 rm -f conftest.er1
15196 cat conftest.err >&5
15197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15198 (exit $ac_status); } >/dev/null; then
15199 if test -s conftest.err; then
15200 ac_cpp_err=$ac_c_preproc_warn_flag
15201 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
15202 else
15203 ac_cpp_err=
15204 fi
15205 else
15206 ac_cpp_err=yes
15207 fi
15208 if test -z "$ac_cpp_err"; then
15209 ac_header_preproc=yes
15210 else
15211 echo "$as_me: failed program was:" >&5
15212 sed 's/^/| /' conftest.$ac_ext >&5
15213
15214 ac_header_preproc=no
15215 fi
15216 rm -f conftest.err conftest.$ac_ext
15217 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15218 echo "${ECHO_T}$ac_header_preproc" >&6
15219
15220 # So? What about this header?
15221 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15222 yes:no: )
15223 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15224 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15225 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15226 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15227 ac_header_preproc=yes
15228 ;;
15229 no:yes:* )
15230 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15231 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15232 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15233 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15234 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15235 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15236 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15237 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15238 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15239 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15240 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15241 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15242 (
15243 cat <<\_ASBOX
15244 ## ----------------------------------------- ##
15245 ## Report this to wx-dev@lists.wxwidgets.org ##
15246 ## ----------------------------------------- ##
15247 _ASBOX
15248 ) |
15249 sed "s/^/$as_me: WARNING: /" >&2
15250 ;;
15251 esac
15252 echo "$as_me:$LINENO: checking for $ac_header" >&5
15253 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15254 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15255 echo $ECHO_N "(cached) $ECHO_C" >&6
15256 else
15257 eval "$as_ac_Header=\$ac_header_preproc"
15258 fi
15259 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15260 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15261
15262 fi
15263 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15264 cat >>confdefs.h <<_ACEOF
15265 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15266 _ACEOF
15267
15268 fi
15269
15270 done
15271
15272
15273 case "${host}" in
15274 *-pc-os2_emx | *-pc-os2-emx )
15275 if test $ac_cv_header_langinfo_h = "yes" \
15276 -a \( "$wx_cv_gccversion" = "EMX2" \
15277 -o "$wx_cv_gccversion" = "EMX3" \
15278 -o "$wx_cv_gccversion" = "Innotek5" \); then
15279 LIBS="$LIBS -lintl"
15280 fi
15281 ;;
15282 esac
15283
15284 if test "$wxUSE_GUI" = "yes"; then
15285 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
15286
15287 for ac_header in X11/Xlib.h
15288 do
15289 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15290 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15291 echo "$as_me:$LINENO: checking for $ac_header" >&5
15292 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15293 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15294 echo $ECHO_N "(cached) $ECHO_C" >&6
15295 fi
15296 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15297 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15298 else
15299 # Is the header compilable?
15300 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15301 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15302 cat >conftest.$ac_ext <<_ACEOF
15303 /* confdefs.h. */
15304 _ACEOF
15305 cat confdefs.h >>conftest.$ac_ext
15306 cat >>conftest.$ac_ext <<_ACEOF
15307 /* end confdefs.h. */
15308 $ac_includes_default
15309 #include <$ac_header>
15310 _ACEOF
15311 rm -f conftest.$ac_objext
15312 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15313 (eval $ac_compile) 2>conftest.er1
15314 ac_status=$?
15315 grep -v '^ *+' conftest.er1 >conftest.err
15316 rm -f conftest.er1
15317 cat conftest.err >&5
15318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15319 (exit $ac_status); } &&
15320 { ac_try='test -z "$ac_c_werror_flag"
15321 || test ! -s conftest.err'
15322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15323 (eval $ac_try) 2>&5
15324 ac_status=$?
15325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15326 (exit $ac_status); }; } &&
15327 { ac_try='test -s conftest.$ac_objext'
15328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15329 (eval $ac_try) 2>&5
15330 ac_status=$?
15331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15332 (exit $ac_status); }; }; then
15333 ac_header_compiler=yes
15334 else
15335 echo "$as_me: failed program was:" >&5
15336 sed 's/^/| /' conftest.$ac_ext >&5
15337
15338 ac_header_compiler=no
15339 fi
15340 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15341 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15342 echo "${ECHO_T}$ac_header_compiler" >&6
15343
15344 # Is the header present?
15345 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15346 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15347 cat >conftest.$ac_ext <<_ACEOF
15348 /* confdefs.h. */
15349 _ACEOF
15350 cat confdefs.h >>conftest.$ac_ext
15351 cat >>conftest.$ac_ext <<_ACEOF
15352 /* end confdefs.h. */
15353 #include <$ac_header>
15354 _ACEOF
15355 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15356 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
15357 ac_status=$?
15358 grep -v '^ *+' conftest.er1 >conftest.err
15359 rm -f conftest.er1
15360 cat conftest.err >&5
15361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15362 (exit $ac_status); } >/dev/null; then
15363 if test -s conftest.err; then
15364 ac_cpp_err=$ac_c_preproc_warn_flag
15365 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
15366 else
15367 ac_cpp_err=
15368 fi
15369 else
15370 ac_cpp_err=yes
15371 fi
15372 if test -z "$ac_cpp_err"; then
15373 ac_header_preproc=yes
15374 else
15375 echo "$as_me: failed program was:" >&5
15376 sed 's/^/| /' conftest.$ac_ext >&5
15377
15378 ac_header_preproc=no
15379 fi
15380 rm -f conftest.err conftest.$ac_ext
15381 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15382 echo "${ECHO_T}$ac_header_preproc" >&6
15383
15384 # So? What about this header?
15385 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15386 yes:no: )
15387 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15388 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15389 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15390 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15391 ac_header_preproc=yes
15392 ;;
15393 no:yes:* )
15394 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15395 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15396 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15397 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15398 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15399 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15400 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15401 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15402 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15403 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15404 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15405 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15406 (
15407 cat <<\_ASBOX
15408 ## ----------------------------------------- ##
15409 ## Report this to wx-dev@lists.wxwidgets.org ##
15410 ## ----------------------------------------- ##
15411 _ASBOX
15412 ) |
15413 sed "s/^/$as_me: WARNING: /" >&2
15414 ;;
15415 esac
15416 echo "$as_me:$LINENO: checking for $ac_header" >&5
15417 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15418 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15419 echo $ECHO_N "(cached) $ECHO_C" >&6
15420 else
15421 eval "$as_ac_Header=\$ac_header_preproc"
15422 fi
15423 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15424 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15425
15426 fi
15427 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15428 cat >>confdefs.h <<_ACEOF
15429 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15430 _ACEOF
15431
15432 fi
15433
15434 done
15435
15436
15437 for ac_header in X11/XKBlib.h
15438 do
15439 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15440 echo "$as_me:$LINENO: checking for $ac_header" >&5
15441 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15442 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15443 echo $ECHO_N "(cached) $ECHO_C" >&6
15444 else
15445 cat >conftest.$ac_ext <<_ACEOF
15446 /* confdefs.h. */
15447 _ACEOF
15448 cat confdefs.h >>conftest.$ac_ext
15449 cat >>conftest.$ac_ext <<_ACEOF
15450 /* end confdefs.h. */
15451
15452 #if HAVE_X11_XLIB_H
15453 #include <X11/Xlib.h>
15454 #endif
15455
15456
15457 #include <$ac_header>
15458 _ACEOF
15459 rm -f conftest.$ac_objext
15460 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15461 (eval $ac_compile) 2>conftest.er1
15462 ac_status=$?
15463 grep -v '^ *+' conftest.er1 >conftest.err
15464 rm -f conftest.er1
15465 cat conftest.err >&5
15466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15467 (exit $ac_status); } &&
15468 { ac_try='test -z "$ac_c_werror_flag"
15469 || test ! -s conftest.err'
15470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15471 (eval $ac_try) 2>&5
15472 ac_status=$?
15473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15474 (exit $ac_status); }; } &&
15475 { ac_try='test -s conftest.$ac_objext'
15476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15477 (eval $ac_try) 2>&5
15478 ac_status=$?
15479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15480 (exit $ac_status); }; }; then
15481 eval "$as_ac_Header=yes"
15482 else
15483 echo "$as_me: failed program was:" >&5
15484 sed 's/^/| /' conftest.$ac_ext >&5
15485
15486 eval "$as_ac_Header=no"
15487 fi
15488 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15489 fi
15490 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15491 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15492 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15493 cat >>confdefs.h <<_ACEOF
15494 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15495 _ACEOF
15496
15497 fi
15498
15499 done
15500
15501 fi
15502 fi
15503
15504
15505 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
15506 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
15507 if test "${ac_cv_c_const+set}" = set; then
15508 echo $ECHO_N "(cached) $ECHO_C" >&6
15509 else
15510 cat >conftest.$ac_ext <<_ACEOF
15511 /* confdefs.h. */
15512 _ACEOF
15513 cat confdefs.h >>conftest.$ac_ext
15514 cat >>conftest.$ac_ext <<_ACEOF
15515 /* end confdefs.h. */
15516
15517 int
15518 main ()
15519 {
15520 /* FIXME: Include the comments suggested by Paul. */
15521 #ifndef __cplusplus
15522 /* Ultrix mips cc rejects this. */
15523 typedef int charset[2];
15524 const charset x;
15525 /* SunOS 4.1.1 cc rejects this. */
15526 char const *const *ccp;
15527 char **p;
15528 /* NEC SVR4.0.2 mips cc rejects this. */
15529 struct point {int x, y;};
15530 static struct point const zero = {0,0};
15531 /* AIX XL C 1.02.0.0 rejects this.
15532 It does not let you subtract one const X* pointer from another in
15533 an arm of an if-expression whose if-part is not a constant
15534 expression */
15535 const char *g = "string";
15536 ccp = &g + (g ? g-g : 0);
15537 /* HPUX 7.0 cc rejects these. */
15538 ++ccp;
15539 p = (char**) ccp;
15540 ccp = (char const *const *) p;
15541 { /* SCO 3.2v4 cc rejects this. */
15542 char *t;
15543 char const *s = 0 ? (char *) 0 : (char const *) 0;
15544
15545 *t++ = 0;
15546 }
15547 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
15548 int x[] = {25, 17};
15549 const int *foo = &x[0];
15550 ++foo;
15551 }
15552 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
15553 typedef const int *iptr;
15554 iptr p = 0;
15555 ++p;
15556 }
15557 { /* AIX XL C 1.02.0.0 rejects this saying
15558 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
15559 struct s { int j; const int *ap[3]; };
15560 struct s *b; b->j = 5;
15561 }
15562 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
15563 const int foo = 10;
15564 }
15565 #endif
15566
15567 ;
15568 return 0;
15569 }
15570 _ACEOF
15571 rm -f conftest.$ac_objext
15572 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15573 (eval $ac_compile) 2>conftest.er1
15574 ac_status=$?
15575 grep -v '^ *+' conftest.er1 >conftest.err
15576 rm -f conftest.er1
15577 cat conftest.err >&5
15578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15579 (exit $ac_status); } &&
15580 { ac_try='test -z "$ac_c_werror_flag"
15581 || test ! -s conftest.err'
15582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15583 (eval $ac_try) 2>&5
15584 ac_status=$?
15585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15586 (exit $ac_status); }; } &&
15587 { ac_try='test -s conftest.$ac_objext'
15588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15589 (eval $ac_try) 2>&5
15590 ac_status=$?
15591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15592 (exit $ac_status); }; }; then
15593 ac_cv_c_const=yes
15594 else
15595 echo "$as_me: failed program was:" >&5
15596 sed 's/^/| /' conftest.$ac_ext >&5
15597
15598 ac_cv_c_const=no
15599 fi
15600 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15601 fi
15602 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
15603 echo "${ECHO_T}$ac_cv_c_const" >&6
15604 if test $ac_cv_c_const = no; then
15605
15606 cat >>confdefs.h <<\_ACEOF
15607 #define const
15608 _ACEOF
15609
15610 fi
15611
15612 echo "$as_me:$LINENO: checking for inline" >&5
15613 echo $ECHO_N "checking for inline... $ECHO_C" >&6
15614 if test "${ac_cv_c_inline+set}" = set; then
15615 echo $ECHO_N "(cached) $ECHO_C" >&6
15616 else
15617 ac_cv_c_inline=no
15618 for ac_kw in inline __inline__ __inline; do
15619 cat >conftest.$ac_ext <<_ACEOF
15620 /* confdefs.h. */
15621 _ACEOF
15622 cat confdefs.h >>conftest.$ac_ext
15623 cat >>conftest.$ac_ext <<_ACEOF
15624 /* end confdefs.h. */
15625 #ifndef __cplusplus
15626 typedef int foo_t;
15627 static $ac_kw foo_t static_foo () {return 0; }
15628 $ac_kw foo_t foo () {return 0; }
15629 #endif
15630
15631 _ACEOF
15632 rm -f conftest.$ac_objext
15633 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15634 (eval $ac_compile) 2>conftest.er1
15635 ac_status=$?
15636 grep -v '^ *+' conftest.er1 >conftest.err
15637 rm -f conftest.er1
15638 cat conftest.err >&5
15639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15640 (exit $ac_status); } &&
15641 { ac_try='test -z "$ac_c_werror_flag"
15642 || test ! -s conftest.err'
15643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15644 (eval $ac_try) 2>&5
15645 ac_status=$?
15646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15647 (exit $ac_status); }; } &&
15648 { ac_try='test -s conftest.$ac_objext'
15649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15650 (eval $ac_try) 2>&5
15651 ac_status=$?
15652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15653 (exit $ac_status); }; }; then
15654 ac_cv_c_inline=$ac_kw; break
15655 else
15656 echo "$as_me: failed program was:" >&5
15657 sed 's/^/| /' conftest.$ac_ext >&5
15658
15659 fi
15660 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15661 done
15662
15663 fi
15664 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
15665 echo "${ECHO_T}$ac_cv_c_inline" >&6
15666
15667
15668 case $ac_cv_c_inline in
15669 inline | yes) ;;
15670 *)
15671 case $ac_cv_c_inline in
15672 no) ac_val=;;
15673 *) ac_val=$ac_cv_c_inline;;
15674 esac
15675 cat >>confdefs.h <<_ACEOF
15676 #ifndef __cplusplus
15677 #define inline $ac_val
15678 #endif
15679 _ACEOF
15680 ;;
15681 esac
15682
15683
15684 echo "$as_me:$LINENO: checking for char" >&5
15685 echo $ECHO_N "checking for char... $ECHO_C" >&6
15686 if test "${ac_cv_type_char+set}" = set; then
15687 echo $ECHO_N "(cached) $ECHO_C" >&6
15688 else
15689 cat >conftest.$ac_ext <<_ACEOF
15690 /* confdefs.h. */
15691 _ACEOF
15692 cat confdefs.h >>conftest.$ac_ext
15693 cat >>conftest.$ac_ext <<_ACEOF
15694 /* end confdefs.h. */
15695 $ac_includes_default
15696 int
15697 main ()
15698 {
15699 if ((char *) 0)
15700 return 0;
15701 if (sizeof (char))
15702 return 0;
15703 ;
15704 return 0;
15705 }
15706 _ACEOF
15707 rm -f conftest.$ac_objext
15708 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15709 (eval $ac_compile) 2>conftest.er1
15710 ac_status=$?
15711 grep -v '^ *+' conftest.er1 >conftest.err
15712 rm -f conftest.er1
15713 cat conftest.err >&5
15714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15715 (exit $ac_status); } &&
15716 { ac_try='test -z "$ac_c_werror_flag"
15717 || test ! -s conftest.err'
15718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15719 (eval $ac_try) 2>&5
15720 ac_status=$?
15721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15722 (exit $ac_status); }; } &&
15723 { ac_try='test -s conftest.$ac_objext'
15724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15725 (eval $ac_try) 2>&5
15726 ac_status=$?
15727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15728 (exit $ac_status); }; }; then
15729 ac_cv_type_char=yes
15730 else
15731 echo "$as_me: failed program was:" >&5
15732 sed 's/^/| /' conftest.$ac_ext >&5
15733
15734 ac_cv_type_char=no
15735 fi
15736 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15737 fi
15738 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
15739 echo "${ECHO_T}$ac_cv_type_char" >&6
15740
15741 echo "$as_me:$LINENO: checking size of char" >&5
15742 echo $ECHO_N "checking size of char... $ECHO_C" >&6
15743 if test "${ac_cv_sizeof_char+set}" = set; then
15744 echo $ECHO_N "(cached) $ECHO_C" >&6
15745 else
15746 if test "$ac_cv_type_char" = yes; then
15747 # The cast to unsigned long works around a bug in the HP C Compiler
15748 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15749 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15750 # This bug is HP SR number 8606223364.
15751 if test "$cross_compiling" = yes; then
15752 # Depending upon the size, compute the lo and hi bounds.
15753 cat >conftest.$ac_ext <<_ACEOF
15754 /* confdefs.h. */
15755 _ACEOF
15756 cat confdefs.h >>conftest.$ac_ext
15757 cat >>conftest.$ac_ext <<_ACEOF
15758 /* end confdefs.h. */
15759 $ac_includes_default
15760 int
15761 main ()
15762 {
15763 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
15764 test_array [0] = 0
15765
15766 ;
15767 return 0;
15768 }
15769 _ACEOF
15770 rm -f conftest.$ac_objext
15771 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15772 (eval $ac_compile) 2>conftest.er1
15773 ac_status=$?
15774 grep -v '^ *+' conftest.er1 >conftest.err
15775 rm -f conftest.er1
15776 cat conftest.err >&5
15777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15778 (exit $ac_status); } &&
15779 { ac_try='test -z "$ac_c_werror_flag"
15780 || test ! -s conftest.err'
15781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15782 (eval $ac_try) 2>&5
15783 ac_status=$?
15784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15785 (exit $ac_status); }; } &&
15786 { ac_try='test -s conftest.$ac_objext'
15787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15788 (eval $ac_try) 2>&5
15789 ac_status=$?
15790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15791 (exit $ac_status); }; }; then
15792 ac_lo=0 ac_mid=0
15793 while :; do
15794 cat >conftest.$ac_ext <<_ACEOF
15795 /* confdefs.h. */
15796 _ACEOF
15797 cat confdefs.h >>conftest.$ac_ext
15798 cat >>conftest.$ac_ext <<_ACEOF
15799 /* end confdefs.h. */
15800 $ac_includes_default
15801 int
15802 main ()
15803 {
15804 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
15805 test_array [0] = 0
15806
15807 ;
15808 return 0;
15809 }
15810 _ACEOF
15811 rm -f conftest.$ac_objext
15812 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15813 (eval $ac_compile) 2>conftest.er1
15814 ac_status=$?
15815 grep -v '^ *+' conftest.er1 >conftest.err
15816 rm -f conftest.er1
15817 cat conftest.err >&5
15818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15819 (exit $ac_status); } &&
15820 { ac_try='test -z "$ac_c_werror_flag"
15821 || test ! -s conftest.err'
15822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15823 (eval $ac_try) 2>&5
15824 ac_status=$?
15825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15826 (exit $ac_status); }; } &&
15827 { ac_try='test -s conftest.$ac_objext'
15828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15829 (eval $ac_try) 2>&5
15830 ac_status=$?
15831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15832 (exit $ac_status); }; }; then
15833 ac_hi=$ac_mid; break
15834 else
15835 echo "$as_me: failed program was:" >&5
15836 sed 's/^/| /' conftest.$ac_ext >&5
15837
15838 ac_lo=`expr $ac_mid + 1`
15839 if test $ac_lo -le $ac_mid; then
15840 ac_lo= ac_hi=
15841 break
15842 fi
15843 ac_mid=`expr 2 '*' $ac_mid + 1`
15844 fi
15845 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15846 done
15847 else
15848 echo "$as_me: failed program was:" >&5
15849 sed 's/^/| /' conftest.$ac_ext >&5
15850
15851 cat >conftest.$ac_ext <<_ACEOF
15852 /* confdefs.h. */
15853 _ACEOF
15854 cat confdefs.h >>conftest.$ac_ext
15855 cat >>conftest.$ac_ext <<_ACEOF
15856 /* end confdefs.h. */
15857 $ac_includes_default
15858 int
15859 main ()
15860 {
15861 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
15862 test_array [0] = 0
15863
15864 ;
15865 return 0;
15866 }
15867 _ACEOF
15868 rm -f conftest.$ac_objext
15869 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15870 (eval $ac_compile) 2>conftest.er1
15871 ac_status=$?
15872 grep -v '^ *+' conftest.er1 >conftest.err
15873 rm -f conftest.er1
15874 cat conftest.err >&5
15875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15876 (exit $ac_status); } &&
15877 { ac_try='test -z "$ac_c_werror_flag"
15878 || test ! -s conftest.err'
15879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15880 (eval $ac_try) 2>&5
15881 ac_status=$?
15882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15883 (exit $ac_status); }; } &&
15884 { ac_try='test -s conftest.$ac_objext'
15885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15886 (eval $ac_try) 2>&5
15887 ac_status=$?
15888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15889 (exit $ac_status); }; }; then
15890 ac_hi=-1 ac_mid=-1
15891 while :; do
15892 cat >conftest.$ac_ext <<_ACEOF
15893 /* confdefs.h. */
15894 _ACEOF
15895 cat confdefs.h >>conftest.$ac_ext
15896 cat >>conftest.$ac_ext <<_ACEOF
15897 /* end confdefs.h. */
15898 $ac_includes_default
15899 int
15900 main ()
15901 {
15902 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
15903 test_array [0] = 0
15904
15905 ;
15906 return 0;
15907 }
15908 _ACEOF
15909 rm -f conftest.$ac_objext
15910 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15911 (eval $ac_compile) 2>conftest.er1
15912 ac_status=$?
15913 grep -v '^ *+' conftest.er1 >conftest.err
15914 rm -f conftest.er1
15915 cat conftest.err >&5
15916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15917 (exit $ac_status); } &&
15918 { ac_try='test -z "$ac_c_werror_flag"
15919 || test ! -s conftest.err'
15920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15921 (eval $ac_try) 2>&5
15922 ac_status=$?
15923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15924 (exit $ac_status); }; } &&
15925 { ac_try='test -s conftest.$ac_objext'
15926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15927 (eval $ac_try) 2>&5
15928 ac_status=$?
15929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15930 (exit $ac_status); }; }; then
15931 ac_lo=$ac_mid; break
15932 else
15933 echo "$as_me: failed program was:" >&5
15934 sed 's/^/| /' conftest.$ac_ext >&5
15935
15936 ac_hi=`expr '(' $ac_mid ')' - 1`
15937 if test $ac_mid -le $ac_hi; then
15938 ac_lo= ac_hi=
15939 break
15940 fi
15941 ac_mid=`expr 2 '*' $ac_mid`
15942 fi
15943 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15944 done
15945 else
15946 echo "$as_me: failed program was:" >&5
15947 sed 's/^/| /' conftest.$ac_ext >&5
15948
15949 ac_lo= ac_hi=
15950 fi
15951 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15952 fi
15953 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15954 # Binary search between lo and hi bounds.
15955 while test "x$ac_lo" != "x$ac_hi"; do
15956 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15957 cat >conftest.$ac_ext <<_ACEOF
15958 /* confdefs.h. */
15959 _ACEOF
15960 cat confdefs.h >>conftest.$ac_ext
15961 cat >>conftest.$ac_ext <<_ACEOF
15962 /* end confdefs.h. */
15963 $ac_includes_default
15964 int
15965 main ()
15966 {
15967 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
15968 test_array [0] = 0
15969
15970 ;
15971 return 0;
15972 }
15973 _ACEOF
15974 rm -f conftest.$ac_objext
15975 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15976 (eval $ac_compile) 2>conftest.er1
15977 ac_status=$?
15978 grep -v '^ *+' conftest.er1 >conftest.err
15979 rm -f conftest.er1
15980 cat conftest.err >&5
15981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15982 (exit $ac_status); } &&
15983 { ac_try='test -z "$ac_c_werror_flag"
15984 || test ! -s conftest.err'
15985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15986 (eval $ac_try) 2>&5
15987 ac_status=$?
15988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15989 (exit $ac_status); }; } &&
15990 { ac_try='test -s conftest.$ac_objext'
15991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15992 (eval $ac_try) 2>&5
15993 ac_status=$?
15994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15995 (exit $ac_status); }; }; then
15996 ac_hi=$ac_mid
15997 else
15998 echo "$as_me: failed program was:" >&5
15999 sed 's/^/| /' conftest.$ac_ext >&5
16000
16001 ac_lo=`expr '(' $ac_mid ')' + 1`
16002 fi
16003 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16004 done
16005 case $ac_lo in
16006 ?*) ac_cv_sizeof_char=$ac_lo;;
16007 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
16008 See \`config.log' for more details." >&5
16009 echo "$as_me: error: cannot compute sizeof (char), 77
16010 See \`config.log' for more details." >&2;}
16011 { (exit 1); exit 1; }; } ;;
16012 esac
16013 else
16014 if test "$cross_compiling" = yes; then
16015 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16016 See \`config.log' for more details." >&5
16017 echo "$as_me: error: cannot run test program while cross compiling
16018 See \`config.log' for more details." >&2;}
16019 { (exit 1); exit 1; }; }
16020 else
16021 cat >conftest.$ac_ext <<_ACEOF
16022 /* confdefs.h. */
16023 _ACEOF
16024 cat confdefs.h >>conftest.$ac_ext
16025 cat >>conftest.$ac_ext <<_ACEOF
16026 /* end confdefs.h. */
16027 $ac_includes_default
16028 long longval () { return (long) (sizeof (char)); }
16029 unsigned long ulongval () { return (long) (sizeof (char)); }
16030 #include <stdio.h>
16031 #include <stdlib.h>
16032 int
16033 main ()
16034 {
16035
16036 FILE *f = fopen ("conftest.val", "w");
16037 if (! f)
16038 exit (1);
16039 if (((long) (sizeof (char))) < 0)
16040 {
16041 long i = longval ();
16042 if (i != ((long) (sizeof (char))))
16043 exit (1);
16044 fprintf (f, "%ld\n", i);
16045 }
16046 else
16047 {
16048 unsigned long i = ulongval ();
16049 if (i != ((long) (sizeof (char))))
16050 exit (1);
16051 fprintf (f, "%lu\n", i);
16052 }
16053 exit (ferror (f) || fclose (f) != 0);
16054
16055 ;
16056 return 0;
16057 }
16058 _ACEOF
16059 rm -f conftest$ac_exeext
16060 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16061 (eval $ac_link) 2>&5
16062 ac_status=$?
16063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16064 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16066 (eval $ac_try) 2>&5
16067 ac_status=$?
16068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16069 (exit $ac_status); }; }; then
16070 ac_cv_sizeof_char=`cat conftest.val`
16071 else
16072 echo "$as_me: program exited with status $ac_status" >&5
16073 echo "$as_me: failed program was:" >&5
16074 sed 's/^/| /' conftest.$ac_ext >&5
16075
16076 ( exit $ac_status )
16077 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
16078 See \`config.log' for more details." >&5
16079 echo "$as_me: error: cannot compute sizeof (char), 77
16080 See \`config.log' for more details." >&2;}
16081 { (exit 1); exit 1; }; }
16082 fi
16083 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16084 fi
16085 fi
16086 rm -f conftest.val
16087 else
16088 ac_cv_sizeof_char=0
16089 fi
16090 fi
16091 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
16092 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
16093 cat >>confdefs.h <<_ACEOF
16094 #define SIZEOF_CHAR $ac_cv_sizeof_char
16095 _ACEOF
16096
16097
16098 echo "$as_me:$LINENO: checking for short" >&5
16099 echo $ECHO_N "checking for short... $ECHO_C" >&6
16100 if test "${ac_cv_type_short+set}" = set; then
16101 echo $ECHO_N "(cached) $ECHO_C" >&6
16102 else
16103 cat >conftest.$ac_ext <<_ACEOF
16104 /* confdefs.h. */
16105 _ACEOF
16106 cat confdefs.h >>conftest.$ac_ext
16107 cat >>conftest.$ac_ext <<_ACEOF
16108 /* end confdefs.h. */
16109 $ac_includes_default
16110 int
16111 main ()
16112 {
16113 if ((short *) 0)
16114 return 0;
16115 if (sizeof (short))
16116 return 0;
16117 ;
16118 return 0;
16119 }
16120 _ACEOF
16121 rm -f conftest.$ac_objext
16122 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16123 (eval $ac_compile) 2>conftest.er1
16124 ac_status=$?
16125 grep -v '^ *+' conftest.er1 >conftest.err
16126 rm -f conftest.er1
16127 cat conftest.err >&5
16128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16129 (exit $ac_status); } &&
16130 { ac_try='test -z "$ac_c_werror_flag"
16131 || test ! -s conftest.err'
16132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16133 (eval $ac_try) 2>&5
16134 ac_status=$?
16135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16136 (exit $ac_status); }; } &&
16137 { ac_try='test -s conftest.$ac_objext'
16138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16139 (eval $ac_try) 2>&5
16140 ac_status=$?
16141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16142 (exit $ac_status); }; }; then
16143 ac_cv_type_short=yes
16144 else
16145 echo "$as_me: failed program was:" >&5
16146 sed 's/^/| /' conftest.$ac_ext >&5
16147
16148 ac_cv_type_short=no
16149 fi
16150 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16151 fi
16152 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
16153 echo "${ECHO_T}$ac_cv_type_short" >&6
16154
16155 echo "$as_me:$LINENO: checking size of short" >&5
16156 echo $ECHO_N "checking size of short... $ECHO_C" >&6
16157 if test "${ac_cv_sizeof_short+set}" = set; then
16158 echo $ECHO_N "(cached) $ECHO_C" >&6
16159 else
16160 if test "$ac_cv_type_short" = yes; then
16161 # The cast to unsigned long works around a bug in the HP C Compiler
16162 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16163 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16164 # This bug is HP SR number 8606223364.
16165 if test "$cross_compiling" = yes; then
16166 # Depending upon the size, compute the lo and hi bounds.
16167 cat >conftest.$ac_ext <<_ACEOF
16168 /* confdefs.h. */
16169 _ACEOF
16170 cat confdefs.h >>conftest.$ac_ext
16171 cat >>conftest.$ac_ext <<_ACEOF
16172 /* end confdefs.h. */
16173 $ac_includes_default
16174 int
16175 main ()
16176 {
16177 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
16178 test_array [0] = 0
16179
16180 ;
16181 return 0;
16182 }
16183 _ACEOF
16184 rm -f conftest.$ac_objext
16185 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16186 (eval $ac_compile) 2>conftest.er1
16187 ac_status=$?
16188 grep -v '^ *+' conftest.er1 >conftest.err
16189 rm -f conftest.er1
16190 cat conftest.err >&5
16191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16192 (exit $ac_status); } &&
16193 { ac_try='test -z "$ac_c_werror_flag"
16194 || test ! -s conftest.err'
16195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16196 (eval $ac_try) 2>&5
16197 ac_status=$?
16198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16199 (exit $ac_status); }; } &&
16200 { ac_try='test -s conftest.$ac_objext'
16201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16202 (eval $ac_try) 2>&5
16203 ac_status=$?
16204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16205 (exit $ac_status); }; }; then
16206 ac_lo=0 ac_mid=0
16207 while :; do
16208 cat >conftest.$ac_ext <<_ACEOF
16209 /* confdefs.h. */
16210 _ACEOF
16211 cat confdefs.h >>conftest.$ac_ext
16212 cat >>conftest.$ac_ext <<_ACEOF
16213 /* end confdefs.h. */
16214 $ac_includes_default
16215 int
16216 main ()
16217 {
16218 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
16219 test_array [0] = 0
16220
16221 ;
16222 return 0;
16223 }
16224 _ACEOF
16225 rm -f conftest.$ac_objext
16226 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16227 (eval $ac_compile) 2>conftest.er1
16228 ac_status=$?
16229 grep -v '^ *+' conftest.er1 >conftest.err
16230 rm -f conftest.er1
16231 cat conftest.err >&5
16232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16233 (exit $ac_status); } &&
16234 { ac_try='test -z "$ac_c_werror_flag"
16235 || test ! -s conftest.err'
16236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16237 (eval $ac_try) 2>&5
16238 ac_status=$?
16239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16240 (exit $ac_status); }; } &&
16241 { ac_try='test -s conftest.$ac_objext'
16242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16243 (eval $ac_try) 2>&5
16244 ac_status=$?
16245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16246 (exit $ac_status); }; }; then
16247 ac_hi=$ac_mid; break
16248 else
16249 echo "$as_me: failed program was:" >&5
16250 sed 's/^/| /' conftest.$ac_ext >&5
16251
16252 ac_lo=`expr $ac_mid + 1`
16253 if test $ac_lo -le $ac_mid; then
16254 ac_lo= ac_hi=
16255 break
16256 fi
16257 ac_mid=`expr 2 '*' $ac_mid + 1`
16258 fi
16259 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16260 done
16261 else
16262 echo "$as_me: failed program was:" >&5
16263 sed 's/^/| /' conftest.$ac_ext >&5
16264
16265 cat >conftest.$ac_ext <<_ACEOF
16266 /* confdefs.h. */
16267 _ACEOF
16268 cat confdefs.h >>conftest.$ac_ext
16269 cat >>conftest.$ac_ext <<_ACEOF
16270 /* end confdefs.h. */
16271 $ac_includes_default
16272 int
16273 main ()
16274 {
16275 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
16276 test_array [0] = 0
16277
16278 ;
16279 return 0;
16280 }
16281 _ACEOF
16282 rm -f conftest.$ac_objext
16283 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16284 (eval $ac_compile) 2>conftest.er1
16285 ac_status=$?
16286 grep -v '^ *+' conftest.er1 >conftest.err
16287 rm -f conftest.er1
16288 cat conftest.err >&5
16289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16290 (exit $ac_status); } &&
16291 { ac_try='test -z "$ac_c_werror_flag"
16292 || test ! -s conftest.err'
16293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16294 (eval $ac_try) 2>&5
16295 ac_status=$?
16296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16297 (exit $ac_status); }; } &&
16298 { ac_try='test -s conftest.$ac_objext'
16299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16300 (eval $ac_try) 2>&5
16301 ac_status=$?
16302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16303 (exit $ac_status); }; }; then
16304 ac_hi=-1 ac_mid=-1
16305 while :; do
16306 cat >conftest.$ac_ext <<_ACEOF
16307 /* confdefs.h. */
16308 _ACEOF
16309 cat confdefs.h >>conftest.$ac_ext
16310 cat >>conftest.$ac_ext <<_ACEOF
16311 /* end confdefs.h. */
16312 $ac_includes_default
16313 int
16314 main ()
16315 {
16316 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
16317 test_array [0] = 0
16318
16319 ;
16320 return 0;
16321 }
16322 _ACEOF
16323 rm -f conftest.$ac_objext
16324 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16325 (eval $ac_compile) 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); } &&
16332 { ac_try='test -z "$ac_c_werror_flag"
16333 || test ! -s conftest.err'
16334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16335 (eval $ac_try) 2>&5
16336 ac_status=$?
16337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16338 (exit $ac_status); }; } &&
16339 { ac_try='test -s conftest.$ac_objext'
16340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16341 (eval $ac_try) 2>&5
16342 ac_status=$?
16343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16344 (exit $ac_status); }; }; then
16345 ac_lo=$ac_mid; break
16346 else
16347 echo "$as_me: failed program was:" >&5
16348 sed 's/^/| /' conftest.$ac_ext >&5
16349
16350 ac_hi=`expr '(' $ac_mid ')' - 1`
16351 if test $ac_mid -le $ac_hi; then
16352 ac_lo= ac_hi=
16353 break
16354 fi
16355 ac_mid=`expr 2 '*' $ac_mid`
16356 fi
16357 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16358 done
16359 else
16360 echo "$as_me: failed program was:" >&5
16361 sed 's/^/| /' conftest.$ac_ext >&5
16362
16363 ac_lo= ac_hi=
16364 fi
16365 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16366 fi
16367 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16368 # Binary search between lo and hi bounds.
16369 while test "x$ac_lo" != "x$ac_hi"; do
16370 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16371 cat >conftest.$ac_ext <<_ACEOF
16372 /* confdefs.h. */
16373 _ACEOF
16374 cat confdefs.h >>conftest.$ac_ext
16375 cat >>conftest.$ac_ext <<_ACEOF
16376 /* end confdefs.h. */
16377 $ac_includes_default
16378 int
16379 main ()
16380 {
16381 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
16382 test_array [0] = 0
16383
16384 ;
16385 return 0;
16386 }
16387 _ACEOF
16388 rm -f conftest.$ac_objext
16389 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16390 (eval $ac_compile) 2>conftest.er1
16391 ac_status=$?
16392 grep -v '^ *+' conftest.er1 >conftest.err
16393 rm -f conftest.er1
16394 cat conftest.err >&5
16395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16396 (exit $ac_status); } &&
16397 { ac_try='test -z "$ac_c_werror_flag"
16398 || test ! -s conftest.err'
16399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16400 (eval $ac_try) 2>&5
16401 ac_status=$?
16402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16403 (exit $ac_status); }; } &&
16404 { ac_try='test -s conftest.$ac_objext'
16405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16406 (eval $ac_try) 2>&5
16407 ac_status=$?
16408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16409 (exit $ac_status); }; }; then
16410 ac_hi=$ac_mid
16411 else
16412 echo "$as_me: failed program was:" >&5
16413 sed 's/^/| /' conftest.$ac_ext >&5
16414
16415 ac_lo=`expr '(' $ac_mid ')' + 1`
16416 fi
16417 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16418 done
16419 case $ac_lo in
16420 ?*) ac_cv_sizeof_short=$ac_lo;;
16421 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
16422 See \`config.log' for more details." >&5
16423 echo "$as_me: error: cannot compute sizeof (short), 77
16424 See \`config.log' for more details." >&2;}
16425 { (exit 1); exit 1; }; } ;;
16426 esac
16427 else
16428 if test "$cross_compiling" = yes; then
16429 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16430 See \`config.log' for more details." >&5
16431 echo "$as_me: error: cannot run test program while cross compiling
16432 See \`config.log' for more details." >&2;}
16433 { (exit 1); exit 1; }; }
16434 else
16435 cat >conftest.$ac_ext <<_ACEOF
16436 /* confdefs.h. */
16437 _ACEOF
16438 cat confdefs.h >>conftest.$ac_ext
16439 cat >>conftest.$ac_ext <<_ACEOF
16440 /* end confdefs.h. */
16441 $ac_includes_default
16442 long longval () { return (long) (sizeof (short)); }
16443 unsigned long ulongval () { return (long) (sizeof (short)); }
16444 #include <stdio.h>
16445 #include <stdlib.h>
16446 int
16447 main ()
16448 {
16449
16450 FILE *f = fopen ("conftest.val", "w");
16451 if (! f)
16452 exit (1);
16453 if (((long) (sizeof (short))) < 0)
16454 {
16455 long i = longval ();
16456 if (i != ((long) (sizeof (short))))
16457 exit (1);
16458 fprintf (f, "%ld\n", i);
16459 }
16460 else
16461 {
16462 unsigned long i = ulongval ();
16463 if (i != ((long) (sizeof (short))))
16464 exit (1);
16465 fprintf (f, "%lu\n", i);
16466 }
16467 exit (ferror (f) || fclose (f) != 0);
16468
16469 ;
16470 return 0;
16471 }
16472 _ACEOF
16473 rm -f conftest$ac_exeext
16474 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16475 (eval $ac_link) 2>&5
16476 ac_status=$?
16477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16478 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16480 (eval $ac_try) 2>&5
16481 ac_status=$?
16482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16483 (exit $ac_status); }; }; then
16484 ac_cv_sizeof_short=`cat conftest.val`
16485 else
16486 echo "$as_me: program exited with status $ac_status" >&5
16487 echo "$as_me: failed program was:" >&5
16488 sed 's/^/| /' conftest.$ac_ext >&5
16489
16490 ( exit $ac_status )
16491 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
16492 See \`config.log' for more details." >&5
16493 echo "$as_me: error: cannot compute sizeof (short), 77
16494 See \`config.log' for more details." >&2;}
16495 { (exit 1); exit 1; }; }
16496 fi
16497 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16498 fi
16499 fi
16500 rm -f conftest.val
16501 else
16502 ac_cv_sizeof_short=0
16503 fi
16504 fi
16505 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
16506 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
16507 cat >>confdefs.h <<_ACEOF
16508 #define SIZEOF_SHORT $ac_cv_sizeof_short
16509 _ACEOF
16510
16511
16512 echo "$as_me:$LINENO: checking for void *" >&5
16513 echo $ECHO_N "checking for void *... $ECHO_C" >&6
16514 if test "${ac_cv_type_void_p+set}" = set; then
16515 echo $ECHO_N "(cached) $ECHO_C" >&6
16516 else
16517 cat >conftest.$ac_ext <<_ACEOF
16518 /* confdefs.h. */
16519 _ACEOF
16520 cat confdefs.h >>conftest.$ac_ext
16521 cat >>conftest.$ac_ext <<_ACEOF
16522 /* end confdefs.h. */
16523 $ac_includes_default
16524 int
16525 main ()
16526 {
16527 if ((void * *) 0)
16528 return 0;
16529 if (sizeof (void *))
16530 return 0;
16531 ;
16532 return 0;
16533 }
16534 _ACEOF
16535 rm -f conftest.$ac_objext
16536 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16537 (eval $ac_compile) 2>conftest.er1
16538 ac_status=$?
16539 grep -v '^ *+' conftest.er1 >conftest.err
16540 rm -f conftest.er1
16541 cat conftest.err >&5
16542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16543 (exit $ac_status); } &&
16544 { ac_try='test -z "$ac_c_werror_flag"
16545 || test ! -s conftest.err'
16546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16547 (eval $ac_try) 2>&5
16548 ac_status=$?
16549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16550 (exit $ac_status); }; } &&
16551 { ac_try='test -s conftest.$ac_objext'
16552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16553 (eval $ac_try) 2>&5
16554 ac_status=$?
16555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16556 (exit $ac_status); }; }; then
16557 ac_cv_type_void_p=yes
16558 else
16559 echo "$as_me: failed program was:" >&5
16560 sed 's/^/| /' conftest.$ac_ext >&5
16561
16562 ac_cv_type_void_p=no
16563 fi
16564 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16565 fi
16566 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
16567 echo "${ECHO_T}$ac_cv_type_void_p" >&6
16568
16569 echo "$as_me:$LINENO: checking size of void *" >&5
16570 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
16571 if test "${ac_cv_sizeof_void_p+set}" = set; then
16572 echo $ECHO_N "(cached) $ECHO_C" >&6
16573 else
16574 if test "$ac_cv_type_void_p" = yes; then
16575 # The cast to unsigned long works around a bug in the HP C Compiler
16576 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16577 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16578 # This bug is HP SR number 8606223364.
16579 if test "$cross_compiling" = yes; then
16580 # Depending upon the size, compute the lo and hi bounds.
16581 cat >conftest.$ac_ext <<_ACEOF
16582 /* confdefs.h. */
16583 _ACEOF
16584 cat confdefs.h >>conftest.$ac_ext
16585 cat >>conftest.$ac_ext <<_ACEOF
16586 /* end confdefs.h. */
16587 $ac_includes_default
16588 int
16589 main ()
16590 {
16591 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
16592 test_array [0] = 0
16593
16594 ;
16595 return 0;
16596 }
16597 _ACEOF
16598 rm -f conftest.$ac_objext
16599 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16600 (eval $ac_compile) 2>conftest.er1
16601 ac_status=$?
16602 grep -v '^ *+' conftest.er1 >conftest.err
16603 rm -f conftest.er1
16604 cat conftest.err >&5
16605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16606 (exit $ac_status); } &&
16607 { ac_try='test -z "$ac_c_werror_flag"
16608 || test ! -s conftest.err'
16609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16610 (eval $ac_try) 2>&5
16611 ac_status=$?
16612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16613 (exit $ac_status); }; } &&
16614 { ac_try='test -s conftest.$ac_objext'
16615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16616 (eval $ac_try) 2>&5
16617 ac_status=$?
16618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16619 (exit $ac_status); }; }; then
16620 ac_lo=0 ac_mid=0
16621 while :; do
16622 cat >conftest.$ac_ext <<_ACEOF
16623 /* confdefs.h. */
16624 _ACEOF
16625 cat confdefs.h >>conftest.$ac_ext
16626 cat >>conftest.$ac_ext <<_ACEOF
16627 /* end confdefs.h. */
16628 $ac_includes_default
16629 int
16630 main ()
16631 {
16632 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
16633 test_array [0] = 0
16634
16635 ;
16636 return 0;
16637 }
16638 _ACEOF
16639 rm -f conftest.$ac_objext
16640 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16641 (eval $ac_compile) 2>conftest.er1
16642 ac_status=$?
16643 grep -v '^ *+' conftest.er1 >conftest.err
16644 rm -f conftest.er1
16645 cat conftest.err >&5
16646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16647 (exit $ac_status); } &&
16648 { ac_try='test -z "$ac_c_werror_flag"
16649 || test ! -s conftest.err'
16650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16651 (eval $ac_try) 2>&5
16652 ac_status=$?
16653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16654 (exit $ac_status); }; } &&
16655 { ac_try='test -s conftest.$ac_objext'
16656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16657 (eval $ac_try) 2>&5
16658 ac_status=$?
16659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16660 (exit $ac_status); }; }; then
16661 ac_hi=$ac_mid; break
16662 else
16663 echo "$as_me: failed program was:" >&5
16664 sed 's/^/| /' conftest.$ac_ext >&5
16665
16666 ac_lo=`expr $ac_mid + 1`
16667 if test $ac_lo -le $ac_mid; then
16668 ac_lo= ac_hi=
16669 break
16670 fi
16671 ac_mid=`expr 2 '*' $ac_mid + 1`
16672 fi
16673 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16674 done
16675 else
16676 echo "$as_me: failed program was:" >&5
16677 sed 's/^/| /' conftest.$ac_ext >&5
16678
16679 cat >conftest.$ac_ext <<_ACEOF
16680 /* confdefs.h. */
16681 _ACEOF
16682 cat confdefs.h >>conftest.$ac_ext
16683 cat >>conftest.$ac_ext <<_ACEOF
16684 /* end confdefs.h. */
16685 $ac_includes_default
16686 int
16687 main ()
16688 {
16689 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
16690 test_array [0] = 0
16691
16692 ;
16693 return 0;
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_hi=-1 ac_mid=-1
16719 while :; do
16720 cat >conftest.$ac_ext <<_ACEOF
16721 /* confdefs.h. */
16722 _ACEOF
16723 cat confdefs.h >>conftest.$ac_ext
16724 cat >>conftest.$ac_ext <<_ACEOF
16725 /* end confdefs.h. */
16726 $ac_includes_default
16727 int
16728 main ()
16729 {
16730 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
16731 test_array [0] = 0
16732
16733 ;
16734 return 0;
16735 }
16736 _ACEOF
16737 rm -f conftest.$ac_objext
16738 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16739 (eval $ac_compile) 2>conftest.er1
16740 ac_status=$?
16741 grep -v '^ *+' conftest.er1 >conftest.err
16742 rm -f conftest.er1
16743 cat conftest.err >&5
16744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16745 (exit $ac_status); } &&
16746 { ac_try='test -z "$ac_c_werror_flag"
16747 || test ! -s conftest.err'
16748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16749 (eval $ac_try) 2>&5
16750 ac_status=$?
16751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16752 (exit $ac_status); }; } &&
16753 { ac_try='test -s conftest.$ac_objext'
16754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16755 (eval $ac_try) 2>&5
16756 ac_status=$?
16757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16758 (exit $ac_status); }; }; then
16759 ac_lo=$ac_mid; break
16760 else
16761 echo "$as_me: failed program was:" >&5
16762 sed 's/^/| /' conftest.$ac_ext >&5
16763
16764 ac_hi=`expr '(' $ac_mid ')' - 1`
16765 if test $ac_mid -le $ac_hi; then
16766 ac_lo= ac_hi=
16767 break
16768 fi
16769 ac_mid=`expr 2 '*' $ac_mid`
16770 fi
16771 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16772 done
16773 else
16774 echo "$as_me: failed program was:" >&5
16775 sed 's/^/| /' conftest.$ac_ext >&5
16776
16777 ac_lo= ac_hi=
16778 fi
16779 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16780 fi
16781 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16782 # Binary search between lo and hi bounds.
16783 while test "x$ac_lo" != "x$ac_hi"; do
16784 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16785 cat >conftest.$ac_ext <<_ACEOF
16786 /* confdefs.h. */
16787 _ACEOF
16788 cat confdefs.h >>conftest.$ac_ext
16789 cat >>conftest.$ac_ext <<_ACEOF
16790 /* end confdefs.h. */
16791 $ac_includes_default
16792 int
16793 main ()
16794 {
16795 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
16796 test_array [0] = 0
16797
16798 ;
16799 return 0;
16800 }
16801 _ACEOF
16802 rm -f conftest.$ac_objext
16803 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16804 (eval $ac_compile) 2>conftest.er1
16805 ac_status=$?
16806 grep -v '^ *+' conftest.er1 >conftest.err
16807 rm -f conftest.er1
16808 cat conftest.err >&5
16809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16810 (exit $ac_status); } &&
16811 { ac_try='test -z "$ac_c_werror_flag"
16812 || test ! -s conftest.err'
16813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16814 (eval $ac_try) 2>&5
16815 ac_status=$?
16816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16817 (exit $ac_status); }; } &&
16818 { ac_try='test -s conftest.$ac_objext'
16819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16820 (eval $ac_try) 2>&5
16821 ac_status=$?
16822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16823 (exit $ac_status); }; }; then
16824 ac_hi=$ac_mid
16825 else
16826 echo "$as_me: failed program was:" >&5
16827 sed 's/^/| /' conftest.$ac_ext >&5
16828
16829 ac_lo=`expr '(' $ac_mid ')' + 1`
16830 fi
16831 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16832 done
16833 case $ac_lo in
16834 ?*) ac_cv_sizeof_void_p=$ac_lo;;
16835 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
16836 See \`config.log' for more details." >&5
16837 echo "$as_me: error: cannot compute sizeof (void *), 77
16838 See \`config.log' for more details." >&2;}
16839 { (exit 1); exit 1; }; } ;;
16840 esac
16841 else
16842 if test "$cross_compiling" = yes; then
16843 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16844 See \`config.log' for more details." >&5
16845 echo "$as_me: error: cannot run test program while cross compiling
16846 See \`config.log' for more details." >&2;}
16847 { (exit 1); exit 1; }; }
16848 else
16849 cat >conftest.$ac_ext <<_ACEOF
16850 /* confdefs.h. */
16851 _ACEOF
16852 cat confdefs.h >>conftest.$ac_ext
16853 cat >>conftest.$ac_ext <<_ACEOF
16854 /* end confdefs.h. */
16855 $ac_includes_default
16856 long longval () { return (long) (sizeof (void *)); }
16857 unsigned long ulongval () { return (long) (sizeof (void *)); }
16858 #include <stdio.h>
16859 #include <stdlib.h>
16860 int
16861 main ()
16862 {
16863
16864 FILE *f = fopen ("conftest.val", "w");
16865 if (! f)
16866 exit (1);
16867 if (((long) (sizeof (void *))) < 0)
16868 {
16869 long i = longval ();
16870 if (i != ((long) (sizeof (void *))))
16871 exit (1);
16872 fprintf (f, "%ld\n", i);
16873 }
16874 else
16875 {
16876 unsigned long i = ulongval ();
16877 if (i != ((long) (sizeof (void *))))
16878 exit (1);
16879 fprintf (f, "%lu\n", i);
16880 }
16881 exit (ferror (f) || fclose (f) != 0);
16882
16883 ;
16884 return 0;
16885 }
16886 _ACEOF
16887 rm -f conftest$ac_exeext
16888 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16889 (eval $ac_link) 2>&5
16890 ac_status=$?
16891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16892 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16894 (eval $ac_try) 2>&5
16895 ac_status=$?
16896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16897 (exit $ac_status); }; }; then
16898 ac_cv_sizeof_void_p=`cat conftest.val`
16899 else
16900 echo "$as_me: program exited with status $ac_status" >&5
16901 echo "$as_me: failed program was:" >&5
16902 sed 's/^/| /' conftest.$ac_ext >&5
16903
16904 ( exit $ac_status )
16905 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
16906 See \`config.log' for more details." >&5
16907 echo "$as_me: error: cannot compute sizeof (void *), 77
16908 See \`config.log' for more details." >&2;}
16909 { (exit 1); exit 1; }; }
16910 fi
16911 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16912 fi
16913 fi
16914 rm -f conftest.val
16915 else
16916 ac_cv_sizeof_void_p=0
16917 fi
16918 fi
16919 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
16920 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
16921 cat >>confdefs.h <<_ACEOF
16922 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
16923 _ACEOF
16924
16925
16926 echo "$as_me:$LINENO: checking for int" >&5
16927 echo $ECHO_N "checking for int... $ECHO_C" >&6
16928 if test "${ac_cv_type_int+set}" = set; then
16929 echo $ECHO_N "(cached) $ECHO_C" >&6
16930 else
16931 cat >conftest.$ac_ext <<_ACEOF
16932 /* confdefs.h. */
16933 _ACEOF
16934 cat confdefs.h >>conftest.$ac_ext
16935 cat >>conftest.$ac_ext <<_ACEOF
16936 /* end confdefs.h. */
16937 $ac_includes_default
16938 int
16939 main ()
16940 {
16941 if ((int *) 0)
16942 return 0;
16943 if (sizeof (int))
16944 return 0;
16945 ;
16946 return 0;
16947 }
16948 _ACEOF
16949 rm -f conftest.$ac_objext
16950 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16951 (eval $ac_compile) 2>conftest.er1
16952 ac_status=$?
16953 grep -v '^ *+' conftest.er1 >conftest.err
16954 rm -f conftest.er1
16955 cat conftest.err >&5
16956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16957 (exit $ac_status); } &&
16958 { ac_try='test -z "$ac_c_werror_flag"
16959 || test ! -s conftest.err'
16960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16961 (eval $ac_try) 2>&5
16962 ac_status=$?
16963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16964 (exit $ac_status); }; } &&
16965 { ac_try='test -s conftest.$ac_objext'
16966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16967 (eval $ac_try) 2>&5
16968 ac_status=$?
16969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16970 (exit $ac_status); }; }; then
16971 ac_cv_type_int=yes
16972 else
16973 echo "$as_me: failed program was:" >&5
16974 sed 's/^/| /' conftest.$ac_ext >&5
16975
16976 ac_cv_type_int=no
16977 fi
16978 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16979 fi
16980 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
16981 echo "${ECHO_T}$ac_cv_type_int" >&6
16982
16983 echo "$as_me:$LINENO: checking size of int" >&5
16984 echo $ECHO_N "checking size of int... $ECHO_C" >&6
16985 if test "${ac_cv_sizeof_int+set}" = set; then
16986 echo $ECHO_N "(cached) $ECHO_C" >&6
16987 else
16988 if test "$ac_cv_type_int" = yes; then
16989 # The cast to unsigned long works around a bug in the HP C Compiler
16990 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16991 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16992 # This bug is HP SR number 8606223364.
16993 if test "$cross_compiling" = yes; then
16994 # Depending upon the size, compute the lo and hi bounds.
16995 cat >conftest.$ac_ext <<_ACEOF
16996 /* confdefs.h. */
16997 _ACEOF
16998 cat confdefs.h >>conftest.$ac_ext
16999 cat >>conftest.$ac_ext <<_ACEOF
17000 /* end confdefs.h. */
17001 $ac_includes_default
17002 int
17003 main ()
17004 {
17005 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
17006 test_array [0] = 0
17007
17008 ;
17009 return 0;
17010 }
17011 _ACEOF
17012 rm -f conftest.$ac_objext
17013 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17014 (eval $ac_compile) 2>conftest.er1
17015 ac_status=$?
17016 grep -v '^ *+' conftest.er1 >conftest.err
17017 rm -f conftest.er1
17018 cat conftest.err >&5
17019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17020 (exit $ac_status); } &&
17021 { ac_try='test -z "$ac_c_werror_flag"
17022 || test ! -s conftest.err'
17023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17024 (eval $ac_try) 2>&5
17025 ac_status=$?
17026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17027 (exit $ac_status); }; } &&
17028 { ac_try='test -s conftest.$ac_objext'
17029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17030 (eval $ac_try) 2>&5
17031 ac_status=$?
17032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17033 (exit $ac_status); }; }; then
17034 ac_lo=0 ac_mid=0
17035 while :; do
17036 cat >conftest.$ac_ext <<_ACEOF
17037 /* confdefs.h. */
17038 _ACEOF
17039 cat confdefs.h >>conftest.$ac_ext
17040 cat >>conftest.$ac_ext <<_ACEOF
17041 /* end confdefs.h. */
17042 $ac_includes_default
17043 int
17044 main ()
17045 {
17046 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
17047 test_array [0] = 0
17048
17049 ;
17050 return 0;
17051 }
17052 _ACEOF
17053 rm -f conftest.$ac_objext
17054 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17055 (eval $ac_compile) 2>conftest.er1
17056 ac_status=$?
17057 grep -v '^ *+' conftest.er1 >conftest.err
17058 rm -f conftest.er1
17059 cat conftest.err >&5
17060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17061 (exit $ac_status); } &&
17062 { ac_try='test -z "$ac_c_werror_flag"
17063 || test ! -s conftest.err'
17064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17065 (eval $ac_try) 2>&5
17066 ac_status=$?
17067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17068 (exit $ac_status); }; } &&
17069 { ac_try='test -s conftest.$ac_objext'
17070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17071 (eval $ac_try) 2>&5
17072 ac_status=$?
17073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17074 (exit $ac_status); }; }; then
17075 ac_hi=$ac_mid; break
17076 else
17077 echo "$as_me: failed program was:" >&5
17078 sed 's/^/| /' conftest.$ac_ext >&5
17079
17080 ac_lo=`expr $ac_mid + 1`
17081 if test $ac_lo -le $ac_mid; then
17082 ac_lo= ac_hi=
17083 break
17084 fi
17085 ac_mid=`expr 2 '*' $ac_mid + 1`
17086 fi
17087 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17088 done
17089 else
17090 echo "$as_me: failed program was:" >&5
17091 sed 's/^/| /' conftest.$ac_ext >&5
17092
17093 cat >conftest.$ac_ext <<_ACEOF
17094 /* confdefs.h. */
17095 _ACEOF
17096 cat confdefs.h >>conftest.$ac_ext
17097 cat >>conftest.$ac_ext <<_ACEOF
17098 /* end confdefs.h. */
17099 $ac_includes_default
17100 int
17101 main ()
17102 {
17103 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
17104 test_array [0] = 0
17105
17106 ;
17107 return 0;
17108 }
17109 _ACEOF
17110 rm -f conftest.$ac_objext
17111 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17112 (eval $ac_compile) 2>conftest.er1
17113 ac_status=$?
17114 grep -v '^ *+' conftest.er1 >conftest.err
17115 rm -f conftest.er1
17116 cat conftest.err >&5
17117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17118 (exit $ac_status); } &&
17119 { ac_try='test -z "$ac_c_werror_flag"
17120 || test ! -s conftest.err'
17121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17122 (eval $ac_try) 2>&5
17123 ac_status=$?
17124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17125 (exit $ac_status); }; } &&
17126 { ac_try='test -s conftest.$ac_objext'
17127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17128 (eval $ac_try) 2>&5
17129 ac_status=$?
17130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17131 (exit $ac_status); }; }; then
17132 ac_hi=-1 ac_mid=-1
17133 while :; do
17134 cat >conftest.$ac_ext <<_ACEOF
17135 /* confdefs.h. */
17136 _ACEOF
17137 cat confdefs.h >>conftest.$ac_ext
17138 cat >>conftest.$ac_ext <<_ACEOF
17139 /* end confdefs.h. */
17140 $ac_includes_default
17141 int
17142 main ()
17143 {
17144 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
17145 test_array [0] = 0
17146
17147 ;
17148 return 0;
17149 }
17150 _ACEOF
17151 rm -f conftest.$ac_objext
17152 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17153 (eval $ac_compile) 2>conftest.er1
17154 ac_status=$?
17155 grep -v '^ *+' conftest.er1 >conftest.err
17156 rm -f conftest.er1
17157 cat conftest.err >&5
17158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17159 (exit $ac_status); } &&
17160 { ac_try='test -z "$ac_c_werror_flag"
17161 || test ! -s conftest.err'
17162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17163 (eval $ac_try) 2>&5
17164 ac_status=$?
17165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17166 (exit $ac_status); }; } &&
17167 { ac_try='test -s conftest.$ac_objext'
17168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17169 (eval $ac_try) 2>&5
17170 ac_status=$?
17171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17172 (exit $ac_status); }; }; then
17173 ac_lo=$ac_mid; break
17174 else
17175 echo "$as_me: failed program was:" >&5
17176 sed 's/^/| /' conftest.$ac_ext >&5
17177
17178 ac_hi=`expr '(' $ac_mid ')' - 1`
17179 if test $ac_mid -le $ac_hi; then
17180 ac_lo= ac_hi=
17181 break
17182 fi
17183 ac_mid=`expr 2 '*' $ac_mid`
17184 fi
17185 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17186 done
17187 else
17188 echo "$as_me: failed program was:" >&5
17189 sed 's/^/| /' conftest.$ac_ext >&5
17190
17191 ac_lo= ac_hi=
17192 fi
17193 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17194 fi
17195 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17196 # Binary search between lo and hi bounds.
17197 while test "x$ac_lo" != "x$ac_hi"; do
17198 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17199 cat >conftest.$ac_ext <<_ACEOF
17200 /* confdefs.h. */
17201 _ACEOF
17202 cat confdefs.h >>conftest.$ac_ext
17203 cat >>conftest.$ac_ext <<_ACEOF
17204 /* end confdefs.h. */
17205 $ac_includes_default
17206 int
17207 main ()
17208 {
17209 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
17210 test_array [0] = 0
17211
17212 ;
17213 return 0;
17214 }
17215 _ACEOF
17216 rm -f conftest.$ac_objext
17217 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17218 (eval $ac_compile) 2>conftest.er1
17219 ac_status=$?
17220 grep -v '^ *+' conftest.er1 >conftest.err
17221 rm -f conftest.er1
17222 cat conftest.err >&5
17223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17224 (exit $ac_status); } &&
17225 { ac_try='test -z "$ac_c_werror_flag"
17226 || test ! -s conftest.err'
17227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17228 (eval $ac_try) 2>&5
17229 ac_status=$?
17230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17231 (exit $ac_status); }; } &&
17232 { ac_try='test -s conftest.$ac_objext'
17233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17234 (eval $ac_try) 2>&5
17235 ac_status=$?
17236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17237 (exit $ac_status); }; }; then
17238 ac_hi=$ac_mid
17239 else
17240 echo "$as_me: failed program was:" >&5
17241 sed 's/^/| /' conftest.$ac_ext >&5
17242
17243 ac_lo=`expr '(' $ac_mid ')' + 1`
17244 fi
17245 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17246 done
17247 case $ac_lo in
17248 ?*) ac_cv_sizeof_int=$ac_lo;;
17249 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
17250 See \`config.log' for more details." >&5
17251 echo "$as_me: error: cannot compute sizeof (int), 77
17252 See \`config.log' for more details." >&2;}
17253 { (exit 1); exit 1; }; } ;;
17254 esac
17255 else
17256 if test "$cross_compiling" = yes; then
17257 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17258 See \`config.log' for more details." >&5
17259 echo "$as_me: error: cannot run test program while cross compiling
17260 See \`config.log' for more details." >&2;}
17261 { (exit 1); exit 1; }; }
17262 else
17263 cat >conftest.$ac_ext <<_ACEOF
17264 /* confdefs.h. */
17265 _ACEOF
17266 cat confdefs.h >>conftest.$ac_ext
17267 cat >>conftest.$ac_ext <<_ACEOF
17268 /* end confdefs.h. */
17269 $ac_includes_default
17270 long longval () { return (long) (sizeof (int)); }
17271 unsigned long ulongval () { return (long) (sizeof (int)); }
17272 #include <stdio.h>
17273 #include <stdlib.h>
17274 int
17275 main ()
17276 {
17277
17278 FILE *f = fopen ("conftest.val", "w");
17279 if (! f)
17280 exit (1);
17281 if (((long) (sizeof (int))) < 0)
17282 {
17283 long i = longval ();
17284 if (i != ((long) (sizeof (int))))
17285 exit (1);
17286 fprintf (f, "%ld\n", i);
17287 }
17288 else
17289 {
17290 unsigned long i = ulongval ();
17291 if (i != ((long) (sizeof (int))))
17292 exit (1);
17293 fprintf (f, "%lu\n", i);
17294 }
17295 exit (ferror (f) || fclose (f) != 0);
17296
17297 ;
17298 return 0;
17299 }
17300 _ACEOF
17301 rm -f conftest$ac_exeext
17302 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17303 (eval $ac_link) 2>&5
17304 ac_status=$?
17305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17306 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17308 (eval $ac_try) 2>&5
17309 ac_status=$?
17310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17311 (exit $ac_status); }; }; then
17312 ac_cv_sizeof_int=`cat conftest.val`
17313 else
17314 echo "$as_me: program exited with status $ac_status" >&5
17315 echo "$as_me: failed program was:" >&5
17316 sed 's/^/| /' conftest.$ac_ext >&5
17317
17318 ( exit $ac_status )
17319 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
17320 See \`config.log' for more details." >&5
17321 echo "$as_me: error: cannot compute sizeof (int), 77
17322 See \`config.log' for more details." >&2;}
17323 { (exit 1); exit 1; }; }
17324 fi
17325 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17326 fi
17327 fi
17328 rm -f conftest.val
17329 else
17330 ac_cv_sizeof_int=0
17331 fi
17332 fi
17333 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
17334 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
17335 cat >>confdefs.h <<_ACEOF
17336 #define SIZEOF_INT $ac_cv_sizeof_int
17337 _ACEOF
17338
17339
17340 echo "$as_me:$LINENO: checking for long" >&5
17341 echo $ECHO_N "checking for long... $ECHO_C" >&6
17342 if test "${ac_cv_type_long+set}" = set; then
17343 echo $ECHO_N "(cached) $ECHO_C" >&6
17344 else
17345 cat >conftest.$ac_ext <<_ACEOF
17346 /* confdefs.h. */
17347 _ACEOF
17348 cat confdefs.h >>conftest.$ac_ext
17349 cat >>conftest.$ac_ext <<_ACEOF
17350 /* end confdefs.h. */
17351 $ac_includes_default
17352 int
17353 main ()
17354 {
17355 if ((long *) 0)
17356 return 0;
17357 if (sizeof (long))
17358 return 0;
17359 ;
17360 return 0;
17361 }
17362 _ACEOF
17363 rm -f conftest.$ac_objext
17364 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17365 (eval $ac_compile) 2>conftest.er1
17366 ac_status=$?
17367 grep -v '^ *+' conftest.er1 >conftest.err
17368 rm -f conftest.er1
17369 cat conftest.err >&5
17370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17371 (exit $ac_status); } &&
17372 { ac_try='test -z "$ac_c_werror_flag"
17373 || test ! -s conftest.err'
17374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17375 (eval $ac_try) 2>&5
17376 ac_status=$?
17377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17378 (exit $ac_status); }; } &&
17379 { ac_try='test -s conftest.$ac_objext'
17380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17381 (eval $ac_try) 2>&5
17382 ac_status=$?
17383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17384 (exit $ac_status); }; }; then
17385 ac_cv_type_long=yes
17386 else
17387 echo "$as_me: failed program was:" >&5
17388 sed 's/^/| /' conftest.$ac_ext >&5
17389
17390 ac_cv_type_long=no
17391 fi
17392 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17393 fi
17394 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
17395 echo "${ECHO_T}$ac_cv_type_long" >&6
17396
17397 echo "$as_me:$LINENO: checking size of long" >&5
17398 echo $ECHO_N "checking size of long... $ECHO_C" >&6
17399 if test "${ac_cv_sizeof_long+set}" = set; then
17400 echo $ECHO_N "(cached) $ECHO_C" >&6
17401 else
17402 if test "$ac_cv_type_long" = yes; then
17403 # The cast to unsigned long works around a bug in the HP C Compiler
17404 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17405 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17406 # This bug is HP SR number 8606223364.
17407 if test "$cross_compiling" = yes; then
17408 # Depending upon the size, compute the lo and hi bounds.
17409 cat >conftest.$ac_ext <<_ACEOF
17410 /* confdefs.h. */
17411 _ACEOF
17412 cat confdefs.h >>conftest.$ac_ext
17413 cat >>conftest.$ac_ext <<_ACEOF
17414 /* end confdefs.h. */
17415 $ac_includes_default
17416 int
17417 main ()
17418 {
17419 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
17420 test_array [0] = 0
17421
17422 ;
17423 return 0;
17424 }
17425 _ACEOF
17426 rm -f conftest.$ac_objext
17427 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17428 (eval $ac_compile) 2>conftest.er1
17429 ac_status=$?
17430 grep -v '^ *+' conftest.er1 >conftest.err
17431 rm -f conftest.er1
17432 cat conftest.err >&5
17433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17434 (exit $ac_status); } &&
17435 { ac_try='test -z "$ac_c_werror_flag"
17436 || test ! -s conftest.err'
17437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17438 (eval $ac_try) 2>&5
17439 ac_status=$?
17440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17441 (exit $ac_status); }; } &&
17442 { ac_try='test -s conftest.$ac_objext'
17443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17444 (eval $ac_try) 2>&5
17445 ac_status=$?
17446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17447 (exit $ac_status); }; }; then
17448 ac_lo=0 ac_mid=0
17449 while :; do
17450 cat >conftest.$ac_ext <<_ACEOF
17451 /* confdefs.h. */
17452 _ACEOF
17453 cat confdefs.h >>conftest.$ac_ext
17454 cat >>conftest.$ac_ext <<_ACEOF
17455 /* end confdefs.h. */
17456 $ac_includes_default
17457 int
17458 main ()
17459 {
17460 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
17461 test_array [0] = 0
17462
17463 ;
17464 return 0;
17465 }
17466 _ACEOF
17467 rm -f conftest.$ac_objext
17468 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17469 (eval $ac_compile) 2>conftest.er1
17470 ac_status=$?
17471 grep -v '^ *+' conftest.er1 >conftest.err
17472 rm -f conftest.er1
17473 cat conftest.err >&5
17474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17475 (exit $ac_status); } &&
17476 { ac_try='test -z "$ac_c_werror_flag"
17477 || test ! -s conftest.err'
17478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17479 (eval $ac_try) 2>&5
17480 ac_status=$?
17481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17482 (exit $ac_status); }; } &&
17483 { ac_try='test -s conftest.$ac_objext'
17484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17485 (eval $ac_try) 2>&5
17486 ac_status=$?
17487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17488 (exit $ac_status); }; }; then
17489 ac_hi=$ac_mid; break
17490 else
17491 echo "$as_me: failed program was:" >&5
17492 sed 's/^/| /' conftest.$ac_ext >&5
17493
17494 ac_lo=`expr $ac_mid + 1`
17495 if test $ac_lo -le $ac_mid; then
17496 ac_lo= ac_hi=
17497 break
17498 fi
17499 ac_mid=`expr 2 '*' $ac_mid + 1`
17500 fi
17501 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17502 done
17503 else
17504 echo "$as_me: failed program was:" >&5
17505 sed 's/^/| /' conftest.$ac_ext >&5
17506
17507 cat >conftest.$ac_ext <<_ACEOF
17508 /* confdefs.h. */
17509 _ACEOF
17510 cat confdefs.h >>conftest.$ac_ext
17511 cat >>conftest.$ac_ext <<_ACEOF
17512 /* end confdefs.h. */
17513 $ac_includes_default
17514 int
17515 main ()
17516 {
17517 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
17518 test_array [0] = 0
17519
17520 ;
17521 return 0;
17522 }
17523 _ACEOF
17524 rm -f conftest.$ac_objext
17525 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17526 (eval $ac_compile) 2>conftest.er1
17527 ac_status=$?
17528 grep -v '^ *+' conftest.er1 >conftest.err
17529 rm -f conftest.er1
17530 cat conftest.err >&5
17531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17532 (exit $ac_status); } &&
17533 { ac_try='test -z "$ac_c_werror_flag"
17534 || test ! -s conftest.err'
17535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17536 (eval $ac_try) 2>&5
17537 ac_status=$?
17538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17539 (exit $ac_status); }; } &&
17540 { ac_try='test -s conftest.$ac_objext'
17541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17542 (eval $ac_try) 2>&5
17543 ac_status=$?
17544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17545 (exit $ac_status); }; }; then
17546 ac_hi=-1 ac_mid=-1
17547 while :; do
17548 cat >conftest.$ac_ext <<_ACEOF
17549 /* confdefs.h. */
17550 _ACEOF
17551 cat confdefs.h >>conftest.$ac_ext
17552 cat >>conftest.$ac_ext <<_ACEOF
17553 /* end confdefs.h. */
17554 $ac_includes_default
17555 int
17556 main ()
17557 {
17558 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
17559 test_array [0] = 0
17560
17561 ;
17562 return 0;
17563 }
17564 _ACEOF
17565 rm -f conftest.$ac_objext
17566 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17567 (eval $ac_compile) 2>conftest.er1
17568 ac_status=$?
17569 grep -v '^ *+' conftest.er1 >conftest.err
17570 rm -f conftest.er1
17571 cat conftest.err >&5
17572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17573 (exit $ac_status); } &&
17574 { ac_try='test -z "$ac_c_werror_flag"
17575 || test ! -s conftest.err'
17576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17577 (eval $ac_try) 2>&5
17578 ac_status=$?
17579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17580 (exit $ac_status); }; } &&
17581 { ac_try='test -s conftest.$ac_objext'
17582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17583 (eval $ac_try) 2>&5
17584 ac_status=$?
17585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17586 (exit $ac_status); }; }; then
17587 ac_lo=$ac_mid; break
17588 else
17589 echo "$as_me: failed program was:" >&5
17590 sed 's/^/| /' conftest.$ac_ext >&5
17591
17592 ac_hi=`expr '(' $ac_mid ')' - 1`
17593 if test $ac_mid -le $ac_hi; then
17594 ac_lo= ac_hi=
17595 break
17596 fi
17597 ac_mid=`expr 2 '*' $ac_mid`
17598 fi
17599 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17600 done
17601 else
17602 echo "$as_me: failed program was:" >&5
17603 sed 's/^/| /' conftest.$ac_ext >&5
17604
17605 ac_lo= ac_hi=
17606 fi
17607 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17608 fi
17609 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17610 # Binary search between lo and hi bounds.
17611 while test "x$ac_lo" != "x$ac_hi"; do
17612 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17613 cat >conftest.$ac_ext <<_ACEOF
17614 /* confdefs.h. */
17615 _ACEOF
17616 cat confdefs.h >>conftest.$ac_ext
17617 cat >>conftest.$ac_ext <<_ACEOF
17618 /* end confdefs.h. */
17619 $ac_includes_default
17620 int
17621 main ()
17622 {
17623 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
17624 test_array [0] = 0
17625
17626 ;
17627 return 0;
17628 }
17629 _ACEOF
17630 rm -f conftest.$ac_objext
17631 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17632 (eval $ac_compile) 2>conftest.er1
17633 ac_status=$?
17634 grep -v '^ *+' conftest.er1 >conftest.err
17635 rm -f conftest.er1
17636 cat conftest.err >&5
17637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17638 (exit $ac_status); } &&
17639 { ac_try='test -z "$ac_c_werror_flag"
17640 || test ! -s conftest.err'
17641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17642 (eval $ac_try) 2>&5
17643 ac_status=$?
17644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17645 (exit $ac_status); }; } &&
17646 { ac_try='test -s conftest.$ac_objext'
17647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17648 (eval $ac_try) 2>&5
17649 ac_status=$?
17650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17651 (exit $ac_status); }; }; then
17652 ac_hi=$ac_mid
17653 else
17654 echo "$as_me: failed program was:" >&5
17655 sed 's/^/| /' conftest.$ac_ext >&5
17656
17657 ac_lo=`expr '(' $ac_mid ')' + 1`
17658 fi
17659 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17660 done
17661 case $ac_lo in
17662 ?*) ac_cv_sizeof_long=$ac_lo;;
17663 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
17664 See \`config.log' for more details." >&5
17665 echo "$as_me: error: cannot compute sizeof (long), 77
17666 See \`config.log' for more details." >&2;}
17667 { (exit 1); exit 1; }; } ;;
17668 esac
17669 else
17670 if test "$cross_compiling" = yes; then
17671 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17672 See \`config.log' for more details." >&5
17673 echo "$as_me: error: cannot run test program while cross compiling
17674 See \`config.log' for more details." >&2;}
17675 { (exit 1); exit 1; }; }
17676 else
17677 cat >conftest.$ac_ext <<_ACEOF
17678 /* confdefs.h. */
17679 _ACEOF
17680 cat confdefs.h >>conftest.$ac_ext
17681 cat >>conftest.$ac_ext <<_ACEOF
17682 /* end confdefs.h. */
17683 $ac_includes_default
17684 long longval () { return (long) (sizeof (long)); }
17685 unsigned long ulongval () { return (long) (sizeof (long)); }
17686 #include <stdio.h>
17687 #include <stdlib.h>
17688 int
17689 main ()
17690 {
17691
17692 FILE *f = fopen ("conftest.val", "w");
17693 if (! f)
17694 exit (1);
17695 if (((long) (sizeof (long))) < 0)
17696 {
17697 long i = longval ();
17698 if (i != ((long) (sizeof (long))))
17699 exit (1);
17700 fprintf (f, "%ld\n", i);
17701 }
17702 else
17703 {
17704 unsigned long i = ulongval ();
17705 if (i != ((long) (sizeof (long))))
17706 exit (1);
17707 fprintf (f, "%lu\n", i);
17708 }
17709 exit (ferror (f) || fclose (f) != 0);
17710
17711 ;
17712 return 0;
17713 }
17714 _ACEOF
17715 rm -f conftest$ac_exeext
17716 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17717 (eval $ac_link) 2>&5
17718 ac_status=$?
17719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17720 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17722 (eval $ac_try) 2>&5
17723 ac_status=$?
17724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17725 (exit $ac_status); }; }; then
17726 ac_cv_sizeof_long=`cat conftest.val`
17727 else
17728 echo "$as_me: program exited with status $ac_status" >&5
17729 echo "$as_me: failed program was:" >&5
17730 sed 's/^/| /' conftest.$ac_ext >&5
17731
17732 ( exit $ac_status )
17733 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
17734 See \`config.log' for more details." >&5
17735 echo "$as_me: error: cannot compute sizeof (long), 77
17736 See \`config.log' for more details." >&2;}
17737 { (exit 1); exit 1; }; }
17738 fi
17739 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17740 fi
17741 fi
17742 rm -f conftest.val
17743 else
17744 ac_cv_sizeof_long=0
17745 fi
17746 fi
17747 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
17748 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
17749 cat >>confdefs.h <<_ACEOF
17750 #define SIZEOF_LONG $ac_cv_sizeof_long
17751 _ACEOF
17752
17753
17754 echo "$as_me:$LINENO: checking for size_t" >&5
17755 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
17756 if test "${ac_cv_type_size_t+set}" = set; then
17757 echo $ECHO_N "(cached) $ECHO_C" >&6
17758 else
17759 cat >conftest.$ac_ext <<_ACEOF
17760 /* confdefs.h. */
17761 _ACEOF
17762 cat confdefs.h >>conftest.$ac_ext
17763 cat >>conftest.$ac_ext <<_ACEOF
17764 /* end confdefs.h. */
17765 $ac_includes_default
17766 int
17767 main ()
17768 {
17769 if ((size_t *) 0)
17770 return 0;
17771 if (sizeof (size_t))
17772 return 0;
17773 ;
17774 return 0;
17775 }
17776 _ACEOF
17777 rm -f conftest.$ac_objext
17778 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17779 (eval $ac_compile) 2>conftest.er1
17780 ac_status=$?
17781 grep -v '^ *+' conftest.er1 >conftest.err
17782 rm -f conftest.er1
17783 cat conftest.err >&5
17784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17785 (exit $ac_status); } &&
17786 { ac_try='test -z "$ac_c_werror_flag"
17787 || test ! -s conftest.err'
17788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17789 (eval $ac_try) 2>&5
17790 ac_status=$?
17791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17792 (exit $ac_status); }; } &&
17793 { ac_try='test -s conftest.$ac_objext'
17794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17795 (eval $ac_try) 2>&5
17796 ac_status=$?
17797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17798 (exit $ac_status); }; }; then
17799 ac_cv_type_size_t=yes
17800 else
17801 echo "$as_me: failed program was:" >&5
17802 sed 's/^/| /' conftest.$ac_ext >&5
17803
17804 ac_cv_type_size_t=no
17805 fi
17806 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17807 fi
17808 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
17809 echo "${ECHO_T}$ac_cv_type_size_t" >&6
17810
17811 echo "$as_me:$LINENO: checking size of size_t" >&5
17812 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6
17813 if test "${ac_cv_sizeof_size_t+set}" = set; then
17814 echo $ECHO_N "(cached) $ECHO_C" >&6
17815 else
17816 if test "$ac_cv_type_size_t" = yes; then
17817 # The cast to unsigned long works around a bug in the HP C Compiler
17818 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17819 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17820 # This bug is HP SR number 8606223364.
17821 if test "$cross_compiling" = yes; then
17822 # Depending upon the size, compute the lo and hi bounds.
17823 cat >conftest.$ac_ext <<_ACEOF
17824 /* confdefs.h. */
17825 _ACEOF
17826 cat confdefs.h >>conftest.$ac_ext
17827 cat >>conftest.$ac_ext <<_ACEOF
17828 /* end confdefs.h. */
17829 $ac_includes_default
17830 int
17831 main ()
17832 {
17833 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= 0)];
17834 test_array [0] = 0
17835
17836 ;
17837 return 0;
17838 }
17839 _ACEOF
17840 rm -f conftest.$ac_objext
17841 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17842 (eval $ac_compile) 2>conftest.er1
17843 ac_status=$?
17844 grep -v '^ *+' conftest.er1 >conftest.err
17845 rm -f conftest.er1
17846 cat conftest.err >&5
17847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17848 (exit $ac_status); } &&
17849 { ac_try='test -z "$ac_c_werror_flag"
17850 || test ! -s conftest.err'
17851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17852 (eval $ac_try) 2>&5
17853 ac_status=$?
17854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17855 (exit $ac_status); }; } &&
17856 { ac_try='test -s conftest.$ac_objext'
17857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17858 (eval $ac_try) 2>&5
17859 ac_status=$?
17860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17861 (exit $ac_status); }; }; then
17862 ac_lo=0 ac_mid=0
17863 while :; do
17864 cat >conftest.$ac_ext <<_ACEOF
17865 /* confdefs.h. */
17866 _ACEOF
17867 cat confdefs.h >>conftest.$ac_ext
17868 cat >>conftest.$ac_ext <<_ACEOF
17869 /* end confdefs.h. */
17870 $ac_includes_default
17871 int
17872 main ()
17873 {
17874 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
17875 test_array [0] = 0
17876
17877 ;
17878 return 0;
17879 }
17880 _ACEOF
17881 rm -f conftest.$ac_objext
17882 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17883 (eval $ac_compile) 2>conftest.er1
17884 ac_status=$?
17885 grep -v '^ *+' conftest.er1 >conftest.err
17886 rm -f conftest.er1
17887 cat conftest.err >&5
17888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17889 (exit $ac_status); } &&
17890 { ac_try='test -z "$ac_c_werror_flag"
17891 || test ! -s conftest.err'
17892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17893 (eval $ac_try) 2>&5
17894 ac_status=$?
17895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17896 (exit $ac_status); }; } &&
17897 { ac_try='test -s conftest.$ac_objext'
17898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17899 (eval $ac_try) 2>&5
17900 ac_status=$?
17901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17902 (exit $ac_status); }; }; then
17903 ac_hi=$ac_mid; break
17904 else
17905 echo "$as_me: failed program was:" >&5
17906 sed 's/^/| /' conftest.$ac_ext >&5
17907
17908 ac_lo=`expr $ac_mid + 1`
17909 if test $ac_lo -le $ac_mid; then
17910 ac_lo= ac_hi=
17911 break
17912 fi
17913 ac_mid=`expr 2 '*' $ac_mid + 1`
17914 fi
17915 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17916 done
17917 else
17918 echo "$as_me: failed program was:" >&5
17919 sed 's/^/| /' conftest.$ac_ext >&5
17920
17921 cat >conftest.$ac_ext <<_ACEOF
17922 /* confdefs.h. */
17923 _ACEOF
17924 cat confdefs.h >>conftest.$ac_ext
17925 cat >>conftest.$ac_ext <<_ACEOF
17926 /* end confdefs.h. */
17927 $ac_includes_default
17928 int
17929 main ()
17930 {
17931 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) < 0)];
17932 test_array [0] = 0
17933
17934 ;
17935 return 0;
17936 }
17937 _ACEOF
17938 rm -f conftest.$ac_objext
17939 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17940 (eval $ac_compile) 2>conftest.er1
17941 ac_status=$?
17942 grep -v '^ *+' conftest.er1 >conftest.err
17943 rm -f conftest.er1
17944 cat conftest.err >&5
17945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17946 (exit $ac_status); } &&
17947 { ac_try='test -z "$ac_c_werror_flag"
17948 || test ! -s conftest.err'
17949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17950 (eval $ac_try) 2>&5
17951 ac_status=$?
17952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17953 (exit $ac_status); }; } &&
17954 { ac_try='test -s conftest.$ac_objext'
17955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17956 (eval $ac_try) 2>&5
17957 ac_status=$?
17958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17959 (exit $ac_status); }; }; then
17960 ac_hi=-1 ac_mid=-1
17961 while :; do
17962 cat >conftest.$ac_ext <<_ACEOF
17963 /* confdefs.h. */
17964 _ACEOF
17965 cat confdefs.h >>conftest.$ac_ext
17966 cat >>conftest.$ac_ext <<_ACEOF
17967 /* end confdefs.h. */
17968 $ac_includes_default
17969 int
17970 main ()
17971 {
17972 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= $ac_mid)];
17973 test_array [0] = 0
17974
17975 ;
17976 return 0;
17977 }
17978 _ACEOF
17979 rm -f conftest.$ac_objext
17980 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17981 (eval $ac_compile) 2>conftest.er1
17982 ac_status=$?
17983 grep -v '^ *+' conftest.er1 >conftest.err
17984 rm -f conftest.er1
17985 cat conftest.err >&5
17986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17987 (exit $ac_status); } &&
17988 { ac_try='test -z "$ac_c_werror_flag"
17989 || test ! -s conftest.err'
17990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17991 (eval $ac_try) 2>&5
17992 ac_status=$?
17993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17994 (exit $ac_status); }; } &&
17995 { ac_try='test -s conftest.$ac_objext'
17996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17997 (eval $ac_try) 2>&5
17998 ac_status=$?
17999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18000 (exit $ac_status); }; }; then
18001 ac_lo=$ac_mid; break
18002 else
18003 echo "$as_me: failed program was:" >&5
18004 sed 's/^/| /' conftest.$ac_ext >&5
18005
18006 ac_hi=`expr '(' $ac_mid ')' - 1`
18007 if test $ac_mid -le $ac_hi; then
18008 ac_lo= ac_hi=
18009 break
18010 fi
18011 ac_mid=`expr 2 '*' $ac_mid`
18012 fi
18013 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18014 done
18015 else
18016 echo "$as_me: failed program was:" >&5
18017 sed 's/^/| /' conftest.$ac_ext >&5
18018
18019 ac_lo= ac_hi=
18020 fi
18021 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18022 fi
18023 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18024 # Binary search between lo and hi bounds.
18025 while test "x$ac_lo" != "x$ac_hi"; do
18026 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18027 cat >conftest.$ac_ext <<_ACEOF
18028 /* confdefs.h. */
18029 _ACEOF
18030 cat confdefs.h >>conftest.$ac_ext
18031 cat >>conftest.$ac_ext <<_ACEOF
18032 /* end confdefs.h. */
18033 $ac_includes_default
18034 int
18035 main ()
18036 {
18037 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
18038 test_array [0] = 0
18039
18040 ;
18041 return 0;
18042 }
18043 _ACEOF
18044 rm -f conftest.$ac_objext
18045 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18046 (eval $ac_compile) 2>conftest.er1
18047 ac_status=$?
18048 grep -v '^ *+' conftest.er1 >conftest.err
18049 rm -f conftest.er1
18050 cat conftest.err >&5
18051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18052 (exit $ac_status); } &&
18053 { ac_try='test -z "$ac_c_werror_flag"
18054 || test ! -s conftest.err'
18055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18056 (eval $ac_try) 2>&5
18057 ac_status=$?
18058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18059 (exit $ac_status); }; } &&
18060 { ac_try='test -s conftest.$ac_objext'
18061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18062 (eval $ac_try) 2>&5
18063 ac_status=$?
18064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18065 (exit $ac_status); }; }; then
18066 ac_hi=$ac_mid
18067 else
18068 echo "$as_me: failed program was:" >&5
18069 sed 's/^/| /' conftest.$ac_ext >&5
18070
18071 ac_lo=`expr '(' $ac_mid ')' + 1`
18072 fi
18073 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18074 done
18075 case $ac_lo in
18076 ?*) ac_cv_sizeof_size_t=$ac_lo;;
18077 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
18078 See \`config.log' for more details." >&5
18079 echo "$as_me: error: cannot compute sizeof (size_t), 77
18080 See \`config.log' for more details." >&2;}
18081 { (exit 1); exit 1; }; } ;;
18082 esac
18083 else
18084 if test "$cross_compiling" = yes; then
18085 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
18086 See \`config.log' for more details." >&5
18087 echo "$as_me: error: cannot run test program while cross compiling
18088 See \`config.log' for more details." >&2;}
18089 { (exit 1); exit 1; }; }
18090 else
18091 cat >conftest.$ac_ext <<_ACEOF
18092 /* confdefs.h. */
18093 _ACEOF
18094 cat confdefs.h >>conftest.$ac_ext
18095 cat >>conftest.$ac_ext <<_ACEOF
18096 /* end confdefs.h. */
18097 $ac_includes_default
18098 long longval () { return (long) (sizeof (size_t)); }
18099 unsigned long ulongval () { return (long) (sizeof (size_t)); }
18100 #include <stdio.h>
18101 #include <stdlib.h>
18102 int
18103 main ()
18104 {
18105
18106 FILE *f = fopen ("conftest.val", "w");
18107 if (! f)
18108 exit (1);
18109 if (((long) (sizeof (size_t))) < 0)
18110 {
18111 long i = longval ();
18112 if (i != ((long) (sizeof (size_t))))
18113 exit (1);
18114 fprintf (f, "%ld\n", i);
18115 }
18116 else
18117 {
18118 unsigned long i = ulongval ();
18119 if (i != ((long) (sizeof (size_t))))
18120 exit (1);
18121 fprintf (f, "%lu\n", i);
18122 }
18123 exit (ferror (f) || fclose (f) != 0);
18124
18125 ;
18126 return 0;
18127 }
18128 _ACEOF
18129 rm -f conftest$ac_exeext
18130 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18131 (eval $ac_link) 2>&5
18132 ac_status=$?
18133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18134 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18136 (eval $ac_try) 2>&5
18137 ac_status=$?
18138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18139 (exit $ac_status); }; }; then
18140 ac_cv_sizeof_size_t=`cat conftest.val`
18141 else
18142 echo "$as_me: program exited with status $ac_status" >&5
18143 echo "$as_me: failed program was:" >&5
18144 sed 's/^/| /' conftest.$ac_ext >&5
18145
18146 ( exit $ac_status )
18147 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
18148 See \`config.log' for more details." >&5
18149 echo "$as_me: error: cannot compute sizeof (size_t), 77
18150 See \`config.log' for more details." >&2;}
18151 { (exit 1); exit 1; }; }
18152 fi
18153 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18154 fi
18155 fi
18156 rm -f conftest.val
18157 else
18158 ac_cv_sizeof_size_t=0
18159 fi
18160 fi
18161 echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
18162 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6
18163 cat >>confdefs.h <<_ACEOF
18164 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
18165 _ACEOF
18166
18167
18168
18169 case "${host}" in
18170 arm-*-linux* )
18171 echo "$as_me:$LINENO: checking for long long" >&5
18172 echo $ECHO_N "checking for long long... $ECHO_C" >&6
18173 if test "${ac_cv_type_long_long+set}" = set; then
18174 echo $ECHO_N "(cached) $ECHO_C" >&6
18175 else
18176 cat >conftest.$ac_ext <<_ACEOF
18177 /* confdefs.h. */
18178 _ACEOF
18179 cat confdefs.h >>conftest.$ac_ext
18180 cat >>conftest.$ac_ext <<_ACEOF
18181 /* end confdefs.h. */
18182 $ac_includes_default
18183 int
18184 main ()
18185 {
18186 if ((long long *) 0)
18187 return 0;
18188 if (sizeof (long long))
18189 return 0;
18190 ;
18191 return 0;
18192 }
18193 _ACEOF
18194 rm -f conftest.$ac_objext
18195 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18196 (eval $ac_compile) 2>conftest.er1
18197 ac_status=$?
18198 grep -v '^ *+' conftest.er1 >conftest.err
18199 rm -f conftest.er1
18200 cat conftest.err >&5
18201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18202 (exit $ac_status); } &&
18203 { ac_try='test -z "$ac_c_werror_flag"
18204 || test ! -s conftest.err'
18205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18206 (eval $ac_try) 2>&5
18207 ac_status=$?
18208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18209 (exit $ac_status); }; } &&
18210 { ac_try='test -s conftest.$ac_objext'
18211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18212 (eval $ac_try) 2>&5
18213 ac_status=$?
18214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18215 (exit $ac_status); }; }; then
18216 ac_cv_type_long_long=yes
18217 else
18218 echo "$as_me: failed program was:" >&5
18219 sed 's/^/| /' conftest.$ac_ext >&5
18220
18221 ac_cv_type_long_long=no
18222 fi
18223 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18224 fi
18225 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
18226 echo "${ECHO_T}$ac_cv_type_long_long" >&6
18227
18228 echo "$as_me:$LINENO: checking size of long long" >&5
18229 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
18230 if test "${ac_cv_sizeof_long_long+set}" = set; then
18231 echo $ECHO_N "(cached) $ECHO_C" >&6
18232 else
18233 if test "$ac_cv_type_long_long" = yes; then
18234 # The cast to unsigned long works around a bug in the HP C Compiler
18235 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18236 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18237 # This bug is HP SR number 8606223364.
18238 if test "$cross_compiling" = yes; then
18239 # Depending upon the size, compute the lo and hi bounds.
18240 cat >conftest.$ac_ext <<_ACEOF
18241 /* confdefs.h. */
18242 _ACEOF
18243 cat confdefs.h >>conftest.$ac_ext
18244 cat >>conftest.$ac_ext <<_ACEOF
18245 /* end confdefs.h. */
18246 $ac_includes_default
18247 int
18248 main ()
18249 {
18250 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
18251 test_array [0] = 0
18252
18253 ;
18254 return 0;
18255 }
18256 _ACEOF
18257 rm -f conftest.$ac_objext
18258 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18259 (eval $ac_compile) 2>conftest.er1
18260 ac_status=$?
18261 grep -v '^ *+' conftest.er1 >conftest.err
18262 rm -f conftest.er1
18263 cat conftest.err >&5
18264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18265 (exit $ac_status); } &&
18266 { ac_try='test -z "$ac_c_werror_flag"
18267 || test ! -s conftest.err'
18268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18269 (eval $ac_try) 2>&5
18270 ac_status=$?
18271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18272 (exit $ac_status); }; } &&
18273 { ac_try='test -s conftest.$ac_objext'
18274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18275 (eval $ac_try) 2>&5
18276 ac_status=$?
18277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18278 (exit $ac_status); }; }; then
18279 ac_lo=0 ac_mid=0
18280 while :; do
18281 cat >conftest.$ac_ext <<_ACEOF
18282 /* confdefs.h. */
18283 _ACEOF
18284 cat confdefs.h >>conftest.$ac_ext
18285 cat >>conftest.$ac_ext <<_ACEOF
18286 /* end confdefs.h. */
18287 $ac_includes_default
18288 int
18289 main ()
18290 {
18291 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
18292 test_array [0] = 0
18293
18294 ;
18295 return 0;
18296 }
18297 _ACEOF
18298 rm -f conftest.$ac_objext
18299 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18300 (eval $ac_compile) 2>conftest.er1
18301 ac_status=$?
18302 grep -v '^ *+' conftest.er1 >conftest.err
18303 rm -f conftest.er1
18304 cat conftest.err >&5
18305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18306 (exit $ac_status); } &&
18307 { ac_try='test -z "$ac_c_werror_flag"
18308 || test ! -s conftest.err'
18309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18310 (eval $ac_try) 2>&5
18311 ac_status=$?
18312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18313 (exit $ac_status); }; } &&
18314 { ac_try='test -s conftest.$ac_objext'
18315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18316 (eval $ac_try) 2>&5
18317 ac_status=$?
18318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18319 (exit $ac_status); }; }; then
18320 ac_hi=$ac_mid; break
18321 else
18322 echo "$as_me: failed program was:" >&5
18323 sed 's/^/| /' conftest.$ac_ext >&5
18324
18325 ac_lo=`expr $ac_mid + 1`
18326 if test $ac_lo -le $ac_mid; then
18327 ac_lo= ac_hi=
18328 break
18329 fi
18330 ac_mid=`expr 2 '*' $ac_mid + 1`
18331 fi
18332 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18333 done
18334 else
18335 echo "$as_me: failed program was:" >&5
18336 sed 's/^/| /' conftest.$ac_ext >&5
18337
18338 cat >conftest.$ac_ext <<_ACEOF
18339 /* confdefs.h. */
18340 _ACEOF
18341 cat confdefs.h >>conftest.$ac_ext
18342 cat >>conftest.$ac_ext <<_ACEOF
18343 /* end confdefs.h. */
18344 $ac_includes_default
18345 int
18346 main ()
18347 {
18348 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
18349 test_array [0] = 0
18350
18351 ;
18352 return 0;
18353 }
18354 _ACEOF
18355 rm -f conftest.$ac_objext
18356 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18357 (eval $ac_compile) 2>conftest.er1
18358 ac_status=$?
18359 grep -v '^ *+' conftest.er1 >conftest.err
18360 rm -f conftest.er1
18361 cat conftest.err >&5
18362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18363 (exit $ac_status); } &&
18364 { ac_try='test -z "$ac_c_werror_flag"
18365 || test ! -s conftest.err'
18366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18367 (eval $ac_try) 2>&5
18368 ac_status=$?
18369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18370 (exit $ac_status); }; } &&
18371 { ac_try='test -s conftest.$ac_objext'
18372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18373 (eval $ac_try) 2>&5
18374 ac_status=$?
18375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18376 (exit $ac_status); }; }; then
18377 ac_hi=-1 ac_mid=-1
18378 while :; do
18379 cat >conftest.$ac_ext <<_ACEOF
18380 /* confdefs.h. */
18381 _ACEOF
18382 cat confdefs.h >>conftest.$ac_ext
18383 cat >>conftest.$ac_ext <<_ACEOF
18384 /* end confdefs.h. */
18385 $ac_includes_default
18386 int
18387 main ()
18388 {
18389 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
18390 test_array [0] = 0
18391
18392 ;
18393 return 0;
18394 }
18395 _ACEOF
18396 rm -f conftest.$ac_objext
18397 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18398 (eval $ac_compile) 2>conftest.er1
18399 ac_status=$?
18400 grep -v '^ *+' conftest.er1 >conftest.err
18401 rm -f conftest.er1
18402 cat conftest.err >&5
18403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18404 (exit $ac_status); } &&
18405 { ac_try='test -z "$ac_c_werror_flag"
18406 || test ! -s conftest.err'
18407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18408 (eval $ac_try) 2>&5
18409 ac_status=$?
18410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18411 (exit $ac_status); }; } &&
18412 { ac_try='test -s conftest.$ac_objext'
18413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18414 (eval $ac_try) 2>&5
18415 ac_status=$?
18416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18417 (exit $ac_status); }; }; then
18418 ac_lo=$ac_mid; break
18419 else
18420 echo "$as_me: failed program was:" >&5
18421 sed 's/^/| /' conftest.$ac_ext >&5
18422
18423 ac_hi=`expr '(' $ac_mid ')' - 1`
18424 if test $ac_mid -le $ac_hi; then
18425 ac_lo= ac_hi=
18426 break
18427 fi
18428 ac_mid=`expr 2 '*' $ac_mid`
18429 fi
18430 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18431 done
18432 else
18433 echo "$as_me: failed program was:" >&5
18434 sed 's/^/| /' conftest.$ac_ext >&5
18435
18436 ac_lo= ac_hi=
18437 fi
18438 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18439 fi
18440 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18441 # Binary search between lo and hi bounds.
18442 while test "x$ac_lo" != "x$ac_hi"; do
18443 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18444 cat >conftest.$ac_ext <<_ACEOF
18445 /* confdefs.h. */
18446 _ACEOF
18447 cat confdefs.h >>conftest.$ac_ext
18448 cat >>conftest.$ac_ext <<_ACEOF
18449 /* end confdefs.h. */
18450 $ac_includes_default
18451 int
18452 main ()
18453 {
18454 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
18455 test_array [0] = 0
18456
18457 ;
18458 return 0;
18459 }
18460 _ACEOF
18461 rm -f conftest.$ac_objext
18462 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18463 (eval $ac_compile) 2>conftest.er1
18464 ac_status=$?
18465 grep -v '^ *+' conftest.er1 >conftest.err
18466 rm -f conftest.er1
18467 cat conftest.err >&5
18468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18469 (exit $ac_status); } &&
18470 { ac_try='test -z "$ac_c_werror_flag"
18471 || test ! -s conftest.err'
18472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18473 (eval $ac_try) 2>&5
18474 ac_status=$?
18475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18476 (exit $ac_status); }; } &&
18477 { ac_try='test -s conftest.$ac_objext'
18478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18479 (eval $ac_try) 2>&5
18480 ac_status=$?
18481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18482 (exit $ac_status); }; }; then
18483 ac_hi=$ac_mid
18484 else
18485 echo "$as_me: failed program was:" >&5
18486 sed 's/^/| /' conftest.$ac_ext >&5
18487
18488 ac_lo=`expr '(' $ac_mid ')' + 1`
18489 fi
18490 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18491 done
18492 case $ac_lo in
18493 ?*) ac_cv_sizeof_long_long=$ac_lo;;
18494 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
18495 See \`config.log' for more details." >&5
18496 echo "$as_me: error: cannot compute sizeof (long long), 77
18497 See \`config.log' for more details." >&2;}
18498 { (exit 1); exit 1; }; } ;;
18499 esac
18500 else
18501 if test "$cross_compiling" = yes; then
18502 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
18503 See \`config.log' for more details." >&5
18504 echo "$as_me: error: cannot run test program while cross compiling
18505 See \`config.log' for more details." >&2;}
18506 { (exit 1); exit 1; }; }
18507 else
18508 cat >conftest.$ac_ext <<_ACEOF
18509 /* confdefs.h. */
18510 _ACEOF
18511 cat confdefs.h >>conftest.$ac_ext
18512 cat >>conftest.$ac_ext <<_ACEOF
18513 /* end confdefs.h. */
18514 $ac_includes_default
18515 long longval () { return (long) (sizeof (long long)); }
18516 unsigned long ulongval () { return (long) (sizeof (long long)); }
18517 #include <stdio.h>
18518 #include <stdlib.h>
18519 int
18520 main ()
18521 {
18522
18523 FILE *f = fopen ("conftest.val", "w");
18524 if (! f)
18525 exit (1);
18526 if (((long) (sizeof (long long))) < 0)
18527 {
18528 long i = longval ();
18529 if (i != ((long) (sizeof (long long))))
18530 exit (1);
18531 fprintf (f, "%ld\n", i);
18532 }
18533 else
18534 {
18535 unsigned long i = ulongval ();
18536 if (i != ((long) (sizeof (long long))))
18537 exit (1);
18538 fprintf (f, "%lu\n", i);
18539 }
18540 exit (ferror (f) || fclose (f) != 0);
18541
18542 ;
18543 return 0;
18544 }
18545 _ACEOF
18546 rm -f conftest$ac_exeext
18547 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18548 (eval $ac_link) 2>&5
18549 ac_status=$?
18550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18551 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18553 (eval $ac_try) 2>&5
18554 ac_status=$?
18555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18556 (exit $ac_status); }; }; then
18557 ac_cv_sizeof_long_long=`cat conftest.val`
18558 else
18559 echo "$as_me: program exited with status $ac_status" >&5
18560 echo "$as_me: failed program was:" >&5
18561 sed 's/^/| /' conftest.$ac_ext >&5
18562
18563 ( exit $ac_status )
18564 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
18565 See \`config.log' for more details." >&5
18566 echo "$as_me: error: cannot compute sizeof (long long), 77
18567 See \`config.log' for more details." >&2;}
18568 { (exit 1); exit 1; }; }
18569 fi
18570 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18571 fi
18572 fi
18573 rm -f conftest.val
18574 else
18575 ac_cv_sizeof_long_long=0
18576 fi
18577 fi
18578 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
18579 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
18580 cat >>confdefs.h <<_ACEOF
18581 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
18582 _ACEOF
18583
18584
18585 ;;
18586 *-hp-hpux* )
18587 echo "$as_me:$LINENO: checking for long long" >&5
18588 echo $ECHO_N "checking for long long... $ECHO_C" >&6
18589 if test "${ac_cv_type_long_long+set}" = set; then
18590 echo $ECHO_N "(cached) $ECHO_C" >&6
18591 else
18592 cat >conftest.$ac_ext <<_ACEOF
18593 /* confdefs.h. */
18594 _ACEOF
18595 cat confdefs.h >>conftest.$ac_ext
18596 cat >>conftest.$ac_ext <<_ACEOF
18597 /* end confdefs.h. */
18598 $ac_includes_default
18599 int
18600 main ()
18601 {
18602 if ((long long *) 0)
18603 return 0;
18604 if (sizeof (long long))
18605 return 0;
18606 ;
18607 return 0;
18608 }
18609 _ACEOF
18610 rm -f conftest.$ac_objext
18611 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18612 (eval $ac_compile) 2>conftest.er1
18613 ac_status=$?
18614 grep -v '^ *+' conftest.er1 >conftest.err
18615 rm -f conftest.er1
18616 cat conftest.err >&5
18617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18618 (exit $ac_status); } &&
18619 { ac_try='test -z "$ac_c_werror_flag"
18620 || test ! -s conftest.err'
18621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18622 (eval $ac_try) 2>&5
18623 ac_status=$?
18624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18625 (exit $ac_status); }; } &&
18626 { ac_try='test -s conftest.$ac_objext'
18627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18628 (eval $ac_try) 2>&5
18629 ac_status=$?
18630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18631 (exit $ac_status); }; }; then
18632 ac_cv_type_long_long=yes
18633 else
18634 echo "$as_me: failed program was:" >&5
18635 sed 's/^/| /' conftest.$ac_ext >&5
18636
18637 ac_cv_type_long_long=no
18638 fi
18639 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18640 fi
18641 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
18642 echo "${ECHO_T}$ac_cv_type_long_long" >&6
18643
18644 echo "$as_me:$LINENO: checking size of long long" >&5
18645 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
18646 if test "${ac_cv_sizeof_long_long+set}" = set; then
18647 echo $ECHO_N "(cached) $ECHO_C" >&6
18648 else
18649 if test "$ac_cv_type_long_long" = yes; then
18650 # The cast to unsigned long works around a bug in the HP C Compiler
18651 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18652 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18653 # This bug is HP SR number 8606223364.
18654 if test "$cross_compiling" = yes; then
18655 # Depending upon the size, compute the lo and hi bounds.
18656 cat >conftest.$ac_ext <<_ACEOF
18657 /* confdefs.h. */
18658 _ACEOF
18659 cat confdefs.h >>conftest.$ac_ext
18660 cat >>conftest.$ac_ext <<_ACEOF
18661 /* end confdefs.h. */
18662 $ac_includes_default
18663 int
18664 main ()
18665 {
18666 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
18667 test_array [0] = 0
18668
18669 ;
18670 return 0;
18671 }
18672 _ACEOF
18673 rm -f conftest.$ac_objext
18674 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18675 (eval $ac_compile) 2>conftest.er1
18676 ac_status=$?
18677 grep -v '^ *+' conftest.er1 >conftest.err
18678 rm -f conftest.er1
18679 cat conftest.err >&5
18680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18681 (exit $ac_status); } &&
18682 { ac_try='test -z "$ac_c_werror_flag"
18683 || test ! -s conftest.err'
18684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18685 (eval $ac_try) 2>&5
18686 ac_status=$?
18687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18688 (exit $ac_status); }; } &&
18689 { ac_try='test -s conftest.$ac_objext'
18690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18691 (eval $ac_try) 2>&5
18692 ac_status=$?
18693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18694 (exit $ac_status); }; }; then
18695 ac_lo=0 ac_mid=0
18696 while :; do
18697 cat >conftest.$ac_ext <<_ACEOF
18698 /* confdefs.h. */
18699 _ACEOF
18700 cat confdefs.h >>conftest.$ac_ext
18701 cat >>conftest.$ac_ext <<_ACEOF
18702 /* end confdefs.h. */
18703 $ac_includes_default
18704 int
18705 main ()
18706 {
18707 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
18708 test_array [0] = 0
18709
18710 ;
18711 return 0;
18712 }
18713 _ACEOF
18714 rm -f conftest.$ac_objext
18715 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18716 (eval $ac_compile) 2>conftest.er1
18717 ac_status=$?
18718 grep -v '^ *+' conftest.er1 >conftest.err
18719 rm -f conftest.er1
18720 cat conftest.err >&5
18721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18722 (exit $ac_status); } &&
18723 { ac_try='test -z "$ac_c_werror_flag"
18724 || test ! -s conftest.err'
18725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18726 (eval $ac_try) 2>&5
18727 ac_status=$?
18728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18729 (exit $ac_status); }; } &&
18730 { ac_try='test -s conftest.$ac_objext'
18731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18732 (eval $ac_try) 2>&5
18733 ac_status=$?
18734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18735 (exit $ac_status); }; }; then
18736 ac_hi=$ac_mid; break
18737 else
18738 echo "$as_me: failed program was:" >&5
18739 sed 's/^/| /' conftest.$ac_ext >&5
18740
18741 ac_lo=`expr $ac_mid + 1`
18742 if test $ac_lo -le $ac_mid; then
18743 ac_lo= ac_hi=
18744 break
18745 fi
18746 ac_mid=`expr 2 '*' $ac_mid + 1`
18747 fi
18748 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18749 done
18750 else
18751 echo "$as_me: failed program was:" >&5
18752 sed 's/^/| /' conftest.$ac_ext >&5
18753
18754 cat >conftest.$ac_ext <<_ACEOF
18755 /* confdefs.h. */
18756 _ACEOF
18757 cat confdefs.h >>conftest.$ac_ext
18758 cat >>conftest.$ac_ext <<_ACEOF
18759 /* end confdefs.h. */
18760 $ac_includes_default
18761 int
18762 main ()
18763 {
18764 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
18765 test_array [0] = 0
18766
18767 ;
18768 return 0;
18769 }
18770 _ACEOF
18771 rm -f conftest.$ac_objext
18772 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18773 (eval $ac_compile) 2>conftest.er1
18774 ac_status=$?
18775 grep -v '^ *+' conftest.er1 >conftest.err
18776 rm -f conftest.er1
18777 cat conftest.err >&5
18778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18779 (exit $ac_status); } &&
18780 { ac_try='test -z "$ac_c_werror_flag"
18781 || test ! -s conftest.err'
18782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18783 (eval $ac_try) 2>&5
18784 ac_status=$?
18785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18786 (exit $ac_status); }; } &&
18787 { ac_try='test -s conftest.$ac_objext'
18788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18789 (eval $ac_try) 2>&5
18790 ac_status=$?
18791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18792 (exit $ac_status); }; }; then
18793 ac_hi=-1 ac_mid=-1
18794 while :; do
18795 cat >conftest.$ac_ext <<_ACEOF
18796 /* confdefs.h. */
18797 _ACEOF
18798 cat confdefs.h >>conftest.$ac_ext
18799 cat >>conftest.$ac_ext <<_ACEOF
18800 /* end confdefs.h. */
18801 $ac_includes_default
18802 int
18803 main ()
18804 {
18805 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
18806 test_array [0] = 0
18807
18808 ;
18809 return 0;
18810 }
18811 _ACEOF
18812 rm -f conftest.$ac_objext
18813 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18814 (eval $ac_compile) 2>conftest.er1
18815 ac_status=$?
18816 grep -v '^ *+' conftest.er1 >conftest.err
18817 rm -f conftest.er1
18818 cat conftest.err >&5
18819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18820 (exit $ac_status); } &&
18821 { ac_try='test -z "$ac_c_werror_flag"
18822 || test ! -s conftest.err'
18823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18824 (eval $ac_try) 2>&5
18825 ac_status=$?
18826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18827 (exit $ac_status); }; } &&
18828 { ac_try='test -s conftest.$ac_objext'
18829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18830 (eval $ac_try) 2>&5
18831 ac_status=$?
18832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18833 (exit $ac_status); }; }; then
18834 ac_lo=$ac_mid; break
18835 else
18836 echo "$as_me: failed program was:" >&5
18837 sed 's/^/| /' conftest.$ac_ext >&5
18838
18839 ac_hi=`expr '(' $ac_mid ')' - 1`
18840 if test $ac_mid -le $ac_hi; then
18841 ac_lo= ac_hi=
18842 break
18843 fi
18844 ac_mid=`expr 2 '*' $ac_mid`
18845 fi
18846 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18847 done
18848 else
18849 echo "$as_me: failed program was:" >&5
18850 sed 's/^/| /' conftest.$ac_ext >&5
18851
18852 ac_lo= ac_hi=
18853 fi
18854 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18855 fi
18856 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18857 # Binary search between lo and hi bounds.
18858 while test "x$ac_lo" != "x$ac_hi"; do
18859 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18860 cat >conftest.$ac_ext <<_ACEOF
18861 /* confdefs.h. */
18862 _ACEOF
18863 cat confdefs.h >>conftest.$ac_ext
18864 cat >>conftest.$ac_ext <<_ACEOF
18865 /* end confdefs.h. */
18866 $ac_includes_default
18867 int
18868 main ()
18869 {
18870 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
18871 test_array [0] = 0
18872
18873 ;
18874 return 0;
18875 }
18876 _ACEOF
18877 rm -f conftest.$ac_objext
18878 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18879 (eval $ac_compile) 2>conftest.er1
18880 ac_status=$?
18881 grep -v '^ *+' conftest.er1 >conftest.err
18882 rm -f conftest.er1
18883 cat conftest.err >&5
18884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18885 (exit $ac_status); } &&
18886 { ac_try='test -z "$ac_c_werror_flag"
18887 || test ! -s conftest.err'
18888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18889 (eval $ac_try) 2>&5
18890 ac_status=$?
18891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18892 (exit $ac_status); }; } &&
18893 { ac_try='test -s conftest.$ac_objext'
18894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18895 (eval $ac_try) 2>&5
18896 ac_status=$?
18897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18898 (exit $ac_status); }; }; then
18899 ac_hi=$ac_mid
18900 else
18901 echo "$as_me: failed program was:" >&5
18902 sed 's/^/| /' conftest.$ac_ext >&5
18903
18904 ac_lo=`expr '(' $ac_mid ')' + 1`
18905 fi
18906 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18907 done
18908 case $ac_lo in
18909 ?*) ac_cv_sizeof_long_long=$ac_lo;;
18910 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
18911 See \`config.log' for more details." >&5
18912 echo "$as_me: error: cannot compute sizeof (long long), 77
18913 See \`config.log' for more details." >&2;}
18914 { (exit 1); exit 1; }; } ;;
18915 esac
18916 else
18917 if test "$cross_compiling" = yes; then
18918 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
18919 See \`config.log' for more details." >&5
18920 echo "$as_me: error: cannot run test program while cross compiling
18921 See \`config.log' for more details." >&2;}
18922 { (exit 1); exit 1; }; }
18923 else
18924 cat >conftest.$ac_ext <<_ACEOF
18925 /* confdefs.h. */
18926 _ACEOF
18927 cat confdefs.h >>conftest.$ac_ext
18928 cat >>conftest.$ac_ext <<_ACEOF
18929 /* end confdefs.h. */
18930 $ac_includes_default
18931 long longval () { return (long) (sizeof (long long)); }
18932 unsigned long ulongval () { return (long) (sizeof (long long)); }
18933 #include <stdio.h>
18934 #include <stdlib.h>
18935 int
18936 main ()
18937 {
18938
18939 FILE *f = fopen ("conftest.val", "w");
18940 if (! f)
18941 exit (1);
18942 if (((long) (sizeof (long long))) < 0)
18943 {
18944 long i = longval ();
18945 if (i != ((long) (sizeof (long long))))
18946 exit (1);
18947 fprintf (f, "%ld\n", i);
18948 }
18949 else
18950 {
18951 unsigned long i = ulongval ();
18952 if (i != ((long) (sizeof (long long))))
18953 exit (1);
18954 fprintf (f, "%lu\n", i);
18955 }
18956 exit (ferror (f) || fclose (f) != 0);
18957
18958 ;
18959 return 0;
18960 }
18961 _ACEOF
18962 rm -f conftest$ac_exeext
18963 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18964 (eval $ac_link) 2>&5
18965 ac_status=$?
18966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18967 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18969 (eval $ac_try) 2>&5
18970 ac_status=$?
18971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18972 (exit $ac_status); }; }; then
18973 ac_cv_sizeof_long_long=`cat conftest.val`
18974 else
18975 echo "$as_me: program exited with status $ac_status" >&5
18976 echo "$as_me: failed program was:" >&5
18977 sed 's/^/| /' conftest.$ac_ext >&5
18978
18979 ( exit $ac_status )
18980 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
18981 See \`config.log' for more details." >&5
18982 echo "$as_me: error: cannot compute sizeof (long long), 77
18983 See \`config.log' for more details." >&2;}
18984 { (exit 1); exit 1; }; }
18985 fi
18986 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18987 fi
18988 fi
18989 rm -f conftest.val
18990 else
18991 ac_cv_sizeof_long_long=0
18992 fi
18993 fi
18994 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
18995 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
18996 cat >>confdefs.h <<_ACEOF
18997 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
18998 _ACEOF
18999
19000
19001 if test "$ac_cv_sizeof_long_long" != "0"; then
19002 CPPFLAGS="$CPPFLAGS -D_INCLUDE_LONGLONG"
19003 fi
19004 ;;
19005 * )
19006 echo "$as_me:$LINENO: checking for long long" >&5
19007 echo $ECHO_N "checking for long long... $ECHO_C" >&6
19008 if test "${ac_cv_type_long_long+set}" = set; then
19009 echo $ECHO_N "(cached) $ECHO_C" >&6
19010 else
19011 cat >conftest.$ac_ext <<_ACEOF
19012 /* confdefs.h. */
19013 _ACEOF
19014 cat confdefs.h >>conftest.$ac_ext
19015 cat >>conftest.$ac_ext <<_ACEOF
19016 /* end confdefs.h. */
19017 $ac_includes_default
19018 int
19019 main ()
19020 {
19021 if ((long long *) 0)
19022 return 0;
19023 if (sizeof (long long))
19024 return 0;
19025 ;
19026 return 0;
19027 }
19028 _ACEOF
19029 rm -f conftest.$ac_objext
19030 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19031 (eval $ac_compile) 2>conftest.er1
19032 ac_status=$?
19033 grep -v '^ *+' conftest.er1 >conftest.err
19034 rm -f conftest.er1
19035 cat conftest.err >&5
19036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19037 (exit $ac_status); } &&
19038 { ac_try='test -z "$ac_c_werror_flag"
19039 || test ! -s conftest.err'
19040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19041 (eval $ac_try) 2>&5
19042 ac_status=$?
19043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19044 (exit $ac_status); }; } &&
19045 { ac_try='test -s conftest.$ac_objext'
19046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19047 (eval $ac_try) 2>&5
19048 ac_status=$?
19049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19050 (exit $ac_status); }; }; then
19051 ac_cv_type_long_long=yes
19052 else
19053 echo "$as_me: failed program was:" >&5
19054 sed 's/^/| /' conftest.$ac_ext >&5
19055
19056 ac_cv_type_long_long=no
19057 fi
19058 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19059 fi
19060 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
19061 echo "${ECHO_T}$ac_cv_type_long_long" >&6
19062
19063 echo "$as_me:$LINENO: checking size of long long" >&5
19064 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
19065 if test "${ac_cv_sizeof_long_long+set}" = set; then
19066 echo $ECHO_N "(cached) $ECHO_C" >&6
19067 else
19068 if test "$ac_cv_type_long_long" = yes; then
19069 # The cast to unsigned long works around a bug in the HP C Compiler
19070 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19071 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19072 # This bug is HP SR number 8606223364.
19073 if test "$cross_compiling" = yes; then
19074 # Depending upon the size, compute the lo and hi bounds.
19075 cat >conftest.$ac_ext <<_ACEOF
19076 /* confdefs.h. */
19077 _ACEOF
19078 cat confdefs.h >>conftest.$ac_ext
19079 cat >>conftest.$ac_ext <<_ACEOF
19080 /* end confdefs.h. */
19081 $ac_includes_default
19082 int
19083 main ()
19084 {
19085 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
19086 test_array [0] = 0
19087
19088 ;
19089 return 0;
19090 }
19091 _ACEOF
19092 rm -f conftest.$ac_objext
19093 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19094 (eval $ac_compile) 2>conftest.er1
19095 ac_status=$?
19096 grep -v '^ *+' conftest.er1 >conftest.err
19097 rm -f conftest.er1
19098 cat conftest.err >&5
19099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19100 (exit $ac_status); } &&
19101 { ac_try='test -z "$ac_c_werror_flag"
19102 || test ! -s conftest.err'
19103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19104 (eval $ac_try) 2>&5
19105 ac_status=$?
19106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19107 (exit $ac_status); }; } &&
19108 { ac_try='test -s conftest.$ac_objext'
19109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19110 (eval $ac_try) 2>&5
19111 ac_status=$?
19112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19113 (exit $ac_status); }; }; then
19114 ac_lo=0 ac_mid=0
19115 while :; do
19116 cat >conftest.$ac_ext <<_ACEOF
19117 /* confdefs.h. */
19118 _ACEOF
19119 cat confdefs.h >>conftest.$ac_ext
19120 cat >>conftest.$ac_ext <<_ACEOF
19121 /* end confdefs.h. */
19122 $ac_includes_default
19123 int
19124 main ()
19125 {
19126 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
19127 test_array [0] = 0
19128
19129 ;
19130 return 0;
19131 }
19132 _ACEOF
19133 rm -f conftest.$ac_objext
19134 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19135 (eval $ac_compile) 2>conftest.er1
19136 ac_status=$?
19137 grep -v '^ *+' conftest.er1 >conftest.err
19138 rm -f conftest.er1
19139 cat conftest.err >&5
19140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19141 (exit $ac_status); } &&
19142 { ac_try='test -z "$ac_c_werror_flag"
19143 || test ! -s conftest.err'
19144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19145 (eval $ac_try) 2>&5
19146 ac_status=$?
19147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19148 (exit $ac_status); }; } &&
19149 { ac_try='test -s conftest.$ac_objext'
19150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19151 (eval $ac_try) 2>&5
19152 ac_status=$?
19153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19154 (exit $ac_status); }; }; then
19155 ac_hi=$ac_mid; break
19156 else
19157 echo "$as_me: failed program was:" >&5
19158 sed 's/^/| /' conftest.$ac_ext >&5
19159
19160 ac_lo=`expr $ac_mid + 1`
19161 if test $ac_lo -le $ac_mid; then
19162 ac_lo= ac_hi=
19163 break
19164 fi
19165 ac_mid=`expr 2 '*' $ac_mid + 1`
19166 fi
19167 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19168 done
19169 else
19170 echo "$as_me: failed program was:" >&5
19171 sed 's/^/| /' conftest.$ac_ext >&5
19172
19173 cat >conftest.$ac_ext <<_ACEOF
19174 /* confdefs.h. */
19175 _ACEOF
19176 cat confdefs.h >>conftest.$ac_ext
19177 cat >>conftest.$ac_ext <<_ACEOF
19178 /* end confdefs.h. */
19179 $ac_includes_default
19180 int
19181 main ()
19182 {
19183 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
19184 test_array [0] = 0
19185
19186 ;
19187 return 0;
19188 }
19189 _ACEOF
19190 rm -f conftest.$ac_objext
19191 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19192 (eval $ac_compile) 2>conftest.er1
19193 ac_status=$?
19194 grep -v '^ *+' conftest.er1 >conftest.err
19195 rm -f conftest.er1
19196 cat conftest.err >&5
19197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19198 (exit $ac_status); } &&
19199 { ac_try='test -z "$ac_c_werror_flag"
19200 || test ! -s conftest.err'
19201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19202 (eval $ac_try) 2>&5
19203 ac_status=$?
19204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19205 (exit $ac_status); }; } &&
19206 { ac_try='test -s conftest.$ac_objext'
19207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19208 (eval $ac_try) 2>&5
19209 ac_status=$?
19210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19211 (exit $ac_status); }; }; then
19212 ac_hi=-1 ac_mid=-1
19213 while :; do
19214 cat >conftest.$ac_ext <<_ACEOF
19215 /* confdefs.h. */
19216 _ACEOF
19217 cat confdefs.h >>conftest.$ac_ext
19218 cat >>conftest.$ac_ext <<_ACEOF
19219 /* end confdefs.h. */
19220 $ac_includes_default
19221 int
19222 main ()
19223 {
19224 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
19225 test_array [0] = 0
19226
19227 ;
19228 return 0;
19229 }
19230 _ACEOF
19231 rm -f conftest.$ac_objext
19232 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19233 (eval $ac_compile) 2>conftest.er1
19234 ac_status=$?
19235 grep -v '^ *+' conftest.er1 >conftest.err
19236 rm -f conftest.er1
19237 cat conftest.err >&5
19238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19239 (exit $ac_status); } &&
19240 { ac_try='test -z "$ac_c_werror_flag"
19241 || test ! -s conftest.err'
19242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19243 (eval $ac_try) 2>&5
19244 ac_status=$?
19245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19246 (exit $ac_status); }; } &&
19247 { ac_try='test -s conftest.$ac_objext'
19248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19249 (eval $ac_try) 2>&5
19250 ac_status=$?
19251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19252 (exit $ac_status); }; }; then
19253 ac_lo=$ac_mid; break
19254 else
19255 echo "$as_me: failed program was:" >&5
19256 sed 's/^/| /' conftest.$ac_ext >&5
19257
19258 ac_hi=`expr '(' $ac_mid ')' - 1`
19259 if test $ac_mid -le $ac_hi; then
19260 ac_lo= ac_hi=
19261 break
19262 fi
19263 ac_mid=`expr 2 '*' $ac_mid`
19264 fi
19265 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19266 done
19267 else
19268 echo "$as_me: failed program was:" >&5
19269 sed 's/^/| /' conftest.$ac_ext >&5
19270
19271 ac_lo= ac_hi=
19272 fi
19273 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19274 fi
19275 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19276 # Binary search between lo and hi bounds.
19277 while test "x$ac_lo" != "x$ac_hi"; do
19278 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19279 cat >conftest.$ac_ext <<_ACEOF
19280 /* confdefs.h. */
19281 _ACEOF
19282 cat confdefs.h >>conftest.$ac_ext
19283 cat >>conftest.$ac_ext <<_ACEOF
19284 /* end confdefs.h. */
19285 $ac_includes_default
19286 int
19287 main ()
19288 {
19289 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
19290 test_array [0] = 0
19291
19292 ;
19293 return 0;
19294 }
19295 _ACEOF
19296 rm -f conftest.$ac_objext
19297 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19298 (eval $ac_compile) 2>conftest.er1
19299 ac_status=$?
19300 grep -v '^ *+' conftest.er1 >conftest.err
19301 rm -f conftest.er1
19302 cat conftest.err >&5
19303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19304 (exit $ac_status); } &&
19305 { ac_try='test -z "$ac_c_werror_flag"
19306 || test ! -s conftest.err'
19307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19308 (eval $ac_try) 2>&5
19309 ac_status=$?
19310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19311 (exit $ac_status); }; } &&
19312 { ac_try='test -s conftest.$ac_objext'
19313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19314 (eval $ac_try) 2>&5
19315 ac_status=$?
19316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19317 (exit $ac_status); }; }; then
19318 ac_hi=$ac_mid
19319 else
19320 echo "$as_me: failed program was:" >&5
19321 sed 's/^/| /' conftest.$ac_ext >&5
19322
19323 ac_lo=`expr '(' $ac_mid ')' + 1`
19324 fi
19325 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19326 done
19327 case $ac_lo in
19328 ?*) ac_cv_sizeof_long_long=$ac_lo;;
19329 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
19330 See \`config.log' for more details." >&5
19331 echo "$as_me: error: cannot compute sizeof (long long), 77
19332 See \`config.log' for more details." >&2;}
19333 { (exit 1); exit 1; }; } ;;
19334 esac
19335 else
19336 if test "$cross_compiling" = yes; then
19337 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
19338 See \`config.log' for more details." >&5
19339 echo "$as_me: error: cannot run test program while cross compiling
19340 See \`config.log' for more details." >&2;}
19341 { (exit 1); exit 1; }; }
19342 else
19343 cat >conftest.$ac_ext <<_ACEOF
19344 /* confdefs.h. */
19345 _ACEOF
19346 cat confdefs.h >>conftest.$ac_ext
19347 cat >>conftest.$ac_ext <<_ACEOF
19348 /* end confdefs.h. */
19349 $ac_includes_default
19350 long longval () { return (long) (sizeof (long long)); }
19351 unsigned long ulongval () { return (long) (sizeof (long long)); }
19352 #include <stdio.h>
19353 #include <stdlib.h>
19354 int
19355 main ()
19356 {
19357
19358 FILE *f = fopen ("conftest.val", "w");
19359 if (! f)
19360 exit (1);
19361 if (((long) (sizeof (long long))) < 0)
19362 {
19363 long i = longval ();
19364 if (i != ((long) (sizeof (long long))))
19365 exit (1);
19366 fprintf (f, "%ld\n", i);
19367 }
19368 else
19369 {
19370 unsigned long i = ulongval ();
19371 if (i != ((long) (sizeof (long long))))
19372 exit (1);
19373 fprintf (f, "%lu\n", i);
19374 }
19375 exit (ferror (f) || fclose (f) != 0);
19376
19377 ;
19378 return 0;
19379 }
19380 _ACEOF
19381 rm -f conftest$ac_exeext
19382 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19383 (eval $ac_link) 2>&5
19384 ac_status=$?
19385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19386 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19388 (eval $ac_try) 2>&5
19389 ac_status=$?
19390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19391 (exit $ac_status); }; }; then
19392 ac_cv_sizeof_long_long=`cat conftest.val`
19393 else
19394 echo "$as_me: program exited with status $ac_status" >&5
19395 echo "$as_me: failed program was:" >&5
19396 sed 's/^/| /' conftest.$ac_ext >&5
19397
19398 ( exit $ac_status )
19399 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
19400 See \`config.log' for more details." >&5
19401 echo "$as_me: error: cannot compute sizeof (long long), 77
19402 See \`config.log' for more details." >&2;}
19403 { (exit 1); exit 1; }; }
19404 fi
19405 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19406 fi
19407 fi
19408 rm -f conftest.val
19409 else
19410 ac_cv_sizeof_long_long=0
19411 fi
19412 fi
19413 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
19414 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
19415 cat >>confdefs.h <<_ACEOF
19416 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
19417 _ACEOF
19418
19419
19420 esac
19421
19422 echo "$as_me:$LINENO: checking for wchar_t" >&5
19423 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6
19424 if test "${ac_cv_type_wchar_t+set}" = set; then
19425 echo $ECHO_N "(cached) $ECHO_C" >&6
19426 else
19427 cat >conftest.$ac_ext <<_ACEOF
19428 /* confdefs.h. */
19429 _ACEOF
19430 cat confdefs.h >>conftest.$ac_ext
19431 cat >>conftest.$ac_ext <<_ACEOF
19432 /* end confdefs.h. */
19433
19434 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
19435 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
19436 # error "fake wchar_t"
19437 #endif
19438 #ifdef HAVE_WCHAR_H
19439 # ifdef __CYGWIN__
19440 # include <stddef.h>
19441 # endif
19442 # include <wchar.h>
19443 #endif
19444 #ifdef HAVE_STDLIB_H
19445 # include <stdlib.h>
19446 #endif
19447 #include <stdio.h>
19448
19449
19450
19451 int
19452 main ()
19453 {
19454 if ((wchar_t *) 0)
19455 return 0;
19456 if (sizeof (wchar_t))
19457 return 0;
19458 ;
19459 return 0;
19460 }
19461 _ACEOF
19462 rm -f conftest.$ac_objext
19463 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19464 (eval $ac_compile) 2>conftest.er1
19465 ac_status=$?
19466 grep -v '^ *+' conftest.er1 >conftest.err
19467 rm -f conftest.er1
19468 cat conftest.err >&5
19469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19470 (exit $ac_status); } &&
19471 { ac_try='test -z "$ac_c_werror_flag"
19472 || test ! -s conftest.err'
19473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19474 (eval $ac_try) 2>&5
19475 ac_status=$?
19476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19477 (exit $ac_status); }; } &&
19478 { ac_try='test -s conftest.$ac_objext'
19479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19480 (eval $ac_try) 2>&5
19481 ac_status=$?
19482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19483 (exit $ac_status); }; }; then
19484 ac_cv_type_wchar_t=yes
19485 else
19486 echo "$as_me: failed program was:" >&5
19487 sed 's/^/| /' conftest.$ac_ext >&5
19488
19489 ac_cv_type_wchar_t=no
19490 fi
19491 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19492 fi
19493 echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
19494 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6
19495
19496 echo "$as_me:$LINENO: checking size of wchar_t" >&5
19497 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
19498 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
19499 echo $ECHO_N "(cached) $ECHO_C" >&6
19500 else
19501 if test "$ac_cv_type_wchar_t" = yes; then
19502 # The cast to unsigned long works around a bug in the HP C Compiler
19503 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19504 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19505 # This bug is HP SR number 8606223364.
19506 if test "$cross_compiling" = yes; then
19507 # Depending upon the size, compute the lo and hi bounds.
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
19515 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
19516 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
19517 # error "fake wchar_t"
19518 #endif
19519 #ifdef HAVE_WCHAR_H
19520 # ifdef __CYGWIN__
19521 # include <stddef.h>
19522 # endif
19523 # include <wchar.h>
19524 #endif
19525 #ifdef HAVE_STDLIB_H
19526 # include <stdlib.h>
19527 #endif
19528 #include <stdio.h>
19529
19530
19531
19532 int
19533 main ()
19534 {
19535 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= 0)];
19536 test_array [0] = 0
19537
19538 ;
19539 return 0;
19540 }
19541 _ACEOF
19542 rm -f conftest.$ac_objext
19543 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19544 (eval $ac_compile) 2>conftest.er1
19545 ac_status=$?
19546 grep -v '^ *+' conftest.er1 >conftest.err
19547 rm -f conftest.er1
19548 cat conftest.err >&5
19549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19550 (exit $ac_status); } &&
19551 { ac_try='test -z "$ac_c_werror_flag"
19552 || test ! -s conftest.err'
19553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19554 (eval $ac_try) 2>&5
19555 ac_status=$?
19556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19557 (exit $ac_status); }; } &&
19558 { ac_try='test -s conftest.$ac_objext'
19559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19560 (eval $ac_try) 2>&5
19561 ac_status=$?
19562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19563 (exit $ac_status); }; }; then
19564 ac_lo=0 ac_mid=0
19565 while :; do
19566 cat >conftest.$ac_ext <<_ACEOF
19567 /* confdefs.h. */
19568 _ACEOF
19569 cat confdefs.h >>conftest.$ac_ext
19570 cat >>conftest.$ac_ext <<_ACEOF
19571 /* end confdefs.h. */
19572
19573 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
19574 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
19575 # error "fake wchar_t"
19576 #endif
19577 #ifdef HAVE_WCHAR_H
19578 # ifdef __CYGWIN__
19579 # include <stddef.h>
19580 # endif
19581 # include <wchar.h>
19582 #endif
19583 #ifdef HAVE_STDLIB_H
19584 # include <stdlib.h>
19585 #endif
19586 #include <stdio.h>
19587
19588
19589
19590 int
19591 main ()
19592 {
19593 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
19594 test_array [0] = 0
19595
19596 ;
19597 return 0;
19598 }
19599 _ACEOF
19600 rm -f conftest.$ac_objext
19601 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19602 (eval $ac_compile) 2>conftest.er1
19603 ac_status=$?
19604 grep -v '^ *+' conftest.er1 >conftest.err
19605 rm -f conftest.er1
19606 cat conftest.err >&5
19607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19608 (exit $ac_status); } &&
19609 { ac_try='test -z "$ac_c_werror_flag"
19610 || test ! -s conftest.err'
19611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19612 (eval $ac_try) 2>&5
19613 ac_status=$?
19614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19615 (exit $ac_status); }; } &&
19616 { ac_try='test -s conftest.$ac_objext'
19617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19618 (eval $ac_try) 2>&5
19619 ac_status=$?
19620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19621 (exit $ac_status); }; }; then
19622 ac_hi=$ac_mid; break
19623 else
19624 echo "$as_me: failed program was:" >&5
19625 sed 's/^/| /' conftest.$ac_ext >&5
19626
19627 ac_lo=`expr $ac_mid + 1`
19628 if test $ac_lo -le $ac_mid; then
19629 ac_lo= ac_hi=
19630 break
19631 fi
19632 ac_mid=`expr 2 '*' $ac_mid + 1`
19633 fi
19634 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19635 done
19636 else
19637 echo "$as_me: failed program was:" >&5
19638 sed 's/^/| /' conftest.$ac_ext >&5
19639
19640 cat >conftest.$ac_ext <<_ACEOF
19641 /* confdefs.h. */
19642 _ACEOF
19643 cat confdefs.h >>conftest.$ac_ext
19644 cat >>conftest.$ac_ext <<_ACEOF
19645 /* end confdefs.h. */
19646
19647 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
19648 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
19649 # error "fake wchar_t"
19650 #endif
19651 #ifdef HAVE_WCHAR_H
19652 # ifdef __CYGWIN__
19653 # include <stddef.h>
19654 # endif
19655 # include <wchar.h>
19656 #endif
19657 #ifdef HAVE_STDLIB_H
19658 # include <stdlib.h>
19659 #endif
19660 #include <stdio.h>
19661
19662
19663
19664 int
19665 main ()
19666 {
19667 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) < 0)];
19668 test_array [0] = 0
19669
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_hi=-1 ac_mid=-1
19697 while :; do
19698 cat >conftest.$ac_ext <<_ACEOF
19699 /* confdefs.h. */
19700 _ACEOF
19701 cat confdefs.h >>conftest.$ac_ext
19702 cat >>conftest.$ac_ext <<_ACEOF
19703 /* end confdefs.h. */
19704
19705 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
19706 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
19707 # error "fake wchar_t"
19708 #endif
19709 #ifdef HAVE_WCHAR_H
19710 # ifdef __CYGWIN__
19711 # include <stddef.h>
19712 # endif
19713 # include <wchar.h>
19714 #endif
19715 #ifdef HAVE_STDLIB_H
19716 # include <stdlib.h>
19717 #endif
19718 #include <stdio.h>
19719
19720
19721
19722 int
19723 main ()
19724 {
19725 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= $ac_mid)];
19726 test_array [0] = 0
19727
19728 ;
19729 return 0;
19730 }
19731 _ACEOF
19732 rm -f conftest.$ac_objext
19733 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19734 (eval $ac_compile) 2>conftest.er1
19735 ac_status=$?
19736 grep -v '^ *+' conftest.er1 >conftest.err
19737 rm -f conftest.er1
19738 cat conftest.err >&5
19739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19740 (exit $ac_status); } &&
19741 { ac_try='test -z "$ac_c_werror_flag"
19742 || test ! -s conftest.err'
19743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19744 (eval $ac_try) 2>&5
19745 ac_status=$?
19746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19747 (exit $ac_status); }; } &&
19748 { ac_try='test -s conftest.$ac_objext'
19749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19750 (eval $ac_try) 2>&5
19751 ac_status=$?
19752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19753 (exit $ac_status); }; }; then
19754 ac_lo=$ac_mid; break
19755 else
19756 echo "$as_me: failed program was:" >&5
19757 sed 's/^/| /' conftest.$ac_ext >&5
19758
19759 ac_hi=`expr '(' $ac_mid ')' - 1`
19760 if test $ac_mid -le $ac_hi; then
19761 ac_lo= ac_hi=
19762 break
19763 fi
19764 ac_mid=`expr 2 '*' $ac_mid`
19765 fi
19766 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19767 done
19768 else
19769 echo "$as_me: failed program was:" >&5
19770 sed 's/^/| /' conftest.$ac_ext >&5
19771
19772 ac_lo= ac_hi=
19773 fi
19774 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19775 fi
19776 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19777 # Binary search between lo and hi bounds.
19778 while test "x$ac_lo" != "x$ac_hi"; do
19779 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19780 cat >conftest.$ac_ext <<_ACEOF
19781 /* confdefs.h. */
19782 _ACEOF
19783 cat confdefs.h >>conftest.$ac_ext
19784 cat >>conftest.$ac_ext <<_ACEOF
19785 /* end confdefs.h. */
19786
19787 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
19788 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
19789 # error "fake wchar_t"
19790 #endif
19791 #ifdef HAVE_WCHAR_H
19792 # ifdef __CYGWIN__
19793 # include <stddef.h>
19794 # endif
19795 # include <wchar.h>
19796 #endif
19797 #ifdef HAVE_STDLIB_H
19798 # include <stdlib.h>
19799 #endif
19800 #include <stdio.h>
19801
19802
19803
19804 int
19805 main ()
19806 {
19807 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
19808 test_array [0] = 0
19809
19810 ;
19811 return 0;
19812 }
19813 _ACEOF
19814 rm -f conftest.$ac_objext
19815 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19816 (eval $ac_compile) 2>conftest.er1
19817 ac_status=$?
19818 grep -v '^ *+' conftest.er1 >conftest.err
19819 rm -f conftest.er1
19820 cat conftest.err >&5
19821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19822 (exit $ac_status); } &&
19823 { ac_try='test -z "$ac_c_werror_flag"
19824 || test ! -s conftest.err'
19825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19826 (eval $ac_try) 2>&5
19827 ac_status=$?
19828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19829 (exit $ac_status); }; } &&
19830 { ac_try='test -s conftest.$ac_objext'
19831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19832 (eval $ac_try) 2>&5
19833 ac_status=$?
19834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19835 (exit $ac_status); }; }; then
19836 ac_hi=$ac_mid
19837 else
19838 echo "$as_me: failed program was:" >&5
19839 sed 's/^/| /' conftest.$ac_ext >&5
19840
19841 ac_lo=`expr '(' $ac_mid ')' + 1`
19842 fi
19843 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19844 done
19845 case $ac_lo in
19846 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
19847 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
19848 See \`config.log' for more details." >&5
19849 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
19850 See \`config.log' for more details." >&2;}
19851 { (exit 1); exit 1; }; } ;;
19852 esac
19853 else
19854 if test "$cross_compiling" = yes; then
19855 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
19856 See \`config.log' for more details." >&5
19857 echo "$as_me: error: cannot run test program while cross compiling
19858 See \`config.log' for more details." >&2;}
19859 { (exit 1); exit 1; }; }
19860 else
19861 cat >conftest.$ac_ext <<_ACEOF
19862 /* confdefs.h. */
19863 _ACEOF
19864 cat confdefs.h >>conftest.$ac_ext
19865 cat >>conftest.$ac_ext <<_ACEOF
19866 /* end confdefs.h. */
19867
19868 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
19869 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
19870 # error "fake wchar_t"
19871 #endif
19872 #ifdef HAVE_WCHAR_H
19873 # ifdef __CYGWIN__
19874 # include <stddef.h>
19875 # endif
19876 # include <wchar.h>
19877 #endif
19878 #ifdef HAVE_STDLIB_H
19879 # include <stdlib.h>
19880 #endif
19881 #include <stdio.h>
19882
19883
19884
19885 long longval () { return (long) (sizeof (wchar_t)); }
19886 unsigned long ulongval () { return (long) (sizeof (wchar_t)); }
19887 #include <stdio.h>
19888 #include <stdlib.h>
19889 int
19890 main ()
19891 {
19892
19893 FILE *f = fopen ("conftest.val", "w");
19894 if (! f)
19895 exit (1);
19896 if (((long) (sizeof (wchar_t))) < 0)
19897 {
19898 long i = longval ();
19899 if (i != ((long) (sizeof (wchar_t))))
19900 exit (1);
19901 fprintf (f, "%ld\n", i);
19902 }
19903 else
19904 {
19905 unsigned long i = ulongval ();
19906 if (i != ((long) (sizeof (wchar_t))))
19907 exit (1);
19908 fprintf (f, "%lu\n", i);
19909 }
19910 exit (ferror (f) || fclose (f) != 0);
19911
19912 ;
19913 return 0;
19914 }
19915 _ACEOF
19916 rm -f conftest$ac_exeext
19917 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19918 (eval $ac_link) 2>&5
19919 ac_status=$?
19920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19921 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19923 (eval $ac_try) 2>&5
19924 ac_status=$?
19925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19926 (exit $ac_status); }; }; then
19927 ac_cv_sizeof_wchar_t=`cat conftest.val`
19928 else
19929 echo "$as_me: program exited with status $ac_status" >&5
19930 echo "$as_me: failed program was:" >&5
19931 sed 's/^/| /' conftest.$ac_ext >&5
19932
19933 ( exit $ac_status )
19934 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
19935 See \`config.log' for more details." >&5
19936 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
19937 See \`config.log' for more details." >&2;}
19938 { (exit 1); exit 1; }; }
19939 fi
19940 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19941 fi
19942 fi
19943 rm -f conftest.val
19944 else
19945 ac_cv_sizeof_wchar_t=0
19946 fi
19947 fi
19948 echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
19949 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6
19950 cat >>confdefs.h <<_ACEOF
19951 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
19952 _ACEOF
19953
19954
19955 if test "$ac_cv_sizeof_wchar_t" != "0"; then
19956 wxUSE_WCHAR_T=yes
19957 else
19958 wxUSE_WCHAR_T=no
19959 fi
19960
19961 echo "$as_me:$LINENO: checking for va_copy" >&5
19962 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6
19963 if test "${wx_cv_func_va_copy+set}" = set; then
19964 echo $ECHO_N "(cached) $ECHO_C" >&6
19965 else
19966
19967 cat >conftest.$ac_ext <<_ACEOF
19968
19969 #include <stdarg.h>
19970 void foo(char *f, ...)
19971 {
19972 va_list ap1, ap2;
19973 va_start(ap1, f);
19974 va_copy(ap2, ap1);
19975 va_end(ap2);
19976 va_end(ap1);
19977 }
19978 int main()
19979 {
19980 foo("hi", 17);
19981 return 0;
19982 }
19983 _ACEOF
19984 rm -f conftest.$ac_objext conftest$ac_exeext
19985 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19986 (eval $ac_link) 2>conftest.er1
19987 ac_status=$?
19988 grep -v '^ *+' conftest.er1 >conftest.err
19989 rm -f conftest.er1
19990 cat conftest.err >&5
19991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19992 (exit $ac_status); } &&
19993 { ac_try='test -z "$ac_c_werror_flag"
19994 || test ! -s conftest.err'
19995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19996 (eval $ac_try) 2>&5
19997 ac_status=$?
19998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19999 (exit $ac_status); }; } &&
20000 { ac_try='test -s conftest$ac_exeext'
20001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20002 (eval $ac_try) 2>&5
20003 ac_status=$?
20004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20005 (exit $ac_status); }; }; then
20006 wx_cv_func_va_copy=yes
20007 else
20008 echo "$as_me: failed program was:" >&5
20009 sed 's/^/| /' conftest.$ac_ext >&5
20010
20011 wx_cv_func_va_copy=no
20012
20013 fi
20014 rm -f conftest.err conftest.$ac_objext \
20015 conftest$ac_exeext conftest.$ac_ext
20016
20017
20018 fi
20019 echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
20020 echo "${ECHO_T}$wx_cv_func_va_copy" >&6
20021
20022 if test $wx_cv_func_va_copy = "yes"; then
20023 cat >>confdefs.h <<\_ACEOF
20024 #define HAVE_VA_COPY 1
20025 _ACEOF
20026
20027 else
20028 echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
20029 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6
20030 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
20031 echo $ECHO_N "(cached) $ECHO_C" >&6
20032 else
20033
20034 if test "$cross_compiling" = yes; then
20035 wx_cv_type_va_list_lvalue=yes
20036
20037 else
20038 cat >conftest.$ac_ext <<_ACEOF
20039
20040 #include <stdarg.h>
20041 int foo(char *f, ...)
20042 {
20043 va_list ap1, ap2;
20044 va_start(ap1, f);
20045 ap2 = ap1;
20046 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
20047 return 1;
20048 va_end(ap2);
20049 va_end(ap1);
20050 return 0;
20051 }
20052 int main()
20053 {
20054 return foo("hi", 17);
20055 }
20056 _ACEOF
20057 rm -f conftest$ac_exeext
20058 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20059 (eval $ac_link) 2>&5
20060 ac_status=$?
20061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20062 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20064 (eval $ac_try) 2>&5
20065 ac_status=$?
20066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20067 (exit $ac_status); }; }; then
20068 wx_cv_type_va_list_lvalue=yes
20069 else
20070 echo "$as_me: program exited with status $ac_status" >&5
20071 echo "$as_me: failed program was:" >&5
20072 sed 's/^/| /' conftest.$ac_ext >&5
20073
20074 ( exit $ac_status )
20075 wx_cv_type_va_list_lvalue=no
20076 fi
20077 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20078 fi
20079
20080
20081 fi
20082 echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
20083 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6
20084
20085 if test $wx_cv_type_va_list_lvalue != "yes"; then
20086 cat >>confdefs.h <<\_ACEOF
20087 #define VA_LIST_IS_ARRAY 1
20088 _ACEOF
20089
20090 fi
20091 fi
20092
20093 # Check whether --enable-largefile or --disable-largefile was given.
20094 if test "${enable_largefile+set}" = set; then
20095 enableval="$enable_largefile"
20096
20097 fi;
20098 if test "$enable_largefile" != no; then
20099 wx_largefile=no
20100
20101 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
20102 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
20103 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
20104 echo $ECHO_N "(cached) $ECHO_C" >&6
20105 else
20106
20107 cat >conftest.$ac_ext <<_ACEOF
20108 /* confdefs.h. */
20109 _ACEOF
20110 cat confdefs.h >>conftest.$ac_ext
20111 cat >>conftest.$ac_ext <<_ACEOF
20112 /* end confdefs.h. */
20113 #define _FILE_OFFSET_BITS 64
20114 #include <sys/types.h>
20115 int
20116 main ()
20117 {
20118 typedef struct {
20119 unsigned int field: sizeof(off_t) == 8;
20120 } wxlf;
20121
20122 ;
20123 return 0;
20124 }
20125 _ACEOF
20126 rm -f conftest.$ac_objext
20127 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20128 (eval $ac_compile) 2>conftest.er1
20129 ac_status=$?
20130 grep -v '^ *+' conftest.er1 >conftest.err
20131 rm -f conftest.er1
20132 cat conftest.err >&5
20133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20134 (exit $ac_status); } &&
20135 { ac_try='test -z "$ac_c_werror_flag"
20136 || test ! -s conftest.err'
20137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20138 (eval $ac_try) 2>&5
20139 ac_status=$?
20140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20141 (exit $ac_status); }; } &&
20142 { ac_try='test -s conftest.$ac_objext'
20143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20144 (eval $ac_try) 2>&5
20145 ac_status=$?
20146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20147 (exit $ac_status); }; }; then
20148 ac_cv_sys_file_offset_bits=64
20149 else
20150 echo "$as_me: failed program was:" >&5
20151 sed 's/^/| /' conftest.$ac_ext >&5
20152
20153 ac_cv_sys_file_offset_bits=no
20154 fi
20155 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20156
20157
20158 fi
20159 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
20160 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
20161
20162 if test "$ac_cv_sys_file_offset_bits" != no; then
20163 wx_largefile=yes
20164 cat >>confdefs.h <<_ACEOF
20165 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
20166 _ACEOF
20167
20168 fi
20169
20170 if test "x$wx_largefile" != "xyes"; then
20171
20172 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
20173 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
20174 if test "${ac_cv_sys_large_files+set}" = set; then
20175 echo $ECHO_N "(cached) $ECHO_C" >&6
20176 else
20177
20178 cat >conftest.$ac_ext <<_ACEOF
20179 /* confdefs.h. */
20180 _ACEOF
20181 cat confdefs.h >>conftest.$ac_ext
20182 cat >>conftest.$ac_ext <<_ACEOF
20183 /* end confdefs.h. */
20184 #define _LARGE_FILES 1
20185 #include <sys/types.h>
20186 int
20187 main ()
20188 {
20189 typedef struct {
20190 unsigned int field: sizeof(off_t) == 8;
20191 } wxlf;
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_cv_sys_large_files=1
20220 else
20221 echo "$as_me: failed program was:" >&5
20222 sed 's/^/| /' conftest.$ac_ext >&5
20223
20224 ac_cv_sys_large_files=no
20225 fi
20226 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20227
20228
20229 fi
20230 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
20231 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
20232
20233 if test "$ac_cv_sys_large_files" != no; then
20234 wx_largefile=yes
20235 cat >>confdefs.h <<_ACEOF
20236 #define _LARGE_FILES $ac_cv_sys_large_files
20237 _ACEOF
20238
20239 fi
20240
20241 fi
20242
20243 echo "$as_me:$LINENO: checking if large file support is available" >&5
20244 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
20245 if test "x$wx_largefile" = "xyes"; then
20246 cat >>confdefs.h <<\_ACEOF
20247 #define HAVE_LARGEFILE_SUPPORT 1
20248 _ACEOF
20249
20250 fi
20251 echo "$as_me:$LINENO: result: $wx_largefile" >&5
20252 echo "${ECHO_T}$wx_largefile" >&6
20253 fi
20254
20255
20256 if test "x$wx_largefile" = "xyes"; then
20257 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
20258 WX_LARGEFILE_FLAGS="-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
20259 else
20260 WX_LARGEFILE_FLAGS="-D_LARGE_FILES"
20261 fi
20262 echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
20263 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6
20264 if test "${ac_cv_sys_largefile_source+set}" = set; then
20265 echo $ECHO_N "(cached) $ECHO_C" >&6
20266 else
20267 while :; do
20268 ac_cv_sys_largefile_source=no
20269 cat >conftest.$ac_ext <<_ACEOF
20270 /* confdefs.h. */
20271 _ACEOF
20272 cat confdefs.h >>conftest.$ac_ext
20273 cat >>conftest.$ac_ext <<_ACEOF
20274 /* end confdefs.h. */
20275 #include <stdio.h>
20276 int
20277 main ()
20278 {
20279 return !fseeko;
20280 ;
20281 return 0;
20282 }
20283 _ACEOF
20284 rm -f conftest.$ac_objext
20285 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20286 (eval $ac_compile) 2>conftest.er1
20287 ac_status=$?
20288 grep -v '^ *+' conftest.er1 >conftest.err
20289 rm -f conftest.er1
20290 cat conftest.err >&5
20291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20292 (exit $ac_status); } &&
20293 { ac_try='test -z "$ac_c_werror_flag"
20294 || test ! -s conftest.err'
20295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20296 (eval $ac_try) 2>&5
20297 ac_status=$?
20298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20299 (exit $ac_status); }; } &&
20300 { ac_try='test -s conftest.$ac_objext'
20301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20302 (eval $ac_try) 2>&5
20303 ac_status=$?
20304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20305 (exit $ac_status); }; }; then
20306 break
20307 else
20308 echo "$as_me: failed program was:" >&5
20309 sed 's/^/| /' conftest.$ac_ext >&5
20310
20311 fi
20312 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20313 cat >conftest.$ac_ext <<_ACEOF
20314 /* confdefs.h. */
20315 _ACEOF
20316 cat confdefs.h >>conftest.$ac_ext
20317 cat >>conftest.$ac_ext <<_ACEOF
20318 /* end confdefs.h. */
20319 #define _LARGEFILE_SOURCE 1
20320 #include <stdio.h>
20321 int
20322 main ()
20323 {
20324 return !fseeko;
20325 ;
20326 return 0;
20327 }
20328 _ACEOF
20329 rm -f conftest.$ac_objext
20330 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20331 (eval $ac_compile) 2>conftest.er1
20332 ac_status=$?
20333 grep -v '^ *+' conftest.er1 >conftest.err
20334 rm -f conftest.er1
20335 cat conftest.err >&5
20336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20337 (exit $ac_status); } &&
20338 { ac_try='test -z "$ac_c_werror_flag"
20339 || test ! -s conftest.err'
20340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20341 (eval $ac_try) 2>&5
20342 ac_status=$?
20343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20344 (exit $ac_status); }; } &&
20345 { ac_try='test -s conftest.$ac_objext'
20346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20347 (eval $ac_try) 2>&5
20348 ac_status=$?
20349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20350 (exit $ac_status); }; }; then
20351 ac_cv_sys_largefile_source=1; break
20352 else
20353 echo "$as_me: failed program was:" >&5
20354 sed 's/^/| /' conftest.$ac_ext >&5
20355
20356 fi
20357 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20358 break
20359 done
20360 fi
20361 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
20362 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6
20363 if test "$ac_cv_sys_largefile_source" != no; then
20364
20365 cat >>confdefs.h <<_ACEOF
20366 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
20367 _ACEOF
20368
20369 fi
20370 rm -f conftest*
20371
20372 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
20373 # in glibc 2.1.3, but that breaks too many other things.
20374 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
20375 echo "$as_me:$LINENO: checking for fseeko" >&5
20376 echo $ECHO_N "checking for fseeko... $ECHO_C" >&6
20377 if test "${ac_cv_func_fseeko+set}" = set; then
20378 echo $ECHO_N "(cached) $ECHO_C" >&6
20379 else
20380 cat >conftest.$ac_ext <<_ACEOF
20381 /* confdefs.h. */
20382 _ACEOF
20383 cat confdefs.h >>conftest.$ac_ext
20384 cat >>conftest.$ac_ext <<_ACEOF
20385 /* end confdefs.h. */
20386 #include <stdio.h>
20387 int
20388 main ()
20389 {
20390 return fseeko && fseeko (stdin, 0, 0);
20391 ;
20392 return 0;
20393 }
20394 _ACEOF
20395 rm -f conftest.$ac_objext conftest$ac_exeext
20396 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20397 (eval $ac_link) 2>conftest.er1
20398 ac_status=$?
20399 grep -v '^ *+' conftest.er1 >conftest.err
20400 rm -f conftest.er1
20401 cat conftest.err >&5
20402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20403 (exit $ac_status); } &&
20404 { ac_try='test -z "$ac_c_werror_flag"
20405 || test ! -s conftest.err'
20406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20407 (eval $ac_try) 2>&5
20408 ac_status=$?
20409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20410 (exit $ac_status); }; } &&
20411 { ac_try='test -s conftest$ac_exeext'
20412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20413 (eval $ac_try) 2>&5
20414 ac_status=$?
20415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20416 (exit $ac_status); }; }; then
20417 ac_cv_func_fseeko=yes
20418 else
20419 echo "$as_me: failed program was:" >&5
20420 sed 's/^/| /' conftest.$ac_ext >&5
20421
20422 ac_cv_func_fseeko=no
20423 fi
20424 rm -f conftest.err conftest.$ac_objext \
20425 conftest$ac_exeext conftest.$ac_ext
20426 fi
20427 echo "$as_me:$LINENO: result: $ac_cv_func_fseeko" >&5
20428 echo "${ECHO_T}$ac_cv_func_fseeko" >&6
20429 if test $ac_cv_func_fseeko = yes; then
20430
20431 cat >>confdefs.h <<\_ACEOF
20432 #define HAVE_FSEEKO 1
20433 _ACEOF
20434
20435 fi
20436
20437 if test "$ac_cv_sys_largefile_source" != no; then
20438 WX_LARGEFILE_FLAGS="$WX_LARGEFILE_FLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
20439 fi
20440 CPPFLAGS="$CPPFLAGS $WX_LARGEFILE_FLAGS"
20441 fi
20442
20443 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
20444 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
20445 if test "${ac_cv_c_bigendian+set}" = set; then
20446 echo $ECHO_N "(cached) $ECHO_C" >&6
20447 else
20448 ac_cv_c_bigendian=unknown
20449 # See if sys/param.h defines the BYTE_ORDER macro.
20450 cat >conftest.$ac_ext <<_ACEOF
20451 /* confdefs.h. */
20452 _ACEOF
20453 cat confdefs.h >>conftest.$ac_ext
20454 cat >>conftest.$ac_ext <<_ACEOF
20455 /* end confdefs.h. */
20456 #include <sys/types.h>
20457 #include <sys/param.h>
20458 int
20459 main ()
20460 {
20461
20462 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
20463 bogus endian macros
20464 #endif
20465 ;
20466 return 0;
20467 }
20468 _ACEOF
20469 rm -f conftest.$ac_objext
20470 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20471 (eval $ac_compile) 2>conftest.er1
20472 ac_status=$?
20473 grep -v '^ *+' conftest.er1 >conftest.err
20474 rm -f conftest.er1
20475 cat conftest.err >&5
20476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20477 (exit $ac_status); } &&
20478 { ac_try='test -z "$ac_c_werror_flag"
20479 || test ! -s conftest.err'
20480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20481 (eval $ac_try) 2>&5
20482 ac_status=$?
20483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20484 (exit $ac_status); }; } &&
20485 { ac_try='test -s conftest.$ac_objext'
20486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20487 (eval $ac_try) 2>&5
20488 ac_status=$?
20489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20490 (exit $ac_status); }; }; then
20491 # It does; now see whether it defined to BIG_ENDIAN or not.
20492 cat >conftest.$ac_ext <<_ACEOF
20493 /* confdefs.h. */
20494 _ACEOF
20495 cat confdefs.h >>conftest.$ac_ext
20496 cat >>conftest.$ac_ext <<_ACEOF
20497 /* end confdefs.h. */
20498 #include <sys/types.h>
20499 #include <sys/param.h>
20500 int
20501 main ()
20502 {
20503
20504 #if BYTE_ORDER != BIG_ENDIAN
20505 not big endian
20506 #endif
20507 ;
20508 return 0;
20509 }
20510 _ACEOF
20511 rm -f conftest.$ac_objext
20512 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20513 (eval $ac_compile) 2>conftest.er1
20514 ac_status=$?
20515 grep -v '^ *+' conftest.er1 >conftest.err
20516 rm -f conftest.er1
20517 cat conftest.err >&5
20518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20519 (exit $ac_status); } &&
20520 { ac_try='test -z "$ac_c_werror_flag"
20521 || test ! -s conftest.err'
20522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20523 (eval $ac_try) 2>&5
20524 ac_status=$?
20525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20526 (exit $ac_status); }; } &&
20527 { ac_try='test -s conftest.$ac_objext'
20528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20529 (eval $ac_try) 2>&5
20530 ac_status=$?
20531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20532 (exit $ac_status); }; }; then
20533 ac_cv_c_bigendian=yes
20534 else
20535 echo "$as_me: failed program was:" >&5
20536 sed 's/^/| /' conftest.$ac_ext >&5
20537
20538 ac_cv_c_bigendian=no
20539 fi
20540 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20541 else
20542 echo "$as_me: failed program was:" >&5
20543 sed 's/^/| /' conftest.$ac_ext >&5
20544
20545 fi
20546 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20547 if test $ac_cv_c_bigendian = unknown; then
20548 if test "$cross_compiling" = yes; then
20549 ac_cv_c_bigendian=unknown
20550 else
20551 cat >conftest.$ac_ext <<_ACEOF
20552 /* confdefs.h. */
20553 _ACEOF
20554 cat confdefs.h >>conftest.$ac_ext
20555 cat >>conftest.$ac_ext <<_ACEOF
20556 /* end confdefs.h. */
20557 main () {
20558 /* Are we little or big endian? From Harbison&Steele. */
20559 union
20560 {
20561 long l;
20562 char c[sizeof (long)];
20563 } u;
20564 u.l = 1;
20565 exit (u.c[sizeof (long) - 1] == 1);
20566 }
20567 _ACEOF
20568 rm -f conftest$ac_exeext
20569 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20570 (eval $ac_link) 2>&5
20571 ac_status=$?
20572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20573 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20575 (eval $ac_try) 2>&5
20576 ac_status=$?
20577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20578 (exit $ac_status); }; }; then
20579 ac_cv_c_bigendian=no
20580 else
20581 echo "$as_me: program exited with status $ac_status" >&5
20582 echo "$as_me: failed program was:" >&5
20583 sed 's/^/| /' conftest.$ac_ext >&5
20584
20585 ( exit $ac_status )
20586 ac_cv_c_bigendian=yes
20587 fi
20588 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20589 fi
20590 fi
20591 fi
20592 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
20593 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
20594 if test $ac_cv_c_bigendian = unknown; then
20595 { 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
20596 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;}
20597 fi
20598 if test $ac_cv_c_bigendian = yes; then
20599 cat >>confdefs.h <<\_ACEOF
20600 #define WORDS_BIGENDIAN 1
20601 _ACEOF
20602
20603 fi
20604
20605
20606 ac_ext=cc
20607 ac_cpp='$CXXCPP $CPPFLAGS'
20608 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20609 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20610 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20611 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
20612 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
20613 if test -z "$CXXCPP"; then
20614 if test "${ac_cv_prog_CXXCPP+set}" = set; then
20615 echo $ECHO_N "(cached) $ECHO_C" >&6
20616 else
20617 # Double quotes because CXXCPP needs to be expanded
20618 for CXXCPP in "$CXX -E" "/lib/cpp"
20619 do
20620 ac_preproc_ok=false
20621 for ac_cxx_preproc_warn_flag in '' yes
20622 do
20623 # Use a header file that comes with gcc, so configuring glibc
20624 # with a fresh cross-compiler works.
20625 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20626 # <limits.h> exists even on freestanding compilers.
20627 # On the NeXT, cc -E runs the code through the compiler's parser,
20628 # not just through cpp. "Syntax error" is here to catch this case.
20629 cat >conftest.$ac_ext <<_ACEOF
20630 /* confdefs.h. */
20631 _ACEOF
20632 cat confdefs.h >>conftest.$ac_ext
20633 cat >>conftest.$ac_ext <<_ACEOF
20634 /* end confdefs.h. */
20635 #ifdef __STDC__
20636 # include <limits.h>
20637 #else
20638 # include <assert.h>
20639 #endif
20640 Syntax error
20641 _ACEOF
20642 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20643 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
20644 ac_status=$?
20645 grep -v '^ *+' conftest.er1 >conftest.err
20646 rm -f conftest.er1
20647 cat conftest.err >&5
20648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20649 (exit $ac_status); } >/dev/null; then
20650 if test -s conftest.err; then
20651 ac_cpp_err=$ac_cxx_preproc_warn_flag
20652 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
20653 else
20654 ac_cpp_err=
20655 fi
20656 else
20657 ac_cpp_err=yes
20658 fi
20659 if test -z "$ac_cpp_err"; then
20660 :
20661 else
20662 echo "$as_me: failed program was:" >&5
20663 sed 's/^/| /' conftest.$ac_ext >&5
20664
20665 # Broken: fails on valid input.
20666 continue
20667 fi
20668 rm -f conftest.err conftest.$ac_ext
20669
20670 # OK, works on sane cases. Now check whether non-existent headers
20671 # can be detected and how.
20672 cat >conftest.$ac_ext <<_ACEOF
20673 /* confdefs.h. */
20674 _ACEOF
20675 cat confdefs.h >>conftest.$ac_ext
20676 cat >>conftest.$ac_ext <<_ACEOF
20677 /* end confdefs.h. */
20678 #include <ac_nonexistent.h>
20679 _ACEOF
20680 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20681 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
20682 ac_status=$?
20683 grep -v '^ *+' conftest.er1 >conftest.err
20684 rm -f conftest.er1
20685 cat conftest.err >&5
20686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20687 (exit $ac_status); } >/dev/null; then
20688 if test -s conftest.err; then
20689 ac_cpp_err=$ac_cxx_preproc_warn_flag
20690 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
20691 else
20692 ac_cpp_err=
20693 fi
20694 else
20695 ac_cpp_err=yes
20696 fi
20697 if test -z "$ac_cpp_err"; then
20698 # Broken: success on invalid input.
20699 continue
20700 else
20701 echo "$as_me: failed program was:" >&5
20702 sed 's/^/| /' conftest.$ac_ext >&5
20703
20704 # Passes both tests.
20705 ac_preproc_ok=:
20706 break
20707 fi
20708 rm -f conftest.err conftest.$ac_ext
20709
20710 done
20711 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
20712 rm -f conftest.err conftest.$ac_ext
20713 if $ac_preproc_ok; then
20714 break
20715 fi
20716
20717 done
20718 ac_cv_prog_CXXCPP=$CXXCPP
20719
20720 fi
20721 CXXCPP=$ac_cv_prog_CXXCPP
20722 else
20723 ac_cv_prog_CXXCPP=$CXXCPP
20724 fi
20725 echo "$as_me:$LINENO: result: $CXXCPP" >&5
20726 echo "${ECHO_T}$CXXCPP" >&6
20727 ac_preproc_ok=false
20728 for ac_cxx_preproc_warn_flag in '' yes
20729 do
20730 # Use a header file that comes with gcc, so configuring glibc
20731 # with a fresh cross-compiler works.
20732 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20733 # <limits.h> exists even on freestanding compilers.
20734 # On the NeXT, cc -E runs the code through the compiler's parser,
20735 # not just through cpp. "Syntax error" is here to catch this case.
20736 cat >conftest.$ac_ext <<_ACEOF
20737 /* confdefs.h. */
20738 _ACEOF
20739 cat confdefs.h >>conftest.$ac_ext
20740 cat >>conftest.$ac_ext <<_ACEOF
20741 /* end confdefs.h. */
20742 #ifdef __STDC__
20743 # include <limits.h>
20744 #else
20745 # include <assert.h>
20746 #endif
20747 Syntax error
20748 _ACEOF
20749 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20750 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
20751 ac_status=$?
20752 grep -v '^ *+' conftest.er1 >conftest.err
20753 rm -f conftest.er1
20754 cat conftest.err >&5
20755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20756 (exit $ac_status); } >/dev/null; then
20757 if test -s conftest.err; then
20758 ac_cpp_err=$ac_cxx_preproc_warn_flag
20759 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
20760 else
20761 ac_cpp_err=
20762 fi
20763 else
20764 ac_cpp_err=yes
20765 fi
20766 if test -z "$ac_cpp_err"; then
20767 :
20768 else
20769 echo "$as_me: failed program was:" >&5
20770 sed 's/^/| /' conftest.$ac_ext >&5
20771
20772 # Broken: fails on valid input.
20773 continue
20774 fi
20775 rm -f conftest.err conftest.$ac_ext
20776
20777 # OK, works on sane cases. Now check whether non-existent headers
20778 # can be detected and how.
20779 cat >conftest.$ac_ext <<_ACEOF
20780 /* confdefs.h. */
20781 _ACEOF
20782 cat confdefs.h >>conftest.$ac_ext
20783 cat >>conftest.$ac_ext <<_ACEOF
20784 /* end confdefs.h. */
20785 #include <ac_nonexistent.h>
20786 _ACEOF
20787 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20788 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
20789 ac_status=$?
20790 grep -v '^ *+' conftest.er1 >conftest.err
20791 rm -f conftest.er1
20792 cat conftest.err >&5
20793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20794 (exit $ac_status); } >/dev/null; then
20795 if test -s conftest.err; then
20796 ac_cpp_err=$ac_cxx_preproc_warn_flag
20797 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
20798 else
20799 ac_cpp_err=
20800 fi
20801 else
20802 ac_cpp_err=yes
20803 fi
20804 if test -z "$ac_cpp_err"; then
20805 # Broken: success on invalid input.
20806 continue
20807 else
20808 echo "$as_me: failed program was:" >&5
20809 sed 's/^/| /' conftest.$ac_ext >&5
20810
20811 # Passes both tests.
20812 ac_preproc_ok=:
20813 break
20814 fi
20815 rm -f conftest.err conftest.$ac_ext
20816
20817 done
20818 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
20819 rm -f conftest.err conftest.$ac_ext
20820 if $ac_preproc_ok; then
20821 :
20822 else
20823 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
20824 See \`config.log' for more details." >&5
20825 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
20826 See \`config.log' for more details." >&2;}
20827 { (exit 1); exit 1; }; }
20828 fi
20829
20830 ac_ext=cc
20831 ac_cpp='$CXXCPP $CPPFLAGS'
20832 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20833 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20834 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20835
20836
20837
20838
20839
20840 ac_ext=cc
20841 ac_cpp='$CXXCPP $CPPFLAGS'
20842 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20843 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20844 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20845
20846
20847
20848 for ac_header in iostream
20849 do
20850 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20851 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20852 echo "$as_me:$LINENO: checking for $ac_header" >&5
20853 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20854 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20855 echo $ECHO_N "(cached) $ECHO_C" >&6
20856 fi
20857 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20858 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20859 else
20860 # Is the header compilable?
20861 echo "$as_me:$LINENO: checking $ac_header usability" >&5
20862 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
20863 cat >conftest.$ac_ext <<_ACEOF
20864 /* confdefs.h. */
20865 _ACEOF
20866 cat confdefs.h >>conftest.$ac_ext
20867 cat >>conftest.$ac_ext <<_ACEOF
20868 /* end confdefs.h. */
20869 $ac_includes_default
20870 #include <$ac_header>
20871 _ACEOF
20872 rm -f conftest.$ac_objext
20873 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20874 (eval $ac_compile) 2>conftest.er1
20875 ac_status=$?
20876 grep -v '^ *+' conftest.er1 >conftest.err
20877 rm -f conftest.er1
20878 cat conftest.err >&5
20879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20880 (exit $ac_status); } &&
20881 { ac_try='test -z "$ac_cxx_werror_flag"
20882 || test ! -s conftest.err'
20883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20884 (eval $ac_try) 2>&5
20885 ac_status=$?
20886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20887 (exit $ac_status); }; } &&
20888 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
20894 ac_header_compiler=yes
20895 else
20896 echo "$as_me: failed program was:" >&5
20897 sed 's/^/| /' conftest.$ac_ext >&5
20898
20899 ac_header_compiler=no
20900 fi
20901 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20902 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20903 echo "${ECHO_T}$ac_header_compiler" >&6
20904
20905 # Is the header present?
20906 echo "$as_me:$LINENO: checking $ac_header presence" >&5
20907 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
20908 cat >conftest.$ac_ext <<_ACEOF
20909 /* confdefs.h. */
20910 _ACEOF
20911 cat confdefs.h >>conftest.$ac_ext
20912 cat >>conftest.$ac_ext <<_ACEOF
20913 /* end confdefs.h. */
20914 #include <$ac_header>
20915 _ACEOF
20916 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20917 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
20918 ac_status=$?
20919 grep -v '^ *+' conftest.er1 >conftest.err
20920 rm -f conftest.er1
20921 cat conftest.err >&5
20922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20923 (exit $ac_status); } >/dev/null; then
20924 if test -s conftest.err; then
20925 ac_cpp_err=$ac_cxx_preproc_warn_flag
20926 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
20927 else
20928 ac_cpp_err=
20929 fi
20930 else
20931 ac_cpp_err=yes
20932 fi
20933 if test -z "$ac_cpp_err"; then
20934 ac_header_preproc=yes
20935 else
20936 echo "$as_me: failed program was:" >&5
20937 sed 's/^/| /' conftest.$ac_ext >&5
20938
20939 ac_header_preproc=no
20940 fi
20941 rm -f conftest.err conftest.$ac_ext
20942 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20943 echo "${ECHO_T}$ac_header_preproc" >&6
20944
20945 # So? What about this header?
20946 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
20947 yes:no: )
20948 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
20949 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
20950 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
20951 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
20952 ac_header_preproc=yes
20953 ;;
20954 no:yes:* )
20955 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
20956 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
20957 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
20958 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
20959 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
20960 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
20961 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
20962 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
20963 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
20964 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
20965 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
20966 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
20967 (
20968 cat <<\_ASBOX
20969 ## ----------------------------------------- ##
20970 ## Report this to wx-dev@lists.wxwidgets.org ##
20971 ## ----------------------------------------- ##
20972 _ASBOX
20973 ) |
20974 sed "s/^/$as_me: WARNING: /" >&2
20975 ;;
20976 esac
20977 echo "$as_me:$LINENO: checking for $ac_header" >&5
20978 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20979 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20980 echo $ECHO_N "(cached) $ECHO_C" >&6
20981 else
20982 eval "$as_ac_Header=\$ac_header_preproc"
20983 fi
20984 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20985 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20986
20987 fi
20988 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20989 cat >>confdefs.h <<_ACEOF
20990 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20991 _ACEOF
20992
20993 fi
20994
20995 done
20996
20997
20998 if test "$ac_cv_header_iostream" = "yes" ; then
20999 :
21000 else
21001 cat >>confdefs.h <<\_ACEOF
21002 #define wxUSE_IOSTREAMH 1
21003 _ACEOF
21004
21005 fi
21006
21007 ac_ext=c
21008 ac_cpp='$CPP $CPPFLAGS'
21009 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21010 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21011 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21012
21013
21014
21015
21016 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
21017 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
21018 if test "${wx_cv_cpp_bool+set}" = set; then
21019 echo $ECHO_N "(cached) $ECHO_C" >&6
21020 else
21021
21022
21023
21024 ac_ext=cc
21025 ac_cpp='$CXXCPP $CPPFLAGS'
21026 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21027 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21028 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21029
21030
21031 cat >conftest.$ac_ext <<_ACEOF
21032 /* confdefs.h. */
21033 _ACEOF
21034 cat confdefs.h >>conftest.$ac_ext
21035 cat >>conftest.$ac_ext <<_ACEOF
21036 /* end confdefs.h. */
21037
21038
21039 int
21040 main ()
21041 {
21042
21043 bool b = true;
21044
21045 return 0;
21046
21047 ;
21048 return 0;
21049 }
21050 _ACEOF
21051 rm -f conftest.$ac_objext
21052 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21053 (eval $ac_compile) 2>conftest.er1
21054 ac_status=$?
21055 grep -v '^ *+' conftest.er1 >conftest.err
21056 rm -f conftest.er1
21057 cat conftest.err >&5
21058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21059 (exit $ac_status); } &&
21060 { ac_try='test -z "$ac_cxx_werror_flag"
21061 || test ! -s conftest.err'
21062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21063 (eval $ac_try) 2>&5
21064 ac_status=$?
21065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21066 (exit $ac_status); }; } &&
21067 { ac_try='test -s conftest.$ac_objext'
21068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21069 (eval $ac_try) 2>&5
21070 ac_status=$?
21071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21072 (exit $ac_status); }; }; then
21073
21074 wx_cv_cpp_bool=yes
21075
21076 else
21077 echo "$as_me: failed program was:" >&5
21078 sed 's/^/| /' conftest.$ac_ext >&5
21079
21080
21081 wx_cv_cpp_bool=no
21082
21083
21084 fi
21085 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21086
21087 ac_ext=c
21088 ac_cpp='$CPP $CPPFLAGS'
21089 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21090 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21091 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21092
21093
21094 fi
21095 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
21096 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
21097
21098 if test "$wx_cv_cpp_bool" = "yes"; then
21099 cat >>confdefs.h <<\_ACEOF
21100 #define HAVE_BOOL 1
21101 _ACEOF
21102
21103 fi
21104
21105
21106
21107 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
21108 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
21109 if test "${wx_cv_explicit+set}" = set; then
21110 echo $ECHO_N "(cached) $ECHO_C" >&6
21111 else
21112
21113
21114
21115 ac_ext=cc
21116 ac_cpp='$CXXCPP $CPPFLAGS'
21117 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21118 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21119 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21120
21121
21122 cat >conftest.$ac_ext <<_ACEOF
21123 /* confdefs.h. */
21124 _ACEOF
21125 cat confdefs.h >>conftest.$ac_ext
21126 cat >>conftest.$ac_ext <<_ACEOF
21127 /* end confdefs.h. */
21128
21129 class Foo { public: explicit Foo(int) {} };
21130
21131 int
21132 main ()
21133 {
21134
21135 return 0;
21136
21137 ;
21138 return 0;
21139 }
21140 _ACEOF
21141 rm -f conftest.$ac_objext
21142 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21143 (eval $ac_compile) 2>conftest.er1
21144 ac_status=$?
21145 grep -v '^ *+' conftest.er1 >conftest.err
21146 rm -f conftest.er1
21147 cat conftest.err >&5
21148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21149 (exit $ac_status); } &&
21150 { ac_try='test -z "$ac_cxx_werror_flag"
21151 || test ! -s conftest.err'
21152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21153 (eval $ac_try) 2>&5
21154 ac_status=$?
21155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21156 (exit $ac_status); }; } &&
21157 { ac_try='test -s conftest.$ac_objext'
21158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21159 (eval $ac_try) 2>&5
21160 ac_status=$?
21161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21162 (exit $ac_status); }; }; then
21163
21164 cat >conftest.$ac_ext <<_ACEOF
21165 /* confdefs.h. */
21166 _ACEOF
21167 cat confdefs.h >>conftest.$ac_ext
21168 cat >>conftest.$ac_ext <<_ACEOF
21169 /* end confdefs.h. */
21170
21171 class Foo { public: explicit Foo(int) {} };
21172 static void TakeFoo(const Foo& foo) { }
21173
21174 int
21175 main ()
21176 {
21177
21178 TakeFoo(17);
21179 return 0;
21180
21181 ;
21182 return 0;
21183 }
21184 _ACEOF
21185 rm -f conftest.$ac_objext
21186 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21187 (eval $ac_compile) 2>conftest.er1
21188 ac_status=$?
21189 grep -v '^ *+' conftest.er1 >conftest.err
21190 rm -f conftest.er1
21191 cat conftest.err >&5
21192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21193 (exit $ac_status); } &&
21194 { ac_try='test -z "$ac_cxx_werror_flag"
21195 || test ! -s conftest.err'
21196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21197 (eval $ac_try) 2>&5
21198 ac_status=$?
21199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21200 (exit $ac_status); }; } &&
21201 { ac_try='test -s conftest.$ac_objext'
21202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21203 (eval $ac_try) 2>&5
21204 ac_status=$?
21205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21206 (exit $ac_status); }; }; then
21207 wx_cv_explicit=no
21208 else
21209 echo "$as_me: failed program was:" >&5
21210 sed 's/^/| /' conftest.$ac_ext >&5
21211
21212 wx_cv_explicit=yes
21213
21214 fi
21215 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21216
21217 else
21218 echo "$as_me: failed program was:" >&5
21219 sed 's/^/| /' conftest.$ac_ext >&5
21220
21221 wx_cv_explicit=no
21222
21223 fi
21224 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21225
21226 ac_ext=c
21227 ac_cpp='$CPP $CPPFLAGS'
21228 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21229 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21230 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21231
21232
21233 fi
21234 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
21235 echo "${ECHO_T}$wx_cv_explicit" >&6
21236
21237 if test "$wx_cv_explicit" = "yes"; then
21238 cat >>confdefs.h <<\_ACEOF
21239 #define HAVE_EXPLICIT 1
21240 _ACEOF
21241
21242 fi
21243
21244
21245 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
21246 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
21247 if test "${ac_cv_cxx_const_cast+set}" = set; then
21248 echo $ECHO_N "(cached) $ECHO_C" >&6
21249 else
21250
21251
21252 ac_ext=cc
21253 ac_cpp='$CXXCPP $CPPFLAGS'
21254 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21255 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21256 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21257
21258 cat >conftest.$ac_ext <<_ACEOF
21259 /* confdefs.h. */
21260 _ACEOF
21261 cat confdefs.h >>conftest.$ac_ext
21262 cat >>conftest.$ac_ext <<_ACEOF
21263 /* end confdefs.h. */
21264
21265 int
21266 main ()
21267 {
21268 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
21269 ;
21270 return 0;
21271 }
21272 _ACEOF
21273 rm -f conftest.$ac_objext
21274 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21275 (eval $ac_compile) 2>conftest.er1
21276 ac_status=$?
21277 grep -v '^ *+' conftest.er1 >conftest.err
21278 rm -f conftest.er1
21279 cat conftest.err >&5
21280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21281 (exit $ac_status); } &&
21282 { ac_try='test -z "$ac_cxx_werror_flag"
21283 || test ! -s conftest.err'
21284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21285 (eval $ac_try) 2>&5
21286 ac_status=$?
21287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21288 (exit $ac_status); }; } &&
21289 { ac_try='test -s conftest.$ac_objext'
21290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21291 (eval $ac_try) 2>&5
21292 ac_status=$?
21293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21294 (exit $ac_status); }; }; then
21295 ac_cv_cxx_const_cast=yes
21296 else
21297 echo "$as_me: failed program was:" >&5
21298 sed 's/^/| /' conftest.$ac_ext >&5
21299
21300 ac_cv_cxx_const_cast=no
21301 fi
21302 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21303 ac_ext=c
21304 ac_cpp='$CPP $CPPFLAGS'
21305 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21306 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21307 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21308
21309
21310 fi
21311 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
21312 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
21313 if test "$ac_cv_cxx_const_cast" = yes; then
21314
21315 cat >>confdefs.h <<\_ACEOF
21316 #define HAVE_CONST_CAST
21317 _ACEOF
21318
21319 fi
21320
21321 echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
21322 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6
21323 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
21324 echo $ECHO_N "(cached) $ECHO_C" >&6
21325 else
21326
21327
21328 ac_ext=cc
21329 ac_cpp='$CXXCPP $CPPFLAGS'
21330 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21331 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21332 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21333
21334 cat >conftest.$ac_ext <<_ACEOF
21335 /* confdefs.h. */
21336 _ACEOF
21337 cat confdefs.h >>conftest.$ac_ext
21338 cat >>conftest.$ac_ext <<_ACEOF
21339 /* end confdefs.h. */
21340 #include <typeinfo>
21341 class Base { public : Base () {} virtual void f () = 0;};
21342 class Derived : public Base { public : Derived () {} virtual void f () {} };
21343 class Unrelated { public : Unrelated () {} };
21344 int g (Unrelated&) { return 0; }
21345 int
21346 main ()
21347 {
21348
21349 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
21350 ;
21351 return 0;
21352 }
21353 _ACEOF
21354 rm -f conftest.$ac_objext
21355 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21356 (eval $ac_compile) 2>conftest.er1
21357 ac_status=$?
21358 grep -v '^ *+' conftest.er1 >conftest.err
21359 rm -f conftest.er1
21360 cat conftest.err >&5
21361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21362 (exit $ac_status); } &&
21363 { ac_try='test -z "$ac_cxx_werror_flag"
21364 || test ! -s conftest.err'
21365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21366 (eval $ac_try) 2>&5
21367 ac_status=$?
21368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21369 (exit $ac_status); }; } &&
21370 { ac_try='test -s conftest.$ac_objext'
21371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21372 (eval $ac_try) 2>&5
21373 ac_status=$?
21374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21375 (exit $ac_status); }; }; then
21376 ac_cv_cxx_reinterpret_cast=yes
21377 else
21378 echo "$as_me: failed program was:" >&5
21379 sed 's/^/| /' conftest.$ac_ext >&5
21380
21381 ac_cv_cxx_reinterpret_cast=no
21382 fi
21383 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21384 ac_ext=c
21385 ac_cpp='$CPP $CPPFLAGS'
21386 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21387 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21388 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21389
21390
21391 fi
21392 echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
21393 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6
21394 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
21395
21396 cat >>confdefs.h <<\_ACEOF
21397 #define HAVE_REINTERPRET_CAST
21398 _ACEOF
21399
21400 fi
21401
21402 echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
21403 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6
21404 if test "${ac_cv_cxx_static_cast+set}" = set; then
21405 echo $ECHO_N "(cached) $ECHO_C" >&6
21406 else
21407
21408
21409 ac_ext=cc
21410 ac_cpp='$CXXCPP $CPPFLAGS'
21411 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21412 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21413 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21414
21415 cat >conftest.$ac_ext <<_ACEOF
21416 /* confdefs.h. */
21417 _ACEOF
21418 cat confdefs.h >>conftest.$ac_ext
21419 cat >>conftest.$ac_ext <<_ACEOF
21420 /* end confdefs.h. */
21421 #include <typeinfo>
21422 class Base { public : Base () {} virtual void f () = 0; };
21423 class Derived : public Base { public : Derived () {} virtual void f () {} };
21424 int g (Derived&) { return 0; }
21425 int
21426 main ()
21427 {
21428
21429 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
21430 ;
21431 return 0;
21432 }
21433 _ACEOF
21434 rm -f conftest.$ac_objext
21435 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21436 (eval $ac_compile) 2>conftest.er1
21437 ac_status=$?
21438 grep -v '^ *+' conftest.er1 >conftest.err
21439 rm -f conftest.er1
21440 cat conftest.err >&5
21441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21442 (exit $ac_status); } &&
21443 { ac_try='test -z "$ac_cxx_werror_flag"
21444 || test ! -s conftest.err'
21445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21446 (eval $ac_try) 2>&5
21447 ac_status=$?
21448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21449 (exit $ac_status); }; } &&
21450 { ac_try='test -s conftest.$ac_objext'
21451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21452 (eval $ac_try) 2>&5
21453 ac_status=$?
21454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21455 (exit $ac_status); }; }; then
21456 ac_cv_cxx_static_cast=yes
21457 else
21458 echo "$as_me: failed program was:" >&5
21459 sed 's/^/| /' conftest.$ac_ext >&5
21460
21461 ac_cv_cxx_static_cast=no
21462 fi
21463 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21464 ac_ext=c
21465 ac_cpp='$CPP $CPPFLAGS'
21466 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21467 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21468 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21469
21470
21471 fi
21472 echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
21473 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6
21474 if test "$ac_cv_cxx_static_cast" = yes; then
21475
21476 cat >>confdefs.h <<\_ACEOF
21477 #define HAVE_STATIC_CAST
21478 _ACEOF
21479
21480 fi
21481
21482
21483 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
21484 ac_ext=cc
21485 ac_cpp='$CXXCPP $CPPFLAGS'
21486 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21487 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21488 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21489
21490
21491 if test "$wxUSE_UNICODE" = "yes"; then
21492 std_string="std::wstring"
21493 char_type="wchar_t"
21494 else
21495 std_string="std::string"
21496 char_type="char"
21497 fi
21498
21499 echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
21500 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6
21501 cat >conftest.$ac_ext <<_ACEOF
21502 /* confdefs.h. */
21503 _ACEOF
21504 cat confdefs.h >>conftest.$ac_ext
21505 cat >>conftest.$ac_ext <<_ACEOF
21506 /* end confdefs.h. */
21507 #include <string>
21508 int
21509 main ()
21510 {
21511 $std_string foo;
21512 ;
21513 return 0;
21514 }
21515 _ACEOF
21516 rm -f conftest.$ac_objext
21517 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21518 (eval $ac_compile) 2>conftest.er1
21519 ac_status=$?
21520 grep -v '^ *+' conftest.er1 >conftest.err
21521 rm -f conftest.er1
21522 cat conftest.err >&5
21523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21524 (exit $ac_status); } &&
21525 { ac_try='test -z "$ac_cxx_werror_flag"
21526 || test ! -s conftest.err'
21527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21528 (eval $ac_try) 2>&5
21529 ac_status=$?
21530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21531 (exit $ac_status); }; } &&
21532 { ac_try='test -s conftest.$ac_objext'
21533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21534 (eval $ac_try) 2>&5
21535 ac_status=$?
21536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21537 (exit $ac_status); }; }; then
21538 echo "$as_me:$LINENO: result: yes" >&5
21539 echo "${ECHO_T}yes" >&6
21540 cat >>confdefs.h <<\_ACEOF
21541 #define HAVE_STD_WSTRING 1
21542 _ACEOF
21543
21544 else
21545 echo "$as_me: failed program was:" >&5
21546 sed 's/^/| /' conftest.$ac_ext >&5
21547
21548 echo "$as_me:$LINENO: result: no" >&5
21549 echo "${ECHO_T}no" >&6
21550 echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
21551 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6
21552 cat >conftest.$ac_ext <<_ACEOF
21553 /* confdefs.h. */
21554 _ACEOF
21555 cat confdefs.h >>conftest.$ac_ext
21556 cat >>conftest.$ac_ext <<_ACEOF
21557 /* end confdefs.h. */
21558
21559 #ifdef HAVE_WCHAR_H
21560 # ifdef __CYGWIN__
21561 # include <stddef.h>
21562 # endif
21563 # include <wchar.h>
21564 #endif
21565 #ifdef HAVE_STDLIB_H
21566 # include <stdlib.h>
21567 #endif
21568 #include <stdio.h>
21569 #include <string>
21570
21571 int
21572 main ()
21573 {
21574 std::basic_string<$char_type> foo;
21575 const $char_type* dummy = foo.c_str();
21576 ;
21577 return 0;
21578 }
21579 _ACEOF
21580 rm -f conftest.$ac_objext
21581 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21582 (eval $ac_compile) 2>conftest.er1
21583 ac_status=$?
21584 grep -v '^ *+' conftest.er1 >conftest.err
21585 rm -f conftest.er1
21586 cat conftest.err >&5
21587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21588 (exit $ac_status); } &&
21589 { ac_try='test -z "$ac_cxx_werror_flag"
21590 || test ! -s conftest.err'
21591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21592 (eval $ac_try) 2>&5
21593 ac_status=$?
21594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21595 (exit $ac_status); }; } &&
21596 { ac_try='test -s conftest.$ac_objext'
21597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21598 (eval $ac_try) 2>&5
21599 ac_status=$?
21600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21601 (exit $ac_status); }; }; then
21602 echo "$as_me:$LINENO: result: yes" >&5
21603 echo "${ECHO_T}yes" >&6
21604 else
21605 echo "$as_me: failed program was:" >&5
21606 sed 's/^/| /' conftest.$ac_ext >&5
21607
21608 echo "$as_me:$LINENO: result: no" >&5
21609 echo "${ECHO_T}no" >&6
21610 if test "$wxUSE_STL" = "yes"; then
21611 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
21612 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
21613 { (exit 1); exit 1; }; }
21614 elif grep wxUSE_STD_STRING $wx_arg_cache_file >/dev/null; then
21615 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
21616 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
21617 { (exit 1); exit 1; }; }
21618 else
21619 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
21620 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
21621 wxUSE_STD_STRING=no
21622 fi
21623
21624
21625 fi
21626 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21627
21628 fi
21629 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21630
21631 ac_ext=c
21632 ac_cpp='$CPP $CPPFLAGS'
21633 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21634 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21635 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21636
21637 fi
21638
21639 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
21640 ac_ext=cc
21641 ac_cpp='$CXXCPP $CPPFLAGS'
21642 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21643 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21644 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21645
21646
21647 echo "$as_me:$LINENO: checking for std::istream" >&5
21648 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6
21649 if test "${ac_cv_type_std__istream+set}" = set; then
21650 echo $ECHO_N "(cached) $ECHO_C" >&6
21651 else
21652 cat >conftest.$ac_ext <<_ACEOF
21653 /* confdefs.h. */
21654 _ACEOF
21655 cat confdefs.h >>conftest.$ac_ext
21656 cat >>conftest.$ac_ext <<_ACEOF
21657 /* end confdefs.h. */
21658 #include <iostream>
21659
21660 int
21661 main ()
21662 {
21663 if ((std::istream *) 0)
21664 return 0;
21665 if (sizeof (std::istream))
21666 return 0;
21667 ;
21668 return 0;
21669 }
21670 _ACEOF
21671 rm -f conftest.$ac_objext
21672 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21673 (eval $ac_compile) 2>conftest.er1
21674 ac_status=$?
21675 grep -v '^ *+' conftest.er1 >conftest.err
21676 rm -f conftest.er1
21677 cat conftest.err >&5
21678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21679 (exit $ac_status); } &&
21680 { ac_try='test -z "$ac_cxx_werror_flag"
21681 || test ! -s conftest.err'
21682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21683 (eval $ac_try) 2>&5
21684 ac_status=$?
21685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21686 (exit $ac_status); }; } &&
21687 { ac_try='test -s conftest.$ac_objext'
21688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21689 (eval $ac_try) 2>&5
21690 ac_status=$?
21691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21692 (exit $ac_status); }; }; then
21693 ac_cv_type_std__istream=yes
21694 else
21695 echo "$as_me: failed program was:" >&5
21696 sed 's/^/| /' conftest.$ac_ext >&5
21697
21698 ac_cv_type_std__istream=no
21699 fi
21700 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21701 fi
21702 echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
21703 echo "${ECHO_T}$ac_cv_type_std__istream" >&6
21704 if test $ac_cv_type_std__istream = yes; then
21705
21706 cat >>confdefs.h <<_ACEOF
21707 #define HAVE_STD__ISTREAM 1
21708 _ACEOF
21709
21710
21711 else
21712 wxUSE_STD_IOSTREAM=no
21713 fi
21714 echo "$as_me:$LINENO: checking for std::ostream" >&5
21715 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6
21716 if test "${ac_cv_type_std__ostream+set}" = set; then
21717 echo $ECHO_N "(cached) $ECHO_C" >&6
21718 else
21719 cat >conftest.$ac_ext <<_ACEOF
21720 /* confdefs.h. */
21721 _ACEOF
21722 cat confdefs.h >>conftest.$ac_ext
21723 cat >>conftest.$ac_ext <<_ACEOF
21724 /* end confdefs.h. */
21725 #include <iostream>
21726
21727 int
21728 main ()
21729 {
21730 if ((std::ostream *) 0)
21731 return 0;
21732 if (sizeof (std::ostream))
21733 return 0;
21734 ;
21735 return 0;
21736 }
21737 _ACEOF
21738 rm -f conftest.$ac_objext
21739 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21740 (eval $ac_compile) 2>conftest.er1
21741 ac_status=$?
21742 grep -v '^ *+' conftest.er1 >conftest.err
21743 rm -f conftest.er1
21744 cat conftest.err >&5
21745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21746 (exit $ac_status); } &&
21747 { ac_try='test -z "$ac_cxx_werror_flag"
21748 || test ! -s conftest.err'
21749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21750 (eval $ac_try) 2>&5
21751 ac_status=$?
21752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21753 (exit $ac_status); }; } &&
21754 { ac_try='test -s conftest.$ac_objext'
21755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21756 (eval $ac_try) 2>&5
21757 ac_status=$?
21758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21759 (exit $ac_status); }; }; then
21760 ac_cv_type_std__ostream=yes
21761 else
21762 echo "$as_me: failed program was:" >&5
21763 sed 's/^/| /' conftest.$ac_ext >&5
21764
21765 ac_cv_type_std__ostream=no
21766 fi
21767 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21768 fi
21769 echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
21770 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6
21771 if test $ac_cv_type_std__ostream = yes; then
21772
21773 cat >>confdefs.h <<_ACEOF
21774 #define HAVE_STD__OSTREAM 1
21775 _ACEOF
21776
21777
21778 else
21779 wxUSE_STD_IOSTREAM=no
21780 fi
21781
21782
21783 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
21784 if grep wxUSE_STD_IOSTREAM $wx_arg_cache_file >/dev/null; then
21785 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
21786 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
21787 { (exit 1); exit 1; }; }
21788 else
21789 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
21790 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
21791 fi
21792 fi
21793
21794 ac_ext=c
21795 ac_cpp='$CPP $CPPFLAGS'
21796 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21797 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21798 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21799
21800 fi
21801
21802 if test "$wxUSE_STL" = "yes"; then
21803 ac_ext=cc
21804 ac_cpp='$CXXCPP $CPPFLAGS'
21805 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21806 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21807 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21808
21809
21810 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
21811 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
21812 cat >conftest.$ac_ext <<_ACEOF
21813 /* confdefs.h. */
21814 _ACEOF
21815 cat confdefs.h >>conftest.$ac_ext
21816 cat >>conftest.$ac_ext <<_ACEOF
21817 /* end confdefs.h. */
21818 #include <string>
21819 #include <functional>
21820 #include <algorithm>
21821 #include <vector>
21822 #include <list>
21823 int
21824 main ()
21825 {
21826 std::vector<int> moo;
21827 std::list<int> foo;
21828 std::vector<int>::iterator it =
21829 std::find_if(moo.begin(), moo.end(),
21830 std::bind2nd(std::less<int>(), 3));
21831 ;
21832 return 0;
21833 }
21834 _ACEOF
21835 rm -f conftest.$ac_objext
21836 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21837 (eval $ac_compile) 2>conftest.er1
21838 ac_status=$?
21839 grep -v '^ *+' conftest.er1 >conftest.err
21840 rm -f conftest.er1
21841 cat conftest.err >&5
21842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21843 (exit $ac_status); } &&
21844 { ac_try='test -z "$ac_cxx_werror_flag"
21845 || test ! -s conftest.err'
21846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21847 (eval $ac_try) 2>&5
21848 ac_status=$?
21849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21850 (exit $ac_status); }; } &&
21851 { ac_try='test -s conftest.$ac_objext'
21852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21853 (eval $ac_try) 2>&5
21854 ac_status=$?
21855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21856 (exit $ac_status); }; }; then
21857 echo "$as_me:$LINENO: result: yes" >&5
21858 echo "${ECHO_T}yes" >&6
21859 else
21860 echo "$as_me: failed program was:" >&5
21861 sed 's/^/| /' conftest.$ac_ext >&5
21862
21863 echo "$as_me:$LINENO: result: no" >&5
21864 echo "${ECHO_T}no" >&6
21865 { { echo "$as_me:$LINENO: error: Basic STL functionality missing" >&5
21866 echo "$as_me: error: Basic STL functionality missing" >&2;}
21867 { (exit 1); exit 1; }; }
21868 fi
21869 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21870
21871 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
21872 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
21873 cat >conftest.$ac_ext <<_ACEOF
21874 /* confdefs.h. */
21875 _ACEOF
21876 cat confdefs.h >>conftest.$ac_ext
21877 cat >>conftest.$ac_ext <<_ACEOF
21878 /* end confdefs.h. */
21879 #include <string>
21880 int
21881 main ()
21882 {
21883 std::string foo, bar;
21884 foo.compare(bar);
21885 foo.compare(1, 1, bar);
21886 foo.compare(1, 1, bar, 1, 1);
21887 foo.compare("");
21888 foo.compare(1, 1, "");
21889 foo.compare(1, 1, "", 2);
21890 ;
21891 return 0;
21892 }
21893 _ACEOF
21894 rm -f conftest.$ac_objext
21895 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21896 (eval $ac_compile) 2>conftest.er1
21897 ac_status=$?
21898 grep -v '^ *+' conftest.er1 >conftest.err
21899 rm -f conftest.er1
21900 cat conftest.err >&5
21901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21902 (exit $ac_status); } &&
21903 { ac_try='test -z "$ac_cxx_werror_flag"
21904 || test ! -s conftest.err'
21905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21906 (eval $ac_try) 2>&5
21907 ac_status=$?
21908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21909 (exit $ac_status); }; } &&
21910 { ac_try='test -s conftest.$ac_objext'
21911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21912 (eval $ac_try) 2>&5
21913 ac_status=$?
21914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21915 (exit $ac_status); }; }; then
21916 echo "$as_me:$LINENO: result: yes" >&5
21917 echo "${ECHO_T}yes" >&6
21918 cat >>confdefs.h <<\_ACEOF
21919 #define HAVE_STD_STRING_COMPARE 1
21920 _ACEOF
21921
21922 else
21923 echo "$as_me: failed program was:" >&5
21924 sed 's/^/| /' conftest.$ac_ext >&5
21925
21926 echo "$as_me:$LINENO: result: no" >&5
21927 echo "${ECHO_T}no" >&6
21928 fi
21929 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21930
21931 if test "${ac_cv_header_hash_map+set}" = set; then
21932 echo "$as_me:$LINENO: checking for hash_map" >&5
21933 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
21934 if test "${ac_cv_header_hash_map+set}" = set; then
21935 echo $ECHO_N "(cached) $ECHO_C" >&6
21936 fi
21937 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
21938 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
21939 else
21940 # Is the header compilable?
21941 echo "$as_me:$LINENO: checking hash_map usability" >&5
21942 echo $ECHO_N "checking hash_map usability... $ECHO_C" >&6
21943 cat >conftest.$ac_ext <<_ACEOF
21944 /* confdefs.h. */
21945 _ACEOF
21946 cat confdefs.h >>conftest.$ac_ext
21947 cat >>conftest.$ac_ext <<_ACEOF
21948 /* end confdefs.h. */
21949 $ac_includes_default
21950 #include <hash_map>
21951 _ACEOF
21952 rm -f conftest.$ac_objext
21953 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21954 (eval $ac_compile) 2>conftest.er1
21955 ac_status=$?
21956 grep -v '^ *+' conftest.er1 >conftest.err
21957 rm -f conftest.er1
21958 cat conftest.err >&5
21959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21960 (exit $ac_status); } &&
21961 { ac_try='test -z "$ac_cxx_werror_flag"
21962 || test ! -s conftest.err'
21963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21964 (eval $ac_try) 2>&5
21965 ac_status=$?
21966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21967 (exit $ac_status); }; } &&
21968 { ac_try='test -s conftest.$ac_objext'
21969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21970 (eval $ac_try) 2>&5
21971 ac_status=$?
21972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21973 (exit $ac_status); }; }; then
21974 ac_header_compiler=yes
21975 else
21976 echo "$as_me: failed program was:" >&5
21977 sed 's/^/| /' conftest.$ac_ext >&5
21978
21979 ac_header_compiler=no
21980 fi
21981 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21982 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21983 echo "${ECHO_T}$ac_header_compiler" >&6
21984
21985 # Is the header present?
21986 echo "$as_me:$LINENO: checking hash_map presence" >&5
21987 echo $ECHO_N "checking hash_map presence... $ECHO_C" >&6
21988 cat >conftest.$ac_ext <<_ACEOF
21989 /* confdefs.h. */
21990 _ACEOF
21991 cat confdefs.h >>conftest.$ac_ext
21992 cat >>conftest.$ac_ext <<_ACEOF
21993 /* end confdefs.h. */
21994 #include <hash_map>
21995 _ACEOF
21996 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21997 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
21998 ac_status=$?
21999 grep -v '^ *+' conftest.er1 >conftest.err
22000 rm -f conftest.er1
22001 cat conftest.err >&5
22002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22003 (exit $ac_status); } >/dev/null; then
22004 if test -s conftest.err; then
22005 ac_cpp_err=$ac_cxx_preproc_warn_flag
22006 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
22007 else
22008 ac_cpp_err=
22009 fi
22010 else
22011 ac_cpp_err=yes
22012 fi
22013 if test -z "$ac_cpp_err"; then
22014 ac_header_preproc=yes
22015 else
22016 echo "$as_me: failed program was:" >&5
22017 sed 's/^/| /' conftest.$ac_ext >&5
22018
22019 ac_header_preproc=no
22020 fi
22021 rm -f conftest.err conftest.$ac_ext
22022 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22023 echo "${ECHO_T}$ac_header_preproc" >&6
22024
22025 # So? What about this header?
22026 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
22027 yes:no: )
22028 { echo "$as_me:$LINENO: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
22029 echo "$as_me: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
22030 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the compiler's result" >&5
22031 echo "$as_me: WARNING: hash_map: proceeding with the compiler's result" >&2;}
22032 ac_header_preproc=yes
22033 ;;
22034 no:yes:* )
22035 { echo "$as_me:$LINENO: WARNING: hash_map: present but cannot be compiled" >&5
22036 echo "$as_me: WARNING: hash_map: present but cannot be compiled" >&2;}
22037 { echo "$as_me:$LINENO: WARNING: hash_map: check for missing prerequisite headers?" >&5
22038 echo "$as_me: WARNING: hash_map: check for missing prerequisite headers?" >&2;}
22039 { echo "$as_me:$LINENO: WARNING: hash_map: see the Autoconf documentation" >&5
22040 echo "$as_me: WARNING: hash_map: see the Autoconf documentation" >&2;}
22041 { echo "$as_me:$LINENO: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&5
22042 echo "$as_me: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
22043 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the preprocessor's result" >&5
22044 echo "$as_me: WARNING: hash_map: proceeding with the preprocessor's result" >&2;}
22045 { echo "$as_me:$LINENO: WARNING: hash_map: in the future, the compiler will take precedence" >&5
22046 echo "$as_me: WARNING: hash_map: in the future, the compiler will take precedence" >&2;}
22047 (
22048 cat <<\_ASBOX
22049 ## ----------------------------------------- ##
22050 ## Report this to wx-dev@lists.wxwidgets.org ##
22051 ## ----------------------------------------- ##
22052 _ASBOX
22053 ) |
22054 sed "s/^/$as_me: WARNING: /" >&2
22055 ;;
22056 esac
22057 echo "$as_me:$LINENO: checking for hash_map" >&5
22058 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
22059 if test "${ac_cv_header_hash_map+set}" = set; then
22060 echo $ECHO_N "(cached) $ECHO_C" >&6
22061 else
22062 ac_cv_header_hash_map=$ac_header_preproc
22063 fi
22064 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
22065 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
22066
22067 fi
22068 if test $ac_cv_header_hash_map = yes; then
22069 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
22070 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
22071 cat >conftest.$ac_ext <<_ACEOF
22072 /* confdefs.h. */
22073 _ACEOF
22074 cat confdefs.h >>conftest.$ac_ext
22075 cat >>conftest.$ac_ext <<_ACEOF
22076 /* end confdefs.h. */
22077 #include <hash_map>
22078 #include <hash_set>
22079 int
22080 main ()
22081 {
22082 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
22083 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
22084 ;
22085 return 0;
22086 }
22087 _ACEOF
22088 rm -f conftest.$ac_objext
22089 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22090 (eval $ac_compile) 2>conftest.er1
22091 ac_status=$?
22092 grep -v '^ *+' conftest.er1 >conftest.err
22093 rm -f conftest.er1
22094 cat conftest.err >&5
22095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22096 (exit $ac_status); } &&
22097 { ac_try='test -z "$ac_cxx_werror_flag"
22098 || test ! -s conftest.err'
22099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22100 (eval $ac_try) 2>&5
22101 ac_status=$?
22102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22103 (exit $ac_status); }; } &&
22104 { ac_try='test -s conftest.$ac_objext'
22105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22106 (eval $ac_try) 2>&5
22107 ac_status=$?
22108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22109 (exit $ac_status); }; }; then
22110 echo "$as_me:$LINENO: result: yes" >&5
22111 echo "${ECHO_T}yes" >&6
22112 cat >>confdefs.h <<\_ACEOF
22113 #define HAVE_HASH_MAP 1
22114 _ACEOF
22115
22116 cat >>confdefs.h <<\_ACEOF
22117 #define HAVE_STD_HASH_MAP 1
22118 _ACEOF
22119
22120 else
22121 echo "$as_me: failed program was:" >&5
22122 sed 's/^/| /' conftest.$ac_ext >&5
22123
22124 echo "$as_me:$LINENO: result: no" >&5
22125 echo "${ECHO_T}no" >&6
22126 fi
22127 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22128
22129 fi
22130
22131
22132
22133 if test "${ac_cv_header_ext_hash_map+set}" = set; then
22134 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
22135 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
22136 if test "${ac_cv_header_ext_hash_map+set}" = set; then
22137 echo $ECHO_N "(cached) $ECHO_C" >&6
22138 fi
22139 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
22140 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
22141 else
22142 # Is the header compilable?
22143 echo "$as_me:$LINENO: checking ext/hash_map usability" >&5
22144 echo $ECHO_N "checking ext/hash_map usability... $ECHO_C" >&6
22145 cat >conftest.$ac_ext <<_ACEOF
22146 /* confdefs.h. */
22147 _ACEOF
22148 cat confdefs.h >>conftest.$ac_ext
22149 cat >>conftest.$ac_ext <<_ACEOF
22150 /* end confdefs.h. */
22151 $ac_includes_default
22152 #include <ext/hash_map>
22153 _ACEOF
22154 rm -f conftest.$ac_objext
22155 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22156 (eval $ac_compile) 2>conftest.er1
22157 ac_status=$?
22158 grep -v '^ *+' conftest.er1 >conftest.err
22159 rm -f conftest.er1
22160 cat conftest.err >&5
22161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22162 (exit $ac_status); } &&
22163 { ac_try='test -z "$ac_cxx_werror_flag"
22164 || test ! -s conftest.err'
22165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22166 (eval $ac_try) 2>&5
22167 ac_status=$?
22168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22169 (exit $ac_status); }; } &&
22170 { ac_try='test -s conftest.$ac_objext'
22171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22172 (eval $ac_try) 2>&5
22173 ac_status=$?
22174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22175 (exit $ac_status); }; }; then
22176 ac_header_compiler=yes
22177 else
22178 echo "$as_me: failed program was:" >&5
22179 sed 's/^/| /' conftest.$ac_ext >&5
22180
22181 ac_header_compiler=no
22182 fi
22183 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22184 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22185 echo "${ECHO_T}$ac_header_compiler" >&6
22186
22187 # Is the header present?
22188 echo "$as_me:$LINENO: checking ext/hash_map presence" >&5
22189 echo $ECHO_N "checking ext/hash_map presence... $ECHO_C" >&6
22190 cat >conftest.$ac_ext <<_ACEOF
22191 /* confdefs.h. */
22192 _ACEOF
22193 cat confdefs.h >>conftest.$ac_ext
22194 cat >>conftest.$ac_ext <<_ACEOF
22195 /* end confdefs.h. */
22196 #include <ext/hash_map>
22197 _ACEOF
22198 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22199 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
22200 ac_status=$?
22201 grep -v '^ *+' conftest.er1 >conftest.err
22202 rm -f conftest.er1
22203 cat conftest.err >&5
22204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22205 (exit $ac_status); } >/dev/null; then
22206 if test -s conftest.err; then
22207 ac_cpp_err=$ac_cxx_preproc_warn_flag
22208 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
22209 else
22210 ac_cpp_err=
22211 fi
22212 else
22213 ac_cpp_err=yes
22214 fi
22215 if test -z "$ac_cpp_err"; then
22216 ac_header_preproc=yes
22217 else
22218 echo "$as_me: failed program was:" >&5
22219 sed 's/^/| /' conftest.$ac_ext >&5
22220
22221 ac_header_preproc=no
22222 fi
22223 rm -f conftest.err conftest.$ac_ext
22224 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22225 echo "${ECHO_T}$ac_header_preproc" >&6
22226
22227 # So? What about this header?
22228 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
22229 yes:no: )
22230 { echo "$as_me:$LINENO: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
22231 echo "$as_me: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
22232 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the compiler's result" >&5
22233 echo "$as_me: WARNING: ext/hash_map: proceeding with the compiler's result" >&2;}
22234 ac_header_preproc=yes
22235 ;;
22236 no:yes:* )
22237 { echo "$as_me:$LINENO: WARNING: ext/hash_map: present but cannot be compiled" >&5
22238 echo "$as_me: WARNING: ext/hash_map: present but cannot be compiled" >&2;}
22239 { echo "$as_me:$LINENO: WARNING: ext/hash_map: check for missing prerequisite headers?" >&5
22240 echo "$as_me: WARNING: ext/hash_map: check for missing prerequisite headers?" >&2;}
22241 { echo "$as_me:$LINENO: WARNING: ext/hash_map: see the Autoconf documentation" >&5
22242 echo "$as_me: WARNING: ext/hash_map: see the Autoconf documentation" >&2;}
22243 { echo "$as_me:$LINENO: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&5
22244 echo "$as_me: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
22245 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&5
22246 echo "$as_me: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&2;}
22247 { echo "$as_me:$LINENO: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&5
22248 echo "$as_me: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&2;}
22249 (
22250 cat <<\_ASBOX
22251 ## ----------------------------------------- ##
22252 ## Report this to wx-dev@lists.wxwidgets.org ##
22253 ## ----------------------------------------- ##
22254 _ASBOX
22255 ) |
22256 sed "s/^/$as_me: WARNING: /" >&2
22257 ;;
22258 esac
22259 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
22260 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
22261 if test "${ac_cv_header_ext_hash_map+set}" = set; then
22262 echo $ECHO_N "(cached) $ECHO_C" >&6
22263 else
22264 ac_cv_header_ext_hash_map=$ac_header_preproc
22265 fi
22266 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
22267 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
22268
22269 fi
22270 if test $ac_cv_header_ext_hash_map = yes; then
22271 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
22272 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
22273 cat >conftest.$ac_ext <<_ACEOF
22274 /* confdefs.h. */
22275 _ACEOF
22276 cat confdefs.h >>conftest.$ac_ext
22277 cat >>conftest.$ac_ext <<_ACEOF
22278 /* end confdefs.h. */
22279 #include <ext/hash_map>
22280 #include <ext/hash_set>
22281 int
22282 main ()
22283 {
22284 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
22285 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
22286 ;
22287 return 0;
22288 }
22289 _ACEOF
22290 rm -f conftest.$ac_objext
22291 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22292 (eval $ac_compile) 2>conftest.er1
22293 ac_status=$?
22294 grep -v '^ *+' conftest.er1 >conftest.err
22295 rm -f conftest.er1
22296 cat conftest.err >&5
22297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22298 (exit $ac_status); } &&
22299 { ac_try='test -z "$ac_cxx_werror_flag"
22300 || test ! -s conftest.err'
22301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22302 (eval $ac_try) 2>&5
22303 ac_status=$?
22304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22305 (exit $ac_status); }; } &&
22306 { ac_try='test -s conftest.$ac_objext'
22307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22308 (eval $ac_try) 2>&5
22309 ac_status=$?
22310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22311 (exit $ac_status); }; }; then
22312 echo "$as_me:$LINENO: result: yes" >&5
22313 echo "${ECHO_T}yes" >&6
22314 cat >>confdefs.h <<\_ACEOF
22315 #define HAVE_EXT_HASH_MAP 1
22316 _ACEOF
22317
22318 cat >>confdefs.h <<\_ACEOF
22319 #define HAVE_GNU_CXX_HASH_MAP 1
22320 _ACEOF
22321
22322 else
22323 echo "$as_me: failed program was:" >&5
22324 sed 's/^/| /' conftest.$ac_ext >&5
22325
22326 echo "$as_me:$LINENO: result: no" >&5
22327 echo "${ECHO_T}no" >&6
22328 fi
22329 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22330
22331 fi
22332
22333
22334
22335 ac_ext=c
22336 ac_cpp='$CPP $CPPFLAGS'
22337 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22338 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22339 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22340
22341 fi
22342
22343
22344 SEARCH_INCLUDE="\
22345 /usr/local/include \
22346 \
22347 /usr/Motif-2.1/include \
22348 /usr/Motif-1.2/include \
22349 /usr/include/Motif1.2 \
22350 /opt/xpm/include/X11 \
22351 /opt/GBxpm/include/ \
22352 /opt/GBxpm/X11/include/ \
22353 \
22354 /usr/dt/include \
22355 /usr/openwin/include \
22356 \
22357 /usr/include/Xm \
22358 \
22359 /usr/X11R6/include \
22360 /usr/X11R6.4/include \
22361 /usr/X11R5/include \
22362 /usr/X11R4/include \
22363 \
22364 /usr/include/X11R6 \
22365 /usr/include/X11R5 \
22366 /usr/include/X11R4 \
22367 \
22368 /usr/local/X11R6/include \
22369 /usr/local/X11R5/include \
22370 /usr/local/X11R4/include \
22371 \
22372 /usr/local/include/X11R6 \
22373 /usr/local/include/X11R5 \
22374 /usr/local/include/X11R4 \
22375 \
22376 /usr/X11/include \
22377 /usr/include/X11 \
22378 /usr/local/X11/include \
22379 /usr/local/include/X11 \
22380 \
22381 /usr/X386/include \
22382 /usr/x386/include \
22383 /usr/XFree86/include/X11 \
22384 \
22385 X:/XFree86/include \
22386 X:/XFree86/include/X11 \
22387 \
22388 /usr/include/gtk \
22389 /usr/local/include/gtk \
22390 /usr/include/glib \
22391 /usr/local/include/glib \
22392 \
22393 /usr/include/qt \
22394 /usr/local/include/qt \
22395 \
22396 /usr/local/arm/3.3.2/include \
22397 \
22398 /usr/include/windows \
22399 /usr/include/wine \
22400 /usr/local/include/wine \
22401 \
22402 /usr/unsupported/include \
22403 /usr/athena/include \
22404 /usr/local/x11r5/include \
22405 /usr/lpp/Xamples/include \
22406 \
22407 /usr/openwin/share/include"
22408
22409 SEARCH_LIB="/usr/lib /usr/lib32 /usr/lib64 /usr/X11R6/lib64 `echo "$SEARCH_INCLUDE" | sed s/include/lib/g`"
22410
22411
22412 cat >confcache <<\_ACEOF
22413 # This file is a shell script that caches the results of configure
22414 # tests run on this system so they can be shared between configure
22415 # scripts and configure runs, see configure's option --config-cache.
22416 # It is not useful on other systems. If it contains results you don't
22417 # want to keep, you may remove or edit it.
22418 #
22419 # config.status only pays attention to the cache file if you give it
22420 # the --recheck option to rerun configure.
22421 #
22422 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22423 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22424 # following values.
22425
22426 _ACEOF
22427
22428 # The following way of writing the cache mishandles newlines in values,
22429 # but we know of no workaround that is simple, portable, and efficient.
22430 # So, don't put newlines in cache variables' values.
22431 # Ultrix sh set writes to stderr and can't be redirected directly,
22432 # and sets the high bit in the cache file unless we assign to the vars.
22433 {
22434 (set) 2>&1 |
22435 case `(ac_space=' '; set | grep ac_space) 2>&1` in
22436 *ac_space=\ *)
22437 # `set' does not quote correctly, so add quotes (double-quote
22438 # substitution turns \\\\ into \\, and sed turns \\ into \).
22439 sed -n \
22440 "s/'/'\\\\''/g;
22441 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22442 ;;
22443 *)
22444 # `set' quotes correctly as required by POSIX, so do not add quotes.
22445 sed -n \
22446 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
22447 ;;
22448 esac;
22449 } |
22450 sed '
22451 t clear
22452 : clear
22453 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
22454 t end
22455 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22456 : end' >>confcache
22457 if diff $cache_file confcache >/dev/null 2>&1; then :; else
22458 if test -w $cache_file; then
22459 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
22460 cat confcache >$cache_file
22461 else
22462 echo "not updating unwritable cache $cache_file"
22463 fi
22464 fi
22465 rm -f confcache
22466
22467 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
22468 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
22469 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
22470 if test "${wx_cv_lib_glibc21+set}" = set; then
22471 echo $ECHO_N "(cached) $ECHO_C" >&6
22472 else
22473
22474 cat >conftest.$ac_ext <<_ACEOF
22475 /* confdefs.h. */
22476 _ACEOF
22477 cat confdefs.h >>conftest.$ac_ext
22478 cat >>conftest.$ac_ext <<_ACEOF
22479 /* end confdefs.h. */
22480 #include <features.h>
22481 int
22482 main ()
22483 {
22484
22485 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
22486 #error not glibc2.1
22487 #endif
22488
22489 ;
22490 return 0;
22491 }
22492 _ACEOF
22493 rm -f conftest.$ac_objext
22494 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22495 (eval $ac_compile) 2>conftest.er1
22496 ac_status=$?
22497 grep -v '^ *+' conftest.er1 >conftest.err
22498 rm -f conftest.er1
22499 cat conftest.err >&5
22500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22501 (exit $ac_status); } &&
22502 { ac_try='test -z "$ac_c_werror_flag"
22503 || test ! -s conftest.err'
22504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22505 (eval $ac_try) 2>&5
22506 ac_status=$?
22507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22508 (exit $ac_status); }; } &&
22509 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
22515
22516 wx_cv_lib_glibc21=yes
22517
22518 else
22519 echo "$as_me: failed program was:" >&5
22520 sed 's/^/| /' conftest.$ac_ext >&5
22521
22522
22523 wx_cv_lib_glibc21=no
22524
22525
22526 fi
22527 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22528
22529 fi
22530 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
22531 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
22532 if test "$wx_cv_lib_glibc21" = "yes"; then
22533 cat >>confdefs.h <<\_ACEOF
22534 #define wxHAVE_GLIBC2 1
22535 _ACEOF
22536
22537 fi
22538 fi
22539
22540 if test "x$wx_cv_lib_glibc21" = "xyes"; then
22541 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
22542 cat >>confdefs.h <<\_ACEOF
22543 #define _GNU_SOURCE 1
22544 _ACEOF
22545
22546 fi
22547 fi
22548
22549
22550
22551 if test "$wxUSE_REGEX" != "no"; then
22552 cat >>confdefs.h <<\_ACEOF
22553 #define wxUSE_REGEX 1
22554 _ACEOF
22555
22556
22557 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
22558 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
22559 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
22560 wxUSE_REGEX=builtin
22561 fi
22562
22563 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
22564 if test "${ac_cv_header_regex_h+set}" = set; then
22565 echo "$as_me:$LINENO: checking for regex.h" >&5
22566 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
22567 if test "${ac_cv_header_regex_h+set}" = set; then
22568 echo $ECHO_N "(cached) $ECHO_C" >&6
22569 fi
22570 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
22571 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
22572 else
22573 # Is the header compilable?
22574 echo "$as_me:$LINENO: checking regex.h usability" >&5
22575 echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
22576 cat >conftest.$ac_ext <<_ACEOF
22577 /* confdefs.h. */
22578 _ACEOF
22579 cat confdefs.h >>conftest.$ac_ext
22580 cat >>conftest.$ac_ext <<_ACEOF
22581 /* end confdefs.h. */
22582 $ac_includes_default
22583 #include <regex.h>
22584 _ACEOF
22585 rm -f conftest.$ac_objext
22586 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22587 (eval $ac_compile) 2>conftest.er1
22588 ac_status=$?
22589 grep -v '^ *+' conftest.er1 >conftest.err
22590 rm -f conftest.er1
22591 cat conftest.err >&5
22592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22593 (exit $ac_status); } &&
22594 { ac_try='test -z "$ac_c_werror_flag"
22595 || test ! -s conftest.err'
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); }; } &&
22601 { ac_try='test -s conftest.$ac_objext'
22602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22603 (eval $ac_try) 2>&5
22604 ac_status=$?
22605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22606 (exit $ac_status); }; }; then
22607 ac_header_compiler=yes
22608 else
22609 echo "$as_me: failed program was:" >&5
22610 sed 's/^/| /' conftest.$ac_ext >&5
22611
22612 ac_header_compiler=no
22613 fi
22614 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22615 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22616 echo "${ECHO_T}$ac_header_compiler" >&6
22617
22618 # Is the header present?
22619 echo "$as_me:$LINENO: checking regex.h presence" >&5
22620 echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
22621 cat >conftest.$ac_ext <<_ACEOF
22622 /* confdefs.h. */
22623 _ACEOF
22624 cat confdefs.h >>conftest.$ac_ext
22625 cat >>conftest.$ac_ext <<_ACEOF
22626 /* end confdefs.h. */
22627 #include <regex.h>
22628 _ACEOF
22629 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22630 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
22631 ac_status=$?
22632 grep -v '^ *+' conftest.er1 >conftest.err
22633 rm -f conftest.er1
22634 cat conftest.err >&5
22635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22636 (exit $ac_status); } >/dev/null; then
22637 if test -s conftest.err; then
22638 ac_cpp_err=$ac_c_preproc_warn_flag
22639 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
22640 else
22641 ac_cpp_err=
22642 fi
22643 else
22644 ac_cpp_err=yes
22645 fi
22646 if test -z "$ac_cpp_err"; then
22647 ac_header_preproc=yes
22648 else
22649 echo "$as_me: failed program was:" >&5
22650 sed 's/^/| /' conftest.$ac_ext >&5
22651
22652 ac_header_preproc=no
22653 fi
22654 rm -f conftest.err conftest.$ac_ext
22655 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22656 echo "${ECHO_T}$ac_header_preproc" >&6
22657
22658 # So? What about this header?
22659 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22660 yes:no: )
22661 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
22662 echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
22663 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the compiler's result" >&5
22664 echo "$as_me: WARNING: regex.h: proceeding with the compiler's result" >&2;}
22665 ac_header_preproc=yes
22666 ;;
22667 no:yes:* )
22668 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
22669 echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
22670 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
22671 echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
22672 { echo "$as_me:$LINENO: WARNING: regex.h: see the Autoconf documentation" >&5
22673 echo "$as_me: WARNING: regex.h: see the Autoconf documentation" >&2;}
22674 { echo "$as_me:$LINENO: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&5
22675 echo "$as_me: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&2;}
22676 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
22677 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
22678 { echo "$as_me:$LINENO: WARNING: regex.h: in the future, the compiler will take precedence" >&5
22679 echo "$as_me: WARNING: regex.h: in the future, the compiler will take precedence" >&2;}
22680 (
22681 cat <<\_ASBOX
22682 ## ----------------------------------------- ##
22683 ## Report this to wx-dev@lists.wxwidgets.org ##
22684 ## ----------------------------------------- ##
22685 _ASBOX
22686 ) |
22687 sed "s/^/$as_me: WARNING: /" >&2
22688 ;;
22689 esac
22690 echo "$as_me:$LINENO: checking for regex.h" >&5
22691 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
22692 if test "${ac_cv_header_regex_h+set}" = set; then
22693 echo $ECHO_N "(cached) $ECHO_C" >&6
22694 else
22695 ac_cv_header_regex_h=$ac_header_preproc
22696 fi
22697 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
22698 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
22699
22700 fi
22701 if test $ac_cv_header_regex_h = yes; then
22702
22703 for ac_func in regcomp
22704 do
22705 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22706 echo "$as_me:$LINENO: checking for $ac_func" >&5
22707 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22708 if eval "test \"\${$as_ac_var+set}\" = set"; then
22709 echo $ECHO_N "(cached) $ECHO_C" >&6
22710 else
22711 cat >conftest.$ac_ext <<_ACEOF
22712 /* confdefs.h. */
22713 _ACEOF
22714 cat confdefs.h >>conftest.$ac_ext
22715 cat >>conftest.$ac_ext <<_ACEOF
22716 /* end confdefs.h. */
22717 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22718 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22719 #define $ac_func innocuous_$ac_func
22720
22721 /* System header to define __stub macros and hopefully few prototypes,
22722 which can conflict with char $ac_func (); below.
22723 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22724 <limits.h> exists even on freestanding compilers. */
22725
22726 #ifdef __STDC__
22727 # include <limits.h>
22728 #else
22729 # include <assert.h>
22730 #endif
22731
22732 #undef $ac_func
22733
22734 /* Override any gcc2 internal prototype to avoid an error. */
22735 #ifdef __cplusplus
22736 extern "C"
22737 {
22738 #endif
22739 /* We use char because int might match the return type of a gcc2
22740 builtin and then its argument prototype would still apply. */
22741 char $ac_func ();
22742 /* The GNU C library defines this for functions which it implements
22743 to always fail with ENOSYS. Some functions are actually named
22744 something starting with __ and the normal name is an alias. */
22745 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22746 choke me
22747 #else
22748 char (*f) () = $ac_func;
22749 #endif
22750 #ifdef __cplusplus
22751 }
22752 #endif
22753
22754 int
22755 main ()
22756 {
22757 return f != $ac_func;
22758 ;
22759 return 0;
22760 }
22761 _ACEOF
22762 rm -f conftest.$ac_objext conftest$ac_exeext
22763 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22764 (eval $ac_link) 2>conftest.er1
22765 ac_status=$?
22766 grep -v '^ *+' conftest.er1 >conftest.err
22767 rm -f conftest.er1
22768 cat conftest.err >&5
22769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22770 (exit $ac_status); } &&
22771 { ac_try='test -z "$ac_c_werror_flag"
22772 || test ! -s conftest.err'
22773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22774 (eval $ac_try) 2>&5
22775 ac_status=$?
22776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22777 (exit $ac_status); }; } &&
22778 { ac_try='test -s conftest$ac_exeext'
22779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22780 (eval $ac_try) 2>&5
22781 ac_status=$?
22782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22783 (exit $ac_status); }; }; then
22784 eval "$as_ac_var=yes"
22785 else
22786 echo "$as_me: failed program was:" >&5
22787 sed 's/^/| /' conftest.$ac_ext >&5
22788
22789 eval "$as_ac_var=no"
22790 fi
22791 rm -f conftest.err conftest.$ac_objext \
22792 conftest$ac_exeext conftest.$ac_ext
22793 fi
22794 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22795 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22796 if test `eval echo '${'$as_ac_var'}'` = yes; then
22797 cat >>confdefs.h <<_ACEOF
22798 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22799 _ACEOF
22800
22801 fi
22802 done
22803
22804 fi
22805
22806
22807
22808 if test "x$ac_cv_func_regcomp" != "xyes"; then
22809 if test "$wxUSE_REGEX" = "sys" ; then
22810 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
22811 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
22812 { (exit 1); exit 1; }; }
22813 else
22814 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
22815 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
22816 wxUSE_REGEX=builtin
22817 fi
22818 else
22819 wxUSE_REGEX=sys
22820 cat >>confdefs.h <<\_ACEOF
22821 #define WX_NO_REGEX_ADVANCED 1
22822 _ACEOF
22823
22824 fi
22825 fi
22826 fi
22827
22828
22829 ZLIB_LINK=
22830 if test "$wxUSE_ZLIB" != "no" ; then
22831 cat >>confdefs.h <<\_ACEOF
22832 #define wxUSE_ZLIB 1
22833 _ACEOF
22834
22835
22836 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
22837 if test "$USE_DARWIN" = 1; then
22838 system_zlib_h_ok="yes"
22839 else
22840 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
22841 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
22842 if test "${ac_cv_header_zlib_h+set}" = set; then
22843 echo $ECHO_N "(cached) $ECHO_C" >&6
22844 else
22845 if test "$cross_compiling" = yes; then
22846 unset ac_cv_header_zlib_h
22847
22848 else
22849 cat >conftest.$ac_ext <<_ACEOF
22850 /* confdefs.h. */
22851 _ACEOF
22852 cat confdefs.h >>conftest.$ac_ext
22853 cat >>conftest.$ac_ext <<_ACEOF
22854 /* end confdefs.h. */
22855
22856 #include <zlib.h>
22857 #include <stdio.h>
22858
22859 int main()
22860 {
22861 FILE *f=fopen("conftestval", "w");
22862 if (!f) exit(1);
22863 fprintf(f, "%s",
22864 ZLIB_VERSION[0] == '1' &&
22865 (ZLIB_VERSION[2] > '1' ||
22866 (ZLIB_VERSION[2] == '1' &&
22867 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
22868 exit(0);
22869 }
22870
22871 _ACEOF
22872 rm -f conftest$ac_exeext
22873 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22874 (eval $ac_link) 2>&5
22875 ac_status=$?
22876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22877 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22879 (eval $ac_try) 2>&5
22880 ac_status=$?
22881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22882 (exit $ac_status); }; }; then
22883 ac_cv_header_zlib_h=`cat conftestval`
22884 else
22885 echo "$as_me: program exited with status $ac_status" >&5
22886 echo "$as_me: failed program was:" >&5
22887 sed 's/^/| /' conftest.$ac_ext >&5
22888
22889 ( exit $ac_status )
22890 ac_cv_header_zlib_h=no
22891 fi
22892 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22893 fi
22894
22895 fi
22896 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
22897 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
22898 if test "${ac_cv_header_zlib_h+set}" = set; then
22899 echo "$as_me:$LINENO: checking for zlib.h" >&5
22900 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
22901 if test "${ac_cv_header_zlib_h+set}" = set; then
22902 echo $ECHO_N "(cached) $ECHO_C" >&6
22903 fi
22904 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
22905 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
22906 else
22907 # Is the header compilable?
22908 echo "$as_me:$LINENO: checking zlib.h usability" >&5
22909 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
22910 cat >conftest.$ac_ext <<_ACEOF
22911 /* confdefs.h. */
22912 _ACEOF
22913 cat confdefs.h >>conftest.$ac_ext
22914 cat >>conftest.$ac_ext <<_ACEOF
22915 /* end confdefs.h. */
22916 $ac_includes_default
22917 #include <zlib.h>
22918 _ACEOF
22919 rm -f conftest.$ac_objext
22920 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22921 (eval $ac_compile) 2>conftest.er1
22922 ac_status=$?
22923 grep -v '^ *+' conftest.er1 >conftest.err
22924 rm -f conftest.er1
22925 cat conftest.err >&5
22926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22927 (exit $ac_status); } &&
22928 { ac_try='test -z "$ac_c_werror_flag"
22929 || test ! -s conftest.err'
22930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22931 (eval $ac_try) 2>&5
22932 ac_status=$?
22933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22934 (exit $ac_status); }; } &&
22935 { ac_try='test -s conftest.$ac_objext'
22936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22937 (eval $ac_try) 2>&5
22938 ac_status=$?
22939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22940 (exit $ac_status); }; }; then
22941 ac_header_compiler=yes
22942 else
22943 echo "$as_me: failed program was:" >&5
22944 sed 's/^/| /' conftest.$ac_ext >&5
22945
22946 ac_header_compiler=no
22947 fi
22948 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22949 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22950 echo "${ECHO_T}$ac_header_compiler" >&6
22951
22952 # Is the header present?
22953 echo "$as_me:$LINENO: checking zlib.h presence" >&5
22954 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
22955 cat >conftest.$ac_ext <<_ACEOF
22956 /* confdefs.h. */
22957 _ACEOF
22958 cat confdefs.h >>conftest.$ac_ext
22959 cat >>conftest.$ac_ext <<_ACEOF
22960 /* end confdefs.h. */
22961 #include <zlib.h>
22962 _ACEOF
22963 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22964 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
22965 ac_status=$?
22966 grep -v '^ *+' conftest.er1 >conftest.err
22967 rm -f conftest.er1
22968 cat conftest.err >&5
22969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22970 (exit $ac_status); } >/dev/null; then
22971 if test -s conftest.err; then
22972 ac_cpp_err=$ac_c_preproc_warn_flag
22973 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
22974 else
22975 ac_cpp_err=
22976 fi
22977 else
22978 ac_cpp_err=yes
22979 fi
22980 if test -z "$ac_cpp_err"; then
22981 ac_header_preproc=yes
22982 else
22983 echo "$as_me: failed program was:" >&5
22984 sed 's/^/| /' conftest.$ac_ext >&5
22985
22986 ac_header_preproc=no
22987 fi
22988 rm -f conftest.err conftest.$ac_ext
22989 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22990 echo "${ECHO_T}$ac_header_preproc" >&6
22991
22992 # So? What about this header?
22993 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22994 yes:no: )
22995 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
22996 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
22997 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5
22998 echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;}
22999 ac_header_preproc=yes
23000 ;;
23001 no:yes:* )
23002 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
23003 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
23004 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
23005 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
23006 { echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
23007 echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
23008 { echo "$as_me:$LINENO: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&5
23009 echo "$as_me: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
23010 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
23011 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
23012 { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
23013 echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
23014 (
23015 cat <<\_ASBOX
23016 ## ----------------------------------------- ##
23017 ## Report this to wx-dev@lists.wxwidgets.org ##
23018 ## ----------------------------------------- ##
23019 _ASBOX
23020 ) |
23021 sed "s/^/$as_me: WARNING: /" >&2
23022 ;;
23023 esac
23024 echo "$as_me:$LINENO: checking for zlib.h" >&5
23025 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
23026 if test "${ac_cv_header_zlib_h+set}" = set; then
23027 echo $ECHO_N "(cached) $ECHO_C" >&6
23028 else
23029 ac_cv_header_zlib_h=$ac_header_preproc
23030 fi
23031 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
23032 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
23033
23034 fi
23035
23036
23037
23038 system_zlib_h_ok=$ac_cv_header_zlib_h
23039 fi
23040
23041 if test "$system_zlib_h_ok" = "yes"; then
23042 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
23043 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
23044 if test "${ac_cv_lib_z_deflate+set}" = set; then
23045 echo $ECHO_N "(cached) $ECHO_C" >&6
23046 else
23047 ac_check_lib_save_LIBS=$LIBS
23048 LIBS="-lz $LIBS"
23049 cat >conftest.$ac_ext <<_ACEOF
23050 /* confdefs.h. */
23051 _ACEOF
23052 cat confdefs.h >>conftest.$ac_ext
23053 cat >>conftest.$ac_ext <<_ACEOF
23054 /* end confdefs.h. */
23055
23056 /* Override any gcc2 internal prototype to avoid an error. */
23057 #ifdef __cplusplus
23058 extern "C"
23059 #endif
23060 /* We use char because int might match the return type of a gcc2
23061 builtin and then its argument prototype would still apply. */
23062 char deflate ();
23063 int
23064 main ()
23065 {
23066 deflate ();
23067 ;
23068 return 0;
23069 }
23070 _ACEOF
23071 rm -f conftest.$ac_objext conftest$ac_exeext
23072 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23073 (eval $ac_link) 2>conftest.er1
23074 ac_status=$?
23075 grep -v '^ *+' conftest.er1 >conftest.err
23076 rm -f conftest.er1
23077 cat conftest.err >&5
23078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23079 (exit $ac_status); } &&
23080 { ac_try='test -z "$ac_c_werror_flag"
23081 || test ! -s conftest.err'
23082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23083 (eval $ac_try) 2>&5
23084 ac_status=$?
23085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23086 (exit $ac_status); }; } &&
23087 { ac_try='test -s conftest$ac_exeext'
23088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23089 (eval $ac_try) 2>&5
23090 ac_status=$?
23091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23092 (exit $ac_status); }; }; then
23093 ac_cv_lib_z_deflate=yes
23094 else
23095 echo "$as_me: failed program was:" >&5
23096 sed 's/^/| /' conftest.$ac_ext >&5
23097
23098 ac_cv_lib_z_deflate=no
23099 fi
23100 rm -f conftest.err conftest.$ac_objext \
23101 conftest$ac_exeext conftest.$ac_ext
23102 LIBS=$ac_check_lib_save_LIBS
23103 fi
23104 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
23105 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
23106 if test $ac_cv_lib_z_deflate = yes; then
23107 ZLIB_LINK=" -lz"
23108 fi
23109
23110 fi
23111
23112 if test "x$ZLIB_LINK" = "x" ; then
23113 if test "$wxUSE_ZLIB" = "sys" ; then
23114 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
23115 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
23116 { (exit 1); exit 1; }; }
23117 else
23118 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
23119 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
23120 wxUSE_ZLIB=builtin
23121 fi
23122 else
23123 wxUSE_ZLIB=sys
23124 fi
23125 fi
23126 fi
23127
23128
23129 PNG_LINK=
23130 if test "$wxUSE_LIBPNG" != "no" ; then
23131 cat >>confdefs.h <<\_ACEOF
23132 #define wxUSE_LIBPNG 1
23133 _ACEOF
23134
23135
23136 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
23137 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
23138 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
23139 wxUSE_LIBPNG=sys
23140 fi
23141
23142 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
23143 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
23144 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
23145 wxUSE_LIBPNG=builtin
23146 fi
23147
23148 if test "$wxUSE_MGL" != 1 ; then
23149 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
23150 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
23151 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
23152 if test "${ac_cv_header_png_h+set}" = set; then
23153 echo $ECHO_N "(cached) $ECHO_C" >&6
23154 else
23155 if test "$cross_compiling" = yes; then
23156 unset ac_cv_header_png_h
23157
23158 else
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
23166 #include <png.h>
23167 #include <stdio.h>
23168
23169 int main()
23170 {
23171 FILE *f=fopen("conftestval", "w");
23172 if (!f) exit(1);
23173 fprintf(f, "%s",
23174 PNG_LIBPNG_VER > 90 ? "yes" : "no");
23175 exit(0);
23176 }
23177
23178 _ACEOF
23179 rm -f conftest$ac_exeext
23180 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23181 (eval $ac_link) 2>&5
23182 ac_status=$?
23183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23184 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23186 (eval $ac_try) 2>&5
23187 ac_status=$?
23188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23189 (exit $ac_status); }; }; then
23190 ac_cv_header_png_h=`cat conftestval`
23191 else
23192 echo "$as_me: program exited with status $ac_status" >&5
23193 echo "$as_me: failed program was:" >&5
23194 sed 's/^/| /' conftest.$ac_ext >&5
23195
23196 ( exit $ac_status )
23197 ac_cv_header_png_h=no
23198 fi
23199 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23200 fi
23201
23202 fi
23203 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
23204 echo "${ECHO_T}$ac_cv_header_png_h" >&6
23205 if test "${ac_cv_header_png_h+set}" = set; then
23206 echo "$as_me:$LINENO: checking for png.h" >&5
23207 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
23208 if test "${ac_cv_header_png_h+set}" = set; then
23209 echo $ECHO_N "(cached) $ECHO_C" >&6
23210 fi
23211 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
23212 echo "${ECHO_T}$ac_cv_header_png_h" >&6
23213 else
23214 # Is the header compilable?
23215 echo "$as_me:$LINENO: checking png.h usability" >&5
23216 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
23217 cat >conftest.$ac_ext <<_ACEOF
23218 /* confdefs.h. */
23219 _ACEOF
23220 cat confdefs.h >>conftest.$ac_ext
23221 cat >>conftest.$ac_ext <<_ACEOF
23222 /* end confdefs.h. */
23223 $ac_includes_default
23224 #include <png.h>
23225 _ACEOF
23226 rm -f conftest.$ac_objext
23227 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23228 (eval $ac_compile) 2>conftest.er1
23229 ac_status=$?
23230 grep -v '^ *+' conftest.er1 >conftest.err
23231 rm -f conftest.er1
23232 cat conftest.err >&5
23233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23234 (exit $ac_status); } &&
23235 { ac_try='test -z "$ac_c_werror_flag"
23236 || test ! -s conftest.err'
23237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23238 (eval $ac_try) 2>&5
23239 ac_status=$?
23240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23241 (exit $ac_status); }; } &&
23242 { ac_try='test -s conftest.$ac_objext'
23243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23244 (eval $ac_try) 2>&5
23245 ac_status=$?
23246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23247 (exit $ac_status); }; }; then
23248 ac_header_compiler=yes
23249 else
23250 echo "$as_me: failed program was:" >&5
23251 sed 's/^/| /' conftest.$ac_ext >&5
23252
23253 ac_header_compiler=no
23254 fi
23255 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23256 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23257 echo "${ECHO_T}$ac_header_compiler" >&6
23258
23259 # Is the header present?
23260 echo "$as_me:$LINENO: checking png.h presence" >&5
23261 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
23262 cat >conftest.$ac_ext <<_ACEOF
23263 /* confdefs.h. */
23264 _ACEOF
23265 cat confdefs.h >>conftest.$ac_ext
23266 cat >>conftest.$ac_ext <<_ACEOF
23267 /* end confdefs.h. */
23268 #include <png.h>
23269 _ACEOF
23270 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23271 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
23272 ac_status=$?
23273 grep -v '^ *+' conftest.er1 >conftest.err
23274 rm -f conftest.er1
23275 cat conftest.err >&5
23276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23277 (exit $ac_status); } >/dev/null; then
23278 if test -s conftest.err; then
23279 ac_cpp_err=$ac_c_preproc_warn_flag
23280 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
23281 else
23282 ac_cpp_err=
23283 fi
23284 else
23285 ac_cpp_err=yes
23286 fi
23287 if test -z "$ac_cpp_err"; then
23288 ac_header_preproc=yes
23289 else
23290 echo "$as_me: failed program was:" >&5
23291 sed 's/^/| /' conftest.$ac_ext >&5
23292
23293 ac_header_preproc=no
23294 fi
23295 rm -f conftest.err conftest.$ac_ext
23296 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23297 echo "${ECHO_T}$ac_header_preproc" >&6
23298
23299 # So? What about this header?
23300 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23301 yes:no: )
23302 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
23303 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
23304 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the compiler's result" >&5
23305 echo "$as_me: WARNING: png.h: proceeding with the compiler's result" >&2;}
23306 ac_header_preproc=yes
23307 ;;
23308 no:yes:* )
23309 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
23310 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
23311 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
23312 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
23313 { echo "$as_me:$LINENO: WARNING: png.h: see the Autoconf documentation" >&5
23314 echo "$as_me: WARNING: png.h: see the Autoconf documentation" >&2;}
23315 { echo "$as_me:$LINENO: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&5
23316 echo "$as_me: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&2;}
23317 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
23318 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
23319 { echo "$as_me:$LINENO: WARNING: png.h: in the future, the compiler will take precedence" >&5
23320 echo "$as_me: WARNING: png.h: in the future, the compiler will take precedence" >&2;}
23321 (
23322 cat <<\_ASBOX
23323 ## ----------------------------------------- ##
23324 ## Report this to wx-dev@lists.wxwidgets.org ##
23325 ## ----------------------------------------- ##
23326 _ASBOX
23327 ) |
23328 sed "s/^/$as_me: WARNING: /" >&2
23329 ;;
23330 esac
23331 echo "$as_me:$LINENO: checking for png.h" >&5
23332 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
23333 if test "${ac_cv_header_png_h+set}" = set; then
23334 echo $ECHO_N "(cached) $ECHO_C" >&6
23335 else
23336 ac_cv_header_png_h=$ac_header_preproc
23337 fi
23338 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
23339 echo "${ECHO_T}$ac_cv_header_png_h" >&6
23340
23341 fi
23342
23343
23344
23345 if test "$ac_cv_header_png_h" = "yes"; then
23346 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
23347 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
23348 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
23349 echo $ECHO_N "(cached) $ECHO_C" >&6
23350 else
23351 ac_check_lib_save_LIBS=$LIBS
23352 LIBS="-lpng -lz -lm $LIBS"
23353 cat >conftest.$ac_ext <<_ACEOF
23354 /* confdefs.h. */
23355 _ACEOF
23356 cat confdefs.h >>conftest.$ac_ext
23357 cat >>conftest.$ac_ext <<_ACEOF
23358 /* end confdefs.h. */
23359
23360 /* Override any gcc2 internal prototype to avoid an error. */
23361 #ifdef __cplusplus
23362 extern "C"
23363 #endif
23364 /* We use char because int might match the return type of a gcc2
23365 builtin and then its argument prototype would still apply. */
23366 char png_check_sig ();
23367 int
23368 main ()
23369 {
23370 png_check_sig ();
23371 ;
23372 return 0;
23373 }
23374 _ACEOF
23375 rm -f conftest.$ac_objext conftest$ac_exeext
23376 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23377 (eval $ac_link) 2>conftest.er1
23378 ac_status=$?
23379 grep -v '^ *+' conftest.er1 >conftest.err
23380 rm -f conftest.er1
23381 cat conftest.err >&5
23382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23383 (exit $ac_status); } &&
23384 { ac_try='test -z "$ac_c_werror_flag"
23385 || test ! -s conftest.err'
23386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23387 (eval $ac_try) 2>&5
23388 ac_status=$?
23389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23390 (exit $ac_status); }; } &&
23391 { ac_try='test -s conftest$ac_exeext'
23392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23393 (eval $ac_try) 2>&5
23394 ac_status=$?
23395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23396 (exit $ac_status); }; }; then
23397 ac_cv_lib_png_png_check_sig=yes
23398 else
23399 echo "$as_me: failed program was:" >&5
23400 sed 's/^/| /' conftest.$ac_ext >&5
23401
23402 ac_cv_lib_png_png_check_sig=no
23403 fi
23404 rm -f conftest.err conftest.$ac_objext \
23405 conftest$ac_exeext conftest.$ac_ext
23406 LIBS=$ac_check_lib_save_LIBS
23407 fi
23408 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
23409 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
23410 if test $ac_cv_lib_png_png_check_sig = yes; then
23411 PNG_LINK=" -lpng -lz"
23412 fi
23413
23414 fi
23415
23416 if test "x$PNG_LINK" = "x" ; then
23417 if test "$wxUSE_LIBPNG" = "sys" ; then
23418 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
23419 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
23420 { (exit 1); exit 1; }; }
23421 else
23422 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
23423 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
23424 wxUSE_LIBPNG=builtin
23425 fi
23426 else
23427 wxUSE_LIBPNG=sys
23428 fi
23429 fi
23430 fi
23431
23432 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS png"
23433 fi
23434
23435
23436 JPEG_LINK=
23437 if test "$wxUSE_LIBJPEG" != "no" ; then
23438 cat >>confdefs.h <<\_ACEOF
23439 #define wxUSE_LIBJPEG 1
23440 _ACEOF
23441
23442
23443 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
23444 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
23445 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
23446 wxUSE_LIBJPEG=sys
23447 fi
23448
23449 if test "$wxUSE_MGL" != 1 ; then
23450 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
23451 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
23452 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
23453 if test "${ac_cv_header_jpeglib_h+set}" = set; then
23454 echo $ECHO_N "(cached) $ECHO_C" >&6
23455 else
23456 cat >conftest.$ac_ext <<_ACEOF
23457 /* confdefs.h. */
23458 _ACEOF
23459 cat confdefs.h >>conftest.$ac_ext
23460 cat >>conftest.$ac_ext <<_ACEOF
23461 /* end confdefs.h. */
23462
23463 #undef HAVE_STDLIB_H
23464 #include <stdio.h>
23465 #include <jpeglib.h>
23466
23467 int
23468 main ()
23469 {
23470
23471
23472 ;
23473 return 0;
23474 }
23475 _ACEOF
23476 rm -f conftest.$ac_objext
23477 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23478 (eval $ac_compile) 2>conftest.er1
23479 ac_status=$?
23480 grep -v '^ *+' conftest.er1 >conftest.err
23481 rm -f conftest.er1
23482 cat conftest.err >&5
23483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23484 (exit $ac_status); } &&
23485 { ac_try='test -z "$ac_c_werror_flag"
23486 || test ! -s conftest.err'
23487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23488 (eval $ac_try) 2>&5
23489 ac_status=$?
23490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23491 (exit $ac_status); }; } &&
23492 { ac_try='test -s conftest.$ac_objext'
23493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23494 (eval $ac_try) 2>&5
23495 ac_status=$?
23496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23497 (exit $ac_status); }; }; then
23498 ac_cv_header_jpeglib_h=yes
23499 else
23500 echo "$as_me: failed program was:" >&5
23501 sed 's/^/| /' conftest.$ac_ext >&5
23502
23503 ac_cv_header_jpeglib_h=no
23504
23505 fi
23506 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23507
23508 fi
23509
23510 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
23511 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
23512
23513 if test "$ac_cv_header_jpeglib_h" = "yes"; then
23514 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
23515 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
23516 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
23517 echo $ECHO_N "(cached) $ECHO_C" >&6
23518 else
23519 ac_check_lib_save_LIBS=$LIBS
23520 LIBS="-ljpeg $LIBS"
23521 cat >conftest.$ac_ext <<_ACEOF
23522 /* confdefs.h. */
23523 _ACEOF
23524 cat confdefs.h >>conftest.$ac_ext
23525 cat >>conftest.$ac_ext <<_ACEOF
23526 /* end confdefs.h. */
23527
23528 /* Override any gcc2 internal prototype to avoid an error. */
23529 #ifdef __cplusplus
23530 extern "C"
23531 #endif
23532 /* We use char because int might match the return type of a gcc2
23533 builtin and then its argument prototype would still apply. */
23534 char jpeg_read_header ();
23535 int
23536 main ()
23537 {
23538 jpeg_read_header ();
23539 ;
23540 return 0;
23541 }
23542 _ACEOF
23543 rm -f conftest.$ac_objext conftest$ac_exeext
23544 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23545 (eval $ac_link) 2>conftest.er1
23546 ac_status=$?
23547 grep -v '^ *+' conftest.er1 >conftest.err
23548 rm -f conftest.er1
23549 cat conftest.err >&5
23550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23551 (exit $ac_status); } &&
23552 { ac_try='test -z "$ac_c_werror_flag"
23553 || test ! -s conftest.err'
23554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23555 (eval $ac_try) 2>&5
23556 ac_status=$?
23557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23558 (exit $ac_status); }; } &&
23559 { ac_try='test -s conftest$ac_exeext'
23560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23561 (eval $ac_try) 2>&5
23562 ac_status=$?
23563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23564 (exit $ac_status); }; }; then
23565 ac_cv_lib_jpeg_jpeg_read_header=yes
23566 else
23567 echo "$as_me: failed program was:" >&5
23568 sed 's/^/| /' conftest.$ac_ext >&5
23569
23570 ac_cv_lib_jpeg_jpeg_read_header=no
23571 fi
23572 rm -f conftest.err conftest.$ac_objext \
23573 conftest$ac_exeext conftest.$ac_ext
23574 LIBS=$ac_check_lib_save_LIBS
23575 fi
23576 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
23577 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
23578 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
23579 JPEG_LINK=" -ljpeg"
23580 fi
23581
23582 fi
23583
23584 if test "x$JPEG_LINK" = "x" ; then
23585 if test "$wxUSE_LIBJPEG" = "sys" ; then
23586 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
23587 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
23588 { (exit 1); exit 1; }; }
23589 else
23590 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
23591 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
23592 wxUSE_LIBJPEG=builtin
23593 fi
23594 else
23595 wxUSE_LIBJPEG=sys
23596 fi
23597 fi
23598 fi
23599 fi
23600
23601
23602 TIFF_LINK=
23603 TIFF_PREREQ_LINKS=-lm
23604 if test "$wxUSE_LIBTIFF" != "no" ; then
23605 cat >>confdefs.h <<\_ACEOF
23606 #define wxUSE_LIBTIFF 1
23607 _ACEOF
23608
23609
23610 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
23611 if test "$wxUSE_LIBJPEG" = "sys"; then
23612 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
23613 fi
23614 if test "$wxUSE_ZLIB" = "sys"; then
23615 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
23616 fi
23617 if test "${ac_cv_header_tiffio_h+set}" = set; then
23618 echo "$as_me:$LINENO: checking for tiffio.h" >&5
23619 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
23620 if test "${ac_cv_header_tiffio_h+set}" = set; then
23621 echo $ECHO_N "(cached) $ECHO_C" >&6
23622 fi
23623 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
23624 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
23625 else
23626 # Is the header compilable?
23627 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
23628 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
23629 cat >conftest.$ac_ext <<_ACEOF
23630 /* confdefs.h. */
23631 _ACEOF
23632 cat confdefs.h >>conftest.$ac_ext
23633 cat >>conftest.$ac_ext <<_ACEOF
23634 /* end confdefs.h. */
23635 $ac_includes_default
23636 #include <tiffio.h>
23637 _ACEOF
23638 rm -f conftest.$ac_objext
23639 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23640 (eval $ac_compile) 2>conftest.er1
23641 ac_status=$?
23642 grep -v '^ *+' conftest.er1 >conftest.err
23643 rm -f conftest.er1
23644 cat conftest.err >&5
23645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23646 (exit $ac_status); } &&
23647 { ac_try='test -z "$ac_c_werror_flag"
23648 || test ! -s conftest.err'
23649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23650 (eval $ac_try) 2>&5
23651 ac_status=$?
23652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23653 (exit $ac_status); }; } &&
23654 { ac_try='test -s conftest.$ac_objext'
23655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23656 (eval $ac_try) 2>&5
23657 ac_status=$?
23658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23659 (exit $ac_status); }; }; then
23660 ac_header_compiler=yes
23661 else
23662 echo "$as_me: failed program was:" >&5
23663 sed 's/^/| /' conftest.$ac_ext >&5
23664
23665 ac_header_compiler=no
23666 fi
23667 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23668 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23669 echo "${ECHO_T}$ac_header_compiler" >&6
23670
23671 # Is the header present?
23672 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
23673 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
23674 cat >conftest.$ac_ext <<_ACEOF
23675 /* confdefs.h. */
23676 _ACEOF
23677 cat confdefs.h >>conftest.$ac_ext
23678 cat >>conftest.$ac_ext <<_ACEOF
23679 /* end confdefs.h. */
23680 #include <tiffio.h>
23681 _ACEOF
23682 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23683 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
23684 ac_status=$?
23685 grep -v '^ *+' conftest.er1 >conftest.err
23686 rm -f conftest.er1
23687 cat conftest.err >&5
23688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23689 (exit $ac_status); } >/dev/null; then
23690 if test -s conftest.err; then
23691 ac_cpp_err=$ac_c_preproc_warn_flag
23692 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
23693 else
23694 ac_cpp_err=
23695 fi
23696 else
23697 ac_cpp_err=yes
23698 fi
23699 if test -z "$ac_cpp_err"; then
23700 ac_header_preproc=yes
23701 else
23702 echo "$as_me: failed program was:" >&5
23703 sed 's/^/| /' conftest.$ac_ext >&5
23704
23705 ac_header_preproc=no
23706 fi
23707 rm -f conftest.err conftest.$ac_ext
23708 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23709 echo "${ECHO_T}$ac_header_preproc" >&6
23710
23711 # So? What about this header?
23712 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23713 yes:no: )
23714 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
23715 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
23716 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the compiler's result" >&5
23717 echo "$as_me: WARNING: tiffio.h: proceeding with the compiler's result" >&2;}
23718 ac_header_preproc=yes
23719 ;;
23720 no:yes:* )
23721 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
23722 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
23723 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
23724 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
23725 { echo "$as_me:$LINENO: WARNING: tiffio.h: see the Autoconf documentation" >&5
23726 echo "$as_me: WARNING: tiffio.h: see the Autoconf documentation" >&2;}
23727 { echo "$as_me:$LINENO: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&5
23728 echo "$as_me: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&2;}
23729 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
23730 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
23731 { echo "$as_me:$LINENO: WARNING: tiffio.h: in the future, the compiler will take precedence" >&5
23732 echo "$as_me: WARNING: tiffio.h: in the future, the compiler will take precedence" >&2;}
23733 (
23734 cat <<\_ASBOX
23735 ## ----------------------------------------- ##
23736 ## Report this to wx-dev@lists.wxwidgets.org ##
23737 ## ----------------------------------------- ##
23738 _ASBOX
23739 ) |
23740 sed "s/^/$as_me: WARNING: /" >&2
23741 ;;
23742 esac
23743 echo "$as_me:$LINENO: checking for tiffio.h" >&5
23744 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
23745 if test "${ac_cv_header_tiffio_h+set}" = set; then
23746 echo $ECHO_N "(cached) $ECHO_C" >&6
23747 else
23748 ac_cv_header_tiffio_h=$ac_header_preproc
23749 fi
23750 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
23751 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
23752
23753 fi
23754 if test $ac_cv_header_tiffio_h = yes; then
23755
23756 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
23757 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
23758 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
23759 echo $ECHO_N "(cached) $ECHO_C" >&6
23760 else
23761 ac_check_lib_save_LIBS=$LIBS
23762 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
23763 cat >conftest.$ac_ext <<_ACEOF
23764 /* confdefs.h. */
23765 _ACEOF
23766 cat confdefs.h >>conftest.$ac_ext
23767 cat >>conftest.$ac_ext <<_ACEOF
23768 /* end confdefs.h. */
23769
23770 /* Override any gcc2 internal prototype to avoid an error. */
23771 #ifdef __cplusplus
23772 extern "C"
23773 #endif
23774 /* We use char because int might match the return type of a gcc2
23775 builtin and then its argument prototype would still apply. */
23776 char TIFFError ();
23777 int
23778 main ()
23779 {
23780 TIFFError ();
23781 ;
23782 return 0;
23783 }
23784 _ACEOF
23785 rm -f conftest.$ac_objext conftest$ac_exeext
23786 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23787 (eval $ac_link) 2>conftest.er1
23788 ac_status=$?
23789 grep -v '^ *+' conftest.er1 >conftest.err
23790 rm -f conftest.er1
23791 cat conftest.err >&5
23792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23793 (exit $ac_status); } &&
23794 { ac_try='test -z "$ac_c_werror_flag"
23795 || test ! -s conftest.err'
23796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23797 (eval $ac_try) 2>&5
23798 ac_status=$?
23799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23800 (exit $ac_status); }; } &&
23801 { ac_try='test -s conftest$ac_exeext'
23802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23803 (eval $ac_try) 2>&5
23804 ac_status=$?
23805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23806 (exit $ac_status); }; }; then
23807 ac_cv_lib_tiff_TIFFError=yes
23808 else
23809 echo "$as_me: failed program was:" >&5
23810 sed 's/^/| /' conftest.$ac_ext >&5
23811
23812 ac_cv_lib_tiff_TIFFError=no
23813 fi
23814 rm -f conftest.err conftest.$ac_objext \
23815 conftest$ac_exeext conftest.$ac_ext
23816 LIBS=$ac_check_lib_save_LIBS
23817 fi
23818 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
23819 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
23820 if test $ac_cv_lib_tiff_TIFFError = yes; then
23821 TIFF_LINK=" -ltiff"
23822 fi
23823
23824
23825
23826 fi
23827
23828
23829
23830 if test "x$TIFF_LINK" = "x" ; then
23831 if test "$wxUSE_LIBTIFF" = "sys" ; then
23832 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
23833 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
23834 { (exit 1); exit 1; }; }
23835 else
23836 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
23837 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
23838 wxUSE_LIBTIFF=builtin
23839 fi
23840 else
23841 wxUSE_LIBTIFF=sys
23842 fi
23843 fi
23844 fi
23845
23846
23847 if test "$wxUSE_WCHAR_T" != "yes"; then
23848 if test "$wxUSE_EXPAT" != "no"; then
23849 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
23850 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
23851 wxUSE_EXPAT=no
23852 fi
23853 if test "$wxUSE_XML" != "no"; then
23854 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
23855 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
23856 wxUSE_XML=no
23857 fi
23858 fi
23859
23860 if test "$wxUSE_EXPAT" != "no"; then
23861 wxUSE_XML=yes
23862 cat >>confdefs.h <<\_ACEOF
23863 #define wxUSE_EXPAT 1
23864 _ACEOF
23865
23866 cat >>confdefs.h <<\_ACEOF
23867 #define wxUSE_XML 1
23868 _ACEOF
23869
23870
23871 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
23872 if test "${ac_cv_header_expat_h+set}" = set; then
23873 echo "$as_me:$LINENO: checking for expat.h" >&5
23874 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
23875 if test "${ac_cv_header_expat_h+set}" = set; then
23876 echo $ECHO_N "(cached) $ECHO_C" >&6
23877 fi
23878 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
23879 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
23880 else
23881 # Is the header compilable?
23882 echo "$as_me:$LINENO: checking expat.h usability" >&5
23883 echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6
23884 cat >conftest.$ac_ext <<_ACEOF
23885 /* confdefs.h. */
23886 _ACEOF
23887 cat confdefs.h >>conftest.$ac_ext
23888 cat >>conftest.$ac_ext <<_ACEOF
23889 /* end confdefs.h. */
23890 $ac_includes_default
23891 #include <expat.h>
23892 _ACEOF
23893 rm -f conftest.$ac_objext
23894 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23895 (eval $ac_compile) 2>conftest.er1
23896 ac_status=$?
23897 grep -v '^ *+' conftest.er1 >conftest.err
23898 rm -f conftest.er1
23899 cat conftest.err >&5
23900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23901 (exit $ac_status); } &&
23902 { ac_try='test -z "$ac_c_werror_flag"
23903 || test ! -s conftest.err'
23904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23905 (eval $ac_try) 2>&5
23906 ac_status=$?
23907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23908 (exit $ac_status); }; } &&
23909 { ac_try='test -s conftest.$ac_objext'
23910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23911 (eval $ac_try) 2>&5
23912 ac_status=$?
23913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23914 (exit $ac_status); }; }; then
23915 ac_header_compiler=yes
23916 else
23917 echo "$as_me: failed program was:" >&5
23918 sed 's/^/| /' conftest.$ac_ext >&5
23919
23920 ac_header_compiler=no
23921 fi
23922 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23923 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23924 echo "${ECHO_T}$ac_header_compiler" >&6
23925
23926 # Is the header present?
23927 echo "$as_me:$LINENO: checking expat.h presence" >&5
23928 echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6
23929 cat >conftest.$ac_ext <<_ACEOF
23930 /* confdefs.h. */
23931 _ACEOF
23932 cat confdefs.h >>conftest.$ac_ext
23933 cat >>conftest.$ac_ext <<_ACEOF
23934 /* end confdefs.h. */
23935 #include <expat.h>
23936 _ACEOF
23937 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23938 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
23939 ac_status=$?
23940 grep -v '^ *+' conftest.er1 >conftest.err
23941 rm -f conftest.er1
23942 cat conftest.err >&5
23943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23944 (exit $ac_status); } >/dev/null; then
23945 if test -s conftest.err; then
23946 ac_cpp_err=$ac_c_preproc_warn_flag
23947 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
23948 else
23949 ac_cpp_err=
23950 fi
23951 else
23952 ac_cpp_err=yes
23953 fi
23954 if test -z "$ac_cpp_err"; then
23955 ac_header_preproc=yes
23956 else
23957 echo "$as_me: failed program was:" >&5
23958 sed 's/^/| /' conftest.$ac_ext >&5
23959
23960 ac_header_preproc=no
23961 fi
23962 rm -f conftest.err conftest.$ac_ext
23963 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23964 echo "${ECHO_T}$ac_header_preproc" >&6
23965
23966 # So? What about this header?
23967 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23968 yes:no: )
23969 { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
23970 echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
23971 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the compiler's result" >&5
23972 echo "$as_me: WARNING: expat.h: proceeding with the compiler's result" >&2;}
23973 ac_header_preproc=yes
23974 ;;
23975 no:yes:* )
23976 { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
23977 echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
23978 { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
23979 echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
23980 { echo "$as_me:$LINENO: WARNING: expat.h: see the Autoconf documentation" >&5
23981 echo "$as_me: WARNING: expat.h: see the Autoconf documentation" >&2;}
23982 { echo "$as_me:$LINENO: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&5
23983 echo "$as_me: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&2;}
23984 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
23985 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
23986 { echo "$as_me:$LINENO: WARNING: expat.h: in the future, the compiler will take precedence" >&5
23987 echo "$as_me: WARNING: expat.h: in the future, the compiler will take precedence" >&2;}
23988 (
23989 cat <<\_ASBOX
23990 ## ----------------------------------------- ##
23991 ## Report this to wx-dev@lists.wxwidgets.org ##
23992 ## ----------------------------------------- ##
23993 _ASBOX
23994 ) |
23995 sed "s/^/$as_me: WARNING: /" >&2
23996 ;;
23997 esac
23998 echo "$as_me:$LINENO: checking for expat.h" >&5
23999 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
24000 if test "${ac_cv_header_expat_h+set}" = set; then
24001 echo $ECHO_N "(cached) $ECHO_C" >&6
24002 else
24003 ac_cv_header_expat_h=$ac_header_preproc
24004 fi
24005 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
24006 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
24007
24008 fi
24009 if test $ac_cv_header_expat_h = yes; then
24010 found_expat_h=1
24011 fi
24012
24013
24014 if test "x$found_expat_h" = "x1"; then
24015 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
24016 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
24017 if test "${wx_cv_expat_is_not_broken+set}" = set; then
24018 echo $ECHO_N "(cached) $ECHO_C" >&6
24019 else
24020
24021
24022
24023 ac_ext=cc
24024 ac_cpp='$CXXCPP $CPPFLAGS'
24025 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24026 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24027 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24028
24029 cat >conftest.$ac_ext <<_ACEOF
24030 /* confdefs.h. */
24031 _ACEOF
24032 cat confdefs.h >>conftest.$ac_ext
24033 cat >>conftest.$ac_ext <<_ACEOF
24034 /* end confdefs.h. */
24035 #include <expat.h>
24036 int
24037 main ()
24038 {
24039
24040 ;
24041 return 0;
24042 }
24043 _ACEOF
24044 rm -f conftest.$ac_objext
24045 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24046 (eval $ac_compile) 2>conftest.er1
24047 ac_status=$?
24048 grep -v '^ *+' conftest.er1 >conftest.err
24049 rm -f conftest.er1
24050 cat conftest.err >&5
24051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24052 (exit $ac_status); } &&
24053 { ac_try='test -z "$ac_cxx_werror_flag"
24054 || test ! -s conftest.err'
24055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24056 (eval $ac_try) 2>&5
24057 ac_status=$?
24058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24059 (exit $ac_status); }; } &&
24060 { ac_try='test -s conftest.$ac_objext'
24061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24062 (eval $ac_try) 2>&5
24063 ac_status=$?
24064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24065 (exit $ac_status); }; }; then
24066 wx_cv_expat_is_not_broken=yes
24067 else
24068 echo "$as_me: failed program was:" >&5
24069 sed 's/^/| /' conftest.$ac_ext >&5
24070
24071 wx_cv_expat_is_not_broken=no
24072
24073 fi
24074 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24075 ac_ext=c
24076 ac_cpp='$CPP $CPPFLAGS'
24077 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24078 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24079 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24080
24081
24082
24083 fi
24084 echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
24085 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
24086 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
24087 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
24088 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
24089 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
24090 echo $ECHO_N "(cached) $ECHO_C" >&6
24091 else
24092 ac_check_lib_save_LIBS=$LIBS
24093 LIBS="-lexpat $LIBS"
24094 cat >conftest.$ac_ext <<_ACEOF
24095 /* confdefs.h. */
24096 _ACEOF
24097 cat confdefs.h >>conftest.$ac_ext
24098 cat >>conftest.$ac_ext <<_ACEOF
24099 /* end confdefs.h. */
24100
24101 /* Override any gcc2 internal prototype to avoid an error. */
24102 #ifdef __cplusplus
24103 extern "C"
24104 #endif
24105 /* We use char because int might match the return type of a gcc2
24106 builtin and then its argument prototype would still apply. */
24107 char XML_ParserCreate ();
24108 int
24109 main ()
24110 {
24111 XML_ParserCreate ();
24112 ;
24113 return 0;
24114 }
24115 _ACEOF
24116 rm -f conftest.$ac_objext conftest$ac_exeext
24117 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24118 (eval $ac_link) 2>conftest.er1
24119 ac_status=$?
24120 grep -v '^ *+' conftest.er1 >conftest.err
24121 rm -f conftest.er1
24122 cat conftest.err >&5
24123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24124 (exit $ac_status); } &&
24125 { ac_try='test -z "$ac_c_werror_flag"
24126 || test ! -s conftest.err'
24127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24128 (eval $ac_try) 2>&5
24129 ac_status=$?
24130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24131 (exit $ac_status); }; } &&
24132 { ac_try='test -s conftest$ac_exeext'
24133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24134 (eval $ac_try) 2>&5
24135 ac_status=$?
24136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24137 (exit $ac_status); }; }; then
24138 ac_cv_lib_expat_XML_ParserCreate=yes
24139 else
24140 echo "$as_me: failed program was:" >&5
24141 sed 's/^/| /' conftest.$ac_ext >&5
24142
24143 ac_cv_lib_expat_XML_ParserCreate=no
24144 fi
24145 rm -f conftest.err conftest.$ac_objext \
24146 conftest$ac_exeext conftest.$ac_ext
24147 LIBS=$ac_check_lib_save_LIBS
24148 fi
24149 echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
24150 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
24151 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
24152 EXPAT_LINK=" -lexpat"
24153 fi
24154
24155 fi
24156 fi
24157 if test "x$EXPAT_LINK" = "x" ; then
24158 if test "$wxUSE_EXPAT" = "sys" ; then
24159 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
24160 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
24161 { (exit 1); exit 1; }; }
24162 else
24163 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
24164 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
24165 wxUSE_EXPAT=builtin
24166 fi
24167 else
24168 wxUSE_EXPAT=sys
24169 fi
24170 fi
24171 if test "$wxUSE_EXPAT" = "builtin" ; then
24172
24173
24174 subdirs="$subdirs src/expat"
24175
24176 fi
24177 fi
24178
24179
24180
24181 if test "$wxUSE_LIBMSPACK" != "no"; then
24182 if test "${ac_cv_header_mspack_h+set}" = set; then
24183 echo "$as_me:$LINENO: checking for mspack.h" >&5
24184 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
24185 if test "${ac_cv_header_mspack_h+set}" = set; then
24186 echo $ECHO_N "(cached) $ECHO_C" >&6
24187 fi
24188 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
24189 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
24190 else
24191 # Is the header compilable?
24192 echo "$as_me:$LINENO: checking mspack.h usability" >&5
24193 echo $ECHO_N "checking mspack.h usability... $ECHO_C" >&6
24194 cat >conftest.$ac_ext <<_ACEOF
24195 /* confdefs.h. */
24196 _ACEOF
24197 cat confdefs.h >>conftest.$ac_ext
24198 cat >>conftest.$ac_ext <<_ACEOF
24199 /* end confdefs.h. */
24200 $ac_includes_default
24201 #include <mspack.h>
24202 _ACEOF
24203 rm -f conftest.$ac_objext
24204 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24205 (eval $ac_compile) 2>conftest.er1
24206 ac_status=$?
24207 grep -v '^ *+' conftest.er1 >conftest.err
24208 rm -f conftest.er1
24209 cat conftest.err >&5
24210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24211 (exit $ac_status); } &&
24212 { ac_try='test -z "$ac_c_werror_flag"
24213 || test ! -s conftest.err'
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); }; } &&
24219 { ac_try='test -s conftest.$ac_objext'
24220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24221 (eval $ac_try) 2>&5
24222 ac_status=$?
24223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24224 (exit $ac_status); }; }; then
24225 ac_header_compiler=yes
24226 else
24227 echo "$as_me: failed program was:" >&5
24228 sed 's/^/| /' conftest.$ac_ext >&5
24229
24230 ac_header_compiler=no
24231 fi
24232 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24233 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24234 echo "${ECHO_T}$ac_header_compiler" >&6
24235
24236 # Is the header present?
24237 echo "$as_me:$LINENO: checking mspack.h presence" >&5
24238 echo $ECHO_N "checking mspack.h presence... $ECHO_C" >&6
24239 cat >conftest.$ac_ext <<_ACEOF
24240 /* confdefs.h. */
24241 _ACEOF
24242 cat confdefs.h >>conftest.$ac_ext
24243 cat >>conftest.$ac_ext <<_ACEOF
24244 /* end confdefs.h. */
24245 #include <mspack.h>
24246 _ACEOF
24247 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24248 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
24249 ac_status=$?
24250 grep -v '^ *+' conftest.er1 >conftest.err
24251 rm -f conftest.er1
24252 cat conftest.err >&5
24253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24254 (exit $ac_status); } >/dev/null; then
24255 if test -s conftest.err; then
24256 ac_cpp_err=$ac_c_preproc_warn_flag
24257 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
24258 else
24259 ac_cpp_err=
24260 fi
24261 else
24262 ac_cpp_err=yes
24263 fi
24264 if test -z "$ac_cpp_err"; then
24265 ac_header_preproc=yes
24266 else
24267 echo "$as_me: failed program was:" >&5
24268 sed 's/^/| /' conftest.$ac_ext >&5
24269
24270 ac_header_preproc=no
24271 fi
24272 rm -f conftest.err conftest.$ac_ext
24273 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24274 echo "${ECHO_T}$ac_header_preproc" >&6
24275
24276 # So? What about this header?
24277 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24278 yes:no: )
24279 { echo "$as_me:$LINENO: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&5
24280 echo "$as_me: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24281 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the compiler's result" >&5
24282 echo "$as_me: WARNING: mspack.h: proceeding with the compiler's result" >&2;}
24283 ac_header_preproc=yes
24284 ;;
24285 no:yes:* )
24286 { echo "$as_me:$LINENO: WARNING: mspack.h: present but cannot be compiled" >&5
24287 echo "$as_me: WARNING: mspack.h: present but cannot be compiled" >&2;}
24288 { echo "$as_me:$LINENO: WARNING: mspack.h: check for missing prerequisite headers?" >&5
24289 echo "$as_me: WARNING: mspack.h: check for missing prerequisite headers?" >&2;}
24290 { echo "$as_me:$LINENO: WARNING: mspack.h: see the Autoconf documentation" >&5
24291 echo "$as_me: WARNING: mspack.h: see the Autoconf documentation" >&2;}
24292 { echo "$as_me:$LINENO: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&5
24293 echo "$as_me: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&2;}
24294 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the preprocessor's result" >&5
24295 echo "$as_me: WARNING: mspack.h: proceeding with the preprocessor's result" >&2;}
24296 { echo "$as_me:$LINENO: WARNING: mspack.h: in the future, the compiler will take precedence" >&5
24297 echo "$as_me: WARNING: mspack.h: in the future, the compiler will take precedence" >&2;}
24298 (
24299 cat <<\_ASBOX
24300 ## ----------------------------------------- ##
24301 ## Report this to wx-dev@lists.wxwidgets.org ##
24302 ## ----------------------------------------- ##
24303 _ASBOX
24304 ) |
24305 sed "s/^/$as_me: WARNING: /" >&2
24306 ;;
24307 esac
24308 echo "$as_me:$LINENO: checking for mspack.h" >&5
24309 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
24310 if test "${ac_cv_header_mspack_h+set}" = set; then
24311 echo $ECHO_N "(cached) $ECHO_C" >&6
24312 else
24313 ac_cv_header_mspack_h=$ac_header_preproc
24314 fi
24315 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
24316 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
24317
24318 fi
24319 if test $ac_cv_header_mspack_h = yes; then
24320 found_mspack_h=1
24321 fi
24322
24323
24324 if test "x$found_mspack_h" = "x1"; then
24325 echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
24326 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6
24327 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
24328 echo $ECHO_N "(cached) $ECHO_C" >&6
24329 else
24330 ac_check_lib_save_LIBS=$LIBS
24331 LIBS="-lmspack $LIBS"
24332 cat >conftest.$ac_ext <<_ACEOF
24333 /* confdefs.h. */
24334 _ACEOF
24335 cat confdefs.h >>conftest.$ac_ext
24336 cat >>conftest.$ac_ext <<_ACEOF
24337 /* end confdefs.h. */
24338
24339 /* Override any gcc2 internal prototype to avoid an error. */
24340 #ifdef __cplusplus
24341 extern "C"
24342 #endif
24343 /* We use char because int might match the return type of a gcc2
24344 builtin and then its argument prototype would still apply. */
24345 char mspack_create_chm_decompressor ();
24346 int
24347 main ()
24348 {
24349 mspack_create_chm_decompressor ();
24350 ;
24351 return 0;
24352 }
24353 _ACEOF
24354 rm -f conftest.$ac_objext conftest$ac_exeext
24355 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24356 (eval $ac_link) 2>conftest.er1
24357 ac_status=$?
24358 grep -v '^ *+' conftest.er1 >conftest.err
24359 rm -f conftest.er1
24360 cat conftest.err >&5
24361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24362 (exit $ac_status); } &&
24363 { ac_try='test -z "$ac_c_werror_flag"
24364 || test ! -s conftest.err'
24365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24366 (eval $ac_try) 2>&5
24367 ac_status=$?
24368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24369 (exit $ac_status); }; } &&
24370 { ac_try='test -s conftest$ac_exeext'
24371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24372 (eval $ac_try) 2>&5
24373 ac_status=$?
24374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24375 (exit $ac_status); }; }; then
24376 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
24377 else
24378 echo "$as_me: failed program was:" >&5
24379 sed 's/^/| /' conftest.$ac_ext >&5
24380
24381 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
24382 fi
24383 rm -f conftest.err conftest.$ac_objext \
24384 conftest$ac_exeext conftest.$ac_ext
24385 LIBS=$ac_check_lib_save_LIBS
24386 fi
24387 echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
24388 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6
24389 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
24390 MSPACK_LINK=" -lmspack"
24391 fi
24392
24393 fi
24394 if test "x$MSPACK_LINK" = "x" ; then
24395 wxUSE_LIBMSPACK=no
24396 fi
24397 fi
24398
24399 if test "$wxUSE_LIBMSPACK" != "no"; then
24400 cat >>confdefs.h <<\_ACEOF
24401 #define wxUSE_LIBMSPACK 1
24402 _ACEOF
24403
24404 fi
24405
24406
24407
24408 AFMINSTALL=
24409 WIN32INSTALL=
24410
24411 TOOLKIT=
24412 TOOLKIT_INCLUDE=
24413 WIDGET_SET=
24414
24415 if test "$USE_WIN32" = 1 ; then
24416
24417 for ac_header in w32api.h
24418 do
24419 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
24420 if eval "test \"\${$as_ac_Header+set}\" = set"; then
24421 echo "$as_me:$LINENO: checking for $ac_header" >&5
24422 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
24423 if eval "test \"\${$as_ac_Header+set}\" = set"; then
24424 echo $ECHO_N "(cached) $ECHO_C" >&6
24425 fi
24426 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
24427 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
24428 else
24429 # Is the header compilable?
24430 echo "$as_me:$LINENO: checking $ac_header usability" >&5
24431 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
24432 cat >conftest.$ac_ext <<_ACEOF
24433 /* confdefs.h. */
24434 _ACEOF
24435 cat confdefs.h >>conftest.$ac_ext
24436 cat >>conftest.$ac_ext <<_ACEOF
24437 /* end confdefs.h. */
24438 $ac_includes_default
24439 #include <$ac_header>
24440 _ACEOF
24441 rm -f conftest.$ac_objext
24442 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24443 (eval $ac_compile) 2>conftest.er1
24444 ac_status=$?
24445 grep -v '^ *+' conftest.er1 >conftest.err
24446 rm -f conftest.er1
24447 cat conftest.err >&5
24448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24449 (exit $ac_status); } &&
24450 { ac_try='test -z "$ac_c_werror_flag"
24451 || test ! -s conftest.err'
24452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24453 (eval $ac_try) 2>&5
24454 ac_status=$?
24455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24456 (exit $ac_status); }; } &&
24457 { ac_try='test -s conftest.$ac_objext'
24458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24459 (eval $ac_try) 2>&5
24460 ac_status=$?
24461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24462 (exit $ac_status); }; }; then
24463 ac_header_compiler=yes
24464 else
24465 echo "$as_me: failed program was:" >&5
24466 sed 's/^/| /' conftest.$ac_ext >&5
24467
24468 ac_header_compiler=no
24469 fi
24470 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24471 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24472 echo "${ECHO_T}$ac_header_compiler" >&6
24473
24474 # Is the header present?
24475 echo "$as_me:$LINENO: checking $ac_header presence" >&5
24476 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
24477 cat >conftest.$ac_ext <<_ACEOF
24478 /* confdefs.h. */
24479 _ACEOF
24480 cat confdefs.h >>conftest.$ac_ext
24481 cat >>conftest.$ac_ext <<_ACEOF
24482 /* end confdefs.h. */
24483 #include <$ac_header>
24484 _ACEOF
24485 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24486 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
24487 ac_status=$?
24488 grep -v '^ *+' conftest.er1 >conftest.err
24489 rm -f conftest.er1
24490 cat conftest.err >&5
24491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24492 (exit $ac_status); } >/dev/null; then
24493 if test -s conftest.err; then
24494 ac_cpp_err=$ac_c_preproc_warn_flag
24495 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
24496 else
24497 ac_cpp_err=
24498 fi
24499 else
24500 ac_cpp_err=yes
24501 fi
24502 if test -z "$ac_cpp_err"; then
24503 ac_header_preproc=yes
24504 else
24505 echo "$as_me: failed program was:" >&5
24506 sed 's/^/| /' conftest.$ac_ext >&5
24507
24508 ac_header_preproc=no
24509 fi
24510 rm -f conftest.err conftest.$ac_ext
24511 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24512 echo "${ECHO_T}$ac_header_preproc" >&6
24513
24514 # So? What about this header?
24515 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24516 yes:no: )
24517 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
24518 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
24519 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
24520 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
24521 ac_header_preproc=yes
24522 ;;
24523 no:yes:* )
24524 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
24525 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
24526 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
24527 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
24528 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
24529 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
24530 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
24531 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
24532 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
24533 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
24534 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
24535 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
24536 (
24537 cat <<\_ASBOX
24538 ## ----------------------------------------- ##
24539 ## Report this to wx-dev@lists.wxwidgets.org ##
24540 ## ----------------------------------------- ##
24541 _ASBOX
24542 ) |
24543 sed "s/^/$as_me: WARNING: /" >&2
24544 ;;
24545 esac
24546 echo "$as_me:$LINENO: checking for $ac_header" >&5
24547 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
24548 if eval "test \"\${$as_ac_Header+set}\" = set"; then
24549 echo $ECHO_N "(cached) $ECHO_C" >&6
24550 else
24551 eval "$as_ac_Header=\$ac_header_preproc"
24552 fi
24553 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
24554 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
24555
24556 fi
24557 if test `eval echo '${'$as_ac_Header'}'` = yes; then
24558 cat >>confdefs.h <<_ACEOF
24559 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
24560 _ACEOF
24561
24562 fi
24563
24564 done
24565
24566 if test "${ac_cv_header_windows_h+set}" = set; then
24567 echo "$as_me:$LINENO: checking for windows.h" >&5
24568 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
24569 if test "${ac_cv_header_windows_h+set}" = set; then
24570 echo $ECHO_N "(cached) $ECHO_C" >&6
24571 fi
24572 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
24573 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
24574 else
24575 # Is the header compilable?
24576 echo "$as_me:$LINENO: checking windows.h usability" >&5
24577 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
24578 cat >conftest.$ac_ext <<_ACEOF
24579 /* confdefs.h. */
24580 _ACEOF
24581 cat confdefs.h >>conftest.$ac_ext
24582 cat >>conftest.$ac_ext <<_ACEOF
24583 /* end confdefs.h. */
24584 $ac_includes_default
24585 #include <windows.h>
24586 _ACEOF
24587 rm -f conftest.$ac_objext
24588 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24589 (eval $ac_compile) 2>conftest.er1
24590 ac_status=$?
24591 grep -v '^ *+' conftest.er1 >conftest.err
24592 rm -f conftest.er1
24593 cat conftest.err >&5
24594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24595 (exit $ac_status); } &&
24596 { ac_try='test -z "$ac_c_werror_flag"
24597 || test ! -s conftest.err'
24598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24599 (eval $ac_try) 2>&5
24600 ac_status=$?
24601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24602 (exit $ac_status); }; } &&
24603 { ac_try='test -s conftest.$ac_objext'
24604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24605 (eval $ac_try) 2>&5
24606 ac_status=$?
24607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24608 (exit $ac_status); }; }; then
24609 ac_header_compiler=yes
24610 else
24611 echo "$as_me: failed program was:" >&5
24612 sed 's/^/| /' conftest.$ac_ext >&5
24613
24614 ac_header_compiler=no
24615 fi
24616 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24617 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24618 echo "${ECHO_T}$ac_header_compiler" >&6
24619
24620 # Is the header present?
24621 echo "$as_me:$LINENO: checking windows.h presence" >&5
24622 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
24623 cat >conftest.$ac_ext <<_ACEOF
24624 /* confdefs.h. */
24625 _ACEOF
24626 cat confdefs.h >>conftest.$ac_ext
24627 cat >>conftest.$ac_ext <<_ACEOF
24628 /* end confdefs.h. */
24629 #include <windows.h>
24630 _ACEOF
24631 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24632 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
24633 ac_status=$?
24634 grep -v '^ *+' conftest.er1 >conftest.err
24635 rm -f conftest.er1
24636 cat conftest.err >&5
24637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24638 (exit $ac_status); } >/dev/null; then
24639 if test -s conftest.err; then
24640 ac_cpp_err=$ac_c_preproc_warn_flag
24641 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
24642 else
24643 ac_cpp_err=
24644 fi
24645 else
24646 ac_cpp_err=yes
24647 fi
24648 if test -z "$ac_cpp_err"; then
24649 ac_header_preproc=yes
24650 else
24651 echo "$as_me: failed program was:" >&5
24652 sed 's/^/| /' conftest.$ac_ext >&5
24653
24654 ac_header_preproc=no
24655 fi
24656 rm -f conftest.err conftest.$ac_ext
24657 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24658 echo "${ECHO_T}$ac_header_preproc" >&6
24659
24660 # So? What about this header?
24661 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24662 yes:no: )
24663 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
24664 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24665 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the compiler's result" >&5
24666 echo "$as_me: WARNING: windows.h: proceeding with the compiler's result" >&2;}
24667 ac_header_preproc=yes
24668 ;;
24669 no:yes:* )
24670 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
24671 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
24672 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
24673 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
24674 { echo "$as_me:$LINENO: WARNING: windows.h: see the Autoconf documentation" >&5
24675 echo "$as_me: WARNING: windows.h: see the Autoconf documentation" >&2;}
24676 { echo "$as_me:$LINENO: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&5
24677 echo "$as_me: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&2;}
24678 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
24679 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
24680 { echo "$as_me:$LINENO: WARNING: windows.h: in the future, the compiler will take precedence" >&5
24681 echo "$as_me: WARNING: windows.h: in the future, the compiler will take precedence" >&2;}
24682 (
24683 cat <<\_ASBOX
24684 ## ----------------------------------------- ##
24685 ## Report this to wx-dev@lists.wxwidgets.org ##
24686 ## ----------------------------------------- ##
24687 _ASBOX
24688 ) |
24689 sed "s/^/$as_me: WARNING: /" >&2
24690 ;;
24691 esac
24692 echo "$as_me:$LINENO: checking for windows.h" >&5
24693 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
24694 if test "${ac_cv_header_windows_h+set}" = set; then
24695 echo $ECHO_N "(cached) $ECHO_C" >&6
24696 else
24697 ac_cv_header_windows_h=$ac_header_preproc
24698 fi
24699 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
24700 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
24701
24702 fi
24703 if test $ac_cv_header_windows_h = yes; then
24704 :
24705 else
24706
24707 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
24708 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
24709 { (exit 1); exit 1; }; }
24710
24711 fi
24712
24713
24714
24715 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
24716
24717 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
24718 LIBS="$LIBS -loleacc"
24719 fi
24720
24721 case "${host}" in
24722 *-*-cygwin* )
24723 LIBS="$LIBS -lkernel32 -luser32"
24724 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WIN95__"
24725 esac
24726
24727 if test "$wxUSE_ODBC" = "sys" ; then
24728 wxUSE_ODBC = "yes"
24729 fi
24730 if test "$wxUSE_ODBC" = "yes" ; then
24731 LIBS=" -lodbc32 -lole32 -loleaut32 $LIBS"
24732 cat >>confdefs.h <<\_ACEOF
24733 #define wxUSE_ODBC 1
24734 _ACEOF
24735
24736 fi
24737
24738 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
24739 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
24740
24741 WIN32INSTALL=win32install
24742 fi
24743
24744 if test "$wxUSE_GUI" = "yes"; then
24745 USE_GUI=1
24746
24747 GUI_TK_LIBRARY=
24748
24749 WXGTK12=
24750 WXGTK127=
24751 WXGTK20=
24752 WXGPE=
24753
24754 if test "$wxUSE_COCOA" = 1 ; then
24755 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
24756 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
24757 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
24758 wxUSE_PRINTING_ARCHITECTURE=no
24759 fi
24760 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
24761 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
24762 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
24763 wxUSE_DRAG_AND_DROP=no
24764 fi
24765 if test "$wxUSE_DRAGIMAGE" = "yes"; then
24766 { echo "$as_me:$LINENO: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&5
24767 echo "$as_me: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&2;}
24768 wxUSE_DRAGIMAGE=no
24769 fi
24770 fi
24771
24772 if test "$wxUSE_MSW" = 1 ; then
24773 TOOLKIT=MSW
24774 GUIDIST=MSW_DIST
24775
24776 case "${host}" in
24777 *-*-mingw32* )
24778 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
24779 esac
24780 fi
24781
24782 if test "$wxUSE_GTK" = 1; then
24783 echo "$as_me:$LINENO: checking for GTK+ version" >&5
24784 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
24785
24786 gtk_version_cached=1
24787 if test "${wx_cv_lib_gtk+set}" = set; then
24788 echo $ECHO_N "(cached) $ECHO_C" >&6
24789 else
24790
24791 gtk_version_cached=0
24792 echo "$as_me:$LINENO: result: " >&5
24793 echo "${ECHO_T}" >&6
24794
24795 GTK_MODULES=
24796 if test "$wxUSE_THREADS" = "yes"; then
24797 GTK_MODULES=gthread
24798 fi
24799
24800 wx_cv_lib_gtk=
24801 if test "x$wxGTK_VERSION" != "x1"; then
24802 # Check whether --enable-gtktest or --disable-gtktest was given.
24803 if test "${enable_gtktest+set}" = set; then
24804 enableval="$enable_gtktest"
24805
24806 else
24807 enable_gtktest=yes
24808 fi;
24809
24810 pkg_config_args=gtk+-2.0
24811 for module in . $GTK_MODULES
24812 do
24813 case "$module" in
24814 gthread)
24815 pkg_config_args="$pkg_config_args gthread-2.0"
24816 ;;
24817 esac
24818 done
24819
24820 no_gtk=""
24821
24822 # Extract the first word of "pkg-config", so it can be a program name with args.
24823 set dummy pkg-config; ac_word=$2
24824 echo "$as_me:$LINENO: checking for $ac_word" >&5
24825 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24826 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
24827 echo $ECHO_N "(cached) $ECHO_C" >&6
24828 else
24829 case $PKG_CONFIG in
24830 [\\/]* | ?:[\\/]*)
24831 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
24832 ;;
24833 *)
24834 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24835 for as_dir in $PATH
24836 do
24837 IFS=$as_save_IFS
24838 test -z "$as_dir" && as_dir=.
24839 for ac_exec_ext in '' $ac_executable_extensions; do
24840 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24841 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
24842 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24843 break 2
24844 fi
24845 done
24846 done
24847
24848 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
24849 ;;
24850 esac
24851 fi
24852 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
24853
24854 if test -n "$PKG_CONFIG"; then
24855 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
24856 echo "${ECHO_T}$PKG_CONFIG" >&6
24857 else
24858 echo "$as_me:$LINENO: result: no" >&5
24859 echo "${ECHO_T}no" >&6
24860 fi
24861
24862
24863 if test x$PKG_CONFIG != xno ; then
24864 if pkg-config --atleast-pkgconfig-version 0.7 ; then
24865 :
24866 else
24867 echo "*** pkg-config too old; version 0.7 or better required."
24868 no_gtk=yes
24869 PKG_CONFIG=no
24870 fi
24871 else
24872 no_gtk=yes
24873 fi
24874
24875 min_gtk_version=2.0.0
24876 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
24877 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
24878
24879 if test x$PKG_CONFIG != xno ; then
24880 ## don't try to run the test against uninstalled libtool libs
24881 if $PKG_CONFIG --uninstalled $pkg_config_args; then
24882 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
24883 enable_gtktest=no
24884 fi
24885
24886 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
24887 :
24888 else
24889 no_gtk=yes
24890 fi
24891 fi
24892
24893 if test x"$no_gtk" = x ; then
24894 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
24895 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
24896 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
24897 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
24898 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
24899 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
24900 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
24901 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
24902 if test "x$enable_gtktest" = "xyes" ; then
24903 ac_save_CFLAGS="$CFLAGS"
24904 ac_save_LIBS="$LIBS"
24905 CFLAGS="$CFLAGS $GTK_CFLAGS"
24906 LIBS="$GTK_LIBS $LIBS"
24907 rm -f conf.gtktest
24908 if test "$cross_compiling" = yes; then
24909 echo $ac_n "cross compiling; assumed OK... $ac_c"
24910 else
24911 cat >conftest.$ac_ext <<_ACEOF
24912 /* confdefs.h. */
24913 _ACEOF
24914 cat confdefs.h >>conftest.$ac_ext
24915 cat >>conftest.$ac_ext <<_ACEOF
24916 /* end confdefs.h. */
24917
24918 #include <gtk/gtk.h>
24919 #include <stdio.h>
24920 #include <stdlib.h>
24921
24922 int
24923 main ()
24924 {
24925 int major, minor, micro;
24926 char *tmp_version;
24927
24928 system ("touch conf.gtktest");
24929
24930 /* HP/UX 9 (%@#!) writes to sscanf strings */
24931 tmp_version = g_strdup("$min_gtk_version");
24932 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
24933 printf("%s, bad version string\n", "$min_gtk_version");
24934 exit(1);
24935 }
24936
24937 if ((gtk_major_version != $gtk_config_major_version) ||
24938 (gtk_minor_version != $gtk_config_minor_version) ||
24939 (gtk_micro_version != $gtk_config_micro_version))
24940 {
24941 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
24942 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
24943 gtk_major_version, gtk_minor_version, gtk_micro_version);
24944 printf ("*** was found! If pkg-config was correct, then it is best\n");
24945 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
24946 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
24947 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
24948 printf("*** required on your system.\n");
24949 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
24950 printf("*** to point to the correct configuration files\n");
24951 }
24952 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
24953 (gtk_minor_version != GTK_MINOR_VERSION) ||
24954 (gtk_micro_version != GTK_MICRO_VERSION))
24955 {
24956 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
24957 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
24958 printf("*** library (version %d.%d.%d)\n",
24959 gtk_major_version, gtk_minor_version, gtk_micro_version);
24960 }
24961 else
24962 {
24963 if ((gtk_major_version > major) ||
24964 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
24965 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
24966 {
24967 return 0;
24968 }
24969 else
24970 {
24971 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
24972 gtk_major_version, gtk_minor_version, gtk_micro_version);
24973 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
24974 major, minor, micro);
24975 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
24976 printf("***\n");
24977 printf("*** If you have already installed a sufficiently new version, this error\n");
24978 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
24979 printf("*** being found. The easiest way to fix this is to remove the old version\n");
24980 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
24981 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
24982 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
24983 printf("*** so that the correct libraries are found at run-time))\n");
24984 }
24985 }
24986 return 1;
24987 }
24988
24989 _ACEOF
24990 rm -f conftest$ac_exeext
24991 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24992 (eval $ac_link) 2>&5
24993 ac_status=$?
24994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24995 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24997 (eval $ac_try) 2>&5
24998 ac_status=$?
24999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25000 (exit $ac_status); }; }; then
25001 :
25002 else
25003 echo "$as_me: program exited with status $ac_status" >&5
25004 echo "$as_me: failed program was:" >&5
25005 sed 's/^/| /' conftest.$ac_ext >&5
25006
25007 ( exit $ac_status )
25008 no_gtk=yes
25009 fi
25010 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25011 fi
25012 CFLAGS="$ac_save_CFLAGS"
25013 LIBS="$ac_save_LIBS"
25014 fi
25015 fi
25016 if test "x$no_gtk" = x ; then
25017 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
25018 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
25019 wx_cv_lib_gtk=2.0
25020 else
25021 echo "$as_me:$LINENO: result: no" >&5
25022 echo "${ECHO_T}no" >&6
25023 if test "$PKG_CONFIG" = "no" ; then
25024 echo "*** A new enough version of pkg-config was not found."
25025 echo "*** See http://pkgconfig.sourceforge.net"
25026 else
25027 if test -f conf.gtktest ; then
25028 :
25029 else
25030 echo "*** Could not run GTK+ test program, checking why..."
25031 ac_save_CFLAGS="$CFLAGS"
25032 ac_save_LIBS="$LIBS"
25033 CFLAGS="$CFLAGS $GTK_CFLAGS"
25034 LIBS="$LIBS $GTK_LIBS"
25035 cat >conftest.$ac_ext <<_ACEOF
25036 /* confdefs.h. */
25037 _ACEOF
25038 cat confdefs.h >>conftest.$ac_ext
25039 cat >>conftest.$ac_ext <<_ACEOF
25040 /* end confdefs.h. */
25041
25042 #include <gtk/gtk.h>
25043 #include <stdio.h>
25044
25045 int
25046 main ()
25047 {
25048 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
25049 ;
25050 return 0;
25051 }
25052 _ACEOF
25053 rm -f conftest.$ac_objext conftest$ac_exeext
25054 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25055 (eval $ac_link) 2>conftest.er1
25056 ac_status=$?
25057 grep -v '^ *+' conftest.er1 >conftest.err
25058 rm -f conftest.er1
25059 cat conftest.err >&5
25060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25061 (exit $ac_status); } &&
25062 { ac_try='test -z "$ac_c_werror_flag"
25063 || test ! -s conftest.err'
25064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25065 (eval $ac_try) 2>&5
25066 ac_status=$?
25067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25068 (exit $ac_status); }; } &&
25069 { ac_try='test -s conftest$ac_exeext'
25070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25071 (eval $ac_try) 2>&5
25072 ac_status=$?
25073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25074 (exit $ac_status); }; }; then
25075 echo "*** The test program compiled, but did not run. This usually means"
25076 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
25077 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
25078 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
25079 echo "*** to the installed location Also, make sure you have run ldconfig if that"
25080 echo "*** is required on your system"
25081 echo "***"
25082 echo "*** If you have an old version installed, it is best to remove it, although"
25083 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
25084 else
25085 echo "$as_me: failed program was:" >&5
25086 sed 's/^/| /' conftest.$ac_ext >&5
25087
25088 echo "*** The test program failed to compile or link. See the file config.log for the"
25089 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
25090 fi
25091 rm -f conftest.err conftest.$ac_objext \
25092 conftest$ac_exeext conftest.$ac_ext
25093 CFLAGS="$ac_save_CFLAGS"
25094 LIBS="$ac_save_LIBS"
25095 fi
25096 fi
25097 GTK_CFLAGS=""
25098 GTK_LIBS=""
25099 :
25100 fi
25101
25102
25103 rm -f conf.gtktest
25104
25105 fi
25106
25107 if test -z "$wx_cv_lib_gtk"; then
25108 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
25109
25110 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
25111 if test "${with_gtk_prefix+set}" = set; then
25112 withval="$with_gtk_prefix"
25113 gtk_config_prefix="$withval"
25114 else
25115 gtk_config_prefix=""
25116 fi;
25117
25118 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
25119 if test "${with_gtk_exec_prefix+set}" = set; then
25120 withval="$with_gtk_exec_prefix"
25121 gtk_config_exec_prefix="$withval"
25122 else
25123 gtk_config_exec_prefix=""
25124 fi;
25125 # Check whether --enable-gtktest or --disable-gtktest was given.
25126 if test "${enable_gtktest+set}" = set; then
25127 enableval="$enable_gtktest"
25128
25129 else
25130 enable_gtktest=yes
25131 fi;
25132
25133 for module in . $GTK_MODULES
25134 do
25135 case "$module" in
25136 gthread)
25137 gtk_config_args="$gtk_config_args gthread"
25138 ;;
25139 esac
25140 done
25141
25142 if test x$gtk_config_exec_prefix != x ; then
25143 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
25144 if test x${GTK_CONFIG+set} != xset ; then
25145 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
25146 fi
25147 fi
25148 if test x$gtk_config_prefix != x ; then
25149 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
25150 if test x${GTK_CONFIG+set} != xset ; then
25151 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
25152 fi
25153 fi
25154
25155 # Extract the first word of "gtk-config", so it can be a program name with args.
25156 set dummy gtk-config; ac_word=$2
25157 echo "$as_me:$LINENO: checking for $ac_word" >&5
25158 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25159 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
25160 echo $ECHO_N "(cached) $ECHO_C" >&6
25161 else
25162 case $GTK_CONFIG in
25163 [\\/]* | ?:[\\/]*)
25164 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
25165 ;;
25166 *)
25167 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25168 for as_dir in $PATH
25169 do
25170 IFS=$as_save_IFS
25171 test -z "$as_dir" && as_dir=.
25172 for ac_exec_ext in '' $ac_executable_extensions; do
25173 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25174 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
25175 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25176 break 2
25177 fi
25178 done
25179 done
25180
25181 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
25182 ;;
25183 esac
25184 fi
25185 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
25186
25187 if test -n "$GTK_CONFIG"; then
25188 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
25189 echo "${ECHO_T}$GTK_CONFIG" >&6
25190 else
25191 echo "$as_me:$LINENO: result: no" >&5
25192 echo "${ECHO_T}no" >&6
25193 fi
25194
25195 min_gtk_version=1.2.7
25196 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
25197 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
25198 no_gtk=""
25199 if test "$GTK_CONFIG" = "no" ; then
25200 no_gtk=yes
25201 else
25202 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
25203 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
25204 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
25205 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
25206 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
25207 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
25208 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
25209 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
25210 if test "x$enable_gtktest" = "xyes" ; then
25211 ac_save_CFLAGS="$CFLAGS"
25212 ac_save_LIBS="$LIBS"
25213 CFLAGS="$CFLAGS $GTK_CFLAGS"
25214 LIBS="$GTK_LIBS $LIBS"
25215 rm -f conf.gtktest
25216 if test "$cross_compiling" = yes; then
25217 echo $ac_n "cross compiling; assumed OK... $ac_c"
25218 else
25219 cat >conftest.$ac_ext <<_ACEOF
25220 /* confdefs.h. */
25221 _ACEOF
25222 cat confdefs.h >>conftest.$ac_ext
25223 cat >>conftest.$ac_ext <<_ACEOF
25224 /* end confdefs.h. */
25225
25226 #include <gtk/gtk.h>
25227 #include <stdio.h>
25228 #include <stdlib.h>
25229
25230 int
25231 main ()
25232 {
25233 int major, minor, micro;
25234 char *tmp_version;
25235
25236 system ("touch conf.gtktest");
25237
25238 /* HP/UX 9 (%@#!) writes to sscanf strings */
25239 tmp_version = g_strdup("$min_gtk_version");
25240 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
25241 printf("%s, bad version string\n", "$min_gtk_version");
25242 exit(1);
25243 }
25244
25245 if ((gtk_major_version != $gtk_config_major_version) ||
25246 (gtk_minor_version != $gtk_config_minor_version) ||
25247 (gtk_micro_version != $gtk_config_micro_version))
25248 {
25249 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
25250 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
25251 gtk_major_version, gtk_minor_version, gtk_micro_version);
25252 printf ("*** was found! If gtk-config was correct, then it is best\n");
25253 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
25254 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
25255 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
25256 printf("*** required on your system.\n");
25257 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
25258 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
25259 printf("*** before re-running configure\n");
25260 }
25261 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
25262 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
25263 (gtk_minor_version != GTK_MINOR_VERSION) ||
25264 (gtk_micro_version != GTK_MICRO_VERSION))
25265 {
25266 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
25267 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
25268 printf("*** library (version %d.%d.%d)\n",
25269 gtk_major_version, gtk_minor_version, gtk_micro_version);
25270 }
25271 #endif /* defined (GTK_MAJOR_VERSION) ... */
25272 else
25273 {
25274 if ((gtk_major_version > major) ||
25275 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
25276 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
25277 {
25278 return 0;
25279 }
25280 else
25281 {
25282 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
25283 gtk_major_version, gtk_minor_version, gtk_micro_version);
25284 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
25285 major, minor, micro);
25286 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
25287 printf("***\n");
25288 printf("*** If you have already installed a sufficiently new version, this error\n");
25289 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
25290 printf("*** being found. The easiest way to fix this is to remove the old version\n");
25291 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
25292 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
25293 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
25294 printf("*** so that the correct libraries are found at run-time))\n");
25295 }
25296 }
25297 return 1;
25298 }
25299
25300 _ACEOF
25301 rm -f conftest$ac_exeext
25302 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25303 (eval $ac_link) 2>&5
25304 ac_status=$?
25305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25306 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25308 (eval $ac_try) 2>&5
25309 ac_status=$?
25310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25311 (exit $ac_status); }; }; then
25312 :
25313 else
25314 echo "$as_me: program exited with status $ac_status" >&5
25315 echo "$as_me: failed program was:" >&5
25316 sed 's/^/| /' conftest.$ac_ext >&5
25317
25318 ( exit $ac_status )
25319 no_gtk=yes
25320 fi
25321 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25322 fi
25323 CFLAGS="$ac_save_CFLAGS"
25324 LIBS="$ac_save_LIBS"
25325 fi
25326 fi
25327 if test "x$no_gtk" = x ; then
25328 echo "$as_me:$LINENO: result: yes" >&5
25329 echo "${ECHO_T}yes" >&6
25330 wx_cv_lib_gtk=1.2.7
25331 else
25332 echo "$as_me:$LINENO: result: no" >&5
25333 echo "${ECHO_T}no" >&6
25334 if test "$GTK_CONFIG" = "no" ; then
25335 echo "*** The gtk-config script installed by GTK could not be found"
25336 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
25337 echo "*** your path, or set the GTK_CONFIG environment variable to the"
25338 echo "*** full path to gtk-config."
25339 else
25340 if test -f conf.gtktest ; then
25341 :
25342 else
25343 echo "*** Could not run GTK test program, checking why..."
25344 CFLAGS="$CFLAGS $GTK_CFLAGS"
25345 LIBS="$LIBS $GTK_LIBS"
25346 cat >conftest.$ac_ext <<_ACEOF
25347 /* confdefs.h. */
25348 _ACEOF
25349 cat confdefs.h >>conftest.$ac_ext
25350 cat >>conftest.$ac_ext <<_ACEOF
25351 /* end confdefs.h. */
25352
25353 #include <gtk/gtk.h>
25354 #include <stdio.h>
25355
25356 int
25357 main ()
25358 {
25359 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
25360 ;
25361 return 0;
25362 }
25363 _ACEOF
25364 rm -f conftest.$ac_objext conftest$ac_exeext
25365 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25366 (eval $ac_link) 2>conftest.er1
25367 ac_status=$?
25368 grep -v '^ *+' conftest.er1 >conftest.err
25369 rm -f conftest.er1
25370 cat conftest.err >&5
25371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25372 (exit $ac_status); } &&
25373 { ac_try='test -z "$ac_c_werror_flag"
25374 || test ! -s conftest.err'
25375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25376 (eval $ac_try) 2>&5
25377 ac_status=$?
25378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25379 (exit $ac_status); }; } &&
25380 { ac_try='test -s conftest$ac_exeext'
25381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25382 (eval $ac_try) 2>&5
25383 ac_status=$?
25384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25385 (exit $ac_status); }; }; then
25386 echo "*** The test program compiled, but did not run. This usually means"
25387 echo "*** that the run-time linker is not finding GTK or finding the wrong"
25388 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
25389 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
25390 echo "*** to the installed location Also, make sure you have run ldconfig if that"
25391 echo "*** is required on your system"
25392 echo "***"
25393 echo "*** If you have an old version installed, it is best to remove it, although"
25394 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
25395 echo "***"
25396 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
25397 echo "*** came with the system with the command"
25398 echo "***"
25399 echo "*** rpm --erase --nodeps gtk gtk-devel"
25400 else
25401 echo "$as_me: failed program was:" >&5
25402 sed 's/^/| /' conftest.$ac_ext >&5
25403
25404 echo "*** The test program failed to compile or link. See the file config.log for the"
25405 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
25406 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
25407 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
25408 fi
25409 rm -f conftest.err conftest.$ac_objext \
25410 conftest$ac_exeext conftest.$ac_ext
25411 CFLAGS="$ac_save_CFLAGS"
25412 LIBS="$ac_save_LIBS"
25413 fi
25414 fi
25415 GTK_CFLAGS=""
25416 GTK_LIBS=""
25417 :
25418 fi
25419
25420
25421 rm -f conf.gtktest
25422
25423
25424 if test -z "$wx_cv_lib_gtk"; then
25425
25426 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
25427 if test "${with_gtk_prefix+set}" = set; then
25428 withval="$with_gtk_prefix"
25429 gtk_config_prefix="$withval"
25430 else
25431 gtk_config_prefix=""
25432 fi;
25433
25434 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
25435 if test "${with_gtk_exec_prefix+set}" = set; then
25436 withval="$with_gtk_exec_prefix"
25437 gtk_config_exec_prefix="$withval"
25438 else
25439 gtk_config_exec_prefix=""
25440 fi;
25441 # Check whether --enable-gtktest or --disable-gtktest was given.
25442 if test "${enable_gtktest+set}" = set; then
25443 enableval="$enable_gtktest"
25444
25445 else
25446 enable_gtktest=yes
25447 fi;
25448
25449 for module in . $GTK_MODULES
25450 do
25451 case "$module" in
25452 gthread)
25453 gtk_config_args="$gtk_config_args gthread"
25454 ;;
25455 esac
25456 done
25457
25458 if test x$gtk_config_exec_prefix != x ; then
25459 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
25460 if test x${GTK_CONFIG+set} != xset ; then
25461 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
25462 fi
25463 fi
25464 if test x$gtk_config_prefix != x ; then
25465 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
25466 if test x${GTK_CONFIG+set} != xset ; then
25467 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
25468 fi
25469 fi
25470
25471 # Extract the first word of "gtk-config", so it can be a program name with args.
25472 set dummy gtk-config; ac_word=$2
25473 echo "$as_me:$LINENO: checking for $ac_word" >&5
25474 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25475 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
25476 echo $ECHO_N "(cached) $ECHO_C" >&6
25477 else
25478 case $GTK_CONFIG in
25479 [\\/]* | ?:[\\/]*)
25480 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
25481 ;;
25482 *)
25483 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25484 for as_dir in $PATH
25485 do
25486 IFS=$as_save_IFS
25487 test -z "$as_dir" && as_dir=.
25488 for ac_exec_ext in '' $ac_executable_extensions; do
25489 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25490 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
25491 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25492 break 2
25493 fi
25494 done
25495 done
25496
25497 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
25498 ;;
25499 esac
25500 fi
25501 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
25502
25503 if test -n "$GTK_CONFIG"; then
25504 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
25505 echo "${ECHO_T}$GTK_CONFIG" >&6
25506 else
25507 echo "$as_me:$LINENO: result: no" >&5
25508 echo "${ECHO_T}no" >&6
25509 fi
25510
25511 min_gtk_version=1.2.3
25512 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
25513 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
25514 no_gtk=""
25515 if test "$GTK_CONFIG" = "no" ; then
25516 no_gtk=yes
25517 else
25518 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
25519 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
25520 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
25521 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
25522 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
25523 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
25524 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
25525 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
25526 if test "x$enable_gtktest" = "xyes" ; then
25527 ac_save_CFLAGS="$CFLAGS"
25528 ac_save_LIBS="$LIBS"
25529 CFLAGS="$CFLAGS $GTK_CFLAGS"
25530 LIBS="$GTK_LIBS $LIBS"
25531 rm -f conf.gtktest
25532 if test "$cross_compiling" = yes; then
25533 echo $ac_n "cross compiling; assumed OK... $ac_c"
25534 else
25535 cat >conftest.$ac_ext <<_ACEOF
25536 /* confdefs.h. */
25537 _ACEOF
25538 cat confdefs.h >>conftest.$ac_ext
25539 cat >>conftest.$ac_ext <<_ACEOF
25540 /* end confdefs.h. */
25541
25542 #include <gtk/gtk.h>
25543 #include <stdio.h>
25544 #include <stdlib.h>
25545
25546 int
25547 main ()
25548 {
25549 int major, minor, micro;
25550 char *tmp_version;
25551
25552 system ("touch conf.gtktest");
25553
25554 /* HP/UX 9 (%@#!) writes to sscanf strings */
25555 tmp_version = g_strdup("$min_gtk_version");
25556 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
25557 printf("%s, bad version string\n", "$min_gtk_version");
25558 exit(1);
25559 }
25560
25561 if ((gtk_major_version != $gtk_config_major_version) ||
25562 (gtk_minor_version != $gtk_config_minor_version) ||
25563 (gtk_micro_version != $gtk_config_micro_version))
25564 {
25565 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
25566 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
25567 gtk_major_version, gtk_minor_version, gtk_micro_version);
25568 printf ("*** was found! If gtk-config was correct, then it is best\n");
25569 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
25570 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
25571 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
25572 printf("*** required on your system.\n");
25573 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
25574 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
25575 printf("*** before re-running configure\n");
25576 }
25577 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
25578 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
25579 (gtk_minor_version != GTK_MINOR_VERSION) ||
25580 (gtk_micro_version != GTK_MICRO_VERSION))
25581 {
25582 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
25583 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
25584 printf("*** library (version %d.%d.%d)\n",
25585 gtk_major_version, gtk_minor_version, gtk_micro_version);
25586 }
25587 #endif /* defined (GTK_MAJOR_VERSION) ... */
25588 else
25589 {
25590 if ((gtk_major_version > major) ||
25591 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
25592 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
25593 {
25594 return 0;
25595 }
25596 else
25597 {
25598 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
25599 gtk_major_version, gtk_minor_version, gtk_micro_version);
25600 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
25601 major, minor, micro);
25602 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
25603 printf("***\n");
25604 printf("*** If you have already installed a sufficiently new version, this error\n");
25605 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
25606 printf("*** being found. The easiest way to fix this is to remove the old version\n");
25607 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
25608 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
25609 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
25610 printf("*** so that the correct libraries are found at run-time))\n");
25611 }
25612 }
25613 return 1;
25614 }
25615
25616 _ACEOF
25617 rm -f conftest$ac_exeext
25618 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25619 (eval $ac_link) 2>&5
25620 ac_status=$?
25621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25622 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25624 (eval $ac_try) 2>&5
25625 ac_status=$?
25626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25627 (exit $ac_status); }; }; then
25628 :
25629 else
25630 echo "$as_me: program exited with status $ac_status" >&5
25631 echo "$as_me: failed program was:" >&5
25632 sed 's/^/| /' conftest.$ac_ext >&5
25633
25634 ( exit $ac_status )
25635 no_gtk=yes
25636 fi
25637 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25638 fi
25639 CFLAGS="$ac_save_CFLAGS"
25640 LIBS="$ac_save_LIBS"
25641 fi
25642 fi
25643 if test "x$no_gtk" = x ; then
25644 echo "$as_me:$LINENO: result: yes" >&5
25645 echo "${ECHO_T}yes" >&6
25646 wx_cv_lib_gtk=1.2.3
25647 else
25648 echo "$as_me:$LINENO: result: no" >&5
25649 echo "${ECHO_T}no" >&6
25650 if test "$GTK_CONFIG" = "no" ; then
25651 echo "*** The gtk-config script installed by GTK could not be found"
25652 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
25653 echo "*** your path, or set the GTK_CONFIG environment variable to the"
25654 echo "*** full path to gtk-config."
25655 else
25656 if test -f conf.gtktest ; then
25657 :
25658 else
25659 echo "*** Could not run GTK test program, checking why..."
25660 CFLAGS="$CFLAGS $GTK_CFLAGS"
25661 LIBS="$LIBS $GTK_LIBS"
25662 cat >conftest.$ac_ext <<_ACEOF
25663 /* confdefs.h. */
25664 _ACEOF
25665 cat confdefs.h >>conftest.$ac_ext
25666 cat >>conftest.$ac_ext <<_ACEOF
25667 /* end confdefs.h. */
25668
25669 #include <gtk/gtk.h>
25670 #include <stdio.h>
25671
25672 int
25673 main ()
25674 {
25675 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
25676 ;
25677 return 0;
25678 }
25679 _ACEOF
25680 rm -f conftest.$ac_objext conftest$ac_exeext
25681 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25682 (eval $ac_link) 2>conftest.er1
25683 ac_status=$?
25684 grep -v '^ *+' conftest.er1 >conftest.err
25685 rm -f conftest.er1
25686 cat conftest.err >&5
25687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25688 (exit $ac_status); } &&
25689 { ac_try='test -z "$ac_c_werror_flag"
25690 || test ! -s conftest.err'
25691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25692 (eval $ac_try) 2>&5
25693 ac_status=$?
25694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25695 (exit $ac_status); }; } &&
25696 { ac_try='test -s conftest$ac_exeext'
25697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25698 (eval $ac_try) 2>&5
25699 ac_status=$?
25700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25701 (exit $ac_status); }; }; then
25702 echo "*** The test program compiled, but did not run. This usually means"
25703 echo "*** that the run-time linker is not finding GTK or finding the wrong"
25704 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
25705 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
25706 echo "*** to the installed location Also, make sure you have run ldconfig if that"
25707 echo "*** is required on your system"
25708 echo "***"
25709 echo "*** If you have an old version installed, it is best to remove it, although"
25710 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
25711 echo "***"
25712 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
25713 echo "*** came with the system with the command"
25714 echo "***"
25715 echo "*** rpm --erase --nodeps gtk gtk-devel"
25716 else
25717 echo "$as_me: failed program was:" >&5
25718 sed 's/^/| /' conftest.$ac_ext >&5
25719
25720 echo "*** The test program failed to compile or link. See the file config.log for the"
25721 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
25722 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
25723 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
25724 fi
25725 rm -f conftest.err conftest.$ac_objext \
25726 conftest$ac_exeext conftest.$ac_ext
25727 CFLAGS="$ac_save_CFLAGS"
25728 LIBS="$ac_save_LIBS"
25729 fi
25730 fi
25731 GTK_CFLAGS=""
25732 GTK_LIBS=""
25733 :
25734 fi
25735
25736
25737 rm -f conf.gtktest
25738
25739 fi
25740 fi
25741 fi
25742
25743 if test -z "$wx_cv_lib_gtk"; then
25744 wx_cv_lib_gtk=none
25745 else
25746 wx_cv_cflags_gtk=$GTK_CFLAGS
25747 wx_cv_libs_gtk=$GTK_LIBS
25748 fi
25749
25750
25751 fi
25752
25753
25754 if test "$gtk_version_cached" = 1; then
25755 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
25756 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
25757 fi
25758
25759 case "$wx_cv_lib_gtk" in
25760 2.0) WXGTK20=1
25761 TOOLKIT_VERSION=2
25762 ;;
25763 1.2.7) WXGTK127=1
25764 WXGTK12=1
25765 ;;
25766 1.2.3) WXGTK12=1
25767 ;;
25768 *) { { echo "$as_me:$LINENO: error:
25769 The development files for GTK+ were not found. For GTK+ 2, please
25770 ensure that pkg-config is in the path and that gtk+-2.0.pc is
25771 installed. For GTK+ 1.2 please check that gtk-config is in the path,
25772 and that the version is 1.2.3 or above. Also check that the
25773 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
25774 --libs' are in the LD_LIBRARY_PATH or equivalent.
25775 " >&5
25776 echo "$as_me: error:
25777 The development files for GTK+ were not found. For GTK+ 2, please
25778 ensure that pkg-config is in the path and that gtk+-2.0.pc is
25779 installed. For GTK+ 1.2 please check that gtk-config is in the path,
25780 and that the version is 1.2.3 or above. Also check that the
25781 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
25782 --libs' are in the LD_LIBRARY_PATH or equivalent.
25783 " >&2;}
25784 { (exit 1); exit 1; }; }
25785 ;;
25786 esac
25787
25788 if test "$WXGTK20" = 1; then
25789 save_CFLAGS="$CFLAGS"
25790 save_LIBS="$LIBS"
25791 CFLAGS="$CFLAGS $wx_cv_cflags_gtk"
25792 LIBS="$LIBS $wx_cv_lib_gtk"
25793
25794
25795 for ac_func in pango_font_family_is_monospace
25796 do
25797 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25798 echo "$as_me:$LINENO: checking for $ac_func" >&5
25799 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25800 if eval "test \"\${$as_ac_var+set}\" = set"; then
25801 echo $ECHO_N "(cached) $ECHO_C" >&6
25802 else
25803 cat >conftest.$ac_ext <<_ACEOF
25804 /* confdefs.h. */
25805 _ACEOF
25806 cat confdefs.h >>conftest.$ac_ext
25807 cat >>conftest.$ac_ext <<_ACEOF
25808 /* end confdefs.h. */
25809 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25810 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25811 #define $ac_func innocuous_$ac_func
25812
25813 /* System header to define __stub macros and hopefully few prototypes,
25814 which can conflict with char $ac_func (); below.
25815 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25816 <limits.h> exists even on freestanding compilers. */
25817
25818 #ifdef __STDC__
25819 # include <limits.h>
25820 #else
25821 # include <assert.h>
25822 #endif
25823
25824 #undef $ac_func
25825
25826 /* Override any gcc2 internal prototype to avoid an error. */
25827 #ifdef __cplusplus
25828 extern "C"
25829 {
25830 #endif
25831 /* We use char because int might match the return type of a gcc2
25832 builtin and then its argument prototype would still apply. */
25833 char $ac_func ();
25834 /* The GNU C library defines this for functions which it implements
25835 to always fail with ENOSYS. Some functions are actually named
25836 something starting with __ and the normal name is an alias. */
25837 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25838 choke me
25839 #else
25840 char (*f) () = $ac_func;
25841 #endif
25842 #ifdef __cplusplus
25843 }
25844 #endif
25845
25846 int
25847 main ()
25848 {
25849 return f != $ac_func;
25850 ;
25851 return 0;
25852 }
25853 _ACEOF
25854 rm -f conftest.$ac_objext conftest$ac_exeext
25855 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25856 (eval $ac_link) 2>conftest.er1
25857 ac_status=$?
25858 grep -v '^ *+' conftest.er1 >conftest.err
25859 rm -f conftest.er1
25860 cat conftest.err >&5
25861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25862 (exit $ac_status); } &&
25863 { ac_try='test -z "$ac_c_werror_flag"
25864 || test ! -s conftest.err'
25865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25866 (eval $ac_try) 2>&5
25867 ac_status=$?
25868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25869 (exit $ac_status); }; } &&
25870 { ac_try='test -s conftest$ac_exeext'
25871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25872 (eval $ac_try) 2>&5
25873 ac_status=$?
25874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25875 (exit $ac_status); }; }; then
25876 eval "$as_ac_var=yes"
25877 else
25878 echo "$as_me: failed program was:" >&5
25879 sed 's/^/| /' conftest.$ac_ext >&5
25880
25881 eval "$as_ac_var=no"
25882 fi
25883 rm -f conftest.err conftest.$ac_objext \
25884 conftest$ac_exeext conftest.$ac_ext
25885 fi
25886 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25887 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25888 if test `eval echo '${'$as_ac_var'}'` = yes; then
25889 cat >>confdefs.h <<_ACEOF
25890 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25891 _ACEOF
25892
25893 fi
25894 done
25895
25896
25897 echo "$as_me:$LINENO: checking if GTK+ is version >= 2.4" >&5
25898 echo $ECHO_N "checking if GTK+ is version >= 2.4... $ECHO_C" >&6
25899 cat >conftest.$ac_ext <<_ACEOF
25900 /* confdefs.h. */
25901 _ACEOF
25902 cat confdefs.h >>conftest.$ac_ext
25903 cat >>conftest.$ac_ext <<_ACEOF
25904 /* end confdefs.h. */
25905
25906 #include <gtk/gtk.h>
25907
25908 int
25909 main ()
25910 {
25911
25912 #if !GTK_CHECK_VERSION(2,4,0)
25913 #error "Not GTK+ 2.4"
25914 #endif
25915
25916 ;
25917 return 0;
25918 }
25919 _ACEOF
25920 rm -f conftest.$ac_objext
25921 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25922 (eval $ac_compile) 2>conftest.er1
25923 ac_status=$?
25924 grep -v '^ *+' conftest.er1 >conftest.err
25925 rm -f conftest.er1
25926 cat conftest.err >&5
25927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25928 (exit $ac_status); } &&
25929 { ac_try='test -z "$ac_c_werror_flag"
25930 || test ! -s conftest.err'
25931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25932 (eval $ac_try) 2>&5
25933 ac_status=$?
25934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25935 (exit $ac_status); }; } &&
25936 { ac_try='test -s conftest.$ac_objext'
25937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25938 (eval $ac_try) 2>&5
25939 ac_status=$?
25940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25941 (exit $ac_status); }; }; then
25942
25943 cat >>confdefs.h <<\_ACEOF
25944 #define __WXGTK24__ 1
25945 _ACEOF
25946
25947 echo "$as_me:$LINENO: result: yes" >&5
25948 echo "${ECHO_T}yes" >&6
25949
25950 else
25951 echo "$as_me: failed program was:" >&5
25952 sed 's/^/| /' conftest.$ac_ext >&5
25953
25954
25955 echo "$as_me:$LINENO: result: no" >&5
25956 echo "${ECHO_T}no" >&6
25957
25958 fi
25959 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25960
25961 CFLAGS="$save_CFLAGS"
25962 LIBS="$save_LIBS"
25963 else
25964 if test "$wxUSE_UNICODE" = "yes"; then
25965 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
25966 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
25967 wxUSE_UNICODE=no
25968 fi
25969 fi
25970
25971 if test "$USE_DARWIN" != 1; then
25972
25973 for ac_func in poll
25974 do
25975 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25976 echo "$as_me:$LINENO: checking for $ac_func" >&5
25977 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25978 if eval "test \"\${$as_ac_var+set}\" = set"; then
25979 echo $ECHO_N "(cached) $ECHO_C" >&6
25980 else
25981 cat >conftest.$ac_ext <<_ACEOF
25982 /* confdefs.h. */
25983 _ACEOF
25984 cat confdefs.h >>conftest.$ac_ext
25985 cat >>conftest.$ac_ext <<_ACEOF
25986 /* end confdefs.h. */
25987 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25988 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25989 #define $ac_func innocuous_$ac_func
25990
25991 /* System header to define __stub macros and hopefully few prototypes,
25992 which can conflict with char $ac_func (); below.
25993 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25994 <limits.h> exists even on freestanding compilers. */
25995
25996 #ifdef __STDC__
25997 # include <limits.h>
25998 #else
25999 # include <assert.h>
26000 #endif
26001
26002 #undef $ac_func
26003
26004 /* Override any gcc2 internal prototype to avoid an error. */
26005 #ifdef __cplusplus
26006 extern "C"
26007 {
26008 #endif
26009 /* We use char because int might match the return type of a gcc2
26010 builtin and then its argument prototype would still apply. */
26011 char $ac_func ();
26012 /* The GNU C library defines this for functions which it implements
26013 to always fail with ENOSYS. Some functions are actually named
26014 something starting with __ and the normal name is an alias. */
26015 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26016 choke me
26017 #else
26018 char (*f) () = $ac_func;
26019 #endif
26020 #ifdef __cplusplus
26021 }
26022 #endif
26023
26024 int
26025 main ()
26026 {
26027 return f != $ac_func;
26028 ;
26029 return 0;
26030 }
26031 _ACEOF
26032 rm -f conftest.$ac_objext conftest$ac_exeext
26033 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26034 (eval $ac_link) 2>conftest.er1
26035 ac_status=$?
26036 grep -v '^ *+' conftest.er1 >conftest.err
26037 rm -f conftest.er1
26038 cat conftest.err >&5
26039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26040 (exit $ac_status); } &&
26041 { ac_try='test -z "$ac_c_werror_flag"
26042 || test ! -s conftest.err'
26043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26044 (eval $ac_try) 2>&5
26045 ac_status=$?
26046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26047 (exit $ac_status); }; } &&
26048 { ac_try='test -s conftest$ac_exeext'
26049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26050 (eval $ac_try) 2>&5
26051 ac_status=$?
26052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26053 (exit $ac_status); }; }; then
26054 eval "$as_ac_var=yes"
26055 else
26056 echo "$as_me: failed program was:" >&5
26057 sed 's/^/| /' conftest.$ac_ext >&5
26058
26059 eval "$as_ac_var=no"
26060 fi
26061 rm -f conftest.err conftest.$ac_objext \
26062 conftest$ac_exeext conftest.$ac_ext
26063 fi
26064 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26065 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26066 if test `eval echo '${'$as_ac_var'}'` = yes; then
26067 cat >>confdefs.h <<_ACEOF
26068 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26069 _ACEOF
26070
26071 fi
26072 done
26073
26074 fi
26075
26076 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
26077 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
26078
26079 AFMINSTALL=afminstall
26080 TOOLKIT=GTK
26081 GUIDIST=GTK_DIST
26082
26083 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
26084 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
26085 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
26086 echo $ECHO_N "(cached) $ECHO_C" >&6
26087 else
26088 ac_check_lib_save_LIBS=$LIBS
26089 LIBS="-lgdk $LIBS"
26090 cat >conftest.$ac_ext <<_ACEOF
26091 /* confdefs.h. */
26092 _ACEOF
26093 cat confdefs.h >>conftest.$ac_ext
26094 cat >>conftest.$ac_ext <<_ACEOF
26095 /* end confdefs.h. */
26096
26097 /* Override any gcc2 internal prototype to avoid an error. */
26098 #ifdef __cplusplus
26099 extern "C"
26100 #endif
26101 /* We use char because int might match the return type of a gcc2
26102 builtin and then its argument prototype would still apply. */
26103 char gdk_im_open ();
26104 int
26105 main ()
26106 {
26107 gdk_im_open ();
26108 ;
26109 return 0;
26110 }
26111 _ACEOF
26112 rm -f conftest.$ac_objext conftest$ac_exeext
26113 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26114 (eval $ac_link) 2>conftest.er1
26115 ac_status=$?
26116 grep -v '^ *+' conftest.er1 >conftest.err
26117 rm -f conftest.er1
26118 cat conftest.err >&5
26119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26120 (exit $ac_status); } &&
26121 { ac_try='test -z "$ac_c_werror_flag"
26122 || test ! -s conftest.err'
26123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26124 (eval $ac_try) 2>&5
26125 ac_status=$?
26126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26127 (exit $ac_status); }; } &&
26128 { ac_try='test -s conftest$ac_exeext'
26129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26130 (eval $ac_try) 2>&5
26131 ac_status=$?
26132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26133 (exit $ac_status); }; }; then
26134 ac_cv_lib_gdk_gdk_im_open=yes
26135 else
26136 echo "$as_me: failed program was:" >&5
26137 sed 's/^/| /' conftest.$ac_ext >&5
26138
26139 ac_cv_lib_gdk_gdk_im_open=no
26140 fi
26141 rm -f conftest.err conftest.$ac_objext \
26142 conftest$ac_exeext conftest.$ac_ext
26143 LIBS=$ac_check_lib_save_LIBS
26144 fi
26145 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
26146 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
26147 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
26148 cat >>confdefs.h <<\_ACEOF
26149 #define HAVE_XIM 1
26150 _ACEOF
26151
26152 fi
26153
26154
26155
26156 if test "$wxUSE_GPE" = "yes"; then
26157 echo "$as_me:$LINENO: checking for gpewidget library" >&5
26158 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6
26159
26160 ac_find_libraries=
26161 for ac_dir in $SEARCH_LIB /usr/lib;
26162 do
26163 for ac_extension in a so sl dylib; do
26164 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
26165 ac_find_libraries=$ac_dir
26166 break 2
26167 fi
26168 done
26169 done
26170
26171 if test "$ac_find_libraries" != "" ; then
26172
26173 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
26174 result=$?
26175 if test $result = 0; then
26176 ac_path_to_link=""
26177 else
26178 ac_path_to_link=" -L$ac_find_libraries"
26179 fi
26180
26181 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
26182 WXGPE=1
26183 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
26184 echo "${ECHO_T}found at $ac_find_libraries" >&6
26185 else
26186 echo "$as_me:$LINENO: result: not found" >&5
26187 echo "${ECHO_T}not found" >&6
26188 fi
26189
26190 fi
26191 fi
26192
26193 if test "$wxUSE_MGL" = 1; then
26194 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
26195 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
26196 if test "x$MGL_ROOT" = x ; then
26197 echo "$as_me:$LINENO: result: not found" >&5
26198 echo "${ECHO_T}not found" >&6
26199 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
26200 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
26201 { (exit 1); exit 1; }; }
26202 else
26203 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
26204 echo "${ECHO_T}$MGL_ROOT" >&6
26205 fi
26206
26207 echo "$as_me:$LINENO: checking for libmgl location" >&5
26208 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
26209 case "${host}" in
26210 *-*-linux* )
26211 if test "x$wxUSE_SHARED" = xyes ; then
26212 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
26213 else
26214 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
26215 fi
26216 ;;
26217 *-pc-msdosdjgpp )
26218 mgl_os_candidates="dos32/dj2"
26219 ;;
26220 *)
26221 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
26222 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
26223 { (exit 1); exit 1; }; }
26224 esac
26225
26226 mgl_lib_type=""
26227 mgl_os=""
26228
26229 for mgl_os_i in $mgl_os_candidates ; do
26230 if test "x$mgl_os" = x ; then
26231 if test "$wxUSE_DEBUG_FLAG" = yes ; then
26232 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
26233 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
26234 mgl_lib_type=debug
26235 mgl_os=$mgl_os_i
26236 fi
26237 fi
26238 if test "x$mgl_lib_type" = x ; then
26239 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
26240 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
26241 mgl_lib_type=release
26242 mgl_os=$mgl_os_i
26243 fi
26244 fi
26245 fi
26246 done
26247
26248 if test "x$mgl_os" = x ; then
26249 echo "$as_me:$LINENO: result: not found" >&5
26250 echo "${ECHO_T}not found" >&6
26251 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
26252 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
26253 { (exit 1); exit 1; }; }
26254 fi
26255 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
26256 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
26257
26258 wxUSE_UNIVERSAL="yes"
26259
26260 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
26261 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
26262
26263 AFMINSTALL=afminstall
26264 TOOLKIT=MGL
26265 GUIDIST=MGL_DIST
26266 fi
26267
26268 if test "$wxUSE_MICROWIN" = 1; then
26269 echo "$as_me:$LINENO: checking for MicroWindows" >&5
26270 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
26271 if test "x$MICROWINDOWS" = x ; then
26272 echo "$as_me:$LINENO: result: not found" >&5
26273 echo "${ECHO_T}not found" >&6
26274 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
26275 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
26276 { (exit 1); exit 1; }; }
26277 else
26278 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
26279 echo "${ECHO_T}$MICROWINDOWS" >&6
26280 fi
26281
26282 if test -f $MICROWINDOWS/lib/libmwin.a; then
26283 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
26284 echo "${ECHO_T}MicroWindows' libraries found." >&6
26285 else
26286 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
26287 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
26288 { (exit 1); exit 1; }; }
26289 fi
26290
26291 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
26292 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
26293
26294 wxUSE_UNIVERSAL="yes"
26295
26296 AFMINSTALL=afminstall
26297 TOOLKIT=MICROWIN
26298 GUIDIST=MICROWIN_DIST
26299
26300 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
26301 fi
26302
26303 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
26304 echo "$as_me:$LINENO: checking for X" >&5
26305 echo $ECHO_N "checking for X... $ECHO_C" >&6
26306
26307
26308 # Check whether --with-x or --without-x was given.
26309 if test "${with_x+set}" = set; then
26310 withval="$with_x"
26311
26312 fi;
26313 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
26314 if test "x$with_x" = xno; then
26315 # The user explicitly disabled X.
26316 have_x=disabled
26317 else
26318 if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then
26319 # Both variables are already set.
26320 have_x=yes
26321 else
26322 if test "${ac_cv_have_x+set}" = set; then
26323 echo $ECHO_N "(cached) $ECHO_C" >&6
26324 else
26325 # One or both of the vars are not set, and there is no cached value.
26326 ac_x_includes=no ac_x_libraries=no
26327 rm -fr conftest.dir
26328 if mkdir conftest.dir; then
26329 cd conftest.dir
26330 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
26331 cat >Imakefile <<'_ACEOF'
26332 acfindx:
26333 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
26334 _ACEOF
26335 if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
26336 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
26337 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
26338 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
26339 for ac_extension in a so sl; do
26340 if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
26341 test -f $ac_im_libdir/libX11.$ac_extension; then
26342 ac_im_usrlibdir=$ac_im_libdir; break
26343 fi
26344 done
26345 # Screen out bogus values from the imake configuration. They are
26346 # bogus both because they are the default anyway, and because
26347 # using them would break gcc on systems where it needs fixed includes.
26348 case $ac_im_incroot in
26349 /usr/include) ;;
26350 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
26351 esac
26352 case $ac_im_usrlibdir in
26353 /usr/lib | /lib) ;;
26354 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
26355 esac
26356 fi
26357 cd ..
26358 rm -fr conftest.dir
26359 fi
26360
26361 # Standard set of common directories for X headers.
26362 # Check X11 before X11Rn because it is often a symlink to the current release.
26363 ac_x_header_dirs='
26364 /usr/X11/include
26365 /usr/X11R6/include
26366 /usr/X11R5/include
26367 /usr/X11R4/include
26368
26369 /usr/include/X11
26370 /usr/include/X11R6
26371 /usr/include/X11R5
26372 /usr/include/X11R4
26373
26374 /usr/local/X11/include
26375 /usr/local/X11R6/include
26376 /usr/local/X11R5/include
26377 /usr/local/X11R4/include
26378
26379 /usr/local/include/X11
26380 /usr/local/include/X11R6
26381 /usr/local/include/X11R5
26382 /usr/local/include/X11R4
26383
26384 /usr/X386/include
26385 /usr/x386/include
26386 /usr/XFree86/include/X11
26387
26388 /usr/include
26389 /usr/local/include
26390 /usr/unsupported/include
26391 /usr/athena/include
26392 /usr/local/x11r5/include
26393 /usr/lpp/Xamples/include
26394
26395 /usr/openwin/include
26396 /usr/openwin/share/include'
26397
26398 if test "$ac_x_includes" = no; then
26399 # Guess where to find include files, by looking for Intrinsic.h.
26400 # First, try using that file with no special directory specified.
26401 cat >conftest.$ac_ext <<_ACEOF
26402 /* confdefs.h. */
26403 _ACEOF
26404 cat confdefs.h >>conftest.$ac_ext
26405 cat >>conftest.$ac_ext <<_ACEOF
26406 /* end confdefs.h. */
26407 #include <X11/Intrinsic.h>
26408 _ACEOF
26409 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26410 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
26411 ac_status=$?
26412 grep -v '^ *+' conftest.er1 >conftest.err
26413 rm -f conftest.er1
26414 cat conftest.err >&5
26415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26416 (exit $ac_status); } >/dev/null; then
26417 if test -s conftest.err; then
26418 ac_cpp_err=$ac_c_preproc_warn_flag
26419 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
26420 else
26421 ac_cpp_err=
26422 fi
26423 else
26424 ac_cpp_err=yes
26425 fi
26426 if test -z "$ac_cpp_err"; then
26427 # We can compile using X headers with no special include directory.
26428 ac_x_includes=
26429 else
26430 echo "$as_me: failed program was:" >&5
26431 sed 's/^/| /' conftest.$ac_ext >&5
26432
26433 for ac_dir in $ac_x_header_dirs; do
26434 if test -r "$ac_dir/X11/Intrinsic.h"; then
26435 ac_x_includes=$ac_dir
26436 break
26437 fi
26438 done
26439 fi
26440 rm -f conftest.err conftest.$ac_ext
26441 fi # $ac_x_includes = no
26442
26443 if test "$ac_x_libraries" = no; then
26444 # Check for the libraries.
26445 # See if we find them without any special options.
26446 # Don't add to $LIBS permanently.
26447 ac_save_LIBS=$LIBS
26448 LIBS="-lXt $LIBS"
26449 cat >conftest.$ac_ext <<_ACEOF
26450 /* confdefs.h. */
26451 _ACEOF
26452 cat confdefs.h >>conftest.$ac_ext
26453 cat >>conftest.$ac_ext <<_ACEOF
26454 /* end confdefs.h. */
26455 #include <X11/Intrinsic.h>
26456 int
26457 main ()
26458 {
26459 XtMalloc (0)
26460 ;
26461 return 0;
26462 }
26463 _ACEOF
26464 rm -f conftest.$ac_objext conftest$ac_exeext
26465 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26466 (eval $ac_link) 2>conftest.er1
26467 ac_status=$?
26468 grep -v '^ *+' conftest.er1 >conftest.err
26469 rm -f conftest.er1
26470 cat conftest.err >&5
26471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26472 (exit $ac_status); } &&
26473 { ac_try='test -z "$ac_c_werror_flag"
26474 || test ! -s conftest.err'
26475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26476 (eval $ac_try) 2>&5
26477 ac_status=$?
26478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26479 (exit $ac_status); }; } &&
26480 { ac_try='test -s conftest$ac_exeext'
26481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26482 (eval $ac_try) 2>&5
26483 ac_status=$?
26484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26485 (exit $ac_status); }; }; then
26486 LIBS=$ac_save_LIBS
26487 # We can link X programs with no special library path.
26488 ac_x_libraries=
26489 else
26490 echo "$as_me: failed program was:" >&5
26491 sed 's/^/| /' conftest.$ac_ext >&5
26492
26493 LIBS=$ac_save_LIBS
26494 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
26495 do
26496 # Don't even attempt the hair of trying to link an X program!
26497 for ac_extension in a so sl; do
26498 if test -r $ac_dir/libXt.$ac_extension; then
26499 ac_x_libraries=$ac_dir
26500 break 2
26501 fi
26502 done
26503 done
26504 fi
26505 rm -f conftest.err conftest.$ac_objext \
26506 conftest$ac_exeext conftest.$ac_ext
26507 fi # $ac_x_libraries = no
26508
26509 if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then
26510 # Didn't find X anywhere. Cache the known absence of X.
26511 ac_cv_have_x="have_x=no"
26512 else
26513 # Record where we found X for the cache.
26514 ac_cv_have_x="have_x=yes \
26515 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
26516 fi
26517 fi
26518
26519 fi
26520 eval "$ac_cv_have_x"
26521 fi # $with_x != no
26522
26523 if test "$have_x" != yes; then
26524 echo "$as_me:$LINENO: result: $have_x" >&5
26525 echo "${ECHO_T}$have_x" >&6
26526 no_x=yes
26527 else
26528 # If each of the values was on the command line, it overrides each guess.
26529 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
26530 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
26531 # Update the cache value to reflect the command line values.
26532 ac_cv_have_x="have_x=yes \
26533 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
26534 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
26535 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
26536 fi
26537
26538 if test "$no_x" = yes; then
26539 # Not all programs may use this symbol, but it does not hurt to define it.
26540
26541 cat >>confdefs.h <<\_ACEOF
26542 #define X_DISPLAY_MISSING 1
26543 _ACEOF
26544
26545 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
26546 else
26547 if test -n "$x_includes"; then
26548 X_CFLAGS="$X_CFLAGS -I$x_includes"
26549 fi
26550
26551 # It would also be nice to do this for all -L options, not just this one.
26552 if test -n "$x_libraries"; then
26553 X_LIBS="$X_LIBS -L$x_libraries"
26554 # For Solaris; some versions of Sun CC require a space after -R and
26555 # others require no space. Words are not sufficient . . . .
26556 case `(uname -sr) 2>/dev/null` in
26557 "SunOS 5"*)
26558 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
26559 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
26560 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
26561 cat >conftest.$ac_ext <<_ACEOF
26562 /* confdefs.h. */
26563 _ACEOF
26564 cat confdefs.h >>conftest.$ac_ext
26565 cat >>conftest.$ac_ext <<_ACEOF
26566 /* end confdefs.h. */
26567
26568 int
26569 main ()
26570 {
26571
26572 ;
26573 return 0;
26574 }
26575 _ACEOF
26576 rm -f conftest.$ac_objext conftest$ac_exeext
26577 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26578 (eval $ac_link) 2>conftest.er1
26579 ac_status=$?
26580 grep -v '^ *+' conftest.er1 >conftest.err
26581 rm -f conftest.er1
26582 cat conftest.err >&5
26583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26584 (exit $ac_status); } &&
26585 { ac_try='test -z "$ac_c_werror_flag"
26586 || test ! -s conftest.err'
26587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26588 (eval $ac_try) 2>&5
26589 ac_status=$?
26590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26591 (exit $ac_status); }; } &&
26592 { ac_try='test -s conftest$ac_exeext'
26593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26594 (eval $ac_try) 2>&5
26595 ac_status=$?
26596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26597 (exit $ac_status); }; }; then
26598 ac_R_nospace=yes
26599 else
26600 echo "$as_me: failed program was:" >&5
26601 sed 's/^/| /' conftest.$ac_ext >&5
26602
26603 ac_R_nospace=no
26604 fi
26605 rm -f conftest.err conftest.$ac_objext \
26606 conftest$ac_exeext conftest.$ac_ext
26607 if test $ac_R_nospace = yes; then
26608 echo "$as_me:$LINENO: result: no" >&5
26609 echo "${ECHO_T}no" >&6
26610 X_LIBS="$X_LIBS -R$x_libraries"
26611 else
26612 LIBS="$ac_xsave_LIBS -R $x_libraries"
26613 cat >conftest.$ac_ext <<_ACEOF
26614 /* confdefs.h. */
26615 _ACEOF
26616 cat confdefs.h >>conftest.$ac_ext
26617 cat >>conftest.$ac_ext <<_ACEOF
26618 /* end confdefs.h. */
26619
26620 int
26621 main ()
26622 {
26623
26624 ;
26625 return 0;
26626 }
26627 _ACEOF
26628 rm -f conftest.$ac_objext conftest$ac_exeext
26629 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26630 (eval $ac_link) 2>conftest.er1
26631 ac_status=$?
26632 grep -v '^ *+' conftest.er1 >conftest.err
26633 rm -f conftest.er1
26634 cat conftest.err >&5
26635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26636 (exit $ac_status); } &&
26637 { ac_try='test -z "$ac_c_werror_flag"
26638 || test ! -s conftest.err'
26639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26640 (eval $ac_try) 2>&5
26641 ac_status=$?
26642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26643 (exit $ac_status); }; } &&
26644 { ac_try='test -s conftest$ac_exeext'
26645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26646 (eval $ac_try) 2>&5
26647 ac_status=$?
26648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26649 (exit $ac_status); }; }; then
26650 ac_R_space=yes
26651 else
26652 echo "$as_me: failed program was:" >&5
26653 sed 's/^/| /' conftest.$ac_ext >&5
26654
26655 ac_R_space=no
26656 fi
26657 rm -f conftest.err conftest.$ac_objext \
26658 conftest$ac_exeext conftest.$ac_ext
26659 if test $ac_R_space = yes; then
26660 echo "$as_me:$LINENO: result: yes" >&5
26661 echo "${ECHO_T}yes" >&6
26662 X_LIBS="$X_LIBS -R $x_libraries"
26663 else
26664 echo "$as_me:$LINENO: result: neither works" >&5
26665 echo "${ECHO_T}neither works" >&6
26666 fi
26667 fi
26668 LIBS=$ac_xsave_LIBS
26669 esac
26670 fi
26671
26672 # Check for system-dependent libraries X programs must link with.
26673 # Do this before checking for the system-independent R6 libraries
26674 # (-lICE), since we may need -lsocket or whatever for X linking.
26675
26676 if test "$ISC" = yes; then
26677 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
26678 else
26679 # Martyn Johnson says this is needed for Ultrix, if the X
26680 # libraries were built with DECnet support. And Karl Berry says
26681 # the Alpha needs dnet_stub (dnet does not exist).
26682 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
26683 cat >conftest.$ac_ext <<_ACEOF
26684 /* confdefs.h. */
26685 _ACEOF
26686 cat confdefs.h >>conftest.$ac_ext
26687 cat >>conftest.$ac_ext <<_ACEOF
26688 /* end confdefs.h. */
26689
26690 /* Override any gcc2 internal prototype to avoid an error. */
26691 #ifdef __cplusplus
26692 extern "C"
26693 #endif
26694 /* We use char because int might match the return type of a gcc2
26695 builtin and then its argument prototype would still apply. */
26696 char XOpenDisplay ();
26697 int
26698 main ()
26699 {
26700 XOpenDisplay ();
26701 ;
26702 return 0;
26703 }
26704 _ACEOF
26705 rm -f conftest.$ac_objext conftest$ac_exeext
26706 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26707 (eval $ac_link) 2>conftest.er1
26708 ac_status=$?
26709 grep -v '^ *+' conftest.er1 >conftest.err
26710 rm -f conftest.er1
26711 cat conftest.err >&5
26712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26713 (exit $ac_status); } &&
26714 { ac_try='test -z "$ac_c_werror_flag"
26715 || test ! -s conftest.err'
26716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26717 (eval $ac_try) 2>&5
26718 ac_status=$?
26719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26720 (exit $ac_status); }; } &&
26721 { ac_try='test -s conftest$ac_exeext'
26722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26723 (eval $ac_try) 2>&5
26724 ac_status=$?
26725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26726 (exit $ac_status); }; }; then
26727 :
26728 else
26729 echo "$as_me: failed program was:" >&5
26730 sed 's/^/| /' conftest.$ac_ext >&5
26731
26732 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
26733 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
26734 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
26735 echo $ECHO_N "(cached) $ECHO_C" >&6
26736 else
26737 ac_check_lib_save_LIBS=$LIBS
26738 LIBS="-ldnet $LIBS"
26739 cat >conftest.$ac_ext <<_ACEOF
26740 /* confdefs.h. */
26741 _ACEOF
26742 cat confdefs.h >>conftest.$ac_ext
26743 cat >>conftest.$ac_ext <<_ACEOF
26744 /* end confdefs.h. */
26745
26746 /* Override any gcc2 internal prototype to avoid an error. */
26747 #ifdef __cplusplus
26748 extern "C"
26749 #endif
26750 /* We use char because int might match the return type of a gcc2
26751 builtin and then its argument prototype would still apply. */
26752 char dnet_ntoa ();
26753 int
26754 main ()
26755 {
26756 dnet_ntoa ();
26757 ;
26758 return 0;
26759 }
26760 _ACEOF
26761 rm -f conftest.$ac_objext conftest$ac_exeext
26762 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26763 (eval $ac_link) 2>conftest.er1
26764 ac_status=$?
26765 grep -v '^ *+' conftest.er1 >conftest.err
26766 rm -f conftest.er1
26767 cat conftest.err >&5
26768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26769 (exit $ac_status); } &&
26770 { ac_try='test -z "$ac_c_werror_flag"
26771 || test ! -s conftest.err'
26772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26773 (eval $ac_try) 2>&5
26774 ac_status=$?
26775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26776 (exit $ac_status); }; } &&
26777 { ac_try='test -s conftest$ac_exeext'
26778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26779 (eval $ac_try) 2>&5
26780 ac_status=$?
26781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26782 (exit $ac_status); }; }; then
26783 ac_cv_lib_dnet_dnet_ntoa=yes
26784 else
26785 echo "$as_me: failed program was:" >&5
26786 sed 's/^/| /' conftest.$ac_ext >&5
26787
26788 ac_cv_lib_dnet_dnet_ntoa=no
26789 fi
26790 rm -f conftest.err conftest.$ac_objext \
26791 conftest$ac_exeext conftest.$ac_ext
26792 LIBS=$ac_check_lib_save_LIBS
26793 fi
26794 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
26795 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
26796 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
26797 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
26798 fi
26799
26800 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
26801 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
26802 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
26803 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
26804 echo $ECHO_N "(cached) $ECHO_C" >&6
26805 else
26806 ac_check_lib_save_LIBS=$LIBS
26807 LIBS="-ldnet_stub $LIBS"
26808 cat >conftest.$ac_ext <<_ACEOF
26809 /* confdefs.h. */
26810 _ACEOF
26811 cat confdefs.h >>conftest.$ac_ext
26812 cat >>conftest.$ac_ext <<_ACEOF
26813 /* end confdefs.h. */
26814
26815 /* Override any gcc2 internal prototype to avoid an error. */
26816 #ifdef __cplusplus
26817 extern "C"
26818 #endif
26819 /* We use char because int might match the return type of a gcc2
26820 builtin and then its argument prototype would still apply. */
26821 char dnet_ntoa ();
26822 int
26823 main ()
26824 {
26825 dnet_ntoa ();
26826 ;
26827 return 0;
26828 }
26829 _ACEOF
26830 rm -f conftest.$ac_objext conftest$ac_exeext
26831 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26832 (eval $ac_link) 2>conftest.er1
26833 ac_status=$?
26834 grep -v '^ *+' conftest.er1 >conftest.err
26835 rm -f conftest.er1
26836 cat conftest.err >&5
26837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26838 (exit $ac_status); } &&
26839 { ac_try='test -z "$ac_c_werror_flag"
26840 || test ! -s conftest.err'
26841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26842 (eval $ac_try) 2>&5
26843 ac_status=$?
26844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26845 (exit $ac_status); }; } &&
26846 { ac_try='test -s conftest$ac_exeext'
26847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26848 (eval $ac_try) 2>&5
26849 ac_status=$?
26850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26851 (exit $ac_status); }; }; then
26852 ac_cv_lib_dnet_stub_dnet_ntoa=yes
26853 else
26854 echo "$as_me: failed program was:" >&5
26855 sed 's/^/| /' conftest.$ac_ext >&5
26856
26857 ac_cv_lib_dnet_stub_dnet_ntoa=no
26858 fi
26859 rm -f conftest.err conftest.$ac_objext \
26860 conftest$ac_exeext conftest.$ac_ext
26861 LIBS=$ac_check_lib_save_LIBS
26862 fi
26863 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
26864 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
26865 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
26866 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
26867 fi
26868
26869 fi
26870 fi
26871 rm -f conftest.err conftest.$ac_objext \
26872 conftest$ac_exeext conftest.$ac_ext
26873 LIBS="$ac_xsave_LIBS"
26874
26875 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
26876 # to get the SysV transport functions.
26877 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
26878 # needs -lnsl.
26879 # The nsl library prevents programs from opening the X display
26880 # on Irix 5.2, according to T.E. Dickey.
26881 # The functions gethostbyname, getservbyname, and inet_addr are
26882 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
26883 echo "$as_me:$LINENO: checking for gethostbyname" >&5
26884 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
26885 if test "${ac_cv_func_gethostbyname+set}" = set; then
26886 echo $ECHO_N "(cached) $ECHO_C" >&6
26887 else
26888 cat >conftest.$ac_ext <<_ACEOF
26889 /* confdefs.h. */
26890 _ACEOF
26891 cat confdefs.h >>conftest.$ac_ext
26892 cat >>conftest.$ac_ext <<_ACEOF
26893 /* end confdefs.h. */
26894 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
26895 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26896 #define gethostbyname innocuous_gethostbyname
26897
26898 /* System header to define __stub macros and hopefully few prototypes,
26899 which can conflict with char gethostbyname (); below.
26900 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26901 <limits.h> exists even on freestanding compilers. */
26902
26903 #ifdef __STDC__
26904 # include <limits.h>
26905 #else
26906 # include <assert.h>
26907 #endif
26908
26909 #undef gethostbyname
26910
26911 /* Override any gcc2 internal prototype to avoid an error. */
26912 #ifdef __cplusplus
26913 extern "C"
26914 {
26915 #endif
26916 /* We use char because int might match the return type of a gcc2
26917 builtin and then its argument prototype would still apply. */
26918 char gethostbyname ();
26919 /* The GNU C library defines this for functions which it implements
26920 to always fail with ENOSYS. Some functions are actually named
26921 something starting with __ and the normal name is an alias. */
26922 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
26923 choke me
26924 #else
26925 char (*f) () = gethostbyname;
26926 #endif
26927 #ifdef __cplusplus
26928 }
26929 #endif
26930
26931 int
26932 main ()
26933 {
26934 return f != gethostbyname;
26935 ;
26936 return 0;
26937 }
26938 _ACEOF
26939 rm -f conftest.$ac_objext conftest$ac_exeext
26940 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26941 (eval $ac_link) 2>conftest.er1
26942 ac_status=$?
26943 grep -v '^ *+' conftest.er1 >conftest.err
26944 rm -f conftest.er1
26945 cat conftest.err >&5
26946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26947 (exit $ac_status); } &&
26948 { ac_try='test -z "$ac_c_werror_flag"
26949 || test ! -s conftest.err'
26950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26951 (eval $ac_try) 2>&5
26952 ac_status=$?
26953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26954 (exit $ac_status); }; } &&
26955 { ac_try='test -s conftest$ac_exeext'
26956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26957 (eval $ac_try) 2>&5
26958 ac_status=$?
26959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26960 (exit $ac_status); }; }; then
26961 ac_cv_func_gethostbyname=yes
26962 else
26963 echo "$as_me: failed program was:" >&5
26964 sed 's/^/| /' conftest.$ac_ext >&5
26965
26966 ac_cv_func_gethostbyname=no
26967 fi
26968 rm -f conftest.err conftest.$ac_objext \
26969 conftest$ac_exeext conftest.$ac_ext
26970 fi
26971 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
26972 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
26973
26974 if test $ac_cv_func_gethostbyname = no; then
26975 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
26976 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
26977 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
26978 echo $ECHO_N "(cached) $ECHO_C" >&6
26979 else
26980 ac_check_lib_save_LIBS=$LIBS
26981 LIBS="-lnsl $LIBS"
26982 cat >conftest.$ac_ext <<_ACEOF
26983 /* confdefs.h. */
26984 _ACEOF
26985 cat confdefs.h >>conftest.$ac_ext
26986 cat >>conftest.$ac_ext <<_ACEOF
26987 /* end confdefs.h. */
26988
26989 /* Override any gcc2 internal prototype to avoid an error. */
26990 #ifdef __cplusplus
26991 extern "C"
26992 #endif
26993 /* We use char because int might match the return type of a gcc2
26994 builtin and then its argument prototype would still apply. */
26995 char gethostbyname ();
26996 int
26997 main ()
26998 {
26999 gethostbyname ();
27000 ;
27001 return 0;
27002 }
27003 _ACEOF
27004 rm -f conftest.$ac_objext conftest$ac_exeext
27005 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27006 (eval $ac_link) 2>conftest.er1
27007 ac_status=$?
27008 grep -v '^ *+' conftest.er1 >conftest.err
27009 rm -f conftest.er1
27010 cat conftest.err >&5
27011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27012 (exit $ac_status); } &&
27013 { ac_try='test -z "$ac_c_werror_flag"
27014 || test ! -s conftest.err'
27015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27016 (eval $ac_try) 2>&5
27017 ac_status=$?
27018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27019 (exit $ac_status); }; } &&
27020 { ac_try='test -s conftest$ac_exeext'
27021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27022 (eval $ac_try) 2>&5
27023 ac_status=$?
27024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27025 (exit $ac_status); }; }; then
27026 ac_cv_lib_nsl_gethostbyname=yes
27027 else
27028 echo "$as_me: failed program was:" >&5
27029 sed 's/^/| /' conftest.$ac_ext >&5
27030
27031 ac_cv_lib_nsl_gethostbyname=no
27032 fi
27033 rm -f conftest.err conftest.$ac_objext \
27034 conftest$ac_exeext conftest.$ac_ext
27035 LIBS=$ac_check_lib_save_LIBS
27036 fi
27037 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
27038 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
27039 if test $ac_cv_lib_nsl_gethostbyname = yes; then
27040 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
27041 fi
27042
27043 if test $ac_cv_lib_nsl_gethostbyname = no; then
27044 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
27045 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
27046 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
27047 echo $ECHO_N "(cached) $ECHO_C" >&6
27048 else
27049 ac_check_lib_save_LIBS=$LIBS
27050 LIBS="-lbsd $LIBS"
27051 cat >conftest.$ac_ext <<_ACEOF
27052 /* confdefs.h. */
27053 _ACEOF
27054 cat confdefs.h >>conftest.$ac_ext
27055 cat >>conftest.$ac_ext <<_ACEOF
27056 /* end confdefs.h. */
27057
27058 /* Override any gcc2 internal prototype to avoid an error. */
27059 #ifdef __cplusplus
27060 extern "C"
27061 #endif
27062 /* We use char because int might match the return type of a gcc2
27063 builtin and then its argument prototype would still apply. */
27064 char gethostbyname ();
27065 int
27066 main ()
27067 {
27068 gethostbyname ();
27069 ;
27070 return 0;
27071 }
27072 _ACEOF
27073 rm -f conftest.$ac_objext conftest$ac_exeext
27074 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27075 (eval $ac_link) 2>conftest.er1
27076 ac_status=$?
27077 grep -v '^ *+' conftest.er1 >conftest.err
27078 rm -f conftest.er1
27079 cat conftest.err >&5
27080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27081 (exit $ac_status); } &&
27082 { ac_try='test -z "$ac_c_werror_flag"
27083 || test ! -s conftest.err'
27084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27085 (eval $ac_try) 2>&5
27086 ac_status=$?
27087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27088 (exit $ac_status); }; } &&
27089 { ac_try='test -s conftest$ac_exeext'
27090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27091 (eval $ac_try) 2>&5
27092 ac_status=$?
27093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27094 (exit $ac_status); }; }; then
27095 ac_cv_lib_bsd_gethostbyname=yes
27096 else
27097 echo "$as_me: failed program was:" >&5
27098 sed 's/^/| /' conftest.$ac_ext >&5
27099
27100 ac_cv_lib_bsd_gethostbyname=no
27101 fi
27102 rm -f conftest.err conftest.$ac_objext \
27103 conftest$ac_exeext conftest.$ac_ext
27104 LIBS=$ac_check_lib_save_LIBS
27105 fi
27106 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
27107 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
27108 if test $ac_cv_lib_bsd_gethostbyname = yes; then
27109 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
27110 fi
27111
27112 fi
27113 fi
27114
27115 # lieder@skyler.mavd.honeywell.com says without -lsocket,
27116 # socket/setsockopt and other routines are undefined under SCO ODT
27117 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
27118 # on later versions), says Simon Leinen: it contains gethostby*
27119 # variants that don't use the name server (or something). -lsocket
27120 # must be given before -lnsl if both are needed. We assume that
27121 # if connect needs -lnsl, so does gethostbyname.
27122 echo "$as_me:$LINENO: checking for connect" >&5
27123 echo $ECHO_N "checking for connect... $ECHO_C" >&6
27124 if test "${ac_cv_func_connect+set}" = set; then
27125 echo $ECHO_N "(cached) $ECHO_C" >&6
27126 else
27127 cat >conftest.$ac_ext <<_ACEOF
27128 /* confdefs.h. */
27129 _ACEOF
27130 cat confdefs.h >>conftest.$ac_ext
27131 cat >>conftest.$ac_ext <<_ACEOF
27132 /* end confdefs.h. */
27133 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
27134 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27135 #define connect innocuous_connect
27136
27137 /* System header to define __stub macros and hopefully few prototypes,
27138 which can conflict with char connect (); below.
27139 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27140 <limits.h> exists even on freestanding compilers. */
27141
27142 #ifdef __STDC__
27143 # include <limits.h>
27144 #else
27145 # include <assert.h>
27146 #endif
27147
27148 #undef connect
27149
27150 /* Override any gcc2 internal prototype to avoid an error. */
27151 #ifdef __cplusplus
27152 extern "C"
27153 {
27154 #endif
27155 /* We use char because int might match the return type of a gcc2
27156 builtin and then its argument prototype would still apply. */
27157 char connect ();
27158 /* The GNU C library defines this for functions which it implements
27159 to always fail with ENOSYS. Some functions are actually named
27160 something starting with __ and the normal name is an alias. */
27161 #if defined (__stub_connect) || defined (__stub___connect)
27162 choke me
27163 #else
27164 char (*f) () = connect;
27165 #endif
27166 #ifdef __cplusplus
27167 }
27168 #endif
27169
27170 int
27171 main ()
27172 {
27173 return f != connect;
27174 ;
27175 return 0;
27176 }
27177 _ACEOF
27178 rm -f conftest.$ac_objext conftest$ac_exeext
27179 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27180 (eval $ac_link) 2>conftest.er1
27181 ac_status=$?
27182 grep -v '^ *+' conftest.er1 >conftest.err
27183 rm -f conftest.er1
27184 cat conftest.err >&5
27185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27186 (exit $ac_status); } &&
27187 { ac_try='test -z "$ac_c_werror_flag"
27188 || test ! -s conftest.err'
27189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27190 (eval $ac_try) 2>&5
27191 ac_status=$?
27192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27193 (exit $ac_status); }; } &&
27194 { ac_try='test -s conftest$ac_exeext'
27195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27196 (eval $ac_try) 2>&5
27197 ac_status=$?
27198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27199 (exit $ac_status); }; }; then
27200 ac_cv_func_connect=yes
27201 else
27202 echo "$as_me: failed program was:" >&5
27203 sed 's/^/| /' conftest.$ac_ext >&5
27204
27205 ac_cv_func_connect=no
27206 fi
27207 rm -f conftest.err conftest.$ac_objext \
27208 conftest$ac_exeext conftest.$ac_ext
27209 fi
27210 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
27211 echo "${ECHO_T}$ac_cv_func_connect" >&6
27212
27213 if test $ac_cv_func_connect = no; then
27214 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
27215 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
27216 if test "${ac_cv_lib_socket_connect+set}" = set; then
27217 echo $ECHO_N "(cached) $ECHO_C" >&6
27218 else
27219 ac_check_lib_save_LIBS=$LIBS
27220 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
27221 cat >conftest.$ac_ext <<_ACEOF
27222 /* confdefs.h. */
27223 _ACEOF
27224 cat confdefs.h >>conftest.$ac_ext
27225 cat >>conftest.$ac_ext <<_ACEOF
27226 /* end confdefs.h. */
27227
27228 /* Override any gcc2 internal prototype to avoid an error. */
27229 #ifdef __cplusplus
27230 extern "C"
27231 #endif
27232 /* We use char because int might match the return type of a gcc2
27233 builtin and then its argument prototype would still apply. */
27234 char connect ();
27235 int
27236 main ()
27237 {
27238 connect ();
27239 ;
27240 return 0;
27241 }
27242 _ACEOF
27243 rm -f conftest.$ac_objext conftest$ac_exeext
27244 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27245 (eval $ac_link) 2>conftest.er1
27246 ac_status=$?
27247 grep -v '^ *+' conftest.er1 >conftest.err
27248 rm -f conftest.er1
27249 cat conftest.err >&5
27250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27251 (exit $ac_status); } &&
27252 { ac_try='test -z "$ac_c_werror_flag"
27253 || test ! -s conftest.err'
27254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27255 (eval $ac_try) 2>&5
27256 ac_status=$?
27257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27258 (exit $ac_status); }; } &&
27259 { ac_try='test -s conftest$ac_exeext'
27260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27261 (eval $ac_try) 2>&5
27262 ac_status=$?
27263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27264 (exit $ac_status); }; }; then
27265 ac_cv_lib_socket_connect=yes
27266 else
27267 echo "$as_me: failed program was:" >&5
27268 sed 's/^/| /' conftest.$ac_ext >&5
27269
27270 ac_cv_lib_socket_connect=no
27271 fi
27272 rm -f conftest.err conftest.$ac_objext \
27273 conftest$ac_exeext conftest.$ac_ext
27274 LIBS=$ac_check_lib_save_LIBS
27275 fi
27276 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
27277 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
27278 if test $ac_cv_lib_socket_connect = yes; then
27279 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
27280 fi
27281
27282 fi
27283
27284 # Guillermo Gomez says -lposix is necessary on A/UX.
27285 echo "$as_me:$LINENO: checking for remove" >&5
27286 echo $ECHO_N "checking for remove... $ECHO_C" >&6
27287 if test "${ac_cv_func_remove+set}" = set; then
27288 echo $ECHO_N "(cached) $ECHO_C" >&6
27289 else
27290 cat >conftest.$ac_ext <<_ACEOF
27291 /* confdefs.h. */
27292 _ACEOF
27293 cat confdefs.h >>conftest.$ac_ext
27294 cat >>conftest.$ac_ext <<_ACEOF
27295 /* end confdefs.h. */
27296 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
27297 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27298 #define remove innocuous_remove
27299
27300 /* System header to define __stub macros and hopefully few prototypes,
27301 which can conflict with char remove (); below.
27302 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27303 <limits.h> exists even on freestanding compilers. */
27304
27305 #ifdef __STDC__
27306 # include <limits.h>
27307 #else
27308 # include <assert.h>
27309 #endif
27310
27311 #undef remove
27312
27313 /* Override any gcc2 internal prototype to avoid an error. */
27314 #ifdef __cplusplus
27315 extern "C"
27316 {
27317 #endif
27318 /* We use char because int might match the return type of a gcc2
27319 builtin and then its argument prototype would still apply. */
27320 char remove ();
27321 /* The GNU C library defines this for functions which it implements
27322 to always fail with ENOSYS. Some functions are actually named
27323 something starting with __ and the normal name is an alias. */
27324 #if defined (__stub_remove) || defined (__stub___remove)
27325 choke me
27326 #else
27327 char (*f) () = remove;
27328 #endif
27329 #ifdef __cplusplus
27330 }
27331 #endif
27332
27333 int
27334 main ()
27335 {
27336 return f != remove;
27337 ;
27338 return 0;
27339 }
27340 _ACEOF
27341 rm -f conftest.$ac_objext conftest$ac_exeext
27342 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27343 (eval $ac_link) 2>conftest.er1
27344 ac_status=$?
27345 grep -v '^ *+' conftest.er1 >conftest.err
27346 rm -f conftest.er1
27347 cat conftest.err >&5
27348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27349 (exit $ac_status); } &&
27350 { ac_try='test -z "$ac_c_werror_flag"
27351 || test ! -s conftest.err'
27352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27353 (eval $ac_try) 2>&5
27354 ac_status=$?
27355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27356 (exit $ac_status); }; } &&
27357 { ac_try='test -s conftest$ac_exeext'
27358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27359 (eval $ac_try) 2>&5
27360 ac_status=$?
27361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27362 (exit $ac_status); }; }; then
27363 ac_cv_func_remove=yes
27364 else
27365 echo "$as_me: failed program was:" >&5
27366 sed 's/^/| /' conftest.$ac_ext >&5
27367
27368 ac_cv_func_remove=no
27369 fi
27370 rm -f conftest.err conftest.$ac_objext \
27371 conftest$ac_exeext conftest.$ac_ext
27372 fi
27373 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
27374 echo "${ECHO_T}$ac_cv_func_remove" >&6
27375
27376 if test $ac_cv_func_remove = no; then
27377 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
27378 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
27379 if test "${ac_cv_lib_posix_remove+set}" = set; then
27380 echo $ECHO_N "(cached) $ECHO_C" >&6
27381 else
27382 ac_check_lib_save_LIBS=$LIBS
27383 LIBS="-lposix $LIBS"
27384 cat >conftest.$ac_ext <<_ACEOF
27385 /* confdefs.h. */
27386 _ACEOF
27387 cat confdefs.h >>conftest.$ac_ext
27388 cat >>conftest.$ac_ext <<_ACEOF
27389 /* end confdefs.h. */
27390
27391 /* Override any gcc2 internal prototype to avoid an error. */
27392 #ifdef __cplusplus
27393 extern "C"
27394 #endif
27395 /* We use char because int might match the return type of a gcc2
27396 builtin and then its argument prototype would still apply. */
27397 char remove ();
27398 int
27399 main ()
27400 {
27401 remove ();
27402 ;
27403 return 0;
27404 }
27405 _ACEOF
27406 rm -f conftest.$ac_objext conftest$ac_exeext
27407 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27408 (eval $ac_link) 2>conftest.er1
27409 ac_status=$?
27410 grep -v '^ *+' conftest.er1 >conftest.err
27411 rm -f conftest.er1
27412 cat conftest.err >&5
27413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27414 (exit $ac_status); } &&
27415 { ac_try='test -z "$ac_c_werror_flag"
27416 || test ! -s conftest.err'
27417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27418 (eval $ac_try) 2>&5
27419 ac_status=$?
27420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27421 (exit $ac_status); }; } &&
27422 { ac_try='test -s conftest$ac_exeext'
27423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27424 (eval $ac_try) 2>&5
27425 ac_status=$?
27426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27427 (exit $ac_status); }; }; then
27428 ac_cv_lib_posix_remove=yes
27429 else
27430 echo "$as_me: failed program was:" >&5
27431 sed 's/^/| /' conftest.$ac_ext >&5
27432
27433 ac_cv_lib_posix_remove=no
27434 fi
27435 rm -f conftest.err conftest.$ac_objext \
27436 conftest$ac_exeext conftest.$ac_ext
27437 LIBS=$ac_check_lib_save_LIBS
27438 fi
27439 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
27440 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
27441 if test $ac_cv_lib_posix_remove = yes; then
27442 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
27443 fi
27444
27445 fi
27446
27447 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
27448 echo "$as_me:$LINENO: checking for shmat" >&5
27449 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
27450 if test "${ac_cv_func_shmat+set}" = set; then
27451 echo $ECHO_N "(cached) $ECHO_C" >&6
27452 else
27453 cat >conftest.$ac_ext <<_ACEOF
27454 /* confdefs.h. */
27455 _ACEOF
27456 cat confdefs.h >>conftest.$ac_ext
27457 cat >>conftest.$ac_ext <<_ACEOF
27458 /* end confdefs.h. */
27459 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
27460 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27461 #define shmat innocuous_shmat
27462
27463 /* System header to define __stub macros and hopefully few prototypes,
27464 which can conflict with char shmat (); below.
27465 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27466 <limits.h> exists even on freestanding compilers. */
27467
27468 #ifdef __STDC__
27469 # include <limits.h>
27470 #else
27471 # include <assert.h>
27472 #endif
27473
27474 #undef shmat
27475
27476 /* Override any gcc2 internal prototype to avoid an error. */
27477 #ifdef __cplusplus
27478 extern "C"
27479 {
27480 #endif
27481 /* We use char because int might match the return type of a gcc2
27482 builtin and then its argument prototype would still apply. */
27483 char shmat ();
27484 /* The GNU C library defines this for functions which it implements
27485 to always fail with ENOSYS. Some functions are actually named
27486 something starting with __ and the normal name is an alias. */
27487 #if defined (__stub_shmat) || defined (__stub___shmat)
27488 choke me
27489 #else
27490 char (*f) () = shmat;
27491 #endif
27492 #ifdef __cplusplus
27493 }
27494 #endif
27495
27496 int
27497 main ()
27498 {
27499 return f != shmat;
27500 ;
27501 return 0;
27502 }
27503 _ACEOF
27504 rm -f conftest.$ac_objext conftest$ac_exeext
27505 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27506 (eval $ac_link) 2>conftest.er1
27507 ac_status=$?
27508 grep -v '^ *+' conftest.er1 >conftest.err
27509 rm -f conftest.er1
27510 cat conftest.err >&5
27511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27512 (exit $ac_status); } &&
27513 { ac_try='test -z "$ac_c_werror_flag"
27514 || test ! -s conftest.err'
27515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27516 (eval $ac_try) 2>&5
27517 ac_status=$?
27518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27519 (exit $ac_status); }; } &&
27520 { ac_try='test -s conftest$ac_exeext'
27521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27522 (eval $ac_try) 2>&5
27523 ac_status=$?
27524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27525 (exit $ac_status); }; }; then
27526 ac_cv_func_shmat=yes
27527 else
27528 echo "$as_me: failed program was:" >&5
27529 sed 's/^/| /' conftest.$ac_ext >&5
27530
27531 ac_cv_func_shmat=no
27532 fi
27533 rm -f conftest.err conftest.$ac_objext \
27534 conftest$ac_exeext conftest.$ac_ext
27535 fi
27536 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
27537 echo "${ECHO_T}$ac_cv_func_shmat" >&6
27538
27539 if test $ac_cv_func_shmat = no; then
27540 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
27541 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
27542 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
27543 echo $ECHO_N "(cached) $ECHO_C" >&6
27544 else
27545 ac_check_lib_save_LIBS=$LIBS
27546 LIBS="-lipc $LIBS"
27547 cat >conftest.$ac_ext <<_ACEOF
27548 /* confdefs.h. */
27549 _ACEOF
27550 cat confdefs.h >>conftest.$ac_ext
27551 cat >>conftest.$ac_ext <<_ACEOF
27552 /* end confdefs.h. */
27553
27554 /* Override any gcc2 internal prototype to avoid an error. */
27555 #ifdef __cplusplus
27556 extern "C"
27557 #endif
27558 /* We use char because int might match the return type of a gcc2
27559 builtin and then its argument prototype would still apply. */
27560 char shmat ();
27561 int
27562 main ()
27563 {
27564 shmat ();
27565 ;
27566 return 0;
27567 }
27568 _ACEOF
27569 rm -f conftest.$ac_objext conftest$ac_exeext
27570 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27571 (eval $ac_link) 2>conftest.er1
27572 ac_status=$?
27573 grep -v '^ *+' conftest.er1 >conftest.err
27574 rm -f conftest.er1
27575 cat conftest.err >&5
27576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27577 (exit $ac_status); } &&
27578 { ac_try='test -z "$ac_c_werror_flag"
27579 || test ! -s conftest.err'
27580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27581 (eval $ac_try) 2>&5
27582 ac_status=$?
27583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27584 (exit $ac_status); }; } &&
27585 { ac_try='test -s conftest$ac_exeext'
27586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27587 (eval $ac_try) 2>&5
27588 ac_status=$?
27589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27590 (exit $ac_status); }; }; then
27591 ac_cv_lib_ipc_shmat=yes
27592 else
27593 echo "$as_me: failed program was:" >&5
27594 sed 's/^/| /' conftest.$ac_ext >&5
27595
27596 ac_cv_lib_ipc_shmat=no
27597 fi
27598 rm -f conftest.err conftest.$ac_objext \
27599 conftest$ac_exeext conftest.$ac_ext
27600 LIBS=$ac_check_lib_save_LIBS
27601 fi
27602 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
27603 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
27604 if test $ac_cv_lib_ipc_shmat = yes; then
27605 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
27606 fi
27607
27608 fi
27609 fi
27610
27611 # Check for libraries that X11R6 Xt/Xaw programs need.
27612 ac_save_LDFLAGS=$LDFLAGS
27613 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
27614 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
27615 # check for ICE first), but we must link in the order -lSM -lICE or
27616 # we get undefined symbols. So assume we have SM if we have ICE.
27617 # These have to be linked with before -lX11, unlike the other
27618 # libraries we check for below, so use a different variable.
27619 # John Interrante, Karl Berry
27620 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
27621 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
27622 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
27623 echo $ECHO_N "(cached) $ECHO_C" >&6
27624 else
27625 ac_check_lib_save_LIBS=$LIBS
27626 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
27627 cat >conftest.$ac_ext <<_ACEOF
27628 /* confdefs.h. */
27629 _ACEOF
27630 cat confdefs.h >>conftest.$ac_ext
27631 cat >>conftest.$ac_ext <<_ACEOF
27632 /* end confdefs.h. */
27633
27634 /* Override any gcc2 internal prototype to avoid an error. */
27635 #ifdef __cplusplus
27636 extern "C"
27637 #endif
27638 /* We use char because int might match the return type of a gcc2
27639 builtin and then its argument prototype would still apply. */
27640 char IceConnectionNumber ();
27641 int
27642 main ()
27643 {
27644 IceConnectionNumber ();
27645 ;
27646 return 0;
27647 }
27648 _ACEOF
27649 rm -f conftest.$ac_objext conftest$ac_exeext
27650 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27651 (eval $ac_link) 2>conftest.er1
27652 ac_status=$?
27653 grep -v '^ *+' conftest.er1 >conftest.err
27654 rm -f conftest.er1
27655 cat conftest.err >&5
27656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27657 (exit $ac_status); } &&
27658 { ac_try='test -z "$ac_c_werror_flag"
27659 || test ! -s conftest.err'
27660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27661 (eval $ac_try) 2>&5
27662 ac_status=$?
27663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27664 (exit $ac_status); }; } &&
27665 { ac_try='test -s conftest$ac_exeext'
27666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27667 (eval $ac_try) 2>&5
27668 ac_status=$?
27669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27670 (exit $ac_status); }; }; then
27671 ac_cv_lib_ICE_IceConnectionNumber=yes
27672 else
27673 echo "$as_me: failed program was:" >&5
27674 sed 's/^/| /' conftest.$ac_ext >&5
27675
27676 ac_cv_lib_ICE_IceConnectionNumber=no
27677 fi
27678 rm -f conftest.err conftest.$ac_objext \
27679 conftest$ac_exeext conftest.$ac_ext
27680 LIBS=$ac_check_lib_save_LIBS
27681 fi
27682 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
27683 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
27684 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
27685 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
27686 fi
27687
27688 LDFLAGS=$ac_save_LDFLAGS
27689
27690 fi
27691
27692
27693 if test "$no_x" = "yes"; then
27694 { { echo "$as_me:$LINENO: error: X11 not found" >&5
27695 echo "$as_me: error: X11 not found" >&2;}
27696 { (exit please use --x-includes and/or --x-libraries options); exit please use --x-includes and/or --x-libraries options; }; }
27697 fi
27698
27699 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
27700 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
27701 AFMINSTALL=afminstall
27702 COMPILED_X_PROGRAM=0
27703
27704 fi
27705
27706 if test "$wxUSE_X11" = 1; then
27707 if test "$wxUSE_NANOX" = "yes"; then
27708 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
27709 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
27710 if test "x$MICROWIN" = x ; then
27711 echo "$as_me:$LINENO: result: not found" >&5
27712 echo "${ECHO_T}not found" >&6
27713 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
27714 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
27715 { (exit 1); exit 1; }; }
27716 else
27717 echo "$as_me:$LINENO: result: $MICROWIN" >&5
27718 echo "${ECHO_T}$MICROWIN" >&6
27719 cat >>confdefs.h <<\_ACEOF
27720 #define wxUSE_NANOX 1
27721 _ACEOF
27722
27723 fi
27724 fi
27725
27726 if test "$wxUSE_UNICODE" = "yes"; then
27727
27728 succeeded=no
27729
27730 if test -z "$PKG_CONFIG"; then
27731 # Extract the first word of "pkg-config", so it can be a program name with args.
27732 set dummy pkg-config; ac_word=$2
27733 echo "$as_me:$LINENO: checking for $ac_word" >&5
27734 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27735 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
27736 echo $ECHO_N "(cached) $ECHO_C" >&6
27737 else
27738 case $PKG_CONFIG in
27739 [\\/]* | ?:[\\/]*)
27740 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
27741 ;;
27742 *)
27743 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27744 for as_dir in $PATH
27745 do
27746 IFS=$as_save_IFS
27747 test -z "$as_dir" && as_dir=.
27748 for ac_exec_ext in '' $ac_executable_extensions; do
27749 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27750 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27751 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27752 break 2
27753 fi
27754 done
27755 done
27756
27757 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
27758 ;;
27759 esac
27760 fi
27761 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
27762
27763 if test -n "$PKG_CONFIG"; then
27764 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
27765 echo "${ECHO_T}$PKG_CONFIG" >&6
27766 else
27767 echo "$as_me:$LINENO: result: no" >&5
27768 echo "${ECHO_T}no" >&6
27769 fi
27770
27771 fi
27772
27773 if test "$PKG_CONFIG" = "no" ; then
27774 echo "*** The pkg-config script could not be found. Make sure it is"
27775 echo "*** in your path, or set the PKG_CONFIG environment variable"
27776 echo "*** to the full path to pkg-config."
27777 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
27778 else
27779 PKG_CONFIG_MIN_VERSION=0.9.0
27780 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
27781 echo "$as_me:$LINENO: checking for pangox" >&5
27782 echo $ECHO_N "checking for pangox... $ECHO_C" >&6
27783
27784 if $PKG_CONFIG --exists "pangox" ; then
27785 echo "$as_me:$LINENO: result: yes" >&5
27786 echo "${ECHO_T}yes" >&6
27787 succeeded=yes
27788
27789 echo "$as_me:$LINENO: checking PANGOX_CFLAGS" >&5
27790 echo $ECHO_N "checking PANGOX_CFLAGS... $ECHO_C" >&6
27791 PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox"`
27792 echo "$as_me:$LINENO: result: $PANGOX_CFLAGS" >&5
27793 echo "${ECHO_T}$PANGOX_CFLAGS" >&6
27794
27795 echo "$as_me:$LINENO: checking PANGOX_LIBS" >&5
27796 echo $ECHO_N "checking PANGOX_LIBS... $ECHO_C" >&6
27797 PANGOX_LIBS=`$PKG_CONFIG --libs "pangox"`
27798 echo "$as_me:$LINENO: result: $PANGOX_LIBS" >&5
27799 echo "${ECHO_T}$PANGOX_LIBS" >&6
27800 else
27801 PANGOX_CFLAGS=""
27802 PANGOX_LIBS=""
27803 ## If we have a custom action on failure, don't print errors, but
27804 ## do set a variable so people can do so.
27805 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
27806
27807 fi
27808
27809
27810
27811 else
27812 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
27813 echo "*** See http://www.freedesktop.org/software/pkgconfig"
27814 fi
27815 fi
27816
27817 if test $succeeded = yes; then
27818
27819 CXXFLAGS="$CXXFLAGS $PANGOX_CFLAGS"
27820 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
27821
27822 else
27823
27824 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
27825 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
27826 { (exit 1); exit 1; }; }
27827
27828
27829 fi
27830
27831
27832 succeeded=no
27833
27834 if test -z "$PKG_CONFIG"; then
27835 # Extract the first word of "pkg-config", so it can be a program name with args.
27836 set dummy pkg-config; ac_word=$2
27837 echo "$as_me:$LINENO: checking for $ac_word" >&5
27838 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27839 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
27840 echo $ECHO_N "(cached) $ECHO_C" >&6
27841 else
27842 case $PKG_CONFIG in
27843 [\\/]* | ?:[\\/]*)
27844 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
27845 ;;
27846 *)
27847 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27848 for as_dir in $PATH
27849 do
27850 IFS=$as_save_IFS
27851 test -z "$as_dir" && as_dir=.
27852 for ac_exec_ext in '' $ac_executable_extensions; do
27853 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27854 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27855 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27856 break 2
27857 fi
27858 done
27859 done
27860
27861 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
27862 ;;
27863 esac
27864 fi
27865 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
27866
27867 if test -n "$PKG_CONFIG"; then
27868 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
27869 echo "${ECHO_T}$PKG_CONFIG" >&6
27870 else
27871 echo "$as_me:$LINENO: result: no" >&5
27872 echo "${ECHO_T}no" >&6
27873 fi
27874
27875 fi
27876
27877 if test "$PKG_CONFIG" = "no" ; then
27878 echo "*** The pkg-config script could not be found. Make sure it is"
27879 echo "*** in your path, or set the PKG_CONFIG environment variable"
27880 echo "*** to the full path to pkg-config."
27881 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
27882 else
27883 PKG_CONFIG_MIN_VERSION=0.9.0
27884 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
27885 echo "$as_me:$LINENO: checking for pangoft2" >&5
27886 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
27887
27888 if $PKG_CONFIG --exists "pangoft2" ; then
27889 echo "$as_me:$LINENO: result: yes" >&5
27890 echo "${ECHO_T}yes" >&6
27891 succeeded=yes
27892
27893 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
27894 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
27895 PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2"`
27896 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
27897 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
27898
27899 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
27900 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
27901 PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2"`
27902 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
27903 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
27904 else
27905 PANGOFT2_CFLAGS=""
27906 PANGOFT2_LIBS=""
27907 ## If we have a custom action on failure, don't print errors, but
27908 ## do set a variable so people can do so.
27909 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
27910
27911 fi
27912
27913
27914
27915 else
27916 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
27917 echo "*** See http://www.freedesktop.org/software/pkgconfig"
27918 fi
27919 fi
27920
27921 if test $succeeded = yes; then
27922
27923 CXXFLAGS="$CXXFLAGS $PANGOFT2_CFLAGS"
27924 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
27925
27926 else
27927
27928 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
27929 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
27930 wxUSE_PRINTING_ARCHITECTURE="no"
27931
27932
27933 fi
27934
27935
27936 succeeded=no
27937
27938 if test -z "$PKG_CONFIG"; then
27939 # Extract the first word of "pkg-config", so it can be a program name with args.
27940 set dummy pkg-config; ac_word=$2
27941 echo "$as_me:$LINENO: checking for $ac_word" >&5
27942 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27943 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
27944 echo $ECHO_N "(cached) $ECHO_C" >&6
27945 else
27946 case $PKG_CONFIG in
27947 [\\/]* | ?:[\\/]*)
27948 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
27949 ;;
27950 *)
27951 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27952 for as_dir in $PATH
27953 do
27954 IFS=$as_save_IFS
27955 test -z "$as_dir" && as_dir=.
27956 for ac_exec_ext in '' $ac_executable_extensions; do
27957 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27958 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27959 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27960 break 2
27961 fi
27962 done
27963 done
27964
27965 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
27966 ;;
27967 esac
27968 fi
27969 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
27970
27971 if test -n "$PKG_CONFIG"; then
27972 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
27973 echo "${ECHO_T}$PKG_CONFIG" >&6
27974 else
27975 echo "$as_me:$LINENO: result: no" >&5
27976 echo "${ECHO_T}no" >&6
27977 fi
27978
27979 fi
27980
27981 if test "$PKG_CONFIG" = "no" ; then
27982 echo "*** The pkg-config script could not be found. Make sure it is"
27983 echo "*** in your path, or set the PKG_CONFIG environment variable"
27984 echo "*** to the full path to pkg-config."
27985 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
27986 else
27987 PKG_CONFIG_MIN_VERSION=0.9.0
27988 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
27989 echo "$as_me:$LINENO: checking for pangoxft" >&5
27990 echo $ECHO_N "checking for pangoxft... $ECHO_C" >&6
27991
27992 if $PKG_CONFIG --exists "pangoxft" ; then
27993 echo "$as_me:$LINENO: result: yes" >&5
27994 echo "${ECHO_T}yes" >&6
27995 succeeded=yes
27996
27997 echo "$as_me:$LINENO: checking PANGOXFT_CFLAGS" >&5
27998 echo $ECHO_N "checking PANGOXFT_CFLAGS... $ECHO_C" >&6
27999 PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft"`
28000 echo "$as_me:$LINENO: result: $PANGOXFT_CFLAGS" >&5
28001 echo "${ECHO_T}$PANGOXFT_CFLAGS" >&6
28002
28003 echo "$as_me:$LINENO: checking PANGOXFT_LIBS" >&5
28004 echo $ECHO_N "checking PANGOXFT_LIBS... $ECHO_C" >&6
28005 PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft"`
28006 echo "$as_me:$LINENO: result: $PANGOXFT_LIBS" >&5
28007 echo "${ECHO_T}$PANGOXFT_LIBS" >&6
28008 else
28009 PANGOXFT_CFLAGS=""
28010 PANGOXFT_LIBS=""
28011 ## If we have a custom action on failure, don't print errors, but
28012 ## do set a variable so people can do so.
28013 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
28014
28015 fi
28016
28017
28018
28019 else
28020 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
28021 echo "*** See http://www.freedesktop.org/software/pkgconfig"
28022 fi
28023 fi
28024
28025 if test $succeeded = yes; then
28026
28027 cat >>confdefs.h <<\_ACEOF
28028 #define HAVE_PANGO_XFT 1
28029 _ACEOF
28030
28031 CXXFLAGS="$CXXFLAGS $PANGOXFT_CFLAGS"
28032 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
28033
28034 else
28035
28036 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
28037 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
28038
28039
28040 fi
28041
28042 save_CFLAGS="$CFLAGS"
28043 save_LIBS="$LIBS"
28044 CFLAGS="$CFLAGS $PANGOX_CFLAGS"
28045 LIBS="$LIBS $PANGOX_LIBS"
28046
28047 for ac_func in pango_font_family_is_monospace
28048 do
28049 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28050 echo "$as_me:$LINENO: checking for $ac_func" >&5
28051 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28052 if eval "test \"\${$as_ac_var+set}\" = set"; then
28053 echo $ECHO_N "(cached) $ECHO_C" >&6
28054 else
28055 cat >conftest.$ac_ext <<_ACEOF
28056 /* confdefs.h. */
28057 _ACEOF
28058 cat confdefs.h >>conftest.$ac_ext
28059 cat >>conftest.$ac_ext <<_ACEOF
28060 /* end confdefs.h. */
28061 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28062 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28063 #define $ac_func innocuous_$ac_func
28064
28065 /* System header to define __stub macros and hopefully few prototypes,
28066 which can conflict with char $ac_func (); below.
28067 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28068 <limits.h> exists even on freestanding compilers. */
28069
28070 #ifdef __STDC__
28071 # include <limits.h>
28072 #else
28073 # include <assert.h>
28074 #endif
28075
28076 #undef $ac_func
28077
28078 /* Override any gcc2 internal prototype to avoid an error. */
28079 #ifdef __cplusplus
28080 extern "C"
28081 {
28082 #endif
28083 /* We use char because int might match the return type of a gcc2
28084 builtin and then its argument prototype would still apply. */
28085 char $ac_func ();
28086 /* The GNU C library defines this for functions which it implements
28087 to always fail with ENOSYS. Some functions are actually named
28088 something starting with __ and the normal name is an alias. */
28089 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28090 choke me
28091 #else
28092 char (*f) () = $ac_func;
28093 #endif
28094 #ifdef __cplusplus
28095 }
28096 #endif
28097
28098 int
28099 main ()
28100 {
28101 return f != $ac_func;
28102 ;
28103 return 0;
28104 }
28105 _ACEOF
28106 rm -f conftest.$ac_objext conftest$ac_exeext
28107 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28108 (eval $ac_link) 2>conftest.er1
28109 ac_status=$?
28110 grep -v '^ *+' conftest.er1 >conftest.err
28111 rm -f conftest.er1
28112 cat conftest.err >&5
28113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28114 (exit $ac_status); } &&
28115 { ac_try='test -z "$ac_c_werror_flag"
28116 || test ! -s conftest.err'
28117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28118 (eval $ac_try) 2>&5
28119 ac_status=$?
28120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28121 (exit $ac_status); }; } &&
28122 { ac_try='test -s conftest$ac_exeext'
28123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28124 (eval $ac_try) 2>&5
28125 ac_status=$?
28126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28127 (exit $ac_status); }; }; then
28128 eval "$as_ac_var=yes"
28129 else
28130 echo "$as_me: failed program was:" >&5
28131 sed 's/^/| /' conftest.$ac_ext >&5
28132
28133 eval "$as_ac_var=no"
28134 fi
28135 rm -f conftest.err conftest.$ac_objext \
28136 conftest$ac_exeext conftest.$ac_ext
28137 fi
28138 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28139 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28140 if test `eval echo '${'$as_ac_var'}'` = yes; then
28141 cat >>confdefs.h <<_ACEOF
28142 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28143 _ACEOF
28144
28145 fi
28146 done
28147
28148 CFLAGS="$save_CFLAGS"
28149 LIBS="$save_LIBS"
28150 fi
28151
28152 wxUSE_UNIVERSAL="yes"
28153
28154 if test "$wxUSE_NANOX" = "yes"; then
28155 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
28156 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"
28157 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
28158 else
28159 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
28160 fi
28161
28162 TOOLKIT=X11
28163 GUIDIST=X11_DIST
28164 fi
28165
28166 if test "$wxUSE_MOTIF" = 1; then
28167 if test "$wxUSE_UNICODE" = "yes"; then
28168 { { echo "$as_me:$LINENO: error: Unicode configuration not supported with Motif" >&5
28169 echo "$as_me: error: Unicode configuration not supported with Motif" >&2;}
28170 { (exit 1); exit 1; }; }
28171 fi
28172
28173 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
28174 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
28175
28176 ac_find_includes=
28177 for ac_dir in $SEARCH_INCLUDE /usr/include;
28178 do
28179 if test -f "$ac_dir/Xm/Xm.h"; then
28180 ac_find_includes=$ac_dir
28181 break
28182 fi
28183 done
28184
28185 if test "$ac_find_includes" != "" ; then
28186 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
28187 echo "${ECHO_T}found in $ac_find_includes" >&6
28188
28189 if test "x$ac_find_includes" = "x/usr/include"; then
28190 ac_path_to_include=""
28191 else
28192 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
28193 result=$?
28194 if test $result = 0; then
28195 ac_path_to_include=""
28196 else
28197 ac_path_to_include=" -I$ac_find_includes"
28198 fi
28199 fi
28200
28201 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
28202 else
28203 cat >conftest.$ac_ext <<_ACEOF
28204 /* confdefs.h. */
28205 _ACEOF
28206 cat confdefs.h >>conftest.$ac_ext
28207 cat >>conftest.$ac_ext <<_ACEOF
28208 /* end confdefs.h. */
28209
28210 #include <Xm/Xm.h>
28211
28212 int
28213 main ()
28214 {
28215
28216 int version;
28217 version = xmUseVersion;
28218
28219 ;
28220 return 0;
28221 }
28222 _ACEOF
28223 rm -f conftest.$ac_objext
28224 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28225 (eval $ac_compile) 2>conftest.er1
28226 ac_status=$?
28227 grep -v '^ *+' conftest.er1 >conftest.err
28228 rm -f conftest.er1
28229 cat conftest.err >&5
28230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28231 (exit $ac_status); } &&
28232 { ac_try='test -z "$ac_c_werror_flag"
28233 || test ! -s conftest.err'
28234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28235 (eval $ac_try) 2>&5
28236 ac_status=$?
28237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28238 (exit $ac_status); }; } &&
28239 { ac_try='test -s conftest.$ac_objext'
28240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28241 (eval $ac_try) 2>&5
28242 ac_status=$?
28243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28244 (exit $ac_status); }; }; then
28245
28246 echo "$as_me:$LINENO: result: found in default search path" >&5
28247 echo "${ECHO_T}found in default search path" >&6
28248 COMPILED_X_PROGRAM=1
28249
28250 else
28251 echo "$as_me: failed program was:" >&5
28252 sed 's/^/| /' conftest.$ac_ext >&5
28253
28254
28255 echo "$as_me:$LINENO: result: no" >&5
28256 echo "${ECHO_T}no" >&6
28257 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of Xm/Xm.h" >&5
28258 echo "$as_me: error: please set CFLAGS to contain the location of Xm/Xm.h" >&2;}
28259 { (exit 1); exit 1; }; }
28260
28261
28262 fi
28263 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28264 fi
28265
28266 if test "$COMPILED_X_PROGRAM" = 0; then
28267 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
28268 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
28269
28270 ac_find_libraries=
28271 for ac_dir in $SEARCH_LIB /usr/lib;
28272 do
28273 for ac_extension in a so sl dylib; do
28274 if test -f "$ac_dir/libXm.$ac_extension"; then
28275 ac_find_libraries=$ac_dir
28276 break 2
28277 fi
28278 done
28279 done
28280
28281 if test "$ac_find_libraries" != "" ; then
28282 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
28283 echo "${ECHO_T}found at $ac_find_libraries" >&6
28284
28285
28286 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
28287 result=$?
28288 if test $result = 0; then
28289 ac_path_to_link=""
28290 else
28291 ac_path_to_link=" -L$ac_find_libraries"
28292 fi
28293
28294 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
28295 else
28296 save_CFLAGS=$CFLAGS
28297 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
28298
28299 cat >conftest.$ac_ext <<_ACEOF
28300 /* confdefs.h. */
28301 _ACEOF
28302 cat confdefs.h >>conftest.$ac_ext
28303 cat >>conftest.$ac_ext <<_ACEOF
28304 /* end confdefs.h. */
28305
28306 #include <Xm/Xm.h>
28307
28308 int
28309 main ()
28310 {
28311
28312 int version;
28313 version = xmUseVersion;
28314
28315 ;
28316 return 0;
28317 }
28318 _ACEOF
28319 rm -f conftest.$ac_objext
28320 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28321 (eval $ac_compile) 2>conftest.er1
28322 ac_status=$?
28323 grep -v '^ *+' conftest.er1 >conftest.err
28324 rm -f conftest.er1
28325 cat conftest.err >&5
28326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28327 (exit $ac_status); } &&
28328 { ac_try='test -z "$ac_c_werror_flag"
28329 || test ! -s conftest.err'
28330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28331 (eval $ac_try) 2>&5
28332 ac_status=$?
28333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28334 (exit $ac_status); }; } &&
28335 { ac_try='test -s conftest.$ac_objext'
28336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28337 (eval $ac_try) 2>&5
28338 ac_status=$?
28339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28340 (exit $ac_status); }; }; then
28341
28342 echo "$as_me:$LINENO: result: found in default search path" >&5
28343 echo "${ECHO_T}found in default search path" >&6
28344 COMPILED_X_PROGRAM=1
28345
28346 else
28347 echo "$as_me: failed program was:" >&5
28348 sed 's/^/| /' conftest.$ac_ext >&5
28349
28350
28351 echo "$as_me:$LINENO: result: no" >&5
28352 echo "${ECHO_T}no" >&6
28353 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
28354 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
28355 { (exit 1); exit 1; }; }
28356
28357
28358 fi
28359 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28360
28361 CFLAGS=$save_CFLAGS
28362 fi
28363 fi
28364
28365 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
28366 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
28367 libp_link=""
28368 libsm_ice_link=""
28369 libs_found=0
28370 for libp in "" " -lXp"; do
28371 if test "$libs_found" = "0"; then
28372 for libsm_ice in "" " -lSM -lICE"; do
28373 if test "$libs_found" = "0"; then
28374 save_LIBS="$LIBS"
28375 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
28376 save_CFLAGS=$CFLAGS
28377 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
28378
28379 cat >conftest.$ac_ext <<_ACEOF
28380 /* confdefs.h. */
28381 _ACEOF
28382 cat confdefs.h >>conftest.$ac_ext
28383 cat >>conftest.$ac_ext <<_ACEOF
28384 /* end confdefs.h. */
28385
28386 #include <Xm/Xm.h>
28387 #include <Xm/List.h>
28388
28389 int
28390 main ()
28391 {
28392
28393 XmString string = NULL;
28394 Widget w = NULL;
28395 int position = 0;
28396 XmListAddItem(w, string, position);
28397
28398 ;
28399 return 0;
28400 }
28401 _ACEOF
28402 rm -f conftest.$ac_objext conftest$ac_exeext
28403 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28404 (eval $ac_link) 2>conftest.er1
28405 ac_status=$?
28406 grep -v '^ *+' conftest.er1 >conftest.err
28407 rm -f conftest.er1
28408 cat conftest.err >&5
28409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28410 (exit $ac_status); } &&
28411 { ac_try='test -z "$ac_c_werror_flag"
28412 || test ! -s conftest.err'
28413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28414 (eval $ac_try) 2>&5
28415 ac_status=$?
28416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28417 (exit $ac_status); }; } &&
28418 { ac_try='test -s conftest$ac_exeext'
28419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28420 (eval $ac_try) 2>&5
28421 ac_status=$?
28422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28423 (exit $ac_status); }; }; then
28424
28425 libp_link="$libp"
28426 libsm_ice_link="$libsm_ice"
28427 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
28428 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
28429 libs_found=1
28430
28431 else
28432 echo "$as_me: failed program was:" >&5
28433 sed 's/^/| /' conftest.$ac_ext >&5
28434
28435
28436
28437 fi
28438 rm -f conftest.err conftest.$ac_objext \
28439 conftest$ac_exeext conftest.$ac_ext
28440
28441 LIBS="$save_LIBS"
28442 CFLAGS=$save_CFLAGS
28443 fi
28444 done
28445 fi
28446 done
28447
28448 if test "$libs_found" = "0"; then
28449 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
28450 echo "${ECHO_T}can't find the right libraries" >&6
28451 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
28452 echo "$as_me: error: can't link a simple motif program" >&2;}
28453 { (exit 1); exit 1; }; }
28454 fi
28455
28456 save_CFLAGS=$CFLAGS
28457 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
28458 echo "$as_me:$LINENO: checking for Motif 2" >&5
28459 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
28460 cat >conftest.$ac_ext <<_ACEOF
28461 /* confdefs.h. */
28462 _ACEOF
28463 cat confdefs.h >>conftest.$ac_ext
28464 cat >>conftest.$ac_ext <<_ACEOF
28465 /* end confdefs.h. */
28466
28467 #include <Xm/Xm.h>
28468
28469 int
28470 main ()
28471 {
28472
28473 #if XmVersion < 2000
28474 #error "Not Motif 2"
28475 #endif
28476
28477 ;
28478 return 0;
28479 }
28480 _ACEOF
28481 rm -f conftest.$ac_objext
28482 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28483 (eval $ac_compile) 2>conftest.er1
28484 ac_status=$?
28485 grep -v '^ *+' conftest.er1 >conftest.err
28486 rm -f conftest.er1
28487 cat conftest.err >&5
28488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28489 (exit $ac_status); } &&
28490 { ac_try='test -z "$ac_c_werror_flag"
28491 || test ! -s conftest.err'
28492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28493 (eval $ac_try) 2>&5
28494 ac_status=$?
28495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28496 (exit $ac_status); }; } &&
28497 { ac_try='test -s conftest.$ac_objext'
28498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28499 (eval $ac_try) 2>&5
28500 ac_status=$?
28501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28502 (exit $ac_status); }; }; then
28503
28504 cat >>confdefs.h <<\_ACEOF
28505 #define __WXMOTIF20__ 1
28506 _ACEOF
28507
28508 echo "$as_me:$LINENO: result: found" >&5
28509 echo "${ECHO_T}found" >&6
28510
28511 else
28512 echo "$as_me: failed program was:" >&5
28513 sed 's/^/| /' conftest.$ac_ext >&5
28514
28515
28516 cat >>confdefs.h <<\_ACEOF
28517 #define __WXMOTIF20__ 0
28518 _ACEOF
28519
28520 echo "$as_me:$LINENO: result: not found" >&5
28521 echo "${ECHO_T}not found" >&6
28522
28523 fi
28524 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28525 CFLAGS=$save_CFLAGS
28526
28527 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
28528 TOOLKIT=MOTIF
28529 GUIDIST=MOTIF_DIST
28530 fi
28531
28532 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
28533 if test "$wxUSE_LIBXPM" = "sys"; then
28534 echo "$as_me:$LINENO: checking for Xpm library" >&5
28535 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
28536
28537 ac_find_libraries=
28538 for ac_dir in $SEARCH_LIB /usr/lib;
28539 do
28540 for ac_extension in a so sl dylib; do
28541 if test -f "$ac_dir/libXpm.$ac_extension"; then
28542 ac_find_libraries=$ac_dir
28543 break 2
28544 fi
28545 done
28546 done
28547
28548 if test "$ac_find_libraries" != "" ; then
28549
28550 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
28551 result=$?
28552 if test $result = 0; then
28553 ac_path_to_link=""
28554 else
28555 ac_path_to_link=" -L$ac_find_libraries"
28556 fi
28557
28558 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
28559 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
28560 echo "${ECHO_T}found at $ac_find_libraries" >&6
28561
28562 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
28563 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
28564 if test "${wx_cv_x11_xpm_h+set}" = set; then
28565 echo $ECHO_N "(cached) $ECHO_C" >&6
28566 else
28567
28568 save_CFLAGS=$CFLAGS
28569 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
28570
28571 cat >conftest.$ac_ext <<_ACEOF
28572 /* confdefs.h. */
28573 _ACEOF
28574 cat confdefs.h >>conftest.$ac_ext
28575 cat >>conftest.$ac_ext <<_ACEOF
28576 /* end confdefs.h. */
28577
28578 #include <X11/xpm.h>
28579
28580 int
28581 main ()
28582 {
28583
28584 int version;
28585 version = XpmLibraryVersion();
28586
28587 ;
28588 return 0;
28589 }
28590 _ACEOF
28591 rm -f conftest.$ac_objext
28592 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28593 (eval $ac_compile) 2>conftest.er1
28594 ac_status=$?
28595 grep -v '^ *+' conftest.er1 >conftest.err
28596 rm -f conftest.er1
28597 cat conftest.err >&5
28598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28599 (exit $ac_status); } &&
28600 { ac_try='test -z "$ac_c_werror_flag"
28601 || test ! -s conftest.err'
28602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28603 (eval $ac_try) 2>&5
28604 ac_status=$?
28605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28606 (exit $ac_status); }; } &&
28607 { ac_try='test -s conftest.$ac_objext'
28608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28609 (eval $ac_try) 2>&5
28610 ac_status=$?
28611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28612 (exit $ac_status); }; }; then
28613 wx_cv_x11_xpm_h=yes
28614 else
28615 echo "$as_me: failed program was:" >&5
28616 sed 's/^/| /' conftest.$ac_ext >&5
28617
28618 wx_cv_x11_xpm_h=no
28619
28620 fi
28621 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28622
28623 CFLAGS=$save_CFLAGS
28624
28625
28626 fi
28627 echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
28628 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6
28629
28630 if test $wx_cv_x11_xpm_h = "yes"; then
28631 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
28632 cat >>confdefs.h <<\_ACEOF
28633 #define wxHAVE_LIB_XPM 1
28634 _ACEOF
28635
28636 else
28637 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
28638 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
28639 fi
28640 fi
28641
28642 fi
28643
28644 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
28645 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
28646 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
28647 echo $ECHO_N "(cached) $ECHO_C" >&6
28648 else
28649 ac_check_lib_save_LIBS=$LIBS
28650 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
28651 cat >conftest.$ac_ext <<_ACEOF
28652 /* confdefs.h. */
28653 _ACEOF
28654 cat confdefs.h >>conftest.$ac_ext
28655 cat >>conftest.$ac_ext <<_ACEOF
28656 /* end confdefs.h. */
28657
28658 /* Override any gcc2 internal prototype to avoid an error. */
28659 #ifdef __cplusplus
28660 extern "C"
28661 #endif
28662 /* We use char because int might match the return type of a gcc2
28663 builtin and then its argument prototype would still apply. */
28664 char XShapeQueryExtension ();
28665 int
28666 main ()
28667 {
28668 XShapeQueryExtension ();
28669 ;
28670 return 0;
28671 }
28672 _ACEOF
28673 rm -f conftest.$ac_objext conftest$ac_exeext
28674 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28675 (eval $ac_link) 2>conftest.er1
28676 ac_status=$?
28677 grep -v '^ *+' conftest.er1 >conftest.err
28678 rm -f conftest.er1
28679 cat conftest.err >&5
28680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28681 (exit $ac_status); } &&
28682 { ac_try='test -z "$ac_c_werror_flag"
28683 || test ! -s conftest.err'
28684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28685 (eval $ac_try) 2>&5
28686 ac_status=$?
28687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28688 (exit $ac_status); }; } &&
28689 { ac_try='test -s conftest$ac_exeext'
28690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28691 (eval $ac_try) 2>&5
28692 ac_status=$?
28693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28694 (exit $ac_status); }; }; then
28695 ac_cv_lib_Xext_XShapeQueryExtension=yes
28696 else
28697 echo "$as_me: failed program was:" >&5
28698 sed 's/^/| /' conftest.$ac_ext >&5
28699
28700 ac_cv_lib_Xext_XShapeQueryExtension=no
28701 fi
28702 rm -f conftest.err conftest.$ac_objext \
28703 conftest$ac_exeext conftest.$ac_ext
28704 LIBS=$ac_check_lib_save_LIBS
28705 fi
28706 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
28707 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
28708 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
28709
28710 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
28711 wxHAVE_XEXT_LIB=1
28712
28713 fi
28714
28715
28716 if test "$wxHAVE_XEXT_LIB" = 1; then
28717 save_CFLAGS="$CFLAGS"
28718 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
28719
28720 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
28721 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
28722 cat >conftest.$ac_ext <<_ACEOF
28723 /* confdefs.h. */
28724 _ACEOF
28725 cat confdefs.h >>conftest.$ac_ext
28726 cat >>conftest.$ac_ext <<_ACEOF
28727 /* end confdefs.h. */
28728
28729 #include <X11/Xlib.h>
28730 #include <X11/extensions/shape.h>
28731
28732 int
28733 main ()
28734 {
28735
28736 int dummy1, dummy2;
28737 XShapeQueryExtension((Display*)NULL,
28738 (int*)NULL, (int*)NULL);
28739
28740 ;
28741 return 0;
28742 }
28743 _ACEOF
28744 rm -f conftest.$ac_objext
28745 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28746 (eval $ac_compile) 2>conftest.er1
28747 ac_status=$?
28748 grep -v '^ *+' conftest.er1 >conftest.err
28749 rm -f conftest.er1
28750 cat conftest.err >&5
28751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28752 (exit $ac_status); } &&
28753 { ac_try='test -z "$ac_c_werror_flag"
28754 || test ! -s conftest.err'
28755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28756 (eval $ac_try) 2>&5
28757 ac_status=$?
28758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28759 (exit $ac_status); }; } &&
28760 { ac_try='test -s conftest.$ac_objext'
28761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28762 (eval $ac_try) 2>&5
28763 ac_status=$?
28764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28765 (exit $ac_status); }; }; then
28766
28767 cat >>confdefs.h <<\_ACEOF
28768 #define HAVE_XSHAPE 1
28769 _ACEOF
28770
28771 echo "$as_me:$LINENO: result: found" >&5
28772 echo "${ECHO_T}found" >&6
28773
28774 else
28775 echo "$as_me: failed program was:" >&5
28776 sed 's/^/| /' conftest.$ac_ext >&5
28777
28778
28779 echo "$as_me:$LINENO: result: not found" >&5
28780 echo "${ECHO_T}not found" >&6
28781
28782 fi
28783 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28784 CFLAGS="$save_CFLAGS"
28785
28786 fi
28787 fi
28788
28789 if test "$wxUSE_MAC" = 1; then
28790 echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
28791 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6
28792 if test "$GCC" = yes; then
28793 echo "$as_me:$LINENO: result: gcc" >&5
28794 echo "${ECHO_T}gcc" >&6
28795 CPPFLAGS_PASCAL="-fpascal-strings"
28796 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
28797 echo "$as_me:$LINENO: result: xlc" >&5
28798 echo "${ECHO_T}xlc" >&6
28799 CPPFLAGS_PASCAL="-qmacpstr"
28800 else
28801 echo "$as_me:$LINENO: result: none" >&5
28802 echo "${ECHO_T}none" >&6
28803 fi
28804
28805 if test "x$wxUSE_UNIX" = "xyes"; then
28806 CPPFLAGS="$CPPFLAGS $CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon"
28807 else
28808 CPPFLAGS="$CPPFLAGS $CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON"
28809 fi
28810
28811 TOOLKIT=MAC
28812 GUIDIST=MACX_DIST
28813 WXBASEPORT="_carbon"
28814 fi
28815
28816 if test "$wxUSE_COCOA" = 1; then
28817 TOOLKIT=COCOA
28818 GUIDIST=COCOA_DIST
28819 fi
28820
28821 if test "$wxUSE_PM" = 1; then
28822 TOOLKIT=PM
28823 GUIDIST=PM_DIST
28824 echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
28825 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6
28826 if test "${wx_cv_spbcdata+set}" = set; then
28827 echo $ECHO_N "(cached) $ECHO_C" >&6
28828 else
28829
28830 cat >conftest.$ac_ext <<_ACEOF
28831 /* confdefs.h. */
28832 _ACEOF
28833 cat confdefs.h >>conftest.$ac_ext
28834 cat >>conftest.$ac_ext <<_ACEOF
28835 /* end confdefs.h. */
28836
28837 #define INCL_PM
28838 #include <os2.h>
28839
28840 int
28841 main ()
28842 {
28843
28844 SPBCDATA test;
28845
28846 ;
28847 return 0;
28848 }
28849 _ACEOF
28850 rm -f conftest.$ac_objext
28851 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28852 (eval $ac_compile) 2>conftest.er1
28853 ac_status=$?
28854 grep -v '^ *+' conftest.er1 >conftest.err
28855 rm -f conftest.er1
28856 cat conftest.err >&5
28857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28858 (exit $ac_status); } &&
28859 { ac_try='test -z "$ac_c_werror_flag"
28860 || test ! -s conftest.err'
28861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28862 (eval $ac_try) 2>&5
28863 ac_status=$?
28864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28865 (exit $ac_status); }; } &&
28866 { ac_try='test -s conftest.$ac_objext'
28867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28868 (eval $ac_try) 2>&5
28869 ac_status=$?
28870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28871 (exit $ac_status); }; }; then
28872 wx_cv_spbcdata=yes
28873 else
28874 echo "$as_me: failed program was:" >&5
28875 sed 's/^/| /' conftest.$ac_ext >&5
28876
28877 wx_cv_spbcdata=no
28878
28879 fi
28880 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28881
28882
28883 fi
28884 echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
28885 echo "${ECHO_T}$wx_cv_spbcdata" >&6
28886
28887 if test $wx_cv_spbcdata = "yes"; then
28888 cat >>confdefs.h <<\_ACEOF
28889 #define HAVE_SPBCDATA 1
28890 _ACEOF
28891
28892 fi
28893 fi
28894
28895 if test "$TOOLKIT" = "PM" ; then
28896 TOOLKIT_DIR="os2"
28897 else
28898 TOOLKIT_DIR=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
28899 fi
28900
28901 if test "$wxUSE_UNIVERSAL" = "yes"; then
28902 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
28903 WIDGET_SET=univ
28904 fi
28905
28906 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
28907 DISTDIR="wx\$(TOOLKIT)"
28908 else
28909 USE_GUI=0
28910
28911 TOOLKIT_DIR="base"
28912
28913 if test "$USE_WIN32" = 1 ; then
28914 TOOLKIT="MSW"
28915 fi
28916
28917 GUIDIST="BASE_DIST"
28918 DISTDIR="wxBase"
28919 fi
28920
28921
28922
28923
28924 IODBC_C_SRC=""
28925
28926
28927 if test "$TOOLKIT" != "MSW" ; then
28928
28929 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
28930
28931 if test "${ac_cv_header_sql_h+set}" = set; then
28932 echo "$as_me:$LINENO: checking for sql.h" >&5
28933 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
28934 if test "${ac_cv_header_sql_h+set}" = set; then
28935 echo $ECHO_N "(cached) $ECHO_C" >&6
28936 fi
28937 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
28938 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
28939 else
28940 # Is the header compilable?
28941 echo "$as_me:$LINENO: checking sql.h usability" >&5
28942 echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
28943 cat >conftest.$ac_ext <<_ACEOF
28944 /* confdefs.h. */
28945 _ACEOF
28946 cat confdefs.h >>conftest.$ac_ext
28947 cat >>conftest.$ac_ext <<_ACEOF
28948 /* end confdefs.h. */
28949 $ac_includes_default
28950 #include <sql.h>
28951 _ACEOF
28952 rm -f conftest.$ac_objext
28953 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28954 (eval $ac_compile) 2>conftest.er1
28955 ac_status=$?
28956 grep -v '^ *+' conftest.er1 >conftest.err
28957 rm -f conftest.er1
28958 cat conftest.err >&5
28959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28960 (exit $ac_status); } &&
28961 { ac_try='test -z "$ac_c_werror_flag"
28962 || test ! -s conftest.err'
28963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28964 (eval $ac_try) 2>&5
28965 ac_status=$?
28966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28967 (exit $ac_status); }; } &&
28968 { ac_try='test -s conftest.$ac_objext'
28969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28970 (eval $ac_try) 2>&5
28971 ac_status=$?
28972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28973 (exit $ac_status); }; }; then
28974 ac_header_compiler=yes
28975 else
28976 echo "$as_me: failed program was:" >&5
28977 sed 's/^/| /' conftest.$ac_ext >&5
28978
28979 ac_header_compiler=no
28980 fi
28981 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28982 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28983 echo "${ECHO_T}$ac_header_compiler" >&6
28984
28985 # Is the header present?
28986 echo "$as_me:$LINENO: checking sql.h presence" >&5
28987 echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
28988 cat >conftest.$ac_ext <<_ACEOF
28989 /* confdefs.h. */
28990 _ACEOF
28991 cat confdefs.h >>conftest.$ac_ext
28992 cat >>conftest.$ac_ext <<_ACEOF
28993 /* end confdefs.h. */
28994 #include <sql.h>
28995 _ACEOF
28996 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28997 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
28998 ac_status=$?
28999 grep -v '^ *+' conftest.er1 >conftest.err
29000 rm -f conftest.er1
29001 cat conftest.err >&5
29002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29003 (exit $ac_status); } >/dev/null; then
29004 if test -s conftest.err; then
29005 ac_cpp_err=$ac_c_preproc_warn_flag
29006 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
29007 else
29008 ac_cpp_err=
29009 fi
29010 else
29011 ac_cpp_err=yes
29012 fi
29013 if test -z "$ac_cpp_err"; then
29014 ac_header_preproc=yes
29015 else
29016 echo "$as_me: failed program was:" >&5
29017 sed 's/^/| /' conftest.$ac_ext >&5
29018
29019 ac_header_preproc=no
29020 fi
29021 rm -f conftest.err conftest.$ac_ext
29022 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29023 echo "${ECHO_T}$ac_header_preproc" >&6
29024
29025 # So? What about this header?
29026 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29027 yes:no: )
29028 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
29029 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
29030 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the compiler's result" >&5
29031 echo "$as_me: WARNING: sql.h: proceeding with the compiler's result" >&2;}
29032 ac_header_preproc=yes
29033 ;;
29034 no:yes:* )
29035 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
29036 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
29037 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
29038 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
29039 { echo "$as_me:$LINENO: WARNING: sql.h: see the Autoconf documentation" >&5
29040 echo "$as_me: WARNING: sql.h: see the Autoconf documentation" >&2;}
29041 { echo "$as_me:$LINENO: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&5
29042 echo "$as_me: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&2;}
29043 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
29044 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
29045 { echo "$as_me:$LINENO: WARNING: sql.h: in the future, the compiler will take precedence" >&5
29046 echo "$as_me: WARNING: sql.h: in the future, the compiler will take precedence" >&2;}
29047 (
29048 cat <<\_ASBOX
29049 ## ----------------------------------------- ##
29050 ## Report this to wx-dev@lists.wxwidgets.org ##
29051 ## ----------------------------------------- ##
29052 _ASBOX
29053 ) |
29054 sed "s/^/$as_me: WARNING: /" >&2
29055 ;;
29056 esac
29057 echo "$as_me:$LINENO: checking for sql.h" >&5
29058 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
29059 if test "${ac_cv_header_sql_h+set}" = set; then
29060 echo $ECHO_N "(cached) $ECHO_C" >&6
29061 else
29062 ac_cv_header_sql_h=$ac_header_preproc
29063 fi
29064 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
29065 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
29066
29067 fi
29068 if test $ac_cv_header_sql_h = yes; then
29069 found_sql_h=1
29070 fi
29071
29072
29073 if test "x$found_sql_h" = "x1" ; then
29074 echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
29075 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6
29076 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
29077 echo $ECHO_N "(cached) $ECHO_C" >&6
29078 else
29079 ac_check_lib_save_LIBS=$LIBS
29080 LIBS="-liodbc $LIBS"
29081 cat >conftest.$ac_ext <<_ACEOF
29082 /* confdefs.h. */
29083 _ACEOF
29084 cat confdefs.h >>conftest.$ac_ext
29085 cat >>conftest.$ac_ext <<_ACEOF
29086 /* end confdefs.h. */
29087
29088 /* Override any gcc2 internal prototype to avoid an error. */
29089 #ifdef __cplusplus
29090 extern "C"
29091 #endif
29092 /* We use char because int might match the return type of a gcc2
29093 builtin and then its argument prototype would still apply. */
29094 char SQLAllocEnv ();
29095 int
29096 main ()
29097 {
29098 SQLAllocEnv ();
29099 ;
29100 return 0;
29101 }
29102 _ACEOF
29103 rm -f conftest.$ac_objext conftest$ac_exeext
29104 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29105 (eval $ac_link) 2>conftest.er1
29106 ac_status=$?
29107 grep -v '^ *+' conftest.er1 >conftest.err
29108 rm -f conftest.er1
29109 cat conftest.err >&5
29110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29111 (exit $ac_status); } &&
29112 { ac_try='test -z "$ac_c_werror_flag"
29113 || test ! -s conftest.err'
29114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29115 (eval $ac_try) 2>&5
29116 ac_status=$?
29117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29118 (exit $ac_status); }; } &&
29119 { ac_try='test -s conftest$ac_exeext'
29120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29121 (eval $ac_try) 2>&5
29122 ac_status=$?
29123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29124 (exit $ac_status); }; }; then
29125 ac_cv_lib_iodbc_SQLAllocEnv=yes
29126 else
29127 echo "$as_me: failed program was:" >&5
29128 sed 's/^/| /' conftest.$ac_ext >&5
29129
29130 ac_cv_lib_iodbc_SQLAllocEnv=no
29131 fi
29132 rm -f conftest.err conftest.$ac_objext \
29133 conftest$ac_exeext conftest.$ac_ext
29134 LIBS=$ac_check_lib_save_LIBS
29135 fi
29136 echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
29137 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6
29138 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
29139 ODBC_LINK=" -liodbc"
29140 else
29141
29142 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
29143 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6
29144 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
29145 echo $ECHO_N "(cached) $ECHO_C" >&6
29146 else
29147 ac_check_lib_save_LIBS=$LIBS
29148 LIBS="-lunixodbc $LIBS"
29149 cat >conftest.$ac_ext <<_ACEOF
29150 /* confdefs.h. */
29151 _ACEOF
29152 cat confdefs.h >>conftest.$ac_ext
29153 cat >>conftest.$ac_ext <<_ACEOF
29154 /* end confdefs.h. */
29155
29156 /* Override any gcc2 internal prototype to avoid an error. */
29157 #ifdef __cplusplus
29158 extern "C"
29159 #endif
29160 /* We use char because int might match the return type of a gcc2
29161 builtin and then its argument prototype would still apply. */
29162 char SQLAllocEnv ();
29163 int
29164 main ()
29165 {
29166 SQLAllocEnv ();
29167 ;
29168 return 0;
29169 }
29170 _ACEOF
29171 rm -f conftest.$ac_objext conftest$ac_exeext
29172 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29173 (eval $ac_link) 2>conftest.er1
29174 ac_status=$?
29175 grep -v '^ *+' conftest.er1 >conftest.err
29176 rm -f conftest.er1
29177 cat conftest.err >&5
29178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29179 (exit $ac_status); } &&
29180 { ac_try='test -z "$ac_c_werror_flag"
29181 || test ! -s conftest.err'
29182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29183 (eval $ac_try) 2>&5
29184 ac_status=$?
29185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29186 (exit $ac_status); }; } &&
29187 { ac_try='test -s conftest$ac_exeext'
29188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29189 (eval $ac_try) 2>&5
29190 ac_status=$?
29191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29192 (exit $ac_status); }; }; then
29193 ac_cv_lib_unixodbc_SQLAllocEnv=yes
29194 else
29195 echo "$as_me: failed program was:" >&5
29196 sed 's/^/| /' conftest.$ac_ext >&5
29197
29198 ac_cv_lib_unixodbc_SQLAllocEnv=no
29199 fi
29200 rm -f conftest.err conftest.$ac_objext \
29201 conftest$ac_exeext conftest.$ac_ext
29202 LIBS=$ac_check_lib_save_LIBS
29203 fi
29204 echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
29205 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6
29206 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
29207 ODBC_LINK=" -lunixodbc"
29208 else
29209
29210 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
29211 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6
29212 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
29213 echo $ECHO_N "(cached) $ECHO_C" >&6
29214 else
29215 ac_check_lib_save_LIBS=$LIBS
29216 LIBS="-lodbc $LIBS"
29217 cat >conftest.$ac_ext <<_ACEOF
29218 /* confdefs.h. */
29219 _ACEOF
29220 cat confdefs.h >>conftest.$ac_ext
29221 cat >>conftest.$ac_ext <<_ACEOF
29222 /* end confdefs.h. */
29223
29224 /* Override any gcc2 internal prototype to avoid an error. */
29225 #ifdef __cplusplus
29226 extern "C"
29227 #endif
29228 /* We use char because int might match the return type of a gcc2
29229 builtin and then its argument prototype would still apply. */
29230 char SQLAllocEnv ();
29231 int
29232 main ()
29233 {
29234 SQLAllocEnv ();
29235 ;
29236 return 0;
29237 }
29238 _ACEOF
29239 rm -f conftest.$ac_objext conftest$ac_exeext
29240 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29241 (eval $ac_link) 2>conftest.er1
29242 ac_status=$?
29243 grep -v '^ *+' conftest.er1 >conftest.err
29244 rm -f conftest.er1
29245 cat conftest.err >&5
29246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29247 (exit $ac_status); } &&
29248 { ac_try='test -z "$ac_c_werror_flag"
29249 || test ! -s conftest.err'
29250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29251 (eval $ac_try) 2>&5
29252 ac_status=$?
29253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29254 (exit $ac_status); }; } &&
29255 { ac_try='test -s conftest$ac_exeext'
29256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29257 (eval $ac_try) 2>&5
29258 ac_status=$?
29259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29260 (exit $ac_status); }; }; then
29261 ac_cv_lib_odbc_SQLAllocEnv=yes
29262 else
29263 echo "$as_me: failed program was:" >&5
29264 sed 's/^/| /' conftest.$ac_ext >&5
29265
29266 ac_cv_lib_odbc_SQLAllocEnv=no
29267 fi
29268 rm -f conftest.err conftest.$ac_objext \
29269 conftest$ac_exeext conftest.$ac_ext
29270 LIBS=$ac_check_lib_save_LIBS
29271 fi
29272 echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
29273 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6
29274 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
29275 ODBC_LINK=" -lodbc"
29276 fi
29277
29278
29279 fi
29280
29281
29282 fi
29283
29284 fi
29285 if test "x$ODBC_LINK" = "x" ; then
29286 if test "$wxUSE_ODBC" = "sys" ; then
29287 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
29288 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
29289 { (exit 1); exit 1; }; }
29290 else
29291 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
29292 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
29293 wxUSE_ODBC=builtin
29294 fi
29295 else
29296 wxUSE_ODBC=sys
29297 fi
29298 fi
29299
29300 if test "$wxUSE_ODBC" = "builtin" ; then
29301 cat >>confdefs.h <<\_ACEOF
29302 #define wxUSE_BUILTIN_IODBC 1
29303 _ACEOF
29304
29305 fi
29306 fi
29307
29308 if test "$wxUSE_ODBC" != "no" ; then
29309 cat >>confdefs.h <<\_ACEOF
29310 #define wxUSE_ODBC 1
29311 _ACEOF
29312
29313 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS db"
29314
29315 WXODBCFLAG="-D_IODBC_"
29316 fi
29317
29318
29319 if test "$wxUSE_DISPLAY" = "yes"; then
29320 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
29321 echo "$as_me:$LINENO: checking for Xinerama" >&5
29322 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6
29323
29324 ac_find_libraries=
29325 for ac_dir in $SEARCH_LIB /usr/lib;
29326 do
29327 for ac_extension in a so sl dylib; do
29328 if test -f "$ac_dir/libXinerama.$ac_extension"; then
29329 ac_find_libraries=$ac_dir
29330 break 2
29331 fi
29332 done
29333 done
29334
29335 if test "$ac_find_libraries" != "" ; then
29336
29337 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
29338 result=$?
29339 if test $result = 0; then
29340 ac_path_to_link=""
29341 else
29342 ac_path_to_link=" -L$ac_find_libraries"
29343 fi
29344
29345 if test "$ac_path_to_link" != " -L/usr/lib" ; then
29346 LDFLAGS="$LDFLAGS $ac_path_to_link"
29347 fi
29348 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
29349 echo "$as_me:$LINENO: result: yes" >&5
29350 echo "${ECHO_T}yes" >&6
29351
29352 echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
29353 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6
29354
29355 ac_find_libraries=
29356 for ac_dir in $SEARCH_LIB /usr/lib;
29357 do
29358 for ac_extension in a so sl dylib; do
29359 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
29360 ac_find_libraries=$ac_dir
29361 break 2
29362 fi
29363 done
29364 done
29365
29366 if test "$ac_find_libraries" != "" ; then
29367 echo "$as_me:$LINENO: result: yes" >&5
29368 echo "${ECHO_T}yes" >&6
29369
29370 for ac_header in X11/extensions/xf86vmode.h
29371 do
29372 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29373 echo "$as_me:$LINENO: checking for $ac_header" >&5
29374 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29375 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29376 echo $ECHO_N "(cached) $ECHO_C" >&6
29377 else
29378 cat >conftest.$ac_ext <<_ACEOF
29379 /* confdefs.h. */
29380 _ACEOF
29381 cat confdefs.h >>conftest.$ac_ext
29382 cat >>conftest.$ac_ext <<_ACEOF
29383 /* end confdefs.h. */
29384
29385 #if HAVE_X11_XLIB_H
29386 #include <X11/Xlib.h>
29387 #endif
29388
29389
29390 #include <$ac_header>
29391 _ACEOF
29392 rm -f conftest.$ac_objext
29393 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29394 (eval $ac_compile) 2>conftest.er1
29395 ac_status=$?
29396 grep -v '^ *+' conftest.er1 >conftest.err
29397 rm -f conftest.er1
29398 cat conftest.err >&5
29399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29400 (exit $ac_status); } &&
29401 { ac_try='test -z "$ac_c_werror_flag"
29402 || test ! -s conftest.err'
29403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29404 (eval $ac_try) 2>&5
29405 ac_status=$?
29406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29407 (exit $ac_status); }; } &&
29408 { ac_try='test -s conftest.$ac_objext'
29409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29410 (eval $ac_try) 2>&5
29411 ac_status=$?
29412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29413 (exit $ac_status); }; }; then
29414 eval "$as_ac_Header=yes"
29415 else
29416 echo "$as_me: failed program was:" >&5
29417 sed 's/^/| /' conftest.$ac_ext >&5
29418
29419 eval "$as_ac_Header=no"
29420 fi
29421 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29422 fi
29423 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29424 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29425 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29426 cat >>confdefs.h <<_ACEOF
29427 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29428 _ACEOF
29429
29430 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
29431
29432 fi
29433
29434 done
29435
29436 else
29437 echo "$as_me:$LINENO: result: no" >&5
29438 echo "${ECHO_T}no" >&6
29439 fi
29440
29441 else
29442 echo "$as_me:$LINENO: result: no" >&5
29443 echo "${ECHO_T}no" >&6
29444 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
29445 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
29446 wxUSE_DISPLAY="no"
29447 fi
29448 elif test "$wxUSE_MSW" = 1; then
29449
29450
29451 for ac_header in multimon.h ddraw.h
29452 do
29453 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29454 echo "$as_me:$LINENO: checking for $ac_header" >&5
29455 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29456 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29457 echo $ECHO_N "(cached) $ECHO_C" >&6
29458 else
29459 cat >conftest.$ac_ext <<_ACEOF
29460 /* confdefs.h. */
29461 _ACEOF
29462 cat confdefs.h >>conftest.$ac_ext
29463 cat >>conftest.$ac_ext <<_ACEOF
29464 /* end confdefs.h. */
29465 #include <windows.h>
29466
29467 #include <$ac_header>
29468 _ACEOF
29469 rm -f conftest.$ac_objext
29470 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29471 (eval $ac_compile) 2>conftest.er1
29472 ac_status=$?
29473 grep -v '^ *+' conftest.er1 >conftest.err
29474 rm -f conftest.er1
29475 cat conftest.err >&5
29476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29477 (exit $ac_status); } &&
29478 { ac_try='test -z "$ac_c_werror_flag"
29479 || test ! -s conftest.err'
29480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29481 (eval $ac_try) 2>&5
29482 ac_status=$?
29483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29484 (exit $ac_status); }; } &&
29485 { ac_try='test -s conftest.$ac_objext'
29486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29487 (eval $ac_try) 2>&5
29488 ac_status=$?
29489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29490 (exit $ac_status); }; }; then
29491 eval "$as_ac_Header=yes"
29492 else
29493 echo "$as_me: failed program was:" >&5
29494 sed 's/^/| /' conftest.$ac_ext >&5
29495
29496 eval "$as_ac_Header=no"
29497 fi
29498 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29499 fi
29500 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29501 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29502 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29503 cat >>confdefs.h <<_ACEOF
29504 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29505 _ACEOF
29506
29507 else
29508
29509 wxUSE_DISPLAY="no"
29510 { echo "$as_me:$LINENO: WARNING: ddraw.h or multimon.h not found; disabling wxDisplay" >&5
29511 echo "$as_me: WARNING: ddraw.h or multimon.h not found; disabling wxDisplay" >&2;}
29512
29513 fi
29514
29515 done
29516
29517 fi
29518 fi
29519
29520
29521 USE_OPENGL=0
29522 if test "$wxUSE_OPENGL" = "yes"; then
29523 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
29524 OPENGL_LIBS="-framework OpenGL -framework AGL"
29525 elif test "$wxUSE_MSW" = 1; then
29526 OPENGL_LIBS="-lopengl32 -lglu32"
29527 else
29528
29529
29530 ac_find_includes=
29531 for ac_dir in $SEARCH_INCLUDE /usr/include;
29532 do
29533 if test -f "$ac_dir/GL/gl.h"; then
29534 ac_find_includes=$ac_dir
29535 break
29536 fi
29537 done
29538
29539 if test "$ac_find_includes" != "" ; then
29540 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
29541 echo "${ECHO_T}found in $ac_find_includes" >&6
29542
29543 if test "x$ac_find_includes" = "x/usr/include"; then
29544 ac_path_to_include=""
29545 else
29546 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
29547 result=$?
29548 if test $result = 0; then
29549 ac_path_to_include=""
29550 else
29551 ac_path_to_include=" -I$ac_find_includes"
29552 fi
29553 fi
29554
29555 CPPFLAGS="$CPPFLAGS$ac_path_to_include"
29556 fi
29557
29558 if test "${ac_cv_header_GL_gl_h+set}" = set; then
29559 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
29560 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
29561 if test "${ac_cv_header_GL_gl_h+set}" = set; then
29562 echo $ECHO_N "(cached) $ECHO_C" >&6
29563 fi
29564 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
29565 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
29566 else
29567 # Is the header compilable?
29568 echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
29569 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
29570 cat >conftest.$ac_ext <<_ACEOF
29571 /* confdefs.h. */
29572 _ACEOF
29573 cat confdefs.h >>conftest.$ac_ext
29574 cat >>conftest.$ac_ext <<_ACEOF
29575 /* end confdefs.h. */
29576 $ac_includes_default
29577 #include <GL/gl.h>
29578 _ACEOF
29579 rm -f conftest.$ac_objext
29580 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29581 (eval $ac_compile) 2>conftest.er1
29582 ac_status=$?
29583 grep -v '^ *+' conftest.er1 >conftest.err
29584 rm -f conftest.er1
29585 cat conftest.err >&5
29586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29587 (exit $ac_status); } &&
29588 { ac_try='test -z "$ac_c_werror_flag"
29589 || test ! -s conftest.err'
29590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29591 (eval $ac_try) 2>&5
29592 ac_status=$?
29593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29594 (exit $ac_status); }; } &&
29595 { ac_try='test -s conftest.$ac_objext'
29596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29597 (eval $ac_try) 2>&5
29598 ac_status=$?
29599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29600 (exit $ac_status); }; }; then
29601 ac_header_compiler=yes
29602 else
29603 echo "$as_me: failed program was:" >&5
29604 sed 's/^/| /' conftest.$ac_ext >&5
29605
29606 ac_header_compiler=no
29607 fi
29608 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29609 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29610 echo "${ECHO_T}$ac_header_compiler" >&6
29611
29612 # Is the header present?
29613 echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
29614 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
29615 cat >conftest.$ac_ext <<_ACEOF
29616 /* confdefs.h. */
29617 _ACEOF
29618 cat confdefs.h >>conftest.$ac_ext
29619 cat >>conftest.$ac_ext <<_ACEOF
29620 /* end confdefs.h. */
29621 #include <GL/gl.h>
29622 _ACEOF
29623 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29624 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
29625 ac_status=$?
29626 grep -v '^ *+' conftest.er1 >conftest.err
29627 rm -f conftest.er1
29628 cat conftest.err >&5
29629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29630 (exit $ac_status); } >/dev/null; then
29631 if test -s conftest.err; then
29632 ac_cpp_err=$ac_c_preproc_warn_flag
29633 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
29634 else
29635 ac_cpp_err=
29636 fi
29637 else
29638 ac_cpp_err=yes
29639 fi
29640 if test -z "$ac_cpp_err"; then
29641 ac_header_preproc=yes
29642 else
29643 echo "$as_me: failed program was:" >&5
29644 sed 's/^/| /' conftest.$ac_ext >&5
29645
29646 ac_header_preproc=no
29647 fi
29648 rm -f conftest.err conftest.$ac_ext
29649 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29650 echo "${ECHO_T}$ac_header_preproc" >&6
29651
29652 # So? What about this header?
29653 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29654 yes:no: )
29655 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
29656 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
29657 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the compiler's result" >&5
29658 echo "$as_me: WARNING: GL/gl.h: proceeding with the compiler's result" >&2;}
29659 ac_header_preproc=yes
29660 ;;
29661 no:yes:* )
29662 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
29663 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
29664 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
29665 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
29666 { echo "$as_me:$LINENO: WARNING: GL/gl.h: see the Autoconf documentation" >&5
29667 echo "$as_me: WARNING: GL/gl.h: see the Autoconf documentation" >&2;}
29668 { echo "$as_me:$LINENO: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&5
29669 echo "$as_me: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&2;}
29670 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
29671 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
29672 { echo "$as_me:$LINENO: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&5
29673 echo "$as_me: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&2;}
29674 (
29675 cat <<\_ASBOX
29676 ## ----------------------------------------- ##
29677 ## Report this to wx-dev@lists.wxwidgets.org ##
29678 ## ----------------------------------------- ##
29679 _ASBOX
29680 ) |
29681 sed "s/^/$as_me: WARNING: /" >&2
29682 ;;
29683 esac
29684 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
29685 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
29686 if test "${ac_cv_header_GL_gl_h+set}" = set; then
29687 echo $ECHO_N "(cached) $ECHO_C" >&6
29688 else
29689 ac_cv_header_GL_gl_h=$ac_header_preproc
29690 fi
29691 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
29692 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
29693
29694 fi
29695 if test $ac_cv_header_GL_gl_h = yes; then
29696
29697 found_gl=0
29698
29699 echo "$as_me:$LINENO: checking for -lGL" >&5
29700 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
29701
29702 ac_find_libraries=
29703 for ac_dir in $SEARCH_LIB /usr/lib;
29704 do
29705 for ac_extension in a so sl dylib; do
29706 if test -f "$ac_dir/libGL.$ac_extension"; then
29707 ac_find_libraries=$ac_dir
29708 break 2
29709 fi
29710 done
29711 done
29712
29713 if test "$ac_find_libraries" != "" ; then
29714 echo "$as_me:$LINENO: result: yes" >&5
29715 echo "${ECHO_T}yes" >&6
29716
29717
29718 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
29719 result=$?
29720 if test $result = 0; then
29721 ac_path_to_link=""
29722 else
29723 ac_path_to_link=" -L$ac_find_libraries"
29724 fi
29725
29726 if test "$ac_path_to_link" != " -L/usr/lib" ; then
29727 LDFLAGS_GL="$ac_path_to_link"
29728 fi
29729
29730 echo "$as_me:$LINENO: checking for -lGLU" >&5
29731 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6
29732
29733 ac_find_libraries=
29734 for ac_dir in $SEARCH_LIB /usr/lib;
29735 do
29736 for ac_extension in a so sl dylib; do
29737 if test -f "$ac_dir/libGLU.$ac_extension"; then
29738 ac_find_libraries=$ac_dir
29739 break 2
29740 fi
29741 done
29742 done
29743
29744 if test "$ac_find_libraries" != "" ; then
29745
29746 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
29747 result=$?
29748 if test $result = 0; then
29749 ac_path_to_link=""
29750 else
29751 ac_path_to_link=" -L$ac_find_libraries"
29752 fi
29753
29754 if test "$ac_path_to_link" != " -L/usr/lib" -a \
29755 "$ac_path_to_link" != "$LDFLAGS_GL"; then
29756 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
29757 fi
29758
29759 found_gl=1
29760 OPENGL_LIBS="-lGL -lGLU"
29761 echo "$as_me:$LINENO: result: yes" >&5
29762 echo "${ECHO_T}yes" >&6
29763 else
29764 echo "$as_me:$LINENO: result: no" >&5
29765 echo "${ECHO_T}no" >&6
29766 fi
29767 else
29768 echo "$as_me:$LINENO: result: no" >&5
29769 echo "${ECHO_T}no" >&6
29770 fi
29771
29772 if test "$found_gl" != 1; then
29773 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
29774 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
29775
29776 ac_find_libraries=
29777 for ac_dir in $SEARCH_LIB /usr/lib;
29778 do
29779 for ac_extension in a so sl dylib; do
29780 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
29781 ac_find_libraries=$ac_dir
29782 break 2
29783 fi
29784 done
29785 done
29786
29787 if test "$ac_find_libraries" != "" ; then
29788
29789 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
29790 result=$?
29791 if test $result = 0; then
29792 ac_path_to_link=""
29793 else
29794 ac_path_to_link=" -L$ac_find_libraries"
29795 fi
29796
29797 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
29798 OPENGL_LIBS="-lMesaGL -lMesaGLU"
29799 echo "$as_me:$LINENO: result: yes" >&5
29800 echo "${ECHO_T}yes" >&6
29801 else
29802 echo "$as_me:$LINENO: result: no" >&5
29803 echo "${ECHO_T}no" >&6
29804 fi
29805 fi
29806
29807 fi
29808
29809
29810
29811 if test "x$OPENGL_LIBS" = "x"; then
29812 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
29813 echo "$as_me: error: OpenGL libraries not available" >&2;}
29814 { (exit 1); exit 1; }; }
29815 fi
29816 fi
29817
29818 if test "$wxUSE_OPENGL" = "yes"; then
29819 USE_OPENGL=1
29820 cat >>confdefs.h <<\_ACEOF
29821 #define wxUSE_OPENGL 1
29822 _ACEOF
29823
29824 cat >>confdefs.h <<\_ACEOF
29825 #define wxUSE_GLCANVAS 1
29826 _ACEOF
29827
29828 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
29829 fi
29830 fi
29831
29832
29833 if test -n "$TOOLKIT" ; then
29834 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
29835 fi
29836
29837
29838
29839 if test "$wxUSE_SHARED" = "yes"; then
29840 case "${host}" in
29841 *-pc-msdosdjgpp )
29842 wxUSE_SHARED=no
29843 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
29844 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
29845 ;;
29846 esac
29847 fi
29848
29849 if test "$wxUSE_SHARED" = "yes"; then
29850
29851
29852 found_versioning=no
29853
29854
29855 if test $found_versioning = no ; then
29856 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
29857 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
29858 if test "${wx_cv_version_script+set}" = set; then
29859 echo $ECHO_N "(cached) $ECHO_C" >&6
29860 else
29861
29862 echo "VER_1 { *; };" >conftest.sym
29863 echo "int main() { return 0; }" >conftest.cpp
29864
29865 if { ac_try='
29866 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
29867 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
29868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29869 (eval $ac_try) 2>&5
29870 ac_status=$?
29871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29872 (exit $ac_status); }; } ; then
29873 if test -s conftest.stderr ; then
29874 wx_cv_version_script=no
29875 else
29876 wx_cv_version_script=yes
29877 fi
29878 else
29879 wx_cv_version_script=no
29880 fi
29881
29882 if test $wx_cv_version_script = yes
29883 then
29884 echo "struct B { virtual ~B() { } }; \
29885 struct D : public B { }; \
29886 void F() { D d; }" > conftest.cpp
29887
29888 if { ac_try='
29889 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
29890 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
29891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29892 (eval $ac_try) 2>&5
29893 ac_status=$?
29894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29895 (exit $ac_status); }; } &&
29896 { ac_try='
29897 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
29898 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
29899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29900 (eval $ac_try) 2>&5
29901 ac_status=$?
29902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29903 (exit $ac_status); }; }
29904 then
29905 if { ac_try='
29906 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
29907 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
29908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29909 (eval $ac_try) 2>&5
29910 ac_status=$?
29911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29912 (exit $ac_status); }; }
29913 then
29914 wx_cv_version_script=yes
29915 else
29916 wx_cv_version_script=no
29917 fi
29918 fi
29919 fi
29920
29921 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
29922 rm -f conftest1.output conftest2.output conftest3.output
29923
29924 fi
29925 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
29926 echo "${ECHO_T}$wx_cv_version_script" >&6
29927 if test $wx_cv_version_script = yes ; then
29928 LDFLAGS_VERSIONING="-Wl,--version-script,\$(top_builddir)version-script"
29929 fi
29930 fi
29931
29932
29933 case "${host}" in
29934 *-*-linux* | *-*-gnu* )
29935 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(top_builddir)lib"
29936 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
29937 ;;
29938
29939 *-*-solaris2* )
29940 if test "$GCC" = yes ; then
29941 CPPFLAGS="$CPPFLAGS -isystem /usr/openwin/include"
29942
29943 saveLdflags="$LDFLAGS"
29944 LDFLAGS="$saveLdflags -Wl,-rpath,/"
29945 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
29946 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
29947 cat >conftest.$ac_ext <<_ACEOF
29948 /* confdefs.h. */
29949 _ACEOF
29950 cat confdefs.h >>conftest.$ac_ext
29951 cat >>conftest.$ac_ext <<_ACEOF
29952 /* end confdefs.h. */
29953
29954 int
29955 main ()
29956 {
29957
29958 ;
29959 return 0;
29960 }
29961 _ACEOF
29962 rm -f conftest.$ac_objext conftest$ac_exeext
29963 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29964 (eval $ac_link) 2>conftest.er1
29965 ac_status=$?
29966 grep -v '^ *+' conftest.er1 >conftest.err
29967 rm -f conftest.er1
29968 cat conftest.err >&5
29969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29970 (exit $ac_status); } &&
29971 { ac_try='test -z "$ac_c_werror_flag"
29972 || test ! -s conftest.err'
29973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29974 (eval $ac_try) 2>&5
29975 ac_status=$?
29976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29977 (exit $ac_status); }; } &&
29978 { ac_try='test -s conftest$ac_exeext'
29979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29980 (eval $ac_try) 2>&5
29981 ac_status=$?
29982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29983 (exit $ac_status); }; }; then
29984
29985 echo "$as_me:$LINENO: result: yes" >&5
29986 echo "${ECHO_T}yes" >&6
29987 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(top_builddir)lib"
29988 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
29989
29990 else
29991 echo "$as_me: failed program was:" >&5
29992 sed 's/^/| /' conftest.$ac_ext >&5
29993
29994
29995 echo "$as_me:$LINENO: result: no" >&5
29996 echo "${ECHO_T}no" >&6
29997 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
29998 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
29999 LDFLAGS="$saveLdflags -Wl,-R,/"
30000 cat >conftest.$ac_ext <<_ACEOF
30001 /* confdefs.h. */
30002 _ACEOF
30003 cat confdefs.h >>conftest.$ac_ext
30004 cat >>conftest.$ac_ext <<_ACEOF
30005 /* end confdefs.h. */
30006
30007 int
30008 main ()
30009 {
30010
30011 ;
30012 return 0;
30013 }
30014 _ACEOF
30015 rm -f conftest.$ac_objext conftest$ac_exeext
30016 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30017 (eval $ac_link) 2>conftest.er1
30018 ac_status=$?
30019 grep -v '^ *+' conftest.er1 >conftest.err
30020 rm -f conftest.er1
30021 cat conftest.err >&5
30022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30023 (exit $ac_status); } &&
30024 { ac_try='test -z "$ac_c_werror_flag"
30025 || test ! -s conftest.err'
30026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30027 (eval $ac_try) 2>&5
30028 ac_status=$?
30029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30030 (exit $ac_status); }; } &&
30031 { ac_try='test -s conftest$ac_exeext'
30032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30033 (eval $ac_try) 2>&5
30034 ac_status=$?
30035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30036 (exit $ac_status); }; }; then
30037
30038 echo "$as_me:$LINENO: result: yes" >&5
30039 echo "${ECHO_T}yes" >&6
30040 SAMPLES_RPATH_FLAG="-Wl,-R,\$(top_builddir)lib"
30041 WXCONFIG_RPATH="-Wl,-R,\$libdir"
30042
30043 else
30044 echo "$as_me: failed program was:" >&5
30045 sed 's/^/| /' conftest.$ac_ext >&5
30046
30047
30048 echo "$as_me:$LINENO: result: no" >&5
30049 echo "${ECHO_T}no" >&6
30050
30051 fi
30052 rm -f conftest.err conftest.$ac_objext \
30053 conftest$ac_exeext conftest.$ac_ext
30054
30055 fi
30056 rm -f conftest.err conftest.$ac_objext \
30057 conftest$ac_exeext conftest.$ac_ext
30058 LDFLAGS="$saveLdflags"
30059 else
30060 SAMPLES_RPATH_FLAG="-R\$(top_builddir)lib"
30061 WXCONFIG_RPATH="-R\$libdir"
30062 fi
30063 ;;
30064
30065 powerpc-*-darwin* )
30066 install_name_tool=`which install_name_tool`
30067 if test "$install_name_tool" -a -x "$install_name_tool"; then
30068 SAMPLES_RPATH_POSTLINK="\$(top_builddir)change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
30069 cat <<EOF >change-install-names
30070 #!/bin/sh
30071 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
30072 inst_cmd="install_name_tool "
30073 for i in \${libnames} ; do
30074 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
30075 done
30076 \${inst_cmd} \${3}
30077 EOF
30078 chmod +x change-install-names
30079 fi
30080 ;;
30081
30082 *-*-cygwin* | *-*-mingw32* )
30083 TOOLCHAIN_DLL_DEFS="${TOOLCHAIN_DLL_DEFS} -DWXUSINGDLL=1"
30084 ;;
30085
30086 *-*-hpux* )
30087 SAMPLES_RPATH_FLAG="-Wl,+b,\$(top_builddir)lib"
30088 WXCONFIG_RPATH="-Wl,+b,\$libdir"
30089 ;;
30090
30091 esac
30092
30093 if test $wxUSE_RPATH = "no"; then
30094 SAMPLES_RPATH_FLAG=''
30095 SAMPLES_RPATH_POSTLINK=''
30096 WXCONFIG_RPATH=''
30097 fi
30098
30099 SHARED=1
30100
30101 else
30102
30103 config_linkage_component="-static"
30104 SHARED=0
30105
30106 fi
30107
30108
30109 UNICODE=0
30110 lib_unicode_suffix=
30111 WX_CHARTYPE="ansi"
30112 if test "$wxUSE_UNICODE" = "yes"; then
30113 lib_unicode_suffix=u
30114 WX_CHARTYPE="unicode"
30115 UNICODE=1
30116 fi
30117
30118 lib_debug_suffix=
30119 WX_DEBUGTYPE="release"
30120 DEBUG_FLAG=0
30121 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
30122 lib_debug_suffix=d
30123 WX_DEBUGTYPE="debug"
30124 DEBUG_FLAG=1
30125 fi
30126
30127 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
30128 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
30129
30130 DEBUG_INFO=0
30131 if test "$wxUSE_DEBUG_INFO" = "yes"; then
30132 DEBUG_INFO=1
30133 fi
30134
30135 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
30136
30137 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
30138
30139 TOOLCHAIN_FULLNAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
30140
30141 if test "$cross_compiling" = "yes"; then
30142 HOST_SUFFIX="-$host_alias"
30143 TOOLCHAIN_NAME="$TOOLCHAIN_NAME$HOST_SUFFIX"
30144 TOOLCHAIN_FULLNAME="${host_alias}-$TOOLCHAIN_FULLNAME"
30145 fi
30146
30147 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
30148 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
30149
30150
30151
30152 if test "$wxUSE_COCOA" = 1; then
30153
30154
30155 ac_ext=c
30156 ac_cpp='$CPP $CPPFLAGS'
30157 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30158 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30159 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30160
30161 ac_ext=m
30162
30163 echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
30164 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6
30165 cat >conftest.$ac_ext <<_ACEOF
30166 /* confdefs.h. */
30167 _ACEOF
30168 cat confdefs.h >>conftest.$ac_ext
30169 cat >>conftest.$ac_ext <<_ACEOF
30170 /* end confdefs.h. */
30171 #include <AppKit/NSEvent.h>
30172 #include <CoreFoundation/CoreFoundation.h>
30173
30174 int
30175 main ()
30176 {
30177
30178 ;
30179 return 0;
30180 }
30181 _ACEOF
30182 rm -f conftest.$ac_objext
30183 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30184 (eval $ac_compile) 2>conftest.er1
30185 ac_status=$?
30186 grep -v '^ *+' conftest.er1 >conftest.err
30187 rm -f conftest.er1
30188 cat conftest.err >&5
30189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30190 (exit $ac_status); } &&
30191 { ac_try='test -z "$ac_c_werror_flag"
30192 || test ! -s conftest.err'
30193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30194 (eval $ac_try) 2>&5
30195 ac_status=$?
30196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30197 (exit $ac_status); }; } &&
30198 { ac_try='test -s conftest.$ac_objext'
30199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30200 (eval $ac_try) 2>&5
30201 ac_status=$?
30202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30203 (exit $ac_status); }; }; then
30204 echo "$as_me:$LINENO: result: no" >&5
30205 echo "${ECHO_T}no" >&6
30206 else
30207 echo "$as_me: failed program was:" >&5
30208 sed 's/^/| /' conftest.$ac_ext >&5
30209
30210 echo "$as_me:$LINENO: result: yes" >&5
30211 echo "${ECHO_T}yes" >&6
30212 echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
30213 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6
30214 cat >conftest.$ac_ext <<_ACEOF
30215 /* confdefs.h. */
30216 _ACEOF
30217 cat confdefs.h >>conftest.$ac_ext
30218 cat >>conftest.$ac_ext <<_ACEOF
30219 /* end confdefs.h. */
30220 #define __Point__ 1
30221 #include <AppKit/NSEvent.h>
30222 #include <CoreFoundation/CoreFoundation.h>
30223
30224 int
30225 main ()
30226 {
30227
30228 ;
30229 return 0;
30230 }
30231 _ACEOF
30232 rm -f conftest.$ac_objext
30233 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30234 (eval $ac_compile) 2>conftest.er1
30235 ac_status=$?
30236 grep -v '^ *+' conftest.er1 >conftest.err
30237 rm -f conftest.er1
30238 cat conftest.err >&5
30239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30240 (exit $ac_status); } &&
30241 { ac_try='test -z "$ac_c_werror_flag"
30242 || test ! -s conftest.err'
30243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30244 (eval $ac_try) 2>&5
30245 ac_status=$?
30246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30247 (exit $ac_status); }; } &&
30248 { ac_try='test -s conftest.$ac_objext'
30249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30250 (eval $ac_try) 2>&5
30251 ac_status=$?
30252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30253 (exit $ac_status); }; }; then
30254 echo "$as_me:$LINENO: result: yes" >&5
30255 echo "${ECHO_T}yes" >&6
30256 cat >>confdefs.h <<\_ACEOF
30257 #define __Point__ 1
30258 _ACEOF
30259
30260
30261 else
30262 echo "$as_me: failed program was:" >&5
30263 sed 's/^/| /' conftest.$ac_ext >&5
30264
30265 { { echo "$as_me:$LINENO: error: no
30266 See \`config.log' for more details." >&5
30267 echo "$as_me: error: no
30268 See \`config.log' for more details." >&2;}
30269 { (exit 1); exit 1; }; }
30270
30271 fi
30272 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30273
30274 fi
30275 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30276 ac_ext=c
30277 ac_cpp='$CPP $CPPFLAGS'
30278 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30279 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30280 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30281
30282 fi
30283
30284 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
30285 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
30286 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
30287
30288 LIBWXMACRES="\$(top_builddir)lib/${WX_RESOURCES_MACOSX_ASCII}"
30289
30290 # Extract the first word of "Rez", so it can be a program name with args.
30291 set dummy Rez; ac_word=$2
30292 echo "$as_me:$LINENO: checking for $ac_word" >&5
30293 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
30294 if test "${ac_cv_prog_RESCOMP+set}" = set; then
30295 echo $ECHO_N "(cached) $ECHO_C" >&6
30296 else
30297 if test -n "$RESCOMP"; then
30298 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
30299 else
30300 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30301 for as_dir in $PATH
30302 do
30303 IFS=$as_save_IFS
30304 test -z "$as_dir" && as_dir=.
30305 for ac_exec_ext in '' $ac_executable_extensions; do
30306 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
30307 ac_cv_prog_RESCOMP="Rez"
30308 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30309 break 2
30310 fi
30311 done
30312 done
30313
30314 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="/Developer/Tools/Rez"
30315 fi
30316 fi
30317 RESCOMP=$ac_cv_prog_RESCOMP
30318 if test -n "$RESCOMP"; then
30319 echo "$as_me:$LINENO: result: $RESCOMP" >&5
30320 echo "${ECHO_T}$RESCOMP" >&6
30321 else
30322 echo "$as_me:$LINENO: result: no" >&5
30323 echo "${ECHO_T}no" >&6
30324 fi
30325
30326 # Extract the first word of "DeRez", so it can be a program name with args.
30327 set dummy DeRez; ac_word=$2
30328 echo "$as_me:$LINENO: checking for $ac_word" >&5
30329 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
30330 if test "${ac_cv_prog_DEREZ+set}" = set; then
30331 echo $ECHO_N "(cached) $ECHO_C" >&6
30332 else
30333 if test -n "$DEREZ"; then
30334 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
30335 else
30336 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30337 for as_dir in $PATH
30338 do
30339 IFS=$as_save_IFS
30340 test -z "$as_dir" && as_dir=.
30341 for ac_exec_ext in '' $ac_executable_extensions; do
30342 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
30343 ac_cv_prog_DEREZ="DeRez"
30344 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30345 break 2
30346 fi
30347 done
30348 done
30349
30350 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
30351 fi
30352 fi
30353 DEREZ=$ac_cv_prog_DEREZ
30354 if test -n "$DEREZ"; then
30355 echo "$as_me:$LINENO: result: $DEREZ" >&5
30356 echo "${ECHO_T}$DEREZ" >&6
30357 else
30358 echo "$as_me:$LINENO: result: no" >&5
30359 echo "${ECHO_T}no" >&6
30360 fi
30361
30362 # Extract the first word of "SetFile", so it can be a program name with args.
30363 set dummy SetFile; ac_word=$2
30364 echo "$as_me:$LINENO: checking for $ac_word" >&5
30365 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
30366 if test "${ac_cv_prog_SETFILE+set}" = set; then
30367 echo $ECHO_N "(cached) $ECHO_C" >&6
30368 else
30369 if test -n "$SETFILE"; then
30370 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
30371 else
30372 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30373 for as_dir in $PATH
30374 do
30375 IFS=$as_save_IFS
30376 test -z "$as_dir" && as_dir=.
30377 for ac_exec_ext in '' $ac_executable_extensions; do
30378 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
30379 ac_cv_prog_SETFILE="SetFile"
30380 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30381 break 2
30382 fi
30383 done
30384 done
30385
30386 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
30387 fi
30388 fi
30389 SETFILE=$ac_cv_prog_SETFILE
30390 if test -n "$SETFILE"; then
30391 echo "$as_me:$LINENO: result: $SETFILE" >&5
30392 echo "${ECHO_T}$SETFILE" >&6
30393 else
30394 echo "$as_me:$LINENO: result: no" >&5
30395 echo "${ECHO_T}no" >&6
30396 fi
30397
30398
30399 MACSETFILE="\$(SETFILE)"
30400
30401 if test "$wxUSE_MAC" = 1; then
30402 MACRESCOMP="\$(RESCOMP) -d __DARWIN__ -t APPL Carbon.r -o"
30403
30404 MACRESWXCONFIG="${RESCOMP} -d __DARWIN__ -t APPL Carbon.r -o"
30405 else
30406 MACRESCOMP="echo -n | \$(RESCOMP) -d __DARWIN__ -t APPL ${LIBWXMACRES} -o"
30407 MACRESWXCONFIG="echo -n \\\| ${RESCOMP} -d __DARWIN__ -t APPL \\\${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
30408 fi
30409 else
30410 MACSETFILE="@true"
30411 MACRESWXCONFIG="@true"
30412
30413 if test "$wxUSE_PM" = 1; then
30414 MACRESCOMP="emxbind -ep"
30415 else
30416 MACRESCOMP="@true"
30417 fi
30418 fi
30419
30420
30421
30422 echo "$as_me:$LINENO: checking for mode_t" >&5
30423 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
30424 if test "${ac_cv_type_mode_t+set}" = set; then
30425 echo $ECHO_N "(cached) $ECHO_C" >&6
30426 else
30427 cat >conftest.$ac_ext <<_ACEOF
30428 /* confdefs.h. */
30429 _ACEOF
30430 cat confdefs.h >>conftest.$ac_ext
30431 cat >>conftest.$ac_ext <<_ACEOF
30432 /* end confdefs.h. */
30433 $ac_includes_default
30434 int
30435 main ()
30436 {
30437 if ((mode_t *) 0)
30438 return 0;
30439 if (sizeof (mode_t))
30440 return 0;
30441 ;
30442 return 0;
30443 }
30444 _ACEOF
30445 rm -f conftest.$ac_objext
30446 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30447 (eval $ac_compile) 2>conftest.er1
30448 ac_status=$?
30449 grep -v '^ *+' conftest.er1 >conftest.err
30450 rm -f conftest.er1
30451 cat conftest.err >&5
30452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30453 (exit $ac_status); } &&
30454 { ac_try='test -z "$ac_c_werror_flag"
30455 || test ! -s conftest.err'
30456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30457 (eval $ac_try) 2>&5
30458 ac_status=$?
30459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30460 (exit $ac_status); }; } &&
30461 { ac_try='test -s conftest.$ac_objext'
30462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30463 (eval $ac_try) 2>&5
30464 ac_status=$?
30465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30466 (exit $ac_status); }; }; then
30467 ac_cv_type_mode_t=yes
30468 else
30469 echo "$as_me: failed program was:" >&5
30470 sed 's/^/| /' conftest.$ac_ext >&5
30471
30472 ac_cv_type_mode_t=no
30473 fi
30474 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30475 fi
30476 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
30477 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
30478 if test $ac_cv_type_mode_t = yes; then
30479 :
30480 else
30481
30482 cat >>confdefs.h <<_ACEOF
30483 #define mode_t int
30484 _ACEOF
30485
30486 fi
30487
30488 echo "$as_me:$LINENO: checking for off_t" >&5
30489 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
30490 if test "${ac_cv_type_off_t+set}" = set; then
30491 echo $ECHO_N "(cached) $ECHO_C" >&6
30492 else
30493 cat >conftest.$ac_ext <<_ACEOF
30494 /* confdefs.h. */
30495 _ACEOF
30496 cat confdefs.h >>conftest.$ac_ext
30497 cat >>conftest.$ac_ext <<_ACEOF
30498 /* end confdefs.h. */
30499 $ac_includes_default
30500 int
30501 main ()
30502 {
30503 if ((off_t *) 0)
30504 return 0;
30505 if (sizeof (off_t))
30506 return 0;
30507 ;
30508 return 0;
30509 }
30510 _ACEOF
30511 rm -f conftest.$ac_objext
30512 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30513 (eval $ac_compile) 2>conftest.er1
30514 ac_status=$?
30515 grep -v '^ *+' conftest.er1 >conftest.err
30516 rm -f conftest.er1
30517 cat conftest.err >&5
30518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30519 (exit $ac_status); } &&
30520 { ac_try='test -z "$ac_c_werror_flag"
30521 || test ! -s conftest.err'
30522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30523 (eval $ac_try) 2>&5
30524 ac_status=$?
30525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30526 (exit $ac_status); }; } &&
30527 { ac_try='test -s conftest.$ac_objext'
30528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30529 (eval $ac_try) 2>&5
30530 ac_status=$?
30531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30532 (exit $ac_status); }; }; then
30533 ac_cv_type_off_t=yes
30534 else
30535 echo "$as_me: failed program was:" >&5
30536 sed 's/^/| /' conftest.$ac_ext >&5
30537
30538 ac_cv_type_off_t=no
30539 fi
30540 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30541 fi
30542 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
30543 echo "${ECHO_T}$ac_cv_type_off_t" >&6
30544 if test $ac_cv_type_off_t = yes; then
30545 :
30546 else
30547
30548 cat >>confdefs.h <<_ACEOF
30549 #define off_t long
30550 _ACEOF
30551
30552 fi
30553
30554 echo "$as_me:$LINENO: checking for pid_t" >&5
30555 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
30556 if test "${ac_cv_type_pid_t+set}" = set; then
30557 echo $ECHO_N "(cached) $ECHO_C" >&6
30558 else
30559 cat >conftest.$ac_ext <<_ACEOF
30560 /* confdefs.h. */
30561 _ACEOF
30562 cat confdefs.h >>conftest.$ac_ext
30563 cat >>conftest.$ac_ext <<_ACEOF
30564 /* end confdefs.h. */
30565 $ac_includes_default
30566 int
30567 main ()
30568 {
30569 if ((pid_t *) 0)
30570 return 0;
30571 if (sizeof (pid_t))
30572 return 0;
30573 ;
30574 return 0;
30575 }
30576 _ACEOF
30577 rm -f conftest.$ac_objext
30578 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30579 (eval $ac_compile) 2>conftest.er1
30580 ac_status=$?
30581 grep -v '^ *+' conftest.er1 >conftest.err
30582 rm -f conftest.er1
30583 cat conftest.err >&5
30584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30585 (exit $ac_status); } &&
30586 { ac_try='test -z "$ac_c_werror_flag"
30587 || test ! -s conftest.err'
30588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30589 (eval $ac_try) 2>&5
30590 ac_status=$?
30591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30592 (exit $ac_status); }; } &&
30593 { ac_try='test -s conftest.$ac_objext'
30594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30595 (eval $ac_try) 2>&5
30596 ac_status=$?
30597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30598 (exit $ac_status); }; }; then
30599 ac_cv_type_pid_t=yes
30600 else
30601 echo "$as_me: failed program was:" >&5
30602 sed 's/^/| /' conftest.$ac_ext >&5
30603
30604 ac_cv_type_pid_t=no
30605 fi
30606 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30607 fi
30608 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
30609 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
30610 if test $ac_cv_type_pid_t = yes; then
30611 :
30612 else
30613
30614 cat >>confdefs.h <<_ACEOF
30615 #define pid_t int
30616 _ACEOF
30617
30618 fi
30619
30620 echo "$as_me:$LINENO: checking for size_t" >&5
30621 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
30622 if test "${ac_cv_type_size_t+set}" = set; then
30623 echo $ECHO_N "(cached) $ECHO_C" >&6
30624 else
30625 cat >conftest.$ac_ext <<_ACEOF
30626 /* confdefs.h. */
30627 _ACEOF
30628 cat confdefs.h >>conftest.$ac_ext
30629 cat >>conftest.$ac_ext <<_ACEOF
30630 /* end confdefs.h. */
30631 $ac_includes_default
30632 int
30633 main ()
30634 {
30635 if ((size_t *) 0)
30636 return 0;
30637 if (sizeof (size_t))
30638 return 0;
30639 ;
30640 return 0;
30641 }
30642 _ACEOF
30643 rm -f conftest.$ac_objext
30644 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30645 (eval $ac_compile) 2>conftest.er1
30646 ac_status=$?
30647 grep -v '^ *+' conftest.er1 >conftest.err
30648 rm -f conftest.er1
30649 cat conftest.err >&5
30650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30651 (exit $ac_status); } &&
30652 { ac_try='test -z "$ac_c_werror_flag"
30653 || test ! -s conftest.err'
30654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30655 (eval $ac_try) 2>&5
30656 ac_status=$?
30657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30658 (exit $ac_status); }; } &&
30659 { ac_try='test -s conftest.$ac_objext'
30660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30661 (eval $ac_try) 2>&5
30662 ac_status=$?
30663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30664 (exit $ac_status); }; }; then
30665 ac_cv_type_size_t=yes
30666 else
30667 echo "$as_me: failed program was:" >&5
30668 sed 's/^/| /' conftest.$ac_ext >&5
30669
30670 ac_cv_type_size_t=no
30671 fi
30672 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30673 fi
30674 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
30675 echo "${ECHO_T}$ac_cv_type_size_t" >&6
30676 if test $ac_cv_type_size_t = yes; then
30677 :
30678 else
30679
30680 cat >>confdefs.h <<_ACEOF
30681 #define size_t unsigned
30682 _ACEOF
30683
30684 fi
30685
30686 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
30687 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
30688 if test "${ac_cv_type_uid_t+set}" = set; then
30689 echo $ECHO_N "(cached) $ECHO_C" >&6
30690 else
30691 cat >conftest.$ac_ext <<_ACEOF
30692 /* confdefs.h. */
30693 _ACEOF
30694 cat confdefs.h >>conftest.$ac_ext
30695 cat >>conftest.$ac_ext <<_ACEOF
30696 /* end confdefs.h. */
30697 #include <sys/types.h>
30698
30699 _ACEOF
30700 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
30701 $EGREP "uid_t" >/dev/null 2>&1; then
30702 ac_cv_type_uid_t=yes
30703 else
30704 ac_cv_type_uid_t=no
30705 fi
30706 rm -f conftest*
30707
30708 fi
30709 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
30710 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
30711 if test $ac_cv_type_uid_t = no; then
30712
30713 cat >>confdefs.h <<\_ACEOF
30714 #define uid_t int
30715 _ACEOF
30716
30717
30718 cat >>confdefs.h <<\_ACEOF
30719 #define gid_t int
30720 _ACEOF
30721
30722 fi
30723
30724
30725 echo "$as_me:$LINENO: checking for ssize_t" >&5
30726 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
30727 if test "${ac_cv_type_ssize_t+set}" = set; then
30728 echo $ECHO_N "(cached) $ECHO_C" >&6
30729 else
30730 cat >conftest.$ac_ext <<_ACEOF
30731 /* confdefs.h. */
30732 _ACEOF
30733 cat confdefs.h >>conftest.$ac_ext
30734 cat >>conftest.$ac_ext <<_ACEOF
30735 /* end confdefs.h. */
30736 $ac_includes_default
30737 int
30738 main ()
30739 {
30740 if ((ssize_t *) 0)
30741 return 0;
30742 if (sizeof (ssize_t))
30743 return 0;
30744 ;
30745 return 0;
30746 }
30747 _ACEOF
30748 rm -f conftest.$ac_objext
30749 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30750 (eval $ac_compile) 2>conftest.er1
30751 ac_status=$?
30752 grep -v '^ *+' conftest.er1 >conftest.err
30753 rm -f conftest.er1
30754 cat conftest.err >&5
30755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30756 (exit $ac_status); } &&
30757 { ac_try='test -z "$ac_c_werror_flag"
30758 || test ! -s conftest.err'
30759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30760 (eval $ac_try) 2>&5
30761 ac_status=$?
30762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30763 (exit $ac_status); }; } &&
30764 { ac_try='test -s conftest.$ac_objext'
30765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30766 (eval $ac_try) 2>&5
30767 ac_status=$?
30768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30769 (exit $ac_status); }; }; then
30770 ac_cv_type_ssize_t=yes
30771 else
30772 echo "$as_me: failed program was:" >&5
30773 sed 's/^/| /' conftest.$ac_ext >&5
30774
30775 ac_cv_type_ssize_t=no
30776 fi
30777 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30778 fi
30779 echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
30780 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
30781 if test $ac_cv_type_ssize_t = yes; then
30782
30783 cat >>confdefs.h <<_ACEOF
30784 #define HAVE_SSIZE_T 1
30785 _ACEOF
30786
30787
30788 fi
30789
30790
30791
30792
30793 ac_ext=cc
30794 ac_cpp='$CXXCPP $CPPFLAGS'
30795 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30796 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30797 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30798
30799 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
30800 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
30801 if test "${wx_cv_size_t_is_uint+set}" = set; then
30802 echo $ECHO_N "(cached) $ECHO_C" >&6
30803 else
30804
30805 cat >conftest.$ac_ext <<_ACEOF
30806 /* confdefs.h. */
30807 _ACEOF
30808 cat confdefs.h >>conftest.$ac_ext
30809 cat >>conftest.$ac_ext <<_ACEOF
30810 /* end confdefs.h. */
30811 #include <stddef.h>
30812 int
30813 main ()
30814 {
30815
30816 return 0; }
30817
30818 struct Foo { void foo(size_t); void foo(unsigned int); };
30819
30820 int bar() {
30821
30822 ;
30823 return 0;
30824 }
30825 _ACEOF
30826 rm -f conftest.$ac_objext
30827 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30828 (eval $ac_compile) 2>conftest.er1
30829 ac_status=$?
30830 grep -v '^ *+' conftest.er1 >conftest.err
30831 rm -f conftest.er1
30832 cat conftest.err >&5
30833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30834 (exit $ac_status); } &&
30835 { ac_try='test -z "$ac_cxx_werror_flag"
30836 || test ! -s conftest.err'
30837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30838 (eval $ac_try) 2>&5
30839 ac_status=$?
30840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30841 (exit $ac_status); }; } &&
30842 { ac_try='test -s conftest.$ac_objext'
30843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30844 (eval $ac_try) 2>&5
30845 ac_status=$?
30846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30847 (exit $ac_status); }; }; then
30848 wx_cv_size_t_is_uint=no
30849 else
30850 echo "$as_me: failed program was:" >&5
30851 sed 's/^/| /' conftest.$ac_ext >&5
30852
30853 wx_cv_size_t_is_uint=yes
30854
30855 fi
30856 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30857
30858
30859 fi
30860 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
30861 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
30862
30863 if test "$wx_cv_size_t_is_uint" = "yes"; then
30864 cat >>confdefs.h <<\_ACEOF
30865 #define wxSIZE_T_IS_UINT 1
30866 _ACEOF
30867
30868 else
30869 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
30870 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
30871 if test "${wx_cv_size_t_is_ulong+set}" = set; then
30872 echo $ECHO_N "(cached) $ECHO_C" >&6
30873 else
30874 cat >conftest.$ac_ext <<_ACEOF
30875 /* confdefs.h. */
30876 _ACEOF
30877 cat confdefs.h >>conftest.$ac_ext
30878 cat >>conftest.$ac_ext <<_ACEOF
30879 /* end confdefs.h. */
30880 #include <stddef.h>
30881 int
30882 main ()
30883 {
30884
30885 return 0; }
30886
30887 struct Foo { void foo(size_t); void foo(unsigned long); };
30888
30889 int bar() {
30890
30891 ;
30892 return 0;
30893 }
30894 _ACEOF
30895 rm -f conftest.$ac_objext
30896 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30897 (eval $ac_compile) 2>conftest.er1
30898 ac_status=$?
30899 grep -v '^ *+' conftest.er1 >conftest.err
30900 rm -f conftest.er1
30901 cat conftest.err >&5
30902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30903 (exit $ac_status); } &&
30904 { ac_try='test -z "$ac_cxx_werror_flag"
30905 || test ! -s conftest.err'
30906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30907 (eval $ac_try) 2>&5
30908 ac_status=$?
30909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30910 (exit $ac_status); }; } &&
30911 { ac_try='test -s conftest.$ac_objext'
30912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30913 (eval $ac_try) 2>&5
30914 ac_status=$?
30915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30916 (exit $ac_status); }; }; then
30917 wx_cv_size_t_is_ulong=no
30918 else
30919 echo "$as_me: failed program was:" >&5
30920 sed 's/^/| /' conftest.$ac_ext >&5
30921
30922 wx_cv_size_t_is_ulong=yes
30923
30924 fi
30925 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30926
30927 fi
30928 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
30929 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
30930
30931 if test "$wx_cv_size_t_is_ulong" = "yes"; then
30932 cat >>confdefs.h <<\_ACEOF
30933 #define wxSIZE_T_IS_ULONG 1
30934 _ACEOF
30935
30936 fi
30937 fi
30938
30939 ac_ext=c
30940 ac_cpp='$CPP $CPPFLAGS'
30941 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30942 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30943 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30944
30945
30946
30947 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
30948 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
30949 if test "${wx_cv_struct_pw_gecos+set}" = set; then
30950 echo $ECHO_N "(cached) $ECHO_C" >&6
30951 else
30952
30953 cat >conftest.$ac_ext <<_ACEOF
30954 /* confdefs.h. */
30955 _ACEOF
30956 cat confdefs.h >>conftest.$ac_ext
30957 cat >>conftest.$ac_ext <<_ACEOF
30958 /* end confdefs.h. */
30959 #include <pwd.h>
30960 int
30961 main ()
30962 {
30963
30964 char *p;
30965 struct passwd *pw;
30966 p = pw->pw_gecos;
30967
30968 ;
30969 return 0;
30970 }
30971 _ACEOF
30972 rm -f conftest.$ac_objext
30973 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30974 (eval $ac_compile) 2>conftest.er1
30975 ac_status=$?
30976 grep -v '^ *+' conftest.er1 >conftest.err
30977 rm -f conftest.er1
30978 cat conftest.err >&5
30979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30980 (exit $ac_status); } &&
30981 { ac_try='test -z "$ac_c_werror_flag"
30982 || test ! -s conftest.err'
30983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30984 (eval $ac_try) 2>&5
30985 ac_status=$?
30986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30987 (exit $ac_status); }; } &&
30988 { ac_try='test -s conftest.$ac_objext'
30989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30990 (eval $ac_try) 2>&5
30991 ac_status=$?
30992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30993 (exit $ac_status); }; }; then
30994
30995 wx_cv_struct_pw_gecos=yes
30996
30997 else
30998 echo "$as_me: failed program was:" >&5
30999 sed 's/^/| /' conftest.$ac_ext >&5
31000
31001
31002 wx_cv_struct_pw_gecos=no
31003
31004
31005 fi
31006 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31007
31008
31009 fi
31010 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
31011 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
31012
31013 if test "$wx_cv_struct_pw_gecos" = "yes"; then
31014 cat >>confdefs.h <<\_ACEOF
31015 #define HAVE_PW_GECOS 1
31016 _ACEOF
31017
31018 fi
31019
31020
31021 if test "$wxUSE_WCHAR_T" = "yes"; then
31022 cat >>confdefs.h <<\_ACEOF
31023 #define wxUSE_WCHAR_T 1
31024 _ACEOF
31025
31026
31027 WCSLEN_FOUND=0
31028 WCHAR_LINK=
31029
31030 for ac_func in wcslen
31031 do
31032 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31033 echo "$as_me:$LINENO: checking for $ac_func" >&5
31034 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31035 if eval "test \"\${$as_ac_var+set}\" = set"; then
31036 echo $ECHO_N "(cached) $ECHO_C" >&6
31037 else
31038 cat >conftest.$ac_ext <<_ACEOF
31039 /* confdefs.h. */
31040 _ACEOF
31041 cat confdefs.h >>conftest.$ac_ext
31042 cat >>conftest.$ac_ext <<_ACEOF
31043 /* end confdefs.h. */
31044 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31045 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31046 #define $ac_func innocuous_$ac_func
31047
31048 /* System header to define __stub macros and hopefully few prototypes,
31049 which can conflict with char $ac_func (); below.
31050 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31051 <limits.h> exists even on freestanding compilers. */
31052
31053 #ifdef __STDC__
31054 # include <limits.h>
31055 #else
31056 # include <assert.h>
31057 #endif
31058
31059 #undef $ac_func
31060
31061 /* Override any gcc2 internal prototype to avoid an error. */
31062 #ifdef __cplusplus
31063 extern "C"
31064 {
31065 #endif
31066 /* We use char because int might match the return type of a gcc2
31067 builtin and then its argument prototype would still apply. */
31068 char $ac_func ();
31069 /* The GNU C library defines this for functions which it implements
31070 to always fail with ENOSYS. Some functions are actually named
31071 something starting with __ and the normal name is an alias. */
31072 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31073 choke me
31074 #else
31075 char (*f) () = $ac_func;
31076 #endif
31077 #ifdef __cplusplus
31078 }
31079 #endif
31080
31081 int
31082 main ()
31083 {
31084 return f != $ac_func;
31085 ;
31086 return 0;
31087 }
31088 _ACEOF
31089 rm -f conftest.$ac_objext conftest$ac_exeext
31090 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31091 (eval $ac_link) 2>conftest.er1
31092 ac_status=$?
31093 grep -v '^ *+' conftest.er1 >conftest.err
31094 rm -f conftest.er1
31095 cat conftest.err >&5
31096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31097 (exit $ac_status); } &&
31098 { ac_try='test -z "$ac_c_werror_flag"
31099 || test ! -s conftest.err'
31100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31101 (eval $ac_try) 2>&5
31102 ac_status=$?
31103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31104 (exit $ac_status); }; } &&
31105 { ac_try='test -s conftest$ac_exeext'
31106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31107 (eval $ac_try) 2>&5
31108 ac_status=$?
31109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31110 (exit $ac_status); }; }; then
31111 eval "$as_ac_var=yes"
31112 else
31113 echo "$as_me: failed program was:" >&5
31114 sed 's/^/| /' conftest.$ac_ext >&5
31115
31116 eval "$as_ac_var=no"
31117 fi
31118 rm -f conftest.err conftest.$ac_objext \
31119 conftest$ac_exeext conftest.$ac_ext
31120 fi
31121 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31122 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31123 if test `eval echo '${'$as_ac_var'}'` = yes; then
31124 cat >>confdefs.h <<_ACEOF
31125 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31126 _ACEOF
31127 WCSLEN_FOUND=1
31128 fi
31129 done
31130
31131
31132 if test "$WCSLEN_FOUND" = 0; then
31133 if test "$TOOLKIT" = "MSW"; then
31134 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
31135 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
31136 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
31137 echo $ECHO_N "(cached) $ECHO_C" >&6
31138 else
31139 ac_check_lib_save_LIBS=$LIBS
31140 LIBS="-lmsvcrt $LIBS"
31141 cat >conftest.$ac_ext <<_ACEOF
31142 /* confdefs.h. */
31143 _ACEOF
31144 cat confdefs.h >>conftest.$ac_ext
31145 cat >>conftest.$ac_ext <<_ACEOF
31146 /* end confdefs.h. */
31147
31148 /* Override any gcc2 internal prototype to avoid an error. */
31149 #ifdef __cplusplus
31150 extern "C"
31151 #endif
31152 /* We use char because int might match the return type of a gcc2
31153 builtin and then its argument prototype would still apply. */
31154 char wcslen ();
31155 int
31156 main ()
31157 {
31158 wcslen ();
31159 ;
31160 return 0;
31161 }
31162 _ACEOF
31163 rm -f conftest.$ac_objext conftest$ac_exeext
31164 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31165 (eval $ac_link) 2>conftest.er1
31166 ac_status=$?
31167 grep -v '^ *+' conftest.er1 >conftest.err
31168 rm -f conftest.er1
31169 cat conftest.err >&5
31170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31171 (exit $ac_status); } &&
31172 { ac_try='test -z "$ac_c_werror_flag"
31173 || test ! -s conftest.err'
31174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31175 (eval $ac_try) 2>&5
31176 ac_status=$?
31177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31178 (exit $ac_status); }; } &&
31179 { ac_try='test -s conftest$ac_exeext'
31180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31181 (eval $ac_try) 2>&5
31182 ac_status=$?
31183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31184 (exit $ac_status); }; }; then
31185 ac_cv_lib_msvcrt_wcslen=yes
31186 else
31187 echo "$as_me: failed program was:" >&5
31188 sed 's/^/| /' conftest.$ac_ext >&5
31189
31190 ac_cv_lib_msvcrt_wcslen=no
31191 fi
31192 rm -f conftest.err conftest.$ac_objext \
31193 conftest$ac_exeext conftest.$ac_ext
31194 LIBS=$ac_check_lib_save_LIBS
31195 fi
31196 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
31197 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
31198 if test $ac_cv_lib_msvcrt_wcslen = yes; then
31199 WCHAR_OK=1
31200 fi
31201
31202 else
31203 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
31204 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
31205 if test "${ac_cv_lib_w_wcslen+set}" = set; then
31206 echo $ECHO_N "(cached) $ECHO_C" >&6
31207 else
31208 ac_check_lib_save_LIBS=$LIBS
31209 LIBS="-lw $LIBS"
31210 cat >conftest.$ac_ext <<_ACEOF
31211 /* confdefs.h. */
31212 _ACEOF
31213 cat confdefs.h >>conftest.$ac_ext
31214 cat >>conftest.$ac_ext <<_ACEOF
31215 /* end confdefs.h. */
31216
31217 /* Override any gcc2 internal prototype to avoid an error. */
31218 #ifdef __cplusplus
31219 extern "C"
31220 #endif
31221 /* We use char because int might match the return type of a gcc2
31222 builtin and then its argument prototype would still apply. */
31223 char wcslen ();
31224 int
31225 main ()
31226 {
31227 wcslen ();
31228 ;
31229 return 0;
31230 }
31231 _ACEOF
31232 rm -f conftest.$ac_objext conftest$ac_exeext
31233 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31234 (eval $ac_link) 2>conftest.er1
31235 ac_status=$?
31236 grep -v '^ *+' conftest.er1 >conftest.err
31237 rm -f conftest.er1
31238 cat conftest.err >&5
31239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31240 (exit $ac_status); } &&
31241 { ac_try='test -z "$ac_c_werror_flag"
31242 || test ! -s conftest.err'
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); }; } &&
31248 { ac_try='test -s conftest$ac_exeext'
31249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31250 (eval $ac_try) 2>&5
31251 ac_status=$?
31252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31253 (exit $ac_status); }; }; then
31254 ac_cv_lib_w_wcslen=yes
31255 else
31256 echo "$as_me: failed program was:" >&5
31257 sed 's/^/| /' conftest.$ac_ext >&5
31258
31259 ac_cv_lib_w_wcslen=no
31260 fi
31261 rm -f conftest.err conftest.$ac_objext \
31262 conftest$ac_exeext conftest.$ac_ext
31263 LIBS=$ac_check_lib_save_LIBS
31264 fi
31265 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
31266 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
31267 if test $ac_cv_lib_w_wcslen = yes; then
31268
31269 WCHAR_LINK=" -lw"
31270 WCSLEN_FOUND=1
31271
31272 fi
31273
31274 fi
31275 fi
31276
31277 if test "$WCSLEN_FOUND" = 1; then
31278 cat >>confdefs.h <<\_ACEOF
31279 #define HAVE_WCSLEN 1
31280 _ACEOF
31281
31282 fi
31283
31284 if test "$USE_HPUX" = 1; then
31285 CPPFLAGS="$CPPFLAGS -D_INCLUDE__STDC_A1_SOURCE "
31286 fi
31287
31288
31289 for ac_func in wcsrtombs
31290 do
31291 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31292 echo "$as_me:$LINENO: checking for $ac_func" >&5
31293 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31294 if eval "test \"\${$as_ac_var+set}\" = set"; then
31295 echo $ECHO_N "(cached) $ECHO_C" >&6
31296 else
31297 cat >conftest.$ac_ext <<_ACEOF
31298 /* confdefs.h. */
31299 _ACEOF
31300 cat confdefs.h >>conftest.$ac_ext
31301 cat >>conftest.$ac_ext <<_ACEOF
31302 /* end confdefs.h. */
31303 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31304 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31305 #define $ac_func innocuous_$ac_func
31306
31307 /* System header to define __stub macros and hopefully few prototypes,
31308 which can conflict with char $ac_func (); below.
31309 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31310 <limits.h> exists even on freestanding compilers. */
31311
31312 #ifdef __STDC__
31313 # include <limits.h>
31314 #else
31315 # include <assert.h>
31316 #endif
31317
31318 #undef $ac_func
31319
31320 /* Override any gcc2 internal prototype to avoid an error. */
31321 #ifdef __cplusplus
31322 extern "C"
31323 {
31324 #endif
31325 /* We use char because int might match the return type of a gcc2
31326 builtin and then its argument prototype would still apply. */
31327 char $ac_func ();
31328 /* The GNU C library defines this for functions which it implements
31329 to always fail with ENOSYS. Some functions are actually named
31330 something starting with __ and the normal name is an alias. */
31331 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31332 choke me
31333 #else
31334 char (*f) () = $ac_func;
31335 #endif
31336 #ifdef __cplusplus
31337 }
31338 #endif
31339
31340 int
31341 main ()
31342 {
31343 return f != $ac_func;
31344 ;
31345 return 0;
31346 }
31347 _ACEOF
31348 rm -f conftest.$ac_objext conftest$ac_exeext
31349 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31350 (eval $ac_link) 2>conftest.er1
31351 ac_status=$?
31352 grep -v '^ *+' conftest.er1 >conftest.err
31353 rm -f conftest.er1
31354 cat conftest.err >&5
31355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31356 (exit $ac_status); } &&
31357 { ac_try='test -z "$ac_c_werror_flag"
31358 || test ! -s conftest.err'
31359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31360 (eval $ac_try) 2>&5
31361 ac_status=$?
31362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31363 (exit $ac_status); }; } &&
31364 { ac_try='test -s conftest$ac_exeext'
31365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31366 (eval $ac_try) 2>&5
31367 ac_status=$?
31368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31369 (exit $ac_status); }; }; then
31370 eval "$as_ac_var=yes"
31371 else
31372 echo "$as_me: failed program was:" >&5
31373 sed 's/^/| /' conftest.$ac_ext >&5
31374
31375 eval "$as_ac_var=no"
31376 fi
31377 rm -f conftest.err conftest.$ac_objext \
31378 conftest$ac_exeext conftest.$ac_ext
31379 fi
31380 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31381 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31382 if test `eval echo '${'$as_ac_var'}'` = yes; then
31383 cat >>confdefs.h <<_ACEOF
31384 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31385 _ACEOF
31386
31387 fi
31388 done
31389
31390 else
31391 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
31392 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
31393 fi
31394
31395
31396
31397 ac_ext=cc
31398 ac_cpp='$CXXCPP $CPPFLAGS'
31399 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31400 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31401 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31402
31403
31404
31405 for ac_func in vsnprintf
31406 do
31407 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31408 echo "$as_me:$LINENO: checking for $ac_func" >&5
31409 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31410 if eval "test \"\${$as_ac_var+set}\" = set"; then
31411 echo $ECHO_N "(cached) $ECHO_C" >&6
31412 else
31413 cat >conftest.$ac_ext <<_ACEOF
31414 /* confdefs.h. */
31415 _ACEOF
31416 cat confdefs.h >>conftest.$ac_ext
31417 cat >>conftest.$ac_ext <<_ACEOF
31418 /* end confdefs.h. */
31419 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31420 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31421 #define $ac_func innocuous_$ac_func
31422
31423 /* System header to define __stub macros and hopefully few prototypes,
31424 which can conflict with char $ac_func (); below.
31425 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31426 <limits.h> exists even on freestanding compilers. */
31427
31428 #ifdef __STDC__
31429 # include <limits.h>
31430 #else
31431 # include <assert.h>
31432 #endif
31433
31434 #undef $ac_func
31435
31436 /* Override any gcc2 internal prototype to avoid an error. */
31437 #ifdef __cplusplus
31438 extern "C"
31439 {
31440 #endif
31441 /* We use char because int might match the return type of a gcc2
31442 builtin and then its argument prototype would still apply. */
31443 char $ac_func ();
31444 /* The GNU C library defines this for functions which it implements
31445 to always fail with ENOSYS. Some functions are actually named
31446 something starting with __ and the normal name is an alias. */
31447 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31448 choke me
31449 #else
31450 char (*f) () = $ac_func;
31451 #endif
31452 #ifdef __cplusplus
31453 }
31454 #endif
31455
31456 int
31457 main ()
31458 {
31459 return f != $ac_func;
31460 ;
31461 return 0;
31462 }
31463 _ACEOF
31464 rm -f conftest.$ac_objext conftest$ac_exeext
31465 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31466 (eval $ac_link) 2>conftest.er1
31467 ac_status=$?
31468 grep -v '^ *+' conftest.er1 >conftest.err
31469 rm -f conftest.er1
31470 cat conftest.err >&5
31471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31472 (exit $ac_status); } &&
31473 { ac_try='test -z "$ac_cxx_werror_flag"
31474 || test ! -s conftest.err'
31475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31476 (eval $ac_try) 2>&5
31477 ac_status=$?
31478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31479 (exit $ac_status); }; } &&
31480 { ac_try='test -s conftest$ac_exeext'
31481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31482 (eval $ac_try) 2>&5
31483 ac_status=$?
31484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31485 (exit $ac_status); }; }; then
31486 eval "$as_ac_var=yes"
31487 else
31488 echo "$as_me: failed program was:" >&5
31489 sed 's/^/| /' conftest.$ac_ext >&5
31490
31491 eval "$as_ac_var=no"
31492 fi
31493 rm -f conftest.err conftest.$ac_objext \
31494 conftest$ac_exeext conftest.$ac_ext
31495 fi
31496 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31497 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31498 if test `eval echo '${'$as_ac_var'}'` = yes; then
31499 cat >>confdefs.h <<_ACEOF
31500 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31501 _ACEOF
31502
31503 fi
31504 done
31505
31506
31507 if test "$ac_cv_func_vsnprintf" = "yes"; then
31508 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
31509 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
31510 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
31511 echo $ECHO_N "(cached) $ECHO_C" >&6
31512 else
31513
31514 cat >conftest.$ac_ext <<_ACEOF
31515 /* confdefs.h. */
31516 _ACEOF
31517 cat confdefs.h >>conftest.$ac_ext
31518 cat >>conftest.$ac_ext <<_ACEOF
31519 /* end confdefs.h. */
31520
31521 #include <stdio.h>
31522 #include <stdarg.h>
31523
31524 int
31525 main ()
31526 {
31527
31528 char *buf;
31529 va_list ap;
31530 vsnprintf(buf, 10u, "%s", ap);
31531
31532 ;
31533 return 0;
31534 }
31535 _ACEOF
31536 rm -f conftest.$ac_objext
31537 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31538 (eval $ac_compile) 2>conftest.er1
31539 ac_status=$?
31540 grep -v '^ *+' conftest.er1 >conftest.err
31541 rm -f conftest.er1
31542 cat conftest.err >&5
31543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31544 (exit $ac_status); } &&
31545 { ac_try='test -z "$ac_cxx_werror_flag"
31546 || test ! -s conftest.err'
31547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31548 (eval $ac_try) 2>&5
31549 ac_status=$?
31550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31551 (exit $ac_status); }; } &&
31552 { ac_try='test -s conftest.$ac_objext'
31553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31554 (eval $ac_try) 2>&5
31555 ac_status=$?
31556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31557 (exit $ac_status); }; }; then
31558 wx_cv_func_vsnprintf_decl=yes
31559 else
31560 echo "$as_me: failed program was:" >&5
31561 sed 's/^/| /' conftest.$ac_ext >&5
31562
31563
31564 cat >conftest.$ac_ext <<_ACEOF
31565 /* confdefs.h. */
31566 _ACEOF
31567 cat confdefs.h >>conftest.$ac_ext
31568 cat >>conftest.$ac_ext <<_ACEOF
31569 /* end confdefs.h. */
31570
31571 #include <stdio.h>
31572 #include <stdarg.h>
31573 using namespace std;
31574
31575 int
31576 main ()
31577 {
31578
31579 char *buf;
31580 va_list ap;
31581 vsnprintf(buf, 10u, "%s", ap);
31582
31583 ;
31584 return 0;
31585 }
31586 _ACEOF
31587 rm -f conftest.$ac_objext
31588 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31589 (eval $ac_compile) 2>conftest.er1
31590 ac_status=$?
31591 grep -v '^ *+' conftest.er1 >conftest.err
31592 rm -f conftest.er1
31593 cat conftest.err >&5
31594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31595 (exit $ac_status); } &&
31596 { ac_try='test -z "$ac_cxx_werror_flag"
31597 || test ! -s conftest.err'
31598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31599 (eval $ac_try) 2>&5
31600 ac_status=$?
31601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31602 (exit $ac_status); }; } &&
31603 { ac_try='test -s conftest.$ac_objext'
31604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31605 (eval $ac_try) 2>&5
31606 ac_status=$?
31607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31608 (exit $ac_status); }; }; then
31609 wx_cv_func_vsnprintf_decl=yes
31610 else
31611 echo "$as_me: failed program was:" >&5
31612 sed 's/^/| /' conftest.$ac_ext >&5
31613
31614 wx_cv_func_vsnprintf_decl=no
31615
31616 fi
31617 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31618
31619
31620 fi
31621 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31622
31623
31624 fi
31625 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
31626 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
31627
31628 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
31629 cat >>confdefs.h <<\_ACEOF
31630 #define HAVE_VSNPRINTF_DECL 1
31631 _ACEOF
31632
31633 fi
31634 fi
31635
31636 if test "$wxUSE_UNICODE" = yes; then
31637
31638
31639
31640
31641
31642
31643 for ac_func in wputc wputchar putws fputws wprintf vswprintf
31644 do
31645 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31646 echo "$as_me:$LINENO: checking for $ac_func" >&5
31647 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31648 if eval "test \"\${$as_ac_var+set}\" = set"; then
31649 echo $ECHO_N "(cached) $ECHO_C" >&6
31650 else
31651 cat >conftest.$ac_ext <<_ACEOF
31652 /* confdefs.h. */
31653 _ACEOF
31654 cat confdefs.h >>conftest.$ac_ext
31655 cat >>conftest.$ac_ext <<_ACEOF
31656 /* end confdefs.h. */
31657 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31658 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31659 #define $ac_func innocuous_$ac_func
31660
31661 /* System header to define __stub macros and hopefully few prototypes,
31662 which can conflict with char $ac_func (); below.
31663 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31664 <limits.h> exists even on freestanding compilers. */
31665
31666 #ifdef __STDC__
31667 # include <limits.h>
31668 #else
31669 # include <assert.h>
31670 #endif
31671
31672 #undef $ac_func
31673
31674 /* Override any gcc2 internal prototype to avoid an error. */
31675 #ifdef __cplusplus
31676 extern "C"
31677 {
31678 #endif
31679 /* We use char because int might match the return type of a gcc2
31680 builtin and then its argument prototype would still apply. */
31681 char $ac_func ();
31682 /* The GNU C library defines this for functions which it implements
31683 to always fail with ENOSYS. Some functions are actually named
31684 something starting with __ and the normal name is an alias. */
31685 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31686 choke me
31687 #else
31688 char (*f) () = $ac_func;
31689 #endif
31690 #ifdef __cplusplus
31691 }
31692 #endif
31693
31694 int
31695 main ()
31696 {
31697 return f != $ac_func;
31698 ;
31699 return 0;
31700 }
31701 _ACEOF
31702 rm -f conftest.$ac_objext conftest$ac_exeext
31703 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31704 (eval $ac_link) 2>conftest.er1
31705 ac_status=$?
31706 grep -v '^ *+' conftest.er1 >conftest.err
31707 rm -f conftest.er1
31708 cat conftest.err >&5
31709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31710 (exit $ac_status); } &&
31711 { ac_try='test -z "$ac_cxx_werror_flag"
31712 || test ! -s conftest.err'
31713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31714 (eval $ac_try) 2>&5
31715 ac_status=$?
31716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31717 (exit $ac_status); }; } &&
31718 { ac_try='test -s conftest$ac_exeext'
31719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31720 (eval $ac_try) 2>&5
31721 ac_status=$?
31722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31723 (exit $ac_status); }; }; then
31724 eval "$as_ac_var=yes"
31725 else
31726 echo "$as_me: failed program was:" >&5
31727 sed 's/^/| /' conftest.$ac_ext >&5
31728
31729 eval "$as_ac_var=no"
31730 fi
31731 rm -f conftest.err conftest.$ac_objext \
31732 conftest$ac_exeext conftest.$ac_ext
31733 fi
31734 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31735 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31736 if test `eval echo '${'$as_ac_var'}'` = yes; then
31737 cat >>confdefs.h <<_ACEOF
31738 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31739 _ACEOF
31740
31741 fi
31742 done
31743
31744
31745 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
31746 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
31747 cat >conftest.$ac_ext <<_ACEOF
31748 /* confdefs.h. */
31749 _ACEOF
31750 cat confdefs.h >>conftest.$ac_ext
31751 cat >>conftest.$ac_ext <<_ACEOF
31752 /* end confdefs.h. */
31753 #include <wchar.h>
31754 int
31755 main ()
31756 {
31757 &_vsnwprintf;
31758 ;
31759 return 0;
31760 }
31761 _ACEOF
31762 rm -f conftest.$ac_objext
31763 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31764 (eval $ac_compile) 2>conftest.er1
31765 ac_status=$?
31766 grep -v '^ *+' conftest.er1 >conftest.err
31767 rm -f conftest.er1
31768 cat conftest.err >&5
31769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31770 (exit $ac_status); } &&
31771 { ac_try='test -z "$ac_cxx_werror_flag"
31772 || test ! -s conftest.err'
31773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31774 (eval $ac_try) 2>&5
31775 ac_status=$?
31776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31777 (exit $ac_status); }; } &&
31778 { ac_try='test -s conftest.$ac_objext'
31779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31780 (eval $ac_try) 2>&5
31781 ac_status=$?
31782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31783 (exit $ac_status); }; }; then
31784 echo "$as_me:$LINENO: result: yes" >&5
31785 echo "${ECHO_T}yes" >&6
31786 cat >>confdefs.h <<\_ACEOF
31787 #define HAVE__VSNWPRINTF 1
31788 _ACEOF
31789
31790 else
31791 echo "$as_me: failed program was:" >&5
31792 sed 's/^/| /' conftest.$ac_ext >&5
31793
31794 echo "$as_me:$LINENO: result: no" >&5
31795 echo "${ECHO_T}no" >&6
31796 fi
31797 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext;
31798 fi
31799
31800 ac_ext=c
31801 ac_cpp='$CPP $CPPFLAGS'
31802 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31803 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31804 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31805
31806
31807
31808
31809 if test "$TOOLKIT" != "MSW"; then
31810
31811
31812
31813
31814 ac_ext=cc
31815 ac_cpp='$CXXCPP $CPPFLAGS'
31816 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31817 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31818 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31819
31820
31821
31822
31823 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
31824 if test "${with_libiconv_prefix+set}" = set; then
31825 withval="$with_libiconv_prefix"
31826
31827 for dir in `echo "$withval" | tr : ' '`; do
31828 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
31829 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
31830 done
31831
31832 fi;
31833
31834 echo "$as_me:$LINENO: checking for iconv" >&5
31835 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
31836 if test "${am_cv_func_iconv+set}" = set; then
31837 echo $ECHO_N "(cached) $ECHO_C" >&6
31838 else
31839
31840 am_cv_func_iconv="no, consider installing GNU libiconv"
31841 am_cv_lib_iconv=no
31842 cat >conftest.$ac_ext <<_ACEOF
31843 /* confdefs.h. */
31844 _ACEOF
31845 cat confdefs.h >>conftest.$ac_ext
31846 cat >>conftest.$ac_ext <<_ACEOF
31847 /* end confdefs.h. */
31848 #include <stdlib.h>
31849 #include <iconv.h>
31850 int
31851 main ()
31852 {
31853 iconv_t cd = iconv_open("","");
31854 iconv(cd,NULL,NULL,NULL,NULL);
31855 iconv_close(cd);
31856 ;
31857 return 0;
31858 }
31859 _ACEOF
31860 rm -f conftest.$ac_objext conftest$ac_exeext
31861 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31862 (eval $ac_link) 2>conftest.er1
31863 ac_status=$?
31864 grep -v '^ *+' conftest.er1 >conftest.err
31865 rm -f conftest.er1
31866 cat conftest.err >&5
31867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31868 (exit $ac_status); } &&
31869 { ac_try='test -z "$ac_cxx_werror_flag"
31870 || test ! -s conftest.err'
31871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31872 (eval $ac_try) 2>&5
31873 ac_status=$?
31874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31875 (exit $ac_status); }; } &&
31876 { ac_try='test -s conftest$ac_exeext'
31877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31878 (eval $ac_try) 2>&5
31879 ac_status=$?
31880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31881 (exit $ac_status); }; }; then
31882 am_cv_func_iconv=yes
31883 else
31884 echo "$as_me: failed program was:" >&5
31885 sed 's/^/| /' conftest.$ac_ext >&5
31886
31887 fi
31888 rm -f conftest.err conftest.$ac_objext \
31889 conftest$ac_exeext conftest.$ac_ext
31890 if test "$am_cv_func_iconv" != yes; then
31891 am_save_LIBS="$LIBS"
31892 LIBS="$LIBS -liconv"
31893 cat >conftest.$ac_ext <<_ACEOF
31894 /* confdefs.h. */
31895 _ACEOF
31896 cat confdefs.h >>conftest.$ac_ext
31897 cat >>conftest.$ac_ext <<_ACEOF
31898 /* end confdefs.h. */
31899 #include <stdlib.h>
31900 #include <iconv.h>
31901 int
31902 main ()
31903 {
31904 iconv_t cd = iconv_open("","");
31905 iconv(cd,NULL,NULL,NULL,NULL);
31906 iconv_close(cd);
31907 ;
31908 return 0;
31909 }
31910 _ACEOF
31911 rm -f conftest.$ac_objext conftest$ac_exeext
31912 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31913 (eval $ac_link) 2>conftest.er1
31914 ac_status=$?
31915 grep -v '^ *+' conftest.er1 >conftest.err
31916 rm -f conftest.er1
31917 cat conftest.err >&5
31918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31919 (exit $ac_status); } &&
31920 { ac_try='test -z "$ac_cxx_werror_flag"
31921 || test ! -s conftest.err'
31922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31923 (eval $ac_try) 2>&5
31924 ac_status=$?
31925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31926 (exit $ac_status); }; } &&
31927 { ac_try='test -s conftest$ac_exeext'
31928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31929 (eval $ac_try) 2>&5
31930 ac_status=$?
31931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31932 (exit $ac_status); }; }; then
31933 am_cv_lib_iconv=yes
31934 am_cv_func_iconv=yes
31935 else
31936 echo "$as_me: failed program was:" >&5
31937 sed 's/^/| /' conftest.$ac_ext >&5
31938
31939 fi
31940 rm -f conftest.err conftest.$ac_objext \
31941 conftest$ac_exeext conftest.$ac_ext
31942 LIBS="$am_save_LIBS"
31943 fi
31944
31945 fi
31946 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
31947 echo "${ECHO_T}$am_cv_func_iconv" >&6
31948 if test "$am_cv_func_iconv" = yes; then
31949
31950 cat >>confdefs.h <<\_ACEOF
31951 #define HAVE_ICONV 1
31952 _ACEOF
31953
31954 echo "$as_me:$LINENO: checking if iconv needs const" >&5
31955 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
31956 if test "${wx_cv_func_iconv_const+set}" = set; then
31957 echo $ECHO_N "(cached) $ECHO_C" >&6
31958 else
31959 cat >conftest.$ac_ext <<_ACEOF
31960 /* confdefs.h. */
31961 _ACEOF
31962 cat confdefs.h >>conftest.$ac_ext
31963 cat >>conftest.$ac_ext <<_ACEOF
31964 /* end confdefs.h. */
31965
31966 #include <stdlib.h>
31967 #include <iconv.h>
31968 extern
31969 #ifdef __cplusplus
31970 "C"
31971 #endif
31972 #if defined(__STDC__) || defined(__cplusplus)
31973 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
31974 #else
31975 size_t iconv();
31976 #endif
31977
31978 int
31979 main ()
31980 {
31981
31982 ;
31983 return 0;
31984 }
31985 _ACEOF
31986 rm -f conftest.$ac_objext
31987 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31988 (eval $ac_compile) 2>conftest.er1
31989 ac_status=$?
31990 grep -v '^ *+' conftest.er1 >conftest.err
31991 rm -f conftest.er1
31992 cat conftest.err >&5
31993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31994 (exit $ac_status); } &&
31995 { ac_try='test -z "$ac_cxx_werror_flag"
31996 || test ! -s conftest.err'
31997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31998 (eval $ac_try) 2>&5
31999 ac_status=$?
32000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32001 (exit $ac_status); }; } &&
32002 { ac_try='test -s conftest.$ac_objext'
32003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32004 (eval $ac_try) 2>&5
32005 ac_status=$?
32006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32007 (exit $ac_status); }; }; then
32008 wx_cv_func_iconv_const="no"
32009 else
32010 echo "$as_me: failed program was:" >&5
32011 sed 's/^/| /' conftest.$ac_ext >&5
32012
32013 wx_cv_func_iconv_const="yes"
32014
32015 fi
32016 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32017
32018 fi
32019 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
32020 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
32021
32022 iconv_const=
32023 if test "x$wx_cv_func_iconv_const" = "xyes"; then
32024 iconv_const="const"
32025 fi
32026
32027
32028 cat >>confdefs.h <<_ACEOF
32029 #define ICONV_CONST $iconv_const
32030 _ACEOF
32031
32032 fi
32033 LIBICONV=
32034 if test "$am_cv_lib_iconv" = yes; then
32035 LIBICONV="-liconv"
32036 fi
32037
32038
32039 LIBS="$LIBICONV $LIBS"
32040 ac_ext=c
32041 ac_cpp='$CPP $CPPFLAGS'
32042 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32043 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32044 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32045
32046
32047 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
32048
32049 for ac_func in sigaction
32050 do
32051 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32052 echo "$as_me:$LINENO: checking for $ac_func" >&5
32053 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32054 if eval "test \"\${$as_ac_var+set}\" = set"; then
32055 echo $ECHO_N "(cached) $ECHO_C" >&6
32056 else
32057 cat >conftest.$ac_ext <<_ACEOF
32058 /* confdefs.h. */
32059 _ACEOF
32060 cat confdefs.h >>conftest.$ac_ext
32061 cat >>conftest.$ac_ext <<_ACEOF
32062 /* end confdefs.h. */
32063 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32064 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32065 #define $ac_func innocuous_$ac_func
32066
32067 /* System header to define __stub macros and hopefully few prototypes,
32068 which can conflict with char $ac_func (); below.
32069 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32070 <limits.h> exists even on freestanding compilers. */
32071
32072 #ifdef __STDC__
32073 # include <limits.h>
32074 #else
32075 # include <assert.h>
32076 #endif
32077
32078 #undef $ac_func
32079
32080 /* Override any gcc2 internal prototype to avoid an error. */
32081 #ifdef __cplusplus
32082 extern "C"
32083 {
32084 #endif
32085 /* We use char because int might match the return type of a gcc2
32086 builtin and then its argument prototype would still apply. */
32087 char $ac_func ();
32088 /* The GNU C library defines this for functions which it implements
32089 to always fail with ENOSYS. Some functions are actually named
32090 something starting with __ and the normal name is an alias. */
32091 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32092 choke me
32093 #else
32094 char (*f) () = $ac_func;
32095 #endif
32096 #ifdef __cplusplus
32097 }
32098 #endif
32099
32100 int
32101 main ()
32102 {
32103 return f != $ac_func;
32104 ;
32105 return 0;
32106 }
32107 _ACEOF
32108 rm -f conftest.$ac_objext conftest$ac_exeext
32109 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32110 (eval $ac_link) 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_exeext'
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 eval "$as_ac_var=yes"
32131 else
32132 echo "$as_me: failed program was:" >&5
32133 sed 's/^/| /' conftest.$ac_ext >&5
32134
32135 eval "$as_ac_var=no"
32136 fi
32137 rm -f conftest.err conftest.$ac_objext \
32138 conftest$ac_exeext conftest.$ac_ext
32139 fi
32140 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32141 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32142 if test `eval echo '${'$as_ac_var'}'` = yes; then
32143 cat >>confdefs.h <<_ACEOF
32144 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32145 _ACEOF
32146
32147 fi
32148 done
32149
32150
32151 if test "$ac_cv_func_sigaction" = "no"; then
32152 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
32153 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
32154 wxUSE_ON_FATAL_EXCEPTION=no
32155 fi
32156
32157 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
32158
32159
32160 ac_ext=cc
32161 ac_cpp='$CXXCPP $CPPFLAGS'
32162 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32163 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32164 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32165
32166
32167 echo "$as_me:$LINENO: checking for sa_handler type" >&5
32168 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
32169 if test "${wx_cv_type_sa_handler+set}" = set; then
32170 echo $ECHO_N "(cached) $ECHO_C" >&6
32171 else
32172
32173 cat >conftest.$ac_ext <<_ACEOF
32174 /* confdefs.h. */
32175 _ACEOF
32176 cat confdefs.h >>conftest.$ac_ext
32177 cat >>conftest.$ac_ext <<_ACEOF
32178 /* end confdefs.h. */
32179 #include <signal.h>
32180 int
32181 main ()
32182 {
32183
32184 extern void testSigHandler(int);
32185
32186 struct sigaction sa;
32187 sa.sa_handler = testSigHandler;
32188
32189 ;
32190 return 0;
32191 }
32192 _ACEOF
32193 rm -f conftest.$ac_objext
32194 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32195 (eval $ac_compile) 2>conftest.er1
32196 ac_status=$?
32197 grep -v '^ *+' conftest.er1 >conftest.err
32198 rm -f conftest.er1
32199 cat conftest.err >&5
32200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32201 (exit $ac_status); } &&
32202 { ac_try='test -z "$ac_cxx_werror_flag"
32203 || test ! -s conftest.err'
32204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32205 (eval $ac_try) 2>&5
32206 ac_status=$?
32207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32208 (exit $ac_status); }; } &&
32209 { ac_try='test -s conftest.$ac_objext'
32210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32211 (eval $ac_try) 2>&5
32212 ac_status=$?
32213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32214 (exit $ac_status); }; }; then
32215
32216 wx_cv_type_sa_handler=int
32217
32218 else
32219 echo "$as_me: failed program was:" >&5
32220 sed 's/^/| /' conftest.$ac_ext >&5
32221
32222
32223 wx_cv_type_sa_handler=void
32224
32225 fi
32226 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32227
32228 fi
32229 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
32230 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
32231
32232 ac_ext=c
32233 ac_cpp='$CPP $CPPFLAGS'
32234 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32235 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32236 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32237
32238
32239 cat >>confdefs.h <<_ACEOF
32240 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
32241 _ACEOF
32242
32243 fi
32244 fi
32245
32246 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
32247
32248
32249 ac_ext=cc
32250 ac_cpp='$CXXCPP $CPPFLAGS'
32251 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32252 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32253 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32254
32255
32256 echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
32257 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6
32258 if test "${wx_cv_func_backtrace+set}" = set; then
32259 echo $ECHO_N "(cached) $ECHO_C" >&6
32260 else
32261
32262 cat >conftest.$ac_ext <<_ACEOF
32263 /* confdefs.h. */
32264 _ACEOF
32265 cat confdefs.h >>conftest.$ac_ext
32266 cat >>conftest.$ac_ext <<_ACEOF
32267 /* end confdefs.h. */
32268 #include <execinfo.h>
32269 int
32270 main ()
32271 {
32272
32273 void *trace[1];
32274 char **messages;
32275
32276 backtrace(trace, 1);
32277 messages = backtrace_symbols(trace, 1);
32278
32279 ;
32280 return 0;
32281 }
32282 _ACEOF
32283 rm -f conftest.$ac_objext
32284 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32285 (eval $ac_compile) 2>conftest.er1
32286 ac_status=$?
32287 grep -v '^ *+' conftest.er1 >conftest.err
32288 rm -f conftest.er1
32289 cat conftest.err >&5
32290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32291 (exit $ac_status); } &&
32292 { ac_try='test -z "$ac_cxx_werror_flag"
32293 || test ! -s conftest.err'
32294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32295 (eval $ac_try) 2>&5
32296 ac_status=$?
32297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32298 (exit $ac_status); }; } &&
32299 { ac_try='test -s conftest.$ac_objext'
32300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32301 (eval $ac_try) 2>&5
32302 ac_status=$?
32303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32304 (exit $ac_status); }; }; then
32305 wx_cv_func_backtrace=yes
32306 else
32307 echo "$as_me: failed program was:" >&5
32308 sed 's/^/| /' conftest.$ac_ext >&5
32309
32310 wx_cv_func_backtrace=no
32311
32312 fi
32313 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32314
32315
32316 fi
32317 echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
32318 echo "${ECHO_T}$wx_cv_func_backtrace" >&6
32319
32320
32321 if test "$wx_cv_func_backtrace" = "no"; then
32322 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
32323 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
32324 wxUSE_STACKWALKER=no
32325 else
32326 echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
32327 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6
32328 if test "${wx_cv_func_cxa_demangle+set}" = set; then
32329 echo $ECHO_N "(cached) $ECHO_C" >&6
32330 else
32331
32332 cat >conftest.$ac_ext <<_ACEOF
32333 /* confdefs.h. */
32334 _ACEOF
32335 cat confdefs.h >>conftest.$ac_ext
32336 cat >>conftest.$ac_ext <<_ACEOF
32337 /* end confdefs.h. */
32338 #include <cxxabi.h>
32339 int
32340 main ()
32341 {
32342
32343 int rc;
32344 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
32345
32346 ;
32347 return 0;
32348 }
32349 _ACEOF
32350 rm -f conftest.$ac_objext conftest$ac_exeext
32351 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32352 (eval $ac_link) 2>conftest.er1
32353 ac_status=$?
32354 grep -v '^ *+' conftest.er1 >conftest.err
32355 rm -f conftest.er1
32356 cat conftest.err >&5
32357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32358 (exit $ac_status); } &&
32359 { ac_try='test -z "$ac_cxx_werror_flag"
32360 || test ! -s conftest.err'
32361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32362 (eval $ac_try) 2>&5
32363 ac_status=$?
32364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32365 (exit $ac_status); }; } &&
32366 { ac_try='test -s conftest$ac_exeext'
32367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32368 (eval $ac_try) 2>&5
32369 ac_status=$?
32370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32371 (exit $ac_status); }; }; then
32372 wx_cv_func_cxa_demangle=yes
32373 else
32374 echo "$as_me: failed program was:" >&5
32375 sed 's/^/| /' conftest.$ac_ext >&5
32376
32377 wx_cv_func_cxa_demangle=no
32378
32379 fi
32380 rm -f conftest.err conftest.$ac_objext \
32381 conftest$ac_exeext conftest.$ac_ext
32382
32383
32384 fi
32385 echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
32386 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6
32387
32388 if test "$wx_cv_func_cxa_demangle" = "yes"; then
32389 cat >>confdefs.h <<\_ACEOF
32390 #define HAVE_CXA_DEMANGLE 1
32391 _ACEOF
32392
32393 fi
32394 fi
32395
32396 ac_ext=c
32397 ac_cpp='$CPP $CPPFLAGS'
32398 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32399 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32400 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32401
32402 fi
32403
32404 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != "1" -a "$USE_UNIX" != "1"; then
32405 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
32406 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
32407 wxUSE_STACKWALKER=no
32408 fi
32409
32410
32411
32412
32413 for ac_func in mkstemp mktemp
32414 do
32415 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32416 echo "$as_me:$LINENO: checking for $ac_func" >&5
32417 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32418 if eval "test \"\${$as_ac_var+set}\" = set"; then
32419 echo $ECHO_N "(cached) $ECHO_C" >&6
32420 else
32421 cat >conftest.$ac_ext <<_ACEOF
32422 /* confdefs.h. */
32423 _ACEOF
32424 cat confdefs.h >>conftest.$ac_ext
32425 cat >>conftest.$ac_ext <<_ACEOF
32426 /* end confdefs.h. */
32427 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32428 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32429 #define $ac_func innocuous_$ac_func
32430
32431 /* System header to define __stub macros and hopefully few prototypes,
32432 which can conflict with char $ac_func (); below.
32433 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32434 <limits.h> exists even on freestanding compilers. */
32435
32436 #ifdef __STDC__
32437 # include <limits.h>
32438 #else
32439 # include <assert.h>
32440 #endif
32441
32442 #undef $ac_func
32443
32444 /* Override any gcc2 internal prototype to avoid an error. */
32445 #ifdef __cplusplus
32446 extern "C"
32447 {
32448 #endif
32449 /* We use char because int might match the return type of a gcc2
32450 builtin and then its argument prototype would still apply. */
32451 char $ac_func ();
32452 /* The GNU C library defines this for functions which it implements
32453 to always fail with ENOSYS. Some functions are actually named
32454 something starting with __ and the normal name is an alias. */
32455 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32456 choke me
32457 #else
32458 char (*f) () = $ac_func;
32459 #endif
32460 #ifdef __cplusplus
32461 }
32462 #endif
32463
32464 int
32465 main ()
32466 {
32467 return f != $ac_func;
32468 ;
32469 return 0;
32470 }
32471 _ACEOF
32472 rm -f conftest.$ac_objext conftest$ac_exeext
32473 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32474 (eval $ac_link) 2>conftest.er1
32475 ac_status=$?
32476 grep -v '^ *+' conftest.er1 >conftest.err
32477 rm -f conftest.er1
32478 cat conftest.err >&5
32479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32480 (exit $ac_status); } &&
32481 { ac_try='test -z "$ac_c_werror_flag"
32482 || test ! -s conftest.err'
32483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32484 (eval $ac_try) 2>&5
32485 ac_status=$?
32486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32487 (exit $ac_status); }; } &&
32488 { ac_try='test -s conftest$ac_exeext'
32489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32490 (eval $ac_try) 2>&5
32491 ac_status=$?
32492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32493 (exit $ac_status); }; }; then
32494 eval "$as_ac_var=yes"
32495 else
32496 echo "$as_me: failed program was:" >&5
32497 sed 's/^/| /' conftest.$ac_ext >&5
32498
32499 eval "$as_ac_var=no"
32500 fi
32501 rm -f conftest.err conftest.$ac_objext \
32502 conftest$ac_exeext conftest.$ac_ext
32503 fi
32504 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32505 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32506 if test `eval echo '${'$as_ac_var'}'` = yes; then
32507 cat >>confdefs.h <<_ACEOF
32508 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32509 _ACEOF
32510 break
32511 fi
32512 done
32513
32514
32515 echo "$as_me:$LINENO: checking for statfs" >&5
32516 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
32517 if test "${wx_cv_func_statfs+set}" = set; then
32518 echo $ECHO_N "(cached) $ECHO_C" >&6
32519 else
32520 cat >conftest.$ac_ext <<_ACEOF
32521 /* confdefs.h. */
32522 _ACEOF
32523 cat confdefs.h >>conftest.$ac_ext
32524 cat >>conftest.$ac_ext <<_ACEOF
32525 /* end confdefs.h. */
32526
32527 #if defined(__BSD__)
32528 #include <sys/param.h>
32529 #include <sys/mount.h>
32530 #else
32531 #include <sys/vfs.h>
32532 #endif
32533
32534 int
32535 main ()
32536 {
32537
32538 long l;
32539 struct statfs fs;
32540 statfs("/", &fs);
32541 l = fs.f_bsize;
32542 l += fs.f_blocks;
32543 l += fs.f_bavail;
32544
32545 ;
32546 return 0;
32547 }
32548 _ACEOF
32549 rm -f conftest.$ac_objext
32550 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32551 (eval $ac_compile) 2>conftest.er1
32552 ac_status=$?
32553 grep -v '^ *+' conftest.er1 >conftest.err
32554 rm -f conftest.er1
32555 cat conftest.err >&5
32556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32557 (exit $ac_status); } &&
32558 { ac_try='test -z "$ac_c_werror_flag"
32559 || test ! -s conftest.err'
32560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32561 (eval $ac_try) 2>&5
32562 ac_status=$?
32563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32564 (exit $ac_status); }; } &&
32565 { ac_try='test -s conftest.$ac_objext'
32566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32567 (eval $ac_try) 2>&5
32568 ac_status=$?
32569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32570 (exit $ac_status); }; }; then
32571
32572 wx_cv_func_statfs=yes
32573
32574 else
32575 echo "$as_me: failed program was:" >&5
32576 sed 's/^/| /' conftest.$ac_ext >&5
32577
32578
32579 wx_cv_func_statfs=no
32580
32581
32582 fi
32583 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32584
32585 fi
32586 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
32587 echo "${ECHO_T}$wx_cv_func_statfs" >&6
32588
32589 if test "$wx_cv_func_statfs" = "yes"; then
32590 wx_cv_type_statvfs_t="struct statfs"
32591 cat >>confdefs.h <<\_ACEOF
32592 #define HAVE_STATFS 1
32593 _ACEOF
32594
32595 else
32596 echo "$as_me:$LINENO: checking for statvfs" >&5
32597 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
32598 if test "${wx_cv_func_statvfs+set}" = set; then
32599 echo $ECHO_N "(cached) $ECHO_C" >&6
32600 else
32601 cat >conftest.$ac_ext <<_ACEOF
32602 /* confdefs.h. */
32603 _ACEOF
32604 cat confdefs.h >>conftest.$ac_ext
32605 cat >>conftest.$ac_ext <<_ACEOF
32606 /* end confdefs.h. */
32607
32608 #include <stddef.h>
32609 #include <sys/statvfs.h>
32610
32611 int
32612 main ()
32613 {
32614
32615 statvfs("/", NULL);
32616
32617 ;
32618 return 0;
32619 }
32620 _ACEOF
32621 rm -f conftest.$ac_objext
32622 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32623 (eval $ac_compile) 2>conftest.er1
32624 ac_status=$?
32625 grep -v '^ *+' conftest.er1 >conftest.err
32626 rm -f conftest.er1
32627 cat conftest.err >&5
32628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32629 (exit $ac_status); } &&
32630 { ac_try='test -z "$ac_c_werror_flag"
32631 || test ! -s conftest.err'
32632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32633 (eval $ac_try) 2>&5
32634 ac_status=$?
32635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32636 (exit $ac_status); }; } &&
32637 { ac_try='test -s conftest.$ac_objext'
32638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32639 (eval $ac_try) 2>&5
32640 ac_status=$?
32641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32642 (exit $ac_status); }; }; then
32643 wx_cv_func_statvfs=yes
32644 else
32645 echo "$as_me: failed program was:" >&5
32646 sed 's/^/| /' conftest.$ac_ext >&5
32647
32648 wx_cv_func_statvfs=no
32649
32650 fi
32651 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32652
32653 fi
32654 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
32655 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
32656
32657 if test "$wx_cv_func_statvfs" = "yes"; then
32658
32659
32660 ac_ext=cc
32661 ac_cpp='$CXXCPP $CPPFLAGS'
32662 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32663 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32664 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32665
32666
32667 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
32668 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
32669 if test "${wx_cv_type_statvfs_t+set}" = set; then
32670 echo $ECHO_N "(cached) $ECHO_C" >&6
32671 else
32672 cat >conftest.$ac_ext <<_ACEOF
32673 /* confdefs.h. */
32674 _ACEOF
32675 cat confdefs.h >>conftest.$ac_ext
32676 cat >>conftest.$ac_ext <<_ACEOF
32677 /* end confdefs.h. */
32678
32679 #include <sys/statvfs.h>
32680
32681 int
32682 main ()
32683 {
32684
32685 long l;
32686 statvfs_t fs;
32687 statvfs("/", &fs);
32688 l = fs.f_bsize;
32689 l += fs.f_blocks;
32690 l += fs.f_bavail;
32691
32692 ;
32693 return 0;
32694 }
32695 _ACEOF
32696 rm -f conftest.$ac_objext
32697 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32698 (eval $ac_compile) 2>conftest.er1
32699 ac_status=$?
32700 grep -v '^ *+' conftest.er1 >conftest.err
32701 rm -f conftest.er1
32702 cat conftest.err >&5
32703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32704 (exit $ac_status); } &&
32705 { ac_try='test -z "$ac_cxx_werror_flag"
32706 || test ! -s conftest.err'
32707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32708 (eval $ac_try) 2>&5
32709 ac_status=$?
32710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32711 (exit $ac_status); }; } &&
32712 { ac_try='test -s conftest.$ac_objext'
32713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32714 (eval $ac_try) 2>&5
32715 ac_status=$?
32716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32717 (exit $ac_status); }; }; then
32718 wx_cv_type_statvfs_t=statvfs_t
32719 else
32720 echo "$as_me: failed program was:" >&5
32721 sed 's/^/| /' conftest.$ac_ext >&5
32722
32723
32724 cat >conftest.$ac_ext <<_ACEOF
32725 /* confdefs.h. */
32726 _ACEOF
32727 cat confdefs.h >>conftest.$ac_ext
32728 cat >>conftest.$ac_ext <<_ACEOF
32729 /* end confdefs.h. */
32730
32731 #include <sys/statvfs.h>
32732
32733 int
32734 main ()
32735 {
32736
32737 long l;
32738 struct statvfs fs;
32739 statvfs("/", &fs);
32740 l = fs.f_bsize;
32741 l += fs.f_blocks;
32742 l += fs.f_bavail;
32743
32744 ;
32745 return 0;
32746 }
32747 _ACEOF
32748 rm -f conftest.$ac_objext
32749 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32750 (eval $ac_compile) 2>conftest.er1
32751 ac_status=$?
32752 grep -v '^ *+' conftest.er1 >conftest.err
32753 rm -f conftest.er1
32754 cat conftest.err >&5
32755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32756 (exit $ac_status); } &&
32757 { ac_try='test -z "$ac_cxx_werror_flag"
32758 || test ! -s conftest.err'
32759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32760 (eval $ac_try) 2>&5
32761 ac_status=$?
32762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32763 (exit $ac_status); }; } &&
32764 { ac_try='test -s conftest.$ac_objext'
32765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32766 (eval $ac_try) 2>&5
32767 ac_status=$?
32768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32769 (exit $ac_status); }; }; then
32770 wx_cv_type_statvfs_t="struct statvfs"
32771 else
32772 echo "$as_me: failed program was:" >&5
32773 sed 's/^/| /' conftest.$ac_ext >&5
32774
32775 wx_cv_type_statvfs_t="unknown"
32776
32777 fi
32778 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32779
32780
32781 fi
32782 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32783
32784 fi
32785 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
32786 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
32787
32788 ac_ext=c
32789 ac_cpp='$CPP $CPPFLAGS'
32790 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32791 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32792 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32793
32794
32795 if test "$wx_cv_type_statvfs_t" != "unknown"; then
32796 cat >>confdefs.h <<\_ACEOF
32797 #define HAVE_STATVFS 1
32798 _ACEOF
32799
32800 fi
32801 else
32802 wx_cv_type_statvfs_t="unknown"
32803 fi
32804 fi
32805
32806 if test "$wx_cv_type_statvfs_t" != "unknown"; then
32807 cat >>confdefs.h <<_ACEOF
32808 #define WX_STATFS_T $wx_cv_type_statvfs_t
32809 _ACEOF
32810
32811 else
32812 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
32813 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
32814 fi
32815
32816 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
32817
32818
32819 for ac_func in fcntl flock
32820 do
32821 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32822 echo "$as_me:$LINENO: checking for $ac_func" >&5
32823 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32824 if eval "test \"\${$as_ac_var+set}\" = set"; then
32825 echo $ECHO_N "(cached) $ECHO_C" >&6
32826 else
32827 cat >conftest.$ac_ext <<_ACEOF
32828 /* confdefs.h. */
32829 _ACEOF
32830 cat confdefs.h >>conftest.$ac_ext
32831 cat >>conftest.$ac_ext <<_ACEOF
32832 /* end confdefs.h. */
32833 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32834 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32835 #define $ac_func innocuous_$ac_func
32836
32837 /* System header to define __stub macros and hopefully few prototypes,
32838 which can conflict with char $ac_func (); below.
32839 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32840 <limits.h> exists even on freestanding compilers. */
32841
32842 #ifdef __STDC__
32843 # include <limits.h>
32844 #else
32845 # include <assert.h>
32846 #endif
32847
32848 #undef $ac_func
32849
32850 /* Override any gcc2 internal prototype to avoid an error. */
32851 #ifdef __cplusplus
32852 extern "C"
32853 {
32854 #endif
32855 /* We use char because int might match the return type of a gcc2
32856 builtin and then its argument prototype would still apply. */
32857 char $ac_func ();
32858 /* The GNU C library defines this for functions which it implements
32859 to always fail with ENOSYS. Some functions are actually named
32860 something starting with __ and the normal name is an alias. */
32861 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32862 choke me
32863 #else
32864 char (*f) () = $ac_func;
32865 #endif
32866 #ifdef __cplusplus
32867 }
32868 #endif
32869
32870 int
32871 main ()
32872 {
32873 return f != $ac_func;
32874 ;
32875 return 0;
32876 }
32877 _ACEOF
32878 rm -f conftest.$ac_objext conftest$ac_exeext
32879 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32880 (eval $ac_link) 2>conftest.er1
32881 ac_status=$?
32882 grep -v '^ *+' conftest.er1 >conftest.err
32883 rm -f conftest.er1
32884 cat conftest.err >&5
32885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32886 (exit $ac_status); } &&
32887 { ac_try='test -z "$ac_c_werror_flag"
32888 || test ! -s conftest.err'
32889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32890 (eval $ac_try) 2>&5
32891 ac_status=$?
32892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32893 (exit $ac_status); }; } &&
32894 { ac_try='test -s conftest$ac_exeext'
32895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32896 (eval $ac_try) 2>&5
32897 ac_status=$?
32898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32899 (exit $ac_status); }; }; then
32900 eval "$as_ac_var=yes"
32901 else
32902 echo "$as_me: failed program was:" >&5
32903 sed 's/^/| /' conftest.$ac_ext >&5
32904
32905 eval "$as_ac_var=no"
32906 fi
32907 rm -f conftest.err conftest.$ac_objext \
32908 conftest$ac_exeext conftest.$ac_ext
32909 fi
32910 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32911 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32912 if test `eval echo '${'$as_ac_var'}'` = yes; then
32913 cat >>confdefs.h <<_ACEOF
32914 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32915 _ACEOF
32916 break
32917 fi
32918 done
32919
32920
32921 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
32922 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
32923 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
32924 wxUSE_SNGLINST_CHECKER=no
32925 fi
32926 fi
32927
32928
32929 for ac_func in timegm
32930 do
32931 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32932 echo "$as_me:$LINENO: checking for $ac_func" >&5
32933 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32934 if eval "test \"\${$as_ac_var+set}\" = set"; then
32935 echo $ECHO_N "(cached) $ECHO_C" >&6
32936 else
32937 cat >conftest.$ac_ext <<_ACEOF
32938 /* confdefs.h. */
32939 _ACEOF
32940 cat confdefs.h >>conftest.$ac_ext
32941 cat >>conftest.$ac_ext <<_ACEOF
32942 /* end confdefs.h. */
32943 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32944 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32945 #define $ac_func innocuous_$ac_func
32946
32947 /* System header to define __stub macros and hopefully few prototypes,
32948 which can conflict with char $ac_func (); below.
32949 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32950 <limits.h> exists even on freestanding compilers. */
32951
32952 #ifdef __STDC__
32953 # include <limits.h>
32954 #else
32955 # include <assert.h>
32956 #endif
32957
32958 #undef $ac_func
32959
32960 /* Override any gcc2 internal prototype to avoid an error. */
32961 #ifdef __cplusplus
32962 extern "C"
32963 {
32964 #endif
32965 /* We use char because int might match the return type of a gcc2
32966 builtin and then its argument prototype would still apply. */
32967 char $ac_func ();
32968 /* The GNU C library defines this for functions which it implements
32969 to always fail with ENOSYS. Some functions are actually named
32970 something starting with __ and the normal name is an alias. */
32971 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32972 choke me
32973 #else
32974 char (*f) () = $ac_func;
32975 #endif
32976 #ifdef __cplusplus
32977 }
32978 #endif
32979
32980 int
32981 main ()
32982 {
32983 return f != $ac_func;
32984 ;
32985 return 0;
32986 }
32987 _ACEOF
32988 rm -f conftest.$ac_objext conftest$ac_exeext
32989 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32990 (eval $ac_link) 2>conftest.er1
32991 ac_status=$?
32992 grep -v '^ *+' conftest.er1 >conftest.err
32993 rm -f conftest.er1
32994 cat conftest.err >&5
32995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32996 (exit $ac_status); } &&
32997 { ac_try='test -z "$ac_c_werror_flag"
32998 || test ! -s conftest.err'
32999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33000 (eval $ac_try) 2>&5
33001 ac_status=$?
33002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33003 (exit $ac_status); }; } &&
33004 { ac_try='test -s conftest$ac_exeext'
33005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33006 (eval $ac_try) 2>&5
33007 ac_status=$?
33008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33009 (exit $ac_status); }; }; then
33010 eval "$as_ac_var=yes"
33011 else
33012 echo "$as_me: failed program was:" >&5
33013 sed 's/^/| /' conftest.$ac_ext >&5
33014
33015 eval "$as_ac_var=no"
33016 fi
33017 rm -f conftest.err conftest.$ac_objext \
33018 conftest$ac_exeext conftest.$ac_ext
33019 fi
33020 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33021 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33022 if test `eval echo '${'$as_ac_var'}'` = yes; then
33023 cat >>confdefs.h <<_ACEOF
33024 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33025 _ACEOF
33026
33027 fi
33028 done
33029
33030
33031
33032
33033 for ac_func in putenv setenv
33034 do
33035 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33036 echo "$as_me:$LINENO: checking for $ac_func" >&5
33037 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33038 if eval "test \"\${$as_ac_var+set}\" = set"; then
33039 echo $ECHO_N "(cached) $ECHO_C" >&6
33040 else
33041 cat >conftest.$ac_ext <<_ACEOF
33042 /* confdefs.h. */
33043 _ACEOF
33044 cat confdefs.h >>conftest.$ac_ext
33045 cat >>conftest.$ac_ext <<_ACEOF
33046 /* end confdefs.h. */
33047 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33048 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33049 #define $ac_func innocuous_$ac_func
33050
33051 /* System header to define __stub macros and hopefully few prototypes,
33052 which can conflict with char $ac_func (); below.
33053 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33054 <limits.h> exists even on freestanding compilers. */
33055
33056 #ifdef __STDC__
33057 # include <limits.h>
33058 #else
33059 # include <assert.h>
33060 #endif
33061
33062 #undef $ac_func
33063
33064 /* Override any gcc2 internal prototype to avoid an error. */
33065 #ifdef __cplusplus
33066 extern "C"
33067 {
33068 #endif
33069 /* We use char because int might match the return type of a gcc2
33070 builtin and then its argument prototype would still apply. */
33071 char $ac_func ();
33072 /* The GNU C library defines this for functions which it implements
33073 to always fail with ENOSYS. Some functions are actually named
33074 something starting with __ and the normal name is an alias. */
33075 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33076 choke me
33077 #else
33078 char (*f) () = $ac_func;
33079 #endif
33080 #ifdef __cplusplus
33081 }
33082 #endif
33083
33084 int
33085 main ()
33086 {
33087 return f != $ac_func;
33088 ;
33089 return 0;
33090 }
33091 _ACEOF
33092 rm -f conftest.$ac_objext conftest$ac_exeext
33093 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33094 (eval $ac_link) 2>conftest.er1
33095 ac_status=$?
33096 grep -v '^ *+' conftest.er1 >conftest.err
33097 rm -f conftest.er1
33098 cat conftest.err >&5
33099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33100 (exit $ac_status); } &&
33101 { ac_try='test -z "$ac_c_werror_flag"
33102 || test ! -s conftest.err'
33103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33104 (eval $ac_try) 2>&5
33105 ac_status=$?
33106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33107 (exit $ac_status); }; } &&
33108 { ac_try='test -s conftest$ac_exeext'
33109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33110 (eval $ac_try) 2>&5
33111 ac_status=$?
33112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33113 (exit $ac_status); }; }; then
33114 eval "$as_ac_var=yes"
33115 else
33116 echo "$as_me: failed program was:" >&5
33117 sed 's/^/| /' conftest.$ac_ext >&5
33118
33119 eval "$as_ac_var=no"
33120 fi
33121 rm -f conftest.err conftest.$ac_objext \
33122 conftest$ac_exeext conftest.$ac_ext
33123 fi
33124 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33125 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33126 if test `eval echo '${'$as_ac_var'}'` = yes; then
33127 cat >>confdefs.h <<_ACEOF
33128 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33129 _ACEOF
33130 break
33131 fi
33132 done
33133
33134
33135 HAVE_SOME_SLEEP_FUNC=0
33136 if test "$USE_BEOS" = 1; then
33137 cat >>confdefs.h <<\_ACEOF
33138 #define HAVE_SLEEP 1
33139 _ACEOF
33140
33141 HAVE_SOME_SLEEP_FUNC=1
33142 fi
33143
33144 if test "$USE_DARWIN" = 1; then
33145 cat >>confdefs.h <<\_ACEOF
33146 #define HAVE_USLEEP 1
33147 _ACEOF
33148
33149 HAVE_SOME_SLEEP_FUNC=1
33150 fi
33151
33152 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
33153 POSIX4_LINK=
33154
33155 for ac_func in nanosleep
33156 do
33157 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33158 echo "$as_me:$LINENO: checking for $ac_func" >&5
33159 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33160 if eval "test \"\${$as_ac_var+set}\" = set"; then
33161 echo $ECHO_N "(cached) $ECHO_C" >&6
33162 else
33163 cat >conftest.$ac_ext <<_ACEOF
33164 /* confdefs.h. */
33165 _ACEOF
33166 cat confdefs.h >>conftest.$ac_ext
33167 cat >>conftest.$ac_ext <<_ACEOF
33168 /* end confdefs.h. */
33169 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33170 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33171 #define $ac_func innocuous_$ac_func
33172
33173 /* System header to define __stub macros and hopefully few prototypes,
33174 which can conflict with char $ac_func (); below.
33175 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33176 <limits.h> exists even on freestanding compilers. */
33177
33178 #ifdef __STDC__
33179 # include <limits.h>
33180 #else
33181 # include <assert.h>
33182 #endif
33183
33184 #undef $ac_func
33185
33186 /* Override any gcc2 internal prototype to avoid an error. */
33187 #ifdef __cplusplus
33188 extern "C"
33189 {
33190 #endif
33191 /* We use char because int might match the return type of a gcc2
33192 builtin and then its argument prototype would still apply. */
33193 char $ac_func ();
33194 /* The GNU C library defines this for functions which it implements
33195 to always fail with ENOSYS. Some functions are actually named
33196 something starting with __ and the normal name is an alias. */
33197 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33198 choke me
33199 #else
33200 char (*f) () = $ac_func;
33201 #endif
33202 #ifdef __cplusplus
33203 }
33204 #endif
33205
33206 int
33207 main ()
33208 {
33209 return f != $ac_func;
33210 ;
33211 return 0;
33212 }
33213 _ACEOF
33214 rm -f conftest.$ac_objext conftest$ac_exeext
33215 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33216 (eval $ac_link) 2>conftest.er1
33217 ac_status=$?
33218 grep -v '^ *+' conftest.er1 >conftest.err
33219 rm -f conftest.er1
33220 cat conftest.err >&5
33221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33222 (exit $ac_status); } &&
33223 { ac_try='test -z "$ac_c_werror_flag"
33224 || test ! -s conftest.err'
33225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33226 (eval $ac_try) 2>&5
33227 ac_status=$?
33228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33229 (exit $ac_status); }; } &&
33230 { ac_try='test -s conftest$ac_exeext'
33231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33232 (eval $ac_try) 2>&5
33233 ac_status=$?
33234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33235 (exit $ac_status); }; }; then
33236 eval "$as_ac_var=yes"
33237 else
33238 echo "$as_me: failed program was:" >&5
33239 sed 's/^/| /' conftest.$ac_ext >&5
33240
33241 eval "$as_ac_var=no"
33242 fi
33243 rm -f conftest.err conftest.$ac_objext \
33244 conftest$ac_exeext conftest.$ac_ext
33245 fi
33246 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33247 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33248 if test `eval echo '${'$as_ac_var'}'` = yes; then
33249 cat >>confdefs.h <<_ACEOF
33250 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33251 _ACEOF
33252 cat >>confdefs.h <<\_ACEOF
33253 #define HAVE_NANOSLEEP 1
33254 _ACEOF
33255
33256 else
33257
33258 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
33259 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
33260 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
33261 echo $ECHO_N "(cached) $ECHO_C" >&6
33262 else
33263 ac_check_lib_save_LIBS=$LIBS
33264 LIBS="-lposix4 $LIBS"
33265 cat >conftest.$ac_ext <<_ACEOF
33266 /* confdefs.h. */
33267 _ACEOF
33268 cat confdefs.h >>conftest.$ac_ext
33269 cat >>conftest.$ac_ext <<_ACEOF
33270 /* end confdefs.h. */
33271
33272 /* Override any gcc2 internal prototype to avoid an error. */
33273 #ifdef __cplusplus
33274 extern "C"
33275 #endif
33276 /* We use char because int might match the return type of a gcc2
33277 builtin and then its argument prototype would still apply. */
33278 char nanosleep ();
33279 int
33280 main ()
33281 {
33282 nanosleep ();
33283 ;
33284 return 0;
33285 }
33286 _ACEOF
33287 rm -f conftest.$ac_objext conftest$ac_exeext
33288 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33289 (eval $ac_link) 2>conftest.er1
33290 ac_status=$?
33291 grep -v '^ *+' conftest.er1 >conftest.err
33292 rm -f conftest.er1
33293 cat conftest.err >&5
33294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33295 (exit $ac_status); } &&
33296 { ac_try='test -z "$ac_c_werror_flag"
33297 || test ! -s conftest.err'
33298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33299 (eval $ac_try) 2>&5
33300 ac_status=$?
33301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33302 (exit $ac_status); }; } &&
33303 { ac_try='test -s conftest$ac_exeext'
33304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33305 (eval $ac_try) 2>&5
33306 ac_status=$?
33307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33308 (exit $ac_status); }; }; then
33309 ac_cv_lib_posix4_nanosleep=yes
33310 else
33311 echo "$as_me: failed program was:" >&5
33312 sed 's/^/| /' conftest.$ac_ext >&5
33313
33314 ac_cv_lib_posix4_nanosleep=no
33315 fi
33316 rm -f conftest.err conftest.$ac_objext \
33317 conftest$ac_exeext conftest.$ac_ext
33318 LIBS=$ac_check_lib_save_LIBS
33319 fi
33320 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
33321 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
33322 if test $ac_cv_lib_posix4_nanosleep = yes; then
33323
33324 cat >>confdefs.h <<\_ACEOF
33325 #define HAVE_NANOSLEEP 1
33326 _ACEOF
33327
33328 POSIX4_LINK=" -lposix4"
33329
33330 else
33331
33332
33333 for ac_func in usleep
33334 do
33335 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33336 echo "$as_me:$LINENO: checking for $ac_func" >&5
33337 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33338 if eval "test \"\${$as_ac_var+set}\" = set"; then
33339 echo $ECHO_N "(cached) $ECHO_C" >&6
33340 else
33341 cat >conftest.$ac_ext <<_ACEOF
33342 /* confdefs.h. */
33343 _ACEOF
33344 cat confdefs.h >>conftest.$ac_ext
33345 cat >>conftest.$ac_ext <<_ACEOF
33346 /* end confdefs.h. */
33347 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33348 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33349 #define $ac_func innocuous_$ac_func
33350
33351 /* System header to define __stub macros and hopefully few prototypes,
33352 which can conflict with char $ac_func (); below.
33353 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33354 <limits.h> exists even on freestanding compilers. */
33355
33356 #ifdef __STDC__
33357 # include <limits.h>
33358 #else
33359 # include <assert.h>
33360 #endif
33361
33362 #undef $ac_func
33363
33364 /* Override any gcc2 internal prototype to avoid an error. */
33365 #ifdef __cplusplus
33366 extern "C"
33367 {
33368 #endif
33369 /* We use char because int might match the return type of a gcc2
33370 builtin and then its argument prototype would still apply. */
33371 char $ac_func ();
33372 /* The GNU C library defines this for functions which it implements
33373 to always fail with ENOSYS. Some functions are actually named
33374 something starting with __ and the normal name is an alias. */
33375 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33376 choke me
33377 #else
33378 char (*f) () = $ac_func;
33379 #endif
33380 #ifdef __cplusplus
33381 }
33382 #endif
33383
33384 int
33385 main ()
33386 {
33387 return f != $ac_func;
33388 ;
33389 return 0;
33390 }
33391 _ACEOF
33392 rm -f conftest.$ac_objext conftest$ac_exeext
33393 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33394 (eval $ac_link) 2>conftest.er1
33395 ac_status=$?
33396 grep -v '^ *+' conftest.er1 >conftest.err
33397 rm -f conftest.er1
33398 cat conftest.err >&5
33399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33400 (exit $ac_status); } &&
33401 { ac_try='test -z "$ac_c_werror_flag"
33402 || test ! -s conftest.err'
33403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33404 (eval $ac_try) 2>&5
33405 ac_status=$?
33406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33407 (exit $ac_status); }; } &&
33408 { ac_try='test -s conftest$ac_exeext'
33409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33410 (eval $ac_try) 2>&5
33411 ac_status=$?
33412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33413 (exit $ac_status); }; }; then
33414 eval "$as_ac_var=yes"
33415 else
33416 echo "$as_me: failed program was:" >&5
33417 sed 's/^/| /' conftest.$ac_ext >&5
33418
33419 eval "$as_ac_var=no"
33420 fi
33421 rm -f conftest.err conftest.$ac_objext \
33422 conftest$ac_exeext conftest.$ac_ext
33423 fi
33424 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33425 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33426 if test `eval echo '${'$as_ac_var'}'` = yes; then
33427 cat >>confdefs.h <<_ACEOF
33428 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33429 _ACEOF
33430 cat >>confdefs.h <<\_ACEOF
33431 #define HAVE_USLEEP 1
33432 _ACEOF
33433
33434 else
33435 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
33436 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
33437
33438 fi
33439 done
33440
33441
33442
33443 fi
33444
33445
33446
33447 fi
33448 done
33449
33450 fi
33451
33452
33453
33454 for ac_func in uname gethostname
33455 do
33456 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33457 echo "$as_me:$LINENO: checking for $ac_func" >&5
33458 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33459 if eval "test \"\${$as_ac_var+set}\" = set"; then
33460 echo $ECHO_N "(cached) $ECHO_C" >&6
33461 else
33462 cat >conftest.$ac_ext <<_ACEOF
33463 /* confdefs.h. */
33464 _ACEOF
33465 cat confdefs.h >>conftest.$ac_ext
33466 cat >>conftest.$ac_ext <<_ACEOF
33467 /* end confdefs.h. */
33468 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33469 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33470 #define $ac_func innocuous_$ac_func
33471
33472 /* System header to define __stub macros and hopefully few prototypes,
33473 which can conflict with char $ac_func (); below.
33474 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33475 <limits.h> exists even on freestanding compilers. */
33476
33477 #ifdef __STDC__
33478 # include <limits.h>
33479 #else
33480 # include <assert.h>
33481 #endif
33482
33483 #undef $ac_func
33484
33485 /* Override any gcc2 internal prototype to avoid an error. */
33486 #ifdef __cplusplus
33487 extern "C"
33488 {
33489 #endif
33490 /* We use char because int might match the return type of a gcc2
33491 builtin and then its argument prototype would still apply. */
33492 char $ac_func ();
33493 /* The GNU C library defines this for functions which it implements
33494 to always fail with ENOSYS. Some functions are actually named
33495 something starting with __ and the normal name is an alias. */
33496 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33497 choke me
33498 #else
33499 char (*f) () = $ac_func;
33500 #endif
33501 #ifdef __cplusplus
33502 }
33503 #endif
33504
33505 int
33506 main ()
33507 {
33508 return f != $ac_func;
33509 ;
33510 return 0;
33511 }
33512 _ACEOF
33513 rm -f conftest.$ac_objext conftest$ac_exeext
33514 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33515 (eval $ac_link) 2>conftest.er1
33516 ac_status=$?
33517 grep -v '^ *+' conftest.er1 >conftest.err
33518 rm -f conftest.er1
33519 cat conftest.err >&5
33520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33521 (exit $ac_status); } &&
33522 { ac_try='test -z "$ac_c_werror_flag"
33523 || test ! -s conftest.err'
33524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33525 (eval $ac_try) 2>&5
33526 ac_status=$?
33527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33528 (exit $ac_status); }; } &&
33529 { ac_try='test -s conftest$ac_exeext'
33530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33531 (eval $ac_try) 2>&5
33532 ac_status=$?
33533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33534 (exit $ac_status); }; }; then
33535 eval "$as_ac_var=yes"
33536 else
33537 echo "$as_me: failed program was:" >&5
33538 sed 's/^/| /' conftest.$ac_ext >&5
33539
33540 eval "$as_ac_var=no"
33541 fi
33542 rm -f conftest.err conftest.$ac_objext \
33543 conftest$ac_exeext conftest.$ac_ext
33544 fi
33545 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33546 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33547 if test `eval echo '${'$as_ac_var'}'` = yes; then
33548 cat >>confdefs.h <<_ACEOF
33549 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33550 _ACEOF
33551 break
33552 fi
33553 done
33554
33555
33556
33557
33558 ac_ext=cc
33559 ac_cpp='$CXXCPP $CPPFLAGS'
33560 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33561 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33562 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33563
33564
33565
33566 for ac_func in strtok_r
33567 do
33568 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33569 echo "$as_me:$LINENO: checking for $ac_func" >&5
33570 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33571 if eval "test \"\${$as_ac_var+set}\" = set"; then
33572 echo $ECHO_N "(cached) $ECHO_C" >&6
33573 else
33574 cat >conftest.$ac_ext <<_ACEOF
33575 /* confdefs.h. */
33576 _ACEOF
33577 cat confdefs.h >>conftest.$ac_ext
33578 cat >>conftest.$ac_ext <<_ACEOF
33579 /* end confdefs.h. */
33580 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33581 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33582 #define $ac_func innocuous_$ac_func
33583
33584 /* System header to define __stub macros and hopefully few prototypes,
33585 which can conflict with char $ac_func (); below.
33586 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33587 <limits.h> exists even on freestanding compilers. */
33588
33589 #ifdef __STDC__
33590 # include <limits.h>
33591 #else
33592 # include <assert.h>
33593 #endif
33594
33595 #undef $ac_func
33596
33597 /* Override any gcc2 internal prototype to avoid an error. */
33598 #ifdef __cplusplus
33599 extern "C"
33600 {
33601 #endif
33602 /* We use char because int might match the return type of a gcc2
33603 builtin and then its argument prototype would still apply. */
33604 char $ac_func ();
33605 /* The GNU C library defines this for functions which it implements
33606 to always fail with ENOSYS. Some functions are actually named
33607 something starting with __ and the normal name is an alias. */
33608 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33609 choke me
33610 #else
33611 char (*f) () = $ac_func;
33612 #endif
33613 #ifdef __cplusplus
33614 }
33615 #endif
33616
33617 int
33618 main ()
33619 {
33620 return f != $ac_func;
33621 ;
33622 return 0;
33623 }
33624 _ACEOF
33625 rm -f conftest.$ac_objext conftest$ac_exeext
33626 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33627 (eval $ac_link) 2>conftest.er1
33628 ac_status=$?
33629 grep -v '^ *+' conftest.er1 >conftest.err
33630 rm -f conftest.er1
33631 cat conftest.err >&5
33632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33633 (exit $ac_status); } &&
33634 { ac_try='test -z "$ac_cxx_werror_flag"
33635 || test ! -s conftest.err'
33636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33637 (eval $ac_try) 2>&5
33638 ac_status=$?
33639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33640 (exit $ac_status); }; } &&
33641 { ac_try='test -s conftest$ac_exeext'
33642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33643 (eval $ac_try) 2>&5
33644 ac_status=$?
33645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33646 (exit $ac_status); }; }; then
33647 eval "$as_ac_var=yes"
33648 else
33649 echo "$as_me: failed program was:" >&5
33650 sed 's/^/| /' conftest.$ac_ext >&5
33651
33652 eval "$as_ac_var=no"
33653 fi
33654 rm -f conftest.err conftest.$ac_objext \
33655 conftest$ac_exeext conftest.$ac_ext
33656 fi
33657 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33658 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33659 if test `eval echo '${'$as_ac_var'}'` = yes; then
33660 cat >>confdefs.h <<_ACEOF
33661 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33662 _ACEOF
33663
33664 fi
33665 done
33666
33667
33668 ac_ext=c
33669 ac_cpp='$CPP $CPPFLAGS'
33670 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33671 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33672 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33673
33674
33675 INET_LINK=
33676
33677 for ac_func in inet_addr
33678 do
33679 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33680 echo "$as_me:$LINENO: checking for $ac_func" >&5
33681 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33682 if eval "test \"\${$as_ac_var+set}\" = set"; then
33683 echo $ECHO_N "(cached) $ECHO_C" >&6
33684 else
33685 cat >conftest.$ac_ext <<_ACEOF
33686 /* confdefs.h. */
33687 _ACEOF
33688 cat confdefs.h >>conftest.$ac_ext
33689 cat >>conftest.$ac_ext <<_ACEOF
33690 /* end confdefs.h. */
33691 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33692 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33693 #define $ac_func innocuous_$ac_func
33694
33695 /* System header to define __stub macros and hopefully few prototypes,
33696 which can conflict with char $ac_func (); below.
33697 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33698 <limits.h> exists even on freestanding compilers. */
33699
33700 #ifdef __STDC__
33701 # include <limits.h>
33702 #else
33703 # include <assert.h>
33704 #endif
33705
33706 #undef $ac_func
33707
33708 /* Override any gcc2 internal prototype to avoid an error. */
33709 #ifdef __cplusplus
33710 extern "C"
33711 {
33712 #endif
33713 /* We use char because int might match the return type of a gcc2
33714 builtin and then its argument prototype would still apply. */
33715 char $ac_func ();
33716 /* The GNU C library defines this for functions which it implements
33717 to always fail with ENOSYS. Some functions are actually named
33718 something starting with __ and the normal name is an alias. */
33719 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33720 choke me
33721 #else
33722 char (*f) () = $ac_func;
33723 #endif
33724 #ifdef __cplusplus
33725 }
33726 #endif
33727
33728 int
33729 main ()
33730 {
33731 return f != $ac_func;
33732 ;
33733 return 0;
33734 }
33735 _ACEOF
33736 rm -f conftest.$ac_objext conftest$ac_exeext
33737 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33738 (eval $ac_link) 2>conftest.er1
33739 ac_status=$?
33740 grep -v '^ *+' conftest.er1 >conftest.err
33741 rm -f conftest.er1
33742 cat conftest.err >&5
33743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33744 (exit $ac_status); } &&
33745 { ac_try='test -z "$ac_c_werror_flag"
33746 || test ! -s conftest.err'
33747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33748 (eval $ac_try) 2>&5
33749 ac_status=$?
33750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33751 (exit $ac_status); }; } &&
33752 { ac_try='test -s conftest$ac_exeext'
33753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33754 (eval $ac_try) 2>&5
33755 ac_status=$?
33756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33757 (exit $ac_status); }; }; then
33758 eval "$as_ac_var=yes"
33759 else
33760 echo "$as_me: failed program was:" >&5
33761 sed 's/^/| /' conftest.$ac_ext >&5
33762
33763 eval "$as_ac_var=no"
33764 fi
33765 rm -f conftest.err conftest.$ac_objext \
33766 conftest$ac_exeext conftest.$ac_ext
33767 fi
33768 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33769 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33770 if test `eval echo '${'$as_ac_var'}'` = yes; then
33771 cat >>confdefs.h <<_ACEOF
33772 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33773 _ACEOF
33774 cat >>confdefs.h <<\_ACEOF
33775 #define HAVE_INET_ADDR 1
33776 _ACEOF
33777
33778 else
33779
33780 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
33781 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
33782 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
33783 echo $ECHO_N "(cached) $ECHO_C" >&6
33784 else
33785 ac_check_lib_save_LIBS=$LIBS
33786 LIBS="-lnsl $LIBS"
33787 cat >conftest.$ac_ext <<_ACEOF
33788 /* confdefs.h. */
33789 _ACEOF
33790 cat confdefs.h >>conftest.$ac_ext
33791 cat >>conftest.$ac_ext <<_ACEOF
33792 /* end confdefs.h. */
33793
33794 /* Override any gcc2 internal prototype to avoid an error. */
33795 #ifdef __cplusplus
33796 extern "C"
33797 #endif
33798 /* We use char because int might match the return type of a gcc2
33799 builtin and then its argument prototype would still apply. */
33800 char inet_addr ();
33801 int
33802 main ()
33803 {
33804 inet_addr ();
33805 ;
33806 return 0;
33807 }
33808 _ACEOF
33809 rm -f conftest.$ac_objext conftest$ac_exeext
33810 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33811 (eval $ac_link) 2>conftest.er1
33812 ac_status=$?
33813 grep -v '^ *+' conftest.er1 >conftest.err
33814 rm -f conftest.er1
33815 cat conftest.err >&5
33816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33817 (exit $ac_status); } &&
33818 { ac_try='test -z "$ac_c_werror_flag"
33819 || test ! -s conftest.err'
33820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33821 (eval $ac_try) 2>&5
33822 ac_status=$?
33823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33824 (exit $ac_status); }; } &&
33825 { ac_try='test -s conftest$ac_exeext'
33826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33827 (eval $ac_try) 2>&5
33828 ac_status=$?
33829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33830 (exit $ac_status); }; }; then
33831 ac_cv_lib_nsl_inet_addr=yes
33832 else
33833 echo "$as_me: failed program was:" >&5
33834 sed 's/^/| /' conftest.$ac_ext >&5
33835
33836 ac_cv_lib_nsl_inet_addr=no
33837 fi
33838 rm -f conftest.err conftest.$ac_objext \
33839 conftest$ac_exeext conftest.$ac_ext
33840 LIBS=$ac_check_lib_save_LIBS
33841 fi
33842 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
33843 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
33844 if test $ac_cv_lib_nsl_inet_addr = yes; then
33845 INET_LINK="nsl"
33846 else
33847
33848 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
33849 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
33850 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
33851 echo $ECHO_N "(cached) $ECHO_C" >&6
33852 else
33853 ac_check_lib_save_LIBS=$LIBS
33854 LIBS="-lresolv $LIBS"
33855 cat >conftest.$ac_ext <<_ACEOF
33856 /* confdefs.h. */
33857 _ACEOF
33858 cat confdefs.h >>conftest.$ac_ext
33859 cat >>conftest.$ac_ext <<_ACEOF
33860 /* end confdefs.h. */
33861
33862 /* Override any gcc2 internal prototype to avoid an error. */
33863 #ifdef __cplusplus
33864 extern "C"
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 inet_addr ();
33869 int
33870 main ()
33871 {
33872 inet_addr ();
33873 ;
33874 return 0;
33875 }
33876 _ACEOF
33877 rm -f conftest.$ac_objext conftest$ac_exeext
33878 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33879 (eval $ac_link) 2>conftest.er1
33880 ac_status=$?
33881 grep -v '^ *+' conftest.er1 >conftest.err
33882 rm -f conftest.er1
33883 cat conftest.err >&5
33884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33885 (exit $ac_status); } &&
33886 { ac_try='test -z "$ac_c_werror_flag"
33887 || test ! -s conftest.err'
33888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33889 (eval $ac_try) 2>&5
33890 ac_status=$?
33891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33892 (exit $ac_status); }; } &&
33893 { ac_try='test -s conftest$ac_exeext'
33894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33895 (eval $ac_try) 2>&5
33896 ac_status=$?
33897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33898 (exit $ac_status); }; }; then
33899 ac_cv_lib_resolv_inet_addr=yes
33900 else
33901 echo "$as_me: failed program was:" >&5
33902 sed 's/^/| /' conftest.$ac_ext >&5
33903
33904 ac_cv_lib_resolv_inet_addr=no
33905 fi
33906 rm -f conftest.err conftest.$ac_objext \
33907 conftest$ac_exeext conftest.$ac_ext
33908 LIBS=$ac_check_lib_save_LIBS
33909 fi
33910 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
33911 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
33912 if test $ac_cv_lib_resolv_inet_addr = yes; then
33913 INET_LINK="resolv"
33914 else
33915
33916 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
33917 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
33918 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
33919 echo $ECHO_N "(cached) $ECHO_C" >&6
33920 else
33921 ac_check_lib_save_LIBS=$LIBS
33922 LIBS="-lsocket $LIBS"
33923 cat >conftest.$ac_ext <<_ACEOF
33924 /* confdefs.h. */
33925 _ACEOF
33926 cat confdefs.h >>conftest.$ac_ext
33927 cat >>conftest.$ac_ext <<_ACEOF
33928 /* end confdefs.h. */
33929
33930 /* Override any gcc2 internal prototype to avoid an error. */
33931 #ifdef __cplusplus
33932 extern "C"
33933 #endif
33934 /* We use char because int might match the return type of a gcc2
33935 builtin and then its argument prototype would still apply. */
33936 char inet_addr ();
33937 int
33938 main ()
33939 {
33940 inet_addr ();
33941 ;
33942 return 0;
33943 }
33944 _ACEOF
33945 rm -f conftest.$ac_objext conftest$ac_exeext
33946 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33947 (eval $ac_link) 2>conftest.er1
33948 ac_status=$?
33949 grep -v '^ *+' conftest.er1 >conftest.err
33950 rm -f conftest.er1
33951 cat conftest.err >&5
33952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33953 (exit $ac_status); } &&
33954 { ac_try='test -z "$ac_c_werror_flag"
33955 || test ! -s conftest.err'
33956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33957 (eval $ac_try) 2>&5
33958 ac_status=$?
33959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33960 (exit $ac_status); }; } &&
33961 { ac_try='test -s conftest$ac_exeext'
33962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33963 (eval $ac_try) 2>&5
33964 ac_status=$?
33965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33966 (exit $ac_status); }; }; then
33967 ac_cv_lib_socket_inet_addr=yes
33968 else
33969 echo "$as_me: failed program was:" >&5
33970 sed 's/^/| /' conftest.$ac_ext >&5
33971
33972 ac_cv_lib_socket_inet_addr=no
33973 fi
33974 rm -f conftest.err conftest.$ac_objext \
33975 conftest$ac_exeext conftest.$ac_ext
33976 LIBS=$ac_check_lib_save_LIBS
33977 fi
33978 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
33979 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
33980 if test $ac_cv_lib_socket_inet_addr = yes; then
33981 INET_LINK="socket"
33982
33983 fi
33984
33985
33986
33987 fi
33988
33989
33990
33991 fi
33992
33993
33994
33995 fi
33996 done
33997
33998
33999
34000 for ac_func in inet_aton
34001 do
34002 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34003 echo "$as_me:$LINENO: checking for $ac_func" >&5
34004 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34005 if eval "test \"\${$as_ac_var+set}\" = set"; then
34006 echo $ECHO_N "(cached) $ECHO_C" >&6
34007 else
34008 cat >conftest.$ac_ext <<_ACEOF
34009 /* confdefs.h. */
34010 _ACEOF
34011 cat confdefs.h >>conftest.$ac_ext
34012 cat >>conftest.$ac_ext <<_ACEOF
34013 /* end confdefs.h. */
34014 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34015 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34016 #define $ac_func innocuous_$ac_func
34017
34018 /* System header to define __stub macros and hopefully few prototypes,
34019 which can conflict with char $ac_func (); below.
34020 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34021 <limits.h> exists even on freestanding compilers. */
34022
34023 #ifdef __STDC__
34024 # include <limits.h>
34025 #else
34026 # include <assert.h>
34027 #endif
34028
34029 #undef $ac_func
34030
34031 /* Override any gcc2 internal prototype to avoid an error. */
34032 #ifdef __cplusplus
34033 extern "C"
34034 {
34035 #endif
34036 /* We use char because int might match the return type of a gcc2
34037 builtin and then its argument prototype would still apply. */
34038 char $ac_func ();
34039 /* The GNU C library defines this for functions which it implements
34040 to always fail with ENOSYS. Some functions are actually named
34041 something starting with __ and the normal name is an alias. */
34042 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34043 choke me
34044 #else
34045 char (*f) () = $ac_func;
34046 #endif
34047 #ifdef __cplusplus
34048 }
34049 #endif
34050
34051 int
34052 main ()
34053 {
34054 return f != $ac_func;
34055 ;
34056 return 0;
34057 }
34058 _ACEOF
34059 rm -f conftest.$ac_objext conftest$ac_exeext
34060 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34061 (eval $ac_link) 2>conftest.er1
34062 ac_status=$?
34063 grep -v '^ *+' conftest.er1 >conftest.err
34064 rm -f conftest.er1
34065 cat conftest.err >&5
34066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34067 (exit $ac_status); } &&
34068 { ac_try='test -z "$ac_c_werror_flag"
34069 || test ! -s conftest.err'
34070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34071 (eval $ac_try) 2>&5
34072 ac_status=$?
34073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34074 (exit $ac_status); }; } &&
34075 { ac_try='test -s conftest$ac_exeext'
34076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34077 (eval $ac_try) 2>&5
34078 ac_status=$?
34079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34080 (exit $ac_status); }; }; then
34081 eval "$as_ac_var=yes"
34082 else
34083 echo "$as_me: failed program was:" >&5
34084 sed 's/^/| /' conftest.$ac_ext >&5
34085
34086 eval "$as_ac_var=no"
34087 fi
34088 rm -f conftest.err conftest.$ac_objext \
34089 conftest$ac_exeext conftest.$ac_ext
34090 fi
34091 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34092 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34093 if test `eval echo '${'$as_ac_var'}'` = yes; then
34094 cat >>confdefs.h <<_ACEOF
34095 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34096 _ACEOF
34097 cat >>confdefs.h <<\_ACEOF
34098 #define HAVE_INET_ATON 1
34099 _ACEOF
34100
34101 else
34102
34103 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
34104 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
34105 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
34106 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
34107 echo $ECHO_N "(cached) $ECHO_C" >&6
34108 else
34109 ac_check_lib_save_LIBS=$LIBS
34110 LIBS="-l$INET_LINK $LIBS"
34111 cat >conftest.$ac_ext <<_ACEOF
34112 /* confdefs.h. */
34113 _ACEOF
34114 cat confdefs.h >>conftest.$ac_ext
34115 cat >>conftest.$ac_ext <<_ACEOF
34116 /* end confdefs.h. */
34117
34118 /* Override any gcc2 internal prototype to avoid an error. */
34119 #ifdef __cplusplus
34120 extern "C"
34121 #endif
34122 /* We use char because int might match the return type of a gcc2
34123 builtin and then its argument prototype would still apply. */
34124 char inet_aton ();
34125 int
34126 main ()
34127 {
34128 inet_aton ();
34129 ;
34130 return 0;
34131 }
34132 _ACEOF
34133 rm -f conftest.$ac_objext conftest$ac_exeext
34134 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34135 (eval $ac_link) 2>conftest.er1
34136 ac_status=$?
34137 grep -v '^ *+' conftest.er1 >conftest.err
34138 rm -f conftest.er1
34139 cat conftest.err >&5
34140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34141 (exit $ac_status); } &&
34142 { ac_try='test -z "$ac_c_werror_flag"
34143 || test ! -s conftest.err'
34144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34145 (eval $ac_try) 2>&5
34146 ac_status=$?
34147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34148 (exit $ac_status); }; } &&
34149 { ac_try='test -s conftest$ac_exeext'
34150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34151 (eval $ac_try) 2>&5
34152 ac_status=$?
34153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34154 (exit $ac_status); }; }; then
34155 eval "$as_ac_Lib=yes"
34156 else
34157 echo "$as_me: failed program was:" >&5
34158 sed 's/^/| /' conftest.$ac_ext >&5
34159
34160 eval "$as_ac_Lib=no"
34161 fi
34162 rm -f conftest.err conftest.$ac_objext \
34163 conftest$ac_exeext conftest.$ac_ext
34164 LIBS=$ac_check_lib_save_LIBS
34165 fi
34166 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
34167 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
34168 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
34169 cat >>confdefs.h <<\_ACEOF
34170 #define HAVE_INET_ATON 1
34171 _ACEOF
34172
34173 fi
34174
34175
34176 fi
34177 done
34178
34179
34180 if test "x$INET_LINK" != "x"; then
34181 cat >>confdefs.h <<\_ACEOF
34182 #define HAVE_INET_ADDR 1
34183 _ACEOF
34184
34185 INET_LINK=" -l$INET_LINK"
34186 fi
34187
34188 fi
34189
34190
34191
34192 EXTRALIBS_ESD=
34193 echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
34194 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
34195 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
34196 echo $ECHO_N "(cached) $ECHO_C" >&6
34197 else
34198 ac_check_lib_save_LIBS=$LIBS
34199 LIBS="-lesd $LIBS"
34200 cat >conftest.$ac_ext <<_ACEOF
34201 /* confdefs.h. */
34202 _ACEOF
34203 cat confdefs.h >>conftest.$ac_ext
34204 cat >>conftest.$ac_ext <<_ACEOF
34205 /* end confdefs.h. */
34206
34207 /* Override any gcc2 internal prototype to avoid an error. */
34208 #ifdef __cplusplus
34209 extern "C"
34210 #endif
34211 /* We use char because int might match the return type of a gcc2
34212 builtin and then its argument prototype would still apply. */
34213 char esd_close ();
34214 int
34215 main ()
34216 {
34217 esd_close ();
34218 ;
34219 return 0;
34220 }
34221 _ACEOF
34222 rm -f conftest.$ac_objext conftest$ac_exeext
34223 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34224 (eval $ac_link) 2>conftest.er1
34225 ac_status=$?
34226 grep -v '^ *+' conftest.er1 >conftest.err
34227 rm -f conftest.er1
34228 cat conftest.err >&5
34229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34230 (exit $ac_status); } &&
34231 { ac_try='test -z "$ac_c_werror_flag"
34232 || test ! -s conftest.err'
34233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34234 (eval $ac_try) 2>&5
34235 ac_status=$?
34236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34237 (exit $ac_status); }; } &&
34238 { ac_try='test -s conftest$ac_exeext'
34239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34240 (eval $ac_try) 2>&5
34241 ac_status=$?
34242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34243 (exit $ac_status); }; }; then
34244 ac_cv_lib_esd_esd_close=yes
34245 else
34246 echo "$as_me: failed program was:" >&5
34247 sed 's/^/| /' conftest.$ac_ext >&5
34248
34249 ac_cv_lib_esd_esd_close=no
34250 fi
34251 rm -f conftest.err conftest.$ac_objext \
34252 conftest$ac_exeext conftest.$ac_ext
34253 LIBS=$ac_check_lib_save_LIBS
34254 fi
34255 echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
34256 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
34257 if test $ac_cv_lib_esd_esd_close = yes; then
34258
34259
34260 for ac_header in esd.h
34261 do
34262 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34263 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34264 echo "$as_me:$LINENO: checking for $ac_header" >&5
34265 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
34266 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34267 echo $ECHO_N "(cached) $ECHO_C" >&6
34268 fi
34269 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
34270 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
34271 else
34272 # Is the header compilable?
34273 echo "$as_me:$LINENO: checking $ac_header usability" >&5
34274 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
34275 cat >conftest.$ac_ext <<_ACEOF
34276 /* confdefs.h. */
34277 _ACEOF
34278 cat confdefs.h >>conftest.$ac_ext
34279 cat >>conftest.$ac_ext <<_ACEOF
34280 /* end confdefs.h. */
34281 $ac_includes_default
34282 #include <$ac_header>
34283 _ACEOF
34284 rm -f conftest.$ac_objext
34285 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34286 (eval $ac_compile) 2>conftest.er1
34287 ac_status=$?
34288 grep -v '^ *+' conftest.er1 >conftest.err
34289 rm -f conftest.er1
34290 cat conftest.err >&5
34291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34292 (exit $ac_status); } &&
34293 { ac_try='test -z "$ac_c_werror_flag"
34294 || test ! -s conftest.err'
34295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34296 (eval $ac_try) 2>&5
34297 ac_status=$?
34298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34299 (exit $ac_status); }; } &&
34300 { ac_try='test -s conftest.$ac_objext'
34301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34302 (eval $ac_try) 2>&5
34303 ac_status=$?
34304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34305 (exit $ac_status); }; }; then
34306 ac_header_compiler=yes
34307 else
34308 echo "$as_me: failed program was:" >&5
34309 sed 's/^/| /' conftest.$ac_ext >&5
34310
34311 ac_header_compiler=no
34312 fi
34313 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34314 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
34315 echo "${ECHO_T}$ac_header_compiler" >&6
34316
34317 # Is the header present?
34318 echo "$as_me:$LINENO: checking $ac_header presence" >&5
34319 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
34320 cat >conftest.$ac_ext <<_ACEOF
34321 /* confdefs.h. */
34322 _ACEOF
34323 cat confdefs.h >>conftest.$ac_ext
34324 cat >>conftest.$ac_ext <<_ACEOF
34325 /* end confdefs.h. */
34326 #include <$ac_header>
34327 _ACEOF
34328 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
34329 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
34330 ac_status=$?
34331 grep -v '^ *+' conftest.er1 >conftest.err
34332 rm -f conftest.er1
34333 cat conftest.err >&5
34334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34335 (exit $ac_status); } >/dev/null; then
34336 if test -s conftest.err; then
34337 ac_cpp_err=$ac_c_preproc_warn_flag
34338 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
34339 else
34340 ac_cpp_err=
34341 fi
34342 else
34343 ac_cpp_err=yes
34344 fi
34345 if test -z "$ac_cpp_err"; then
34346 ac_header_preproc=yes
34347 else
34348 echo "$as_me: failed program was:" >&5
34349 sed 's/^/| /' conftest.$ac_ext >&5
34350
34351 ac_header_preproc=no
34352 fi
34353 rm -f conftest.err conftest.$ac_ext
34354 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
34355 echo "${ECHO_T}$ac_header_preproc" >&6
34356
34357 # So? What about this header?
34358 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
34359 yes:no: )
34360 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
34361 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
34362 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
34363 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
34364 ac_header_preproc=yes
34365 ;;
34366 no:yes:* )
34367 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
34368 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
34369 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
34370 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
34371 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
34372 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
34373 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
34374 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
34375 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
34376 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
34377 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
34378 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
34379 (
34380 cat <<\_ASBOX
34381 ## ----------------------------------------- ##
34382 ## Report this to wx-dev@lists.wxwidgets.org ##
34383 ## ----------------------------------------- ##
34384 _ASBOX
34385 ) |
34386 sed "s/^/$as_me: WARNING: /" >&2
34387 ;;
34388 esac
34389 echo "$as_me:$LINENO: checking for $ac_header" >&5
34390 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
34391 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34392 echo $ECHO_N "(cached) $ECHO_C" >&6
34393 else
34394 eval "$as_ac_Header=\$ac_header_preproc"
34395 fi
34396 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
34397 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
34398
34399 fi
34400 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34401 cat >>confdefs.h <<_ACEOF
34402 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34403 _ACEOF
34404
34405 EXTRALIBS_ESD="-lesd"
34406
34407 fi
34408
34409 done
34410
34411
34412 fi
34413
34414
34415
34416 echo "$as_me:$LINENO: checking for known CD-ROM interface" >&5
34417 echo $ECHO_N "checking for known CD-ROM interface... $ECHO_C" >&6
34418 cat >conftest.$ac_ext <<_ACEOF
34419 /* confdefs.h. */
34420 _ACEOF
34421 cat confdefs.h >>conftest.$ac_ext
34422 cat >>conftest.$ac_ext <<_ACEOF
34423 /* end confdefs.h. */
34424 #ifdef __linux__
34425 #include <linux/cdrom.h>
34426 #else
34427 /* For Solaris */
34428 #include <sys/cdio.h>
34429 #endif
34430
34431 int
34432 main ()
34433 {
34434 struct cdrom_tocentry entry, old_entry;
34435 ;
34436 return 0;
34437 }
34438 _ACEOF
34439 rm -f conftest.$ac_objext
34440 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34441 (eval $ac_compile) 2>conftest.er1
34442 ac_status=$?
34443 grep -v '^ *+' conftest.er1 >conftest.err
34444 rm -f conftest.er1
34445 cat conftest.err >&5
34446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34447 (exit $ac_status); } &&
34448 { ac_try='test -z "$ac_c_werror_flag"
34449 || test ! -s conftest.err'
34450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34451 (eval $ac_try) 2>&5
34452 ac_status=$?
34453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34454 (exit $ac_status); }; } &&
34455 { ac_try='test -s conftest.$ac_objext'
34456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34457 (eval $ac_try) 2>&5
34458 ac_status=$?
34459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34460 (exit $ac_status); }; }; then
34461 echo "$as_me:$LINENO: result: yes" >&5
34462 echo "${ECHO_T}yes" >&6
34463 cat >>confdefs.h <<\_ACEOF
34464 #define HAVE_KNOWN_CDROM_INTERFACE 1
34465 _ACEOF
34466
34467 else
34468 echo "$as_me: failed program was:" >&5
34469 sed 's/^/| /' conftest.$ac_ext >&5
34470
34471 echo "$as_me:$LINENO: result: no" >&5
34472 echo "${ECHO_T}no" >&6
34473 fi
34474 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34475
34476
34477 cat >confcache <<\_ACEOF
34478 # This file is a shell script that caches the results of configure
34479 # tests run on this system so they can be shared between configure
34480 # scripts and configure runs, see configure's option --config-cache.
34481 # It is not useful on other systems. If it contains results you don't
34482 # want to keep, you may remove or edit it.
34483 #
34484 # config.status only pays attention to the cache file if you give it
34485 # the --recheck option to rerun configure.
34486 #
34487 # `ac_cv_env_foo' variables (set or unset) will be overridden when
34488 # loading this file, other *unset* `ac_cv_foo' will be assigned the
34489 # following values.
34490
34491 _ACEOF
34492
34493 # The following way of writing the cache mishandles newlines in values,
34494 # but we know of no workaround that is simple, portable, and efficient.
34495 # So, don't put newlines in cache variables' values.
34496 # Ultrix sh set writes to stderr and can't be redirected directly,
34497 # and sets the high bit in the cache file unless we assign to the vars.
34498 {
34499 (set) 2>&1 |
34500 case `(ac_space=' '; set | grep ac_space) 2>&1` in
34501 *ac_space=\ *)
34502 # `set' does not quote correctly, so add quotes (double-quote
34503 # substitution turns \\\\ into \\, and sed turns \\ into \).
34504 sed -n \
34505 "s/'/'\\\\''/g;
34506 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
34507 ;;
34508 *)
34509 # `set' quotes correctly as required by POSIX, so do not add quotes.
34510 sed -n \
34511 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
34512 ;;
34513 esac;
34514 } |
34515 sed '
34516 t clear
34517 : clear
34518 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
34519 t end
34520 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
34521 : end' >>confcache
34522 if diff $cache_file confcache >/dev/null 2>&1; then :; else
34523 if test -w $cache_file; then
34524 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
34525 cat confcache >$cache_file
34526 else
34527 echo "not updating unwritable cache $cache_file"
34528 fi
34529 fi
34530 rm -f confcache
34531
34532
34533 CPP_MT_FLAG=
34534 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
34535
34536
34537 THREADS_LINK=
34538 THREADS_CFLAGS=
34539
34540 if test "$wxUSE_THREADS" = "yes" ; then
34541 if test "$USE_BEOS" = 1; then
34542 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
34543 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
34544 wxUSE_THREADS="no"
34545 fi
34546 fi
34547
34548 if test "$wxUSE_THREADS" = "yes" ; then
34549
34550
34551 THREAD_OPTS="-pthread"
34552 case "${host}" in
34553 *-*-solaris2* | *-*-sunos4* )
34554 if test "x$GCC" = "xyes"; then
34555 THREAD_OPTS="-pthreads $THREAD_OPTS"
34556 else
34557 THREAD_OPTS="-mt $THREAD_OPTS"
34558 fi
34559 ;;
34560 *-*-freebsd*)
34561 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
34562 ;;
34563 *-*-darwin* | *-*-cygwin* )
34564 THREAD_OPTS=""
34565 ;;
34566 *-*-aix*)
34567 THREAD_OPTS="pthreads"
34568 ;;
34569 *-hp-hpux* )
34570 if test "x$GCC" != "xyes"; then
34571 THREAD_OPTS=""
34572 fi
34573 ;;
34574
34575 *-*-irix* )
34576 if test "x$GCC" = "xyes"; then
34577 THREAD_OPTS=""
34578 fi
34579 ;;
34580
34581 *-*-*UnixWare*)
34582 if test "x$GCC" != "xyes"; then
34583 THREAD_OPTS="-Ethread"
34584 fi
34585 ;;
34586 esac
34587
34588 THREAD_OPTS="$THREAD_OPTS pthread none"
34589
34590 THREADS_OK=no
34591 for flag in $THREAD_OPTS; do
34592 case $flag in
34593 none)
34594 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
34595 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
34596 ;;
34597
34598 -*)
34599 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
34600 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
34601 THREADS_CFLAGS="$flag"
34602 ;;
34603
34604 *)
34605 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
34606 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
34607 THREADS_LINK="-l$flag"
34608 ;;
34609 esac
34610
34611 save_LIBS="$LIBS"
34612 save_CFLAGS="$CFLAGS"
34613 LIBS="$THREADS_LINK $LIBS"
34614 CFLAGS="$THREADS_CFLAGS $CFLAGS"
34615
34616 cat >conftest.$ac_ext <<_ACEOF
34617 /* confdefs.h. */
34618 _ACEOF
34619 cat confdefs.h >>conftest.$ac_ext
34620 cat >>conftest.$ac_ext <<_ACEOF
34621 /* end confdefs.h. */
34622 #include <pthread.h>
34623 int
34624 main ()
34625 {
34626 pthread_create(0,0,0,0);
34627 ;
34628 return 0;
34629 }
34630 _ACEOF
34631 rm -f conftest.$ac_objext conftest$ac_exeext
34632 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34633 (eval $ac_link) 2>conftest.er1
34634 ac_status=$?
34635 grep -v '^ *+' conftest.er1 >conftest.err
34636 rm -f conftest.er1
34637 cat conftest.err >&5
34638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34639 (exit $ac_status); } &&
34640 { ac_try='test -z "$ac_c_werror_flag"
34641 || test ! -s conftest.err'
34642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34643 (eval $ac_try) 2>&5
34644 ac_status=$?
34645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34646 (exit $ac_status); }; } &&
34647 { ac_try='test -s conftest$ac_exeext'
34648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34649 (eval $ac_try) 2>&5
34650 ac_status=$?
34651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34652 (exit $ac_status); }; }; then
34653 THREADS_OK=yes
34654 else
34655 echo "$as_me: failed program was:" >&5
34656 sed 's/^/| /' conftest.$ac_ext >&5
34657
34658 fi
34659 rm -f conftest.err conftest.$ac_objext \
34660 conftest$ac_exeext conftest.$ac_ext
34661
34662 LIBS="$save_LIBS"
34663 CFLAGS="$save_CFLAGS"
34664
34665 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
34666 echo "${ECHO_T}$THREADS_OK" >&6
34667 if test "x$THREADS_OK" = "xyes"; then
34668 break;
34669 fi
34670
34671 THREADS_LINK=""
34672 THREADS_CFLAGS=""
34673 done
34674
34675 if test "x$THREADS_OK" != "xyes"; then
34676 wxUSE_THREADS=no
34677 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
34678 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
34679 else
34680 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
34681 LIBS="$THREADS_LINK $LIBS"
34682
34683 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
34684 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
34685 flag=no
34686 case "${host}" in
34687 *-aix*)
34688 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
34689 flag="-D_THREAD_SAFE"
34690 ;;
34691 *-freebsd*)
34692 flag="-D_THREAD_SAFE"
34693 ;;
34694 *-hp-hpux* )
34695 flag="-D_REENTRANT"
34696 if test "x$GCC" != "xyes"; then
34697 flag="$flag -D_RWSTD_MULTI_THREAD"
34698 fi
34699 ;;
34700 *solaris* | alpha*-osf*)
34701 flag="-D_REENTRANT"
34702 ;;
34703 esac
34704 echo "$as_me:$LINENO: result: ${flag}" >&5
34705 echo "${ECHO_T}${flag}" >&6
34706 if test "x$flag" != xno; then
34707 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
34708 fi
34709
34710 if test "x$THREADS_CFLAGS" != "x"; then
34711 CFLAGS="$CFLAGS $THREADS_CFLAGS"
34712 CXXFLAGS="$CXXFLAGS $THREADS_CFLAGS"
34713 fi
34714 fi
34715 fi
34716
34717 if test "$wxUSE_THREADS" = "yes" ; then
34718
34719 for ac_func in thr_setconcurrency
34720 do
34721 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34722 echo "$as_me:$LINENO: checking for $ac_func" >&5
34723 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34724 if eval "test \"\${$as_ac_var+set}\" = set"; then
34725 echo $ECHO_N "(cached) $ECHO_C" >&6
34726 else
34727 cat >conftest.$ac_ext <<_ACEOF
34728 /* confdefs.h. */
34729 _ACEOF
34730 cat confdefs.h >>conftest.$ac_ext
34731 cat >>conftest.$ac_ext <<_ACEOF
34732 /* end confdefs.h. */
34733 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34734 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34735 #define $ac_func innocuous_$ac_func
34736
34737 /* System header to define __stub macros and hopefully few prototypes,
34738 which can conflict with char $ac_func (); below.
34739 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34740 <limits.h> exists even on freestanding compilers. */
34741
34742 #ifdef __STDC__
34743 # include <limits.h>
34744 #else
34745 # include <assert.h>
34746 #endif
34747
34748 #undef $ac_func
34749
34750 /* Override any gcc2 internal prototype to avoid an error. */
34751 #ifdef __cplusplus
34752 extern "C"
34753 {
34754 #endif
34755 /* We use char because int might match the return type of a gcc2
34756 builtin and then its argument prototype would still apply. */
34757 char $ac_func ();
34758 /* The GNU C library defines this for functions which it implements
34759 to always fail with ENOSYS. Some functions are actually named
34760 something starting with __ and the normal name is an alias. */
34761 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34762 choke me
34763 #else
34764 char (*f) () = $ac_func;
34765 #endif
34766 #ifdef __cplusplus
34767 }
34768 #endif
34769
34770 int
34771 main ()
34772 {
34773 return f != $ac_func;
34774 ;
34775 return 0;
34776 }
34777 _ACEOF
34778 rm -f conftest.$ac_objext conftest$ac_exeext
34779 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34780 (eval $ac_link) 2>conftest.er1
34781 ac_status=$?
34782 grep -v '^ *+' conftest.er1 >conftest.err
34783 rm -f conftest.er1
34784 cat conftest.err >&5
34785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34786 (exit $ac_status); } &&
34787 { ac_try='test -z "$ac_c_werror_flag"
34788 || test ! -s conftest.err'
34789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34790 (eval $ac_try) 2>&5
34791 ac_status=$?
34792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34793 (exit $ac_status); }; } &&
34794 { ac_try='test -s conftest$ac_exeext'
34795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34796 (eval $ac_try) 2>&5
34797 ac_status=$?
34798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34799 (exit $ac_status); }; }; then
34800 eval "$as_ac_var=yes"
34801 else
34802 echo "$as_me: failed program was:" >&5
34803 sed 's/^/| /' conftest.$ac_ext >&5
34804
34805 eval "$as_ac_var=no"
34806 fi
34807 rm -f conftest.err conftest.$ac_objext \
34808 conftest$ac_exeext conftest.$ac_ext
34809 fi
34810 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34811 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34812 if test `eval echo '${'$as_ac_var'}'` = yes; then
34813 cat >>confdefs.h <<_ACEOF
34814 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34815 _ACEOF
34816
34817 fi
34818 done
34819
34820
34821
34822 for ac_header in sched.h
34823 do
34824 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34825 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34826 echo "$as_me:$LINENO: checking for $ac_header" >&5
34827 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
34828 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34829 echo $ECHO_N "(cached) $ECHO_C" >&6
34830 fi
34831 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
34832 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
34833 else
34834 # Is the header compilable?
34835 echo "$as_me:$LINENO: checking $ac_header usability" >&5
34836 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
34837 cat >conftest.$ac_ext <<_ACEOF
34838 /* confdefs.h. */
34839 _ACEOF
34840 cat confdefs.h >>conftest.$ac_ext
34841 cat >>conftest.$ac_ext <<_ACEOF
34842 /* end confdefs.h. */
34843 $ac_includes_default
34844 #include <$ac_header>
34845 _ACEOF
34846 rm -f conftest.$ac_objext
34847 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34848 (eval $ac_compile) 2>conftest.er1
34849 ac_status=$?
34850 grep -v '^ *+' conftest.er1 >conftest.err
34851 rm -f conftest.er1
34852 cat conftest.err >&5
34853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34854 (exit $ac_status); } &&
34855 { ac_try='test -z "$ac_c_werror_flag"
34856 || test ! -s conftest.err'
34857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34858 (eval $ac_try) 2>&5
34859 ac_status=$?
34860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34861 (exit $ac_status); }; } &&
34862 { ac_try='test -s conftest.$ac_objext'
34863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34864 (eval $ac_try) 2>&5
34865 ac_status=$?
34866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34867 (exit $ac_status); }; }; then
34868 ac_header_compiler=yes
34869 else
34870 echo "$as_me: failed program was:" >&5
34871 sed 's/^/| /' conftest.$ac_ext >&5
34872
34873 ac_header_compiler=no
34874 fi
34875 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34876 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
34877 echo "${ECHO_T}$ac_header_compiler" >&6
34878
34879 # Is the header present?
34880 echo "$as_me:$LINENO: checking $ac_header presence" >&5
34881 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
34882 cat >conftest.$ac_ext <<_ACEOF
34883 /* confdefs.h. */
34884 _ACEOF
34885 cat confdefs.h >>conftest.$ac_ext
34886 cat >>conftest.$ac_ext <<_ACEOF
34887 /* end confdefs.h. */
34888 #include <$ac_header>
34889 _ACEOF
34890 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
34891 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
34892 ac_status=$?
34893 grep -v '^ *+' conftest.er1 >conftest.err
34894 rm -f conftest.er1
34895 cat conftest.err >&5
34896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34897 (exit $ac_status); } >/dev/null; then
34898 if test -s conftest.err; then
34899 ac_cpp_err=$ac_c_preproc_warn_flag
34900 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
34901 else
34902 ac_cpp_err=
34903 fi
34904 else
34905 ac_cpp_err=yes
34906 fi
34907 if test -z "$ac_cpp_err"; then
34908 ac_header_preproc=yes
34909 else
34910 echo "$as_me: failed program was:" >&5
34911 sed 's/^/| /' conftest.$ac_ext >&5
34912
34913 ac_header_preproc=no
34914 fi
34915 rm -f conftest.err conftest.$ac_ext
34916 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
34917 echo "${ECHO_T}$ac_header_preproc" >&6
34918
34919 # So? What about this header?
34920 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
34921 yes:no: )
34922 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
34923 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
34924 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
34925 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
34926 ac_header_preproc=yes
34927 ;;
34928 no:yes:* )
34929 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
34930 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
34931 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
34932 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
34933 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
34934 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
34935 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
34936 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
34937 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
34938 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
34939 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
34940 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
34941 (
34942 cat <<\_ASBOX
34943 ## ----------------------------------------- ##
34944 ## Report this to wx-dev@lists.wxwidgets.org ##
34945 ## ----------------------------------------- ##
34946 _ASBOX
34947 ) |
34948 sed "s/^/$as_me: WARNING: /" >&2
34949 ;;
34950 esac
34951 echo "$as_me:$LINENO: checking for $ac_header" >&5
34952 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
34953 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34954 echo $ECHO_N "(cached) $ECHO_C" >&6
34955 else
34956 eval "$as_ac_Header=\$ac_header_preproc"
34957 fi
34958 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
34959 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
34960
34961 fi
34962 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34963 cat >>confdefs.h <<_ACEOF
34964 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34965 _ACEOF
34966
34967 fi
34968
34969 done
34970
34971 if test "$ac_cv_header_sched_h" = "yes"; then
34972 echo "$as_me:$LINENO: checking for sched_yield" >&5
34973 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
34974 if test "${ac_cv_func_sched_yield+set}" = set; then
34975 echo $ECHO_N "(cached) $ECHO_C" >&6
34976 else
34977 cat >conftest.$ac_ext <<_ACEOF
34978 /* confdefs.h. */
34979 _ACEOF
34980 cat confdefs.h >>conftest.$ac_ext
34981 cat >>conftest.$ac_ext <<_ACEOF
34982 /* end confdefs.h. */
34983 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
34984 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34985 #define sched_yield innocuous_sched_yield
34986
34987 /* System header to define __stub macros and hopefully few prototypes,
34988 which can conflict with char sched_yield (); below.
34989 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34990 <limits.h> exists even on freestanding compilers. */
34991
34992 #ifdef __STDC__
34993 # include <limits.h>
34994 #else
34995 # include <assert.h>
34996 #endif
34997
34998 #undef sched_yield
34999
35000 /* Override any gcc2 internal prototype to avoid an error. */
35001 #ifdef __cplusplus
35002 extern "C"
35003 {
35004 #endif
35005 /* We use char because int might match the return type of a gcc2
35006 builtin and then its argument prototype would still apply. */
35007 char sched_yield ();
35008 /* The GNU C library defines this for functions which it implements
35009 to always fail with ENOSYS. Some functions are actually named
35010 something starting with __ and the normal name is an alias. */
35011 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
35012 choke me
35013 #else
35014 char (*f) () = sched_yield;
35015 #endif
35016 #ifdef __cplusplus
35017 }
35018 #endif
35019
35020 int
35021 main ()
35022 {
35023 return f != sched_yield;
35024 ;
35025 return 0;
35026 }
35027 _ACEOF
35028 rm -f conftest.$ac_objext conftest$ac_exeext
35029 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35030 (eval $ac_link) 2>conftest.er1
35031 ac_status=$?
35032 grep -v '^ *+' conftest.er1 >conftest.err
35033 rm -f conftest.er1
35034 cat conftest.err >&5
35035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35036 (exit $ac_status); } &&
35037 { ac_try='test -z "$ac_c_werror_flag"
35038 || test ! -s conftest.err'
35039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35040 (eval $ac_try) 2>&5
35041 ac_status=$?
35042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35043 (exit $ac_status); }; } &&
35044 { ac_try='test -s conftest$ac_exeext'
35045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35046 (eval $ac_try) 2>&5
35047 ac_status=$?
35048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35049 (exit $ac_status); }; }; then
35050 ac_cv_func_sched_yield=yes
35051 else
35052 echo "$as_me: failed program was:" >&5
35053 sed 's/^/| /' conftest.$ac_ext >&5
35054
35055 ac_cv_func_sched_yield=no
35056 fi
35057 rm -f conftest.err conftest.$ac_objext \
35058 conftest$ac_exeext conftest.$ac_ext
35059 fi
35060 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
35061 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
35062 if test $ac_cv_func_sched_yield = yes; then
35063 cat >>confdefs.h <<\_ACEOF
35064 #define HAVE_SCHED_YIELD 1
35065 _ACEOF
35066
35067 else
35068
35069 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
35070 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
35071 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
35072 echo $ECHO_N "(cached) $ECHO_C" >&6
35073 else
35074 ac_check_lib_save_LIBS=$LIBS
35075 LIBS="-lposix4 $LIBS"
35076 cat >conftest.$ac_ext <<_ACEOF
35077 /* confdefs.h. */
35078 _ACEOF
35079 cat confdefs.h >>conftest.$ac_ext
35080 cat >>conftest.$ac_ext <<_ACEOF
35081 /* end confdefs.h. */
35082
35083 /* Override any gcc2 internal prototype to avoid an error. */
35084 #ifdef __cplusplus
35085 extern "C"
35086 #endif
35087 /* We use char because int might match the return type of a gcc2
35088 builtin and then its argument prototype would still apply. */
35089 char sched_yield ();
35090 int
35091 main ()
35092 {
35093 sched_yield ();
35094 ;
35095 return 0;
35096 }
35097 _ACEOF
35098 rm -f conftest.$ac_objext conftest$ac_exeext
35099 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35100 (eval $ac_link) 2>conftest.er1
35101 ac_status=$?
35102 grep -v '^ *+' conftest.er1 >conftest.err
35103 rm -f conftest.er1
35104 cat conftest.err >&5
35105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35106 (exit $ac_status); } &&
35107 { ac_try='test -z "$ac_c_werror_flag"
35108 || test ! -s conftest.err'
35109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35110 (eval $ac_try) 2>&5
35111 ac_status=$?
35112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35113 (exit $ac_status); }; } &&
35114 { ac_try='test -s conftest$ac_exeext'
35115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35116 (eval $ac_try) 2>&5
35117 ac_status=$?
35118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35119 (exit $ac_status); }; }; then
35120 ac_cv_lib_posix4_sched_yield=yes
35121 else
35122 echo "$as_me: failed program was:" >&5
35123 sed 's/^/| /' conftest.$ac_ext >&5
35124
35125 ac_cv_lib_posix4_sched_yield=no
35126 fi
35127 rm -f conftest.err conftest.$ac_objext \
35128 conftest$ac_exeext conftest.$ac_ext
35129 LIBS=$ac_check_lib_save_LIBS
35130 fi
35131 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
35132 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
35133 if test $ac_cv_lib_posix4_sched_yield = yes; then
35134 cat >>confdefs.h <<\_ACEOF
35135 #define HAVE_SCHED_YIELD 1
35136 _ACEOF
35137 POSIX4_LINK=" -lposix4"
35138 else
35139 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
35140 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
35141
35142 fi
35143
35144
35145
35146 fi
35147
35148 fi
35149
35150 HAVE_PRIOR_FUNCS=0
35151 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
35152 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
35153 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
35154 echo $ECHO_N "(cached) $ECHO_C" >&6
35155 else
35156 cat >conftest.$ac_ext <<_ACEOF
35157 /* confdefs.h. */
35158 _ACEOF
35159 cat confdefs.h >>conftest.$ac_ext
35160 cat >>conftest.$ac_ext <<_ACEOF
35161 /* end confdefs.h. */
35162 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
35163 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35164 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
35165
35166 /* System header to define __stub macros and hopefully few prototypes,
35167 which can conflict with char pthread_attr_getschedpolicy (); below.
35168 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35169 <limits.h> exists even on freestanding compilers. */
35170
35171 #ifdef __STDC__
35172 # include <limits.h>
35173 #else
35174 # include <assert.h>
35175 #endif
35176
35177 #undef pthread_attr_getschedpolicy
35178
35179 /* Override any gcc2 internal prototype to avoid an error. */
35180 #ifdef __cplusplus
35181 extern "C"
35182 {
35183 #endif
35184 /* We use char because int might match the return type of a gcc2
35185 builtin and then its argument prototype would still apply. */
35186 char pthread_attr_getschedpolicy ();
35187 /* The GNU C library defines this for functions which it implements
35188 to always fail with ENOSYS. Some functions are actually named
35189 something starting with __ and the normal name is an alias. */
35190 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
35191 choke me
35192 #else
35193 char (*f) () = pthread_attr_getschedpolicy;
35194 #endif
35195 #ifdef __cplusplus
35196 }
35197 #endif
35198
35199 int
35200 main ()
35201 {
35202 return f != pthread_attr_getschedpolicy;
35203 ;
35204 return 0;
35205 }
35206 _ACEOF
35207 rm -f conftest.$ac_objext conftest$ac_exeext
35208 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35209 (eval $ac_link) 2>conftest.er1
35210 ac_status=$?
35211 grep -v '^ *+' conftest.er1 >conftest.err
35212 rm -f conftest.er1
35213 cat conftest.err >&5
35214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35215 (exit $ac_status); } &&
35216 { ac_try='test -z "$ac_c_werror_flag"
35217 || test ! -s conftest.err'
35218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35219 (eval $ac_try) 2>&5
35220 ac_status=$?
35221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35222 (exit $ac_status); }; } &&
35223 { ac_try='test -s conftest$ac_exeext'
35224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35225 (eval $ac_try) 2>&5
35226 ac_status=$?
35227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35228 (exit $ac_status); }; }; then
35229 ac_cv_func_pthread_attr_getschedpolicy=yes
35230 else
35231 echo "$as_me: failed program was:" >&5
35232 sed 's/^/| /' conftest.$ac_ext >&5
35233
35234 ac_cv_func_pthread_attr_getschedpolicy=no
35235 fi
35236 rm -f conftest.err conftest.$ac_objext \
35237 conftest$ac_exeext conftest.$ac_ext
35238 fi
35239 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
35240 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
35241 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
35242 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
35243 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
35244 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
35245 echo $ECHO_N "(cached) $ECHO_C" >&6
35246 else
35247 cat >conftest.$ac_ext <<_ACEOF
35248 /* confdefs.h. */
35249 _ACEOF
35250 cat confdefs.h >>conftest.$ac_ext
35251 cat >>conftest.$ac_ext <<_ACEOF
35252 /* end confdefs.h. */
35253 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
35254 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35255 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
35256
35257 /* System header to define __stub macros and hopefully few prototypes,
35258 which can conflict with char pthread_attr_setschedparam (); below.
35259 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35260 <limits.h> exists even on freestanding compilers. */
35261
35262 #ifdef __STDC__
35263 # include <limits.h>
35264 #else
35265 # include <assert.h>
35266 #endif
35267
35268 #undef pthread_attr_setschedparam
35269
35270 /* Override any gcc2 internal prototype to avoid an error. */
35271 #ifdef __cplusplus
35272 extern "C"
35273 {
35274 #endif
35275 /* We use char because int might match the return type of a gcc2
35276 builtin and then its argument prototype would still apply. */
35277 char pthread_attr_setschedparam ();
35278 /* The GNU C library defines this for functions which it implements
35279 to always fail with ENOSYS. Some functions are actually named
35280 something starting with __ and the normal name is an alias. */
35281 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
35282 choke me
35283 #else
35284 char (*f) () = pthread_attr_setschedparam;
35285 #endif
35286 #ifdef __cplusplus
35287 }
35288 #endif
35289
35290 int
35291 main ()
35292 {
35293 return f != pthread_attr_setschedparam;
35294 ;
35295 return 0;
35296 }
35297 _ACEOF
35298 rm -f conftest.$ac_objext conftest$ac_exeext
35299 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35300 (eval $ac_link) 2>conftest.er1
35301 ac_status=$?
35302 grep -v '^ *+' conftest.er1 >conftest.err
35303 rm -f conftest.er1
35304 cat conftest.err >&5
35305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35306 (exit $ac_status); } &&
35307 { ac_try='test -z "$ac_c_werror_flag"
35308 || test ! -s conftest.err'
35309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35310 (eval $ac_try) 2>&5
35311 ac_status=$?
35312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35313 (exit $ac_status); }; } &&
35314 { ac_try='test -s conftest$ac_exeext'
35315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35316 (eval $ac_try) 2>&5
35317 ac_status=$?
35318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35319 (exit $ac_status); }; }; then
35320 ac_cv_func_pthread_attr_setschedparam=yes
35321 else
35322 echo "$as_me: failed program was:" >&5
35323 sed 's/^/| /' conftest.$ac_ext >&5
35324
35325 ac_cv_func_pthread_attr_setschedparam=no
35326 fi
35327 rm -f conftest.err conftest.$ac_objext \
35328 conftest$ac_exeext conftest.$ac_ext
35329 fi
35330 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
35331 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
35332 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
35333 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
35334 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
35335 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
35336 echo $ECHO_N "(cached) $ECHO_C" >&6
35337 else
35338 cat >conftest.$ac_ext <<_ACEOF
35339 /* confdefs.h. */
35340 _ACEOF
35341 cat confdefs.h >>conftest.$ac_ext
35342 cat >>conftest.$ac_ext <<_ACEOF
35343 /* end confdefs.h. */
35344 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
35345 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35346 #define sched_get_priority_max innocuous_sched_get_priority_max
35347
35348 /* System header to define __stub macros and hopefully few prototypes,
35349 which can conflict with char sched_get_priority_max (); below.
35350 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35351 <limits.h> exists even on freestanding compilers. */
35352
35353 #ifdef __STDC__
35354 # include <limits.h>
35355 #else
35356 # include <assert.h>
35357 #endif
35358
35359 #undef sched_get_priority_max
35360
35361 /* Override any gcc2 internal prototype to avoid an error. */
35362 #ifdef __cplusplus
35363 extern "C"
35364 {
35365 #endif
35366 /* We use char because int might match the return type of a gcc2
35367 builtin and then its argument prototype would still apply. */
35368 char sched_get_priority_max ();
35369 /* The GNU C library defines this for functions which it implements
35370 to always fail with ENOSYS. Some functions are actually named
35371 something starting with __ and the normal name is an alias. */
35372 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
35373 choke me
35374 #else
35375 char (*f) () = sched_get_priority_max;
35376 #endif
35377 #ifdef __cplusplus
35378 }
35379 #endif
35380
35381 int
35382 main ()
35383 {
35384 return f != sched_get_priority_max;
35385 ;
35386 return 0;
35387 }
35388 _ACEOF
35389 rm -f conftest.$ac_objext conftest$ac_exeext
35390 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35391 (eval $ac_link) 2>conftest.er1
35392 ac_status=$?
35393 grep -v '^ *+' conftest.er1 >conftest.err
35394 rm -f conftest.er1
35395 cat conftest.err >&5
35396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35397 (exit $ac_status); } &&
35398 { ac_try='test -z "$ac_c_werror_flag"
35399 || test ! -s conftest.err'
35400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35401 (eval $ac_try) 2>&5
35402 ac_status=$?
35403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35404 (exit $ac_status); }; } &&
35405 { ac_try='test -s conftest$ac_exeext'
35406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35407 (eval $ac_try) 2>&5
35408 ac_status=$?
35409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35410 (exit $ac_status); }; }; then
35411 ac_cv_func_sched_get_priority_max=yes
35412 else
35413 echo "$as_me: failed program was:" >&5
35414 sed 's/^/| /' conftest.$ac_ext >&5
35415
35416 ac_cv_func_sched_get_priority_max=no
35417 fi
35418 rm -f conftest.err conftest.$ac_objext \
35419 conftest$ac_exeext conftest.$ac_ext
35420 fi
35421 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
35422 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
35423 if test $ac_cv_func_sched_get_priority_max = yes; then
35424 HAVE_PRIOR_FUNCS=1
35425 else
35426 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
35427 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
35428 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
35429 echo $ECHO_N "(cached) $ECHO_C" >&6
35430 else
35431 ac_check_lib_save_LIBS=$LIBS
35432 LIBS="-lposix4 $LIBS"
35433 cat >conftest.$ac_ext <<_ACEOF
35434 /* confdefs.h. */
35435 _ACEOF
35436 cat confdefs.h >>conftest.$ac_ext
35437 cat >>conftest.$ac_ext <<_ACEOF
35438 /* end confdefs.h. */
35439
35440 /* Override any gcc2 internal prototype to avoid an error. */
35441 #ifdef __cplusplus
35442 extern "C"
35443 #endif
35444 /* We use char because int might match the return type of a gcc2
35445 builtin and then its argument prototype would still apply. */
35446 char sched_get_priority_max ();
35447 int
35448 main ()
35449 {
35450 sched_get_priority_max ();
35451 ;
35452 return 0;
35453 }
35454 _ACEOF
35455 rm -f conftest.$ac_objext conftest$ac_exeext
35456 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35457 (eval $ac_link) 2>conftest.er1
35458 ac_status=$?
35459 grep -v '^ *+' conftest.er1 >conftest.err
35460 rm -f conftest.er1
35461 cat conftest.err >&5
35462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35463 (exit $ac_status); } &&
35464 { ac_try='test -z "$ac_c_werror_flag"
35465 || test ! -s conftest.err'
35466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35467 (eval $ac_try) 2>&5
35468 ac_status=$?
35469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35470 (exit $ac_status); }; } &&
35471 { ac_try='test -s conftest$ac_exeext'
35472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35473 (eval $ac_try) 2>&5
35474 ac_status=$?
35475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35476 (exit $ac_status); }; }; then
35477 ac_cv_lib_posix4_sched_get_priority_max=yes
35478 else
35479 echo "$as_me: failed program was:" >&5
35480 sed 's/^/| /' conftest.$ac_ext >&5
35481
35482 ac_cv_lib_posix4_sched_get_priority_max=no
35483 fi
35484 rm -f conftest.err conftest.$ac_objext \
35485 conftest$ac_exeext conftest.$ac_ext
35486 LIBS=$ac_check_lib_save_LIBS
35487 fi
35488 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
35489 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
35490 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
35491
35492 HAVE_PRIOR_FUNCS=1
35493 POSIX4_LINK=" -lposix4"
35494
35495 fi
35496
35497
35498 fi
35499
35500
35501 fi
35502
35503
35504 fi
35505
35506
35507 if test "$HAVE_PRIOR_FUNCS" = 1; then
35508 cat >>confdefs.h <<\_ACEOF
35509 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
35510 _ACEOF
35511
35512 else
35513 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
35514 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
35515 fi
35516
35517 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
35518 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
35519 if test "${ac_cv_func_pthread_cancel+set}" = set; then
35520 echo $ECHO_N "(cached) $ECHO_C" >&6
35521 else
35522 cat >conftest.$ac_ext <<_ACEOF
35523 /* confdefs.h. */
35524 _ACEOF
35525 cat confdefs.h >>conftest.$ac_ext
35526 cat >>conftest.$ac_ext <<_ACEOF
35527 /* end confdefs.h. */
35528 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
35529 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35530 #define pthread_cancel innocuous_pthread_cancel
35531
35532 /* System header to define __stub macros and hopefully few prototypes,
35533 which can conflict with char pthread_cancel (); below.
35534 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35535 <limits.h> exists even on freestanding compilers. */
35536
35537 #ifdef __STDC__
35538 # include <limits.h>
35539 #else
35540 # include <assert.h>
35541 #endif
35542
35543 #undef pthread_cancel
35544
35545 /* Override any gcc2 internal prototype to avoid an error. */
35546 #ifdef __cplusplus
35547 extern "C"
35548 {
35549 #endif
35550 /* We use char because int might match the return type of a gcc2
35551 builtin and then its argument prototype would still apply. */
35552 char pthread_cancel ();
35553 /* The GNU C library defines this for functions which it implements
35554 to always fail with ENOSYS. Some functions are actually named
35555 something starting with __ and the normal name is an alias. */
35556 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
35557 choke me
35558 #else
35559 char (*f) () = pthread_cancel;
35560 #endif
35561 #ifdef __cplusplus
35562 }
35563 #endif
35564
35565 int
35566 main ()
35567 {
35568 return f != pthread_cancel;
35569 ;
35570 return 0;
35571 }
35572 _ACEOF
35573 rm -f conftest.$ac_objext conftest$ac_exeext
35574 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35575 (eval $ac_link) 2>conftest.er1
35576 ac_status=$?
35577 grep -v '^ *+' conftest.er1 >conftest.err
35578 rm -f conftest.er1
35579 cat conftest.err >&5
35580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35581 (exit $ac_status); } &&
35582 { ac_try='test -z "$ac_c_werror_flag"
35583 || test ! -s conftest.err'
35584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35585 (eval $ac_try) 2>&5
35586 ac_status=$?
35587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35588 (exit $ac_status); }; } &&
35589 { ac_try='test -s conftest$ac_exeext'
35590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35591 (eval $ac_try) 2>&5
35592 ac_status=$?
35593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35594 (exit $ac_status); }; }; then
35595 ac_cv_func_pthread_cancel=yes
35596 else
35597 echo "$as_me: failed program was:" >&5
35598 sed 's/^/| /' conftest.$ac_ext >&5
35599
35600 ac_cv_func_pthread_cancel=no
35601 fi
35602 rm -f conftest.err conftest.$ac_objext \
35603 conftest$ac_exeext conftest.$ac_ext
35604 fi
35605 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
35606 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
35607 if test $ac_cv_func_pthread_cancel = yes; then
35608 cat >>confdefs.h <<\_ACEOF
35609 #define HAVE_PTHREAD_CANCEL 1
35610 _ACEOF
35611
35612 else
35613 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
35614 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
35615 fi
35616
35617
35618
35619
35620 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
35621 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
35622 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
35623 echo $ECHO_N "(cached) $ECHO_C" >&6
35624 else
35625
35626 cat >conftest.$ac_ext <<_ACEOF
35627 /* confdefs.h. */
35628 _ACEOF
35629 cat confdefs.h >>conftest.$ac_ext
35630 cat >>conftest.$ac_ext <<_ACEOF
35631 /* end confdefs.h. */
35632 #include <pthread.h>
35633 int
35634 main ()
35635 {
35636
35637 pthread_mutexattr_t attr;
35638 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
35639
35640 ;
35641 return 0;
35642 }
35643 _ACEOF
35644 rm -f conftest.$ac_objext
35645 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35646 (eval $ac_compile) 2>conftest.er1
35647 ac_status=$?
35648 grep -v '^ *+' conftest.er1 >conftest.err
35649 rm -f conftest.er1
35650 cat conftest.err >&5
35651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35652 (exit $ac_status); } &&
35653 { ac_try='test -z "$ac_c_werror_flag"
35654 || test ! -s conftest.err'
35655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35656 (eval $ac_try) 2>&5
35657 ac_status=$?
35658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35659 (exit $ac_status); }; } &&
35660 { ac_try='test -s conftest.$ac_objext'
35661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35662 (eval $ac_try) 2>&5
35663 ac_status=$?
35664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35665 (exit $ac_status); }; }; then
35666
35667 wx_cv_type_pthread_mutexattr_t=yes
35668
35669 else
35670 echo "$as_me: failed program was:" >&5
35671 sed 's/^/| /' conftest.$ac_ext >&5
35672
35673
35674 wx_cv_type_pthread_mutexattr_t=no
35675
35676
35677 fi
35678 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35679
35680 fi
35681 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
35682 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
35683
35684 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
35685 cat >>confdefs.h <<\_ACEOF
35686 #define HAVE_PTHREAD_MUTEXATTR_T 1
35687 _ACEOF
35688
35689 else
35690 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
35691 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
35692 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
35693 echo $ECHO_N "(cached) $ECHO_C" >&6
35694 else
35695
35696 cat >conftest.$ac_ext <<_ACEOF
35697 /* confdefs.h. */
35698 _ACEOF
35699 cat confdefs.h >>conftest.$ac_ext
35700 cat >>conftest.$ac_ext <<_ACEOF
35701 /* end confdefs.h. */
35702 #include <pthread.h>
35703 int
35704 main ()
35705 {
35706
35707 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
35708
35709 ;
35710 return 0;
35711 }
35712 _ACEOF
35713 rm -f conftest.$ac_objext
35714 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35715 (eval $ac_compile) 2>conftest.er1
35716 ac_status=$?
35717 grep -v '^ *+' conftest.er1 >conftest.err
35718 rm -f conftest.er1
35719 cat conftest.err >&5
35720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35721 (exit $ac_status); } &&
35722 { ac_try='test -z "$ac_c_werror_flag"
35723 || test ! -s conftest.err'
35724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35725 (eval $ac_try) 2>&5
35726 ac_status=$?
35727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35728 (exit $ac_status); }; } &&
35729 { ac_try='test -s conftest.$ac_objext'
35730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35731 (eval $ac_try) 2>&5
35732 ac_status=$?
35733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35734 (exit $ac_status); }; }; then
35735
35736 wx_cv_type_pthread_rec_mutex_init=yes
35737
35738 else
35739 echo "$as_me: failed program was:" >&5
35740 sed 's/^/| /' conftest.$ac_ext >&5
35741
35742
35743 wx_cv_type_pthread_rec_mutex_init=no
35744
35745
35746 fi
35747 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35748
35749 fi
35750 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
35751 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
35752 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
35753 cat >>confdefs.h <<\_ACEOF
35754 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
35755 _ACEOF
35756
35757 else
35758 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
35759 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
35760 fi
35761 fi
35762 fi
35763
35764 else
35765 if test "$wxUSE_THREADS" = "yes" ; then
35766 case "${host}" in
35767 *-*-mingw32* )
35768 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
35769 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
35770 if test "${wx_cv_cflags_mthread+set}" = set; then
35771 echo $ECHO_N "(cached) $ECHO_C" >&6
35772 else
35773
35774 CFLAGS_OLD="$CFLAGS"
35775 CFLAGS="$CFLAGS -mthreads"
35776 cat >conftest.$ac_ext <<_ACEOF
35777 /* confdefs.h. */
35778 _ACEOF
35779 cat confdefs.h >>conftest.$ac_ext
35780 cat >>conftest.$ac_ext <<_ACEOF
35781 /* end confdefs.h. */
35782
35783 int
35784 main ()
35785 {
35786
35787 ;
35788 return 0;
35789 }
35790 _ACEOF
35791 rm -f conftest.$ac_objext
35792 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35793 (eval $ac_compile) 2>conftest.er1
35794 ac_status=$?
35795 grep -v '^ *+' conftest.er1 >conftest.err
35796 rm -f conftest.er1
35797 cat conftest.err >&5
35798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35799 (exit $ac_status); } &&
35800 { ac_try='test -z "$ac_c_werror_flag"
35801 || test ! -s conftest.err'
35802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35803 (eval $ac_try) 2>&5
35804 ac_status=$?
35805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35806 (exit $ac_status); }; } &&
35807 { ac_try='test -s conftest.$ac_objext'
35808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35809 (eval $ac_try) 2>&5
35810 ac_status=$?
35811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35812 (exit $ac_status); }; }; then
35813 wx_cv_cflags_mthread=yes
35814 else
35815 echo "$as_me: failed program was:" >&5
35816 sed 's/^/| /' conftest.$ac_ext >&5
35817
35818 wx_cv_cflags_mthread=no
35819
35820 fi
35821 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35822
35823
35824 fi
35825 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
35826 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
35827
35828 if test "$wx_cv_cflags_mthread" = "yes"; then
35829 CXXFLAGS="$CXXFLAGS -mthreads"
35830 TOOLCHAIN_DEFS="$TOOLCHAIN_DEFS -mthreads"
35831 LDFLAGS="$LDFLAGS -mthreads"
35832 else
35833 CFLAGS="$CFLAGS_OLD"
35834 fi
35835 ;;
35836 *-pc-os2*emx )
35837 CFLAGS="$CFLAGS -Zmt -D__ST_MT_ERRNO__"
35838 CXXFLAGS="$CXXFLAGS -Zmt -D__ST_MT_ERRNO__"
35839 LDFLAGS="$LDFLAGS -Zmt"
35840 ;;
35841 esac
35842 fi
35843 fi
35844
35845 if test "$wxUSE_THREADS" = "yes"; then
35846 cat >>confdefs.h <<\_ACEOF
35847 #define wxUSE_THREADS 1
35848 _ACEOF
35849
35850
35851 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
35852 else
35853 if test "$ac_cv_func_strtok_r" = "yes"; then
35854 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
35855 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
35856 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
35857 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D_REENTRANT"
35858 echo "$as_me:$LINENO: result: yes" >&5
35859 echo "${ECHO_T}yes" >&6
35860 else
35861 echo "$as_me:$LINENO: result: no" >&5
35862 echo "${ECHO_T}no" >&6
35863 fi
35864 fi
35865 fi
35866
35867 if test "$WXGTK20" = 1 ; then
35868 cat >>confdefs.h <<_ACEOF
35869 #define __WXGTK20__ $WXGTK20
35870 _ACEOF
35871
35872 WXGTK12=1
35873 fi
35874
35875 if test "$WXGTK12" = 1 ; then
35876 cat >>confdefs.h <<_ACEOF
35877 #define __WXGTK12__ $WXGTK12
35878 _ACEOF
35879
35880 fi
35881
35882 if test "$WXGTK127" = 1 ; then
35883 cat >>confdefs.h <<_ACEOF
35884 #define __WXGTK127__ $WXGTK127
35885 _ACEOF
35886
35887 fi
35888
35889 if test "$WXGPE" = 1 ; then
35890 cat >>confdefs.h <<_ACEOF
35891 #define __WXGPE__ $WXGPE
35892 _ACEOF
35893
35894 fi
35895
35896 WXDEBUG=
35897
35898 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
35899 WXDEBUG="-g"
35900 wxUSE_OPTIMISE=no
35901 fi
35902
35903 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
35904 wxUSE_DEBUG_INFO=yes
35905 if test "$GCC" = yes; then
35906 WXDEBUG="-ggdb"
35907 fi
35908 fi
35909
35910 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
35911 cat >>confdefs.h <<\_ACEOF
35912 #define WXDEBUG 1
35913 _ACEOF
35914
35915 WXDEBUG_DEFINE="-D__WXDEBUG__"
35916 else
35917 if test "$wxUSE_GTK" = 1 ; then
35918 WXDEBUG_DEFINE="-DGTK_NO_CHECK_CASTS"
35919 fi
35920 fi
35921
35922 if test "$wxUSE_MEM_TRACING" = "yes" ; then
35923 cat >>confdefs.h <<\_ACEOF
35924 #define wxUSE_MEMORY_TRACING 1
35925 _ACEOF
35926
35927 cat >>confdefs.h <<\_ACEOF
35928 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
35929 _ACEOF
35930
35931 cat >>confdefs.h <<\_ACEOF
35932 #define wxUSE_DEBUG_NEW_ALWAYS 1
35933 _ACEOF
35934
35935 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
35936 fi
35937
35938 if test "$wxUSE_DMALLOC" = "yes" ; then
35939 DMALLOC_LIBS="-ldmallocthcxx"
35940 fi
35941
35942 PROFILE=
35943 if test "$wxUSE_PROFILE" = "yes" ; then
35944 PROFILE=" -pg"
35945 fi
35946
35947 CODE_GEN_FLAGS=
35948 CODE_GEN_FLAGS_CXX=
35949 if test "$GCC" = "yes" ; then
35950 if test "$wxUSE_NO_RTTI" = "yes" ; then
35951 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fno-rtti"
35952 fi
35953 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
35954 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fno-exceptions"
35955 fi
35956 if test "$wxUSE_PERMISSIVE" = "yes" ; then
35957 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -fpermissive"
35958 fi
35959
35960 case "${host}" in
35961 powerpc*-*-aix* )
35962 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -mminimal-toc"
35963 ;;
35964 *-hppa* )
35965 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -ffunction-sections"
35966 ;;
35967 esac
35968 fi
35969
35970 OPTIMISE=
35971 if test "$wxUSE_OPTIMISE" = "no" ; then
35972 if test "$GCC" = yes ; then
35973 OPTIMISE="-O0"
35974 fi
35975 else
35976 if test "$GCC" = yes ; then
35977 OPTIMISE="-O2"
35978
35979 case "${host}" in
35980 i586-*-*|i686-*-* )
35981 OPTIMISE="${OPTIMISE} "
35982 ;;
35983 esac
35984 else
35985 OPTIMISE="-O"
35986 fi
35987 fi
35988
35989
35990 if test "x$WXWIN_COMPATIBILITY_2_2" = "xyes"; then
35991 cat >>confdefs.h <<\_ACEOF
35992 #define WXWIN_COMPATIBILITY_2_2 1
35993 _ACEOF
35994
35995
35996 WXWIN_COMPATIBILITY_2_4="yes"
35997 fi
35998
35999 if test "x$WXWIN_COMPATIBILITY_2_4" != "xno"; then
36000 cat >>confdefs.h <<\_ACEOF
36001 #define WXWIN_COMPATIBILITY_2_4 1
36002 _ACEOF
36003
36004 fi
36005
36006
36007 if test "$wxUSE_GUI" = "yes"; then
36008 cat >>confdefs.h <<\_ACEOF
36009 #define wxUSE_GUI 1
36010 _ACEOF
36011
36012
36013 fi
36014
36015
36016 if test "$wxUSE_UNIX" = "yes"; then
36017 cat >>confdefs.h <<\_ACEOF
36018 #define wxUSE_UNIX 1
36019 _ACEOF
36020
36021 fi
36022
36023
36024 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
36025
36026 HAVE_DL_FUNCS=0
36027 HAVE_SHL_FUNCS=0
36028 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
36029 if test "$USE_DARWIN" = 1; then
36030 HAVE_DL_FUNCS=1
36031 elif test "$USE_DOS" = 1; then
36032 HAVE_DL_FUNCS=0
36033 else
36034
36035 for ac_func in dlopen
36036 do
36037 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36038 echo "$as_me:$LINENO: checking for $ac_func" >&5
36039 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36040 if eval "test \"\${$as_ac_var+set}\" = set"; then
36041 echo $ECHO_N "(cached) $ECHO_C" >&6
36042 else
36043 cat >conftest.$ac_ext <<_ACEOF
36044 /* confdefs.h. */
36045 _ACEOF
36046 cat confdefs.h >>conftest.$ac_ext
36047 cat >>conftest.$ac_ext <<_ACEOF
36048 /* end confdefs.h. */
36049 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36050 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36051 #define $ac_func innocuous_$ac_func
36052
36053 /* System header to define __stub macros and hopefully few prototypes,
36054 which can conflict with char $ac_func (); below.
36055 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36056 <limits.h> exists even on freestanding compilers. */
36057
36058 #ifdef __STDC__
36059 # include <limits.h>
36060 #else
36061 # include <assert.h>
36062 #endif
36063
36064 #undef $ac_func
36065
36066 /* Override any gcc2 internal prototype to avoid an error. */
36067 #ifdef __cplusplus
36068 extern "C"
36069 {
36070 #endif
36071 /* We use char because int might match the return type of a gcc2
36072 builtin and then its argument prototype would still apply. */
36073 char $ac_func ();
36074 /* The GNU C library defines this for functions which it implements
36075 to always fail with ENOSYS. Some functions are actually named
36076 something starting with __ and the normal name is an alias. */
36077 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36078 choke me
36079 #else
36080 char (*f) () = $ac_func;
36081 #endif
36082 #ifdef __cplusplus
36083 }
36084 #endif
36085
36086 int
36087 main ()
36088 {
36089 return f != $ac_func;
36090 ;
36091 return 0;
36092 }
36093 _ACEOF
36094 rm -f conftest.$ac_objext conftest$ac_exeext
36095 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36096 (eval $ac_link) 2>conftest.er1
36097 ac_status=$?
36098 grep -v '^ *+' conftest.er1 >conftest.err
36099 rm -f conftest.er1
36100 cat conftest.err >&5
36101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36102 (exit $ac_status); } &&
36103 { ac_try='test -z "$ac_c_werror_flag"
36104 || test ! -s conftest.err'
36105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36106 (eval $ac_try) 2>&5
36107 ac_status=$?
36108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36109 (exit $ac_status); }; } &&
36110 { ac_try='test -s conftest$ac_exeext'
36111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36112 (eval $ac_try) 2>&5
36113 ac_status=$?
36114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36115 (exit $ac_status); }; }; then
36116 eval "$as_ac_var=yes"
36117 else
36118 echo "$as_me: failed program was:" >&5
36119 sed 's/^/| /' conftest.$ac_ext >&5
36120
36121 eval "$as_ac_var=no"
36122 fi
36123 rm -f conftest.err conftest.$ac_objext \
36124 conftest$ac_exeext conftest.$ac_ext
36125 fi
36126 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36127 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36128 if test `eval echo '${'$as_ac_var'}'` = yes; then
36129 cat >>confdefs.h <<_ACEOF
36130 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36131 _ACEOF
36132
36133 cat >>confdefs.h <<\_ACEOF
36134 #define HAVE_DLOPEN 1
36135 _ACEOF
36136
36137 HAVE_DL_FUNCS=1
36138
36139 else
36140
36141 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
36142 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
36143 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
36144 echo $ECHO_N "(cached) $ECHO_C" >&6
36145 else
36146 ac_check_lib_save_LIBS=$LIBS
36147 LIBS="-ldl $LIBS"
36148 cat >conftest.$ac_ext <<_ACEOF
36149 /* confdefs.h. */
36150 _ACEOF
36151 cat confdefs.h >>conftest.$ac_ext
36152 cat >>conftest.$ac_ext <<_ACEOF
36153 /* end confdefs.h. */
36154
36155 /* Override any gcc2 internal prototype to avoid an error. */
36156 #ifdef __cplusplus
36157 extern "C"
36158 #endif
36159 /* We use char because int might match the return type of a gcc2
36160 builtin and then its argument prototype would still apply. */
36161 char dlopen ();
36162 int
36163 main ()
36164 {
36165 dlopen ();
36166 ;
36167 return 0;
36168 }
36169 _ACEOF
36170 rm -f conftest.$ac_objext conftest$ac_exeext
36171 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36172 (eval $ac_link) 2>conftest.er1
36173 ac_status=$?
36174 grep -v '^ *+' conftest.er1 >conftest.err
36175 rm -f conftest.er1
36176 cat conftest.err >&5
36177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36178 (exit $ac_status); } &&
36179 { ac_try='test -z "$ac_c_werror_flag"
36180 || test ! -s conftest.err'
36181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36182 (eval $ac_try) 2>&5
36183 ac_status=$?
36184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36185 (exit $ac_status); }; } &&
36186 { ac_try='test -s conftest$ac_exeext'
36187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36188 (eval $ac_try) 2>&5
36189 ac_status=$?
36190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36191 (exit $ac_status); }; }; then
36192 ac_cv_lib_dl_dlopen=yes
36193 else
36194 echo "$as_me: failed program was:" >&5
36195 sed 's/^/| /' conftest.$ac_ext >&5
36196
36197 ac_cv_lib_dl_dlopen=no
36198 fi
36199 rm -f conftest.err conftest.$ac_objext \
36200 conftest$ac_exeext conftest.$ac_ext
36201 LIBS=$ac_check_lib_save_LIBS
36202 fi
36203 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
36204 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
36205 if test $ac_cv_lib_dl_dlopen = yes; then
36206
36207 cat >>confdefs.h <<\_ACEOF
36208 #define HAVE_DLOPEN 1
36209 _ACEOF
36210
36211 HAVE_DL_FUNCS=1
36212 DL_LINK=" -ldl$DL_LINK"
36213
36214 else
36215
36216
36217 for ac_func in shl_load
36218 do
36219 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36220 echo "$as_me:$LINENO: checking for $ac_func" >&5
36221 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36222 if eval "test \"\${$as_ac_var+set}\" = set"; then
36223 echo $ECHO_N "(cached) $ECHO_C" >&6
36224 else
36225 cat >conftest.$ac_ext <<_ACEOF
36226 /* confdefs.h. */
36227 _ACEOF
36228 cat confdefs.h >>conftest.$ac_ext
36229 cat >>conftest.$ac_ext <<_ACEOF
36230 /* end confdefs.h. */
36231 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36232 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36233 #define $ac_func innocuous_$ac_func
36234
36235 /* System header to define __stub macros and hopefully few prototypes,
36236 which can conflict with char $ac_func (); below.
36237 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36238 <limits.h> exists even on freestanding compilers. */
36239
36240 #ifdef __STDC__
36241 # include <limits.h>
36242 #else
36243 # include <assert.h>
36244 #endif
36245
36246 #undef $ac_func
36247
36248 /* Override any gcc2 internal prototype to avoid an error. */
36249 #ifdef __cplusplus
36250 extern "C"
36251 {
36252 #endif
36253 /* We use char because int might match the return type of a gcc2
36254 builtin and then its argument prototype would still apply. */
36255 char $ac_func ();
36256 /* The GNU C library defines this for functions which it implements
36257 to always fail with ENOSYS. Some functions are actually named
36258 something starting with __ and the normal name is an alias. */
36259 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36260 choke me
36261 #else
36262 char (*f) () = $ac_func;
36263 #endif
36264 #ifdef __cplusplus
36265 }
36266 #endif
36267
36268 int
36269 main ()
36270 {
36271 return f != $ac_func;
36272 ;
36273 return 0;
36274 }
36275 _ACEOF
36276 rm -f conftest.$ac_objext conftest$ac_exeext
36277 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36278 (eval $ac_link) 2>conftest.er1
36279 ac_status=$?
36280 grep -v '^ *+' conftest.er1 >conftest.err
36281 rm -f conftest.er1
36282 cat conftest.err >&5
36283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36284 (exit $ac_status); } &&
36285 { ac_try='test -z "$ac_c_werror_flag"
36286 || test ! -s conftest.err'
36287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36288 (eval $ac_try) 2>&5
36289 ac_status=$?
36290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36291 (exit $ac_status); }; } &&
36292 { ac_try='test -s conftest$ac_exeext'
36293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36294 (eval $ac_try) 2>&5
36295 ac_status=$?
36296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36297 (exit $ac_status); }; }; then
36298 eval "$as_ac_var=yes"
36299 else
36300 echo "$as_me: failed program was:" >&5
36301 sed 's/^/| /' conftest.$ac_ext >&5
36302
36303 eval "$as_ac_var=no"
36304 fi
36305 rm -f conftest.err conftest.$ac_objext \
36306 conftest$ac_exeext conftest.$ac_ext
36307 fi
36308 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36309 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36310 if test `eval echo '${'$as_ac_var'}'` = yes; then
36311 cat >>confdefs.h <<_ACEOF
36312 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36313 _ACEOF
36314
36315 cat >>confdefs.h <<\_ACEOF
36316 #define HAVE_SHL_LOAD 1
36317 _ACEOF
36318
36319 HAVE_SHL_FUNCS=1
36320
36321 else
36322
36323 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
36324 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
36325 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
36326 echo $ECHO_N "(cached) $ECHO_C" >&6
36327 else
36328 ac_check_lib_save_LIBS=$LIBS
36329 LIBS="-lshl_load $LIBS"
36330 cat >conftest.$ac_ext <<_ACEOF
36331 /* confdefs.h. */
36332 _ACEOF
36333 cat confdefs.h >>conftest.$ac_ext
36334 cat >>conftest.$ac_ext <<_ACEOF
36335 /* end confdefs.h. */
36336
36337 /* Override any gcc2 internal prototype to avoid an error. */
36338 #ifdef __cplusplus
36339 extern "C"
36340 #endif
36341 /* We use char because int might match the return type of a gcc2
36342 builtin and then its argument prototype would still apply. */
36343 char dld ();
36344 int
36345 main ()
36346 {
36347 dld ();
36348 ;
36349 return 0;
36350 }
36351 _ACEOF
36352 rm -f conftest.$ac_objext conftest$ac_exeext
36353 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36354 (eval $ac_link) 2>conftest.er1
36355 ac_status=$?
36356 grep -v '^ *+' conftest.er1 >conftest.err
36357 rm -f conftest.er1
36358 cat conftest.err >&5
36359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36360 (exit $ac_status); } &&
36361 { ac_try='test -z "$ac_c_werror_flag"
36362 || test ! -s conftest.err'
36363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36364 (eval $ac_try) 2>&5
36365 ac_status=$?
36366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36367 (exit $ac_status); }; } &&
36368 { ac_try='test -s conftest$ac_exeext'
36369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36370 (eval $ac_try) 2>&5
36371 ac_status=$?
36372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36373 (exit $ac_status); }; }; then
36374 ac_cv_lib_shl_load_dld=yes
36375 else
36376 echo "$as_me: failed program was:" >&5
36377 sed 's/^/| /' conftest.$ac_ext >&5
36378
36379 ac_cv_lib_shl_load_dld=no
36380 fi
36381 rm -f conftest.err conftest.$ac_objext \
36382 conftest$ac_exeext conftest.$ac_ext
36383 LIBS=$ac_check_lib_save_LIBS
36384 fi
36385 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
36386 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
36387 if test $ac_cv_lib_shl_load_dld = yes; then
36388
36389 HAVE_SHL_FUNCS=1
36390 DL_LINK=" -ldld$DL_LINK"
36391
36392 fi
36393
36394
36395 fi
36396 done
36397
36398
36399 fi
36400
36401
36402 fi
36403 done
36404
36405
36406 if test "$HAVE_DL_FUNCS" = 1; then
36407
36408 for ac_func in dlerror
36409 do
36410 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36411 echo "$as_me:$LINENO: checking for $ac_func" >&5
36412 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36413 if eval "test \"\${$as_ac_var+set}\" = set"; then
36414 echo $ECHO_N "(cached) $ECHO_C" >&6
36415 else
36416 cat >conftest.$ac_ext <<_ACEOF
36417 /* confdefs.h. */
36418 _ACEOF
36419 cat confdefs.h >>conftest.$ac_ext
36420 cat >>conftest.$ac_ext <<_ACEOF
36421 /* end confdefs.h. */
36422 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36423 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36424 #define $ac_func innocuous_$ac_func
36425
36426 /* System header to define __stub macros and hopefully few prototypes,
36427 which can conflict with char $ac_func (); below.
36428 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36429 <limits.h> exists even on freestanding compilers. */
36430
36431 #ifdef __STDC__
36432 # include <limits.h>
36433 #else
36434 # include <assert.h>
36435 #endif
36436
36437 #undef $ac_func
36438
36439 /* Override any gcc2 internal prototype to avoid an error. */
36440 #ifdef __cplusplus
36441 extern "C"
36442 {
36443 #endif
36444 /* We use char because int might match the return type of a gcc2
36445 builtin and then its argument prototype would still apply. */
36446 char $ac_func ();
36447 /* The GNU C library defines this for functions which it implements
36448 to always fail with ENOSYS. Some functions are actually named
36449 something starting with __ and the normal name is an alias. */
36450 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36451 choke me
36452 #else
36453 char (*f) () = $ac_func;
36454 #endif
36455 #ifdef __cplusplus
36456 }
36457 #endif
36458
36459 int
36460 main ()
36461 {
36462 return f != $ac_func;
36463 ;
36464 return 0;
36465 }
36466 _ACEOF
36467 rm -f conftest.$ac_objext conftest$ac_exeext
36468 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36469 (eval $ac_link) 2>conftest.er1
36470 ac_status=$?
36471 grep -v '^ *+' conftest.er1 >conftest.err
36472 rm -f conftest.er1
36473 cat conftest.err >&5
36474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36475 (exit $ac_status); } &&
36476 { ac_try='test -z "$ac_c_werror_flag"
36477 || test ! -s conftest.err'
36478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36479 (eval $ac_try) 2>&5
36480 ac_status=$?
36481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36482 (exit $ac_status); }; } &&
36483 { ac_try='test -s conftest$ac_exeext'
36484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36485 (eval $ac_try) 2>&5
36486 ac_status=$?
36487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36488 (exit $ac_status); }; }; then
36489 eval "$as_ac_var=yes"
36490 else
36491 echo "$as_me: failed program was:" >&5
36492 sed 's/^/| /' conftest.$ac_ext >&5
36493
36494 eval "$as_ac_var=no"
36495 fi
36496 rm -f conftest.err conftest.$ac_objext \
36497 conftest$ac_exeext conftest.$ac_ext
36498 fi
36499 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36500 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36501 if test `eval echo '${'$as_ac_var'}'` = yes; then
36502 cat >>confdefs.h <<_ACEOF
36503 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36504 _ACEOF
36505 cat >>confdefs.h <<\_ACEOF
36506 #define HAVE_DLERROR 1
36507 _ACEOF
36508
36509 else
36510
36511 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
36512 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
36513 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
36514 echo $ECHO_N "(cached) $ECHO_C" >&6
36515 else
36516 ac_check_lib_save_LIBS=$LIBS
36517 LIBS="-ldl $LIBS"
36518 cat >conftest.$ac_ext <<_ACEOF
36519 /* confdefs.h. */
36520 _ACEOF
36521 cat confdefs.h >>conftest.$ac_ext
36522 cat >>conftest.$ac_ext <<_ACEOF
36523 /* end confdefs.h. */
36524
36525 /* Override any gcc2 internal prototype to avoid an error. */
36526 #ifdef __cplusplus
36527 extern "C"
36528 #endif
36529 /* We use char because int might match the return type of a gcc2
36530 builtin and then its argument prototype would still apply. */
36531 char dlerror ();
36532 int
36533 main ()
36534 {
36535 dlerror ();
36536 ;
36537 return 0;
36538 }
36539 _ACEOF
36540 rm -f conftest.$ac_objext conftest$ac_exeext
36541 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36542 (eval $ac_link) 2>conftest.er1
36543 ac_status=$?
36544 grep -v '^ *+' conftest.er1 >conftest.err
36545 rm -f conftest.er1
36546 cat conftest.err >&5
36547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36548 (exit $ac_status); } &&
36549 { ac_try='test -z "$ac_c_werror_flag"
36550 || test ! -s conftest.err'
36551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36552 (eval $ac_try) 2>&5
36553 ac_status=$?
36554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36555 (exit $ac_status); }; } &&
36556 { ac_try='test -s conftest$ac_exeext'
36557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36558 (eval $ac_try) 2>&5
36559 ac_status=$?
36560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36561 (exit $ac_status); }; }; then
36562 ac_cv_lib_dl_dlerror=yes
36563 else
36564 echo "$as_me: failed program was:" >&5
36565 sed 's/^/| /' conftest.$ac_ext >&5
36566
36567 ac_cv_lib_dl_dlerror=no
36568 fi
36569 rm -f conftest.err conftest.$ac_objext \
36570 conftest$ac_exeext conftest.$ac_ext
36571 LIBS=$ac_check_lib_save_LIBS
36572 fi
36573 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
36574 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
36575 if test $ac_cv_lib_dl_dlerror = yes; then
36576 cat >>confdefs.h <<\_ACEOF
36577 #define HAVE_DLERROR 1
36578 _ACEOF
36579
36580 fi
36581
36582
36583
36584 fi
36585 done
36586
36587 fi
36588 fi
36589
36590 if test "$HAVE_DL_FUNCS" = 0; then
36591 if test "$HAVE_SHL_FUNCS" = 0; then
36592 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
36593 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
36594 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
36595 wxUSE_DYNAMIC_LOADER=no
36596 wxUSE_DYNLIB_CLASS=no
36597 else
36598 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
36599 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
36600 fi
36601 fi
36602 fi
36603 fi
36604 fi
36605
36606 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
36607 cat >>confdefs.h <<\_ACEOF
36608 #define wxUSE_DYNAMIC_LOADER 1
36609 _ACEOF
36610
36611 fi
36612 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
36613 cat >>confdefs.h <<\_ACEOF
36614 #define wxUSE_DYNLIB_CLASS 1
36615 _ACEOF
36616
36617 fi
36618
36619
36620
36621 if test "$wxUSE_PLUGINS" = "yes" ; then
36622 if test "$wxUSE_SHARED" = "no" ; then
36623 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
36624 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
36625 wxUSE_PLUGINS=no
36626 fi
36627 if test "$wxUSE_MONOLITHIC" = "yes" ; then
36628 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
36629 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
36630 wxUSE_PLUGINS=no
36631 fi
36632 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
36633 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
36634 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
36635 wxUSE_PLUGINS=no
36636 fi
36637 if test "$wxUSE_PLUGINS" = "yes" ; then
36638 cat >>confdefs.h <<\_ACEOF
36639 #define wxUSE_PLUGINS 1
36640 _ACEOF
36641
36642 fi
36643 fi
36644
36645
36646 if test "$wxUSE_STL" = "yes"; then
36647 cat >>confdefs.h <<\_ACEOF
36648 #define wxUSE_STL 1
36649 _ACEOF
36650
36651 fi
36652
36653 if test "$wxUSE_APPLE_IEEE" = "yes"; then
36654 cat >>confdefs.h <<\_ACEOF
36655 #define wxUSE_APPLE_IEEE 1
36656 _ACEOF
36657
36658 fi
36659
36660 if test "$wxUSE_TIMER" = "yes"; then
36661 cat >>confdefs.h <<\_ACEOF
36662 #define wxUSE_TIMER 1
36663 _ACEOF
36664
36665 fi
36666
36667 if test "$USE_UNIX" = "1" ; then
36668
36669 for ac_header in sys/soundcard.h
36670 do
36671 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
36672 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36673 echo "$as_me:$LINENO: checking for $ac_header" >&5
36674 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36675 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36676 echo $ECHO_N "(cached) $ECHO_C" >&6
36677 fi
36678 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36679 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36680 else
36681 # Is the header compilable?
36682 echo "$as_me:$LINENO: checking $ac_header usability" >&5
36683 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
36684 cat >conftest.$ac_ext <<_ACEOF
36685 /* confdefs.h. */
36686 _ACEOF
36687 cat confdefs.h >>conftest.$ac_ext
36688 cat >>conftest.$ac_ext <<_ACEOF
36689 /* end confdefs.h. */
36690 $ac_includes_default
36691 #include <$ac_header>
36692 _ACEOF
36693 rm -f conftest.$ac_objext
36694 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36695 (eval $ac_compile) 2>conftest.er1
36696 ac_status=$?
36697 grep -v '^ *+' conftest.er1 >conftest.err
36698 rm -f conftest.er1
36699 cat conftest.err >&5
36700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36701 (exit $ac_status); } &&
36702 { ac_try='test -z "$ac_c_werror_flag"
36703 || test ! -s conftest.err'
36704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36705 (eval $ac_try) 2>&5
36706 ac_status=$?
36707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36708 (exit $ac_status); }; } &&
36709 { ac_try='test -s conftest.$ac_objext'
36710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36711 (eval $ac_try) 2>&5
36712 ac_status=$?
36713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36714 (exit $ac_status); }; }; then
36715 ac_header_compiler=yes
36716 else
36717 echo "$as_me: failed program was:" >&5
36718 sed 's/^/| /' conftest.$ac_ext >&5
36719
36720 ac_header_compiler=no
36721 fi
36722 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36723 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
36724 echo "${ECHO_T}$ac_header_compiler" >&6
36725
36726 # Is the header present?
36727 echo "$as_me:$LINENO: checking $ac_header presence" >&5
36728 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
36729 cat >conftest.$ac_ext <<_ACEOF
36730 /* confdefs.h. */
36731 _ACEOF
36732 cat confdefs.h >>conftest.$ac_ext
36733 cat >>conftest.$ac_ext <<_ACEOF
36734 /* end confdefs.h. */
36735 #include <$ac_header>
36736 _ACEOF
36737 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
36738 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
36739 ac_status=$?
36740 grep -v '^ *+' conftest.er1 >conftest.err
36741 rm -f conftest.er1
36742 cat conftest.err >&5
36743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36744 (exit $ac_status); } >/dev/null; then
36745 if test -s conftest.err; then
36746 ac_cpp_err=$ac_c_preproc_warn_flag
36747 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
36748 else
36749 ac_cpp_err=
36750 fi
36751 else
36752 ac_cpp_err=yes
36753 fi
36754 if test -z "$ac_cpp_err"; then
36755 ac_header_preproc=yes
36756 else
36757 echo "$as_me: failed program was:" >&5
36758 sed 's/^/| /' conftest.$ac_ext >&5
36759
36760 ac_header_preproc=no
36761 fi
36762 rm -f conftest.err conftest.$ac_ext
36763 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
36764 echo "${ECHO_T}$ac_header_preproc" >&6
36765
36766 # So? What about this header?
36767 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
36768 yes:no: )
36769 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
36770 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
36771 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
36772 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
36773 ac_header_preproc=yes
36774 ;;
36775 no:yes:* )
36776 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
36777 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
36778 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
36779 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
36780 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
36781 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
36782 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
36783 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
36784 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
36785 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
36786 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
36787 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
36788 (
36789 cat <<\_ASBOX
36790 ## ----------------------------------------- ##
36791 ## Report this to wx-dev@lists.wxwidgets.org ##
36792 ## ----------------------------------------- ##
36793 _ASBOX
36794 ) |
36795 sed "s/^/$as_me: WARNING: /" >&2
36796 ;;
36797 esac
36798 echo "$as_me:$LINENO: checking for $ac_header" >&5
36799 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36800 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36801 echo $ECHO_N "(cached) $ECHO_C" >&6
36802 else
36803 eval "$as_ac_Header=\$ac_header_preproc"
36804 fi
36805 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36806 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36807
36808 fi
36809 if test `eval echo '${'$as_ac_Header'}'` = yes; then
36810 cat >>confdefs.h <<_ACEOF
36811 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
36812 _ACEOF
36813
36814 else
36815 DISABLED_CONTRIB="$DISABLED_CONTRIB mmedia"
36816 fi
36817
36818 done
36819
36820 fi
36821 WITH_PLUGIN_SDL=0
36822 if test "$wxUSE_SOUND" = "yes"; then
36823 if test "$USE_UNIX" = "1" ; then
36824 if test "$wxUSE_LIBSDL" != "no"; then
36825
36826 # Check whether --with-sdl-prefix or --without-sdl-prefix was given.
36827 if test "${with_sdl_prefix+set}" = set; then
36828 withval="$with_sdl_prefix"
36829 sdl_prefix="$withval"
36830 else
36831 sdl_prefix=""
36832 fi;
36833
36834 # Check whether --with-sdl-exec-prefix or --without-sdl-exec-prefix was given.
36835 if test "${with_sdl_exec_prefix+set}" = set; then
36836 withval="$with_sdl_exec_prefix"
36837 sdl_exec_prefix="$withval"
36838 else
36839 sdl_exec_prefix=""
36840 fi;
36841 # Check whether --enable-sdltest or --disable-sdltest was given.
36842 if test "${enable_sdltest+set}" = set; then
36843 enableval="$enable_sdltest"
36844
36845 else
36846 enable_sdltest=yes
36847 fi;
36848
36849 if test x$sdl_exec_prefix != x ; then
36850 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
36851 if test x${SDL_CONFIG+set} != xset ; then
36852 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
36853 fi
36854 fi
36855 if test x$sdl_prefix != x ; then
36856 sdl_args="$sdl_args --prefix=$sdl_prefix"
36857 if test x${SDL_CONFIG+set} != xset ; then
36858 SDL_CONFIG=$sdl_prefix/bin/sdl-config
36859 fi
36860 fi
36861
36862
36863 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
36864 # Extract the first word of "sdl-config", so it can be a program name with args.
36865 set dummy sdl-config; ac_word=$2
36866 echo "$as_me:$LINENO: checking for $ac_word" >&5
36867 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
36868 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
36869 echo $ECHO_N "(cached) $ECHO_C" >&6
36870 else
36871 case $SDL_CONFIG in
36872 [\\/]* | ?:[\\/]*)
36873 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
36874 ;;
36875 *)
36876 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
36877 for as_dir in $PATH
36878 do
36879 IFS=$as_save_IFS
36880 test -z "$as_dir" && as_dir=.
36881 for ac_exec_ext in '' $ac_executable_extensions; do
36882 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
36883 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
36884 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
36885 break 2
36886 fi
36887 done
36888 done
36889
36890 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
36891 ;;
36892 esac
36893 fi
36894 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
36895
36896 if test -n "$SDL_CONFIG"; then
36897 echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
36898 echo "${ECHO_T}$SDL_CONFIG" >&6
36899 else
36900 echo "$as_me:$LINENO: result: no" >&5
36901 echo "${ECHO_T}no" >&6
36902 fi
36903
36904 min_sdl_version=1.2.0
36905 echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
36906 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6
36907 no_sdl=""
36908 if test "$SDL_CONFIG" = "no" ; then
36909 no_sdl=yes
36910 else
36911 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
36912 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
36913
36914 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
36915 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
36916 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
36917 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
36918 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
36919 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
36920 if test "x$enable_sdltest" = "xyes" ; then
36921 ac_save_CFLAGS="$CFLAGS"
36922 ac_save_CXXFLAGS="$CXXFLAGS"
36923 ac_save_LIBS="$LIBS"
36924 CFLAGS="$CFLAGS $SDL_CFLAGS"
36925 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
36926 LIBS="$LIBS $SDL_LIBS"
36927 rm -f conf.sdltest
36928 if test "$cross_compiling" = yes; then
36929 echo $ac_n "cross compiling; assumed OK... $ac_c"
36930 else
36931 cat >conftest.$ac_ext <<_ACEOF
36932 /* confdefs.h. */
36933 _ACEOF
36934 cat confdefs.h >>conftest.$ac_ext
36935 cat >>conftest.$ac_ext <<_ACEOF
36936 /* end confdefs.h. */
36937
36938 #include <stdio.h>
36939 #include <stdlib.h>
36940 #include <string.h>
36941 #include "SDL.h"
36942
36943 char*
36944 my_strdup (char *str)
36945 {
36946 char *new_str;
36947
36948 if (str)
36949 {
36950 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
36951 strcpy (new_str, str);
36952 }
36953 else
36954 new_str = NULL;
36955
36956 return new_str;
36957 }
36958
36959 int main (int argc, char *argv[])
36960 {
36961 int major, minor, micro;
36962 char *tmp_version;
36963
36964 /* This hangs on some systems (?)
36965 system ("touch conf.sdltest");
36966 */
36967 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
36968
36969 /* HP/UX 9 (%@#!) writes to sscanf strings */
36970 tmp_version = my_strdup("$min_sdl_version");
36971 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
36972 printf("%s, bad version string\n", "$min_sdl_version");
36973 exit(1);
36974 }
36975
36976 if (($sdl_major_version > major) ||
36977 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
36978 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
36979 {
36980 return 0;
36981 }
36982 else
36983 {
36984 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
36985 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
36986 printf("*** best to upgrade to the required version.\n");
36987 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
36988 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
36989 printf("*** config.cache before re-running configure\n");
36990 return 1;
36991 }
36992 }
36993
36994
36995 _ACEOF
36996 rm -f conftest$ac_exeext
36997 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36998 (eval $ac_link) 2>&5
36999 ac_status=$?
37000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37001 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
37002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37003 (eval $ac_try) 2>&5
37004 ac_status=$?
37005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37006 (exit $ac_status); }; }; then
37007 :
37008 else
37009 echo "$as_me: program exited with status $ac_status" >&5
37010 echo "$as_me: failed program was:" >&5
37011 sed 's/^/| /' conftest.$ac_ext >&5
37012
37013 ( exit $ac_status )
37014 no_sdl=yes
37015 fi
37016 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
37017 fi
37018 CFLAGS="$ac_save_CFLAGS"
37019 CXXFLAGS="$ac_save_CXXFLAGS"
37020 LIBS="$ac_save_LIBS"
37021 fi
37022 fi
37023 if test "x$no_sdl" = x ; then
37024 echo "$as_me:$LINENO: result: yes" >&5
37025 echo "${ECHO_T}yes" >&6
37026
37027 EXTRALIBS_SDL="$SDL_LIBS"
37028 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
37029 cat >>confdefs.h <<\_ACEOF
37030 #define wxUSE_LIBSDL 1
37031 _ACEOF
37032
37033
37034 else
37035 echo "$as_me:$LINENO: result: no" >&5
37036 echo "${ECHO_T}no" >&6
37037 if test "$SDL_CONFIG" = "no" ; then
37038 echo "*** The sdl-config script installed by SDL could not be found"
37039 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
37040 echo "*** your path, or set the SDL_CONFIG environment variable to the"
37041 echo "*** full path to sdl-config."
37042 else
37043 if test -f conf.sdltest ; then
37044 :
37045 else
37046 echo "*** Could not run SDL test program, checking why..."
37047 CFLAGS="$CFLAGS $SDL_CFLAGS"
37048 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
37049 LIBS="$LIBS $SDL_LIBS"
37050 cat >conftest.$ac_ext <<_ACEOF
37051 /* confdefs.h. */
37052 _ACEOF
37053 cat confdefs.h >>conftest.$ac_ext
37054 cat >>conftest.$ac_ext <<_ACEOF
37055 /* end confdefs.h. */
37056
37057 #include <stdio.h>
37058 #include "SDL.h"
37059
37060 int main(int argc, char *argv[])
37061 { return 0; }
37062 #undef main
37063 #define main K_and_R_C_main
37064
37065 int
37066 main ()
37067 {
37068 return 0;
37069 ;
37070 return 0;
37071 }
37072 _ACEOF
37073 rm -f conftest.$ac_objext conftest$ac_exeext
37074 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37075 (eval $ac_link) 2>conftest.er1
37076 ac_status=$?
37077 grep -v '^ *+' conftest.er1 >conftest.err
37078 rm -f conftest.er1
37079 cat conftest.err >&5
37080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37081 (exit $ac_status); } &&
37082 { ac_try='test -z "$ac_c_werror_flag"
37083 || test ! -s conftest.err'
37084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37085 (eval $ac_try) 2>&5
37086 ac_status=$?
37087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37088 (exit $ac_status); }; } &&
37089 { ac_try='test -s conftest$ac_exeext'
37090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37091 (eval $ac_try) 2>&5
37092 ac_status=$?
37093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37094 (exit $ac_status); }; }; then
37095 echo "*** The test program compiled, but did not run. This usually means"
37096 echo "*** that the run-time linker is not finding SDL or finding the wrong"
37097 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
37098 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
37099 echo "*** to the installed location Also, make sure you have run ldconfig if that"
37100 echo "*** is required on your system"
37101 echo "***"
37102 echo "*** If you have an old version installed, it is best to remove it, although"
37103 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
37104 else
37105 echo "$as_me: failed program was:" >&5
37106 sed 's/^/| /' conftest.$ac_ext >&5
37107
37108 echo "*** The test program failed to compile or link. See the file config.log for the"
37109 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
37110 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
37111 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
37112 fi
37113 rm -f conftest.err conftest.$ac_objext \
37114 conftest$ac_exeext conftest.$ac_ext
37115 CFLAGS="$ac_save_CFLAGS"
37116 CXXFLAGS="$ac_save_CXXFLAGS"
37117 LIBS="$ac_save_LIBS"
37118 fi
37119 fi
37120 SDL_CFLAGS=""
37121 SDL_LIBS=""
37122 wxUSE_LIBSDL="no"
37123 fi
37124
37125
37126 rm -f conf.sdltest
37127
37128 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
37129 WITH_PLUGIN_SDL=1
37130 fi
37131 fi
37132 fi
37133
37134 cat >>confdefs.h <<\_ACEOF
37135 #define wxUSE_SOUND 1
37136 _ACEOF
37137
37138 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
37139 fi
37140
37141 if test "$WXGTK20" = 1; then
37142 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
37143 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
37144
37145
37146 succeeded=no
37147
37148 if test -z "$PKG_CONFIG"; then
37149 # Extract the first word of "pkg-config", so it can be a program name with args.
37150 set dummy pkg-config; ac_word=$2
37151 echo "$as_me:$LINENO: checking for $ac_word" >&5
37152 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
37153 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
37154 echo $ECHO_N "(cached) $ECHO_C" >&6
37155 else
37156 case $PKG_CONFIG in
37157 [\\/]* | ?:[\\/]*)
37158 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
37159 ;;
37160 *)
37161 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
37162 for as_dir in $PATH
37163 do
37164 IFS=$as_save_IFS
37165 test -z "$as_dir" && as_dir=.
37166 for ac_exec_ext in '' $ac_executable_extensions; do
37167 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
37168 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
37169 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
37170 break 2
37171 fi
37172 done
37173 done
37174
37175 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
37176 ;;
37177 esac
37178 fi
37179 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
37180
37181 if test -n "$PKG_CONFIG"; then
37182 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
37183 echo "${ECHO_T}$PKG_CONFIG" >&6
37184 else
37185 echo "$as_me:$LINENO: result: no" >&5
37186 echo "${ECHO_T}no" >&6
37187 fi
37188
37189 fi
37190
37191 if test "$PKG_CONFIG" = "no" ; then
37192 echo "*** The pkg-config script could not be found. Make sure it is"
37193 echo "*** in your path, or set the PKG_CONFIG environment variable"
37194 echo "*** to the full path to pkg-config."
37195 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
37196 else
37197 PKG_CONFIG_MIN_VERSION=0.9.0
37198 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
37199 echo "$as_me:$LINENO: checking for libgnomeprintui-2.2 >= 2.8" >&5
37200 echo $ECHO_N "checking for libgnomeprintui-2.2 >= 2.8... $ECHO_C" >&6
37201
37202 if $PKG_CONFIG --exists "libgnomeprintui-2.2 >= 2.8" ; then
37203 echo "$as_me:$LINENO: result: yes" >&5
37204 echo "${ECHO_T}yes" >&6
37205 succeeded=yes
37206
37207 echo "$as_me:$LINENO: checking LIBGNOMEPRINTUI_CFLAGS" >&5
37208 echo $ECHO_N "checking LIBGNOMEPRINTUI_CFLAGS... $ECHO_C" >&6
37209 LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8"`
37210 echo "$as_me:$LINENO: result: $LIBGNOMEPRINTUI_CFLAGS" >&5
37211 echo "${ECHO_T}$LIBGNOMEPRINTUI_CFLAGS" >&6
37212
37213 echo "$as_me:$LINENO: checking LIBGNOMEPRINTUI_LIBS" >&5
37214 echo $ECHO_N "checking LIBGNOMEPRINTUI_LIBS... $ECHO_C" >&6
37215 LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8"`
37216 echo "$as_me:$LINENO: result: $LIBGNOMEPRINTUI_LIBS" >&5
37217 echo "${ECHO_T}$LIBGNOMEPRINTUI_LIBS" >&6
37218 else
37219 LIBGNOMEPRINTUI_CFLAGS=""
37220 LIBGNOMEPRINTUI_LIBS=""
37221 ## If we have a custom action on failure, don't print errors, but
37222 ## do set a variable so people can do so.
37223 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
37224
37225 fi
37226
37227
37228
37229 else
37230 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
37231 echo "*** See http://www.freedesktop.org/software/pkgconfig"
37232 fi
37233 fi
37234
37235 if test $succeeded = yes; then
37236
37237 CXXFLAGS="$CXXFLAGS $LIBGNOMEPRINTUI_CFLAGS"
37238 cat >>confdefs.h <<\_ACEOF
37239 #define wxUSE_LIBGNOMEPRINT 1
37240 _ACEOF
37241
37242
37243 else
37244
37245 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
37246 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
37247 wxUSE_LIBGNOMEPRINT="no"
37248
37249
37250 fi
37251
37252 fi
37253 fi
37254 fi
37255
37256
37257 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
37258 cat >>confdefs.h <<\_ACEOF
37259 #define wxUSE_CMDLINE_PARSER 1
37260 _ACEOF
37261
37262 fi
37263
37264 if test "$wxUSE_STOPWATCH" = "yes"; then
37265 cat >>confdefs.h <<\_ACEOF
37266 #define wxUSE_STOPWATCH 1
37267 _ACEOF
37268
37269 fi
37270
37271 if test "$wxUSE_DATETIME" = "yes"; then
37272 cat >>confdefs.h <<\_ACEOF
37273 #define wxUSE_DATETIME 1
37274 _ACEOF
37275
37276 fi
37277
37278 if test "$wxUSE_FILE" = "yes"; then
37279 cat >>confdefs.h <<\_ACEOF
37280 #define wxUSE_FILE 1
37281 _ACEOF
37282
37283 fi
37284
37285 if test "$wxUSE_FFILE" = "yes"; then
37286 cat >>confdefs.h <<\_ACEOF
37287 #define wxUSE_FFILE 1
37288 _ACEOF
37289
37290 fi
37291
37292 if test "$wxUSE_FILESYSTEM" = "yes"; then
37293 cat >>confdefs.h <<\_ACEOF
37294 #define wxUSE_FILESYSTEM 1
37295 _ACEOF
37296
37297 fi
37298
37299 if test "$wxUSE_FS_ZIP" = "yes"; then
37300 cat >>confdefs.h <<\_ACEOF
37301 #define wxUSE_FS_ZIP 1
37302 _ACEOF
37303
37304 fi
37305
37306 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
37307 cat >>confdefs.h <<\_ACEOF
37308 #define wxUSE_ARCHIVE_STREAMS 1
37309 _ACEOF
37310
37311 fi
37312
37313 if test "$wxUSE_ZIPSTREAM" = "yes"; then
37314 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
37315 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
37316 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
37317 elif test "$wxUSE_ZLIB" = "no"; then
37318 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
37319 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
37320 else
37321 cat >>confdefs.h <<\_ACEOF
37322 #define wxUSE_ZIPSTREAM 1
37323 _ACEOF
37324
37325 fi
37326 fi
37327
37328 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
37329 if test "$USE_UNIX" != 1; then
37330 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
37331 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
37332 wxUSE_ON_FATAL_EXCEPTION=no
37333 else
37334 cat >>confdefs.h <<\_ACEOF
37335 #define wxUSE_ON_FATAL_EXCEPTION 1
37336 _ACEOF
37337
37338 fi
37339 fi
37340
37341 if test "$wxUSE_STACKWALKER" = "yes"; then
37342 cat >>confdefs.h <<\_ACEOF
37343 #define wxUSE_STACKWALKER 1
37344 _ACEOF
37345
37346 fi
37347
37348 if test "$wxUSE_DEBUGREPORT" = "yes"; then
37349 if test "$USE_UNIX" != "1" -a "$USE_WIN32" != "1"; then
37350 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
37351 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
37352 wxUSE_DEBUGREPORT=no
37353 else
37354 cat >>confdefs.h <<\_ACEOF
37355 #define wxUSE_DEBUGREPORT 1
37356 _ACEOF
37357
37358 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
37359 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
37360 fi
37361 fi
37362 fi
37363
37364 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
37365 cat >>confdefs.h <<\_ACEOF
37366 #define wxUSE_SNGLINST_CHECKER 1
37367 _ACEOF
37368
37369 fi
37370
37371 if test "$wxUSE_BUSYINFO" = "yes"; then
37372 cat >>confdefs.h <<\_ACEOF
37373 #define wxUSE_BUSYINFO 1
37374 _ACEOF
37375
37376 fi
37377
37378 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
37379 cat >>confdefs.h <<\_ACEOF
37380 #define wxUSE_STD_IOSTREAM 1
37381 _ACEOF
37382
37383 fi
37384
37385 if test "$wxUSE_STD_STRING" = "yes"; then
37386 cat >>confdefs.h <<\_ACEOF
37387 #define wxUSE_STD_STRING 1
37388 _ACEOF
37389
37390 fi
37391
37392 if test "$wxUSE_STDPATHS" = "yes"; then
37393 cat >>confdefs.h <<\_ACEOF
37394 #define wxUSE_STDPATHS 1
37395 _ACEOF
37396
37397 fi
37398
37399 if test "$wxUSE_TEXTBUFFER" = "yes"; then
37400 cat >>confdefs.h <<\_ACEOF
37401 #define wxUSE_TEXTBUFFER 1
37402 _ACEOF
37403
37404 fi
37405
37406 if test "$wxUSE_TEXTFILE" = "yes"; then
37407 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
37408 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
37409 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
37410 else
37411 cat >>confdefs.h <<\_ACEOF
37412 #define wxUSE_TEXTFILE 1
37413 _ACEOF
37414
37415 fi
37416 fi
37417
37418 if test "$wxUSE_CONFIG" = "yes" ; then
37419 if test "$wxUSE_TEXTFILE" != "yes"; then
37420 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
37421 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
37422 else
37423 cat >>confdefs.h <<\_ACEOF
37424 #define wxUSE_CONFIG 1
37425 _ACEOF
37426
37427 cat >>confdefs.h <<\_ACEOF
37428 #define wxUSE_CONFIG_NATIVE 1
37429 _ACEOF
37430
37431 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
37432 fi
37433 fi
37434
37435 if test "$wxUSE_INTL" = "yes" ; then
37436 if test "$wxUSE_FILE" != "yes"; then
37437 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
37438 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
37439 else
37440 cat >>confdefs.h <<\_ACEOF
37441 #define wxUSE_INTL 1
37442 _ACEOF
37443
37444 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
37445 GUIDIST="$GUIDIST INTL_DIST"
37446 fi
37447 fi
37448
37449 if test "$wxUSE_LOG" = "yes"; then
37450 cat >>confdefs.h <<\_ACEOF
37451 #define wxUSE_LOG 1
37452 _ACEOF
37453
37454
37455 if test "$wxUSE_LOGGUI" = "yes"; then
37456 cat >>confdefs.h <<\_ACEOF
37457 #define wxUSE_LOGGUI 1
37458 _ACEOF
37459
37460 fi
37461
37462 if test "$wxUSE_LOGWINDOW" = "yes"; then
37463 cat >>confdefs.h <<\_ACEOF
37464 #define wxUSE_LOGWINDOW 1
37465 _ACEOF
37466
37467 fi
37468
37469 if test "$wxUSE_LOGDIALOG" = "yes"; then
37470 cat >>confdefs.h <<\_ACEOF
37471 #define wxUSE_LOG_DIALOG 1
37472 _ACEOF
37473
37474 fi
37475
37476 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
37477 fi
37478
37479 if test "$wxUSE_LONGLONG" = "yes"; then
37480 cat >>confdefs.h <<\_ACEOF
37481 #define wxUSE_LONGLONG 1
37482 _ACEOF
37483
37484 fi
37485
37486 if test "$wxUSE_GEOMETRY" = "yes"; then
37487 cat >>confdefs.h <<\_ACEOF
37488 #define wxUSE_GEOMETRY 1
37489 _ACEOF
37490
37491 fi
37492
37493 if test "$wxUSE_STREAMS" = "yes" ; then
37494 cat >>confdefs.h <<\_ACEOF
37495 #define wxUSE_STREAMS 1
37496 _ACEOF
37497
37498 fi
37499
37500
37501 if test "$wxUSE_DATETIME" = "yes"; then
37502
37503 for ac_func in strptime
37504 do
37505 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37506 echo "$as_me:$LINENO: checking for $ac_func" >&5
37507 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37508 if eval "test \"\${$as_ac_var+set}\" = set"; then
37509 echo $ECHO_N "(cached) $ECHO_C" >&6
37510 else
37511 cat >conftest.$ac_ext <<_ACEOF
37512 /* confdefs.h. */
37513 _ACEOF
37514 cat confdefs.h >>conftest.$ac_ext
37515 cat >>conftest.$ac_ext <<_ACEOF
37516 /* end confdefs.h. */
37517 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37518 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37519 #define $ac_func innocuous_$ac_func
37520
37521 /* System header to define __stub macros and hopefully few prototypes,
37522 which can conflict with char $ac_func (); below.
37523 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37524 <limits.h> exists even on freestanding compilers. */
37525
37526 #ifdef __STDC__
37527 # include <limits.h>
37528 #else
37529 # include <assert.h>
37530 #endif
37531
37532 #undef $ac_func
37533
37534 /* Override any gcc2 internal prototype to avoid an error. */
37535 #ifdef __cplusplus
37536 extern "C"
37537 {
37538 #endif
37539 /* We use char because int might match the return type of a gcc2
37540 builtin and then its argument prototype would still apply. */
37541 char $ac_func ();
37542 /* The GNU C library defines this for functions which it implements
37543 to always fail with ENOSYS. Some functions are actually named
37544 something starting with __ and the normal name is an alias. */
37545 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37546 choke me
37547 #else
37548 char (*f) () = $ac_func;
37549 #endif
37550 #ifdef __cplusplus
37551 }
37552 #endif
37553
37554 int
37555 main ()
37556 {
37557 return f != $ac_func;
37558 ;
37559 return 0;
37560 }
37561 _ACEOF
37562 rm -f conftest.$ac_objext conftest$ac_exeext
37563 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37564 (eval $ac_link) 2>conftest.er1
37565 ac_status=$?
37566 grep -v '^ *+' conftest.er1 >conftest.err
37567 rm -f conftest.er1
37568 cat conftest.err >&5
37569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37570 (exit $ac_status); } &&
37571 { ac_try='test -z "$ac_c_werror_flag"
37572 || test ! -s conftest.err'
37573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37574 (eval $ac_try) 2>&5
37575 ac_status=$?
37576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37577 (exit $ac_status); }; } &&
37578 { ac_try='test -s conftest$ac_exeext'
37579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37580 (eval $ac_try) 2>&5
37581 ac_status=$?
37582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37583 (exit $ac_status); }; }; then
37584 eval "$as_ac_var=yes"
37585 else
37586 echo "$as_me: failed program was:" >&5
37587 sed 's/^/| /' conftest.$ac_ext >&5
37588
37589 eval "$as_ac_var=no"
37590 fi
37591 rm -f conftest.err conftest.$ac_objext \
37592 conftest$ac_exeext conftest.$ac_ext
37593 fi
37594 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37595 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37596 if test `eval echo '${'$as_ac_var'}'` = yes; then
37597 cat >>confdefs.h <<_ACEOF
37598 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37599 _ACEOF
37600
37601 fi
37602 done
37603
37604
37605 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
37606 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
37607 if test "${wx_cv_var_timezone+set}" = set; then
37608 echo $ECHO_N "(cached) $ECHO_C" >&6
37609 else
37610
37611 cat >conftest.$ac_ext <<_ACEOF
37612 /* confdefs.h. */
37613 _ACEOF
37614 cat confdefs.h >>conftest.$ac_ext
37615 cat >>conftest.$ac_ext <<_ACEOF
37616 /* end confdefs.h. */
37617
37618 #include <time.h>
37619
37620 int
37621 main ()
37622 {
37623
37624 int tz;
37625 tz = timezone;
37626
37627 ;
37628 return 0;
37629 }
37630 _ACEOF
37631 rm -f conftest.$ac_objext
37632 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37633 (eval $ac_compile) 2>conftest.er1
37634 ac_status=$?
37635 grep -v '^ *+' conftest.er1 >conftest.err
37636 rm -f conftest.er1
37637 cat conftest.err >&5
37638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37639 (exit $ac_status); } &&
37640 { ac_try='test -z "$ac_c_werror_flag"
37641 || test ! -s conftest.err'
37642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37643 (eval $ac_try) 2>&5
37644 ac_status=$?
37645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37646 (exit $ac_status); }; } &&
37647 { ac_try='test -s conftest.$ac_objext'
37648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37649 (eval $ac_try) 2>&5
37650 ac_status=$?
37651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37652 (exit $ac_status); }; }; then
37653
37654 wx_cv_var_timezone=timezone
37655
37656 else
37657 echo "$as_me: failed program was:" >&5
37658 sed 's/^/| /' conftest.$ac_ext >&5
37659
37660
37661 cat >conftest.$ac_ext <<_ACEOF
37662 /* confdefs.h. */
37663 _ACEOF
37664 cat confdefs.h >>conftest.$ac_ext
37665 cat >>conftest.$ac_ext <<_ACEOF
37666 /* end confdefs.h. */
37667
37668 #include <time.h>
37669
37670 int
37671 main ()
37672 {
37673
37674 int tz;
37675 tz = _timezone;
37676
37677 ;
37678 return 0;
37679 }
37680 _ACEOF
37681 rm -f conftest.$ac_objext
37682 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37683 (eval $ac_compile) 2>conftest.er1
37684 ac_status=$?
37685 grep -v '^ *+' conftest.er1 >conftest.err
37686 rm -f conftest.er1
37687 cat conftest.err >&5
37688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37689 (exit $ac_status); } &&
37690 { ac_try='test -z "$ac_c_werror_flag"
37691 || test ! -s conftest.err'
37692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37693 (eval $ac_try) 2>&5
37694 ac_status=$?
37695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37696 (exit $ac_status); }; } &&
37697 { ac_try='test -s conftest.$ac_objext'
37698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37699 (eval $ac_try) 2>&5
37700 ac_status=$?
37701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37702 (exit $ac_status); }; }; then
37703
37704 wx_cv_var_timezone=_timezone
37705
37706 else
37707 echo "$as_me: failed program was:" >&5
37708 sed 's/^/| /' conftest.$ac_ext >&5
37709
37710
37711 cat >conftest.$ac_ext <<_ACEOF
37712 /* confdefs.h. */
37713 _ACEOF
37714 cat confdefs.h >>conftest.$ac_ext
37715 cat >>conftest.$ac_ext <<_ACEOF
37716 /* end confdefs.h. */
37717
37718 #include <time.h>
37719
37720 int
37721 main ()
37722 {
37723
37724 int tz;
37725 tz = __timezone;
37726
37727 ;
37728 return 0;
37729 }
37730 _ACEOF
37731 rm -f conftest.$ac_objext
37732 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37733 (eval $ac_compile) 2>conftest.er1
37734 ac_status=$?
37735 grep -v '^ *+' conftest.er1 >conftest.err
37736 rm -f conftest.er1
37737 cat conftest.err >&5
37738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37739 (exit $ac_status); } &&
37740 { ac_try='test -z "$ac_c_werror_flag"
37741 || test ! -s conftest.err'
37742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37743 (eval $ac_try) 2>&5
37744 ac_status=$?
37745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37746 (exit $ac_status); }; } &&
37747 { ac_try='test -s conftest.$ac_objext'
37748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37749 (eval $ac_try) 2>&5
37750 ac_status=$?
37751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37752 (exit $ac_status); }; }; then
37753
37754 wx_cv_var_timezone=__timezone
37755
37756 else
37757 echo "$as_me: failed program was:" >&5
37758 sed 's/^/| /' conftest.$ac_ext >&5
37759
37760
37761 if test "$USE_DOS" = 0 ; then
37762 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
37763 echo "$as_me: WARNING: no timezone variable" >&2;}
37764 fi
37765
37766
37767 fi
37768 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37769
37770
37771 fi
37772 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37773
37774
37775 fi
37776 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37777
37778
37779 fi
37780 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
37781 echo "${ECHO_T}$wx_cv_var_timezone" >&6
37782
37783 if test "x$wx_cv_var_timezone" != x ; then
37784 cat >>confdefs.h <<_ACEOF
37785 #define WX_TIMEZONE $wx_cv_var_timezone
37786 _ACEOF
37787
37788 fi
37789
37790
37791 for ac_func in localtime
37792 do
37793 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37794 echo "$as_me:$LINENO: checking for $ac_func" >&5
37795 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37796 if eval "test \"\${$as_ac_var+set}\" = set"; then
37797 echo $ECHO_N "(cached) $ECHO_C" >&6
37798 else
37799 cat >conftest.$ac_ext <<_ACEOF
37800 /* confdefs.h. */
37801 _ACEOF
37802 cat confdefs.h >>conftest.$ac_ext
37803 cat >>conftest.$ac_ext <<_ACEOF
37804 /* end confdefs.h. */
37805 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37806 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37807 #define $ac_func innocuous_$ac_func
37808
37809 /* System header to define __stub macros and hopefully few prototypes,
37810 which can conflict with char $ac_func (); below.
37811 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37812 <limits.h> exists even on freestanding compilers. */
37813
37814 #ifdef __STDC__
37815 # include <limits.h>
37816 #else
37817 # include <assert.h>
37818 #endif
37819
37820 #undef $ac_func
37821
37822 /* Override any gcc2 internal prototype to avoid an error. */
37823 #ifdef __cplusplus
37824 extern "C"
37825 {
37826 #endif
37827 /* We use char because int might match the return type of a gcc2
37828 builtin and then its argument prototype would still apply. */
37829 char $ac_func ();
37830 /* The GNU C library defines this for functions which it implements
37831 to always fail with ENOSYS. Some functions are actually named
37832 something starting with __ and the normal name is an alias. */
37833 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37834 choke me
37835 #else
37836 char (*f) () = $ac_func;
37837 #endif
37838 #ifdef __cplusplus
37839 }
37840 #endif
37841
37842 int
37843 main ()
37844 {
37845 return f != $ac_func;
37846 ;
37847 return 0;
37848 }
37849 _ACEOF
37850 rm -f conftest.$ac_objext conftest$ac_exeext
37851 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37852 (eval $ac_link) 2>conftest.er1
37853 ac_status=$?
37854 grep -v '^ *+' conftest.er1 >conftest.err
37855 rm -f conftest.er1
37856 cat conftest.err >&5
37857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37858 (exit $ac_status); } &&
37859 { ac_try='test -z "$ac_c_werror_flag"
37860 || test ! -s conftest.err'
37861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37862 (eval $ac_try) 2>&5
37863 ac_status=$?
37864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37865 (exit $ac_status); }; } &&
37866 { ac_try='test -s conftest$ac_exeext'
37867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37868 (eval $ac_try) 2>&5
37869 ac_status=$?
37870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37871 (exit $ac_status); }; }; then
37872 eval "$as_ac_var=yes"
37873 else
37874 echo "$as_me: failed program was:" >&5
37875 sed 's/^/| /' conftest.$ac_ext >&5
37876
37877 eval "$as_ac_var=no"
37878 fi
37879 rm -f conftest.err conftest.$ac_objext \
37880 conftest$ac_exeext conftest.$ac_ext
37881 fi
37882 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37883 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37884 if test `eval echo '${'$as_ac_var'}'` = yes; then
37885 cat >>confdefs.h <<_ACEOF
37886 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37887 _ACEOF
37888
37889 fi
37890 done
37891
37892
37893 if test "$ac_cv_func_localtime" = "yes"; then
37894 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
37895 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
37896 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
37897 echo $ECHO_N "(cached) $ECHO_C" >&6
37898 else
37899
37900 cat >conftest.$ac_ext <<_ACEOF
37901 /* confdefs.h. */
37902 _ACEOF
37903 cat confdefs.h >>conftest.$ac_ext
37904 cat >>conftest.$ac_ext <<_ACEOF
37905 /* end confdefs.h. */
37906
37907 #include <time.h>
37908
37909 int
37910 main ()
37911 {
37912
37913 struct tm tm;
37914 tm.tm_gmtoff++;
37915
37916 ;
37917 return 0;
37918 }
37919 _ACEOF
37920 rm -f conftest.$ac_objext
37921 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37922 (eval $ac_compile) 2>conftest.er1
37923 ac_status=$?
37924 grep -v '^ *+' conftest.er1 >conftest.err
37925 rm -f conftest.er1
37926 cat conftest.err >&5
37927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37928 (exit $ac_status); } &&
37929 { ac_try='test -z "$ac_c_werror_flag"
37930 || test ! -s conftest.err'
37931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37932 (eval $ac_try) 2>&5
37933 ac_status=$?
37934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37935 (exit $ac_status); }; } &&
37936 { ac_try='test -s conftest.$ac_objext'
37937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37938 (eval $ac_try) 2>&5
37939 ac_status=$?
37940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37941 (exit $ac_status); }; }; then
37942
37943 wx_cv_struct_tm_has_gmtoff=yes
37944
37945 else
37946 echo "$as_me: failed program was:" >&5
37947 sed 's/^/| /' conftest.$ac_ext >&5
37948
37949 wx_cv_struct_tm_has_gmtoff=no
37950
37951 fi
37952 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37953
37954 fi
37955 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
37956 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
37957 fi
37958
37959 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
37960 cat >>confdefs.h <<\_ACEOF
37961 #define WX_GMTOFF_IN_TM 1
37962 _ACEOF
37963
37964 fi
37965
37966
37967
37968 for ac_func in gettimeofday ftime
37969 do
37970 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37971 echo "$as_me:$LINENO: checking for $ac_func" >&5
37972 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37973 if eval "test \"\${$as_ac_var+set}\" = set"; then
37974 echo $ECHO_N "(cached) $ECHO_C" >&6
37975 else
37976 cat >conftest.$ac_ext <<_ACEOF
37977 /* confdefs.h. */
37978 _ACEOF
37979 cat confdefs.h >>conftest.$ac_ext
37980 cat >>conftest.$ac_ext <<_ACEOF
37981 /* end confdefs.h. */
37982 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37983 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37984 #define $ac_func innocuous_$ac_func
37985
37986 /* System header to define __stub macros and hopefully few prototypes,
37987 which can conflict with char $ac_func (); below.
37988 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37989 <limits.h> exists even on freestanding compilers. */
37990
37991 #ifdef __STDC__
37992 # include <limits.h>
37993 #else
37994 # include <assert.h>
37995 #endif
37996
37997 #undef $ac_func
37998
37999 /* Override any gcc2 internal prototype to avoid an error. */
38000 #ifdef __cplusplus
38001 extern "C"
38002 {
38003 #endif
38004 /* We use char because int might match the return type of a gcc2
38005 builtin and then its argument prototype would still apply. */
38006 char $ac_func ();
38007 /* The GNU C library defines this for functions which it implements
38008 to always fail with ENOSYS. Some functions are actually named
38009 something starting with __ and the normal name is an alias. */
38010 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38011 choke me
38012 #else
38013 char (*f) () = $ac_func;
38014 #endif
38015 #ifdef __cplusplus
38016 }
38017 #endif
38018
38019 int
38020 main ()
38021 {
38022 return f != $ac_func;
38023 ;
38024 return 0;
38025 }
38026 _ACEOF
38027 rm -f conftest.$ac_objext conftest$ac_exeext
38028 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38029 (eval $ac_link) 2>conftest.er1
38030 ac_status=$?
38031 grep -v '^ *+' conftest.er1 >conftest.err
38032 rm -f conftest.er1
38033 cat conftest.err >&5
38034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38035 (exit $ac_status); } &&
38036 { ac_try='test -z "$ac_c_werror_flag"
38037 || test ! -s conftest.err'
38038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38039 (eval $ac_try) 2>&5
38040 ac_status=$?
38041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38042 (exit $ac_status); }; } &&
38043 { ac_try='test -s conftest$ac_exeext'
38044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38045 (eval $ac_try) 2>&5
38046 ac_status=$?
38047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38048 (exit $ac_status); }; }; then
38049 eval "$as_ac_var=yes"
38050 else
38051 echo "$as_me: failed program was:" >&5
38052 sed 's/^/| /' conftest.$ac_ext >&5
38053
38054 eval "$as_ac_var=no"
38055 fi
38056 rm -f conftest.err conftest.$ac_objext \
38057 conftest$ac_exeext conftest.$ac_ext
38058 fi
38059 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38060 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38061 if test `eval echo '${'$as_ac_var'}'` = yes; then
38062 cat >>confdefs.h <<_ACEOF
38063 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38064 _ACEOF
38065 break
38066 fi
38067 done
38068
38069
38070 if test "$ac_cv_func_gettimeofday" = "yes"; then
38071 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
38072 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
38073 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
38074 echo $ECHO_N "(cached) $ECHO_C" >&6
38075 else
38076
38077
38078
38079 ac_ext=cc
38080 ac_cpp='$CXXCPP $CPPFLAGS'
38081 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38082 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38083 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38084
38085
38086 cat >conftest.$ac_ext <<_ACEOF
38087 /* confdefs.h. */
38088 _ACEOF
38089 cat confdefs.h >>conftest.$ac_ext
38090 cat >>conftest.$ac_ext <<_ACEOF
38091 /* end confdefs.h. */
38092
38093 #include <sys/time.h>
38094 #include <unistd.h>
38095
38096 int
38097 main ()
38098 {
38099
38100 struct timeval tv;
38101 gettimeofday(&tv, NULL);
38102
38103 ;
38104 return 0;
38105 }
38106 _ACEOF
38107 rm -f conftest.$ac_objext
38108 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38109 (eval $ac_compile) 2>conftest.er1
38110 ac_status=$?
38111 grep -v '^ *+' conftest.er1 >conftest.err
38112 rm -f conftest.er1
38113 cat conftest.err >&5
38114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38115 (exit $ac_status); } &&
38116 { ac_try='test -z "$ac_cxx_werror_flag"
38117 || test ! -s conftest.err'
38118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38119 (eval $ac_try) 2>&5
38120 ac_status=$?
38121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38122 (exit $ac_status); }; } &&
38123 { ac_try='test -s conftest.$ac_objext'
38124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38125 (eval $ac_try) 2>&5
38126 ac_status=$?
38127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38128 (exit $ac_status); }; }; then
38129 wx_cv_func_gettimeofday_has_2_args=yes
38130 else
38131 echo "$as_me: failed program was:" >&5
38132 sed 's/^/| /' conftest.$ac_ext >&5
38133
38134 cat >conftest.$ac_ext <<_ACEOF
38135 /* confdefs.h. */
38136 _ACEOF
38137 cat confdefs.h >>conftest.$ac_ext
38138 cat >>conftest.$ac_ext <<_ACEOF
38139 /* end confdefs.h. */
38140
38141 #include <sys/time.h>
38142 #include <unistd.h>
38143
38144 int
38145 main ()
38146 {
38147
38148 struct timeval tv;
38149 gettimeofday(&tv);
38150
38151 ;
38152 return 0;
38153 }
38154 _ACEOF
38155 rm -f conftest.$ac_objext
38156 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38157 (eval $ac_compile) 2>conftest.er1
38158 ac_status=$?
38159 grep -v '^ *+' conftest.er1 >conftest.err
38160 rm -f conftest.er1
38161 cat conftest.err >&5
38162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38163 (exit $ac_status); } &&
38164 { ac_try='test -z "$ac_cxx_werror_flag"
38165 || test ! -s conftest.err'
38166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38167 (eval $ac_try) 2>&5
38168 ac_status=$?
38169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38170 (exit $ac_status); }; } &&
38171 { ac_try='test -s conftest.$ac_objext'
38172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38173 (eval $ac_try) 2>&5
38174 ac_status=$?
38175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38176 (exit $ac_status); }; }; then
38177 wx_cv_func_gettimeofday_has_2_args=no
38178 else
38179 echo "$as_me: failed program was:" >&5
38180 sed 's/^/| /' conftest.$ac_ext >&5
38181
38182
38183 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
38184 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
38185 wx_cv_func_gettimeofday_has_2_args=unknown
38186
38187
38188 fi
38189 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38190
38191 fi
38192 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38193 ac_ext=c
38194 ac_cpp='$CPP $CPPFLAGS'
38195 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38196 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38197 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38198
38199
38200 fi
38201 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
38202 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
38203
38204 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
38205 cat >>confdefs.h <<\_ACEOF
38206 #define WX_GETTIMEOFDAY_NO_TZ 1
38207 _ACEOF
38208
38209 fi
38210 fi
38211
38212 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
38213 fi
38214
38215
38216 if test "$wxUSE_SOCKETS" = "yes"; then
38217 if test "$wxUSE_MGL" = "1"; then
38218 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
38219 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
38220 wxUSE_SOCKETS="no"
38221 fi
38222 fi
38223
38224 if test "$wxUSE_SOCKETS" = "yes"; then
38225 if test "$TOOLKIT" != "MSW"; then
38226 echo "$as_me:$LINENO: checking for socket" >&5
38227 echo $ECHO_N "checking for socket... $ECHO_C" >&6
38228 if test "${ac_cv_func_socket+set}" = set; then
38229 echo $ECHO_N "(cached) $ECHO_C" >&6
38230 else
38231 cat >conftest.$ac_ext <<_ACEOF
38232 /* confdefs.h. */
38233 _ACEOF
38234 cat confdefs.h >>conftest.$ac_ext
38235 cat >>conftest.$ac_ext <<_ACEOF
38236 /* end confdefs.h. */
38237 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
38238 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38239 #define socket innocuous_socket
38240
38241 /* System header to define __stub macros and hopefully few prototypes,
38242 which can conflict with char socket (); below.
38243 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38244 <limits.h> exists even on freestanding compilers. */
38245
38246 #ifdef __STDC__
38247 # include <limits.h>
38248 #else
38249 # include <assert.h>
38250 #endif
38251
38252 #undef socket
38253
38254 /* Override any gcc2 internal prototype to avoid an error. */
38255 #ifdef __cplusplus
38256 extern "C"
38257 {
38258 #endif
38259 /* We use char because int might match the return type of a gcc2
38260 builtin and then its argument prototype would still apply. */
38261 char socket ();
38262 /* The GNU C library defines this for functions which it implements
38263 to always fail with ENOSYS. Some functions are actually named
38264 something starting with __ and the normal name is an alias. */
38265 #if defined (__stub_socket) || defined (__stub___socket)
38266 choke me
38267 #else
38268 char (*f) () = socket;
38269 #endif
38270 #ifdef __cplusplus
38271 }
38272 #endif
38273
38274 int
38275 main ()
38276 {
38277 return f != socket;
38278 ;
38279 return 0;
38280 }
38281 _ACEOF
38282 rm -f conftest.$ac_objext conftest$ac_exeext
38283 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38284 (eval $ac_link) 2>conftest.er1
38285 ac_status=$?
38286 grep -v '^ *+' conftest.er1 >conftest.err
38287 rm -f conftest.er1
38288 cat conftest.err >&5
38289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38290 (exit $ac_status); } &&
38291 { ac_try='test -z "$ac_c_werror_flag"
38292 || test ! -s conftest.err'
38293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38294 (eval $ac_try) 2>&5
38295 ac_status=$?
38296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38297 (exit $ac_status); }; } &&
38298 { ac_try='test -s conftest$ac_exeext'
38299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38300 (eval $ac_try) 2>&5
38301 ac_status=$?
38302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38303 (exit $ac_status); }; }; then
38304 ac_cv_func_socket=yes
38305 else
38306 echo "$as_me: failed program was:" >&5
38307 sed 's/^/| /' conftest.$ac_ext >&5
38308
38309 ac_cv_func_socket=no
38310 fi
38311 rm -f conftest.err conftest.$ac_objext \
38312 conftest$ac_exeext conftest.$ac_ext
38313 fi
38314 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
38315 echo "${ECHO_T}$ac_cv_func_socket" >&6
38316 if test $ac_cv_func_socket = yes; then
38317 :
38318 else
38319
38320 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
38321 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
38322 if test "${ac_cv_lib_socket_socket+set}" = set; then
38323 echo $ECHO_N "(cached) $ECHO_C" >&6
38324 else
38325 ac_check_lib_save_LIBS=$LIBS
38326 LIBS="-lsocket $LIBS"
38327 cat >conftest.$ac_ext <<_ACEOF
38328 /* confdefs.h. */
38329 _ACEOF
38330 cat confdefs.h >>conftest.$ac_ext
38331 cat >>conftest.$ac_ext <<_ACEOF
38332 /* end confdefs.h. */
38333
38334 /* Override any gcc2 internal prototype to avoid an error. */
38335 #ifdef __cplusplus
38336 extern "C"
38337 #endif
38338 /* We use char because int might match the return type of a gcc2
38339 builtin and then its argument prototype would still apply. */
38340 char socket ();
38341 int
38342 main ()
38343 {
38344 socket ();
38345 ;
38346 return 0;
38347 }
38348 _ACEOF
38349 rm -f conftest.$ac_objext conftest$ac_exeext
38350 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38351 (eval $ac_link) 2>conftest.er1
38352 ac_status=$?
38353 grep -v '^ *+' conftest.er1 >conftest.err
38354 rm -f conftest.er1
38355 cat conftest.err >&5
38356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38357 (exit $ac_status); } &&
38358 { ac_try='test -z "$ac_c_werror_flag"
38359 || test ! -s conftest.err'
38360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38361 (eval $ac_try) 2>&5
38362 ac_status=$?
38363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38364 (exit $ac_status); }; } &&
38365 { ac_try='test -s conftest$ac_exeext'
38366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38367 (eval $ac_try) 2>&5
38368 ac_status=$?
38369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38370 (exit $ac_status); }; }; then
38371 ac_cv_lib_socket_socket=yes
38372 else
38373 echo "$as_me: failed program was:" >&5
38374 sed 's/^/| /' conftest.$ac_ext >&5
38375
38376 ac_cv_lib_socket_socket=no
38377 fi
38378 rm -f conftest.err conftest.$ac_objext \
38379 conftest$ac_exeext conftest.$ac_ext
38380 LIBS=$ac_check_lib_save_LIBS
38381 fi
38382 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
38383 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
38384 if test $ac_cv_lib_socket_socket = yes; then
38385 if test "$INET_LINK" != " -lsocket"; then
38386 INET_LINK="$INET_LINK -lsocket"
38387 fi
38388 else
38389
38390 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
38391 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
38392 wxUSE_SOCKETS=no
38393
38394
38395 fi
38396
38397
38398
38399 fi
38400
38401 fi
38402 fi
38403
38404 if test "$wxUSE_SOCKETS" = "yes" ; then
38405 if test "$TOOLKIT" != "MSW"; then
38406 ac_ext=cc
38407 ac_cpp='$CXXCPP $CPPFLAGS'
38408 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38409 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38410 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38411
38412 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
38413 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
38414 if test "${wx_cv_type_getsockname3+set}" = set; then
38415 echo $ECHO_N "(cached) $ECHO_C" >&6
38416 else
38417
38418 cat >conftest.$ac_ext <<_ACEOF
38419 /* confdefs.h. */
38420 _ACEOF
38421 cat confdefs.h >>conftest.$ac_ext
38422 cat >>conftest.$ac_ext <<_ACEOF
38423 /* end confdefs.h. */
38424
38425 #include <sys/types.h>
38426 #include <sys/socket.h>
38427
38428 int
38429 main ()
38430 {
38431
38432 socklen_t len;
38433 getsockname(0, 0, &len);
38434
38435 ;
38436 return 0;
38437 }
38438 _ACEOF
38439 rm -f conftest.$ac_objext
38440 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38441 (eval $ac_compile) 2>conftest.er1
38442 ac_status=$?
38443 grep -v '^ *+' conftest.er1 >conftest.err
38444 rm -f conftest.er1
38445 cat conftest.err >&5
38446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38447 (exit $ac_status); } &&
38448 { ac_try='test -z "$ac_cxx_werror_flag"
38449 || test ! -s conftest.err'
38450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38451 (eval $ac_try) 2>&5
38452 ac_status=$?
38453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38454 (exit $ac_status); }; } &&
38455 { ac_try='test -s conftest.$ac_objext'
38456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38457 (eval $ac_try) 2>&5
38458 ac_status=$?
38459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38460 (exit $ac_status); }; }; then
38461 wx_cv_type_getsockname3=socklen_t
38462 else
38463 echo "$as_me: failed program was:" >&5
38464 sed 's/^/| /' conftest.$ac_ext >&5
38465
38466
38467 CFLAGS_OLD="$CFLAGS"
38468 if test "$GCC" = yes ; then
38469 CFLAGS="$CFLAGS -Werror"
38470 fi
38471
38472 cat >conftest.$ac_ext <<_ACEOF
38473 /* confdefs.h. */
38474 _ACEOF
38475 cat confdefs.h >>conftest.$ac_ext
38476 cat >>conftest.$ac_ext <<_ACEOF
38477 /* end confdefs.h. */
38478
38479 #include <sys/types.h>
38480 #include <sys/socket.h>
38481
38482 int
38483 main ()
38484 {
38485
38486 size_t len;
38487 getsockname(0, 0, &len);
38488
38489 ;
38490 return 0;
38491 }
38492 _ACEOF
38493 rm -f conftest.$ac_objext
38494 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38495 (eval $ac_compile) 2>conftest.er1
38496 ac_status=$?
38497 grep -v '^ *+' conftest.er1 >conftest.err
38498 rm -f conftest.er1
38499 cat conftest.err >&5
38500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38501 (exit $ac_status); } &&
38502 { ac_try='test -z "$ac_cxx_werror_flag"
38503 || test ! -s conftest.err'
38504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38505 (eval $ac_try) 2>&5
38506 ac_status=$?
38507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38508 (exit $ac_status); }; } &&
38509 { ac_try='test -s conftest.$ac_objext'
38510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38511 (eval $ac_try) 2>&5
38512 ac_status=$?
38513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38514 (exit $ac_status); }; }; then
38515 wx_cv_type_getsockname3=size_t
38516 else
38517 echo "$as_me: failed program was:" >&5
38518 sed 's/^/| /' conftest.$ac_ext >&5
38519
38520 cat >conftest.$ac_ext <<_ACEOF
38521 /* confdefs.h. */
38522 _ACEOF
38523 cat confdefs.h >>conftest.$ac_ext
38524 cat >>conftest.$ac_ext <<_ACEOF
38525 /* end confdefs.h. */
38526
38527 #include <sys/types.h>
38528 #include <sys/socket.h>
38529
38530 int
38531 main ()
38532 {
38533
38534 int len;
38535 getsockname(0, 0, &len);
38536
38537 ;
38538 return 0;
38539 }
38540 _ACEOF
38541 rm -f conftest.$ac_objext
38542 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38543 (eval $ac_compile) 2>conftest.er1
38544 ac_status=$?
38545 grep -v '^ *+' conftest.er1 >conftest.err
38546 rm -f conftest.er1
38547 cat conftest.err >&5
38548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38549 (exit $ac_status); } &&
38550 { ac_try='test -z "$ac_cxx_werror_flag"
38551 || test ! -s conftest.err'
38552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38553 (eval $ac_try) 2>&5
38554 ac_status=$?
38555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38556 (exit $ac_status); }; } &&
38557 { ac_try='test -s conftest.$ac_objext'
38558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38559 (eval $ac_try) 2>&5
38560 ac_status=$?
38561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38562 (exit $ac_status); }; }; then
38563 wx_cv_type_getsockname3=int
38564 else
38565 echo "$as_me: failed program was:" >&5
38566 sed 's/^/| /' conftest.$ac_ext >&5
38567
38568 wx_cv_type_getsockname3=unknown
38569
38570 fi
38571 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38572
38573 fi
38574 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38575
38576 CFLAGS="$CFLAGS_OLD"
38577
38578
38579 fi
38580 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38581
38582 fi
38583 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
38584 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
38585
38586 if test "$wx_cv_type_getsockname3" = "unknown"; then
38587 wxUSE_SOCKETS=no
38588 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
38589 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
38590 else
38591 cat >>confdefs.h <<_ACEOF
38592 #define SOCKLEN_T $wx_cv_type_getsockname3
38593 _ACEOF
38594
38595 fi
38596 echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
38597 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6
38598 if test "${wx_cv_type_getsockopt5+set}" = set; then
38599 echo $ECHO_N "(cached) $ECHO_C" >&6
38600 else
38601
38602 cat >conftest.$ac_ext <<_ACEOF
38603 /* confdefs.h. */
38604 _ACEOF
38605 cat confdefs.h >>conftest.$ac_ext
38606 cat >>conftest.$ac_ext <<_ACEOF
38607 /* end confdefs.h. */
38608
38609 #include <sys/types.h>
38610 #include <sys/socket.h>
38611
38612 int
38613 main ()
38614 {
38615
38616 socklen_t len;
38617 getsockopt(0, 0, 0, 0, &len);
38618
38619 ;
38620 return 0;
38621 }
38622 _ACEOF
38623 rm -f conftest.$ac_objext
38624 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38625 (eval $ac_compile) 2>conftest.er1
38626 ac_status=$?
38627 grep -v '^ *+' conftest.er1 >conftest.err
38628 rm -f conftest.er1
38629 cat conftest.err >&5
38630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38631 (exit $ac_status); } &&
38632 { ac_try='test -z "$ac_cxx_werror_flag"
38633 || test ! -s conftest.err'
38634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38635 (eval $ac_try) 2>&5
38636 ac_status=$?
38637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38638 (exit $ac_status); }; } &&
38639 { ac_try='test -s conftest.$ac_objext'
38640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38641 (eval $ac_try) 2>&5
38642 ac_status=$?
38643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38644 (exit $ac_status); }; }; then
38645 wx_cv_type_getsockopt5=socklen_t
38646 else
38647 echo "$as_me: failed program was:" >&5
38648 sed 's/^/| /' conftest.$ac_ext >&5
38649
38650
38651 CFLAGS_OLD="$CFLAGS"
38652 if test "$GCC" = yes ; then
38653 CFLAGS="$CFLAGS -Werror"
38654 fi
38655
38656 cat >conftest.$ac_ext <<_ACEOF
38657 /* confdefs.h. */
38658 _ACEOF
38659 cat confdefs.h >>conftest.$ac_ext
38660 cat >>conftest.$ac_ext <<_ACEOF
38661 /* end confdefs.h. */
38662
38663 #include <sys/types.h>
38664 #include <sys/socket.h>
38665
38666 int
38667 main ()
38668 {
38669
38670 size_t len;
38671 getsockopt(0, 0, 0, 0, &len);
38672
38673 ;
38674 return 0;
38675 }
38676 _ACEOF
38677 rm -f conftest.$ac_objext
38678 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38679 (eval $ac_compile) 2>conftest.er1
38680 ac_status=$?
38681 grep -v '^ *+' conftest.er1 >conftest.err
38682 rm -f conftest.er1
38683 cat conftest.err >&5
38684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38685 (exit $ac_status); } &&
38686 { ac_try='test -z "$ac_cxx_werror_flag"
38687 || test ! -s conftest.err'
38688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38689 (eval $ac_try) 2>&5
38690 ac_status=$?
38691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38692 (exit $ac_status); }; } &&
38693 { ac_try='test -s conftest.$ac_objext'
38694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38695 (eval $ac_try) 2>&5
38696 ac_status=$?
38697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38698 (exit $ac_status); }; }; then
38699 wx_cv_type_getsockopt5=size_t
38700 else
38701 echo "$as_me: failed program was:" >&5
38702 sed 's/^/| /' conftest.$ac_ext >&5
38703
38704 cat >conftest.$ac_ext <<_ACEOF
38705 /* confdefs.h. */
38706 _ACEOF
38707 cat confdefs.h >>conftest.$ac_ext
38708 cat >>conftest.$ac_ext <<_ACEOF
38709 /* end confdefs.h. */
38710
38711 #include <sys/types.h>
38712 #include <sys/socket.h>
38713
38714 int
38715 main ()
38716 {
38717
38718 int len;
38719 getsockopt(0, 0, 0, 0, &len);
38720
38721 ;
38722 return 0;
38723 }
38724 _ACEOF
38725 rm -f conftest.$ac_objext
38726 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38727 (eval $ac_compile) 2>conftest.er1
38728 ac_status=$?
38729 grep -v '^ *+' conftest.er1 >conftest.err
38730 rm -f conftest.er1
38731 cat conftest.err >&5
38732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38733 (exit $ac_status); } &&
38734 { ac_try='test -z "$ac_cxx_werror_flag"
38735 || test ! -s conftest.err'
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); }; } &&
38741 { ac_try='test -s conftest.$ac_objext'
38742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38743 (eval $ac_try) 2>&5
38744 ac_status=$?
38745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38746 (exit $ac_status); }; }; then
38747 wx_cv_type_getsockopt5=int
38748 else
38749 echo "$as_me: failed program was:" >&5
38750 sed 's/^/| /' conftest.$ac_ext >&5
38751
38752 wx_cv_type_getsockopt5=unknown
38753
38754 fi
38755 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38756
38757 fi
38758 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38759
38760 CFLAGS="$CFLAGS_OLD"
38761
38762
38763 fi
38764 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38765
38766 fi
38767 echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
38768 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6
38769
38770 if test "$wx_cv_type_getsockopt5" = "unknown"; then
38771 wxUSE_SOCKETS=no
38772 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
38773 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
38774 else
38775 cat >>confdefs.h <<_ACEOF
38776 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
38777 _ACEOF
38778
38779 fi
38780 ac_ext=c
38781 ac_cpp='$CPP $CPPFLAGS'
38782 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38783 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38784 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38785
38786 fi
38787 fi
38788
38789 if test "$wxUSE_SOCKETS" = "yes" ; then
38790 cat >>confdefs.h <<\_ACEOF
38791 #define wxUSE_SOCKETS 1
38792 _ACEOF
38793
38794 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
38795 fi
38796
38797 if test "$wxUSE_PROTOCOL" = "yes"; then
38798 if test "$wxUSE_SOCKETS" != "yes"; then
38799 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
38800 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
38801 wxUSE_PROTOCOL=no
38802 fi
38803 fi
38804
38805 if test "$wxUSE_PROTOCOL" = "yes"; then
38806 cat >>confdefs.h <<\_ACEOF
38807 #define wxUSE_PROTOCOL 1
38808 _ACEOF
38809
38810
38811 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
38812 cat >>confdefs.h <<\_ACEOF
38813 #define wxUSE_PROTOCOL_HTTP 1
38814 _ACEOF
38815
38816 fi
38817 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
38818 cat >>confdefs.h <<\_ACEOF
38819 #define wxUSE_PROTOCOL_FTP 1
38820 _ACEOF
38821
38822 fi
38823 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
38824 cat >>confdefs.h <<\_ACEOF
38825 #define wxUSE_PROTOCOL_FILE 1
38826 _ACEOF
38827
38828 fi
38829 else
38830 if test "$wxUSE_FS_INET" = "yes"; then
38831 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
38832 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
38833 wxUSE_FS_INET="no"
38834 fi
38835 fi
38836
38837 if test "$wxUSE_URL" = "yes"; then
38838 if test "$wxUSE_PROTOCOL" != "yes"; then
38839 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
38840 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
38841 wxUSE_URL=no
38842 fi
38843 if test "$wxUSE_URL" = "yes"; then
38844 cat >>confdefs.h <<\_ACEOF
38845 #define wxUSE_URL 1
38846 _ACEOF
38847
38848 fi
38849 fi
38850
38851 if test "$wxUSE_FS_INET" = "yes"; then
38852 cat >>confdefs.h <<\_ACEOF
38853 #define wxUSE_FS_INET 1
38854 _ACEOF
38855
38856 fi
38857
38858
38859 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
38860 wxUSE_JOYSTICK=no
38861
38862 if test "$TOOLKIT" = "MSW"; then
38863 wxUSE_JOYSTICK=yes
38864
38865 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
38866 if test "$USE_DARWIN" = 1; then
38867 echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
38868 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6
38869 ac_ext=cc
38870 ac_cpp='$CXXCPP $CPPFLAGS'
38871 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38872 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38873 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38874
38875 cat >conftest.$ac_ext <<_ACEOF
38876 /* confdefs.h. */
38877 _ACEOF
38878 cat confdefs.h >>conftest.$ac_ext
38879 cat >>conftest.$ac_ext <<_ACEOF
38880 /* end confdefs.h. */
38881 #include <IOKit/hid/IOHIDLib.h>
38882 int
38883 main ()
38884 {
38885 IOHIDQueueInterface *qi = NULL;
38886 IOHIDCallbackFunction cb = NULL;
38887 qi->setEventCallout(NULL, cb, NULL, NULL);
38888 ;
38889 return 0;
38890 }
38891 _ACEOF
38892 rm -f conftest.$ac_objext
38893 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38894 (eval $ac_compile) 2>conftest.er1
38895 ac_status=$?
38896 grep -v '^ *+' conftest.er1 >conftest.err
38897 rm -f conftest.er1
38898 cat conftest.err >&5
38899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38900 (exit $ac_status); } &&
38901 { ac_try='test -z "$ac_cxx_werror_flag"
38902 || test ! -s conftest.err'
38903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38904 (eval $ac_try) 2>&5
38905 ac_status=$?
38906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38907 (exit $ac_status); }; } &&
38908 { ac_try='test -s conftest.$ac_objext'
38909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38910 (eval $ac_try) 2>&5
38911 ac_status=$?
38912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38913 (exit $ac_status); }; }; then
38914 wxUSE_JOYSTICK=yes
38915
38916 else
38917 echo "$as_me: failed program was:" >&5
38918 sed 's/^/| /' conftest.$ac_ext >&5
38919
38920 fi
38921 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38922 ac_ext=c
38923 ac_cpp='$CPP $CPPFLAGS'
38924 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38925 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38926 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38927
38928 echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
38929 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6
38930 fi
38931
38932 else
38933
38934 for ac_header in linux/joystick.h
38935 do
38936 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
38937 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38938 echo "$as_me:$LINENO: checking for $ac_header" >&5
38939 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
38940 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38941 echo $ECHO_N "(cached) $ECHO_C" >&6
38942 fi
38943 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
38944 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
38945 else
38946 # Is the header compilable?
38947 echo "$as_me:$LINENO: checking $ac_header usability" >&5
38948 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
38949 cat >conftest.$ac_ext <<_ACEOF
38950 /* confdefs.h. */
38951 _ACEOF
38952 cat confdefs.h >>conftest.$ac_ext
38953 cat >>conftest.$ac_ext <<_ACEOF
38954 /* end confdefs.h. */
38955 $ac_includes_default
38956 #include <$ac_header>
38957 _ACEOF
38958 rm -f conftest.$ac_objext
38959 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38960 (eval $ac_compile) 2>conftest.er1
38961 ac_status=$?
38962 grep -v '^ *+' conftest.er1 >conftest.err
38963 rm -f conftest.er1
38964 cat conftest.err >&5
38965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38966 (exit $ac_status); } &&
38967 { ac_try='test -z "$ac_c_werror_flag"
38968 || test ! -s conftest.err'
38969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38970 (eval $ac_try) 2>&5
38971 ac_status=$?
38972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38973 (exit $ac_status); }; } &&
38974 { ac_try='test -s conftest.$ac_objext'
38975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38976 (eval $ac_try) 2>&5
38977 ac_status=$?
38978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38979 (exit $ac_status); }; }; then
38980 ac_header_compiler=yes
38981 else
38982 echo "$as_me: failed program was:" >&5
38983 sed 's/^/| /' conftest.$ac_ext >&5
38984
38985 ac_header_compiler=no
38986 fi
38987 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38988 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
38989 echo "${ECHO_T}$ac_header_compiler" >&6
38990
38991 # Is the header present?
38992 echo "$as_me:$LINENO: checking $ac_header presence" >&5
38993 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
38994 cat >conftest.$ac_ext <<_ACEOF
38995 /* confdefs.h. */
38996 _ACEOF
38997 cat confdefs.h >>conftest.$ac_ext
38998 cat >>conftest.$ac_ext <<_ACEOF
38999 /* end confdefs.h. */
39000 #include <$ac_header>
39001 _ACEOF
39002 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
39003 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
39004 ac_status=$?
39005 grep -v '^ *+' conftest.er1 >conftest.err
39006 rm -f conftest.er1
39007 cat conftest.err >&5
39008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39009 (exit $ac_status); } >/dev/null; then
39010 if test -s conftest.err; then
39011 ac_cpp_err=$ac_c_preproc_warn_flag
39012 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
39013 else
39014 ac_cpp_err=
39015 fi
39016 else
39017 ac_cpp_err=yes
39018 fi
39019 if test -z "$ac_cpp_err"; then
39020 ac_header_preproc=yes
39021 else
39022 echo "$as_me: failed program was:" >&5
39023 sed 's/^/| /' conftest.$ac_ext >&5
39024
39025 ac_header_preproc=no
39026 fi
39027 rm -f conftest.err conftest.$ac_ext
39028 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
39029 echo "${ECHO_T}$ac_header_preproc" >&6
39030
39031 # So? What about this header?
39032 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
39033 yes:no: )
39034 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
39035 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
39036 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
39037 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
39038 ac_header_preproc=yes
39039 ;;
39040 no:yes:* )
39041 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
39042 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
39043 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
39044 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
39045 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
39046 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
39047 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
39048 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
39049 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
39050 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
39051 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
39052 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
39053 (
39054 cat <<\_ASBOX
39055 ## ----------------------------------------- ##
39056 ## Report this to wx-dev@lists.wxwidgets.org ##
39057 ## ----------------------------------------- ##
39058 _ASBOX
39059 ) |
39060 sed "s/^/$as_me: WARNING: /" >&2
39061 ;;
39062 esac
39063 echo "$as_me:$LINENO: checking for $ac_header" >&5
39064 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39065 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39066 echo $ECHO_N "(cached) $ECHO_C" >&6
39067 else
39068 eval "$as_ac_Header=\$ac_header_preproc"
39069 fi
39070 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39071 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39072
39073 fi
39074 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39075 cat >>confdefs.h <<_ACEOF
39076 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39077 _ACEOF
39078 wxUSE_JOYSTICK=yes
39079 fi
39080
39081 done
39082
39083 fi
39084
39085 if test "$wxUSE_JOYSTICK" = "yes"; then
39086 cat >>confdefs.h <<\_ACEOF
39087 #define wxUSE_JOYSTICK 1
39088 _ACEOF
39089
39090 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
39091 else
39092 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
39093 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
39094 fi
39095 fi
39096
39097
39098
39099 if test "$wxUSE_FONTMAP" = "yes" ; then
39100 cat >>confdefs.h <<\_ACEOF
39101 #define wxUSE_FONTMAP 1
39102 _ACEOF
39103
39104 fi
39105
39106 if test "$wxUSE_UNICODE" = "yes" ; then
39107 cat >>confdefs.h <<\_ACEOF
39108 #define wxUSE_UNICODE 1
39109 _ACEOF
39110
39111
39112 if test "$USE_WIN32" != 1; then
39113 wxUSE_UNICODE_MSLU=no
39114 fi
39115
39116 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
39117 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
39118 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
39119 if test "${ac_cv_lib_unicows_main+set}" = set; then
39120 echo $ECHO_N "(cached) $ECHO_C" >&6
39121 else
39122 ac_check_lib_save_LIBS=$LIBS
39123 LIBS="-lunicows $LIBS"
39124 cat >conftest.$ac_ext <<_ACEOF
39125 /* confdefs.h. */
39126 _ACEOF
39127 cat confdefs.h >>conftest.$ac_ext
39128 cat >>conftest.$ac_ext <<_ACEOF
39129 /* end confdefs.h. */
39130
39131
39132 int
39133 main ()
39134 {
39135 main ();
39136 ;
39137 return 0;
39138 }
39139 _ACEOF
39140 rm -f conftest.$ac_objext conftest$ac_exeext
39141 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39142 (eval $ac_link) 2>conftest.er1
39143 ac_status=$?
39144 grep -v '^ *+' conftest.er1 >conftest.err
39145 rm -f conftest.er1
39146 cat conftest.err >&5
39147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39148 (exit $ac_status); } &&
39149 { ac_try='test -z "$ac_c_werror_flag"
39150 || test ! -s conftest.err'
39151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39152 (eval $ac_try) 2>&5
39153 ac_status=$?
39154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39155 (exit $ac_status); }; } &&
39156 { ac_try='test -s conftest$ac_exeext'
39157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39158 (eval $ac_try) 2>&5
39159 ac_status=$?
39160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39161 (exit $ac_status); }; }; then
39162 ac_cv_lib_unicows_main=yes
39163 else
39164 echo "$as_me: failed program was:" >&5
39165 sed 's/^/| /' conftest.$ac_ext >&5
39166
39167 ac_cv_lib_unicows_main=no
39168 fi
39169 rm -f conftest.err conftest.$ac_objext \
39170 conftest$ac_exeext conftest.$ac_ext
39171 LIBS=$ac_check_lib_save_LIBS
39172 fi
39173 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
39174 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
39175 if test $ac_cv_lib_unicows_main = yes; then
39176
39177 cat >>confdefs.h <<\_ACEOF
39178 #define wxUSE_UNICODE_MSLU 1
39179 _ACEOF
39180
39181
39182 else
39183
39184 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
39185 Applications will only run on Windows NT/2000/XP!" >&5
39186 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
39187 Applications will only run on Windows NT/2000/XP!" >&2;}
39188 wxUSE_UNICODE_MSLU=no
39189
39190 fi
39191
39192 fi
39193 fi
39194
39195 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
39196 cat >>confdefs.h <<\_ACEOF
39197 #define wxUSE_EXPERIMENTAL_PRINTF 1
39198 _ACEOF
39199
39200 fi
39201
39202
39203 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
39204 cat >>confdefs.h <<\_ACEOF
39205 #define wxUSE_POSTSCRIPT 1
39206 _ACEOF
39207
39208 fi
39209
39210 cat >>confdefs.h <<\_ACEOF
39211 #define wxUSE_AFM_FOR_POSTSCRIPT 1
39212 _ACEOF
39213
39214
39215 cat >>confdefs.h <<\_ACEOF
39216 #define wxUSE_NORMALIZED_PS_FONTS 1
39217 _ACEOF
39218
39219
39220
39221 if test "$wxUSE_CONSTRAINTS" = "yes"; then
39222 cat >>confdefs.h <<\_ACEOF
39223 #define wxUSE_CONSTRAINTS 1
39224 _ACEOF
39225
39226 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
39227 fi
39228
39229 if test "$wxUSE_MDI" = "yes"; then
39230 cat >>confdefs.h <<\_ACEOF
39231 #define wxUSE_MDI 1
39232 _ACEOF
39233
39234
39235 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
39236 cat >>confdefs.h <<\_ACEOF
39237 #define wxUSE_MDI_ARCHITECTURE 1
39238 _ACEOF
39239
39240 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
39241 fi
39242 fi
39243
39244 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
39245 cat >>confdefs.h <<\_ACEOF
39246 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
39247 _ACEOF
39248
39249 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
39250 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
39251 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
39252 fi
39253 fi
39254
39255 if test "$wxUSE_HELP" = "yes"; then
39256 cat >>confdefs.h <<\_ACEOF
39257 #define wxUSE_HELP 1
39258 _ACEOF
39259
39260 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
39261
39262 if test "$wxUSE_MSW" = 1; then
39263 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
39264 cat >>confdefs.h <<\_ACEOF
39265 #define wxUSE_MS_HTML_HELP 1
39266 _ACEOF
39267
39268 fi
39269 fi
39270
39271 if test "$wxUSE_WXHTML_HELP" = "yes"; then
39272 if test "$wxUSE_HTML" = "yes"; then
39273 cat >>confdefs.h <<\_ACEOF
39274 #define wxUSE_WXHTML_HELP 1
39275 _ACEOF
39276
39277 else
39278 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
39279 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
39280 wxUSE_WXHTML_HELP=no
39281 fi
39282 fi
39283 fi
39284
39285 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
39286 if test "$wxUSE_CONSTRAINTS" != "yes"; then
39287 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
39288 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
39289 else
39290 cat >>confdefs.h <<\_ACEOF
39291 #define wxUSE_PRINTING_ARCHITECTURE 1
39292 _ACEOF
39293
39294 fi
39295 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
39296 fi
39297
39298 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
39299 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
39300 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
39301 { (exit 1); exit 1; }; }
39302 fi
39303
39304
39305 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
39306 -o "$wxUSE_CLIPBOARD" = "yes" \
39307 -o "$wxUSE_OLE" = "yes" \
39308 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
39309
39310 for ac_header in ole2.h
39311 do
39312 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39313 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39314 echo "$as_me:$LINENO: checking for $ac_header" >&5
39315 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39316 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39317 echo $ECHO_N "(cached) $ECHO_C" >&6
39318 fi
39319 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39320 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39321 else
39322 # Is the header compilable?
39323 echo "$as_me:$LINENO: checking $ac_header usability" >&5
39324 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
39325 cat >conftest.$ac_ext <<_ACEOF
39326 /* confdefs.h. */
39327 _ACEOF
39328 cat confdefs.h >>conftest.$ac_ext
39329 cat >>conftest.$ac_ext <<_ACEOF
39330 /* end confdefs.h. */
39331 $ac_includes_default
39332 #include <$ac_header>
39333 _ACEOF
39334 rm -f conftest.$ac_objext
39335 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39336 (eval $ac_compile) 2>conftest.er1
39337 ac_status=$?
39338 grep -v '^ *+' conftest.er1 >conftest.err
39339 rm -f conftest.er1
39340 cat conftest.err >&5
39341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39342 (exit $ac_status); } &&
39343 { ac_try='test -z "$ac_c_werror_flag"
39344 || test ! -s conftest.err'
39345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39346 (eval $ac_try) 2>&5
39347 ac_status=$?
39348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39349 (exit $ac_status); }; } &&
39350 { ac_try='test -s conftest.$ac_objext'
39351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39352 (eval $ac_try) 2>&5
39353 ac_status=$?
39354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39355 (exit $ac_status); }; }; then
39356 ac_header_compiler=yes
39357 else
39358 echo "$as_me: failed program was:" >&5
39359 sed 's/^/| /' conftest.$ac_ext >&5
39360
39361 ac_header_compiler=no
39362 fi
39363 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39364 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
39365 echo "${ECHO_T}$ac_header_compiler" >&6
39366
39367 # Is the header present?
39368 echo "$as_me:$LINENO: checking $ac_header presence" >&5
39369 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
39370 cat >conftest.$ac_ext <<_ACEOF
39371 /* confdefs.h. */
39372 _ACEOF
39373 cat confdefs.h >>conftest.$ac_ext
39374 cat >>conftest.$ac_ext <<_ACEOF
39375 /* end confdefs.h. */
39376 #include <$ac_header>
39377 _ACEOF
39378 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
39379 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
39380 ac_status=$?
39381 grep -v '^ *+' conftest.er1 >conftest.err
39382 rm -f conftest.er1
39383 cat conftest.err >&5
39384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39385 (exit $ac_status); } >/dev/null; then
39386 if test -s conftest.err; then
39387 ac_cpp_err=$ac_c_preproc_warn_flag
39388 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
39389 else
39390 ac_cpp_err=
39391 fi
39392 else
39393 ac_cpp_err=yes
39394 fi
39395 if test -z "$ac_cpp_err"; then
39396 ac_header_preproc=yes
39397 else
39398 echo "$as_me: failed program was:" >&5
39399 sed 's/^/| /' conftest.$ac_ext >&5
39400
39401 ac_header_preproc=no
39402 fi
39403 rm -f conftest.err conftest.$ac_ext
39404 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
39405 echo "${ECHO_T}$ac_header_preproc" >&6
39406
39407 # So? What about this header?
39408 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
39409 yes:no: )
39410 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
39411 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
39412 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
39413 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
39414 ac_header_preproc=yes
39415 ;;
39416 no:yes:* )
39417 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
39418 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
39419 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
39420 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
39421 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
39422 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
39423 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
39424 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
39425 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
39426 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
39427 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
39428 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
39429 (
39430 cat <<\_ASBOX
39431 ## ----------------------------------------- ##
39432 ## Report this to wx-dev@lists.wxwidgets.org ##
39433 ## ----------------------------------------- ##
39434 _ASBOX
39435 ) |
39436 sed "s/^/$as_me: WARNING: /" >&2
39437 ;;
39438 esac
39439 echo "$as_me:$LINENO: checking for $ac_header" >&5
39440 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39441 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39442 echo $ECHO_N "(cached) $ECHO_C" >&6
39443 else
39444 eval "$as_ac_Header=\$ac_header_preproc"
39445 fi
39446 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39447 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39448
39449 fi
39450 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39451 cat >>confdefs.h <<_ACEOF
39452 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39453 _ACEOF
39454
39455 fi
39456
39457 done
39458
39459
39460 if test "$ac_cv_header_ole2_h" = "yes" ; then
39461 if test "$GCC" = yes ; then
39462
39463
39464 ac_ext=cc
39465 ac_cpp='$CXXCPP $CPPFLAGS'
39466 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39467 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39468 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39469
39470
39471 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
39472 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
39473 cat >conftest.$ac_ext <<_ACEOF
39474 /* confdefs.h. */
39475 _ACEOF
39476 cat confdefs.h >>conftest.$ac_ext
39477 cat >>conftest.$ac_ext <<_ACEOF
39478 /* end confdefs.h. */
39479 #include <windows.h>
39480 #include <ole2.h>
39481 int
39482 main ()
39483 {
39484
39485 ;
39486 return 0;
39487 }
39488 _ACEOF
39489 rm -f conftest.$ac_objext
39490 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39491 (eval $ac_compile) 2>conftest.er1
39492 ac_status=$?
39493 grep -v '^ *+' conftest.er1 >conftest.err
39494 rm -f conftest.er1
39495 cat conftest.err >&5
39496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39497 (exit $ac_status); } &&
39498 { ac_try='test -z "$ac_cxx_werror_flag"
39499 || test ! -s conftest.err'
39500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39501 (eval $ac_try) 2>&5
39502 ac_status=$?
39503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39504 (exit $ac_status); }; } &&
39505 { ac_try='test -s conftest.$ac_objext'
39506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39507 (eval $ac_try) 2>&5
39508 ac_status=$?
39509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39510 (exit $ac_status); }; }; then
39511 echo "$as_me:$LINENO: result: no" >&5
39512 echo "${ECHO_T}no" >&6
39513 else
39514 echo "$as_me: failed program was:" >&5
39515 sed 's/^/| /' conftest.$ac_ext >&5
39516
39517 echo "$as_me:$LINENO: result: yes" >&5
39518 echo "${ECHO_T}yes" >&6
39519 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
39520 fi
39521 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39522 ac_ext=c
39523 ac_cpp='$CPP $CPPFLAGS'
39524 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39525 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39526 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39527
39528 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
39529 if test "$wxUSE_OLE" = "yes" ; then
39530 cat >>confdefs.h <<\_ACEOF
39531 #define wxUSE_OLE 1
39532 _ACEOF
39533
39534 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
39535 fi
39536 fi
39537
39538 if test "$wxUSE_DATAOBJ" = "yes" ; then
39539 cat >>confdefs.h <<\_ACEOF
39540 #define wxUSE_DATAOBJ 1
39541 _ACEOF
39542
39543 fi
39544 else
39545 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
39546 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
39547
39548 wxUSE_CLIPBOARD=no
39549 wxUSE_DRAG_AND_DROP=no
39550 wxUSE_DATAOBJ=no
39551 wxUSE_OLE=no
39552 fi
39553
39554 if test "$wxUSE_METAFILE" = "yes"; then
39555 cat >>confdefs.h <<\_ACEOF
39556 #define wxUSE_METAFILE 1
39557 _ACEOF
39558
39559
39560 cat >>confdefs.h <<\_ACEOF
39561 #define wxUSE_ENH_METAFILE 1
39562 _ACEOF
39563
39564 fi
39565 fi
39566
39567 if test "$wxUSE_IPC" = "yes"; then
39568 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
39569 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
39570 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
39571 wxUSE_IPC=no
39572 fi
39573
39574 if test "$wxUSE_IPC" = "yes"; then
39575 cat >>confdefs.h <<\_ACEOF
39576 #define wxUSE_IPC 1
39577 _ACEOF
39578
39579 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
39580 fi
39581 fi
39582
39583 if test "$wxUSE_CLIPBOARD" = "yes"; then
39584 if test "$wxUSE_MGL" = 1; then
39585 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
39586 echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
39587 wxUSE_CLIPBOARD=no
39588 fi
39589
39590 if test "$wxUSE_CLIPBOARD" = "yes"; then
39591 cat >>confdefs.h <<\_ACEOF
39592 #define wxUSE_CLIPBOARD 1
39593 _ACEOF
39594
39595
39596 cat >>confdefs.h <<\_ACEOF
39597 #define wxUSE_DATAOBJ 1
39598 _ACEOF
39599
39600 fi
39601 fi
39602
39603 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
39604 if test "$wxUSE_GTK" = 1; then
39605 if test "$WXGTK12" != 1; then
39606 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
39607 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
39608 wxUSE_DRAG_AND_DROP=no
39609 fi
39610 fi
39611
39612 if test "$wxUSE_MOTIF" = 1; then
39613 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
39614 echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
39615 wxUSE_DRAG_AND_DROP=no
39616 fi
39617
39618 if test "$wxUSE_X11" = 1; then
39619 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
39620 echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
39621 wxUSE_DRAG_AND_DROP=no
39622 fi
39623
39624 if test "$wxUSE_MGL" = 1; then
39625 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
39626 echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
39627 wxUSE_DRAG_AND_DROP=no
39628 fi
39629
39630 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
39631 cat >>confdefs.h <<\_ACEOF
39632 #define wxUSE_DRAG_AND_DROP 1
39633 _ACEOF
39634
39635 fi
39636
39637 fi
39638
39639 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
39640 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
39641 fi
39642
39643 if test "$wxUSE_SPLINES" = "yes" ; then
39644 cat >>confdefs.h <<\_ACEOF
39645 #define wxUSE_SPLINES 1
39646 _ACEOF
39647
39648 fi
39649
39650 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
39651 cat >>confdefs.h <<\_ACEOF
39652 #define wxUSE_MOUSEWHEEL 1
39653 _ACEOF
39654
39655 fi
39656
39657
39658 USES_CONTROLS=0
39659 if test "$wxUSE_CONTROLS" = "yes"; then
39660 USES_CONTROLS=1
39661 fi
39662
39663 if test "$wxUSE_ACCEL" = "yes"; then
39664 cat >>confdefs.h <<\_ACEOF
39665 #define wxUSE_ACCEL 1
39666 _ACEOF
39667
39668 USES_CONTROLS=1
39669 fi
39670
39671 if test "$wxUSE_BUTTON" = "yes"; then
39672 cat >>confdefs.h <<\_ACEOF
39673 #define wxUSE_BUTTON 1
39674 _ACEOF
39675
39676 USES_CONTROLS=1
39677 fi
39678
39679 if test "$wxUSE_BMPBUTTON" = "yes"; then
39680 cat >>confdefs.h <<\_ACEOF
39681 #define wxUSE_BMPBUTTON 1
39682 _ACEOF
39683
39684 USES_CONTROLS=1
39685 fi
39686
39687 if test "$wxUSE_CALCTRL" = "yes"; then
39688 cat >>confdefs.h <<\_ACEOF
39689 #define wxUSE_CALENDARCTRL 1
39690 _ACEOF
39691
39692 USES_CONTROLS=1
39693 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
39694 fi
39695
39696 if test "$wxUSE_CARET" = "yes"; then
39697 cat >>confdefs.h <<\_ACEOF
39698 #define wxUSE_CARET 1
39699 _ACEOF
39700
39701 USES_CONTROLS=1
39702 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
39703 fi
39704
39705 if test "$wxUSE_COMBOBOX" = "yes"; then
39706 cat >>confdefs.h <<\_ACEOF
39707 #define wxUSE_COMBOBOX 1
39708 _ACEOF
39709
39710 USES_CONTROLS=1
39711 fi
39712
39713 if test "$wxUSE_CHOICE" = "yes"; then
39714 cat >>confdefs.h <<\_ACEOF
39715 #define wxUSE_CHOICE 1
39716 _ACEOF
39717
39718 USES_CONTROLS=1
39719 fi
39720
39721 if test "$wxUSE_CHOICEBOOK" = "yes"; then
39722 cat >>confdefs.h <<\_ACEOF
39723 #define wxUSE_CHOICEBOOK 1
39724 _ACEOF
39725
39726 USES_CONTROLS=1
39727 fi
39728
39729 if test "$wxUSE_CHECKBOX" = "yes"; then
39730 cat >>confdefs.h <<\_ACEOF
39731 #define wxUSE_CHECKBOX 1
39732 _ACEOF
39733
39734 USES_CONTROLS=1
39735 fi
39736
39737 if test "$wxUSE_CHECKLST" = "yes"; then
39738 cat >>confdefs.h <<\_ACEOF
39739 #define wxUSE_CHECKLISTBOX 1
39740 _ACEOF
39741
39742 USES_CONTROLS=1
39743 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS checklst"
39744 fi
39745
39746 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
39747 cat >>confdefs.h <<\_ACEOF
39748 #define wxUSE_DATEPICKCTRL 1
39749 _ACEOF
39750
39751 USES_CONTROLS=1
39752 fi
39753
39754 if test "$wxUSE_DISPLAY" = "yes"; then
39755 cat >>confdefs.h <<\_ACEOF
39756 #define wxUSE_DISPLAY 1
39757 _ACEOF
39758
39759 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display multimon"
39760 fi
39761
39762 if test "$wxUSE_GAUGE" = "yes"; then
39763 cat >>confdefs.h <<\_ACEOF
39764 #define wxUSE_GAUGE 1
39765 _ACEOF
39766
39767 USES_CONTROLS=1
39768 fi
39769
39770 if test "$wxUSE_GRID" = "yes"; then
39771 cat >>confdefs.h <<\_ACEOF
39772 #define wxUSE_GRID 1
39773 _ACEOF
39774
39775 USES_CONTROLS=1
39776 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
39777 fi
39778
39779 if test "$wxUSE_IMAGLIST" = "yes"; then
39780 cat >>confdefs.h <<\_ACEOF
39781 #define wxUSE_IMAGLIST 1
39782 _ACEOF
39783
39784 fi
39785
39786 if test "$wxUSE_LISTBOOK" = "yes"; then
39787 cat >>confdefs.h <<\_ACEOF
39788 #define wxUSE_LISTBOOK 1
39789 _ACEOF
39790
39791 USES_CONTROLS=1
39792 fi
39793
39794 if test "$wxUSE_LISTBOX" = "yes"; then
39795 cat >>confdefs.h <<\_ACEOF
39796 #define wxUSE_LISTBOX 1
39797 _ACEOF
39798
39799 USES_CONTROLS=1
39800 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listbox"
39801 fi
39802
39803 if test "$wxUSE_LISTCTRL" = "yes"; then
39804 if test "$wxUSE_IMAGLIST" = "yes"; then
39805 cat >>confdefs.h <<\_ACEOF
39806 #define wxUSE_LISTCTRL 1
39807 _ACEOF
39808
39809 USES_CONTROLS=1
39810 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
39811 else
39812 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
39813 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
39814 fi
39815 fi
39816
39817 if test "$wxUSE_NOTEBOOK" = "yes"; then
39818 cat >>confdefs.h <<\_ACEOF
39819 #define wxUSE_NOTEBOOK 1
39820 _ACEOF
39821
39822 USES_CONTROLS=1
39823 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
39824 fi
39825
39826
39827 if test "$wxUSE_RADIOBOX" = "yes"; then
39828 cat >>confdefs.h <<\_ACEOF
39829 #define wxUSE_RADIOBOX 1
39830 _ACEOF
39831
39832 USES_CONTROLS=1
39833 fi
39834
39835 if test "$wxUSE_RADIOBTN" = "yes"; then
39836 cat >>confdefs.h <<\_ACEOF
39837 #define wxUSE_RADIOBTN 1
39838 _ACEOF
39839
39840 USES_CONTROLS=1
39841 fi
39842
39843 if test "$wxUSE_SASH" = "yes"; then
39844 cat >>confdefs.h <<\_ACEOF
39845 #define wxUSE_SASH 1
39846 _ACEOF
39847
39848 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
39849 fi
39850
39851 if test "$wxUSE_SCROLLBAR" = "yes"; then
39852 cat >>confdefs.h <<\_ACEOF
39853 #define wxUSE_SCROLLBAR 1
39854 _ACEOF
39855
39856 USES_CONTROLS=1
39857 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
39858 fi
39859
39860 if test "$wxUSE_SLIDER" = "yes"; then
39861 cat >>confdefs.h <<\_ACEOF
39862 #define wxUSE_SLIDER 1
39863 _ACEOF
39864
39865 USES_CONTROLS=1
39866 fi
39867
39868 if test "$wxUSE_SPINBTN" = "yes"; then
39869 cat >>confdefs.h <<\_ACEOF
39870 #define wxUSE_SPINBTN 1
39871 _ACEOF
39872
39873 USES_CONTROLS=1
39874 fi
39875
39876 if test "$wxUSE_SPINCTRL" = "yes"; then
39877 cat >>confdefs.h <<\_ACEOF
39878 #define wxUSE_SPINCTRL 1
39879 _ACEOF
39880
39881 USES_CONTROLS=1
39882 fi
39883
39884 if test "$wxUSE_SPLITTER" = "yes"; then
39885 cat >>confdefs.h <<\_ACEOF
39886 #define wxUSE_SPLITTER 1
39887 _ACEOF
39888
39889 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
39890 fi
39891
39892 if test "$wxUSE_STATBMP" = "yes"; then
39893 cat >>confdefs.h <<\_ACEOF
39894 #define wxUSE_STATBMP 1
39895 _ACEOF
39896
39897 USES_CONTROLS=1
39898 fi
39899
39900 if test "$wxUSE_STATBOX" = "yes"; then
39901 cat >>confdefs.h <<\_ACEOF
39902 #define wxUSE_STATBOX 1
39903 _ACEOF
39904
39905 USES_CONTROLS=1
39906 fi
39907
39908 if test "$wxUSE_STATTEXT" = "yes"; then
39909 cat >>confdefs.h <<\_ACEOF
39910 #define wxUSE_STATTEXT 1
39911 _ACEOF
39912
39913 USES_CONTROLS=1
39914 fi
39915
39916 if test "$wxUSE_STATLINE" = "yes"; then
39917 cat >>confdefs.h <<\_ACEOF
39918 #define wxUSE_STATLINE 1
39919 _ACEOF
39920
39921 USES_CONTROLS=1
39922 fi
39923
39924 if test "$wxUSE_STATUSBAR" = "yes"; then
39925 cat >>confdefs.h <<\_ACEOF
39926 #define wxUSE_NATIVE_STATUSBAR 1
39927 _ACEOF
39928
39929 cat >>confdefs.h <<\_ACEOF
39930 #define wxUSE_STATUSBAR 1
39931 _ACEOF
39932
39933 USES_CONTROLS=1
39934
39935 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
39936 fi
39937
39938 if test "$wxUSE_TABDIALOG" = "yes"; then
39939 cat >>confdefs.h <<\_ACEOF
39940 #define wxUSE_TAB_DIALOG 1
39941 _ACEOF
39942
39943 fi
39944
39945 if test "$wxUSE_TEXTCTRL" = "yes"; then
39946 cat >>confdefs.h <<\_ACEOF
39947 #define wxUSE_TEXTCTRL 1
39948 _ACEOF
39949
39950 USES_CONTROLS=1
39951 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
39952 fi
39953
39954 if test "$wxUSE_TOGGLEBTN" = "yes"; then
39955 if test "$wxUSE_COCOA" = 1 ; then
39956 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
39957 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
39958 wxUSE_TOGGLEBTN=no
39959 fi
39960 if test "$wxUSE_UNIVERSAL" = "yes"; then
39961 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&5
39962 echo "$as_me: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&2;}
39963 wxUSE_TOGGLEBTN=no
39964 fi
39965
39966 if test "$wxUSE_TOGGLEBTN" = "yes"; then
39967 cat >>confdefs.h <<\_ACEOF
39968 #define wxUSE_TOGGLEBTN 1
39969 _ACEOF
39970
39971 USES_CONTROLS=1
39972 fi
39973 fi
39974
39975 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
39976 cat >>confdefs.h <<\_ACEOF
39977 #define wxUSE_TOOLBAR_SIMPLE 1
39978 _ACEOF
39979
39980 wxUSE_TOOLBAR="yes"
39981 USES_CONTROLS=1
39982 fi
39983
39984 if test "$wxUSE_TOOLBAR" = "yes"; then
39985 cat >>confdefs.h <<\_ACEOF
39986 #define wxUSE_TOOLBAR 1
39987 _ACEOF
39988
39989 USES_CONTROLS=1
39990
39991 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
39992 wxUSE_TOOLBAR_NATIVE="yes"
39993 fi
39994
39995 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
39996 cat >>confdefs.h <<\_ACEOF
39997 #define wxUSE_TOOLBAR_NATIVE 1
39998 _ACEOF
39999
40000 USES_CONTROLS=1
40001 fi
40002
40003 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
40004 fi
40005
40006 if test "$wxUSE_TOOLTIPS" = "yes"; then
40007 if test "$wxUSE_MOTIF" = 1; then
40008 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
40009 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
40010 else
40011 if test "$wxUSE_UNIVERSAL" = "yes"; then
40012 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
40013 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
40014 else
40015 cat >>confdefs.h <<\_ACEOF
40016 #define wxUSE_TOOLTIPS 1
40017 _ACEOF
40018
40019 fi
40020 fi
40021 fi
40022
40023 if test "$wxUSE_TREECTRL" = "yes"; then
40024 if test "$wxUSE_IMAGLIST" = "yes"; then
40025 cat >>confdefs.h <<\_ACEOF
40026 #define wxUSE_TREECTRL 1
40027 _ACEOF
40028
40029 USES_CONTROLS=1
40030 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
40031 else
40032 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
40033 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
40034 fi
40035 fi
40036
40037 if test "$wxUSE_POPUPWIN" = "yes"; then
40038 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
40039 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
40040 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
40041 else
40042 if test "$wxUSE_PM" = 1; then
40043 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
40044 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
40045 else
40046 cat >>confdefs.h <<\_ACEOF
40047 #define wxUSE_POPUPWIN 1
40048 _ACEOF
40049
40050 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
40051
40052 USES_CONTROLS=1
40053 fi
40054 fi
40055 fi
40056
40057 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
40058 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
40059 { echo "$as_me:$LINENO: WARNING: Dialup manager not yet supported under Mac OS X... disabled" >&5
40060 echo "$as_me: WARNING: Dialup manager not yet supported under Mac OS X... disabled" >&2;}
40061 else
40062 cat >>confdefs.h <<\_ACEOF
40063 #define wxUSE_DIALUP_MANAGER 1
40064 _ACEOF
40065
40066 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
40067 fi
40068 fi
40069
40070 if test "$wxUSE_TIPWINDOW" = "yes"; then
40071 if test "$wxUSE_PM" = 1; then
40072 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
40073 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
40074 else
40075 cat >>confdefs.h <<\_ACEOF
40076 #define wxUSE_TIPWINDOW 1
40077 _ACEOF
40078
40079 fi
40080 fi
40081
40082 if test "$USES_CONTROLS" = 1; then
40083 cat >>confdefs.h <<\_ACEOF
40084 #define wxUSE_CONTROLS 1
40085 _ACEOF
40086
40087 fi
40088
40089
40090 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
40091 cat >>confdefs.h <<\_ACEOF
40092 #define wxUSE_ACCESSIBILITY 1
40093 _ACEOF
40094
40095 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
40096 fi
40097
40098 if test "$wxUSE_DRAGIMAGE" = "yes"; then
40099 cat >>confdefs.h <<\_ACEOF
40100 #define wxUSE_DRAGIMAGE 1
40101 _ACEOF
40102
40103 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
40104 fi
40105
40106 if test "$wxUSE_EXCEPTIONS" = "yes"; then
40107 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
40108 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
40109 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
40110 else
40111 cat >>confdefs.h <<\_ACEOF
40112 #define wxUSE_EXCEPTIONS 1
40113 _ACEOF
40114
40115 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
40116 fi
40117 fi
40118
40119 USE_HTML=0
40120 if test "$wxUSE_HTML" = "yes"; then
40121 cat >>confdefs.h <<\_ACEOF
40122 #define wxUSE_HTML 1
40123 _ACEOF
40124
40125 USE_HTML=1
40126 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
40127 if test "$wxUSE_MAC" = 1; then
40128 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
40129 fi
40130 fi
40131 if test "$wxUSE_WEBKIT" = "yes"; then
40132 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
40133 old_CPPFLAGS="$CPPFLAGS"
40134 CPPFLAGS="$CPPFLAGS -x objective-c++"
40135 echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
40136 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6
40137 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
40138 echo $ECHO_N "(cached) $ECHO_C" >&6
40139 else
40140 cat >conftest.$ac_ext <<_ACEOF
40141 /* confdefs.h. */
40142 _ACEOF
40143 cat confdefs.h >>conftest.$ac_ext
40144 cat >>conftest.$ac_ext <<_ACEOF
40145 /* end confdefs.h. */
40146 #include <Carbon/Carbon.h>
40147
40148 #include <WebKit/HIWebView.h>
40149 _ACEOF
40150 rm -f conftest.$ac_objext
40151 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40152 (eval $ac_compile) 2>conftest.er1
40153 ac_status=$?
40154 grep -v '^ *+' conftest.er1 >conftest.err
40155 rm -f conftest.er1
40156 cat conftest.err >&5
40157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40158 (exit $ac_status); } &&
40159 { ac_try='test -z "$ac_c_werror_flag"
40160 || test ! -s conftest.err'
40161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40162 (eval $ac_try) 2>&5
40163 ac_status=$?
40164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40165 (exit $ac_status); }; } &&
40166 { ac_try='test -s conftest.$ac_objext'
40167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40168 (eval $ac_try) 2>&5
40169 ac_status=$?
40170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40171 (exit $ac_status); }; }; then
40172 ac_cv_header_WebKit_HIWebView_h=yes
40173 else
40174 echo "$as_me: failed program was:" >&5
40175 sed 's/^/| /' conftest.$ac_ext >&5
40176
40177 ac_cv_header_WebKit_HIWebView_h=no
40178 fi
40179 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40180 fi
40181 echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
40182 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6
40183 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
40184
40185 cat >>confdefs.h <<\_ACEOF
40186 #define wxUSE_WEBKIT 1
40187 _ACEOF
40188
40189 WEBKIT_LINK="-framework WebKit"
40190
40191 else
40192
40193 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
40194 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
40195 wxUSE_WEBKIT=no
40196
40197 fi
40198
40199
40200 CPPFLAGS="$old_CPPFLAGS"
40201 elif test "$wxUSE_COCOA" = 1; then
40202 cat >>confdefs.h <<\_ACEOF
40203 #define wxUSE_WEBKIT 1
40204 _ACEOF
40205
40206 else
40207 wxUSE_WEBKIT=no
40208 fi
40209 fi
40210
40211 USE_XRC=0
40212 if test "$wxUSE_XRC" = "yes"; then
40213 if test "$wxUSE_XML" != "yes"; then
40214 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
40215 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
40216 wxUSE_XRC=no
40217 else
40218 cat >>confdefs.h <<\_ACEOF
40219 #define wxUSE_XRC 1
40220 _ACEOF
40221
40222 USE_XRC=1
40223 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
40224 fi
40225 fi
40226
40227 if test "$wxUSE_MENUS" = "yes"; then
40228 cat >>confdefs.h <<\_ACEOF
40229 #define wxUSE_MENUS 1
40230 _ACEOF
40231
40232 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
40233 fi
40234
40235 if test "$wxUSE_METAFILE" = "yes"; then
40236 cat >>confdefs.h <<\_ACEOF
40237 #define wxUSE_METAFILE 1
40238 _ACEOF
40239
40240 fi
40241
40242 if test "$wxUSE_MIMETYPE" = "yes"; then
40243 cat >>confdefs.h <<\_ACEOF
40244 #define wxUSE_MIMETYPE 1
40245 _ACEOF
40246
40247 fi
40248
40249 if test "$wxUSE_MINIFRAME" = "yes"; then
40250 cat >>confdefs.h <<\_ACEOF
40251 #define wxUSE_MINIFRAME 1
40252 _ACEOF
40253
40254 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS minifram"
40255 fi
40256
40257 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
40258 cat >>confdefs.h <<\_ACEOF
40259 #define wxUSE_SYSTEM_OPTIONS 1
40260 _ACEOF
40261
40262 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
40263 "$TOOLKIT" = "MOTIF" -o "$TOOLKIT" = "COCOA"; then
40264 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
40265 fi
40266 fi
40267
40268
40269 if test "$wxUSE_VALIDATORS" = "yes"; then
40270 cat >>confdefs.h <<\_ACEOF
40271 #define wxUSE_VALIDATORS 1
40272 _ACEOF
40273
40274 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
40275 fi
40276
40277 if test "$wxUSE_PALETTE" = "yes" ; then
40278 cat >>confdefs.h <<\_ACEOF
40279 #define wxUSE_PALETTE 1
40280 _ACEOF
40281
40282 fi
40283
40284 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
40285 LIBS=" -lunicows $LIBS"
40286 fi
40287
40288
40289 if test "$wxUSE_IMAGE" = "yes" ; then
40290 cat >>confdefs.h <<\_ACEOF
40291 #define wxUSE_IMAGE 1
40292 _ACEOF
40293
40294
40295 if test "$wxUSE_GIF" = "yes" ; then
40296 cat >>confdefs.h <<\_ACEOF
40297 #define wxUSE_GIF 1
40298 _ACEOF
40299
40300 fi
40301
40302 if test "$wxUSE_PCX" = "yes" ; then
40303 cat >>confdefs.h <<\_ACEOF
40304 #define wxUSE_PCX 1
40305 _ACEOF
40306
40307 fi
40308
40309 if test "$wxUSE_IFF" = "yes" ; then
40310 cat >>confdefs.h <<\_ACEOF
40311 #define wxUSE_IFF 1
40312 _ACEOF
40313
40314 fi
40315
40316 if test "$wxUSE_PNM" = "yes" ; then
40317 cat >>confdefs.h <<\_ACEOF
40318 #define wxUSE_PNM 1
40319 _ACEOF
40320
40321 fi
40322
40323 if test "$wxUSE_XPM" = "yes" ; then
40324 cat >>confdefs.h <<\_ACEOF
40325 #define wxUSE_XPM 1
40326 _ACEOF
40327
40328 fi
40329
40330 if test "$wxUSE_ICO_CUR" = "yes" ; then
40331 cat >>confdefs.h <<\_ACEOF
40332 #define wxUSE_ICO_CUR 1
40333 _ACEOF
40334
40335 fi
40336 fi
40337
40338
40339 if test "$wxUSE_CHOICEDLG" = "yes"; then
40340 cat >>confdefs.h <<\_ACEOF
40341 #define wxUSE_CHOICEDLG 1
40342 _ACEOF
40343
40344 fi
40345
40346 if test "$wxUSE_COLOURDLG" = "yes"; then
40347 cat >>confdefs.h <<\_ACEOF
40348 #define wxUSE_COLOURDLG 1
40349 _ACEOF
40350
40351 fi
40352
40353 if test "$wxUSE_FILEDLG" = "yes"; then
40354 cat >>confdefs.h <<\_ACEOF
40355 #define wxUSE_FILEDLG 1
40356 _ACEOF
40357
40358 fi
40359
40360 if test "$wxUSE_FINDREPLDLG" = "yes"; then
40361 cat >>confdefs.h <<\_ACEOF
40362 #define wxUSE_FINDREPLDLG 1
40363 _ACEOF
40364
40365 fi
40366
40367 if test "$wxUSE_FONTDLG" = "yes"; then
40368 cat >>confdefs.h <<\_ACEOF
40369 #define wxUSE_FONTDLG 1
40370 _ACEOF
40371
40372 fi
40373
40374 if test "$wxUSE_DIRDLG" = "yes"; then
40375 if test "$wxUSE_TREECTRL" != "yes"; then
40376 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
40377 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
40378 else
40379 cat >>confdefs.h <<\_ACEOF
40380 #define wxUSE_DIRDLG 1
40381 _ACEOF
40382
40383 fi
40384 fi
40385
40386 if test "$wxUSE_MSGDLG" = "yes"; then
40387 cat >>confdefs.h <<\_ACEOF
40388 #define wxUSE_MSGDLG 1
40389 _ACEOF
40390
40391 fi
40392
40393 if test "$wxUSE_NUMBERDLG" = "yes"; then
40394 cat >>confdefs.h <<\_ACEOF
40395 #define wxUSE_NUMBERDLG 1
40396 _ACEOF
40397
40398 fi
40399
40400 if test "$wxUSE_PROGRESSDLG" = "yes"; then
40401 if test "$wxUSE_CONSTRAINTS" != "yes"; then
40402 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
40403 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
40404 else
40405 cat >>confdefs.h <<\_ACEOF
40406 #define wxUSE_PROGRESSDLG 1
40407 _ACEOF
40408
40409 fi
40410 fi
40411
40412 if test "$wxUSE_SPLASH" = "yes"; then
40413 cat >>confdefs.h <<\_ACEOF
40414 #define wxUSE_SPLASH 1
40415 _ACEOF
40416
40417 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
40418 fi
40419
40420 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
40421 if test "$wxUSE_CONSTRAINTS" != "yes"; then
40422 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
40423 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
40424 else
40425 cat >>confdefs.h <<\_ACEOF
40426 #define wxUSE_STARTUP_TIPS 1
40427 _ACEOF
40428
40429 fi
40430 fi
40431
40432 if test "$wxUSE_TEXTDLG" = "yes"; then
40433 cat >>confdefs.h <<\_ACEOF
40434 #define wxUSE_TEXTDLG 1
40435 _ACEOF
40436
40437 fi
40438
40439 if test "$wxUSE_WIZARDDLG" = "yes"; then
40440 cat >>confdefs.h <<\_ACEOF
40441 #define wxUSE_WIZARDDLG 1
40442 _ACEOF
40443
40444 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
40445 fi
40446
40447
40448 if test "$wxUSE_MEDIACTRL" = "yes"; then
40449 if test "$wxUSE_GTK" = 1; then
40450 wxUSE_GSTREAMER="yes"
40451
40452
40453 succeeded=no
40454
40455 if test -z "$PKG_CONFIG"; then
40456 # Extract the first word of "pkg-config", so it can be a program name with args.
40457 set dummy pkg-config; ac_word=$2
40458 echo "$as_me:$LINENO: checking for $ac_word" >&5
40459 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40460 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
40461 echo $ECHO_N "(cached) $ECHO_C" >&6
40462 else
40463 case $PKG_CONFIG in
40464 [\\/]* | ?:[\\/]*)
40465 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
40466 ;;
40467 *)
40468 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
40469 for as_dir in $PATH
40470 do
40471 IFS=$as_save_IFS
40472 test -z "$as_dir" && as_dir=.
40473 for ac_exec_ext in '' $ac_executable_extensions; do
40474 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40475 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
40476 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40477 break 2
40478 fi
40479 done
40480 done
40481
40482 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
40483 ;;
40484 esac
40485 fi
40486 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
40487
40488 if test -n "$PKG_CONFIG"; then
40489 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
40490 echo "${ECHO_T}$PKG_CONFIG" >&6
40491 else
40492 echo "$as_me:$LINENO: result: no" >&5
40493 echo "${ECHO_T}no" >&6
40494 fi
40495
40496 fi
40497
40498 if test "$PKG_CONFIG" = "no" ; then
40499 echo "*** The pkg-config script could not be found. Make sure it is"
40500 echo "*** in your path, or set the PKG_CONFIG environment variable"
40501 echo "*** to the full path to pkg-config."
40502 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
40503 else
40504 PKG_CONFIG_MIN_VERSION=0.9.0
40505 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
40506 echo "$as_me:$LINENO: checking for gstreamer-0.8" >&5
40507 echo $ECHO_N "checking for gstreamer-0.8... $ECHO_C" >&6
40508
40509 if $PKG_CONFIG --exists "gstreamer-0.8" ; then
40510 echo "$as_me:$LINENO: result: yes" >&5
40511 echo "${ECHO_T}yes" >&6
40512 succeeded=yes
40513
40514 echo "$as_me:$LINENO: checking GSTREAMER_CFLAGS" >&5
40515 echo $ECHO_N "checking GSTREAMER_CFLAGS... $ECHO_C" >&6
40516 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-0.8"`
40517 echo "$as_me:$LINENO: result: $GSTREAMER_CFLAGS" >&5
40518 echo "${ECHO_T}$GSTREAMER_CFLAGS" >&6
40519
40520 echo "$as_me:$LINENO: checking GSTREAMER_LIBS" >&5
40521 echo $ECHO_N "checking GSTREAMER_LIBS... $ECHO_C" >&6
40522 GSTREAMER_LIBS=`$PKG_CONFIG --libs "gstreamer-0.8"`
40523 echo "$as_me:$LINENO: result: $GSTREAMER_LIBS" >&5
40524 echo "${ECHO_T}$GSTREAMER_LIBS" >&6
40525 else
40526 GSTREAMER_CFLAGS=""
40527 GSTREAMER_LIBS=""
40528 ## If we have a custom action on failure, don't print errors, but
40529 ## do set a variable so people can do so.
40530 GSTREAMER_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-0.8"`
40531
40532 fi
40533
40534
40535
40536 else
40537 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
40538 echo "*** See http://www.freedesktop.org/software/pkgconfig"
40539 fi
40540 fi
40541
40542 if test $succeeded = yes; then
40543
40544 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
40545 LIBS="$LIBS $GSTREAMER_LIBS -lgstplay-0.8"
40546
40547 else
40548
40549 { echo "$as_me:$LINENO: WARNING: GStreamer installation not found" >&5
40550 echo "$as_me: WARNING: GStreamer installation not found" >&2;}
40551 wxUSE_GSTREAMER="no"
40552
40553 fi
40554
40555
40556
40557
40558
40559 if test "x$GST_INSPECT" == "x"; then
40560 # Extract the first word of "gst-inspect", so it can be a program name with args.
40561 set dummy gst-inspect; ac_word=$2
40562 echo "$as_me:$LINENO: checking for $ac_word" >&5
40563 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40564 if test "${ac_cv_prog_GST_INSPECT+set}" = set; then
40565 echo $ECHO_N "(cached) $ECHO_C" >&6
40566 else
40567 if test -n "$GST_INSPECT"; then
40568 ac_cv_prog_GST_INSPECT="$GST_INSPECT" # Let the user override the test.
40569 else
40570 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
40571 for as_dir in $PATH
40572 do
40573 IFS=$as_save_IFS
40574 test -z "$as_dir" && as_dir=.
40575 for ac_exec_ext in '' $ac_executable_extensions; do
40576 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40577 ac_cv_prog_GST_INSPECT="gst-inspect"
40578 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40579 break 2
40580 fi
40581 done
40582 done
40583
40584 fi
40585 fi
40586 GST_INSPECT=$ac_cv_prog_GST_INSPECT
40587 if test -n "$GST_INSPECT"; then
40588 echo "$as_me:$LINENO: result: $GST_INSPECT" >&5
40589 echo "${ECHO_T}$GST_INSPECT" >&6
40590 else
40591 echo "$as_me:$LINENO: result: no" >&5
40592 echo "${ECHO_T}no" >&6
40593 fi
40594
40595 fi
40596
40597 if test "x$GST_INSPECT" != "x"; then
40598 echo "$as_me:$LINENO: checking GStreamer element xvimagesink" >&5
40599 echo $ECHO_N "checking GStreamer element xvimagesink... $ECHO_C" >&6
40600 if $GST_INSPECT xvimagesink > /dev/null 2> /dev/null ; then
40601 echo "$as_me:$LINENO: result: found." >&5
40602 echo "${ECHO_T}found." >&6
40603
40604 else
40605 echo "$as_me:$LINENO: result: not found." >&5
40606 echo "${ECHO_T}not found." >&6
40607
40608 wxUSE_GSTREAMER="no"
40609 { echo "$as_me:$LINENO: WARNING: x video sink not found - cannot use GStreamer" >&5
40610 echo "$as_me: WARNING: x video sink not found - cannot use GStreamer" >&2;}
40611
40612 fi
40613 fi
40614
40615
40616 echo "$as_me:$LINENO: checking for gst/xoverlay/xoverlay.h" >&5
40617 echo $ECHO_N "checking for gst/xoverlay/xoverlay.h... $ECHO_C" >&6
40618 if test "${ac_cv_header_gst_xoverlay_xoverlay_h+set}" = set; then
40619 echo $ECHO_N "(cached) $ECHO_C" >&6
40620 else
40621 cat >conftest.$ac_ext <<_ACEOF
40622 /* confdefs.h. */
40623 _ACEOF
40624 cat confdefs.h >>conftest.$ac_ext
40625 cat >>conftest.$ac_ext <<_ACEOF
40626 /* end confdefs.h. */
40627 #include <gst/gst.h>
40628
40629 #include <gst/xoverlay/xoverlay.h>
40630 _ACEOF
40631 rm -f conftest.$ac_objext
40632 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40633 (eval $ac_compile) 2>conftest.er1
40634 ac_status=$?
40635 grep -v '^ *+' conftest.er1 >conftest.err
40636 rm -f conftest.er1
40637 cat conftest.err >&5
40638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40639 (exit $ac_status); } &&
40640 { ac_try='test -z "$ac_c_werror_flag"
40641 || test ! -s conftest.err'
40642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40643 (eval $ac_try) 2>&5
40644 ac_status=$?
40645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40646 (exit $ac_status); }; } &&
40647 { ac_try='test -s conftest.$ac_objext'
40648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40649 (eval $ac_try) 2>&5
40650 ac_status=$?
40651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40652 (exit $ac_status); }; }; then
40653 ac_cv_header_gst_xoverlay_xoverlay_h=yes
40654 else
40655 echo "$as_me: failed program was:" >&5
40656 sed 's/^/| /' conftest.$ac_ext >&5
40657
40658 ac_cv_header_gst_xoverlay_xoverlay_h=no
40659 fi
40660 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40661 fi
40662 echo "$as_me:$LINENO: result: $ac_cv_header_gst_xoverlay_xoverlay_h" >&5
40663 echo "${ECHO_T}$ac_cv_header_gst_xoverlay_xoverlay_h" >&6
40664 if test $ac_cv_header_gst_xoverlay_xoverlay_h = yes; then
40665 :
40666 else
40667
40668 wxUSE_GSTREAMER="no"
40669 { echo "$as_me:$LINENO: WARNING: xoverlay header not found, cannot use GStreamer" >&5
40670 echo "$as_me: WARNING: xoverlay header not found, cannot use GStreamer" >&2;}
40671
40672 fi
40673
40674
40675
40676 echo "$as_me:$LINENO: checking for gstplay 0.8" >&5
40677 echo $ECHO_N "checking for gstplay 0.8... $ECHO_C" >&6
40678
40679 ac_find_libraries=
40680 for ac_dir in $SEARCH_LIB /usr/lib;
40681 do
40682 for ac_extension in a so sl dylib; do
40683 if test -f "$ac_dir/libgstplay-0.8.$ac_extension"; then
40684 ac_find_libraries=$ac_dir
40685 break 2
40686 fi
40687 done
40688 done
40689
40690
40691 if test "$ac_find_libraries" = "" ; then
40692 echo "$as_me:$LINENO: result: no" >&5
40693 echo "${ECHO_T}no" >&6
40694 wxUSE_GSTREAMER="no"
40695 else
40696 echo "$as_me:$LINENO: result: yes" >&5
40697 echo "${ECHO_T}yes" >&6
40698 fi
40699
40700 if test "$wxUSE_GSTREAMER" = "yes"; then
40701 cat >>confdefs.h <<\_ACEOF
40702 #define wxUSE_GSTREAMER 1
40703 _ACEOF
40704
40705 echo "$as_me:$LINENO: result: GStreamer detection successful" >&5
40706 echo "${ECHO_T}GStreamer detection successful" >&6
40707 fi
40708 fi
40709 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
40710 cat >>confdefs.h <<\_ACEOF
40711 #define wxUSE_MEDIACTRL 1
40712 _ACEOF
40713
40714 fi
40715
40716
40717 if test "$cross_compiling" = "yes"; then
40718 OSINFO="\"$host\""
40719 else
40720 OSINFO=`uname -s -r -m`
40721 OSINFO="\"$OSINFO\""
40722 fi
40723
40724 cat >>confdefs.h <<_ACEOF
40725 #define WXWIN_OS_DESCRIPTION $OSINFO
40726 _ACEOF
40727
40728
40729
40730 if test "x$prefix" != "xNONE"; then
40731 wxPREFIX=$prefix
40732 else
40733 wxPREFIX=$ac_default_prefix
40734 fi
40735
40736 cat >>confdefs.h <<_ACEOF
40737 #define wxINSTALL_PREFIX "$wxPREFIX"
40738 _ACEOF
40739
40740
40741
40742
40743 CORE_BASE_LIBS="net base"
40744 CORE_GUI_LIBS="adv core"
40745
40746 if test "$wxUSE_XML" = "yes" ; then
40747 CORE_BASE_LIBS="xml $CORE_BASE_LIBS"
40748 fi
40749 if test "$wxUSE_ODBC" != "no" ; then
40750 CORE_BASE_LIBS="odbc $CORE_BASE_LIBS"
40751 CORE_GUI_LIBS="dbgrid $CORE_GUI_LIBS"
40752 fi
40753 if test "$wxUSE_HTML" = "yes" ; then
40754 CORE_GUI_LIBS="html $CORE_GUI_LIBS"
40755 fi
40756 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
40757 CORE_GUI_LIBS="qa $CORE_GUI_LIBS"
40758 fi
40759 if test "$wxUSE_XRC" = "yes" ; then
40760 CORE_GUI_LIBS="xrc $CORE_GUI_LIBS"
40761 fi
40762
40763 if test "$wxUSE_GUI" != "yes"; then
40764 CORE_GUI_LIBS=""
40765 fi
40766
40767
40768
40769
40770
40771
40772
40773
40774 if test "$wxUSE_MAC" = 1 ; then
40775 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
40776 if test "$USE_DARWIN" = 1; then
40777 LDFLAGS="$LDFLAGS -framework QuickTime"
40778 else
40779 LDFLAGS="$LDFLAGS -lQuickTimeLib"
40780 fi
40781 fi
40782 if test "$USE_DARWIN" = 1; then
40783 LDFLAGS="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
40784 else
40785 LDFLAGS="$LDFLAGS -lCarbonLib"
40786 fi
40787 fi
40788 if test "$wxUSE_COCOA" = 1 ; then
40789 LDFLAGS="$LDFLAGS -framework IOKit -framework Cocoa"
40790 if test "$wxUSE_MEDIACTRL" = "yes"; then
40791 LDFLAGS="$LDFLAGS -framework QuickTime"
40792 fi
40793 fi
40794 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
40795 LDFLAGS="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
40796 fi
40797
40798
40799 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
40800
40801 have_cos=0
40802 have_floor=0
40803
40804 for ac_func in cos
40805 do
40806 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40807 echo "$as_me:$LINENO: checking for $ac_func" >&5
40808 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40809 if eval "test \"\${$as_ac_var+set}\" = set"; then
40810 echo $ECHO_N "(cached) $ECHO_C" >&6
40811 else
40812 cat >conftest.$ac_ext <<_ACEOF
40813 /* confdefs.h. */
40814 _ACEOF
40815 cat confdefs.h >>conftest.$ac_ext
40816 cat >>conftest.$ac_ext <<_ACEOF
40817 /* end confdefs.h. */
40818 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40819 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40820 #define $ac_func innocuous_$ac_func
40821
40822 /* System header to define __stub macros and hopefully few prototypes,
40823 which can conflict with char $ac_func (); below.
40824 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40825 <limits.h> exists even on freestanding compilers. */
40826
40827 #ifdef __STDC__
40828 # include <limits.h>
40829 #else
40830 # include <assert.h>
40831 #endif
40832
40833 #undef $ac_func
40834
40835 /* Override any gcc2 internal prototype to avoid an error. */
40836 #ifdef __cplusplus
40837 extern "C"
40838 {
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 $ac_func ();
40843 /* The GNU C library defines this for functions which it implements
40844 to always fail with ENOSYS. Some functions are actually named
40845 something starting with __ and the normal name is an alias. */
40846 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40847 choke me
40848 #else
40849 char (*f) () = $ac_func;
40850 #endif
40851 #ifdef __cplusplus
40852 }
40853 #endif
40854
40855 int
40856 main ()
40857 {
40858 return f != $ac_func;
40859 ;
40860 return 0;
40861 }
40862 _ACEOF
40863 rm -f conftest.$ac_objext conftest$ac_exeext
40864 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40865 (eval $ac_link) 2>conftest.er1
40866 ac_status=$?
40867 grep -v '^ *+' conftest.er1 >conftest.err
40868 rm -f conftest.er1
40869 cat conftest.err >&5
40870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40871 (exit $ac_status); } &&
40872 { ac_try='test -z "$ac_c_werror_flag"
40873 || test ! -s conftest.err'
40874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40875 (eval $ac_try) 2>&5
40876 ac_status=$?
40877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40878 (exit $ac_status); }; } &&
40879 { ac_try='test -s conftest$ac_exeext'
40880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40881 (eval $ac_try) 2>&5
40882 ac_status=$?
40883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40884 (exit $ac_status); }; }; then
40885 eval "$as_ac_var=yes"
40886 else
40887 echo "$as_me: failed program was:" >&5
40888 sed 's/^/| /' conftest.$ac_ext >&5
40889
40890 eval "$as_ac_var=no"
40891 fi
40892 rm -f conftest.err conftest.$ac_objext \
40893 conftest$ac_exeext conftest.$ac_ext
40894 fi
40895 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40896 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40897 if test `eval echo '${'$as_ac_var'}'` = yes; then
40898 cat >>confdefs.h <<_ACEOF
40899 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40900 _ACEOF
40901 have_cos=1
40902 fi
40903 done
40904
40905
40906 for ac_func in floor
40907 do
40908 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40909 echo "$as_me:$LINENO: checking for $ac_func" >&5
40910 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40911 if eval "test \"\${$as_ac_var+set}\" = set"; then
40912 echo $ECHO_N "(cached) $ECHO_C" >&6
40913 else
40914 cat >conftest.$ac_ext <<_ACEOF
40915 /* confdefs.h. */
40916 _ACEOF
40917 cat confdefs.h >>conftest.$ac_ext
40918 cat >>conftest.$ac_ext <<_ACEOF
40919 /* end confdefs.h. */
40920 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40921 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40922 #define $ac_func innocuous_$ac_func
40923
40924 /* System header to define __stub macros and hopefully few prototypes,
40925 which can conflict with char $ac_func (); below.
40926 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40927 <limits.h> exists even on freestanding compilers. */
40928
40929 #ifdef __STDC__
40930 # include <limits.h>
40931 #else
40932 # include <assert.h>
40933 #endif
40934
40935 #undef $ac_func
40936
40937 /* Override any gcc2 internal prototype to avoid an error. */
40938 #ifdef __cplusplus
40939 extern "C"
40940 {
40941 #endif
40942 /* We use char because int might match the return type of a gcc2
40943 builtin and then its argument prototype would still apply. */
40944 char $ac_func ();
40945 /* The GNU C library defines this for functions which it implements
40946 to always fail with ENOSYS. Some functions are actually named
40947 something starting with __ and the normal name is an alias. */
40948 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40949 choke me
40950 #else
40951 char (*f) () = $ac_func;
40952 #endif
40953 #ifdef __cplusplus
40954 }
40955 #endif
40956
40957 int
40958 main ()
40959 {
40960 return f != $ac_func;
40961 ;
40962 return 0;
40963 }
40964 _ACEOF
40965 rm -f conftest.$ac_objext conftest$ac_exeext
40966 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40967 (eval $ac_link) 2>conftest.er1
40968 ac_status=$?
40969 grep -v '^ *+' conftest.er1 >conftest.err
40970 rm -f conftest.er1
40971 cat conftest.err >&5
40972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40973 (exit $ac_status); } &&
40974 { ac_try='test -z "$ac_c_werror_flag"
40975 || test ! -s conftest.err'
40976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40977 (eval $ac_try) 2>&5
40978 ac_status=$?
40979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40980 (exit $ac_status); }; } &&
40981 { ac_try='test -s conftest$ac_exeext'
40982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40983 (eval $ac_try) 2>&5
40984 ac_status=$?
40985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40986 (exit $ac_status); }; }; then
40987 eval "$as_ac_var=yes"
40988 else
40989 echo "$as_me: failed program was:" >&5
40990 sed 's/^/| /' conftest.$ac_ext >&5
40991
40992 eval "$as_ac_var=no"
40993 fi
40994 rm -f conftest.err conftest.$ac_objext \
40995 conftest$ac_exeext conftest.$ac_ext
40996 fi
40997 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40998 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40999 if test `eval echo '${'$as_ac_var'}'` = yes; then
41000 cat >>confdefs.h <<_ACEOF
41001 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41002 _ACEOF
41003 have_floor=1
41004 fi
41005 done
41006
41007 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
41008 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
41009 if test "$have_cos" = 1 -a "$have_floor" = 1; then
41010 echo "$as_me:$LINENO: result: yes" >&5
41011 echo "${ECHO_T}yes" >&6
41012 else
41013 echo "$as_me:$LINENO: result: no" >&5
41014 echo "${ECHO_T}no" >&6
41015 LIBS="$LIBS -lm"
41016 # use different functions to avoid configure caching
41017 have_sin=0
41018 have_ceil=0
41019
41020 for ac_func in sin
41021 do
41022 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41023 echo "$as_me:$LINENO: checking for $ac_func" >&5
41024 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41025 if eval "test \"\${$as_ac_var+set}\" = set"; then
41026 echo $ECHO_N "(cached) $ECHO_C" >&6
41027 else
41028 cat >conftest.$ac_ext <<_ACEOF
41029 /* confdefs.h. */
41030 _ACEOF
41031 cat confdefs.h >>conftest.$ac_ext
41032 cat >>conftest.$ac_ext <<_ACEOF
41033 /* end confdefs.h. */
41034 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41035 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41036 #define $ac_func innocuous_$ac_func
41037
41038 /* System header to define __stub macros and hopefully few prototypes,
41039 which can conflict with char $ac_func (); below.
41040 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41041 <limits.h> exists even on freestanding compilers. */
41042
41043 #ifdef __STDC__
41044 # include <limits.h>
41045 #else
41046 # include <assert.h>
41047 #endif
41048
41049 #undef $ac_func
41050
41051 /* Override any gcc2 internal prototype to avoid an error. */
41052 #ifdef __cplusplus
41053 extern "C"
41054 {
41055 #endif
41056 /* We use char because int might match the return type of a gcc2
41057 builtin and then its argument prototype would still apply. */
41058 char $ac_func ();
41059 /* The GNU C library defines this for functions which it implements
41060 to always fail with ENOSYS. Some functions are actually named
41061 something starting with __ and the normal name is an alias. */
41062 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41063 choke me
41064 #else
41065 char (*f) () = $ac_func;
41066 #endif
41067 #ifdef __cplusplus
41068 }
41069 #endif
41070
41071 int
41072 main ()
41073 {
41074 return f != $ac_func;
41075 ;
41076 return 0;
41077 }
41078 _ACEOF
41079 rm -f conftest.$ac_objext conftest$ac_exeext
41080 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41081 (eval $ac_link) 2>conftest.er1
41082 ac_status=$?
41083 grep -v '^ *+' conftest.er1 >conftest.err
41084 rm -f conftest.er1
41085 cat conftest.err >&5
41086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41087 (exit $ac_status); } &&
41088 { ac_try='test -z "$ac_c_werror_flag"
41089 || test ! -s conftest.err'
41090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41091 (eval $ac_try) 2>&5
41092 ac_status=$?
41093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41094 (exit $ac_status); }; } &&
41095 { ac_try='test -s conftest$ac_exeext'
41096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41097 (eval $ac_try) 2>&5
41098 ac_status=$?
41099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41100 (exit $ac_status); }; }; then
41101 eval "$as_ac_var=yes"
41102 else
41103 echo "$as_me: failed program was:" >&5
41104 sed 's/^/| /' conftest.$ac_ext >&5
41105
41106 eval "$as_ac_var=no"
41107 fi
41108 rm -f conftest.err conftest.$ac_objext \
41109 conftest$ac_exeext conftest.$ac_ext
41110 fi
41111 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41112 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41113 if test `eval echo '${'$as_ac_var'}'` = yes; then
41114 cat >>confdefs.h <<_ACEOF
41115 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41116 _ACEOF
41117 have_sin=1
41118 fi
41119 done
41120
41121
41122 for ac_func in ceil
41123 do
41124 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41125 echo "$as_me:$LINENO: checking for $ac_func" >&5
41126 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41127 if eval "test \"\${$as_ac_var+set}\" = set"; then
41128 echo $ECHO_N "(cached) $ECHO_C" >&6
41129 else
41130 cat >conftest.$ac_ext <<_ACEOF
41131 /* confdefs.h. */
41132 _ACEOF
41133 cat confdefs.h >>conftest.$ac_ext
41134 cat >>conftest.$ac_ext <<_ACEOF
41135 /* end confdefs.h. */
41136 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41137 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41138 #define $ac_func innocuous_$ac_func
41139
41140 /* System header to define __stub macros and hopefully few prototypes,
41141 which can conflict with char $ac_func (); below.
41142 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41143 <limits.h> exists even on freestanding compilers. */
41144
41145 #ifdef __STDC__
41146 # include <limits.h>
41147 #else
41148 # include <assert.h>
41149 #endif
41150
41151 #undef $ac_func
41152
41153 /* Override any gcc2 internal prototype to avoid an error. */
41154 #ifdef __cplusplus
41155 extern "C"
41156 {
41157 #endif
41158 /* We use char because int might match the return type of a gcc2
41159 builtin and then its argument prototype would still apply. */
41160 char $ac_func ();
41161 /* The GNU C library defines this for functions which it implements
41162 to always fail with ENOSYS. Some functions are actually named
41163 something starting with __ and the normal name is an alias. */
41164 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41165 choke me
41166 #else
41167 char (*f) () = $ac_func;
41168 #endif
41169 #ifdef __cplusplus
41170 }
41171 #endif
41172
41173 int
41174 main ()
41175 {
41176 return f != $ac_func;
41177 ;
41178 return 0;
41179 }
41180 _ACEOF
41181 rm -f conftest.$ac_objext conftest$ac_exeext
41182 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41183 (eval $ac_link) 2>conftest.er1
41184 ac_status=$?
41185 grep -v '^ *+' conftest.er1 >conftest.err
41186 rm -f conftest.er1
41187 cat conftest.err >&5
41188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41189 (exit $ac_status); } &&
41190 { ac_try='test -z "$ac_c_werror_flag"
41191 || test ! -s conftest.err'
41192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41193 (eval $ac_try) 2>&5
41194 ac_status=$?
41195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41196 (exit $ac_status); }; } &&
41197 { ac_try='test -s conftest$ac_exeext'
41198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41199 (eval $ac_try) 2>&5
41200 ac_status=$?
41201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41202 (exit $ac_status); }; }; then
41203 eval "$as_ac_var=yes"
41204 else
41205 echo "$as_me: failed program was:" >&5
41206 sed 's/^/| /' conftest.$ac_ext >&5
41207
41208 eval "$as_ac_var=no"
41209 fi
41210 rm -f conftest.err conftest.$ac_objext \
41211 conftest$ac_exeext conftest.$ac_ext
41212 fi
41213 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41214 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41215 if test `eval echo '${'$as_ac_var'}'` = yes; then
41216 cat >>confdefs.h <<_ACEOF
41217 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41218 _ACEOF
41219 have_ceil=1
41220 fi
41221 done
41222
41223 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
41224 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
41225 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
41226 echo "$as_me:$LINENO: result: yes" >&5
41227 echo "${ECHO_T}yes" >&6
41228 else
41229 echo "$as_me:$LINENO: result: no" >&5
41230 echo "${ECHO_T}no" >&6
41231 # not sure we should warn the user, crash, etc.
41232 fi
41233 fi
41234
41235 if test "$wxUSE_GUI" = "yes"; then
41236
41237
41238 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
41239 dynamic erase event exec font image minimal mobile \
41240 mobile/wxedit mobile/styles propsize render \
41241 richedit rotate shaped vscroll widgets"
41242
41243 if test "$wxUSE_MONOLITHIC" != "yes"; then
41244 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
41245 fi
41246 if test "$TOOLKIT" = "MSW"; then
41247 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
41248 if test "$wxUSE_UNIVERSAL" != "yes"; then
41249 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg"
41250 fi
41251 fi
41252 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
41253 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
41254 fi
41255 else
41256 SAMPLES_SUBDIRS="console"
41257 fi
41258
41259
41260 INCLUDES="-I\${top_builddir}lib/wx/include/${TOOLCHAIN_FULLNAME} \
41261 -I\${top_srcdir}/include $TOOLKIT_INCLUDE"
41262
41263 if test "$GXX" = yes ; then
41264 CWARNINGS="-Wall"
41265 CXXWARNINGS="$CWARNINGS -Wno-ctor-dtor-privacy"
41266 fi
41267
41268 EXTRA_CFLAGS="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE"
41269
41270 CPPFLAGS=`echo $WXDEBUG_DEFINE $INCLUDES $CPPFLAGS`
41271 CFLAGS=`echo $CODE_GEN_FLAGS $EXTRA_CFLAGS $CFLAGS $CWARNINGS`
41272 CXXFLAGS=`echo $CODE_GEN_FLAGS $CODE_GEN_FLAGS_CXX $EXTRA_CFLAGS $CXXFLAGS $CXXWARNINGS`
41273
41274 if test "x$MWCC" = "xyes"; then
41275
41276 CC="$CC -cwd source -I-"
41277 CXX="$CXX -cwd source -I-"
41278 fi
41279
41280
41281 LIBS=`echo $LIBS`
41282 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
41283 EXTRALIBS_XML="$EXPAT_LINK"
41284 EXTRALIBS_HTML="$MSPACK_LINK"
41285 EXTRALIBS_ODBC="$ODBC_LINK"
41286 if test "$wxUSE_GUI" = "yes"; then
41287 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_GNOMEPRINT`
41288 fi
41289 if test "$wxUSE_OPENGL" = "yes"; then
41290 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
41291 fi
41292
41293 LDFLAGS="$LDFLAGS $PROFILE"
41294
41295 if test "$wxUSE_GTK" = 1; then
41296 WXCONFIG_INCLUDE=
41297 else
41298 WXCONFIG_INCLUDE="$TOOLKIT_INCLUDE"
41299 fi
41300
41301 WXCONFIG_EXTRALIBS="$LIBS"
41302
41303 if test "$wxUSE_REGEX" = "builtin" ; then
41304 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
41305 fi
41306 if test "$wxUSE_EXPAT" = "builtin" ; then
41307 wxconfig_3rdparty="expat $wxconfig_3rdparty"
41308 fi
41309 if test "$wxUSE_ODBC" = "builtin" ; then
41310 wxconfig_3rdparty="odbc $wxconfig_3rdparty"
41311 fi
41312 if test "$wxUSE_LIBTIFF" = "builtin" ; then
41313 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
41314 fi
41315 if test "$wxUSE_LIBJPEG" = "builtin" ; then
41316 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
41317 fi
41318 if test "$wxUSE_LIBPNG" = "builtin" ; then
41319 wxconfig_3rdparty="png $wxconfig_3rdparty"
41320 fi
41321 if test "$wxUSE_ZLIB" = "builtin" ; then
41322 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
41323 fi
41324
41325 for i in $wxconfig_3rdparty ; do
41326 WXCONFIG_EXTRALIBS="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_EXTRALIBS"
41327 done
41328
41329
41330 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
41331 WXUNIV=1
41332 else
41333 WXUNIV=0
41334 fi
41335
41336
41337
41338
41339
41340
41341
41342
41343
41344 if test $wxUSE_MONOLITHIC = "yes" ; then
41345 MONOLITHIC=1
41346 else
41347 MONOLITHIC=0
41348 fi
41349
41350 if test $wxUSE_PLUGINS = "yes" ; then
41351 USE_PLUGINS=1
41352 else
41353 USE_PLUGINS=0
41354 fi
41355
41356 if test $wxUSE_ODBC != "no" ; then
41357 USE_ODBC=1
41358 else
41359 USE_ODBC=0
41360 fi
41361
41362 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
41363 USE_QA=1
41364 else
41365 USE_QA=0
41366 fi
41367
41368 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
41369 OFFICIAL_BUILD=1
41370 else
41371 OFFICIAL_BUILD=0
41372 fi
41373
41374
41375
41376
41377
41378
41379
41380
41381
41382
41383
41384
41385
41386
41387
41388
41389
41390
41391
41392
41393
41394
41395
41396 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
41397
41398
41399
41400
41401
41402
41403
41404
41405 case "$TOOLKIT" in
41406 GTK)
41407 TOOLKIT_USER="GTK+"
41408 if test "$WXGTK20" = 1; then
41409 TOOLKIT_USER="$TOOLKIT_USER 2"
41410 fi
41411 ;;
41412
41413 *)
41414 TOOLKIT_USER=$TOOLKIT_LOWERCASE
41415 ;;
41416 esac
41417
41418 if test "$wxUSE_WINE" = "yes"; then
41419 BAKEFILE_FORCE_PLATFORM=win32
41420 fi
41421
41422
41423
41424
41425 if test "x$BAKEFILE_HOST" = "x"; then
41426 BAKEFILE_HOST="${host}"
41427 fi
41428
41429 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
41430
41431 if test -n "$ac_tool_prefix"; then
41432 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
41433 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
41434 echo "$as_me:$LINENO: checking for $ac_word" >&5
41435 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41436 if test "${ac_cv_prog_RANLIB+set}" = set; then
41437 echo $ECHO_N "(cached) $ECHO_C" >&6
41438 else
41439 if test -n "$RANLIB"; then
41440 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
41441 else
41442 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41443 for as_dir in $PATH
41444 do
41445 IFS=$as_save_IFS
41446 test -z "$as_dir" && as_dir=.
41447 for ac_exec_ext in '' $ac_executable_extensions; do
41448 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41449 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
41450 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41451 break 2
41452 fi
41453 done
41454 done
41455
41456 fi
41457 fi
41458 RANLIB=$ac_cv_prog_RANLIB
41459 if test -n "$RANLIB"; then
41460 echo "$as_me:$LINENO: result: $RANLIB" >&5
41461 echo "${ECHO_T}$RANLIB" >&6
41462 else
41463 echo "$as_me:$LINENO: result: no" >&5
41464 echo "${ECHO_T}no" >&6
41465 fi
41466
41467 fi
41468 if test -z "$ac_cv_prog_RANLIB"; then
41469 ac_ct_RANLIB=$RANLIB
41470 # Extract the first word of "ranlib", so it can be a program name with args.
41471 set dummy ranlib; ac_word=$2
41472 echo "$as_me:$LINENO: checking for $ac_word" >&5
41473 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41474 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
41475 echo $ECHO_N "(cached) $ECHO_C" >&6
41476 else
41477 if test -n "$ac_ct_RANLIB"; then
41478 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
41479 else
41480 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41481 for as_dir in $PATH
41482 do
41483 IFS=$as_save_IFS
41484 test -z "$as_dir" && as_dir=.
41485 for ac_exec_ext in '' $ac_executable_extensions; do
41486 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41487 ac_cv_prog_ac_ct_RANLIB="ranlib"
41488 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41489 break 2
41490 fi
41491 done
41492 done
41493
41494 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
41495 fi
41496 fi
41497 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
41498 if test -n "$ac_ct_RANLIB"; then
41499 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
41500 echo "${ECHO_T}$ac_ct_RANLIB" >&6
41501 else
41502 echo "$as_me:$LINENO: result: no" >&5
41503 echo "${ECHO_T}no" >&6
41504 fi
41505
41506 RANLIB=$ac_ct_RANLIB
41507 else
41508 RANLIB="$ac_cv_prog_RANLIB"
41509 fi
41510
41511 # Find a good install program. We prefer a C program (faster),
41512 # so one script is as good as another. But avoid the broken or
41513 # incompatible versions:
41514 # SysV /etc/install, /usr/sbin/install
41515 # SunOS /usr/etc/install
41516 # IRIX /sbin/install
41517 # AIX /bin/install
41518 # AmigaOS /C/install, which installs bootblocks on floppy discs
41519 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
41520 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
41521 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
41522 # OS/2's system install, which has a completely different semantic
41523 # ./install, which can be erroneously created by make from ./install.sh.
41524 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
41525 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
41526 if test -z "$INSTALL"; then
41527 if test "${ac_cv_path_install+set}" = set; then
41528 echo $ECHO_N "(cached) $ECHO_C" >&6
41529 else
41530 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41531 for as_dir in $PATH
41532 do
41533 IFS=$as_save_IFS
41534 test -z "$as_dir" && as_dir=.
41535 # Account for people who put trailing slashes in PATH elements.
41536 case $as_dir/ in
41537 ./ | .// | /cC/* | \
41538 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
41539 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
41540 /usr/ucb/* ) ;;
41541 *)
41542 # OSF1 and SCO ODT 3.0 have their own names for install.
41543 # Don't use installbsd from OSF since it installs stuff as root
41544 # by default.
41545 for ac_prog in ginstall scoinst install; do
41546 for ac_exec_ext in '' $ac_executable_extensions; do
41547 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
41548 if test $ac_prog = install &&
41549 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
41550 # AIX install. It has an incompatible calling convention.
41551 :
41552 elif test $ac_prog = install &&
41553 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
41554 # program-specific install script used by HP pwplus--don't use.
41555 :
41556 else
41557 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
41558 break 3
41559 fi
41560 fi
41561 done
41562 done
41563 ;;
41564 esac
41565 done
41566
41567
41568 fi
41569 if test "${ac_cv_path_install+set}" = set; then
41570 INSTALL=$ac_cv_path_install
41571 else
41572 # As a last resort, use the slow shell script. We don't cache a
41573 # path for INSTALL within a source directory, because that will
41574 # break other packages using the cache if that directory is
41575 # removed, or if the path is relative.
41576 INSTALL=$ac_install_sh
41577 fi
41578 fi
41579 echo "$as_me:$LINENO: result: $INSTALL" >&5
41580 echo "${ECHO_T}$INSTALL" >&6
41581
41582 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
41583 # It thinks the first close brace ends the variable substitution.
41584 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
41585
41586 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
41587
41588 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
41589
41590 echo "$as_me:$LINENO: checking whether ln -s works" >&5
41591 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
41592 LN_S=$as_ln_s
41593 if test "$LN_S" = "ln -s"; then
41594 echo "$as_me:$LINENO: result: yes" >&5
41595 echo "${ECHO_T}yes" >&6
41596 else
41597 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
41598 echo "${ECHO_T}no, using $LN_S" >&6
41599 fi
41600
41601
41602 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
41603 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
41604 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
41605 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
41606 echo $ECHO_N "(cached) $ECHO_C" >&6
41607 else
41608 cat >conftest.make <<\_ACEOF
41609 all:
41610 @echo 'ac_maketemp="$(MAKE)"'
41611 _ACEOF
41612 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
41613 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
41614 if test -n "$ac_maketemp"; then
41615 eval ac_cv_prog_make_${ac_make}_set=yes
41616 else
41617 eval ac_cv_prog_make_${ac_make}_set=no
41618 fi
41619 rm -f conftest.make
41620 fi
41621 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
41622 echo "$as_me:$LINENO: result: yes" >&5
41623 echo "${ECHO_T}yes" >&6
41624 SET_MAKE=
41625 else
41626 echo "$as_me:$LINENO: result: no" >&5
41627 echo "${ECHO_T}no" >&6
41628 SET_MAKE="MAKE=${MAKE-make}"
41629 fi
41630
41631
41632
41633 if test -n "$ac_tool_prefix"; then
41634 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
41635 set dummy ${ac_tool_prefix}ar; ac_word=$2
41636 echo "$as_me:$LINENO: checking for $ac_word" >&5
41637 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41638 if test "${ac_cv_prog_AR+set}" = set; then
41639 echo $ECHO_N "(cached) $ECHO_C" >&6
41640 else
41641 if test -n "$AR"; then
41642 ac_cv_prog_AR="$AR" # Let the user override the test.
41643 else
41644 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41645 for as_dir in $PATH
41646 do
41647 IFS=$as_save_IFS
41648 test -z "$as_dir" && as_dir=.
41649 for ac_exec_ext in '' $ac_executable_extensions; do
41650 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41651 ac_cv_prog_AR="${ac_tool_prefix}ar"
41652 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41653 break 2
41654 fi
41655 done
41656 done
41657
41658 fi
41659 fi
41660 AR=$ac_cv_prog_AR
41661 if test -n "$AR"; then
41662 echo "$as_me:$LINENO: result: $AR" >&5
41663 echo "${ECHO_T}$AR" >&6
41664 else
41665 echo "$as_me:$LINENO: result: no" >&5
41666 echo "${ECHO_T}no" >&6
41667 fi
41668
41669 fi
41670 if test -z "$ac_cv_prog_AR"; then
41671 ac_ct_AR=$AR
41672 # Extract the first word of "ar", so it can be a program name with args.
41673 set dummy ar; ac_word=$2
41674 echo "$as_me:$LINENO: checking for $ac_word" >&5
41675 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41676 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
41677 echo $ECHO_N "(cached) $ECHO_C" >&6
41678 else
41679 if test -n "$ac_ct_AR"; then
41680 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
41681 else
41682 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41683 for as_dir in $PATH
41684 do
41685 IFS=$as_save_IFS
41686 test -z "$as_dir" && as_dir=.
41687 for ac_exec_ext in '' $ac_executable_extensions; do
41688 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41689 ac_cv_prog_ac_ct_AR="ar"
41690 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41691 break 2
41692 fi
41693 done
41694 done
41695
41696 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="ar"
41697 fi
41698 fi
41699 ac_ct_AR=$ac_cv_prog_ac_ct_AR
41700 if test -n "$ac_ct_AR"; then
41701 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
41702 echo "${ECHO_T}$ac_ct_AR" >&6
41703 else
41704 echo "$as_me:$LINENO: result: no" >&5
41705 echo "${ECHO_T}no" >&6
41706 fi
41707
41708 AR=$ac_ct_AR
41709 else
41710 AR="$ac_cv_prog_AR"
41711 fi
41712
41713 if test -n "$ac_tool_prefix"; then
41714 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
41715 set dummy ${ac_tool_prefix}strip; ac_word=$2
41716 echo "$as_me:$LINENO: checking for $ac_word" >&5
41717 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41718 if test "${ac_cv_prog_STRIP+set}" = set; then
41719 echo $ECHO_N "(cached) $ECHO_C" >&6
41720 else
41721 if test -n "$STRIP"; then
41722 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
41723 else
41724 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41725 for as_dir in $PATH
41726 do
41727 IFS=$as_save_IFS
41728 test -z "$as_dir" && as_dir=.
41729 for ac_exec_ext in '' $ac_executable_extensions; do
41730 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41731 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
41732 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41733 break 2
41734 fi
41735 done
41736 done
41737
41738 fi
41739 fi
41740 STRIP=$ac_cv_prog_STRIP
41741 if test -n "$STRIP"; then
41742 echo "$as_me:$LINENO: result: $STRIP" >&5
41743 echo "${ECHO_T}$STRIP" >&6
41744 else
41745 echo "$as_me:$LINENO: result: no" >&5
41746 echo "${ECHO_T}no" >&6
41747 fi
41748
41749 fi
41750 if test -z "$ac_cv_prog_STRIP"; then
41751 ac_ct_STRIP=$STRIP
41752 # Extract the first word of "strip", so it can be a program name with args.
41753 set dummy strip; ac_word=$2
41754 echo "$as_me:$LINENO: checking for $ac_word" >&5
41755 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41756 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
41757 echo $ECHO_N "(cached) $ECHO_C" >&6
41758 else
41759 if test -n "$ac_ct_STRIP"; then
41760 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
41761 else
41762 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41763 for as_dir in $PATH
41764 do
41765 IFS=$as_save_IFS
41766 test -z "$as_dir" && as_dir=.
41767 for ac_exec_ext in '' $ac_executable_extensions; do
41768 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41769 ac_cv_prog_ac_ct_STRIP="strip"
41770 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41771 break 2
41772 fi
41773 done
41774 done
41775
41776 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
41777 fi
41778 fi
41779 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
41780 if test -n "$ac_ct_STRIP"; then
41781 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
41782 echo "${ECHO_T}$ac_ct_STRIP" >&6
41783 else
41784 echo "$as_me:$LINENO: result: no" >&5
41785 echo "${ECHO_T}no" >&6
41786 fi
41787
41788 STRIP=$ac_ct_STRIP
41789 else
41790 STRIP="$ac_cv_prog_STRIP"
41791 fi
41792
41793 if test -n "$ac_tool_prefix"; then
41794 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
41795 set dummy ${ac_tool_prefix}nm; ac_word=$2
41796 echo "$as_me:$LINENO: checking for $ac_word" >&5
41797 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41798 if test "${ac_cv_prog_NM+set}" = set; then
41799 echo $ECHO_N "(cached) $ECHO_C" >&6
41800 else
41801 if test -n "$NM"; then
41802 ac_cv_prog_NM="$NM" # Let the user override the test.
41803 else
41804 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41805 for as_dir in $PATH
41806 do
41807 IFS=$as_save_IFS
41808 test -z "$as_dir" && as_dir=.
41809 for ac_exec_ext in '' $ac_executable_extensions; do
41810 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41811 ac_cv_prog_NM="${ac_tool_prefix}nm"
41812 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41813 break 2
41814 fi
41815 done
41816 done
41817
41818 fi
41819 fi
41820 NM=$ac_cv_prog_NM
41821 if test -n "$NM"; then
41822 echo "$as_me:$LINENO: result: $NM" >&5
41823 echo "${ECHO_T}$NM" >&6
41824 else
41825 echo "$as_me:$LINENO: result: no" >&5
41826 echo "${ECHO_T}no" >&6
41827 fi
41828
41829 fi
41830 if test -z "$ac_cv_prog_NM"; then
41831 ac_ct_NM=$NM
41832 # Extract the first word of "nm", so it can be a program name with args.
41833 set dummy nm; ac_word=$2
41834 echo "$as_me:$LINENO: checking for $ac_word" >&5
41835 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41836 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
41837 echo $ECHO_N "(cached) $ECHO_C" >&6
41838 else
41839 if test -n "$ac_ct_NM"; then
41840 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
41841 else
41842 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41843 for as_dir in $PATH
41844 do
41845 IFS=$as_save_IFS
41846 test -z "$as_dir" && as_dir=.
41847 for ac_exec_ext in '' $ac_executable_extensions; do
41848 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41849 ac_cv_prog_ac_ct_NM="nm"
41850 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41851 break 2
41852 fi
41853 done
41854 done
41855
41856 test -z "$ac_cv_prog_ac_ct_NM" && ac_cv_prog_ac_ct_NM=":"
41857 fi
41858 fi
41859 ac_ct_NM=$ac_cv_prog_ac_ct_NM
41860 if test -n "$ac_ct_NM"; then
41861 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
41862 echo "${ECHO_T}$ac_ct_NM" >&6
41863 else
41864 echo "$as_me:$LINENO: result: no" >&5
41865 echo "${ECHO_T}no" >&6
41866 fi
41867
41868 NM=$ac_ct_NM
41869 else
41870 NM="$ac_cv_prog_NM"
41871 fi
41872
41873
41874 case ${BAKEFILE_HOST} in
41875 *-hp-hpux* )
41876 INSTALL_DIR="mkdir -p"
41877 ;;
41878 *) INSTALL_DIR="$INSTALL -d"
41879 ;;
41880 esac
41881
41882
41883 LDFLAGS_GUI=
41884 case ${BAKEFILE_HOST} in
41885 *-*-cygwin* | *-*-mingw32* )
41886 LDFLAGS_GUI="-mwindows"
41887 esac
41888
41889
41890 fi
41891
41892 echo "$as_me:$LINENO: checking if make is GNU make" >&5
41893 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
41894 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
41895 echo $ECHO_N "(cached) $ECHO_C" >&6
41896 else
41897
41898 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
41899 egrep -s GNU > /dev/null); then
41900 bakefile_cv_prog_makeisgnu="yes"
41901 else
41902 bakefile_cv_prog_makeisgnu="no"
41903 fi
41904
41905 fi
41906 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
41907 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
41908
41909 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
41910 IF_GNU_MAKE=""
41911 else
41912 IF_GNU_MAKE="#"
41913 fi
41914
41915
41916
41917 PLATFORM_UNIX=0
41918 PLATFORM_WIN32=0
41919 PLATFORM_MSDOS=0
41920 PLATFORM_MAC=0
41921 PLATFORM_MACOS=0
41922 PLATFORM_MACOSX=0
41923 PLATFORM_OS2=0
41924 PLATFORM_BEOS=0
41925
41926 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
41927 case "${BAKEFILE_HOST}" in
41928 *-*-cygwin* | *-*-mingw32* )
41929 PLATFORM_WIN32=1
41930 ;;
41931 *-pc-msdosdjgpp )
41932 PLATFORM_MSDOS=1
41933 ;;
41934 *-pc-os2_emx | *-pc-os2-emx )
41935 PLATFORM_OS2=1
41936 ;;
41937 powerpc-*-darwin* )
41938 PLATFORM_MAC=1
41939 PLATFORM_MACOSX=1
41940 ;;
41941 *-*-beos* )
41942 PLATFORM_BEOS=1
41943 ;;
41944 powerpc-apple-macos* )
41945 PLATFORM_MAC=1
41946 PLATFORM_MACOS=1
41947 ;;
41948 * )
41949 PLATFORM_UNIX=1
41950 ;;
41951 esac
41952 else
41953 case "$BAKEFILE_FORCE_PLATFORM" in
41954 win32 )
41955 PLATFORM_WIN32=1
41956 ;;
41957 msdos )
41958 PLATFORM_MSDOS=1
41959 ;;
41960 os2 )
41961 PLATFORM_OS2=1
41962 ;;
41963 darwin )
41964 PLATFORM_MAC=1
41965 PLATFORM_MACOSX=1
41966 ;;
41967 unix )
41968 PLATFORM_UNIX=1
41969 ;;
41970 beos )
41971 PLATFORM_BEOS=1
41972 ;;
41973 * )
41974 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
41975 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
41976 { (exit 1); exit 1; }; }
41977 ;;
41978 esac
41979 fi
41980
41981
41982
41983
41984
41985
41986
41987
41988
41989
41990
41991 # Check whether --enable-omf or --disable-omf was given.
41992 if test "${enable_omf+set}" = set; then
41993 enableval="$enable_omf"
41994 bk_os2_use_omf="$enableval"
41995 fi;
41996
41997 case "${BAKEFILE_HOST}" in
41998 *-*-darwin* )
41999 CFLAGS="$CFLAGS -fno-common"
42000 CXXFLAGS="$CXXFLAGS -fno-common"
42001 ;;
42002
42003 *-pc-os2_emx | *-pc-os2-emx )
42004 if test "x$bk_os2_use_omf" = "xyes" ; then
42005 AR=emxomfar
42006 RANLIB=:
42007 LDFLAGS="-Zomf $LDFLAGS"
42008 CFLAGS="-Zomf $CFLAGS"
42009 CXXFLAGS="-Zomf $CXXFLAGS"
42010 OS2_LIBEXT="lib"
42011 else
42012 OS2_LIBEXT="a"
42013 fi
42014 ;;
42015
42016 i*86-*-beos* )
42017 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
42018 ;;
42019 esac
42020
42021
42022 SO_SUFFIX="so"
42023 SO_SUFFIX_MODULE="so"
42024 EXEEXT=""
42025 LIBPREFIX="lib"
42026 LIBEXT=".a"
42027 DLLPREFIX="lib"
42028 DLLPREFIX_MODULE=""
42029 DLLIMP_SUFFIX=""
42030
42031 case "${BAKEFILE_HOST}" in
42032 *-hp-hpux* )
42033 SO_SUFFIX="sl"
42034 SO_SUFFIX_MODULE="sl"
42035 ;;
42036 *-*-aix* )
42037 SO_SUFFIX="a"
42038 SO_SUFFIX_MODULE="a"
42039 ;;
42040 *-*-cygwin* | *-*-mingw32* )
42041 SO_SUFFIX="dll"
42042 SO_SUFFIX_MODULE="dll"
42043 DLLIMP_SUFFIX="dll.a"
42044 EXEEXT=".exe"
42045 DLLPREFIX=""
42046 ;;
42047 *-pc-msdosdjgpp )
42048 EXEEXT=".exe"
42049 DLLPREFIX=""
42050 ;;
42051 *-pc-os2_emx | *-pc-os2-emx )
42052 SO_SUFFIX="dll"
42053 SO_SUFFIX_MODULE="dll"
42054 DLLIMP_SUFFIX=$OS2_LIBEXT
42055 EXEEXT=".exe"
42056 DLLPREFIX=""
42057 LIBPREFIX=""
42058 LIBEXT=".$OS2_LIBEXT"
42059 ;;
42060 powerpc-*-darwin* )
42061 SO_SUFFIX="dylib"
42062 SO_SUFFIX_MODULE="bundle"
42063 ;;
42064 esac
42065
42066 if test "x$DLLIMP_SUFFIX" = "x" ; then
42067 DLLIMP_SUFFIX="$SO_SUFFIX"
42068 fi
42069
42070
42071
42072
42073
42074
42075
42076
42077
42078
42079
42080 PIC_FLAG=""
42081 if test "x$GCC" = "xyes"; then
42082 PIC_FLAG="-fPIC"
42083 fi
42084
42085 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
42086 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
42087
42088 case "${BAKEFILE_HOST}" in
42089 *-hp-hpux* )
42090 if test "x$GCC" != "xyes"; then
42091 LDFLAGS="$LDFLAGS -L/usr/lib"
42092
42093 SHARED_LD_CC="${CC} -b -o"
42094 SHARED_LD_CXX="${CXX} -b -o"
42095 PIC_FLAG="+Z"
42096 fi
42097 ;;
42098
42099 *-*-linux* )
42100 if test "x$GCC" != "xyes"; then
42101 echo "$as_me:$LINENO: checking for Intel compiler" >&5
42102 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
42103 if test "${bakefile_cv_prog_icc+set}" = set; then
42104 echo $ECHO_N "(cached) $ECHO_C" >&6
42105 else
42106
42107 cat >conftest.$ac_ext <<_ACEOF
42108 /* confdefs.h. */
42109 _ACEOF
42110 cat confdefs.h >>conftest.$ac_ext
42111 cat >>conftest.$ac_ext <<_ACEOF
42112 /* end confdefs.h. */
42113
42114 int
42115 main ()
42116 {
42117
42118 #ifndef __INTEL_COMPILER
42119 #error Not icc
42120 #endif
42121
42122 ;
42123 return 0;
42124 }
42125 _ACEOF
42126 rm -f conftest.$ac_objext
42127 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42128 (eval $ac_compile) 2>conftest.er1
42129 ac_status=$?
42130 grep -v '^ *+' conftest.er1 >conftest.err
42131 rm -f conftest.er1
42132 cat conftest.err >&5
42133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42134 (exit $ac_status); } &&
42135 { ac_try='test -z "$ac_c_werror_flag"
42136 || test ! -s conftest.err'
42137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42138 (eval $ac_try) 2>&5
42139 ac_status=$?
42140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42141 (exit $ac_status); }; } &&
42142 { ac_try='test -s conftest.$ac_objext'
42143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42144 (eval $ac_try) 2>&5
42145 ac_status=$?
42146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42147 (exit $ac_status); }; }; then
42148 bakefile_cv_prog_icc=yes
42149 else
42150 echo "$as_me: failed program was:" >&5
42151 sed 's/^/| /' conftest.$ac_ext >&5
42152
42153 bakefile_cv_prog_icc=no
42154
42155 fi
42156 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42157
42158 fi
42159 echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
42160 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
42161 if test "$bakefile_cv_prog_icc" = "yes"; then
42162 PIC_FLAG="-KPIC"
42163 fi
42164 fi
42165 ;;
42166
42167 *-*-solaris2* )
42168 if test "x$GCC" != xyes ; then
42169 SHARED_LD_CC="${CC} -G -o"
42170 SHARED_LD_CXX="${CXX} -G -o"
42171 PIC_FLAG="-KPIC"
42172 fi
42173 ;;
42174
42175 *-*-darwin* )
42176
42177 echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
42178 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6
42179 if test "${wx_cv_gcc31+set}" = set; then
42180 echo $ECHO_N "(cached) $ECHO_C" >&6
42181 else
42182
42183 cat >conftest.$ac_ext <<_ACEOF
42184 /* confdefs.h. */
42185 _ACEOF
42186 cat confdefs.h >>conftest.$ac_ext
42187 cat >>conftest.$ac_ext <<_ACEOF
42188 /* end confdefs.h. */
42189
42190 int
42191 main ()
42192 {
42193
42194 #if (__GNUC__ < 3) || \
42195 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
42196 #error old gcc
42197 #endif
42198
42199 ;
42200 return 0;
42201 }
42202 _ACEOF
42203 rm -f conftest.$ac_objext
42204 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42205 (eval $ac_compile) 2>conftest.er1
42206 ac_status=$?
42207 grep -v '^ *+' conftest.er1 >conftest.err
42208 rm -f conftest.er1
42209 cat conftest.err >&5
42210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42211 (exit $ac_status); } &&
42212 { ac_try='test -z "$ac_c_werror_flag"
42213 || test ! -s conftest.err'
42214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42215 (eval $ac_try) 2>&5
42216 ac_status=$?
42217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42218 (exit $ac_status); }; } &&
42219 { ac_try='test -s conftest.$ac_objext'
42220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42221 (eval $ac_try) 2>&5
42222 ac_status=$?
42223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42224 (exit $ac_status); }; }; then
42225
42226 wx_cv_gcc31=yes
42227
42228 else
42229 echo "$as_me: failed program was:" >&5
42230 sed 's/^/| /' conftest.$ac_ext >&5
42231
42232
42233 wx_cv_gcc31=no
42234
42235
42236 fi
42237 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42238
42239 fi
42240 echo "$as_me:$LINENO: result: $wx_cv_gcc31" >&5
42241 echo "${ECHO_T}$wx_cv_gcc31" >&6
42242 if test "$wx_cv_gcc31" = "no"; then
42243
42244 D='$'
42245 cat <<EOF >shared-ld-sh
42246 #!/bin/sh
42247 #-----------------------------------------------------------------------------
42248 #-- Name: distrib/mac/shared-ld-sh
42249 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
42250 #-- Author: Gilles Depeyrot
42251 #-- Copyright: (c) 2002 Gilles Depeyrot
42252 #-- Licence: any use permitted
42253 #-----------------------------------------------------------------------------
42254
42255 verbose=0
42256 args=""
42257 objects=""
42258 linking_flag="-dynamiclib"
42259
42260 while test ${D}# -gt 0; do
42261 case ${D}1 in
42262
42263 -v)
42264 verbose=1
42265 ;;
42266
42267 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
42268 # collect these options and values
42269 args="${D}{args} ${D}1 ${D}2"
42270 shift
42271 ;;
42272
42273 -l*|-L*|-Wl,*|-flat_namespace|-headerpad_max_install_names)
42274 # collect these options
42275 args="${D}{args} ${D}1"
42276 ;;
42277
42278 -dynamiclib|-bundle)
42279 linking_flag="${D}1"
42280 ;;
42281
42282 -*)
42283 echo "shared-ld: unhandled option '${D}1'"
42284 exit 1
42285 ;;
42286
42287 *.o | *.a | *.dylib)
42288 # collect object files
42289 objects="${D}{objects} ${D}1"
42290 ;;
42291
42292 *)
42293 echo "shared-ld: unhandled argument '${D}1'"
42294 exit 1
42295 ;;
42296
42297 esac
42298 shift
42299 done
42300
42301 #
42302 # Link one module containing all the others
42303 #
42304 if test ${D}{verbose} = 1; then
42305 echo "c++ -r -keep_private_externs -nostdlib ${D}{objects} -o master.${D}${D}.o"
42306 fi
42307 c++ -r -keep_private_externs -nostdlib ${D}{objects} -o master.${D}${D}.o
42308 status=${D}?
42309 if test ${D}{status} != 0; then
42310 exit ${D}{status}
42311 fi
42312
42313 #
42314 # Link the shared library from the single module created
42315 #
42316 if test ${D}{verbose} = 1; then
42317 echo "cc ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
42318 fi
42319 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
42320 status=${D}?
42321 if test ${D}{status} != 0; then
42322 exit ${D}{status}
42323 fi
42324
42325 #
42326 # Remove intermediate module
42327 #
42328 rm -f master.${D}${D}.o
42329
42330 exit 0
42331 EOF
42332
42333 chmod +x shared-ld-sh
42334
42335 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
42336 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
42337 SHARED_LD_CXX="$SHARED_LD_CC"
42338 SHARED_LD_MODULE_CXX="$SHARED_LD_MODULE_CC"
42339 else
42340 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
42341 SHARED_LD_MODULE_CC="\${CC} -bundle -single_module -headerpad_max_install_names -o"
42342 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
42343 SHARED_LD_MODULE_CXX="\${CXX} -bundle -single_module -headerpad_max_install_names -o"
42344 fi
42345
42346 PIC_FLAG="-dynamic -fPIC"
42347 ;;
42348
42349 *-*-aix* )
42350 if test "x$GCC" != "xyes"; then
42351 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
42352 set dummy makeC++SharedLib; ac_word=$2
42353 echo "$as_me:$LINENO: checking for $ac_word" >&5
42354 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
42355 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
42356 echo $ECHO_N "(cached) $ECHO_C" >&6
42357 else
42358 if test -n "$AIX_CXX_LD"; then
42359 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
42360 else
42361 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42362 for as_dir in $PATH
42363 do
42364 IFS=$as_save_IFS
42365 test -z "$as_dir" && as_dir=.
42366 for ac_exec_ext in '' $ac_executable_extensions; do
42367 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
42368 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
42369 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42370 break 2
42371 fi
42372 done
42373 done
42374
42375 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
42376 fi
42377 fi
42378 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
42379 if test -n "$AIX_CXX_LD"; then
42380 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
42381 echo "${ECHO_T}$AIX_CXX_LD" >&6
42382 else
42383 echo "$as_me:$LINENO: result: no" >&5
42384 echo "${ECHO_T}no" >&6
42385 fi
42386
42387 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
42388 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
42389 fi
42390 ;;
42391
42392 *-*-beos* )
42393 SHARED_LD_CC="${LD} -nostart -o"
42394 SHARED_LD_CXX="${LD} -nostart -o"
42395 ;;
42396
42397 *-*-irix* )
42398 if test "x$GCC" != "xyes"; then
42399 PIC_FLAG="-KPIC"
42400 fi
42401 ;;
42402
42403 *-*-cygwin* | *-*-mingw32* )
42404 PIC_FLAG=""
42405 SHARED_LD_CC="\$(CC) -shared -o"
42406 SHARED_LD_CXX="\$(CXX) -shared -o"
42407 ;;
42408
42409 *-pc-os2_emx | *-pc-os2-emx )
42410 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
42411 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
42412 PIC_FLAG=""
42413
42414 D='$'
42415 cat <<EOF >dllar.sh
42416 #!/bin/sh
42417 #
42418 # dllar - a tool to build both a .dll and an .a file
42419 # from a set of object (.o) files for EMX/OS2.
42420 #
42421 # Written by Andrew Zabolotny, bit@freya.etu.ru
42422 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
42423 #
42424 # This script will accept a set of files on the command line.
42425 # All the public symbols from the .o files will be exported into
42426 # a .DEF file, then linker will be run (through gcc) against them to
42427 # build a shared library consisting of all given .o files. All libraries
42428 # (.a) will be first decompressed into component .o files then act as
42429 # described above. You can optionally give a description (-d "description")
42430 # which will be put into .DLL. To see the list of accepted options (as well
42431 # as command-line format) simply run this program without options. The .DLL
42432 # is built to be imported by name (there is no guarantee that new versions
42433 # of the library you build will have same ordinals for same symbols).
42434 #
42435 # dllar is free software; you can redistribute it and/or modify
42436 # it under the terms of the GNU General Public License as published by
42437 # the Free Software Foundation; either version 2, or (at your option)
42438 # any later version.
42439 #
42440 # dllar is distributed in the hope that it will be useful,
42441 # but WITHOUT ANY WARRANTY; without even the implied warranty of
42442 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
42443 # GNU General Public License for more details.
42444 #
42445 # You should have received a copy of the GNU General Public License
42446 # along with dllar; see the file COPYING. If not, write to the Free
42447 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
42448 # 02111-1307, USA.
42449
42450 # To successfuly run this program you will need:
42451 # - Current drive should have LFN support (HPFS, ext2, network, etc)
42452 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
42453 # - gcc
42454 # (used to build the .dll)
42455 # - emxexp
42456 # (used to create .def file from .o files)
42457 # - emximp
42458 # (used to create .a file from .def file)
42459 # - GNU text utilites (cat, sort, uniq)
42460 # used to process emxexp output
42461 # - GNU file utilities (mv, rm)
42462 # - GNU sed
42463 # - lxlite (optional, see flag below)
42464 # (used for general .dll cleanup)
42465 #
42466
42467 flag_USE_LXLITE=1;
42468
42469 #
42470 # helper functions
42471 # basnam, variant of basename, which does _not_ remove the path, _iff_
42472 # second argument (suffix to remove) is given
42473 basnam(){
42474 case ${D}# in
42475 1)
42476 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
42477 ;;
42478 2)
42479 echo ${D}1 | sed 's/'${D}2'${D}//'
42480 ;;
42481 *)
42482 echo "error in basnam ${D}*"
42483 exit 8
42484 ;;
42485 esac
42486 }
42487
42488 # Cleanup temporary files and output
42489 CleanUp() {
42490 cd ${D}curDir
42491 for i in ${D}inputFiles ; do
42492 case ${D}i in
42493 *!)
42494 rm -rf \`basnam ${D}i !\`
42495 ;;
42496 *)
42497 ;;
42498 esac
42499 done
42500
42501 # Kill result in case of failure as there is just to many stupid make/nmake
42502 # things out there which doesn't do this.
42503 if [ ${D}# -eq 0 ]; then
42504 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
42505 fi
42506 }
42507
42508 # Print usage and exit script with rc=1.
42509 PrintHelp() {
42510 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
42511 echo ' [-name-mangler-script script.sh]'
42512 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
42513 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
42514 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
42515 echo ' [*.o] [*.a]'
42516 echo '*> "output_file" should have no extension.'
42517 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
42518 echo ' The import library name is derived from this and is set to "name".a,'
42519 echo ' unless overridden by -import'
42520 echo '*> "importlib_name" should have no extension.'
42521 echo ' If it has the .o, or .a extension, it is automatically removed.'
42522 echo ' This name is used as the import library name and may be longer and'
42523 echo ' more descriptive than the DLL name which has to follow the old '
42524 echo ' 8.3 convention of FAT.'
42525 echo '*> "script.sh may be given to override the output_file name by a'
42526 echo ' different name. It is mainly useful if the regular make process'
42527 echo ' of some package does not take into account OS/2 restriction of'
42528 echo ' DLL name lengths. It takes the importlib name as input and is'
42529 echo ' supposed to procude a shorter name as output. The script should'
42530 echo ' expect to get importlib_name without extension and should produce'
42531 echo ' a (max.) 8 letter name without extension.'
42532 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
42533 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
42534 echo ' These flags will be put at the start of GCC command line.'
42535 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
42536 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
42537 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
42538 echo ' If the last character of a symbol is "*", all symbols beginning'
42539 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
42540 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
42541 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
42542 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
42543 echo ' C runtime DLLs.'
42544 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
42545 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
42546 echo ' unchanged to GCC at the end of command line.'
42547 echo '*> If you create a DLL from a library and you do not specify -o,'
42548 echo ' the basename for DLL and import library will be set to library name,'
42549 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
42550 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
42551 echo ' library will be renamed into gcc_s.a.'
42552 echo '--------'
42553 echo 'Example:'
42554 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
42555 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
42556 CleanUp
42557 exit 1
42558 }
42559
42560 # Execute a command.
42561 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
42562 # @Uses Whatever CleanUp() uses.
42563 doCommand() {
42564 echo "${D}*"
42565 eval ${D}*
42566 rcCmd=${D}?
42567
42568 if [ ${D}rcCmd -ne 0 ]; then
42569 echo "command failed, exit code="${D}rcCmd
42570 CleanUp
42571 exit ${D}rcCmd
42572 fi
42573 }
42574
42575 # main routine
42576 # setup globals
42577 cmdLine=${D}*
42578 outFile=""
42579 outimpFile=""
42580 inputFiles=""
42581 renameScript=""
42582 description=""
42583 CC=gcc.exe
42584 CFLAGS="-s -Zcrtdll"
42585 EXTRA_CFLAGS=""
42586 EXPORT_BY_ORDINALS=0
42587 exclude_symbols=""
42588 library_flags=""
42589 curDir=\`pwd\`
42590 curDirS=curDir
42591 case ${D}curDirS in
42592 */)
42593 ;;
42594 *)
42595 curDirS=${D}{curDirS}"/"
42596 ;;
42597 esac
42598 # Parse commandline
42599 libsToLink=0
42600 omfLinking=0
42601 while [ ${D}1 ]; do
42602 case ${D}1 in
42603 -ord*)
42604 EXPORT_BY_ORDINALS=1;
42605 ;;
42606 -o*)
42607 shift
42608 outFile=${D}1
42609 ;;
42610 -i*)
42611 shift
42612 outimpFile=${D}1
42613 ;;
42614 -name-mangler-script)
42615 shift
42616 renameScript=${D}1
42617 ;;
42618 -d*)
42619 shift
42620 description=${D}1
42621 ;;
42622 -f*)
42623 shift
42624 CFLAGS=${D}1
42625 ;;
42626 -c*)
42627 shift
42628 CC=${D}1
42629 ;;
42630 -h*)
42631 PrintHelp
42632 ;;
42633 -ex*)
42634 shift
42635 exclude_symbols=${D}{exclude_symbols}${D}1" "
42636 ;;
42637 -libf*)
42638 shift
42639 library_flags=${D}{library_flags}${D}1" "
42640 ;;
42641 -nocrt*)
42642 CFLAGS="-s"
42643 ;;
42644 -nolxl*)
42645 flag_USE_LXLITE=0
42646 ;;
42647 -* | /*)
42648 case ${D}1 in
42649 -L* | -l*)
42650 libsToLink=1
42651 ;;
42652 -Zomf)
42653 omfLinking=1
42654 ;;
42655 *)
42656 ;;
42657 esac
42658 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
42659 ;;
42660 *.dll)
42661 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
42662 if [ ${D}omfLinking -eq 1 ]; then
42663 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
42664 else
42665 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
42666 fi
42667 ;;
42668 *)
42669 found=0;
42670 if [ ${D}libsToLink -ne 0 ]; then
42671 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
42672 else
42673 for file in ${D}1 ; do
42674 if [ -f ${D}file ]; then
42675 inputFiles="${D}{inputFiles} ${D}file"
42676 found=1
42677 fi
42678 done
42679 if [ ${D}found -eq 0 ]; then
42680 echo "ERROR: No file(s) found: "${D}1
42681 exit 8
42682 fi
42683 fi
42684 ;;
42685 esac
42686 shift
42687 done # iterate cmdline words
42688
42689 #
42690 if [ -z "${D}inputFiles" ]; then
42691 echo "dllar: no input files"
42692 PrintHelp
42693 fi
42694
42695 # Now extract all .o files from .a files
42696 newInputFiles=""
42697 for file in ${D}inputFiles ; do
42698 case ${D}file in
42699 *.a | *.lib)
42700 case ${D}file in
42701 *.a)
42702 suffix=".a"
42703 AR="ar"
42704 ;;
42705 *.lib)
42706 suffix=".lib"
42707 AR="emxomfar"
42708 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
42709 ;;
42710 *)
42711 ;;
42712 esac
42713 dirname=\`basnam ${D}file ${D}suffix\`"_%"
42714 mkdir ${D}dirname
42715 if [ ${D}? -ne 0 ]; then
42716 echo "Failed to create subdirectory ./${D}dirname"
42717 CleanUp
42718 exit 8;
42719 fi
42720 # Append '!' to indicate archive
42721 newInputFiles="${D}newInputFiles ${D}{dirname}!"
42722 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
42723 cd ${D}curDir
42724 found=0;
42725 for subfile in ${D}dirname/*.o* ; do
42726 if [ -f ${D}subfile ]; then
42727 found=1
42728 if [ -s ${D}subfile ]; then
42729 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
42730 newInputFiles="${D}newInputFiles ${D}subfile"
42731 fi
42732 fi
42733 done
42734 if [ ${D}found -eq 0 ]; then
42735 echo "WARNING: there are no files in archive \\'${D}file\\'"
42736 fi
42737 ;;
42738 *)
42739 newInputFiles="${D}{newInputFiles} ${D}file"
42740 ;;
42741 esac
42742 done
42743 inputFiles="${D}newInputFiles"
42744
42745 # Output filename(s).
42746 do_backup=0;
42747 if [ -z ${D}outFile ]; then
42748 do_backup=1;
42749 set outFile ${D}inputFiles; outFile=${D}2
42750 fi
42751
42752 # If it is an archive, remove the '!' and the '_%' suffixes
42753 case ${D}outFile in
42754 *_%!)
42755 outFile=\`basnam ${D}outFile _%!\`
42756 ;;
42757 *)
42758 ;;
42759 esac
42760 case ${D}outFile in
42761 *.dll)
42762 outFile=\`basnam ${D}outFile .dll\`
42763 ;;
42764 *.DLL)
42765 outFile=\`basnam ${D}outFile .DLL\`
42766 ;;
42767 *.o)
42768 outFile=\`basnam ${D}outFile .o\`
42769 ;;
42770 *.obj)
42771 outFile=\`basnam ${D}outFile .obj\`
42772 ;;
42773 *.a)
42774 outFile=\`basnam ${D}outFile .a\`
42775 ;;
42776 *.lib)
42777 outFile=\`basnam ${D}outFile .lib\`
42778 ;;
42779 *)
42780 ;;
42781 esac
42782 case ${D}outimpFile in
42783 *.a)
42784 outimpFile=\`basnam ${D}outimpFile .a\`
42785 ;;
42786 *.lib)
42787 outimpFile=\`basnam ${D}outimpFile .lib\`
42788 ;;
42789 *)
42790 ;;
42791 esac
42792 if [ -z ${D}outimpFile ]; then
42793 outimpFile=${D}outFile
42794 fi
42795 defFile="${D}{outFile}.def"
42796 arcFile="${D}{outimpFile}.a"
42797 arcFile2="${D}{outimpFile}.lib"
42798
42799 #create ${D}dllFile as something matching 8.3 restrictions,
42800 if [ -z ${D}renameScript ] ; then
42801 dllFile="${D}outFile"
42802 else
42803 dllFile=\`${D}renameScript ${D}outimpFile\`
42804 fi
42805
42806 if [ ${D}do_backup -ne 0 ] ; then
42807 if [ -f ${D}arcFile ] ; then
42808 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
42809 fi
42810 if [ -f ${D}arcFile2 ] ; then
42811 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
42812 fi
42813 fi
42814
42815 # Extract public symbols from all the object files.
42816 tmpdefFile=${D}{defFile}_%
42817 rm -f ${D}tmpdefFile
42818 for file in ${D}inputFiles ; do
42819 case ${D}file in
42820 *!)
42821 ;;
42822 *)
42823 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
42824 ;;
42825 esac
42826 done
42827
42828 # Create the def file.
42829 rm -f ${D}defFile
42830 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
42831 dllFile="${D}{dllFile}.dll"
42832 if [ ! -z ${D}description ]; then
42833 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
42834 fi
42835 echo "EXPORTS" >> ${D}defFile
42836
42837 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
42838 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
42839
42840 # Checks if the export is ok or not.
42841 for word in ${D}exclude_symbols; do
42842 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
42843 mv ${D}{tmpdefFile}% ${D}tmpdefFile
42844 done
42845
42846
42847 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
42848 sed "=" < ${D}tmpdefFile | \\
42849 sed '
42850 N
42851 : loop
42852 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
42853 t loop
42854 ' > ${D}{tmpdefFile}%
42855 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
42856 else
42857 rm -f ${D}{tmpdefFile}%
42858 fi
42859 cat ${D}tmpdefFile >> ${D}defFile
42860 rm -f ${D}tmpdefFile
42861
42862 # Do linking, create implib, and apply lxlite.
42863 gccCmdl="";
42864 for file in ${D}inputFiles ; do
42865 case ${D}file in
42866 *!)
42867 ;;
42868 *)
42869 gccCmdl="${D}gccCmdl ${D}file"
42870 ;;
42871 esac
42872 done
42873 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
42874 touch "${D}{outFile}.dll"
42875
42876 doCommand "emximp -o ${D}arcFile ${D}defFile"
42877 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
42878 add_flags="";
42879 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
42880 add_flags="-ynd"
42881 fi
42882 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
42883 fi
42884 doCommand "emxomf -s -l ${D}arcFile"
42885
42886 # Successful exit.
42887 CleanUp 1
42888 exit 0
42889 EOF
42890
42891 chmod +x dllar.sh
42892 ;;
42893
42894 powerpc-apple-macos* | \
42895 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
42896 *-*-sunos4* | \
42897 *-*-osf* | \
42898 *-*-dgux5* | \
42899 *-*-sysv5* | \
42900 *-pc-msdosdjgpp )
42901 ;;
42902
42903 *)
42904 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
42905 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
42906 { (exit 1); exit 1; }; }
42907 esac
42908
42909 if test "x$PIC_FLAG" != "x" ; then
42910 PIC_FLAG="$PIC_FLAG -DPIC"
42911 fi
42912
42913 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
42914 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
42915 fi
42916 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
42917 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
42918 fi
42919
42920
42921
42922
42923
42924
42925
42926
42927 USE_SOVERSION=0
42928 USE_SOVERLINUX=0
42929 USE_SOVERSOLARIS=0
42930 USE_SOSYMLINKS=0
42931 USE_MACVERSION=0
42932 SONAME_FLAG=
42933
42934 case "${BAKEFILE_HOST}" in
42935 *-*-linux* | *-*-freebsd* )
42936 SONAME_FLAG="-Wl,-soname,"
42937 USE_SOVERSION=1
42938 USE_SOVERLINUX=1
42939 USE_SOSYMLINKS=1
42940 ;;
42941
42942 *-*-solaris2* )
42943 SONAME_FLAG="-h "
42944 USE_SOVERSION=1
42945 USE_SOVERSOLARIS=1
42946 USE_SOSYMLINKS=1
42947 ;;
42948
42949 *-*-darwin* )
42950 USE_MACVERSION=1
42951 USE_SOVERSION=1
42952 USE_SOSYMLINKS=1
42953 ;;
42954 esac
42955
42956
42957
42958
42959
42960
42961
42962
42963
42964 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
42965 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
42966 DEPS_TRACKING=0
42967
42968 if test "x$GCC" = "xyes"; then
42969 DEPSMODE=gcc
42970 DEPS_TRACKING=1
42971 case "${BAKEFILE_HOST}" in
42972 powerpc-*-darwin* )
42973 DEPSFLAG_GCC="-no-cpp-precomp -MMD"
42974 ;;
42975 * )
42976 DEPSFLAG_GCC="-MMD"
42977 ;;
42978 esac
42979 echo "$as_me:$LINENO: result: gcc" >&5
42980 echo "${ECHO_T}gcc" >&6
42981 elif test "x$MWCC" = "xyes"; then
42982 DEPSMODE=mwcc
42983 DEPS_TRACKING=1
42984 DEPSFLAG_MWCC="-MM"
42985 echo "$as_me:$LINENO: result: mwcc" >&5
42986 echo "${ECHO_T}mwcc" >&6
42987 elif test "x$SUNCC" = "xyes"; then
42988 DEPSMODE=suncc
42989 DEPS_TRACKING=1
42990 DEPSFLAG_SUNCC="-xM1"
42991 echo "$as_me:$LINENO: result: suncc" >&5
42992 echo "${ECHO_T}suncc" >&6
42993 else
42994 echo "$as_me:$LINENO: result: none" >&5
42995 echo "${ECHO_T}none" >&6
42996 fi
42997
42998 if test $DEPS_TRACKING = 1 ; then
42999
43000 D='$'
43001 cat <<EOF >bk-deps
43002 #!/bin/sh
43003
43004 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
43005 # script. It is used to track C/C++ files dependencies in portable way.
43006 #
43007 # Permission is given to use this file in any way.
43008
43009 DEPSMODE=${DEPSMODE}
43010 DEPSDIR=.deps
43011 DEPSFLAG_GCC="${DEPSFLAG_GCC}"
43012 DEPSFLAG_MWCC="${DEPSFLAG_MWCC}"
43013 DEPSFLAG_SUNCC="${DEPSFLAG_SUNCC}"
43014
43015 mkdir -p ${D}DEPSDIR
43016
43017 if test ${D}DEPSMODE = gcc ; then
43018 ${D}* ${D}{DEPSFLAG_GCC}
43019 status=${D}?
43020 if test ${D}{status} != 0 ; then
43021 exit ${D}{status}
43022 fi
43023 # move created file to the location we want it in:
43024 while test ${D}# -gt 0; do
43025 case "${D}1" in
43026 -o )
43027 shift
43028 objfile=${D}1
43029 ;;
43030 -* )
43031 ;;
43032 * )
43033 srcfile=${D}1
43034 ;;
43035 esac
43036 shift
43037 done
43038 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
43039 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
43040 if test -f ${D}depfile ; then
43041 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
43042 rm -f ${D}depfile
43043 else
43044 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
43045 if test -f ${D}depfile ; then
43046 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
43047 rm -f ${D}depfile
43048 fi
43049 fi
43050 exit 0
43051 elif test ${D}DEPSMODE = mwcc ; then
43052 ${D}*
43053 status=${D}?
43054 if test ${D}{status} != 0 ; then
43055 exit ${D}{status}
43056 fi
43057 # Run mwcc again with -MM and redirect into the dep file we want
43058 # NOTE: We can't use shift here because we need ${D}* to be valid
43059 prevarg=
43060 for arg in ${D}* ; do
43061 if test "${D}prevarg" = "-o"; then
43062 objfile=${D}arg
43063 else
43064 case "${D}arg" in
43065 -* )
43066 ;;
43067 * )
43068 srcfile=${D}arg
43069 ;;
43070 esac
43071 fi
43072 prevarg="${D}arg"
43073 done
43074 ${D}* ${D}DEPSFLAG_MWCC >${D}{DEPSDIR}/${D}{objfile}.d
43075 exit 0
43076 elif test ${D}DEPSMODE = suncc; then
43077 ${D}* || exit
43078 # Run compiler again with deps flag and redirect into the dep file.
43079 # It doesn't work if the '-o FILE' option is used, but without it the
43080 # dependency file will contain the wrong name for the object. So it is
43081 # removed from the command line, and the dep file is fixed with sed.
43082 cmd=""
43083 while test ${D}# -gt 0; do
43084 case "${D}1" in
43085 -o )
43086 shift
43087 objfile=${D}1
43088 ;;
43089 * )
43090 eval arg${D}#=\\${D}1
43091 cmd="${D}cmd \\${D}arg${D}#"
43092 ;;
43093 esac
43094 shift
43095 done
43096 eval "${D}cmd ${D}DEPSFLAG_SUNCC" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
43097 exit 0
43098 else
43099 ${D}*
43100 exit ${D}?
43101 fi
43102 EOF
43103
43104 chmod +x bk-deps
43105 fi
43106
43107
43108
43109
43110 RESCOMP=
43111 SETFILE=
43112
43113 case ${BAKEFILE_HOST} in
43114 *-*-cygwin* | *-*-mingw32* )
43115 if test "$build" != "$host" ; then
43116 RESCOMP=$host_alias-windres
43117 else
43118 # Extract the first word of "windres", so it can be a program name with args.
43119 set dummy windres; ac_word=$2
43120 echo "$as_me:$LINENO: checking for $ac_word" >&5
43121 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
43122 if test "${ac_cv_prog_RESCOMP+set}" = set; then
43123 echo $ECHO_N "(cached) $ECHO_C" >&6
43124 else
43125 if test -n "$RESCOMP"; then
43126 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
43127 else
43128 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
43129 for as_dir in $PATH
43130 do
43131 IFS=$as_save_IFS
43132 test -z "$as_dir" && as_dir=.
43133 for ac_exec_ext in '' $ac_executable_extensions; do
43134 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
43135 ac_cv_prog_RESCOMP="windres"
43136 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43137 break 2
43138 fi
43139 done
43140 done
43141
43142 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="windres"
43143 fi
43144 fi
43145 RESCOMP=$ac_cv_prog_RESCOMP
43146 if test -n "$RESCOMP"; then
43147 echo "$as_me:$LINENO: result: $RESCOMP" >&5
43148 echo "${ECHO_T}$RESCOMP" >&6
43149 else
43150 echo "$as_me:$LINENO: result: no" >&5
43151 echo "${ECHO_T}no" >&6
43152 fi
43153
43154 fi
43155 ;;
43156
43157 *-*-darwin* | powerpc-apple-macos* )
43158 # Extract the first word of "Rez", so it can be a program name with args.
43159 set dummy Rez; ac_word=$2
43160 echo "$as_me:$LINENO: checking for $ac_word" >&5
43161 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
43162 if test "${ac_cv_prog_RESCOMP+set}" = set; then
43163 echo $ECHO_N "(cached) $ECHO_C" >&6
43164 else
43165 if test -n "$RESCOMP"; then
43166 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
43167 else
43168 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
43169 for as_dir in $PATH
43170 do
43171 IFS=$as_save_IFS
43172 test -z "$as_dir" && as_dir=.
43173 for ac_exec_ext in '' $ac_executable_extensions; do
43174 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
43175 ac_cv_prog_RESCOMP="Rez"
43176 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43177 break 2
43178 fi
43179 done
43180 done
43181
43182 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="/Developer/Tools/Rez"
43183 fi
43184 fi
43185 RESCOMP=$ac_cv_prog_RESCOMP
43186 if test -n "$RESCOMP"; then
43187 echo "$as_me:$LINENO: result: $RESCOMP" >&5
43188 echo "${ECHO_T}$RESCOMP" >&6
43189 else
43190 echo "$as_me:$LINENO: result: no" >&5
43191 echo "${ECHO_T}no" >&6
43192 fi
43193
43194 # Extract the first word of "SetFile", so it can be a program name with args.
43195 set dummy SetFile; ac_word=$2
43196 echo "$as_me:$LINENO: checking for $ac_word" >&5
43197 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
43198 if test "${ac_cv_prog_SETFILE+set}" = set; then
43199 echo $ECHO_N "(cached) $ECHO_C" >&6
43200 else
43201 if test -n "$SETFILE"; then
43202 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
43203 else
43204 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
43205 for as_dir in $PATH
43206 do
43207 IFS=$as_save_IFS
43208 test -z "$as_dir" && as_dir=.
43209 for ac_exec_ext in '' $ac_executable_extensions; do
43210 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
43211 ac_cv_prog_SETFILE="SetFile"
43212 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43213 break 2
43214 fi
43215 done
43216 done
43217
43218 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
43219 fi
43220 fi
43221 SETFILE=$ac_cv_prog_SETFILE
43222 if test -n "$SETFILE"; then
43223 echo "$as_me:$LINENO: result: $SETFILE" >&5
43224 echo "${ECHO_T}$SETFILE" >&6
43225 else
43226 echo "$as_me:$LINENO: result: no" >&5
43227 echo "${ECHO_T}no" >&6
43228 fi
43229
43230 ;;
43231 esac
43232
43233
43234
43235
43236
43237 BAKEFILE_BAKEFILE_M4_VERSION="0.1.8"
43238
43239
43240 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.1.8"
43241
43242
43243
43244 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
43245 if test "${enable_precomp_headers+set}" = set; then
43246 enableval="$enable_precomp_headers"
43247 bk_use_pch="$enableval"
43248 fi;
43249
43250 GCC_PCH=0
43251
43252 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
43253 if test "x$GCC" = "xyes"; then
43254 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
43255 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
43256 cat >conftest.$ac_ext <<_ACEOF
43257 /* confdefs.h. */
43258 _ACEOF
43259 cat confdefs.h >>conftest.$ac_ext
43260 cat >>conftest.$ac_ext <<_ACEOF
43261 /* end confdefs.h. */
43262
43263 int
43264 main ()
43265 {
43266
43267 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
43268 #error "no pch support"
43269 #endif
43270 #if (__GNUC__ < 3)
43271 #error "no pch support"
43272 #endif
43273 #if (__GNUC__ == 3) && \
43274 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
43275 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3)))
43276 #error "no pch support"
43277 #endif
43278
43279 ;
43280 return 0;
43281 }
43282 _ACEOF
43283 rm -f conftest.$ac_objext
43284 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43285 (eval $ac_compile) 2>conftest.er1
43286 ac_status=$?
43287 grep -v '^ *+' conftest.er1 >conftest.err
43288 rm -f conftest.er1
43289 cat conftest.err >&5
43290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43291 (exit $ac_status); } &&
43292 { ac_try='test -z "$ac_c_werror_flag"
43293 || test ! -s conftest.err'
43294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43295 (eval $ac_try) 2>&5
43296 ac_status=$?
43297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43298 (exit $ac_status); }; } &&
43299 { ac_try='test -s conftest.$ac_objext'
43300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43301 (eval $ac_try) 2>&5
43302 ac_status=$?
43303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43304 (exit $ac_status); }; }; then
43305
43306 echo "$as_me:$LINENO: result: yes" >&5
43307 echo "${ECHO_T}yes" >&6
43308 GCC_PCH=1
43309
43310 else
43311 echo "$as_me: failed program was:" >&5
43312 sed 's/^/| /' conftest.$ac_ext >&5
43313
43314
43315 echo "$as_me:$LINENO: result: no" >&5
43316 echo "${ECHO_T}no" >&6
43317
43318 fi
43319 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43320 if test $GCC_PCH = 1 ; then
43321
43322 D='$'
43323 cat <<EOF >bk-make-pch
43324 #!/bin/sh
43325
43326 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
43327 # script. It is used to generated precompiled headers.
43328 #
43329 # Permission is given to use this file in any way.
43330
43331 outfile="${D}{1}"
43332 header="${D}{2}"
43333 shift
43334 shift
43335
43336 compiler=
43337 headerfile=
43338 while test ${D}{#} -gt 0; do
43339 case "${D}{1}" in
43340 -I* )
43341 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
43342 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
43343 headerfile="${D}{incdir}/${D}{header}"
43344 fi
43345 ;;
43346 esac
43347 compiler="${D}{compiler} ${D}{1}"
43348 shift
43349 done
43350
43351 if test "x${D}{headerfile}" = "x" ; then
43352 echo "error: can't find header ${D}{header} in include paths" >2
43353 else
43354 if test -f ${D}{outfile} ; then
43355 rm -f ${D}{outfile}
43356 else
43357 mkdir -p \`dirname ${D}{outfile}\`
43358 fi
43359 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
43360 mkdir -p .deps
43361 # can do this because gcc is >= 3.4:
43362 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
43363 exit ${D}{?}
43364 fi
43365 EOF
43366
43367 chmod +x bk-make-pch
43368 fi
43369 fi
43370 fi
43371
43372
43373
43374 COND_BUILD_DEBUG="#"
43375 if test "x$BUILD" = "xdebug" ; then
43376 COND_BUILD_DEBUG=""
43377 fi
43378
43379 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
43380 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
43381 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
43382 fi
43383
43384 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
43385 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
43386 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
43387 fi
43388
43389 COND_BUILD_DEBUG_UNICODE_0="#"
43390 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
43391 COND_BUILD_DEBUG_UNICODE_0=""
43392 fi
43393
43394 COND_BUILD_DEBUG_UNICODE_1="#"
43395 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
43396 COND_BUILD_DEBUG_UNICODE_1=""
43397 fi
43398
43399 COND_BUILD_RELEASE="#"
43400 if test "x$BUILD" = "xrelease" ; then
43401 COND_BUILD_RELEASE=""
43402 fi
43403
43404 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
43405 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
43406 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
43407 fi
43408
43409 COND_BUILD_RELEASE_UNICODE_0="#"
43410 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
43411 COND_BUILD_RELEASE_UNICODE_0=""
43412 fi
43413
43414 COND_BUILD_RELEASE_UNICODE_1="#"
43415 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
43416 COND_BUILD_RELEASE_UNICODE_1=""
43417 fi
43418
43419 COND_DEBUG_FLAG_1="#"
43420 if test "x$DEBUG_FLAG" = "x1" ; then
43421 COND_DEBUG_FLAG_1=""
43422 fi
43423
43424 COND_DEBUG_INFO_0="#"
43425 if test "x$DEBUG_INFO" = "x0" ; then
43426 COND_DEBUG_INFO_0=""
43427 fi
43428
43429 COND_DEBUG_INFO_1="#"
43430 if test "x$DEBUG_INFO" = "x1" ; then
43431 COND_DEBUG_INFO_1=""
43432 fi
43433
43434 COND_DEPS_TRACKING_0="#"
43435 if test "x$DEPS_TRACKING" = "x0" ; then
43436 COND_DEPS_TRACKING_0=""
43437 fi
43438
43439 COND_DEPS_TRACKING_1="#"
43440 if test "x$DEPS_TRACKING" = "x1" ; then
43441 COND_DEPS_TRACKING_1=""
43442 fi
43443
43444 COND_GCC_PCH_1="#"
43445 if test "x$GCC_PCH" = "x1" ; then
43446 COND_GCC_PCH_1=""
43447 fi
43448
43449 COND_MONOLITHIC_0="#"
43450 if test "x$MONOLITHIC" = "x0" ; then
43451 COND_MONOLITHIC_0=""
43452 fi
43453
43454 COND_MONOLITHIC_0_SHARED_0="#"
43455 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
43456 COND_MONOLITHIC_0_SHARED_0=""
43457 fi
43458
43459 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
43460 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
43461 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
43462 fi
43463
43464 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
43465 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
43466 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
43467 fi
43468
43469 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1="#"
43470 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
43471 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1=""
43472 fi
43473
43474 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
43475 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
43476 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
43477 fi
43478
43479 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1="#"
43480 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
43481 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1=""
43482 fi
43483
43484 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
43485 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
43486 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
43487 fi
43488
43489 COND_MONOLITHIC_0_SHARED_1="#"
43490 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
43491 COND_MONOLITHIC_0_SHARED_1=""
43492 fi
43493
43494 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
43495 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
43496 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
43497 fi
43498
43499 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
43500 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
43501 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
43502 fi
43503
43504 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1="#"
43505 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
43506 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1=""
43507 fi
43508
43509 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
43510 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
43511 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
43512 fi
43513
43514 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1="#"
43515 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
43516 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1=""
43517 fi
43518
43519 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
43520 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
43521 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
43522 fi
43523
43524 COND_MONOLITHIC_0_USE_ODBC_1="#"
43525 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
43526 COND_MONOLITHIC_0_USE_ODBC_1=""
43527 fi
43528
43529 COND_MONOLITHIC_1="#"
43530 if test "x$MONOLITHIC" = "x1" ; then
43531 COND_MONOLITHIC_1=""
43532 fi
43533
43534 COND_MONOLITHIC_1_SHARED_0="#"
43535 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
43536 COND_MONOLITHIC_1_SHARED_0=""
43537 fi
43538
43539 COND_MONOLITHIC_1_SHARED_1="#"
43540 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
43541 COND_MONOLITHIC_1_SHARED_1=""
43542 fi
43543
43544 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
43545 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
43546 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
43547 fi
43548
43549 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
43550 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
43551 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
43552 fi
43553
43554 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
43555 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
43556 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
43557 fi
43558
43559 COND_PLATFORM_MACOSX_1="#"
43560 if test "x$PLATFORM_MACOSX" = "x1" ; then
43561 COND_PLATFORM_MACOSX_1=""
43562 fi
43563
43564 COND_PLATFORM_MACOSX_1_TOOLKIT_="#"
43565 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
43566 COND_PLATFORM_MACOSX_1_TOOLKIT_=""
43567 fi
43568
43569 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#"
43570 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
43571 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA=""
43572 fi
43573
43574 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="#"
43575 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
43576 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK=""
43577 fi
43578
43579 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="#"
43580 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
43581 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC=""
43582 fi
43583
43584 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1="#"
43585 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
43586 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1=""
43587 fi
43588
43589 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
43590 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
43591 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
43592 fi
43593
43594 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF="#"
43595 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
43596 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF=""
43597 fi
43598
43599 COND_PLATFORM_MACOSX_1_TOOLKIT_X11="#"
43600 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
43601 COND_PLATFORM_MACOSX_1_TOOLKIT_X11=""
43602 fi
43603
43604 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
43605 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
43606 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
43607 fi
43608
43609 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
43610 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
43611 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
43612 fi
43613
43614 COND_PLATFORM_MACOS_1="#"
43615 if test "x$PLATFORM_MACOS" = "x1" ; then
43616 COND_PLATFORM_MACOS_1=""
43617 fi
43618
43619 COND_PLATFORM_MAC_1="#"
43620 if test "x$PLATFORM_MAC" = "x1" ; then
43621 COND_PLATFORM_MAC_1=""
43622 fi
43623
43624 COND_PLATFORM_MSDOS_1="#"
43625 if test "x$PLATFORM_MSDOS" = "x1" ; then
43626 COND_PLATFORM_MSDOS_1=""
43627 fi
43628
43629 COND_PLATFORM_OS2_1="#"
43630 if test "x$PLATFORM_OS2" = "x1" ; then
43631 COND_PLATFORM_OS2_1=""
43632 fi
43633
43634 COND_PLATFORM_UNIX_0="#"
43635 if test "x$PLATFORM_UNIX" = "x0" ; then
43636 COND_PLATFORM_UNIX_0=""
43637 fi
43638
43639 COND_PLATFORM_UNIX_1="#"
43640 if test "x$PLATFORM_UNIX" = "x1" ; then
43641 COND_PLATFORM_UNIX_1=""
43642 fi
43643
43644 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
43645 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
43646 COND_PLATFORM_UNIX_1_USE_GUI_1=""
43647 fi
43648
43649 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
43650 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
43651 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
43652 fi
43653
43654 COND_PLATFORM_WIN32_0="#"
43655 if test "x$PLATFORM_WIN32" = "x0" ; then
43656 COND_PLATFORM_WIN32_0=""
43657 fi
43658
43659 COND_PLATFORM_WIN32_1="#"
43660 if test "x$PLATFORM_WIN32" = "x1" ; then
43661 COND_PLATFORM_WIN32_1=""
43662 fi
43663
43664 COND_SHARED_0="#"
43665 if test "x$SHARED" = "x0" ; then
43666 COND_SHARED_0=""
43667 fi
43668
43669 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
43670 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
43671 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
43672 fi
43673
43674 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
43675 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
43676 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
43677 fi
43678
43679 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
43680 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
43681 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
43682 fi
43683
43684 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
43685 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
43686 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
43687 fi
43688
43689 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
43690 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
43691 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
43692 fi
43693
43694 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
43695 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
43696 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
43697 fi
43698
43699 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
43700 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
43701 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
43702 fi
43703
43704 COND_SHARED_0_USE_XRC_1="#"
43705 if test "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
43706 COND_SHARED_0_USE_XRC_1=""
43707 fi
43708
43709 COND_SHARED_0_WXUSE_EXPAT_BUILTIN="#"
43710 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
43711 COND_SHARED_0_WXUSE_EXPAT_BUILTIN=""
43712 fi
43713
43714 COND_SHARED_0_WXUSE_ODBC_BUILTIN="#"
43715 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
43716 COND_SHARED_0_WXUSE_ODBC_BUILTIN=""
43717 fi
43718
43719 COND_SHARED_0_WXUSE_REGEX_BUILTIN="#"
43720 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
43721 COND_SHARED_0_WXUSE_REGEX_BUILTIN=""
43722 fi
43723
43724 COND_SHARED_0_WXUSE_ZLIB_BUILTIN="#"
43725 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
43726 COND_SHARED_0_WXUSE_ZLIB_BUILTIN=""
43727 fi
43728
43729 COND_SHARED_1="#"
43730 if test "x$SHARED" = "x1" ; then
43731 COND_SHARED_1=""
43732 fi
43733
43734 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
43735 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
43736 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
43737 fi
43738
43739 COND_SHARED_1_USE_XRC_1="#"
43740 if test "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
43741 COND_SHARED_1_USE_XRC_1=""
43742 fi
43743
43744 COND_TOOLKIT_="#"
43745 if test "x$TOOLKIT" = "x" ; then
43746 COND_TOOLKIT_=""
43747 fi
43748
43749 COND_TOOLKIT_COCOA="#"
43750 if test "x$TOOLKIT" = "xCOCOA" ; then
43751 COND_TOOLKIT_COCOA=""
43752 fi
43753
43754 COND_TOOLKIT_COCOA_USE_GUI_1="#"
43755 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
43756 COND_TOOLKIT_COCOA_USE_GUI_1=""
43757 fi
43758
43759 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
43760 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
43761 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
43762 fi
43763
43764 COND_TOOLKIT_GTK="#"
43765 if test "x$TOOLKIT" = "xGTK" ; then
43766 COND_TOOLKIT_GTK=""
43767 fi
43768
43769 COND_TOOLKIT_GTK_USE_GUI_1="#"
43770 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
43771 COND_TOOLKIT_GTK_USE_GUI_1=""
43772 fi
43773
43774 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0="#"
43775 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
43776 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0=""
43777 fi
43778
43779 COND_TOOLKIT_MAC="#"
43780 if test "x$TOOLKIT" = "xMAC" ; then
43781 COND_TOOLKIT_MAC=""
43782 fi
43783
43784 COND_TOOLKIT_MAC_USE_GUI_1="#"
43785 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
43786 COND_TOOLKIT_MAC_USE_GUI_1=""
43787 fi
43788
43789 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
43790 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
43791 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
43792 fi
43793
43794 COND_TOOLKIT_MGL="#"
43795 if test "x$TOOLKIT" = "xMGL" ; then
43796 COND_TOOLKIT_MGL=""
43797 fi
43798
43799 COND_TOOLKIT_MGL_USE_GUI_1="#"
43800 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
43801 COND_TOOLKIT_MGL_USE_GUI_1=""
43802 fi
43803
43804 COND_TOOLKIT_MOTIF="#"
43805 if test "x$TOOLKIT" = "xMOTIF" ; then
43806 COND_TOOLKIT_MOTIF=""
43807 fi
43808
43809 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
43810 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
43811 COND_TOOLKIT_MOTIF_USE_GUI_1=""
43812 fi
43813
43814 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
43815 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
43816 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
43817 fi
43818
43819 COND_TOOLKIT_MSW="#"
43820 if test "x$TOOLKIT" = "xMSW" ; then
43821 COND_TOOLKIT_MSW=""
43822 fi
43823
43824 COND_TOOLKIT_MSW_USE_GUI_1="#"
43825 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
43826 COND_TOOLKIT_MSW_USE_GUI_1=""
43827 fi
43828
43829 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
43830 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
43831 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
43832 fi
43833
43834 COND_TOOLKIT_PM="#"
43835 if test "x$TOOLKIT" = "xPM" ; then
43836 COND_TOOLKIT_PM=""
43837 fi
43838
43839 COND_TOOLKIT_PM_USE_GUI_1="#"
43840 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
43841 COND_TOOLKIT_PM_USE_GUI_1=""
43842 fi
43843
43844 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
43845 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
43846 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
43847 fi
43848
43849 COND_TOOLKIT_WINCE="#"
43850 if test "x$TOOLKIT" = "xWINCE" ; then
43851 COND_TOOLKIT_WINCE=""
43852 fi
43853
43854 COND_TOOLKIT_WINCE_USE_GUI_1="#"
43855 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
43856 COND_TOOLKIT_WINCE_USE_GUI_1=""
43857 fi
43858
43859 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
43860 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
43861 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
43862 fi
43863
43864 COND_TOOLKIT_X11="#"
43865 if test "x$TOOLKIT" = "xX11" ; then
43866 COND_TOOLKIT_X11=""
43867 fi
43868
43869 COND_TOOLKIT_X11_USE_GUI_1="#"
43870 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
43871 COND_TOOLKIT_X11_USE_GUI_1=""
43872 fi
43873
43874 COND_UNICODE_1="#"
43875 if test "x$UNICODE" = "x1" ; then
43876 COND_UNICODE_1=""
43877 fi
43878
43879 COND_USE_EXCEPTIONS_0="#"
43880 if test "x$USE_EXCEPTIONS" = "x0" ; then
43881 COND_USE_EXCEPTIONS_0=""
43882 fi
43883
43884 COND_USE_EXCEPTIONS_1="#"
43885 if test "x$USE_EXCEPTIONS" = "x1" ; then
43886 COND_USE_EXCEPTIONS_1=""
43887 fi
43888
43889 COND_USE_GUI_0="#"
43890 if test "x$USE_GUI" = "x0" ; then
43891 COND_USE_GUI_0=""
43892 fi
43893
43894 COND_USE_GUI_1="#"
43895 if test "x$USE_GUI" = "x1" ; then
43896 COND_USE_GUI_1=""
43897 fi
43898
43899 COND_USE_GUI_1_WXUNIV_0="#"
43900 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
43901 COND_USE_GUI_1_WXUNIV_0=""
43902 fi
43903
43904 COND_USE_GUI_1_WXUNIV_1="#"
43905 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
43906 COND_USE_GUI_1_WXUNIV_1=""
43907 fi
43908
43909 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
43910 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
43911 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
43912 fi
43913
43914 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
43915 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
43916 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
43917 fi
43918
43919 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
43920 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
43921 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
43922 fi
43923
43924 COND_USE_ODBC_1="#"
43925 if test "x$USE_ODBC" = "x1" ; then
43926 COND_USE_ODBC_1=""
43927 fi
43928
43929 COND_USE_OPENGL_1="#"
43930 if test "x$USE_OPENGL" = "x1" ; then
43931 COND_USE_OPENGL_1=""
43932 fi
43933
43934 COND_USE_PLUGINS_0="#"
43935 if test "x$USE_PLUGINS" = "x0" ; then
43936 COND_USE_PLUGINS_0=""
43937 fi
43938
43939 COND_USE_RTTI_0="#"
43940 if test "x$USE_RTTI" = "x0" ; then
43941 COND_USE_RTTI_0=""
43942 fi
43943
43944 COND_USE_RTTI_1="#"
43945 if test "x$USE_RTTI" = "x1" ; then
43946 COND_USE_RTTI_1=""
43947 fi
43948
43949 COND_USE_SOSYMLINKS_1="#"
43950 if test "x$USE_SOSYMLINKS" = "x1" ; then
43951 COND_USE_SOSYMLINKS_1=""
43952 fi
43953
43954 COND_USE_SOVERLINUX_1="#"
43955 if test "x$USE_SOVERLINUX" = "x1" ; then
43956 COND_USE_SOVERLINUX_1=""
43957 fi
43958
43959 COND_USE_SOVERSION_0="#"
43960 if test "x$USE_SOVERSION" = "x0" ; then
43961 COND_USE_SOVERSION_0=""
43962 fi
43963
43964 COND_USE_SOVERSOLARIS_1="#"
43965 if test "x$USE_SOVERSOLARIS" = "x1" ; then
43966 COND_USE_SOVERSOLARIS_1=""
43967 fi
43968
43969 COND_USE_THREADS_0="#"
43970 if test "x$USE_THREADS" = "x0" ; then
43971 COND_USE_THREADS_0=""
43972 fi
43973
43974 COND_USE_THREADS_1="#"
43975 if test "x$USE_THREADS" = "x1" ; then
43976 COND_USE_THREADS_1=""
43977 fi
43978
43979 COND_USE_XRC_1="#"
43980 if test "x$USE_XRC" = "x1" ; then
43981 COND_USE_XRC_1=""
43982 fi
43983
43984 COND_WITH_PLUGIN_SDL_1="#"
43985 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
43986 COND_WITH_PLUGIN_SDL_1=""
43987 fi
43988
43989 COND_WXUNIV_0="#"
43990 if test "x$WXUNIV" = "x0" ; then
43991 COND_WXUNIV_0=""
43992 fi
43993
43994 COND_WXUNIV_1="#"
43995 if test "x$WXUNIV" = "x1" ; then
43996 COND_WXUNIV_1=""
43997 fi
43998
43999 COND_WXUSE_EXPAT_BUILTIN="#"
44000 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
44001 COND_WXUSE_EXPAT_BUILTIN=""
44002 fi
44003
44004 COND_WXUSE_LIBJPEG_BUILTIN="#"
44005 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
44006 COND_WXUSE_LIBJPEG_BUILTIN=""
44007 fi
44008
44009 COND_WXUSE_LIBPNG_BUILTIN="#"
44010 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
44011 COND_WXUSE_LIBPNG_BUILTIN=""
44012 fi
44013
44014 COND_WXUSE_LIBTIFF_BUILTIN="#"
44015 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
44016 COND_WXUSE_LIBTIFF_BUILTIN=""
44017 fi
44018
44019 COND_WXUSE_ODBC_BUILTIN="#"
44020 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
44021 COND_WXUSE_ODBC_BUILTIN=""
44022 fi
44023
44024 COND_WXUSE_REGEX_BUILTIN="#"
44025 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
44026 COND_WXUSE_REGEX_BUILTIN=""
44027 fi
44028
44029 COND_WXUSE_ZLIB_BUILTIN="#"
44030 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
44031 COND_WXUSE_ZLIB_BUILTIN=""
44032 fi
44033
44034
44035
44036 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
44037 { { 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
44038 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;}
44039 { (exit 1); exit 1; }; }
44040 fi
44041
44042
44043 if test "$wxUSE_WINE" = "yes"; then
44044 RESCOMP=wrc
44045 fi
44046
44047 if test "$wxUSE_SHARED" = "yes"; then
44048
44049 sanitised_bakefile_mess=`echo "$SHARED_LD_CXX" | tr -d '()'`
44050 EXE_LINKER=`eval echo "$sanitised_bakefile_mess"`
44051
44052 case "${host}" in
44053 *-pc-os2_emx | *-pc-os2-emx )
44054 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
44055 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
44056 cp -p ${srcdir}/src/os2/dllnames.sh .
44057 cp -p ${srcdir}/src/os2/dllar.sh .
44058 ;;
44059 esac
44060 else
44061
44062 EXE_LINKER="$CXX -o"
44063
44064 fi
44065 if test "$wxUSE_OMF" = "yes"; then
44066 case "${host}" in
44067 *-pc-os2_emx | *-pc-os2-emx )
44068 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
44069 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
44070 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
44071 ;;
44072 esac
44073 fi
44074
44075 GCC_PRAGMA_FLAGS=""
44076 PCH_FLAGS=""
44077 if test $GCC_PCH = 1 ; then
44078 GCC_PRAGMA_FLAGS="-DNO_GCC_PRAGMA"
44079 PCH_FLAGS="-DWX_PRECOMP"
44080 else
44081 case "${host}" in
44082 powerpc-*-darwin* )
44083 GCC_PRAGMA_FLAGS="-DNO_GCC_PRAGMA"
44084 ;;
44085 *-*-mingw32* )
44086 if test "$wxUSE_STL" = "yes" -o \
44087 "$wxUSE_NO_EXCEPTIONS" != "yes" -o \
44088 "$wxUSE_NO_RTTI" != "yes"; then
44089 echo "$as_me:$LINENO: checking if this MinGW version needs -DNO_GCC_PRAGMA" >&5
44090 echo $ECHO_N "checking if this MinGW version needs -DNO_GCC_PRAGMA... $ECHO_C" >&6
44091 cat >conftest.$ac_ext <<_ACEOF
44092 /* confdefs.h. */
44093 _ACEOF
44094 cat confdefs.h >>conftest.$ac_ext
44095 cat >>conftest.$ac_ext <<_ACEOF
44096 /* end confdefs.h. */
44097
44098 int
44099 main ()
44100 {
44101 #if !(__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 2))
44102 #error "Not GCC 3.2 or greater"
44103 #endif
44104
44105 ;
44106 return 0;
44107 }
44108 _ACEOF
44109 rm -f conftest.$ac_objext
44110 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44111 (eval $ac_compile) 2>conftest.er1
44112 ac_status=$?
44113 grep -v '^ *+' conftest.er1 >conftest.err
44114 rm -f conftest.er1
44115 cat conftest.err >&5
44116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44117 (exit $ac_status); } &&
44118 { ac_try='test -z "$ac_c_werror_flag"
44119 || test ! -s conftest.err'
44120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44121 (eval $ac_try) 2>&5
44122 ac_status=$?
44123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44124 (exit $ac_status); }; } &&
44125 { ac_try='test -s conftest.$ac_objext'
44126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44127 (eval $ac_try) 2>&5
44128 ac_status=$?
44129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44130 (exit $ac_status); }; }; then
44131 GCC_PRAGMA_FLAGS="-DNO_GCC_PRAGMA"
44132 echo "$as_me:$LINENO: result: yes" >&5
44133 echo "${ECHO_T}yes" >&6
44134 else
44135 echo "$as_me: failed program was:" >&5
44136 sed 's/^/| /' conftest.$ac_ext >&5
44137
44138 echo "$as_me:$LINENO: result: no" >&5
44139 echo "${ECHO_T}no" >&6
44140 fi
44141 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44142 fi
44143 ;;
44144 *-pc-os2_emx | *-pc-os2-emx )
44145 if test "$wxUSE_STL" = "yes"; then
44146 echo "$as_me:$LINENO: checking if this gcc version needs -DNO_GCC_PRAGMA" >&5
44147 echo $ECHO_N "checking if this gcc version needs -DNO_GCC_PRAGMA... $ECHO_C" >&6
44148 cat >conftest.$ac_ext <<_ACEOF
44149 /* confdefs.h. */
44150 _ACEOF
44151 cat confdefs.h >>conftest.$ac_ext
44152 cat >>conftest.$ac_ext <<_ACEOF
44153 /* end confdefs.h. */
44154
44155 int
44156 main ()
44157 {
44158 #if !(__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 2))
44159 #error "Not GCC 3.2 or greater"
44160 #endif
44161
44162 ;
44163 return 0;
44164 }
44165 _ACEOF
44166 rm -f conftest.$ac_objext
44167 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44168 (eval $ac_compile) 2>conftest.er1
44169 ac_status=$?
44170 grep -v '^ *+' conftest.er1 >conftest.err
44171 rm -f conftest.er1
44172 cat conftest.err >&5
44173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44174 (exit $ac_status); } &&
44175 { ac_try='test -z "$ac_c_werror_flag"
44176 || test ! -s conftest.err'
44177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44178 (eval $ac_try) 2>&5
44179 ac_status=$?
44180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44181 (exit $ac_status); }; } &&
44182 { ac_try='test -s conftest.$ac_objext'
44183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44184 (eval $ac_try) 2>&5
44185 ac_status=$?
44186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44187 (exit $ac_status); }; }; then
44188 GCC_PRAGMA_FLAGS="-DNO_GCC_PRAGMA"
44189 echo "$as_me:$LINENO: result: yes" >&5
44190 echo "${ECHO_T}yes" >&6
44191 else
44192 echo "$as_me: failed program was:" >&5
44193 sed 's/^/| /' conftest.$ac_ext >&5
44194
44195 echo "$as_me:$LINENO: result: no" >&5
44196 echo "${ECHO_T}no" >&6
44197 fi
44198 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44199 fi
44200 ;;
44201 esac
44202 fi
44203 CPPFLAGS="$PCH_FLAGS $GCC_PRAGMA_FLAGS $CPPFLAGS"
44204
44205
44206 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
44207
44208
44209
44210
44211
44212
44213
44214
44215
44216
44217
44218
44219
44220
44221
44222
44223
44224
44225
44226
44227
44228
44229
44230
44231
44232
44233
44234
44235
44236
44237
44238
44239
44240
44241
44242
44243
44244
44245
44246
44247
44248
44249
44250
44251
44252
44253
44254
44255
44256
44257
44258
44259
44260
44261
44262
44263
44264
44265
44266
44267
44268
44269
44270 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
44271 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
44272 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
44273 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
44274 echo $ECHO_N "(cached) $ECHO_C" >&6
44275 else
44276 cat >conftest.make <<\_ACEOF
44277 all:
44278 @echo 'ac_maketemp="$(MAKE)"'
44279 _ACEOF
44280 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
44281 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
44282 if test -n "$ac_maketemp"; then
44283 eval ac_cv_prog_make_${ac_make}_set=yes
44284 else
44285 eval ac_cv_prog_make_${ac_make}_set=no
44286 fi
44287 rm -f conftest.make
44288 fi
44289 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
44290 echo "$as_me:$LINENO: result: yes" >&5
44291 echo "${ECHO_T}yes" >&6
44292 SET_MAKE=
44293 else
44294 echo "$as_me:$LINENO: result: no" >&5
44295 echo "${ECHO_T}no" >&6
44296 SET_MAKE="MAKE=${MAKE-make}"
44297 fi
44298
44299
44300
44301 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
44302
44303
44304 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
44305
44306
44307 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
44308
44309
44310 ac_config_files="$ac_config_files version-script Makefile"
44311
44312
44313 ac_config_commands="$ac_config_commands wx-config
44314 "
44315
44316
44317
44318
44319 if test "$wxUSE_GUI" = "yes"; then
44320 SUBDIRS="samples demos utils contrib"
44321 else SUBDIRS="samples utils"
44322 fi
44323
44324
44325
44326 # Check whether --with-cppunit-prefix or --without-cppunit-prefix was given.
44327 if test "${with_cppunit_prefix+set}" = set; then
44328 withval="$with_cppunit_prefix"
44329 cppunit_config_prefix="$withval"
44330 else
44331 cppunit_config_prefix=""
44332 fi;
44333
44334 # Check whether --with-cppunit-exec-prefix or --without-cppunit-exec-prefix was given.
44335 if test "${with_cppunit_exec_prefix+set}" = set; then
44336 withval="$with_cppunit_exec_prefix"
44337 cppunit_config_exec_prefix="$withval"
44338 else
44339 cppunit_config_exec_prefix=""
44340 fi;
44341
44342 if test x$cppunit_config_exec_prefix != x ; then
44343 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
44344 if test x${CPPUNIT_CONFIG+set} != xset ; then
44345 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
44346 fi
44347 fi
44348 if test x$cppunit_config_prefix != x ; then
44349 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
44350 if test x${CPPUNIT_CONFIG+set} != xset ; then
44351 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
44352 fi
44353 fi
44354
44355 # Extract the first word of "cppunit-config", so it can be a program name with args.
44356 set dummy cppunit-config; 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_path_CPPUNIT_CONFIG+set}" = set; then
44360 echo $ECHO_N "(cached) $ECHO_C" >&6
44361 else
44362 case $CPPUNIT_CONFIG in
44363 [\\/]* | ?:[\\/]*)
44364 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
44365 ;;
44366 *)
44367 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
44368 for as_dir in $PATH
44369 do
44370 IFS=$as_save_IFS
44371 test -z "$as_dir" && as_dir=.
44372 for ac_exec_ext in '' $ac_executable_extensions; do
44373 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
44374 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
44375 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44376 break 2
44377 fi
44378 done
44379 done
44380
44381 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
44382 ;;
44383 esac
44384 fi
44385 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
44386
44387 if test -n "$CPPUNIT_CONFIG"; then
44388 echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
44389 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6
44390 else
44391 echo "$as_me:$LINENO: result: no" >&5
44392 echo "${ECHO_T}no" >&6
44393 fi
44394
44395 cppunit_version_min=1.8.0
44396
44397 echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
44398 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6
44399 no_cppunit=""
44400 if test "$CPPUNIT_CONFIG" = "no" ; then
44401 no_cppunit=yes
44402 else
44403 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
44404 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
44405 cppunit_version=`$CPPUNIT_CONFIG --version`
44406
44407 cppunit_major_version=`echo $cppunit_version | \
44408 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
44409 cppunit_minor_version=`echo $cppunit_version | \
44410 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
44411 cppunit_micro_version=`echo $cppunit_version | \
44412 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
44413
44414 cppunit_major_min=`echo $cppunit_version_min | \
44415 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
44416 cppunit_minor_min=`echo $cppunit_version_min | \
44417 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
44418 cppunit_micro_min=`echo $cppunit_version_min | \
44419 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
44420
44421 cppunit_version_proper=`expr \
44422 $cppunit_major_version \> $cppunit_major_min \| \
44423 $cppunit_major_version \= $cppunit_major_min \& \
44424 $cppunit_minor_version \> $cppunit_minor_min \| \
44425 $cppunit_major_version \= $cppunit_major_min \& \
44426 $cppunit_minor_version \= $cppunit_minor_min \& \
44427 $cppunit_micro_version \>= $cppunit_micro_min `
44428
44429 if test "$cppunit_version_proper" = "1" ; then
44430 echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
44431 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6
44432 else
44433 echo "$as_me:$LINENO: result: no" >&5
44434 echo "${ECHO_T}no" >&6
44435 no_cppunit=yes
44436 fi
44437 fi
44438
44439 if test "x$no_cppunit" = x ; then
44440 SUBDIRS="$SUBDIRS tests"
44441 else
44442 CPPUNIT_CFLAGS=""
44443 CPPUNIT_LIBS=""
44444 :
44445 fi
44446
44447
44448
44449
44450
44451 for subdir in `echo $SUBDIRS`; do
44452 if test -d ${srcdir}/${subdir} ; then
44453 if test "$wxUSE_GUI" = "yes"; then
44454 if test ${subdir} = "samples"; then
44455 makefiles="samples/Makefile.in $makefiles"
44456 for sample in `echo $SAMPLES_SUBDIRS`; do
44457 if test -d $srcdir/samples/$sample; then
44458 makefiles="samples/$sample/Makefile.in $makefiles"
44459 fi
44460 done
44461 else
44462 disabled_var=DISABLED_`echo $subdir | tr [a-z] [A-Z]`;
44463 eval "disabled=\$$disabled_var"
44464 disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
44465 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | egrep -v "$disabled"`
44466 fi
44467 else if test ${subdir} = "samples"; then
44468 makefiles="samples/Makefile.in samples/console/Makefile.in"
44469 elif test ${subdir} = "utils"; then
44470 makefiles=""
44471 for util in HelpGen tex2rtf ; do
44472 if test -d $srcdir/utils/$util ; then
44473 makefiles="utils/$util/Makefile.in \
44474 utils/$util/src/Makefile.in \
44475 $makefiles"
44476 fi
44477 done
44478 else makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
44479 fi
44480 fi
44481
44482 for mkin in $makefiles ; do
44483 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
44484 ac_config_files="$ac_config_files $mk"
44485
44486 done
44487 fi
44488 done
44489
44490
44491 cat >confcache <<\_ACEOF
44492 # This file is a shell script that caches the results of configure
44493 # tests run on this system so they can be shared between configure
44494 # scripts and configure runs, see configure's option --config-cache.
44495 # It is not useful on other systems. If it contains results you don't
44496 # want to keep, you may remove or edit it.
44497 #
44498 # config.status only pays attention to the cache file if you give it
44499 # the --recheck option to rerun configure.
44500 #
44501 # `ac_cv_env_foo' variables (set or unset) will be overridden when
44502 # loading this file, other *unset* `ac_cv_foo' will be assigned the
44503 # following values.
44504
44505 _ACEOF
44506
44507 # The following way of writing the cache mishandles newlines in values,
44508 # but we know of no workaround that is simple, portable, and efficient.
44509 # So, don't put newlines in cache variables' values.
44510 # Ultrix sh set writes to stderr and can't be redirected directly,
44511 # and sets the high bit in the cache file unless we assign to the vars.
44512 {
44513 (set) 2>&1 |
44514 case `(ac_space=' '; set | grep ac_space) 2>&1` in
44515 *ac_space=\ *)
44516 # `set' does not quote correctly, so add quotes (double-quote
44517 # substitution turns \\\\ into \\, and sed turns \\ into \).
44518 sed -n \
44519 "s/'/'\\\\''/g;
44520 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
44521 ;;
44522 *)
44523 # `set' quotes correctly as required by POSIX, so do not add quotes.
44524 sed -n \
44525 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
44526 ;;
44527 esac;
44528 } |
44529 sed '
44530 t clear
44531 : clear
44532 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
44533 t end
44534 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
44535 : end' >>confcache
44536 if diff $cache_file confcache >/dev/null 2>&1; then :; else
44537 if test -w $cache_file; then
44538 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
44539 cat confcache >$cache_file
44540 else
44541 echo "not updating unwritable cache $cache_file"
44542 fi
44543 fi
44544 rm -f confcache
44545
44546 test "x$prefix" = xNONE && prefix=$ac_default_prefix
44547 # Let make expand exec_prefix.
44548 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
44549
44550 # VPATH may cause trouble with some makes, so we remove $(srcdir),
44551 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
44552 # trailing colons and then remove the whole line if VPATH becomes empty
44553 # (actually we leave an empty line to preserve line numbers).
44554 if test "x$srcdir" = x.; then
44555 ac_vpsub='/^[ ]*VPATH[ ]*=/{
44556 s/:*\$(srcdir):*/:/;
44557 s/:*\${srcdir}:*/:/;
44558 s/:*@srcdir@:*/:/;
44559 s/^\([^=]*=[ ]*\):*/\1/;
44560 s/:*$//;
44561 s/^[^=]*=[ ]*$//;
44562 }'
44563 fi
44564
44565 DEFS=-DHAVE_CONFIG_H
44566
44567 ac_libobjs=
44568 ac_ltlibobjs=
44569 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
44570 # 1. Remove the extension, and $U if already installed.
44571 ac_i=`echo "$ac_i" |
44572 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
44573 # 2. Add them.
44574 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
44575 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
44576 done
44577 LIBOBJS=$ac_libobjs
44578
44579 LTLIBOBJS=$ac_ltlibobjs
44580
44581
44582
44583 : ${CONFIG_STATUS=./config.status}
44584 ac_clean_files_save=$ac_clean_files
44585 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
44586 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
44587 echo "$as_me: creating $CONFIG_STATUS" >&6;}
44588 cat >$CONFIG_STATUS <<_ACEOF
44589 #! $SHELL
44590 # Generated by $as_me.
44591 # Run this file to recreate the current configuration.
44592 # Compiler output produced by configure, useful for debugging
44593 # configure, is in config.log if it exists.
44594
44595 debug=false
44596 ac_cs_recheck=false
44597 ac_cs_silent=false
44598 SHELL=\${CONFIG_SHELL-$SHELL}
44599 _ACEOF
44600
44601 cat >>$CONFIG_STATUS <<\_ACEOF
44602 ## --------------------- ##
44603 ## M4sh Initialization. ##
44604 ## --------------------- ##
44605
44606 # Be Bourne compatible
44607 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
44608 emulate sh
44609 NULLCMD=:
44610 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
44611 # is contrary to our usage. Disable this feature.
44612 alias -g '${1+"$@"}'='"$@"'
44613 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
44614 set -o posix
44615 fi
44616 DUALCASE=1; export DUALCASE # for MKS sh
44617
44618 # Support unset when possible.
44619 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
44620 as_unset=unset
44621 else
44622 as_unset=false
44623 fi
44624
44625
44626 # Work around bugs in pre-3.0 UWIN ksh.
44627 $as_unset ENV MAIL MAILPATH
44628 PS1='$ '
44629 PS2='> '
44630 PS4='+ '
44631
44632 # NLS nuisances.
44633 for as_var in \
44634 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
44635 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
44636 LC_TELEPHONE LC_TIME
44637 do
44638 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
44639 eval $as_var=C; export $as_var
44640 else
44641 $as_unset $as_var
44642 fi
44643 done
44644
44645 # Required to use basename.
44646 if expr a : '\(a\)' >/dev/null 2>&1; then
44647 as_expr=expr
44648 else
44649 as_expr=false
44650 fi
44651
44652 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
44653 as_basename=basename
44654 else
44655 as_basename=false
44656 fi
44657
44658
44659 # Name of the executable.
44660 as_me=`$as_basename "$0" ||
44661 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
44662 X"$0" : 'X\(//\)$' \| \
44663 X"$0" : 'X\(/\)$' \| \
44664 . : '\(.\)' 2>/dev/null ||
44665 echo X/"$0" |
44666 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
44667 /^X\/\(\/\/\)$/{ s//\1/; q; }
44668 /^X\/\(\/\).*/{ s//\1/; q; }
44669 s/.*/./; q'`
44670
44671
44672 # PATH needs CR, and LINENO needs CR and PATH.
44673 # Avoid depending upon Character Ranges.
44674 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
44675 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
44676 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
44677 as_cr_digits='0123456789'
44678 as_cr_alnum=$as_cr_Letters$as_cr_digits
44679
44680 # The user is always right.
44681 if test "${PATH_SEPARATOR+set}" != set; then
44682 echo "#! /bin/sh" >conf$$.sh
44683 echo "exit 0" >>conf$$.sh
44684 chmod +x conf$$.sh
44685 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
44686 PATH_SEPARATOR=';'
44687 else
44688 PATH_SEPARATOR=:
44689 fi
44690 rm -f conf$$.sh
44691 fi
44692
44693
44694 as_lineno_1=$LINENO
44695 as_lineno_2=$LINENO
44696 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
44697 test "x$as_lineno_1" != "x$as_lineno_2" &&
44698 test "x$as_lineno_3" = "x$as_lineno_2" || {
44699 # Find who we are. Look in the path if we contain no path at all
44700 # relative or not.
44701 case $0 in
44702 *[\\/]* ) as_myself=$0 ;;
44703 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
44704 for as_dir in $PATH
44705 do
44706 IFS=$as_save_IFS
44707 test -z "$as_dir" && as_dir=.
44708 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
44709 done
44710
44711 ;;
44712 esac
44713 # We did not find ourselves, most probably we were run as `sh COMMAND'
44714 # in which case we are not to be found in the path.
44715 if test "x$as_myself" = x; then
44716 as_myself=$0
44717 fi
44718 if test ! -f "$as_myself"; then
44719 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
44720 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
44721 { (exit 1); exit 1; }; }
44722 fi
44723 case $CONFIG_SHELL in
44724 '')
44725 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
44726 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
44727 do
44728 IFS=$as_save_IFS
44729 test -z "$as_dir" && as_dir=.
44730 for as_base in sh bash ksh sh5; do
44731 case $as_dir in
44732 /*)
44733 if ("$as_dir/$as_base" -c '
44734 as_lineno_1=$LINENO
44735 as_lineno_2=$LINENO
44736 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
44737 test "x$as_lineno_1" != "x$as_lineno_2" &&
44738 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
44739 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
44740 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
44741 CONFIG_SHELL=$as_dir/$as_base
44742 export CONFIG_SHELL
44743 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
44744 fi;;
44745 esac
44746 done
44747 done
44748 ;;
44749 esac
44750
44751 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
44752 # uniformly replaced by the line number. The first 'sed' inserts a
44753 # line-number line before each line; the second 'sed' does the real
44754 # work. The second script uses 'N' to pair each line-number line
44755 # with the numbered line, and appends trailing '-' during
44756 # substitution so that $LINENO is not a special case at line end.
44757 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
44758 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
44759 sed '=' <$as_myself |
44760 sed '
44761 N
44762 s,$,-,
44763 : loop
44764 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
44765 t loop
44766 s,-$,,
44767 s,^['$as_cr_digits']*\n,,
44768 ' >$as_me.lineno &&
44769 chmod +x $as_me.lineno ||
44770 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
44771 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
44772 { (exit 1); exit 1; }; }
44773
44774 # Don't try to exec as it changes $[0], causing all sort of problems
44775 # (the dirname of $[0] is not the place where we might find the
44776 # original and so on. Autoconf is especially sensible to this).
44777 . ./$as_me.lineno
44778 # Exit status is that of the last command.
44779 exit
44780 }
44781
44782
44783 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
44784 *c*,-n*) ECHO_N= ECHO_C='
44785 ' ECHO_T=' ' ;;
44786 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
44787 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
44788 esac
44789
44790 if expr a : '\(a\)' >/dev/null 2>&1; then
44791 as_expr=expr
44792 else
44793 as_expr=false
44794 fi
44795
44796 rm -f conf$$ conf$$.exe conf$$.file
44797 echo >conf$$.file
44798 if ln -s conf$$.file conf$$ 2>/dev/null; then
44799 # We could just check for DJGPP; but this test a) works b) is more generic
44800 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
44801 if test -f conf$$.exe; then
44802 # Don't use ln at all; we don't have any links
44803 as_ln_s='cp -p'
44804 else
44805 as_ln_s='ln -s'
44806 fi
44807 elif ln conf$$.file conf$$ 2>/dev/null; then
44808 as_ln_s=ln
44809 else
44810 as_ln_s='cp -p'
44811 fi
44812 rm -f conf$$ conf$$.exe conf$$.file
44813
44814 if mkdir -p . 2>/dev/null; then
44815 as_mkdir_p=:
44816 else
44817 test -d ./-p && rmdir ./-p
44818 as_mkdir_p=false
44819 fi
44820
44821 as_executable_p="test -f"
44822
44823 # Sed expression to map a string onto a valid CPP name.
44824 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
44825
44826 # Sed expression to map a string onto a valid variable name.
44827 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
44828
44829
44830 # IFS
44831 # We need space, tab and new line, in precisely that order.
44832 as_nl='
44833 '
44834 IFS=" $as_nl"
44835
44836 # CDPATH.
44837 $as_unset CDPATH
44838
44839 exec 6>&1
44840
44841 # Open the log real soon, to keep \$[0] and so on meaningful, and to
44842 # report actual input values of CONFIG_FILES etc. instead of their
44843 # values after options handling. Logging --version etc. is OK.
44844 exec 5>>config.log
44845 {
44846 echo
44847 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
44848 ## Running $as_me. ##
44849 _ASBOX
44850 } >&5
44851 cat >&5 <<_CSEOF
44852
44853 This file was extended by wxWidgets $as_me 2.6.1, which was
44854 generated by GNU Autoconf 2.59. Invocation command line was
44855
44856 CONFIG_FILES = $CONFIG_FILES
44857 CONFIG_HEADERS = $CONFIG_HEADERS
44858 CONFIG_LINKS = $CONFIG_LINKS
44859 CONFIG_COMMANDS = $CONFIG_COMMANDS
44860 $ $0 $@
44861
44862 _CSEOF
44863 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
44864 echo >&5
44865 _ACEOF
44866
44867 # Files that config.status was made for.
44868 if test -n "$ac_config_files"; then
44869 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
44870 fi
44871
44872 if test -n "$ac_config_headers"; then
44873 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
44874 fi
44875
44876 if test -n "$ac_config_links"; then
44877 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
44878 fi
44879
44880 if test -n "$ac_config_commands"; then
44881 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
44882 fi
44883
44884 cat >>$CONFIG_STATUS <<\_ACEOF
44885
44886 ac_cs_usage="\
44887 \`$as_me' instantiates files from templates according to the
44888 current configuration.
44889
44890 Usage: $0 [OPTIONS] [FILE]...
44891
44892 -h, --help print this help, then exit
44893 -V, --version print version number, then exit
44894 -q, --quiet do not print progress messages
44895 -d, --debug don't remove temporary files
44896 --recheck update $as_me by reconfiguring in the same conditions
44897 --file=FILE[:TEMPLATE]
44898 instantiate the configuration file FILE
44899 --header=FILE[:TEMPLATE]
44900 instantiate the configuration header FILE
44901
44902 Configuration files:
44903 $config_files
44904
44905 Configuration headers:
44906 $config_headers
44907
44908 Configuration commands:
44909 $config_commands
44910
44911 Report bugs to <bug-autoconf@gnu.org>."
44912 _ACEOF
44913
44914 cat >>$CONFIG_STATUS <<_ACEOF
44915 ac_cs_version="\\
44916 wxWidgets config.status 2.6.1
44917 configured by $0, generated by GNU Autoconf 2.59,
44918 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
44919
44920 Copyright (C) 2003 Free Software Foundation, Inc.
44921 This config.status script is free software; the Free Software Foundation
44922 gives unlimited permission to copy, distribute and modify it."
44923 srcdir=$srcdir
44924 INSTALL="$INSTALL"
44925 _ACEOF
44926
44927 cat >>$CONFIG_STATUS <<\_ACEOF
44928 # If no file are specified by the user, then we need to provide default
44929 # value. By we need to know if files were specified by the user.
44930 ac_need_defaults=:
44931 while test $# != 0
44932 do
44933 case $1 in
44934 --*=*)
44935 ac_option=`expr "x$1" : 'x\([^=]*\)='`
44936 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
44937 ac_shift=:
44938 ;;
44939 -*)
44940 ac_option=$1
44941 ac_optarg=$2
44942 ac_shift=shift
44943 ;;
44944 *) # This is not an option, so the user has probably given explicit
44945 # arguments.
44946 ac_option=$1
44947 ac_need_defaults=false;;
44948 esac
44949
44950 case $ac_option in
44951 # Handling of the options.
44952 _ACEOF
44953 cat >>$CONFIG_STATUS <<\_ACEOF
44954 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
44955 ac_cs_recheck=: ;;
44956 --version | --vers* | -V )
44957 echo "$ac_cs_version"; exit 0 ;;
44958 --he | --h)
44959 # Conflict between --help and --header
44960 { { echo "$as_me:$LINENO: error: ambiguous option: $1
44961 Try \`$0 --help' for more information." >&5
44962 echo "$as_me: error: ambiguous option: $1
44963 Try \`$0 --help' for more information." >&2;}
44964 { (exit 1); exit 1; }; };;
44965 --help | --hel | -h )
44966 echo "$ac_cs_usage"; exit 0 ;;
44967 --debug | --d* | -d )
44968 debug=: ;;
44969 --file | --fil | --fi | --f )
44970 $ac_shift
44971 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
44972 ac_need_defaults=false;;
44973 --header | --heade | --head | --hea )
44974 $ac_shift
44975 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
44976 ac_need_defaults=false;;
44977 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
44978 | -silent | --silent | --silen | --sile | --sil | --si | --s)
44979 ac_cs_silent=: ;;
44980
44981 # This is an error.
44982 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
44983 Try \`$0 --help' for more information." >&5
44984 echo "$as_me: error: unrecognized option: $1
44985 Try \`$0 --help' for more information." >&2;}
44986 { (exit 1); exit 1; }; } ;;
44987
44988 *) ac_config_targets="$ac_config_targets $1" ;;
44989
44990 esac
44991 shift
44992 done
44993
44994 ac_configure_extra_args=
44995
44996 if $ac_cs_silent; then
44997 exec 6>/dev/null
44998 ac_configure_extra_args="$ac_configure_extra_args --silent"
44999 fi
45000
45001 _ACEOF
45002 cat >>$CONFIG_STATUS <<_ACEOF
45003 if \$ac_cs_recheck; then
45004 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
45005 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
45006 fi
45007
45008 _ACEOF
45009
45010 cat >>$CONFIG_STATUS <<_ACEOF
45011 #
45012 # INIT-COMMANDS section.
45013 #
45014
45015 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
45016 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
45017 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
45018 LN_S="${LN_S}"
45019
45020
45021 _ACEOF
45022
45023
45024
45025 cat >>$CONFIG_STATUS <<\_ACEOF
45026 for ac_config_target in $ac_config_targets
45027 do
45028 case "$ac_config_target" in
45029 # Handling of arguments.
45030 "lib/wx/config/${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
45031 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
45032 "version-script" ) CONFIG_FILES="$CONFIG_FILES version-script" ;;
45033 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
45034 "$mk" ) CONFIG_FILES="$CONFIG_FILES $mk" ;;
45035 "wx-config" ) CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
45036 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h" ) CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
45037 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
45038 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
45039 { (exit 1); exit 1; }; };;
45040 esac
45041 done
45042
45043 # If the user did not use the arguments to specify the items to instantiate,
45044 # then the envvar interface is used. Set only those that are not.
45045 # We use the long form for the default assignment because of an extremely
45046 # bizarre bug on SunOS 4.1.3.
45047 if $ac_need_defaults; then
45048 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
45049 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
45050 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
45051 fi
45052
45053 # Have a temporary directory for convenience. Make it in the build tree
45054 # simply because there is no reason to put it here, and in addition,
45055 # creating and moving files from /tmp can sometimes cause problems.
45056 # Create a temporary directory, and hook for its removal unless debugging.
45057 $debug ||
45058 {
45059 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
45060 trap '{ (exit 1); exit 1; }' 1 2 13 15
45061 }
45062
45063 # Create a (secure) tmp directory for tmp files.
45064
45065 {
45066 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
45067 test -n "$tmp" && test -d "$tmp"
45068 } ||
45069 {
45070 tmp=./confstat$$-$RANDOM
45071 (umask 077 && mkdir $tmp)
45072 } ||
45073 {
45074 echo "$me: cannot create a temporary directory in ." >&2
45075 { (exit 1); exit 1; }
45076 }
45077
45078 _ACEOF
45079
45080 cat >>$CONFIG_STATUS <<_ACEOF
45081
45082 #
45083 # CONFIG_FILES section.
45084 #
45085
45086 # No need to generate the scripts if there are no CONFIG_FILES.
45087 # This happens for instance when ./config.status config.h
45088 if test -n "\$CONFIG_FILES"; then
45089 # Protect against being on the right side of a sed subst in config.status.
45090 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
45091 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
45092 s,@SHELL@,$SHELL,;t t
45093 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
45094 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
45095 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
45096 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
45097 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
45098 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
45099 s,@exec_prefix@,$exec_prefix,;t t
45100 s,@prefix@,$prefix,;t t
45101 s,@program_transform_name@,$program_transform_name,;t t
45102 s,@bindir@,$bindir,;t t
45103 s,@sbindir@,$sbindir,;t t
45104 s,@libexecdir@,$libexecdir,;t t
45105 s,@datadir@,$datadir,;t t
45106 s,@sysconfdir@,$sysconfdir,;t t
45107 s,@sharedstatedir@,$sharedstatedir,;t t
45108 s,@localstatedir@,$localstatedir,;t t
45109 s,@libdir@,$libdir,;t t
45110 s,@includedir@,$includedir,;t t
45111 s,@oldincludedir@,$oldincludedir,;t t
45112 s,@infodir@,$infodir,;t t
45113 s,@mandir@,$mandir,;t t
45114 s,@build_alias@,$build_alias,;t t
45115 s,@host_alias@,$host_alias,;t t
45116 s,@target_alias@,$target_alias,;t t
45117 s,@DEFS@,$DEFS,;t t
45118 s,@ECHO_C@,$ECHO_C,;t t
45119 s,@ECHO_N@,$ECHO_N,;t t
45120 s,@ECHO_T@,$ECHO_T,;t t
45121 s,@LIBS@,$LIBS,;t t
45122 s,@build@,$build,;t t
45123 s,@build_cpu@,$build_cpu,;t t
45124 s,@build_vendor@,$build_vendor,;t t
45125 s,@build_os@,$build_os,;t t
45126 s,@host@,$host,;t t
45127 s,@host_cpu@,$host_cpu,;t t
45128 s,@host_vendor@,$host_vendor,;t t
45129 s,@host_os@,$host_os,;t t
45130 s,@target@,$target,;t t
45131 s,@target_cpu@,$target_cpu,;t t
45132 s,@target_vendor@,$target_vendor,;t t
45133 s,@target_os@,$target_os,;t t
45134 s,@CC@,$CC,;t t
45135 s,@CFLAGS@,$CFLAGS,;t t
45136 s,@LDFLAGS@,$LDFLAGS,;t t
45137 s,@CPPFLAGS@,$CPPFLAGS,;t t
45138 s,@ac_ct_CC@,$ac_ct_CC,;t t
45139 s,@EXEEXT@,$EXEEXT,;t t
45140 s,@OBJEXT@,$OBJEXT,;t t
45141 s,@CPP@,$CPP,;t t
45142 s,@EGREP@,$EGREP,;t t
45143 s,@CXX@,$CXX,;t t
45144 s,@CXXFLAGS@,$CXXFLAGS,;t t
45145 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
45146 s,@RANLIB@,$RANLIB,;t t
45147 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
45148 s,@AR@,$AR,;t t
45149 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
45150 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
45151 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
45152 s,@STRIP@,$STRIP,;t t
45153 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
45154 s,@LN_S@,$LN_S,;t t
45155 s,@CXXCPP@,$CXXCPP,;t t
45156 s,@subdirs@,$subdirs,;t t
45157 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
45158 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
45159 s,@GTK_LIBS@,$GTK_LIBS,;t t
45160 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
45161 s,@X_CFLAGS@,$X_CFLAGS,;t t
45162 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
45163 s,@X_LIBS@,$X_LIBS,;t t
45164 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
45165 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
45166 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
45167 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
45168 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
45169 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
45170 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
45171 s,@RESCOMP@,$RESCOMP,;t t
45172 s,@DEREZ@,$DEREZ,;t t
45173 s,@SETFILE@,$SETFILE,;t t
45174 s,@LIBICONV@,$LIBICONV,;t t
45175 s,@EXTRALIBS_ESD@,$EXTRALIBS_ESD,;t t
45176 s,@SDL_CONFIG@,$SDL_CONFIG,;t t
45177 s,@SDL_CFLAGS@,$SDL_CFLAGS,;t t
45178 s,@SDL_LIBS@,$SDL_LIBS,;t t
45179 s,@LIBGNOMEPRINTUI_CFLAGS@,$LIBGNOMEPRINTUI_CFLAGS,;t t
45180 s,@LIBGNOMEPRINTUI_LIBS@,$LIBGNOMEPRINTUI_LIBS,;t t
45181 s,@GSTREAMER_CFLAGS@,$GSTREAMER_CFLAGS,;t t
45182 s,@GSTREAMER_LIBS@,$GSTREAMER_LIBS,;t t
45183 s,@GST_INSPECT@,$GST_INSPECT,;t t
45184 s,@CORE_BASE_LIBS@,$CORE_BASE_LIBS,;t t
45185 s,@CORE_GUI_LIBS@,$CORE_GUI_LIBS,;t t
45186 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
45187 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
45188 s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
45189 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
45190 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
45191 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
45192 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
45193 s,@VENDOR@,$VENDOR,;t t
45194 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
45195 s,@WX_FLAVOUR@,$WX_FLAVOUR,;t t
45196 s,@WX_LIB_FLAVOUR@,$WX_LIB_FLAVOUR,;t t
45197 s,@WXUNIV@,$WXUNIV,;t t
45198 s,@MONOLITHIC@,$MONOLITHIC,;t t
45199 s,@USE_PLUGINS@,$USE_PLUGINS,;t t
45200 s,@EXTRALIBS@,$EXTRALIBS,;t t
45201 s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
45202 s,@EXTRALIBS_HTML@,$EXTRALIBS_HTML,;t t
45203 s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
45204 s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
45205 s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
45206 s,@EXTRALIBS_SDL@,$EXTRALIBS_SDL,;t t
45207 s,@WITH_PLUGIN_SDL@,$WITH_PLUGIN_SDL,;t t
45208 s,@EXTRALIBS_GNOMEPRINT@,$EXTRALIBS_GNOMEPRINT,;t t
45209 s,@UNICODE@,$UNICODE,;t t
45210 s,@BUILD@,$BUILD,;t t
45211 s,@DEBUG_INFO@,$DEBUG_INFO,;t t
45212 s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
45213 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
45214 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
45215 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
45216 s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
45217 s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
45218 s,@CPPUNIT_CFLAGS@,$CPPUNIT_CFLAGS,;t t
45219 s,@CPPUNIT_LIBS@,$CPPUNIT_LIBS,;t t
45220 s,@SET_MAKE@,$SET_MAKE,;t t
45221 s,@MAKE_SET@,$MAKE_SET,;t t
45222 s,@ac_ct_AR@,$ac_ct_AR,;t t
45223 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
45224 s,@NM@,$NM,;t t
45225 s,@ac_ct_NM@,$ac_ct_NM,;t t
45226 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
45227 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
45228 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
45229 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
45230 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
45231 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
45232 s,@PLATFORM_MACOS@,$PLATFORM_MACOS,;t t
45233 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
45234 s,@PLATFORM_OS2@,$PLATFORM_OS2,;t t
45235 s,@PLATFORM_BEOS@,$PLATFORM_BEOS,;t t
45236 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
45237 s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
45238 s,@DLLIMP_SUFFIX@,$DLLIMP_SUFFIX,;t t
45239 s,@LIBPREFIX@,$LIBPREFIX,;t t
45240 s,@LIBEXT@,$LIBEXT,;t t
45241 s,@DLLPREFIX@,$DLLPREFIX,;t t
45242 s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
45243 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
45244 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
45245 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
45246 s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
45247 s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
45248 s,@PIC_FLAG@,$PIC_FLAG,;t t
45249 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
45250 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
45251 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
45252 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
45253 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
45254 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
45255 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
45256 s,@GCC_PCH@,$GCC_PCH,;t t
45257 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
45258 s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
45259 s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
45260 s,@COND_BUILD_DEBUG_UNICODE_0@,$COND_BUILD_DEBUG_UNICODE_0,;t t
45261 s,@COND_BUILD_DEBUG_UNICODE_1@,$COND_BUILD_DEBUG_UNICODE_1,;t t
45262 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
45263 s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
45264 s,@COND_BUILD_RELEASE_UNICODE_0@,$COND_BUILD_RELEASE_UNICODE_0,;t t
45265 s,@COND_BUILD_RELEASE_UNICODE_1@,$COND_BUILD_RELEASE_UNICODE_1,;t t
45266 s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
45267 s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
45268 s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
45269 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
45270 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
45271 s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
45272 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
45273 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
45274 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
45275 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
45276 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
45277 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
45278 s,@COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1,;t t
45279 s,@COND_MONOLITHIC_0_SHARED_0_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1,;t t
45280 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
45281 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
45282 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
45283 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
45284 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
45285 s,@COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1,;t t
45286 s,@COND_MONOLITHIC_0_SHARED_1_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1,;t t
45287 s,@COND_MONOLITHIC_0_USE_ODBC_1@,$COND_MONOLITHIC_0_USE_ODBC_1,;t t
45288 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
45289 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
45290 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
45291 s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
45292 s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
45293 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
45294 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
45295 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_@,$COND_PLATFORM_MACOSX_1_TOOLKIT_,;t t
45296 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
45297 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
45298 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
45299 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1,;t t
45300 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
45301 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF,;t t
45302 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_X11@,$COND_PLATFORM_MACOSX_1_TOOLKIT_X11,;t t
45303 s,@COND_PLATFORM_MACOSX_1_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_USE_GUI_1,;t t
45304 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
45305 s,@COND_PLATFORM_MACOS_1@,$COND_PLATFORM_MACOS_1,;t t
45306 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
45307 s,@COND_PLATFORM_MSDOS_1@,$COND_PLATFORM_MSDOS_1,;t t
45308 s,@COND_PLATFORM_OS2_1@,$COND_PLATFORM_OS2_1,;t t
45309 s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
45310 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
45311 s,@COND_PLATFORM_UNIX_1_USE_GUI_1@,$COND_PLATFORM_UNIX_1_USE_GUI_1,;t t
45312 s,@COND_PLATFORM_UNIX_1_USE_PLUGINS_0@,$COND_PLATFORM_UNIX_1_USE_PLUGINS_0,;t t
45313 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
45314 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
45315 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
45316 s,@COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0,;t t
45317 s,@COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0,;t t
45318 s,@COND_SHARED_0_TOOLKIT_PM_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0,;t t
45319 s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
45320 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
45321 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
45322 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
45323 s,@COND_SHARED_0_USE_XRC_1@,$COND_SHARED_0_USE_XRC_1,;t t
45324 s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
45325 s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
45326 s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
45327 s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
45328 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
45329 s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
45330 s,@COND_SHARED_1_USE_XRC_1@,$COND_SHARED_1_USE_XRC_1,;t t
45331 s,@COND_TOOLKIT_@,$COND_TOOLKIT_,;t t
45332 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
45333 s,@COND_TOOLKIT_COCOA_USE_GUI_1@,$COND_TOOLKIT_COCOA_USE_GUI_1,;t t
45334 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
45335 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
45336 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
45337 s,@COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0,;t t
45338 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
45339 s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
45340 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
45341 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
45342 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
45343 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
45344 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
45345 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
45346 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
45347 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
45348 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
45349 s,@COND_TOOLKIT_PM@,$COND_TOOLKIT_PM,;t t
45350 s,@COND_TOOLKIT_PM_USE_GUI_1@,$COND_TOOLKIT_PM_USE_GUI_1,;t t
45351 s,@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0,;t t
45352 s,@COND_TOOLKIT_WINCE@,$COND_TOOLKIT_WINCE,;t t
45353 s,@COND_TOOLKIT_WINCE_USE_GUI_1@,$COND_TOOLKIT_WINCE_USE_GUI_1,;t t
45354 s,@COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0,;t t
45355 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
45356 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
45357 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
45358 s,@COND_USE_EXCEPTIONS_0@,$COND_USE_EXCEPTIONS_0,;t t
45359 s,@COND_USE_EXCEPTIONS_1@,$COND_USE_EXCEPTIONS_1,;t t
45360 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
45361 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
45362 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
45363 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
45364 s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
45365 s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
45366 s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
45367 s,@COND_USE_ODBC_1@,$COND_USE_ODBC_1,;t t
45368 s,@COND_USE_OPENGL_1@,$COND_USE_OPENGL_1,;t t
45369 s,@COND_USE_PLUGINS_0@,$COND_USE_PLUGINS_0,;t t
45370 s,@COND_USE_RTTI_0@,$COND_USE_RTTI_0,;t t
45371 s,@COND_USE_RTTI_1@,$COND_USE_RTTI_1,;t t
45372 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
45373 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
45374 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
45375 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
45376 s,@COND_USE_THREADS_0@,$COND_USE_THREADS_0,;t t
45377 s,@COND_USE_THREADS_1@,$COND_USE_THREADS_1,;t t
45378 s,@COND_USE_XRC_1@,$COND_USE_XRC_1,;t t
45379 s,@COND_WITH_PLUGIN_SDL_1@,$COND_WITH_PLUGIN_SDL_1,;t t
45380 s,@COND_WXUNIV_0@,$COND_WXUNIV_0,;t t
45381 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
45382 s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
45383 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
45384 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
45385 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
45386 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
45387 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
45388 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
45389 s,@SHARED@,$SHARED,;t t
45390 s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
45391 s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
45392 s,@WXDEBUG_DEFINE@,$WXDEBUG_DEFINE,;t t
45393 s,@USE_GUI@,$USE_GUI,;t t
45394 s,@AFMINSTALL@,$AFMINSTALL,;t t
45395 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
45396 s,@TOOLKIT@,$TOOLKIT,;t t
45397 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
45398 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
45399 s,@TOOLCHAIN_FULLNAME@,$TOOLCHAIN_FULLNAME,;t t
45400 s,@TOOLCHAIN_DEFS@,$TOOLCHAIN_DEFS,;t t
45401 s,@TOOLCHAIN_DLL_DEFS@,$TOOLCHAIN_DLL_DEFS,;t t
45402 s,@cross_compiling@,$cross_compiling,;t t
45403 s,@WIDGET_SET@,$WIDGET_SET,;t t
45404 s,@WX_RELEASE@,$WX_RELEASE,;t t
45405 s,@WX_VERSION@,$WX_VERSION,;t t
45406 s,@WX_SUBVERSION@,$WX_SUBVERSION,;t t
45407 s,@WX_CHARTYPE@,$WX_CHARTYPE,;t t
45408 s,@WX_DEBUGTYPE@,$WX_DEBUGTYPE,;t t
45409 s,@WXCONFIG_EXTRALIBS@,$WXCONFIG_EXTRALIBS,;t t
45410 s,@WXCONFIG_INCLUDE@,$WXCONFIG_INCLUDE,;t t
45411 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
45412 s,@WXCONFIG_LDFLAGS_GUI@,$WXCONFIG_LDFLAGS_GUI,;t t
45413 s,@WX_LARGEFILE_FLAGS@,$WX_LARGEFILE_FLAGS,;t t
45414 s,@GCC_PRAGMA_FLAGS@,$GCC_PRAGMA_FLAGS,;t t
45415 s,@CODE_GEN_FLAGS@,$CODE_GEN_FLAGS,;t t
45416 s,@CODE_GEN_FLAGS_CXX@,$CODE_GEN_FLAGS_CXX,;t t
45417 s,@EXE_LINKER@,$EXE_LINKER,;t t
45418 s,@GUIDIST@,$GUIDIST,;t t
45419 s,@DISTDIR@,$DISTDIR,;t t
45420 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
45421 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
45422 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
45423 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
45424 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
45425 s,@RESFLAGS@,$RESFLAGS,;t t
45426 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
45427 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
45428 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
45429 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
45430 s,@MACRESCOMP@,$MACRESCOMP,;t t
45431 s,@MACSETFILE@,$MACSETFILE,;t t
45432 s,@MACRESWXCONFIG@,$MACRESWXCONFIG,;t t
45433 s,@GCC@,$GCC,;t t
45434 s,@DLLTOOL@,$DLLTOOL,;t t
45435 s,@CPPUNIT_CONFIG@,$CPPUNIT_CONFIG,;t t
45436 s,@LIBOBJS@,$LIBOBJS,;t t
45437 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
45438 CEOF
45439
45440 _ACEOF
45441
45442 cat >>$CONFIG_STATUS <<\_ACEOF
45443 # Split the substitutions into bite-sized pieces for seds with
45444 # small command number limits, like on Digital OSF/1 and HP-UX.
45445 ac_max_sed_lines=48
45446 ac_sed_frag=1 # Number of current file.
45447 ac_beg=1 # First line for current file.
45448 ac_end=$ac_max_sed_lines # Line after last line for current file.
45449 ac_more_lines=:
45450 ac_sed_cmds=
45451 while $ac_more_lines; do
45452 if test $ac_beg -gt 1; then
45453 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
45454 else
45455 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
45456 fi
45457 if test ! -s $tmp/subs.frag; then
45458 ac_more_lines=false
45459 else
45460 # The purpose of the label and of the branching condition is to
45461 # speed up the sed processing (if there are no `@' at all, there
45462 # is no need to browse any of the substitutions).
45463 # These are the two extra sed commands mentioned above.
45464 (echo ':t
45465 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
45466 if test -z "$ac_sed_cmds"; then
45467 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
45468 else
45469 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
45470 fi
45471 ac_sed_frag=`expr $ac_sed_frag + 1`
45472 ac_beg=$ac_end
45473 ac_end=`expr $ac_end + $ac_max_sed_lines`
45474 fi
45475 done
45476 if test -z "$ac_sed_cmds"; then
45477 ac_sed_cmds=cat
45478 fi
45479 fi # test -n "$CONFIG_FILES"
45480
45481 _ACEOF
45482 cat >>$CONFIG_STATUS <<\_ACEOF
45483 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
45484 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
45485 case $ac_file in
45486 - | *:- | *:-:* ) # input from stdin
45487 cat >$tmp/stdin
45488 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
45489 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
45490 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
45491 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
45492 * ) ac_file_in=$ac_file.in ;;
45493 esac
45494
45495 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
45496 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
45497 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
45498 X"$ac_file" : 'X\(//\)[^/]' \| \
45499 X"$ac_file" : 'X\(//\)$' \| \
45500 X"$ac_file" : 'X\(/\)' \| \
45501 . : '\(.\)' 2>/dev/null ||
45502 echo X"$ac_file" |
45503 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
45504 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
45505 /^X\(\/\/\)$/{ s//\1/; q; }
45506 /^X\(\/\).*/{ s//\1/; q; }
45507 s/.*/./; q'`
45508 { if $as_mkdir_p; then
45509 mkdir -p "$ac_dir"
45510 else
45511 as_dir="$ac_dir"
45512 as_dirs=
45513 while test ! -d "$as_dir"; do
45514 as_dirs="$as_dir $as_dirs"
45515 as_dir=`(dirname "$as_dir") 2>/dev/null ||
45516 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
45517 X"$as_dir" : 'X\(//\)[^/]' \| \
45518 X"$as_dir" : 'X\(//\)$' \| \
45519 X"$as_dir" : 'X\(/\)' \| \
45520 . : '\(.\)' 2>/dev/null ||
45521 echo X"$as_dir" |
45522 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
45523 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
45524 /^X\(\/\/\)$/{ s//\1/; q; }
45525 /^X\(\/\).*/{ s//\1/; q; }
45526 s/.*/./; q'`
45527 done
45528 test ! -n "$as_dirs" || mkdir $as_dirs
45529 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
45530 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
45531 { (exit 1); exit 1; }; }; }
45532
45533 ac_builddir=.
45534
45535 if test "$ac_dir" != .; then
45536 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
45537 # A "../" for each directory in $ac_dir_suffix.
45538 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
45539 else
45540 ac_dir_suffix= ac_top_builddir=
45541 fi
45542
45543 case $srcdir in
45544 .) # No --srcdir option. We are building in place.
45545 ac_srcdir=.
45546 if test -z "$ac_top_builddir"; then
45547 ac_top_srcdir=.
45548 else
45549 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
45550 fi ;;
45551 [\\/]* | ?:[\\/]* ) # Absolute path.
45552 ac_srcdir=$srcdir$ac_dir_suffix;
45553 ac_top_srcdir=$srcdir ;;
45554 *) # Relative path.
45555 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
45556 ac_top_srcdir=$ac_top_builddir$srcdir ;;
45557 esac
45558
45559 # Do not use `cd foo && pwd` to compute absolute paths, because
45560 # the directories may not exist.
45561 case `pwd` in
45562 .) ac_abs_builddir="$ac_dir";;
45563 *)
45564 case "$ac_dir" in
45565 .) ac_abs_builddir=`pwd`;;
45566 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
45567 *) ac_abs_builddir=`pwd`/"$ac_dir";;
45568 esac;;
45569 esac
45570 case $ac_abs_builddir in
45571 .) ac_abs_top_builddir=${ac_top_builddir}.;;
45572 *)
45573 case ${ac_top_builddir}. in
45574 .) ac_abs_top_builddir=$ac_abs_builddir;;
45575 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
45576 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
45577 esac;;
45578 esac
45579 case $ac_abs_builddir in
45580 .) ac_abs_srcdir=$ac_srcdir;;
45581 *)
45582 case $ac_srcdir in
45583 .) ac_abs_srcdir=$ac_abs_builddir;;
45584 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
45585 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
45586 esac;;
45587 esac
45588 case $ac_abs_builddir in
45589 .) ac_abs_top_srcdir=$ac_top_srcdir;;
45590 *)
45591 case $ac_top_srcdir in
45592 .) ac_abs_top_srcdir=$ac_abs_builddir;;
45593 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
45594 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
45595 esac;;
45596 esac
45597
45598
45599 case $INSTALL in
45600 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
45601 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
45602 esac
45603
45604 if test x"$ac_file" != x-; then
45605 { echo "$as_me:$LINENO: creating $ac_file" >&5
45606 echo "$as_me: creating $ac_file" >&6;}
45607 rm -f "$ac_file"
45608 fi
45609 # Let's still pretend it is `configure' which instantiates (i.e., don't
45610 # use $as_me), people would be surprised to read:
45611 # /* config.h. Generated by config.status. */
45612 if test x"$ac_file" = x-; then
45613 configure_input=
45614 else
45615 configure_input="$ac_file. "
45616 fi
45617 configure_input=$configure_input"Generated from `echo $ac_file_in |
45618 sed 's,.*/,,'` by configure."
45619
45620 # First look for the input files in the build tree, otherwise in the
45621 # src tree.
45622 ac_file_inputs=`IFS=:
45623 for f in $ac_file_in; do
45624 case $f in
45625 -) echo $tmp/stdin ;;
45626 [\\/$]*)
45627 # Absolute (can't be DOS-style, as IFS=:)
45628 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
45629 echo "$as_me: error: cannot find input file: $f" >&2;}
45630 { (exit 1); exit 1; }; }
45631 echo "$f";;
45632 *) # Relative
45633 if test -f "$f"; then
45634 # Build tree
45635 echo "$f"
45636 elif test -f "$srcdir/$f"; then
45637 # Source tree
45638 echo "$srcdir/$f"
45639 else
45640 # /dev/null tree
45641 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
45642 echo "$as_me: error: cannot find input file: $f" >&2;}
45643 { (exit 1); exit 1; }; }
45644 fi;;
45645 esac
45646 done` || { (exit 1); exit 1; }
45647 _ACEOF
45648 cat >>$CONFIG_STATUS <<_ACEOF
45649 sed "$ac_vpsub
45650 $extrasub
45651 _ACEOF
45652 cat >>$CONFIG_STATUS <<\_ACEOF
45653 :t
45654 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
45655 s,@configure_input@,$configure_input,;t t
45656 s,@srcdir@,$ac_srcdir,;t t
45657 s,@abs_srcdir@,$ac_abs_srcdir,;t t
45658 s,@top_srcdir@,$ac_top_srcdir,;t t
45659 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
45660 s,@builddir@,$ac_builddir,;t t
45661 s,@abs_builddir@,$ac_abs_builddir,;t t
45662 s,@top_builddir@,$ac_top_builddir,;t t
45663 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
45664 s,@INSTALL@,$ac_INSTALL,;t t
45665 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
45666 rm -f $tmp/stdin
45667 if test x"$ac_file" != x-; then
45668 mv $tmp/out $ac_file
45669 else
45670 cat $tmp/out
45671 rm -f $tmp/out
45672 fi
45673
45674 # Run the commands associated with the file.
45675 case $ac_file in
45676 lib/wx/config/${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
45677 lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
45678 esac
45679 done
45680 _ACEOF
45681 cat >>$CONFIG_STATUS <<\_ACEOF
45682
45683 #
45684 # CONFIG_HEADER section.
45685 #
45686
45687 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
45688 # NAME is the cpp macro being defined and VALUE is the value it is being given.
45689 #
45690 # ac_d sets the value in "#define NAME VALUE" lines.
45691 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
45692 ac_dB='[ ].*$,\1#\2'
45693 ac_dC=' '
45694 ac_dD=',;t'
45695 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
45696 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
45697 ac_uB='$,\1#\2define\3'
45698 ac_uC=' '
45699 ac_uD=',;t'
45700
45701 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
45702 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
45703 case $ac_file in
45704 - | *:- | *:-:* ) # input from stdin
45705 cat >$tmp/stdin
45706 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
45707 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
45708 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
45709 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
45710 * ) ac_file_in=$ac_file.in ;;
45711 esac
45712
45713 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
45714 echo "$as_me: creating $ac_file" >&6;}
45715
45716 # First look for the input files in the build tree, otherwise in the
45717 # src tree.
45718 ac_file_inputs=`IFS=:
45719 for f in $ac_file_in; do
45720 case $f in
45721 -) echo $tmp/stdin ;;
45722 [\\/$]*)
45723 # Absolute (can't be DOS-style, as IFS=:)
45724 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
45725 echo "$as_me: error: cannot find input file: $f" >&2;}
45726 { (exit 1); exit 1; }; }
45727 # Do quote $f, to prevent DOS paths from being IFS'd.
45728 echo "$f";;
45729 *) # Relative
45730 if test -f "$f"; then
45731 # Build tree
45732 echo "$f"
45733 elif test -f "$srcdir/$f"; then
45734 # Source tree
45735 echo "$srcdir/$f"
45736 else
45737 # /dev/null tree
45738 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
45739 echo "$as_me: error: cannot find input file: $f" >&2;}
45740 { (exit 1); exit 1; }; }
45741 fi;;
45742 esac
45743 done` || { (exit 1); exit 1; }
45744 # Remove the trailing spaces.
45745 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
45746
45747 _ACEOF
45748
45749 # Transform confdefs.h into two sed scripts, `conftest.defines' and
45750 # `conftest.undefs', that substitutes the proper values into
45751 # config.h.in to produce config.h. The first handles `#define'
45752 # templates, and the second `#undef' templates.
45753 # And first: Protect against being on the right side of a sed subst in
45754 # config.status. Protect against being in an unquoted here document
45755 # in config.status.
45756 rm -f conftest.defines conftest.undefs
45757 # Using a here document instead of a string reduces the quoting nightmare.
45758 # Putting comments in sed scripts is not portable.
45759 #
45760 # `end' is used to avoid that the second main sed command (meant for
45761 # 0-ary CPP macros) applies to n-ary macro definitions.
45762 # See the Autoconf documentation for `clear'.
45763 cat >confdef2sed.sed <<\_ACEOF
45764 s/[\\&,]/\\&/g
45765 s,[\\$`],\\&,g
45766 t clear
45767 : clear
45768 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
45769 t end
45770 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
45771 : end
45772 _ACEOF
45773 # If some macros were called several times there might be several times
45774 # the same #defines, which is useless. Nevertheless, we may not want to
45775 # sort them, since we want the *last* AC-DEFINE to be honored.
45776 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
45777 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
45778 rm -f confdef2sed.sed
45779
45780 # This sed command replaces #undef with comments. This is necessary, for
45781 # example, in the case of _POSIX_SOURCE, which is predefined and required
45782 # on some systems where configure will not decide to define it.
45783 cat >>conftest.undefs <<\_ACEOF
45784 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
45785 _ACEOF
45786
45787 # Break up conftest.defines because some shells have a limit on the size
45788 # of here documents, and old seds have small limits too (100 cmds).
45789 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
45790 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
45791 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
45792 echo ' :' >>$CONFIG_STATUS
45793 rm -f conftest.tail
45794 while grep . conftest.defines >/dev/null
45795 do
45796 # Write a limited-size here document to $tmp/defines.sed.
45797 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
45798 # Speed up: don't consider the non `#define' lines.
45799 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
45800 # Work around the forget-to-reset-the-flag bug.
45801 echo 't clr' >>$CONFIG_STATUS
45802 echo ': clr' >>$CONFIG_STATUS
45803 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
45804 echo 'CEOF
45805 sed -f $tmp/defines.sed $tmp/in >$tmp/out
45806 rm -f $tmp/in
45807 mv $tmp/out $tmp/in
45808 ' >>$CONFIG_STATUS
45809 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
45810 rm -f conftest.defines
45811 mv conftest.tail conftest.defines
45812 done
45813 rm -f conftest.defines
45814 echo ' fi # grep' >>$CONFIG_STATUS
45815 echo >>$CONFIG_STATUS
45816
45817 # Break up conftest.undefs because some shells have a limit on the size
45818 # of here documents, and old seds have small limits too (100 cmds).
45819 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
45820 rm -f conftest.tail
45821 while grep . conftest.undefs >/dev/null
45822 do
45823 # Write a limited-size here document to $tmp/undefs.sed.
45824 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
45825 # Speed up: don't consider the non `#undef'
45826 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
45827 # Work around the forget-to-reset-the-flag bug.
45828 echo 't clr' >>$CONFIG_STATUS
45829 echo ': clr' >>$CONFIG_STATUS
45830 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
45831 echo 'CEOF
45832 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
45833 rm -f $tmp/in
45834 mv $tmp/out $tmp/in
45835 ' >>$CONFIG_STATUS
45836 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
45837 rm -f conftest.undefs
45838 mv conftest.tail conftest.undefs
45839 done
45840 rm -f conftest.undefs
45841
45842 cat >>$CONFIG_STATUS <<\_ACEOF
45843 # Let's still pretend it is `configure' which instantiates (i.e., don't
45844 # use $as_me), people would be surprised to read:
45845 # /* config.h. Generated by config.status. */
45846 if test x"$ac_file" = x-; then
45847 echo "/* Generated by configure. */" >$tmp/config.h
45848 else
45849 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
45850 fi
45851 cat $tmp/in >>$tmp/config.h
45852 rm -f $tmp/in
45853 if test x"$ac_file" != x-; then
45854 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
45855 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
45856 echo "$as_me: $ac_file is unchanged" >&6;}
45857 else
45858 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
45859 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
45860 X"$ac_file" : 'X\(//\)[^/]' \| \
45861 X"$ac_file" : 'X\(//\)$' \| \
45862 X"$ac_file" : 'X\(/\)' \| \
45863 . : '\(.\)' 2>/dev/null ||
45864 echo X"$ac_file" |
45865 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
45866 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
45867 /^X\(\/\/\)$/{ s//\1/; q; }
45868 /^X\(\/\).*/{ s//\1/; q; }
45869 s/.*/./; q'`
45870 { if $as_mkdir_p; then
45871 mkdir -p "$ac_dir"
45872 else
45873 as_dir="$ac_dir"
45874 as_dirs=
45875 while test ! -d "$as_dir"; do
45876 as_dirs="$as_dir $as_dirs"
45877 as_dir=`(dirname "$as_dir") 2>/dev/null ||
45878 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
45879 X"$as_dir" : 'X\(//\)[^/]' \| \
45880 X"$as_dir" : 'X\(//\)$' \| \
45881 X"$as_dir" : 'X\(/\)' \| \
45882 . : '\(.\)' 2>/dev/null ||
45883 echo X"$as_dir" |
45884 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
45885 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
45886 /^X\(\/\/\)$/{ s//\1/; q; }
45887 /^X\(\/\).*/{ s//\1/; q; }
45888 s/.*/./; q'`
45889 done
45890 test ! -n "$as_dirs" || mkdir $as_dirs
45891 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
45892 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
45893 { (exit 1); exit 1; }; }; }
45894
45895 rm -f $ac_file
45896 mv $tmp/config.h $ac_file
45897 fi
45898 else
45899 cat $tmp/config.h
45900 rm -f $tmp/config.h
45901 fi
45902 done
45903 _ACEOF
45904 cat >>$CONFIG_STATUS <<\_ACEOF
45905
45906 #
45907 # CONFIG_COMMANDS section.
45908 #
45909 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
45910 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
45911 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
45912 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
45913 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
45914 X"$ac_dest" : 'X\(//\)[^/]' \| \
45915 X"$ac_dest" : 'X\(//\)$' \| \
45916 X"$ac_dest" : 'X\(/\)' \| \
45917 . : '\(.\)' 2>/dev/null ||
45918 echo X"$ac_dest" |
45919 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
45920 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
45921 /^X\(\/\/\)$/{ s//\1/; q; }
45922 /^X\(\/\).*/{ s//\1/; q; }
45923 s/.*/./; q'`
45924 { if $as_mkdir_p; then
45925 mkdir -p "$ac_dir"
45926 else
45927 as_dir="$ac_dir"
45928 as_dirs=
45929 while test ! -d "$as_dir"; do
45930 as_dirs="$as_dir $as_dirs"
45931 as_dir=`(dirname "$as_dir") 2>/dev/null ||
45932 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
45933 X"$as_dir" : 'X\(//\)[^/]' \| \
45934 X"$as_dir" : 'X\(//\)$' \| \
45935 X"$as_dir" : 'X\(/\)' \| \
45936 . : '\(.\)' 2>/dev/null ||
45937 echo X"$as_dir" |
45938 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
45939 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
45940 /^X\(\/\/\)$/{ s//\1/; q; }
45941 /^X\(\/\).*/{ s//\1/; q; }
45942 s/.*/./; q'`
45943 done
45944 test ! -n "$as_dirs" || mkdir $as_dirs
45945 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
45946 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
45947 { (exit 1); exit 1; }; }; }
45948
45949 ac_builddir=.
45950
45951 if test "$ac_dir" != .; then
45952 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
45953 # A "../" for each directory in $ac_dir_suffix.
45954 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
45955 else
45956 ac_dir_suffix= ac_top_builddir=
45957 fi
45958
45959 case $srcdir in
45960 .) # No --srcdir option. We are building in place.
45961 ac_srcdir=.
45962 if test -z "$ac_top_builddir"; then
45963 ac_top_srcdir=.
45964 else
45965 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
45966 fi ;;
45967 [\\/]* | ?:[\\/]* ) # Absolute path.
45968 ac_srcdir=$srcdir$ac_dir_suffix;
45969 ac_top_srcdir=$srcdir ;;
45970 *) # Relative path.
45971 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
45972 ac_top_srcdir=$ac_top_builddir$srcdir ;;
45973 esac
45974
45975 # Do not use `cd foo && pwd` to compute absolute paths, because
45976 # the directories may not exist.
45977 case `pwd` in
45978 .) ac_abs_builddir="$ac_dir";;
45979 *)
45980 case "$ac_dir" in
45981 .) ac_abs_builddir=`pwd`;;
45982 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
45983 *) ac_abs_builddir=`pwd`/"$ac_dir";;
45984 esac;;
45985 esac
45986 case $ac_abs_builddir in
45987 .) ac_abs_top_builddir=${ac_top_builddir}.;;
45988 *)
45989 case ${ac_top_builddir}. in
45990 .) ac_abs_top_builddir=$ac_abs_builddir;;
45991 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
45992 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
45993 esac;;
45994 esac
45995 case $ac_abs_builddir in
45996 .) ac_abs_srcdir=$ac_srcdir;;
45997 *)
45998 case $ac_srcdir in
45999 .) ac_abs_srcdir=$ac_abs_builddir;;
46000 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
46001 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
46002 esac;;
46003 esac
46004 case $ac_abs_builddir in
46005 .) ac_abs_top_srcdir=$ac_top_srcdir;;
46006 *)
46007 case $ac_top_srcdir in
46008 .) ac_abs_top_srcdir=$ac_abs_builddir;;
46009 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
46010 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
46011 esac;;
46012 esac
46013
46014
46015 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
46016 echo "$as_me: executing $ac_dest commands" >&6;}
46017 case $ac_dest in
46018 wx-config ) rm -f wx-config
46019 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
46020 ;;
46021 esac
46022 done
46023 _ACEOF
46024
46025 cat >>$CONFIG_STATUS <<\_ACEOF
46026
46027 { (exit 0); exit 0; }
46028 _ACEOF
46029 chmod +x $CONFIG_STATUS
46030 ac_clean_files=$ac_clean_files_save
46031
46032
46033 # configure is writing to config.log, and then calls config.status.
46034 # config.status does its own redirection, appending to config.log.
46035 # Unfortunately, on DOS this fails, as config.log is still kept open
46036 # by configure, so config.status won't be able to write to it; its
46037 # output is simply discarded. So we exec the FD to /dev/null,
46038 # effectively closing config.log, so it can be properly (re)opened and
46039 # appended to by config.status. When coming back to configure, we
46040 # need to make the FD available again.
46041 if test "$no_create" != yes; then
46042 ac_cs_success=:
46043 ac_config_status_args=
46044 test "$silent" = yes &&
46045 ac_config_status_args="$ac_config_status_args --quiet"
46046 exec 5>/dev/null
46047 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
46048 exec 5>>config.log
46049 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
46050 # would make configure fail if this is the last instruction.
46051 $ac_cs_success || { (exit 1); exit 1; }
46052 fi
46053
46054 #
46055 # CONFIG_SUBDIRS section.
46056 #
46057 if test "$no_recursion" != yes; then
46058
46059 # Remove --cache-file and --srcdir arguments so they do not pile up.
46060 ac_sub_configure_args=
46061 ac_prev=
46062 for ac_arg in $ac_configure_args; do
46063 if test -n "$ac_prev"; then
46064 ac_prev=
46065 continue
46066 fi
46067 case $ac_arg in
46068 -cache-file | --cache-file | --cache-fil | --cache-fi \
46069 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
46070 ac_prev=cache_file ;;
46071 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
46072 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
46073 | --c=*)
46074 ;;
46075 --config-cache | -C)
46076 ;;
46077 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
46078 ac_prev=srcdir ;;
46079 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
46080 ;;
46081 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
46082 ac_prev=prefix ;;
46083 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
46084 ;;
46085 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
46086 esac
46087 done
46088
46089 # Always prepend --prefix to ensure using the same prefix
46090 # in subdir configurations.
46091 ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args"
46092
46093 ac_popdir=`pwd`
46094 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
46095
46096 # Do not complain, so a configure script can configure whichever
46097 # parts of a large source tree are present.
46098 test -d $srcdir/$ac_dir || continue
46099
46100 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
46101 echo "$as_me: configuring in $ac_dir" >&6;}
46102 { if $as_mkdir_p; then
46103 mkdir -p "$ac_dir"
46104 else
46105 as_dir="$ac_dir"
46106 as_dirs=
46107 while test ! -d "$as_dir"; do
46108 as_dirs="$as_dir $as_dirs"
46109 as_dir=`(dirname "$as_dir") 2>/dev/null ||
46110 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
46111 X"$as_dir" : 'X\(//\)[^/]' \| \
46112 X"$as_dir" : 'X\(//\)$' \| \
46113 X"$as_dir" : 'X\(/\)' \| \
46114 . : '\(.\)' 2>/dev/null ||
46115 echo X"$as_dir" |
46116 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
46117 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
46118 /^X\(\/\/\)$/{ s//\1/; q; }
46119 /^X\(\/\).*/{ s//\1/; q; }
46120 s/.*/./; q'`
46121 done
46122 test ! -n "$as_dirs" || mkdir $as_dirs
46123 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
46124 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
46125 { (exit 1); exit 1; }; }; }
46126
46127 ac_builddir=.
46128
46129 if test "$ac_dir" != .; then
46130 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
46131 # A "../" for each directory in $ac_dir_suffix.
46132 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
46133 else
46134 ac_dir_suffix= ac_top_builddir=
46135 fi
46136
46137 case $srcdir in
46138 .) # No --srcdir option. We are building in place.
46139 ac_srcdir=.
46140 if test -z "$ac_top_builddir"; then
46141 ac_top_srcdir=.
46142 else
46143 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
46144 fi ;;
46145 [\\/]* | ?:[\\/]* ) # Absolute path.
46146 ac_srcdir=$srcdir$ac_dir_suffix;
46147 ac_top_srcdir=$srcdir ;;
46148 *) # Relative path.
46149 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
46150 ac_top_srcdir=$ac_top_builddir$srcdir ;;
46151 esac
46152
46153 # Do not use `cd foo && pwd` to compute absolute paths, because
46154 # the directories may not exist.
46155 case `pwd` in
46156 .) ac_abs_builddir="$ac_dir";;
46157 *)
46158 case "$ac_dir" in
46159 .) ac_abs_builddir=`pwd`;;
46160 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
46161 *) ac_abs_builddir=`pwd`/"$ac_dir";;
46162 esac;;
46163 esac
46164 case $ac_abs_builddir in
46165 .) ac_abs_top_builddir=${ac_top_builddir}.;;
46166 *)
46167 case ${ac_top_builddir}. in
46168 .) ac_abs_top_builddir=$ac_abs_builddir;;
46169 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
46170 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
46171 esac;;
46172 esac
46173 case $ac_abs_builddir in
46174 .) ac_abs_srcdir=$ac_srcdir;;
46175 *)
46176 case $ac_srcdir in
46177 .) ac_abs_srcdir=$ac_abs_builddir;;
46178 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
46179 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
46180 esac;;
46181 esac
46182 case $ac_abs_builddir in
46183 .) ac_abs_top_srcdir=$ac_top_srcdir;;
46184 *)
46185 case $ac_top_srcdir in
46186 .) ac_abs_top_srcdir=$ac_abs_builddir;;
46187 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
46188 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
46189 esac;;
46190 esac
46191
46192
46193 cd $ac_dir
46194
46195 # Check for guested configure; otherwise get Cygnus style configure.
46196 if test -f $ac_srcdir/configure.gnu; then
46197 ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'"
46198 elif test -f $ac_srcdir/configure; then
46199 ac_sub_configure="$SHELL '$ac_srcdir/configure'"
46200 elif test -f $ac_srcdir/configure.in; then
46201 ac_sub_configure=$ac_configure
46202 else
46203 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
46204 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
46205 ac_sub_configure=
46206 fi
46207
46208 # The recursion is here.
46209 if test -n "$ac_sub_configure"; then
46210 # Make the cache file name correct relative to the subdirectory.
46211 case $cache_file in
46212 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
46213 *) # Relative path.
46214 ac_sub_cache_file=$ac_top_builddir$cache_file ;;
46215 esac
46216
46217 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
46218 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
46219 # The eval makes quoting arguments work.
46220 eval $ac_sub_configure $ac_sub_configure_args \
46221 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
46222 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
46223 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
46224 { (exit 1); exit 1; }; }
46225 fi
46226
46227 cd $ac_popdir
46228 done
46229 fi
46230
46231
46232 echo
46233 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
46234 echo ""
46235 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_USER:-base only}"
46236 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
46237
46238 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
46239 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
46240 echo " Should wxWidgets be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
46241
46242 echo " What level of wxWidgets compatibility should be enabled?"
46243 echo " wxWidgets 2.2 ${WXWIN_COMPATIBILITY_2_2:-no}"
46244 echo " wxWidgets 2.4 ${WXWIN_COMPATIBILITY_2_4:-yes}"
46245
46246 echo " Which libraries should wxWidgets use?"
46247 echo " jpeg ${wxUSE_LIBJPEG-none}"
46248 echo " png ${wxUSE_LIBPNG-none}"
46249 echo " regex ${wxUSE_REGEX}"
46250 echo " tiff ${wxUSE_LIBTIFF-none}"
46251 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
46252 echo " xpm ${wxUSE_LIBXPM-none}"
46253 fi
46254 echo " zlib ${wxUSE_ZLIB}"
46255 echo " odbc ${wxUSE_ODBC}"
46256 echo " expat ${wxUSE_EXPAT}"
46257 echo " libmspack ${wxUSE_LIBMSPACK}"
46258 echo " sdl ${wxUSE_LIBSDL}"
46259 echo " gnomeprint ${wxUSE_LIBGNOMEPRINT-none}"
46260
46261 echo ""
46262