]> git.saurik.com Git - wxWidgets.git/blob - configure
patch [ 1077074 ] Unit test for large file support
[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.5.3.
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.5.3'
274 PACKAGE_STRING='wxWidgets 2.5.3'
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 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_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_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_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_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_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_SOSYMLINKS_1 COND_USE_SOVERLINUX_1 COND_USE_SOVERSION_0 COND_USE_SOVERSOLARIS_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.5.3 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.5.3:";;
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-catch_segvs catch signals in wxApp::OnFatalException (Unix only)
907 --enable-backtrace use wxStackWalker class for getting backtraces
908 --enable-cmdline use wxCmdLineParser class
909 --enable-datetime use wxDateTime class
910 --enable-dialupman use dialup network classes
911 --enable-dynlib use wxLibrary class for DLL loading
912 --enable-dynamicloader use (new) wxDynamicLibrary class
913 --enable-exceptions build exception-safe library
914 --enable-ffile use wxFFile class
915 --enable-file use wxFile class
916 --enable-filesystem use virtual file systems classes
917 --enable-fontmap use font encodings conversion classes
918 --enable-fs_inet use virtual HTTP/FTP filesystems
919 --enable-fs_zip use virtual ZIP filesystems
920 --enable-geometry use geometry class
921 --enable-log use logging system
922 --enable-longlong use wxLongLong class
923 --enable-mimetype use wxMimeTypesManager
924 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
925 --enable-snglinst use wxSingleInstanceChecker class
926 --enable-streams use wxStream etc classes
927 --enable-std_iostreams use standard C++ stream classes
928 --enable-stopwatch use wxStopWatch class
929 --enable-sysoptions use wxSystemOptions
930 --enable-textbuf use wxTextBuffer class
931 --enable-textfile use wxTextFile class
932 --enable-timer use wxTimer class
933 --enable-unicode compile wxString with Unicode support
934 --enable-sound use wxSound class
935 --enable-mediactrl use wxMediaCtrl class
936 --enable-wxprintfv use wxWidgets implementation of vprintf()
937 --enable-zipstream use wxZipInputStream
938 --enable-url use wxURL class
939 --enable-protocol use wxProtocol class
940 --enable-protocol-http HTTP support in wxProtocol
941 --enable-protocol-ftp FTP support in wxProtocol
942 --enable-protocol-file FILE support in wxProtocol
943 --enable-threads use threads
944 --enable-docview use document view architecture
945 --enable-help use help subsystem
946 --enable-mshtmlhelp use MS HTML Help (win32)
947 --enable-html use wxHTML sub-library
948 --enable-htmlhelp use wxHTML-based help
949 --enable-xrc use XRC resources sub-library
950 --enable-constraints use layout-constraints system
951 --enable-printarch use printing architecture
952 --enable-mdi use multiple document interface architecture
953 --enable-mdidoc use docview architecture with MDI
954 --enable-loggui use standard GUI logger
955 --enable-logwin use wxLogWindow
956 --enable-logdialog use wxLogDialog
957 --enable-webkit use wxWebKitCtrl (Mac)
958 --enable-postscript use wxPostscriptDC device context (default for gtk+)
959 --enable-prologio not available; see contrib
960 --enable-resources not available; see contrib
961 --enable-clipboard use wxClipboard class
962 --enable-dnd use Drag'n'Drop classes
963 --enable-metafile use win32 metafiles
964 --enable-controls use all usual controls
965 --enable-accel use accelerators
966 --enable-button use wxButton class
967 --enable-bmpbutton use wxBitmapButton class
968 --enable-calendar use wxCalendarCtrl class
969 --enable-caret use wxCaret class
970 --enable-checkbox use wxCheckBox class
971 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
972 --enable-choice use wxChoice class
973 --enable-choicebook use wxChoicebook class
974 --enable-combobox use wxComboBox class
975 --enable-datepick use wxDatePickerCtrl class
976 --enable-display use wxDisplay class
977 --enable-gauge use wxGauge class
978 --enable-grid use wxGrid class
979 --enable-imaglist use wxImageList class
980 --enable-listbook use wxListbook class
981 --enable-listbox use wxListBox class
982 --enable-listctrl use wxListCtrl class
983 --enable-notebook use wxNotebook class
984 --enable-radiobox use wxRadioBox class
985 --enable-radiobtn use wxRadioButton class
986 --enable-sash use wxSashWindow class
987 --enable-scrollbar use wxScrollBar class and scrollable windows
988 --enable-slider use wxSlider class
989 --enable-spinbtn use wxSpinButton class
990 --enable-spinctrl use wxSpinCtrl class
991 --enable-splitter use wxSplitterWindow class
992 --enable-statbmp use wxStaticBitmap class
993 --enable-statbox use wxStaticBox class
994 --enable-statline use wxStaticLine class
995 --enable-stattext use wxStaticText class
996 --enable-statusbar use wxStatusBar class
997 --enable-tabdialog use wxTabControl class
998 --enable-textctrl use wxTextCtrl class
999 --enable-togglebtn use wxToggleButton class
1000 --enable-toolbar use wxToolBar class
1001 --enable-tbarnative use native wxToolBar class
1002 --enable-tbarsmpl use wxToolBarSimple class
1003 --enable-treectrl use wxTreeCtrl class
1004 --enable-tipwindow use wxTipWindow class
1005 --enable-popupwin use wxPopUpWindow class
1006 --enable-commondlg use all common dialogs
1007 --enable-choicedlg use wxChoiceDialog
1008 --enable-coldlg use wxColourDialog
1009 --enable-filedlg use wxFileDialog
1010 --enable-finddlg use wxFindReplaceDialog
1011 --enable-fontdlg use wxFontDialog
1012 --enable-dirdlg use wxDirDialog
1013 --enable-msgdlg use wxMessageDialog
1014 --enable-numberdlg use wxNumberEntryDialog
1015 --enable-splash use wxSplashScreen
1016 --enable-textdlg use wxTextDialog
1017 --enable-tipdlg use startup tips
1018 --enable-progressdlg use wxProgressDialog
1019 --enable-wizarddlg use wxWizard
1020 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1021 --enable-miniframe use wxMiniFrame class
1022 --enable-tooltips use wxToolTip class
1023 --enable-splines use spline drawing code
1024 --enable-validators use wxValidator and derived classes
1025 --enable-busyinfo use wxBusyInfo
1026 --enable-joystick use wxJoystick (Linux only)
1027 --enable-metafiles use wxMetaFile (Windows only)
1028 --enable-dragimage use wxDragImage
1029 --enable-accessibility enable accessibility support
1030 --enable-palette use wxPalette class
1031 --enable-image use wxImage class
1032 --enable-gif use gif images (GIF file format)
1033 --enable-pcx use pcx images (PCX file format)
1034 --enable-iff use iff images (IFF file format)
1035 --enable-pnm use pnm images (PNM file format)
1036 --enable-xpm use xpm images (XPM file format)
1037 --enable-icocur use Windows ICO and CUR formats
1038 --enable-official_build official build of wxWidgets (win32 DLL only)
1039 --enable-vendor=VENDOR vendor name (win32 DLL only)
1040 --disable-largefile omit support for large files
1041 --disable-gtktest do not try to compile and run a test GTK+ program
1042 --disable-gtktest Do not try to compile and run a test GTK program
1043 --disable-sdltest Do not try to compile and run a test SDL program
1044 --enable-omf use OMF object format (OS/2)
1045 --disable-precomp-headers
1046 don't use precompiled headers even if compiler can
1047
1048 Optional Packages:
1049 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1050 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1051 --with-gtk use GTK+
1052 --with-motif use Motif/Lesstif
1053 --with-mac use Mac OS X
1054 --with-cocoa use Cocoa
1055 --with-wine use Wine
1056 --with-msw use MS-Windows
1057 --with-pm use OS/2 Presentation Manager
1058 --with-mgl use SciTech MGL
1059 --with-microwin use MicroWindows
1060 --with-x11 use X11
1061 --with-libpng use libpng (PNG image format)
1062 --with-libjpeg use libjpeg (JPEG file format)
1063 --with-libtiff use libtiff (TIFF file format)
1064 --with-libxpm use libxpm (XPM file format)
1065 --with-libmspack use libmspack (CHM help files loading)
1066 --with-sdl use SDL for audio on Unix
1067 --with-gnomeprint use GNOME print for printing under Unix
1068 --with-opengl use OpenGL (or Mesa)
1069 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1070 --with-regex enable support for wxRegEx class
1071 --with-zlib use zlib for LZW compression
1072 --with-odbc use the IODBC and wxODBC classes
1073 --with-expat enable XML support using expat parser
1074 --with-flavour=NAME specify a name to identify this build
1075 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1076 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1077 --with-x use the X Window System
1078 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1079 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1080 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1081 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1082 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1083
1084 Some influential environment variables:
1085 CC C compiler command
1086 CFLAGS C compiler flags
1087 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1088 nonstandard directory <lib dir>
1089 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1090 headers in a nonstandard directory <include dir>
1091 CPP C preprocessor
1092 CXX C++ compiler command
1093 CXXFLAGS C++ compiler flags
1094 CXXCPP C++ preprocessor
1095
1096 Use these variables to override the choices made by `configure' or to help
1097 it to find libraries and programs with nonstandard names/locations.
1098
1099 Report bugs to <wx-dev@lists.wxwidgets.org>.
1100 _ACEOF
1101 fi
1102
1103 if test "$ac_init_help" = "recursive"; then
1104 # If there are subdirs, report their specific --help.
1105 ac_popdir=`pwd`
1106 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1107 test -d $ac_dir || continue
1108 ac_builddir=.
1109
1110 if test "$ac_dir" != .; then
1111 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1112 # A "../" for each directory in $ac_dir_suffix.
1113 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1114 else
1115 ac_dir_suffix= ac_top_builddir=
1116 fi
1117
1118 case $srcdir in
1119 .) # No --srcdir option. We are building in place.
1120 ac_srcdir=.
1121 if test -z "$ac_top_builddir"; then
1122 ac_top_srcdir=.
1123 else
1124 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1125 fi ;;
1126 [\\/]* | ?:[\\/]* ) # Absolute path.
1127 ac_srcdir=$srcdir$ac_dir_suffix;
1128 ac_top_srcdir=$srcdir ;;
1129 *) # Relative path.
1130 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1131 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1132 esac
1133
1134 # Do not use `cd foo && pwd` to compute absolute paths, because
1135 # the directories may not exist.
1136 case `pwd` in
1137 .) ac_abs_builddir="$ac_dir";;
1138 *)
1139 case "$ac_dir" in
1140 .) ac_abs_builddir=`pwd`;;
1141 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1142 *) ac_abs_builddir=`pwd`/"$ac_dir";;
1143 esac;;
1144 esac
1145 case $ac_abs_builddir in
1146 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1147 *)
1148 case ${ac_top_builddir}. in
1149 .) ac_abs_top_builddir=$ac_abs_builddir;;
1150 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1151 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1152 esac;;
1153 esac
1154 case $ac_abs_builddir in
1155 .) ac_abs_srcdir=$ac_srcdir;;
1156 *)
1157 case $ac_srcdir in
1158 .) ac_abs_srcdir=$ac_abs_builddir;;
1159 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1160 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1161 esac;;
1162 esac
1163 case $ac_abs_builddir in
1164 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1165 *)
1166 case $ac_top_srcdir in
1167 .) ac_abs_top_srcdir=$ac_abs_builddir;;
1168 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1169 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1170 esac;;
1171 esac
1172
1173 cd $ac_dir
1174 # Check for guested configure; otherwise get Cygnus style configure.
1175 if test -f $ac_srcdir/configure.gnu; then
1176 echo
1177 $SHELL $ac_srcdir/configure.gnu --help=recursive
1178 elif test -f $ac_srcdir/configure; then
1179 echo
1180 $SHELL $ac_srcdir/configure --help=recursive
1181 elif test -f $ac_srcdir/configure.ac ||
1182 test -f $ac_srcdir/configure.in; then
1183 echo
1184 $ac_configure --help
1185 else
1186 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1187 fi
1188 cd $ac_popdir
1189 done
1190 fi
1191
1192 test -n "$ac_init_help" && exit 0
1193 if $ac_init_version; then
1194 cat <<\_ACEOF
1195 wxWidgets configure 2.5.3
1196 generated by GNU Autoconf 2.59
1197
1198 Copyright (C) 2003 Free Software Foundation, Inc.
1199 This configure script is free software; the Free Software Foundation
1200 gives unlimited permission to copy, distribute and modify it.
1201 _ACEOF
1202 exit 0
1203 fi
1204 exec 5>config.log
1205 cat >&5 <<_ACEOF
1206 This file contains any messages produced by compilers while
1207 running configure, to aid debugging if configure makes a mistake.
1208
1209 It was created by wxWidgets $as_me 2.5.3, which was
1210 generated by GNU Autoconf 2.59. Invocation command line was
1211
1212 $ $0 $@
1213
1214 _ACEOF
1215 {
1216 cat <<_ASUNAME
1217 ## --------- ##
1218 ## Platform. ##
1219 ## --------- ##
1220
1221 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1222 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1223 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1224 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1225 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1226
1227 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1228 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1229
1230 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1231 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1232 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1233 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1234 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1235 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1236 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1237
1238 _ASUNAME
1239
1240 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1241 for as_dir in $PATH
1242 do
1243 IFS=$as_save_IFS
1244 test -z "$as_dir" && as_dir=.
1245 echo "PATH: $as_dir"
1246 done
1247
1248 } >&5
1249
1250 cat >&5 <<_ACEOF
1251
1252
1253 ## ----------- ##
1254 ## Core tests. ##
1255 ## ----------- ##
1256
1257 _ACEOF
1258
1259
1260 # Keep a trace of the command line.
1261 # Strip out --no-create and --no-recursion so they do not pile up.
1262 # Strip out --silent because we don't want to record it for future runs.
1263 # Also quote any args containing shell meta-characters.
1264 # Make two passes to allow for proper duplicate-argument suppression.
1265 ac_configure_args=
1266 ac_configure_args0=
1267 ac_configure_args1=
1268 ac_sep=
1269 ac_must_keep_next=false
1270 for ac_pass in 1 2
1271 do
1272 for ac_arg
1273 do
1274 case $ac_arg in
1275 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1276 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1277 | -silent | --silent | --silen | --sile | --sil)
1278 continue ;;
1279 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1280 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1281 esac
1282 case $ac_pass in
1283 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1284 2)
1285 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1286 if test $ac_must_keep_next = true; then
1287 ac_must_keep_next=false # Got value, back to normal.
1288 else
1289 case $ac_arg in
1290 *=* | --config-cache | -C | -disable-* | --disable-* \
1291 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1292 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1293 | -with-* | --with-* | -without-* | --without-* | --x)
1294 case "$ac_configure_args0 " in
1295 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1296 esac
1297 ;;
1298 -* ) ac_must_keep_next=true ;;
1299 esac
1300 fi
1301 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1302 # Get rid of the leading space.
1303 ac_sep=" "
1304 ;;
1305 esac
1306 done
1307 done
1308 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1309 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1310
1311 # When interrupted or exit'd, cleanup temporary files, and complete
1312 # config.log. We remove comments because anyway the quotes in there
1313 # would cause problems or look ugly.
1314 # WARNING: Be sure not to use single quotes in there, as some shells,
1315 # such as our DU 5.0 friend, will then `close' the trap.
1316 trap 'exit_status=$?
1317 # Save into config.log some information that might help in debugging.
1318 {
1319 echo
1320
1321 cat <<\_ASBOX
1322 ## ---------------- ##
1323 ## Cache variables. ##
1324 ## ---------------- ##
1325 _ASBOX
1326 echo
1327 # The following way of writing the cache mishandles newlines in values,
1328 {
1329 (set) 2>&1 |
1330 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1331 *ac_space=\ *)
1332 sed -n \
1333 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1334 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1335 ;;
1336 *)
1337 sed -n \
1338 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1339 ;;
1340 esac;
1341 }
1342 echo
1343
1344 cat <<\_ASBOX
1345 ## ----------------- ##
1346 ## Output variables. ##
1347 ## ----------------- ##
1348 _ASBOX
1349 echo
1350 for ac_var in $ac_subst_vars
1351 do
1352 eval ac_val=$`echo $ac_var`
1353 echo "$ac_var='"'"'$ac_val'"'"'"
1354 done | sort
1355 echo
1356
1357 if test -n "$ac_subst_files"; then
1358 cat <<\_ASBOX
1359 ## ------------- ##
1360 ## Output files. ##
1361 ## ------------- ##
1362 _ASBOX
1363 echo
1364 for ac_var in $ac_subst_files
1365 do
1366 eval ac_val=$`echo $ac_var`
1367 echo "$ac_var='"'"'$ac_val'"'"'"
1368 done | sort
1369 echo
1370 fi
1371
1372 if test -s confdefs.h; then
1373 cat <<\_ASBOX
1374 ## ----------- ##
1375 ## confdefs.h. ##
1376 ## ----------- ##
1377 _ASBOX
1378 echo
1379 sed "/^$/d" confdefs.h | sort
1380 echo
1381 fi
1382 test "$ac_signal" != 0 &&
1383 echo "$as_me: caught signal $ac_signal"
1384 echo "$as_me: exit $exit_status"
1385 } >&5
1386 rm -f core *.core &&
1387 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1388 exit $exit_status
1389 ' 0
1390 for ac_signal in 1 2 13 15; do
1391 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1392 done
1393 ac_signal=0
1394
1395 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1396 rm -rf conftest* confdefs.h
1397 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1398 echo >confdefs.h
1399
1400 # Predefined preprocessor variables.
1401
1402 cat >>confdefs.h <<_ACEOF
1403 #define PACKAGE_NAME "$PACKAGE_NAME"
1404 _ACEOF
1405
1406
1407 cat >>confdefs.h <<_ACEOF
1408 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1409 _ACEOF
1410
1411
1412 cat >>confdefs.h <<_ACEOF
1413 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1414 _ACEOF
1415
1416
1417 cat >>confdefs.h <<_ACEOF
1418 #define PACKAGE_STRING "$PACKAGE_STRING"
1419 _ACEOF
1420
1421
1422 cat >>confdefs.h <<_ACEOF
1423 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1424 _ACEOF
1425
1426
1427 # Let the site file select an alternate cache file if it wants to.
1428 # Prefer explicitly selected file to automatically selected ones.
1429 if test -z "$CONFIG_SITE"; then
1430 if test "x$prefix" != xNONE; then
1431 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1432 else
1433 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1434 fi
1435 fi
1436 for ac_site_file in $CONFIG_SITE; do
1437 if test -r "$ac_site_file"; then
1438 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1439 echo "$as_me: loading site script $ac_site_file" >&6;}
1440 sed 's/^/| /' "$ac_site_file" >&5
1441 . "$ac_site_file"
1442 fi
1443 done
1444
1445 if test -r "$cache_file"; then
1446 # Some versions of bash will fail to source /dev/null (special
1447 # files actually), so we avoid doing that.
1448 if test -f "$cache_file"; then
1449 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1450 echo "$as_me: loading cache $cache_file" >&6;}
1451 case $cache_file in
1452 [\\/]* | ?:[\\/]* ) . $cache_file;;
1453 *) . ./$cache_file;;
1454 esac
1455 fi
1456 else
1457 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1458 echo "$as_me: creating cache $cache_file" >&6;}
1459 >$cache_file
1460 fi
1461
1462 # Check that the precious variables saved in the cache have kept the same
1463 # value.
1464 ac_cache_corrupted=false
1465 for ac_var in `(set) 2>&1 |
1466 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1467 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1468 eval ac_new_set=\$ac_env_${ac_var}_set
1469 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1470 eval ac_new_val="\$ac_env_${ac_var}_value"
1471 case $ac_old_set,$ac_new_set in
1472 set,)
1473 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1474 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1475 ac_cache_corrupted=: ;;
1476 ,set)
1477 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1478 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1479 ac_cache_corrupted=: ;;
1480 ,);;
1481 *)
1482 if test "x$ac_old_val" != "x$ac_new_val"; then
1483 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1484 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1485 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1486 echo "$as_me: former value: $ac_old_val" >&2;}
1487 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1488 echo "$as_me: current value: $ac_new_val" >&2;}
1489 ac_cache_corrupted=:
1490 fi;;
1491 esac
1492 # Pass precious variables to config.status.
1493 if test "$ac_new_set" = set; then
1494 case $ac_new_val in
1495 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1496 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1497 *) ac_arg=$ac_var=$ac_new_val ;;
1498 esac
1499 case " $ac_configure_args " in
1500 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1501 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1502 esac
1503 fi
1504 done
1505 if $ac_cache_corrupted; then
1506 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1507 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1508 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1509 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1510 { (exit 1); exit 1; }; }
1511 fi
1512
1513 ac_ext=c
1514 ac_cpp='$CPP $CPPFLAGS'
1515 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1516 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1517 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1518
1519
1520
1521
1522
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 ac_aux_dir=
1549 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1550 if test -f $ac_dir/install-sh; then
1551 ac_aux_dir=$ac_dir
1552 ac_install_sh="$ac_aux_dir/install-sh -c"
1553 break
1554 elif test -f $ac_dir/install.sh; then
1555 ac_aux_dir=$ac_dir
1556 ac_install_sh="$ac_aux_dir/install.sh -c"
1557 break
1558 elif test -f $ac_dir/shtool; then
1559 ac_aux_dir=$ac_dir
1560 ac_install_sh="$ac_aux_dir/shtool install -c"
1561 break
1562 fi
1563 done
1564 if test -z "$ac_aux_dir"; then
1565 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1566 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1567 { (exit 1); exit 1; }; }
1568 fi
1569 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1570 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1571 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1572
1573 # Make sure we can run config.sub.
1574 $ac_config_sub sun4 >/dev/null 2>&1 ||
1575 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1576 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1577 { (exit 1); exit 1; }; }
1578
1579 echo "$as_me:$LINENO: checking build system type" >&5
1580 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1581 if test "${ac_cv_build+set}" = set; then
1582 echo $ECHO_N "(cached) $ECHO_C" >&6
1583 else
1584 ac_cv_build_alias=$build_alias
1585 test -z "$ac_cv_build_alias" &&
1586 ac_cv_build_alias=`$ac_config_guess`
1587 test -z "$ac_cv_build_alias" &&
1588 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1589 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1590 { (exit 1); exit 1; }; }
1591 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1592 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1593 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1594 { (exit 1); exit 1; }; }
1595
1596 fi
1597 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1598 echo "${ECHO_T}$ac_cv_build" >&6
1599 build=$ac_cv_build
1600 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1601 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1602 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1603
1604
1605 echo "$as_me:$LINENO: checking host system type" >&5
1606 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1607 if test "${ac_cv_host+set}" = set; then
1608 echo $ECHO_N "(cached) $ECHO_C" >&6
1609 else
1610 ac_cv_host_alias=$host_alias
1611 test -z "$ac_cv_host_alias" &&
1612 ac_cv_host_alias=$ac_cv_build_alias
1613 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1614 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1615 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1616 { (exit 1); exit 1; }; }
1617
1618 fi
1619 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1620 echo "${ECHO_T}$ac_cv_host" >&6
1621 host=$ac_cv_host
1622 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1623 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1624 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1625
1626
1627 echo "$as_me:$LINENO: checking target system type" >&5
1628 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1629 if test "${ac_cv_target+set}" = set; then
1630 echo $ECHO_N "(cached) $ECHO_C" >&6
1631 else
1632 ac_cv_target_alias=$target_alias
1633 test "x$ac_cv_target_alias" = "x" &&
1634 ac_cv_target_alias=$ac_cv_host_alias
1635 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1636 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1637 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1638 { (exit 1); exit 1; }; }
1639
1640 fi
1641 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1642 echo "${ECHO_T}$ac_cv_target" >&6
1643 target=$ac_cv_target
1644 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1645 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1646 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1647
1648
1649 # The aliases save the names the user supplied, while $host etc.
1650 # will get canonicalized.
1651 test -n "$target_alias" &&
1652 test "$program_prefix$program_suffix$program_transform_name" = \
1653 NONENONEs,x,x, &&
1654 program_prefix=${target_alias}-
1655
1656
1657
1658 wx_major_version_number=2
1659 wx_minor_version_number=5
1660 wx_release_number=3
1661 wx_subrelease_number=3
1662
1663 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
1664 WX_VERSION=$WX_RELEASE.$wx_release_number
1665 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
1666
1667 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
1668
1669 WX_CURRENT=3
1670 WX_REVISION=0
1671 WX_AGE=3
1672
1673
1674
1675 USE_UNIX=1
1676 USE_OS2=0
1677 USE_WIN32=0
1678 USE_DOS=0
1679 USE_BEOS=0
1680 USE_MAC=0
1681
1682 USE_AIX=
1683 USE_BSD= USE_DARWIN= USE_FREEBSD=
1684 USE_GNU= USE_HPUX=
1685 USE_LINUX=
1686 USE_NETBSD=
1687 USE_OPENBSD=
1688 USE_OSF= USE_SGI=
1689 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
1690 USE_ULTRIX=
1691 USE_UNIXWARE=
1692
1693 USE_ALPHA=
1694
1695 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
1696
1697 ALL_TOOLKITS="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11"
1698
1699 DEFAULT_wxUSE_COCOA=0
1700 DEFAULT_wxUSE_GTK=0
1701 DEFAULT_wxUSE_MAC=0
1702 DEFAULT_wxUSE_MGL=0
1703 DEFAULT_wxUSE_MICROWIN=0
1704 DEFAULT_wxUSE_MOTIF=0
1705 DEFAULT_wxUSE_MSW=0
1706 DEFAULT_wxUSE_PM=0
1707 DEFAULT_wxUSE_X11=0
1708
1709 DEFAULT_DEFAULT_wxUSE_COCOA=0
1710 DEFAULT_DEFAULT_wxUSE_GTK=0
1711 DEFAULT_DEFAULT_wxUSE_MAC=0
1712 DEFAULT_DEFAULT_wxUSE_MGL=0
1713 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
1714 DEFAULT_DEFAULT_wxUSE_MOTIF=0
1715 DEFAULT_DEFAULT_wxUSE_MSW=0
1716 DEFAULT_DEFAULT_wxUSE_PM=0
1717 DEFAULT_DEFAULT_wxUSE_X11=0
1718
1719 PROGRAM_EXT=
1720 SO_SUFFIX=so
1721 SAMPLES_RPATH_FLAG=
1722 SAMPLES_RPATH_POSTLINK=
1723
1724 case "${host}" in
1725 *-hp-hpux* )
1726 USE_HPUX=1
1727 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1728 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1729 SO_SUFFIX=sl
1730 cat >>confdefs.h <<\_ACEOF
1731 #define __HPUX__ 1
1732 _ACEOF
1733
1734 ;;
1735 *-*-linux* )
1736 USE_LINUX=1
1737 cat >>confdefs.h <<\_ACEOF
1738 #define __LINUX__ 1
1739 _ACEOF
1740
1741 TMP=`uname -m`
1742 if test "x$TMP" = "xalpha"; then
1743 USE_ALPHA=1
1744 cat >>confdefs.h <<\_ACEOF
1745 #define __ALPHA__ 1
1746 _ACEOF
1747
1748 fi
1749 DEFAULT_DEFAULT_wxUSE_GTK=1
1750 ;;
1751 *-*-gnu* | *-*-k*bsd*-gnu )
1752 USE_GNU=1
1753 TMP=`uname -m`
1754 if test "x$TMP" = "xalpha"; then
1755 USE_ALPHA=1
1756 cat >>confdefs.h <<\_ACEOF
1757 #define __ALPHA__ 1
1758 _ACEOF
1759
1760 fi
1761 DEFAULT_DEFAULT_wxUSE_GTK=1
1762 ;;
1763 *-*-irix5* | *-*-irix6* )
1764 USE_SGI=1
1765 USE_SVR4=1
1766 cat >>confdefs.h <<\_ACEOF
1767 #define __SGI__ 1
1768 _ACEOF
1769
1770 cat >>confdefs.h <<\_ACEOF
1771 #define __SVR4__ 1
1772 _ACEOF
1773
1774 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1775 ;;
1776 *-*-solaris2* )
1777 USE_SUN=1
1778 USE_SOLARIS=1
1779 USE_SVR4=1
1780 cat >>confdefs.h <<\_ACEOF
1781 #define __SUN__ 1
1782 _ACEOF
1783
1784 cat >>confdefs.h <<\_ACEOF
1785 #define __SOLARIS__ 1
1786 _ACEOF
1787
1788 cat >>confdefs.h <<\_ACEOF
1789 #define __SVR4__ 1
1790 _ACEOF
1791
1792 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1793 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1794 ;;
1795 *-*-sunos4* )
1796 USE_SUN=1
1797 USE_SUNOS=1
1798 USE_BSD=1
1799 cat >>confdefs.h <<\_ACEOF
1800 #define __SUN__ 1
1801 _ACEOF
1802
1803 cat >>confdefs.h <<\_ACEOF
1804 #define __SUNOS__ 1
1805 _ACEOF
1806
1807 cat >>confdefs.h <<\_ACEOF
1808 #define __BSD__ 1
1809 _ACEOF
1810
1811 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1812 ;;
1813 *-*-freebsd*)
1814 USE_BSD=1
1815 USE_FREEBSD=1
1816 cat >>confdefs.h <<\_ACEOF
1817 #define __FREEBSD__ 1
1818 _ACEOF
1819
1820 cat >>confdefs.h <<\_ACEOF
1821 #define __BSD__ 1
1822 _ACEOF
1823
1824 DEFAULT_DEFAULT_wxUSE_GTK=1
1825 ;;
1826 *-*-openbsd*)
1827 USE_BSD=1
1828 USE_OPENBSD=1
1829 cat >>confdefs.h <<\_ACEOF
1830 #define __OPENBSD__ 1
1831 _ACEOF
1832
1833 cat >>confdefs.h <<\_ACEOF
1834 #define __BSD__ 1
1835 _ACEOF
1836
1837 DEFAULT_DEFAULT_wxUSE_GTK=1
1838 ;;
1839 *-*-netbsd*)
1840 USE_BSD=1
1841 USE_NETBSD=1
1842 cat >>confdefs.h <<\_ACEOF
1843 #define __NETBSD__ 1
1844 _ACEOF
1845
1846 cat >>confdefs.h <<\_ACEOF
1847 #define __BSD__ 1
1848 _ACEOF
1849
1850 DEFAULT_DEFAULT_wxUSE_GTK=1
1851 ;;
1852 *-*-osf* )
1853 USE_ALPHA=1
1854 USE_OSF=1
1855 cat >>confdefs.h <<\_ACEOF
1856 #define __ALPHA__ 1
1857 _ACEOF
1858
1859 cat >>confdefs.h <<\_ACEOF
1860 #define __OSF__ 1
1861 _ACEOF
1862
1863 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1864 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1865 ;;
1866 *-*-dgux5* )
1867 USE_ALPHA=1
1868 USE_SVR4=1
1869 cat >>confdefs.h <<\_ACEOF
1870 #define __ALPHA__ 1
1871 _ACEOF
1872
1873 cat >>confdefs.h <<\_ACEOF
1874 #define __SVR4__ 1
1875 _ACEOF
1876
1877 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1878 ;;
1879 *-*-sysv5* )
1880 USE_SYSV=1
1881 USE_SVR4=1
1882 cat >>confdefs.h <<\_ACEOF
1883 #define __SYSV__ 1
1884 _ACEOF
1885
1886 cat >>confdefs.h <<\_ACEOF
1887 #define __SVR4__ 1
1888 _ACEOF
1889
1890 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1891 ;;
1892 *-*-aix* )
1893 USE_AIX=1
1894 USE_SYSV=1
1895 USE_SVR4=1
1896 SO_SUFFIX=a
1897 cat >>confdefs.h <<\_ACEOF
1898 #define __AIX__ 1
1899 _ACEOF
1900
1901 cat >>confdefs.h <<\_ACEOF
1902 #define __SYSV__ 1
1903 _ACEOF
1904
1905 cat >>confdefs.h <<\_ACEOF
1906 #define __SVR4__ 1
1907 _ACEOF
1908
1909 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1910 ;;
1911
1912 *-*-*UnixWare*)
1913 USE_SYSV=1
1914 USE_SVR4=1
1915 USE_UNIXWARE=1
1916 cat >>confdefs.h <<\_ACEOF
1917 #define __UNIXWARE__ 1
1918 _ACEOF
1919
1920 ;;
1921
1922 *-*-cygwin* | *-*-mingw32* )
1923 SO_SUFFIX=dll
1924 PROGRAM_EXT=".exe"
1925 RESCOMP=windres
1926 DEFAULT_DEFAULT_wxUSE_MSW=1
1927 ;;
1928
1929 *-pc-msdosdjgpp )
1930 USE_UNIX=0
1931 USE_DOS=1
1932 cat >>confdefs.h <<\_ACEOF
1933 #define __DOS__ 1
1934 _ACEOF
1935
1936 PROGRAM_EXT=".exe"
1937 DEFAULT_DEFAULT_wxUSE_MGL=1
1938 LIBS="$LIBS -lstdc++"
1939 ;;
1940
1941 *-pc-os2_emx | *-pc-os2-emx )
1942 cat >>confdefs.h <<\_ACEOF
1943 #define __EMX__ 1
1944 _ACEOF
1945
1946 USE_OS2=1
1947 cat >>confdefs.h <<\_ACEOF
1948 #define __OS2__ 1
1949 _ACEOF
1950
1951 PROGRAM_EXT=".exe"
1952 DEFAULT_DEFAULT_wxUSE_PM=1
1953 CXX=gcc
1954 LDFLAGS="$LDFLAGS -Zcrtdll"
1955 ac_executable_extensions=".exe"
1956 export ac_executable_extensions
1957 ac_save_IFS="$IFS"
1958 IFS='\\'
1959 ac_TEMP_PATH=
1960 for ac_dir in $PATH; do
1961 IFS=$ac_save_IFS
1962 if test -z "$ac_TEMP_PATH"; then
1963 ac_TEMP_PATH="$ac_dir"
1964 else
1965 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
1966 fi
1967 done
1968 export PATH="$ac_TEMP_PATH"
1969 unset ac_TEMP_PATH
1970 ;;
1971
1972 powerpc-*-darwin* )
1973 USE_BSD=1
1974 USE_DARWIN=1
1975 SO_SUFFIX=dylib
1976 cat >>confdefs.h <<\_ACEOF
1977 #define __BSD__ 1
1978 _ACEOF
1979
1980 cat >>confdefs.h <<\_ACEOF
1981 #define __DARWIN__ 1
1982 _ACEOF
1983
1984 cat >>confdefs.h <<\_ACEOF
1985 #define __POWERPC__ 1
1986 _ACEOF
1987
1988 cat >>confdefs.h <<\_ACEOF
1989 #define TARGET_CARBON 1
1990 _ACEOF
1991
1992 DEFAULT_DEFAULT_wxUSE_MAC=1
1993 ;;
1994 powerpc-apple-macos* )
1995 USE_UNIX=0
1996 ac_cv_c_bigendian=yes
1997 SO_SUFFIX=shlib
1998 DEFAULT_DEFAULT_wxUSE_MAC=1
1999 ;;
2000
2001 *-*-beos* )
2002 USE_BEOS=1
2003 cat >>confdefs.h <<\_ACEOF
2004 #define __BEOS__ 1
2005 _ACEOF
2006
2007 ;;
2008
2009 *)
2010 { { echo "$as_me:$LINENO: error: unknown system type ${host}." >&5
2011 echo "$as_me: error: unknown system type ${host}." >&2;}
2012 { (exit 1); exit 1; }; }
2013 esac
2014
2015
2016
2017
2018 wx_arg_cache_file="configarg.cache"
2019 echo "loading argument cache $wx_arg_cache_file"
2020 rm -f ${wx_arg_cache_file}.tmp
2021 touch ${wx_arg_cache_file}.tmp
2022 touch ${wx_arg_cache_file}
2023
2024
2025 DEBUG_CONFIGURE=0
2026 if test $DEBUG_CONFIGURE = 1; then
2027 DEFAULT_wxUSE_UNIVERSAL=no
2028 DEFAULT_wxUSE_STL=no
2029
2030 DEFAULT_wxUSE_NANOX=no
2031
2032 DEFAULT_wxUSE_THREADS=yes
2033
2034 DEFAULT_wxUSE_SHARED=yes
2035 DEFAULT_wxUSE_OPTIMISE=no
2036 DEFAULT_wxUSE_PROFILE=no
2037 DEFAULT_wxUSE_NO_DEPS=no
2038 DEFAULT_wxUSE_NO_RTTI=no
2039 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2040 DEFAULT_wxUSE_RPATH=yes
2041 DEFAULT_wxUSE_PERMISSIVE=no
2042 DEFAULT_wxUSE_DEBUG_FLAG=yes
2043 DEFAULT_wxUSE_DEBUG_INFO=yes
2044 DEFAULT_wxUSE_DEBUG_GDB=yes
2045 DEFAULT_wxUSE_MEM_TRACING=no
2046 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2047 DEFAULT_wxUSE_DMALLOC=no
2048 DEFAULT_wxUSE_APPLE_IEEE=no
2049
2050 DEFAULT_wxUSE_EXCEPTIONS=no
2051 DEFAULT_wxUSE_LOG=yes
2052 DEFAULT_wxUSE_LOGWINDOW=no
2053 DEFAULT_wxUSE_LOGGUI=no
2054 DEFAULT_wxUSE_LOGDIALOG=no
2055
2056 DEFAULT_wxUSE_GUI=yes
2057 DEFAULT_wxUSE_CONTROLS=no
2058
2059 DEFAULT_wxUSE_REGEX=no
2060 DEFAULT_wxUSE_XML=no
2061 DEFAULT_wxUSE_EXPAT=no
2062 DEFAULT_wxUSE_ZLIB=no
2063 DEFAULT_wxUSE_LIBPNG=no
2064 DEFAULT_wxUSE_LIBJPEG=no
2065 DEFAULT_wxUSE_LIBTIFF=no
2066 DEFAULT_wxUSE_LIBXPM=no
2067 DEFAULT_wxUSE_LIBMSPACK=no
2068 DEFAULT_wxUSE_LIBSDL=no
2069 DEFAULT_wxUSE_LIBGNOMEPRINT=no
2070 DEFAULT_wxUSE_ODBC=no
2071 DEFAULT_wxUSE_OPENGL=no
2072
2073 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=no
2074 DEFAULT_wxUSE_STACKWALKER=no
2075 DEFAULT_wxUSE_SNGLINST_CHECKER=no
2076 DEFAULT_wxUSE_STD_IOSTREAM=no
2077 DEFAULT_wxUSE_CMDLINE_PARSER=no
2078 DEFAULT_wxUSE_DATETIME=no
2079 DEFAULT_wxUSE_TIMER=no
2080 DEFAULT_wxUSE_STOPWATCH=no
2081 DEFAULT_wxUSE_FILE=no
2082 DEFAULT_wxUSE_FFILE=no
2083 DEFAULT_wxUSE_TEXTBUFFER=no
2084 DEFAULT_wxUSE_TEXTFILE=no
2085 DEFAULT_wxUSE_SOUND=no
2086 DEFAULT_wxUSE_MEDIACTRL=no
2087 DEFAULT_wxUSE_DIRECTSHOW=no
2088 DEFAULT_wxUSE_INTL=no
2089 DEFAULT_wxUSE_CONFIG=no
2090 DEFAULT_wxUSE_FONTMAP=no
2091 DEFAULT_wxUSE_STREAMS=no
2092 DEFAULT_wxUSE_SOCKETS=no
2093 DEFAULT_wxUSE_OLE=no
2094 DEFAULT_wxUSE_DATAOBJ=no
2095 DEFAULT_wxUSE_DIALUP_MANAGER=no
2096 DEFAULT_wxUSE_JOYSTICK=no
2097 DEFAULT_wxUSE_DYNLIB_CLASS=no
2098 DEFAULT_wxUSE_DYNAMIC_LOADER=no
2099 DEFAULT_wxUSE_LONGLONG=no
2100 DEFAULT_wxUSE_GEOMETRY=no
2101
2102 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=no
2103 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=no
2104 DEFAULT_wxUSE_POSTSCRIPT=no
2105
2106 DEFAULT_wxUSE_CLIPBOARD=no
2107 DEFAULT_wxUSE_TOOLTIPS=no
2108 DEFAULT_wxUSE_DRAG_AND_DROP=no
2109 DEFAULT_wxUSE_DRAGIMAGE=no
2110 DEFAULT_wxUSE_SPLINES=no
2111
2112 DEFAULT_wxUSE_MDI=no
2113 DEFAULT_wxUSE_MDI_ARCHITECTURE=no
2114 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=no
2115 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=no
2116
2117 DEFAULT_wxUSE_RESOURCES=no
2118 DEFAULT_wxUSE_CONSTRAINTS=no
2119 DEFAULT_wxUSE_IPC=no
2120 DEFAULT_wxUSE_HELP=no
2121 DEFAULT_wxUSE_MS_HTML_HELP=no
2122 DEFAULT_wxUSE_WXHTML_HELP=no
2123 DEFAULT_wxUSE_TREELAYOUT=no
2124 DEFAULT_wxUSE_METAFILE=no
2125 DEFAULT_wxUSE_MIMETYPE=no
2126 DEFAULT_wxUSE_SYSTEM_OPTIONS=no
2127 DEFAULT_wxUSE_PROTOCOL=no
2128 DEFAULT_wxUSE_PROTOCOL_HTTP=no
2129 DEFAULT_wxUSE_PROTOCOL_FTP=no
2130 DEFAULT_wxUSE_PROTOCOL_FILE=no
2131 DEFAULT_wxUSE_URL=no
2132
2133 DEFAULT_wxUSE_COMMONDLGS=no
2134 DEFAULT_wxUSE_CHOICEDLG=no
2135 DEFAULT_wxUSE_COLOURDLG=no
2136 DEFAULT_wxUSE_DIRDLG=no
2137 DEFAULT_wxUSE_FILEDLG=no
2138 DEFAULT_wxUSE_FINDREPLDLG=no
2139 DEFAULT_wxUSE_FONTDLG=no
2140 DEFAULT_wxUSE_MSGDLG=no
2141 DEFAULT_wxUSE_NUMBERDLG=no
2142 DEFAULT_wxUSE_TEXTDLG=no
2143 DEFAULT_wxUSE_SPLASH=no
2144 DEFAULT_wxUSE_STARTUP_TIPS=no
2145 DEFAULT_wxUSE_PROGRESSDLG=no
2146 DEFAULT_wxUSE_WIZARDDLG=no
2147
2148 DEFAULT_wxUSE_MENUS=no
2149 DEFAULT_wxUSE_MINIFRAME=no
2150 DEFAULT_wxUSE_HTML=no
2151 DEFAULT_wxUSE_XRC=no
2152 DEFAULT_wxUSE_WEBKIT=no
2153 DEFAULT_wxUSE_FILESYSTEM=no
2154 DEFAULT_wxUSE_FS_INET=no
2155 DEFAULT_wxUSE_FS_ZIP=no
2156 DEFAULT_wxUSE_BUSYINFO=no
2157 DEFAULT_wxUSE_ZIPSTREAM=no
2158 DEFAULT_wxUSE_VALIDATORS=no
2159
2160 DEFAULT_wxUSE_ACCEL=no
2161 DEFAULT_wxUSE_BUTTON=no
2162 DEFAULT_wxUSE_BMPBUTTON=no
2163 DEFAULT_wxUSE_CALCTRL=no
2164 DEFAULT_wxUSE_CARET=no
2165 DEFAULT_wxUSE_CHECKBOX=no
2166 DEFAULT_wxUSE_CHECKLST=no
2167 DEFAULT_wxUSE_CHOICE=no
2168 DEFAULT_wxUSE_CHOICEBOOK=no
2169 DEFAULT_wxUSE_COMBOBOX=no
2170 DEFAULT_wxUSE_DATEPICKCTRL=no
2171 DEFAULT_wxUSE_DISPLAY=no
2172 DEFAULT_wxUSE_GAUGE=no
2173 DEFAULT_wxUSE_GRID=no
2174 DEFAULT_wxUSE_IMAGLIST=no
2175 DEFAULT_wxUSE_LISTBOOK=no
2176 DEFAULT_wxUSE_LISTBOX=no
2177 DEFAULT_wxUSE_LISTCTRL=no
2178 DEFAULT_wxUSE_NOTEBOOK=no
2179 DEFAULT_wxUSE_RADIOBOX=no
2180 DEFAULT_wxUSE_RADIOBTN=no
2181 DEFAULT_wxUSE_SASH=no
2182 DEFAULT_wxUSE_SCROLLBAR=no
2183 DEFAULT_wxUSE_SLIDER=no
2184 DEFAULT_wxUSE_SPINBTN=no
2185 DEFAULT_wxUSE_SPINCTRL=no
2186 DEFAULT_wxUSE_SPLITTER=no
2187 DEFAULT_wxUSE_STATBMP=no
2188 DEFAULT_wxUSE_STATBOX=no
2189 DEFAULT_wxUSE_STATLINE=no
2190 DEFAULT_wxUSE_STATTEXT=no
2191 DEFAULT_wxUSE_STATUSBAR=yes
2192 DEFAULT_wxUSE_TABDIALOG=no
2193 DEFAULT_wxUSE_TEXTCTRL=no
2194 DEFAULT_wxUSE_TOGGLEBTN=no
2195 DEFAULT_wxUSE_TOOLBAR=no
2196 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
2197 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
2198 DEFAULT_wxUSE_TREECTRL=no
2199 DEFAULT_wxUSE_POPUPWIN=no
2200 DEFAULT_wxUSE_TIPWINDOW=no
2201
2202 DEFAULT_wxUSE_UNICODE=no
2203 DEFAULT_wxUSE_UNICODE_MSLU=no
2204 DEFAULT_wxUSE_WCSRTOMBS=no
2205
2206 DEFAULT_wxUSE_PALETTE=no
2207 DEFAULT_wxUSE_IMAGE=no
2208 DEFAULT_wxUSE_GIF=no
2209 DEFAULT_wxUSE_PCX=no
2210 DEFAULT_wxUSE_PNM=no
2211 DEFAULT_wxUSE_IFF=no
2212 DEFAULT_wxUSE_XPM=no
2213 DEFAULT_wxUSE_ICO_CUR=no
2214 DEFAULT_wxUSE_ACCESSIBILITY=no
2215
2216 DEFAULT_wxUSE_MONOLITHIC=no
2217 DEFAULT_wxUSE_PLUGINS=no
2218 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2219 else
2220 DEFAULT_wxUSE_UNIVERSAL=no
2221 DEFAULT_wxUSE_STL=no
2222
2223 DEFAULT_wxUSE_NANOX=no
2224
2225 DEFAULT_wxUSE_THREADS=yes
2226
2227 DEFAULT_wxUSE_SHARED=yes
2228 DEFAULT_wxUSE_OPTIMISE=yes
2229 DEFAULT_wxUSE_PROFILE=no
2230 DEFAULT_wxUSE_NO_DEPS=no
2231 DEFAULT_wxUSE_NO_RTTI=no
2232 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2233 DEFAULT_wxUSE_RPATH=yes
2234 DEFAULT_wxUSE_PERMISSIVE=no
2235 DEFAULT_wxUSE_DEBUG_FLAG=no
2236 DEFAULT_wxUSE_DEBUG_INFO=no
2237 DEFAULT_wxUSE_DEBUG_GDB=no
2238 DEFAULT_wxUSE_MEM_TRACING=no
2239 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2240 DEFAULT_wxUSE_DMALLOC=no
2241 DEFAULT_wxUSE_APPLE_IEEE=yes
2242
2243 DEFAULT_wxUSE_EXCEPTIONS=yes
2244 DEFAULT_wxUSE_LOG=yes
2245 DEFAULT_wxUSE_LOGWINDOW=yes
2246 DEFAULT_wxUSE_LOGGUI=yes
2247 DEFAULT_wxUSE_LOGDIALOG=yes
2248
2249 DEFAULT_wxUSE_GUI=yes
2250
2251 DEFAULT_wxUSE_REGEX=yes
2252 DEFAULT_wxUSE_XML=yes
2253 DEFAULT_wxUSE_EXPAT=yes
2254 DEFAULT_wxUSE_ZLIB=yes
2255 DEFAULT_wxUSE_LIBPNG=yes
2256 DEFAULT_wxUSE_LIBJPEG=yes
2257 DEFAULT_wxUSE_LIBTIFF=yes
2258 DEFAULT_wxUSE_LIBXPM=yes
2259 DEFAULT_wxUSE_LIBMSPACK=yes
2260 DEFAULT_wxUSE_LIBSDL=no
2261 DEFAULT_wxUSE_LIBGNOMEPRINT=no
2262 DEFAULT_wxUSE_ODBC=no
2263 DEFAULT_wxUSE_OPENGL=no
2264
2265 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=yes
2266 DEFAULT_wxUSE_STACKWALKER=yes
2267 DEFAULT_wxUSE_SNGLINST_CHECKER=yes
2268 DEFAULT_wxUSE_STD_IOSTREAM=no
2269 DEFAULT_wxUSE_CMDLINE_PARSER=yes
2270 DEFAULT_wxUSE_DATETIME=yes
2271 DEFAULT_wxUSE_TIMER=yes
2272 DEFAULT_wxUSE_STOPWATCH=yes
2273 DEFAULT_wxUSE_FILE=yes
2274 DEFAULT_wxUSE_FFILE=yes
2275 DEFAULT_wxUSE_TEXTBUFFER=yes
2276 DEFAULT_wxUSE_TEXTFILE=yes
2277 DEFAULT_wxUSE_SOUND=yes
2278 DEFAULT_wxUSE_MEDIACTRL=no
2279 DEFAULT_wxUSE_DIRECTSHOW=no
2280 DEFAULT_wxUSE_INTL=yes
2281 DEFAULT_wxUSE_CONFIG=yes
2282 DEFAULT_wxUSE_FONTMAP=yes
2283 DEFAULT_wxUSE_STREAMS=yes
2284 DEFAULT_wxUSE_SOCKETS=yes
2285 DEFAULT_wxUSE_OLE=yes
2286 DEFAULT_wxUSE_DATAOBJ=yes
2287 DEFAULT_wxUSE_DIALUP_MANAGER=yes
2288 DEFAULT_wxUSE_JOYSTICK=yes
2289 DEFAULT_wxUSE_DYNLIB_CLASS=yes
2290 DEFAULT_wxUSE_DYNAMIC_LOADER=yes
2291 DEFAULT_wxUSE_LONGLONG=yes
2292 DEFAULT_wxUSE_GEOMETRY=yes
2293
2294 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=yes
2295 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=yes
2296 DEFAULT_wxUSE_POSTSCRIPT=yes
2297
2298 DEFAULT_wxUSE_CLIPBOARD=yes
2299 DEFAULT_wxUSE_TOOLTIPS=yes
2300 DEFAULT_wxUSE_DRAG_AND_DROP=yes
2301 DEFAULT_wxUSE_DRAGIMAGE=yes
2302 DEFAULT_wxUSE_SPLINES=yes
2303
2304 DEFAULT_wxUSE_MDI=yes
2305 DEFAULT_wxUSE_MDI_ARCHITECTURE=yes
2306 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=yes
2307 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=yes
2308
2309 DEFAULT_wxUSE_RESOURCES=no
2310 DEFAULT_wxUSE_CONSTRAINTS=yes
2311 DEFAULT_wxUSE_IPC=yes
2312 DEFAULT_wxUSE_HELP=yes
2313 DEFAULT_wxUSE_MS_HTML_HELP=yes
2314 DEFAULT_wxUSE_WXHTML_HELP=yes
2315 DEFAULT_wxUSE_TREELAYOUT=yes
2316 DEFAULT_wxUSE_METAFILE=yes
2317 DEFAULT_wxUSE_MIMETYPE=yes
2318 DEFAULT_wxUSE_SYSTEM_OPTIONS=yes
2319 DEFAULT_wxUSE_PROTOCOL=yes
2320 DEFAULT_wxUSE_PROTOCOL_HTTP=yes
2321 DEFAULT_wxUSE_PROTOCOL_FTP=yes
2322 DEFAULT_wxUSE_PROTOCOL_FILE=yes
2323 DEFAULT_wxUSE_URL=yes
2324
2325 DEFAULT_wxUSE_COMMONDLGS=yes
2326 DEFAULT_wxUSE_CHOICEDLG=yes
2327 DEFAULT_wxUSE_COLOURDLG=yes
2328 DEFAULT_wxUSE_DIRDLG=yes
2329 DEFAULT_wxUSE_FILEDLG=yes
2330 DEFAULT_wxUSE_FINDREPLDLG=yes
2331 DEFAULT_wxUSE_FONTDLG=yes
2332 DEFAULT_wxUSE_MSGDLG=yes
2333 DEFAULT_wxUSE_NUMBERDLG=yes
2334 DEFAULT_wxUSE_TEXTDLG=yes
2335 DEFAULT_wxUSE_SPLASH=yes
2336 DEFAULT_wxUSE_STARTUP_TIPS=yes
2337 DEFAULT_wxUSE_PROGRESSDLG=yes
2338 DEFAULT_wxUSE_WIZARDDLG=yes
2339
2340 DEFAULT_wxUSE_MENUS=yes
2341 DEFAULT_wxUSE_MINIFRAME=yes
2342 DEFAULT_wxUSE_HTML=yes
2343 DEFAULT_wxUSE_XRC=yes
2344 DEFAULT_wxUSE_WEBKIT=yes
2345 DEFAULT_wxUSE_FILESYSTEM=yes
2346 DEFAULT_wxUSE_FS_INET=yes
2347 DEFAULT_wxUSE_FS_ZIP=yes
2348 DEFAULT_wxUSE_BUSYINFO=yes
2349 DEFAULT_wxUSE_ZIPSTREAM=yes
2350 DEFAULT_wxUSE_VALIDATORS=yes
2351
2352 DEFAULT_wxUSE_ACCEL=yes
2353 DEFAULT_wxUSE_BUTTON=yes
2354 DEFAULT_wxUSE_BMPBUTTON=yes
2355 DEFAULT_wxUSE_CALCTRL=yes
2356 DEFAULT_wxUSE_CARET=yes
2357 DEFAULT_wxUSE_CHECKBOX=yes
2358 DEFAULT_wxUSE_CHECKLST=yes
2359 DEFAULT_wxUSE_CHOICE=yes
2360 DEFAULT_wxUSE_CHOICEBOOK=yes
2361 DEFAULT_wxUSE_COMBOBOX=yes
2362 DEFAULT_wxUSE_DATEPICKCTRL=yes
2363 DEFAULT_wxUSE_DISPLAY=yes
2364 DEFAULT_wxUSE_GAUGE=yes
2365 DEFAULT_wxUSE_GRID=yes
2366 DEFAULT_wxUSE_IMAGLIST=yes
2367 DEFAULT_wxUSE_LISTBOOK=yes
2368 DEFAULT_wxUSE_LISTBOX=yes
2369 DEFAULT_wxUSE_LISTCTRL=yes
2370 DEFAULT_wxUSE_NOTEBOOK=yes
2371 DEFAULT_wxUSE_RADIOBOX=yes
2372 DEFAULT_wxUSE_RADIOBTN=yes
2373 DEFAULT_wxUSE_SASH=yes
2374 DEFAULT_wxUSE_SCROLLBAR=yes
2375 DEFAULT_wxUSE_SLIDER=yes
2376 DEFAULT_wxUSE_SPINBTN=yes
2377 DEFAULT_wxUSE_SPINCTRL=yes
2378 DEFAULT_wxUSE_SPLITTER=yes
2379 DEFAULT_wxUSE_STATBMP=yes
2380 DEFAULT_wxUSE_STATBOX=yes
2381 DEFAULT_wxUSE_STATLINE=yes
2382 DEFAULT_wxUSE_STATTEXT=yes
2383 DEFAULT_wxUSE_STATUSBAR=yes
2384 DEFAULT_wxUSE_TABDIALOG=no
2385 DEFAULT_wxUSE_TEXTCTRL=yes
2386 DEFAULT_wxUSE_TOGGLEBTN=yes
2387 DEFAULT_wxUSE_TOOLBAR=yes
2388 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
2389 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
2390 DEFAULT_wxUSE_TREECTRL=yes
2391 DEFAULT_wxUSE_POPUPWIN=yes
2392 DEFAULT_wxUSE_TIPWINDOW=yes
2393
2394 DEFAULT_wxUSE_UNICODE=no
2395 DEFAULT_wxUSE_UNICODE_MSLU=yes
2396 DEFAULT_wxUSE_WCSRTOMBS=no
2397
2398 DEFAULT_wxUSE_PALETTE=yes
2399 DEFAULT_wxUSE_IMAGE=yes
2400 DEFAULT_wxUSE_GIF=yes
2401 DEFAULT_wxUSE_PCX=yes
2402 DEFAULT_wxUSE_IFF=no
2403 DEFAULT_wxUSE_PNM=yes
2404 DEFAULT_wxUSE_XPM=yes
2405 DEFAULT_wxUSE_ICO_CUR=yes
2406 DEFAULT_wxUSE_ACCESSIBILITY=no
2407
2408 DEFAULT_wxUSE_MONOLITHIC=no
2409 DEFAULT_wxUSE_PLUGINS=no
2410 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2411
2412 DEFAULT_wxUSE_GTK2=yes
2413 fi
2414
2415
2416
2417 for toolkit in `echo $ALL_TOOLKITS`; do
2418 LINE=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2419 if test "x$LINE" != "x" ; then
2420 has_toolkit_in_cache=1
2421 eval "DEFAULT_$LINE"
2422 eval "CACHE_$toolkit=1"
2423 fi
2424 done
2425
2426
2427
2428 enablestring=
2429 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2430 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6
2431 no_cache=0
2432 # Check whether --enable-gui or --disable-gui was given.
2433 if test "${enable_gui+set}" = set; then
2434 enableval="$enable_gui"
2435
2436 if test "$enableval" = yes; then
2437 ac_cv_use_gui='wxUSE_GUI=yes'
2438 else
2439 ac_cv_use_gui='wxUSE_GUI=no'
2440 fi
2441
2442 else
2443
2444 LINE=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
2445 if test "x$LINE" != x ; then
2446 eval "DEFAULT_$LINE"
2447 else
2448 no_cache=1
2449 fi
2450
2451 ac_cv_use_gui='wxUSE_GUI='$DEFAULT_wxUSE_GUI
2452
2453 fi;
2454
2455 eval "$ac_cv_use_gui"
2456 if test "$no_cache" != 1; then
2457 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2458 fi
2459
2460 if test "$wxUSE_GUI" = yes; then
2461 echo "$as_me:$LINENO: result: yes" >&5
2462 echo "${ECHO_T}yes" >&6
2463 else
2464 echo "$as_me:$LINENO: result: no" >&5
2465 echo "${ECHO_T}no" >&6
2466 fi
2467
2468
2469 enablestring=
2470 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2471 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6
2472 no_cache=0
2473 # Check whether --enable-monolithic or --disable-monolithic was given.
2474 if test "${enable_monolithic+set}" = set; then
2475 enableval="$enable_monolithic"
2476
2477 if test "$enableval" = yes; then
2478 ac_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
2479 else
2480 ac_cv_use_monolithic='wxUSE_MONOLITHIC=no'
2481 fi
2482
2483 else
2484
2485 LINE=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
2486 if test "x$LINE" != x ; then
2487 eval "DEFAULT_$LINE"
2488 else
2489 no_cache=1
2490 fi
2491
2492 ac_cv_use_monolithic='wxUSE_MONOLITHIC='$DEFAULT_wxUSE_MONOLITHIC
2493
2494 fi;
2495
2496 eval "$ac_cv_use_monolithic"
2497 if test "$no_cache" != 1; then
2498 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
2499 fi
2500
2501 if test "$wxUSE_MONOLITHIC" = yes; then
2502 echo "$as_me:$LINENO: result: yes" >&5
2503 echo "${ECHO_T}yes" >&6
2504 else
2505 echo "$as_me:$LINENO: result: no" >&5
2506 echo "${ECHO_T}no" >&6
2507 fi
2508
2509
2510 enablestring=
2511 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
2512 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6
2513 no_cache=0
2514 # Check whether --enable-plugins or --disable-plugins was given.
2515 if test "${enable_plugins+set}" = set; then
2516 enableval="$enable_plugins"
2517
2518 if test "$enableval" = yes; then
2519 ac_cv_use_plugins='wxUSE_PLUGINS=yes'
2520 else
2521 ac_cv_use_plugins='wxUSE_PLUGINS=no'
2522 fi
2523
2524 else
2525
2526 LINE=`grep "wxUSE_PLUGINS" ${wx_arg_cache_file}`
2527 if test "x$LINE" != x ; then
2528 eval "DEFAULT_$LINE"
2529 else
2530 no_cache=1
2531 fi
2532
2533 ac_cv_use_plugins='wxUSE_PLUGINS='$DEFAULT_wxUSE_PLUGINS
2534
2535 fi;
2536
2537 eval "$ac_cv_use_plugins"
2538 if test "$no_cache" != 1; then
2539 echo $ac_cv_use_plugins >> ${wx_arg_cache_file}.tmp
2540 fi
2541
2542 if test "$wxUSE_PLUGINS" = yes; then
2543 echo "$as_me:$LINENO: result: yes" >&5
2544 echo "${ECHO_T}yes" >&6
2545 else
2546 echo "$as_me:$LINENO: result: no" >&5
2547 echo "${ECHO_T}no" >&6
2548 fi
2549
2550
2551 if test "$wxUSE_GUI" = "yes"; then
2552
2553
2554 enablestring=
2555 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
2556 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6
2557 no_cache=0
2558 # Check whether --enable-universal or --disable-universal was given.
2559 if test "${enable_universal+set}" = set; then
2560 enableval="$enable_universal"
2561
2562 if test "$enableval" = yes; then
2563 ac_cv_use_universal='wxUSE_UNIVERSAL=yes'
2564 else
2565 ac_cv_use_universal='wxUSE_UNIVERSAL=no'
2566 fi
2567
2568 else
2569
2570 LINE=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
2571 if test "x$LINE" != x ; then
2572 eval "DEFAULT_$LINE"
2573 else
2574 no_cache=1
2575 fi
2576
2577 ac_cv_use_universal='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
2578
2579 fi;
2580
2581 eval "$ac_cv_use_universal"
2582 if test "$no_cache" != 1; then
2583 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
2584 fi
2585
2586 if test "$wxUSE_UNIVERSAL" = yes; then
2587 echo "$as_me:$LINENO: result: yes" >&5
2588 echo "${ECHO_T}yes" >&6
2589 else
2590 echo "$as_me:$LINENO: result: no" >&5
2591 echo "${ECHO_T}no" >&6
2592 fi
2593
2594
2595 # Check whether --with-gtk or --without-gtk was given.
2596 if test "${with_gtk+set}" = set; then
2597 withval="$with_gtk"
2598 wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
2599 fi;
2600
2601 # Check whether --with-motif or --without-motif was given.
2602 if test "${with_motif+set}" = set; then
2603 withval="$with_motif"
2604 wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
2605 fi;
2606
2607 # Check whether --with-mac or --without-mac was given.
2608 if test "${with_mac+set}" = set; then
2609 withval="$with_mac"
2610 wxUSE_MAC="$withval" CACHE_MAC=1 TOOLKIT_GIVEN=1
2611 fi;
2612
2613 # Check whether --with-cocoa or --without-cocoa was given.
2614 if test "${with_cocoa+set}" = set; then
2615 withval="$with_cocoa"
2616 wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
2617 fi;
2618
2619 # Check whether --with-wine or --without-wine was given.
2620 if test "${with_wine+set}" = set; then
2621 withval="$with_wine"
2622 wxUSE_WINE="$withval" CACHE_WINE=1
2623 fi;
2624
2625 # Check whether --with-msw or --without-msw was given.
2626 if test "${with_msw+set}" = set; then
2627 withval="$with_msw"
2628 wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
2629 fi;
2630
2631 # Check whether --with-pm or --without-pm was given.
2632 if test "${with_pm+set}" = set; then
2633 withval="$with_pm"
2634 wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
2635 fi;
2636
2637 # Check whether --with-mgl or --without-mgl was given.
2638 if test "${with_mgl+set}" = set; then
2639 withval="$with_mgl"
2640 wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
2641 fi;
2642
2643 # Check whether --with-microwin or --without-microwin was given.
2644 if test "${with_microwin+set}" = set; then
2645 withval="$with_microwin"
2646 wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
2647 fi;
2648
2649 # Check whether --with-x11 or --without-x11 was given.
2650 if test "${with_x11+set}" = set; then
2651 withval="$with_x11"
2652 wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
2653 fi;
2654
2655 enablestring=
2656 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
2657 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6
2658 no_cache=0
2659 # Check whether --enable-nanox or --disable-nanox was given.
2660 if test "${enable_nanox+set}" = set; then
2661 enableval="$enable_nanox"
2662
2663 if test "$enableval" = yes; then
2664 ac_cv_use_nanox='wxUSE_NANOX=yes'
2665 else
2666 ac_cv_use_nanox='wxUSE_NANOX=no'
2667 fi
2668
2669 else
2670
2671 LINE=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
2672 if test "x$LINE" != x ; then
2673 eval "DEFAULT_$LINE"
2674 else
2675 no_cache=1
2676 fi
2677
2678 ac_cv_use_nanox='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
2679
2680 fi;
2681
2682 eval "$ac_cv_use_nanox"
2683 if test "$no_cache" != 1; then
2684 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
2685 fi
2686
2687 if test "$wxUSE_NANOX" = yes; then
2688 echo "$as_me:$LINENO: result: yes" >&5
2689 echo "${ECHO_T}yes" >&6
2690 else
2691 echo "$as_me:$LINENO: result: no" >&5
2692 echo "${ECHO_T}no" >&6
2693 fi
2694
2695
2696
2697 enablestring=
2698 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gtk2" >&5
2699 echo $ECHO_N "checking for --${enablestring:-enable}-gtk2... $ECHO_C" >&6
2700 no_cache=0
2701 # Check whether --enable-gtk2 or --disable-gtk2 was given.
2702 if test "${enable_gtk2+set}" = set; then
2703 enableval="$enable_gtk2"
2704
2705 if test "$enableval" = yes; then
2706 ac_cv_use_gtk2='wxUSE_GTK2=yes'
2707 else
2708 ac_cv_use_gtk2='wxUSE_GTK2=no'
2709 fi
2710
2711 else
2712
2713 LINE=`grep "wxUSE_GTK2" ${wx_arg_cache_file}`
2714 if test "x$LINE" != x ; then
2715 eval "DEFAULT_$LINE"
2716 else
2717 no_cache=1
2718 fi
2719
2720 ac_cv_use_gtk2='wxUSE_GTK2='$DEFAULT_wxUSE_GTK2
2721
2722 fi;
2723
2724 eval "$ac_cv_use_gtk2"
2725 if test "$no_cache" != 1; then
2726 echo $ac_cv_use_gtk2 >> ${wx_arg_cache_file}.tmp
2727 fi
2728
2729 if test "$wxUSE_GTK2" = yes; then
2730 echo "$as_me:$LINENO: result: yes" >&5
2731 echo "${ECHO_T}yes" >&6
2732 else
2733 echo "$as_me:$LINENO: result: no" >&5
2734 echo "${ECHO_T}no" >&6
2735 fi
2736
2737
2738 enablestring=
2739 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
2740 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6
2741 no_cache=0
2742 # Check whether --enable-gpe or --disable-gpe was given.
2743 if test "${enable_gpe+set}" = set; then
2744 enableval="$enable_gpe"
2745
2746 if test "$enableval" = yes; then
2747 ac_cv_use_gpe='wxUSE_GPE=yes'
2748 else
2749 ac_cv_use_gpe='wxUSE_GPE=no'
2750 fi
2751
2752 else
2753
2754 LINE=`grep "wxUSE_GPE" ${wx_arg_cache_file}`
2755 if test "x$LINE" != x ; then
2756 eval "DEFAULT_$LINE"
2757 else
2758 no_cache=1
2759 fi
2760
2761 ac_cv_use_gpe='wxUSE_GPE='$DEFAULT_wxUSE_GPE
2762
2763 fi;
2764
2765 eval "$ac_cv_use_gpe"
2766 if test "$no_cache" != 1; then
2767 echo $ac_cv_use_gpe >> ${wx_arg_cache_file}.tmp
2768 fi
2769
2770 if test "$wxUSE_GPE" = yes; then
2771 echo "$as_me:$LINENO: result: yes" >&5
2772 echo "${ECHO_T}yes" >&6
2773 else
2774 echo "$as_me:$LINENO: result: no" >&5
2775 echo "${ECHO_T}no" >&6
2776 fi
2777
2778
2779
2780 echo "$as_me:$LINENO: checking for --with-libpng" >&5
2781 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
2782 no_cache=0
2783
2784 # Check whether --with-libpng or --without-libpng was given.
2785 if test "${with_libpng+set}" = set; then
2786 withval="$with_libpng"
2787
2788 if test "$withval" = yes; then
2789 ac_cv_use_libpng='wxUSE_LIBPNG=yes'
2790 elif test "$withval" = no; then
2791 ac_cv_use_libpng='wxUSE_LIBPNG=no'
2792 elif test "$withval" = sys; then
2793 ac_cv_use_libpng='wxUSE_LIBPNG=sys'
2794 elif test "$withval" = builtin; then
2795 ac_cv_use_libpng='wxUSE_LIBPNG=builtin'
2796 else
2797 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2798 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2799 { (exit 1); exit 1; }; }
2800 fi
2801
2802 else
2803
2804 LINE=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
2805 if test "x$LINE" != x ; then
2806 eval "DEFAULT_$LINE"
2807 else
2808 no_cache=1
2809 fi
2810
2811 ac_cv_use_libpng='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
2812
2813 fi;
2814
2815 eval "$ac_cv_use_libpng"
2816 if test "$no_cache" != 1; then
2817 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
2818 fi
2819
2820 if test "$wxUSE_LIBPNG" = yes; then
2821 echo "$as_me:$LINENO: result: yes" >&5
2822 echo "${ECHO_T}yes" >&6
2823 elif test "$wxUSE_LIBPNG" = no; then
2824 echo "$as_me:$LINENO: result: no" >&5
2825 echo "${ECHO_T}no" >&6
2826 elif test "$wxUSE_LIBPNG" = sys; then
2827 echo "$as_me:$LINENO: result: system version" >&5
2828 echo "${ECHO_T}system version" >&6
2829 elif test "$wxUSE_LIBPNG" = builtin; then
2830 echo "$as_me:$LINENO: result: builtin version" >&5
2831 echo "${ECHO_T}builtin version" >&6
2832 else
2833 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2834 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2835 { (exit 1); exit 1; }; }
2836 fi
2837
2838
2839 echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
2840 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
2841 no_cache=0
2842
2843 # Check whether --with-libjpeg or --without-libjpeg was given.
2844 if test "${with_libjpeg+set}" = set; then
2845 withval="$with_libjpeg"
2846
2847 if test "$withval" = yes; then
2848 ac_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
2849 elif test "$withval" = no; then
2850 ac_cv_use_libjpeg='wxUSE_LIBJPEG=no'
2851 elif test "$withval" = sys; then
2852 ac_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
2853 elif test "$withval" = builtin; then
2854 ac_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
2855 else
2856 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2857 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2858 { (exit 1); exit 1; }; }
2859 fi
2860
2861 else
2862
2863 LINE=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
2864 if test "x$LINE" != x ; then
2865 eval "DEFAULT_$LINE"
2866 else
2867 no_cache=1
2868 fi
2869
2870 ac_cv_use_libjpeg='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
2871
2872 fi;
2873
2874 eval "$ac_cv_use_libjpeg"
2875 if test "$no_cache" != 1; then
2876 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
2877 fi
2878
2879 if test "$wxUSE_LIBJPEG" = yes; then
2880 echo "$as_me:$LINENO: result: yes" >&5
2881 echo "${ECHO_T}yes" >&6
2882 elif test "$wxUSE_LIBJPEG" = no; then
2883 echo "$as_me:$LINENO: result: no" >&5
2884 echo "${ECHO_T}no" >&6
2885 elif test "$wxUSE_LIBJPEG" = sys; then
2886 echo "$as_me:$LINENO: result: system version" >&5
2887 echo "${ECHO_T}system version" >&6
2888 elif test "$wxUSE_LIBJPEG" = builtin; then
2889 echo "$as_me:$LINENO: result: builtin version" >&5
2890 echo "${ECHO_T}builtin version" >&6
2891 else
2892 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2893 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2894 { (exit 1); exit 1; }; }
2895 fi
2896
2897
2898 echo "$as_me:$LINENO: checking for --with-libtiff" >&5
2899 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
2900 no_cache=0
2901
2902 # Check whether --with-libtiff or --without-libtiff was given.
2903 if test "${with_libtiff+set}" = set; then
2904 withval="$with_libtiff"
2905
2906 if test "$withval" = yes; then
2907 ac_cv_use_libtiff='wxUSE_LIBTIFF=yes'
2908 elif test "$withval" = no; then
2909 ac_cv_use_libtiff='wxUSE_LIBTIFF=no'
2910 elif test "$withval" = sys; then
2911 ac_cv_use_libtiff='wxUSE_LIBTIFF=sys'
2912 elif test "$withval" = builtin; then
2913 ac_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
2914 else
2915 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2916 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2917 { (exit 1); exit 1; }; }
2918 fi
2919
2920 else
2921
2922 LINE=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
2923 if test "x$LINE" != x ; then
2924 eval "DEFAULT_$LINE"
2925 else
2926 no_cache=1
2927 fi
2928
2929 ac_cv_use_libtiff='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
2930
2931 fi;
2932
2933 eval "$ac_cv_use_libtiff"
2934 if test "$no_cache" != 1; then
2935 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
2936 fi
2937
2938 if test "$wxUSE_LIBTIFF" = yes; then
2939 echo "$as_me:$LINENO: result: yes" >&5
2940 echo "${ECHO_T}yes" >&6
2941 elif test "$wxUSE_LIBTIFF" = no; then
2942 echo "$as_me:$LINENO: result: no" >&5
2943 echo "${ECHO_T}no" >&6
2944 elif test "$wxUSE_LIBTIFF" = sys; then
2945 echo "$as_me:$LINENO: result: system version" >&5
2946 echo "${ECHO_T}system version" >&6
2947 elif test "$wxUSE_LIBTIFF" = builtin; then
2948 echo "$as_me:$LINENO: result: builtin version" >&5
2949 echo "${ECHO_T}builtin version" >&6
2950 else
2951 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2952 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2953 { (exit 1); exit 1; }; }
2954 fi
2955
2956
2957 echo "$as_me:$LINENO: checking for --with-libxpm" >&5
2958 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6
2959 no_cache=0
2960
2961 # Check whether --with-libxpm or --without-libxpm was given.
2962 if test "${with_libxpm+set}" = set; then
2963 withval="$with_libxpm"
2964
2965 if test "$withval" = yes; then
2966 ac_cv_use_libxpm='wxUSE_LIBXPM=yes'
2967 elif test "$withval" = no; then
2968 ac_cv_use_libxpm='wxUSE_LIBXPM=no'
2969 elif test "$withval" = sys; then
2970 ac_cv_use_libxpm='wxUSE_LIBXPM=sys'
2971 elif test "$withval" = builtin; then
2972 ac_cv_use_libxpm='wxUSE_LIBXPM=builtin'
2973 else
2974 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
2975 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
2976 { (exit 1); exit 1; }; }
2977 fi
2978
2979 else
2980
2981 LINE=`grep "wxUSE_LIBXPM" ${wx_arg_cache_file}`
2982 if test "x$LINE" != x ; then
2983 eval "DEFAULT_$LINE"
2984 else
2985 no_cache=1
2986 fi
2987
2988 ac_cv_use_libxpm='wxUSE_LIBXPM='$DEFAULT_wxUSE_LIBXPM
2989
2990 fi;
2991
2992 eval "$ac_cv_use_libxpm"
2993 if test "$no_cache" != 1; then
2994 echo $ac_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
2995 fi
2996
2997 if test "$wxUSE_LIBXPM" = yes; then
2998 echo "$as_me:$LINENO: result: yes" >&5
2999 echo "${ECHO_T}yes" >&6
3000 elif test "$wxUSE_LIBXPM" = no; then
3001 echo "$as_me:$LINENO: result: no" >&5
3002 echo "${ECHO_T}no" >&6
3003 elif test "$wxUSE_LIBXPM" = sys; then
3004 echo "$as_me:$LINENO: result: system version" >&5
3005 echo "${ECHO_T}system version" >&6
3006 elif test "$wxUSE_LIBXPM" = builtin; then
3007 echo "$as_me:$LINENO: result: builtin version" >&5
3008 echo "${ECHO_T}builtin version" >&6
3009 else
3010 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3011 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3012 { (exit 1); exit 1; }; }
3013 fi
3014
3015
3016 echo "$as_me:$LINENO: checking for --with-libmspack" >&5
3017 echo $ECHO_N "checking for --with-libmspack... $ECHO_C" >&6
3018 no_cache=0
3019
3020 # Check whether --with-libmspack or --without-libmspack was given.
3021 if test "${with_libmspack+set}" = set; then
3022 withval="$with_libmspack"
3023
3024 if test "$withval" = yes; then
3025 ac_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3026 else
3027 ac_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3028 fi
3029
3030 else
3031
3032 LINE=`grep "wxUSE_LIBMSPACK" ${wx_arg_cache_file}`
3033 if test "x$LINE" != x ; then
3034 eval "DEFAULT_$LINE"
3035 else
3036 no_cache=1
3037 fi
3038
3039 ac_cv_use_libmspack='wxUSE_LIBMSPACK='$DEFAULT_wxUSE_LIBMSPACK
3040
3041 fi;
3042
3043 eval "$ac_cv_use_libmspack"
3044 if test "$no_cache" != 1; then
3045 echo $ac_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
3046 fi
3047
3048 if test "$wxUSE_LIBMSPACK" = yes; then
3049 echo "$as_me:$LINENO: result: yes" >&5
3050 echo "${ECHO_T}yes" >&6
3051 else
3052 echo "$as_me:$LINENO: result: no" >&5
3053 echo "${ECHO_T}no" >&6
3054 fi
3055
3056
3057 echo "$as_me:$LINENO: checking for --with-sdl" >&5
3058 echo $ECHO_N "checking for --with-sdl... $ECHO_C" >&6
3059 no_cache=0
3060
3061 # Check whether --with-sdl or --without-sdl was given.
3062 if test "${with_sdl+set}" = set; then
3063 withval="$with_sdl"
3064
3065 if test "$withval" = yes; then
3066 ac_cv_use_sdl='wxUSE_LIBSDL=yes'
3067 else
3068 ac_cv_use_sdl='wxUSE_LIBSDL=no'
3069 fi
3070
3071 else
3072
3073 LINE=`grep "wxUSE_LIBSDL" ${wx_arg_cache_file}`
3074 if test "x$LINE" != x ; then
3075 eval "DEFAULT_$LINE"
3076 else
3077 no_cache=1
3078 fi
3079
3080 ac_cv_use_sdl='wxUSE_LIBSDL='$DEFAULT_wxUSE_LIBSDL
3081
3082 fi;
3083
3084 eval "$ac_cv_use_sdl"
3085 if test "$no_cache" != 1; then
3086 echo $ac_cv_use_sdl >> ${wx_arg_cache_file}.tmp
3087 fi
3088
3089 if test "$wxUSE_LIBSDL" = yes; then
3090 echo "$as_me:$LINENO: result: yes" >&5
3091 echo "${ECHO_T}yes" >&6
3092 else
3093 echo "$as_me:$LINENO: result: no" >&5
3094 echo "${ECHO_T}no" >&6
3095 fi
3096
3097
3098 echo "$as_me:$LINENO: checking for --with-gnomeprint" >&5
3099 echo $ECHO_N "checking for --with-gnomeprint... $ECHO_C" >&6
3100 no_cache=0
3101
3102 # Check whether --with-gnomeprint or --without-gnomeprint was given.
3103 if test "${with_gnomeprint+set}" = set; then
3104 withval="$with_gnomeprint"
3105
3106 if test "$withval" = yes; then
3107 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
3108 else
3109 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
3110 fi
3111
3112 else
3113
3114 LINE=`grep "wxUSE_LIBGNOMEPRINT" ${wx_arg_cache_file}`
3115 if test "x$LINE" != x ; then
3116 eval "DEFAULT_$LINE"
3117 else
3118 no_cache=1
3119 fi
3120
3121 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT='$DEFAULT_wxUSE_LIBGNOMEPRINT
3122
3123 fi;
3124
3125 eval "$ac_cv_use_gnomeprint"
3126 if test "$no_cache" != 1; then
3127 echo $ac_cv_use_gnomeprint >> ${wx_arg_cache_file}.tmp
3128 fi
3129
3130 if test "$wxUSE_LIBGNOMEPRINT" = yes; then
3131 echo "$as_me:$LINENO: result: yes" >&5
3132 echo "${ECHO_T}yes" >&6
3133 else
3134 echo "$as_me:$LINENO: result: no" >&5
3135 echo "${ECHO_T}no" >&6
3136 fi
3137
3138
3139 echo "$as_me:$LINENO: checking for --with-opengl" >&5
3140 echo $ECHO_N "checking for --with-opengl... $ECHO_C" >&6
3141 no_cache=0
3142
3143 # Check whether --with-opengl or --without-opengl was given.
3144 if test "${with_opengl+set}" = set; then
3145 withval="$with_opengl"
3146
3147 if test "$withval" = yes; then
3148 ac_cv_use_opengl='wxUSE_OPENGL=yes'
3149 else
3150 ac_cv_use_opengl='wxUSE_OPENGL=no'
3151 fi
3152
3153 else
3154
3155 LINE=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
3156 if test "x$LINE" != x ; then
3157 eval "DEFAULT_$LINE"
3158 else
3159 no_cache=1
3160 fi
3161
3162 ac_cv_use_opengl='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
3163
3164 fi;
3165
3166 eval "$ac_cv_use_opengl"
3167 if test "$no_cache" != 1; then
3168 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
3169 fi
3170
3171 if test "$wxUSE_OPENGL" = yes; then
3172 echo "$as_me:$LINENO: result: yes" >&5
3173 echo "${ECHO_T}yes" >&6
3174 else
3175 echo "$as_me:$LINENO: result: no" >&5
3176 echo "${ECHO_T}no" >&6
3177 fi
3178
3179
3180 fi
3181
3182
3183 echo "$as_me:$LINENO: checking for --with-dmalloc" >&5
3184 echo $ECHO_N "checking for --with-dmalloc... $ECHO_C" >&6
3185 no_cache=0
3186
3187 # Check whether --with-dmalloc or --without-dmalloc was given.
3188 if test "${with_dmalloc+set}" = set; then
3189 withval="$with_dmalloc"
3190
3191 if test "$withval" = yes; then
3192 ac_cv_use_dmalloc='wxUSE_DMALLOC=yes'
3193 else
3194 ac_cv_use_dmalloc='wxUSE_DMALLOC=no'
3195 fi
3196
3197 else
3198
3199 LINE=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
3200 if test "x$LINE" != x ; then
3201 eval "DEFAULT_$LINE"
3202 else
3203 no_cache=1
3204 fi
3205
3206 ac_cv_use_dmalloc='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
3207
3208 fi;
3209
3210 eval "$ac_cv_use_dmalloc"
3211 if test "$no_cache" != 1; then
3212 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
3213 fi
3214
3215 if test "$wxUSE_DMALLOC" = yes; then
3216 echo "$as_me:$LINENO: result: yes" >&5
3217 echo "${ECHO_T}yes" >&6
3218 else
3219 echo "$as_me:$LINENO: result: no" >&5
3220 echo "${ECHO_T}no" >&6
3221 fi
3222
3223
3224 echo "$as_me:$LINENO: checking for --with-regex" >&5
3225 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
3226 no_cache=0
3227
3228 # Check whether --with-regex or --without-regex was given.
3229 if test "${with_regex+set}" = set; then
3230 withval="$with_regex"
3231
3232 if test "$withval" = yes; then
3233 ac_cv_use_regex='wxUSE_REGEX=yes'
3234 elif test "$withval" = no; then
3235 ac_cv_use_regex='wxUSE_REGEX=no'
3236 elif test "$withval" = sys; then
3237 ac_cv_use_regex='wxUSE_REGEX=sys'
3238 elif test "$withval" = builtin; then
3239 ac_cv_use_regex='wxUSE_REGEX=builtin'
3240 else
3241 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3242 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3243 { (exit 1); exit 1; }; }
3244 fi
3245
3246 else
3247
3248 LINE=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
3249 if test "x$LINE" != x ; then
3250 eval "DEFAULT_$LINE"
3251 else
3252 no_cache=1
3253 fi
3254
3255 ac_cv_use_regex='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
3256
3257 fi;
3258
3259 eval "$ac_cv_use_regex"
3260 if test "$no_cache" != 1; then
3261 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
3262 fi
3263
3264 if test "$wxUSE_REGEX" = yes; then
3265 echo "$as_me:$LINENO: result: yes" >&5
3266 echo "${ECHO_T}yes" >&6
3267 elif test "$wxUSE_REGEX" = no; then
3268 echo "$as_me:$LINENO: result: no" >&5
3269 echo "${ECHO_T}no" >&6
3270 elif test "$wxUSE_REGEX" = sys; then
3271 echo "$as_me:$LINENO: result: system version" >&5
3272 echo "${ECHO_T}system version" >&6
3273 elif test "$wxUSE_REGEX" = builtin; then
3274 echo "$as_me:$LINENO: result: builtin version" >&5
3275 echo "${ECHO_T}builtin version" >&6
3276 else
3277 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3278 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3279 { (exit 1); exit 1; }; }
3280 fi
3281
3282
3283 echo "$as_me:$LINENO: checking for --with-zlib" >&5
3284 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
3285 no_cache=0
3286
3287 # Check whether --with-zlib or --without-zlib was given.
3288 if test "${with_zlib+set}" = set; then
3289 withval="$with_zlib"
3290
3291 if test "$withval" = yes; then
3292 ac_cv_use_zlib='wxUSE_ZLIB=yes'
3293 elif test "$withval" = no; then
3294 ac_cv_use_zlib='wxUSE_ZLIB=no'
3295 elif test "$withval" = sys; then
3296 ac_cv_use_zlib='wxUSE_ZLIB=sys'
3297 elif test "$withval" = builtin; then
3298 ac_cv_use_zlib='wxUSE_ZLIB=builtin'
3299 else
3300 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3301 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3302 { (exit 1); exit 1; }; }
3303 fi
3304
3305 else
3306
3307 LINE=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
3308 if test "x$LINE" != x ; then
3309 eval "DEFAULT_$LINE"
3310 else
3311 no_cache=1
3312 fi
3313
3314 ac_cv_use_zlib='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
3315
3316 fi;
3317
3318 eval "$ac_cv_use_zlib"
3319 if test "$no_cache" != 1; then
3320 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
3321 fi
3322
3323 if test "$wxUSE_ZLIB" = yes; then
3324 echo "$as_me:$LINENO: result: yes" >&5
3325 echo "${ECHO_T}yes" >&6
3326 elif test "$wxUSE_ZLIB" = no; then
3327 echo "$as_me:$LINENO: result: no" >&5
3328 echo "${ECHO_T}no" >&6
3329 elif test "$wxUSE_ZLIB" = sys; then
3330 echo "$as_me:$LINENO: result: system version" >&5
3331 echo "${ECHO_T}system version" >&6
3332 elif test "$wxUSE_ZLIB" = builtin; then
3333 echo "$as_me:$LINENO: result: builtin version" >&5
3334 echo "${ECHO_T}builtin version" >&6
3335 else
3336 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3337 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3338 { (exit 1); exit 1; }; }
3339 fi
3340
3341
3342 echo "$as_me:$LINENO: checking for --with-odbc" >&5
3343 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6
3344 no_cache=0
3345
3346 # Check whether --with-odbc or --without-odbc was given.
3347 if test "${with_odbc+set}" = set; then
3348 withval="$with_odbc"
3349
3350 if test "$withval" = yes; then
3351 ac_cv_use_odbc='wxUSE_ODBC=yes'
3352 elif test "$withval" = no; then
3353 ac_cv_use_odbc='wxUSE_ODBC=no'
3354 elif test "$withval" = sys; then
3355 ac_cv_use_odbc='wxUSE_ODBC=sys'
3356 elif test "$withval" = builtin; then
3357 ac_cv_use_odbc='wxUSE_ODBC=builtin'
3358 else
3359 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3360 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3361 { (exit 1); exit 1; }; }
3362 fi
3363
3364 else
3365
3366 LINE=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
3367 if test "x$LINE" != x ; then
3368 eval "DEFAULT_$LINE"
3369 else
3370 no_cache=1
3371 fi
3372
3373 ac_cv_use_odbc='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
3374
3375 fi;
3376
3377 eval "$ac_cv_use_odbc"
3378 if test "$no_cache" != 1; then
3379 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
3380 fi
3381
3382 if test "$wxUSE_ODBC" = yes; then
3383 echo "$as_me:$LINENO: result: yes" >&5
3384 echo "${ECHO_T}yes" >&6
3385 elif test "$wxUSE_ODBC" = no; then
3386 echo "$as_me:$LINENO: result: no" >&5
3387 echo "${ECHO_T}no" >&6
3388 elif test "$wxUSE_ODBC" = sys; then
3389 echo "$as_me:$LINENO: result: system version" >&5
3390 echo "${ECHO_T}system version" >&6
3391 elif test "$wxUSE_ODBC" = builtin; then
3392 echo "$as_me:$LINENO: result: builtin version" >&5
3393 echo "${ECHO_T}builtin version" >&6
3394 else
3395 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3396 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3397 { (exit 1); exit 1; }; }
3398 fi
3399
3400
3401 echo "$as_me:$LINENO: checking for --with-expat" >&5
3402 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6
3403 no_cache=0
3404
3405 # Check whether --with-expat or --without-expat was given.
3406 if test "${with_expat+set}" = set; then
3407 withval="$with_expat"
3408
3409 if test "$withval" = yes; then
3410 ac_cv_use_expat='wxUSE_EXPAT=yes'
3411 elif test "$withval" = no; then
3412 ac_cv_use_expat='wxUSE_EXPAT=no'
3413 elif test "$withval" = sys; then
3414 ac_cv_use_expat='wxUSE_EXPAT=sys'
3415 elif test "$withval" = builtin; then
3416 ac_cv_use_expat='wxUSE_EXPAT=builtin'
3417 else
3418 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3419 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3420 { (exit 1); exit 1; }; }
3421 fi
3422
3423 else
3424
3425 LINE=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
3426 if test "x$LINE" != x ; then
3427 eval "DEFAULT_$LINE"
3428 else
3429 no_cache=1
3430 fi
3431
3432 ac_cv_use_expat='wxUSE_EXPAT='$DEFAULT_wxUSE_EXPAT
3433
3434 fi;
3435
3436 eval "$ac_cv_use_expat"
3437 if test "$no_cache" != 1; then
3438 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
3439 fi
3440
3441 if test "$wxUSE_EXPAT" = yes; then
3442 echo "$as_me:$LINENO: result: yes" >&5
3443 echo "${ECHO_T}yes" >&6
3444 elif test "$wxUSE_EXPAT" = no; then
3445 echo "$as_me:$LINENO: result: no" >&5
3446 echo "${ECHO_T}no" >&6
3447 elif test "$wxUSE_EXPAT" = sys; then
3448 echo "$as_me:$LINENO: result: system version" >&5
3449 echo "${ECHO_T}system version" >&6
3450 elif test "$wxUSE_EXPAT" = builtin; then
3451 echo "$as_me:$LINENO: result: builtin version" >&5
3452 echo "${ECHO_T}builtin version" >&6
3453 else
3454 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3455 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3456 { (exit 1); exit 1; }; }
3457 fi
3458
3459
3460
3461
3462 enablestring=
3463 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
3464 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6
3465 no_cache=0
3466 # Check whether --enable-shared or --disable-shared was given.
3467 if test "${enable_shared+set}" = set; then
3468 enableval="$enable_shared"
3469
3470 if test "$enableval" = yes; then
3471 ac_cv_use_shared='wxUSE_SHARED=yes'
3472 else
3473 ac_cv_use_shared='wxUSE_SHARED=no'
3474 fi
3475
3476 else
3477
3478 LINE=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
3479 if test "x$LINE" != x ; then
3480 eval "DEFAULT_$LINE"
3481 else
3482 no_cache=1
3483 fi
3484
3485 ac_cv_use_shared='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
3486
3487 fi;
3488
3489 eval "$ac_cv_use_shared"
3490 if test "$no_cache" != 1; then
3491 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
3492 fi
3493
3494 if test "$wxUSE_SHARED" = yes; then
3495 echo "$as_me:$LINENO: result: yes" >&5
3496 echo "${ECHO_T}yes" >&6
3497 else
3498 echo "$as_me:$LINENO: result: no" >&5
3499 echo "${ECHO_T}no" >&6
3500 fi
3501
3502
3503 enablestring=
3504 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
3505 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6
3506 no_cache=0
3507 # Check whether --enable-optimise or --disable-optimise was given.
3508 if test "${enable_optimise+set}" = set; then
3509 enableval="$enable_optimise"
3510
3511 if test "$enableval" = yes; then
3512 ac_cv_use_optimise='wxUSE_OPTIMISE=yes'
3513 else
3514 ac_cv_use_optimise='wxUSE_OPTIMISE=no'
3515 fi
3516
3517 else
3518
3519 LINE=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
3520 if test "x$LINE" != x ; then
3521 eval "DEFAULT_$LINE"
3522 else
3523 no_cache=1
3524 fi
3525
3526 ac_cv_use_optimise='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
3527
3528 fi;
3529
3530 eval "$ac_cv_use_optimise"
3531 if test "$no_cache" != 1; then
3532 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
3533 fi
3534
3535 if test "$wxUSE_OPTIMISE" = yes; then
3536 echo "$as_me:$LINENO: result: yes" >&5
3537 echo "${ECHO_T}yes" >&6
3538 else
3539 echo "$as_me:$LINENO: result: no" >&5
3540 echo "${ECHO_T}no" >&6
3541 fi
3542
3543
3544 enablestring=
3545 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
3546 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6
3547 no_cache=0
3548 # Check whether --enable-debug or --disable-debug was given.
3549 if test "${enable_debug+set}" = set; then
3550 enableval="$enable_debug"
3551
3552 if test "$enableval" = yes; then
3553 ac_cv_use_debug='wxUSE_DEBUG=yes'
3554 else
3555 ac_cv_use_debug='wxUSE_DEBUG=no'
3556 fi
3557
3558 else
3559
3560 LINE=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
3561 if test "x$LINE" != x ; then
3562 eval "DEFAULT_$LINE"
3563 else
3564 no_cache=1
3565 fi
3566
3567 ac_cv_use_debug='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
3568
3569 fi;
3570
3571 eval "$ac_cv_use_debug"
3572 if test "$no_cache" != 1; then
3573 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
3574 fi
3575
3576 if test "$wxUSE_DEBUG" = yes; then
3577 echo "$as_me:$LINENO: result: yes" >&5
3578 echo "${ECHO_T}yes" >&6
3579 else
3580 echo "$as_me:$LINENO: result: no" >&5
3581 echo "${ECHO_T}no" >&6
3582 fi
3583
3584
3585 enablestring=
3586 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
3587 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6
3588 no_cache=0
3589 # Check whether --enable-stl or --disable-stl was given.
3590 if test "${enable_stl+set}" = set; then
3591 enableval="$enable_stl"
3592
3593 if test "$enableval" = yes; then
3594 ac_cv_use_stl='wxUSE_STL=yes'
3595 else
3596 ac_cv_use_stl='wxUSE_STL=no'
3597 fi
3598
3599 else
3600
3601 LINE=`grep "wxUSE_STL" ${wx_arg_cache_file}`
3602 if test "x$LINE" != x ; then
3603 eval "DEFAULT_$LINE"
3604 else
3605 no_cache=1
3606 fi
3607
3608 ac_cv_use_stl='wxUSE_STL='$DEFAULT_wxUSE_STL
3609
3610 fi;
3611
3612 eval "$ac_cv_use_stl"
3613 if test "$no_cache" != 1; then
3614 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
3615 fi
3616
3617 if test "$wxUSE_STL" = yes; then
3618 echo "$as_me:$LINENO: result: yes" >&5
3619 echo "${ECHO_T}yes" >&6
3620 else
3621 echo "$as_me:$LINENO: result: no" >&5
3622 echo "${ECHO_T}no" >&6
3623 fi
3624
3625 if test "$USE_OS2" = "1"; then
3626
3627 enablestring=
3628 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
3629 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6
3630 no_cache=0
3631 # Check whether --enable-omf or --disable-omf was given.
3632 if test "${enable_omf+set}" = set; then
3633 enableval="$enable_omf"
3634
3635 if test "$enableval" = yes; then
3636 ac_cv_use_omf='wxUSE_OMF=yes'
3637 else
3638 ac_cv_use_omf='wxUSE_OMF=no'
3639 fi
3640
3641 else
3642
3643 LINE=`grep "wxUSE_OMF" ${wx_arg_cache_file}`
3644 if test "x$LINE" != x ; then
3645 eval "DEFAULT_$LINE"
3646 else
3647 no_cache=1
3648 fi
3649
3650 ac_cv_use_omf='wxUSE_OMF='$DEFAULT_wxUSE_OMF
3651
3652 fi;
3653
3654 eval "$ac_cv_use_omf"
3655 if test "$no_cache" != 1; then
3656 echo $ac_cv_use_omf >> ${wx_arg_cache_file}.tmp
3657 fi
3658
3659 if test "$wxUSE_OMF" = yes; then
3660 echo "$as_me:$LINENO: result: yes" >&5
3661 echo "${ECHO_T}yes" >&6
3662 else
3663 echo "$as_me:$LINENO: result: no" >&5
3664 echo "${ECHO_T}no" >&6
3665 fi
3666
3667 fi
3668
3669 if test "$wxUSE_DEBUG" = "yes"; then
3670 DEFAULT_wxUSE_DEBUG_FLAG=yes
3671 DEFAULT_wxUSE_DEBUG_INFO=yes
3672 BUILD=debug
3673 elif test "$wxUSE_DEBUG" = "no"; then
3674 DEFAULT_wxUSE_DEBUG_FLAG=no
3675 DEFAULT_wxUSE_DEBUG_INFO=no
3676 BUILD=release
3677 fi
3678
3679
3680 enablestring=
3681 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
3682 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6
3683 no_cache=0
3684 # Check whether --enable-debug_flag or --disable-debug_flag was given.
3685 if test "${enable_debug_flag+set}" = set; then
3686 enableval="$enable_debug_flag"
3687
3688 if test "$enableval" = yes; then
3689 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
3690 else
3691 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
3692 fi
3693
3694 else
3695
3696 LINE=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
3697 if test "x$LINE" != x ; then
3698 eval "DEFAULT_$LINE"
3699 else
3700 no_cache=1
3701 fi
3702
3703 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
3704
3705 fi;
3706
3707 eval "$ac_cv_use_debug_flag"
3708 if test "$no_cache" != 1; then
3709 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
3710 fi
3711
3712 if test "$wxUSE_DEBUG_FLAG" = yes; then
3713 echo "$as_me:$LINENO: result: yes" >&5
3714 echo "${ECHO_T}yes" >&6
3715 else
3716 echo "$as_me:$LINENO: result: no" >&5
3717 echo "${ECHO_T}no" >&6
3718 fi
3719
3720
3721 enablestring=
3722 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
3723 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
3724 no_cache=0
3725 # Check whether --enable-debug_info or --disable-debug_info was given.
3726 if test "${enable_debug_info+set}" = set; then
3727 enableval="$enable_debug_info"
3728
3729 if test "$enableval" = yes; then
3730 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
3731 else
3732 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
3733 fi
3734
3735 else
3736
3737 LINE=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
3738 if test "x$LINE" != x ; then
3739 eval "DEFAULT_$LINE"
3740 else
3741 no_cache=1
3742 fi
3743
3744 ac_cv_use_debug_info='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
3745
3746 fi;
3747
3748 eval "$ac_cv_use_debug_info"
3749 if test "$no_cache" != 1; then
3750 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
3751 fi
3752
3753 if test "$wxUSE_DEBUG_INFO" = yes; then
3754 echo "$as_me:$LINENO: result: yes" >&5
3755 echo "${ECHO_T}yes" >&6
3756 else
3757 echo "$as_me:$LINENO: result: no" >&5
3758 echo "${ECHO_T}no" >&6
3759 fi
3760
3761
3762 enablestring=
3763 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
3764 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6
3765 no_cache=0
3766 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
3767 if test "${enable_debug_gdb+set}" = set; then
3768 enableval="$enable_debug_gdb"
3769
3770 if test "$enableval" = yes; then
3771 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
3772 else
3773 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
3774 fi
3775
3776 else
3777
3778 LINE=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
3779 if test "x$LINE" != x ; then
3780 eval "DEFAULT_$LINE"
3781 else
3782 no_cache=1
3783 fi
3784
3785 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
3786
3787 fi;
3788
3789 eval "$ac_cv_use_debug_gdb"
3790 if test "$no_cache" != 1; then
3791 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
3792 fi
3793
3794 if test "$wxUSE_DEBUG_GDB" = yes; then
3795 echo "$as_me:$LINENO: result: yes" >&5
3796 echo "${ECHO_T}yes" >&6
3797 else
3798 echo "$as_me:$LINENO: result: no" >&5
3799 echo "${ECHO_T}no" >&6
3800 fi
3801
3802
3803 enablestring=
3804 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
3805 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6
3806 no_cache=0
3807 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
3808 if test "${enable_debug_cntxt+set}" = set; then
3809 enableval="$enable_debug_cntxt"
3810
3811 if test "$enableval" = yes; then
3812 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
3813 else
3814 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
3815 fi
3816
3817 else
3818
3819 LINE=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
3820 if test "x$LINE" != x ; then
3821 eval "DEFAULT_$LINE"
3822 else
3823 no_cache=1
3824 fi
3825
3826 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
3827
3828 fi;
3829
3830 eval "$ac_cv_use_debug_cntxt"
3831 if test "$no_cache" != 1; then
3832 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
3833 fi
3834
3835 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
3836 echo "$as_me:$LINENO: result: yes" >&5
3837 echo "${ECHO_T}yes" >&6
3838 else
3839 echo "$as_me:$LINENO: result: no" >&5
3840 echo "${ECHO_T}no" >&6
3841 fi
3842
3843
3844 enablestring=
3845 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
3846 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
3847 no_cache=0
3848 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
3849 if test "${enable_mem_tracing+set}" = set; then
3850 enableval="$enable_mem_tracing"
3851
3852 if test "$enableval" = yes; then
3853 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
3854 else
3855 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
3856 fi
3857
3858 else
3859
3860 LINE=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
3861 if test "x$LINE" != x ; then
3862 eval "DEFAULT_$LINE"
3863 else
3864 no_cache=1
3865 fi
3866
3867 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
3868
3869 fi;
3870
3871 eval "$ac_cv_use_mem_tracing"
3872 if test "$no_cache" != 1; then
3873 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
3874 fi
3875
3876 if test "$wxUSE_MEM_TRACING" = yes; then
3877 echo "$as_me:$LINENO: result: yes" >&5
3878 echo "${ECHO_T}yes" >&6
3879 else
3880 echo "$as_me:$LINENO: result: no" >&5
3881 echo "${ECHO_T}no" >&6
3882 fi
3883
3884
3885 enablestring=
3886 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
3887 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6
3888 no_cache=0
3889 # Check whether --enable-profile or --disable-profile was given.
3890 if test "${enable_profile+set}" = set; then
3891 enableval="$enable_profile"
3892
3893 if test "$enableval" = yes; then
3894 ac_cv_use_profile='wxUSE_PROFILE=yes'
3895 else
3896 ac_cv_use_profile='wxUSE_PROFILE=no'
3897 fi
3898
3899 else
3900
3901 LINE=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
3902 if test "x$LINE" != x ; then
3903 eval "DEFAULT_$LINE"
3904 else
3905 no_cache=1
3906 fi
3907
3908 ac_cv_use_profile='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
3909
3910 fi;
3911
3912 eval "$ac_cv_use_profile"
3913 if test "$no_cache" != 1; then
3914 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
3915 fi
3916
3917 if test "$wxUSE_PROFILE" = yes; then
3918 echo "$as_me:$LINENO: result: yes" >&5
3919 echo "${ECHO_T}yes" >&6
3920 else
3921 echo "$as_me:$LINENO: result: no" >&5
3922 echo "${ECHO_T}no" >&6
3923 fi
3924
3925
3926 enablestring=
3927 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
3928 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6
3929 no_cache=0
3930 # Check whether --enable-no_rtti or --disable-no_rtti was given.
3931 if test "${enable_no_rtti+set}" = set; then
3932 enableval="$enable_no_rtti"
3933
3934 if test "$enableval" = yes; then
3935 ac_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
3936 else
3937 ac_cv_use_no_rtti='wxUSE_NO_RTTI=no'
3938 fi
3939
3940 else
3941
3942 LINE=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
3943 if test "x$LINE" != x ; then
3944 eval "DEFAULT_$LINE"
3945 else
3946 no_cache=1
3947 fi
3948
3949 ac_cv_use_no_rtti='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
3950
3951 fi;
3952
3953 eval "$ac_cv_use_no_rtti"
3954 if test "$no_cache" != 1; then
3955 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
3956 fi
3957
3958 if test "$wxUSE_NO_RTTI" = yes; then
3959 echo "$as_me:$LINENO: result: yes" >&5
3960 echo "${ECHO_T}yes" >&6
3961 else
3962 echo "$as_me:$LINENO: result: no" >&5
3963 echo "${ECHO_T}no" >&6
3964 fi
3965
3966
3967 enablestring=
3968 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
3969 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
3970 no_cache=0
3971 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
3972 if test "${enable_no_exceptions+set}" = set; then
3973 enableval="$enable_no_exceptions"
3974
3975 if test "$enableval" = yes; then
3976 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
3977 else
3978 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
3979 fi
3980
3981 else
3982
3983 LINE=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
3984 if test "x$LINE" != x ; then
3985 eval "DEFAULT_$LINE"
3986 else
3987 no_cache=1
3988 fi
3989
3990 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
3991
3992 fi;
3993
3994 eval "$ac_cv_use_no_exceptions"
3995 if test "$no_cache" != 1; then
3996 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
3997 fi
3998
3999 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
4000 echo "$as_me:$LINENO: result: yes" >&5
4001 echo "${ECHO_T}yes" >&6
4002 else
4003 echo "$as_me:$LINENO: result: no" >&5
4004 echo "${ECHO_T}no" >&6
4005 fi
4006
4007
4008 enablestring=
4009 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
4010 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6
4011 no_cache=0
4012 # Check whether --enable-permissive or --disable-permissive was given.
4013 if test "${enable_permissive+set}" = set; then
4014 enableval="$enable_permissive"
4015
4016 if test "$enableval" = yes; then
4017 ac_cv_use_permissive='wxUSE_PERMISSIVE=yes'
4018 else
4019 ac_cv_use_permissive='wxUSE_PERMISSIVE=no'
4020 fi
4021
4022 else
4023
4024 LINE=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
4025 if test "x$LINE" != x ; then
4026 eval "DEFAULT_$LINE"
4027 else
4028 no_cache=1
4029 fi
4030
4031 ac_cv_use_permissive='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
4032
4033 fi;
4034
4035 eval "$ac_cv_use_permissive"
4036 if test "$no_cache" != 1; then
4037 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
4038 fi
4039
4040 if test "$wxUSE_PERMISSIVE" = yes; then
4041 echo "$as_me:$LINENO: result: yes" >&5
4042 echo "${ECHO_T}yes" >&6
4043 else
4044 echo "$as_me:$LINENO: result: no" >&5
4045 echo "${ECHO_T}no" >&6
4046 fi
4047
4048
4049 enablestring=
4050 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
4051 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6
4052 no_cache=0
4053 # Check whether --enable-no_deps or --disable-no_deps was given.
4054 if test "${enable_no_deps+set}" = set; then
4055 enableval="$enable_no_deps"
4056
4057 if test "$enableval" = yes; then
4058 ac_cv_use_no_deps='wxUSE_NO_DEPS=yes'
4059 else
4060 ac_cv_use_no_deps='wxUSE_NO_DEPS=no'
4061 fi
4062
4063 else
4064
4065 LINE=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
4066 if test "x$LINE" != x ; then
4067 eval "DEFAULT_$LINE"
4068 else
4069 no_cache=1
4070 fi
4071
4072 ac_cv_use_no_deps='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
4073
4074 fi;
4075
4076 eval "$ac_cv_use_no_deps"
4077 if test "$no_cache" != 1; then
4078 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
4079 fi
4080
4081 if test "$wxUSE_NO_DEPS" = yes; then
4082 echo "$as_me:$LINENO: result: yes" >&5
4083 echo "${ECHO_T}yes" >&6
4084 else
4085 echo "$as_me:$LINENO: result: no" >&5
4086 echo "${ECHO_T}no" >&6
4087 fi
4088
4089
4090
4091 enablestring=
4092 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat22" >&5
4093 echo $ECHO_N "checking for --${enablestring:-enable}-compat22... $ECHO_C" >&6
4094 no_cache=0
4095 # Check whether --enable-compat22 or --disable-compat22 was given.
4096 if test "${enable_compat22+set}" = set; then
4097 enableval="$enable_compat22"
4098
4099 if test "$enableval" = yes; then
4100 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2=yes'
4101 else
4102 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2=no'
4103 fi
4104
4105 else
4106
4107 LINE=`grep "WXWIN_COMPATIBILITY_2_2" ${wx_arg_cache_file}`
4108 if test "x$LINE" != x ; then
4109 eval "DEFAULT_$LINE"
4110 else
4111 no_cache=1
4112 fi
4113
4114 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2='$DEFAULT_WXWIN_COMPATIBILITY_2_2
4115
4116 fi;
4117
4118 eval "$ac_cv_use_compat22"
4119 if test "$no_cache" != 1; then
4120 echo $ac_cv_use_compat22 >> ${wx_arg_cache_file}.tmp
4121 fi
4122
4123 if test "$WXWIN_COMPATIBILITY_2_2" = yes; then
4124 echo "$as_me:$LINENO: result: yes" >&5
4125 echo "${ECHO_T}yes" >&6
4126 else
4127 echo "$as_me:$LINENO: result: no" >&5
4128 echo "${ECHO_T}no" >&6
4129 fi
4130
4131
4132 enablestring=disable
4133 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat24" >&5
4134 echo $ECHO_N "checking for --${enablestring:-enable}-compat24... $ECHO_C" >&6
4135 no_cache=0
4136 # Check whether --enable-compat24 or --disable-compat24 was given.
4137 if test "${enable_compat24+set}" = set; then
4138 enableval="$enable_compat24"
4139
4140 if test "$enableval" = yes; then
4141 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4=yes'
4142 else
4143 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4=no'
4144 fi
4145
4146 else
4147
4148 LINE=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
4149 if test "x$LINE" != x ; then
4150 eval "DEFAULT_$LINE"
4151 else
4152 no_cache=1
4153 fi
4154
4155 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4='$DEFAULT_WXWIN_COMPATIBILITY_2_4
4156
4157 fi;
4158
4159 eval "$ac_cv_use_compat24"
4160 if test "$no_cache" != 1; then
4161 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
4162 fi
4163
4164 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
4165 echo "$as_me:$LINENO: result: yes" >&5
4166 echo "${ECHO_T}yes" >&6
4167 else
4168 echo "$as_me:$LINENO: result: no" >&5
4169 echo "${ECHO_T}no" >&6
4170 fi
4171
4172
4173
4174 enablestring=
4175 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
4176 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6
4177 no_cache=0
4178 # Check whether --enable-rpath or --disable-rpath was given.
4179 if test "${enable_rpath+set}" = set; then
4180 enableval="$enable_rpath"
4181
4182 if test "$enableval" = yes; then
4183 ac_cv_use_rpath='wxUSE_RPATH=yes'
4184 else
4185 ac_cv_use_rpath='wxUSE_RPATH=no'
4186 fi
4187
4188 else
4189
4190 LINE=`grep "wxUSE_RPATH" ${wx_arg_cache_file}`
4191 if test "x$LINE" != x ; then
4192 eval "DEFAULT_$LINE"
4193 else
4194 no_cache=1
4195 fi
4196
4197 ac_cv_use_rpath='wxUSE_RPATH='$DEFAULT_wxUSE_RPATH
4198
4199 fi;
4200
4201 eval "$ac_cv_use_rpath"
4202 if test "$no_cache" != 1; then
4203 echo $ac_cv_use_rpath >> ${wx_arg_cache_file}.tmp
4204 fi
4205
4206 if test "$wxUSE_RPATH" = yes; then
4207 echo "$as_me:$LINENO: result: yes" >&5
4208 echo "${ECHO_T}yes" >&6
4209 else
4210 echo "$as_me:$LINENO: result: no" >&5
4211 echo "${ECHO_T}no" >&6
4212 fi
4213
4214
4215
4216
4217
4218 enablestring=
4219 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
4220 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
4221 no_cache=0
4222 # Check whether --enable-intl or --disable-intl was given.
4223 if test "${enable_intl+set}" = set; then
4224 enableval="$enable_intl"
4225
4226 if test "$enableval" = yes; then
4227 ac_cv_use_intl='wxUSE_INTL=yes'
4228 else
4229 ac_cv_use_intl='wxUSE_INTL=no'
4230 fi
4231
4232 else
4233
4234 LINE=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
4235 if test "x$LINE" != x ; then
4236 eval "DEFAULT_$LINE"
4237 else
4238 no_cache=1
4239 fi
4240
4241 ac_cv_use_intl='wxUSE_INTL='$DEFAULT_wxUSE_INTL
4242
4243 fi;
4244
4245 eval "$ac_cv_use_intl"
4246 if test "$no_cache" != 1; then
4247 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
4248 fi
4249
4250 if test "$wxUSE_INTL" = yes; then
4251 echo "$as_me:$LINENO: result: yes" >&5
4252 echo "${ECHO_T}yes" >&6
4253 else
4254 echo "$as_me:$LINENO: result: no" >&5
4255 echo "${ECHO_T}no" >&6
4256 fi
4257
4258
4259 enablestring=
4260 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
4261 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
4262 no_cache=0
4263 # Check whether --enable-config or --disable-config was given.
4264 if test "${enable_config+set}" = set; then
4265 enableval="$enable_config"
4266
4267 if test "$enableval" = yes; then
4268 ac_cv_use_config='wxUSE_CONFIG=yes'
4269 else
4270 ac_cv_use_config='wxUSE_CONFIG=no'
4271 fi
4272
4273 else
4274
4275 LINE=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
4276 if test "x$LINE" != x ; then
4277 eval "DEFAULT_$LINE"
4278 else
4279 no_cache=1
4280 fi
4281
4282 ac_cv_use_config='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
4283
4284 fi;
4285
4286 eval "$ac_cv_use_config"
4287 if test "$no_cache" != 1; then
4288 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
4289 fi
4290
4291 if test "$wxUSE_CONFIG" = yes; then
4292 echo "$as_me:$LINENO: result: yes" >&5
4293 echo "${ECHO_T}yes" >&6
4294 else
4295 echo "$as_me:$LINENO: result: no" >&5
4296 echo "${ECHO_T}no" >&6
4297 fi
4298
4299
4300
4301 enablestring=
4302 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
4303 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6
4304 no_cache=0
4305 # Check whether --enable-protocols or --disable-protocols was given.
4306 if test "${enable_protocols+set}" = set; then
4307 enableval="$enable_protocols"
4308
4309 if test "$enableval" = yes; then
4310 ac_cv_use_protocols='wxUSE_PROTOCOL=yes'
4311 else
4312 ac_cv_use_protocols='wxUSE_PROTOCOL=no'
4313 fi
4314
4315 else
4316
4317 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
4318 if test "x$LINE" != x ; then
4319 eval "DEFAULT_$LINE"
4320 else
4321 no_cache=1
4322 fi
4323
4324 ac_cv_use_protocols='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
4325
4326 fi;
4327
4328 eval "$ac_cv_use_protocols"
4329 if test "$no_cache" != 1; then
4330 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
4331 fi
4332
4333 if test "$wxUSE_PROTOCOL" = yes; then
4334 echo "$as_me:$LINENO: result: yes" >&5
4335 echo "${ECHO_T}yes" >&6
4336 else
4337 echo "$as_me:$LINENO: result: no" >&5
4338 echo "${ECHO_T}no" >&6
4339 fi
4340
4341
4342 enablestring=
4343 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
4344 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
4345 no_cache=0
4346 # Check whether --enable-ftp or --disable-ftp was given.
4347 if test "${enable_ftp+set}" = set; then
4348 enableval="$enable_ftp"
4349
4350 if test "$enableval" = yes; then
4351 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
4352 else
4353 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
4354 fi
4355
4356 else
4357
4358 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
4359 if test "x$LINE" != x ; then
4360 eval "DEFAULT_$LINE"
4361 else
4362 no_cache=1
4363 fi
4364
4365 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
4366
4367 fi;
4368
4369 eval "$ac_cv_use_ftp"
4370 if test "$no_cache" != 1; then
4371 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
4372 fi
4373
4374 if test "$wxUSE_PROTOCOL_FTP" = yes; then
4375 echo "$as_me:$LINENO: result: yes" >&5
4376 echo "${ECHO_T}yes" >&6
4377 else
4378 echo "$as_me:$LINENO: result: no" >&5
4379 echo "${ECHO_T}no" >&6
4380 fi
4381
4382
4383 enablestring=
4384 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
4385 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
4386 no_cache=0
4387 # Check whether --enable-http or --disable-http was given.
4388 if test "${enable_http+set}" = set; then
4389 enableval="$enable_http"
4390
4391 if test "$enableval" = yes; then
4392 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
4393 else
4394 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
4395 fi
4396
4397 else
4398
4399 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
4400 if test "x$LINE" != x ; then
4401 eval "DEFAULT_$LINE"
4402 else
4403 no_cache=1
4404 fi
4405
4406 ac_cv_use_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
4407
4408 fi;
4409
4410 eval "$ac_cv_use_http"
4411 if test "$no_cache" != 1; then
4412 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
4413 fi
4414
4415 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4416 echo "$as_me:$LINENO: result: yes" >&5
4417 echo "${ECHO_T}yes" >&6
4418 else
4419 echo "$as_me:$LINENO: result: no" >&5
4420 echo "${ECHO_T}no" >&6
4421 fi
4422
4423
4424 enablestring=
4425 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
4426 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6
4427 no_cache=0
4428 # Check whether --enable-fileproto or --disable-fileproto was given.
4429 if test "${enable_fileproto+set}" = set; then
4430 enableval="$enable_fileproto"
4431
4432 if test "$enableval" = yes; then
4433 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
4434 else
4435 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
4436 fi
4437
4438 else
4439
4440 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4441 if test "x$LINE" != x ; then
4442 eval "DEFAULT_$LINE"
4443 else
4444 no_cache=1
4445 fi
4446
4447 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
4448
4449 fi;
4450
4451 eval "$ac_cv_use_fileproto"
4452 if test "$no_cache" != 1; then
4453 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
4454 fi
4455
4456 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4457 echo "$as_me:$LINENO: result: yes" >&5
4458 echo "${ECHO_T}yes" >&6
4459 else
4460 echo "$as_me:$LINENO: result: no" >&5
4461 echo "${ECHO_T}no" >&6
4462 fi
4463
4464
4465 enablestring=
4466 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
4467 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
4468 no_cache=0
4469 # Check whether --enable-sockets or --disable-sockets was given.
4470 if test "${enable_sockets+set}" = set; then
4471 enableval="$enable_sockets"
4472
4473 if test "$enableval" = yes; then
4474 ac_cv_use_sockets='wxUSE_SOCKETS=yes'
4475 else
4476 ac_cv_use_sockets='wxUSE_SOCKETS=no'
4477 fi
4478
4479 else
4480
4481 LINE=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
4482 if test "x$LINE" != x ; then
4483 eval "DEFAULT_$LINE"
4484 else
4485 no_cache=1
4486 fi
4487
4488 ac_cv_use_sockets='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
4489
4490 fi;
4491
4492 eval "$ac_cv_use_sockets"
4493 if test "$no_cache" != 1; then
4494 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
4495 fi
4496
4497 if test "$wxUSE_SOCKETS" = yes; then
4498 echo "$as_me:$LINENO: result: yes" >&5
4499 echo "${ECHO_T}yes" >&6
4500 else
4501 echo "$as_me:$LINENO: result: no" >&5
4502 echo "${ECHO_T}no" >&6
4503 fi
4504
4505
4506 enablestring=
4507 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
4508 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
4509 no_cache=0
4510 # Check whether --enable-ole or --disable-ole was given.
4511 if test "${enable_ole+set}" = set; then
4512 enableval="$enable_ole"
4513
4514 if test "$enableval" = yes; then
4515 ac_cv_use_ole='wxUSE_OLE=yes'
4516 else
4517 ac_cv_use_ole='wxUSE_OLE=no'
4518 fi
4519
4520 else
4521
4522 LINE=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
4523 if test "x$LINE" != x ; then
4524 eval "DEFAULT_$LINE"
4525 else
4526 no_cache=1
4527 fi
4528
4529 ac_cv_use_ole='wxUSE_OLE='$DEFAULT_wxUSE_OLE
4530
4531 fi;
4532
4533 eval "$ac_cv_use_ole"
4534 if test "$no_cache" != 1; then
4535 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
4536 fi
4537
4538 if test "$wxUSE_OLE" = yes; then
4539 echo "$as_me:$LINENO: result: yes" >&5
4540 echo "${ECHO_T}yes" >&6
4541 else
4542 echo "$as_me:$LINENO: result: no" >&5
4543 echo "${ECHO_T}no" >&6
4544 fi
4545
4546
4547 enablestring=
4548 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
4549 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6
4550 no_cache=0
4551 # Check whether --enable-dataobj or --disable-dataobj was given.
4552 if test "${enable_dataobj+set}" = set; then
4553 enableval="$enable_dataobj"
4554
4555 if test "$enableval" = yes; then
4556 ac_cv_use_dataobj='wxUSE_DATAOBJ=yes'
4557 else
4558 ac_cv_use_dataobj='wxUSE_DATAOBJ=no'
4559 fi
4560
4561 else
4562
4563 LINE=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
4564 if test "x$LINE" != x ; then
4565 eval "DEFAULT_$LINE"
4566 else
4567 no_cache=1
4568 fi
4569
4570 ac_cv_use_dataobj='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
4571
4572 fi;
4573
4574 eval "$ac_cv_use_dataobj"
4575 if test "$no_cache" != 1; then
4576 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
4577 fi
4578
4579 if test "$wxUSE_DATAOBJ" = yes; then
4580 echo "$as_me:$LINENO: result: yes" >&5
4581 echo "${ECHO_T}yes" >&6
4582 else
4583 echo "$as_me:$LINENO: result: no" >&5
4584 echo "${ECHO_T}no" >&6
4585 fi
4586
4587
4588
4589 enablestring=
4590 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
4591 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
4592 no_cache=0
4593 # Check whether --enable-ipc or --disable-ipc was given.
4594 if test "${enable_ipc+set}" = set; then
4595 enableval="$enable_ipc"
4596
4597 if test "$enableval" = yes; then
4598 ac_cv_use_ipc='wxUSE_IPC=yes'
4599 else
4600 ac_cv_use_ipc='wxUSE_IPC=no'
4601 fi
4602
4603 else
4604
4605 LINE=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
4606 if test "x$LINE" != x ; then
4607 eval "DEFAULT_$LINE"
4608 else
4609 no_cache=1
4610 fi
4611
4612 ac_cv_use_ipc='wxUSE_IPC='$DEFAULT_wxUSE_IPC
4613
4614 fi;
4615
4616 eval "$ac_cv_use_ipc"
4617 if test "$no_cache" != 1; then
4618 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
4619 fi
4620
4621 if test "$wxUSE_IPC" = yes; then
4622 echo "$as_me:$LINENO: result: yes" >&5
4623 echo "${ECHO_T}yes" >&6
4624 else
4625 echo "$as_me:$LINENO: result: no" >&5
4626 echo "${ECHO_T}no" >&6
4627 fi
4628
4629
4630
4631 enablestring=
4632 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
4633 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6
4634 no_cache=0
4635 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
4636 if test "${enable_apple_ieee+set}" = set; then
4637 enableval="$enable_apple_ieee"
4638
4639 if test "$enableval" = yes; then
4640 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
4641 else
4642 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
4643 fi
4644
4645 else
4646
4647 LINE=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
4648 if test "x$LINE" != x ; then
4649 eval "DEFAULT_$LINE"
4650 else
4651 no_cache=1
4652 fi
4653
4654 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
4655
4656 fi;
4657
4658 eval "$ac_cv_use_apple_ieee"
4659 if test "$no_cache" != 1; then
4660 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
4661 fi
4662
4663 if test "$wxUSE_APPLE_IEEE" = yes; then
4664 echo "$as_me:$LINENO: result: yes" >&5
4665 echo "${ECHO_T}yes" >&6
4666 else
4667 echo "$as_me:$LINENO: result: no" >&5
4668 echo "${ECHO_T}no" >&6
4669 fi
4670
4671
4672 enablestring=
4673 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
4674 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
4675 no_cache=0
4676 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
4677 if test "${enable_catch_segvs+set}" = set; then
4678 enableval="$enable_catch_segvs"
4679
4680 if test "$enableval" = yes; then
4681 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
4682 else
4683 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
4684 fi
4685
4686 else
4687
4688 LINE=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
4689 if test "x$LINE" != x ; then
4690 eval "DEFAULT_$LINE"
4691 else
4692 no_cache=1
4693 fi
4694
4695 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
4696
4697 fi;
4698
4699 eval "$ac_cv_use_catch_segvs"
4700 if test "$no_cache" != 1; then
4701 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
4702 fi
4703
4704 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
4705 echo "$as_me:$LINENO: result: yes" >&5
4706 echo "${ECHO_T}yes" >&6
4707 else
4708 echo "$as_me:$LINENO: result: no" >&5
4709 echo "${ECHO_T}no" >&6
4710 fi
4711
4712
4713 enablestring=
4714 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
4715 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6
4716 no_cache=0
4717 # Check whether --enable-backtrace or --disable-backtrace was given.
4718 if test "${enable_backtrace+set}" = set; then
4719 enableval="$enable_backtrace"
4720
4721 if test "$enableval" = yes; then
4722 ac_cv_use_backtrace='wxUSE_STACKWALKER=yes'
4723 else
4724 ac_cv_use_backtrace='wxUSE_STACKWALKER=no'
4725 fi
4726
4727 else
4728
4729 LINE=`grep "wxUSE_STACKWALKER" ${wx_arg_cache_file}`
4730 if test "x$LINE" != x ; then
4731 eval "DEFAULT_$LINE"
4732 else
4733 no_cache=1
4734 fi
4735
4736 ac_cv_use_backtrace='wxUSE_STACKWALKER='$DEFAULT_wxUSE_STACKWALKER
4737
4738 fi;
4739
4740 eval "$ac_cv_use_backtrace"
4741 if test "$no_cache" != 1; then
4742 echo $ac_cv_use_backtrace >> ${wx_arg_cache_file}.tmp
4743 fi
4744
4745 if test "$wxUSE_STACKWALKER" = yes; then
4746 echo "$as_me:$LINENO: result: yes" >&5
4747 echo "${ECHO_T}yes" >&6
4748 else
4749 echo "$as_me:$LINENO: result: no" >&5
4750 echo "${ECHO_T}no" >&6
4751 fi
4752
4753
4754 enablestring=
4755 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
4756 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
4757 no_cache=0
4758 # Check whether --enable-cmdline or --disable-cmdline was given.
4759 if test "${enable_cmdline+set}" = set; then
4760 enableval="$enable_cmdline"
4761
4762 if test "$enableval" = yes; then
4763 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
4764 else
4765 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
4766 fi
4767
4768 else
4769
4770 LINE=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
4771 if test "x$LINE" != x ; then
4772 eval "DEFAULT_$LINE"
4773 else
4774 no_cache=1
4775 fi
4776
4777 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
4778
4779 fi;
4780
4781 eval "$ac_cv_use_cmdline"
4782 if test "$no_cache" != 1; then
4783 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
4784 fi
4785
4786 if test "$wxUSE_CMDLINE_PARSER" = yes; then
4787 echo "$as_me:$LINENO: result: yes" >&5
4788 echo "${ECHO_T}yes" >&6
4789 else
4790 echo "$as_me:$LINENO: result: no" >&5
4791 echo "${ECHO_T}no" >&6
4792 fi
4793
4794
4795 enablestring=
4796 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
4797 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
4798 no_cache=0
4799 # Check whether --enable-datetime or --disable-datetime was given.
4800 if test "${enable_datetime+set}" = set; then
4801 enableval="$enable_datetime"
4802
4803 if test "$enableval" = yes; then
4804 ac_cv_use_datetime='wxUSE_DATETIME=yes'
4805 else
4806 ac_cv_use_datetime='wxUSE_DATETIME=no'
4807 fi
4808
4809 else
4810
4811 LINE=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
4812 if test "x$LINE" != x ; then
4813 eval "DEFAULT_$LINE"
4814 else
4815 no_cache=1
4816 fi
4817
4818 ac_cv_use_datetime='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
4819
4820 fi;
4821
4822 eval "$ac_cv_use_datetime"
4823 if test "$no_cache" != 1; then
4824 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
4825 fi
4826
4827 if test "$wxUSE_DATETIME" = yes; then
4828 echo "$as_me:$LINENO: result: yes" >&5
4829 echo "${ECHO_T}yes" >&6
4830 else
4831 echo "$as_me:$LINENO: result: no" >&5
4832 echo "${ECHO_T}no" >&6
4833 fi
4834
4835
4836 enablestring=
4837 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
4838 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
4839 no_cache=0
4840 # Check whether --enable-dialupman or --disable-dialupman was given.
4841 if test "${enable_dialupman+set}" = set; then
4842 enableval="$enable_dialupman"
4843
4844 if test "$enableval" = yes; then
4845 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
4846 else
4847 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
4848 fi
4849
4850 else
4851
4852 LINE=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
4853 if test "x$LINE" != x ; then
4854 eval "DEFAULT_$LINE"
4855 else
4856 no_cache=1
4857 fi
4858
4859 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
4860
4861 fi;
4862
4863 eval "$ac_cv_use_dialupman"
4864 if test "$no_cache" != 1; then
4865 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
4866 fi
4867
4868 if test "$wxUSE_DIALUP_MANAGER" = yes; then
4869 echo "$as_me:$LINENO: result: yes" >&5
4870 echo "${ECHO_T}yes" >&6
4871 else
4872 echo "$as_me:$LINENO: result: no" >&5
4873 echo "${ECHO_T}no" >&6
4874 fi
4875
4876
4877 enablestring=
4878 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
4879 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
4880 no_cache=0
4881 # Check whether --enable-dynlib or --disable-dynlib was given.
4882 if test "${enable_dynlib+set}" = set; then
4883 enableval="$enable_dynlib"
4884
4885 if test "$enableval" = yes; then
4886 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
4887 else
4888 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
4889 fi
4890
4891 else
4892
4893 LINE=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
4894 if test "x$LINE" != x ; then
4895 eval "DEFAULT_$LINE"
4896 else
4897 no_cache=1
4898 fi
4899
4900 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
4901
4902 fi;
4903
4904 eval "$ac_cv_use_dynlib"
4905 if test "$no_cache" != 1; then
4906 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
4907 fi
4908
4909 if test "$wxUSE_DYNLIB_CLASS" = yes; then
4910 echo "$as_me:$LINENO: result: yes" >&5
4911 echo "${ECHO_T}yes" >&6
4912 else
4913 echo "$as_me:$LINENO: result: no" >&5
4914 echo "${ECHO_T}no" >&6
4915 fi
4916
4917
4918 enablestring=
4919 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
4920 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6
4921 no_cache=0
4922 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
4923 if test "${enable_dynamicloader+set}" = set; then
4924 enableval="$enable_dynamicloader"
4925
4926 if test "$enableval" = yes; then
4927 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
4928 else
4929 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
4930 fi
4931
4932 else
4933
4934 LINE=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
4935 if test "x$LINE" != x ; then
4936 eval "DEFAULT_$LINE"
4937 else
4938 no_cache=1
4939 fi
4940
4941 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
4942
4943 fi;
4944
4945 eval "$ac_cv_use_dynamicloader"
4946 if test "$no_cache" != 1; then
4947 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
4948 fi
4949
4950 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
4951 echo "$as_me:$LINENO: result: yes" >&5
4952 echo "${ECHO_T}yes" >&6
4953 else
4954 echo "$as_me:$LINENO: result: no" >&5
4955 echo "${ECHO_T}no" >&6
4956 fi
4957
4958
4959 enablestring=
4960 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
4961 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6
4962 no_cache=0
4963 # Check whether --enable-exceptions or --disable-exceptions was given.
4964 if test "${enable_exceptions+set}" = set; then
4965 enableval="$enable_exceptions"
4966
4967 if test "$enableval" = yes; then
4968 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
4969 else
4970 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
4971 fi
4972
4973 else
4974
4975 LINE=`grep "wxUSE_EXCEPTIONS" ${wx_arg_cache_file}`
4976 if test "x$LINE" != x ; then
4977 eval "DEFAULT_$LINE"
4978 else
4979 no_cache=1
4980 fi
4981
4982 ac_cv_use_exceptions='wxUSE_EXCEPTIONS='$DEFAULT_wxUSE_EXCEPTIONS
4983
4984 fi;
4985
4986 eval "$ac_cv_use_exceptions"
4987 if test "$no_cache" != 1; then
4988 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
4989 fi
4990
4991 if test "$wxUSE_EXCEPTIONS" = yes; then
4992 echo "$as_me:$LINENO: result: yes" >&5
4993 echo "${ECHO_T}yes" >&6
4994 else
4995 echo "$as_me:$LINENO: result: no" >&5
4996 echo "${ECHO_T}no" >&6
4997 fi
4998
4999
5000 enablestring=
5001 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
5002 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
5003 no_cache=0
5004 # Check whether --enable-ffile or --disable-ffile was given.
5005 if test "${enable_ffile+set}" = set; then
5006 enableval="$enable_ffile"
5007
5008 if test "$enableval" = yes; then
5009 ac_cv_use_ffile='wxUSE_FFILE=yes'
5010 else
5011 ac_cv_use_ffile='wxUSE_FFILE=no'
5012 fi
5013
5014 else
5015
5016 LINE=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
5017 if test "x$LINE" != x ; then
5018 eval "DEFAULT_$LINE"
5019 else
5020 no_cache=1
5021 fi
5022
5023 ac_cv_use_ffile='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
5024
5025 fi;
5026
5027 eval "$ac_cv_use_ffile"
5028 if test "$no_cache" != 1; then
5029 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
5030 fi
5031
5032 if test "$wxUSE_FFILE" = yes; then
5033 echo "$as_me:$LINENO: result: yes" >&5
5034 echo "${ECHO_T}yes" >&6
5035 else
5036 echo "$as_me:$LINENO: result: no" >&5
5037 echo "${ECHO_T}no" >&6
5038 fi
5039
5040
5041 enablestring=
5042 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
5043 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6
5044 no_cache=0
5045 # Check whether --enable-file or --disable-file was given.
5046 if test "${enable_file+set}" = set; then
5047 enableval="$enable_file"
5048
5049 if test "$enableval" = yes; then
5050 ac_cv_use_file='wxUSE_FILE=yes'
5051 else
5052 ac_cv_use_file='wxUSE_FILE=no'
5053 fi
5054
5055 else
5056
5057 LINE=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
5058 if test "x$LINE" != x ; then
5059 eval "DEFAULT_$LINE"
5060 else
5061 no_cache=1
5062 fi
5063
5064 ac_cv_use_file='wxUSE_FILE='$DEFAULT_wxUSE_FILE
5065
5066 fi;
5067
5068 eval "$ac_cv_use_file"
5069 if test "$no_cache" != 1; then
5070 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
5071 fi
5072
5073 if test "$wxUSE_FILE" = yes; then
5074 echo "$as_me:$LINENO: result: yes" >&5
5075 echo "${ECHO_T}yes" >&6
5076 else
5077 echo "$as_me:$LINENO: result: no" >&5
5078 echo "${ECHO_T}no" >&6
5079 fi
5080
5081
5082 enablestring=
5083 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
5084 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
5085 no_cache=0
5086 # Check whether --enable-filesystem or --disable-filesystem was given.
5087 if test "${enable_filesystem+set}" = set; then
5088 enableval="$enable_filesystem"
5089
5090 if test "$enableval" = yes; then
5091 ac_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
5092 else
5093 ac_cv_use_filesystem='wxUSE_FILESYSTEM=no'
5094 fi
5095
5096 else
5097
5098 LINE=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
5099 if test "x$LINE" != x ; then
5100 eval "DEFAULT_$LINE"
5101 else
5102 no_cache=1
5103 fi
5104
5105 ac_cv_use_filesystem='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
5106
5107 fi;
5108
5109 eval "$ac_cv_use_filesystem"
5110 if test "$no_cache" != 1; then
5111 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
5112 fi
5113
5114 if test "$wxUSE_FILESYSTEM" = yes; then
5115 echo "$as_me:$LINENO: result: yes" >&5
5116 echo "${ECHO_T}yes" >&6
5117 else
5118 echo "$as_me:$LINENO: result: no" >&5
5119 echo "${ECHO_T}no" >&6
5120 fi
5121
5122
5123 enablestring=
5124 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
5125 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6
5126 no_cache=0
5127 # Check whether --enable-fontmap or --disable-fontmap was given.
5128 if test "${enable_fontmap+set}" = set; then
5129 enableval="$enable_fontmap"
5130
5131 if test "$enableval" = yes; then
5132 ac_cv_use_fontmap='wxUSE_FONTMAP=yes'
5133 else
5134 ac_cv_use_fontmap='wxUSE_FONTMAP=no'
5135 fi
5136
5137 else
5138
5139 LINE=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
5140 if test "x$LINE" != x ; then
5141 eval "DEFAULT_$LINE"
5142 else
5143 no_cache=1
5144 fi
5145
5146 ac_cv_use_fontmap='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
5147
5148 fi;
5149
5150 eval "$ac_cv_use_fontmap"
5151 if test "$no_cache" != 1; then
5152 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
5153 fi
5154
5155 if test "$wxUSE_FONTMAP" = yes; then
5156 echo "$as_me:$LINENO: result: yes" >&5
5157 echo "${ECHO_T}yes" >&6
5158 else
5159 echo "$as_me:$LINENO: result: no" >&5
5160 echo "${ECHO_T}no" >&6
5161 fi
5162
5163
5164 enablestring=
5165 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
5166 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
5167 no_cache=0
5168 # Check whether --enable-fs_inet or --disable-fs_inet was given.
5169 if test "${enable_fs_inet+set}" = set; then
5170 enableval="$enable_fs_inet"
5171
5172 if test "$enableval" = yes; then
5173 ac_cv_use_fs_inet='wxUSE_FS_INET=yes'
5174 else
5175 ac_cv_use_fs_inet='wxUSE_FS_INET=no'
5176 fi
5177
5178 else
5179
5180 LINE=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
5181 if test "x$LINE" != x ; then
5182 eval "DEFAULT_$LINE"
5183 else
5184 no_cache=1
5185 fi
5186
5187 ac_cv_use_fs_inet='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
5188
5189 fi;
5190
5191 eval "$ac_cv_use_fs_inet"
5192 if test "$no_cache" != 1; then
5193 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
5194 fi
5195
5196 if test "$wxUSE_FS_INET" = yes; then
5197 echo "$as_me:$LINENO: result: yes" >&5
5198 echo "${ECHO_T}yes" >&6
5199 else
5200 echo "$as_me:$LINENO: result: no" >&5
5201 echo "${ECHO_T}no" >&6
5202 fi
5203
5204
5205 enablestring=
5206 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
5207 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6
5208 no_cache=0
5209 # Check whether --enable-fs_zip or --disable-fs_zip was given.
5210 if test "${enable_fs_zip+set}" = set; then
5211 enableval="$enable_fs_zip"
5212
5213 if test "$enableval" = yes; then
5214 ac_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
5215 else
5216 ac_cv_use_fs_zip='wxUSE_FS_ZIP=no'
5217 fi
5218
5219 else
5220
5221 LINE=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
5222 if test "x$LINE" != x ; then
5223 eval "DEFAULT_$LINE"
5224 else
5225 no_cache=1
5226 fi
5227
5228 ac_cv_use_fs_zip='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
5229
5230 fi;
5231
5232 eval "$ac_cv_use_fs_zip"
5233 if test "$no_cache" != 1; then
5234 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
5235 fi
5236
5237 if test "$wxUSE_FS_ZIP" = yes; then
5238 echo "$as_me:$LINENO: result: yes" >&5
5239 echo "${ECHO_T}yes" >&6
5240 else
5241 echo "$as_me:$LINENO: result: no" >&5
5242 echo "${ECHO_T}no" >&6
5243 fi
5244
5245
5246 enablestring=
5247 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
5248 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6
5249 no_cache=0
5250 # Check whether --enable-geometry or --disable-geometry was given.
5251 if test "${enable_geometry+set}" = set; then
5252 enableval="$enable_geometry"
5253
5254 if test "$enableval" = yes; then
5255 ac_cv_use_geometry='wxUSE_GEOMETRY=yes'
5256 else
5257 ac_cv_use_geometry='wxUSE_GEOMETRY=no'
5258 fi
5259
5260 else
5261
5262 LINE=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
5263 if test "x$LINE" != x ; then
5264 eval "DEFAULT_$LINE"
5265 else
5266 no_cache=1
5267 fi
5268
5269 ac_cv_use_geometry='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
5270
5271 fi;
5272
5273 eval "$ac_cv_use_geometry"
5274 if test "$no_cache" != 1; then
5275 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
5276 fi
5277
5278 if test "$wxUSE_GEOMETRY" = yes; then
5279 echo "$as_me:$LINENO: result: yes" >&5
5280 echo "${ECHO_T}yes" >&6
5281 else
5282 echo "$as_me:$LINENO: result: no" >&5
5283 echo "${ECHO_T}no" >&6
5284 fi
5285
5286
5287 enablestring=
5288 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
5289 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
5290 no_cache=0
5291 # Check whether --enable-log or --disable-log was given.
5292 if test "${enable_log+set}" = set; then
5293 enableval="$enable_log"
5294
5295 if test "$enableval" = yes; then
5296 ac_cv_use_log='wxUSE_LOG=yes'
5297 else
5298 ac_cv_use_log='wxUSE_LOG=no'
5299 fi
5300
5301 else
5302
5303 LINE=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
5304 if test "x$LINE" != x ; then
5305 eval "DEFAULT_$LINE"
5306 else
5307 no_cache=1
5308 fi
5309
5310 ac_cv_use_log='wxUSE_LOG='$DEFAULT_wxUSE_LOG
5311
5312 fi;
5313
5314 eval "$ac_cv_use_log"
5315 if test "$no_cache" != 1; then
5316 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
5317 fi
5318
5319 if test "$wxUSE_LOG" = yes; then
5320 echo "$as_me:$LINENO: result: yes" >&5
5321 echo "${ECHO_T}yes" >&6
5322 else
5323 echo "$as_me:$LINENO: result: no" >&5
5324 echo "${ECHO_T}no" >&6
5325 fi
5326
5327
5328 enablestring=
5329 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
5330 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6
5331 no_cache=0
5332 # Check whether --enable-longlong or --disable-longlong was given.
5333 if test "${enable_longlong+set}" = set; then
5334 enableval="$enable_longlong"
5335
5336 if test "$enableval" = yes; then
5337 ac_cv_use_longlong='wxUSE_LONGLONG=yes'
5338 else
5339 ac_cv_use_longlong='wxUSE_LONGLONG=no'
5340 fi
5341
5342 else
5343
5344 LINE=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
5345 if test "x$LINE" != x ; then
5346 eval "DEFAULT_$LINE"
5347 else
5348 no_cache=1
5349 fi
5350
5351 ac_cv_use_longlong='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
5352
5353 fi;
5354
5355 eval "$ac_cv_use_longlong"
5356 if test "$no_cache" != 1; then
5357 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
5358 fi
5359
5360 if test "$wxUSE_LONGLONG" = yes; then
5361 echo "$as_me:$LINENO: result: yes" >&5
5362 echo "${ECHO_T}yes" >&6
5363 else
5364 echo "$as_me:$LINENO: result: no" >&5
5365 echo "${ECHO_T}no" >&6
5366 fi
5367
5368
5369 enablestring=
5370 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
5371 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6
5372 no_cache=0
5373 # Check whether --enable-mimetype or --disable-mimetype was given.
5374 if test "${enable_mimetype+set}" = set; then
5375 enableval="$enable_mimetype"
5376
5377 if test "$enableval" = yes; then
5378 ac_cv_use_mimetype='wxUSE_MIMETYPE=yes'
5379 else
5380 ac_cv_use_mimetype='wxUSE_MIMETYPE=no'
5381 fi
5382
5383 else
5384
5385 LINE=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
5386 if test "x$LINE" != x ; then
5387 eval "DEFAULT_$LINE"
5388 else
5389 no_cache=1
5390 fi
5391
5392 ac_cv_use_mimetype='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
5393
5394 fi;
5395
5396 eval "$ac_cv_use_mimetype"
5397 if test "$no_cache" != 1; then
5398 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
5399 fi
5400
5401 if test "$wxUSE_MIMETYPE" = yes; then
5402 echo "$as_me:$LINENO: result: yes" >&5
5403 echo "${ECHO_T}yes" >&6
5404 else
5405 echo "$as_me:$LINENO: result: no" >&5
5406 echo "${ECHO_T}no" >&6
5407 fi
5408
5409
5410 enablestring=
5411 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5412 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6
5413 no_cache=0
5414 # Check whether --enable-mslu or --disable-mslu was given.
5415 if test "${enable_mslu+set}" = set; then
5416 enableval="$enable_mslu"
5417
5418 if test "$enableval" = yes; then
5419 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
5420 else
5421 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
5422 fi
5423
5424 else
5425
5426 LINE=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
5427 if test "x$LINE" != x ; then
5428 eval "DEFAULT_$LINE"
5429 else
5430 no_cache=1
5431 fi
5432
5433 ac_cv_use_mslu='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
5434
5435 fi;
5436
5437 eval "$ac_cv_use_mslu"
5438 if test "$no_cache" != 1; then
5439 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
5440 fi
5441
5442 if test "$wxUSE_UNICODE_MSLU" = yes; then
5443 echo "$as_me:$LINENO: result: yes" >&5
5444 echo "${ECHO_T}yes" >&6
5445 else
5446 echo "$as_me:$LINENO: result: no" >&5
5447 echo "${ECHO_T}no" >&6
5448 fi
5449
5450
5451 enablestring=
5452 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
5453 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
5454 no_cache=0
5455 # Check whether --enable-snglinst or --disable-snglinst was given.
5456 if test "${enable_snglinst+set}" = set; then
5457 enableval="$enable_snglinst"
5458
5459 if test "$enableval" = yes; then
5460 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
5461 else
5462 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
5463 fi
5464
5465 else
5466
5467 LINE=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
5468 if test "x$LINE" != x ; then
5469 eval "DEFAULT_$LINE"
5470 else
5471 no_cache=1
5472 fi
5473
5474 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
5475
5476 fi;
5477
5478 eval "$ac_cv_use_snglinst"
5479 if test "$no_cache" != 1; then
5480 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
5481 fi
5482
5483 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
5484 echo "$as_me:$LINENO: result: yes" >&5
5485 echo "${ECHO_T}yes" >&6
5486 else
5487 echo "$as_me:$LINENO: result: no" >&5
5488 echo "${ECHO_T}no" >&6
5489 fi
5490
5491
5492 enablestring=
5493 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
5494 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
5495 no_cache=0
5496 # Check whether --enable-streams or --disable-streams was given.
5497 if test "${enable_streams+set}" = set; then
5498 enableval="$enable_streams"
5499
5500 if test "$enableval" = yes; then
5501 ac_cv_use_streams='wxUSE_STREAMS=yes'
5502 else
5503 ac_cv_use_streams='wxUSE_STREAMS=no'
5504 fi
5505
5506 else
5507
5508 LINE=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
5509 if test "x$LINE" != x ; then
5510 eval "DEFAULT_$LINE"
5511 else
5512 no_cache=1
5513 fi
5514
5515 ac_cv_use_streams='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
5516
5517 fi;
5518
5519 eval "$ac_cv_use_streams"
5520 if test "$no_cache" != 1; then
5521 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
5522 fi
5523
5524 if test "$wxUSE_STREAMS" = yes; then
5525 echo "$as_me:$LINENO: result: yes" >&5
5526 echo "${ECHO_T}yes" >&6
5527 else
5528 echo "$as_me:$LINENO: result: no" >&5
5529 echo "${ECHO_T}no" >&6
5530 fi
5531
5532
5533 enablestring=
5534 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
5535 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
5536 no_cache=0
5537 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
5538 if test "${enable_std_iostreams+set}" = set; then
5539 enableval="$enable_std_iostreams"
5540
5541 if test "$enableval" = yes; then
5542 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
5543 else
5544 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
5545 fi
5546
5547 else
5548
5549 LINE=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
5550 if test "x$LINE" != x ; then
5551 eval "DEFAULT_$LINE"
5552 else
5553 no_cache=1
5554 fi
5555
5556 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
5557
5558 fi;
5559
5560 eval "$ac_cv_use_std_iostreams"
5561 if test "$no_cache" != 1; then
5562 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
5563 fi
5564
5565 if test "$wxUSE_STD_IOSTREAM" = yes; then
5566 echo "$as_me:$LINENO: result: yes" >&5
5567 echo "${ECHO_T}yes" >&6
5568 else
5569 echo "$as_me:$LINENO: result: no" >&5
5570 echo "${ECHO_T}no" >&6
5571 fi
5572
5573
5574 enablestring=
5575 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
5576 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
5577 no_cache=0
5578 # Check whether --enable-stopwatch or --disable-stopwatch was given.
5579 if test "${enable_stopwatch+set}" = set; then
5580 enableval="$enable_stopwatch"
5581
5582 if test "$enableval" = yes; then
5583 ac_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
5584 else
5585 ac_cv_use_stopwatch='wxUSE_STOPWATCH=no'
5586 fi
5587
5588 else
5589
5590 LINE=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
5591 if test "x$LINE" != x ; then
5592 eval "DEFAULT_$LINE"
5593 else
5594 no_cache=1
5595 fi
5596
5597 ac_cv_use_stopwatch='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
5598
5599 fi;
5600
5601 eval "$ac_cv_use_stopwatch"
5602 if test "$no_cache" != 1; then
5603 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
5604 fi
5605
5606 if test "$wxUSE_STOPWATCH" = yes; then
5607 echo "$as_me:$LINENO: result: yes" >&5
5608 echo "${ECHO_T}yes" >&6
5609 else
5610 echo "$as_me:$LINENO: result: no" >&5
5611 echo "${ECHO_T}no" >&6
5612 fi
5613
5614
5615 enablestring=
5616 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
5617 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6
5618 no_cache=0
5619 # Check whether --enable-system_options or --disable-system_options was given.
5620 if test "${enable_system_options+set}" = set; then
5621 enableval="$enable_system_options"
5622
5623 if test "$enableval" = yes; then
5624 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
5625 else
5626 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
5627 fi
5628
5629 else
5630
5631 LINE=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
5632 if test "x$LINE" != x ; then
5633 eval "DEFAULT_$LINE"
5634 else
5635 no_cache=1
5636 fi
5637
5638 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
5639
5640 fi;
5641
5642 eval "$ac_cv_use_system_options"
5643 if test "$no_cache" != 1; then
5644 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
5645 fi
5646
5647 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
5648 echo "$as_me:$LINENO: result: yes" >&5
5649 echo "${ECHO_T}yes" >&6
5650 else
5651 echo "$as_me:$LINENO: result: no" >&5
5652 echo "${ECHO_T}no" >&6
5653 fi
5654
5655
5656 enablestring=
5657 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
5658 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
5659 no_cache=0
5660 # Check whether --enable-textbuf or --disable-textbuf was given.
5661 if test "${enable_textbuf+set}" = set; then
5662 enableval="$enable_textbuf"
5663
5664 if test "$enableval" = yes; then
5665 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
5666 else
5667 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
5668 fi
5669
5670 else
5671
5672 LINE=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
5673 if test "x$LINE" != x ; then
5674 eval "DEFAULT_$LINE"
5675 else
5676 no_cache=1
5677 fi
5678
5679 ac_cv_use_textbuf='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
5680
5681 fi;
5682
5683 eval "$ac_cv_use_textbuf"
5684 if test "$no_cache" != 1; then
5685 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
5686 fi
5687
5688 if test "$wxUSE_TEXTBUFFER" = yes; then
5689 echo "$as_me:$LINENO: result: yes" >&5
5690 echo "${ECHO_T}yes" >&6
5691 else
5692 echo "$as_me:$LINENO: result: no" >&5
5693 echo "${ECHO_T}no" >&6
5694 fi
5695
5696
5697 enablestring=
5698 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
5699 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
5700 no_cache=0
5701 # Check whether --enable-textfile or --disable-textfile was given.
5702 if test "${enable_textfile+set}" = set; then
5703 enableval="$enable_textfile"
5704
5705 if test "$enableval" = yes; then
5706 ac_cv_use_textfile='wxUSE_TEXTFILE=yes'
5707 else
5708 ac_cv_use_textfile='wxUSE_TEXTFILE=no'
5709 fi
5710
5711 else
5712
5713 LINE=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
5714 if test "x$LINE" != x ; then
5715 eval "DEFAULT_$LINE"
5716 else
5717 no_cache=1
5718 fi
5719
5720 ac_cv_use_textfile='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
5721
5722 fi;
5723
5724 eval "$ac_cv_use_textfile"
5725 if test "$no_cache" != 1; then
5726 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
5727 fi
5728
5729 if test "$wxUSE_TEXTFILE" = yes; then
5730 echo "$as_me:$LINENO: result: yes" >&5
5731 echo "${ECHO_T}yes" >&6
5732 else
5733 echo "$as_me:$LINENO: result: no" >&5
5734 echo "${ECHO_T}no" >&6
5735 fi
5736
5737
5738 enablestring=
5739 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
5740 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
5741 no_cache=0
5742 # Check whether --enable-timer or --disable-timer was given.
5743 if test "${enable_timer+set}" = set; then
5744 enableval="$enable_timer"
5745
5746 if test "$enableval" = yes; then
5747 ac_cv_use_timer='wxUSE_TIMER=yes'
5748 else
5749 ac_cv_use_timer='wxUSE_TIMER=no'
5750 fi
5751
5752 else
5753
5754 LINE=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
5755 if test "x$LINE" != x ; then
5756 eval "DEFAULT_$LINE"
5757 else
5758 no_cache=1
5759 fi
5760
5761 ac_cv_use_timer='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
5762
5763 fi;
5764
5765 eval "$ac_cv_use_timer"
5766 if test "$no_cache" != 1; then
5767 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
5768 fi
5769
5770 if test "$wxUSE_TIMER" = yes; then
5771 echo "$as_me:$LINENO: result: yes" >&5
5772 echo "${ECHO_T}yes" >&6
5773 else
5774 echo "$as_me:$LINENO: result: no" >&5
5775 echo "${ECHO_T}no" >&6
5776 fi
5777
5778
5779 enablestring=
5780 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
5781 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
5782 no_cache=0
5783 # Check whether --enable-unicode or --disable-unicode was given.
5784 if test "${enable_unicode+set}" = set; then
5785 enableval="$enable_unicode"
5786
5787 if test "$enableval" = yes; then
5788 ac_cv_use_unicode='wxUSE_UNICODE=yes'
5789 else
5790 ac_cv_use_unicode='wxUSE_UNICODE=no'
5791 fi
5792
5793 else
5794
5795 LINE=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
5796 if test "x$LINE" != x ; then
5797 eval "DEFAULT_$LINE"
5798 else
5799 no_cache=1
5800 fi
5801
5802 ac_cv_use_unicode='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
5803
5804 fi;
5805
5806 eval "$ac_cv_use_unicode"
5807 if test "$no_cache" != 1; then
5808 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
5809 fi
5810
5811 if test "$wxUSE_UNICODE" = yes; then
5812 echo "$as_me:$LINENO: result: yes" >&5
5813 echo "${ECHO_T}yes" >&6
5814 else
5815 echo "$as_me:$LINENO: result: no" >&5
5816 echo "${ECHO_T}no" >&6
5817 fi
5818
5819
5820 enablestring=
5821 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
5822 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6
5823 no_cache=0
5824 # Check whether --enable-sound or --disable-sound was given.
5825 if test "${enable_sound+set}" = set; then
5826 enableval="$enable_sound"
5827
5828 if test "$enableval" = yes; then
5829 ac_cv_use_sound='wxUSE_SOUND=yes'
5830 else
5831 ac_cv_use_sound='wxUSE_SOUND=no'
5832 fi
5833
5834 else
5835
5836 LINE=`grep "wxUSE_SOUND" ${wx_arg_cache_file}`
5837 if test "x$LINE" != x ; then
5838 eval "DEFAULT_$LINE"
5839 else
5840 no_cache=1
5841 fi
5842
5843 ac_cv_use_sound='wxUSE_SOUND='$DEFAULT_wxUSE_SOUND
5844
5845 fi;
5846
5847 eval "$ac_cv_use_sound"
5848 if test "$no_cache" != 1; then
5849 echo $ac_cv_use_sound >> ${wx_arg_cache_file}.tmp
5850 fi
5851
5852 if test "$wxUSE_SOUND" = yes; then
5853 echo "$as_me:$LINENO: result: yes" >&5
5854 echo "${ECHO_T}yes" >&6
5855 else
5856 echo "$as_me:$LINENO: result: no" >&5
5857 echo "${ECHO_T}no" >&6
5858 fi
5859
5860
5861 enablestring=
5862 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
5863 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6
5864 no_cache=0
5865 # Check whether --enable-mediactrl or --disable-mediactrl was given.
5866 if test "${enable_mediactrl+set}" = set; then
5867 enableval="$enable_mediactrl"
5868
5869 if test "$enableval" = yes; then
5870 ac_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
5871 else
5872 ac_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
5873 fi
5874
5875 else
5876
5877 LINE=`grep "wxUSE_MEDIACTRL" ${wx_arg_cache_file}`
5878 if test "x$LINE" != x ; then
5879 eval "DEFAULT_$LINE"
5880 else
5881 no_cache=1
5882 fi
5883
5884 ac_cv_use_mediactrl='wxUSE_MEDIACTRL='$DEFAULT_wxUSE_MEDIACTRL
5885
5886 fi;
5887
5888 eval "$ac_cv_use_mediactrl"
5889 if test "$no_cache" != 1; then
5890 echo $ac_cv_use_mediactrl >> ${wx_arg_cache_file}.tmp
5891 fi
5892
5893 if test "$wxUSE_MEDIACTRL" = yes; then
5894 echo "$as_me:$LINENO: result: yes" >&5
5895 echo "${ECHO_T}yes" >&6
5896 else
5897 echo "$as_me:$LINENO: result: no" >&5
5898 echo "${ECHO_T}no" >&6
5899 fi
5900
5901
5902 enablestring=
5903 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxprintfv" >&5
5904 echo $ECHO_N "checking for --${enablestring:-enable}-wxprintfv... $ECHO_C" >&6
5905 no_cache=0
5906 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
5907 if test "${enable_wxprintfv+set}" = set; then
5908 enableval="$enable_wxprintfv"
5909
5910 if test "$enableval" = yes; then
5911 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF=yes'
5912 else
5913 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF=no'
5914 fi
5915
5916 else
5917
5918 LINE=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
5919 if test "x$LINE" != x ; then
5920 eval "DEFAULT_$LINE"
5921 else
5922 no_cache=1
5923 fi
5924
5925 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
5926
5927 fi;
5928
5929 eval "$ac_cv_use_wxprintfv"
5930 if test "$no_cache" != 1; then
5931 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
5932 fi
5933
5934 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
5935 echo "$as_me:$LINENO: result: yes" >&5
5936 echo "${ECHO_T}yes" >&6
5937 else
5938 echo "$as_me:$LINENO: result: no" >&5
5939 echo "${ECHO_T}no" >&6
5940 fi
5941
5942
5943 enablestring=
5944 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
5945 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
5946 no_cache=0
5947 # Check whether --enable-zipstream or --disable-zipstream was given.
5948 if test "${enable_zipstream+set}" = set; then
5949 enableval="$enable_zipstream"
5950
5951 if test "$enableval" = yes; then
5952 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
5953 else
5954 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
5955 fi
5956
5957 else
5958
5959 LINE=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
5960 if test "x$LINE" != x ; then
5961 eval "DEFAULT_$LINE"
5962 else
5963 no_cache=1
5964 fi
5965
5966 ac_cv_use_zipstream='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
5967
5968 fi;
5969
5970 eval "$ac_cv_use_zipstream"
5971 if test "$no_cache" != 1; then
5972 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
5973 fi
5974
5975 if test "$wxUSE_ZIPSTREAM" = yes; then
5976 echo "$as_me:$LINENO: result: yes" >&5
5977 echo "${ECHO_T}yes" >&6
5978 else
5979 echo "$as_me:$LINENO: result: no" >&5
5980 echo "${ECHO_T}no" >&6
5981 fi
5982
5983
5984
5985 enablestring=
5986 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
5987 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
5988 no_cache=0
5989 # Check whether --enable-url or --disable-url was given.
5990 if test "${enable_url+set}" = set; then
5991 enableval="$enable_url"
5992
5993 if test "$enableval" = yes; then
5994 ac_cv_use_url='wxUSE_URL=yes'
5995 else
5996 ac_cv_use_url='wxUSE_URL=no'
5997 fi
5998
5999 else
6000
6001 LINE=`grep "wxUSE_URL" ${wx_arg_cache_file}`
6002 if test "x$LINE" != x ; then
6003 eval "DEFAULT_$LINE"
6004 else
6005 no_cache=1
6006 fi
6007
6008 ac_cv_use_url='wxUSE_URL='$DEFAULT_wxUSE_URL
6009
6010 fi;
6011
6012 eval "$ac_cv_use_url"
6013 if test "$no_cache" != 1; then
6014 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
6015 fi
6016
6017 if test "$wxUSE_URL" = yes; then
6018 echo "$as_me:$LINENO: result: yes" >&5
6019 echo "${ECHO_T}yes" >&6
6020 else
6021 echo "$as_me:$LINENO: result: no" >&5
6022 echo "${ECHO_T}no" >&6
6023 fi
6024
6025
6026 enablestring=
6027 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
6028 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
6029 no_cache=0
6030 # Check whether --enable-protocol or --disable-protocol was given.
6031 if test "${enable_protocol+set}" = set; then
6032 enableval="$enable_protocol"
6033
6034 if test "$enableval" = yes; then
6035 ac_cv_use_protocol='wxUSE_PROTOCOL=yes'
6036 else
6037 ac_cv_use_protocol='wxUSE_PROTOCOL=no'
6038 fi
6039
6040 else
6041
6042 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
6043 if test "x$LINE" != x ; then
6044 eval "DEFAULT_$LINE"
6045 else
6046 no_cache=1
6047 fi
6048
6049 ac_cv_use_protocol='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
6050
6051 fi;
6052
6053 eval "$ac_cv_use_protocol"
6054 if test "$no_cache" != 1; then
6055 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
6056 fi
6057
6058 if test "$wxUSE_PROTOCOL" = yes; then
6059 echo "$as_me:$LINENO: result: yes" >&5
6060 echo "${ECHO_T}yes" >&6
6061 else
6062 echo "$as_me:$LINENO: result: no" >&5
6063 echo "${ECHO_T}no" >&6
6064 fi
6065
6066
6067 enablestring=
6068 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
6069 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
6070 no_cache=0
6071 # Check whether --enable-protocol_http or --disable-protocol_http was given.
6072 if test "${enable_protocol_http+set}" = set; then
6073 enableval="$enable_protocol_http"
6074
6075 if test "$enableval" = yes; then
6076 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
6077 else
6078 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
6079 fi
6080
6081 else
6082
6083 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
6084 if test "x$LINE" != x ; then
6085 eval "DEFAULT_$LINE"
6086 else
6087 no_cache=1
6088 fi
6089
6090 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
6091
6092 fi;
6093
6094 eval "$ac_cv_use_protocol_http"
6095 if test "$no_cache" != 1; then
6096 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
6097 fi
6098
6099 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
6100 echo "$as_me:$LINENO: result: yes" >&5
6101 echo "${ECHO_T}yes" >&6
6102 else
6103 echo "$as_me:$LINENO: result: no" >&5
6104 echo "${ECHO_T}no" >&6
6105 fi
6106
6107
6108 enablestring=
6109 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
6110 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
6111 no_cache=0
6112 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
6113 if test "${enable_protocol_ftp+set}" = set; then
6114 enableval="$enable_protocol_ftp"
6115
6116 if test "$enableval" = yes; then
6117 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
6118 else
6119 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
6120 fi
6121
6122 else
6123
6124 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
6125 if test "x$LINE" != x ; then
6126 eval "DEFAULT_$LINE"
6127 else
6128 no_cache=1
6129 fi
6130
6131 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
6132
6133 fi;
6134
6135 eval "$ac_cv_use_protocol_ftp"
6136 if test "$no_cache" != 1; then
6137 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
6138 fi
6139
6140 if test "$wxUSE_PROTOCOL_FTP" = yes; then
6141 echo "$as_me:$LINENO: result: yes" >&5
6142 echo "${ECHO_T}yes" >&6
6143 else
6144 echo "$as_me:$LINENO: result: no" >&5
6145 echo "${ECHO_T}no" >&6
6146 fi
6147
6148
6149 enablestring=
6150 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
6151 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
6152 no_cache=0
6153 # Check whether --enable-protocol_file or --disable-protocol_file was given.
6154 if test "${enable_protocol_file+set}" = set; then
6155 enableval="$enable_protocol_file"
6156
6157 if test "$enableval" = yes; then
6158 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
6159 else
6160 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
6161 fi
6162
6163 else
6164
6165 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
6166 if test "x$LINE" != x ; then
6167 eval "DEFAULT_$LINE"
6168 else
6169 no_cache=1
6170 fi
6171
6172 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
6173
6174 fi;
6175
6176 eval "$ac_cv_use_protocol_file"
6177 if test "$no_cache" != 1; then
6178 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
6179 fi
6180
6181 if test "$wxUSE_PROTOCOL_FILE" = yes; then
6182 echo "$as_me:$LINENO: result: yes" >&5
6183 echo "${ECHO_T}yes" >&6
6184 else
6185 echo "$as_me:$LINENO: result: no" >&5
6186 echo "${ECHO_T}no" >&6
6187 fi
6188
6189
6190
6191
6192
6193 enablestring=
6194 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
6195 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
6196 no_cache=0
6197 # Check whether --enable-threads or --disable-threads was given.
6198 if test "${enable_threads+set}" = set; then
6199 enableval="$enable_threads"
6200
6201 if test "$enableval" = yes; then
6202 ac_cv_use_threads='wxUSE_THREADS=yes'
6203 else
6204 ac_cv_use_threads='wxUSE_THREADS=no'
6205 fi
6206
6207 else
6208
6209 LINE=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
6210 if test "x$LINE" != x ; then
6211 eval "DEFAULT_$LINE"
6212 else
6213 no_cache=1
6214 fi
6215
6216 ac_cv_use_threads='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
6217
6218 fi;
6219
6220 eval "$ac_cv_use_threads"
6221 if test "$no_cache" != 1; then
6222 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
6223 fi
6224
6225 if test "$wxUSE_THREADS" = yes; then
6226 echo "$as_me:$LINENO: result: yes" >&5
6227 echo "${ECHO_T}yes" >&6
6228 else
6229 echo "$as_me:$LINENO: result: no" >&5
6230 echo "${ECHO_T}no" >&6
6231 fi
6232
6233
6234 if test "$wxUSE_GUI" = "yes"; then
6235
6236
6237
6238 enablestring=
6239 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
6240 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
6241 no_cache=0
6242 # Check whether --enable-docview or --disable-docview was given.
6243 if test "${enable_docview+set}" = set; then
6244 enableval="$enable_docview"
6245
6246 if test "$enableval" = yes; then
6247 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
6248 else
6249 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
6250 fi
6251
6252 else
6253
6254 LINE=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
6255 if test "x$LINE" != x ; then
6256 eval "DEFAULT_$LINE"
6257 else
6258 no_cache=1
6259 fi
6260
6261 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
6262
6263 fi;
6264
6265 eval "$ac_cv_use_docview"
6266 if test "$no_cache" != 1; then
6267 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
6268 fi
6269
6270 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
6271 echo "$as_me:$LINENO: result: yes" >&5
6272 echo "${ECHO_T}yes" >&6
6273 else
6274 echo "$as_me:$LINENO: result: no" >&5
6275 echo "${ECHO_T}no" >&6
6276 fi
6277
6278
6279 enablestring=
6280 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
6281 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
6282 no_cache=0
6283 # Check whether --enable-help or --disable-help was given.
6284 if test "${enable_help+set}" = set; then
6285 enableval="$enable_help"
6286
6287 if test "$enableval" = yes; then
6288 ac_cv_use_help='wxUSE_HELP=yes'
6289 else
6290 ac_cv_use_help='wxUSE_HELP=no'
6291 fi
6292
6293 else
6294
6295 LINE=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
6296 if test "x$LINE" != x ; then
6297 eval "DEFAULT_$LINE"
6298 else
6299 no_cache=1
6300 fi
6301
6302 ac_cv_use_help='wxUSE_HELP='$DEFAULT_wxUSE_HELP
6303
6304 fi;
6305
6306 eval "$ac_cv_use_help"
6307 if test "$no_cache" != 1; then
6308 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
6309 fi
6310
6311 if test "$wxUSE_HELP" = yes; then
6312 echo "$as_me:$LINENO: result: yes" >&5
6313 echo "${ECHO_T}yes" >&6
6314 else
6315 echo "$as_me:$LINENO: result: no" >&5
6316 echo "${ECHO_T}no" >&6
6317 fi
6318
6319
6320 enablestring=
6321 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
6322 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6
6323 no_cache=0
6324 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
6325 if test "${enable_mshtmlhelp+set}" = set; then
6326 enableval="$enable_mshtmlhelp"
6327
6328 if test "$enableval" = yes; then
6329 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
6330 else
6331 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
6332 fi
6333
6334 else
6335
6336 LINE=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
6337 if test "x$LINE" != x ; then
6338 eval "DEFAULT_$LINE"
6339 else
6340 no_cache=1
6341 fi
6342
6343 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
6344
6345 fi;
6346
6347 eval "$ac_cv_use_mshtmlhelp"
6348 if test "$no_cache" != 1; then
6349 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
6350 fi
6351
6352 if test "$wxUSE_MS_HTML_HELP" = yes; then
6353 echo "$as_me:$LINENO: result: yes" >&5
6354 echo "${ECHO_T}yes" >&6
6355 else
6356 echo "$as_me:$LINENO: result: no" >&5
6357 echo "${ECHO_T}no" >&6
6358 fi
6359
6360
6361 enablestring=
6362 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
6363 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
6364 no_cache=0
6365 # Check whether --enable-html or --disable-html was given.
6366 if test "${enable_html+set}" = set; then
6367 enableval="$enable_html"
6368
6369 if test "$enableval" = yes; then
6370 ac_cv_use_html='wxUSE_HTML=yes'
6371 else
6372 ac_cv_use_html='wxUSE_HTML=no'
6373 fi
6374
6375 else
6376
6377 LINE=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
6378 if test "x$LINE" != x ; then
6379 eval "DEFAULT_$LINE"
6380 else
6381 no_cache=1
6382 fi
6383
6384 ac_cv_use_html='wxUSE_HTML='$DEFAULT_wxUSE_HTML
6385
6386 fi;
6387
6388 eval "$ac_cv_use_html"
6389 if test "$no_cache" != 1; then
6390 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
6391 fi
6392
6393 if test "$wxUSE_HTML" = yes; then
6394 echo "$as_me:$LINENO: result: yes" >&5
6395 echo "${ECHO_T}yes" >&6
6396 else
6397 echo "$as_me:$LINENO: result: no" >&5
6398 echo "${ECHO_T}no" >&6
6399 fi
6400
6401
6402 enablestring=
6403 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
6404 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
6405 no_cache=0
6406 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
6407 if test "${enable_htmlhelp+set}" = set; then
6408 enableval="$enable_htmlhelp"
6409
6410 if test "$enableval" = yes; then
6411 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
6412 else
6413 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
6414 fi
6415
6416 else
6417
6418 LINE=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
6419 if test "x$LINE" != x ; then
6420 eval "DEFAULT_$LINE"
6421 else
6422 no_cache=1
6423 fi
6424
6425 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
6426
6427 fi;
6428
6429 eval "$ac_cv_use_htmlhelp"
6430 if test "$no_cache" != 1; then
6431 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
6432 fi
6433
6434 if test "$wxUSE_WXHTML_HELP" = yes; then
6435 echo "$as_me:$LINENO: result: yes" >&5
6436 echo "${ECHO_T}yes" >&6
6437 else
6438 echo "$as_me:$LINENO: result: no" >&5
6439 echo "${ECHO_T}no" >&6
6440 fi
6441
6442
6443 enablestring=
6444 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
6445 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6
6446 no_cache=0
6447 # Check whether --enable-xrc or --disable-xrc was given.
6448 if test "${enable_xrc+set}" = set; then
6449 enableval="$enable_xrc"
6450
6451 if test "$enableval" = yes; then
6452 ac_cv_use_xrc='wxUSE_XRC=yes'
6453 else
6454 ac_cv_use_xrc='wxUSE_XRC=no'
6455 fi
6456
6457 else
6458
6459 LINE=`grep "wxUSE_XRC" ${wx_arg_cache_file}`
6460 if test "x$LINE" != x ; then
6461 eval "DEFAULT_$LINE"
6462 else
6463 no_cache=1
6464 fi
6465
6466 ac_cv_use_xrc='wxUSE_XRC='$DEFAULT_wxUSE_XRC
6467
6468 fi;
6469
6470 eval "$ac_cv_use_xrc"
6471 if test "$no_cache" != 1; then
6472 echo $ac_cv_use_xrc >> ${wx_arg_cache_file}.tmp
6473 fi
6474
6475 if test "$wxUSE_XRC" = yes; then
6476 echo "$as_me:$LINENO: result: yes" >&5
6477 echo "${ECHO_T}yes" >&6
6478 else
6479 echo "$as_me:$LINENO: result: no" >&5
6480 echo "${ECHO_T}no" >&6
6481 fi
6482
6483
6484 enablestring=
6485 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
6486 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6
6487 no_cache=0
6488 # Check whether --enable-constraints or --disable-constraints was given.
6489 if test "${enable_constraints+set}" = set; then
6490 enableval="$enable_constraints"
6491
6492 if test "$enableval" = yes; then
6493 ac_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
6494 else
6495 ac_cv_use_constraints='wxUSE_CONSTRAINTS=no'
6496 fi
6497
6498 else
6499
6500 LINE=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
6501 if test "x$LINE" != x ; then
6502 eval "DEFAULT_$LINE"
6503 else
6504 no_cache=1
6505 fi
6506
6507 ac_cv_use_constraints='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
6508
6509 fi;
6510
6511 eval "$ac_cv_use_constraints"
6512 if test "$no_cache" != 1; then
6513 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
6514 fi
6515
6516 if test "$wxUSE_CONSTRAINTS" = yes; then
6517 echo "$as_me:$LINENO: result: yes" >&5
6518 echo "${ECHO_T}yes" >&6
6519 else
6520 echo "$as_me:$LINENO: result: no" >&5
6521 echo "${ECHO_T}no" >&6
6522 fi
6523
6524
6525 enablestring=
6526 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
6527 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
6528 no_cache=0
6529 # Check whether --enable-printarch or --disable-printarch was given.
6530 if test "${enable_printarch+set}" = set; then
6531 enableval="$enable_printarch"
6532
6533 if test "$enableval" = yes; then
6534 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
6535 else
6536 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
6537 fi
6538
6539 else
6540
6541 LINE=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
6542 if test "x$LINE" != x ; then
6543 eval "DEFAULT_$LINE"
6544 else
6545 no_cache=1
6546 fi
6547
6548 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
6549
6550 fi;
6551
6552 eval "$ac_cv_use_printarch"
6553 if test "$no_cache" != 1; then
6554 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
6555 fi
6556
6557 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
6558 echo "$as_me:$LINENO: result: yes" >&5
6559 echo "${ECHO_T}yes" >&6
6560 else
6561 echo "$as_me:$LINENO: result: no" >&5
6562 echo "${ECHO_T}no" >&6
6563 fi
6564
6565
6566 enablestring=
6567 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
6568 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
6569 no_cache=0
6570 # Check whether --enable-mdi or --disable-mdi was given.
6571 if test "${enable_mdi+set}" = set; then
6572 enableval="$enable_mdi"
6573
6574 if test "$enableval" = yes; then
6575 ac_cv_use_mdi='wxUSE_MDI=yes'
6576 else
6577 ac_cv_use_mdi='wxUSE_MDI=no'
6578 fi
6579
6580 else
6581
6582 LINE=`grep "wxUSE_MDI" ${wx_arg_cache_file}`
6583 if test "x$LINE" != x ; then
6584 eval "DEFAULT_$LINE"
6585 else
6586 no_cache=1
6587 fi
6588
6589 ac_cv_use_mdi='wxUSE_MDI='$DEFAULT_wxUSE_MDI
6590
6591 fi;
6592
6593 eval "$ac_cv_use_mdi"
6594 if test "$no_cache" != 1; then
6595 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
6596 fi
6597
6598 if test "$wxUSE_MDI" = yes; then
6599 echo "$as_me:$LINENO: result: yes" >&5
6600 echo "${ECHO_T}yes" >&6
6601 else
6602 echo "$as_me:$LINENO: result: no" >&5
6603 echo "${ECHO_T}no" >&6
6604 fi
6605
6606
6607 enablestring=
6608 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
6609 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6
6610 no_cache=0
6611 # Check whether --enable-mdidoc or --disable-mdidoc was given.
6612 if test "${enable_mdidoc+set}" = set; then
6613 enableval="$enable_mdidoc"
6614
6615 if test "$enableval" = yes; then
6616 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
6617 else
6618 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
6619 fi
6620
6621 else
6622
6623 LINE=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
6624 if test "x$LINE" != x ; then
6625 eval "DEFAULT_$LINE"
6626 else
6627 no_cache=1
6628 fi
6629
6630 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
6631
6632 fi;
6633
6634 eval "$ac_cv_use_mdidoc"
6635 if test "$no_cache" != 1; then
6636 echo $ac_cv_use_mdidoc >> ${wx_arg_cache_file}.tmp
6637 fi
6638
6639 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
6640 echo "$as_me:$LINENO: result: yes" >&5
6641 echo "${ECHO_T}yes" >&6
6642 else
6643 echo "$as_me:$LINENO: result: no" >&5
6644 echo "${ECHO_T}no" >&6
6645 fi
6646
6647
6648 enablestring=
6649 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
6650 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
6651 no_cache=0
6652 # Check whether --enable-loggui or --disable-loggui was given.
6653 if test "${enable_loggui+set}" = set; then
6654 enableval="$enable_loggui"
6655
6656 if test "$enableval" = yes; then
6657 ac_cv_use_loggui='wxUSE_LOGGUI=yes'
6658 else
6659 ac_cv_use_loggui='wxUSE_LOGGUI=no'
6660 fi
6661
6662 else
6663
6664 LINE=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
6665 if test "x$LINE" != x ; then
6666 eval "DEFAULT_$LINE"
6667 else
6668 no_cache=1
6669 fi
6670
6671 ac_cv_use_loggui='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
6672
6673 fi;
6674
6675 eval "$ac_cv_use_loggui"
6676 if test "$no_cache" != 1; then
6677 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
6678 fi
6679
6680 if test "$wxUSE_LOGGUI" = yes; then
6681 echo "$as_me:$LINENO: result: yes" >&5
6682 echo "${ECHO_T}yes" >&6
6683 else
6684 echo "$as_me:$LINENO: result: no" >&5
6685 echo "${ECHO_T}no" >&6
6686 fi
6687
6688
6689 enablestring=
6690 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
6691 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
6692 no_cache=0
6693 # Check whether --enable-logwin or --disable-logwin was given.
6694 if test "${enable_logwin+set}" = set; then
6695 enableval="$enable_logwin"
6696
6697 if test "$enableval" = yes; then
6698 ac_cv_use_logwin='wxUSE_LOGWINDOW=yes'
6699 else
6700 ac_cv_use_logwin='wxUSE_LOGWINDOW=no'
6701 fi
6702
6703 else
6704
6705 LINE=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
6706 if test "x$LINE" != x ; then
6707 eval "DEFAULT_$LINE"
6708 else
6709 no_cache=1
6710 fi
6711
6712 ac_cv_use_logwin='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
6713
6714 fi;
6715
6716 eval "$ac_cv_use_logwin"
6717 if test "$no_cache" != 1; then
6718 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
6719 fi
6720
6721 if test "$wxUSE_LOGWINDOW" = yes; then
6722 echo "$as_me:$LINENO: result: yes" >&5
6723 echo "${ECHO_T}yes" >&6
6724 else
6725 echo "$as_me:$LINENO: result: no" >&5
6726 echo "${ECHO_T}no" >&6
6727 fi
6728
6729
6730 enablestring=
6731 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
6732 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6
6733 no_cache=0
6734 # Check whether --enable-logdialog or --disable-logdialog was given.
6735 if test "${enable_logdialog+set}" = set; then
6736 enableval="$enable_logdialog"
6737
6738 if test "$enableval" = yes; then
6739 ac_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
6740 else
6741 ac_cv_use_logdialog='wxUSE_LOGDIALOG=no'
6742 fi
6743
6744 else
6745
6746 LINE=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
6747 if test "x$LINE" != x ; then
6748 eval "DEFAULT_$LINE"
6749 else
6750 no_cache=1
6751 fi
6752
6753 ac_cv_use_logdialog='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
6754
6755 fi;
6756
6757 eval "$ac_cv_use_logdialog"
6758 if test "$no_cache" != 1; then
6759 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
6760 fi
6761
6762 if test "$wxUSE_LOGDIALOG" = yes; then
6763 echo "$as_me:$LINENO: result: yes" >&5
6764 echo "${ECHO_T}yes" >&6
6765 else
6766 echo "$as_me:$LINENO: result: no" >&5
6767 echo "${ECHO_T}no" >&6
6768 fi
6769
6770
6771 enablestring=
6772 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
6773 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6
6774 no_cache=0
6775 # Check whether --enable-webkit or --disable-webkit was given.
6776 if test "${enable_webkit+set}" = set; then
6777 enableval="$enable_webkit"
6778
6779 if test "$enableval" = yes; then
6780 ac_cv_use_webkit='wxUSE_WEBKIT=yes'
6781 else
6782 ac_cv_use_webkit='wxUSE_WEBKIT=no'
6783 fi
6784
6785 else
6786
6787 LINE=`grep "wxUSE_WEBKIT" ${wx_arg_cache_file}`
6788 if test "x$LINE" != x ; then
6789 eval "DEFAULT_$LINE"
6790 else
6791 no_cache=1
6792 fi
6793
6794 ac_cv_use_webkit='wxUSE_WEBKIT='$DEFAULT_wxUSE_WEBKIT
6795
6796 fi;
6797
6798 eval "$ac_cv_use_webkit"
6799 if test "$no_cache" != 1; then
6800 echo $ac_cv_use_webkit >> ${wx_arg_cache_file}.tmp
6801 fi
6802
6803 if test "$wxUSE_WEBKIT" = yes; then
6804 echo "$as_me:$LINENO: result: yes" >&5
6805 echo "${ECHO_T}yes" >&6
6806 else
6807 echo "$as_me:$LINENO: result: no" >&5
6808 echo "${ECHO_T}no" >&6
6809 fi
6810
6811
6812
6813 enablestring=
6814 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
6815 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
6816 no_cache=0
6817 # Check whether --enable-postscript or --disable-postscript was given.
6818 if test "${enable_postscript+set}" = set; then
6819 enableval="$enable_postscript"
6820
6821 if test "$enableval" = yes; then
6822 ac_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
6823 else
6824 ac_cv_use_postscript='wxUSE_POSTSCRIPT=no'
6825 fi
6826
6827 else
6828
6829 LINE=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
6830 if test "x$LINE" != x ; then
6831 eval "DEFAULT_$LINE"
6832 else
6833 no_cache=1
6834 fi
6835
6836 ac_cv_use_postscript='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
6837
6838 fi;
6839
6840 eval "$ac_cv_use_postscript"
6841 if test "$no_cache" != 1; then
6842 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
6843 fi
6844
6845 if test "$wxUSE_POSTSCRIPT" = yes; then
6846 echo "$as_me:$LINENO: result: yes" >&5
6847 echo "${ECHO_T}yes" >&6
6848 else
6849 echo "$as_me:$LINENO: result: no" >&5
6850 echo "${ECHO_T}no" >&6
6851 fi
6852
6853
6854
6855
6856
6857 enablestring=
6858 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
6859 echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6
6860 no_cache=0
6861 # Check whether --enable-prologio or --disable-prologio was given.
6862 if test "${enable_prologio+set}" = set; then
6863 enableval="$enable_prologio"
6864
6865 if test "$enableval" = yes; then
6866 ac_cv_use_prologio='wxUSE_PROLOGIO=yes'
6867 else
6868 ac_cv_use_prologio='wxUSE_PROLOGIO=no'
6869 fi
6870
6871 else
6872
6873 LINE=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
6874 if test "x$LINE" != x ; then
6875 eval "DEFAULT_$LINE"
6876 else
6877 no_cache=1
6878 fi
6879
6880 ac_cv_use_prologio='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
6881
6882 fi;
6883
6884 eval "$ac_cv_use_prologio"
6885 if test "$no_cache" != 1; then
6886 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
6887 fi
6888
6889 if test "$wxUSE_PROLOGIO" = yes; then
6890 echo "$as_me:$LINENO: result: yes" >&5
6891 echo "${ECHO_T}yes" >&6
6892 else
6893 echo "$as_me:$LINENO: result: no" >&5
6894 echo "${ECHO_T}no" >&6
6895 fi
6896
6897
6898 enablestring=
6899 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5
6900 echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6
6901 no_cache=0
6902 # Check whether --enable-resources or --disable-resources was given.
6903 if test "${enable_resources+set}" = set; then
6904 enableval="$enable_resources"
6905
6906 if test "$enableval" = yes; then
6907 ac_cv_use_resources='wxUSE_RESOURCES=yes'
6908 else
6909 ac_cv_use_resources='wxUSE_RESOURCES=no'
6910 fi
6911
6912 else
6913
6914 LINE=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
6915 if test "x$LINE" != x ; then
6916 eval "DEFAULT_$LINE"
6917 else
6918 no_cache=1
6919 fi
6920
6921 ac_cv_use_resources='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
6922
6923 fi;
6924
6925 eval "$ac_cv_use_resources"
6926 if test "$no_cache" != 1; then
6927 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
6928 fi
6929
6930 if test "$wxUSE_RESOURCES" = yes; then
6931 echo "$as_me:$LINENO: result: yes" >&5
6932 echo "${ECHO_T}yes" >&6
6933 else
6934 echo "$as_me:$LINENO: result: no" >&5
6935 echo "${ECHO_T}no" >&6
6936 fi
6937
6938
6939
6940
6941 enablestring=
6942 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
6943 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6
6944 no_cache=0
6945 # Check whether --enable-clipboard or --disable-clipboard was given.
6946 if test "${enable_clipboard+set}" = set; then
6947 enableval="$enable_clipboard"
6948
6949 if test "$enableval" = yes; then
6950 ac_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
6951 else
6952 ac_cv_use_clipboard='wxUSE_CLIPBOARD=no'
6953 fi
6954
6955 else
6956
6957 LINE=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
6958 if test "x$LINE" != x ; then
6959 eval "DEFAULT_$LINE"
6960 else
6961 no_cache=1
6962 fi
6963
6964 ac_cv_use_clipboard='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
6965
6966 fi;
6967
6968 eval "$ac_cv_use_clipboard"
6969 if test "$no_cache" != 1; then
6970 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
6971 fi
6972
6973 if test "$wxUSE_CLIPBOARD" = yes; then
6974 echo "$as_me:$LINENO: result: yes" >&5
6975 echo "${ECHO_T}yes" >&6
6976 else
6977 echo "$as_me:$LINENO: result: no" >&5
6978 echo "${ECHO_T}no" >&6
6979 fi
6980
6981
6982 enablestring=
6983 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
6984 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
6985 no_cache=0
6986 # Check whether --enable-dnd or --disable-dnd was given.
6987 if test "${enable_dnd+set}" = set; then
6988 enableval="$enable_dnd"
6989
6990 if test "$enableval" = yes; then
6991 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
6992 else
6993 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
6994 fi
6995
6996 else
6997
6998 LINE=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
6999 if test "x$LINE" != x ; then
7000 eval "DEFAULT_$LINE"
7001 else
7002 no_cache=1
7003 fi
7004
7005 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
7006
7007 fi;
7008
7009 eval "$ac_cv_use_dnd"
7010 if test "$no_cache" != 1; then
7011 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
7012 fi
7013
7014 if test "$wxUSE_DRAG_AND_DROP" = yes; then
7015 echo "$as_me:$LINENO: result: yes" >&5
7016 echo "${ECHO_T}yes" >&6
7017 else
7018 echo "$as_me:$LINENO: result: no" >&5
7019 echo "${ECHO_T}no" >&6
7020 fi
7021
7022
7023 enablestring=
7024 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
7025 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
7026 no_cache=0
7027 # Check whether --enable-metafile or --disable-metafile was given.
7028 if test "${enable_metafile+set}" = set; then
7029 enableval="$enable_metafile"
7030
7031 if test "$enableval" = yes; then
7032 ac_cv_use_metafile='wxUSE_METAFILE=yes'
7033 else
7034 ac_cv_use_metafile='wxUSE_METAFILE=no'
7035 fi
7036
7037 else
7038
7039 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
7040 if test "x$LINE" != x ; then
7041 eval "DEFAULT_$LINE"
7042 else
7043 no_cache=1
7044 fi
7045
7046 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
7047
7048 fi;
7049
7050 eval "$ac_cv_use_metafile"
7051 if test "$no_cache" != 1; then
7052 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
7053 fi
7054
7055 if test "$wxUSE_METAFILE" = yes; then
7056 echo "$as_me:$LINENO: result: yes" >&5
7057 echo "${ECHO_T}yes" >&6
7058 else
7059 echo "$as_me:$LINENO: result: no" >&5
7060 echo "${ECHO_T}no" >&6
7061 fi
7062
7063
7064
7065
7066
7067 enablestring=
7068 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
7069 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6
7070 no_cache=0
7071 # Check whether --enable-controls or --disable-controls was given.
7072 if test "${enable_controls+set}" = set; then
7073 enableval="$enable_controls"
7074
7075 if test "$enableval" = yes; then
7076 ac_cv_use_controls='wxUSE_CONTROLS=yes'
7077 else
7078 ac_cv_use_controls='wxUSE_CONTROLS=no'
7079 fi
7080
7081 else
7082
7083 LINE=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
7084 if test "x$LINE" != x ; then
7085 eval "DEFAULT_$LINE"
7086 else
7087 no_cache=1
7088 fi
7089
7090 ac_cv_use_controls='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
7091
7092 fi;
7093
7094 eval "$ac_cv_use_controls"
7095 if test "$no_cache" != 1; then
7096 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
7097 fi
7098
7099 if test "$wxUSE_CONTROLS" = yes; then
7100 echo "$as_me:$LINENO: result: yes" >&5
7101 echo "${ECHO_T}yes" >&6
7102 else
7103 echo "$as_me:$LINENO: result: no" >&5
7104 echo "${ECHO_T}no" >&6
7105 fi
7106
7107
7108 if test "$wxUSE_CONTROLS" = "yes"; then
7109 DEFAULT_wxUSE_ACCEL=yes
7110 DEFAULT_wxUSE_BMPBUTTON=yes
7111 DEFAULT_wxUSE_BUTTON=yes
7112 DEFAULT_wxUSE_CALCTRL=yes
7113 DEFAULT_wxUSE_CARET=yes
7114 DEFAULT_wxUSE_COMBOBOX=yes
7115 DEFAULT_wxUSE_CHECKBOX=yes
7116 DEFAULT_wxUSE_CHECKLISTBOX=yes
7117 DEFAULT_wxUSE_CHOICE=yes
7118 DEFAULT_wxUSE_CHOICEBOOK=yes
7119 DEFAULT_wxUSE_DATEPICKCTRL=yes
7120 DEFAULT_wxUSE_GAUGE=yes
7121 DEFAULT_wxUSE_GRID=yes
7122 DEFAULT_wxUSE_IMAGLIST=yes
7123 DEFAULT_wxUSE_LISTBOOK=yes
7124 DEFAULT_wxUSE_LISTBOX=yes
7125 DEFAULT_wxUSE_LISTCTRL=yes
7126 DEFAULT_wxUSE_NOTEBOOK=yes
7127 DEFAULT_wxUSE_RADIOBOX=yes
7128 DEFAULT_wxUSE_RADIOBTN=yes
7129 DEFAULT_wxUSE_SASH=yes
7130 DEFAULT_wxUSE_SCROLLBAR=yes
7131 DEFAULT_wxUSE_SLIDER=yes
7132 DEFAULT_wxUSE_SPINBTN=yes
7133 DEFAULT_wxUSE_SPINCTRL=yes
7134 DEFAULT_wxUSE_SPLITTER=yes
7135 DEFAULT_wxUSE_STATBMP=yes
7136 DEFAULT_wxUSE_STATBOX=yes
7137 DEFAULT_wxUSE_STATLINE=yes
7138 DEFAULT_wxUSE_STATUSBAR=yes
7139 DEFAULT_wxUSE_TAB_DIALOG=yes
7140 DEFAULT_wxUSE_TOGGLEBTN=yes
7141 DEFAULT_wxUSE_TOOLBAR=yes
7142 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
7143 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
7144 DEFAULT_wxUSE_TOOLTIPS=yes
7145 DEFAULT_wxUSE_TREECTRL=yes
7146 DEFAULT_wxUSE_POPUPWIN=yes
7147 DEFAULT_wxUSE_TIPWINDOW=yes
7148 elif test "$wxUSE_CONTROLS" = "no"; then
7149 DEFAULT_wxUSE_ACCEL=no
7150 DEFAULT_wxUSE_BMPBUTTON=no
7151 DEFAULT_wxUSE_BUTTON=no
7152 DEFAULT_wxUSE_CALCTRL=no
7153 DEFAULT_wxUSE_CARET=no
7154 DEFAULT_wxUSE_COMBOBOX=no
7155 DEFAULT_wxUSE_CHECKBOX=no
7156 DEFAULT_wxUSE_CHECKLISTBOX=no
7157 DEFAULT_wxUSE_CHOICE=no
7158 DEFAULT_wxUSE_CHOICEBOOK=no
7159 DEFAULT_wxUSE_DATEPICKCTRL=no
7160 DEFAULT_wxUSE_GAUGE=no
7161 DEFAULT_wxUSE_GRID=no
7162 DEFAULT_wxUSE_IMAGLIST=no
7163 DEFAULT_wxUSE_LISTBOOK=no
7164 DEFAULT_wxUSE_LISTBOX=no
7165 DEFAULT_wxUSE_LISTCTRL=no
7166 DEFAULT_wxUSE_NOTEBOOK=no
7167 DEFAULT_wxUSE_RADIOBOX=no
7168 DEFAULT_wxUSE_RADIOBTN=no
7169 DEFAULT_wxUSE_SASH=no
7170 DEFAULT_wxUSE_SCROLLBAR=no
7171 DEFAULT_wxUSE_SLIDER=no
7172 DEFAULT_wxUSE_SPINBTN=no
7173 DEFAULT_wxUSE_SPINCTRL=no
7174 DEFAULT_wxUSE_SPLITTER=no
7175 DEFAULT_wxUSE_STATBMP=no
7176 DEFAULT_wxUSE_STATBOX=no
7177 DEFAULT_wxUSE_STATLINE=no
7178 DEFAULT_wxUSE_STATUSBAR=no
7179 DEFAULT_wxUSE_TAB_DIALOG=no
7180 DEFAULT_wxUSE_TOGGLEBTN=no
7181 DEFAULT_wxUSE_TOOLBAR=no
7182 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
7183 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
7184 DEFAULT_wxUSE_TOOLTIPS=no
7185 DEFAULT_wxUSE_TREECTRL=no
7186 DEFAULT_wxUSE_POPUPWIN=no
7187 DEFAULT_wxUSE_TIPWINDOW=no
7188 fi
7189
7190
7191 enablestring=
7192 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
7193 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
7194 no_cache=0
7195 # Check whether --enable-accel or --disable-accel was given.
7196 if test "${enable_accel+set}" = set; then
7197 enableval="$enable_accel"
7198
7199 if test "$enableval" = yes; then
7200 ac_cv_use_accel='wxUSE_ACCEL=yes'
7201 else
7202 ac_cv_use_accel='wxUSE_ACCEL=no'
7203 fi
7204
7205 else
7206
7207 LINE=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
7208 if test "x$LINE" != x ; then
7209 eval "DEFAULT_$LINE"
7210 else
7211 no_cache=1
7212 fi
7213
7214 ac_cv_use_accel='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
7215
7216 fi;
7217
7218 eval "$ac_cv_use_accel"
7219 if test "$no_cache" != 1; then
7220 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
7221 fi
7222
7223 if test "$wxUSE_ACCEL" = yes; then
7224 echo "$as_me:$LINENO: result: yes" >&5
7225 echo "${ECHO_T}yes" >&6
7226 else
7227 echo "$as_me:$LINENO: result: no" >&5
7228 echo "${ECHO_T}no" >&6
7229 fi
7230
7231
7232 enablestring=
7233 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
7234 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
7235 no_cache=0
7236 # Check whether --enable-button or --disable-button was given.
7237 if test "${enable_button+set}" = set; then
7238 enableval="$enable_button"
7239
7240 if test "$enableval" = yes; then
7241 ac_cv_use_button='wxUSE_BUTTON=yes'
7242 else
7243 ac_cv_use_button='wxUSE_BUTTON=no'
7244 fi
7245
7246 else
7247
7248 LINE=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
7249 if test "x$LINE" != x ; then
7250 eval "DEFAULT_$LINE"
7251 else
7252 no_cache=1
7253 fi
7254
7255 ac_cv_use_button='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
7256
7257 fi;
7258
7259 eval "$ac_cv_use_button"
7260 if test "$no_cache" != 1; then
7261 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
7262 fi
7263
7264 if test "$wxUSE_BUTTON" = yes; then
7265 echo "$as_me:$LINENO: result: yes" >&5
7266 echo "${ECHO_T}yes" >&6
7267 else
7268 echo "$as_me:$LINENO: result: no" >&5
7269 echo "${ECHO_T}no" >&6
7270 fi
7271
7272
7273 enablestring=
7274 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
7275 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
7276 no_cache=0
7277 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
7278 if test "${enable_bmpbutton+set}" = set; then
7279 enableval="$enable_bmpbutton"
7280
7281 if test "$enableval" = yes; then
7282 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
7283 else
7284 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
7285 fi
7286
7287 else
7288
7289 LINE=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
7290 if test "x$LINE" != x ; then
7291 eval "DEFAULT_$LINE"
7292 else
7293 no_cache=1
7294 fi
7295
7296 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
7297
7298 fi;
7299
7300 eval "$ac_cv_use_bmpbutton"
7301 if test "$no_cache" != 1; then
7302 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
7303 fi
7304
7305 if test "$wxUSE_BMPBUTTON" = yes; then
7306 echo "$as_me:$LINENO: result: yes" >&5
7307 echo "${ECHO_T}yes" >&6
7308 else
7309 echo "$as_me:$LINENO: result: no" >&5
7310 echo "${ECHO_T}no" >&6
7311 fi
7312
7313
7314 enablestring=
7315 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
7316 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
7317 no_cache=0
7318 # Check whether --enable-calendar or --disable-calendar was given.
7319 if test "${enable_calendar+set}" = set; then
7320 enableval="$enable_calendar"
7321
7322 if test "$enableval" = yes; then
7323 ac_cv_use_calendar='wxUSE_CALCTRL=yes'
7324 else
7325 ac_cv_use_calendar='wxUSE_CALCTRL=no'
7326 fi
7327
7328 else
7329
7330 LINE=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
7331 if test "x$LINE" != x ; then
7332 eval "DEFAULT_$LINE"
7333 else
7334 no_cache=1
7335 fi
7336
7337 ac_cv_use_calendar='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
7338
7339 fi;
7340
7341 eval "$ac_cv_use_calendar"
7342 if test "$no_cache" != 1; then
7343 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
7344 fi
7345
7346 if test "$wxUSE_CALCTRL" = yes; then
7347 echo "$as_me:$LINENO: result: yes" >&5
7348 echo "${ECHO_T}yes" >&6
7349 else
7350 echo "$as_me:$LINENO: result: no" >&5
7351 echo "${ECHO_T}no" >&6
7352 fi
7353
7354
7355 enablestring=
7356 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
7357 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
7358 no_cache=0
7359 # Check whether --enable-caret or --disable-caret was given.
7360 if test "${enable_caret+set}" = set; then
7361 enableval="$enable_caret"
7362
7363 if test "$enableval" = yes; then
7364 ac_cv_use_caret='wxUSE_CARET=yes'
7365 else
7366 ac_cv_use_caret='wxUSE_CARET=no'
7367 fi
7368
7369 else
7370
7371 LINE=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
7372 if test "x$LINE" != x ; then
7373 eval "DEFAULT_$LINE"
7374 else
7375 no_cache=1
7376 fi
7377
7378 ac_cv_use_caret='wxUSE_CARET='$DEFAULT_wxUSE_CARET
7379
7380 fi;
7381
7382 eval "$ac_cv_use_caret"
7383 if test "$no_cache" != 1; then
7384 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
7385 fi
7386
7387 if test "$wxUSE_CARET" = yes; then
7388 echo "$as_me:$LINENO: result: yes" >&5
7389 echo "${ECHO_T}yes" >&6
7390 else
7391 echo "$as_me:$LINENO: result: no" >&5
7392 echo "${ECHO_T}no" >&6
7393 fi
7394
7395
7396 enablestring=
7397 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
7398 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
7399 no_cache=0
7400 # Check whether --enable-checkbox or --disable-checkbox was given.
7401 if test "${enable_checkbox+set}" = set; then
7402 enableval="$enable_checkbox"
7403
7404 if test "$enableval" = yes; then
7405 ac_cv_use_checkbox='wxUSE_CHECKBOX=yes'
7406 else
7407 ac_cv_use_checkbox='wxUSE_CHECKBOX=no'
7408 fi
7409
7410 else
7411
7412 LINE=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
7413 if test "x$LINE" != x ; then
7414 eval "DEFAULT_$LINE"
7415 else
7416 no_cache=1
7417 fi
7418
7419 ac_cv_use_checkbox='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
7420
7421 fi;
7422
7423 eval "$ac_cv_use_checkbox"
7424 if test "$no_cache" != 1; then
7425 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
7426 fi
7427
7428 if test "$wxUSE_CHECKBOX" = yes; then
7429 echo "$as_me:$LINENO: result: yes" >&5
7430 echo "${ECHO_T}yes" >&6
7431 else
7432 echo "$as_me:$LINENO: result: no" >&5
7433 echo "${ECHO_T}no" >&6
7434 fi
7435
7436
7437 enablestring=
7438 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
7439 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
7440 no_cache=0
7441 # Check whether --enable-checklst or --disable-checklst was given.
7442 if test "${enable_checklst+set}" = set; then
7443 enableval="$enable_checklst"
7444
7445 if test "$enableval" = yes; then
7446 ac_cv_use_checklst='wxUSE_CHECKLST=yes'
7447 else
7448 ac_cv_use_checklst='wxUSE_CHECKLST=no'
7449 fi
7450
7451 else
7452
7453 LINE=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
7454 if test "x$LINE" != x ; then
7455 eval "DEFAULT_$LINE"
7456 else
7457 no_cache=1
7458 fi
7459
7460 ac_cv_use_checklst='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
7461
7462 fi;
7463
7464 eval "$ac_cv_use_checklst"
7465 if test "$no_cache" != 1; then
7466 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
7467 fi
7468
7469 if test "$wxUSE_CHECKLST" = yes; then
7470 echo "$as_me:$LINENO: result: yes" >&5
7471 echo "${ECHO_T}yes" >&6
7472 else
7473 echo "$as_me:$LINENO: result: no" >&5
7474 echo "${ECHO_T}no" >&6
7475 fi
7476
7477
7478 enablestring=
7479 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
7480 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
7481 no_cache=0
7482 # Check whether --enable-choice or --disable-choice was given.
7483 if test "${enable_choice+set}" = set; then
7484 enableval="$enable_choice"
7485
7486 if test "$enableval" = yes; then
7487 ac_cv_use_choice='wxUSE_CHOICE=yes'
7488 else
7489 ac_cv_use_choice='wxUSE_CHOICE=no'
7490 fi
7491
7492 else
7493
7494 LINE=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
7495 if test "x$LINE" != x ; then
7496 eval "DEFAULT_$LINE"
7497 else
7498 no_cache=1
7499 fi
7500
7501 ac_cv_use_choice='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
7502
7503 fi;
7504
7505 eval "$ac_cv_use_choice"
7506 if test "$no_cache" != 1; then
7507 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
7508 fi
7509
7510 if test "$wxUSE_CHOICE" = yes; then
7511 echo "$as_me:$LINENO: result: yes" >&5
7512 echo "${ECHO_T}yes" >&6
7513 else
7514 echo "$as_me:$LINENO: result: no" >&5
7515 echo "${ECHO_T}no" >&6
7516 fi
7517
7518
7519 enablestring=
7520 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
7521 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6
7522 no_cache=0
7523 # Check whether --enable-choicebook or --disable-choicebook was given.
7524 if test "${enable_choicebook+set}" = set; then
7525 enableval="$enable_choicebook"
7526
7527 if test "$enableval" = yes; then
7528 ac_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
7529 else
7530 ac_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
7531 fi
7532
7533 else
7534
7535 LINE=`grep "wxUSE_CHOICEBOOK" ${wx_arg_cache_file}`
7536 if test "x$LINE" != x ; then
7537 eval "DEFAULT_$LINE"
7538 else
7539 no_cache=1
7540 fi
7541
7542 ac_cv_use_choicebook='wxUSE_CHOICEBOOK='$DEFAULT_wxUSE_CHOICEBOOK
7543
7544 fi;
7545
7546 eval "$ac_cv_use_choicebook"
7547 if test "$no_cache" != 1; then
7548 echo $ac_cv_use_choicebook >> ${wx_arg_cache_file}.tmp
7549 fi
7550
7551 if test "$wxUSE_CHOICEBOOK" = yes; then
7552 echo "$as_me:$LINENO: result: yes" >&5
7553 echo "${ECHO_T}yes" >&6
7554 else
7555 echo "$as_me:$LINENO: result: no" >&5
7556 echo "${ECHO_T}no" >&6
7557 fi
7558
7559
7560 enablestring=
7561 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
7562 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
7563 no_cache=0
7564 # Check whether --enable-combobox or --disable-combobox was given.
7565 if test "${enable_combobox+set}" = set; then
7566 enableval="$enable_combobox"
7567
7568 if test "$enableval" = yes; then
7569 ac_cv_use_combobox='wxUSE_COMBOBOX=yes'
7570 else
7571 ac_cv_use_combobox='wxUSE_COMBOBOX=no'
7572 fi
7573
7574 else
7575
7576 LINE=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
7577 if test "x$LINE" != x ; then
7578 eval "DEFAULT_$LINE"
7579 else
7580 no_cache=1
7581 fi
7582
7583 ac_cv_use_combobox='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
7584
7585 fi;
7586
7587 eval "$ac_cv_use_combobox"
7588 if test "$no_cache" != 1; then
7589 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
7590 fi
7591
7592 if test "$wxUSE_COMBOBOX" = yes; then
7593 echo "$as_me:$LINENO: result: yes" >&5
7594 echo "${ECHO_T}yes" >&6
7595 else
7596 echo "$as_me:$LINENO: result: no" >&5
7597 echo "${ECHO_T}no" >&6
7598 fi
7599
7600
7601 enablestring=
7602 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
7603 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6
7604 no_cache=0
7605 # Check whether --enable-datepick or --disable-datepick was given.
7606 if test "${enable_datepick+set}" = set; then
7607 enableval="$enable_datepick"
7608
7609 if test "$enableval" = yes; then
7610 ac_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
7611 else
7612 ac_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
7613 fi
7614
7615 else
7616
7617 LINE=`grep "wxUSE_DATEPICKCTRL" ${wx_arg_cache_file}`
7618 if test "x$LINE" != x ; then
7619 eval "DEFAULT_$LINE"
7620 else
7621 no_cache=1
7622 fi
7623
7624 ac_cv_use_datepick='wxUSE_DATEPICKCTRL='$DEFAULT_wxUSE_DATEPICKCTRL
7625
7626 fi;
7627
7628 eval "$ac_cv_use_datepick"
7629 if test "$no_cache" != 1; then
7630 echo $ac_cv_use_datepick >> ${wx_arg_cache_file}.tmp
7631 fi
7632
7633 if test "$wxUSE_DATEPICKCTRL" = yes; then
7634 echo "$as_me:$LINENO: result: yes" >&5
7635 echo "${ECHO_T}yes" >&6
7636 else
7637 echo "$as_me:$LINENO: result: no" >&5
7638 echo "${ECHO_T}no" >&6
7639 fi
7640
7641
7642 enablestring=
7643 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
7644 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
7645 no_cache=0
7646 # Check whether --enable-display or --disable-display was given.
7647 if test "${enable_display+set}" = set; then
7648 enableval="$enable_display"
7649
7650 if test "$enableval" = yes; then
7651 ac_cv_use_display='wxUSE_DISPLAY=yes'
7652 else
7653 ac_cv_use_display='wxUSE_DISPLAY=no'
7654 fi
7655
7656 else
7657
7658 LINE=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
7659 if test "x$LINE" != x ; then
7660 eval "DEFAULT_$LINE"
7661 else
7662 no_cache=1
7663 fi
7664
7665 ac_cv_use_display='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
7666
7667 fi;
7668
7669 eval "$ac_cv_use_display"
7670 if test "$no_cache" != 1; then
7671 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
7672 fi
7673
7674 if test "$wxUSE_DISPLAY" = yes; then
7675 echo "$as_me:$LINENO: result: yes" >&5
7676 echo "${ECHO_T}yes" >&6
7677 else
7678 echo "$as_me:$LINENO: result: no" >&5
7679 echo "${ECHO_T}no" >&6
7680 fi
7681
7682
7683 enablestring=
7684 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
7685 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
7686 no_cache=0
7687 # Check whether --enable-gauge or --disable-gauge was given.
7688 if test "${enable_gauge+set}" = set; then
7689 enableval="$enable_gauge"
7690
7691 if test "$enableval" = yes; then
7692 ac_cv_use_gauge='wxUSE_GAUGE=yes'
7693 else
7694 ac_cv_use_gauge='wxUSE_GAUGE=no'
7695 fi
7696
7697 else
7698
7699 LINE=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
7700 if test "x$LINE" != x ; then
7701 eval "DEFAULT_$LINE"
7702 else
7703 no_cache=1
7704 fi
7705
7706 ac_cv_use_gauge='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
7707
7708 fi;
7709
7710 eval "$ac_cv_use_gauge"
7711 if test "$no_cache" != 1; then
7712 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
7713 fi
7714
7715 if test "$wxUSE_GAUGE" = yes; then
7716 echo "$as_me:$LINENO: result: yes" >&5
7717 echo "${ECHO_T}yes" >&6
7718 else
7719 echo "$as_me:$LINENO: result: no" >&5
7720 echo "${ECHO_T}no" >&6
7721 fi
7722
7723
7724 enablestring=
7725 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
7726 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
7727 no_cache=0
7728 # Check whether --enable-grid or --disable-grid was given.
7729 if test "${enable_grid+set}" = set; then
7730 enableval="$enable_grid"
7731
7732 if test "$enableval" = yes; then
7733 ac_cv_use_grid='wxUSE_GRID=yes'
7734 else
7735 ac_cv_use_grid='wxUSE_GRID=no'
7736 fi
7737
7738 else
7739
7740 LINE=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
7741 if test "x$LINE" != x ; then
7742 eval "DEFAULT_$LINE"
7743 else
7744 no_cache=1
7745 fi
7746
7747 ac_cv_use_grid='wxUSE_GRID='$DEFAULT_wxUSE_GRID
7748
7749 fi;
7750
7751 eval "$ac_cv_use_grid"
7752 if test "$no_cache" != 1; then
7753 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
7754 fi
7755
7756 if test "$wxUSE_GRID" = yes; then
7757 echo "$as_me:$LINENO: result: yes" >&5
7758 echo "${ECHO_T}yes" >&6
7759 else
7760 echo "$as_me:$LINENO: result: no" >&5
7761 echo "${ECHO_T}no" >&6
7762 fi
7763
7764
7765 enablestring=
7766 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
7767 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
7768 no_cache=0
7769 # Check whether --enable-imaglist or --disable-imaglist was given.
7770 if test "${enable_imaglist+set}" = set; then
7771 enableval="$enable_imaglist"
7772
7773 if test "$enableval" = yes; then
7774 ac_cv_use_imaglist='wxUSE_IMAGLIST=yes'
7775 else
7776 ac_cv_use_imaglist='wxUSE_IMAGLIST=no'
7777 fi
7778
7779 else
7780
7781 LINE=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
7782 if test "x$LINE" != x ; then
7783 eval "DEFAULT_$LINE"
7784 else
7785 no_cache=1
7786 fi
7787
7788 ac_cv_use_imaglist='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
7789
7790 fi;
7791
7792 eval "$ac_cv_use_imaglist"
7793 if test "$no_cache" != 1; then
7794 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
7795 fi
7796
7797 if test "$wxUSE_IMAGLIST" = yes; then
7798 echo "$as_me:$LINENO: result: yes" >&5
7799 echo "${ECHO_T}yes" >&6
7800 else
7801 echo "$as_me:$LINENO: result: no" >&5
7802 echo "${ECHO_T}no" >&6
7803 fi
7804
7805
7806 enablestring=
7807 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
7808 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6
7809 no_cache=0
7810 # Check whether --enable-listbook or --disable-listbook was given.
7811 if test "${enable_listbook+set}" = set; then
7812 enableval="$enable_listbook"
7813
7814 if test "$enableval" = yes; then
7815 ac_cv_use_listbook='wxUSE_LISTBOOK=yes'
7816 else
7817 ac_cv_use_listbook='wxUSE_LISTBOOK=no'
7818 fi
7819
7820 else
7821
7822 LINE=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}`
7823 if test "x$LINE" != x ; then
7824 eval "DEFAULT_$LINE"
7825 else
7826 no_cache=1
7827 fi
7828
7829 ac_cv_use_listbook='wxUSE_LISTBOOK='$DEFAULT_wxUSE_LISTBOOK
7830
7831 fi;
7832
7833 eval "$ac_cv_use_listbook"
7834 if test "$no_cache" != 1; then
7835 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
7836 fi
7837
7838 if test "$wxUSE_LISTBOOK" = yes; then
7839 echo "$as_me:$LINENO: result: yes" >&5
7840 echo "${ECHO_T}yes" >&6
7841 else
7842 echo "$as_me:$LINENO: result: no" >&5
7843 echo "${ECHO_T}no" >&6
7844 fi
7845
7846
7847 enablestring=
7848 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
7849 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
7850 no_cache=0
7851 # Check whether --enable-listbox or --disable-listbox was given.
7852 if test "${enable_listbox+set}" = set; then
7853 enableval="$enable_listbox"
7854
7855 if test "$enableval" = yes; then
7856 ac_cv_use_listbox='wxUSE_LISTBOX=yes'
7857 else
7858 ac_cv_use_listbox='wxUSE_LISTBOX=no'
7859 fi
7860
7861 else
7862
7863 LINE=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
7864 if test "x$LINE" != x ; then
7865 eval "DEFAULT_$LINE"
7866 else
7867 no_cache=1
7868 fi
7869
7870 ac_cv_use_listbox='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
7871
7872 fi;
7873
7874 eval "$ac_cv_use_listbox"
7875 if test "$no_cache" != 1; then
7876 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
7877 fi
7878
7879 if test "$wxUSE_LISTBOX" = yes; then
7880 echo "$as_me:$LINENO: result: yes" >&5
7881 echo "${ECHO_T}yes" >&6
7882 else
7883 echo "$as_me:$LINENO: result: no" >&5
7884 echo "${ECHO_T}no" >&6
7885 fi
7886
7887
7888 enablestring=
7889 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
7890 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
7891 no_cache=0
7892 # Check whether --enable-listctrl or --disable-listctrl was given.
7893 if test "${enable_listctrl+set}" = set; then
7894 enableval="$enable_listctrl"
7895
7896 if test "$enableval" = yes; then
7897 ac_cv_use_listctrl='wxUSE_LISTCTRL=yes'
7898 else
7899 ac_cv_use_listctrl='wxUSE_LISTCTRL=no'
7900 fi
7901
7902 else
7903
7904 LINE=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
7905 if test "x$LINE" != x ; then
7906 eval "DEFAULT_$LINE"
7907 else
7908 no_cache=1
7909 fi
7910
7911 ac_cv_use_listctrl='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
7912
7913 fi;
7914
7915 eval "$ac_cv_use_listctrl"
7916 if test "$no_cache" != 1; then
7917 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
7918 fi
7919
7920 if test "$wxUSE_LISTCTRL" = yes; then
7921 echo "$as_me:$LINENO: result: yes" >&5
7922 echo "${ECHO_T}yes" >&6
7923 else
7924 echo "$as_me:$LINENO: result: no" >&5
7925 echo "${ECHO_T}no" >&6
7926 fi
7927
7928
7929 enablestring=
7930 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
7931 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
7932 no_cache=0
7933 # Check whether --enable-notebook or --disable-notebook was given.
7934 if test "${enable_notebook+set}" = set; then
7935 enableval="$enable_notebook"
7936
7937 if test "$enableval" = yes; then
7938 ac_cv_use_notebook='wxUSE_NOTEBOOK=yes'
7939 else
7940 ac_cv_use_notebook='wxUSE_NOTEBOOK=no'
7941 fi
7942
7943 else
7944
7945 LINE=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
7946 if test "x$LINE" != x ; then
7947 eval "DEFAULT_$LINE"
7948 else
7949 no_cache=1
7950 fi
7951
7952 ac_cv_use_notebook='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
7953
7954 fi;
7955
7956 eval "$ac_cv_use_notebook"
7957 if test "$no_cache" != 1; then
7958 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
7959 fi
7960
7961 if test "$wxUSE_NOTEBOOK" = yes; then
7962 echo "$as_me:$LINENO: result: yes" >&5
7963 echo "${ECHO_T}yes" >&6
7964 else
7965 echo "$as_me:$LINENO: result: no" >&5
7966 echo "${ECHO_T}no" >&6
7967 fi
7968
7969
7970 enablestring=
7971 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
7972 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
7973 no_cache=0
7974 # Check whether --enable-radiobox or --disable-radiobox was given.
7975 if test "${enable_radiobox+set}" = set; then
7976 enableval="$enable_radiobox"
7977
7978 if test "$enableval" = yes; then
7979 ac_cv_use_radiobox='wxUSE_RADIOBOX=yes'
7980 else
7981 ac_cv_use_radiobox='wxUSE_RADIOBOX=no'
7982 fi
7983
7984 else
7985
7986 LINE=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
7987 if test "x$LINE" != x ; then
7988 eval "DEFAULT_$LINE"
7989 else
7990 no_cache=1
7991 fi
7992
7993 ac_cv_use_radiobox='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
7994
7995 fi;
7996
7997 eval "$ac_cv_use_radiobox"
7998 if test "$no_cache" != 1; then
7999 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
8000 fi
8001
8002 if test "$wxUSE_RADIOBOX" = yes; then
8003 echo "$as_me:$LINENO: result: yes" >&5
8004 echo "${ECHO_T}yes" >&6
8005 else
8006 echo "$as_me:$LINENO: result: no" >&5
8007 echo "${ECHO_T}no" >&6
8008 fi
8009
8010
8011 enablestring=
8012 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
8013 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
8014 no_cache=0
8015 # Check whether --enable-radiobtn or --disable-radiobtn was given.
8016 if test "${enable_radiobtn+set}" = set; then
8017 enableval="$enable_radiobtn"
8018
8019 if test "$enableval" = yes; then
8020 ac_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
8021 else
8022 ac_cv_use_radiobtn='wxUSE_RADIOBTN=no'
8023 fi
8024
8025 else
8026
8027 LINE=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
8028 if test "x$LINE" != x ; then
8029 eval "DEFAULT_$LINE"
8030 else
8031 no_cache=1
8032 fi
8033
8034 ac_cv_use_radiobtn='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
8035
8036 fi;
8037
8038 eval "$ac_cv_use_radiobtn"
8039 if test "$no_cache" != 1; then
8040 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
8041 fi
8042
8043 if test "$wxUSE_RADIOBTN" = yes; then
8044 echo "$as_me:$LINENO: result: yes" >&5
8045 echo "${ECHO_T}yes" >&6
8046 else
8047 echo "$as_me:$LINENO: result: no" >&5
8048 echo "${ECHO_T}no" >&6
8049 fi
8050
8051
8052 enablestring=
8053 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
8054 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
8055 no_cache=0
8056 # Check whether --enable-sash or --disable-sash was given.
8057 if test "${enable_sash+set}" = set; then
8058 enableval="$enable_sash"
8059
8060 if test "$enableval" = yes; then
8061 ac_cv_use_sash='wxUSE_SASH=yes'
8062 else
8063 ac_cv_use_sash='wxUSE_SASH=no'
8064 fi
8065
8066 else
8067
8068 LINE=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
8069 if test "x$LINE" != x ; then
8070 eval "DEFAULT_$LINE"
8071 else
8072 no_cache=1
8073 fi
8074
8075 ac_cv_use_sash='wxUSE_SASH='$DEFAULT_wxUSE_SASH
8076
8077 fi;
8078
8079 eval "$ac_cv_use_sash"
8080 if test "$no_cache" != 1; then
8081 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
8082 fi
8083
8084 if test "$wxUSE_SASH" = yes; then
8085 echo "$as_me:$LINENO: result: yes" >&5
8086 echo "${ECHO_T}yes" >&6
8087 else
8088 echo "$as_me:$LINENO: result: no" >&5
8089 echo "${ECHO_T}no" >&6
8090 fi
8091
8092
8093 enablestring=
8094 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
8095 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
8096 no_cache=0
8097 # Check whether --enable-scrollbar or --disable-scrollbar was given.
8098 if test "${enable_scrollbar+set}" = set; then
8099 enableval="$enable_scrollbar"
8100
8101 if test "$enableval" = yes; then
8102 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
8103 else
8104 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
8105 fi
8106
8107 else
8108
8109 LINE=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
8110 if test "x$LINE" != x ; then
8111 eval "DEFAULT_$LINE"
8112 else
8113 no_cache=1
8114 fi
8115
8116 ac_cv_use_scrollbar='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
8117
8118 fi;
8119
8120 eval "$ac_cv_use_scrollbar"
8121 if test "$no_cache" != 1; then
8122 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
8123 fi
8124
8125 if test "$wxUSE_SCROLLBAR" = yes; then
8126 echo "$as_me:$LINENO: result: yes" >&5
8127 echo "${ECHO_T}yes" >&6
8128 else
8129 echo "$as_me:$LINENO: result: no" >&5
8130 echo "${ECHO_T}no" >&6
8131 fi
8132
8133
8134 enablestring=
8135 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
8136 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
8137 no_cache=0
8138 # Check whether --enable-slider or --disable-slider was given.
8139 if test "${enable_slider+set}" = set; then
8140 enableval="$enable_slider"
8141
8142 if test "$enableval" = yes; then
8143 ac_cv_use_slider='wxUSE_SLIDER=yes'
8144 else
8145 ac_cv_use_slider='wxUSE_SLIDER=no'
8146 fi
8147
8148 else
8149
8150 LINE=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
8151 if test "x$LINE" != x ; then
8152 eval "DEFAULT_$LINE"
8153 else
8154 no_cache=1
8155 fi
8156
8157 ac_cv_use_slider='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
8158
8159 fi;
8160
8161 eval "$ac_cv_use_slider"
8162 if test "$no_cache" != 1; then
8163 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
8164 fi
8165
8166 if test "$wxUSE_SLIDER" = yes; then
8167 echo "$as_me:$LINENO: result: yes" >&5
8168 echo "${ECHO_T}yes" >&6
8169 else
8170 echo "$as_me:$LINENO: result: no" >&5
8171 echo "${ECHO_T}no" >&6
8172 fi
8173
8174
8175 enablestring=
8176 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
8177 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
8178 no_cache=0
8179 # Check whether --enable-spinbtn or --disable-spinbtn was given.
8180 if test "${enable_spinbtn+set}" = set; then
8181 enableval="$enable_spinbtn"
8182
8183 if test "$enableval" = yes; then
8184 ac_cv_use_spinbtn='wxUSE_SPINBTN=yes'
8185 else
8186 ac_cv_use_spinbtn='wxUSE_SPINBTN=no'
8187 fi
8188
8189 else
8190
8191 LINE=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
8192 if test "x$LINE" != x ; then
8193 eval "DEFAULT_$LINE"
8194 else
8195 no_cache=1
8196 fi
8197
8198 ac_cv_use_spinbtn='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
8199
8200 fi;
8201
8202 eval "$ac_cv_use_spinbtn"
8203 if test "$no_cache" != 1; then
8204 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
8205 fi
8206
8207 if test "$wxUSE_SPINBTN" = yes; then
8208 echo "$as_me:$LINENO: result: yes" >&5
8209 echo "${ECHO_T}yes" >&6
8210 else
8211 echo "$as_me:$LINENO: result: no" >&5
8212 echo "${ECHO_T}no" >&6
8213 fi
8214
8215
8216 enablestring=
8217 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
8218 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
8219 no_cache=0
8220 # Check whether --enable-spinctrl or --disable-spinctrl was given.
8221 if test "${enable_spinctrl+set}" = set; then
8222 enableval="$enable_spinctrl"
8223
8224 if test "$enableval" = yes; then
8225 ac_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
8226 else
8227 ac_cv_use_spinctrl='wxUSE_SPINCTRL=no'
8228 fi
8229
8230 else
8231
8232 LINE=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
8233 if test "x$LINE" != x ; then
8234 eval "DEFAULT_$LINE"
8235 else
8236 no_cache=1
8237 fi
8238
8239 ac_cv_use_spinctrl='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
8240
8241 fi;
8242
8243 eval "$ac_cv_use_spinctrl"
8244 if test "$no_cache" != 1; then
8245 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
8246 fi
8247
8248 if test "$wxUSE_SPINCTRL" = yes; then
8249 echo "$as_me:$LINENO: result: yes" >&5
8250 echo "${ECHO_T}yes" >&6
8251 else
8252 echo "$as_me:$LINENO: result: no" >&5
8253 echo "${ECHO_T}no" >&6
8254 fi
8255
8256
8257 enablestring=
8258 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
8259 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
8260 no_cache=0
8261 # Check whether --enable-splitter or --disable-splitter was given.
8262 if test "${enable_splitter+set}" = set; then
8263 enableval="$enable_splitter"
8264
8265 if test "$enableval" = yes; then
8266 ac_cv_use_splitter='wxUSE_SPLITTER=yes'
8267 else
8268 ac_cv_use_splitter='wxUSE_SPLITTER=no'
8269 fi
8270
8271 else
8272
8273 LINE=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
8274 if test "x$LINE" != x ; then
8275 eval "DEFAULT_$LINE"
8276 else
8277 no_cache=1
8278 fi
8279
8280 ac_cv_use_splitter='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
8281
8282 fi;
8283
8284 eval "$ac_cv_use_splitter"
8285 if test "$no_cache" != 1; then
8286 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
8287 fi
8288
8289 if test "$wxUSE_SPLITTER" = yes; then
8290 echo "$as_me:$LINENO: result: yes" >&5
8291 echo "${ECHO_T}yes" >&6
8292 else
8293 echo "$as_me:$LINENO: result: no" >&5
8294 echo "${ECHO_T}no" >&6
8295 fi
8296
8297
8298 enablestring=
8299 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
8300 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
8301 no_cache=0
8302 # Check whether --enable-statbmp or --disable-statbmp was given.
8303 if test "${enable_statbmp+set}" = set; then
8304 enableval="$enable_statbmp"
8305
8306 if test "$enableval" = yes; then
8307 ac_cv_use_statbmp='wxUSE_STATBMP=yes'
8308 else
8309 ac_cv_use_statbmp='wxUSE_STATBMP=no'
8310 fi
8311
8312 else
8313
8314 LINE=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
8315 if test "x$LINE" != x ; then
8316 eval "DEFAULT_$LINE"
8317 else
8318 no_cache=1
8319 fi
8320
8321 ac_cv_use_statbmp='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
8322
8323 fi;
8324
8325 eval "$ac_cv_use_statbmp"
8326 if test "$no_cache" != 1; then
8327 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
8328 fi
8329
8330 if test "$wxUSE_STATBMP" = yes; then
8331 echo "$as_me:$LINENO: result: yes" >&5
8332 echo "${ECHO_T}yes" >&6
8333 else
8334 echo "$as_me:$LINENO: result: no" >&5
8335 echo "${ECHO_T}no" >&6
8336 fi
8337
8338
8339 enablestring=
8340 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
8341 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
8342 no_cache=0
8343 # Check whether --enable-statbox or --disable-statbox was given.
8344 if test "${enable_statbox+set}" = set; then
8345 enableval="$enable_statbox"
8346
8347 if test "$enableval" = yes; then
8348 ac_cv_use_statbox='wxUSE_STATBOX=yes'
8349 else
8350 ac_cv_use_statbox='wxUSE_STATBOX=no'
8351 fi
8352
8353 else
8354
8355 LINE=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
8356 if test "x$LINE" != x ; then
8357 eval "DEFAULT_$LINE"
8358 else
8359 no_cache=1
8360 fi
8361
8362 ac_cv_use_statbox='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
8363
8364 fi;
8365
8366 eval "$ac_cv_use_statbox"
8367 if test "$no_cache" != 1; then
8368 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
8369 fi
8370
8371 if test "$wxUSE_STATBOX" = yes; then
8372 echo "$as_me:$LINENO: result: yes" >&5
8373 echo "${ECHO_T}yes" >&6
8374 else
8375 echo "$as_me:$LINENO: result: no" >&5
8376 echo "${ECHO_T}no" >&6
8377 fi
8378
8379
8380 enablestring=
8381 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
8382 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
8383 no_cache=0
8384 # Check whether --enable-statline or --disable-statline was given.
8385 if test "${enable_statline+set}" = set; then
8386 enableval="$enable_statline"
8387
8388 if test "$enableval" = yes; then
8389 ac_cv_use_statline='wxUSE_STATLINE=yes'
8390 else
8391 ac_cv_use_statline='wxUSE_STATLINE=no'
8392 fi
8393
8394 else
8395
8396 LINE=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
8397 if test "x$LINE" != x ; then
8398 eval "DEFAULT_$LINE"
8399 else
8400 no_cache=1
8401 fi
8402
8403 ac_cv_use_statline='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
8404
8405 fi;
8406
8407 eval "$ac_cv_use_statline"
8408 if test "$no_cache" != 1; then
8409 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
8410 fi
8411
8412 if test "$wxUSE_STATLINE" = yes; then
8413 echo "$as_me:$LINENO: result: yes" >&5
8414 echo "${ECHO_T}yes" >&6
8415 else
8416 echo "$as_me:$LINENO: result: no" >&5
8417 echo "${ECHO_T}no" >&6
8418 fi
8419
8420
8421 enablestring=
8422 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
8423 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
8424 no_cache=0
8425 # Check whether --enable-stattext or --disable-stattext was given.
8426 if test "${enable_stattext+set}" = set; then
8427 enableval="$enable_stattext"
8428
8429 if test "$enableval" = yes; then
8430 ac_cv_use_stattext='wxUSE_STATTEXT=yes'
8431 else
8432 ac_cv_use_stattext='wxUSE_STATTEXT=no'
8433 fi
8434
8435 else
8436
8437 LINE=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
8438 if test "x$LINE" != x ; then
8439 eval "DEFAULT_$LINE"
8440 else
8441 no_cache=1
8442 fi
8443
8444 ac_cv_use_stattext='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
8445
8446 fi;
8447
8448 eval "$ac_cv_use_stattext"
8449 if test "$no_cache" != 1; then
8450 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
8451 fi
8452
8453 if test "$wxUSE_STATTEXT" = yes; then
8454 echo "$as_me:$LINENO: result: yes" >&5
8455 echo "${ECHO_T}yes" >&6
8456 else
8457 echo "$as_me:$LINENO: result: no" >&5
8458 echo "${ECHO_T}no" >&6
8459 fi
8460
8461
8462 enablestring=
8463 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
8464 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
8465 no_cache=0
8466 # Check whether --enable-statusbar or --disable-statusbar was given.
8467 if test "${enable_statusbar+set}" = set; then
8468 enableval="$enable_statusbar"
8469
8470 if test "$enableval" = yes; then
8471 ac_cv_use_statusbar='wxUSE_STATUSBAR=yes'
8472 else
8473 ac_cv_use_statusbar='wxUSE_STATUSBAR=no'
8474 fi
8475
8476 else
8477
8478 LINE=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
8479 if test "x$LINE" != x ; then
8480 eval "DEFAULT_$LINE"
8481 else
8482 no_cache=1
8483 fi
8484
8485 ac_cv_use_statusbar='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
8486
8487 fi;
8488
8489 eval "$ac_cv_use_statusbar"
8490 if test "$no_cache" != 1; then
8491 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
8492 fi
8493
8494 if test "$wxUSE_STATUSBAR" = yes; then
8495 echo "$as_me:$LINENO: result: yes" >&5
8496 echo "${ECHO_T}yes" >&6
8497 else
8498 echo "$as_me:$LINENO: result: no" >&5
8499 echo "${ECHO_T}no" >&6
8500 fi
8501
8502
8503 enablestring=
8504 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
8505 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
8506 no_cache=0
8507 # Check whether --enable-tabdialog or --disable-tabdialog was given.
8508 if test "${enable_tabdialog+set}" = set; then
8509 enableval="$enable_tabdialog"
8510
8511 if test "$enableval" = yes; then
8512 ac_cv_use_tabdialog='wxUSE_TABDIALOG=yes'
8513 else
8514 ac_cv_use_tabdialog='wxUSE_TABDIALOG=no'
8515 fi
8516
8517 else
8518
8519 LINE=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
8520 if test "x$LINE" != x ; then
8521 eval "DEFAULT_$LINE"
8522 else
8523 no_cache=1
8524 fi
8525
8526 ac_cv_use_tabdialog='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
8527
8528 fi;
8529
8530 eval "$ac_cv_use_tabdialog"
8531 if test "$no_cache" != 1; then
8532 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
8533 fi
8534
8535 if test "$wxUSE_TABDIALOG" = yes; then
8536 echo "$as_me:$LINENO: result: yes" >&5
8537 echo "${ECHO_T}yes" >&6
8538 else
8539 echo "$as_me:$LINENO: result: no" >&5
8540 echo "${ECHO_T}no" >&6
8541 fi
8542
8543
8544 enablestring=
8545 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
8546 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
8547 no_cache=0
8548 # Check whether --enable-textctrl or --disable-textctrl was given.
8549 if test "${enable_textctrl+set}" = set; then
8550 enableval="$enable_textctrl"
8551
8552 if test "$enableval" = yes; then
8553 ac_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
8554 else
8555 ac_cv_use_textctrl='wxUSE_TEXTCTRL=no'
8556 fi
8557
8558 else
8559
8560 LINE=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
8561 if test "x$LINE" != x ; then
8562 eval "DEFAULT_$LINE"
8563 else
8564 no_cache=1
8565 fi
8566
8567 ac_cv_use_textctrl='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
8568
8569 fi;
8570
8571 eval "$ac_cv_use_textctrl"
8572 if test "$no_cache" != 1; then
8573 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
8574 fi
8575
8576 if test "$wxUSE_TEXTCTRL" = yes; then
8577 echo "$as_me:$LINENO: result: yes" >&5
8578 echo "${ECHO_T}yes" >&6
8579 else
8580 echo "$as_me:$LINENO: result: no" >&5
8581 echo "${ECHO_T}no" >&6
8582 fi
8583
8584
8585 enablestring=
8586 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
8587 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
8588 no_cache=0
8589 # Check whether --enable-togglebtn or --disable-togglebtn was given.
8590 if test "${enable_togglebtn+set}" = set; then
8591 enableval="$enable_togglebtn"
8592
8593 if test "$enableval" = yes; then
8594 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
8595 else
8596 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
8597 fi
8598
8599 else
8600
8601 LINE=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
8602 if test "x$LINE" != x ; then
8603 eval "DEFAULT_$LINE"
8604 else
8605 no_cache=1
8606 fi
8607
8608 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
8609
8610 fi;
8611
8612 eval "$ac_cv_use_togglebtn"
8613 if test "$no_cache" != 1; then
8614 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
8615 fi
8616
8617 if test "$wxUSE_TOGGLEBTN" = yes; then
8618 echo "$as_me:$LINENO: result: yes" >&5
8619 echo "${ECHO_T}yes" >&6
8620 else
8621 echo "$as_me:$LINENO: result: no" >&5
8622 echo "${ECHO_T}no" >&6
8623 fi
8624
8625
8626 enablestring=
8627 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
8628 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
8629 no_cache=0
8630 # Check whether --enable-toolbar or --disable-toolbar was given.
8631 if test "${enable_toolbar+set}" = set; then
8632 enableval="$enable_toolbar"
8633
8634 if test "$enableval" = yes; then
8635 ac_cv_use_toolbar='wxUSE_TOOLBAR=yes'
8636 else
8637 ac_cv_use_toolbar='wxUSE_TOOLBAR=no'
8638 fi
8639
8640 else
8641
8642 LINE=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
8643 if test "x$LINE" != x ; then
8644 eval "DEFAULT_$LINE"
8645 else
8646 no_cache=1
8647 fi
8648
8649 ac_cv_use_toolbar='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
8650
8651 fi;
8652
8653 eval "$ac_cv_use_toolbar"
8654 if test "$no_cache" != 1; then
8655 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
8656 fi
8657
8658 if test "$wxUSE_TOOLBAR" = yes; then
8659 echo "$as_me:$LINENO: result: yes" >&5
8660 echo "${ECHO_T}yes" >&6
8661 else
8662 echo "$as_me:$LINENO: result: no" >&5
8663 echo "${ECHO_T}no" >&6
8664 fi
8665
8666
8667 enablestring=
8668 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
8669 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
8670 no_cache=0
8671 # Check whether --enable-tbarnative or --disable-tbarnative was given.
8672 if test "${enable_tbarnative+set}" = set; then
8673 enableval="$enable_tbarnative"
8674
8675 if test "$enableval" = yes; then
8676 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
8677 else
8678 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
8679 fi
8680
8681 else
8682
8683 LINE=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
8684 if test "x$LINE" != x ; then
8685 eval "DEFAULT_$LINE"
8686 else
8687 no_cache=1
8688 fi
8689
8690 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
8691
8692 fi;
8693
8694 eval "$ac_cv_use_tbarnative"
8695 if test "$no_cache" != 1; then
8696 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
8697 fi
8698
8699 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
8700 echo "$as_me:$LINENO: result: yes" >&5
8701 echo "${ECHO_T}yes" >&6
8702 else
8703 echo "$as_me:$LINENO: result: no" >&5
8704 echo "${ECHO_T}no" >&6
8705 fi
8706
8707
8708 enablestring=
8709 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarsmpl" >&5
8710 echo $ECHO_N "checking for --${enablestring:-enable}-tbarsmpl... $ECHO_C" >&6
8711 no_cache=0
8712 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
8713 if test "${enable_tbarsmpl+set}" = set; then
8714 enableval="$enable_tbarsmpl"
8715
8716 if test "$enableval" = yes; then
8717 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE=yes'
8718 else
8719 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE=no'
8720 fi
8721
8722 else
8723
8724 LINE=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
8725 if test "x$LINE" != x ; then
8726 eval "DEFAULT_$LINE"
8727 else
8728 no_cache=1
8729 fi
8730
8731 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
8732
8733 fi;
8734
8735 eval "$ac_cv_use_tbarsmpl"
8736 if test "$no_cache" != 1; then
8737 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
8738 fi
8739
8740 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
8741 echo "$as_me:$LINENO: result: yes" >&5
8742 echo "${ECHO_T}yes" >&6
8743 else
8744 echo "$as_me:$LINENO: result: no" >&5
8745 echo "${ECHO_T}no" >&6
8746 fi
8747
8748
8749 enablestring=
8750 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
8751 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
8752 no_cache=0
8753 # Check whether --enable-treectrl or --disable-treectrl was given.
8754 if test "${enable_treectrl+set}" = set; then
8755 enableval="$enable_treectrl"
8756
8757 if test "$enableval" = yes; then
8758 ac_cv_use_treectrl='wxUSE_TREECTRL=yes'
8759 else
8760 ac_cv_use_treectrl='wxUSE_TREECTRL=no'
8761 fi
8762
8763 else
8764
8765 LINE=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
8766 if test "x$LINE" != x ; then
8767 eval "DEFAULT_$LINE"
8768 else
8769 no_cache=1
8770 fi
8771
8772 ac_cv_use_treectrl='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
8773
8774 fi;
8775
8776 eval "$ac_cv_use_treectrl"
8777 if test "$no_cache" != 1; then
8778 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
8779 fi
8780
8781 if test "$wxUSE_TREECTRL" = yes; then
8782 echo "$as_me:$LINENO: result: yes" >&5
8783 echo "${ECHO_T}yes" >&6
8784 else
8785 echo "$as_me:$LINENO: result: no" >&5
8786 echo "${ECHO_T}no" >&6
8787 fi
8788
8789
8790 enablestring=
8791 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
8792 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
8793 no_cache=0
8794 # Check whether --enable-tipwindow or --disable-tipwindow was given.
8795 if test "${enable_tipwindow+set}" = set; then
8796 enableval="$enable_tipwindow"
8797
8798 if test "$enableval" = yes; then
8799 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
8800 else
8801 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
8802 fi
8803
8804 else
8805
8806 LINE=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
8807 if test "x$LINE" != x ; then
8808 eval "DEFAULT_$LINE"
8809 else
8810 no_cache=1
8811 fi
8812
8813 ac_cv_use_tipwindow='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
8814
8815 fi;
8816
8817 eval "$ac_cv_use_tipwindow"
8818 if test "$no_cache" != 1; then
8819 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
8820 fi
8821
8822 if test "$wxUSE_TIPWINDOW" = yes; then
8823 echo "$as_me:$LINENO: result: yes" >&5
8824 echo "${ECHO_T}yes" >&6
8825 else
8826 echo "$as_me:$LINENO: result: no" >&5
8827 echo "${ECHO_T}no" >&6
8828 fi
8829
8830
8831 enablestring=
8832 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
8833 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
8834 no_cache=0
8835 # Check whether --enable-popupwin or --disable-popupwin was given.
8836 if test "${enable_popupwin+set}" = set; then
8837 enableval="$enable_popupwin"
8838
8839 if test "$enableval" = yes; then
8840 ac_cv_use_popupwin='wxUSE_POPUPWIN=yes'
8841 else
8842 ac_cv_use_popupwin='wxUSE_POPUPWIN=no'
8843 fi
8844
8845 else
8846
8847 LINE=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
8848 if test "x$LINE" != x ; then
8849 eval "DEFAULT_$LINE"
8850 else
8851 no_cache=1
8852 fi
8853
8854 ac_cv_use_popupwin='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
8855
8856 fi;
8857
8858 eval "$ac_cv_use_popupwin"
8859 if test "$no_cache" != 1; then
8860 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
8861 fi
8862
8863 if test "$wxUSE_POPUPWIN" = yes; then
8864 echo "$as_me:$LINENO: result: yes" >&5
8865 echo "${ECHO_T}yes" >&6
8866 else
8867 echo "$as_me:$LINENO: result: no" >&5
8868 echo "${ECHO_T}no" >&6
8869 fi
8870
8871
8872
8873
8874 enablestring=
8875 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
8876 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
8877 no_cache=0
8878 # Check whether --enable-commondlg or --disable-commondlg was given.
8879 if test "${enable_commondlg+set}" = set; then
8880 enableval="$enable_commondlg"
8881
8882 if test "$enableval" = yes; then
8883 ac_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
8884 else
8885 ac_cv_use_commondlg='wxUSE_COMMONDLGS=no'
8886 fi
8887
8888 else
8889
8890 LINE=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
8891 if test "x$LINE" != x ; then
8892 eval "DEFAULT_$LINE"
8893 else
8894 no_cache=1
8895 fi
8896
8897 ac_cv_use_commondlg='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
8898
8899 fi;
8900
8901 eval "$ac_cv_use_commondlg"
8902 if test "$no_cache" != 1; then
8903 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
8904 fi
8905
8906 if test "$wxUSE_COMMONDLGS" = yes; then
8907 echo "$as_me:$LINENO: result: yes" >&5
8908 echo "${ECHO_T}yes" >&6
8909 else
8910 echo "$as_me:$LINENO: result: no" >&5
8911 echo "${ECHO_T}no" >&6
8912 fi
8913
8914
8915 enablestring=
8916 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
8917 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
8918 no_cache=0
8919 # Check whether --enable-choicedlg or --disable-choicedlg was given.
8920 if test "${enable_choicedlg+set}" = set; then
8921 enableval="$enable_choicedlg"
8922
8923 if test "$enableval" = yes; then
8924 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
8925 else
8926 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
8927 fi
8928
8929 else
8930
8931 LINE=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
8932 if test "x$LINE" != x ; then
8933 eval "DEFAULT_$LINE"
8934 else
8935 no_cache=1
8936 fi
8937
8938 ac_cv_use_choicedlg='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
8939
8940 fi;
8941
8942 eval "$ac_cv_use_choicedlg"
8943 if test "$no_cache" != 1; then
8944 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
8945 fi
8946
8947 if test "$wxUSE_CHOICEDLG" = yes; then
8948 echo "$as_me:$LINENO: result: yes" >&5
8949 echo "${ECHO_T}yes" >&6
8950 else
8951 echo "$as_me:$LINENO: result: no" >&5
8952 echo "${ECHO_T}no" >&6
8953 fi
8954
8955
8956 enablestring=
8957 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
8958 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
8959 no_cache=0
8960 # Check whether --enable-coldlg or --disable-coldlg was given.
8961 if test "${enable_coldlg+set}" = set; then
8962 enableval="$enable_coldlg"
8963
8964 if test "$enableval" = yes; then
8965 ac_cv_use_coldlg='wxUSE_COLOURDLG=yes'
8966 else
8967 ac_cv_use_coldlg='wxUSE_COLOURDLG=no'
8968 fi
8969
8970 else
8971
8972 LINE=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
8973 if test "x$LINE" != x ; then
8974 eval "DEFAULT_$LINE"
8975 else
8976 no_cache=1
8977 fi
8978
8979 ac_cv_use_coldlg='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
8980
8981 fi;
8982
8983 eval "$ac_cv_use_coldlg"
8984 if test "$no_cache" != 1; then
8985 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
8986 fi
8987
8988 if test "$wxUSE_COLOURDLG" = yes; then
8989 echo "$as_me:$LINENO: result: yes" >&5
8990 echo "${ECHO_T}yes" >&6
8991 else
8992 echo "$as_me:$LINENO: result: no" >&5
8993 echo "${ECHO_T}no" >&6
8994 fi
8995
8996
8997 enablestring=
8998 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
8999 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
9000 no_cache=0
9001 # Check whether --enable-filedlg or --disable-filedlg was given.
9002 if test "${enable_filedlg+set}" = set; then
9003 enableval="$enable_filedlg"
9004
9005 if test "$enableval" = yes; then
9006 ac_cv_use_filedlg='wxUSE_FILEDLG=yes'
9007 else
9008 ac_cv_use_filedlg='wxUSE_FILEDLG=no'
9009 fi
9010
9011 else
9012
9013 LINE=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
9014 if test "x$LINE" != x ; then
9015 eval "DEFAULT_$LINE"
9016 else
9017 no_cache=1
9018 fi
9019
9020 ac_cv_use_filedlg='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
9021
9022 fi;
9023
9024 eval "$ac_cv_use_filedlg"
9025 if test "$no_cache" != 1; then
9026 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
9027 fi
9028
9029 if test "$wxUSE_FILEDLG" = yes; then
9030 echo "$as_me:$LINENO: result: yes" >&5
9031 echo "${ECHO_T}yes" >&6
9032 else
9033 echo "$as_me:$LINENO: result: no" >&5
9034 echo "${ECHO_T}no" >&6
9035 fi
9036
9037
9038 enablestring=
9039 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
9040 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
9041 no_cache=0
9042 # Check whether --enable-finddlg or --disable-finddlg was given.
9043 if test "${enable_finddlg+set}" = set; then
9044 enableval="$enable_finddlg"
9045
9046 if test "$enableval" = yes; then
9047 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
9048 else
9049 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
9050 fi
9051
9052 else
9053
9054 LINE=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
9055 if test "x$LINE" != x ; then
9056 eval "DEFAULT_$LINE"
9057 else
9058 no_cache=1
9059 fi
9060
9061 ac_cv_use_finddlg='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
9062
9063 fi;
9064
9065 eval "$ac_cv_use_finddlg"
9066 if test "$no_cache" != 1; then
9067 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
9068 fi
9069
9070 if test "$wxUSE_FINDREPLDLG" = yes; then
9071 echo "$as_me:$LINENO: result: yes" >&5
9072 echo "${ECHO_T}yes" >&6
9073 else
9074 echo "$as_me:$LINENO: result: no" >&5
9075 echo "${ECHO_T}no" >&6
9076 fi
9077
9078
9079 enablestring=
9080 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
9081 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
9082 no_cache=0
9083 # Check whether --enable-fontdlg or --disable-fontdlg was given.
9084 if test "${enable_fontdlg+set}" = set; then
9085 enableval="$enable_fontdlg"
9086
9087 if test "$enableval" = yes; then
9088 ac_cv_use_fontdlg='wxUSE_FONTDLG=yes'
9089 else
9090 ac_cv_use_fontdlg='wxUSE_FONTDLG=no'
9091 fi
9092
9093 else
9094
9095 LINE=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
9096 if test "x$LINE" != x ; then
9097 eval "DEFAULT_$LINE"
9098 else
9099 no_cache=1
9100 fi
9101
9102 ac_cv_use_fontdlg='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
9103
9104 fi;
9105
9106 eval "$ac_cv_use_fontdlg"
9107 if test "$no_cache" != 1; then
9108 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
9109 fi
9110
9111 if test "$wxUSE_FONTDLG" = yes; then
9112 echo "$as_me:$LINENO: result: yes" >&5
9113 echo "${ECHO_T}yes" >&6
9114 else
9115 echo "$as_me:$LINENO: result: no" >&5
9116 echo "${ECHO_T}no" >&6
9117 fi
9118
9119
9120 enablestring=
9121 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
9122 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
9123 no_cache=0
9124 # Check whether --enable-dirdlg or --disable-dirdlg was given.
9125 if test "${enable_dirdlg+set}" = set; then
9126 enableval="$enable_dirdlg"
9127
9128 if test "$enableval" = yes; then
9129 ac_cv_use_dirdlg='wxUSE_DIRDLG=yes'
9130 else
9131 ac_cv_use_dirdlg='wxUSE_DIRDLG=no'
9132 fi
9133
9134 else
9135
9136 LINE=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
9137 if test "x$LINE" != x ; then
9138 eval "DEFAULT_$LINE"
9139 else
9140 no_cache=1
9141 fi
9142
9143 ac_cv_use_dirdlg='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
9144
9145 fi;
9146
9147 eval "$ac_cv_use_dirdlg"
9148 if test "$no_cache" != 1; then
9149 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
9150 fi
9151
9152 if test "$wxUSE_DIRDLG" = yes; then
9153 echo "$as_me:$LINENO: result: yes" >&5
9154 echo "${ECHO_T}yes" >&6
9155 else
9156 echo "$as_me:$LINENO: result: no" >&5
9157 echo "${ECHO_T}no" >&6
9158 fi
9159
9160
9161 enablestring=
9162 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
9163 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
9164 no_cache=0
9165 # Check whether --enable-msgdlg or --disable-msgdlg was given.
9166 if test "${enable_msgdlg+set}" = set; then
9167 enableval="$enable_msgdlg"
9168
9169 if test "$enableval" = yes; then
9170 ac_cv_use_msgdlg='wxUSE_MSGDLG=yes'
9171 else
9172 ac_cv_use_msgdlg='wxUSE_MSGDLG=no'
9173 fi
9174
9175 else
9176
9177 LINE=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
9178 if test "x$LINE" != x ; then
9179 eval "DEFAULT_$LINE"
9180 else
9181 no_cache=1
9182 fi
9183
9184 ac_cv_use_msgdlg='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
9185
9186 fi;
9187
9188 eval "$ac_cv_use_msgdlg"
9189 if test "$no_cache" != 1; then
9190 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
9191 fi
9192
9193 if test "$wxUSE_MSGDLG" = yes; then
9194 echo "$as_me:$LINENO: result: yes" >&5
9195 echo "${ECHO_T}yes" >&6
9196 else
9197 echo "$as_me:$LINENO: result: no" >&5
9198 echo "${ECHO_T}no" >&6
9199 fi
9200
9201
9202 enablestring=
9203 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
9204 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
9205 no_cache=0
9206 # Check whether --enable-numberdlg or --disable-numberdlg was given.
9207 if test "${enable_numberdlg+set}" = set; then
9208 enableval="$enable_numberdlg"
9209
9210 if test "$enableval" = yes; then
9211 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
9212 else
9213 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
9214 fi
9215
9216 else
9217
9218 LINE=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
9219 if test "x$LINE" != x ; then
9220 eval "DEFAULT_$LINE"
9221 else
9222 no_cache=1
9223 fi
9224
9225 ac_cv_use_numberdlg='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
9226
9227 fi;
9228
9229 eval "$ac_cv_use_numberdlg"
9230 if test "$no_cache" != 1; then
9231 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
9232 fi
9233
9234 if test "$wxUSE_NUMBERDLG" = yes; then
9235 echo "$as_me:$LINENO: result: yes" >&5
9236 echo "${ECHO_T}yes" >&6
9237 else
9238 echo "$as_me:$LINENO: result: no" >&5
9239 echo "${ECHO_T}no" >&6
9240 fi
9241
9242
9243 enablestring=
9244 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
9245 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
9246 no_cache=0
9247 # Check whether --enable-splash or --disable-splash was given.
9248 if test "${enable_splash+set}" = set; then
9249 enableval="$enable_splash"
9250
9251 if test "$enableval" = yes; then
9252 ac_cv_use_splash='wxUSE_SPLASH=yes'
9253 else
9254 ac_cv_use_splash='wxUSE_SPLASH=no'
9255 fi
9256
9257 else
9258
9259 LINE=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
9260 if test "x$LINE" != x ; then
9261 eval "DEFAULT_$LINE"
9262 else
9263 no_cache=1
9264 fi
9265
9266 ac_cv_use_splash='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
9267
9268 fi;
9269
9270 eval "$ac_cv_use_splash"
9271 if test "$no_cache" != 1; then
9272 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
9273 fi
9274
9275 if test "$wxUSE_SPLASH" = yes; then
9276 echo "$as_me:$LINENO: result: yes" >&5
9277 echo "${ECHO_T}yes" >&6
9278 else
9279 echo "$as_me:$LINENO: result: no" >&5
9280 echo "${ECHO_T}no" >&6
9281 fi
9282
9283
9284 enablestring=
9285 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
9286 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
9287 no_cache=0
9288 # Check whether --enable-textdlg or --disable-textdlg was given.
9289 if test "${enable_textdlg+set}" = set; then
9290 enableval="$enable_textdlg"
9291
9292 if test "$enableval" = yes; then
9293 ac_cv_use_textdlg='wxUSE_TEXTDLG=yes'
9294 else
9295 ac_cv_use_textdlg='wxUSE_TEXTDLG=no'
9296 fi
9297
9298 else
9299
9300 LINE=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
9301 if test "x$LINE" != x ; then
9302 eval "DEFAULT_$LINE"
9303 else
9304 no_cache=1
9305 fi
9306
9307 ac_cv_use_textdlg='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
9308
9309 fi;
9310
9311 eval "$ac_cv_use_textdlg"
9312 if test "$no_cache" != 1; then
9313 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
9314 fi
9315
9316 if test "$wxUSE_TEXTDLG" = yes; then
9317 echo "$as_me:$LINENO: result: yes" >&5
9318 echo "${ECHO_T}yes" >&6
9319 else
9320 echo "$as_me:$LINENO: result: no" >&5
9321 echo "${ECHO_T}no" >&6
9322 fi
9323
9324
9325 enablestring=
9326 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
9327 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
9328 no_cache=0
9329 # Check whether --enable-tipdlg or --disable-tipdlg was given.
9330 if test "${enable_tipdlg+set}" = set; then
9331 enableval="$enable_tipdlg"
9332
9333 if test "$enableval" = yes; then
9334 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
9335 else
9336 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
9337 fi
9338
9339 else
9340
9341 LINE=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
9342 if test "x$LINE" != x ; then
9343 eval "DEFAULT_$LINE"
9344 else
9345 no_cache=1
9346 fi
9347
9348 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
9349
9350 fi;
9351
9352 eval "$ac_cv_use_tipdlg"
9353 if test "$no_cache" != 1; then
9354 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
9355 fi
9356
9357 if test "$wxUSE_STARTUP_TIPS" = yes; then
9358 echo "$as_me:$LINENO: result: yes" >&5
9359 echo "${ECHO_T}yes" >&6
9360 else
9361 echo "$as_me:$LINENO: result: no" >&5
9362 echo "${ECHO_T}no" >&6
9363 fi
9364
9365
9366 enablestring=
9367 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
9368 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
9369 no_cache=0
9370 # Check whether --enable-progressdlg or --disable-progressdlg was given.
9371 if test "${enable_progressdlg+set}" = set; then
9372 enableval="$enable_progressdlg"
9373
9374 if test "$enableval" = yes; then
9375 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
9376 else
9377 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
9378 fi
9379
9380 else
9381
9382 LINE=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
9383 if test "x$LINE" != x ; then
9384 eval "DEFAULT_$LINE"
9385 else
9386 no_cache=1
9387 fi
9388
9389 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
9390
9391 fi;
9392
9393 eval "$ac_cv_use_progressdlg"
9394 if test "$no_cache" != 1; then
9395 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
9396 fi
9397
9398 if test "$wxUSE_PROGRESSDLG" = yes; then
9399 echo "$as_me:$LINENO: result: yes" >&5
9400 echo "${ECHO_T}yes" >&6
9401 else
9402 echo "$as_me:$LINENO: result: no" >&5
9403 echo "${ECHO_T}no" >&6
9404 fi
9405
9406
9407 enablestring=
9408 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
9409 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
9410 no_cache=0
9411 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
9412 if test "${enable_wizarddlg+set}" = set; then
9413 enableval="$enable_wizarddlg"
9414
9415 if test "$enableval" = yes; then
9416 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
9417 else
9418 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
9419 fi
9420
9421 else
9422
9423 LINE=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
9424 if test "x$LINE" != x ; then
9425 eval "DEFAULT_$LINE"
9426 else
9427 no_cache=1
9428 fi
9429
9430 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
9431
9432 fi;
9433
9434 eval "$ac_cv_use_wizarddlg"
9435 if test "$no_cache" != 1; then
9436 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
9437 fi
9438
9439 if test "$wxUSE_WIZARDDLG" = yes; then
9440 echo "$as_me:$LINENO: result: yes" >&5
9441 echo "${ECHO_T}yes" >&6
9442 else
9443 echo "$as_me:$LINENO: result: no" >&5
9444 echo "${ECHO_T}no" >&6
9445 fi
9446
9447
9448
9449
9450 enablestring=
9451 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
9452 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
9453 no_cache=0
9454 # Check whether --enable-menus or --disable-menus was given.
9455 if test "${enable_menus+set}" = set; then
9456 enableval="$enable_menus"
9457
9458 if test "$enableval" = yes; then
9459 ac_cv_use_menus='wxUSE_MENUS=yes'
9460 else
9461 ac_cv_use_menus='wxUSE_MENUS=no'
9462 fi
9463
9464 else
9465
9466 LINE=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
9467 if test "x$LINE" != x ; then
9468 eval "DEFAULT_$LINE"
9469 else
9470 no_cache=1
9471 fi
9472
9473 ac_cv_use_menus='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
9474
9475 fi;
9476
9477 eval "$ac_cv_use_menus"
9478 if test "$no_cache" != 1; then
9479 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
9480 fi
9481
9482 if test "$wxUSE_MENUS" = yes; then
9483 echo "$as_me:$LINENO: result: yes" >&5
9484 echo "${ECHO_T}yes" >&6
9485 else
9486 echo "$as_me:$LINENO: result: no" >&5
9487 echo "${ECHO_T}no" >&6
9488 fi
9489
9490
9491 enablestring=
9492 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
9493 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
9494 no_cache=0
9495 # Check whether --enable-miniframe or --disable-miniframe was given.
9496 if test "${enable_miniframe+set}" = set; then
9497 enableval="$enable_miniframe"
9498
9499 if test "$enableval" = yes; then
9500 ac_cv_use_miniframe='wxUSE_MINIFRAME=yes'
9501 else
9502 ac_cv_use_miniframe='wxUSE_MINIFRAME=no'
9503 fi
9504
9505 else
9506
9507 LINE=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
9508 if test "x$LINE" != x ; then
9509 eval "DEFAULT_$LINE"
9510 else
9511 no_cache=1
9512 fi
9513
9514 ac_cv_use_miniframe='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
9515
9516 fi;
9517
9518 eval "$ac_cv_use_miniframe"
9519 if test "$no_cache" != 1; then
9520 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
9521 fi
9522
9523 if test "$wxUSE_MINIFRAME" = yes; then
9524 echo "$as_me:$LINENO: result: yes" >&5
9525 echo "${ECHO_T}yes" >&6
9526 else
9527 echo "$as_me:$LINENO: result: no" >&5
9528 echo "${ECHO_T}no" >&6
9529 fi
9530
9531
9532 enablestring=
9533 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
9534 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
9535 no_cache=0
9536 # Check whether --enable-tooltips or --disable-tooltips was given.
9537 if test "${enable_tooltips+set}" = set; then
9538 enableval="$enable_tooltips"
9539
9540 if test "$enableval" = yes; then
9541 ac_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
9542 else
9543 ac_cv_use_tooltips='wxUSE_TOOLTIPS=no'
9544 fi
9545
9546 else
9547
9548 LINE=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
9549 if test "x$LINE" != x ; then
9550 eval "DEFAULT_$LINE"
9551 else
9552 no_cache=1
9553 fi
9554
9555 ac_cv_use_tooltips='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
9556
9557 fi;
9558
9559 eval "$ac_cv_use_tooltips"
9560 if test "$no_cache" != 1; then
9561 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
9562 fi
9563
9564 if test "$wxUSE_TOOLTIPS" = yes; then
9565 echo "$as_me:$LINENO: result: yes" >&5
9566 echo "${ECHO_T}yes" >&6
9567 else
9568 echo "$as_me:$LINENO: result: no" >&5
9569 echo "${ECHO_T}no" >&6
9570 fi
9571
9572
9573 enablestring=
9574 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
9575 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
9576 no_cache=0
9577 # Check whether --enable-splines or --disable-splines was given.
9578 if test "${enable_splines+set}" = set; then
9579 enableval="$enable_splines"
9580
9581 if test "$enableval" = yes; then
9582 ac_cv_use_splines='wxUSE_SPLINES=yes'
9583 else
9584 ac_cv_use_splines='wxUSE_SPLINES=no'
9585 fi
9586
9587 else
9588
9589 LINE=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
9590 if test "x$LINE" != x ; then
9591 eval "DEFAULT_$LINE"
9592 else
9593 no_cache=1
9594 fi
9595
9596 ac_cv_use_splines='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
9597
9598 fi;
9599
9600 eval "$ac_cv_use_splines"
9601 if test "$no_cache" != 1; then
9602 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
9603 fi
9604
9605 if test "$wxUSE_SPLINES" = yes; then
9606 echo "$as_me:$LINENO: result: yes" >&5
9607 echo "${ECHO_T}yes" >&6
9608 else
9609 echo "$as_me:$LINENO: result: no" >&5
9610 echo "${ECHO_T}no" >&6
9611 fi
9612
9613
9614 enablestring=
9615 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
9616 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
9617 no_cache=0
9618 # Check whether --enable-validators or --disable-validators was given.
9619 if test "${enable_validators+set}" = set; then
9620 enableval="$enable_validators"
9621
9622 if test "$enableval" = yes; then
9623 ac_cv_use_validators='wxUSE_VALIDATORS=yes'
9624 else
9625 ac_cv_use_validators='wxUSE_VALIDATORS=no'
9626 fi
9627
9628 else
9629
9630 LINE=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
9631 if test "x$LINE" != x ; then
9632 eval "DEFAULT_$LINE"
9633 else
9634 no_cache=1
9635 fi
9636
9637 ac_cv_use_validators='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
9638
9639 fi;
9640
9641 eval "$ac_cv_use_validators"
9642 if test "$no_cache" != 1; then
9643 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
9644 fi
9645
9646 if test "$wxUSE_VALIDATORS" = yes; then
9647 echo "$as_me:$LINENO: result: yes" >&5
9648 echo "${ECHO_T}yes" >&6
9649 else
9650 echo "$as_me:$LINENO: result: no" >&5
9651 echo "${ECHO_T}no" >&6
9652 fi
9653
9654
9655 enablestring=
9656 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
9657 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
9658 no_cache=0
9659 # Check whether --enable-busyinfo or --disable-busyinfo was given.
9660 if test "${enable_busyinfo+set}" = set; then
9661 enableval="$enable_busyinfo"
9662
9663 if test "$enableval" = yes; then
9664 ac_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
9665 else
9666 ac_cv_use_busyinfo='wxUSE_BUSYINFO=no'
9667 fi
9668
9669 else
9670
9671 LINE=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
9672 if test "x$LINE" != x ; then
9673 eval "DEFAULT_$LINE"
9674 else
9675 no_cache=1
9676 fi
9677
9678 ac_cv_use_busyinfo='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
9679
9680 fi;
9681
9682 eval "$ac_cv_use_busyinfo"
9683 if test "$no_cache" != 1; then
9684 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
9685 fi
9686
9687 if test "$wxUSE_BUSYINFO" = yes; then
9688 echo "$as_me:$LINENO: result: yes" >&5
9689 echo "${ECHO_T}yes" >&6
9690 else
9691 echo "$as_me:$LINENO: result: no" >&5
9692 echo "${ECHO_T}no" >&6
9693 fi
9694
9695
9696 enablestring=
9697 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
9698 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
9699 no_cache=0
9700 # Check whether --enable-joystick or --disable-joystick was given.
9701 if test "${enable_joystick+set}" = set; then
9702 enableval="$enable_joystick"
9703
9704 if test "$enableval" = yes; then
9705 ac_cv_use_joystick='wxUSE_JOYSTICK=yes'
9706 else
9707 ac_cv_use_joystick='wxUSE_JOYSTICK=no'
9708 fi
9709
9710 else
9711
9712 LINE=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
9713 if test "x$LINE" != x ; then
9714 eval "DEFAULT_$LINE"
9715 else
9716 no_cache=1
9717 fi
9718
9719 ac_cv_use_joystick='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
9720
9721 fi;
9722
9723 eval "$ac_cv_use_joystick"
9724 if test "$no_cache" != 1; then
9725 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
9726 fi
9727
9728 if test "$wxUSE_JOYSTICK" = yes; then
9729 echo "$as_me:$LINENO: result: yes" >&5
9730 echo "${ECHO_T}yes" >&6
9731 else
9732 echo "$as_me:$LINENO: result: no" >&5
9733 echo "${ECHO_T}no" >&6
9734 fi
9735
9736
9737 enablestring=
9738 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
9739 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
9740 no_cache=0
9741 # Check whether --enable-metafile or --disable-metafile was given.
9742 if test "${enable_metafile+set}" = set; then
9743 enableval="$enable_metafile"
9744
9745 if test "$enableval" = yes; then
9746 ac_cv_use_metafile='wxUSE_METAFILE=yes'
9747 else
9748 ac_cv_use_metafile='wxUSE_METAFILE=no'
9749 fi
9750
9751 else
9752
9753 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
9754 if test "x$LINE" != x ; then
9755 eval "DEFAULT_$LINE"
9756 else
9757 no_cache=1
9758 fi
9759
9760 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
9761
9762 fi;
9763
9764 eval "$ac_cv_use_metafile"
9765 if test "$no_cache" != 1; then
9766 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
9767 fi
9768
9769 if test "$wxUSE_METAFILE" = yes; then
9770 echo "$as_me:$LINENO: result: yes" >&5
9771 echo "${ECHO_T}yes" >&6
9772 else
9773 echo "$as_me:$LINENO: result: no" >&5
9774 echo "${ECHO_T}no" >&6
9775 fi
9776
9777
9778 enablestring=
9779 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
9780 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
9781 no_cache=0
9782 # Check whether --enable-dragimage or --disable-dragimage was given.
9783 if test "${enable_dragimage+set}" = set; then
9784 enableval="$enable_dragimage"
9785
9786 if test "$enableval" = yes; then
9787 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
9788 else
9789 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
9790 fi
9791
9792 else
9793
9794 LINE=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
9795 if test "x$LINE" != x ; then
9796 eval "DEFAULT_$LINE"
9797 else
9798 no_cache=1
9799 fi
9800
9801 ac_cv_use_dragimage='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
9802
9803 fi;
9804
9805 eval "$ac_cv_use_dragimage"
9806 if test "$no_cache" != 1; then
9807 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
9808 fi
9809
9810 if test "$wxUSE_DRAGIMAGE" = yes; then
9811 echo "$as_me:$LINENO: result: yes" >&5
9812 echo "${ECHO_T}yes" >&6
9813 else
9814 echo "$as_me:$LINENO: result: no" >&5
9815 echo "${ECHO_T}no" >&6
9816 fi
9817
9818
9819 enablestring=
9820 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
9821 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
9822 no_cache=0
9823 # Check whether --enable-accessibility or --disable-accessibility was given.
9824 if test "${enable_accessibility+set}" = set; then
9825 enableval="$enable_accessibility"
9826
9827 if test "$enableval" = yes; then
9828 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
9829 else
9830 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
9831 fi
9832
9833 else
9834
9835 LINE=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
9836 if test "x$LINE" != x ; then
9837 eval "DEFAULT_$LINE"
9838 else
9839 no_cache=1
9840 fi
9841
9842 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
9843
9844 fi;
9845
9846 eval "$ac_cv_use_accessibility"
9847 if test "$no_cache" != 1; then
9848 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
9849 fi
9850
9851 if test "$wxUSE_ACCESSIBILITY" = yes; then
9852 echo "$as_me:$LINENO: result: yes" >&5
9853 echo "${ECHO_T}yes" >&6
9854 else
9855 echo "$as_me:$LINENO: result: no" >&5
9856 echo "${ECHO_T}no" >&6
9857 fi
9858
9859
9860
9861
9862 enablestring=
9863 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
9864 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
9865 no_cache=0
9866 # Check whether --enable-palette or --disable-palette was given.
9867 if test "${enable_palette+set}" = set; then
9868 enableval="$enable_palette"
9869
9870 if test "$enableval" = yes; then
9871 ac_cv_use_palette='wxUSE_PALETTE=yes'
9872 else
9873 ac_cv_use_palette='wxUSE_PALETTE=no'
9874 fi
9875
9876 else
9877
9878 LINE=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
9879 if test "x$LINE" != x ; then
9880 eval "DEFAULT_$LINE"
9881 else
9882 no_cache=1
9883 fi
9884
9885 ac_cv_use_palette='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
9886
9887 fi;
9888
9889 eval "$ac_cv_use_palette"
9890 if test "$no_cache" != 1; then
9891 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
9892 fi
9893
9894 if test "$wxUSE_PALETTE" = yes; then
9895 echo "$as_me:$LINENO: result: yes" >&5
9896 echo "${ECHO_T}yes" >&6
9897 else
9898 echo "$as_me:$LINENO: result: no" >&5
9899 echo "${ECHO_T}no" >&6
9900 fi
9901
9902
9903 enablestring=
9904 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
9905 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
9906 no_cache=0
9907 # Check whether --enable-image or --disable-image was given.
9908 if test "${enable_image+set}" = set; then
9909 enableval="$enable_image"
9910
9911 if test "$enableval" = yes; then
9912 ac_cv_use_image='wxUSE_IMAGE=yes'
9913 else
9914 ac_cv_use_image='wxUSE_IMAGE=no'
9915 fi
9916
9917 else
9918
9919 LINE=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
9920 if test "x$LINE" != x ; then
9921 eval "DEFAULT_$LINE"
9922 else
9923 no_cache=1
9924 fi
9925
9926 ac_cv_use_image='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
9927
9928 fi;
9929
9930 eval "$ac_cv_use_image"
9931 if test "$no_cache" != 1; then
9932 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
9933 fi
9934
9935 if test "$wxUSE_IMAGE" = yes; then
9936 echo "$as_me:$LINENO: result: yes" >&5
9937 echo "${ECHO_T}yes" >&6
9938 else
9939 echo "$as_me:$LINENO: result: no" >&5
9940 echo "${ECHO_T}no" >&6
9941 fi
9942
9943
9944 enablestring=
9945 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
9946 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
9947 no_cache=0
9948 # Check whether --enable-gif or --disable-gif was given.
9949 if test "${enable_gif+set}" = set; then
9950 enableval="$enable_gif"
9951
9952 if test "$enableval" = yes; then
9953 ac_cv_use_gif='wxUSE_GIF=yes'
9954 else
9955 ac_cv_use_gif='wxUSE_GIF=no'
9956 fi
9957
9958 else
9959
9960 LINE=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
9961 if test "x$LINE" != x ; then
9962 eval "DEFAULT_$LINE"
9963 else
9964 no_cache=1
9965 fi
9966
9967 ac_cv_use_gif='wxUSE_GIF='$DEFAULT_wxUSE_GIF
9968
9969 fi;
9970
9971 eval "$ac_cv_use_gif"
9972 if test "$no_cache" != 1; then
9973 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
9974 fi
9975
9976 if test "$wxUSE_GIF" = yes; then
9977 echo "$as_me:$LINENO: result: yes" >&5
9978 echo "${ECHO_T}yes" >&6
9979 else
9980 echo "$as_me:$LINENO: result: no" >&5
9981 echo "${ECHO_T}no" >&6
9982 fi
9983
9984
9985 enablestring=
9986 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
9987 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
9988 no_cache=0
9989 # Check whether --enable-pcx or --disable-pcx was given.
9990 if test "${enable_pcx+set}" = set; then
9991 enableval="$enable_pcx"
9992
9993 if test "$enableval" = yes; then
9994 ac_cv_use_pcx='wxUSE_PCX=yes'
9995 else
9996 ac_cv_use_pcx='wxUSE_PCX=no'
9997 fi
9998
9999 else
10000
10001 LINE=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
10002 if test "x$LINE" != x ; then
10003 eval "DEFAULT_$LINE"
10004 else
10005 no_cache=1
10006 fi
10007
10008 ac_cv_use_pcx='wxUSE_PCX='$DEFAULT_wxUSE_PCX
10009
10010 fi;
10011
10012 eval "$ac_cv_use_pcx"
10013 if test "$no_cache" != 1; then
10014 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
10015 fi
10016
10017 if test "$wxUSE_PCX" = yes; then
10018 echo "$as_me:$LINENO: result: yes" >&5
10019 echo "${ECHO_T}yes" >&6
10020 else
10021 echo "$as_me:$LINENO: result: no" >&5
10022 echo "${ECHO_T}no" >&6
10023 fi
10024
10025
10026 enablestring=
10027 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
10028 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
10029 no_cache=0
10030 # Check whether --enable-iff or --disable-iff was given.
10031 if test "${enable_iff+set}" = set; then
10032 enableval="$enable_iff"
10033
10034 if test "$enableval" = yes; then
10035 ac_cv_use_iff='wxUSE_IFF=yes'
10036 else
10037 ac_cv_use_iff='wxUSE_IFF=no'
10038 fi
10039
10040 else
10041
10042 LINE=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
10043 if test "x$LINE" != x ; then
10044 eval "DEFAULT_$LINE"
10045 else
10046 no_cache=1
10047 fi
10048
10049 ac_cv_use_iff='wxUSE_IFF='$DEFAULT_wxUSE_IFF
10050
10051 fi;
10052
10053 eval "$ac_cv_use_iff"
10054 if test "$no_cache" != 1; then
10055 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
10056 fi
10057
10058 if test "$wxUSE_IFF" = yes; then
10059 echo "$as_me:$LINENO: result: yes" >&5
10060 echo "${ECHO_T}yes" >&6
10061 else
10062 echo "$as_me:$LINENO: result: no" >&5
10063 echo "${ECHO_T}no" >&6
10064 fi
10065
10066
10067 enablestring=
10068 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
10069 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
10070 no_cache=0
10071 # Check whether --enable-pnm or --disable-pnm was given.
10072 if test "${enable_pnm+set}" = set; then
10073 enableval="$enable_pnm"
10074
10075 if test "$enableval" = yes; then
10076 ac_cv_use_pnm='wxUSE_PNM=yes'
10077 else
10078 ac_cv_use_pnm='wxUSE_PNM=no'
10079 fi
10080
10081 else
10082
10083 LINE=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
10084 if test "x$LINE" != x ; then
10085 eval "DEFAULT_$LINE"
10086 else
10087 no_cache=1
10088 fi
10089
10090 ac_cv_use_pnm='wxUSE_PNM='$DEFAULT_wxUSE_PNM
10091
10092 fi;
10093
10094 eval "$ac_cv_use_pnm"
10095 if test "$no_cache" != 1; then
10096 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
10097 fi
10098
10099 if test "$wxUSE_PNM" = yes; then
10100 echo "$as_me:$LINENO: result: yes" >&5
10101 echo "${ECHO_T}yes" >&6
10102 else
10103 echo "$as_me:$LINENO: result: no" >&5
10104 echo "${ECHO_T}no" >&6
10105 fi
10106
10107
10108 enablestring=
10109 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
10110 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
10111 no_cache=0
10112 # Check whether --enable-xpm or --disable-xpm was given.
10113 if test "${enable_xpm+set}" = set; then
10114 enableval="$enable_xpm"
10115
10116 if test "$enableval" = yes; then
10117 ac_cv_use_xpm='wxUSE_XPM=yes'
10118 else
10119 ac_cv_use_xpm='wxUSE_XPM=no'
10120 fi
10121
10122 else
10123
10124 LINE=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
10125 if test "x$LINE" != x ; then
10126 eval "DEFAULT_$LINE"
10127 else
10128 no_cache=1
10129 fi
10130
10131 ac_cv_use_xpm='wxUSE_XPM='$DEFAULT_wxUSE_XPM
10132
10133 fi;
10134
10135 eval "$ac_cv_use_xpm"
10136 if test "$no_cache" != 1; then
10137 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
10138 fi
10139
10140 if test "$wxUSE_XPM" = yes; then
10141 echo "$as_me:$LINENO: result: yes" >&5
10142 echo "${ECHO_T}yes" >&6
10143 else
10144 echo "$as_me:$LINENO: result: no" >&5
10145 echo "${ECHO_T}no" >&6
10146 fi
10147
10148
10149 enablestring=
10150 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
10151 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
10152 no_cache=0
10153 # Check whether --enable-ico_cur or --disable-ico_cur was given.
10154 if test "${enable_ico_cur+set}" = set; then
10155 enableval="$enable_ico_cur"
10156
10157 if test "$enableval" = yes; then
10158 ac_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
10159 else
10160 ac_cv_use_ico_cur='wxUSE_ICO_CUR=no'
10161 fi
10162
10163 else
10164
10165 LINE=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
10166 if test "x$LINE" != x ; then
10167 eval "DEFAULT_$LINE"
10168 else
10169 no_cache=1
10170 fi
10171
10172 ac_cv_use_ico_cur='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
10173
10174 fi;
10175
10176 eval "$ac_cv_use_ico_cur"
10177 if test "$no_cache" != 1; then
10178 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
10179 fi
10180
10181 if test "$wxUSE_ICO_CUR" = yes; then
10182 echo "$as_me:$LINENO: result: yes" >&5
10183 echo "${ECHO_T}yes" >&6
10184 else
10185 echo "$as_me:$LINENO: result: no" >&5
10186 echo "${ECHO_T}no" >&6
10187 fi
10188
10189
10190 fi
10191
10192
10193
10194 # Check whether --with-flavour or --without-flavour was given.
10195 if test "${with_flavour+set}" = set; then
10196 withval="$with_flavour"
10197 WX_FLAVOUR="$withval"
10198 fi;
10199
10200
10201
10202 enablestring=
10203 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
10204 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6
10205 no_cache=0
10206 # Check whether --enable-official_build or --disable-official_build was given.
10207 if test "${enable_official_build+set}" = set; then
10208 enableval="$enable_official_build"
10209
10210 if test "$enableval" = yes; then
10211 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
10212 else
10213 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
10214 fi
10215
10216 else
10217
10218 LINE=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
10219 if test "x$LINE" != x ; then
10220 eval "DEFAULT_$LINE"
10221 else
10222 no_cache=1
10223 fi
10224
10225 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD='$DEFAULT_wxUSE_OFFICIAL_BUILD
10226
10227 fi;
10228
10229 eval "$ac_cv_use_official_build"
10230 if test "$no_cache" != 1; then
10231 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
10232 fi
10233
10234 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
10235 echo "$as_me:$LINENO: result: yes" >&5
10236 echo "${ECHO_T}yes" >&6
10237 else
10238 echo "$as_me:$LINENO: result: no" >&5
10239 echo "${ECHO_T}no" >&6
10240 fi
10241
10242 # Check whether --enable-vendor or --disable-vendor was given.
10243 if test "${enable_vendor+set}" = set; then
10244 enableval="$enable_vendor"
10245 VENDOR="$enableval"
10246 fi;
10247 if test "x$VENDOR" = "x"; then
10248 VENDOR="custom"
10249 fi
10250
10251
10252
10253
10254 echo "saving argument cache $wx_arg_cache_file"
10255 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
10256
10257
10258
10259 echo "$as_me:$LINENO: checking for toolkit" >&5
10260 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
10261
10262 # In Wine, we need to default to MSW, not GTK or MOTIF
10263 if test "$wxUSE_WINE" = "yes"; then
10264 DEFAULT_DEFAULT_wxUSE_GTK=0
10265 DEFAULT_DEFAULT_wxUSE_MOTIF=0
10266 DEFAULT_DEFAULT_wxUSE_MSW=1
10267 wxUSE_SHARED=no
10268 fi
10269
10270 if test "$wxUSE_GUI" = "yes"; then
10271
10272 if test "$USE_BEOS" = 1; then
10273 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
10274 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
10275 { (exit 1); exit 1; }; }
10276 fi
10277
10278 if test "$TOOLKIT_GIVEN" = 1; then
10279 for toolkit in `echo $ALL_TOOLKITS`; do
10280 var=wxUSE_$toolkit
10281 eval "value=\$${var}"
10282 eval "$var=`echo \$value | sed -e "s/yes/1/" -e "s/no/0/"`"
10283 done
10284 else
10285 for toolkit in `echo $ALL_TOOLKITS`; do
10286 if test "$has_toolkit_in_cache" != 1; then
10287 var=DEFAULT_DEFAULT_wxUSE_$toolkit
10288 else
10289 var=DEFAULT_wxUSE_$toolkit
10290 fi
10291 eval "wxUSE_$toolkit=\$${var}"
10292 done
10293 fi
10294
10295 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
10296 + ${wxUSE_MGL:-0} + ${wxUSE_MICROWIN:-0} \
10297 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
10298
10299 case "${host}" in
10300 *-pc-os2_emx | *-pc-os2-emx )
10301 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
10302 esac
10303
10304 case "$NUM_TOOLKITS" in
10305 1)
10306 ;;
10307 0)
10308 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
10309 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
10310 { (exit 1); exit 1; }; }
10311 ;;
10312 *)
10313 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
10314 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
10315 { (exit 1); exit 1; }; }
10316 esac
10317
10318 for toolkit in `echo $ALL_TOOLKITS`; do
10319 var=wxUSE_$toolkit
10320 eval "value=\$${var}"
10321 if test "x$value" != x; then
10322 cache_var=CACHE_$toolkit
10323 eval "cache=\$${cache_var}"
10324 if test "$cache" = 1; then
10325 echo "$var=$value" >> ${wx_arg_cache_file}
10326 fi
10327 if test "$value" = 1; then
10328 toolkit_echo=`echo $toolkit | tr "[A-Z]" "[a-z]"`
10329 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
10330 echo "${ECHO_T}$toolkit_echo" >&6
10331 fi
10332 fi
10333 done
10334 else
10335 if test "x$host_alias" != "x"; then
10336 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
10337 echo "${ECHO_T}base ($host_alias hosted) only" >&6
10338 else
10339 echo "$as_me:$LINENO: result: base only" >&5
10340 echo "${ECHO_T}base only" >&6
10341 fi
10342 fi
10343
10344 wants_win32=0
10345 doesnt_want_win32=0
10346 case "${host}" in
10347 *-*-cygwin*)
10348 if test "$wxUSE_MSW" = 1 ; then
10349 wants_win32=1
10350 else
10351 doesnt_want_win32=1
10352 fi
10353 ;;
10354 *-*-mingw*)
10355 wants_win32=1
10356 ;;
10357 esac
10358
10359 if test "$wxUSE_WINE" = "yes"; then
10360 wants_win32=1
10361 CC=winegcc
10362 CXX=wineg++
10363 RESCOMP=wrc
10364 LDFLAGS_GUI="-mwindows"
10365 fi
10366
10367 if test "$wants_win32" = 1 ; then
10368 USE_UNIX=0
10369 USE_WIN32=1
10370 cat >>confdefs.h <<\_ACEOF
10371 #define __WIN32__ 1
10372 _ACEOF
10373
10374 cat >>confdefs.h <<\_ACEOF
10375 #define __WIN95__ 1
10376 _ACEOF
10377
10378 cat >>confdefs.h <<\_ACEOF
10379 #define __WINDOWS__ 1
10380 _ACEOF
10381
10382 cat >>confdefs.h <<\_ACEOF
10383 #define __GNUWIN32__ 1
10384 _ACEOF
10385
10386 cat >>confdefs.h <<\_ACEOF
10387 #define STRICT 1
10388 _ACEOF
10389
10390 cat >>confdefs.h <<\_ACEOF
10391 #define WINVER 0x0400
10392 _ACEOF
10393
10394 fi
10395 if test "$doesnt_want_win32" = 1 ; then
10396 USE_UNIX=1
10397 USE_WIN32=0
10398 fi
10399
10400 if test "$USE_UNIX" = 1 ; then
10401 wxUSE_UNIX=yes
10402 cat >>confdefs.h <<\_ACEOF
10403 #define __UNIX__ 1
10404 _ACEOF
10405
10406 fi
10407
10408
10409 cat >confcache <<\_ACEOF
10410 # This file is a shell script that caches the results of configure
10411 # tests run on this system so they can be shared between configure
10412 # scripts and configure runs, see configure's option --config-cache.
10413 # It is not useful on other systems. If it contains results you don't
10414 # want to keep, you may remove or edit it.
10415 #
10416 # config.status only pays attention to the cache file if you give it
10417 # the --recheck option to rerun configure.
10418 #
10419 # `ac_cv_env_foo' variables (set or unset) will be overridden when
10420 # loading this file, other *unset* `ac_cv_foo' will be assigned the
10421 # following values.
10422
10423 _ACEOF
10424
10425 # The following way of writing the cache mishandles newlines in values,
10426 # but we know of no workaround that is simple, portable, and efficient.
10427 # So, don't put newlines in cache variables' values.
10428 # Ultrix sh set writes to stderr and can't be redirected directly,
10429 # and sets the high bit in the cache file unless we assign to the vars.
10430 {
10431 (set) 2>&1 |
10432 case `(ac_space=' '; set | grep ac_space) 2>&1` in
10433 *ac_space=\ *)
10434 # `set' does not quote correctly, so add quotes (double-quote
10435 # substitution turns \\\\ into \\, and sed turns \\ into \).
10436 sed -n \
10437 "s/'/'\\\\''/g;
10438 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
10439 ;;
10440 *)
10441 # `set' quotes correctly as required by POSIX, so do not add quotes.
10442 sed -n \
10443 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
10444 ;;
10445 esac;
10446 } |
10447 sed '
10448 t clear
10449 : clear
10450 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
10451 t end
10452 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
10453 : end' >>confcache
10454 if diff $cache_file confcache >/dev/null 2>&1; then :; else
10455 if test -w $cache_file; then
10456 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
10457 cat confcache >$cache_file
10458 else
10459 echo "not updating unwritable cache $cache_file"
10460 fi
10461 fi
10462 rm -f confcache
10463
10464 if test "$build" != "$host" ; then
10465 if test "$USE_WIN32" = 1 -o "$USE_DOS" = 1 -o "$USE_UNIX" = 1; then
10466 CC=$host_alias-gcc
10467 CXX=$host_alias-c++
10468 AR=$host_alias-ar
10469 RANLIB=$host_alias-ranlib
10470 DLLTOOL=$host_alias-dlltool
10471 RESCOMP=$host_alias-windres
10472 STRIP=$host_alias-strip
10473 elif test "x$CC" '!=' "x"; then
10474 echo "You set CC, I assume you know what you are doing."
10475 else
10476 { { echo "$as_me:$LINENO: error: $build_alias -> $host_alias cross compilation not supported yet." >&5
10477 echo "$as_me: error: $build_alias -> $host_alias cross compilation not supported yet." >&2;}
10478 { (exit 1); exit 1; }; }
10479 fi
10480 fi
10481
10482 CFLAGS=${CFLAGS:=}
10483 ac_ext=c
10484 ac_cpp='$CPP $CPPFLAGS'
10485 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10486 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10487 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10488 if test -n "$ac_tool_prefix"; then
10489 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
10490 set dummy ${ac_tool_prefix}gcc; ac_word=$2
10491 echo "$as_me:$LINENO: checking for $ac_word" >&5
10492 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10493 if test "${ac_cv_prog_CC+set}" = set; then
10494 echo $ECHO_N "(cached) $ECHO_C" >&6
10495 else
10496 if test -n "$CC"; then
10497 ac_cv_prog_CC="$CC" # Let the user override the test.
10498 else
10499 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10500 for as_dir in $PATH
10501 do
10502 IFS=$as_save_IFS
10503 test -z "$as_dir" && as_dir=.
10504 for ac_exec_ext in '' $ac_executable_extensions; do
10505 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10506 ac_cv_prog_CC="${ac_tool_prefix}gcc"
10507 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10508 break 2
10509 fi
10510 done
10511 done
10512
10513 fi
10514 fi
10515 CC=$ac_cv_prog_CC
10516 if test -n "$CC"; then
10517 echo "$as_me:$LINENO: result: $CC" >&5
10518 echo "${ECHO_T}$CC" >&6
10519 else
10520 echo "$as_me:$LINENO: result: no" >&5
10521 echo "${ECHO_T}no" >&6
10522 fi
10523
10524 fi
10525 if test -z "$ac_cv_prog_CC"; then
10526 ac_ct_CC=$CC
10527 # Extract the first word of "gcc", so it can be a program name with args.
10528 set dummy gcc; ac_word=$2
10529 echo "$as_me:$LINENO: checking for $ac_word" >&5
10530 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10531 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10532 echo $ECHO_N "(cached) $ECHO_C" >&6
10533 else
10534 if test -n "$ac_ct_CC"; then
10535 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
10536 else
10537 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10538 for as_dir in $PATH
10539 do
10540 IFS=$as_save_IFS
10541 test -z "$as_dir" && as_dir=.
10542 for ac_exec_ext in '' $ac_executable_extensions; do
10543 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10544 ac_cv_prog_ac_ct_CC="gcc"
10545 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10546 break 2
10547 fi
10548 done
10549 done
10550
10551 fi
10552 fi
10553 ac_ct_CC=$ac_cv_prog_ac_ct_CC
10554 if test -n "$ac_ct_CC"; then
10555 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10556 echo "${ECHO_T}$ac_ct_CC" >&6
10557 else
10558 echo "$as_me:$LINENO: result: no" >&5
10559 echo "${ECHO_T}no" >&6
10560 fi
10561
10562 CC=$ac_ct_CC
10563 else
10564 CC="$ac_cv_prog_CC"
10565 fi
10566
10567 if test -z "$CC"; then
10568 if test -n "$ac_tool_prefix"; then
10569 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
10570 set dummy ${ac_tool_prefix}cc; ac_word=$2
10571 echo "$as_me:$LINENO: checking for $ac_word" >&5
10572 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10573 if test "${ac_cv_prog_CC+set}" = set; then
10574 echo $ECHO_N "(cached) $ECHO_C" >&6
10575 else
10576 if test -n "$CC"; then
10577 ac_cv_prog_CC="$CC" # Let the user override the test.
10578 else
10579 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10580 for as_dir in $PATH
10581 do
10582 IFS=$as_save_IFS
10583 test -z "$as_dir" && as_dir=.
10584 for ac_exec_ext in '' $ac_executable_extensions; do
10585 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10586 ac_cv_prog_CC="${ac_tool_prefix}cc"
10587 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10588 break 2
10589 fi
10590 done
10591 done
10592
10593 fi
10594 fi
10595 CC=$ac_cv_prog_CC
10596 if test -n "$CC"; then
10597 echo "$as_me:$LINENO: result: $CC" >&5
10598 echo "${ECHO_T}$CC" >&6
10599 else
10600 echo "$as_me:$LINENO: result: no" >&5
10601 echo "${ECHO_T}no" >&6
10602 fi
10603
10604 fi
10605 if test -z "$ac_cv_prog_CC"; then
10606 ac_ct_CC=$CC
10607 # Extract the first word of "cc", so it can be a program name with args.
10608 set dummy cc; ac_word=$2
10609 echo "$as_me:$LINENO: checking for $ac_word" >&5
10610 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10611 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10612 echo $ECHO_N "(cached) $ECHO_C" >&6
10613 else
10614 if test -n "$ac_ct_CC"; then
10615 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
10616 else
10617 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10618 for as_dir in $PATH
10619 do
10620 IFS=$as_save_IFS
10621 test -z "$as_dir" && as_dir=.
10622 for ac_exec_ext in '' $ac_executable_extensions; do
10623 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10624 ac_cv_prog_ac_ct_CC="cc"
10625 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10626 break 2
10627 fi
10628 done
10629 done
10630
10631 fi
10632 fi
10633 ac_ct_CC=$ac_cv_prog_ac_ct_CC
10634 if test -n "$ac_ct_CC"; then
10635 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10636 echo "${ECHO_T}$ac_ct_CC" >&6
10637 else
10638 echo "$as_me:$LINENO: result: no" >&5
10639 echo "${ECHO_T}no" >&6
10640 fi
10641
10642 CC=$ac_ct_CC
10643 else
10644 CC="$ac_cv_prog_CC"
10645 fi
10646
10647 fi
10648 if test -z "$CC"; then
10649 # Extract the first word of "cc", so it can be a program name with args.
10650 set dummy cc; ac_word=$2
10651 echo "$as_me:$LINENO: checking for $ac_word" >&5
10652 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10653 if test "${ac_cv_prog_CC+set}" = set; then
10654 echo $ECHO_N "(cached) $ECHO_C" >&6
10655 else
10656 if test -n "$CC"; then
10657 ac_cv_prog_CC="$CC" # Let the user override the test.
10658 else
10659 ac_prog_rejected=no
10660 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10661 for as_dir in $PATH
10662 do
10663 IFS=$as_save_IFS
10664 test -z "$as_dir" && as_dir=.
10665 for ac_exec_ext in '' $ac_executable_extensions; do
10666 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10667 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
10668 ac_prog_rejected=yes
10669 continue
10670 fi
10671 ac_cv_prog_CC="cc"
10672 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10673 break 2
10674 fi
10675 done
10676 done
10677
10678 if test $ac_prog_rejected = yes; then
10679 # We found a bogon in the path, so make sure we never use it.
10680 set dummy $ac_cv_prog_CC
10681 shift
10682 if test $# != 0; then
10683 # We chose a different compiler from the bogus one.
10684 # However, it has the same basename, so the bogon will be chosen
10685 # first if we set CC to just the basename; use the full file name.
10686 shift
10687 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
10688 fi
10689 fi
10690 fi
10691 fi
10692 CC=$ac_cv_prog_CC
10693 if test -n "$CC"; then
10694 echo "$as_me:$LINENO: result: $CC" >&5
10695 echo "${ECHO_T}$CC" >&6
10696 else
10697 echo "$as_me:$LINENO: result: no" >&5
10698 echo "${ECHO_T}no" >&6
10699 fi
10700
10701 fi
10702 if test -z "$CC"; then
10703 if test -n "$ac_tool_prefix"; then
10704 for ac_prog in cl
10705 do
10706 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10707 set dummy $ac_tool_prefix$ac_prog; 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$ac_prog"
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 test -n "$CC" && break
10742 done
10743 fi
10744 if test -z "$CC"; then
10745 ac_ct_CC=$CC
10746 for ac_prog in cl
10747 do
10748 # Extract the first word of "$ac_prog", so it can be a program name with args.
10749 set dummy $ac_prog; ac_word=$2
10750 echo "$as_me:$LINENO: checking for $ac_word" >&5
10751 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10752 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10753 echo $ECHO_N "(cached) $ECHO_C" >&6
10754 else
10755 if test -n "$ac_ct_CC"; then
10756 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
10757 else
10758 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10759 for as_dir in $PATH
10760 do
10761 IFS=$as_save_IFS
10762 test -z "$as_dir" && as_dir=.
10763 for ac_exec_ext in '' $ac_executable_extensions; do
10764 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10765 ac_cv_prog_ac_ct_CC="$ac_prog"
10766 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10767 break 2
10768 fi
10769 done
10770 done
10771
10772 fi
10773 fi
10774 ac_ct_CC=$ac_cv_prog_ac_ct_CC
10775 if test -n "$ac_ct_CC"; then
10776 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10777 echo "${ECHO_T}$ac_ct_CC" >&6
10778 else
10779 echo "$as_me:$LINENO: result: no" >&5
10780 echo "${ECHO_T}no" >&6
10781 fi
10782
10783 test -n "$ac_ct_CC" && break
10784 done
10785
10786 CC=$ac_ct_CC
10787 fi
10788
10789 fi
10790
10791
10792 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
10793 See \`config.log' for more details." >&5
10794 echo "$as_me: error: no acceptable C compiler found in \$PATH
10795 See \`config.log' for more details." >&2;}
10796 { (exit 1); exit 1; }; }
10797
10798 # Provide some information about the compiler.
10799 echo "$as_me:$LINENO:" \
10800 "checking for C compiler version" >&5
10801 ac_compiler=`set X $ac_compile; echo $2`
10802 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
10803 (eval $ac_compiler --version </dev/null >&5) 2>&5
10804 ac_status=$?
10805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10806 (exit $ac_status); }
10807 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
10808 (eval $ac_compiler -v </dev/null >&5) 2>&5
10809 ac_status=$?
10810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10811 (exit $ac_status); }
10812 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
10813 (eval $ac_compiler -V </dev/null >&5) 2>&5
10814 ac_status=$?
10815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10816 (exit $ac_status); }
10817
10818 cat >conftest.$ac_ext <<_ACEOF
10819 /* confdefs.h. */
10820 _ACEOF
10821 cat confdefs.h >>conftest.$ac_ext
10822 cat >>conftest.$ac_ext <<_ACEOF
10823 /* end confdefs.h. */
10824
10825 int
10826 main ()
10827 {
10828
10829 ;
10830 return 0;
10831 }
10832 _ACEOF
10833 ac_clean_files_save=$ac_clean_files
10834 ac_clean_files="$ac_clean_files a.out a.exe b.out"
10835 # Try to create an executable without -o first, disregard a.out.
10836 # It will help us diagnose broken compilers, and finding out an intuition
10837 # of exeext.
10838 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
10839 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
10840 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
10841 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
10842 (eval $ac_link_default) 2>&5
10843 ac_status=$?
10844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10845 (exit $ac_status); }; then
10846 # Find the output, starting from the most likely. This scheme is
10847 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
10848 # resort.
10849
10850 # Be careful to initialize this variable, since it used to be cached.
10851 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
10852 ac_cv_exeext=
10853 # b.out is created by i960 compilers.
10854 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
10855 do
10856 test -f "$ac_file" || continue
10857 case $ac_file in
10858 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
10859 ;;
10860 conftest.$ac_ext )
10861 # This is the source file.
10862 ;;
10863 [ab].out )
10864 # We found the default executable, but exeext='' is most
10865 # certainly right.
10866 break;;
10867 *.* )
10868 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
10869 # FIXME: I believe we export ac_cv_exeext for Libtool,
10870 # but it would be cool to find out if it's true. Does anybody
10871 # maintain Libtool? --akim.
10872 export ac_cv_exeext
10873 break;;
10874 * )
10875 break;;
10876 esac
10877 done
10878 else
10879 echo "$as_me: failed program was:" >&5
10880 sed 's/^/| /' conftest.$ac_ext >&5
10881
10882 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
10883 See \`config.log' for more details." >&5
10884 echo "$as_me: error: C compiler cannot create executables
10885 See \`config.log' for more details." >&2;}
10886 { (exit 77); exit 77; }; }
10887 fi
10888
10889 ac_exeext=$ac_cv_exeext
10890 echo "$as_me:$LINENO: result: $ac_file" >&5
10891 echo "${ECHO_T}$ac_file" >&6
10892
10893 # Check the compiler produces executables we can run. If not, either
10894 # the compiler is broken, or we cross compile.
10895 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
10896 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
10897 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
10898 # If not cross compiling, check that we can run a simple program.
10899 if test "$cross_compiling" != yes; then
10900 if { ac_try='./$ac_file'
10901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10902 (eval $ac_try) 2>&5
10903 ac_status=$?
10904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10905 (exit $ac_status); }; }; then
10906 cross_compiling=no
10907 else
10908 if test "$cross_compiling" = maybe; then
10909 cross_compiling=yes
10910 else
10911 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
10912 If you meant to cross compile, use \`--host'.
10913 See \`config.log' for more details." >&5
10914 echo "$as_me: error: cannot run C compiled programs.
10915 If you meant to cross compile, use \`--host'.
10916 See \`config.log' for more details." >&2;}
10917 { (exit 1); exit 1; }; }
10918 fi
10919 fi
10920 fi
10921 echo "$as_me:$LINENO: result: yes" >&5
10922 echo "${ECHO_T}yes" >&6
10923
10924 rm -f a.out a.exe conftest$ac_cv_exeext b.out
10925 ac_clean_files=$ac_clean_files_save
10926 # Check the compiler produces executables we can run. If not, either
10927 # the compiler is broken, or we cross compile.
10928 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
10929 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
10930 echo "$as_me:$LINENO: result: $cross_compiling" >&5
10931 echo "${ECHO_T}$cross_compiling" >&6
10932
10933 echo "$as_me:$LINENO: checking for suffix of executables" >&5
10934 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
10935 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10936 (eval $ac_link) 2>&5
10937 ac_status=$?
10938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10939 (exit $ac_status); }; then
10940 # If both `conftest.exe' and `conftest' are `present' (well, observable)
10941 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
10942 # work properly (i.e., refer to `conftest.exe'), while it won't with
10943 # `rm'.
10944 for ac_file in conftest.exe conftest conftest.*; do
10945 test -f "$ac_file" || continue
10946 case $ac_file in
10947 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
10948 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
10949 export ac_cv_exeext
10950 break;;
10951 * ) break;;
10952 esac
10953 done
10954 else
10955 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
10956 See \`config.log' for more details." >&5
10957 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
10958 See \`config.log' for more details." >&2;}
10959 { (exit 1); exit 1; }; }
10960 fi
10961
10962 rm -f conftest$ac_cv_exeext
10963 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
10964 echo "${ECHO_T}$ac_cv_exeext" >&6
10965
10966 rm -f conftest.$ac_ext
10967 EXEEXT=$ac_cv_exeext
10968 ac_exeext=$EXEEXT
10969 echo "$as_me:$LINENO: checking for suffix of object files" >&5
10970 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
10971 if test "${ac_cv_objext+set}" = set; then
10972 echo $ECHO_N "(cached) $ECHO_C" >&6
10973 else
10974 cat >conftest.$ac_ext <<_ACEOF
10975 /* confdefs.h. */
10976 _ACEOF
10977 cat confdefs.h >>conftest.$ac_ext
10978 cat >>conftest.$ac_ext <<_ACEOF
10979 /* end confdefs.h. */
10980
10981 int
10982 main ()
10983 {
10984
10985 ;
10986 return 0;
10987 }
10988 _ACEOF
10989 rm -f conftest.o conftest.obj
10990 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10991 (eval $ac_compile) 2>&5
10992 ac_status=$?
10993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10994 (exit $ac_status); }; then
10995 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
10996 case $ac_file in
10997 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
10998 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
10999 break;;
11000 esac
11001 done
11002 else
11003 echo "$as_me: failed program was:" >&5
11004 sed 's/^/| /' conftest.$ac_ext >&5
11005
11006 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
11007 See \`config.log' for more details." >&5
11008 echo "$as_me: error: cannot compute suffix of object files: cannot compile
11009 See \`config.log' for more details." >&2;}
11010 { (exit 1); exit 1; }; }
11011 fi
11012
11013 rm -f conftest.$ac_cv_objext conftest.$ac_ext
11014 fi
11015 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
11016 echo "${ECHO_T}$ac_cv_objext" >&6
11017 OBJEXT=$ac_cv_objext
11018 ac_objext=$OBJEXT
11019 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
11020 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
11021 if test "${ac_cv_c_compiler_gnu+set}" = set; then
11022 echo $ECHO_N "(cached) $ECHO_C" >&6
11023 else
11024 cat >conftest.$ac_ext <<_ACEOF
11025 /* confdefs.h. */
11026 _ACEOF
11027 cat confdefs.h >>conftest.$ac_ext
11028 cat >>conftest.$ac_ext <<_ACEOF
11029 /* end confdefs.h. */
11030
11031 int
11032 main ()
11033 {
11034 #ifndef __GNUC__
11035 choke me
11036 #endif
11037
11038 ;
11039 return 0;
11040 }
11041 _ACEOF
11042 rm -f conftest.$ac_objext
11043 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11044 (eval $ac_compile) 2>conftest.er1
11045 ac_status=$?
11046 grep -v '^ *+' conftest.er1 >conftest.err
11047 rm -f conftest.er1
11048 cat conftest.err >&5
11049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11050 (exit $ac_status); } &&
11051 { ac_try='test -z "$ac_c_werror_flag"
11052 || test ! -s conftest.err'
11053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11054 (eval $ac_try) 2>&5
11055 ac_status=$?
11056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11057 (exit $ac_status); }; } &&
11058 { ac_try='test -s conftest.$ac_objext'
11059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11060 (eval $ac_try) 2>&5
11061 ac_status=$?
11062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11063 (exit $ac_status); }; }; then
11064 ac_compiler_gnu=yes
11065 else
11066 echo "$as_me: failed program was:" >&5
11067 sed 's/^/| /' conftest.$ac_ext >&5
11068
11069 ac_compiler_gnu=no
11070 fi
11071 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11072 ac_cv_c_compiler_gnu=$ac_compiler_gnu
11073
11074 fi
11075 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
11076 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
11077 GCC=`test $ac_compiler_gnu = yes && echo yes`
11078 ac_test_CFLAGS=${CFLAGS+set}
11079 ac_save_CFLAGS=$CFLAGS
11080 CFLAGS="-g"
11081 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
11082 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
11083 if test "${ac_cv_prog_cc_g+set}" = set; then
11084 echo $ECHO_N "(cached) $ECHO_C" >&6
11085 else
11086 cat >conftest.$ac_ext <<_ACEOF
11087 /* confdefs.h. */
11088 _ACEOF
11089 cat confdefs.h >>conftest.$ac_ext
11090 cat >>conftest.$ac_ext <<_ACEOF
11091 /* end confdefs.h. */
11092
11093 int
11094 main ()
11095 {
11096
11097 ;
11098 return 0;
11099 }
11100 _ACEOF
11101 rm -f conftest.$ac_objext
11102 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11103 (eval $ac_compile) 2>conftest.er1
11104 ac_status=$?
11105 grep -v '^ *+' conftest.er1 >conftest.err
11106 rm -f conftest.er1
11107 cat conftest.err >&5
11108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11109 (exit $ac_status); } &&
11110 { ac_try='test -z "$ac_c_werror_flag"
11111 || test ! -s conftest.err'
11112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11113 (eval $ac_try) 2>&5
11114 ac_status=$?
11115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11116 (exit $ac_status); }; } &&
11117 { ac_try='test -s conftest.$ac_objext'
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 ac_cv_prog_cc_g=yes
11124 else
11125 echo "$as_me: failed program was:" >&5
11126 sed 's/^/| /' conftest.$ac_ext >&5
11127
11128 ac_cv_prog_cc_g=no
11129 fi
11130 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11131 fi
11132 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
11133 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
11134 if test "$ac_test_CFLAGS" = set; then
11135 CFLAGS=$ac_save_CFLAGS
11136 elif test $ac_cv_prog_cc_g = yes; then
11137 if test "$GCC" = yes; then
11138 CFLAGS="-g -O2"
11139 else
11140 CFLAGS="-g"
11141 fi
11142 else
11143 if test "$GCC" = yes; then
11144 CFLAGS="-O2"
11145 else
11146 CFLAGS=
11147 fi
11148 fi
11149 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
11150 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
11151 if test "${ac_cv_prog_cc_stdc+set}" = set; then
11152 echo $ECHO_N "(cached) $ECHO_C" >&6
11153 else
11154 ac_cv_prog_cc_stdc=no
11155 ac_save_CC=$CC
11156 cat >conftest.$ac_ext <<_ACEOF
11157 /* confdefs.h. */
11158 _ACEOF
11159 cat confdefs.h >>conftest.$ac_ext
11160 cat >>conftest.$ac_ext <<_ACEOF
11161 /* end confdefs.h. */
11162 #include <stdarg.h>
11163 #include <stdio.h>
11164 #include <sys/types.h>
11165 #include <sys/stat.h>
11166 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
11167 struct buf { int x; };
11168 FILE * (*rcsopen) (struct buf *, struct stat *, int);
11169 static char *e (p, i)
11170 char **p;
11171 int i;
11172 {
11173 return p[i];
11174 }
11175 static char *f (char * (*g) (char **, int), char **p, ...)
11176 {
11177 char *s;
11178 va_list v;
11179 va_start (v,p);
11180 s = g (p, va_arg (v,int));
11181 va_end (v);
11182 return s;
11183 }
11184
11185 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
11186 function prototypes and stuff, but not '\xHH' hex character constants.
11187 These don't provoke an error unfortunately, instead are silently treated
11188 as 'x'. The following induces an error, until -std1 is added to get
11189 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
11190 array size at least. It's necessary to write '\x00'==0 to get something
11191 that's true only with -std1. */
11192 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
11193
11194 int test (int i, double x);
11195 struct s1 {int (*f) (int a);};
11196 struct s2 {int (*f) (double a);};
11197 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
11198 int argc;
11199 char **argv;
11200 int
11201 main ()
11202 {
11203 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
11204 ;
11205 return 0;
11206 }
11207 _ACEOF
11208 # Don't try gcc -ansi; that turns off useful extensions and
11209 # breaks some systems' header files.
11210 # AIX -qlanglvl=ansi
11211 # Ultrix and OSF/1 -std1
11212 # HP-UX 10.20 and later -Ae
11213 # HP-UX older versions -Aa -D_HPUX_SOURCE
11214 # SVR4 -Xc -D__EXTENSIONS__
11215 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
11216 do
11217 CC="$ac_save_CC $ac_arg"
11218 rm -f conftest.$ac_objext
11219 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11220 (eval $ac_compile) 2>conftest.er1
11221 ac_status=$?
11222 grep -v '^ *+' conftest.er1 >conftest.err
11223 rm -f conftest.er1
11224 cat conftest.err >&5
11225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11226 (exit $ac_status); } &&
11227 { ac_try='test -z "$ac_c_werror_flag"
11228 || test ! -s conftest.err'
11229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11230 (eval $ac_try) 2>&5
11231 ac_status=$?
11232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11233 (exit $ac_status); }; } &&
11234 { ac_try='test -s conftest.$ac_objext'
11235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11236 (eval $ac_try) 2>&5
11237 ac_status=$?
11238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11239 (exit $ac_status); }; }; then
11240 ac_cv_prog_cc_stdc=$ac_arg
11241 break
11242 else
11243 echo "$as_me: failed program was:" >&5
11244 sed 's/^/| /' conftest.$ac_ext >&5
11245
11246 fi
11247 rm -f conftest.err conftest.$ac_objext
11248 done
11249 rm -f conftest.$ac_ext conftest.$ac_objext
11250 CC=$ac_save_CC
11251
11252 fi
11253
11254 case "x$ac_cv_prog_cc_stdc" in
11255 x|xno)
11256 echo "$as_me:$LINENO: result: none needed" >&5
11257 echo "${ECHO_T}none needed" >&6 ;;
11258 *)
11259 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
11260 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
11261 CC="$CC $ac_cv_prog_cc_stdc" ;;
11262 esac
11263
11264 # Some people use a C++ compiler to compile C. Since we use `exit',
11265 # in C++ we need to declare it. In case someone uses the same compiler
11266 # for both compiling C and C++ we need to have the C++ compiler decide
11267 # the declaration of exit, since it's the most demanding environment.
11268 cat >conftest.$ac_ext <<_ACEOF
11269 #ifndef __cplusplus
11270 choke me
11271 #endif
11272 _ACEOF
11273 rm -f conftest.$ac_objext
11274 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11275 (eval $ac_compile) 2>conftest.er1
11276 ac_status=$?
11277 grep -v '^ *+' conftest.er1 >conftest.err
11278 rm -f conftest.er1
11279 cat conftest.err >&5
11280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11281 (exit $ac_status); } &&
11282 { ac_try='test -z "$ac_c_werror_flag"
11283 || test ! -s conftest.err'
11284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11285 (eval $ac_try) 2>&5
11286 ac_status=$?
11287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11288 (exit $ac_status); }; } &&
11289 { ac_try='test -s conftest.$ac_objext'
11290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11291 (eval $ac_try) 2>&5
11292 ac_status=$?
11293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11294 (exit $ac_status); }; }; then
11295 for ac_declaration in \
11296 '' \
11297 'extern "C" void std::exit (int) throw (); using std::exit;' \
11298 'extern "C" void std::exit (int); using std::exit;' \
11299 'extern "C" void exit (int) throw ();' \
11300 'extern "C" void exit (int);' \
11301 'void exit (int);'
11302 do
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 $ac_declaration
11310 #include <stdlib.h>
11311 int
11312 main ()
11313 {
11314 exit (42);
11315 ;
11316 return 0;
11317 }
11318 _ACEOF
11319 rm -f conftest.$ac_objext
11320 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11321 (eval $ac_compile) 2>conftest.er1
11322 ac_status=$?
11323 grep -v '^ *+' conftest.er1 >conftest.err
11324 rm -f conftest.er1
11325 cat conftest.err >&5
11326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11327 (exit $ac_status); } &&
11328 { ac_try='test -z "$ac_c_werror_flag"
11329 || test ! -s conftest.err'
11330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11331 (eval $ac_try) 2>&5
11332 ac_status=$?
11333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11334 (exit $ac_status); }; } &&
11335 { ac_try='test -s conftest.$ac_objext'
11336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11337 (eval $ac_try) 2>&5
11338 ac_status=$?
11339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11340 (exit $ac_status); }; }; then
11341 :
11342 else
11343 echo "$as_me: failed program was:" >&5
11344 sed 's/^/| /' conftest.$ac_ext >&5
11345
11346 continue
11347 fi
11348 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11349 cat >conftest.$ac_ext <<_ACEOF
11350 /* confdefs.h. */
11351 _ACEOF
11352 cat confdefs.h >>conftest.$ac_ext
11353 cat >>conftest.$ac_ext <<_ACEOF
11354 /* end confdefs.h. */
11355 $ac_declaration
11356 int
11357 main ()
11358 {
11359 exit (42);
11360 ;
11361 return 0;
11362 }
11363 _ACEOF
11364 rm -f conftest.$ac_objext
11365 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11366 (eval $ac_compile) 2>conftest.er1
11367 ac_status=$?
11368 grep -v '^ *+' conftest.er1 >conftest.err
11369 rm -f conftest.er1
11370 cat conftest.err >&5
11371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11372 (exit $ac_status); } &&
11373 { ac_try='test -z "$ac_c_werror_flag"
11374 || test ! -s conftest.err'
11375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11376 (eval $ac_try) 2>&5
11377 ac_status=$?
11378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11379 (exit $ac_status); }; } &&
11380 { ac_try='test -s conftest.$ac_objext'
11381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11382 (eval $ac_try) 2>&5
11383 ac_status=$?
11384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11385 (exit $ac_status); }; }; then
11386 break
11387 else
11388 echo "$as_me: failed program was:" >&5
11389 sed 's/^/| /' conftest.$ac_ext >&5
11390
11391 fi
11392 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11393 done
11394 rm -f conftest*
11395 if test -n "$ac_declaration"; then
11396 echo '#ifdef __cplusplus' >>confdefs.h
11397 echo $ac_declaration >>confdefs.h
11398 echo '#endif' >>confdefs.h
11399 fi
11400
11401 else
11402 echo "$as_me: failed program was:" >&5
11403 sed 's/^/| /' conftest.$ac_ext >&5
11404
11405 fi
11406 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11407 ac_ext=c
11408 ac_cpp='$CPP $CPPFLAGS'
11409 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11410 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11411 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11412
11413
11414 ac_ext=c
11415 ac_cpp='$CPP $CPPFLAGS'
11416 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11417 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11418 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11419
11420 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
11421 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6
11422 if test "${bakefile_cv_c_compiler_mwerks+set}" = set; then
11423 echo $ECHO_N "(cached) $ECHO_C" >&6
11424 else
11425 cat >conftest.$ac_ext <<_ACEOF
11426 /* confdefs.h. */
11427 _ACEOF
11428 cat confdefs.h >>conftest.$ac_ext
11429 cat >>conftest.$ac_ext <<_ACEOF
11430 /* end confdefs.h. */
11431
11432 int
11433 main ()
11434 {
11435 #ifndef __MWERKS__
11436 choke me
11437 #endif
11438
11439 ;
11440 return 0;
11441 }
11442 _ACEOF
11443 rm -f conftest.$ac_objext
11444 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11445 (eval $ac_compile) 2>conftest.er1
11446 ac_status=$?
11447 grep -v '^ *+' conftest.er1 >conftest.err
11448 rm -f conftest.er1
11449 cat conftest.err >&5
11450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11451 (exit $ac_status); } &&
11452 { ac_try='test -z "$ac_c_werror_flag"
11453 || test ! -s conftest.err'
11454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11455 (eval $ac_try) 2>&5
11456 ac_status=$?
11457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11458 (exit $ac_status); }; } &&
11459 { ac_try='test -s conftest.$ac_objext'
11460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11461 (eval $ac_try) 2>&5
11462 ac_status=$?
11463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11464 (exit $ac_status); }; }; then
11465 bakefile_compiler_mwerks=yes
11466 else
11467 echo "$as_me: failed program was:" >&5
11468 sed 's/^/| /' conftest.$ac_ext >&5
11469
11470 bakefile_compiler_mwerks=no
11471 fi
11472 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11473 bakefile_cv_c_compiler_mwerks=$bakefile_compiler_mwerks
11474
11475 fi
11476 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_mwerks" >&5
11477 echo "${ECHO_T}$bakefile_cv_c_compiler_mwerks" >&6
11478
11479 MWCC=`test $bakefile_compiler_mwerks = yes && echo yes`
11480 ac_ext=c
11481 ac_cpp='$CPP $CPPFLAGS'
11482 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11483 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11484 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11485
11486
11487
11488 ac_ext=c
11489 ac_cpp='$CPP $CPPFLAGS'
11490 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11491 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11492 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11493 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
11494 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
11495 # On Suns, sometimes $CPP names a directory.
11496 if test -n "$CPP" && test -d "$CPP"; then
11497 CPP=
11498 fi
11499 if test -z "$CPP"; then
11500 if test "${ac_cv_prog_CPP+set}" = set; then
11501 echo $ECHO_N "(cached) $ECHO_C" >&6
11502 else
11503 # Double quotes because CPP needs to be expanded
11504 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
11505 do
11506 ac_preproc_ok=false
11507 for ac_c_preproc_warn_flag in '' yes
11508 do
11509 # Use a header file that comes with gcc, so configuring glibc
11510 # with a fresh cross-compiler works.
11511 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11512 # <limits.h> exists even on freestanding compilers.
11513 # On the NeXT, cc -E runs the code through the compiler's parser,
11514 # not just through cpp. "Syntax error" is here to catch this case.
11515 cat >conftest.$ac_ext <<_ACEOF
11516 /* confdefs.h. */
11517 _ACEOF
11518 cat confdefs.h >>conftest.$ac_ext
11519 cat >>conftest.$ac_ext <<_ACEOF
11520 /* end confdefs.h. */
11521 #ifdef __STDC__
11522 # include <limits.h>
11523 #else
11524 # include <assert.h>
11525 #endif
11526 Syntax error
11527 _ACEOF
11528 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11529 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11530 ac_status=$?
11531 grep -v '^ *+' conftest.er1 >conftest.err
11532 rm -f conftest.er1
11533 cat conftest.err >&5
11534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11535 (exit $ac_status); } >/dev/null; then
11536 if test -s conftest.err; then
11537 ac_cpp_err=$ac_c_preproc_warn_flag
11538 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11539 else
11540 ac_cpp_err=
11541 fi
11542 else
11543 ac_cpp_err=yes
11544 fi
11545 if test -z "$ac_cpp_err"; then
11546 :
11547 else
11548 echo "$as_me: failed program was:" >&5
11549 sed 's/^/| /' conftest.$ac_ext >&5
11550
11551 # Broken: fails on valid input.
11552 continue
11553 fi
11554 rm -f conftest.err conftest.$ac_ext
11555
11556 # OK, works on sane cases. Now check whether non-existent headers
11557 # can be detected and how.
11558 cat >conftest.$ac_ext <<_ACEOF
11559 /* confdefs.h. */
11560 _ACEOF
11561 cat confdefs.h >>conftest.$ac_ext
11562 cat >>conftest.$ac_ext <<_ACEOF
11563 /* end confdefs.h. */
11564 #include <ac_nonexistent.h>
11565 _ACEOF
11566 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11567 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11568 ac_status=$?
11569 grep -v '^ *+' conftest.er1 >conftest.err
11570 rm -f conftest.er1
11571 cat conftest.err >&5
11572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11573 (exit $ac_status); } >/dev/null; then
11574 if test -s conftest.err; then
11575 ac_cpp_err=$ac_c_preproc_warn_flag
11576 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11577 else
11578 ac_cpp_err=
11579 fi
11580 else
11581 ac_cpp_err=yes
11582 fi
11583 if test -z "$ac_cpp_err"; then
11584 # Broken: success on invalid input.
11585 continue
11586 else
11587 echo "$as_me: failed program was:" >&5
11588 sed 's/^/| /' conftest.$ac_ext >&5
11589
11590 # Passes both tests.
11591 ac_preproc_ok=:
11592 break
11593 fi
11594 rm -f conftest.err conftest.$ac_ext
11595
11596 done
11597 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11598 rm -f conftest.err conftest.$ac_ext
11599 if $ac_preproc_ok; then
11600 break
11601 fi
11602
11603 done
11604 ac_cv_prog_CPP=$CPP
11605
11606 fi
11607 CPP=$ac_cv_prog_CPP
11608 else
11609 ac_cv_prog_CPP=$CPP
11610 fi
11611 echo "$as_me:$LINENO: result: $CPP" >&5
11612 echo "${ECHO_T}$CPP" >&6
11613 ac_preproc_ok=false
11614 for ac_c_preproc_warn_flag in '' yes
11615 do
11616 # Use a header file that comes with gcc, so configuring glibc
11617 # with a fresh cross-compiler works.
11618 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11619 # <limits.h> exists even on freestanding compilers.
11620 # On the NeXT, cc -E runs the code through the compiler's parser,
11621 # not just through cpp. "Syntax error" is here to catch this case.
11622 cat >conftest.$ac_ext <<_ACEOF
11623 /* confdefs.h. */
11624 _ACEOF
11625 cat confdefs.h >>conftest.$ac_ext
11626 cat >>conftest.$ac_ext <<_ACEOF
11627 /* end confdefs.h. */
11628 #ifdef __STDC__
11629 # include <limits.h>
11630 #else
11631 # include <assert.h>
11632 #endif
11633 Syntax error
11634 _ACEOF
11635 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11636 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11637 ac_status=$?
11638 grep -v '^ *+' conftest.er1 >conftest.err
11639 rm -f conftest.er1
11640 cat conftest.err >&5
11641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11642 (exit $ac_status); } >/dev/null; then
11643 if test -s conftest.err; then
11644 ac_cpp_err=$ac_c_preproc_warn_flag
11645 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11646 else
11647 ac_cpp_err=
11648 fi
11649 else
11650 ac_cpp_err=yes
11651 fi
11652 if test -z "$ac_cpp_err"; then
11653 :
11654 else
11655 echo "$as_me: failed program was:" >&5
11656 sed 's/^/| /' conftest.$ac_ext >&5
11657
11658 # Broken: fails on valid input.
11659 continue
11660 fi
11661 rm -f conftest.err conftest.$ac_ext
11662
11663 # OK, works on sane cases. Now check whether non-existent headers
11664 # can be detected and how.
11665 cat >conftest.$ac_ext <<_ACEOF
11666 /* confdefs.h. */
11667 _ACEOF
11668 cat confdefs.h >>conftest.$ac_ext
11669 cat >>conftest.$ac_ext <<_ACEOF
11670 /* end confdefs.h. */
11671 #include <ac_nonexistent.h>
11672 _ACEOF
11673 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11674 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11675 ac_status=$?
11676 grep -v '^ *+' conftest.er1 >conftest.err
11677 rm -f conftest.er1
11678 cat conftest.err >&5
11679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11680 (exit $ac_status); } >/dev/null; then
11681 if test -s conftest.err; then
11682 ac_cpp_err=$ac_c_preproc_warn_flag
11683 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11684 else
11685 ac_cpp_err=
11686 fi
11687 else
11688 ac_cpp_err=yes
11689 fi
11690 if test -z "$ac_cpp_err"; then
11691 # Broken: success on invalid input.
11692 continue
11693 else
11694 echo "$as_me: failed program was:" >&5
11695 sed 's/^/| /' conftest.$ac_ext >&5
11696
11697 # Passes both tests.
11698 ac_preproc_ok=:
11699 break
11700 fi
11701 rm -f conftest.err conftest.$ac_ext
11702
11703 done
11704 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11705 rm -f conftest.err conftest.$ac_ext
11706 if $ac_preproc_ok; then
11707 :
11708 else
11709 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
11710 See \`config.log' for more details." >&5
11711 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
11712 See \`config.log' for more details." >&2;}
11713 { (exit 1); exit 1; }; }
11714 fi
11715
11716 ac_ext=c
11717 ac_cpp='$CPP $CPPFLAGS'
11718 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11719 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11720 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11721
11722
11723 echo "$as_me:$LINENO: checking for egrep" >&5
11724 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
11725 if test "${ac_cv_prog_egrep+set}" = set; then
11726 echo $ECHO_N "(cached) $ECHO_C" >&6
11727 else
11728 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
11729 then ac_cv_prog_egrep='grep -E'
11730 else ac_cv_prog_egrep='egrep'
11731 fi
11732 fi
11733 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
11734 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
11735 EGREP=$ac_cv_prog_egrep
11736
11737
11738 if test $ac_cv_c_compiler_gnu = yes; then
11739 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
11740 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
11741 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
11742 echo $ECHO_N "(cached) $ECHO_C" >&6
11743 else
11744 ac_pattern="Autoconf.*'x'"
11745 cat >conftest.$ac_ext <<_ACEOF
11746 /* confdefs.h. */
11747 _ACEOF
11748 cat confdefs.h >>conftest.$ac_ext
11749 cat >>conftest.$ac_ext <<_ACEOF
11750 /* end confdefs.h. */
11751 #include <sgtty.h>
11752 Autoconf TIOCGETP
11753 _ACEOF
11754 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11755 $EGREP "$ac_pattern" >/dev/null 2>&1; then
11756 ac_cv_prog_gcc_traditional=yes
11757 else
11758 ac_cv_prog_gcc_traditional=no
11759 fi
11760 rm -f conftest*
11761
11762
11763 if test $ac_cv_prog_gcc_traditional = no; then
11764 cat >conftest.$ac_ext <<_ACEOF
11765 /* confdefs.h. */
11766 _ACEOF
11767 cat confdefs.h >>conftest.$ac_ext
11768 cat >>conftest.$ac_ext <<_ACEOF
11769 /* end confdefs.h. */
11770 #include <termio.h>
11771 Autoconf TCGETA
11772 _ACEOF
11773 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11774 $EGREP "$ac_pattern" >/dev/null 2>&1; then
11775 ac_cv_prog_gcc_traditional=yes
11776 fi
11777 rm -f conftest*
11778
11779 fi
11780 fi
11781 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
11782 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
11783 if test $ac_cv_prog_gcc_traditional = yes; then
11784 CC="$CC -traditional"
11785 fi
11786 fi
11787
11788
11789
11790
11791 ac_ext=cc
11792 ac_cpp='$CXXCPP $CPPFLAGS'
11793 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11794 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11795 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11796
11797
11798 CXXFLAGS=${CXXFLAGS:=}
11799 ac_ext=cc
11800 ac_cpp='$CXXCPP $CPPFLAGS'
11801 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11802 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11803 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11804 if test -n "$ac_tool_prefix"; then
11805 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
11806 do
11807 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11808 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
11809 echo "$as_me:$LINENO: checking for $ac_word" >&5
11810 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11811 if test "${ac_cv_prog_CXX+set}" = set; then
11812 echo $ECHO_N "(cached) $ECHO_C" >&6
11813 else
11814 if test -n "$CXX"; then
11815 ac_cv_prog_CXX="$CXX" # Let the user override the test.
11816 else
11817 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11818 for as_dir in $PATH
11819 do
11820 IFS=$as_save_IFS
11821 test -z "$as_dir" && as_dir=.
11822 for ac_exec_ext in '' $ac_executable_extensions; do
11823 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11824 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
11825 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11826 break 2
11827 fi
11828 done
11829 done
11830
11831 fi
11832 fi
11833 CXX=$ac_cv_prog_CXX
11834 if test -n "$CXX"; then
11835 echo "$as_me:$LINENO: result: $CXX" >&5
11836 echo "${ECHO_T}$CXX" >&6
11837 else
11838 echo "$as_me:$LINENO: result: no" >&5
11839 echo "${ECHO_T}no" >&6
11840 fi
11841
11842 test -n "$CXX" && break
11843 done
11844 fi
11845 if test -z "$CXX"; then
11846 ac_ct_CXX=$CXX
11847 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
11848 do
11849 # Extract the first word of "$ac_prog", so it can be a program name with args.
11850 set dummy $ac_prog; ac_word=$2
11851 echo "$as_me:$LINENO: checking for $ac_word" >&5
11852 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11853 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
11854 echo $ECHO_N "(cached) $ECHO_C" >&6
11855 else
11856 if test -n "$ac_ct_CXX"; then
11857 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
11858 else
11859 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11860 for as_dir in $PATH
11861 do
11862 IFS=$as_save_IFS
11863 test -z "$as_dir" && as_dir=.
11864 for ac_exec_ext in '' $ac_executable_extensions; do
11865 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11866 ac_cv_prog_ac_ct_CXX="$ac_prog"
11867 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11868 break 2
11869 fi
11870 done
11871 done
11872
11873 fi
11874 fi
11875 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
11876 if test -n "$ac_ct_CXX"; then
11877 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
11878 echo "${ECHO_T}$ac_ct_CXX" >&6
11879 else
11880 echo "$as_me:$LINENO: result: no" >&5
11881 echo "${ECHO_T}no" >&6
11882 fi
11883
11884 test -n "$ac_ct_CXX" && break
11885 done
11886 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
11887
11888 CXX=$ac_ct_CXX
11889 fi
11890
11891
11892 # Provide some information about the compiler.
11893 echo "$as_me:$LINENO:" \
11894 "checking for C++ compiler version" >&5
11895 ac_compiler=`set X $ac_compile; echo $2`
11896 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
11897 (eval $ac_compiler --version </dev/null >&5) 2>&5
11898 ac_status=$?
11899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11900 (exit $ac_status); }
11901 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
11902 (eval $ac_compiler -v </dev/null >&5) 2>&5
11903 ac_status=$?
11904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11905 (exit $ac_status); }
11906 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
11907 (eval $ac_compiler -V </dev/null >&5) 2>&5
11908 ac_status=$?
11909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11910 (exit $ac_status); }
11911
11912 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
11913 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
11914 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
11915 echo $ECHO_N "(cached) $ECHO_C" >&6
11916 else
11917 cat >conftest.$ac_ext <<_ACEOF
11918 /* confdefs.h. */
11919 _ACEOF
11920 cat confdefs.h >>conftest.$ac_ext
11921 cat >>conftest.$ac_ext <<_ACEOF
11922 /* end confdefs.h. */
11923
11924 int
11925 main ()
11926 {
11927 #ifndef __GNUC__
11928 choke me
11929 #endif
11930
11931 ;
11932 return 0;
11933 }
11934 _ACEOF
11935 rm -f conftest.$ac_objext
11936 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11937 (eval $ac_compile) 2>conftest.er1
11938 ac_status=$?
11939 grep -v '^ *+' conftest.er1 >conftest.err
11940 rm -f conftest.er1
11941 cat conftest.err >&5
11942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11943 (exit $ac_status); } &&
11944 { ac_try='test -z "$ac_cxx_werror_flag"
11945 || test ! -s conftest.err'
11946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11947 (eval $ac_try) 2>&5
11948 ac_status=$?
11949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11950 (exit $ac_status); }; } &&
11951 { ac_try='test -s conftest.$ac_objext'
11952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11953 (eval $ac_try) 2>&5
11954 ac_status=$?
11955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11956 (exit $ac_status); }; }; then
11957 ac_compiler_gnu=yes
11958 else
11959 echo "$as_me: failed program was:" >&5
11960 sed 's/^/| /' conftest.$ac_ext >&5
11961
11962 ac_compiler_gnu=no
11963 fi
11964 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11965 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
11966
11967 fi
11968 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
11969 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
11970 GXX=`test $ac_compiler_gnu = yes && echo yes`
11971 ac_test_CXXFLAGS=${CXXFLAGS+set}
11972 ac_save_CXXFLAGS=$CXXFLAGS
11973 CXXFLAGS="-g"
11974 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
11975 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
11976 if test "${ac_cv_prog_cxx_g+set}" = set; then
11977 echo $ECHO_N "(cached) $ECHO_C" >&6
11978 else
11979 cat >conftest.$ac_ext <<_ACEOF
11980 /* confdefs.h. */
11981 _ACEOF
11982 cat confdefs.h >>conftest.$ac_ext
11983 cat >>conftest.$ac_ext <<_ACEOF
11984 /* end confdefs.h. */
11985
11986 int
11987 main ()
11988 {
11989
11990 ;
11991 return 0;
11992 }
11993 _ACEOF
11994 rm -f conftest.$ac_objext
11995 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11996 (eval $ac_compile) 2>conftest.er1
11997 ac_status=$?
11998 grep -v '^ *+' conftest.er1 >conftest.err
11999 rm -f conftest.er1
12000 cat conftest.err >&5
12001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12002 (exit $ac_status); } &&
12003 { ac_try='test -z "$ac_cxx_werror_flag"
12004 || test ! -s conftest.err'
12005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12006 (eval $ac_try) 2>&5
12007 ac_status=$?
12008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12009 (exit $ac_status); }; } &&
12010 { ac_try='test -s conftest.$ac_objext'
12011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12012 (eval $ac_try) 2>&5
12013 ac_status=$?
12014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12015 (exit $ac_status); }; }; then
12016 ac_cv_prog_cxx_g=yes
12017 else
12018 echo "$as_me: failed program was:" >&5
12019 sed 's/^/| /' conftest.$ac_ext >&5
12020
12021 ac_cv_prog_cxx_g=no
12022 fi
12023 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12024 fi
12025 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
12026 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
12027 if test "$ac_test_CXXFLAGS" = set; then
12028 CXXFLAGS=$ac_save_CXXFLAGS
12029 elif test $ac_cv_prog_cxx_g = yes; then
12030 if test "$GXX" = yes; then
12031 CXXFLAGS="-g -O2"
12032 else
12033 CXXFLAGS="-g"
12034 fi
12035 else
12036 if test "$GXX" = yes; then
12037 CXXFLAGS="-O2"
12038 else
12039 CXXFLAGS=
12040 fi
12041 fi
12042 for ac_declaration in \
12043 '' \
12044 'extern "C" void std::exit (int) throw (); using std::exit;' \
12045 'extern "C" void std::exit (int); using std::exit;' \
12046 'extern "C" void exit (int) throw ();' \
12047 'extern "C" void exit (int);' \
12048 'void exit (int);'
12049 do
12050 cat >conftest.$ac_ext <<_ACEOF
12051 /* confdefs.h. */
12052 _ACEOF
12053 cat confdefs.h >>conftest.$ac_ext
12054 cat >>conftest.$ac_ext <<_ACEOF
12055 /* end confdefs.h. */
12056 $ac_declaration
12057 #include <stdlib.h>
12058 int
12059 main ()
12060 {
12061 exit (42);
12062 ;
12063 return 0;
12064 }
12065 _ACEOF
12066 rm -f conftest.$ac_objext
12067 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12068 (eval $ac_compile) 2>conftest.er1
12069 ac_status=$?
12070 grep -v '^ *+' conftest.er1 >conftest.err
12071 rm -f conftest.er1
12072 cat conftest.err >&5
12073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12074 (exit $ac_status); } &&
12075 { ac_try='test -z "$ac_cxx_werror_flag"
12076 || test ! -s conftest.err'
12077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12078 (eval $ac_try) 2>&5
12079 ac_status=$?
12080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12081 (exit $ac_status); }; } &&
12082 { ac_try='test -s conftest.$ac_objext'
12083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12084 (eval $ac_try) 2>&5
12085 ac_status=$?
12086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12087 (exit $ac_status); }; }; then
12088 :
12089 else
12090 echo "$as_me: failed program was:" >&5
12091 sed 's/^/| /' conftest.$ac_ext >&5
12092
12093 continue
12094 fi
12095 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12096 cat >conftest.$ac_ext <<_ACEOF
12097 /* confdefs.h. */
12098 _ACEOF
12099 cat confdefs.h >>conftest.$ac_ext
12100 cat >>conftest.$ac_ext <<_ACEOF
12101 /* end confdefs.h. */
12102 $ac_declaration
12103 int
12104 main ()
12105 {
12106 exit (42);
12107 ;
12108 return 0;
12109 }
12110 _ACEOF
12111 rm -f conftest.$ac_objext
12112 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12113 (eval $ac_compile) 2>conftest.er1
12114 ac_status=$?
12115 grep -v '^ *+' conftest.er1 >conftest.err
12116 rm -f conftest.er1
12117 cat conftest.err >&5
12118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12119 (exit $ac_status); } &&
12120 { ac_try='test -z "$ac_cxx_werror_flag"
12121 || test ! -s conftest.err'
12122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12123 (eval $ac_try) 2>&5
12124 ac_status=$?
12125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12126 (exit $ac_status); }; } &&
12127 { ac_try='test -s conftest.$ac_objext'
12128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12129 (eval $ac_try) 2>&5
12130 ac_status=$?
12131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12132 (exit $ac_status); }; }; then
12133 break
12134 else
12135 echo "$as_me: failed program was:" >&5
12136 sed 's/^/| /' conftest.$ac_ext >&5
12137
12138 fi
12139 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12140 done
12141 rm -f conftest*
12142 if test -n "$ac_declaration"; then
12143 echo '#ifdef __cplusplus' >>confdefs.h
12144 echo $ac_declaration >>confdefs.h
12145 echo '#endif' >>confdefs.h
12146 fi
12147
12148 ac_ext=cc
12149 ac_cpp='$CXXCPP $CPPFLAGS'
12150 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12151 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12152 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12153
12154
12155 ac_ext=cc
12156 ac_cpp='$CXXCPP $CPPFLAGS'
12157 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12158 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12159 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12160
12161 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
12162 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6
12163 if test "${bakefile_cv_cxx_compiler_mwerks+set}" = set; then
12164 echo $ECHO_N "(cached) $ECHO_C" >&6
12165 else
12166 cat >conftest.$ac_ext <<_ACEOF
12167 /* confdefs.h. */
12168 _ACEOF
12169 cat confdefs.h >>conftest.$ac_ext
12170 cat >>conftest.$ac_ext <<_ACEOF
12171 /* end confdefs.h. */
12172
12173 int
12174 main ()
12175 {
12176 #ifndef __MWERKS__
12177 choke me
12178 #endif
12179
12180 ;
12181 return 0;
12182 }
12183 _ACEOF
12184 rm -f conftest.$ac_objext
12185 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12186 (eval $ac_compile) 2>conftest.er1
12187 ac_status=$?
12188 grep -v '^ *+' conftest.er1 >conftest.err
12189 rm -f conftest.er1
12190 cat conftest.err >&5
12191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12192 (exit $ac_status); } &&
12193 { ac_try='test -z "$ac_cxx_werror_flag"
12194 || test ! -s conftest.err'
12195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12196 (eval $ac_try) 2>&5
12197 ac_status=$?
12198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12199 (exit $ac_status); }; } &&
12200 { ac_try='test -s conftest.$ac_objext'
12201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12202 (eval $ac_try) 2>&5
12203 ac_status=$?
12204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12205 (exit $ac_status); }; }; then
12206 bakefile_compiler_mwerks=yes
12207 else
12208 echo "$as_me: failed program was:" >&5
12209 sed 's/^/| /' conftest.$ac_ext >&5
12210
12211 bakefile_compiler_mwerks=no
12212 fi
12213 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12214 bakefile_cv_cxx_compiler_mwerks=$bakefile_compiler_mwerks
12215
12216 fi
12217 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_mwerks" >&5
12218 echo "${ECHO_T}$bakefile_cv_cxx_compiler_mwerks" >&6
12219
12220 MWCXX=`test $bakefile_compiler_mwerks = yes && echo yes`
12221 ac_ext=cc
12222 ac_cpp='$CXXCPP $CPPFLAGS'
12223 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12224 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12225 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12226
12227
12228
12229 ac_ext=c
12230 ac_cpp='$CPP $CPPFLAGS'
12231 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12232 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12233 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12234
12235
12236 if test -n "$ac_tool_prefix"; then
12237 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
12238 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
12239 echo "$as_me:$LINENO: checking for $ac_word" >&5
12240 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12241 if test "${ac_cv_prog_RANLIB+set}" = set; then
12242 echo $ECHO_N "(cached) $ECHO_C" >&6
12243 else
12244 if test -n "$RANLIB"; then
12245 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
12246 else
12247 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12248 for as_dir in $PATH
12249 do
12250 IFS=$as_save_IFS
12251 test -z "$as_dir" && as_dir=.
12252 for ac_exec_ext in '' $ac_executable_extensions; do
12253 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12254 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
12255 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12256 break 2
12257 fi
12258 done
12259 done
12260
12261 fi
12262 fi
12263 RANLIB=$ac_cv_prog_RANLIB
12264 if test -n "$RANLIB"; then
12265 echo "$as_me:$LINENO: result: $RANLIB" >&5
12266 echo "${ECHO_T}$RANLIB" >&6
12267 else
12268 echo "$as_me:$LINENO: result: no" >&5
12269 echo "${ECHO_T}no" >&6
12270 fi
12271
12272 fi
12273 if test -z "$ac_cv_prog_RANLIB"; then
12274 ac_ct_RANLIB=$RANLIB
12275 # Extract the first word of "ranlib", so it can be a program name with args.
12276 set dummy ranlib; ac_word=$2
12277 echo "$as_me:$LINENO: checking for $ac_word" >&5
12278 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12279 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
12280 echo $ECHO_N "(cached) $ECHO_C" >&6
12281 else
12282 if test -n "$ac_ct_RANLIB"; then
12283 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
12284 else
12285 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12286 for as_dir in $PATH
12287 do
12288 IFS=$as_save_IFS
12289 test -z "$as_dir" && as_dir=.
12290 for ac_exec_ext in '' $ac_executable_extensions; do
12291 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12292 ac_cv_prog_ac_ct_RANLIB="ranlib"
12293 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12294 break 2
12295 fi
12296 done
12297 done
12298
12299 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
12300 fi
12301 fi
12302 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
12303 if test -n "$ac_ct_RANLIB"; then
12304 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
12305 echo "${ECHO_T}$ac_ct_RANLIB" >&6
12306 else
12307 echo "$as_me:$LINENO: result: no" >&5
12308 echo "${ECHO_T}no" >&6
12309 fi
12310
12311 RANLIB=$ac_ct_RANLIB
12312 else
12313 RANLIB="$ac_cv_prog_RANLIB"
12314 fi
12315
12316
12317 # Extract the first word of "ar", so it can be a program name with args.
12318 set dummy ar; ac_word=$2
12319 echo "$as_me:$LINENO: checking for $ac_word" >&5
12320 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12321 if test "${ac_cv_prog_AR+set}" = set; then
12322 echo $ECHO_N "(cached) $ECHO_C" >&6
12323 else
12324 if test -n "$AR"; then
12325 ac_cv_prog_AR="$AR" # Let the user override the test.
12326 else
12327 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12328 for as_dir in $PATH
12329 do
12330 IFS=$as_save_IFS
12331 test -z "$as_dir" && as_dir=.
12332 for ac_exec_ext in '' $ac_executable_extensions; do
12333 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12334 ac_cv_prog_AR="ar"
12335 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12336 break 2
12337 fi
12338 done
12339 done
12340
12341 fi
12342 fi
12343 AR=$ac_cv_prog_AR
12344 if test -n "$AR"; then
12345 echo "$as_me:$LINENO: result: $AR" >&5
12346 echo "${ECHO_T}$AR" >&6
12347 else
12348 echo "$as_me:$LINENO: result: no" >&5
12349 echo "${ECHO_T}no" >&6
12350 fi
12351
12352 if test "x$AR" = "x" ; then
12353 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
12354 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
12355 { (exit 1); exit 1; }; }
12356 fi
12357
12358 # Find a good install program. We prefer a C program (faster),
12359 # so one script is as good as another. But avoid the broken or
12360 # incompatible versions:
12361 # SysV /etc/install, /usr/sbin/install
12362 # SunOS /usr/etc/install
12363 # IRIX /sbin/install
12364 # AIX /bin/install
12365 # AmigaOS /C/install, which installs bootblocks on floppy discs
12366 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
12367 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
12368 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
12369 # OS/2's system install, which has a completely different semantic
12370 # ./install, which can be erroneously created by make from ./install.sh.
12371 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
12372 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
12373 if test -z "$INSTALL"; then
12374 if test "${ac_cv_path_install+set}" = set; then
12375 echo $ECHO_N "(cached) $ECHO_C" >&6
12376 else
12377 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12378 for as_dir in $PATH
12379 do
12380 IFS=$as_save_IFS
12381 test -z "$as_dir" && as_dir=.
12382 # Account for people who put trailing slashes in PATH elements.
12383 case $as_dir/ in
12384 ./ | .// | /cC/* | \
12385 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
12386 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
12387 /usr/ucb/* ) ;;
12388 *)
12389 # OSF1 and SCO ODT 3.0 have their own names for install.
12390 # Don't use installbsd from OSF since it installs stuff as root
12391 # by default.
12392 for ac_prog in ginstall scoinst install; do
12393 for ac_exec_ext in '' $ac_executable_extensions; do
12394 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
12395 if test $ac_prog = install &&
12396 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
12397 # AIX install. It has an incompatible calling convention.
12398 :
12399 elif test $ac_prog = install &&
12400 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
12401 # program-specific install script used by HP pwplus--don't use.
12402 :
12403 else
12404 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
12405 break 3
12406 fi
12407 fi
12408 done
12409 done
12410 ;;
12411 esac
12412 done
12413
12414
12415 fi
12416 if test "${ac_cv_path_install+set}" = set; then
12417 INSTALL=$ac_cv_path_install
12418 else
12419 # As a last resort, use the slow shell script. We don't cache a
12420 # path for INSTALL within a source directory, because that will
12421 # break other packages using the cache if that directory is
12422 # removed, or if the path is relative.
12423 INSTALL=$ac_install_sh
12424 fi
12425 fi
12426 echo "$as_me:$LINENO: result: $INSTALL" >&5
12427 echo "${ECHO_T}$INSTALL" >&6
12428
12429 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
12430 # It thinks the first close brace ends the variable substitution.
12431 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
12432
12433 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
12434
12435 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
12436
12437
12438 case ${INSTALL} in
12439 /* ) # Absolute
12440 ;;
12441 ?:* ) # Drive letter, considered as absolute.
12442 ;;
12443 *)
12444 INSTALL=`pwd`/${INSTALL} ;;
12445 esac
12446
12447
12448 case "${host}" in
12449
12450 powerpc-*-darwin* )
12451 INSTALL_PROGRAM="cp -fp"
12452 INSTALL_DATA="cp -fp"
12453 ;;
12454 *)
12455 ;;
12456 esac
12457
12458 # Extract the first word of "strip", so it can be a program name with args.
12459 set dummy strip; ac_word=$2
12460 echo "$as_me:$LINENO: checking for $ac_word" >&5
12461 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12462 if test "${ac_cv_prog_STRIP+set}" = set; then
12463 echo $ECHO_N "(cached) $ECHO_C" >&6
12464 else
12465 if test -n "$STRIP"; then
12466 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
12467 else
12468 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12469 for as_dir in $PATH
12470 do
12471 IFS=$as_save_IFS
12472 test -z "$as_dir" && as_dir=.
12473 for ac_exec_ext in '' $ac_executable_extensions; do
12474 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12475 ac_cv_prog_STRIP="strip"
12476 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12477 break 2
12478 fi
12479 done
12480 done
12481
12482 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP="true"
12483 fi
12484 fi
12485 STRIP=$ac_cv_prog_STRIP
12486 if test -n "$STRIP"; then
12487 echo "$as_me:$LINENO: result: $STRIP" >&5
12488 echo "${ECHO_T}$STRIP" >&6
12489 else
12490 echo "$as_me:$LINENO: result: no" >&5
12491 echo "${ECHO_T}no" >&6
12492 fi
12493
12494
12495 echo "$as_me:$LINENO: checking if make is GNU make" >&5
12496 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
12497 if test "${wx_cv_prog_makeisgnu+set}" = set; then
12498 echo $ECHO_N "(cached) $ECHO_C" >&6
12499 else
12500
12501 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
12502 egrep -s GNU > /dev/null); then
12503 wx_cv_prog_makeisgnu="yes"
12504 else
12505 wx_cv_prog_makeisgnu="no"
12506 fi
12507
12508 fi
12509 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
12510 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
12511
12512 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
12513 IF_GNU_MAKE=""
12514 else
12515 IF_GNU_MAKE="#"
12516 fi
12517
12518
12519
12520 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
12521 echo "$as_me:$LINENO: checking if make supports VPATH" >&5
12522 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
12523 if test "${wx_cv_prog_makevpath+set}" = set; then
12524 echo $ECHO_N "(cached) $ECHO_C" >&6
12525 else
12526
12527 cat - << EOF > confMake
12528 check : file
12529 cp \$? \$@
12530 cp \$? final_file
12531 EOF
12532
12533 if test ! -d sub ; then
12534 mkdir sub
12535 fi
12536 echo dummy > sub/file
12537 ${MAKE-make} -f confMake VPATH=sub 2>&5 > /dev/null
12538 RESULT=$?
12539 rm -f sub/file check final_file confMake
12540 rmdir sub
12541 if test "$RESULT" = 0; then
12542 wx_cv_prog_makevpath="yes"
12543 else
12544 wx_cv_prog_makevpath="no"
12545 fi
12546
12547 fi
12548 echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
12549 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
12550
12551 if test "x$wx_cv_prog_makevpath" != "xyes"; then
12552 { { echo "$as_me:$LINENO: error:
12553 You need a make-utility that is able to use the variable
12554 VPATH correctly.
12555 If your version of make does not support VPATH correctly,
12556 please install GNU-make (possibly as gmake), and start
12557 configure with the following command:
12558 export MAKE=gmake; ./configure for sh-type shells
12559 setenv MAKE gmake; ./configure for csh-type shells
12560 Also please do remember to use gmake in this case every time
12561 you are trying to compile.
12562 " >&5
12563 echo "$as_me: error:
12564 You need a make-utility that is able to use the variable
12565 VPATH correctly.
12566 If your version of make does not support VPATH correctly,
12567 please install GNU-make (possibly as gmake), and start
12568 configure with the following command:
12569 export MAKE=gmake; ./configure for sh-type shells
12570 setenv MAKE gmake; ./configure for csh-type shells
12571 Also please do remember to use gmake in this case every time
12572 you are trying to compile.
12573 " >&2;}
12574 { (exit 1); exit 1; }; }
12575 fi fi
12576 echo "$as_me:$LINENO: checking whether ln -s works" >&5
12577 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
12578 LN_S=$as_ln_s
12579 if test "$LN_S" = "ln -s"; then
12580 echo "$as_me:$LINENO: result: yes" >&5
12581 echo "${ECHO_T}yes" >&6
12582 else
12583 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
12584 echo "${ECHO_T}no, using $LN_S" >&6
12585 fi
12586
12587
12588
12589 case "${host}" in
12590 *-pc-os2_emx | *-pc-os2-emx )
12591 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
12592 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
12593 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
12594 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
12595 echo $ECHO_N "(cached) $ECHO_C" >&6
12596 else
12597 ac_check_lib_save_LIBS=$LIBS
12598 LIBS="-lcExt $LIBS"
12599 cat >conftest.$ac_ext <<_ACEOF
12600 /* confdefs.h. */
12601 _ACEOF
12602 cat confdefs.h >>conftest.$ac_ext
12603 cat >>conftest.$ac_ext <<_ACEOF
12604 /* end confdefs.h. */
12605
12606 /* Override any gcc2 internal prototype to avoid an error. */
12607 #ifdef __cplusplus
12608 extern "C"
12609 #endif
12610 /* We use char because int might match the return type of a gcc2
12611 builtin and then its argument prototype would still apply. */
12612 char drand48 ();
12613 int
12614 main ()
12615 {
12616 drand48 ();
12617 ;
12618 return 0;
12619 }
12620 _ACEOF
12621 rm -f conftest.$ac_objext conftest$ac_exeext
12622 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12623 (eval $ac_link) 2>conftest.er1
12624 ac_status=$?
12625 grep -v '^ *+' conftest.er1 >conftest.err
12626 rm -f conftest.er1
12627 cat conftest.err >&5
12628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12629 (exit $ac_status); } &&
12630 { ac_try='test -z "$ac_c_werror_flag"
12631 || test ! -s conftest.err'
12632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12633 (eval $ac_try) 2>&5
12634 ac_status=$?
12635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12636 (exit $ac_status); }; } &&
12637 { ac_try='test -s conftest$ac_exeext'
12638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12639 (eval $ac_try) 2>&5
12640 ac_status=$?
12641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12642 (exit $ac_status); }; }; then
12643 ac_cv_lib_cExt_drand48=yes
12644 else
12645 echo "$as_me: failed program was:" >&5
12646 sed 's/^/| /' conftest.$ac_ext >&5
12647
12648 ac_cv_lib_cExt_drand48=no
12649 fi
12650 rm -f conftest.err conftest.$ac_objext \
12651 conftest$ac_exeext conftest.$ac_ext
12652 LIBS=$ac_check_lib_save_LIBS
12653 fi
12654 echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
12655 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
12656 if test $ac_cv_lib_cExt_drand48 = yes; then
12657 LIBS="$LIBS -lcExt"
12658 fi
12659
12660 else
12661 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
12662 fi
12663 echo "$as_me:$LINENO: checking for gcc version" >&5
12664 echo $ECHO_N "checking for gcc version... $ECHO_C" >&6
12665 if test "${wx_cv_gccversion+set}" = set; then
12666 echo $ECHO_N "(cached) $ECHO_C" >&6
12667 else
12668
12669 cat >conftest.$ac_ext <<_ACEOF
12670 /* confdefs.h. */
12671 _ACEOF
12672 cat confdefs.h >>conftest.$ac_ext
12673 cat >>conftest.$ac_ext <<_ACEOF
12674 /* end confdefs.h. */
12675
12676 int
12677 main ()
12678 {
12679
12680 #if (__GNUC__ < 3)
12681 #error old gcc
12682 #endif
12683
12684 ;
12685 return 0;
12686 }
12687 _ACEOF
12688 rm -f conftest.$ac_objext
12689 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12690 (eval $ac_compile) 2>conftest.er1
12691 ac_status=$?
12692 grep -v '^ *+' conftest.er1 >conftest.err
12693 rm -f conftest.er1
12694 cat conftest.err >&5
12695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12696 (exit $ac_status); } &&
12697 { ac_try='test -z "$ac_c_werror_flag"
12698 || test ! -s conftest.err'
12699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12700 (eval $ac_try) 2>&5
12701 ac_status=$?
12702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12703 (exit $ac_status); }; } &&
12704 { ac_try='test -s conftest.$ac_objext'
12705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12706 (eval $ac_try) 2>&5
12707 ac_status=$?
12708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12709 (exit $ac_status); }; }; then
12710
12711 cat >conftest.$ac_ext <<_ACEOF
12712 /* confdefs.h. */
12713 _ACEOF
12714 cat confdefs.h >>conftest.$ac_ext
12715 cat >>conftest.$ac_ext <<_ACEOF
12716 /* end confdefs.h. */
12717
12718 int
12719 main ()
12720 {
12721
12722 #if (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
12723 #error intermediate gcc
12724 #endif
12725
12726 ;
12727 return 0;
12728 }
12729 _ACEOF
12730 rm -f conftest.$ac_objext
12731 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12732 (eval $ac_compile) 2>conftest.er1
12733 ac_status=$?
12734 grep -v '^ *+' conftest.er1 >conftest.err
12735 rm -f conftest.er1
12736 cat conftest.err >&5
12737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12738 (exit $ac_status); } &&
12739 { ac_try='test -z "$ac_c_werror_flag"
12740 || test ! -s conftest.err'
12741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12742 (eval $ac_try) 2>&5
12743 ac_status=$?
12744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12745 (exit $ac_status); }; } &&
12746 { ac_try='test -s conftest.$ac_objext'
12747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12748 (eval $ac_try) 2>&5
12749 ac_status=$?
12750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12751 (exit $ac_status); }; }; then
12752
12753 wx_cv_gccversion=Innotek
12754
12755 else
12756 echo "$as_me: failed program was:" >&5
12757 sed 's/^/| /' conftest.$ac_ext >&5
12758
12759
12760 wx_cv_gccversion=3
12761
12762
12763 fi
12764 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12765
12766 else
12767 echo "$as_me: failed program was:" >&5
12768 sed 's/^/| /' conftest.$ac_ext >&5
12769
12770
12771 wx_cv_gccversion=2
12772
12773
12774 fi
12775 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12776
12777 fi
12778 echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
12779 echo "${ECHO_T}$wx_cv_gccversion" >&6
12780 if test "$wx_cv_gccversion" = "2"; then
12781 LIBS="$LIBS -lstdcpp"
12782 LDFLAGS="$LDFLAGS -Zsysv-signals"
12783 else
12784 if test "$wx_cv_gccversion" = "3"; then
12785 LIBS="$LIBS -lstdcxx"
12786 LDFLAGS="$LDFLAGS -Zsysv-signals"
12787 else
12788 LIBS="$LIBS -lstdc++"
12789 fi
12790 fi
12791 if test "$wxUSE_OMF" = "yes"; then
12792 LDFLAGS="$LDFLAGS -Zomf -Zlinker /PMTYPE:PM -Zlinker /EXEPACK"
12793 fi
12794 ;;
12795 *)
12796
12797
12798
12799 ac_ext=cc
12800 ac_cpp='$CXXCPP $CPPFLAGS'
12801 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12802 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12803 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12804
12805
12806 echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
12807 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6
12808 if test "${ac_cv_string_strcasecmp+set}" = set; then
12809 echo $ECHO_N "(cached) $ECHO_C" >&6
12810 else
12811
12812 cat >conftest.$ac_ext <<_ACEOF
12813 /* confdefs.h. */
12814 _ACEOF
12815 cat confdefs.h >>conftest.$ac_ext
12816 cat >>conftest.$ac_ext <<_ACEOF
12817 /* end confdefs.h. */
12818
12819 #include <string.h>
12820
12821 int
12822 main ()
12823 {
12824
12825 strcasecmp("foo", "bar");
12826
12827 ;
12828 return 0;
12829 }
12830 _ACEOF
12831 rm -f conftest.$ac_objext conftest$ac_exeext
12832 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12833 (eval $ac_link) 2>conftest.er1
12834 ac_status=$?
12835 grep -v '^ *+' conftest.er1 >conftest.err
12836 rm -f conftest.er1
12837 cat conftest.err >&5
12838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12839 (exit $ac_status); } &&
12840 { ac_try='test -z "$ac_cxx_werror_flag"
12841 || test ! -s conftest.err'
12842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12843 (eval $ac_try) 2>&5
12844 ac_status=$?
12845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12846 (exit $ac_status); }; } &&
12847 { ac_try='test -s conftest$ac_exeext'
12848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12849 (eval $ac_try) 2>&5
12850 ac_status=$?
12851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12852 (exit $ac_status); }; }; then
12853 ac_cv_string_strcasecmp=yes
12854 else
12855 echo "$as_me: failed program was:" >&5
12856 sed 's/^/| /' conftest.$ac_ext >&5
12857
12858 ac_cv_string_strcasecmp=no
12859
12860 fi
12861 rm -f conftest.err conftest.$ac_objext \
12862 conftest$ac_exeext conftest.$ac_ext
12863
12864 fi
12865 echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
12866 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6
12867
12868 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
12869 cat >>confdefs.h <<\_ACEOF
12870 #define HAVE_STRCASECMP_IN_STRING_H 1
12871 _ACEOF
12872
12873 else
12874 echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
12875 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6
12876 if test "${ac_cv_strings_strcasecmp+set}" = set; then
12877 echo $ECHO_N "(cached) $ECHO_C" >&6
12878 else
12879
12880 cat >conftest.$ac_ext <<_ACEOF
12881 /* confdefs.h. */
12882 _ACEOF
12883 cat confdefs.h >>conftest.$ac_ext
12884 cat >>conftest.$ac_ext <<_ACEOF
12885 /* end confdefs.h. */
12886
12887 #include <strings.h>
12888
12889 int
12890 main ()
12891 {
12892
12893 strcasecmp("foo", "bar");
12894
12895 ;
12896 return 0;
12897 }
12898 _ACEOF
12899 rm -f conftest.$ac_objext conftest$ac_exeext
12900 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12901 (eval $ac_link) 2>conftest.er1
12902 ac_status=$?
12903 grep -v '^ *+' conftest.er1 >conftest.err
12904 rm -f conftest.er1
12905 cat conftest.err >&5
12906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12907 (exit $ac_status); } &&
12908 { ac_try='test -z "$ac_cxx_werror_flag"
12909 || test ! -s conftest.err'
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); }; } &&
12915 { ac_try='test -s conftest$ac_exeext'
12916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12917 (eval $ac_try) 2>&5
12918 ac_status=$?
12919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12920 (exit $ac_status); }; }; then
12921 ac_cv_strings_strcasecmp=yes
12922 else
12923 echo "$as_me: failed program was:" >&5
12924 sed 's/^/| /' conftest.$ac_ext >&5
12925
12926 ac_cv_strings_strcasecmp=no
12927
12928 fi
12929 rm -f conftest.err conftest.$ac_objext \
12930 conftest$ac_exeext conftest.$ac_ext
12931
12932 fi
12933 echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
12934 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6
12935
12936 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
12937 cat >>confdefs.h <<\_ACEOF
12938 #define HAVE_STRCASECMP_IN_STRINGS_H 1
12939 _ACEOF
12940
12941 else
12942 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
12943 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
12944 { (exit 1); exit 1; }; }
12945 fi
12946 fi
12947
12948 ac_ext=c
12949 ac_cpp='$CPP $CPPFLAGS'
12950 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12951 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12952 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12953
12954 ;;
12955 esac
12956
12957
12958 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
12959 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
12960 if test "${ac_cv_header_stdc+set}" = set; then
12961 echo $ECHO_N "(cached) $ECHO_C" >&6
12962 else
12963 cat >conftest.$ac_ext <<_ACEOF
12964 /* confdefs.h. */
12965 _ACEOF
12966 cat confdefs.h >>conftest.$ac_ext
12967 cat >>conftest.$ac_ext <<_ACEOF
12968 /* end confdefs.h. */
12969 #include <stdlib.h>
12970 #include <stdarg.h>
12971 #include <string.h>
12972 #include <float.h>
12973
12974 int
12975 main ()
12976 {
12977
12978 ;
12979 return 0;
12980 }
12981 _ACEOF
12982 rm -f conftest.$ac_objext
12983 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12984 (eval $ac_compile) 2>conftest.er1
12985 ac_status=$?
12986 grep -v '^ *+' conftest.er1 >conftest.err
12987 rm -f conftest.er1
12988 cat conftest.err >&5
12989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12990 (exit $ac_status); } &&
12991 { ac_try='test -z "$ac_c_werror_flag"
12992 || test ! -s conftest.err'
12993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12994 (eval $ac_try) 2>&5
12995 ac_status=$?
12996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12997 (exit $ac_status); }; } &&
12998 { ac_try='test -s conftest.$ac_objext'
12999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13000 (eval $ac_try) 2>&5
13001 ac_status=$?
13002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13003 (exit $ac_status); }; }; then
13004 ac_cv_header_stdc=yes
13005 else
13006 echo "$as_me: failed program was:" >&5
13007 sed 's/^/| /' conftest.$ac_ext >&5
13008
13009 ac_cv_header_stdc=no
13010 fi
13011 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13012
13013 if test $ac_cv_header_stdc = yes; then
13014 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
13015 cat >conftest.$ac_ext <<_ACEOF
13016 /* confdefs.h. */
13017 _ACEOF
13018 cat confdefs.h >>conftest.$ac_ext
13019 cat >>conftest.$ac_ext <<_ACEOF
13020 /* end confdefs.h. */
13021 #include <string.h>
13022
13023 _ACEOF
13024 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13025 $EGREP "memchr" >/dev/null 2>&1; then
13026 :
13027 else
13028 ac_cv_header_stdc=no
13029 fi
13030 rm -f conftest*
13031
13032 fi
13033
13034 if test $ac_cv_header_stdc = yes; then
13035 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
13036 cat >conftest.$ac_ext <<_ACEOF
13037 /* confdefs.h. */
13038 _ACEOF
13039 cat confdefs.h >>conftest.$ac_ext
13040 cat >>conftest.$ac_ext <<_ACEOF
13041 /* end confdefs.h. */
13042 #include <stdlib.h>
13043
13044 _ACEOF
13045 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13046 $EGREP "free" >/dev/null 2>&1; then
13047 :
13048 else
13049 ac_cv_header_stdc=no
13050 fi
13051 rm -f conftest*
13052
13053 fi
13054
13055 if test $ac_cv_header_stdc = yes; then
13056 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
13057 if test "$cross_compiling" = yes; then
13058 :
13059 else
13060 cat >conftest.$ac_ext <<_ACEOF
13061 /* confdefs.h. */
13062 _ACEOF
13063 cat confdefs.h >>conftest.$ac_ext
13064 cat >>conftest.$ac_ext <<_ACEOF
13065 /* end confdefs.h. */
13066 #include <ctype.h>
13067 #if ((' ' & 0x0FF) == 0x020)
13068 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
13069 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
13070 #else
13071 # define ISLOWER(c) \
13072 (('a' <= (c) && (c) <= 'i') \
13073 || ('j' <= (c) && (c) <= 'r') \
13074 || ('s' <= (c) && (c) <= 'z'))
13075 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
13076 #endif
13077
13078 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
13079 int
13080 main ()
13081 {
13082 int i;
13083 for (i = 0; i < 256; i++)
13084 if (XOR (islower (i), ISLOWER (i))
13085 || toupper (i) != TOUPPER (i))
13086 exit(2);
13087 exit (0);
13088 }
13089 _ACEOF
13090 rm -f conftest$ac_exeext
13091 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13092 (eval $ac_link) 2>&5
13093 ac_status=$?
13094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13095 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
13096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13097 (eval $ac_try) 2>&5
13098 ac_status=$?
13099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13100 (exit $ac_status); }; }; then
13101 :
13102 else
13103 echo "$as_me: program exited with status $ac_status" >&5
13104 echo "$as_me: failed program was:" >&5
13105 sed 's/^/| /' conftest.$ac_ext >&5
13106
13107 ( exit $ac_status )
13108 ac_cv_header_stdc=no
13109 fi
13110 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
13111 fi
13112 fi
13113 fi
13114 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
13115 echo "${ECHO_T}$ac_cv_header_stdc" >&6
13116 if test $ac_cv_header_stdc = yes; then
13117
13118 cat >>confdefs.h <<\_ACEOF
13119 #define STDC_HEADERS 1
13120 _ACEOF
13121
13122 fi
13123
13124 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
13125
13126
13127
13128
13129
13130
13131
13132
13133
13134 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
13135 inttypes.h stdint.h unistd.h
13136 do
13137 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13138 echo "$as_me:$LINENO: checking for $ac_header" >&5
13139 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13140 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13141 echo $ECHO_N "(cached) $ECHO_C" >&6
13142 else
13143 cat >conftest.$ac_ext <<_ACEOF
13144 /* confdefs.h. */
13145 _ACEOF
13146 cat confdefs.h >>conftest.$ac_ext
13147 cat >>conftest.$ac_ext <<_ACEOF
13148 /* end confdefs.h. */
13149 $ac_includes_default
13150
13151 #include <$ac_header>
13152 _ACEOF
13153 rm -f conftest.$ac_objext
13154 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13155 (eval $ac_compile) 2>conftest.er1
13156 ac_status=$?
13157 grep -v '^ *+' conftest.er1 >conftest.err
13158 rm -f conftest.er1
13159 cat conftest.err >&5
13160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13161 (exit $ac_status); } &&
13162 { ac_try='test -z "$ac_c_werror_flag"
13163 || test ! -s conftest.err'
13164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13165 (eval $ac_try) 2>&5
13166 ac_status=$?
13167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13168 (exit $ac_status); }; } &&
13169 { ac_try='test -s conftest.$ac_objext'
13170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13171 (eval $ac_try) 2>&5
13172 ac_status=$?
13173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13174 (exit $ac_status); }; }; then
13175 eval "$as_ac_Header=yes"
13176 else
13177 echo "$as_me: failed program was:" >&5
13178 sed 's/^/| /' conftest.$ac_ext >&5
13179
13180 eval "$as_ac_Header=no"
13181 fi
13182 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13183 fi
13184 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13185 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13186 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13187 cat >>confdefs.h <<_ACEOF
13188 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13189 _ACEOF
13190
13191 fi
13192
13193 done
13194
13195
13196
13197 for ac_header in stdlib.h
13198 do
13199 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13200 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13201 echo "$as_me:$LINENO: checking for $ac_header" >&5
13202 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13203 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13204 echo $ECHO_N "(cached) $ECHO_C" >&6
13205 fi
13206 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13207 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13208 else
13209 # Is the header compilable?
13210 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13211 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13212 cat >conftest.$ac_ext <<_ACEOF
13213 /* confdefs.h. */
13214 _ACEOF
13215 cat confdefs.h >>conftest.$ac_ext
13216 cat >>conftest.$ac_ext <<_ACEOF
13217 /* end confdefs.h. */
13218 $ac_includes_default
13219 #include <$ac_header>
13220 _ACEOF
13221 rm -f conftest.$ac_objext
13222 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13223 (eval $ac_compile) 2>conftest.er1
13224 ac_status=$?
13225 grep -v '^ *+' conftest.er1 >conftest.err
13226 rm -f conftest.er1
13227 cat conftest.err >&5
13228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13229 (exit $ac_status); } &&
13230 { ac_try='test -z "$ac_c_werror_flag"
13231 || test ! -s conftest.err'
13232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13233 (eval $ac_try) 2>&5
13234 ac_status=$?
13235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13236 (exit $ac_status); }; } &&
13237 { ac_try='test -s conftest.$ac_objext'
13238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13239 (eval $ac_try) 2>&5
13240 ac_status=$?
13241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13242 (exit $ac_status); }; }; then
13243 ac_header_compiler=yes
13244 else
13245 echo "$as_me: failed program was:" >&5
13246 sed 's/^/| /' conftest.$ac_ext >&5
13247
13248 ac_header_compiler=no
13249 fi
13250 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13251 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13252 echo "${ECHO_T}$ac_header_compiler" >&6
13253
13254 # Is the header present?
13255 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13256 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13257 cat >conftest.$ac_ext <<_ACEOF
13258 /* confdefs.h. */
13259 _ACEOF
13260 cat confdefs.h >>conftest.$ac_ext
13261 cat >>conftest.$ac_ext <<_ACEOF
13262 /* end confdefs.h. */
13263 #include <$ac_header>
13264 _ACEOF
13265 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13266 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13267 ac_status=$?
13268 grep -v '^ *+' conftest.er1 >conftest.err
13269 rm -f conftest.er1
13270 cat conftest.err >&5
13271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13272 (exit $ac_status); } >/dev/null; then
13273 if test -s conftest.err; then
13274 ac_cpp_err=$ac_c_preproc_warn_flag
13275 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13276 else
13277 ac_cpp_err=
13278 fi
13279 else
13280 ac_cpp_err=yes
13281 fi
13282 if test -z "$ac_cpp_err"; then
13283 ac_header_preproc=yes
13284 else
13285 echo "$as_me: failed program was:" >&5
13286 sed 's/^/| /' conftest.$ac_ext >&5
13287
13288 ac_header_preproc=no
13289 fi
13290 rm -f conftest.err conftest.$ac_ext
13291 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13292 echo "${ECHO_T}$ac_header_preproc" >&6
13293
13294 # So? What about this header?
13295 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13296 yes:no: )
13297 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13298 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13299 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13300 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13301 ac_header_preproc=yes
13302 ;;
13303 no:yes:* )
13304 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13305 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13306 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13307 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13308 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13309 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13310 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13311 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13312 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13313 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13314 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13315 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13316 (
13317 cat <<\_ASBOX
13318 ## ----------------------------------------- ##
13319 ## Report this to wx-dev@lists.wxwidgets.org ##
13320 ## ----------------------------------------- ##
13321 _ASBOX
13322 ) |
13323 sed "s/^/$as_me: WARNING: /" >&2
13324 ;;
13325 esac
13326 echo "$as_me:$LINENO: checking for $ac_header" >&5
13327 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13328 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13329 echo $ECHO_N "(cached) $ECHO_C" >&6
13330 else
13331 eval "$as_ac_Header=\$ac_header_preproc"
13332 fi
13333 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13334 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13335
13336 fi
13337 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13338 cat >>confdefs.h <<_ACEOF
13339 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13340 _ACEOF
13341
13342 fi
13343
13344 done
13345
13346
13347 for ac_header in malloc.h
13348 do
13349 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13350 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13351 echo "$as_me:$LINENO: checking for $ac_header" >&5
13352 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13353 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13354 echo $ECHO_N "(cached) $ECHO_C" >&6
13355 fi
13356 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13357 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13358 else
13359 # Is the header compilable?
13360 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13361 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13362 cat >conftest.$ac_ext <<_ACEOF
13363 /* confdefs.h. */
13364 _ACEOF
13365 cat confdefs.h >>conftest.$ac_ext
13366 cat >>conftest.$ac_ext <<_ACEOF
13367 /* end confdefs.h. */
13368 $ac_includes_default
13369 #include <$ac_header>
13370 _ACEOF
13371 rm -f conftest.$ac_objext
13372 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13373 (eval $ac_compile) 2>conftest.er1
13374 ac_status=$?
13375 grep -v '^ *+' conftest.er1 >conftest.err
13376 rm -f conftest.er1
13377 cat conftest.err >&5
13378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13379 (exit $ac_status); } &&
13380 { ac_try='test -z "$ac_c_werror_flag"
13381 || test ! -s conftest.err'
13382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13383 (eval $ac_try) 2>&5
13384 ac_status=$?
13385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13386 (exit $ac_status); }; } &&
13387 { ac_try='test -s conftest.$ac_objext'
13388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13389 (eval $ac_try) 2>&5
13390 ac_status=$?
13391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13392 (exit $ac_status); }; }; then
13393 ac_header_compiler=yes
13394 else
13395 echo "$as_me: failed program was:" >&5
13396 sed 's/^/| /' conftest.$ac_ext >&5
13397
13398 ac_header_compiler=no
13399 fi
13400 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13401 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13402 echo "${ECHO_T}$ac_header_compiler" >&6
13403
13404 # Is the header present?
13405 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13406 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13407 cat >conftest.$ac_ext <<_ACEOF
13408 /* confdefs.h. */
13409 _ACEOF
13410 cat confdefs.h >>conftest.$ac_ext
13411 cat >>conftest.$ac_ext <<_ACEOF
13412 /* end confdefs.h. */
13413 #include <$ac_header>
13414 _ACEOF
13415 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13416 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13417 ac_status=$?
13418 grep -v '^ *+' conftest.er1 >conftest.err
13419 rm -f conftest.er1
13420 cat conftest.err >&5
13421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13422 (exit $ac_status); } >/dev/null; then
13423 if test -s conftest.err; then
13424 ac_cpp_err=$ac_c_preproc_warn_flag
13425 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13426 else
13427 ac_cpp_err=
13428 fi
13429 else
13430 ac_cpp_err=yes
13431 fi
13432 if test -z "$ac_cpp_err"; then
13433 ac_header_preproc=yes
13434 else
13435 echo "$as_me: failed program was:" >&5
13436 sed 's/^/| /' conftest.$ac_ext >&5
13437
13438 ac_header_preproc=no
13439 fi
13440 rm -f conftest.err conftest.$ac_ext
13441 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13442 echo "${ECHO_T}$ac_header_preproc" >&6
13443
13444 # So? What about this header?
13445 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13446 yes:no: )
13447 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13448 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13449 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13450 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13451 ac_header_preproc=yes
13452 ;;
13453 no:yes:* )
13454 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13455 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13456 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13457 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13458 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13459 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13460 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13461 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13462 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13463 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13464 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13465 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13466 (
13467 cat <<\_ASBOX
13468 ## ----------------------------------------- ##
13469 ## Report this to wx-dev@lists.wxwidgets.org ##
13470 ## ----------------------------------------- ##
13471 _ASBOX
13472 ) |
13473 sed "s/^/$as_me: WARNING: /" >&2
13474 ;;
13475 esac
13476 echo "$as_me:$LINENO: checking for $ac_header" >&5
13477 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13478 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13479 echo $ECHO_N "(cached) $ECHO_C" >&6
13480 else
13481 eval "$as_ac_Header=\$ac_header_preproc"
13482 fi
13483 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13484 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13485
13486 fi
13487 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13488 cat >>confdefs.h <<_ACEOF
13489 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13490 _ACEOF
13491
13492 fi
13493
13494 done
13495
13496
13497 for ac_header in unistd.h
13498 do
13499 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13500 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13501 echo "$as_me:$LINENO: checking for $ac_header" >&5
13502 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13503 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13504 echo $ECHO_N "(cached) $ECHO_C" >&6
13505 fi
13506 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13507 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13508 else
13509 # Is the header compilable?
13510 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13511 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13512 cat >conftest.$ac_ext <<_ACEOF
13513 /* confdefs.h. */
13514 _ACEOF
13515 cat confdefs.h >>conftest.$ac_ext
13516 cat >>conftest.$ac_ext <<_ACEOF
13517 /* end confdefs.h. */
13518 $ac_includes_default
13519 #include <$ac_header>
13520 _ACEOF
13521 rm -f conftest.$ac_objext
13522 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13523 (eval $ac_compile) 2>conftest.er1
13524 ac_status=$?
13525 grep -v '^ *+' conftest.er1 >conftest.err
13526 rm -f conftest.er1
13527 cat conftest.err >&5
13528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13529 (exit $ac_status); } &&
13530 { ac_try='test -z "$ac_c_werror_flag"
13531 || test ! -s conftest.err'
13532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13533 (eval $ac_try) 2>&5
13534 ac_status=$?
13535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13536 (exit $ac_status); }; } &&
13537 { ac_try='test -s conftest.$ac_objext'
13538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13539 (eval $ac_try) 2>&5
13540 ac_status=$?
13541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13542 (exit $ac_status); }; }; then
13543 ac_header_compiler=yes
13544 else
13545 echo "$as_me: failed program was:" >&5
13546 sed 's/^/| /' conftest.$ac_ext >&5
13547
13548 ac_header_compiler=no
13549 fi
13550 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13551 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13552 echo "${ECHO_T}$ac_header_compiler" >&6
13553
13554 # Is the header present?
13555 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13556 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13557 cat >conftest.$ac_ext <<_ACEOF
13558 /* confdefs.h. */
13559 _ACEOF
13560 cat confdefs.h >>conftest.$ac_ext
13561 cat >>conftest.$ac_ext <<_ACEOF
13562 /* end confdefs.h. */
13563 #include <$ac_header>
13564 _ACEOF
13565 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13566 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13567 ac_status=$?
13568 grep -v '^ *+' conftest.er1 >conftest.err
13569 rm -f conftest.er1
13570 cat conftest.err >&5
13571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13572 (exit $ac_status); } >/dev/null; then
13573 if test -s conftest.err; then
13574 ac_cpp_err=$ac_c_preproc_warn_flag
13575 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13576 else
13577 ac_cpp_err=
13578 fi
13579 else
13580 ac_cpp_err=yes
13581 fi
13582 if test -z "$ac_cpp_err"; then
13583 ac_header_preproc=yes
13584 else
13585 echo "$as_me: failed program was:" >&5
13586 sed 's/^/| /' conftest.$ac_ext >&5
13587
13588 ac_header_preproc=no
13589 fi
13590 rm -f conftest.err conftest.$ac_ext
13591 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13592 echo "${ECHO_T}$ac_header_preproc" >&6
13593
13594 # So? What about this header?
13595 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13596 yes:no: )
13597 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13598 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13599 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13600 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13601 ac_header_preproc=yes
13602 ;;
13603 no:yes:* )
13604 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13605 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13606 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13607 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13608 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13609 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13610 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13611 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13612 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13613 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13614 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13615 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13616 (
13617 cat <<\_ASBOX
13618 ## ----------------------------------------- ##
13619 ## Report this to wx-dev@lists.wxwidgets.org ##
13620 ## ----------------------------------------- ##
13621 _ASBOX
13622 ) |
13623 sed "s/^/$as_me: WARNING: /" >&2
13624 ;;
13625 esac
13626 echo "$as_me:$LINENO: checking for $ac_header" >&5
13627 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13628 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13629 echo $ECHO_N "(cached) $ECHO_C" >&6
13630 else
13631 eval "$as_ac_Header=\$ac_header_preproc"
13632 fi
13633 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13634 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13635
13636 fi
13637 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13638 cat >>confdefs.h <<_ACEOF
13639 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13640 _ACEOF
13641
13642 fi
13643
13644 done
13645
13646
13647 for ac_header in wchar.h
13648 do
13649 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13650 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13651 echo "$as_me:$LINENO: checking for $ac_header" >&5
13652 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13653 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13654 echo $ECHO_N "(cached) $ECHO_C" >&6
13655 fi
13656 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13657 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13658 else
13659 # Is the header compilable?
13660 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13661 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13662 cat >conftest.$ac_ext <<_ACEOF
13663 /* confdefs.h. */
13664 _ACEOF
13665 cat confdefs.h >>conftest.$ac_ext
13666 cat >>conftest.$ac_ext <<_ACEOF
13667 /* end confdefs.h. */
13668 $ac_includes_default
13669 #include <$ac_header>
13670 _ACEOF
13671 rm -f conftest.$ac_objext
13672 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13673 (eval $ac_compile) 2>conftest.er1
13674 ac_status=$?
13675 grep -v '^ *+' conftest.er1 >conftest.err
13676 rm -f conftest.er1
13677 cat conftest.err >&5
13678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13679 (exit $ac_status); } &&
13680 { ac_try='test -z "$ac_c_werror_flag"
13681 || test ! -s conftest.err'
13682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13683 (eval $ac_try) 2>&5
13684 ac_status=$?
13685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13686 (exit $ac_status); }; } &&
13687 { ac_try='test -s conftest.$ac_objext'
13688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13689 (eval $ac_try) 2>&5
13690 ac_status=$?
13691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13692 (exit $ac_status); }; }; then
13693 ac_header_compiler=yes
13694 else
13695 echo "$as_me: failed program was:" >&5
13696 sed 's/^/| /' conftest.$ac_ext >&5
13697
13698 ac_header_compiler=no
13699 fi
13700 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13701 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13702 echo "${ECHO_T}$ac_header_compiler" >&6
13703
13704 # Is the header present?
13705 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13706 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13707 cat >conftest.$ac_ext <<_ACEOF
13708 /* confdefs.h. */
13709 _ACEOF
13710 cat confdefs.h >>conftest.$ac_ext
13711 cat >>conftest.$ac_ext <<_ACEOF
13712 /* end confdefs.h. */
13713 #include <$ac_header>
13714 _ACEOF
13715 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13716 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13717 ac_status=$?
13718 grep -v '^ *+' conftest.er1 >conftest.err
13719 rm -f conftest.er1
13720 cat conftest.err >&5
13721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13722 (exit $ac_status); } >/dev/null; then
13723 if test -s conftest.err; then
13724 ac_cpp_err=$ac_c_preproc_warn_flag
13725 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13726 else
13727 ac_cpp_err=
13728 fi
13729 else
13730 ac_cpp_err=yes
13731 fi
13732 if test -z "$ac_cpp_err"; then
13733 ac_header_preproc=yes
13734 else
13735 echo "$as_me: failed program was:" >&5
13736 sed 's/^/| /' conftest.$ac_ext >&5
13737
13738 ac_header_preproc=no
13739 fi
13740 rm -f conftest.err conftest.$ac_ext
13741 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13742 echo "${ECHO_T}$ac_header_preproc" >&6
13743
13744 # So? What about this header?
13745 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13746 yes:no: )
13747 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13748 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13749 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13750 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13751 ac_header_preproc=yes
13752 ;;
13753 no:yes:* )
13754 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13755 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13756 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13757 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13758 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13759 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13760 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13761 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13762 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13763 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13764 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13765 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13766 (
13767 cat <<\_ASBOX
13768 ## ----------------------------------------- ##
13769 ## Report this to wx-dev@lists.wxwidgets.org ##
13770 ## ----------------------------------------- ##
13771 _ASBOX
13772 ) |
13773 sed "s/^/$as_me: WARNING: /" >&2
13774 ;;
13775 esac
13776 echo "$as_me:$LINENO: checking for $ac_header" >&5
13777 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13778 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13779 echo $ECHO_N "(cached) $ECHO_C" >&6
13780 else
13781 eval "$as_ac_Header=\$ac_header_preproc"
13782 fi
13783 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13784 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13785
13786 fi
13787 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13788 cat >>confdefs.h <<_ACEOF
13789 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13790 _ACEOF
13791
13792 fi
13793
13794 done
13795
13796
13797 if test "$ac_cv_header_wchar_h" != "yes"; then
13798
13799 for ac_header in wcstr.h
13800 do
13801 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13802 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13803 echo "$as_me:$LINENO: checking for $ac_header" >&5
13804 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13805 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13806 echo $ECHO_N "(cached) $ECHO_C" >&6
13807 fi
13808 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13809 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13810 else
13811 # Is the header compilable?
13812 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13813 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13814 cat >conftest.$ac_ext <<_ACEOF
13815 /* confdefs.h. */
13816 _ACEOF
13817 cat confdefs.h >>conftest.$ac_ext
13818 cat >>conftest.$ac_ext <<_ACEOF
13819 /* end confdefs.h. */
13820 $ac_includes_default
13821 #include <$ac_header>
13822 _ACEOF
13823 rm -f conftest.$ac_objext
13824 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13825 (eval $ac_compile) 2>conftest.er1
13826 ac_status=$?
13827 grep -v '^ *+' conftest.er1 >conftest.err
13828 rm -f conftest.er1
13829 cat conftest.err >&5
13830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13831 (exit $ac_status); } &&
13832 { ac_try='test -z "$ac_c_werror_flag"
13833 || test ! -s conftest.err'
13834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13835 (eval $ac_try) 2>&5
13836 ac_status=$?
13837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13838 (exit $ac_status); }; } &&
13839 { ac_try='test -s conftest.$ac_objext'
13840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13841 (eval $ac_try) 2>&5
13842 ac_status=$?
13843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13844 (exit $ac_status); }; }; then
13845 ac_header_compiler=yes
13846 else
13847 echo "$as_me: failed program was:" >&5
13848 sed 's/^/| /' conftest.$ac_ext >&5
13849
13850 ac_header_compiler=no
13851 fi
13852 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13853 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13854 echo "${ECHO_T}$ac_header_compiler" >&6
13855
13856 # Is the header present?
13857 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13858 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13859 cat >conftest.$ac_ext <<_ACEOF
13860 /* confdefs.h. */
13861 _ACEOF
13862 cat confdefs.h >>conftest.$ac_ext
13863 cat >>conftest.$ac_ext <<_ACEOF
13864 /* end confdefs.h. */
13865 #include <$ac_header>
13866 _ACEOF
13867 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13868 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13869 ac_status=$?
13870 grep -v '^ *+' conftest.er1 >conftest.err
13871 rm -f conftest.er1
13872 cat conftest.err >&5
13873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13874 (exit $ac_status); } >/dev/null; then
13875 if test -s conftest.err; then
13876 ac_cpp_err=$ac_c_preproc_warn_flag
13877 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13878 else
13879 ac_cpp_err=
13880 fi
13881 else
13882 ac_cpp_err=yes
13883 fi
13884 if test -z "$ac_cpp_err"; then
13885 ac_header_preproc=yes
13886 else
13887 echo "$as_me: failed program was:" >&5
13888 sed 's/^/| /' conftest.$ac_ext >&5
13889
13890 ac_header_preproc=no
13891 fi
13892 rm -f conftest.err conftest.$ac_ext
13893 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13894 echo "${ECHO_T}$ac_header_preproc" >&6
13895
13896 # So? What about this header?
13897 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13898 yes:no: )
13899 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13900 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13901 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13902 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13903 ac_header_preproc=yes
13904 ;;
13905 no:yes:* )
13906 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13907 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13908 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13909 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13910 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13911 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13912 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13913 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13914 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13915 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13916 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13917 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13918 (
13919 cat <<\_ASBOX
13920 ## ----------------------------------------- ##
13921 ## Report this to wx-dev@lists.wxwidgets.org ##
13922 ## ----------------------------------------- ##
13923 _ASBOX
13924 ) |
13925 sed "s/^/$as_me: WARNING: /" >&2
13926 ;;
13927 esac
13928 echo "$as_me:$LINENO: checking for $ac_header" >&5
13929 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13930 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13931 echo $ECHO_N "(cached) $ECHO_C" >&6
13932 else
13933 eval "$as_ac_Header=\$ac_header_preproc"
13934 fi
13935 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13936 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13937
13938 fi
13939 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13940 cat >>confdefs.h <<_ACEOF
13941 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13942 _ACEOF
13943
13944 fi
13945
13946 done
13947
13948 fi
13949
13950
13951 for ac_header in fnmatch.h
13952 do
13953 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13954 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13955 echo "$as_me:$LINENO: checking for $ac_header" >&5
13956 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13957 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13958 echo $ECHO_N "(cached) $ECHO_C" >&6
13959 fi
13960 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13961 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13962 else
13963 # Is the header compilable?
13964 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13965 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13966 cat >conftest.$ac_ext <<_ACEOF
13967 /* confdefs.h. */
13968 _ACEOF
13969 cat confdefs.h >>conftest.$ac_ext
13970 cat >>conftest.$ac_ext <<_ACEOF
13971 /* end confdefs.h. */
13972 $ac_includes_default
13973 #include <$ac_header>
13974 _ACEOF
13975 rm -f conftest.$ac_objext
13976 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13977 (eval $ac_compile) 2>conftest.er1
13978 ac_status=$?
13979 grep -v '^ *+' conftest.er1 >conftest.err
13980 rm -f conftest.er1
13981 cat conftest.err >&5
13982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13983 (exit $ac_status); } &&
13984 { ac_try='test -z "$ac_c_werror_flag"
13985 || test ! -s conftest.err'
13986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13987 (eval $ac_try) 2>&5
13988 ac_status=$?
13989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13990 (exit $ac_status); }; } &&
13991 { ac_try='test -s conftest.$ac_objext'
13992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13993 (eval $ac_try) 2>&5
13994 ac_status=$?
13995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13996 (exit $ac_status); }; }; then
13997 ac_header_compiler=yes
13998 else
13999 echo "$as_me: failed program was:" >&5
14000 sed 's/^/| /' conftest.$ac_ext >&5
14001
14002 ac_header_compiler=no
14003 fi
14004 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14005 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14006 echo "${ECHO_T}$ac_header_compiler" >&6
14007
14008 # Is the header present?
14009 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14010 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14011 cat >conftest.$ac_ext <<_ACEOF
14012 /* confdefs.h. */
14013 _ACEOF
14014 cat confdefs.h >>conftest.$ac_ext
14015 cat >>conftest.$ac_ext <<_ACEOF
14016 /* end confdefs.h. */
14017 #include <$ac_header>
14018 _ACEOF
14019 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14020 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14021 ac_status=$?
14022 grep -v '^ *+' conftest.er1 >conftest.err
14023 rm -f conftest.er1
14024 cat conftest.err >&5
14025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14026 (exit $ac_status); } >/dev/null; then
14027 if test -s conftest.err; then
14028 ac_cpp_err=$ac_c_preproc_warn_flag
14029 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14030 else
14031 ac_cpp_err=
14032 fi
14033 else
14034 ac_cpp_err=yes
14035 fi
14036 if test -z "$ac_cpp_err"; then
14037 ac_header_preproc=yes
14038 else
14039 echo "$as_me: failed program was:" >&5
14040 sed 's/^/| /' conftest.$ac_ext >&5
14041
14042 ac_header_preproc=no
14043 fi
14044 rm -f conftest.err conftest.$ac_ext
14045 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14046 echo "${ECHO_T}$ac_header_preproc" >&6
14047
14048 # So? What about this header?
14049 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14050 yes:no: )
14051 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14052 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14053 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14054 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14055 ac_header_preproc=yes
14056 ;;
14057 no:yes:* )
14058 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14059 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14060 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14061 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14062 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14063 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14064 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14065 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14066 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14067 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14068 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14069 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14070 (
14071 cat <<\_ASBOX
14072 ## ----------------------------------------- ##
14073 ## Report this to wx-dev@lists.wxwidgets.org ##
14074 ## ----------------------------------------- ##
14075 _ASBOX
14076 ) |
14077 sed "s/^/$as_me: WARNING: /" >&2
14078 ;;
14079 esac
14080 echo "$as_me:$LINENO: checking for $ac_header" >&5
14081 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14082 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14083 echo $ECHO_N "(cached) $ECHO_C" >&6
14084 else
14085 eval "$as_ac_Header=\$ac_header_preproc"
14086 fi
14087 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14088 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14089
14090 fi
14091 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14092 cat >>confdefs.h <<_ACEOF
14093 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14094 _ACEOF
14095
14096 fi
14097
14098 done
14099
14100
14101 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
14102
14103 for ac_func in fnmatch
14104 do
14105 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14106 echo "$as_me:$LINENO: checking for $ac_func" >&5
14107 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14108 if eval "test \"\${$as_ac_var+set}\" = set"; then
14109 echo $ECHO_N "(cached) $ECHO_C" >&6
14110 else
14111 cat >conftest.$ac_ext <<_ACEOF
14112 /* confdefs.h. */
14113 _ACEOF
14114 cat confdefs.h >>conftest.$ac_ext
14115 cat >>conftest.$ac_ext <<_ACEOF
14116 /* end confdefs.h. */
14117 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14118 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14119 #define $ac_func innocuous_$ac_func
14120
14121 /* System header to define __stub macros and hopefully few prototypes,
14122 which can conflict with char $ac_func (); below.
14123 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14124 <limits.h> exists even on freestanding compilers. */
14125
14126 #ifdef __STDC__
14127 # include <limits.h>
14128 #else
14129 # include <assert.h>
14130 #endif
14131
14132 #undef $ac_func
14133
14134 /* Override any gcc2 internal prototype to avoid an error. */
14135 #ifdef __cplusplus
14136 extern "C"
14137 {
14138 #endif
14139 /* We use char because int might match the return type of a gcc2
14140 builtin and then its argument prototype would still apply. */
14141 char $ac_func ();
14142 /* The GNU C library defines this for functions which it implements
14143 to always fail with ENOSYS. Some functions are actually named
14144 something starting with __ and the normal name is an alias. */
14145 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14146 choke me
14147 #else
14148 char (*f) () = $ac_func;
14149 #endif
14150 #ifdef __cplusplus
14151 }
14152 #endif
14153
14154 int
14155 main ()
14156 {
14157 return f != $ac_func;
14158 ;
14159 return 0;
14160 }
14161 _ACEOF
14162 rm -f conftest.$ac_objext conftest$ac_exeext
14163 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14164 (eval $ac_link) 2>conftest.er1
14165 ac_status=$?
14166 grep -v '^ *+' conftest.er1 >conftest.err
14167 rm -f conftest.er1
14168 cat conftest.err >&5
14169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14170 (exit $ac_status); } &&
14171 { ac_try='test -z "$ac_c_werror_flag"
14172 || test ! -s conftest.err'
14173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14174 (eval $ac_try) 2>&5
14175 ac_status=$?
14176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14177 (exit $ac_status); }; } &&
14178 { ac_try='test -s conftest$ac_exeext'
14179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14180 (eval $ac_try) 2>&5
14181 ac_status=$?
14182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14183 (exit $ac_status); }; }; then
14184 eval "$as_ac_var=yes"
14185 else
14186 echo "$as_me: failed program was:" >&5
14187 sed 's/^/| /' conftest.$ac_ext >&5
14188
14189 eval "$as_ac_var=no"
14190 fi
14191 rm -f conftest.err conftest.$ac_objext \
14192 conftest$ac_exeext conftest.$ac_ext
14193 fi
14194 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14195 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14196 if test `eval echo '${'$as_ac_var'}'` = yes; then
14197 cat >>confdefs.h <<_ACEOF
14198 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14199 _ACEOF
14200
14201 fi
14202 done
14203
14204 fi
14205
14206
14207 for ac_header in langinfo.h
14208 do
14209 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14210 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14211 echo "$as_me:$LINENO: checking for $ac_header" >&5
14212 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14213 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14214 echo $ECHO_N "(cached) $ECHO_C" >&6
14215 fi
14216 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14217 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14218 else
14219 # Is the header compilable?
14220 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14221 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14222 cat >conftest.$ac_ext <<_ACEOF
14223 /* confdefs.h. */
14224 _ACEOF
14225 cat confdefs.h >>conftest.$ac_ext
14226 cat >>conftest.$ac_ext <<_ACEOF
14227 /* end confdefs.h. */
14228 $ac_includes_default
14229 #include <$ac_header>
14230 _ACEOF
14231 rm -f conftest.$ac_objext
14232 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14233 (eval $ac_compile) 2>conftest.er1
14234 ac_status=$?
14235 grep -v '^ *+' conftest.er1 >conftest.err
14236 rm -f conftest.er1
14237 cat conftest.err >&5
14238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14239 (exit $ac_status); } &&
14240 { ac_try='test -z "$ac_c_werror_flag"
14241 || test ! -s conftest.err'
14242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14243 (eval $ac_try) 2>&5
14244 ac_status=$?
14245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14246 (exit $ac_status); }; } &&
14247 { ac_try='test -s conftest.$ac_objext'
14248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14249 (eval $ac_try) 2>&5
14250 ac_status=$?
14251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14252 (exit $ac_status); }; }; then
14253 ac_header_compiler=yes
14254 else
14255 echo "$as_me: failed program was:" >&5
14256 sed 's/^/| /' conftest.$ac_ext >&5
14257
14258 ac_header_compiler=no
14259 fi
14260 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14261 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14262 echo "${ECHO_T}$ac_header_compiler" >&6
14263
14264 # Is the header present?
14265 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14266 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14267 cat >conftest.$ac_ext <<_ACEOF
14268 /* confdefs.h. */
14269 _ACEOF
14270 cat confdefs.h >>conftest.$ac_ext
14271 cat >>conftest.$ac_ext <<_ACEOF
14272 /* end confdefs.h. */
14273 #include <$ac_header>
14274 _ACEOF
14275 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14276 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14277 ac_status=$?
14278 grep -v '^ *+' conftest.er1 >conftest.err
14279 rm -f conftest.er1
14280 cat conftest.err >&5
14281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14282 (exit $ac_status); } >/dev/null; then
14283 if test -s conftest.err; then
14284 ac_cpp_err=$ac_c_preproc_warn_flag
14285 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14286 else
14287 ac_cpp_err=
14288 fi
14289 else
14290 ac_cpp_err=yes
14291 fi
14292 if test -z "$ac_cpp_err"; then
14293 ac_header_preproc=yes
14294 else
14295 echo "$as_me: failed program was:" >&5
14296 sed 's/^/| /' conftest.$ac_ext >&5
14297
14298 ac_header_preproc=no
14299 fi
14300 rm -f conftest.err conftest.$ac_ext
14301 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14302 echo "${ECHO_T}$ac_header_preproc" >&6
14303
14304 # So? What about this header?
14305 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14306 yes:no: )
14307 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14308 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14309 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14310 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14311 ac_header_preproc=yes
14312 ;;
14313 no:yes:* )
14314 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14315 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14316 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14317 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14318 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14319 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14320 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14321 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14322 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14323 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14324 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14325 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14326 (
14327 cat <<\_ASBOX
14328 ## ----------------------------------------- ##
14329 ## Report this to wx-dev@lists.wxwidgets.org ##
14330 ## ----------------------------------------- ##
14331 _ASBOX
14332 ) |
14333 sed "s/^/$as_me: WARNING: /" >&2
14334 ;;
14335 esac
14336 echo "$as_me:$LINENO: checking for $ac_header" >&5
14337 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14338 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14339 echo $ECHO_N "(cached) $ECHO_C" >&6
14340 else
14341 eval "$as_ac_Header=\$ac_header_preproc"
14342 fi
14343 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14344 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14345
14346 fi
14347 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14348 cat >>confdefs.h <<_ACEOF
14349 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14350 _ACEOF
14351
14352 fi
14353
14354 done
14355
14356
14357 case "${host}" in
14358 *-pc-os2_emx | *-pc-os2-emx )
14359 if test $ac_cv_header_langinfo_h = "yes"; then
14360 LIBS="$LIBS -lintl"
14361 fi
14362 ;;
14363 esac
14364
14365 if test "$wxUSE_GUI" = "yes"; then
14366 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
14367
14368 for ac_header in X11/Xlib.h
14369 do
14370 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14371 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14372 echo "$as_me:$LINENO: checking for $ac_header" >&5
14373 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14374 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14375 echo $ECHO_N "(cached) $ECHO_C" >&6
14376 fi
14377 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14378 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14379 else
14380 # Is the header compilable?
14381 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14382 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14383 cat >conftest.$ac_ext <<_ACEOF
14384 /* confdefs.h. */
14385 _ACEOF
14386 cat confdefs.h >>conftest.$ac_ext
14387 cat >>conftest.$ac_ext <<_ACEOF
14388 /* end confdefs.h. */
14389 $ac_includes_default
14390 #include <$ac_header>
14391 _ACEOF
14392 rm -f conftest.$ac_objext
14393 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14394 (eval $ac_compile) 2>conftest.er1
14395 ac_status=$?
14396 grep -v '^ *+' conftest.er1 >conftest.err
14397 rm -f conftest.er1
14398 cat conftest.err >&5
14399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14400 (exit $ac_status); } &&
14401 { ac_try='test -z "$ac_c_werror_flag"
14402 || test ! -s conftest.err'
14403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14404 (eval $ac_try) 2>&5
14405 ac_status=$?
14406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14407 (exit $ac_status); }; } &&
14408 { ac_try='test -s conftest.$ac_objext'
14409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14410 (eval $ac_try) 2>&5
14411 ac_status=$?
14412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14413 (exit $ac_status); }; }; then
14414 ac_header_compiler=yes
14415 else
14416 echo "$as_me: failed program was:" >&5
14417 sed 's/^/| /' conftest.$ac_ext >&5
14418
14419 ac_header_compiler=no
14420 fi
14421 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14422 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14423 echo "${ECHO_T}$ac_header_compiler" >&6
14424
14425 # Is the header present?
14426 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14427 echo $ECHO_N "checking $ac_header presence... $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 #include <$ac_header>
14435 _ACEOF
14436 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14437 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14438 ac_status=$?
14439 grep -v '^ *+' conftest.er1 >conftest.err
14440 rm -f conftest.er1
14441 cat conftest.err >&5
14442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14443 (exit $ac_status); } >/dev/null; then
14444 if test -s conftest.err; then
14445 ac_cpp_err=$ac_c_preproc_warn_flag
14446 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14447 else
14448 ac_cpp_err=
14449 fi
14450 else
14451 ac_cpp_err=yes
14452 fi
14453 if test -z "$ac_cpp_err"; then
14454 ac_header_preproc=yes
14455 else
14456 echo "$as_me: failed program was:" >&5
14457 sed 's/^/| /' conftest.$ac_ext >&5
14458
14459 ac_header_preproc=no
14460 fi
14461 rm -f conftest.err conftest.$ac_ext
14462 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14463 echo "${ECHO_T}$ac_header_preproc" >&6
14464
14465 # So? What about this header?
14466 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14467 yes:no: )
14468 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14469 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14470 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14471 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14472 ac_header_preproc=yes
14473 ;;
14474 no:yes:* )
14475 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14476 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14477 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14478 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14479 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14480 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14481 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14482 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14483 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14484 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14485 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14486 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14487 (
14488 cat <<\_ASBOX
14489 ## ----------------------------------------- ##
14490 ## Report this to wx-dev@lists.wxwidgets.org ##
14491 ## ----------------------------------------- ##
14492 _ASBOX
14493 ) |
14494 sed "s/^/$as_me: WARNING: /" >&2
14495 ;;
14496 esac
14497 echo "$as_me:$LINENO: checking for $ac_header" >&5
14498 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14499 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14500 echo $ECHO_N "(cached) $ECHO_C" >&6
14501 else
14502 eval "$as_ac_Header=\$ac_header_preproc"
14503 fi
14504 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14505 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14506
14507 fi
14508 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14509 cat >>confdefs.h <<_ACEOF
14510 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14511 _ACEOF
14512
14513 fi
14514
14515 done
14516
14517
14518 for ac_header in X11/XKBlib.h
14519 do
14520 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14521 echo "$as_me:$LINENO: checking for $ac_header" >&5
14522 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14523 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14524 echo $ECHO_N "(cached) $ECHO_C" >&6
14525 else
14526 cat >conftest.$ac_ext <<_ACEOF
14527 /* confdefs.h. */
14528 _ACEOF
14529 cat confdefs.h >>conftest.$ac_ext
14530 cat >>conftest.$ac_ext <<_ACEOF
14531 /* end confdefs.h. */
14532
14533 #if HAVE_X11_XLIB_H
14534 #include <X11/Xlib.h>
14535 #endif
14536
14537
14538 #include <$ac_header>
14539 _ACEOF
14540 rm -f conftest.$ac_objext
14541 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14542 (eval $ac_compile) 2>conftest.er1
14543 ac_status=$?
14544 grep -v '^ *+' conftest.er1 >conftest.err
14545 rm -f conftest.er1
14546 cat conftest.err >&5
14547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14548 (exit $ac_status); } &&
14549 { ac_try='test -z "$ac_c_werror_flag"
14550 || test ! -s conftest.err'
14551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14552 (eval $ac_try) 2>&5
14553 ac_status=$?
14554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14555 (exit $ac_status); }; } &&
14556 { ac_try='test -s conftest.$ac_objext'
14557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14558 (eval $ac_try) 2>&5
14559 ac_status=$?
14560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14561 (exit $ac_status); }; }; then
14562 eval "$as_ac_Header=yes"
14563 else
14564 echo "$as_me: failed program was:" >&5
14565 sed 's/^/| /' conftest.$ac_ext >&5
14566
14567 eval "$as_ac_Header=no"
14568 fi
14569 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14570 fi
14571 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14572 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14573 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14574 cat >>confdefs.h <<_ACEOF
14575 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14576 _ACEOF
14577
14578 fi
14579
14580 done
14581
14582 fi
14583 fi
14584
14585
14586 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
14587 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
14588 if test "${ac_cv_c_const+set}" = set; then
14589 echo $ECHO_N "(cached) $ECHO_C" >&6
14590 else
14591 cat >conftest.$ac_ext <<_ACEOF
14592 /* confdefs.h. */
14593 _ACEOF
14594 cat confdefs.h >>conftest.$ac_ext
14595 cat >>conftest.$ac_ext <<_ACEOF
14596 /* end confdefs.h. */
14597
14598 int
14599 main ()
14600 {
14601 /* FIXME: Include the comments suggested by Paul. */
14602 #ifndef __cplusplus
14603 /* Ultrix mips cc rejects this. */
14604 typedef int charset[2];
14605 const charset x;
14606 /* SunOS 4.1.1 cc rejects this. */
14607 char const *const *ccp;
14608 char **p;
14609 /* NEC SVR4.0.2 mips cc rejects this. */
14610 struct point {int x, y;};
14611 static struct point const zero = {0,0};
14612 /* AIX XL C 1.02.0.0 rejects this.
14613 It does not let you subtract one const X* pointer from another in
14614 an arm of an if-expression whose if-part is not a constant
14615 expression */
14616 const char *g = "string";
14617 ccp = &g + (g ? g-g : 0);
14618 /* HPUX 7.0 cc rejects these. */
14619 ++ccp;
14620 p = (char**) ccp;
14621 ccp = (char const *const *) p;
14622 { /* SCO 3.2v4 cc rejects this. */
14623 char *t;
14624 char const *s = 0 ? (char *) 0 : (char const *) 0;
14625
14626 *t++ = 0;
14627 }
14628 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
14629 int x[] = {25, 17};
14630 const int *foo = &x[0];
14631 ++foo;
14632 }
14633 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
14634 typedef const int *iptr;
14635 iptr p = 0;
14636 ++p;
14637 }
14638 { /* AIX XL C 1.02.0.0 rejects this saying
14639 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
14640 struct s { int j; const int *ap[3]; };
14641 struct s *b; b->j = 5;
14642 }
14643 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
14644 const int foo = 10;
14645 }
14646 #endif
14647
14648 ;
14649 return 0;
14650 }
14651 _ACEOF
14652 rm -f conftest.$ac_objext
14653 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14654 (eval $ac_compile) 2>conftest.er1
14655 ac_status=$?
14656 grep -v '^ *+' conftest.er1 >conftest.err
14657 rm -f conftest.er1
14658 cat conftest.err >&5
14659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14660 (exit $ac_status); } &&
14661 { ac_try='test -z "$ac_c_werror_flag"
14662 || test ! -s conftest.err'
14663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14664 (eval $ac_try) 2>&5
14665 ac_status=$?
14666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14667 (exit $ac_status); }; } &&
14668 { ac_try='test -s conftest.$ac_objext'
14669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14670 (eval $ac_try) 2>&5
14671 ac_status=$?
14672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14673 (exit $ac_status); }; }; then
14674 ac_cv_c_const=yes
14675 else
14676 echo "$as_me: failed program was:" >&5
14677 sed 's/^/| /' conftest.$ac_ext >&5
14678
14679 ac_cv_c_const=no
14680 fi
14681 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14682 fi
14683 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
14684 echo "${ECHO_T}$ac_cv_c_const" >&6
14685 if test $ac_cv_c_const = no; then
14686
14687 cat >>confdefs.h <<\_ACEOF
14688 #define const
14689 _ACEOF
14690
14691 fi
14692
14693 echo "$as_me:$LINENO: checking for inline" >&5
14694 echo $ECHO_N "checking for inline... $ECHO_C" >&6
14695 if test "${ac_cv_c_inline+set}" = set; then
14696 echo $ECHO_N "(cached) $ECHO_C" >&6
14697 else
14698 ac_cv_c_inline=no
14699 for ac_kw in inline __inline__ __inline; do
14700 cat >conftest.$ac_ext <<_ACEOF
14701 /* confdefs.h. */
14702 _ACEOF
14703 cat confdefs.h >>conftest.$ac_ext
14704 cat >>conftest.$ac_ext <<_ACEOF
14705 /* end confdefs.h. */
14706 #ifndef __cplusplus
14707 typedef int foo_t;
14708 static $ac_kw foo_t static_foo () {return 0; }
14709 $ac_kw foo_t foo () {return 0; }
14710 #endif
14711
14712 _ACEOF
14713 rm -f conftest.$ac_objext
14714 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14715 (eval $ac_compile) 2>conftest.er1
14716 ac_status=$?
14717 grep -v '^ *+' conftest.er1 >conftest.err
14718 rm -f conftest.er1
14719 cat conftest.err >&5
14720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14721 (exit $ac_status); } &&
14722 { ac_try='test -z "$ac_c_werror_flag"
14723 || test ! -s conftest.err'
14724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14725 (eval $ac_try) 2>&5
14726 ac_status=$?
14727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14728 (exit $ac_status); }; } &&
14729 { ac_try='test -s conftest.$ac_objext'
14730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14731 (eval $ac_try) 2>&5
14732 ac_status=$?
14733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14734 (exit $ac_status); }; }; then
14735 ac_cv_c_inline=$ac_kw; break
14736 else
14737 echo "$as_me: failed program was:" >&5
14738 sed 's/^/| /' conftest.$ac_ext >&5
14739
14740 fi
14741 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14742 done
14743
14744 fi
14745 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
14746 echo "${ECHO_T}$ac_cv_c_inline" >&6
14747
14748
14749 case $ac_cv_c_inline in
14750 inline | yes) ;;
14751 *)
14752 case $ac_cv_c_inline in
14753 no) ac_val=;;
14754 *) ac_val=$ac_cv_c_inline;;
14755 esac
14756 cat >>confdefs.h <<_ACEOF
14757 #ifndef __cplusplus
14758 #define inline $ac_val
14759 #endif
14760 _ACEOF
14761 ;;
14762 esac
14763
14764
14765 echo "$as_me:$LINENO: checking for char" >&5
14766 echo $ECHO_N "checking for char... $ECHO_C" >&6
14767 if test "${ac_cv_type_char+set}" = set; then
14768 echo $ECHO_N "(cached) $ECHO_C" >&6
14769 else
14770 cat >conftest.$ac_ext <<_ACEOF
14771 /* confdefs.h. */
14772 _ACEOF
14773 cat confdefs.h >>conftest.$ac_ext
14774 cat >>conftest.$ac_ext <<_ACEOF
14775 /* end confdefs.h. */
14776 $ac_includes_default
14777 int
14778 main ()
14779 {
14780 if ((char *) 0)
14781 return 0;
14782 if (sizeof (char))
14783 return 0;
14784 ;
14785 return 0;
14786 }
14787 _ACEOF
14788 rm -f conftest.$ac_objext
14789 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14790 (eval $ac_compile) 2>conftest.er1
14791 ac_status=$?
14792 grep -v '^ *+' conftest.er1 >conftest.err
14793 rm -f conftest.er1
14794 cat conftest.err >&5
14795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14796 (exit $ac_status); } &&
14797 { ac_try='test -z "$ac_c_werror_flag"
14798 || test ! -s conftest.err'
14799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14800 (eval $ac_try) 2>&5
14801 ac_status=$?
14802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14803 (exit $ac_status); }; } &&
14804 { ac_try='test -s conftest.$ac_objext'
14805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14806 (eval $ac_try) 2>&5
14807 ac_status=$?
14808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14809 (exit $ac_status); }; }; then
14810 ac_cv_type_char=yes
14811 else
14812 echo "$as_me: failed program was:" >&5
14813 sed 's/^/| /' conftest.$ac_ext >&5
14814
14815 ac_cv_type_char=no
14816 fi
14817 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14818 fi
14819 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
14820 echo "${ECHO_T}$ac_cv_type_char" >&6
14821
14822 echo "$as_me:$LINENO: checking size of char" >&5
14823 echo $ECHO_N "checking size of char... $ECHO_C" >&6
14824 if test "${ac_cv_sizeof_char+set}" = set; then
14825 echo $ECHO_N "(cached) $ECHO_C" >&6
14826 else
14827 if test "$ac_cv_type_char" = yes; then
14828 # The cast to unsigned long works around a bug in the HP C Compiler
14829 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14830 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14831 # This bug is HP SR number 8606223364.
14832 if test "$cross_compiling" = yes; then
14833 # Depending upon the size, compute the lo and hi bounds.
14834 cat >conftest.$ac_ext <<_ACEOF
14835 /* confdefs.h. */
14836 _ACEOF
14837 cat confdefs.h >>conftest.$ac_ext
14838 cat >>conftest.$ac_ext <<_ACEOF
14839 /* end confdefs.h. */
14840 $ac_includes_default
14841 int
14842 main ()
14843 {
14844 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
14845 test_array [0] = 0
14846
14847 ;
14848 return 0;
14849 }
14850 _ACEOF
14851 rm -f conftest.$ac_objext
14852 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14853 (eval $ac_compile) 2>conftest.er1
14854 ac_status=$?
14855 grep -v '^ *+' conftest.er1 >conftest.err
14856 rm -f conftest.er1
14857 cat conftest.err >&5
14858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14859 (exit $ac_status); } &&
14860 { ac_try='test -z "$ac_c_werror_flag"
14861 || test ! -s conftest.err'
14862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14863 (eval $ac_try) 2>&5
14864 ac_status=$?
14865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14866 (exit $ac_status); }; } &&
14867 { ac_try='test -s conftest.$ac_objext'
14868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14869 (eval $ac_try) 2>&5
14870 ac_status=$?
14871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14872 (exit $ac_status); }; }; then
14873 ac_lo=0 ac_mid=0
14874 while :; do
14875 cat >conftest.$ac_ext <<_ACEOF
14876 /* confdefs.h. */
14877 _ACEOF
14878 cat confdefs.h >>conftest.$ac_ext
14879 cat >>conftest.$ac_ext <<_ACEOF
14880 /* end confdefs.h. */
14881 $ac_includes_default
14882 int
14883 main ()
14884 {
14885 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
14886 test_array [0] = 0
14887
14888 ;
14889 return 0;
14890 }
14891 _ACEOF
14892 rm -f conftest.$ac_objext
14893 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14894 (eval $ac_compile) 2>conftest.er1
14895 ac_status=$?
14896 grep -v '^ *+' conftest.er1 >conftest.err
14897 rm -f conftest.er1
14898 cat conftest.err >&5
14899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14900 (exit $ac_status); } &&
14901 { ac_try='test -z "$ac_c_werror_flag"
14902 || test ! -s conftest.err'
14903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14904 (eval $ac_try) 2>&5
14905 ac_status=$?
14906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14907 (exit $ac_status); }; } &&
14908 { ac_try='test -s conftest.$ac_objext'
14909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14910 (eval $ac_try) 2>&5
14911 ac_status=$?
14912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14913 (exit $ac_status); }; }; then
14914 ac_hi=$ac_mid; break
14915 else
14916 echo "$as_me: failed program was:" >&5
14917 sed 's/^/| /' conftest.$ac_ext >&5
14918
14919 ac_lo=`expr $ac_mid + 1`
14920 if test $ac_lo -le $ac_mid; then
14921 ac_lo= ac_hi=
14922 break
14923 fi
14924 ac_mid=`expr 2 '*' $ac_mid + 1`
14925 fi
14926 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14927 done
14928 else
14929 echo "$as_me: failed program was:" >&5
14930 sed 's/^/| /' conftest.$ac_ext >&5
14931
14932 cat >conftest.$ac_ext <<_ACEOF
14933 /* confdefs.h. */
14934 _ACEOF
14935 cat confdefs.h >>conftest.$ac_ext
14936 cat >>conftest.$ac_ext <<_ACEOF
14937 /* end confdefs.h. */
14938 $ac_includes_default
14939 int
14940 main ()
14941 {
14942 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
14943 test_array [0] = 0
14944
14945 ;
14946 return 0;
14947 }
14948 _ACEOF
14949 rm -f conftest.$ac_objext
14950 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14951 (eval $ac_compile) 2>conftest.er1
14952 ac_status=$?
14953 grep -v '^ *+' conftest.er1 >conftest.err
14954 rm -f conftest.er1
14955 cat conftest.err >&5
14956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14957 (exit $ac_status); } &&
14958 { ac_try='test -z "$ac_c_werror_flag"
14959 || test ! -s conftest.err'
14960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14961 (eval $ac_try) 2>&5
14962 ac_status=$?
14963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14964 (exit $ac_status); }; } &&
14965 { ac_try='test -s conftest.$ac_objext'
14966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14967 (eval $ac_try) 2>&5
14968 ac_status=$?
14969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14970 (exit $ac_status); }; }; then
14971 ac_hi=-1 ac_mid=-1
14972 while :; do
14973 cat >conftest.$ac_ext <<_ACEOF
14974 /* confdefs.h. */
14975 _ACEOF
14976 cat confdefs.h >>conftest.$ac_ext
14977 cat >>conftest.$ac_ext <<_ACEOF
14978 /* end confdefs.h. */
14979 $ac_includes_default
14980 int
14981 main ()
14982 {
14983 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
14984 test_array [0] = 0
14985
14986 ;
14987 return 0;
14988 }
14989 _ACEOF
14990 rm -f conftest.$ac_objext
14991 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14992 (eval $ac_compile) 2>conftest.er1
14993 ac_status=$?
14994 grep -v '^ *+' conftest.er1 >conftest.err
14995 rm -f conftest.er1
14996 cat conftest.err >&5
14997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14998 (exit $ac_status); } &&
14999 { ac_try='test -z "$ac_c_werror_flag"
15000 || test ! -s conftest.err'
15001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15002 (eval $ac_try) 2>&5
15003 ac_status=$?
15004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15005 (exit $ac_status); }; } &&
15006 { ac_try='test -s conftest.$ac_objext'
15007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15008 (eval $ac_try) 2>&5
15009 ac_status=$?
15010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15011 (exit $ac_status); }; }; then
15012 ac_lo=$ac_mid; break
15013 else
15014 echo "$as_me: failed program was:" >&5
15015 sed 's/^/| /' conftest.$ac_ext >&5
15016
15017 ac_hi=`expr '(' $ac_mid ')' - 1`
15018 if test $ac_mid -le $ac_hi; then
15019 ac_lo= ac_hi=
15020 break
15021 fi
15022 ac_mid=`expr 2 '*' $ac_mid`
15023 fi
15024 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15025 done
15026 else
15027 echo "$as_me: failed program was:" >&5
15028 sed 's/^/| /' conftest.$ac_ext >&5
15029
15030 ac_lo= ac_hi=
15031 fi
15032 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15033 fi
15034 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15035 # Binary search between lo and hi bounds.
15036 while test "x$ac_lo" != "x$ac_hi"; do
15037 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15038 cat >conftest.$ac_ext <<_ACEOF
15039 /* confdefs.h. */
15040 _ACEOF
15041 cat confdefs.h >>conftest.$ac_ext
15042 cat >>conftest.$ac_ext <<_ACEOF
15043 /* end confdefs.h. */
15044 $ac_includes_default
15045 int
15046 main ()
15047 {
15048 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
15049 test_array [0] = 0
15050
15051 ;
15052 return 0;
15053 }
15054 _ACEOF
15055 rm -f conftest.$ac_objext
15056 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15057 (eval $ac_compile) 2>conftest.er1
15058 ac_status=$?
15059 grep -v '^ *+' conftest.er1 >conftest.err
15060 rm -f conftest.er1
15061 cat conftest.err >&5
15062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15063 (exit $ac_status); } &&
15064 { ac_try='test -z "$ac_c_werror_flag"
15065 || test ! -s conftest.err'
15066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15067 (eval $ac_try) 2>&5
15068 ac_status=$?
15069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15070 (exit $ac_status); }; } &&
15071 { ac_try='test -s conftest.$ac_objext'
15072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15073 (eval $ac_try) 2>&5
15074 ac_status=$?
15075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15076 (exit $ac_status); }; }; then
15077 ac_hi=$ac_mid
15078 else
15079 echo "$as_me: failed program was:" >&5
15080 sed 's/^/| /' conftest.$ac_ext >&5
15081
15082 ac_lo=`expr '(' $ac_mid ')' + 1`
15083 fi
15084 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15085 done
15086 case $ac_lo in
15087 ?*) ac_cv_sizeof_char=$ac_lo;;
15088 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
15089 See \`config.log' for more details." >&5
15090 echo "$as_me: error: cannot compute sizeof (char), 77
15091 See \`config.log' for more details." >&2;}
15092 { (exit 1); exit 1; }; } ;;
15093 esac
15094 else
15095 if test "$cross_compiling" = yes; then
15096 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15097 See \`config.log' for more details." >&5
15098 echo "$as_me: error: cannot run test program while cross compiling
15099 See \`config.log' for more details." >&2;}
15100 { (exit 1); exit 1; }; }
15101 else
15102 cat >conftest.$ac_ext <<_ACEOF
15103 /* confdefs.h. */
15104 _ACEOF
15105 cat confdefs.h >>conftest.$ac_ext
15106 cat >>conftest.$ac_ext <<_ACEOF
15107 /* end confdefs.h. */
15108 $ac_includes_default
15109 long longval () { return (long) (sizeof (char)); }
15110 unsigned long ulongval () { return (long) (sizeof (char)); }
15111 #include <stdio.h>
15112 #include <stdlib.h>
15113 int
15114 main ()
15115 {
15116
15117 FILE *f = fopen ("conftest.val", "w");
15118 if (! f)
15119 exit (1);
15120 if (((long) (sizeof (char))) < 0)
15121 {
15122 long i = longval ();
15123 if (i != ((long) (sizeof (char))))
15124 exit (1);
15125 fprintf (f, "%ld\n", i);
15126 }
15127 else
15128 {
15129 unsigned long i = ulongval ();
15130 if (i != ((long) (sizeof (char))))
15131 exit (1);
15132 fprintf (f, "%lu\n", i);
15133 }
15134 exit (ferror (f) || fclose (f) != 0);
15135
15136 ;
15137 return 0;
15138 }
15139 _ACEOF
15140 rm -f conftest$ac_exeext
15141 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15142 (eval $ac_link) 2>&5
15143 ac_status=$?
15144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15145 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15147 (eval $ac_try) 2>&5
15148 ac_status=$?
15149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15150 (exit $ac_status); }; }; then
15151 ac_cv_sizeof_char=`cat conftest.val`
15152 else
15153 echo "$as_me: program exited with status $ac_status" >&5
15154 echo "$as_me: failed program was:" >&5
15155 sed 's/^/| /' conftest.$ac_ext >&5
15156
15157 ( exit $ac_status )
15158 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
15159 See \`config.log' for more details." >&5
15160 echo "$as_me: error: cannot compute sizeof (char), 77
15161 See \`config.log' for more details." >&2;}
15162 { (exit 1); exit 1; }; }
15163 fi
15164 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15165 fi
15166 fi
15167 rm -f conftest.val
15168 else
15169 ac_cv_sizeof_char=0
15170 fi
15171 fi
15172 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
15173 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
15174 cat >>confdefs.h <<_ACEOF
15175 #define SIZEOF_CHAR $ac_cv_sizeof_char
15176 _ACEOF
15177
15178
15179 echo "$as_me:$LINENO: checking for short" >&5
15180 echo $ECHO_N "checking for short... $ECHO_C" >&6
15181 if test "${ac_cv_type_short+set}" = set; then
15182 echo $ECHO_N "(cached) $ECHO_C" >&6
15183 else
15184 cat >conftest.$ac_ext <<_ACEOF
15185 /* confdefs.h. */
15186 _ACEOF
15187 cat confdefs.h >>conftest.$ac_ext
15188 cat >>conftest.$ac_ext <<_ACEOF
15189 /* end confdefs.h. */
15190 $ac_includes_default
15191 int
15192 main ()
15193 {
15194 if ((short *) 0)
15195 return 0;
15196 if (sizeof (short))
15197 return 0;
15198 ;
15199 return 0;
15200 }
15201 _ACEOF
15202 rm -f conftest.$ac_objext
15203 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15204 (eval $ac_compile) 2>conftest.er1
15205 ac_status=$?
15206 grep -v '^ *+' conftest.er1 >conftest.err
15207 rm -f conftest.er1
15208 cat conftest.err >&5
15209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15210 (exit $ac_status); } &&
15211 { ac_try='test -z "$ac_c_werror_flag"
15212 || test ! -s conftest.err'
15213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15214 (eval $ac_try) 2>&5
15215 ac_status=$?
15216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15217 (exit $ac_status); }; } &&
15218 { ac_try='test -s conftest.$ac_objext'
15219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15220 (eval $ac_try) 2>&5
15221 ac_status=$?
15222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15223 (exit $ac_status); }; }; then
15224 ac_cv_type_short=yes
15225 else
15226 echo "$as_me: failed program was:" >&5
15227 sed 's/^/| /' conftest.$ac_ext >&5
15228
15229 ac_cv_type_short=no
15230 fi
15231 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15232 fi
15233 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
15234 echo "${ECHO_T}$ac_cv_type_short" >&6
15235
15236 echo "$as_me:$LINENO: checking size of short" >&5
15237 echo $ECHO_N "checking size of short... $ECHO_C" >&6
15238 if test "${ac_cv_sizeof_short+set}" = set; then
15239 echo $ECHO_N "(cached) $ECHO_C" >&6
15240 else
15241 if test "$ac_cv_type_short" = yes; then
15242 # The cast to unsigned long works around a bug in the HP C Compiler
15243 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15244 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15245 # This bug is HP SR number 8606223364.
15246 if test "$cross_compiling" = yes; then
15247 # Depending upon the size, compute the lo and hi bounds.
15248 cat >conftest.$ac_ext <<_ACEOF
15249 /* confdefs.h. */
15250 _ACEOF
15251 cat confdefs.h >>conftest.$ac_ext
15252 cat >>conftest.$ac_ext <<_ACEOF
15253 /* end confdefs.h. */
15254 $ac_includes_default
15255 int
15256 main ()
15257 {
15258 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
15259 test_array [0] = 0
15260
15261 ;
15262 return 0;
15263 }
15264 _ACEOF
15265 rm -f conftest.$ac_objext
15266 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15267 (eval $ac_compile) 2>conftest.er1
15268 ac_status=$?
15269 grep -v '^ *+' conftest.er1 >conftest.err
15270 rm -f conftest.er1
15271 cat conftest.err >&5
15272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15273 (exit $ac_status); } &&
15274 { ac_try='test -z "$ac_c_werror_flag"
15275 || test ! -s conftest.err'
15276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15277 (eval $ac_try) 2>&5
15278 ac_status=$?
15279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15280 (exit $ac_status); }; } &&
15281 { ac_try='test -s conftest.$ac_objext'
15282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15283 (eval $ac_try) 2>&5
15284 ac_status=$?
15285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15286 (exit $ac_status); }; }; then
15287 ac_lo=0 ac_mid=0
15288 while :; do
15289 cat >conftest.$ac_ext <<_ACEOF
15290 /* confdefs.h. */
15291 _ACEOF
15292 cat confdefs.h >>conftest.$ac_ext
15293 cat >>conftest.$ac_ext <<_ACEOF
15294 /* end confdefs.h. */
15295 $ac_includes_default
15296 int
15297 main ()
15298 {
15299 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
15300 test_array [0] = 0
15301
15302 ;
15303 return 0;
15304 }
15305 _ACEOF
15306 rm -f conftest.$ac_objext
15307 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15308 (eval $ac_compile) 2>conftest.er1
15309 ac_status=$?
15310 grep -v '^ *+' conftest.er1 >conftest.err
15311 rm -f conftest.er1
15312 cat conftest.err >&5
15313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15314 (exit $ac_status); } &&
15315 { ac_try='test -z "$ac_c_werror_flag"
15316 || test ! -s conftest.err'
15317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15318 (eval $ac_try) 2>&5
15319 ac_status=$?
15320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15321 (exit $ac_status); }; } &&
15322 { ac_try='test -s conftest.$ac_objext'
15323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15324 (eval $ac_try) 2>&5
15325 ac_status=$?
15326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15327 (exit $ac_status); }; }; then
15328 ac_hi=$ac_mid; break
15329 else
15330 echo "$as_me: failed program was:" >&5
15331 sed 's/^/| /' conftest.$ac_ext >&5
15332
15333 ac_lo=`expr $ac_mid + 1`
15334 if test $ac_lo -le $ac_mid; then
15335 ac_lo= ac_hi=
15336 break
15337 fi
15338 ac_mid=`expr 2 '*' $ac_mid + 1`
15339 fi
15340 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15341 done
15342 else
15343 echo "$as_me: failed program was:" >&5
15344 sed 's/^/| /' conftest.$ac_ext >&5
15345
15346 cat >conftest.$ac_ext <<_ACEOF
15347 /* confdefs.h. */
15348 _ACEOF
15349 cat confdefs.h >>conftest.$ac_ext
15350 cat >>conftest.$ac_ext <<_ACEOF
15351 /* end confdefs.h. */
15352 $ac_includes_default
15353 int
15354 main ()
15355 {
15356 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
15357 test_array [0] = 0
15358
15359 ;
15360 return 0;
15361 }
15362 _ACEOF
15363 rm -f conftest.$ac_objext
15364 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15365 (eval $ac_compile) 2>conftest.er1
15366 ac_status=$?
15367 grep -v '^ *+' conftest.er1 >conftest.err
15368 rm -f conftest.er1
15369 cat conftest.err >&5
15370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15371 (exit $ac_status); } &&
15372 { ac_try='test -z "$ac_c_werror_flag"
15373 || test ! -s conftest.err'
15374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15375 (eval $ac_try) 2>&5
15376 ac_status=$?
15377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15378 (exit $ac_status); }; } &&
15379 { ac_try='test -s conftest.$ac_objext'
15380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15381 (eval $ac_try) 2>&5
15382 ac_status=$?
15383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15384 (exit $ac_status); }; }; then
15385 ac_hi=-1 ac_mid=-1
15386 while :; do
15387 cat >conftest.$ac_ext <<_ACEOF
15388 /* confdefs.h. */
15389 _ACEOF
15390 cat confdefs.h >>conftest.$ac_ext
15391 cat >>conftest.$ac_ext <<_ACEOF
15392 /* end confdefs.h. */
15393 $ac_includes_default
15394 int
15395 main ()
15396 {
15397 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
15398 test_array [0] = 0
15399
15400 ;
15401 return 0;
15402 }
15403 _ACEOF
15404 rm -f conftest.$ac_objext
15405 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15406 (eval $ac_compile) 2>conftest.er1
15407 ac_status=$?
15408 grep -v '^ *+' conftest.er1 >conftest.err
15409 rm -f conftest.er1
15410 cat conftest.err >&5
15411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15412 (exit $ac_status); } &&
15413 { ac_try='test -z "$ac_c_werror_flag"
15414 || test ! -s conftest.err'
15415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15416 (eval $ac_try) 2>&5
15417 ac_status=$?
15418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15419 (exit $ac_status); }; } &&
15420 { ac_try='test -s conftest.$ac_objext'
15421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15422 (eval $ac_try) 2>&5
15423 ac_status=$?
15424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15425 (exit $ac_status); }; }; then
15426 ac_lo=$ac_mid; break
15427 else
15428 echo "$as_me: failed program was:" >&5
15429 sed 's/^/| /' conftest.$ac_ext >&5
15430
15431 ac_hi=`expr '(' $ac_mid ')' - 1`
15432 if test $ac_mid -le $ac_hi; then
15433 ac_lo= ac_hi=
15434 break
15435 fi
15436 ac_mid=`expr 2 '*' $ac_mid`
15437 fi
15438 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15439 done
15440 else
15441 echo "$as_me: failed program was:" >&5
15442 sed 's/^/| /' conftest.$ac_ext >&5
15443
15444 ac_lo= ac_hi=
15445 fi
15446 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15447 fi
15448 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15449 # Binary search between lo and hi bounds.
15450 while test "x$ac_lo" != "x$ac_hi"; do
15451 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15452 cat >conftest.$ac_ext <<_ACEOF
15453 /* confdefs.h. */
15454 _ACEOF
15455 cat confdefs.h >>conftest.$ac_ext
15456 cat >>conftest.$ac_ext <<_ACEOF
15457 /* end confdefs.h. */
15458 $ac_includes_default
15459 int
15460 main ()
15461 {
15462 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
15463 test_array [0] = 0
15464
15465 ;
15466 return 0;
15467 }
15468 _ACEOF
15469 rm -f conftest.$ac_objext
15470 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15471 (eval $ac_compile) 2>conftest.er1
15472 ac_status=$?
15473 grep -v '^ *+' conftest.er1 >conftest.err
15474 rm -f conftest.er1
15475 cat conftest.err >&5
15476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15477 (exit $ac_status); } &&
15478 { ac_try='test -z "$ac_c_werror_flag"
15479 || test ! -s conftest.err'
15480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15481 (eval $ac_try) 2>&5
15482 ac_status=$?
15483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15484 (exit $ac_status); }; } &&
15485 { ac_try='test -s conftest.$ac_objext'
15486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15487 (eval $ac_try) 2>&5
15488 ac_status=$?
15489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15490 (exit $ac_status); }; }; then
15491 ac_hi=$ac_mid
15492 else
15493 echo "$as_me: failed program was:" >&5
15494 sed 's/^/| /' conftest.$ac_ext >&5
15495
15496 ac_lo=`expr '(' $ac_mid ')' + 1`
15497 fi
15498 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15499 done
15500 case $ac_lo in
15501 ?*) ac_cv_sizeof_short=$ac_lo;;
15502 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
15503 See \`config.log' for more details." >&5
15504 echo "$as_me: error: cannot compute sizeof (short), 77
15505 See \`config.log' for more details." >&2;}
15506 { (exit 1); exit 1; }; } ;;
15507 esac
15508 else
15509 if test "$cross_compiling" = yes; then
15510 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15511 See \`config.log' for more details." >&5
15512 echo "$as_me: error: cannot run test program while cross compiling
15513 See \`config.log' for more details." >&2;}
15514 { (exit 1); exit 1; }; }
15515 else
15516 cat >conftest.$ac_ext <<_ACEOF
15517 /* confdefs.h. */
15518 _ACEOF
15519 cat confdefs.h >>conftest.$ac_ext
15520 cat >>conftest.$ac_ext <<_ACEOF
15521 /* end confdefs.h. */
15522 $ac_includes_default
15523 long longval () { return (long) (sizeof (short)); }
15524 unsigned long ulongval () { return (long) (sizeof (short)); }
15525 #include <stdio.h>
15526 #include <stdlib.h>
15527 int
15528 main ()
15529 {
15530
15531 FILE *f = fopen ("conftest.val", "w");
15532 if (! f)
15533 exit (1);
15534 if (((long) (sizeof (short))) < 0)
15535 {
15536 long i = longval ();
15537 if (i != ((long) (sizeof (short))))
15538 exit (1);
15539 fprintf (f, "%ld\n", i);
15540 }
15541 else
15542 {
15543 unsigned long i = ulongval ();
15544 if (i != ((long) (sizeof (short))))
15545 exit (1);
15546 fprintf (f, "%lu\n", i);
15547 }
15548 exit (ferror (f) || fclose (f) != 0);
15549
15550 ;
15551 return 0;
15552 }
15553 _ACEOF
15554 rm -f conftest$ac_exeext
15555 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15556 (eval $ac_link) 2>&5
15557 ac_status=$?
15558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15559 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15561 (eval $ac_try) 2>&5
15562 ac_status=$?
15563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15564 (exit $ac_status); }; }; then
15565 ac_cv_sizeof_short=`cat conftest.val`
15566 else
15567 echo "$as_me: program exited with status $ac_status" >&5
15568 echo "$as_me: failed program was:" >&5
15569 sed 's/^/| /' conftest.$ac_ext >&5
15570
15571 ( exit $ac_status )
15572 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
15573 See \`config.log' for more details." >&5
15574 echo "$as_me: error: cannot compute sizeof (short), 77
15575 See \`config.log' for more details." >&2;}
15576 { (exit 1); exit 1; }; }
15577 fi
15578 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15579 fi
15580 fi
15581 rm -f conftest.val
15582 else
15583 ac_cv_sizeof_short=0
15584 fi
15585 fi
15586 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
15587 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
15588 cat >>confdefs.h <<_ACEOF
15589 #define SIZEOF_SHORT $ac_cv_sizeof_short
15590 _ACEOF
15591
15592
15593 echo "$as_me:$LINENO: checking for void *" >&5
15594 echo $ECHO_N "checking for void *... $ECHO_C" >&6
15595 if test "${ac_cv_type_void_p+set}" = set; then
15596 echo $ECHO_N "(cached) $ECHO_C" >&6
15597 else
15598 cat >conftest.$ac_ext <<_ACEOF
15599 /* confdefs.h. */
15600 _ACEOF
15601 cat confdefs.h >>conftest.$ac_ext
15602 cat >>conftest.$ac_ext <<_ACEOF
15603 /* end confdefs.h. */
15604 $ac_includes_default
15605 int
15606 main ()
15607 {
15608 if ((void * *) 0)
15609 return 0;
15610 if (sizeof (void *))
15611 return 0;
15612 ;
15613 return 0;
15614 }
15615 _ACEOF
15616 rm -f conftest.$ac_objext
15617 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15618 (eval $ac_compile) 2>conftest.er1
15619 ac_status=$?
15620 grep -v '^ *+' conftest.er1 >conftest.err
15621 rm -f conftest.er1
15622 cat conftest.err >&5
15623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15624 (exit $ac_status); } &&
15625 { ac_try='test -z "$ac_c_werror_flag"
15626 || test ! -s conftest.err'
15627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15628 (eval $ac_try) 2>&5
15629 ac_status=$?
15630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15631 (exit $ac_status); }; } &&
15632 { ac_try='test -s conftest.$ac_objext'
15633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15634 (eval $ac_try) 2>&5
15635 ac_status=$?
15636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15637 (exit $ac_status); }; }; then
15638 ac_cv_type_void_p=yes
15639 else
15640 echo "$as_me: failed program was:" >&5
15641 sed 's/^/| /' conftest.$ac_ext >&5
15642
15643 ac_cv_type_void_p=no
15644 fi
15645 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15646 fi
15647 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
15648 echo "${ECHO_T}$ac_cv_type_void_p" >&6
15649
15650 echo "$as_me:$LINENO: checking size of void *" >&5
15651 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
15652 if test "${ac_cv_sizeof_void_p+set}" = set; then
15653 echo $ECHO_N "(cached) $ECHO_C" >&6
15654 else
15655 if test "$ac_cv_type_void_p" = yes; then
15656 # The cast to unsigned long works around a bug in the HP C Compiler
15657 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15658 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15659 # This bug is HP SR number 8606223364.
15660 if test "$cross_compiling" = yes; then
15661 # Depending upon the size, compute the lo and hi bounds.
15662 cat >conftest.$ac_ext <<_ACEOF
15663 /* confdefs.h. */
15664 _ACEOF
15665 cat confdefs.h >>conftest.$ac_ext
15666 cat >>conftest.$ac_ext <<_ACEOF
15667 /* end confdefs.h. */
15668 $ac_includes_default
15669 int
15670 main ()
15671 {
15672 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
15673 test_array [0] = 0
15674
15675 ;
15676 return 0;
15677 }
15678 _ACEOF
15679 rm -f conftest.$ac_objext
15680 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15681 (eval $ac_compile) 2>conftest.er1
15682 ac_status=$?
15683 grep -v '^ *+' conftest.er1 >conftest.err
15684 rm -f conftest.er1
15685 cat conftest.err >&5
15686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15687 (exit $ac_status); } &&
15688 { ac_try='test -z "$ac_c_werror_flag"
15689 || test ! -s conftest.err'
15690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15691 (eval $ac_try) 2>&5
15692 ac_status=$?
15693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15694 (exit $ac_status); }; } &&
15695 { ac_try='test -s conftest.$ac_objext'
15696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15697 (eval $ac_try) 2>&5
15698 ac_status=$?
15699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15700 (exit $ac_status); }; }; then
15701 ac_lo=0 ac_mid=0
15702 while :; do
15703 cat >conftest.$ac_ext <<_ACEOF
15704 /* confdefs.h. */
15705 _ACEOF
15706 cat confdefs.h >>conftest.$ac_ext
15707 cat >>conftest.$ac_ext <<_ACEOF
15708 /* end confdefs.h. */
15709 $ac_includes_default
15710 int
15711 main ()
15712 {
15713 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
15714 test_array [0] = 0
15715
15716 ;
15717 return 0;
15718 }
15719 _ACEOF
15720 rm -f conftest.$ac_objext
15721 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15722 (eval $ac_compile) 2>conftest.er1
15723 ac_status=$?
15724 grep -v '^ *+' conftest.er1 >conftest.err
15725 rm -f conftest.er1
15726 cat conftest.err >&5
15727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15728 (exit $ac_status); } &&
15729 { ac_try='test -z "$ac_c_werror_flag"
15730 || test ! -s conftest.err'
15731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15732 (eval $ac_try) 2>&5
15733 ac_status=$?
15734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15735 (exit $ac_status); }; } &&
15736 { ac_try='test -s conftest.$ac_objext'
15737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15738 (eval $ac_try) 2>&5
15739 ac_status=$?
15740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15741 (exit $ac_status); }; }; then
15742 ac_hi=$ac_mid; break
15743 else
15744 echo "$as_me: failed program was:" >&5
15745 sed 's/^/| /' conftest.$ac_ext >&5
15746
15747 ac_lo=`expr $ac_mid + 1`
15748 if test $ac_lo -le $ac_mid; then
15749 ac_lo= ac_hi=
15750 break
15751 fi
15752 ac_mid=`expr 2 '*' $ac_mid + 1`
15753 fi
15754 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15755 done
15756 else
15757 echo "$as_me: failed program was:" >&5
15758 sed 's/^/| /' conftest.$ac_ext >&5
15759
15760 cat >conftest.$ac_ext <<_ACEOF
15761 /* confdefs.h. */
15762 _ACEOF
15763 cat confdefs.h >>conftest.$ac_ext
15764 cat >>conftest.$ac_ext <<_ACEOF
15765 /* end confdefs.h. */
15766 $ac_includes_default
15767 int
15768 main ()
15769 {
15770 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
15771 test_array [0] = 0
15772
15773 ;
15774 return 0;
15775 }
15776 _ACEOF
15777 rm -f conftest.$ac_objext
15778 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15779 (eval $ac_compile) 2>conftest.er1
15780 ac_status=$?
15781 grep -v '^ *+' conftest.er1 >conftest.err
15782 rm -f conftest.er1
15783 cat conftest.err >&5
15784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15785 (exit $ac_status); } &&
15786 { ac_try='test -z "$ac_c_werror_flag"
15787 || test ! -s conftest.err'
15788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15789 (eval $ac_try) 2>&5
15790 ac_status=$?
15791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15792 (exit $ac_status); }; } &&
15793 { ac_try='test -s conftest.$ac_objext'
15794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15795 (eval $ac_try) 2>&5
15796 ac_status=$?
15797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15798 (exit $ac_status); }; }; then
15799 ac_hi=-1 ac_mid=-1
15800 while :; do
15801 cat >conftest.$ac_ext <<_ACEOF
15802 /* confdefs.h. */
15803 _ACEOF
15804 cat confdefs.h >>conftest.$ac_ext
15805 cat >>conftest.$ac_ext <<_ACEOF
15806 /* end confdefs.h. */
15807 $ac_includes_default
15808 int
15809 main ()
15810 {
15811 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
15812 test_array [0] = 0
15813
15814 ;
15815 return 0;
15816 }
15817 _ACEOF
15818 rm -f conftest.$ac_objext
15819 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15820 (eval $ac_compile) 2>conftest.er1
15821 ac_status=$?
15822 grep -v '^ *+' conftest.er1 >conftest.err
15823 rm -f conftest.er1
15824 cat conftest.err >&5
15825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15826 (exit $ac_status); } &&
15827 { ac_try='test -z "$ac_c_werror_flag"
15828 || test ! -s conftest.err'
15829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15830 (eval $ac_try) 2>&5
15831 ac_status=$?
15832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15833 (exit $ac_status); }; } &&
15834 { ac_try='test -s conftest.$ac_objext'
15835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15836 (eval $ac_try) 2>&5
15837 ac_status=$?
15838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15839 (exit $ac_status); }; }; then
15840 ac_lo=$ac_mid; break
15841 else
15842 echo "$as_me: failed program was:" >&5
15843 sed 's/^/| /' conftest.$ac_ext >&5
15844
15845 ac_hi=`expr '(' $ac_mid ')' - 1`
15846 if test $ac_mid -le $ac_hi; then
15847 ac_lo= ac_hi=
15848 break
15849 fi
15850 ac_mid=`expr 2 '*' $ac_mid`
15851 fi
15852 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15853 done
15854 else
15855 echo "$as_me: failed program was:" >&5
15856 sed 's/^/| /' conftest.$ac_ext >&5
15857
15858 ac_lo= ac_hi=
15859 fi
15860 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15861 fi
15862 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15863 # Binary search between lo and hi bounds.
15864 while test "x$ac_lo" != "x$ac_hi"; do
15865 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15866 cat >conftest.$ac_ext <<_ACEOF
15867 /* confdefs.h. */
15868 _ACEOF
15869 cat confdefs.h >>conftest.$ac_ext
15870 cat >>conftest.$ac_ext <<_ACEOF
15871 /* end confdefs.h. */
15872 $ac_includes_default
15873 int
15874 main ()
15875 {
15876 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
15877 test_array [0] = 0
15878
15879 ;
15880 return 0;
15881 }
15882 _ACEOF
15883 rm -f conftest.$ac_objext
15884 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15885 (eval $ac_compile) 2>conftest.er1
15886 ac_status=$?
15887 grep -v '^ *+' conftest.er1 >conftest.err
15888 rm -f conftest.er1
15889 cat conftest.err >&5
15890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15891 (exit $ac_status); } &&
15892 { ac_try='test -z "$ac_c_werror_flag"
15893 || test ! -s conftest.err'
15894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15895 (eval $ac_try) 2>&5
15896 ac_status=$?
15897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15898 (exit $ac_status); }; } &&
15899 { ac_try='test -s conftest.$ac_objext'
15900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15901 (eval $ac_try) 2>&5
15902 ac_status=$?
15903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15904 (exit $ac_status); }; }; then
15905 ac_hi=$ac_mid
15906 else
15907 echo "$as_me: failed program was:" >&5
15908 sed 's/^/| /' conftest.$ac_ext >&5
15909
15910 ac_lo=`expr '(' $ac_mid ')' + 1`
15911 fi
15912 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15913 done
15914 case $ac_lo in
15915 ?*) ac_cv_sizeof_void_p=$ac_lo;;
15916 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
15917 See \`config.log' for more details." >&5
15918 echo "$as_me: error: cannot compute sizeof (void *), 77
15919 See \`config.log' for more details." >&2;}
15920 { (exit 1); exit 1; }; } ;;
15921 esac
15922 else
15923 if test "$cross_compiling" = yes; then
15924 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15925 See \`config.log' for more details." >&5
15926 echo "$as_me: error: cannot run test program while cross compiling
15927 See \`config.log' for more details." >&2;}
15928 { (exit 1); exit 1; }; }
15929 else
15930 cat >conftest.$ac_ext <<_ACEOF
15931 /* confdefs.h. */
15932 _ACEOF
15933 cat confdefs.h >>conftest.$ac_ext
15934 cat >>conftest.$ac_ext <<_ACEOF
15935 /* end confdefs.h. */
15936 $ac_includes_default
15937 long longval () { return (long) (sizeof (void *)); }
15938 unsigned long ulongval () { return (long) (sizeof (void *)); }
15939 #include <stdio.h>
15940 #include <stdlib.h>
15941 int
15942 main ()
15943 {
15944
15945 FILE *f = fopen ("conftest.val", "w");
15946 if (! f)
15947 exit (1);
15948 if (((long) (sizeof (void *))) < 0)
15949 {
15950 long i = longval ();
15951 if (i != ((long) (sizeof (void *))))
15952 exit (1);
15953 fprintf (f, "%ld\n", i);
15954 }
15955 else
15956 {
15957 unsigned long i = ulongval ();
15958 if (i != ((long) (sizeof (void *))))
15959 exit (1);
15960 fprintf (f, "%lu\n", i);
15961 }
15962 exit (ferror (f) || fclose (f) != 0);
15963
15964 ;
15965 return 0;
15966 }
15967 _ACEOF
15968 rm -f conftest$ac_exeext
15969 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15970 (eval $ac_link) 2>&5
15971 ac_status=$?
15972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15973 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15975 (eval $ac_try) 2>&5
15976 ac_status=$?
15977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15978 (exit $ac_status); }; }; then
15979 ac_cv_sizeof_void_p=`cat conftest.val`
15980 else
15981 echo "$as_me: program exited with status $ac_status" >&5
15982 echo "$as_me: failed program was:" >&5
15983 sed 's/^/| /' conftest.$ac_ext >&5
15984
15985 ( exit $ac_status )
15986 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
15987 See \`config.log' for more details." >&5
15988 echo "$as_me: error: cannot compute sizeof (void *), 77
15989 See \`config.log' for more details." >&2;}
15990 { (exit 1); exit 1; }; }
15991 fi
15992 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15993 fi
15994 fi
15995 rm -f conftest.val
15996 else
15997 ac_cv_sizeof_void_p=0
15998 fi
15999 fi
16000 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
16001 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
16002 cat >>confdefs.h <<_ACEOF
16003 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
16004 _ACEOF
16005
16006
16007 echo "$as_me:$LINENO: checking for int" >&5
16008 echo $ECHO_N "checking for int... $ECHO_C" >&6
16009 if test "${ac_cv_type_int+set}" = set; then
16010 echo $ECHO_N "(cached) $ECHO_C" >&6
16011 else
16012 cat >conftest.$ac_ext <<_ACEOF
16013 /* confdefs.h. */
16014 _ACEOF
16015 cat confdefs.h >>conftest.$ac_ext
16016 cat >>conftest.$ac_ext <<_ACEOF
16017 /* end confdefs.h. */
16018 $ac_includes_default
16019 int
16020 main ()
16021 {
16022 if ((int *) 0)
16023 return 0;
16024 if (sizeof (int))
16025 return 0;
16026 ;
16027 return 0;
16028 }
16029 _ACEOF
16030 rm -f conftest.$ac_objext
16031 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16032 (eval $ac_compile) 2>conftest.er1
16033 ac_status=$?
16034 grep -v '^ *+' conftest.er1 >conftest.err
16035 rm -f conftest.er1
16036 cat conftest.err >&5
16037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16038 (exit $ac_status); } &&
16039 { ac_try='test -z "$ac_c_werror_flag"
16040 || test ! -s conftest.err'
16041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16042 (eval $ac_try) 2>&5
16043 ac_status=$?
16044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16045 (exit $ac_status); }; } &&
16046 { ac_try='test -s conftest.$ac_objext'
16047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16048 (eval $ac_try) 2>&5
16049 ac_status=$?
16050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16051 (exit $ac_status); }; }; then
16052 ac_cv_type_int=yes
16053 else
16054 echo "$as_me: failed program was:" >&5
16055 sed 's/^/| /' conftest.$ac_ext >&5
16056
16057 ac_cv_type_int=no
16058 fi
16059 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16060 fi
16061 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
16062 echo "${ECHO_T}$ac_cv_type_int" >&6
16063
16064 echo "$as_me:$LINENO: checking size of int" >&5
16065 echo $ECHO_N "checking size of int... $ECHO_C" >&6
16066 if test "${ac_cv_sizeof_int+set}" = set; then
16067 echo $ECHO_N "(cached) $ECHO_C" >&6
16068 else
16069 if test "$ac_cv_type_int" = yes; then
16070 # The cast to unsigned long works around a bug in the HP C Compiler
16071 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16072 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16073 # This bug is HP SR number 8606223364.
16074 if test "$cross_compiling" = yes; then
16075 # Depending upon the size, compute the lo and hi bounds.
16076 cat >conftest.$ac_ext <<_ACEOF
16077 /* confdefs.h. */
16078 _ACEOF
16079 cat confdefs.h >>conftest.$ac_ext
16080 cat >>conftest.$ac_ext <<_ACEOF
16081 /* end confdefs.h. */
16082 $ac_includes_default
16083 int
16084 main ()
16085 {
16086 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
16087 test_array [0] = 0
16088
16089 ;
16090 return 0;
16091 }
16092 _ACEOF
16093 rm -f conftest.$ac_objext
16094 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16095 (eval $ac_compile) 2>conftest.er1
16096 ac_status=$?
16097 grep -v '^ *+' conftest.er1 >conftest.err
16098 rm -f conftest.er1
16099 cat conftest.err >&5
16100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16101 (exit $ac_status); } &&
16102 { ac_try='test -z "$ac_c_werror_flag"
16103 || test ! -s conftest.err'
16104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16105 (eval $ac_try) 2>&5
16106 ac_status=$?
16107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16108 (exit $ac_status); }; } &&
16109 { ac_try='test -s conftest.$ac_objext'
16110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16111 (eval $ac_try) 2>&5
16112 ac_status=$?
16113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16114 (exit $ac_status); }; }; then
16115 ac_lo=0 ac_mid=0
16116 while :; do
16117 cat >conftest.$ac_ext <<_ACEOF
16118 /* confdefs.h. */
16119 _ACEOF
16120 cat confdefs.h >>conftest.$ac_ext
16121 cat >>conftest.$ac_ext <<_ACEOF
16122 /* end confdefs.h. */
16123 $ac_includes_default
16124 int
16125 main ()
16126 {
16127 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
16128 test_array [0] = 0
16129
16130 ;
16131 return 0;
16132 }
16133 _ACEOF
16134 rm -f conftest.$ac_objext
16135 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16136 (eval $ac_compile) 2>conftest.er1
16137 ac_status=$?
16138 grep -v '^ *+' conftest.er1 >conftest.err
16139 rm -f conftest.er1
16140 cat conftest.err >&5
16141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16142 (exit $ac_status); } &&
16143 { ac_try='test -z "$ac_c_werror_flag"
16144 || test ! -s conftest.err'
16145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16146 (eval $ac_try) 2>&5
16147 ac_status=$?
16148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16149 (exit $ac_status); }; } &&
16150 { ac_try='test -s conftest.$ac_objext'
16151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16152 (eval $ac_try) 2>&5
16153 ac_status=$?
16154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16155 (exit $ac_status); }; }; then
16156 ac_hi=$ac_mid; break
16157 else
16158 echo "$as_me: failed program was:" >&5
16159 sed 's/^/| /' conftest.$ac_ext >&5
16160
16161 ac_lo=`expr $ac_mid + 1`
16162 if test $ac_lo -le $ac_mid; then
16163 ac_lo= ac_hi=
16164 break
16165 fi
16166 ac_mid=`expr 2 '*' $ac_mid + 1`
16167 fi
16168 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16169 done
16170 else
16171 echo "$as_me: failed program was:" >&5
16172 sed 's/^/| /' conftest.$ac_ext >&5
16173
16174 cat >conftest.$ac_ext <<_ACEOF
16175 /* confdefs.h. */
16176 _ACEOF
16177 cat confdefs.h >>conftest.$ac_ext
16178 cat >>conftest.$ac_ext <<_ACEOF
16179 /* end confdefs.h. */
16180 $ac_includes_default
16181 int
16182 main ()
16183 {
16184 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
16185 test_array [0] = 0
16186
16187 ;
16188 return 0;
16189 }
16190 _ACEOF
16191 rm -f conftest.$ac_objext
16192 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16193 (eval $ac_compile) 2>conftest.er1
16194 ac_status=$?
16195 grep -v '^ *+' conftest.er1 >conftest.err
16196 rm -f conftest.er1
16197 cat conftest.err >&5
16198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16199 (exit $ac_status); } &&
16200 { ac_try='test -z "$ac_c_werror_flag"
16201 || test ! -s conftest.err'
16202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16203 (eval $ac_try) 2>&5
16204 ac_status=$?
16205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16206 (exit $ac_status); }; } &&
16207 { ac_try='test -s conftest.$ac_objext'
16208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16209 (eval $ac_try) 2>&5
16210 ac_status=$?
16211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16212 (exit $ac_status); }; }; then
16213 ac_hi=-1 ac_mid=-1
16214 while :; do
16215 cat >conftest.$ac_ext <<_ACEOF
16216 /* confdefs.h. */
16217 _ACEOF
16218 cat confdefs.h >>conftest.$ac_ext
16219 cat >>conftest.$ac_ext <<_ACEOF
16220 /* end confdefs.h. */
16221 $ac_includes_default
16222 int
16223 main ()
16224 {
16225 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
16226 test_array [0] = 0
16227
16228 ;
16229 return 0;
16230 }
16231 _ACEOF
16232 rm -f conftest.$ac_objext
16233 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16234 (eval $ac_compile) 2>conftest.er1
16235 ac_status=$?
16236 grep -v '^ *+' conftest.er1 >conftest.err
16237 rm -f conftest.er1
16238 cat conftest.err >&5
16239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16240 (exit $ac_status); } &&
16241 { ac_try='test -z "$ac_c_werror_flag"
16242 || test ! -s conftest.err'
16243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16244 (eval $ac_try) 2>&5
16245 ac_status=$?
16246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16247 (exit $ac_status); }; } &&
16248 { ac_try='test -s conftest.$ac_objext'
16249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16250 (eval $ac_try) 2>&5
16251 ac_status=$?
16252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16253 (exit $ac_status); }; }; then
16254 ac_lo=$ac_mid; break
16255 else
16256 echo "$as_me: failed program was:" >&5
16257 sed 's/^/| /' conftest.$ac_ext >&5
16258
16259 ac_hi=`expr '(' $ac_mid ')' - 1`
16260 if test $ac_mid -le $ac_hi; then
16261 ac_lo= ac_hi=
16262 break
16263 fi
16264 ac_mid=`expr 2 '*' $ac_mid`
16265 fi
16266 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16267 done
16268 else
16269 echo "$as_me: failed program was:" >&5
16270 sed 's/^/| /' conftest.$ac_ext >&5
16271
16272 ac_lo= ac_hi=
16273 fi
16274 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16275 fi
16276 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16277 # Binary search between lo and hi bounds.
16278 while test "x$ac_lo" != "x$ac_hi"; do
16279 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16280 cat >conftest.$ac_ext <<_ACEOF
16281 /* confdefs.h. */
16282 _ACEOF
16283 cat confdefs.h >>conftest.$ac_ext
16284 cat >>conftest.$ac_ext <<_ACEOF
16285 /* end confdefs.h. */
16286 $ac_includes_default
16287 int
16288 main ()
16289 {
16290 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
16291 test_array [0] = 0
16292
16293 ;
16294 return 0;
16295 }
16296 _ACEOF
16297 rm -f conftest.$ac_objext
16298 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16299 (eval $ac_compile) 2>conftest.er1
16300 ac_status=$?
16301 grep -v '^ *+' conftest.er1 >conftest.err
16302 rm -f conftest.er1
16303 cat conftest.err >&5
16304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16305 (exit $ac_status); } &&
16306 { ac_try='test -z "$ac_c_werror_flag"
16307 || test ! -s conftest.err'
16308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16309 (eval $ac_try) 2>&5
16310 ac_status=$?
16311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16312 (exit $ac_status); }; } &&
16313 { ac_try='test -s conftest.$ac_objext'
16314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16315 (eval $ac_try) 2>&5
16316 ac_status=$?
16317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16318 (exit $ac_status); }; }; then
16319 ac_hi=$ac_mid
16320 else
16321 echo "$as_me: failed program was:" >&5
16322 sed 's/^/| /' conftest.$ac_ext >&5
16323
16324 ac_lo=`expr '(' $ac_mid ')' + 1`
16325 fi
16326 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16327 done
16328 case $ac_lo in
16329 ?*) ac_cv_sizeof_int=$ac_lo;;
16330 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
16331 See \`config.log' for more details." >&5
16332 echo "$as_me: error: cannot compute sizeof (int), 77
16333 See \`config.log' for more details." >&2;}
16334 { (exit 1); exit 1; }; } ;;
16335 esac
16336 else
16337 if test "$cross_compiling" = yes; then
16338 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16339 See \`config.log' for more details." >&5
16340 echo "$as_me: error: cannot run test program while cross compiling
16341 See \`config.log' for more details." >&2;}
16342 { (exit 1); exit 1; }; }
16343 else
16344 cat >conftest.$ac_ext <<_ACEOF
16345 /* confdefs.h. */
16346 _ACEOF
16347 cat confdefs.h >>conftest.$ac_ext
16348 cat >>conftest.$ac_ext <<_ACEOF
16349 /* end confdefs.h. */
16350 $ac_includes_default
16351 long longval () { return (long) (sizeof (int)); }
16352 unsigned long ulongval () { return (long) (sizeof (int)); }
16353 #include <stdio.h>
16354 #include <stdlib.h>
16355 int
16356 main ()
16357 {
16358
16359 FILE *f = fopen ("conftest.val", "w");
16360 if (! f)
16361 exit (1);
16362 if (((long) (sizeof (int))) < 0)
16363 {
16364 long i = longval ();
16365 if (i != ((long) (sizeof (int))))
16366 exit (1);
16367 fprintf (f, "%ld\n", i);
16368 }
16369 else
16370 {
16371 unsigned long i = ulongval ();
16372 if (i != ((long) (sizeof (int))))
16373 exit (1);
16374 fprintf (f, "%lu\n", i);
16375 }
16376 exit (ferror (f) || fclose (f) != 0);
16377
16378 ;
16379 return 0;
16380 }
16381 _ACEOF
16382 rm -f conftest$ac_exeext
16383 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16384 (eval $ac_link) 2>&5
16385 ac_status=$?
16386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16387 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16389 (eval $ac_try) 2>&5
16390 ac_status=$?
16391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16392 (exit $ac_status); }; }; then
16393 ac_cv_sizeof_int=`cat conftest.val`
16394 else
16395 echo "$as_me: program exited with status $ac_status" >&5
16396 echo "$as_me: failed program was:" >&5
16397 sed 's/^/| /' conftest.$ac_ext >&5
16398
16399 ( exit $ac_status )
16400 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
16401 See \`config.log' for more details." >&5
16402 echo "$as_me: error: cannot compute sizeof (int), 77
16403 See \`config.log' for more details." >&2;}
16404 { (exit 1); exit 1; }; }
16405 fi
16406 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16407 fi
16408 fi
16409 rm -f conftest.val
16410 else
16411 ac_cv_sizeof_int=0
16412 fi
16413 fi
16414 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
16415 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
16416 cat >>confdefs.h <<_ACEOF
16417 #define SIZEOF_INT $ac_cv_sizeof_int
16418 _ACEOF
16419
16420
16421 echo "$as_me:$LINENO: checking for long" >&5
16422 echo $ECHO_N "checking for long... $ECHO_C" >&6
16423 if test "${ac_cv_type_long+set}" = set; then
16424 echo $ECHO_N "(cached) $ECHO_C" >&6
16425 else
16426 cat >conftest.$ac_ext <<_ACEOF
16427 /* confdefs.h. */
16428 _ACEOF
16429 cat confdefs.h >>conftest.$ac_ext
16430 cat >>conftest.$ac_ext <<_ACEOF
16431 /* end confdefs.h. */
16432 $ac_includes_default
16433 int
16434 main ()
16435 {
16436 if ((long *) 0)
16437 return 0;
16438 if (sizeof (long))
16439 return 0;
16440 ;
16441 return 0;
16442 }
16443 _ACEOF
16444 rm -f conftest.$ac_objext
16445 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16446 (eval $ac_compile) 2>conftest.er1
16447 ac_status=$?
16448 grep -v '^ *+' conftest.er1 >conftest.err
16449 rm -f conftest.er1
16450 cat conftest.err >&5
16451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16452 (exit $ac_status); } &&
16453 { ac_try='test -z "$ac_c_werror_flag"
16454 || test ! -s conftest.err'
16455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16456 (eval $ac_try) 2>&5
16457 ac_status=$?
16458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16459 (exit $ac_status); }; } &&
16460 { ac_try='test -s conftest.$ac_objext'
16461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16462 (eval $ac_try) 2>&5
16463 ac_status=$?
16464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16465 (exit $ac_status); }; }; then
16466 ac_cv_type_long=yes
16467 else
16468 echo "$as_me: failed program was:" >&5
16469 sed 's/^/| /' conftest.$ac_ext >&5
16470
16471 ac_cv_type_long=no
16472 fi
16473 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16474 fi
16475 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
16476 echo "${ECHO_T}$ac_cv_type_long" >&6
16477
16478 echo "$as_me:$LINENO: checking size of long" >&5
16479 echo $ECHO_N "checking size of long... $ECHO_C" >&6
16480 if test "${ac_cv_sizeof_long+set}" = set; then
16481 echo $ECHO_N "(cached) $ECHO_C" >&6
16482 else
16483 if test "$ac_cv_type_long" = yes; then
16484 # The cast to unsigned long works around a bug in the HP C Compiler
16485 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16486 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16487 # This bug is HP SR number 8606223364.
16488 if test "$cross_compiling" = yes; then
16489 # Depending upon the size, compute the lo and hi bounds.
16490 cat >conftest.$ac_ext <<_ACEOF
16491 /* confdefs.h. */
16492 _ACEOF
16493 cat confdefs.h >>conftest.$ac_ext
16494 cat >>conftest.$ac_ext <<_ACEOF
16495 /* end confdefs.h. */
16496 $ac_includes_default
16497 int
16498 main ()
16499 {
16500 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
16501 test_array [0] = 0
16502
16503 ;
16504 return 0;
16505 }
16506 _ACEOF
16507 rm -f conftest.$ac_objext
16508 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16509 (eval $ac_compile) 2>conftest.er1
16510 ac_status=$?
16511 grep -v '^ *+' conftest.er1 >conftest.err
16512 rm -f conftest.er1
16513 cat conftest.err >&5
16514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16515 (exit $ac_status); } &&
16516 { ac_try='test -z "$ac_c_werror_flag"
16517 || test ! -s conftest.err'
16518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16519 (eval $ac_try) 2>&5
16520 ac_status=$?
16521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16522 (exit $ac_status); }; } &&
16523 { ac_try='test -s conftest.$ac_objext'
16524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16525 (eval $ac_try) 2>&5
16526 ac_status=$?
16527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16528 (exit $ac_status); }; }; then
16529 ac_lo=0 ac_mid=0
16530 while :; do
16531 cat >conftest.$ac_ext <<_ACEOF
16532 /* confdefs.h. */
16533 _ACEOF
16534 cat confdefs.h >>conftest.$ac_ext
16535 cat >>conftest.$ac_ext <<_ACEOF
16536 /* end confdefs.h. */
16537 $ac_includes_default
16538 int
16539 main ()
16540 {
16541 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
16542 test_array [0] = 0
16543
16544 ;
16545 return 0;
16546 }
16547 _ACEOF
16548 rm -f conftest.$ac_objext
16549 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16550 (eval $ac_compile) 2>conftest.er1
16551 ac_status=$?
16552 grep -v '^ *+' conftest.er1 >conftest.err
16553 rm -f conftest.er1
16554 cat conftest.err >&5
16555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16556 (exit $ac_status); } &&
16557 { ac_try='test -z "$ac_c_werror_flag"
16558 || test ! -s conftest.err'
16559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16560 (eval $ac_try) 2>&5
16561 ac_status=$?
16562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16563 (exit $ac_status); }; } &&
16564 { ac_try='test -s conftest.$ac_objext'
16565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16566 (eval $ac_try) 2>&5
16567 ac_status=$?
16568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16569 (exit $ac_status); }; }; then
16570 ac_hi=$ac_mid; break
16571 else
16572 echo "$as_me: failed program was:" >&5
16573 sed 's/^/| /' conftest.$ac_ext >&5
16574
16575 ac_lo=`expr $ac_mid + 1`
16576 if test $ac_lo -le $ac_mid; then
16577 ac_lo= ac_hi=
16578 break
16579 fi
16580 ac_mid=`expr 2 '*' $ac_mid + 1`
16581 fi
16582 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16583 done
16584 else
16585 echo "$as_me: failed program was:" >&5
16586 sed 's/^/| /' conftest.$ac_ext >&5
16587
16588 cat >conftest.$ac_ext <<_ACEOF
16589 /* confdefs.h. */
16590 _ACEOF
16591 cat confdefs.h >>conftest.$ac_ext
16592 cat >>conftest.$ac_ext <<_ACEOF
16593 /* end confdefs.h. */
16594 $ac_includes_default
16595 int
16596 main ()
16597 {
16598 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
16599 test_array [0] = 0
16600
16601 ;
16602 return 0;
16603 }
16604 _ACEOF
16605 rm -f conftest.$ac_objext
16606 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16607 (eval $ac_compile) 2>conftest.er1
16608 ac_status=$?
16609 grep -v '^ *+' conftest.er1 >conftest.err
16610 rm -f conftest.er1
16611 cat conftest.err >&5
16612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16613 (exit $ac_status); } &&
16614 { ac_try='test -z "$ac_c_werror_flag"
16615 || test ! -s conftest.err'
16616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16617 (eval $ac_try) 2>&5
16618 ac_status=$?
16619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16620 (exit $ac_status); }; } &&
16621 { ac_try='test -s conftest.$ac_objext'
16622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16623 (eval $ac_try) 2>&5
16624 ac_status=$?
16625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16626 (exit $ac_status); }; }; then
16627 ac_hi=-1 ac_mid=-1
16628 while :; do
16629 cat >conftest.$ac_ext <<_ACEOF
16630 /* confdefs.h. */
16631 _ACEOF
16632 cat confdefs.h >>conftest.$ac_ext
16633 cat >>conftest.$ac_ext <<_ACEOF
16634 /* end confdefs.h. */
16635 $ac_includes_default
16636 int
16637 main ()
16638 {
16639 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
16640 test_array [0] = 0
16641
16642 ;
16643 return 0;
16644 }
16645 _ACEOF
16646 rm -f conftest.$ac_objext
16647 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16648 (eval $ac_compile) 2>conftest.er1
16649 ac_status=$?
16650 grep -v '^ *+' conftest.er1 >conftest.err
16651 rm -f conftest.er1
16652 cat conftest.err >&5
16653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16654 (exit $ac_status); } &&
16655 { ac_try='test -z "$ac_c_werror_flag"
16656 || test ! -s conftest.err'
16657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16658 (eval $ac_try) 2>&5
16659 ac_status=$?
16660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16661 (exit $ac_status); }; } &&
16662 { ac_try='test -s conftest.$ac_objext'
16663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16664 (eval $ac_try) 2>&5
16665 ac_status=$?
16666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16667 (exit $ac_status); }; }; then
16668 ac_lo=$ac_mid; break
16669 else
16670 echo "$as_me: failed program was:" >&5
16671 sed 's/^/| /' conftest.$ac_ext >&5
16672
16673 ac_hi=`expr '(' $ac_mid ')' - 1`
16674 if test $ac_mid -le $ac_hi; then
16675 ac_lo= ac_hi=
16676 break
16677 fi
16678 ac_mid=`expr 2 '*' $ac_mid`
16679 fi
16680 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16681 done
16682 else
16683 echo "$as_me: failed program was:" >&5
16684 sed 's/^/| /' conftest.$ac_ext >&5
16685
16686 ac_lo= ac_hi=
16687 fi
16688 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16689 fi
16690 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16691 # Binary search between lo and hi bounds.
16692 while test "x$ac_lo" != "x$ac_hi"; do
16693 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16694 cat >conftest.$ac_ext <<_ACEOF
16695 /* confdefs.h. */
16696 _ACEOF
16697 cat confdefs.h >>conftest.$ac_ext
16698 cat >>conftest.$ac_ext <<_ACEOF
16699 /* end confdefs.h. */
16700 $ac_includes_default
16701 int
16702 main ()
16703 {
16704 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
16705 test_array [0] = 0
16706
16707 ;
16708 return 0;
16709 }
16710 _ACEOF
16711 rm -f conftest.$ac_objext
16712 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16713 (eval $ac_compile) 2>conftest.er1
16714 ac_status=$?
16715 grep -v '^ *+' conftest.er1 >conftest.err
16716 rm -f conftest.er1
16717 cat conftest.err >&5
16718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16719 (exit $ac_status); } &&
16720 { ac_try='test -z "$ac_c_werror_flag"
16721 || test ! -s conftest.err'
16722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16723 (eval $ac_try) 2>&5
16724 ac_status=$?
16725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16726 (exit $ac_status); }; } &&
16727 { ac_try='test -s conftest.$ac_objext'
16728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16729 (eval $ac_try) 2>&5
16730 ac_status=$?
16731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16732 (exit $ac_status); }; }; then
16733 ac_hi=$ac_mid
16734 else
16735 echo "$as_me: failed program was:" >&5
16736 sed 's/^/| /' conftest.$ac_ext >&5
16737
16738 ac_lo=`expr '(' $ac_mid ')' + 1`
16739 fi
16740 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16741 done
16742 case $ac_lo in
16743 ?*) ac_cv_sizeof_long=$ac_lo;;
16744 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
16745 See \`config.log' for more details." >&5
16746 echo "$as_me: error: cannot compute sizeof (long), 77
16747 See \`config.log' for more details." >&2;}
16748 { (exit 1); exit 1; }; } ;;
16749 esac
16750 else
16751 if test "$cross_compiling" = yes; then
16752 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16753 See \`config.log' for more details." >&5
16754 echo "$as_me: error: cannot run test program while cross compiling
16755 See \`config.log' for more details." >&2;}
16756 { (exit 1); exit 1; }; }
16757 else
16758 cat >conftest.$ac_ext <<_ACEOF
16759 /* confdefs.h. */
16760 _ACEOF
16761 cat confdefs.h >>conftest.$ac_ext
16762 cat >>conftest.$ac_ext <<_ACEOF
16763 /* end confdefs.h. */
16764 $ac_includes_default
16765 long longval () { return (long) (sizeof (long)); }
16766 unsigned long ulongval () { return (long) (sizeof (long)); }
16767 #include <stdio.h>
16768 #include <stdlib.h>
16769 int
16770 main ()
16771 {
16772
16773 FILE *f = fopen ("conftest.val", "w");
16774 if (! f)
16775 exit (1);
16776 if (((long) (sizeof (long))) < 0)
16777 {
16778 long i = longval ();
16779 if (i != ((long) (sizeof (long))))
16780 exit (1);
16781 fprintf (f, "%ld\n", i);
16782 }
16783 else
16784 {
16785 unsigned long i = ulongval ();
16786 if (i != ((long) (sizeof (long))))
16787 exit (1);
16788 fprintf (f, "%lu\n", i);
16789 }
16790 exit (ferror (f) || fclose (f) != 0);
16791
16792 ;
16793 return 0;
16794 }
16795 _ACEOF
16796 rm -f conftest$ac_exeext
16797 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16798 (eval $ac_link) 2>&5
16799 ac_status=$?
16800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16801 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16803 (eval $ac_try) 2>&5
16804 ac_status=$?
16805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16806 (exit $ac_status); }; }; then
16807 ac_cv_sizeof_long=`cat conftest.val`
16808 else
16809 echo "$as_me: program exited with status $ac_status" >&5
16810 echo "$as_me: failed program was:" >&5
16811 sed 's/^/| /' conftest.$ac_ext >&5
16812
16813 ( exit $ac_status )
16814 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
16815 See \`config.log' for more details." >&5
16816 echo "$as_me: error: cannot compute sizeof (long), 77
16817 See \`config.log' for more details." >&2;}
16818 { (exit 1); exit 1; }; }
16819 fi
16820 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16821 fi
16822 fi
16823 rm -f conftest.val
16824 else
16825 ac_cv_sizeof_long=0
16826 fi
16827 fi
16828 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
16829 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
16830 cat >>confdefs.h <<_ACEOF
16831 #define SIZEOF_LONG $ac_cv_sizeof_long
16832 _ACEOF
16833
16834
16835 echo "$as_me:$LINENO: checking for size_t" >&5
16836 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
16837 if test "${ac_cv_type_size_t+set}" = set; then
16838 echo $ECHO_N "(cached) $ECHO_C" >&6
16839 else
16840 cat >conftest.$ac_ext <<_ACEOF
16841 /* confdefs.h. */
16842 _ACEOF
16843 cat confdefs.h >>conftest.$ac_ext
16844 cat >>conftest.$ac_ext <<_ACEOF
16845 /* end confdefs.h. */
16846 $ac_includes_default
16847 int
16848 main ()
16849 {
16850 if ((size_t *) 0)
16851 return 0;
16852 if (sizeof (size_t))
16853 return 0;
16854 ;
16855 return 0;
16856 }
16857 _ACEOF
16858 rm -f conftest.$ac_objext
16859 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16860 (eval $ac_compile) 2>conftest.er1
16861 ac_status=$?
16862 grep -v '^ *+' conftest.er1 >conftest.err
16863 rm -f conftest.er1
16864 cat conftest.err >&5
16865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16866 (exit $ac_status); } &&
16867 { ac_try='test -z "$ac_c_werror_flag"
16868 || test ! -s conftest.err'
16869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16870 (eval $ac_try) 2>&5
16871 ac_status=$?
16872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16873 (exit $ac_status); }; } &&
16874 { ac_try='test -s conftest.$ac_objext'
16875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16876 (eval $ac_try) 2>&5
16877 ac_status=$?
16878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16879 (exit $ac_status); }; }; then
16880 ac_cv_type_size_t=yes
16881 else
16882 echo "$as_me: failed program was:" >&5
16883 sed 's/^/| /' conftest.$ac_ext >&5
16884
16885 ac_cv_type_size_t=no
16886 fi
16887 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16888 fi
16889 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
16890 echo "${ECHO_T}$ac_cv_type_size_t" >&6
16891
16892 echo "$as_me:$LINENO: checking size of size_t" >&5
16893 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6
16894 if test "${ac_cv_sizeof_size_t+set}" = set; then
16895 echo $ECHO_N "(cached) $ECHO_C" >&6
16896 else
16897 if test "$ac_cv_type_size_t" = yes; then
16898 # The cast to unsigned long works around a bug in the HP C Compiler
16899 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16900 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16901 # This bug is HP SR number 8606223364.
16902 if test "$cross_compiling" = yes; then
16903 # Depending upon the size, compute the lo and hi bounds.
16904 cat >conftest.$ac_ext <<_ACEOF
16905 /* confdefs.h. */
16906 _ACEOF
16907 cat confdefs.h >>conftest.$ac_ext
16908 cat >>conftest.$ac_ext <<_ACEOF
16909 /* end confdefs.h. */
16910 $ac_includes_default
16911 int
16912 main ()
16913 {
16914 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= 0)];
16915 test_array [0] = 0
16916
16917 ;
16918 return 0;
16919 }
16920 _ACEOF
16921 rm -f conftest.$ac_objext
16922 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16923 (eval $ac_compile) 2>conftest.er1
16924 ac_status=$?
16925 grep -v '^ *+' conftest.er1 >conftest.err
16926 rm -f conftest.er1
16927 cat conftest.err >&5
16928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16929 (exit $ac_status); } &&
16930 { ac_try='test -z "$ac_c_werror_flag"
16931 || test ! -s conftest.err'
16932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16933 (eval $ac_try) 2>&5
16934 ac_status=$?
16935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16936 (exit $ac_status); }; } &&
16937 { ac_try='test -s conftest.$ac_objext'
16938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16939 (eval $ac_try) 2>&5
16940 ac_status=$?
16941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16942 (exit $ac_status); }; }; then
16943 ac_lo=0 ac_mid=0
16944 while :; do
16945 cat >conftest.$ac_ext <<_ACEOF
16946 /* confdefs.h. */
16947 _ACEOF
16948 cat confdefs.h >>conftest.$ac_ext
16949 cat >>conftest.$ac_ext <<_ACEOF
16950 /* end confdefs.h. */
16951 $ac_includes_default
16952 int
16953 main ()
16954 {
16955 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
16956 test_array [0] = 0
16957
16958 ;
16959 return 0;
16960 }
16961 _ACEOF
16962 rm -f conftest.$ac_objext
16963 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16964 (eval $ac_compile) 2>conftest.er1
16965 ac_status=$?
16966 grep -v '^ *+' conftest.er1 >conftest.err
16967 rm -f conftest.er1
16968 cat conftest.err >&5
16969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16970 (exit $ac_status); } &&
16971 { ac_try='test -z "$ac_c_werror_flag"
16972 || test ! -s conftest.err'
16973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16974 (eval $ac_try) 2>&5
16975 ac_status=$?
16976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16977 (exit $ac_status); }; } &&
16978 { ac_try='test -s conftest.$ac_objext'
16979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16980 (eval $ac_try) 2>&5
16981 ac_status=$?
16982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16983 (exit $ac_status); }; }; then
16984 ac_hi=$ac_mid; break
16985 else
16986 echo "$as_me: failed program was:" >&5
16987 sed 's/^/| /' conftest.$ac_ext >&5
16988
16989 ac_lo=`expr $ac_mid + 1`
16990 if test $ac_lo -le $ac_mid; then
16991 ac_lo= ac_hi=
16992 break
16993 fi
16994 ac_mid=`expr 2 '*' $ac_mid + 1`
16995 fi
16996 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16997 done
16998 else
16999 echo "$as_me: failed program was:" >&5
17000 sed 's/^/| /' conftest.$ac_ext >&5
17001
17002 cat >conftest.$ac_ext <<_ACEOF
17003 /* confdefs.h. */
17004 _ACEOF
17005 cat confdefs.h >>conftest.$ac_ext
17006 cat >>conftest.$ac_ext <<_ACEOF
17007 /* end confdefs.h. */
17008 $ac_includes_default
17009 int
17010 main ()
17011 {
17012 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) < 0)];
17013 test_array [0] = 0
17014
17015 ;
17016 return 0;
17017 }
17018 _ACEOF
17019 rm -f conftest.$ac_objext
17020 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17021 (eval $ac_compile) 2>conftest.er1
17022 ac_status=$?
17023 grep -v '^ *+' conftest.er1 >conftest.err
17024 rm -f conftest.er1
17025 cat conftest.err >&5
17026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17027 (exit $ac_status); } &&
17028 { ac_try='test -z "$ac_c_werror_flag"
17029 || test ! -s conftest.err'
17030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17031 (eval $ac_try) 2>&5
17032 ac_status=$?
17033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17034 (exit $ac_status); }; } &&
17035 { ac_try='test -s conftest.$ac_objext'
17036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17037 (eval $ac_try) 2>&5
17038 ac_status=$?
17039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17040 (exit $ac_status); }; }; then
17041 ac_hi=-1 ac_mid=-1
17042 while :; do
17043 cat >conftest.$ac_ext <<_ACEOF
17044 /* confdefs.h. */
17045 _ACEOF
17046 cat confdefs.h >>conftest.$ac_ext
17047 cat >>conftest.$ac_ext <<_ACEOF
17048 /* end confdefs.h. */
17049 $ac_includes_default
17050 int
17051 main ()
17052 {
17053 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= $ac_mid)];
17054 test_array [0] = 0
17055
17056 ;
17057 return 0;
17058 }
17059 _ACEOF
17060 rm -f conftest.$ac_objext
17061 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17062 (eval $ac_compile) 2>conftest.er1
17063 ac_status=$?
17064 grep -v '^ *+' conftest.er1 >conftest.err
17065 rm -f conftest.er1
17066 cat conftest.err >&5
17067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17068 (exit $ac_status); } &&
17069 { ac_try='test -z "$ac_c_werror_flag"
17070 || test ! -s conftest.err'
17071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17072 (eval $ac_try) 2>&5
17073 ac_status=$?
17074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17075 (exit $ac_status); }; } &&
17076 { ac_try='test -s conftest.$ac_objext'
17077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17078 (eval $ac_try) 2>&5
17079 ac_status=$?
17080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17081 (exit $ac_status); }; }; then
17082 ac_lo=$ac_mid; break
17083 else
17084 echo "$as_me: failed program was:" >&5
17085 sed 's/^/| /' conftest.$ac_ext >&5
17086
17087 ac_hi=`expr '(' $ac_mid ')' - 1`
17088 if test $ac_mid -le $ac_hi; then
17089 ac_lo= ac_hi=
17090 break
17091 fi
17092 ac_mid=`expr 2 '*' $ac_mid`
17093 fi
17094 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17095 done
17096 else
17097 echo "$as_me: failed program was:" >&5
17098 sed 's/^/| /' conftest.$ac_ext >&5
17099
17100 ac_lo= ac_hi=
17101 fi
17102 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17103 fi
17104 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17105 # Binary search between lo and hi bounds.
17106 while test "x$ac_lo" != "x$ac_hi"; do
17107 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17108 cat >conftest.$ac_ext <<_ACEOF
17109 /* confdefs.h. */
17110 _ACEOF
17111 cat confdefs.h >>conftest.$ac_ext
17112 cat >>conftest.$ac_ext <<_ACEOF
17113 /* end confdefs.h. */
17114 $ac_includes_default
17115 int
17116 main ()
17117 {
17118 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
17119 test_array [0] = 0
17120
17121 ;
17122 return 0;
17123 }
17124 _ACEOF
17125 rm -f conftest.$ac_objext
17126 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17127 (eval $ac_compile) 2>conftest.er1
17128 ac_status=$?
17129 grep -v '^ *+' conftest.er1 >conftest.err
17130 rm -f conftest.er1
17131 cat conftest.err >&5
17132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17133 (exit $ac_status); } &&
17134 { ac_try='test -z "$ac_c_werror_flag"
17135 || test ! -s conftest.err'
17136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17137 (eval $ac_try) 2>&5
17138 ac_status=$?
17139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17140 (exit $ac_status); }; } &&
17141 { ac_try='test -s conftest.$ac_objext'
17142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17143 (eval $ac_try) 2>&5
17144 ac_status=$?
17145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17146 (exit $ac_status); }; }; then
17147 ac_hi=$ac_mid
17148 else
17149 echo "$as_me: failed program was:" >&5
17150 sed 's/^/| /' conftest.$ac_ext >&5
17151
17152 ac_lo=`expr '(' $ac_mid ')' + 1`
17153 fi
17154 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17155 done
17156 case $ac_lo in
17157 ?*) ac_cv_sizeof_size_t=$ac_lo;;
17158 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
17159 See \`config.log' for more details." >&5
17160 echo "$as_me: error: cannot compute sizeof (size_t), 77
17161 See \`config.log' for more details." >&2;}
17162 { (exit 1); exit 1; }; } ;;
17163 esac
17164 else
17165 if test "$cross_compiling" = yes; then
17166 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17167 See \`config.log' for more details." >&5
17168 echo "$as_me: error: cannot run test program while cross compiling
17169 See \`config.log' for more details." >&2;}
17170 { (exit 1); exit 1; }; }
17171 else
17172 cat >conftest.$ac_ext <<_ACEOF
17173 /* confdefs.h. */
17174 _ACEOF
17175 cat confdefs.h >>conftest.$ac_ext
17176 cat >>conftest.$ac_ext <<_ACEOF
17177 /* end confdefs.h. */
17178 $ac_includes_default
17179 long longval () { return (long) (sizeof (size_t)); }
17180 unsigned long ulongval () { return (long) (sizeof (size_t)); }
17181 #include <stdio.h>
17182 #include <stdlib.h>
17183 int
17184 main ()
17185 {
17186
17187 FILE *f = fopen ("conftest.val", "w");
17188 if (! f)
17189 exit (1);
17190 if (((long) (sizeof (size_t))) < 0)
17191 {
17192 long i = longval ();
17193 if (i != ((long) (sizeof (size_t))))
17194 exit (1);
17195 fprintf (f, "%ld\n", i);
17196 }
17197 else
17198 {
17199 unsigned long i = ulongval ();
17200 if (i != ((long) (sizeof (size_t))))
17201 exit (1);
17202 fprintf (f, "%lu\n", i);
17203 }
17204 exit (ferror (f) || fclose (f) != 0);
17205
17206 ;
17207 return 0;
17208 }
17209 _ACEOF
17210 rm -f conftest$ac_exeext
17211 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17212 (eval $ac_link) 2>&5
17213 ac_status=$?
17214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17215 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17217 (eval $ac_try) 2>&5
17218 ac_status=$?
17219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17220 (exit $ac_status); }; }; then
17221 ac_cv_sizeof_size_t=`cat conftest.val`
17222 else
17223 echo "$as_me: program exited with status $ac_status" >&5
17224 echo "$as_me: failed program was:" >&5
17225 sed 's/^/| /' conftest.$ac_ext >&5
17226
17227 ( exit $ac_status )
17228 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
17229 See \`config.log' for more details." >&5
17230 echo "$as_me: error: cannot compute sizeof (size_t), 77
17231 See \`config.log' for more details." >&2;}
17232 { (exit 1); exit 1; }; }
17233 fi
17234 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17235 fi
17236 fi
17237 rm -f conftest.val
17238 else
17239 ac_cv_sizeof_size_t=0
17240 fi
17241 fi
17242 echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
17243 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6
17244 cat >>confdefs.h <<_ACEOF
17245 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
17246 _ACEOF
17247
17248
17249
17250 case "${host}" in
17251 arm-*-linux* )
17252 echo "$as_me:$LINENO: checking for long long" >&5
17253 echo $ECHO_N "checking for long long... $ECHO_C" >&6
17254 if test "${ac_cv_type_long_long+set}" = set; then
17255 echo $ECHO_N "(cached) $ECHO_C" >&6
17256 else
17257 cat >conftest.$ac_ext <<_ACEOF
17258 /* confdefs.h. */
17259 _ACEOF
17260 cat confdefs.h >>conftest.$ac_ext
17261 cat >>conftest.$ac_ext <<_ACEOF
17262 /* end confdefs.h. */
17263 $ac_includes_default
17264 int
17265 main ()
17266 {
17267 if ((long long *) 0)
17268 return 0;
17269 if (sizeof (long long))
17270 return 0;
17271 ;
17272 return 0;
17273 }
17274 _ACEOF
17275 rm -f conftest.$ac_objext
17276 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17277 (eval $ac_compile) 2>conftest.er1
17278 ac_status=$?
17279 grep -v '^ *+' conftest.er1 >conftest.err
17280 rm -f conftest.er1
17281 cat conftest.err >&5
17282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17283 (exit $ac_status); } &&
17284 { ac_try='test -z "$ac_c_werror_flag"
17285 || test ! -s conftest.err'
17286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17287 (eval $ac_try) 2>&5
17288 ac_status=$?
17289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17290 (exit $ac_status); }; } &&
17291 { ac_try='test -s conftest.$ac_objext'
17292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17293 (eval $ac_try) 2>&5
17294 ac_status=$?
17295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17296 (exit $ac_status); }; }; then
17297 ac_cv_type_long_long=yes
17298 else
17299 echo "$as_me: failed program was:" >&5
17300 sed 's/^/| /' conftest.$ac_ext >&5
17301
17302 ac_cv_type_long_long=no
17303 fi
17304 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17305 fi
17306 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
17307 echo "${ECHO_T}$ac_cv_type_long_long" >&6
17308
17309 echo "$as_me:$LINENO: checking size of long long" >&5
17310 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
17311 if test "${ac_cv_sizeof_long_long+set}" = set; then
17312 echo $ECHO_N "(cached) $ECHO_C" >&6
17313 else
17314 if test "$ac_cv_type_long_long" = yes; then
17315 # The cast to unsigned long works around a bug in the HP C Compiler
17316 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17317 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17318 # This bug is HP SR number 8606223364.
17319 if test "$cross_compiling" = yes; then
17320 # Depending upon the size, compute the lo and hi bounds.
17321 cat >conftest.$ac_ext <<_ACEOF
17322 /* confdefs.h. */
17323 _ACEOF
17324 cat confdefs.h >>conftest.$ac_ext
17325 cat >>conftest.$ac_ext <<_ACEOF
17326 /* end confdefs.h. */
17327 $ac_includes_default
17328 int
17329 main ()
17330 {
17331 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
17332 test_array [0] = 0
17333
17334 ;
17335 return 0;
17336 }
17337 _ACEOF
17338 rm -f conftest.$ac_objext
17339 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17340 (eval $ac_compile) 2>conftest.er1
17341 ac_status=$?
17342 grep -v '^ *+' conftest.er1 >conftest.err
17343 rm -f conftest.er1
17344 cat conftest.err >&5
17345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17346 (exit $ac_status); } &&
17347 { ac_try='test -z "$ac_c_werror_flag"
17348 || test ! -s conftest.err'
17349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17350 (eval $ac_try) 2>&5
17351 ac_status=$?
17352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17353 (exit $ac_status); }; } &&
17354 { ac_try='test -s conftest.$ac_objext'
17355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17356 (eval $ac_try) 2>&5
17357 ac_status=$?
17358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17359 (exit $ac_status); }; }; then
17360 ac_lo=0 ac_mid=0
17361 while :; do
17362 cat >conftest.$ac_ext <<_ACEOF
17363 /* confdefs.h. */
17364 _ACEOF
17365 cat confdefs.h >>conftest.$ac_ext
17366 cat >>conftest.$ac_ext <<_ACEOF
17367 /* end confdefs.h. */
17368 $ac_includes_default
17369 int
17370 main ()
17371 {
17372 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17373 test_array [0] = 0
17374
17375 ;
17376 return 0;
17377 }
17378 _ACEOF
17379 rm -f conftest.$ac_objext
17380 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17381 (eval $ac_compile) 2>conftest.er1
17382 ac_status=$?
17383 grep -v '^ *+' conftest.er1 >conftest.err
17384 rm -f conftest.er1
17385 cat conftest.err >&5
17386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17387 (exit $ac_status); } &&
17388 { ac_try='test -z "$ac_c_werror_flag"
17389 || test ! -s conftest.err'
17390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17391 (eval $ac_try) 2>&5
17392 ac_status=$?
17393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17394 (exit $ac_status); }; } &&
17395 { ac_try='test -s conftest.$ac_objext'
17396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17397 (eval $ac_try) 2>&5
17398 ac_status=$?
17399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17400 (exit $ac_status); }; }; then
17401 ac_hi=$ac_mid; break
17402 else
17403 echo "$as_me: failed program was:" >&5
17404 sed 's/^/| /' conftest.$ac_ext >&5
17405
17406 ac_lo=`expr $ac_mid + 1`
17407 if test $ac_lo -le $ac_mid; then
17408 ac_lo= ac_hi=
17409 break
17410 fi
17411 ac_mid=`expr 2 '*' $ac_mid + 1`
17412 fi
17413 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17414 done
17415 else
17416 echo "$as_me: failed program was:" >&5
17417 sed 's/^/| /' conftest.$ac_ext >&5
17418
17419 cat >conftest.$ac_ext <<_ACEOF
17420 /* confdefs.h. */
17421 _ACEOF
17422 cat confdefs.h >>conftest.$ac_ext
17423 cat >>conftest.$ac_ext <<_ACEOF
17424 /* end confdefs.h. */
17425 $ac_includes_default
17426 int
17427 main ()
17428 {
17429 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
17430 test_array [0] = 0
17431
17432 ;
17433 return 0;
17434 }
17435 _ACEOF
17436 rm -f conftest.$ac_objext
17437 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17438 (eval $ac_compile) 2>conftest.er1
17439 ac_status=$?
17440 grep -v '^ *+' conftest.er1 >conftest.err
17441 rm -f conftest.er1
17442 cat conftest.err >&5
17443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17444 (exit $ac_status); } &&
17445 { ac_try='test -z "$ac_c_werror_flag"
17446 || test ! -s conftest.err'
17447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17448 (eval $ac_try) 2>&5
17449 ac_status=$?
17450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17451 (exit $ac_status); }; } &&
17452 { ac_try='test -s conftest.$ac_objext'
17453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17454 (eval $ac_try) 2>&5
17455 ac_status=$?
17456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17457 (exit $ac_status); }; }; then
17458 ac_hi=-1 ac_mid=-1
17459 while :; do
17460 cat >conftest.$ac_ext <<_ACEOF
17461 /* confdefs.h. */
17462 _ACEOF
17463 cat confdefs.h >>conftest.$ac_ext
17464 cat >>conftest.$ac_ext <<_ACEOF
17465 /* end confdefs.h. */
17466 $ac_includes_default
17467 int
17468 main ()
17469 {
17470 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
17471 test_array [0] = 0
17472
17473 ;
17474 return 0;
17475 }
17476 _ACEOF
17477 rm -f conftest.$ac_objext
17478 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17479 (eval $ac_compile) 2>conftest.er1
17480 ac_status=$?
17481 grep -v '^ *+' conftest.er1 >conftest.err
17482 rm -f conftest.er1
17483 cat conftest.err >&5
17484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17485 (exit $ac_status); } &&
17486 { ac_try='test -z "$ac_c_werror_flag"
17487 || test ! -s conftest.err'
17488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17489 (eval $ac_try) 2>&5
17490 ac_status=$?
17491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17492 (exit $ac_status); }; } &&
17493 { ac_try='test -s conftest.$ac_objext'
17494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17495 (eval $ac_try) 2>&5
17496 ac_status=$?
17497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17498 (exit $ac_status); }; }; then
17499 ac_lo=$ac_mid; break
17500 else
17501 echo "$as_me: failed program was:" >&5
17502 sed 's/^/| /' conftest.$ac_ext >&5
17503
17504 ac_hi=`expr '(' $ac_mid ')' - 1`
17505 if test $ac_mid -le $ac_hi; then
17506 ac_lo= ac_hi=
17507 break
17508 fi
17509 ac_mid=`expr 2 '*' $ac_mid`
17510 fi
17511 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17512 done
17513 else
17514 echo "$as_me: failed program was:" >&5
17515 sed 's/^/| /' conftest.$ac_ext >&5
17516
17517 ac_lo= ac_hi=
17518 fi
17519 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17520 fi
17521 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17522 # Binary search between lo and hi bounds.
17523 while test "x$ac_lo" != "x$ac_hi"; do
17524 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17525 cat >conftest.$ac_ext <<_ACEOF
17526 /* confdefs.h. */
17527 _ACEOF
17528 cat confdefs.h >>conftest.$ac_ext
17529 cat >>conftest.$ac_ext <<_ACEOF
17530 /* end confdefs.h. */
17531 $ac_includes_default
17532 int
17533 main ()
17534 {
17535 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17536 test_array [0] = 0
17537
17538 ;
17539 return 0;
17540 }
17541 _ACEOF
17542 rm -f conftest.$ac_objext
17543 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17544 (eval $ac_compile) 2>conftest.er1
17545 ac_status=$?
17546 grep -v '^ *+' conftest.er1 >conftest.err
17547 rm -f conftest.er1
17548 cat conftest.err >&5
17549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17550 (exit $ac_status); } &&
17551 { ac_try='test -z "$ac_c_werror_flag"
17552 || test ! -s conftest.err'
17553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17554 (eval $ac_try) 2>&5
17555 ac_status=$?
17556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17557 (exit $ac_status); }; } &&
17558 { ac_try='test -s conftest.$ac_objext'
17559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17560 (eval $ac_try) 2>&5
17561 ac_status=$?
17562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17563 (exit $ac_status); }; }; then
17564 ac_hi=$ac_mid
17565 else
17566 echo "$as_me: failed program was:" >&5
17567 sed 's/^/| /' conftest.$ac_ext >&5
17568
17569 ac_lo=`expr '(' $ac_mid ')' + 1`
17570 fi
17571 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17572 done
17573 case $ac_lo in
17574 ?*) ac_cv_sizeof_long_long=$ac_lo;;
17575 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17576 See \`config.log' for more details." >&5
17577 echo "$as_me: error: cannot compute sizeof (long long), 77
17578 See \`config.log' for more details." >&2;}
17579 { (exit 1); exit 1; }; } ;;
17580 esac
17581 else
17582 if test "$cross_compiling" = yes; then
17583 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17584 See \`config.log' for more details." >&5
17585 echo "$as_me: error: cannot run test program while cross compiling
17586 See \`config.log' for more details." >&2;}
17587 { (exit 1); exit 1; }; }
17588 else
17589 cat >conftest.$ac_ext <<_ACEOF
17590 /* confdefs.h. */
17591 _ACEOF
17592 cat confdefs.h >>conftest.$ac_ext
17593 cat >>conftest.$ac_ext <<_ACEOF
17594 /* end confdefs.h. */
17595 $ac_includes_default
17596 long longval () { return (long) (sizeof (long long)); }
17597 unsigned long ulongval () { return (long) (sizeof (long long)); }
17598 #include <stdio.h>
17599 #include <stdlib.h>
17600 int
17601 main ()
17602 {
17603
17604 FILE *f = fopen ("conftest.val", "w");
17605 if (! f)
17606 exit (1);
17607 if (((long) (sizeof (long long))) < 0)
17608 {
17609 long i = longval ();
17610 if (i != ((long) (sizeof (long long))))
17611 exit (1);
17612 fprintf (f, "%ld\n", i);
17613 }
17614 else
17615 {
17616 unsigned long i = ulongval ();
17617 if (i != ((long) (sizeof (long long))))
17618 exit (1);
17619 fprintf (f, "%lu\n", i);
17620 }
17621 exit (ferror (f) || fclose (f) != 0);
17622
17623 ;
17624 return 0;
17625 }
17626 _ACEOF
17627 rm -f conftest$ac_exeext
17628 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17629 (eval $ac_link) 2>&5
17630 ac_status=$?
17631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17632 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17634 (eval $ac_try) 2>&5
17635 ac_status=$?
17636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17637 (exit $ac_status); }; }; then
17638 ac_cv_sizeof_long_long=`cat conftest.val`
17639 else
17640 echo "$as_me: program exited with status $ac_status" >&5
17641 echo "$as_me: failed program was:" >&5
17642 sed 's/^/| /' conftest.$ac_ext >&5
17643
17644 ( exit $ac_status )
17645 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17646 See \`config.log' for more details." >&5
17647 echo "$as_me: error: cannot compute sizeof (long long), 77
17648 See \`config.log' for more details." >&2;}
17649 { (exit 1); exit 1; }; }
17650 fi
17651 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17652 fi
17653 fi
17654 rm -f conftest.val
17655 else
17656 ac_cv_sizeof_long_long=0
17657 fi
17658 fi
17659 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
17660 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
17661 cat >>confdefs.h <<_ACEOF
17662 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
17663 _ACEOF
17664
17665
17666 ;;
17667 *-hp-hpux* )
17668 echo "$as_me:$LINENO: checking for long long" >&5
17669 echo $ECHO_N "checking for long long... $ECHO_C" >&6
17670 if test "${ac_cv_type_long_long+set}" = set; then
17671 echo $ECHO_N "(cached) $ECHO_C" >&6
17672 else
17673 cat >conftest.$ac_ext <<_ACEOF
17674 /* confdefs.h. */
17675 _ACEOF
17676 cat confdefs.h >>conftest.$ac_ext
17677 cat >>conftest.$ac_ext <<_ACEOF
17678 /* end confdefs.h. */
17679 $ac_includes_default
17680 int
17681 main ()
17682 {
17683 if ((long long *) 0)
17684 return 0;
17685 if (sizeof (long long))
17686 return 0;
17687 ;
17688 return 0;
17689 }
17690 _ACEOF
17691 rm -f conftest.$ac_objext
17692 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17693 (eval $ac_compile) 2>conftest.er1
17694 ac_status=$?
17695 grep -v '^ *+' conftest.er1 >conftest.err
17696 rm -f conftest.er1
17697 cat conftest.err >&5
17698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17699 (exit $ac_status); } &&
17700 { ac_try='test -z "$ac_c_werror_flag"
17701 || test ! -s conftest.err'
17702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17703 (eval $ac_try) 2>&5
17704 ac_status=$?
17705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17706 (exit $ac_status); }; } &&
17707 { ac_try='test -s conftest.$ac_objext'
17708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17709 (eval $ac_try) 2>&5
17710 ac_status=$?
17711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17712 (exit $ac_status); }; }; then
17713 ac_cv_type_long_long=yes
17714 else
17715 echo "$as_me: failed program was:" >&5
17716 sed 's/^/| /' conftest.$ac_ext >&5
17717
17718 ac_cv_type_long_long=no
17719 fi
17720 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17721 fi
17722 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
17723 echo "${ECHO_T}$ac_cv_type_long_long" >&6
17724
17725 echo "$as_me:$LINENO: checking size of long long" >&5
17726 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
17727 if test "${ac_cv_sizeof_long_long+set}" = set; then
17728 echo $ECHO_N "(cached) $ECHO_C" >&6
17729 else
17730 if test "$ac_cv_type_long_long" = yes; then
17731 # The cast to unsigned long works around a bug in the HP C Compiler
17732 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17733 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17734 # This bug is HP SR number 8606223364.
17735 if test "$cross_compiling" = yes; then
17736 # Depending upon the size, compute the lo and hi bounds.
17737 cat >conftest.$ac_ext <<_ACEOF
17738 /* confdefs.h. */
17739 _ACEOF
17740 cat confdefs.h >>conftest.$ac_ext
17741 cat >>conftest.$ac_ext <<_ACEOF
17742 /* end confdefs.h. */
17743 $ac_includes_default
17744 int
17745 main ()
17746 {
17747 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
17748 test_array [0] = 0
17749
17750 ;
17751 return 0;
17752 }
17753 _ACEOF
17754 rm -f conftest.$ac_objext
17755 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17756 (eval $ac_compile) 2>conftest.er1
17757 ac_status=$?
17758 grep -v '^ *+' conftest.er1 >conftest.err
17759 rm -f conftest.er1
17760 cat conftest.err >&5
17761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17762 (exit $ac_status); } &&
17763 { ac_try='test -z "$ac_c_werror_flag"
17764 || test ! -s conftest.err'
17765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17766 (eval $ac_try) 2>&5
17767 ac_status=$?
17768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17769 (exit $ac_status); }; } &&
17770 { ac_try='test -s conftest.$ac_objext'
17771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17772 (eval $ac_try) 2>&5
17773 ac_status=$?
17774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17775 (exit $ac_status); }; }; then
17776 ac_lo=0 ac_mid=0
17777 while :; do
17778 cat >conftest.$ac_ext <<_ACEOF
17779 /* confdefs.h. */
17780 _ACEOF
17781 cat confdefs.h >>conftest.$ac_ext
17782 cat >>conftest.$ac_ext <<_ACEOF
17783 /* end confdefs.h. */
17784 $ac_includes_default
17785 int
17786 main ()
17787 {
17788 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17789 test_array [0] = 0
17790
17791 ;
17792 return 0;
17793 }
17794 _ACEOF
17795 rm -f conftest.$ac_objext
17796 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17797 (eval $ac_compile) 2>conftest.er1
17798 ac_status=$?
17799 grep -v '^ *+' conftest.er1 >conftest.err
17800 rm -f conftest.er1
17801 cat conftest.err >&5
17802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17803 (exit $ac_status); } &&
17804 { ac_try='test -z "$ac_c_werror_flag"
17805 || test ! -s conftest.err'
17806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17807 (eval $ac_try) 2>&5
17808 ac_status=$?
17809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17810 (exit $ac_status); }; } &&
17811 { ac_try='test -s conftest.$ac_objext'
17812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17813 (eval $ac_try) 2>&5
17814 ac_status=$?
17815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17816 (exit $ac_status); }; }; then
17817 ac_hi=$ac_mid; break
17818 else
17819 echo "$as_me: failed program was:" >&5
17820 sed 's/^/| /' conftest.$ac_ext >&5
17821
17822 ac_lo=`expr $ac_mid + 1`
17823 if test $ac_lo -le $ac_mid; then
17824 ac_lo= ac_hi=
17825 break
17826 fi
17827 ac_mid=`expr 2 '*' $ac_mid + 1`
17828 fi
17829 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17830 done
17831 else
17832 echo "$as_me: failed program was:" >&5
17833 sed 's/^/| /' conftest.$ac_ext >&5
17834
17835 cat >conftest.$ac_ext <<_ACEOF
17836 /* confdefs.h. */
17837 _ACEOF
17838 cat confdefs.h >>conftest.$ac_ext
17839 cat >>conftest.$ac_ext <<_ACEOF
17840 /* end confdefs.h. */
17841 $ac_includes_default
17842 int
17843 main ()
17844 {
17845 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
17846 test_array [0] = 0
17847
17848 ;
17849 return 0;
17850 }
17851 _ACEOF
17852 rm -f conftest.$ac_objext
17853 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17854 (eval $ac_compile) 2>conftest.er1
17855 ac_status=$?
17856 grep -v '^ *+' conftest.er1 >conftest.err
17857 rm -f conftest.er1
17858 cat conftest.err >&5
17859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17860 (exit $ac_status); } &&
17861 { ac_try='test -z "$ac_c_werror_flag"
17862 || test ! -s conftest.err'
17863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17864 (eval $ac_try) 2>&5
17865 ac_status=$?
17866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17867 (exit $ac_status); }; } &&
17868 { ac_try='test -s conftest.$ac_objext'
17869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17870 (eval $ac_try) 2>&5
17871 ac_status=$?
17872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17873 (exit $ac_status); }; }; then
17874 ac_hi=-1 ac_mid=-1
17875 while :; do
17876 cat >conftest.$ac_ext <<_ACEOF
17877 /* confdefs.h. */
17878 _ACEOF
17879 cat confdefs.h >>conftest.$ac_ext
17880 cat >>conftest.$ac_ext <<_ACEOF
17881 /* end confdefs.h. */
17882 $ac_includes_default
17883 int
17884 main ()
17885 {
17886 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
17887 test_array [0] = 0
17888
17889 ;
17890 return 0;
17891 }
17892 _ACEOF
17893 rm -f conftest.$ac_objext
17894 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17895 (eval $ac_compile) 2>conftest.er1
17896 ac_status=$?
17897 grep -v '^ *+' conftest.er1 >conftest.err
17898 rm -f conftest.er1
17899 cat conftest.err >&5
17900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17901 (exit $ac_status); } &&
17902 { ac_try='test -z "$ac_c_werror_flag"
17903 || test ! -s conftest.err'
17904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17905 (eval $ac_try) 2>&5
17906 ac_status=$?
17907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17908 (exit $ac_status); }; } &&
17909 { ac_try='test -s conftest.$ac_objext'
17910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17911 (eval $ac_try) 2>&5
17912 ac_status=$?
17913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17914 (exit $ac_status); }; }; then
17915 ac_lo=$ac_mid; break
17916 else
17917 echo "$as_me: failed program was:" >&5
17918 sed 's/^/| /' conftest.$ac_ext >&5
17919
17920 ac_hi=`expr '(' $ac_mid ')' - 1`
17921 if test $ac_mid -le $ac_hi; then
17922 ac_lo= ac_hi=
17923 break
17924 fi
17925 ac_mid=`expr 2 '*' $ac_mid`
17926 fi
17927 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17928 done
17929 else
17930 echo "$as_me: failed program was:" >&5
17931 sed 's/^/| /' conftest.$ac_ext >&5
17932
17933 ac_lo= ac_hi=
17934 fi
17935 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17936 fi
17937 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17938 # Binary search between lo and hi bounds.
17939 while test "x$ac_lo" != "x$ac_hi"; do
17940 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17941 cat >conftest.$ac_ext <<_ACEOF
17942 /* confdefs.h. */
17943 _ACEOF
17944 cat confdefs.h >>conftest.$ac_ext
17945 cat >>conftest.$ac_ext <<_ACEOF
17946 /* end confdefs.h. */
17947 $ac_includes_default
17948 int
17949 main ()
17950 {
17951 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17952 test_array [0] = 0
17953
17954 ;
17955 return 0;
17956 }
17957 _ACEOF
17958 rm -f conftest.$ac_objext
17959 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17960 (eval $ac_compile) 2>conftest.er1
17961 ac_status=$?
17962 grep -v '^ *+' conftest.er1 >conftest.err
17963 rm -f conftest.er1
17964 cat conftest.err >&5
17965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17966 (exit $ac_status); } &&
17967 { ac_try='test -z "$ac_c_werror_flag"
17968 || test ! -s conftest.err'
17969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17970 (eval $ac_try) 2>&5
17971 ac_status=$?
17972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17973 (exit $ac_status); }; } &&
17974 { ac_try='test -s conftest.$ac_objext'
17975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17976 (eval $ac_try) 2>&5
17977 ac_status=$?
17978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17979 (exit $ac_status); }; }; then
17980 ac_hi=$ac_mid
17981 else
17982 echo "$as_me: failed program was:" >&5
17983 sed 's/^/| /' conftest.$ac_ext >&5
17984
17985 ac_lo=`expr '(' $ac_mid ')' + 1`
17986 fi
17987 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17988 done
17989 case $ac_lo in
17990 ?*) ac_cv_sizeof_long_long=$ac_lo;;
17991 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17992 See \`config.log' for more details." >&5
17993 echo "$as_me: error: cannot compute sizeof (long long), 77
17994 See \`config.log' for more details." >&2;}
17995 { (exit 1); exit 1; }; } ;;
17996 esac
17997 else
17998 if test "$cross_compiling" = yes; then
17999 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
18000 See \`config.log' for more details." >&5
18001 echo "$as_me: error: cannot run test program while cross compiling
18002 See \`config.log' for more details." >&2;}
18003 { (exit 1); exit 1; }; }
18004 else
18005 cat >conftest.$ac_ext <<_ACEOF
18006 /* confdefs.h. */
18007 _ACEOF
18008 cat confdefs.h >>conftest.$ac_ext
18009 cat >>conftest.$ac_ext <<_ACEOF
18010 /* end confdefs.h. */
18011 $ac_includes_default
18012 long longval () { return (long) (sizeof (long long)); }
18013 unsigned long ulongval () { return (long) (sizeof (long long)); }
18014 #include <stdio.h>
18015 #include <stdlib.h>
18016 int
18017 main ()
18018 {
18019
18020 FILE *f = fopen ("conftest.val", "w");
18021 if (! f)
18022 exit (1);
18023 if (((long) (sizeof (long long))) < 0)
18024 {
18025 long i = longval ();
18026 if (i != ((long) (sizeof (long long))))
18027 exit (1);
18028 fprintf (f, "%ld\n", i);
18029 }
18030 else
18031 {
18032 unsigned long i = ulongval ();
18033 if (i != ((long) (sizeof (long long))))
18034 exit (1);
18035 fprintf (f, "%lu\n", i);
18036 }
18037 exit (ferror (f) || fclose (f) != 0);
18038
18039 ;
18040 return 0;
18041 }
18042 _ACEOF
18043 rm -f conftest$ac_exeext
18044 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18045 (eval $ac_link) 2>&5
18046 ac_status=$?
18047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18048 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18050 (eval $ac_try) 2>&5
18051 ac_status=$?
18052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18053 (exit $ac_status); }; }; then
18054 ac_cv_sizeof_long_long=`cat conftest.val`
18055 else
18056 echo "$as_me: program exited with status $ac_status" >&5
18057 echo "$as_me: failed program was:" >&5
18058 sed 's/^/| /' conftest.$ac_ext >&5
18059
18060 ( exit $ac_status )
18061 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
18062 See \`config.log' for more details." >&5
18063 echo "$as_me: error: cannot compute sizeof (long long), 77
18064 See \`config.log' for more details." >&2;}
18065 { (exit 1); exit 1; }; }
18066 fi
18067 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18068 fi
18069 fi
18070 rm -f conftest.val
18071 else
18072 ac_cv_sizeof_long_long=0
18073 fi
18074 fi
18075 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
18076 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
18077 cat >>confdefs.h <<_ACEOF
18078 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
18079 _ACEOF
18080
18081
18082 if test "$ac_cv_sizeof_long_long" != "0"; then
18083 CPPFLAGS="$CPPFLAGS -D_INCLUDE_LONGLONG"
18084 fi
18085 ;;
18086 * )
18087 echo "$as_me:$LINENO: checking for long long" >&5
18088 echo $ECHO_N "checking for long long... $ECHO_C" >&6
18089 if test "${ac_cv_type_long_long+set}" = set; then
18090 echo $ECHO_N "(cached) $ECHO_C" >&6
18091 else
18092 cat >conftest.$ac_ext <<_ACEOF
18093 /* confdefs.h. */
18094 _ACEOF
18095 cat confdefs.h >>conftest.$ac_ext
18096 cat >>conftest.$ac_ext <<_ACEOF
18097 /* end confdefs.h. */
18098 $ac_includes_default
18099 int
18100 main ()
18101 {
18102 if ((long long *) 0)
18103 return 0;
18104 if (sizeof (long long))
18105 return 0;
18106 ;
18107 return 0;
18108 }
18109 _ACEOF
18110 rm -f conftest.$ac_objext
18111 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18112 (eval $ac_compile) 2>conftest.er1
18113 ac_status=$?
18114 grep -v '^ *+' conftest.er1 >conftest.err
18115 rm -f conftest.er1
18116 cat conftest.err >&5
18117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18118 (exit $ac_status); } &&
18119 { ac_try='test -z "$ac_c_werror_flag"
18120 || test ! -s conftest.err'
18121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18122 (eval $ac_try) 2>&5
18123 ac_status=$?
18124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18125 (exit $ac_status); }; } &&
18126 { ac_try='test -s conftest.$ac_objext'
18127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18128 (eval $ac_try) 2>&5
18129 ac_status=$?
18130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18131 (exit $ac_status); }; }; then
18132 ac_cv_type_long_long=yes
18133 else
18134 echo "$as_me: failed program was:" >&5
18135 sed 's/^/| /' conftest.$ac_ext >&5
18136
18137 ac_cv_type_long_long=no
18138 fi
18139 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18140 fi
18141 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
18142 echo "${ECHO_T}$ac_cv_type_long_long" >&6
18143
18144 echo "$as_me:$LINENO: checking size of long long" >&5
18145 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
18146 if test "${ac_cv_sizeof_long_long+set}" = set; then
18147 echo $ECHO_N "(cached) $ECHO_C" >&6
18148 else
18149 if test "$ac_cv_type_long_long" = yes; then
18150 # The cast to unsigned long works around a bug in the HP C Compiler
18151 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18152 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18153 # This bug is HP SR number 8606223364.
18154 if test "$cross_compiling" = yes; then
18155 # Depending upon the size, compute the lo and hi bounds.
18156 cat >conftest.$ac_ext <<_ACEOF
18157 /* confdefs.h. */
18158 _ACEOF
18159 cat confdefs.h >>conftest.$ac_ext
18160 cat >>conftest.$ac_ext <<_ACEOF
18161 /* end confdefs.h. */
18162 $ac_includes_default
18163 int
18164 main ()
18165 {
18166 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
18167 test_array [0] = 0
18168
18169 ;
18170 return 0;
18171 }
18172 _ACEOF
18173 rm -f conftest.$ac_objext
18174 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18175 (eval $ac_compile) 2>conftest.er1
18176 ac_status=$?
18177 grep -v '^ *+' conftest.er1 >conftest.err
18178 rm -f conftest.er1
18179 cat conftest.err >&5
18180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18181 (exit $ac_status); } &&
18182 { ac_try='test -z "$ac_c_werror_flag"
18183 || test ! -s conftest.err'
18184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18185 (eval $ac_try) 2>&5
18186 ac_status=$?
18187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18188 (exit $ac_status); }; } &&
18189 { ac_try='test -s conftest.$ac_objext'
18190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18191 (eval $ac_try) 2>&5
18192 ac_status=$?
18193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18194 (exit $ac_status); }; }; then
18195 ac_lo=0 ac_mid=0
18196 while :; do
18197 cat >conftest.$ac_ext <<_ACEOF
18198 /* confdefs.h. */
18199 _ACEOF
18200 cat confdefs.h >>conftest.$ac_ext
18201 cat >>conftest.$ac_ext <<_ACEOF
18202 /* end confdefs.h. */
18203 $ac_includes_default
18204 int
18205 main ()
18206 {
18207 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
18208 test_array [0] = 0
18209
18210 ;
18211 return 0;
18212 }
18213 _ACEOF
18214 rm -f conftest.$ac_objext
18215 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18216 (eval $ac_compile) 2>conftest.er1
18217 ac_status=$?
18218 grep -v '^ *+' conftest.er1 >conftest.err
18219 rm -f conftest.er1
18220 cat conftest.err >&5
18221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18222 (exit $ac_status); } &&
18223 { ac_try='test -z "$ac_c_werror_flag"
18224 || test ! -s conftest.err'
18225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18226 (eval $ac_try) 2>&5
18227 ac_status=$?
18228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18229 (exit $ac_status); }; } &&
18230 { ac_try='test -s conftest.$ac_objext'
18231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18232 (eval $ac_try) 2>&5
18233 ac_status=$?
18234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18235 (exit $ac_status); }; }; then
18236 ac_hi=$ac_mid; break
18237 else
18238 echo "$as_me: failed program was:" >&5
18239 sed 's/^/| /' conftest.$ac_ext >&5
18240
18241 ac_lo=`expr $ac_mid + 1`
18242 if test $ac_lo -le $ac_mid; then
18243 ac_lo= ac_hi=
18244 break
18245 fi
18246 ac_mid=`expr 2 '*' $ac_mid + 1`
18247 fi
18248 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18249 done
18250 else
18251 echo "$as_me: failed program was:" >&5
18252 sed 's/^/| /' conftest.$ac_ext >&5
18253
18254 cat >conftest.$ac_ext <<_ACEOF
18255 /* confdefs.h. */
18256 _ACEOF
18257 cat confdefs.h >>conftest.$ac_ext
18258 cat >>conftest.$ac_ext <<_ACEOF
18259 /* end confdefs.h. */
18260 $ac_includes_default
18261 int
18262 main ()
18263 {
18264 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
18265 test_array [0] = 0
18266
18267 ;
18268 return 0;
18269 }
18270 _ACEOF
18271 rm -f conftest.$ac_objext
18272 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18273 (eval $ac_compile) 2>conftest.er1
18274 ac_status=$?
18275 grep -v '^ *+' conftest.er1 >conftest.err
18276 rm -f conftest.er1
18277 cat conftest.err >&5
18278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18279 (exit $ac_status); } &&
18280 { ac_try='test -z "$ac_c_werror_flag"
18281 || test ! -s conftest.err'
18282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18283 (eval $ac_try) 2>&5
18284 ac_status=$?
18285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18286 (exit $ac_status); }; } &&
18287 { ac_try='test -s conftest.$ac_objext'
18288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18289 (eval $ac_try) 2>&5
18290 ac_status=$?
18291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18292 (exit $ac_status); }; }; then
18293 ac_hi=-1 ac_mid=-1
18294 while :; do
18295 cat >conftest.$ac_ext <<_ACEOF
18296 /* confdefs.h. */
18297 _ACEOF
18298 cat confdefs.h >>conftest.$ac_ext
18299 cat >>conftest.$ac_ext <<_ACEOF
18300 /* end confdefs.h. */
18301 $ac_includes_default
18302 int
18303 main ()
18304 {
18305 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
18306 test_array [0] = 0
18307
18308 ;
18309 return 0;
18310 }
18311 _ACEOF
18312 rm -f conftest.$ac_objext
18313 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18314 (eval $ac_compile) 2>conftest.er1
18315 ac_status=$?
18316 grep -v '^ *+' conftest.er1 >conftest.err
18317 rm -f conftest.er1
18318 cat conftest.err >&5
18319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18320 (exit $ac_status); } &&
18321 { ac_try='test -z "$ac_c_werror_flag"
18322 || test ! -s conftest.err'
18323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18324 (eval $ac_try) 2>&5
18325 ac_status=$?
18326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18327 (exit $ac_status); }; } &&
18328 { ac_try='test -s conftest.$ac_objext'
18329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18330 (eval $ac_try) 2>&5
18331 ac_status=$?
18332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18333 (exit $ac_status); }; }; then
18334 ac_lo=$ac_mid; break
18335 else
18336 echo "$as_me: failed program was:" >&5
18337 sed 's/^/| /' conftest.$ac_ext >&5
18338
18339 ac_hi=`expr '(' $ac_mid ')' - 1`
18340 if test $ac_mid -le $ac_hi; then
18341 ac_lo= ac_hi=
18342 break
18343 fi
18344 ac_mid=`expr 2 '*' $ac_mid`
18345 fi
18346 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18347 done
18348 else
18349 echo "$as_me: failed program was:" >&5
18350 sed 's/^/| /' conftest.$ac_ext >&5
18351
18352 ac_lo= ac_hi=
18353 fi
18354 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18355 fi
18356 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18357 # Binary search between lo and hi bounds.
18358 while test "x$ac_lo" != "x$ac_hi"; do
18359 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18360 cat >conftest.$ac_ext <<_ACEOF
18361 /* confdefs.h. */
18362 _ACEOF
18363 cat confdefs.h >>conftest.$ac_ext
18364 cat >>conftest.$ac_ext <<_ACEOF
18365 /* end confdefs.h. */
18366 $ac_includes_default
18367 int
18368 main ()
18369 {
18370 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
18371 test_array [0] = 0
18372
18373 ;
18374 return 0;
18375 }
18376 _ACEOF
18377 rm -f conftest.$ac_objext
18378 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18379 (eval $ac_compile) 2>conftest.er1
18380 ac_status=$?
18381 grep -v '^ *+' conftest.er1 >conftest.err
18382 rm -f conftest.er1
18383 cat conftest.err >&5
18384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18385 (exit $ac_status); } &&
18386 { ac_try='test -z "$ac_c_werror_flag"
18387 || test ! -s conftest.err'
18388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18389 (eval $ac_try) 2>&5
18390 ac_status=$?
18391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18392 (exit $ac_status); }; } &&
18393 { ac_try='test -s conftest.$ac_objext'
18394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18395 (eval $ac_try) 2>&5
18396 ac_status=$?
18397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18398 (exit $ac_status); }; }; then
18399 ac_hi=$ac_mid
18400 else
18401 echo "$as_me: failed program was:" >&5
18402 sed 's/^/| /' conftest.$ac_ext >&5
18403
18404 ac_lo=`expr '(' $ac_mid ')' + 1`
18405 fi
18406 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18407 done
18408 case $ac_lo in
18409 ?*) ac_cv_sizeof_long_long=$ac_lo;;
18410 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
18411 See \`config.log' for more details." >&5
18412 echo "$as_me: error: cannot compute sizeof (long long), 77
18413 See \`config.log' for more details." >&2;}
18414 { (exit 1); exit 1; }; } ;;
18415 esac
18416 else
18417 if test "$cross_compiling" = yes; then
18418 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
18419 See \`config.log' for more details." >&5
18420 echo "$as_me: error: cannot run test program while cross compiling
18421 See \`config.log' for more details." >&2;}
18422 { (exit 1); exit 1; }; }
18423 else
18424 cat >conftest.$ac_ext <<_ACEOF
18425 /* confdefs.h. */
18426 _ACEOF
18427 cat confdefs.h >>conftest.$ac_ext
18428 cat >>conftest.$ac_ext <<_ACEOF
18429 /* end confdefs.h. */
18430 $ac_includes_default
18431 long longval () { return (long) (sizeof (long long)); }
18432 unsigned long ulongval () { return (long) (sizeof (long long)); }
18433 #include <stdio.h>
18434 #include <stdlib.h>
18435 int
18436 main ()
18437 {
18438
18439 FILE *f = fopen ("conftest.val", "w");
18440 if (! f)
18441 exit (1);
18442 if (((long) (sizeof (long long))) < 0)
18443 {
18444 long i = longval ();
18445 if (i != ((long) (sizeof (long long))))
18446 exit (1);
18447 fprintf (f, "%ld\n", i);
18448 }
18449 else
18450 {
18451 unsigned long i = ulongval ();
18452 if (i != ((long) (sizeof (long long))))
18453 exit (1);
18454 fprintf (f, "%lu\n", i);
18455 }
18456 exit (ferror (f) || fclose (f) != 0);
18457
18458 ;
18459 return 0;
18460 }
18461 _ACEOF
18462 rm -f conftest$ac_exeext
18463 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18464 (eval $ac_link) 2>&5
18465 ac_status=$?
18466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18467 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18469 (eval $ac_try) 2>&5
18470 ac_status=$?
18471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18472 (exit $ac_status); }; }; then
18473 ac_cv_sizeof_long_long=`cat conftest.val`
18474 else
18475 echo "$as_me: program exited with status $ac_status" >&5
18476 echo "$as_me: failed program was:" >&5
18477 sed 's/^/| /' conftest.$ac_ext >&5
18478
18479 ( exit $ac_status )
18480 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
18481 See \`config.log' for more details." >&5
18482 echo "$as_me: error: cannot compute sizeof (long long), 77
18483 See \`config.log' for more details." >&2;}
18484 { (exit 1); exit 1; }; }
18485 fi
18486 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18487 fi
18488 fi
18489 rm -f conftest.val
18490 else
18491 ac_cv_sizeof_long_long=0
18492 fi
18493 fi
18494 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
18495 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
18496 cat >>confdefs.h <<_ACEOF
18497 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
18498 _ACEOF
18499
18500
18501 esac
18502
18503 echo "$as_me:$LINENO: checking size of wchar_t" >&5
18504 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
18505 if test "${wx_cv_sizeof_wchar_t+set}" = set; then
18506 echo $ECHO_N "(cached) $ECHO_C" >&6
18507 else
18508
18509 if test "$cross_compiling" = yes; then
18510
18511 case "${host}" in
18512 *-pc-msdosdjgpp )
18513 wx_cv_sizeof_wchar_t=0
18514 ;;
18515 * )
18516 wx_cv_sizeof_wchar_t=4
18517 ;;
18518 esac
18519
18520
18521 else
18522 cat >conftest.$ac_ext <<_ACEOF
18523 /* confdefs.h. */
18524 _ACEOF
18525 cat confdefs.h >>conftest.$ac_ext
18526 cat >>conftest.$ac_ext <<_ACEOF
18527 /* end confdefs.h. */
18528
18529 /* DJGPP only has fake wchar_t: */
18530 #ifdef __DJGPP__
18531 # error "fake wchar_t"
18532 #endif
18533 #ifdef HAVE_WCHAR_H
18534 # ifdef __CYGWIN__
18535 # include <stddef.h>
18536 # endif
18537 # include <wchar.h>
18538 #endif
18539 #ifdef HAVE_STDLIB_H
18540 # include <stdlib.h>
18541 #endif
18542 #include <stdio.h>
18543 int main()
18544 {
18545 FILE *f=fopen("conftestval", "w");
18546 if (!f) exit(1);
18547 fprintf(f, "%i", sizeof(wchar_t));
18548 exit(0);
18549 }
18550
18551 _ACEOF
18552 rm -f conftest$ac_exeext
18553 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18554 (eval $ac_link) 2>&5
18555 ac_status=$?
18556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18557 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18559 (eval $ac_try) 2>&5
18560 ac_status=$?
18561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18562 (exit $ac_status); }; }; then
18563 wx_cv_sizeof_wchar_t=`cat conftestval`
18564 else
18565 echo "$as_me: program exited with status $ac_status" >&5
18566 echo "$as_me: failed program was:" >&5
18567 sed 's/^/| /' conftest.$ac_ext >&5
18568
18569 ( exit $ac_status )
18570 wx_cv_sizeof_wchar_t=0
18571 fi
18572 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18573 fi
18574
18575 fi
18576 echo "$as_me:$LINENO: result: $wx_cv_sizeof_wchar_t" >&5
18577 echo "${ECHO_T}$wx_cv_sizeof_wchar_t" >&6
18578
18579 cat >>confdefs.h <<_ACEOF
18580 #define SIZEOF_WCHAR_T $wx_cv_sizeof_wchar_t
18581 _ACEOF
18582
18583
18584 echo "$as_me:$LINENO: checking for va_copy" >&5
18585 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6
18586 if test "${wx_cv_func_va_copy+set}" = set; then
18587 echo $ECHO_N "(cached) $ECHO_C" >&6
18588 else
18589
18590 cat >conftest.$ac_ext <<_ACEOF
18591
18592 #include <stdarg.h>
18593 void foo(char *f, ...)
18594 {
18595 va_list ap1, ap2;
18596 va_start(ap1, f);
18597 va_copy(ap2, ap1);
18598 va_end(ap2);
18599 va_end(ap1);
18600 }
18601 int main()
18602 {
18603 foo("hi", 17);
18604 return 0;
18605 }
18606 _ACEOF
18607 rm -f conftest.$ac_objext conftest$ac_exeext
18608 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18609 (eval $ac_link) 2>conftest.er1
18610 ac_status=$?
18611 grep -v '^ *+' conftest.er1 >conftest.err
18612 rm -f conftest.er1
18613 cat conftest.err >&5
18614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18615 (exit $ac_status); } &&
18616 { ac_try='test -z "$ac_c_werror_flag"
18617 || test ! -s conftest.err'
18618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18619 (eval $ac_try) 2>&5
18620 ac_status=$?
18621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18622 (exit $ac_status); }; } &&
18623 { ac_try='test -s conftest$ac_exeext'
18624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18625 (eval $ac_try) 2>&5
18626 ac_status=$?
18627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18628 (exit $ac_status); }; }; then
18629 wx_cv_func_va_copy=yes
18630 else
18631 echo "$as_me: failed program was:" >&5
18632 sed 's/^/| /' conftest.$ac_ext >&5
18633
18634 wx_cv_func_va_copy=no
18635
18636 fi
18637 rm -f conftest.err conftest.$ac_objext \
18638 conftest$ac_exeext conftest.$ac_ext
18639
18640
18641 fi
18642 echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
18643 echo "${ECHO_T}$wx_cv_func_va_copy" >&6
18644
18645 if test $wx_cv_func_va_copy = "yes"; then
18646 cat >>confdefs.h <<\_ACEOF
18647 #define HAVE_VA_COPY 1
18648 _ACEOF
18649
18650 else
18651 echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
18652 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6
18653 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
18654 echo $ECHO_N "(cached) $ECHO_C" >&6
18655 else
18656
18657 if test "$cross_compiling" = yes; then
18658 wx_cv_type_va_list_lvalue=yes
18659
18660 else
18661 cat >conftest.$ac_ext <<_ACEOF
18662
18663 #include <stdarg.h>
18664 int foo(char *f, ...)
18665 {
18666 va_list ap1, ap2;
18667 va_start(ap1, f);
18668 ap2 = ap1;
18669 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
18670 return 1;
18671 va_end(ap2);
18672 va_end(ap1);
18673 return 0;
18674 }
18675 int main()
18676 {
18677 return foo("hi", 17);
18678 }
18679 _ACEOF
18680 rm -f conftest$ac_exeext
18681 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18682 (eval $ac_link) 2>&5
18683 ac_status=$?
18684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18685 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18687 (eval $ac_try) 2>&5
18688 ac_status=$?
18689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18690 (exit $ac_status); }; }; then
18691 wx_cv_type_va_list_lvalue=yes
18692 else
18693 echo "$as_me: program exited with status $ac_status" >&5
18694 echo "$as_me: failed program was:" >&5
18695 sed 's/^/| /' conftest.$ac_ext >&5
18696
18697 ( exit $ac_status )
18698 wx_cv_type_va_list_lvalue=no
18699 fi
18700 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18701 fi
18702
18703
18704 fi
18705 echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
18706 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6
18707
18708 if test $wx_cv_type_va_list_lvalue != "yes"; then
18709 cat >>confdefs.h <<\_ACEOF
18710 #define VA_LIST_IS_ARRAY 1
18711 _ACEOF
18712
18713 fi
18714 fi
18715
18716 # Check whether --enable-largefile or --disable-largefile was given.
18717 if test "${enable_largefile+set}" = set; then
18718 enableval="$enable_largefile"
18719
18720 fi;
18721 if test "$enable_largefile" != no; then
18722 wx_largefile=no
18723
18724 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
18725 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
18726 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
18727 echo $ECHO_N "(cached) $ECHO_C" >&6
18728 else
18729
18730 cat >conftest.$ac_ext <<_ACEOF
18731 /* confdefs.h. */
18732 _ACEOF
18733 cat confdefs.h >>conftest.$ac_ext
18734 cat >>conftest.$ac_ext <<_ACEOF
18735 /* end confdefs.h. */
18736 #define _FILE_OFFSET_BITS 64
18737 #include <sys/types.h>
18738 int
18739 main ()
18740 {
18741 typedef struct {
18742 unsigned int field: sizeof(off_t) == 8;
18743 } wxlf;
18744
18745 ;
18746 return 0;
18747 }
18748 _ACEOF
18749 rm -f conftest.$ac_objext
18750 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18751 (eval $ac_compile) 2>conftest.er1
18752 ac_status=$?
18753 grep -v '^ *+' conftest.er1 >conftest.err
18754 rm -f conftest.er1
18755 cat conftest.err >&5
18756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18757 (exit $ac_status); } &&
18758 { ac_try='test -z "$ac_c_werror_flag"
18759 || test ! -s conftest.err'
18760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18761 (eval $ac_try) 2>&5
18762 ac_status=$?
18763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18764 (exit $ac_status); }; } &&
18765 { ac_try='test -s conftest.$ac_objext'
18766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18767 (eval $ac_try) 2>&5
18768 ac_status=$?
18769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18770 (exit $ac_status); }; }; then
18771 ac_cv_sys_file_offset_bits=64
18772 else
18773 echo "$as_me: failed program was:" >&5
18774 sed 's/^/| /' conftest.$ac_ext >&5
18775
18776 ac_cv_sys_file_offset_bits=no
18777 fi
18778 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18779
18780
18781 fi
18782 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
18783 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
18784
18785 if test "$ac_cv_sys_file_offset_bits" != no; then
18786 wx_largefile=yes
18787 cat >>confdefs.h <<_ACEOF
18788 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
18789 _ACEOF
18790
18791 fi
18792
18793 if test "x$wx_largefile" != "xyes"; then
18794
18795 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
18796 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
18797 if test "${ac_cv_sys_large_files+set}" = set; then
18798 echo $ECHO_N "(cached) $ECHO_C" >&6
18799 else
18800
18801 cat >conftest.$ac_ext <<_ACEOF
18802 /* confdefs.h. */
18803 _ACEOF
18804 cat confdefs.h >>conftest.$ac_ext
18805 cat >>conftest.$ac_ext <<_ACEOF
18806 /* end confdefs.h. */
18807 #define _LARGE_FILES 1
18808 #include <sys/types.h>
18809 int
18810 main ()
18811 {
18812 typedef struct {
18813 unsigned int field: sizeof(off_t) == 8;
18814 } wxlf;
18815
18816 ;
18817 return 0;
18818 }
18819 _ACEOF
18820 rm -f conftest.$ac_objext
18821 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18822 (eval $ac_compile) 2>conftest.er1
18823 ac_status=$?
18824 grep -v '^ *+' conftest.er1 >conftest.err
18825 rm -f conftest.er1
18826 cat conftest.err >&5
18827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18828 (exit $ac_status); } &&
18829 { ac_try='test -z "$ac_c_werror_flag"
18830 || test ! -s conftest.err'
18831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18832 (eval $ac_try) 2>&5
18833 ac_status=$?
18834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18835 (exit $ac_status); }; } &&
18836 { ac_try='test -s conftest.$ac_objext'
18837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18838 (eval $ac_try) 2>&5
18839 ac_status=$?
18840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18841 (exit $ac_status); }; }; then
18842 ac_cv_sys_large_files=1
18843 else
18844 echo "$as_me: failed program was:" >&5
18845 sed 's/^/| /' conftest.$ac_ext >&5
18846
18847 ac_cv_sys_large_files=no
18848 fi
18849 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18850
18851
18852 fi
18853 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
18854 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
18855
18856 if test "$ac_cv_sys_large_files" != no; then
18857 wx_largefile=yes
18858 cat >>confdefs.h <<_ACEOF
18859 #define _LARGE_FILES $ac_cv_sys_large_files
18860 _ACEOF
18861
18862 fi
18863
18864 fi
18865
18866 echo "$as_me:$LINENO: checking if large file support is available" >&5
18867 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
18868 if test "x$wx_largefile" = "xyes"; then
18869 cat >>confdefs.h <<\_ACEOF
18870 #define HAVE_LARGEFILE_SUPPORT 1
18871 _ACEOF
18872
18873 fi
18874 echo "$as_me:$LINENO: result: $wx_largefile" >&5
18875 echo "${ECHO_T}$wx_largefile" >&6
18876 fi
18877
18878
18879 if test "x$wx_largefile" = "xyes"; then
18880 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
18881 WX_LARGEFILE_FLAGS="-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
18882 else
18883 WX_LARGEFILE_FLAGS="-D_LARGE_FILES"
18884 fi
18885 echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
18886 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6
18887 if test "${ac_cv_sys_largefile_source+set}" = set; then
18888 echo $ECHO_N "(cached) $ECHO_C" >&6
18889 else
18890 while :; do
18891 ac_cv_sys_largefile_source=no
18892 cat >conftest.$ac_ext <<_ACEOF
18893 /* confdefs.h. */
18894 _ACEOF
18895 cat confdefs.h >>conftest.$ac_ext
18896 cat >>conftest.$ac_ext <<_ACEOF
18897 /* end confdefs.h. */
18898 #include <stdio.h>
18899 int
18900 main ()
18901 {
18902 return !fseeko;
18903 ;
18904 return 0;
18905 }
18906 _ACEOF
18907 rm -f conftest.$ac_objext
18908 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18909 (eval $ac_compile) 2>conftest.er1
18910 ac_status=$?
18911 grep -v '^ *+' conftest.er1 >conftest.err
18912 rm -f conftest.er1
18913 cat conftest.err >&5
18914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18915 (exit $ac_status); } &&
18916 { ac_try='test -z "$ac_c_werror_flag"
18917 || test ! -s conftest.err'
18918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18919 (eval $ac_try) 2>&5
18920 ac_status=$?
18921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18922 (exit $ac_status); }; } &&
18923 { ac_try='test -s conftest.$ac_objext'
18924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18925 (eval $ac_try) 2>&5
18926 ac_status=$?
18927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18928 (exit $ac_status); }; }; then
18929 break
18930 else
18931 echo "$as_me: failed program was:" >&5
18932 sed 's/^/| /' conftest.$ac_ext >&5
18933
18934 fi
18935 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18936 cat >conftest.$ac_ext <<_ACEOF
18937 /* confdefs.h. */
18938 _ACEOF
18939 cat confdefs.h >>conftest.$ac_ext
18940 cat >>conftest.$ac_ext <<_ACEOF
18941 /* end confdefs.h. */
18942 #define _LARGEFILE_SOURCE 1
18943 #include <stdio.h>
18944 int
18945 main ()
18946 {
18947 return !fseeko;
18948 ;
18949 return 0;
18950 }
18951 _ACEOF
18952 rm -f conftest.$ac_objext
18953 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18954 (eval $ac_compile) 2>conftest.er1
18955 ac_status=$?
18956 grep -v '^ *+' conftest.er1 >conftest.err
18957 rm -f conftest.er1
18958 cat conftest.err >&5
18959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18960 (exit $ac_status); } &&
18961 { ac_try='test -z "$ac_c_werror_flag"
18962 || test ! -s conftest.err'
18963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18964 (eval $ac_try) 2>&5
18965 ac_status=$?
18966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18967 (exit $ac_status); }; } &&
18968 { ac_try='test -s conftest.$ac_objext'
18969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18970 (eval $ac_try) 2>&5
18971 ac_status=$?
18972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18973 (exit $ac_status); }; }; then
18974 ac_cv_sys_largefile_source=1; break
18975 else
18976 echo "$as_me: failed program was:" >&5
18977 sed 's/^/| /' conftest.$ac_ext >&5
18978
18979 fi
18980 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18981 break
18982 done
18983 fi
18984 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
18985 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6
18986 if test "$ac_cv_sys_largefile_source" != no; then
18987
18988 cat >>confdefs.h <<_ACEOF
18989 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
18990 _ACEOF
18991
18992 fi
18993 rm -f conftest*
18994
18995 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
18996 # in glibc 2.1.3, but that breaks too many other things.
18997 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
18998 echo "$as_me:$LINENO: checking for fseeko" >&5
18999 echo $ECHO_N "checking for fseeko... $ECHO_C" >&6
19000 if test "${ac_cv_func_fseeko+set}" = set; then
19001 echo $ECHO_N "(cached) $ECHO_C" >&6
19002 else
19003 cat >conftest.$ac_ext <<_ACEOF
19004 /* confdefs.h. */
19005 _ACEOF
19006 cat confdefs.h >>conftest.$ac_ext
19007 cat >>conftest.$ac_ext <<_ACEOF
19008 /* end confdefs.h. */
19009 #include <stdio.h>
19010 int
19011 main ()
19012 {
19013 return fseeko && fseeko (stdin, 0, 0);
19014 ;
19015 return 0;
19016 }
19017 _ACEOF
19018 rm -f conftest.$ac_objext conftest$ac_exeext
19019 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19020 (eval $ac_link) 2>conftest.er1
19021 ac_status=$?
19022 grep -v '^ *+' conftest.er1 >conftest.err
19023 rm -f conftest.er1
19024 cat conftest.err >&5
19025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19026 (exit $ac_status); } &&
19027 { ac_try='test -z "$ac_c_werror_flag"
19028 || test ! -s conftest.err'
19029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19030 (eval $ac_try) 2>&5
19031 ac_status=$?
19032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19033 (exit $ac_status); }; } &&
19034 { ac_try='test -s conftest$ac_exeext'
19035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19036 (eval $ac_try) 2>&5
19037 ac_status=$?
19038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19039 (exit $ac_status); }; }; then
19040 ac_cv_func_fseeko=yes
19041 else
19042 echo "$as_me: failed program was:" >&5
19043 sed 's/^/| /' conftest.$ac_ext >&5
19044
19045 ac_cv_func_fseeko=no
19046 fi
19047 rm -f conftest.err conftest.$ac_objext \
19048 conftest$ac_exeext conftest.$ac_ext
19049 fi
19050 echo "$as_me:$LINENO: result: $ac_cv_func_fseeko" >&5
19051 echo "${ECHO_T}$ac_cv_func_fseeko" >&6
19052 if test $ac_cv_func_fseeko = yes; then
19053
19054 cat >>confdefs.h <<\_ACEOF
19055 #define HAVE_FSEEKO 1
19056 _ACEOF
19057
19058 fi
19059
19060 if test "$ac_cv_sys_largefile_source" != no; then
19061 WX_LARGEFILE_FLAGS="$WX_LARGEFILE_FLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
19062 fi
19063 CPPFLAGS="$CPPFLAGS $WX_LARGEFILE_FLAGS"
19064 fi
19065
19066 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
19067 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
19068 if test "${ac_cv_c_bigendian+set}" = set; then
19069 echo $ECHO_N "(cached) $ECHO_C" >&6
19070 else
19071 ac_cv_c_bigendian=unknown
19072 # See if sys/param.h defines the BYTE_ORDER macro.
19073 cat >conftest.$ac_ext <<_ACEOF
19074 /* confdefs.h. */
19075 _ACEOF
19076 cat confdefs.h >>conftest.$ac_ext
19077 cat >>conftest.$ac_ext <<_ACEOF
19078 /* end confdefs.h. */
19079 #include <sys/types.h>
19080 #include <sys/param.h>
19081 int
19082 main ()
19083 {
19084
19085 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
19086 bogus endian macros
19087 #endif
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 # It does; now see whether it defined to BIG_ENDIAN or not.
19115 cat >conftest.$ac_ext <<_ACEOF
19116 /* confdefs.h. */
19117 _ACEOF
19118 cat confdefs.h >>conftest.$ac_ext
19119 cat >>conftest.$ac_ext <<_ACEOF
19120 /* end confdefs.h. */
19121 #include <sys/types.h>
19122 #include <sys/param.h>
19123 int
19124 main ()
19125 {
19126
19127 #if BYTE_ORDER != BIG_ENDIAN
19128 not big endian
19129 #endif
19130 ;
19131 return 0;
19132 }
19133 _ACEOF
19134 rm -f conftest.$ac_objext
19135 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19136 (eval $ac_compile) 2>conftest.er1
19137 ac_status=$?
19138 grep -v '^ *+' conftest.er1 >conftest.err
19139 rm -f conftest.er1
19140 cat conftest.err >&5
19141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19142 (exit $ac_status); } &&
19143 { ac_try='test -z "$ac_c_werror_flag"
19144 || test ! -s conftest.err'
19145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19146 (eval $ac_try) 2>&5
19147 ac_status=$?
19148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19149 (exit $ac_status); }; } &&
19150 { ac_try='test -s conftest.$ac_objext'
19151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19152 (eval $ac_try) 2>&5
19153 ac_status=$?
19154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19155 (exit $ac_status); }; }; then
19156 ac_cv_c_bigendian=yes
19157 else
19158 echo "$as_me: failed program was:" >&5
19159 sed 's/^/| /' conftest.$ac_ext >&5
19160
19161 ac_cv_c_bigendian=no
19162 fi
19163 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19164 else
19165 echo "$as_me: failed program was:" >&5
19166 sed 's/^/| /' conftest.$ac_ext >&5
19167
19168 fi
19169 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19170 if test $ac_cv_c_bigendian = unknown; then
19171 if test "$cross_compiling" = yes; then
19172 ac_cv_c_bigendian=unknown
19173 else
19174 cat >conftest.$ac_ext <<_ACEOF
19175 /* confdefs.h. */
19176 _ACEOF
19177 cat confdefs.h >>conftest.$ac_ext
19178 cat >>conftest.$ac_ext <<_ACEOF
19179 /* end confdefs.h. */
19180 main () {
19181 /* Are we little or big endian? From Harbison&Steele. */
19182 union
19183 {
19184 long l;
19185 char c[sizeof (long)];
19186 } u;
19187 u.l = 1;
19188 exit (u.c[sizeof (long) - 1] == 1);
19189 }
19190 _ACEOF
19191 rm -f conftest$ac_exeext
19192 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19193 (eval $ac_link) 2>&5
19194 ac_status=$?
19195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19196 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19198 (eval $ac_try) 2>&5
19199 ac_status=$?
19200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19201 (exit $ac_status); }; }; then
19202 ac_cv_c_bigendian=no
19203 else
19204 echo "$as_me: program exited with status $ac_status" >&5
19205 echo "$as_me: failed program was:" >&5
19206 sed 's/^/| /' conftest.$ac_ext >&5
19207
19208 ( exit $ac_status )
19209 ac_cv_c_bigendian=yes
19210 fi
19211 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19212 fi
19213 fi
19214 fi
19215 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
19216 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
19217 if test $ac_cv_c_bigendian = unknown; then
19218 { 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
19219 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;}
19220 fi
19221 if test $ac_cv_c_bigendian = yes; then
19222 cat >>confdefs.h <<\_ACEOF
19223 #define WORDS_BIGENDIAN 1
19224 _ACEOF
19225
19226 fi
19227
19228
19229 ac_ext=cc
19230 ac_cpp='$CXXCPP $CPPFLAGS'
19231 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19232 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19233 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19234 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
19235 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
19236 if test -z "$CXXCPP"; then
19237 if test "${ac_cv_prog_CXXCPP+set}" = set; then
19238 echo $ECHO_N "(cached) $ECHO_C" >&6
19239 else
19240 # Double quotes because CXXCPP needs to be expanded
19241 for CXXCPP in "$CXX -E" "/lib/cpp"
19242 do
19243 ac_preproc_ok=false
19244 for ac_cxx_preproc_warn_flag in '' yes
19245 do
19246 # Use a header file that comes with gcc, so configuring glibc
19247 # with a fresh cross-compiler works.
19248 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19249 # <limits.h> exists even on freestanding compilers.
19250 # On the NeXT, cc -E runs the code through the compiler's parser,
19251 # not just through cpp. "Syntax error" is here to catch this case.
19252 cat >conftest.$ac_ext <<_ACEOF
19253 /* confdefs.h. */
19254 _ACEOF
19255 cat confdefs.h >>conftest.$ac_ext
19256 cat >>conftest.$ac_ext <<_ACEOF
19257 /* end confdefs.h. */
19258 #ifdef __STDC__
19259 # include <limits.h>
19260 #else
19261 # include <assert.h>
19262 #endif
19263 Syntax error
19264 _ACEOF
19265 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19266 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19267 ac_status=$?
19268 grep -v '^ *+' conftest.er1 >conftest.err
19269 rm -f conftest.er1
19270 cat conftest.err >&5
19271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19272 (exit $ac_status); } >/dev/null; then
19273 if test -s conftest.err; then
19274 ac_cpp_err=$ac_cxx_preproc_warn_flag
19275 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
19276 else
19277 ac_cpp_err=
19278 fi
19279 else
19280 ac_cpp_err=yes
19281 fi
19282 if test -z "$ac_cpp_err"; then
19283 :
19284 else
19285 echo "$as_me: failed program was:" >&5
19286 sed 's/^/| /' conftest.$ac_ext >&5
19287
19288 # Broken: fails on valid input.
19289 continue
19290 fi
19291 rm -f conftest.err conftest.$ac_ext
19292
19293 # OK, works on sane cases. Now check whether non-existent headers
19294 # can be detected and how.
19295 cat >conftest.$ac_ext <<_ACEOF
19296 /* confdefs.h. */
19297 _ACEOF
19298 cat confdefs.h >>conftest.$ac_ext
19299 cat >>conftest.$ac_ext <<_ACEOF
19300 /* end confdefs.h. */
19301 #include <ac_nonexistent.h>
19302 _ACEOF
19303 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19304 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19305 ac_status=$?
19306 grep -v '^ *+' conftest.er1 >conftest.err
19307 rm -f conftest.er1
19308 cat conftest.err >&5
19309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19310 (exit $ac_status); } >/dev/null; then
19311 if test -s conftest.err; then
19312 ac_cpp_err=$ac_cxx_preproc_warn_flag
19313 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
19314 else
19315 ac_cpp_err=
19316 fi
19317 else
19318 ac_cpp_err=yes
19319 fi
19320 if test -z "$ac_cpp_err"; then
19321 # Broken: success on invalid input.
19322 continue
19323 else
19324 echo "$as_me: failed program was:" >&5
19325 sed 's/^/| /' conftest.$ac_ext >&5
19326
19327 # Passes both tests.
19328 ac_preproc_ok=:
19329 break
19330 fi
19331 rm -f conftest.err conftest.$ac_ext
19332
19333 done
19334 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
19335 rm -f conftest.err conftest.$ac_ext
19336 if $ac_preproc_ok; then
19337 break
19338 fi
19339
19340 done
19341 ac_cv_prog_CXXCPP=$CXXCPP
19342
19343 fi
19344 CXXCPP=$ac_cv_prog_CXXCPP
19345 else
19346 ac_cv_prog_CXXCPP=$CXXCPP
19347 fi
19348 echo "$as_me:$LINENO: result: $CXXCPP" >&5
19349 echo "${ECHO_T}$CXXCPP" >&6
19350 ac_preproc_ok=false
19351 for ac_cxx_preproc_warn_flag in '' yes
19352 do
19353 # Use a header file that comes with gcc, so configuring glibc
19354 # with a fresh cross-compiler works.
19355 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19356 # <limits.h> exists even on freestanding compilers.
19357 # On the NeXT, cc -E runs the code through the compiler's parser,
19358 # not just through cpp. "Syntax error" is here to catch this case.
19359 cat >conftest.$ac_ext <<_ACEOF
19360 /* confdefs.h. */
19361 _ACEOF
19362 cat confdefs.h >>conftest.$ac_ext
19363 cat >>conftest.$ac_ext <<_ACEOF
19364 /* end confdefs.h. */
19365 #ifdef __STDC__
19366 # include <limits.h>
19367 #else
19368 # include <assert.h>
19369 #endif
19370 Syntax error
19371 _ACEOF
19372 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19373 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19374 ac_status=$?
19375 grep -v '^ *+' conftest.er1 >conftest.err
19376 rm -f conftest.er1
19377 cat conftest.err >&5
19378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19379 (exit $ac_status); } >/dev/null; then
19380 if test -s conftest.err; then
19381 ac_cpp_err=$ac_cxx_preproc_warn_flag
19382 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
19383 else
19384 ac_cpp_err=
19385 fi
19386 else
19387 ac_cpp_err=yes
19388 fi
19389 if test -z "$ac_cpp_err"; then
19390 :
19391 else
19392 echo "$as_me: failed program was:" >&5
19393 sed 's/^/| /' conftest.$ac_ext >&5
19394
19395 # Broken: fails on valid input.
19396 continue
19397 fi
19398 rm -f conftest.err conftest.$ac_ext
19399
19400 # OK, works on sane cases. Now check whether non-existent headers
19401 # can be detected and how.
19402 cat >conftest.$ac_ext <<_ACEOF
19403 /* confdefs.h. */
19404 _ACEOF
19405 cat confdefs.h >>conftest.$ac_ext
19406 cat >>conftest.$ac_ext <<_ACEOF
19407 /* end confdefs.h. */
19408 #include <ac_nonexistent.h>
19409 _ACEOF
19410 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19411 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19412 ac_status=$?
19413 grep -v '^ *+' conftest.er1 >conftest.err
19414 rm -f conftest.er1
19415 cat conftest.err >&5
19416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19417 (exit $ac_status); } >/dev/null; then
19418 if test -s conftest.err; then
19419 ac_cpp_err=$ac_cxx_preproc_warn_flag
19420 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
19421 else
19422 ac_cpp_err=
19423 fi
19424 else
19425 ac_cpp_err=yes
19426 fi
19427 if test -z "$ac_cpp_err"; then
19428 # Broken: success on invalid input.
19429 continue
19430 else
19431 echo "$as_me: failed program was:" >&5
19432 sed 's/^/| /' conftest.$ac_ext >&5
19433
19434 # Passes both tests.
19435 ac_preproc_ok=:
19436 break
19437 fi
19438 rm -f conftest.err conftest.$ac_ext
19439
19440 done
19441 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
19442 rm -f conftest.err conftest.$ac_ext
19443 if $ac_preproc_ok; then
19444 :
19445 else
19446 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
19447 See \`config.log' for more details." >&5
19448 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
19449 See \`config.log' for more details." >&2;}
19450 { (exit 1); exit 1; }; }
19451 fi
19452
19453 ac_ext=cc
19454 ac_cpp='$CXXCPP $CPPFLAGS'
19455 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19456 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19457 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19458
19459
19460
19461
19462
19463 ac_ext=cc
19464 ac_cpp='$CXXCPP $CPPFLAGS'
19465 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19466 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19467 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19468
19469
19470
19471 for ac_header in iostream
19472 do
19473 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19474 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19475 echo "$as_me:$LINENO: checking for $ac_header" >&5
19476 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19477 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19478 echo $ECHO_N "(cached) $ECHO_C" >&6
19479 fi
19480 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19481 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19482 else
19483 # Is the header compilable?
19484 echo "$as_me:$LINENO: checking $ac_header usability" >&5
19485 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
19486 cat >conftest.$ac_ext <<_ACEOF
19487 /* confdefs.h. */
19488 _ACEOF
19489 cat confdefs.h >>conftest.$ac_ext
19490 cat >>conftest.$ac_ext <<_ACEOF
19491 /* end confdefs.h. */
19492 $ac_includes_default
19493 #include <$ac_header>
19494 _ACEOF
19495 rm -f conftest.$ac_objext
19496 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19497 (eval $ac_compile) 2>conftest.er1
19498 ac_status=$?
19499 grep -v '^ *+' conftest.er1 >conftest.err
19500 rm -f conftest.er1
19501 cat conftest.err >&5
19502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19503 (exit $ac_status); } &&
19504 { ac_try='test -z "$ac_cxx_werror_flag"
19505 || test ! -s conftest.err'
19506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19507 (eval $ac_try) 2>&5
19508 ac_status=$?
19509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19510 (exit $ac_status); }; } &&
19511 { ac_try='test -s conftest.$ac_objext'
19512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19513 (eval $ac_try) 2>&5
19514 ac_status=$?
19515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19516 (exit $ac_status); }; }; then
19517 ac_header_compiler=yes
19518 else
19519 echo "$as_me: failed program was:" >&5
19520 sed 's/^/| /' conftest.$ac_ext >&5
19521
19522 ac_header_compiler=no
19523 fi
19524 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19525 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19526 echo "${ECHO_T}$ac_header_compiler" >&6
19527
19528 # Is the header present?
19529 echo "$as_me:$LINENO: checking $ac_header presence" >&5
19530 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19531 cat >conftest.$ac_ext <<_ACEOF
19532 /* confdefs.h. */
19533 _ACEOF
19534 cat confdefs.h >>conftest.$ac_ext
19535 cat >>conftest.$ac_ext <<_ACEOF
19536 /* end confdefs.h. */
19537 #include <$ac_header>
19538 _ACEOF
19539 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19540 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19541 ac_status=$?
19542 grep -v '^ *+' conftest.er1 >conftest.err
19543 rm -f conftest.er1
19544 cat conftest.err >&5
19545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19546 (exit $ac_status); } >/dev/null; then
19547 if test -s conftest.err; then
19548 ac_cpp_err=$ac_cxx_preproc_warn_flag
19549 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
19550 else
19551 ac_cpp_err=
19552 fi
19553 else
19554 ac_cpp_err=yes
19555 fi
19556 if test -z "$ac_cpp_err"; then
19557 ac_header_preproc=yes
19558 else
19559 echo "$as_me: failed program was:" >&5
19560 sed 's/^/| /' conftest.$ac_ext >&5
19561
19562 ac_header_preproc=no
19563 fi
19564 rm -f conftest.err conftest.$ac_ext
19565 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19566 echo "${ECHO_T}$ac_header_preproc" >&6
19567
19568 # So? What about this header?
19569 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
19570 yes:no: )
19571 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19572 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19573 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
19574 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
19575 ac_header_preproc=yes
19576 ;;
19577 no:yes:* )
19578 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19579 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19580 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19581 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19582 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
19583 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
19584 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
19585 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
19586 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19587 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19588 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
19589 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
19590 (
19591 cat <<\_ASBOX
19592 ## ----------------------------------------- ##
19593 ## Report this to wx-dev@lists.wxwidgets.org ##
19594 ## ----------------------------------------- ##
19595 _ASBOX
19596 ) |
19597 sed "s/^/$as_me: WARNING: /" >&2
19598 ;;
19599 esac
19600 echo "$as_me:$LINENO: checking for $ac_header" >&5
19601 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19602 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19603 echo $ECHO_N "(cached) $ECHO_C" >&6
19604 else
19605 eval "$as_ac_Header=\$ac_header_preproc"
19606 fi
19607 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19608 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19609
19610 fi
19611 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19612 cat >>confdefs.h <<_ACEOF
19613 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19614 _ACEOF
19615
19616 fi
19617
19618 done
19619
19620
19621 if test "$ac_cv_header_iostream" = "yes" ; then
19622 :
19623 else
19624 cat >>confdefs.h <<\_ACEOF
19625 #define wxUSE_IOSTREAMH 1
19626 _ACEOF
19627
19628 fi
19629
19630 ac_ext=c
19631 ac_cpp='$CPP $CPPFLAGS'
19632 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19633 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19634 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19635
19636
19637
19638
19639 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
19640 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
19641 if test "${wx_cv_cpp_bool+set}" = set; then
19642 echo $ECHO_N "(cached) $ECHO_C" >&6
19643 else
19644
19645
19646
19647 ac_ext=cc
19648 ac_cpp='$CXXCPP $CPPFLAGS'
19649 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19650 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19651 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19652
19653
19654 cat >conftest.$ac_ext <<_ACEOF
19655 /* confdefs.h. */
19656 _ACEOF
19657 cat confdefs.h >>conftest.$ac_ext
19658 cat >>conftest.$ac_ext <<_ACEOF
19659 /* end confdefs.h. */
19660
19661
19662 int
19663 main ()
19664 {
19665
19666 bool b = true;
19667
19668 return 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_cxx_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
19697 wx_cv_cpp_bool=yes
19698
19699 else
19700 echo "$as_me: failed program was:" >&5
19701 sed 's/^/| /' conftest.$ac_ext >&5
19702
19703
19704 wx_cv_cpp_bool=no
19705
19706
19707 fi
19708 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19709
19710 ac_ext=c
19711 ac_cpp='$CPP $CPPFLAGS'
19712 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19713 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19714 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19715
19716
19717 fi
19718 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
19719 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
19720
19721 if test "$wx_cv_cpp_bool" = "yes"; then
19722 cat >>confdefs.h <<\_ACEOF
19723 #define HAVE_BOOL 1
19724 _ACEOF
19725
19726 fi
19727
19728
19729
19730 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
19731 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
19732 if test "${wx_cv_explicit+set}" = set; then
19733 echo $ECHO_N "(cached) $ECHO_C" >&6
19734 else
19735
19736
19737
19738 ac_ext=cc
19739 ac_cpp='$CXXCPP $CPPFLAGS'
19740 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19741 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19742 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19743
19744
19745 cat >conftest.$ac_ext <<_ACEOF
19746 /* confdefs.h. */
19747 _ACEOF
19748 cat confdefs.h >>conftest.$ac_ext
19749 cat >>conftest.$ac_ext <<_ACEOF
19750 /* end confdefs.h. */
19751
19752 class Foo { public: explicit Foo(int) {} };
19753
19754 int
19755 main ()
19756 {
19757
19758 return 0;
19759
19760 ;
19761 return 0;
19762 }
19763 _ACEOF
19764 rm -f conftest.$ac_objext
19765 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19766 (eval $ac_compile) 2>conftest.er1
19767 ac_status=$?
19768 grep -v '^ *+' conftest.er1 >conftest.err
19769 rm -f conftest.er1
19770 cat conftest.err >&5
19771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19772 (exit $ac_status); } &&
19773 { ac_try='test -z "$ac_cxx_werror_flag"
19774 || test ! -s conftest.err'
19775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19776 (eval $ac_try) 2>&5
19777 ac_status=$?
19778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19779 (exit $ac_status); }; } &&
19780 { ac_try='test -s conftest.$ac_objext'
19781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19782 (eval $ac_try) 2>&5
19783 ac_status=$?
19784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19785 (exit $ac_status); }; }; then
19786
19787 cat >conftest.$ac_ext <<_ACEOF
19788 /* confdefs.h. */
19789 _ACEOF
19790 cat confdefs.h >>conftest.$ac_ext
19791 cat >>conftest.$ac_ext <<_ACEOF
19792 /* end confdefs.h. */
19793
19794 class Foo { public: explicit Foo(int) {} };
19795 static void TakeFoo(const Foo& foo) { }
19796
19797 int
19798 main ()
19799 {
19800
19801 TakeFoo(17);
19802 return 0;
19803
19804 ;
19805 return 0;
19806 }
19807 _ACEOF
19808 rm -f conftest.$ac_objext
19809 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19810 (eval $ac_compile) 2>conftest.er1
19811 ac_status=$?
19812 grep -v '^ *+' conftest.er1 >conftest.err
19813 rm -f conftest.er1
19814 cat conftest.err >&5
19815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19816 (exit $ac_status); } &&
19817 { ac_try='test -z "$ac_cxx_werror_flag"
19818 || test ! -s conftest.err'
19819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19820 (eval $ac_try) 2>&5
19821 ac_status=$?
19822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19823 (exit $ac_status); }; } &&
19824 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
19830 wx_cv_explicit=no
19831 else
19832 echo "$as_me: failed program was:" >&5
19833 sed 's/^/| /' conftest.$ac_ext >&5
19834
19835 wx_cv_explicit=yes
19836
19837 fi
19838 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19839
19840 else
19841 echo "$as_me: failed program was:" >&5
19842 sed 's/^/| /' conftest.$ac_ext >&5
19843
19844 wx_cv_explicit=no
19845
19846 fi
19847 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19848
19849 ac_ext=c
19850 ac_cpp='$CPP $CPPFLAGS'
19851 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19852 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19853 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19854
19855
19856 fi
19857 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
19858 echo "${ECHO_T}$wx_cv_explicit" >&6
19859
19860 if test "$wx_cv_explicit" = "yes"; then
19861 cat >>confdefs.h <<\_ACEOF
19862 #define HAVE_EXPLICIT 1
19863 _ACEOF
19864
19865 fi
19866
19867
19868 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
19869 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
19870 if test "${ac_cv_cxx_const_cast+set}" = set; then
19871 echo $ECHO_N "(cached) $ECHO_C" >&6
19872 else
19873
19874
19875 ac_ext=cc
19876 ac_cpp='$CXXCPP $CPPFLAGS'
19877 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19878 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19879 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19880
19881 cat >conftest.$ac_ext <<_ACEOF
19882 /* confdefs.h. */
19883 _ACEOF
19884 cat confdefs.h >>conftest.$ac_ext
19885 cat >>conftest.$ac_ext <<_ACEOF
19886 /* end confdefs.h. */
19887
19888 int
19889 main ()
19890 {
19891 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
19892 ;
19893 return 0;
19894 }
19895 _ACEOF
19896 rm -f conftest.$ac_objext
19897 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19898 (eval $ac_compile) 2>conftest.er1
19899 ac_status=$?
19900 grep -v '^ *+' conftest.er1 >conftest.err
19901 rm -f conftest.er1
19902 cat conftest.err >&5
19903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19904 (exit $ac_status); } &&
19905 { ac_try='test -z "$ac_cxx_werror_flag"
19906 || test ! -s conftest.err'
19907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19908 (eval $ac_try) 2>&5
19909 ac_status=$?
19910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19911 (exit $ac_status); }; } &&
19912 { ac_try='test -s conftest.$ac_objext'
19913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19914 (eval $ac_try) 2>&5
19915 ac_status=$?
19916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19917 (exit $ac_status); }; }; then
19918 ac_cv_cxx_const_cast=yes
19919 else
19920 echo "$as_me: failed program was:" >&5
19921 sed 's/^/| /' conftest.$ac_ext >&5
19922
19923 ac_cv_cxx_const_cast=no
19924 fi
19925 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19926 ac_ext=c
19927 ac_cpp='$CPP $CPPFLAGS'
19928 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19929 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19930 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19931
19932
19933 fi
19934 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
19935 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
19936 if test "$ac_cv_cxx_const_cast" = yes; then
19937
19938 cat >>confdefs.h <<\_ACEOF
19939 #define HAVE_CONST_CAST
19940 _ACEOF
19941
19942 fi
19943
19944 echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
19945 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6
19946 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
19947 echo $ECHO_N "(cached) $ECHO_C" >&6
19948 else
19949
19950
19951 ac_ext=cc
19952 ac_cpp='$CXXCPP $CPPFLAGS'
19953 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19954 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19955 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19956
19957 cat >conftest.$ac_ext <<_ACEOF
19958 /* confdefs.h. */
19959 _ACEOF
19960 cat confdefs.h >>conftest.$ac_ext
19961 cat >>conftest.$ac_ext <<_ACEOF
19962 /* end confdefs.h. */
19963 #include <typeinfo>
19964 class Base { public : Base () {} virtual void f () = 0;};
19965 class Derived : public Base { public : Derived () {} virtual void f () {} };
19966 class Unrelated { public : Unrelated () {} };
19967 int g (Unrelated&) { return 0; }
19968 int
19969 main ()
19970 {
19971
19972 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
19973 ;
19974 return 0;
19975 }
19976 _ACEOF
19977 rm -f conftest.$ac_objext
19978 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19979 (eval $ac_compile) 2>conftest.er1
19980 ac_status=$?
19981 grep -v '^ *+' conftest.er1 >conftest.err
19982 rm -f conftest.er1
19983 cat conftest.err >&5
19984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19985 (exit $ac_status); } &&
19986 { ac_try='test -z "$ac_cxx_werror_flag"
19987 || test ! -s conftest.err'
19988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19989 (eval $ac_try) 2>&5
19990 ac_status=$?
19991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19992 (exit $ac_status); }; } &&
19993 { ac_try='test -s conftest.$ac_objext'
19994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19995 (eval $ac_try) 2>&5
19996 ac_status=$?
19997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19998 (exit $ac_status); }; }; then
19999 ac_cv_cxx_reinterpret_cast=yes
20000 else
20001 echo "$as_me: failed program was:" >&5
20002 sed 's/^/| /' conftest.$ac_ext >&5
20003
20004 ac_cv_cxx_reinterpret_cast=no
20005 fi
20006 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20007 ac_ext=c
20008 ac_cpp='$CPP $CPPFLAGS'
20009 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20010 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20011 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20012
20013
20014 fi
20015 echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
20016 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6
20017 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
20018
20019 cat >>confdefs.h <<\_ACEOF
20020 #define HAVE_REINTERPRET_CAST
20021 _ACEOF
20022
20023 fi
20024
20025 echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
20026 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6
20027 if test "${ac_cv_cxx_static_cast+set}" = set; then
20028 echo $ECHO_N "(cached) $ECHO_C" >&6
20029 else
20030
20031
20032 ac_ext=cc
20033 ac_cpp='$CXXCPP $CPPFLAGS'
20034 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20035 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20036 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20037
20038 cat >conftest.$ac_ext <<_ACEOF
20039 /* confdefs.h. */
20040 _ACEOF
20041 cat confdefs.h >>conftest.$ac_ext
20042 cat >>conftest.$ac_ext <<_ACEOF
20043 /* end confdefs.h. */
20044 #include <typeinfo>
20045 class Base { public : Base () {} virtual void f () = 0; };
20046 class Derived : public Base { public : Derived () {} virtual void f () {} };
20047 int g (Derived&) { return 0; }
20048 int
20049 main ()
20050 {
20051
20052 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
20053 ;
20054 return 0;
20055 }
20056 _ACEOF
20057 rm -f conftest.$ac_objext
20058 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20059 (eval $ac_compile) 2>conftest.er1
20060 ac_status=$?
20061 grep -v '^ *+' conftest.er1 >conftest.err
20062 rm -f conftest.er1
20063 cat conftest.err >&5
20064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20065 (exit $ac_status); } &&
20066 { ac_try='test -z "$ac_cxx_werror_flag"
20067 || test ! -s conftest.err'
20068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20069 (eval $ac_try) 2>&5
20070 ac_status=$?
20071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20072 (exit $ac_status); }; } &&
20073 { ac_try='test -s conftest.$ac_objext'
20074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20075 (eval $ac_try) 2>&5
20076 ac_status=$?
20077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20078 (exit $ac_status); }; }; then
20079 ac_cv_cxx_static_cast=yes
20080 else
20081 echo "$as_me: failed program was:" >&5
20082 sed 's/^/| /' conftest.$ac_ext >&5
20083
20084 ac_cv_cxx_static_cast=no
20085 fi
20086 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20087 ac_ext=c
20088 ac_cpp='$CPP $CPPFLAGS'
20089 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20090 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20091 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20092
20093
20094 fi
20095 echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
20096 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6
20097 if test "$ac_cv_cxx_static_cast" = yes; then
20098
20099 cat >>confdefs.h <<\_ACEOF
20100 #define HAVE_STATIC_CAST
20101 _ACEOF
20102
20103 fi
20104
20105
20106 if test "$wxUSE_STL" = "yes"; then
20107 ac_ext=cc
20108 ac_cpp='$CXXCPP $CPPFLAGS'
20109 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20110 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20111 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20112
20113
20114 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
20115 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
20116 cat >conftest.$ac_ext <<_ACEOF
20117 /* confdefs.h. */
20118 _ACEOF
20119 cat confdefs.h >>conftest.$ac_ext
20120 cat >>conftest.$ac_ext <<_ACEOF
20121 /* end confdefs.h. */
20122 #include <string>
20123 #include <functional>
20124 #include <algorithm>
20125 #include <vector>
20126 #include <list>
20127 int
20128 main ()
20129 {
20130 std::vector<int> moo;
20131 std::list<int> foo;
20132 std::vector<int>::iterator it =
20133 std::find_if(moo.begin(), moo.end(),
20134 std::bind2nd(std::less<int>(), 3));
20135 ;
20136 return 0;
20137 }
20138 _ACEOF
20139 rm -f conftest.$ac_objext
20140 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20141 (eval $ac_compile) 2>conftest.er1
20142 ac_status=$?
20143 grep -v '^ *+' conftest.er1 >conftest.err
20144 rm -f conftest.er1
20145 cat conftest.err >&5
20146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20147 (exit $ac_status); } &&
20148 { ac_try='test -z "$ac_cxx_werror_flag"
20149 || test ! -s conftest.err'
20150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20151 (eval $ac_try) 2>&5
20152 ac_status=$?
20153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20154 (exit $ac_status); }; } &&
20155 { ac_try='test -s conftest.$ac_objext'
20156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20157 (eval $ac_try) 2>&5
20158 ac_status=$?
20159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20160 (exit $ac_status); }; }; then
20161 echo "$as_me:$LINENO: result: yes" >&5
20162 echo "${ECHO_T}yes" >&6
20163 else
20164 echo "$as_me: failed program was:" >&5
20165 sed 's/^/| /' conftest.$ac_ext >&5
20166
20167 echo "$as_me:$LINENO: result: no" >&5
20168 echo "${ECHO_T}no" >&6
20169 { { echo "$as_me:$LINENO: error: Basic STL functionality missing" >&5
20170 echo "$as_me: error: Basic STL functionality missing" >&2;}
20171 { (exit 1); exit 1; }; }
20172 fi
20173 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20174
20175 echo "$as_me:$LINENO: checking for std::wstring in <string>" >&5
20176 echo $ECHO_N "checking for std::wstring in <string>... $ECHO_C" >&6
20177 cat >conftest.$ac_ext <<_ACEOF
20178 /* confdefs.h. */
20179 _ACEOF
20180 cat confdefs.h >>conftest.$ac_ext
20181 cat >>conftest.$ac_ext <<_ACEOF
20182 /* end confdefs.h. */
20183 #include <string>
20184 int
20185 main ()
20186 {
20187 std::wstring foo;
20188 ;
20189 return 0;
20190 }
20191 _ACEOF
20192 rm -f conftest.$ac_objext
20193 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20194 (eval $ac_compile) 2>conftest.er1
20195 ac_status=$?
20196 grep -v '^ *+' conftest.er1 >conftest.err
20197 rm -f conftest.er1
20198 cat conftest.err >&5
20199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20200 (exit $ac_status); } &&
20201 { ac_try='test -z "$ac_cxx_werror_flag"
20202 || test ! -s conftest.err'
20203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20204 (eval $ac_try) 2>&5
20205 ac_status=$?
20206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20207 (exit $ac_status); }; } &&
20208 { ac_try='test -s conftest.$ac_objext'
20209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20210 (eval $ac_try) 2>&5
20211 ac_status=$?
20212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20213 (exit $ac_status); }; }; then
20214 echo "$as_me:$LINENO: result: yes" >&5
20215 echo "${ECHO_T}yes" >&6
20216 cat >>confdefs.h <<\_ACEOF
20217 #define HAVE_STD_WSTRING 1
20218 _ACEOF
20219
20220 else
20221 echo "$as_me: failed program was:" >&5
20222 sed 's/^/| /' conftest.$ac_ext >&5
20223
20224 echo "$as_me:$LINENO: result: no" >&5
20225 echo "${ECHO_T}no" >&6
20226 fi
20227 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20228
20229 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
20230 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
20231 cat >conftest.$ac_ext <<_ACEOF
20232 /* confdefs.h. */
20233 _ACEOF
20234 cat confdefs.h >>conftest.$ac_ext
20235 cat >>conftest.$ac_ext <<_ACEOF
20236 /* end confdefs.h. */
20237 #include <string>
20238 int
20239 main ()
20240 {
20241 std::string foo, bar;
20242 foo.compare(bar);
20243 foo.compare(1, 1, bar);
20244 foo.compare(1, 1, bar, 1, 1);
20245 foo.compare("");
20246 foo.compare(1, 1, "");
20247 foo.compare(1, 1, "", 2);
20248 ;
20249 return 0;
20250 }
20251 _ACEOF
20252 rm -f conftest.$ac_objext
20253 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20254 (eval $ac_compile) 2>conftest.er1
20255 ac_status=$?
20256 grep -v '^ *+' conftest.er1 >conftest.err
20257 rm -f conftest.er1
20258 cat conftest.err >&5
20259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20260 (exit $ac_status); } &&
20261 { ac_try='test -z "$ac_cxx_werror_flag"
20262 || test ! -s conftest.err'
20263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20264 (eval $ac_try) 2>&5
20265 ac_status=$?
20266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20267 (exit $ac_status); }; } &&
20268 { ac_try='test -s conftest.$ac_objext'
20269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20270 (eval $ac_try) 2>&5
20271 ac_status=$?
20272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20273 (exit $ac_status); }; }; then
20274 echo "$as_me:$LINENO: result: yes" >&5
20275 echo "${ECHO_T}yes" >&6
20276 cat >>confdefs.h <<\_ACEOF
20277 #define HAVE_STD_STRING_COMPARE 1
20278 _ACEOF
20279
20280 else
20281 echo "$as_me: failed program was:" >&5
20282 sed 's/^/| /' conftest.$ac_ext >&5
20283
20284 echo "$as_me:$LINENO: result: no" >&5
20285 echo "${ECHO_T}no" >&6
20286 fi
20287 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20288
20289 if test "${ac_cv_header_hash_map+set}" = set; then
20290 echo "$as_me:$LINENO: checking for hash_map" >&5
20291 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
20292 if test "${ac_cv_header_hash_map+set}" = set; then
20293 echo $ECHO_N "(cached) $ECHO_C" >&6
20294 fi
20295 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
20296 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
20297 else
20298 # Is the header compilable?
20299 echo "$as_me:$LINENO: checking hash_map usability" >&5
20300 echo $ECHO_N "checking hash_map usability... $ECHO_C" >&6
20301 cat >conftest.$ac_ext <<_ACEOF
20302 /* confdefs.h. */
20303 _ACEOF
20304 cat confdefs.h >>conftest.$ac_ext
20305 cat >>conftest.$ac_ext <<_ACEOF
20306 /* end confdefs.h. */
20307 $ac_includes_default
20308 #include <hash_map>
20309 _ACEOF
20310 rm -f conftest.$ac_objext
20311 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20312 (eval $ac_compile) 2>conftest.er1
20313 ac_status=$?
20314 grep -v '^ *+' conftest.er1 >conftest.err
20315 rm -f conftest.er1
20316 cat conftest.err >&5
20317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20318 (exit $ac_status); } &&
20319 { ac_try='test -z "$ac_cxx_werror_flag"
20320 || test ! -s conftest.err'
20321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20322 (eval $ac_try) 2>&5
20323 ac_status=$?
20324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20325 (exit $ac_status); }; } &&
20326 { ac_try='test -s conftest.$ac_objext'
20327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20328 (eval $ac_try) 2>&5
20329 ac_status=$?
20330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20331 (exit $ac_status); }; }; then
20332 ac_header_compiler=yes
20333 else
20334 echo "$as_me: failed program was:" >&5
20335 sed 's/^/| /' conftest.$ac_ext >&5
20336
20337 ac_header_compiler=no
20338 fi
20339 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20340 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20341 echo "${ECHO_T}$ac_header_compiler" >&6
20342
20343 # Is the header present?
20344 echo "$as_me:$LINENO: checking hash_map presence" >&5
20345 echo $ECHO_N "checking hash_map presence... $ECHO_C" >&6
20346 cat >conftest.$ac_ext <<_ACEOF
20347 /* confdefs.h. */
20348 _ACEOF
20349 cat confdefs.h >>conftest.$ac_ext
20350 cat >>conftest.$ac_ext <<_ACEOF
20351 /* end confdefs.h. */
20352 #include <hash_map>
20353 _ACEOF
20354 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20355 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
20356 ac_status=$?
20357 grep -v '^ *+' conftest.er1 >conftest.err
20358 rm -f conftest.er1
20359 cat conftest.err >&5
20360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20361 (exit $ac_status); } >/dev/null; then
20362 if test -s conftest.err; then
20363 ac_cpp_err=$ac_cxx_preproc_warn_flag
20364 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
20365 else
20366 ac_cpp_err=
20367 fi
20368 else
20369 ac_cpp_err=yes
20370 fi
20371 if test -z "$ac_cpp_err"; then
20372 ac_header_preproc=yes
20373 else
20374 echo "$as_me: failed program was:" >&5
20375 sed 's/^/| /' conftest.$ac_ext >&5
20376
20377 ac_header_preproc=no
20378 fi
20379 rm -f conftest.err conftest.$ac_ext
20380 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20381 echo "${ECHO_T}$ac_header_preproc" >&6
20382
20383 # So? What about this header?
20384 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
20385 yes:no: )
20386 { echo "$as_me:$LINENO: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
20387 echo "$as_me: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
20388 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the compiler's result" >&5
20389 echo "$as_me: WARNING: hash_map: proceeding with the compiler's result" >&2;}
20390 ac_header_preproc=yes
20391 ;;
20392 no:yes:* )
20393 { echo "$as_me:$LINENO: WARNING: hash_map: present but cannot be compiled" >&5
20394 echo "$as_me: WARNING: hash_map: present but cannot be compiled" >&2;}
20395 { echo "$as_me:$LINENO: WARNING: hash_map: check for missing prerequisite headers?" >&5
20396 echo "$as_me: WARNING: hash_map: check for missing prerequisite headers?" >&2;}
20397 { echo "$as_me:$LINENO: WARNING: hash_map: see the Autoconf documentation" >&5
20398 echo "$as_me: WARNING: hash_map: see the Autoconf documentation" >&2;}
20399 { echo "$as_me:$LINENO: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&5
20400 echo "$as_me: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
20401 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the preprocessor's result" >&5
20402 echo "$as_me: WARNING: hash_map: proceeding with the preprocessor's result" >&2;}
20403 { echo "$as_me:$LINENO: WARNING: hash_map: in the future, the compiler will take precedence" >&5
20404 echo "$as_me: WARNING: hash_map: in the future, the compiler will take precedence" >&2;}
20405 (
20406 cat <<\_ASBOX
20407 ## ----------------------------------------- ##
20408 ## Report this to wx-dev@lists.wxwidgets.org ##
20409 ## ----------------------------------------- ##
20410 _ASBOX
20411 ) |
20412 sed "s/^/$as_me: WARNING: /" >&2
20413 ;;
20414 esac
20415 echo "$as_me:$LINENO: checking for hash_map" >&5
20416 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
20417 if test "${ac_cv_header_hash_map+set}" = set; then
20418 echo $ECHO_N "(cached) $ECHO_C" >&6
20419 else
20420 ac_cv_header_hash_map=$ac_header_preproc
20421 fi
20422 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
20423 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
20424
20425 fi
20426 if test $ac_cv_header_hash_map = yes; then
20427 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
20428 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
20429 cat >conftest.$ac_ext <<_ACEOF
20430 /* confdefs.h. */
20431 _ACEOF
20432 cat confdefs.h >>conftest.$ac_ext
20433 cat >>conftest.$ac_ext <<_ACEOF
20434 /* end confdefs.h. */
20435 #include <hash_map>
20436 #include <hash_set>
20437 int
20438 main ()
20439 {
20440 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
20441 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
20442 ;
20443 return 0;
20444 }
20445 _ACEOF
20446 rm -f conftest.$ac_objext
20447 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20448 (eval $ac_compile) 2>conftest.er1
20449 ac_status=$?
20450 grep -v '^ *+' conftest.er1 >conftest.err
20451 rm -f conftest.er1
20452 cat conftest.err >&5
20453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20454 (exit $ac_status); } &&
20455 { ac_try='test -z "$ac_cxx_werror_flag"
20456 || test ! -s conftest.err'
20457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20458 (eval $ac_try) 2>&5
20459 ac_status=$?
20460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20461 (exit $ac_status); }; } &&
20462 { ac_try='test -s conftest.$ac_objext'
20463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20464 (eval $ac_try) 2>&5
20465 ac_status=$?
20466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20467 (exit $ac_status); }; }; then
20468 echo "$as_me:$LINENO: result: yes" >&5
20469 echo "${ECHO_T}yes" >&6
20470 cat >>confdefs.h <<\_ACEOF
20471 #define HAVE_HASH_MAP 1
20472 _ACEOF
20473
20474 cat >>confdefs.h <<\_ACEOF
20475 #define HAVE_STD_HASH_MAP 1
20476 _ACEOF
20477
20478 else
20479 echo "$as_me: failed program was:" >&5
20480 sed 's/^/| /' conftest.$ac_ext >&5
20481
20482 echo "$as_me:$LINENO: result: no" >&5
20483 echo "${ECHO_T}no" >&6
20484 fi
20485 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20486
20487 fi
20488
20489
20490
20491 if test "${ac_cv_header_ext_hash_map+set}" = set; then
20492 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
20493 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
20494 if test "${ac_cv_header_ext_hash_map+set}" = set; then
20495 echo $ECHO_N "(cached) $ECHO_C" >&6
20496 fi
20497 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
20498 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
20499 else
20500 # Is the header compilable?
20501 echo "$as_me:$LINENO: checking ext/hash_map usability" >&5
20502 echo $ECHO_N "checking ext/hash_map usability... $ECHO_C" >&6
20503 cat >conftest.$ac_ext <<_ACEOF
20504 /* confdefs.h. */
20505 _ACEOF
20506 cat confdefs.h >>conftest.$ac_ext
20507 cat >>conftest.$ac_ext <<_ACEOF
20508 /* end confdefs.h. */
20509 $ac_includes_default
20510 #include <ext/hash_map>
20511 _ACEOF
20512 rm -f conftest.$ac_objext
20513 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20514 (eval $ac_compile) 2>conftest.er1
20515 ac_status=$?
20516 grep -v '^ *+' conftest.er1 >conftest.err
20517 rm -f conftest.er1
20518 cat conftest.err >&5
20519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20520 (exit $ac_status); } &&
20521 { ac_try='test -z "$ac_cxx_werror_flag"
20522 || test ! -s conftest.err'
20523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20524 (eval $ac_try) 2>&5
20525 ac_status=$?
20526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20527 (exit $ac_status); }; } &&
20528 { ac_try='test -s conftest.$ac_objext'
20529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20530 (eval $ac_try) 2>&5
20531 ac_status=$?
20532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20533 (exit $ac_status); }; }; then
20534 ac_header_compiler=yes
20535 else
20536 echo "$as_me: failed program was:" >&5
20537 sed 's/^/| /' conftest.$ac_ext >&5
20538
20539 ac_header_compiler=no
20540 fi
20541 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20542 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20543 echo "${ECHO_T}$ac_header_compiler" >&6
20544
20545 # Is the header present?
20546 echo "$as_me:$LINENO: checking ext/hash_map presence" >&5
20547 echo $ECHO_N "checking ext/hash_map presence... $ECHO_C" >&6
20548 cat >conftest.$ac_ext <<_ACEOF
20549 /* confdefs.h. */
20550 _ACEOF
20551 cat confdefs.h >>conftest.$ac_ext
20552 cat >>conftest.$ac_ext <<_ACEOF
20553 /* end confdefs.h. */
20554 #include <ext/hash_map>
20555 _ACEOF
20556 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20557 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
20558 ac_status=$?
20559 grep -v '^ *+' conftest.er1 >conftest.err
20560 rm -f conftest.er1
20561 cat conftest.err >&5
20562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20563 (exit $ac_status); } >/dev/null; then
20564 if test -s conftest.err; then
20565 ac_cpp_err=$ac_cxx_preproc_warn_flag
20566 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
20567 else
20568 ac_cpp_err=
20569 fi
20570 else
20571 ac_cpp_err=yes
20572 fi
20573 if test -z "$ac_cpp_err"; then
20574 ac_header_preproc=yes
20575 else
20576 echo "$as_me: failed program was:" >&5
20577 sed 's/^/| /' conftest.$ac_ext >&5
20578
20579 ac_header_preproc=no
20580 fi
20581 rm -f conftest.err conftest.$ac_ext
20582 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20583 echo "${ECHO_T}$ac_header_preproc" >&6
20584
20585 # So? What about this header?
20586 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
20587 yes:no: )
20588 { echo "$as_me:$LINENO: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
20589 echo "$as_me: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
20590 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the compiler's result" >&5
20591 echo "$as_me: WARNING: ext/hash_map: proceeding with the compiler's result" >&2;}
20592 ac_header_preproc=yes
20593 ;;
20594 no:yes:* )
20595 { echo "$as_me:$LINENO: WARNING: ext/hash_map: present but cannot be compiled" >&5
20596 echo "$as_me: WARNING: ext/hash_map: present but cannot be compiled" >&2;}
20597 { echo "$as_me:$LINENO: WARNING: ext/hash_map: check for missing prerequisite headers?" >&5
20598 echo "$as_me: WARNING: ext/hash_map: check for missing prerequisite headers?" >&2;}
20599 { echo "$as_me:$LINENO: WARNING: ext/hash_map: see the Autoconf documentation" >&5
20600 echo "$as_me: WARNING: ext/hash_map: see the Autoconf documentation" >&2;}
20601 { echo "$as_me:$LINENO: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&5
20602 echo "$as_me: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
20603 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&5
20604 echo "$as_me: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&2;}
20605 { echo "$as_me:$LINENO: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&5
20606 echo "$as_me: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&2;}
20607 (
20608 cat <<\_ASBOX
20609 ## ----------------------------------------- ##
20610 ## Report this to wx-dev@lists.wxwidgets.org ##
20611 ## ----------------------------------------- ##
20612 _ASBOX
20613 ) |
20614 sed "s/^/$as_me: WARNING: /" >&2
20615 ;;
20616 esac
20617 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
20618 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
20619 if test "${ac_cv_header_ext_hash_map+set}" = set; then
20620 echo $ECHO_N "(cached) $ECHO_C" >&6
20621 else
20622 ac_cv_header_ext_hash_map=$ac_header_preproc
20623 fi
20624 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
20625 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
20626
20627 fi
20628 if test $ac_cv_header_ext_hash_map = yes; then
20629 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
20630 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
20631 cat >conftest.$ac_ext <<_ACEOF
20632 /* confdefs.h. */
20633 _ACEOF
20634 cat confdefs.h >>conftest.$ac_ext
20635 cat >>conftest.$ac_ext <<_ACEOF
20636 /* end confdefs.h. */
20637 #include <ext/hash_map>
20638 #include <ext/hash_set>
20639 int
20640 main ()
20641 {
20642 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
20643 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
20644 ;
20645 return 0;
20646 }
20647 _ACEOF
20648 rm -f conftest.$ac_objext
20649 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20650 (eval $ac_compile) 2>conftest.er1
20651 ac_status=$?
20652 grep -v '^ *+' conftest.er1 >conftest.err
20653 rm -f conftest.er1
20654 cat conftest.err >&5
20655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20656 (exit $ac_status); } &&
20657 { ac_try='test -z "$ac_cxx_werror_flag"
20658 || test ! -s conftest.err'
20659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20660 (eval $ac_try) 2>&5
20661 ac_status=$?
20662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20663 (exit $ac_status); }; } &&
20664 { ac_try='test -s conftest.$ac_objext'
20665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20666 (eval $ac_try) 2>&5
20667 ac_status=$?
20668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20669 (exit $ac_status); }; }; then
20670 echo "$as_me:$LINENO: result: yes" >&5
20671 echo "${ECHO_T}yes" >&6
20672 cat >>confdefs.h <<\_ACEOF
20673 #define HAVE_EXT_HASH_MAP 1
20674 _ACEOF
20675
20676 cat >>confdefs.h <<\_ACEOF
20677 #define HAVE_GNU_CXX_HASH_MAP 1
20678 _ACEOF
20679
20680 else
20681 echo "$as_me: failed program was:" >&5
20682 sed 's/^/| /' conftest.$ac_ext >&5
20683
20684 echo "$as_me:$LINENO: result: no" >&5
20685 echo "${ECHO_T}no" >&6
20686 fi
20687 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20688
20689 fi
20690
20691
20692
20693 ac_ext=c
20694 ac_cpp='$CPP $CPPFLAGS'
20695 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20696 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20697 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20698
20699 fi
20700
20701
20702 SEARCH_INCLUDE="\
20703 /usr/local/include \
20704 \
20705 /usr/Motif-2.1/include \
20706 /usr/Motif-1.2/include \
20707 /usr/include/Motif1.2 \
20708 /opt/xpm/include/X11 \
20709 /opt/GBxpm/include/ \
20710 /opt/GBxpm/X11/include/ \
20711 \
20712 /usr/dt/include \
20713 /usr/openwin/include \
20714 \
20715 /usr/include/Xm \
20716 \
20717 /usr/X11R6/include \
20718 /usr/X11R6.4/include \
20719 /usr/X11R5/include \
20720 /usr/X11R4/include \
20721 \
20722 /usr/include/X11R6 \
20723 /usr/include/X11R5 \
20724 /usr/include/X11R4 \
20725 \
20726 /usr/local/X11R6/include \
20727 /usr/local/X11R5/include \
20728 /usr/local/X11R4/include \
20729 \
20730 /usr/local/include/X11R6 \
20731 /usr/local/include/X11R5 \
20732 /usr/local/include/X11R4 \
20733 \
20734 /usr/X11/include \
20735 /usr/include/X11 \
20736 /usr/local/X11/include \
20737 /usr/local/include/X11 \
20738 \
20739 /usr/X386/include \
20740 /usr/x386/include \
20741 /usr/XFree86/include/X11 \
20742 \
20743 X:/XFree86/include \
20744 X:/XFree86/include/X11 \
20745 \
20746 /usr/include/gtk \
20747 /usr/local/include/gtk \
20748 /usr/include/glib \
20749 /usr/local/include/glib \
20750 \
20751 /usr/include/qt \
20752 /usr/local/include/qt \
20753 \
20754 /usr/local/arm/3.3.2/include \
20755 \
20756 /usr/include/windows \
20757 /usr/include/wine \
20758 /usr/local/include/wine \
20759 \
20760 /usr/unsupported/include \
20761 /usr/athena/include \
20762 /usr/local/x11r5/include \
20763 /usr/lpp/Xamples/include \
20764 \
20765 /usr/openwin/share/include"
20766
20767 SEARCH_LIB="/usr/lib /usr/lib32 `echo "$SEARCH_INCLUDE" | sed s/include/lib/g` /usr/lib64 /usr/X11R6/lib64"
20768
20769
20770 cat >confcache <<\_ACEOF
20771 # This file is a shell script that caches the results of configure
20772 # tests run on this system so they can be shared between configure
20773 # scripts and configure runs, see configure's option --config-cache.
20774 # It is not useful on other systems. If it contains results you don't
20775 # want to keep, you may remove or edit it.
20776 #
20777 # config.status only pays attention to the cache file if you give it
20778 # the --recheck option to rerun configure.
20779 #
20780 # `ac_cv_env_foo' variables (set or unset) will be overridden when
20781 # loading this file, other *unset* `ac_cv_foo' will be assigned the
20782 # following values.
20783
20784 _ACEOF
20785
20786 # The following way of writing the cache mishandles newlines in values,
20787 # but we know of no workaround that is simple, portable, and efficient.
20788 # So, don't put newlines in cache variables' values.
20789 # Ultrix sh set writes to stderr and can't be redirected directly,
20790 # and sets the high bit in the cache file unless we assign to the vars.
20791 {
20792 (set) 2>&1 |
20793 case `(ac_space=' '; set | grep ac_space) 2>&1` in
20794 *ac_space=\ *)
20795 # `set' does not quote correctly, so add quotes (double-quote
20796 # substitution turns \\\\ into \\, and sed turns \\ into \).
20797 sed -n \
20798 "s/'/'\\\\''/g;
20799 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
20800 ;;
20801 *)
20802 # `set' quotes correctly as required by POSIX, so do not add quotes.
20803 sed -n \
20804 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
20805 ;;
20806 esac;
20807 } |
20808 sed '
20809 t clear
20810 : clear
20811 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
20812 t end
20813 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
20814 : end' >>confcache
20815 if diff $cache_file confcache >/dev/null 2>&1; then :; else
20816 if test -w $cache_file; then
20817 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
20818 cat confcache >$cache_file
20819 else
20820 echo "not updating unwritable cache $cache_file"
20821 fi
20822 fi
20823 rm -f confcache
20824
20825 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
20826 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
20827 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
20828 if test "${wx_cv_lib_glibc21+set}" = set; then
20829 echo $ECHO_N "(cached) $ECHO_C" >&6
20830 else
20831
20832 cat >conftest.$ac_ext <<_ACEOF
20833 /* confdefs.h. */
20834 _ACEOF
20835 cat confdefs.h >>conftest.$ac_ext
20836 cat >>conftest.$ac_ext <<_ACEOF
20837 /* end confdefs.h. */
20838 #include <features.h>
20839 int
20840 main ()
20841 {
20842
20843 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
20844 #error not glibc2.1
20845 #endif
20846
20847 ;
20848 return 0;
20849 }
20850 _ACEOF
20851 rm -f conftest.$ac_objext
20852 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20853 (eval $ac_compile) 2>conftest.er1
20854 ac_status=$?
20855 grep -v '^ *+' conftest.er1 >conftest.err
20856 rm -f conftest.er1
20857 cat conftest.err >&5
20858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20859 (exit $ac_status); } &&
20860 { ac_try='test -z "$ac_c_werror_flag"
20861 || test ! -s conftest.err'
20862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20863 (eval $ac_try) 2>&5
20864 ac_status=$?
20865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20866 (exit $ac_status); }; } &&
20867 { ac_try='test -s conftest.$ac_objext'
20868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20869 (eval $ac_try) 2>&5
20870 ac_status=$?
20871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20872 (exit $ac_status); }; }; then
20873
20874 wx_cv_lib_glibc21=yes
20875
20876 else
20877 echo "$as_me: failed program was:" >&5
20878 sed 's/^/| /' conftest.$ac_ext >&5
20879
20880
20881 wx_cv_lib_glibc21=no
20882
20883
20884 fi
20885 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20886
20887 fi
20888 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
20889 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
20890 if test "$wx_cv_lib_glibc21" = "yes"; then
20891 cat >>confdefs.h <<\_ACEOF
20892 #define wxHAVE_GLIBC2 1
20893 _ACEOF
20894
20895 fi
20896 fi
20897
20898 if test "x$wx_cv_lib_glibc21" = "xyes"; then
20899 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
20900 cat >>confdefs.h <<\_ACEOF
20901 #define _GNU_SOURCE 1
20902 _ACEOF
20903
20904 fi
20905 fi
20906
20907
20908
20909 if test "$wxUSE_REGEX" != "no"; then
20910 cat >>confdefs.h <<\_ACEOF
20911 #define wxUSE_REGEX 1
20912 _ACEOF
20913
20914
20915 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
20916 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
20917 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
20918 wxUSE_REGEX=builtin
20919 fi
20920
20921 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
20922 if test "${ac_cv_header_regex_h+set}" = set; then
20923 echo "$as_me:$LINENO: checking for regex.h" >&5
20924 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
20925 if test "${ac_cv_header_regex_h+set}" = set; then
20926 echo $ECHO_N "(cached) $ECHO_C" >&6
20927 fi
20928 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
20929 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
20930 else
20931 # Is the header compilable?
20932 echo "$as_me:$LINENO: checking regex.h usability" >&5
20933 echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
20934 cat >conftest.$ac_ext <<_ACEOF
20935 /* confdefs.h. */
20936 _ACEOF
20937 cat confdefs.h >>conftest.$ac_ext
20938 cat >>conftest.$ac_ext <<_ACEOF
20939 /* end confdefs.h. */
20940 $ac_includes_default
20941 #include <regex.h>
20942 _ACEOF
20943 rm -f conftest.$ac_objext
20944 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20945 (eval $ac_compile) 2>conftest.er1
20946 ac_status=$?
20947 grep -v '^ *+' conftest.er1 >conftest.err
20948 rm -f conftest.er1
20949 cat conftest.err >&5
20950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20951 (exit $ac_status); } &&
20952 { ac_try='test -z "$ac_c_werror_flag"
20953 || test ! -s conftest.err'
20954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20955 (eval $ac_try) 2>&5
20956 ac_status=$?
20957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20958 (exit $ac_status); }; } &&
20959 { ac_try='test -s conftest.$ac_objext'
20960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20961 (eval $ac_try) 2>&5
20962 ac_status=$?
20963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20964 (exit $ac_status); }; }; then
20965 ac_header_compiler=yes
20966 else
20967 echo "$as_me: failed program was:" >&5
20968 sed 's/^/| /' conftest.$ac_ext >&5
20969
20970 ac_header_compiler=no
20971 fi
20972 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20973 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20974 echo "${ECHO_T}$ac_header_compiler" >&6
20975
20976 # Is the header present?
20977 echo "$as_me:$LINENO: checking regex.h presence" >&5
20978 echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
20979 cat >conftest.$ac_ext <<_ACEOF
20980 /* confdefs.h. */
20981 _ACEOF
20982 cat confdefs.h >>conftest.$ac_ext
20983 cat >>conftest.$ac_ext <<_ACEOF
20984 /* end confdefs.h. */
20985 #include <regex.h>
20986 _ACEOF
20987 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20988 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
20989 ac_status=$?
20990 grep -v '^ *+' conftest.er1 >conftest.err
20991 rm -f conftest.er1
20992 cat conftest.err >&5
20993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20994 (exit $ac_status); } >/dev/null; then
20995 if test -s conftest.err; then
20996 ac_cpp_err=$ac_c_preproc_warn_flag
20997 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
20998 else
20999 ac_cpp_err=
21000 fi
21001 else
21002 ac_cpp_err=yes
21003 fi
21004 if test -z "$ac_cpp_err"; then
21005 ac_header_preproc=yes
21006 else
21007 echo "$as_me: failed program was:" >&5
21008 sed 's/^/| /' conftest.$ac_ext >&5
21009
21010 ac_header_preproc=no
21011 fi
21012 rm -f conftest.err conftest.$ac_ext
21013 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21014 echo "${ECHO_T}$ac_header_preproc" >&6
21015
21016 # So? What about this header?
21017 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21018 yes:no: )
21019 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
21020 echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
21021 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the compiler's result" >&5
21022 echo "$as_me: WARNING: regex.h: proceeding with the compiler's result" >&2;}
21023 ac_header_preproc=yes
21024 ;;
21025 no:yes:* )
21026 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
21027 echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
21028 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
21029 echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
21030 { echo "$as_me:$LINENO: WARNING: regex.h: see the Autoconf documentation" >&5
21031 echo "$as_me: WARNING: regex.h: see the Autoconf documentation" >&2;}
21032 { echo "$as_me:$LINENO: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&5
21033 echo "$as_me: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&2;}
21034 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
21035 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
21036 { echo "$as_me:$LINENO: WARNING: regex.h: in the future, the compiler will take precedence" >&5
21037 echo "$as_me: WARNING: regex.h: in the future, the compiler will take precedence" >&2;}
21038 (
21039 cat <<\_ASBOX
21040 ## ----------------------------------------- ##
21041 ## Report this to wx-dev@lists.wxwidgets.org ##
21042 ## ----------------------------------------- ##
21043 _ASBOX
21044 ) |
21045 sed "s/^/$as_me: WARNING: /" >&2
21046 ;;
21047 esac
21048 echo "$as_me:$LINENO: checking for regex.h" >&5
21049 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
21050 if test "${ac_cv_header_regex_h+set}" = set; then
21051 echo $ECHO_N "(cached) $ECHO_C" >&6
21052 else
21053 ac_cv_header_regex_h=$ac_header_preproc
21054 fi
21055 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
21056 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
21057
21058 fi
21059 if test $ac_cv_header_regex_h = yes; then
21060
21061 for ac_func in regcomp
21062 do
21063 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21064 echo "$as_me:$LINENO: checking for $ac_func" >&5
21065 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21066 if eval "test \"\${$as_ac_var+set}\" = set"; then
21067 echo $ECHO_N "(cached) $ECHO_C" >&6
21068 else
21069 cat >conftest.$ac_ext <<_ACEOF
21070 /* confdefs.h. */
21071 _ACEOF
21072 cat confdefs.h >>conftest.$ac_ext
21073 cat >>conftest.$ac_ext <<_ACEOF
21074 /* end confdefs.h. */
21075 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21076 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21077 #define $ac_func innocuous_$ac_func
21078
21079 /* System header to define __stub macros and hopefully few prototypes,
21080 which can conflict with char $ac_func (); below.
21081 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21082 <limits.h> exists even on freestanding compilers. */
21083
21084 #ifdef __STDC__
21085 # include <limits.h>
21086 #else
21087 # include <assert.h>
21088 #endif
21089
21090 #undef $ac_func
21091
21092 /* Override any gcc2 internal prototype to avoid an error. */
21093 #ifdef __cplusplus
21094 extern "C"
21095 {
21096 #endif
21097 /* We use char because int might match the return type of a gcc2
21098 builtin and then its argument prototype would still apply. */
21099 char $ac_func ();
21100 /* The GNU C library defines this for functions which it implements
21101 to always fail with ENOSYS. Some functions are actually named
21102 something starting with __ and the normal name is an alias. */
21103 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21104 choke me
21105 #else
21106 char (*f) () = $ac_func;
21107 #endif
21108 #ifdef __cplusplus
21109 }
21110 #endif
21111
21112 int
21113 main ()
21114 {
21115 return f != $ac_func;
21116 ;
21117 return 0;
21118 }
21119 _ACEOF
21120 rm -f conftest.$ac_objext conftest$ac_exeext
21121 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21122 (eval $ac_link) 2>conftest.er1
21123 ac_status=$?
21124 grep -v '^ *+' conftest.er1 >conftest.err
21125 rm -f conftest.er1
21126 cat conftest.err >&5
21127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21128 (exit $ac_status); } &&
21129 { ac_try='test -z "$ac_c_werror_flag"
21130 || test ! -s conftest.err'
21131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21132 (eval $ac_try) 2>&5
21133 ac_status=$?
21134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21135 (exit $ac_status); }; } &&
21136 { ac_try='test -s conftest$ac_exeext'
21137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21138 (eval $ac_try) 2>&5
21139 ac_status=$?
21140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21141 (exit $ac_status); }; }; then
21142 eval "$as_ac_var=yes"
21143 else
21144 echo "$as_me: failed program was:" >&5
21145 sed 's/^/| /' conftest.$ac_ext >&5
21146
21147 eval "$as_ac_var=no"
21148 fi
21149 rm -f conftest.err conftest.$ac_objext \
21150 conftest$ac_exeext conftest.$ac_ext
21151 fi
21152 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21153 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21154 if test `eval echo '${'$as_ac_var'}'` = yes; then
21155 cat >>confdefs.h <<_ACEOF
21156 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21157 _ACEOF
21158
21159 fi
21160 done
21161
21162 fi
21163
21164
21165
21166 if test "x$ac_cv_func_regcomp" != "xyes"; then
21167 if test "$wxUSE_REGEX" = "sys" ; then
21168 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
21169 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
21170 { (exit 1); exit 1; }; }
21171 else
21172 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
21173 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
21174 wxUSE_REGEX=builtin
21175 fi
21176 else
21177 wxUSE_REGEX=sys
21178 cat >>confdefs.h <<\_ACEOF
21179 #define WX_NO_REGEX_ADVANCED 1
21180 _ACEOF
21181
21182 fi
21183 fi
21184 fi
21185
21186
21187 ZLIB_LINK=
21188 if test "$wxUSE_ZLIB" != "no" ; then
21189 cat >>confdefs.h <<\_ACEOF
21190 #define wxUSE_ZLIB 1
21191 _ACEOF
21192
21193
21194 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
21195 if test "$USE_DARWIN" = 1; then
21196 system_zlib_h_ok="yes"
21197 else
21198 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
21199 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
21200 if test "${ac_cv_header_zlib_h+set}" = set; then
21201 echo $ECHO_N "(cached) $ECHO_C" >&6
21202 else
21203 if test "$cross_compiling" = yes; then
21204 unset ac_cv_header_zlib_h
21205
21206 else
21207 cat >conftest.$ac_ext <<_ACEOF
21208 /* confdefs.h. */
21209 _ACEOF
21210 cat confdefs.h >>conftest.$ac_ext
21211 cat >>conftest.$ac_ext <<_ACEOF
21212 /* end confdefs.h. */
21213
21214 #include <zlib.h>
21215 #include <stdio.h>
21216
21217 int main()
21218 {
21219 FILE *f=fopen("conftestval", "w");
21220 if (!f) exit(1);
21221 fprintf(f, "%s",
21222 ZLIB_VERSION[0] == '1' &&
21223 (ZLIB_VERSION[2] > '1' ||
21224 (ZLIB_VERSION[2] == '1' &&
21225 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
21226 exit(0);
21227 }
21228
21229 _ACEOF
21230 rm -f conftest$ac_exeext
21231 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21232 (eval $ac_link) 2>&5
21233 ac_status=$?
21234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21235 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21237 (eval $ac_try) 2>&5
21238 ac_status=$?
21239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21240 (exit $ac_status); }; }; then
21241 ac_cv_header_zlib_h=`cat conftestval`
21242 else
21243 echo "$as_me: program exited with status $ac_status" >&5
21244 echo "$as_me: failed program was:" >&5
21245 sed 's/^/| /' conftest.$ac_ext >&5
21246
21247 ( exit $ac_status )
21248 ac_cv_header_zlib_h=no
21249 fi
21250 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21251 fi
21252
21253 fi
21254 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
21255 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
21256 if test "${ac_cv_header_zlib_h+set}" = set; then
21257 echo "$as_me:$LINENO: checking for zlib.h" >&5
21258 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
21259 if test "${ac_cv_header_zlib_h+set}" = set; then
21260 echo $ECHO_N "(cached) $ECHO_C" >&6
21261 fi
21262 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
21263 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
21264 else
21265 # Is the header compilable?
21266 echo "$as_me:$LINENO: checking zlib.h usability" >&5
21267 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
21268 cat >conftest.$ac_ext <<_ACEOF
21269 /* confdefs.h. */
21270 _ACEOF
21271 cat confdefs.h >>conftest.$ac_ext
21272 cat >>conftest.$ac_ext <<_ACEOF
21273 /* end confdefs.h. */
21274 $ac_includes_default
21275 #include <zlib.h>
21276 _ACEOF
21277 rm -f conftest.$ac_objext
21278 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21279 (eval $ac_compile) 2>conftest.er1
21280 ac_status=$?
21281 grep -v '^ *+' conftest.er1 >conftest.err
21282 rm -f conftest.er1
21283 cat conftest.err >&5
21284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21285 (exit $ac_status); } &&
21286 { ac_try='test -z "$ac_c_werror_flag"
21287 || test ! -s conftest.err'
21288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21289 (eval $ac_try) 2>&5
21290 ac_status=$?
21291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21292 (exit $ac_status); }; } &&
21293 { ac_try='test -s conftest.$ac_objext'
21294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21295 (eval $ac_try) 2>&5
21296 ac_status=$?
21297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21298 (exit $ac_status); }; }; then
21299 ac_header_compiler=yes
21300 else
21301 echo "$as_me: failed program was:" >&5
21302 sed 's/^/| /' conftest.$ac_ext >&5
21303
21304 ac_header_compiler=no
21305 fi
21306 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21307 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21308 echo "${ECHO_T}$ac_header_compiler" >&6
21309
21310 # Is the header present?
21311 echo "$as_me:$LINENO: checking zlib.h presence" >&5
21312 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
21313 cat >conftest.$ac_ext <<_ACEOF
21314 /* confdefs.h. */
21315 _ACEOF
21316 cat confdefs.h >>conftest.$ac_ext
21317 cat >>conftest.$ac_ext <<_ACEOF
21318 /* end confdefs.h. */
21319 #include <zlib.h>
21320 _ACEOF
21321 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21322 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
21323 ac_status=$?
21324 grep -v '^ *+' conftest.er1 >conftest.err
21325 rm -f conftest.er1
21326 cat conftest.err >&5
21327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21328 (exit $ac_status); } >/dev/null; then
21329 if test -s conftest.err; then
21330 ac_cpp_err=$ac_c_preproc_warn_flag
21331 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
21332 else
21333 ac_cpp_err=
21334 fi
21335 else
21336 ac_cpp_err=yes
21337 fi
21338 if test -z "$ac_cpp_err"; then
21339 ac_header_preproc=yes
21340 else
21341 echo "$as_me: failed program was:" >&5
21342 sed 's/^/| /' conftest.$ac_ext >&5
21343
21344 ac_header_preproc=no
21345 fi
21346 rm -f conftest.err conftest.$ac_ext
21347 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21348 echo "${ECHO_T}$ac_header_preproc" >&6
21349
21350 # So? What about this header?
21351 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21352 yes:no: )
21353 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
21354 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
21355 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5
21356 echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;}
21357 ac_header_preproc=yes
21358 ;;
21359 no:yes:* )
21360 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
21361 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
21362 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
21363 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
21364 { echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
21365 echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
21366 { echo "$as_me:$LINENO: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&5
21367 echo "$as_me: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
21368 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
21369 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
21370 { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
21371 echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
21372 (
21373 cat <<\_ASBOX
21374 ## ----------------------------------------- ##
21375 ## Report this to wx-dev@lists.wxwidgets.org ##
21376 ## ----------------------------------------- ##
21377 _ASBOX
21378 ) |
21379 sed "s/^/$as_me: WARNING: /" >&2
21380 ;;
21381 esac
21382 echo "$as_me:$LINENO: checking for zlib.h" >&5
21383 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
21384 if test "${ac_cv_header_zlib_h+set}" = set; then
21385 echo $ECHO_N "(cached) $ECHO_C" >&6
21386 else
21387 ac_cv_header_zlib_h=$ac_header_preproc
21388 fi
21389 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
21390 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
21391
21392 fi
21393
21394
21395
21396 system_zlib_h_ok=$ac_cv_header_zlib_h
21397 fi
21398
21399 if test "$system_zlib_h_ok" = "yes"; then
21400 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
21401 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
21402 if test "${ac_cv_lib_z_deflate+set}" = set; then
21403 echo $ECHO_N "(cached) $ECHO_C" >&6
21404 else
21405 ac_check_lib_save_LIBS=$LIBS
21406 LIBS="-lz $LIBS"
21407 cat >conftest.$ac_ext <<_ACEOF
21408 /* confdefs.h. */
21409 _ACEOF
21410 cat confdefs.h >>conftest.$ac_ext
21411 cat >>conftest.$ac_ext <<_ACEOF
21412 /* end confdefs.h. */
21413
21414 /* Override any gcc2 internal prototype to avoid an error. */
21415 #ifdef __cplusplus
21416 extern "C"
21417 #endif
21418 /* We use char because int might match the return type of a gcc2
21419 builtin and then its argument prototype would still apply. */
21420 char deflate ();
21421 int
21422 main ()
21423 {
21424 deflate ();
21425 ;
21426 return 0;
21427 }
21428 _ACEOF
21429 rm -f conftest.$ac_objext conftest$ac_exeext
21430 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21431 (eval $ac_link) 2>conftest.er1
21432 ac_status=$?
21433 grep -v '^ *+' conftest.er1 >conftest.err
21434 rm -f conftest.er1
21435 cat conftest.err >&5
21436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21437 (exit $ac_status); } &&
21438 { ac_try='test -z "$ac_c_werror_flag"
21439 || test ! -s conftest.err'
21440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21441 (eval $ac_try) 2>&5
21442 ac_status=$?
21443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21444 (exit $ac_status); }; } &&
21445 { ac_try='test -s conftest$ac_exeext'
21446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21447 (eval $ac_try) 2>&5
21448 ac_status=$?
21449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21450 (exit $ac_status); }; }; then
21451 ac_cv_lib_z_deflate=yes
21452 else
21453 echo "$as_me: failed program was:" >&5
21454 sed 's/^/| /' conftest.$ac_ext >&5
21455
21456 ac_cv_lib_z_deflate=no
21457 fi
21458 rm -f conftest.err conftest.$ac_objext \
21459 conftest$ac_exeext conftest.$ac_ext
21460 LIBS=$ac_check_lib_save_LIBS
21461 fi
21462 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
21463 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
21464 if test $ac_cv_lib_z_deflate = yes; then
21465 ZLIB_LINK=" -lz"
21466 fi
21467
21468 fi
21469
21470 if test "x$ZLIB_LINK" = "x" ; then
21471 if test "$wxUSE_ZLIB" = "sys" ; then
21472 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
21473 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
21474 { (exit 1); exit 1; }; }
21475 else
21476 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
21477 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
21478 wxUSE_ZLIB=builtin
21479 fi
21480 else
21481 wxUSE_ZLIB=sys
21482 fi
21483 fi
21484 fi
21485
21486
21487 PNG_LINK=
21488 if test "$wxUSE_LIBPNG" != "no" ; then
21489 cat >>confdefs.h <<\_ACEOF
21490 #define wxUSE_LIBPNG 1
21491 _ACEOF
21492
21493
21494 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
21495 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
21496 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
21497 wxUSE_LIBPNG=sys
21498 fi
21499
21500 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
21501 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
21502 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
21503 wxUSE_LIBPNG=builtin
21504 fi
21505
21506 if test "$wxUSE_MGL" != 1 ; then
21507 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
21508 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
21509 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
21510 if test "${ac_cv_header_png_h+set}" = set; then
21511 echo $ECHO_N "(cached) $ECHO_C" >&6
21512 else
21513 if test "$cross_compiling" = yes; then
21514 unset ac_cv_header_png_h
21515
21516 else
21517 cat >conftest.$ac_ext <<_ACEOF
21518 /* confdefs.h. */
21519 _ACEOF
21520 cat confdefs.h >>conftest.$ac_ext
21521 cat >>conftest.$ac_ext <<_ACEOF
21522 /* end confdefs.h. */
21523
21524 #include <png.h>
21525 #include <stdio.h>
21526
21527 int main()
21528 {
21529 FILE *f=fopen("conftestval", "w");
21530 if (!f) exit(1);
21531 fprintf(f, "%s",
21532 PNG_LIBPNG_VER > 90 ? "yes" : "no");
21533 exit(0);
21534 }
21535
21536 _ACEOF
21537 rm -f conftest$ac_exeext
21538 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21539 (eval $ac_link) 2>&5
21540 ac_status=$?
21541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21542 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21544 (eval $ac_try) 2>&5
21545 ac_status=$?
21546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21547 (exit $ac_status); }; }; then
21548 ac_cv_header_png_h=`cat conftestval`
21549 else
21550 echo "$as_me: program exited with status $ac_status" >&5
21551 echo "$as_me: failed program was:" >&5
21552 sed 's/^/| /' conftest.$ac_ext >&5
21553
21554 ( exit $ac_status )
21555 ac_cv_header_png_h=no
21556 fi
21557 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21558 fi
21559
21560 fi
21561 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
21562 echo "${ECHO_T}$ac_cv_header_png_h" >&6
21563 if test "${ac_cv_header_png_h+set}" = set; then
21564 echo "$as_me:$LINENO: checking for png.h" >&5
21565 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
21566 if test "${ac_cv_header_png_h+set}" = set; then
21567 echo $ECHO_N "(cached) $ECHO_C" >&6
21568 fi
21569 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
21570 echo "${ECHO_T}$ac_cv_header_png_h" >&6
21571 else
21572 # Is the header compilable?
21573 echo "$as_me:$LINENO: checking png.h usability" >&5
21574 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
21575 cat >conftest.$ac_ext <<_ACEOF
21576 /* confdefs.h. */
21577 _ACEOF
21578 cat confdefs.h >>conftest.$ac_ext
21579 cat >>conftest.$ac_ext <<_ACEOF
21580 /* end confdefs.h. */
21581 $ac_includes_default
21582 #include <png.h>
21583 _ACEOF
21584 rm -f conftest.$ac_objext
21585 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21586 (eval $ac_compile) 2>conftest.er1
21587 ac_status=$?
21588 grep -v '^ *+' conftest.er1 >conftest.err
21589 rm -f conftest.er1
21590 cat conftest.err >&5
21591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21592 (exit $ac_status); } &&
21593 { ac_try='test -z "$ac_c_werror_flag"
21594 || test ! -s conftest.err'
21595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21596 (eval $ac_try) 2>&5
21597 ac_status=$?
21598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21599 (exit $ac_status); }; } &&
21600 { ac_try='test -s conftest.$ac_objext'
21601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21602 (eval $ac_try) 2>&5
21603 ac_status=$?
21604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21605 (exit $ac_status); }; }; then
21606 ac_header_compiler=yes
21607 else
21608 echo "$as_me: failed program was:" >&5
21609 sed 's/^/| /' conftest.$ac_ext >&5
21610
21611 ac_header_compiler=no
21612 fi
21613 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21614 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21615 echo "${ECHO_T}$ac_header_compiler" >&6
21616
21617 # Is the header present?
21618 echo "$as_me:$LINENO: checking png.h presence" >&5
21619 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
21620 cat >conftest.$ac_ext <<_ACEOF
21621 /* confdefs.h. */
21622 _ACEOF
21623 cat confdefs.h >>conftest.$ac_ext
21624 cat >>conftest.$ac_ext <<_ACEOF
21625 /* end confdefs.h. */
21626 #include <png.h>
21627 _ACEOF
21628 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21629 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
21630 ac_status=$?
21631 grep -v '^ *+' conftest.er1 >conftest.err
21632 rm -f conftest.er1
21633 cat conftest.err >&5
21634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21635 (exit $ac_status); } >/dev/null; then
21636 if test -s conftest.err; then
21637 ac_cpp_err=$ac_c_preproc_warn_flag
21638 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
21639 else
21640 ac_cpp_err=
21641 fi
21642 else
21643 ac_cpp_err=yes
21644 fi
21645 if test -z "$ac_cpp_err"; then
21646 ac_header_preproc=yes
21647 else
21648 echo "$as_me: failed program was:" >&5
21649 sed 's/^/| /' conftest.$ac_ext >&5
21650
21651 ac_header_preproc=no
21652 fi
21653 rm -f conftest.err conftest.$ac_ext
21654 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21655 echo "${ECHO_T}$ac_header_preproc" >&6
21656
21657 # So? What about this header?
21658 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21659 yes:no: )
21660 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
21661 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
21662 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the compiler's result" >&5
21663 echo "$as_me: WARNING: png.h: proceeding with the compiler's result" >&2;}
21664 ac_header_preproc=yes
21665 ;;
21666 no:yes:* )
21667 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
21668 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
21669 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
21670 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
21671 { echo "$as_me:$LINENO: WARNING: png.h: see the Autoconf documentation" >&5
21672 echo "$as_me: WARNING: png.h: see the Autoconf documentation" >&2;}
21673 { echo "$as_me:$LINENO: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&5
21674 echo "$as_me: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&2;}
21675 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
21676 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
21677 { echo "$as_me:$LINENO: WARNING: png.h: in the future, the compiler will take precedence" >&5
21678 echo "$as_me: WARNING: png.h: in the future, the compiler will take precedence" >&2;}
21679 (
21680 cat <<\_ASBOX
21681 ## ----------------------------------------- ##
21682 ## Report this to wx-dev@lists.wxwidgets.org ##
21683 ## ----------------------------------------- ##
21684 _ASBOX
21685 ) |
21686 sed "s/^/$as_me: WARNING: /" >&2
21687 ;;
21688 esac
21689 echo "$as_me:$LINENO: checking for png.h" >&5
21690 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
21691 if test "${ac_cv_header_png_h+set}" = set; then
21692 echo $ECHO_N "(cached) $ECHO_C" >&6
21693 else
21694 ac_cv_header_png_h=$ac_header_preproc
21695 fi
21696 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
21697 echo "${ECHO_T}$ac_cv_header_png_h" >&6
21698
21699 fi
21700
21701
21702
21703 if test "$ac_cv_header_png_h" = "yes"; then
21704 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
21705 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
21706 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
21707 echo $ECHO_N "(cached) $ECHO_C" >&6
21708 else
21709 ac_check_lib_save_LIBS=$LIBS
21710 LIBS="-lpng -lz -lm $LIBS"
21711 cat >conftest.$ac_ext <<_ACEOF
21712 /* confdefs.h. */
21713 _ACEOF
21714 cat confdefs.h >>conftest.$ac_ext
21715 cat >>conftest.$ac_ext <<_ACEOF
21716 /* end confdefs.h. */
21717
21718 /* Override any gcc2 internal prototype to avoid an error. */
21719 #ifdef __cplusplus
21720 extern "C"
21721 #endif
21722 /* We use char because int might match the return type of a gcc2
21723 builtin and then its argument prototype would still apply. */
21724 char png_check_sig ();
21725 int
21726 main ()
21727 {
21728 png_check_sig ();
21729 ;
21730 return 0;
21731 }
21732 _ACEOF
21733 rm -f conftest.$ac_objext conftest$ac_exeext
21734 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21735 (eval $ac_link) 2>conftest.er1
21736 ac_status=$?
21737 grep -v '^ *+' conftest.er1 >conftest.err
21738 rm -f conftest.er1
21739 cat conftest.err >&5
21740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21741 (exit $ac_status); } &&
21742 { ac_try='test -z "$ac_c_werror_flag"
21743 || test ! -s conftest.err'
21744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21745 (eval $ac_try) 2>&5
21746 ac_status=$?
21747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21748 (exit $ac_status); }; } &&
21749 { ac_try='test -s conftest$ac_exeext'
21750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21751 (eval $ac_try) 2>&5
21752 ac_status=$?
21753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21754 (exit $ac_status); }; }; then
21755 ac_cv_lib_png_png_check_sig=yes
21756 else
21757 echo "$as_me: failed program was:" >&5
21758 sed 's/^/| /' conftest.$ac_ext >&5
21759
21760 ac_cv_lib_png_png_check_sig=no
21761 fi
21762 rm -f conftest.err conftest.$ac_objext \
21763 conftest$ac_exeext conftest.$ac_ext
21764 LIBS=$ac_check_lib_save_LIBS
21765 fi
21766 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
21767 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
21768 if test $ac_cv_lib_png_png_check_sig = yes; then
21769 PNG_LINK=" -lpng -lz"
21770 fi
21771
21772 fi
21773
21774 if test "x$PNG_LINK" = "x" ; then
21775 if test "$wxUSE_LIBPNG" = "sys" ; then
21776 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
21777 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
21778 { (exit 1); exit 1; }; }
21779 else
21780 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
21781 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
21782 wxUSE_LIBPNG=builtin
21783 fi
21784 else
21785 wxUSE_LIBPNG=sys
21786 fi
21787 fi
21788 fi
21789
21790 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS png"
21791 fi
21792
21793
21794 JPEG_LINK=
21795 if test "$wxUSE_LIBJPEG" != "no" ; then
21796 cat >>confdefs.h <<\_ACEOF
21797 #define wxUSE_LIBJPEG 1
21798 _ACEOF
21799
21800
21801 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
21802 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
21803 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
21804 wxUSE_LIBJPEG=sys
21805 fi
21806
21807 if test "$wxUSE_MGL" != 1 ; then
21808 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
21809 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
21810 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
21811 if test "${ac_cv_header_jpeglib_h+set}" = set; then
21812 echo $ECHO_N "(cached) $ECHO_C" >&6
21813 else
21814 cat >conftest.$ac_ext <<_ACEOF
21815 /* confdefs.h. */
21816 _ACEOF
21817 cat confdefs.h >>conftest.$ac_ext
21818 cat >>conftest.$ac_ext <<_ACEOF
21819 /* end confdefs.h. */
21820
21821 #undef HAVE_STDLIB_H
21822 #include <stdio.h>
21823 #include <jpeglib.h>
21824
21825 int
21826 main ()
21827 {
21828
21829
21830 ;
21831 return 0;
21832 }
21833 _ACEOF
21834 rm -f conftest.$ac_objext
21835 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21836 (eval $ac_compile) 2>conftest.er1
21837 ac_status=$?
21838 grep -v '^ *+' conftest.er1 >conftest.err
21839 rm -f conftest.er1
21840 cat conftest.err >&5
21841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21842 (exit $ac_status); } &&
21843 { ac_try='test -z "$ac_c_werror_flag"
21844 || test ! -s conftest.err'
21845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21846 (eval $ac_try) 2>&5
21847 ac_status=$?
21848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21849 (exit $ac_status); }; } &&
21850 { ac_try='test -s conftest.$ac_objext'
21851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21852 (eval $ac_try) 2>&5
21853 ac_status=$?
21854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21855 (exit $ac_status); }; }; then
21856 ac_cv_header_jpeglib_h=yes
21857 else
21858 echo "$as_me: failed program was:" >&5
21859 sed 's/^/| /' conftest.$ac_ext >&5
21860
21861 ac_cv_header_jpeglib_h=no
21862
21863 fi
21864 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21865
21866 fi
21867
21868 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
21869 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
21870
21871 if test "$ac_cv_header_jpeglib_h" = "yes"; then
21872 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
21873 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
21874 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
21875 echo $ECHO_N "(cached) $ECHO_C" >&6
21876 else
21877 ac_check_lib_save_LIBS=$LIBS
21878 LIBS="-ljpeg $LIBS"
21879 cat >conftest.$ac_ext <<_ACEOF
21880 /* confdefs.h. */
21881 _ACEOF
21882 cat confdefs.h >>conftest.$ac_ext
21883 cat >>conftest.$ac_ext <<_ACEOF
21884 /* end confdefs.h. */
21885
21886 /* Override any gcc2 internal prototype to avoid an error. */
21887 #ifdef __cplusplus
21888 extern "C"
21889 #endif
21890 /* We use char because int might match the return type of a gcc2
21891 builtin and then its argument prototype would still apply. */
21892 char jpeg_read_header ();
21893 int
21894 main ()
21895 {
21896 jpeg_read_header ();
21897 ;
21898 return 0;
21899 }
21900 _ACEOF
21901 rm -f conftest.$ac_objext conftest$ac_exeext
21902 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21903 (eval $ac_link) 2>conftest.er1
21904 ac_status=$?
21905 grep -v '^ *+' conftest.er1 >conftest.err
21906 rm -f conftest.er1
21907 cat conftest.err >&5
21908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21909 (exit $ac_status); } &&
21910 { ac_try='test -z "$ac_c_werror_flag"
21911 || test ! -s conftest.err'
21912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21913 (eval $ac_try) 2>&5
21914 ac_status=$?
21915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21916 (exit $ac_status); }; } &&
21917 { ac_try='test -s conftest$ac_exeext'
21918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21919 (eval $ac_try) 2>&5
21920 ac_status=$?
21921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21922 (exit $ac_status); }; }; then
21923 ac_cv_lib_jpeg_jpeg_read_header=yes
21924 else
21925 echo "$as_me: failed program was:" >&5
21926 sed 's/^/| /' conftest.$ac_ext >&5
21927
21928 ac_cv_lib_jpeg_jpeg_read_header=no
21929 fi
21930 rm -f conftest.err conftest.$ac_objext \
21931 conftest$ac_exeext conftest.$ac_ext
21932 LIBS=$ac_check_lib_save_LIBS
21933 fi
21934 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
21935 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
21936 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
21937 JPEG_LINK=" -ljpeg"
21938 fi
21939
21940 fi
21941
21942 if test "x$JPEG_LINK" = "x" ; then
21943 if test "$wxUSE_LIBJPEG" = "sys" ; then
21944 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
21945 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
21946 { (exit 1); exit 1; }; }
21947 else
21948 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
21949 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
21950 wxUSE_LIBJPEG=builtin
21951 fi
21952 else
21953 wxUSE_LIBJPEG=sys
21954 fi
21955 fi
21956 fi
21957 fi
21958
21959
21960 TIFF_LINK=
21961 TIFF_PREREQ_LINKS=-lm
21962 if test "$wxUSE_LIBTIFF" != "no" ; then
21963 cat >>confdefs.h <<\_ACEOF
21964 #define wxUSE_LIBTIFF 1
21965 _ACEOF
21966
21967
21968 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
21969 if test "$wxUSE_LIBJPEG" = "sys"; then
21970 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
21971 fi
21972 if test "$wxUSE_ZLIB" = "sys"; then
21973 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
21974 fi
21975 if test "${ac_cv_header_tiffio_h+set}" = set; then
21976 echo "$as_me:$LINENO: checking for tiffio.h" >&5
21977 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
21978 if test "${ac_cv_header_tiffio_h+set}" = set; then
21979 echo $ECHO_N "(cached) $ECHO_C" >&6
21980 fi
21981 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
21982 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
21983 else
21984 # Is the header compilable?
21985 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
21986 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
21987 cat >conftest.$ac_ext <<_ACEOF
21988 /* confdefs.h. */
21989 _ACEOF
21990 cat confdefs.h >>conftest.$ac_ext
21991 cat >>conftest.$ac_ext <<_ACEOF
21992 /* end confdefs.h. */
21993 $ac_includes_default
21994 #include <tiffio.h>
21995 _ACEOF
21996 rm -f conftest.$ac_objext
21997 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21998 (eval $ac_compile) 2>conftest.er1
21999 ac_status=$?
22000 grep -v '^ *+' conftest.er1 >conftest.err
22001 rm -f conftest.er1
22002 cat conftest.err >&5
22003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22004 (exit $ac_status); } &&
22005 { ac_try='test -z "$ac_c_werror_flag"
22006 || test ! -s conftest.err'
22007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22008 (eval $ac_try) 2>&5
22009 ac_status=$?
22010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22011 (exit $ac_status); }; } &&
22012 { ac_try='test -s conftest.$ac_objext'
22013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22014 (eval $ac_try) 2>&5
22015 ac_status=$?
22016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22017 (exit $ac_status); }; }; then
22018 ac_header_compiler=yes
22019 else
22020 echo "$as_me: failed program was:" >&5
22021 sed 's/^/| /' conftest.$ac_ext >&5
22022
22023 ac_header_compiler=no
22024 fi
22025 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22026 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22027 echo "${ECHO_T}$ac_header_compiler" >&6
22028
22029 # Is the header present?
22030 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
22031 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
22032 cat >conftest.$ac_ext <<_ACEOF
22033 /* confdefs.h. */
22034 _ACEOF
22035 cat confdefs.h >>conftest.$ac_ext
22036 cat >>conftest.$ac_ext <<_ACEOF
22037 /* end confdefs.h. */
22038 #include <tiffio.h>
22039 _ACEOF
22040 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22041 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
22042 ac_status=$?
22043 grep -v '^ *+' conftest.er1 >conftest.err
22044 rm -f conftest.er1
22045 cat conftest.err >&5
22046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22047 (exit $ac_status); } >/dev/null; then
22048 if test -s conftest.err; then
22049 ac_cpp_err=$ac_c_preproc_warn_flag
22050 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
22051 else
22052 ac_cpp_err=
22053 fi
22054 else
22055 ac_cpp_err=yes
22056 fi
22057 if test -z "$ac_cpp_err"; then
22058 ac_header_preproc=yes
22059 else
22060 echo "$as_me: failed program was:" >&5
22061 sed 's/^/| /' conftest.$ac_ext >&5
22062
22063 ac_header_preproc=no
22064 fi
22065 rm -f conftest.err conftest.$ac_ext
22066 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22067 echo "${ECHO_T}$ac_header_preproc" >&6
22068
22069 # So? What about this header?
22070 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22071 yes:no: )
22072 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
22073 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
22074 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the compiler's result" >&5
22075 echo "$as_me: WARNING: tiffio.h: proceeding with the compiler's result" >&2;}
22076 ac_header_preproc=yes
22077 ;;
22078 no:yes:* )
22079 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
22080 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
22081 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
22082 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
22083 { echo "$as_me:$LINENO: WARNING: tiffio.h: see the Autoconf documentation" >&5
22084 echo "$as_me: WARNING: tiffio.h: see the Autoconf documentation" >&2;}
22085 { echo "$as_me:$LINENO: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&5
22086 echo "$as_me: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&2;}
22087 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
22088 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
22089 { echo "$as_me:$LINENO: WARNING: tiffio.h: in the future, the compiler will take precedence" >&5
22090 echo "$as_me: WARNING: tiffio.h: in the future, the compiler will take precedence" >&2;}
22091 (
22092 cat <<\_ASBOX
22093 ## ----------------------------------------- ##
22094 ## Report this to wx-dev@lists.wxwidgets.org ##
22095 ## ----------------------------------------- ##
22096 _ASBOX
22097 ) |
22098 sed "s/^/$as_me: WARNING: /" >&2
22099 ;;
22100 esac
22101 echo "$as_me:$LINENO: checking for tiffio.h" >&5
22102 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
22103 if test "${ac_cv_header_tiffio_h+set}" = set; then
22104 echo $ECHO_N "(cached) $ECHO_C" >&6
22105 else
22106 ac_cv_header_tiffio_h=$ac_header_preproc
22107 fi
22108 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
22109 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
22110
22111 fi
22112 if test $ac_cv_header_tiffio_h = yes; then
22113
22114 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
22115 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
22116 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
22117 echo $ECHO_N "(cached) $ECHO_C" >&6
22118 else
22119 ac_check_lib_save_LIBS=$LIBS
22120 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
22121 cat >conftest.$ac_ext <<_ACEOF
22122 /* confdefs.h. */
22123 _ACEOF
22124 cat confdefs.h >>conftest.$ac_ext
22125 cat >>conftest.$ac_ext <<_ACEOF
22126 /* end confdefs.h. */
22127
22128 /* Override any gcc2 internal prototype to avoid an error. */
22129 #ifdef __cplusplus
22130 extern "C"
22131 #endif
22132 /* We use char because int might match the return type of a gcc2
22133 builtin and then its argument prototype would still apply. */
22134 char TIFFError ();
22135 int
22136 main ()
22137 {
22138 TIFFError ();
22139 ;
22140 return 0;
22141 }
22142 _ACEOF
22143 rm -f conftest.$ac_objext conftest$ac_exeext
22144 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22145 (eval $ac_link) 2>conftest.er1
22146 ac_status=$?
22147 grep -v '^ *+' conftest.er1 >conftest.err
22148 rm -f conftest.er1
22149 cat conftest.err >&5
22150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22151 (exit $ac_status); } &&
22152 { ac_try='test -z "$ac_c_werror_flag"
22153 || test ! -s conftest.err'
22154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22155 (eval $ac_try) 2>&5
22156 ac_status=$?
22157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22158 (exit $ac_status); }; } &&
22159 { ac_try='test -s conftest$ac_exeext'
22160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22161 (eval $ac_try) 2>&5
22162 ac_status=$?
22163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22164 (exit $ac_status); }; }; then
22165 ac_cv_lib_tiff_TIFFError=yes
22166 else
22167 echo "$as_me: failed program was:" >&5
22168 sed 's/^/| /' conftest.$ac_ext >&5
22169
22170 ac_cv_lib_tiff_TIFFError=no
22171 fi
22172 rm -f conftest.err conftest.$ac_objext \
22173 conftest$ac_exeext conftest.$ac_ext
22174 LIBS=$ac_check_lib_save_LIBS
22175 fi
22176 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
22177 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
22178 if test $ac_cv_lib_tiff_TIFFError = yes; then
22179 TIFF_LINK=" -ltiff"
22180 fi
22181
22182
22183
22184 fi
22185
22186
22187
22188 if test "x$TIFF_LINK" = "x" ; then
22189 if test "$wxUSE_LIBTIFF" = "sys" ; then
22190 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
22191 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
22192 { (exit 1); exit 1; }; }
22193 else
22194 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
22195 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
22196 wxUSE_LIBTIFF=builtin
22197 fi
22198 else
22199 wxUSE_LIBTIFF=sys
22200 fi
22201 fi
22202 fi
22203
22204
22205 if test "$wxUSE_EXPAT" != "no"; then
22206 wxUSE_XML=yes
22207 cat >>confdefs.h <<\_ACEOF
22208 #define wxUSE_EXPAT 1
22209 _ACEOF
22210
22211 cat >>confdefs.h <<\_ACEOF
22212 #define wxUSE_XML 1
22213 _ACEOF
22214
22215
22216 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
22217 if test "${ac_cv_header_expat_h+set}" = set; then
22218 echo "$as_me:$LINENO: checking for expat.h" >&5
22219 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
22220 if test "${ac_cv_header_expat_h+set}" = set; then
22221 echo $ECHO_N "(cached) $ECHO_C" >&6
22222 fi
22223 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
22224 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
22225 else
22226 # Is the header compilable?
22227 echo "$as_me:$LINENO: checking expat.h usability" >&5
22228 echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6
22229 cat >conftest.$ac_ext <<_ACEOF
22230 /* confdefs.h. */
22231 _ACEOF
22232 cat confdefs.h >>conftest.$ac_ext
22233 cat >>conftest.$ac_ext <<_ACEOF
22234 /* end confdefs.h. */
22235 $ac_includes_default
22236 #include <expat.h>
22237 _ACEOF
22238 rm -f conftest.$ac_objext
22239 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22240 (eval $ac_compile) 2>conftest.er1
22241 ac_status=$?
22242 grep -v '^ *+' conftest.er1 >conftest.err
22243 rm -f conftest.er1
22244 cat conftest.err >&5
22245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22246 (exit $ac_status); } &&
22247 { ac_try='test -z "$ac_c_werror_flag"
22248 || test ! -s conftest.err'
22249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22250 (eval $ac_try) 2>&5
22251 ac_status=$?
22252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22253 (exit $ac_status); }; } &&
22254 { ac_try='test -s conftest.$ac_objext'
22255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22256 (eval $ac_try) 2>&5
22257 ac_status=$?
22258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22259 (exit $ac_status); }; }; then
22260 ac_header_compiler=yes
22261 else
22262 echo "$as_me: failed program was:" >&5
22263 sed 's/^/| /' conftest.$ac_ext >&5
22264
22265 ac_header_compiler=no
22266 fi
22267 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22268 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22269 echo "${ECHO_T}$ac_header_compiler" >&6
22270
22271 # Is the header present?
22272 echo "$as_me:$LINENO: checking expat.h presence" >&5
22273 echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6
22274 cat >conftest.$ac_ext <<_ACEOF
22275 /* confdefs.h. */
22276 _ACEOF
22277 cat confdefs.h >>conftest.$ac_ext
22278 cat >>conftest.$ac_ext <<_ACEOF
22279 /* end confdefs.h. */
22280 #include <expat.h>
22281 _ACEOF
22282 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22283 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
22284 ac_status=$?
22285 grep -v '^ *+' conftest.er1 >conftest.err
22286 rm -f conftest.er1
22287 cat conftest.err >&5
22288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22289 (exit $ac_status); } >/dev/null; then
22290 if test -s conftest.err; then
22291 ac_cpp_err=$ac_c_preproc_warn_flag
22292 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
22293 else
22294 ac_cpp_err=
22295 fi
22296 else
22297 ac_cpp_err=yes
22298 fi
22299 if test -z "$ac_cpp_err"; then
22300 ac_header_preproc=yes
22301 else
22302 echo "$as_me: failed program was:" >&5
22303 sed 's/^/| /' conftest.$ac_ext >&5
22304
22305 ac_header_preproc=no
22306 fi
22307 rm -f conftest.err conftest.$ac_ext
22308 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22309 echo "${ECHO_T}$ac_header_preproc" >&6
22310
22311 # So? What about this header?
22312 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22313 yes:no: )
22314 { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
22315 echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
22316 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the compiler's result" >&5
22317 echo "$as_me: WARNING: expat.h: proceeding with the compiler's result" >&2;}
22318 ac_header_preproc=yes
22319 ;;
22320 no:yes:* )
22321 { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
22322 echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
22323 { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
22324 echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
22325 { echo "$as_me:$LINENO: WARNING: expat.h: see the Autoconf documentation" >&5
22326 echo "$as_me: WARNING: expat.h: see the Autoconf documentation" >&2;}
22327 { echo "$as_me:$LINENO: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&5
22328 echo "$as_me: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&2;}
22329 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
22330 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
22331 { echo "$as_me:$LINENO: WARNING: expat.h: in the future, the compiler will take precedence" >&5
22332 echo "$as_me: WARNING: expat.h: in the future, the compiler will take precedence" >&2;}
22333 (
22334 cat <<\_ASBOX
22335 ## ----------------------------------------- ##
22336 ## Report this to wx-dev@lists.wxwidgets.org ##
22337 ## ----------------------------------------- ##
22338 _ASBOX
22339 ) |
22340 sed "s/^/$as_me: WARNING: /" >&2
22341 ;;
22342 esac
22343 echo "$as_me:$LINENO: checking for expat.h" >&5
22344 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
22345 if test "${ac_cv_header_expat_h+set}" = set; then
22346 echo $ECHO_N "(cached) $ECHO_C" >&6
22347 else
22348 ac_cv_header_expat_h=$ac_header_preproc
22349 fi
22350 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
22351 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
22352
22353 fi
22354 if test $ac_cv_header_expat_h = yes; then
22355 found_expat_h=1
22356 fi
22357
22358
22359 if test "x$found_expat_h" = "x1"; then
22360 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
22361 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
22362 if test "${wx_cv_expat_is_not_broken+set}" = set; then
22363 echo $ECHO_N "(cached) $ECHO_C" >&6
22364 else
22365
22366
22367
22368 ac_ext=cc
22369 ac_cpp='$CXXCPP $CPPFLAGS'
22370 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22371 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22372 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22373
22374 cat >conftest.$ac_ext <<_ACEOF
22375 /* confdefs.h. */
22376 _ACEOF
22377 cat confdefs.h >>conftest.$ac_ext
22378 cat >>conftest.$ac_ext <<_ACEOF
22379 /* end confdefs.h. */
22380 #include <expat.h>
22381 int
22382 main ()
22383 {
22384
22385 ;
22386 return 0;
22387 }
22388 _ACEOF
22389 rm -f conftest.$ac_objext
22390 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22391 (eval $ac_compile) 2>conftest.er1
22392 ac_status=$?
22393 grep -v '^ *+' conftest.er1 >conftest.err
22394 rm -f conftest.er1
22395 cat conftest.err >&5
22396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22397 (exit $ac_status); } &&
22398 { ac_try='test -z "$ac_cxx_werror_flag"
22399 || test ! -s conftest.err'
22400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22401 (eval $ac_try) 2>&5
22402 ac_status=$?
22403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22404 (exit $ac_status); }; } &&
22405 { ac_try='test -s conftest.$ac_objext'
22406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22407 (eval $ac_try) 2>&5
22408 ac_status=$?
22409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22410 (exit $ac_status); }; }; then
22411 wx_cv_expat_is_not_broken=yes
22412 else
22413 echo "$as_me: failed program was:" >&5
22414 sed 's/^/| /' conftest.$ac_ext >&5
22415
22416 wx_cv_expat_is_not_broken=no
22417
22418 fi
22419 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22420 ac_ext=c
22421 ac_cpp='$CPP $CPPFLAGS'
22422 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22423 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22424 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22425
22426
22427
22428 fi
22429 echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
22430 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
22431 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
22432 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
22433 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
22434 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
22435 echo $ECHO_N "(cached) $ECHO_C" >&6
22436 else
22437 ac_check_lib_save_LIBS=$LIBS
22438 LIBS="-lexpat $LIBS"
22439 cat >conftest.$ac_ext <<_ACEOF
22440 /* confdefs.h. */
22441 _ACEOF
22442 cat confdefs.h >>conftest.$ac_ext
22443 cat >>conftest.$ac_ext <<_ACEOF
22444 /* end confdefs.h. */
22445
22446 /* Override any gcc2 internal prototype to avoid an error. */
22447 #ifdef __cplusplus
22448 extern "C"
22449 #endif
22450 /* We use char because int might match the return type of a gcc2
22451 builtin and then its argument prototype would still apply. */
22452 char XML_ParserCreate ();
22453 int
22454 main ()
22455 {
22456 XML_ParserCreate ();
22457 ;
22458 return 0;
22459 }
22460 _ACEOF
22461 rm -f conftest.$ac_objext conftest$ac_exeext
22462 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22463 (eval $ac_link) 2>conftest.er1
22464 ac_status=$?
22465 grep -v '^ *+' conftest.er1 >conftest.err
22466 rm -f conftest.er1
22467 cat conftest.err >&5
22468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22469 (exit $ac_status); } &&
22470 { ac_try='test -z "$ac_c_werror_flag"
22471 || test ! -s conftest.err'
22472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22473 (eval $ac_try) 2>&5
22474 ac_status=$?
22475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22476 (exit $ac_status); }; } &&
22477 { ac_try='test -s conftest$ac_exeext'
22478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22479 (eval $ac_try) 2>&5
22480 ac_status=$?
22481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22482 (exit $ac_status); }; }; then
22483 ac_cv_lib_expat_XML_ParserCreate=yes
22484 else
22485 echo "$as_me: failed program was:" >&5
22486 sed 's/^/| /' conftest.$ac_ext >&5
22487
22488 ac_cv_lib_expat_XML_ParserCreate=no
22489 fi
22490 rm -f conftest.err conftest.$ac_objext \
22491 conftest$ac_exeext conftest.$ac_ext
22492 LIBS=$ac_check_lib_save_LIBS
22493 fi
22494 echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
22495 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
22496 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
22497 EXPAT_LINK=" -lexpat"
22498 fi
22499
22500 fi
22501 fi
22502 if test "x$EXPAT_LINK" = "x" ; then
22503 if test "$wxUSE_EXPAT" = "sys" ; then
22504 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
22505 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
22506 { (exit 1); exit 1; }; }
22507 else
22508 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
22509 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
22510 wxUSE_EXPAT=builtin
22511 fi
22512 else
22513 wxUSE_EXPAT=sys
22514 fi
22515 fi
22516 if test "$wxUSE_EXPAT" = "builtin" ; then
22517
22518
22519 subdirs="$subdirs src/expat"
22520
22521 fi
22522 fi
22523
22524
22525
22526 if test "$wxUSE_LIBMSPACK" != "no"; then
22527 if test "${ac_cv_header_mspack_h+set}" = set; then
22528 echo "$as_me:$LINENO: checking for mspack.h" >&5
22529 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
22530 if test "${ac_cv_header_mspack_h+set}" = set; then
22531 echo $ECHO_N "(cached) $ECHO_C" >&6
22532 fi
22533 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
22534 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
22535 else
22536 # Is the header compilable?
22537 echo "$as_me:$LINENO: checking mspack.h usability" >&5
22538 echo $ECHO_N "checking mspack.h usability... $ECHO_C" >&6
22539 cat >conftest.$ac_ext <<_ACEOF
22540 /* confdefs.h. */
22541 _ACEOF
22542 cat confdefs.h >>conftest.$ac_ext
22543 cat >>conftest.$ac_ext <<_ACEOF
22544 /* end confdefs.h. */
22545 $ac_includes_default
22546 #include <mspack.h>
22547 _ACEOF
22548 rm -f conftest.$ac_objext
22549 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22550 (eval $ac_compile) 2>conftest.er1
22551 ac_status=$?
22552 grep -v '^ *+' conftest.er1 >conftest.err
22553 rm -f conftest.er1
22554 cat conftest.err >&5
22555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22556 (exit $ac_status); } &&
22557 { ac_try='test -z "$ac_c_werror_flag"
22558 || test ! -s conftest.err'
22559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22560 (eval $ac_try) 2>&5
22561 ac_status=$?
22562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22563 (exit $ac_status); }; } &&
22564 { ac_try='test -s conftest.$ac_objext'
22565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22566 (eval $ac_try) 2>&5
22567 ac_status=$?
22568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22569 (exit $ac_status); }; }; then
22570 ac_header_compiler=yes
22571 else
22572 echo "$as_me: failed program was:" >&5
22573 sed 's/^/| /' conftest.$ac_ext >&5
22574
22575 ac_header_compiler=no
22576 fi
22577 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22578 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22579 echo "${ECHO_T}$ac_header_compiler" >&6
22580
22581 # Is the header present?
22582 echo "$as_me:$LINENO: checking mspack.h presence" >&5
22583 echo $ECHO_N "checking mspack.h presence... $ECHO_C" >&6
22584 cat >conftest.$ac_ext <<_ACEOF
22585 /* confdefs.h. */
22586 _ACEOF
22587 cat confdefs.h >>conftest.$ac_ext
22588 cat >>conftest.$ac_ext <<_ACEOF
22589 /* end confdefs.h. */
22590 #include <mspack.h>
22591 _ACEOF
22592 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22593 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
22594 ac_status=$?
22595 grep -v '^ *+' conftest.er1 >conftest.err
22596 rm -f conftest.er1
22597 cat conftest.err >&5
22598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22599 (exit $ac_status); } >/dev/null; then
22600 if test -s conftest.err; then
22601 ac_cpp_err=$ac_c_preproc_warn_flag
22602 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
22603 else
22604 ac_cpp_err=
22605 fi
22606 else
22607 ac_cpp_err=yes
22608 fi
22609 if test -z "$ac_cpp_err"; then
22610 ac_header_preproc=yes
22611 else
22612 echo "$as_me: failed program was:" >&5
22613 sed 's/^/| /' conftest.$ac_ext >&5
22614
22615 ac_header_preproc=no
22616 fi
22617 rm -f conftest.err conftest.$ac_ext
22618 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22619 echo "${ECHO_T}$ac_header_preproc" >&6
22620
22621 # So? What about this header?
22622 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22623 yes:no: )
22624 { echo "$as_me:$LINENO: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&5
22625 echo "$as_me: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
22626 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the compiler's result" >&5
22627 echo "$as_me: WARNING: mspack.h: proceeding with the compiler's result" >&2;}
22628 ac_header_preproc=yes
22629 ;;
22630 no:yes:* )
22631 { echo "$as_me:$LINENO: WARNING: mspack.h: present but cannot be compiled" >&5
22632 echo "$as_me: WARNING: mspack.h: present but cannot be compiled" >&2;}
22633 { echo "$as_me:$LINENO: WARNING: mspack.h: check for missing prerequisite headers?" >&5
22634 echo "$as_me: WARNING: mspack.h: check for missing prerequisite headers?" >&2;}
22635 { echo "$as_me:$LINENO: WARNING: mspack.h: see the Autoconf documentation" >&5
22636 echo "$as_me: WARNING: mspack.h: see the Autoconf documentation" >&2;}
22637 { echo "$as_me:$LINENO: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&5
22638 echo "$as_me: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&2;}
22639 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the preprocessor's result" >&5
22640 echo "$as_me: WARNING: mspack.h: proceeding with the preprocessor's result" >&2;}
22641 { echo "$as_me:$LINENO: WARNING: mspack.h: in the future, the compiler will take precedence" >&5
22642 echo "$as_me: WARNING: mspack.h: in the future, the compiler will take precedence" >&2;}
22643 (
22644 cat <<\_ASBOX
22645 ## ----------------------------------------- ##
22646 ## Report this to wx-dev@lists.wxwidgets.org ##
22647 ## ----------------------------------------- ##
22648 _ASBOX
22649 ) |
22650 sed "s/^/$as_me: WARNING: /" >&2
22651 ;;
22652 esac
22653 echo "$as_me:$LINENO: checking for mspack.h" >&5
22654 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
22655 if test "${ac_cv_header_mspack_h+set}" = set; then
22656 echo $ECHO_N "(cached) $ECHO_C" >&6
22657 else
22658 ac_cv_header_mspack_h=$ac_header_preproc
22659 fi
22660 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
22661 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
22662
22663 fi
22664 if test $ac_cv_header_mspack_h = yes; then
22665 found_mspack_h=1
22666 fi
22667
22668
22669 if test "x$found_mspack_h" = "x1"; then
22670 echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
22671 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6
22672 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
22673 echo $ECHO_N "(cached) $ECHO_C" >&6
22674 else
22675 ac_check_lib_save_LIBS=$LIBS
22676 LIBS="-lmspack $LIBS"
22677 cat >conftest.$ac_ext <<_ACEOF
22678 /* confdefs.h. */
22679 _ACEOF
22680 cat confdefs.h >>conftest.$ac_ext
22681 cat >>conftest.$ac_ext <<_ACEOF
22682 /* end confdefs.h. */
22683
22684 /* Override any gcc2 internal prototype to avoid an error. */
22685 #ifdef __cplusplus
22686 extern "C"
22687 #endif
22688 /* We use char because int might match the return type of a gcc2
22689 builtin and then its argument prototype would still apply. */
22690 char mspack_create_chm_decompressor ();
22691 int
22692 main ()
22693 {
22694 mspack_create_chm_decompressor ();
22695 ;
22696 return 0;
22697 }
22698 _ACEOF
22699 rm -f conftest.$ac_objext conftest$ac_exeext
22700 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22701 (eval $ac_link) 2>conftest.er1
22702 ac_status=$?
22703 grep -v '^ *+' conftest.er1 >conftest.err
22704 rm -f conftest.er1
22705 cat conftest.err >&5
22706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22707 (exit $ac_status); } &&
22708 { ac_try='test -z "$ac_c_werror_flag"
22709 || test ! -s conftest.err'
22710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22711 (eval $ac_try) 2>&5
22712 ac_status=$?
22713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22714 (exit $ac_status); }; } &&
22715 { ac_try='test -s conftest$ac_exeext'
22716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22717 (eval $ac_try) 2>&5
22718 ac_status=$?
22719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22720 (exit $ac_status); }; }; then
22721 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
22722 else
22723 echo "$as_me: failed program was:" >&5
22724 sed 's/^/| /' conftest.$ac_ext >&5
22725
22726 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
22727 fi
22728 rm -f conftest.err conftest.$ac_objext \
22729 conftest$ac_exeext conftest.$ac_ext
22730 LIBS=$ac_check_lib_save_LIBS
22731 fi
22732 echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
22733 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6
22734 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
22735 MSPACK_LINK=" -lmspack"
22736 fi
22737
22738 fi
22739 if test "x$MSPACK_LINK" = "x" ; then
22740 wxUSE_LIBMSPACK=no
22741 fi
22742 fi
22743
22744 if test "$wxUSE_LIBMSPACK" != "no"; then
22745 cat >>confdefs.h <<\_ACEOF
22746 #define wxUSE_LIBMSPACK 1
22747 _ACEOF
22748
22749 fi
22750
22751
22752
22753 AFMINSTALL=
22754 WIN32INSTALL=
22755
22756 TOOLKIT=
22757 TOOLKIT_INCLUDE=
22758 WIDGET_SET=
22759
22760 if test "$USE_WIN32" = 1 ; then
22761
22762 for ac_header in w32api.h
22763 do
22764 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
22765 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22766 echo "$as_me:$LINENO: checking for $ac_header" >&5
22767 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22768 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22769 echo $ECHO_N "(cached) $ECHO_C" >&6
22770 fi
22771 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22772 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
22773 else
22774 # Is the header compilable?
22775 echo "$as_me:$LINENO: checking $ac_header usability" >&5
22776 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
22777 cat >conftest.$ac_ext <<_ACEOF
22778 /* confdefs.h. */
22779 _ACEOF
22780 cat confdefs.h >>conftest.$ac_ext
22781 cat >>conftest.$ac_ext <<_ACEOF
22782 /* end confdefs.h. */
22783 $ac_includes_default
22784 #include <$ac_header>
22785 _ACEOF
22786 rm -f conftest.$ac_objext
22787 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22788 (eval $ac_compile) 2>conftest.er1
22789 ac_status=$?
22790 grep -v '^ *+' conftest.er1 >conftest.err
22791 rm -f conftest.er1
22792 cat conftest.err >&5
22793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22794 (exit $ac_status); } &&
22795 { ac_try='test -z "$ac_c_werror_flag"
22796 || test ! -s conftest.err'
22797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22798 (eval $ac_try) 2>&5
22799 ac_status=$?
22800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22801 (exit $ac_status); }; } &&
22802 { ac_try='test -s conftest.$ac_objext'
22803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22804 (eval $ac_try) 2>&5
22805 ac_status=$?
22806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22807 (exit $ac_status); }; }; then
22808 ac_header_compiler=yes
22809 else
22810 echo "$as_me: failed program was:" >&5
22811 sed 's/^/| /' conftest.$ac_ext >&5
22812
22813 ac_header_compiler=no
22814 fi
22815 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22816 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22817 echo "${ECHO_T}$ac_header_compiler" >&6
22818
22819 # Is the header present?
22820 echo "$as_me:$LINENO: checking $ac_header presence" >&5
22821 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
22822 cat >conftest.$ac_ext <<_ACEOF
22823 /* confdefs.h. */
22824 _ACEOF
22825 cat confdefs.h >>conftest.$ac_ext
22826 cat >>conftest.$ac_ext <<_ACEOF
22827 /* end confdefs.h. */
22828 #include <$ac_header>
22829 _ACEOF
22830 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22831 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
22832 ac_status=$?
22833 grep -v '^ *+' conftest.er1 >conftest.err
22834 rm -f conftest.er1
22835 cat conftest.err >&5
22836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22837 (exit $ac_status); } >/dev/null; then
22838 if test -s conftest.err; then
22839 ac_cpp_err=$ac_c_preproc_warn_flag
22840 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
22841 else
22842 ac_cpp_err=
22843 fi
22844 else
22845 ac_cpp_err=yes
22846 fi
22847 if test -z "$ac_cpp_err"; then
22848 ac_header_preproc=yes
22849 else
22850 echo "$as_me: failed program was:" >&5
22851 sed 's/^/| /' conftest.$ac_ext >&5
22852
22853 ac_header_preproc=no
22854 fi
22855 rm -f conftest.err conftest.$ac_ext
22856 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22857 echo "${ECHO_T}$ac_header_preproc" >&6
22858
22859 # So? What about this header?
22860 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22861 yes:no: )
22862 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
22863 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
22864 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
22865 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
22866 ac_header_preproc=yes
22867 ;;
22868 no:yes:* )
22869 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
22870 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
22871 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
22872 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
22873 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
22874 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
22875 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
22876 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
22877 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
22878 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
22879 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
22880 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
22881 (
22882 cat <<\_ASBOX
22883 ## ----------------------------------------- ##
22884 ## Report this to wx-dev@lists.wxwidgets.org ##
22885 ## ----------------------------------------- ##
22886 _ASBOX
22887 ) |
22888 sed "s/^/$as_me: WARNING: /" >&2
22889 ;;
22890 esac
22891 echo "$as_me:$LINENO: checking for $ac_header" >&5
22892 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22893 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22894 echo $ECHO_N "(cached) $ECHO_C" >&6
22895 else
22896 eval "$as_ac_Header=\$ac_header_preproc"
22897 fi
22898 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22899 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
22900
22901 fi
22902 if test `eval echo '${'$as_ac_Header'}'` = yes; then
22903 cat >>confdefs.h <<_ACEOF
22904 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
22905 _ACEOF
22906
22907 fi
22908
22909 done
22910
22911 if test "${ac_cv_header_windows_h+set}" = set; then
22912 echo "$as_me:$LINENO: checking for windows.h" >&5
22913 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
22914 if test "${ac_cv_header_windows_h+set}" = set; then
22915 echo $ECHO_N "(cached) $ECHO_C" >&6
22916 fi
22917 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
22918 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
22919 else
22920 # Is the header compilable?
22921 echo "$as_me:$LINENO: checking windows.h usability" >&5
22922 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
22923 cat >conftest.$ac_ext <<_ACEOF
22924 /* confdefs.h. */
22925 _ACEOF
22926 cat confdefs.h >>conftest.$ac_ext
22927 cat >>conftest.$ac_ext <<_ACEOF
22928 /* end confdefs.h. */
22929 $ac_includes_default
22930 #include <windows.h>
22931 _ACEOF
22932 rm -f conftest.$ac_objext
22933 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22934 (eval $ac_compile) 2>conftest.er1
22935 ac_status=$?
22936 grep -v '^ *+' conftest.er1 >conftest.err
22937 rm -f conftest.er1
22938 cat conftest.err >&5
22939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22940 (exit $ac_status); } &&
22941 { ac_try='test -z "$ac_c_werror_flag"
22942 || test ! -s conftest.err'
22943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22944 (eval $ac_try) 2>&5
22945 ac_status=$?
22946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22947 (exit $ac_status); }; } &&
22948 { ac_try='test -s conftest.$ac_objext'
22949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22950 (eval $ac_try) 2>&5
22951 ac_status=$?
22952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22953 (exit $ac_status); }; }; then
22954 ac_header_compiler=yes
22955 else
22956 echo "$as_me: failed program was:" >&5
22957 sed 's/^/| /' conftest.$ac_ext >&5
22958
22959 ac_header_compiler=no
22960 fi
22961 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22962 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22963 echo "${ECHO_T}$ac_header_compiler" >&6
22964
22965 # Is the header present?
22966 echo "$as_me:$LINENO: checking windows.h presence" >&5
22967 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
22968 cat >conftest.$ac_ext <<_ACEOF
22969 /* confdefs.h. */
22970 _ACEOF
22971 cat confdefs.h >>conftest.$ac_ext
22972 cat >>conftest.$ac_ext <<_ACEOF
22973 /* end confdefs.h. */
22974 #include <windows.h>
22975 _ACEOF
22976 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22977 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
22978 ac_status=$?
22979 grep -v '^ *+' conftest.er1 >conftest.err
22980 rm -f conftest.er1
22981 cat conftest.err >&5
22982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22983 (exit $ac_status); } >/dev/null; then
22984 if test -s conftest.err; then
22985 ac_cpp_err=$ac_c_preproc_warn_flag
22986 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
22987 else
22988 ac_cpp_err=
22989 fi
22990 else
22991 ac_cpp_err=yes
22992 fi
22993 if test -z "$ac_cpp_err"; then
22994 ac_header_preproc=yes
22995 else
22996 echo "$as_me: failed program was:" >&5
22997 sed 's/^/| /' conftest.$ac_ext >&5
22998
22999 ac_header_preproc=no
23000 fi
23001 rm -f conftest.err conftest.$ac_ext
23002 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23003 echo "${ECHO_T}$ac_header_preproc" >&6
23004
23005 # So? What about this header?
23006 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23007 yes:no: )
23008 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
23009 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
23010 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the compiler's result" >&5
23011 echo "$as_me: WARNING: windows.h: proceeding with the compiler's result" >&2;}
23012 ac_header_preproc=yes
23013 ;;
23014 no:yes:* )
23015 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
23016 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
23017 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
23018 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
23019 { echo "$as_me:$LINENO: WARNING: windows.h: see the Autoconf documentation" >&5
23020 echo "$as_me: WARNING: windows.h: see the Autoconf documentation" >&2;}
23021 { echo "$as_me:$LINENO: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&5
23022 echo "$as_me: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&2;}
23023 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
23024 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
23025 { echo "$as_me:$LINENO: WARNING: windows.h: in the future, the compiler will take precedence" >&5
23026 echo "$as_me: WARNING: windows.h: in the future, the compiler will take precedence" >&2;}
23027 (
23028 cat <<\_ASBOX
23029 ## ----------------------------------------- ##
23030 ## Report this to wx-dev@lists.wxwidgets.org ##
23031 ## ----------------------------------------- ##
23032 _ASBOX
23033 ) |
23034 sed "s/^/$as_me: WARNING: /" >&2
23035 ;;
23036 esac
23037 echo "$as_me:$LINENO: checking for windows.h" >&5
23038 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
23039 if test "${ac_cv_header_windows_h+set}" = set; then
23040 echo $ECHO_N "(cached) $ECHO_C" >&6
23041 else
23042 ac_cv_header_windows_h=$ac_header_preproc
23043 fi
23044 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
23045 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
23046
23047 fi
23048 if test $ac_cv_header_windows_h = yes; then
23049 :
23050 else
23051
23052 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
23053 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
23054 { (exit 1); exit 1; }; }
23055
23056 fi
23057
23058
23059
23060 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
23061
23062 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
23063 LIBS="$LIBS -loleacc"
23064 fi
23065
23066 case "${host}" in
23067 *-*-cygwin* )
23068 LIBS="$LIBS -lkernel32 -luser32"
23069 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WIN95__"
23070 esac
23071
23072 if test "$wxUSE_ODBC" = "sys" ; then
23073 wxUSE_ODBC = "yes"
23074 fi
23075 if test "$wxUSE_ODBC" = "yes" ; then
23076 LIBS=" -lodbc32 -lole32 -loleaut32 $LIBS"
23077 cat >>confdefs.h <<\_ACEOF
23078 #define wxUSE_ODBC 1
23079 _ACEOF
23080
23081 fi
23082
23083 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
23084 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
23085
23086 WIN32INSTALL=win32install
23087 fi
23088
23089 if test "$wxUSE_GUI" = "yes"; then
23090 USE_GUI=1
23091
23092 GUI_TK_LIBRARY=
23093
23094 WXGTK12=
23095 WXGTK127=
23096 WXGTK20=
23097 WXGPE=
23098
23099 if test "$wxUSE_COCOA" = 1 ; then
23100 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
23101 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
23102 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
23103 wxUSE_PRINTING_ARCHITECTURE=no
23104 fi
23105 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
23106 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
23107 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
23108 wxUSE_DRAG_AND_DROP=no
23109 fi
23110 if test "$wxUSE_DRAGIMAGE" = "yes"; then
23111 { echo "$as_me:$LINENO: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&5
23112 echo "$as_me: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&2;}
23113 wxUSE_DRAGIMAGE=no
23114 fi
23115 fi
23116
23117 if test "$wxUSE_MSW" = 1 ; then
23118 TOOLKIT=MSW
23119 GUIDIST=MSW_DIST
23120
23121 case "${host}" in
23122 *-*-mingw32* )
23123 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
23124 esac
23125 fi
23126
23127 if test "$wxUSE_GTK" = 1; then
23128 echo "$as_me:$LINENO: checking for GTK+ version" >&5
23129 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
23130
23131 gtk_version_cached=1
23132 if test "${wx_cv_lib_gtk+set}" = set; then
23133 echo $ECHO_N "(cached) $ECHO_C" >&6
23134 else
23135
23136 gtk_version_cached=0
23137 echo "$as_me:$LINENO: result: " >&5
23138 echo "${ECHO_T}" >&6
23139
23140 GTK_MODULES=
23141 if test "$wxUSE_THREADS" = "yes"; then
23142 GTK_MODULES=gthread
23143 fi
23144
23145 wx_cv_lib_gtk=
23146 if test "x$wxUSE_GTK2" = "xyes"; then
23147 # Check whether --enable-gtktest or --disable-gtktest was given.
23148 if test "${enable_gtktest+set}" = set; then
23149 enableval="$enable_gtktest"
23150
23151 else
23152 enable_gtktest=yes
23153 fi;
23154
23155 pkg_config_args=gtk+-2.0
23156 for module in . $GTK_MODULES
23157 do
23158 case "$module" in
23159 gthread)
23160 pkg_config_args="$pkg_config_args gthread-2.0"
23161 ;;
23162 esac
23163 done
23164
23165 no_gtk=""
23166
23167 # Extract the first word of "pkg-config", so it can be a program name with args.
23168 set dummy pkg-config; ac_word=$2
23169 echo "$as_me:$LINENO: checking for $ac_word" >&5
23170 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
23171 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
23172 echo $ECHO_N "(cached) $ECHO_C" >&6
23173 else
23174 case $PKG_CONFIG in
23175 [\\/]* | ?:[\\/]*)
23176 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
23177 ;;
23178 *)
23179 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23180 for as_dir in $PATH
23181 do
23182 IFS=$as_save_IFS
23183 test -z "$as_dir" && as_dir=.
23184 for ac_exec_ext in '' $ac_executable_extensions; do
23185 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23186 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
23187 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23188 break 2
23189 fi
23190 done
23191 done
23192
23193 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
23194 ;;
23195 esac
23196 fi
23197 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
23198
23199 if test -n "$PKG_CONFIG"; then
23200 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
23201 echo "${ECHO_T}$PKG_CONFIG" >&6
23202 else
23203 echo "$as_me:$LINENO: result: no" >&5
23204 echo "${ECHO_T}no" >&6
23205 fi
23206
23207
23208 if test x$PKG_CONFIG != xno ; then
23209 if pkg-config --atleast-pkgconfig-version 0.7 ; then
23210 :
23211 else
23212 echo "*** pkg-config too old; version 0.7 or better required."
23213 no_gtk=yes
23214 PKG_CONFIG=no
23215 fi
23216 else
23217 no_gtk=yes
23218 fi
23219
23220 min_gtk_version=2.0.0
23221 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
23222 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
23223
23224 if test x$PKG_CONFIG != xno ; then
23225 ## don't try to run the test against uninstalled libtool libs
23226 if $PKG_CONFIG --uninstalled $pkg_config_args; then
23227 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
23228 enable_gtktest=no
23229 fi
23230
23231 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
23232 :
23233 else
23234 no_gtk=yes
23235 fi
23236 fi
23237
23238 if test x"$no_gtk" = x ; then
23239 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
23240 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
23241 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
23242 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
23243 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
23244 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
23245 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
23246 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
23247 if test "x$enable_gtktest" = "xyes" ; then
23248 ac_save_CFLAGS="$CFLAGS"
23249 ac_save_LIBS="$LIBS"
23250 CFLAGS="$CFLAGS $GTK_CFLAGS"
23251 LIBS="$GTK_LIBS $LIBS"
23252 rm -f conf.gtktest
23253 if test "$cross_compiling" = yes; then
23254 echo $ac_n "cross compiling; assumed OK... $ac_c"
23255 else
23256 cat >conftest.$ac_ext <<_ACEOF
23257 /* confdefs.h. */
23258 _ACEOF
23259 cat confdefs.h >>conftest.$ac_ext
23260 cat >>conftest.$ac_ext <<_ACEOF
23261 /* end confdefs.h. */
23262
23263 #include <gtk/gtk.h>
23264 #include <stdio.h>
23265 #include <stdlib.h>
23266
23267 int
23268 main ()
23269 {
23270 int major, minor, micro;
23271 char *tmp_version;
23272
23273 system ("touch conf.gtktest");
23274
23275 /* HP/UX 9 (%@#!) writes to sscanf strings */
23276 tmp_version = g_strdup("$min_gtk_version");
23277 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
23278 printf("%s, bad version string\n", "$min_gtk_version");
23279 exit(1);
23280 }
23281
23282 if ((gtk_major_version != $gtk_config_major_version) ||
23283 (gtk_minor_version != $gtk_config_minor_version) ||
23284 (gtk_micro_version != $gtk_config_micro_version))
23285 {
23286 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
23287 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
23288 gtk_major_version, gtk_minor_version, gtk_micro_version);
23289 printf ("*** was found! If pkg-config was correct, then it is best\n");
23290 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
23291 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
23292 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
23293 printf("*** required on your system.\n");
23294 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
23295 printf("*** to point to the correct configuration files\n");
23296 }
23297 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
23298 (gtk_minor_version != GTK_MINOR_VERSION) ||
23299 (gtk_micro_version != GTK_MICRO_VERSION))
23300 {
23301 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
23302 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
23303 printf("*** library (version %d.%d.%d)\n",
23304 gtk_major_version, gtk_minor_version, gtk_micro_version);
23305 }
23306 else
23307 {
23308 if ((gtk_major_version > major) ||
23309 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
23310 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
23311 {
23312 return 0;
23313 }
23314 else
23315 {
23316 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
23317 gtk_major_version, gtk_minor_version, gtk_micro_version);
23318 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
23319 major, minor, micro);
23320 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
23321 printf("***\n");
23322 printf("*** If you have already installed a sufficiently new version, this error\n");
23323 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
23324 printf("*** being found. The easiest way to fix this is to remove the old version\n");
23325 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
23326 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
23327 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
23328 printf("*** so that the correct libraries are found at run-time))\n");
23329 }
23330 }
23331 return 1;
23332 }
23333
23334 _ACEOF
23335 rm -f conftest$ac_exeext
23336 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23337 (eval $ac_link) 2>&5
23338 ac_status=$?
23339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23340 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23342 (eval $ac_try) 2>&5
23343 ac_status=$?
23344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23345 (exit $ac_status); }; }; then
23346 :
23347 else
23348 echo "$as_me: program exited with status $ac_status" >&5
23349 echo "$as_me: failed program was:" >&5
23350 sed 's/^/| /' conftest.$ac_ext >&5
23351
23352 ( exit $ac_status )
23353 no_gtk=yes
23354 fi
23355 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23356 fi
23357 CFLAGS="$ac_save_CFLAGS"
23358 LIBS="$ac_save_LIBS"
23359 fi
23360 fi
23361 if test "x$no_gtk" = x ; then
23362 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
23363 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
23364 wx_cv_lib_gtk=2.0
23365 else
23366 echo "$as_me:$LINENO: result: no" >&5
23367 echo "${ECHO_T}no" >&6
23368 if test "$PKG_CONFIG" = "no" ; then
23369 echo "*** A new enough version of pkg-config was not found."
23370 echo "*** See http://pkgconfig.sourceforge.net"
23371 else
23372 if test -f conf.gtktest ; then
23373 :
23374 else
23375 echo "*** Could not run GTK+ test program, checking why..."
23376 ac_save_CFLAGS="$CFLAGS"
23377 ac_save_LIBS="$LIBS"
23378 CFLAGS="$CFLAGS $GTK_CFLAGS"
23379 LIBS="$LIBS $GTK_LIBS"
23380 cat >conftest.$ac_ext <<_ACEOF
23381 /* confdefs.h. */
23382 _ACEOF
23383 cat confdefs.h >>conftest.$ac_ext
23384 cat >>conftest.$ac_ext <<_ACEOF
23385 /* end confdefs.h. */
23386
23387 #include <gtk/gtk.h>
23388 #include <stdio.h>
23389
23390 int
23391 main ()
23392 {
23393 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
23394 ;
23395 return 0;
23396 }
23397 _ACEOF
23398 rm -f conftest.$ac_objext conftest$ac_exeext
23399 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23400 (eval $ac_link) 2>conftest.er1
23401 ac_status=$?
23402 grep -v '^ *+' conftest.er1 >conftest.err
23403 rm -f conftest.er1
23404 cat conftest.err >&5
23405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23406 (exit $ac_status); } &&
23407 { ac_try='test -z "$ac_c_werror_flag"
23408 || test ! -s conftest.err'
23409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23410 (eval $ac_try) 2>&5
23411 ac_status=$?
23412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23413 (exit $ac_status); }; } &&
23414 { ac_try='test -s conftest$ac_exeext'
23415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23416 (eval $ac_try) 2>&5
23417 ac_status=$?
23418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23419 (exit $ac_status); }; }; then
23420 echo "*** The test program compiled, but did not run. This usually means"
23421 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
23422 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
23423 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
23424 echo "*** to the installed location Also, make sure you have run ldconfig if that"
23425 echo "*** is required on your system"
23426 echo "***"
23427 echo "*** If you have an old version installed, it is best to remove it, although"
23428 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
23429 else
23430 echo "$as_me: failed program was:" >&5
23431 sed 's/^/| /' conftest.$ac_ext >&5
23432
23433 echo "*** The test program failed to compile or link. See the file config.log for the"
23434 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
23435 fi
23436 rm -f conftest.err conftest.$ac_objext \
23437 conftest$ac_exeext conftest.$ac_ext
23438 CFLAGS="$ac_save_CFLAGS"
23439 LIBS="$ac_save_LIBS"
23440 fi
23441 fi
23442 GTK_CFLAGS=""
23443 GTK_LIBS=""
23444 :
23445 fi
23446
23447
23448 rm -f conf.gtktest
23449
23450 else
23451
23452 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
23453 if test "${with_gtk_prefix+set}" = set; then
23454 withval="$with_gtk_prefix"
23455 gtk_config_prefix="$withval"
23456 else
23457 gtk_config_prefix=""
23458 fi;
23459
23460 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
23461 if test "${with_gtk_exec_prefix+set}" = set; then
23462 withval="$with_gtk_exec_prefix"
23463 gtk_config_exec_prefix="$withval"
23464 else
23465 gtk_config_exec_prefix=""
23466 fi;
23467 # Check whether --enable-gtktest or --disable-gtktest was given.
23468 if test "${enable_gtktest+set}" = set; then
23469 enableval="$enable_gtktest"
23470
23471 else
23472 enable_gtktest=yes
23473 fi;
23474
23475 for module in . $GTK_MODULES
23476 do
23477 case "$module" in
23478 gthread)
23479 gtk_config_args="$gtk_config_args gthread"
23480 ;;
23481 esac
23482 done
23483
23484 if test x$gtk_config_exec_prefix != x ; then
23485 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
23486 if test x${GTK_CONFIG+set} != xset ; then
23487 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
23488 fi
23489 fi
23490 if test x$gtk_config_prefix != x ; then
23491 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
23492 if test x${GTK_CONFIG+set} != xset ; then
23493 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
23494 fi
23495 fi
23496
23497 # Extract the first word of "gtk-config", so it can be a program name with args.
23498 set dummy gtk-config; ac_word=$2
23499 echo "$as_me:$LINENO: checking for $ac_word" >&5
23500 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
23501 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
23502 echo $ECHO_N "(cached) $ECHO_C" >&6
23503 else
23504 case $GTK_CONFIG in
23505 [\\/]* | ?:[\\/]*)
23506 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
23507 ;;
23508 *)
23509 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23510 for as_dir in $PATH
23511 do
23512 IFS=$as_save_IFS
23513 test -z "$as_dir" && as_dir=.
23514 for ac_exec_ext in '' $ac_executable_extensions; do
23515 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23516 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
23517 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23518 break 2
23519 fi
23520 done
23521 done
23522
23523 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
23524 ;;
23525 esac
23526 fi
23527 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
23528
23529 if test -n "$GTK_CONFIG"; then
23530 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
23531 echo "${ECHO_T}$GTK_CONFIG" >&6
23532 else
23533 echo "$as_me:$LINENO: result: no" >&5
23534 echo "${ECHO_T}no" >&6
23535 fi
23536
23537 min_gtk_version=1.2.7
23538 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
23539 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
23540 no_gtk=""
23541 if test "$GTK_CONFIG" = "no" ; then
23542 no_gtk=yes
23543 else
23544 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
23545 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
23546 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
23547 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
23548 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
23549 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
23550 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
23551 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
23552 if test "x$enable_gtktest" = "xyes" ; then
23553 ac_save_CFLAGS="$CFLAGS"
23554 ac_save_LIBS="$LIBS"
23555 CFLAGS="$CFLAGS $GTK_CFLAGS"
23556 LIBS="$GTK_LIBS $LIBS"
23557 rm -f conf.gtktest
23558 if test "$cross_compiling" = yes; then
23559 echo $ac_n "cross compiling; assumed OK... $ac_c"
23560 else
23561 cat >conftest.$ac_ext <<_ACEOF
23562 /* confdefs.h. */
23563 _ACEOF
23564 cat confdefs.h >>conftest.$ac_ext
23565 cat >>conftest.$ac_ext <<_ACEOF
23566 /* end confdefs.h. */
23567
23568 #include <gtk/gtk.h>
23569 #include <stdio.h>
23570 #include <stdlib.h>
23571
23572 int
23573 main ()
23574 {
23575 int major, minor, micro;
23576 char *tmp_version;
23577
23578 system ("touch conf.gtktest");
23579
23580 /* HP/UX 9 (%@#!) writes to sscanf strings */
23581 tmp_version = g_strdup("$min_gtk_version");
23582 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
23583 printf("%s, bad version string\n", "$min_gtk_version");
23584 exit(1);
23585 }
23586
23587 if ((gtk_major_version != $gtk_config_major_version) ||
23588 (gtk_minor_version != $gtk_config_minor_version) ||
23589 (gtk_micro_version != $gtk_config_micro_version))
23590 {
23591 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
23592 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
23593 gtk_major_version, gtk_minor_version, gtk_micro_version);
23594 printf ("*** was found! If gtk-config was correct, then it is best\n");
23595 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
23596 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
23597 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
23598 printf("*** required on your system.\n");
23599 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
23600 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
23601 printf("*** before re-running configure\n");
23602 }
23603 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
23604 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
23605 (gtk_minor_version != GTK_MINOR_VERSION) ||
23606 (gtk_micro_version != GTK_MICRO_VERSION))
23607 {
23608 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
23609 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
23610 printf("*** library (version %d.%d.%d)\n",
23611 gtk_major_version, gtk_minor_version, gtk_micro_version);
23612 }
23613 #endif /* defined (GTK_MAJOR_VERSION) ... */
23614 else
23615 {
23616 if ((gtk_major_version > major) ||
23617 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
23618 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
23619 {
23620 return 0;
23621 }
23622 else
23623 {
23624 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
23625 gtk_major_version, gtk_minor_version, gtk_micro_version);
23626 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
23627 major, minor, micro);
23628 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
23629 printf("***\n");
23630 printf("*** If you have already installed a sufficiently new version, this error\n");
23631 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
23632 printf("*** being found. The easiest way to fix this is to remove the old version\n");
23633 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
23634 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
23635 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
23636 printf("*** so that the correct libraries are found at run-time))\n");
23637 }
23638 }
23639 return 1;
23640 }
23641
23642 _ACEOF
23643 rm -f conftest$ac_exeext
23644 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23645 (eval $ac_link) 2>&5
23646 ac_status=$?
23647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23648 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
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); }; }; then
23654 :
23655 else
23656 echo "$as_me: program exited with status $ac_status" >&5
23657 echo "$as_me: failed program was:" >&5
23658 sed 's/^/| /' conftest.$ac_ext >&5
23659
23660 ( exit $ac_status )
23661 no_gtk=yes
23662 fi
23663 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23664 fi
23665 CFLAGS="$ac_save_CFLAGS"
23666 LIBS="$ac_save_LIBS"
23667 fi
23668 fi
23669 if test "x$no_gtk" = x ; then
23670 echo "$as_me:$LINENO: result: yes" >&5
23671 echo "${ECHO_T}yes" >&6
23672 wx_cv_lib_gtk=1.2.7
23673 else
23674 echo "$as_me:$LINENO: result: no" >&5
23675 echo "${ECHO_T}no" >&6
23676 if test "$GTK_CONFIG" = "no" ; then
23677 echo "*** The gtk-config script installed by GTK could not be found"
23678 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
23679 echo "*** your path, or set the GTK_CONFIG environment variable to the"
23680 echo "*** full path to gtk-config."
23681 else
23682 if test -f conf.gtktest ; then
23683 :
23684 else
23685 echo "*** Could not run GTK test program, checking why..."
23686 CFLAGS="$CFLAGS $GTK_CFLAGS"
23687 LIBS="$LIBS $GTK_LIBS"
23688 cat >conftest.$ac_ext <<_ACEOF
23689 /* confdefs.h. */
23690 _ACEOF
23691 cat confdefs.h >>conftest.$ac_ext
23692 cat >>conftest.$ac_ext <<_ACEOF
23693 /* end confdefs.h. */
23694
23695 #include <gtk/gtk.h>
23696 #include <stdio.h>
23697
23698 int
23699 main ()
23700 {
23701 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
23702 ;
23703 return 0;
23704 }
23705 _ACEOF
23706 rm -f conftest.$ac_objext conftest$ac_exeext
23707 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23708 (eval $ac_link) 2>conftest.er1
23709 ac_status=$?
23710 grep -v '^ *+' conftest.er1 >conftest.err
23711 rm -f conftest.er1
23712 cat conftest.err >&5
23713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23714 (exit $ac_status); } &&
23715 { ac_try='test -z "$ac_c_werror_flag"
23716 || test ! -s conftest.err'
23717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23718 (eval $ac_try) 2>&5
23719 ac_status=$?
23720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23721 (exit $ac_status); }; } &&
23722 { ac_try='test -s conftest$ac_exeext'
23723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23724 (eval $ac_try) 2>&5
23725 ac_status=$?
23726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23727 (exit $ac_status); }; }; then
23728 echo "*** The test program compiled, but did not run. This usually means"
23729 echo "*** that the run-time linker is not finding GTK or finding the wrong"
23730 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
23731 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
23732 echo "*** to the installed location Also, make sure you have run ldconfig if that"
23733 echo "*** is required on your system"
23734 echo "***"
23735 echo "*** If you have an old version installed, it is best to remove it, although"
23736 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
23737 echo "***"
23738 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
23739 echo "*** came with the system with the command"
23740 echo "***"
23741 echo "*** rpm --erase --nodeps gtk gtk-devel"
23742 else
23743 echo "$as_me: failed program was:" >&5
23744 sed 's/^/| /' conftest.$ac_ext >&5
23745
23746 echo "*** The test program failed to compile or link. See the file config.log for the"
23747 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
23748 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
23749 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
23750 fi
23751 rm -f conftest.err conftest.$ac_objext \
23752 conftest$ac_exeext conftest.$ac_ext
23753 CFLAGS="$ac_save_CFLAGS"
23754 LIBS="$ac_save_LIBS"
23755 fi
23756 fi
23757 GTK_CFLAGS=""
23758 GTK_LIBS=""
23759 :
23760 fi
23761
23762
23763 rm -f conf.gtktest
23764
23765
23766 if test -z "$wx_cv_lib_gtk"; then
23767
23768 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
23769 if test "${with_gtk_prefix+set}" = set; then
23770 withval="$with_gtk_prefix"
23771 gtk_config_prefix="$withval"
23772 else
23773 gtk_config_prefix=""
23774 fi;
23775
23776 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
23777 if test "${with_gtk_exec_prefix+set}" = set; then
23778 withval="$with_gtk_exec_prefix"
23779 gtk_config_exec_prefix="$withval"
23780 else
23781 gtk_config_exec_prefix=""
23782 fi;
23783 # Check whether --enable-gtktest or --disable-gtktest was given.
23784 if test "${enable_gtktest+set}" = set; then
23785 enableval="$enable_gtktest"
23786
23787 else
23788 enable_gtktest=yes
23789 fi;
23790
23791 for module in . $GTK_MODULES
23792 do
23793 case "$module" in
23794 gthread)
23795 gtk_config_args="$gtk_config_args gthread"
23796 ;;
23797 esac
23798 done
23799
23800 if test x$gtk_config_exec_prefix != x ; then
23801 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
23802 if test x${GTK_CONFIG+set} != xset ; then
23803 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
23804 fi
23805 fi
23806 if test x$gtk_config_prefix != x ; then
23807 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
23808 if test x${GTK_CONFIG+set} != xset ; then
23809 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
23810 fi
23811 fi
23812
23813 # Extract the first word of "gtk-config", so it can be a program name with args.
23814 set dummy gtk-config; ac_word=$2
23815 echo "$as_me:$LINENO: checking for $ac_word" >&5
23816 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
23817 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
23818 echo $ECHO_N "(cached) $ECHO_C" >&6
23819 else
23820 case $GTK_CONFIG in
23821 [\\/]* | ?:[\\/]*)
23822 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
23823 ;;
23824 *)
23825 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23826 for as_dir in $PATH
23827 do
23828 IFS=$as_save_IFS
23829 test -z "$as_dir" && as_dir=.
23830 for ac_exec_ext in '' $ac_executable_extensions; do
23831 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23832 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
23833 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23834 break 2
23835 fi
23836 done
23837 done
23838
23839 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
23840 ;;
23841 esac
23842 fi
23843 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
23844
23845 if test -n "$GTK_CONFIG"; then
23846 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
23847 echo "${ECHO_T}$GTK_CONFIG" >&6
23848 else
23849 echo "$as_me:$LINENO: result: no" >&5
23850 echo "${ECHO_T}no" >&6
23851 fi
23852
23853 min_gtk_version=1.2.3
23854 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
23855 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
23856 no_gtk=""
23857 if test "$GTK_CONFIG" = "no" ; then
23858 no_gtk=yes
23859 else
23860 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
23861 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
23862 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
23863 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
23864 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
23865 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
23866 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
23867 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
23868 if test "x$enable_gtktest" = "xyes" ; then
23869 ac_save_CFLAGS="$CFLAGS"
23870 ac_save_LIBS="$LIBS"
23871 CFLAGS="$CFLAGS $GTK_CFLAGS"
23872 LIBS="$GTK_LIBS $LIBS"
23873 rm -f conf.gtktest
23874 if test "$cross_compiling" = yes; then
23875 echo $ac_n "cross compiling; assumed OK... $ac_c"
23876 else
23877 cat >conftest.$ac_ext <<_ACEOF
23878 /* confdefs.h. */
23879 _ACEOF
23880 cat confdefs.h >>conftest.$ac_ext
23881 cat >>conftest.$ac_ext <<_ACEOF
23882 /* end confdefs.h. */
23883
23884 #include <gtk/gtk.h>
23885 #include <stdio.h>
23886 #include <stdlib.h>
23887
23888 int
23889 main ()
23890 {
23891 int major, minor, micro;
23892 char *tmp_version;
23893
23894 system ("touch conf.gtktest");
23895
23896 /* HP/UX 9 (%@#!) writes to sscanf strings */
23897 tmp_version = g_strdup("$min_gtk_version");
23898 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
23899 printf("%s, bad version string\n", "$min_gtk_version");
23900 exit(1);
23901 }
23902
23903 if ((gtk_major_version != $gtk_config_major_version) ||
23904 (gtk_minor_version != $gtk_config_minor_version) ||
23905 (gtk_micro_version != $gtk_config_micro_version))
23906 {
23907 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
23908 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
23909 gtk_major_version, gtk_minor_version, gtk_micro_version);
23910 printf ("*** was found! If gtk-config was correct, then it is best\n");
23911 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
23912 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
23913 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
23914 printf("*** required on your system.\n");
23915 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
23916 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
23917 printf("*** before re-running configure\n");
23918 }
23919 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
23920 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
23921 (gtk_minor_version != GTK_MINOR_VERSION) ||
23922 (gtk_micro_version != GTK_MICRO_VERSION))
23923 {
23924 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
23925 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
23926 printf("*** library (version %d.%d.%d)\n",
23927 gtk_major_version, gtk_minor_version, gtk_micro_version);
23928 }
23929 #endif /* defined (GTK_MAJOR_VERSION) ... */
23930 else
23931 {
23932 if ((gtk_major_version > major) ||
23933 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
23934 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
23935 {
23936 return 0;
23937 }
23938 else
23939 {
23940 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
23941 gtk_major_version, gtk_minor_version, gtk_micro_version);
23942 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
23943 major, minor, micro);
23944 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
23945 printf("***\n");
23946 printf("*** If you have already installed a sufficiently new version, this error\n");
23947 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
23948 printf("*** being found. The easiest way to fix this is to remove the old version\n");
23949 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
23950 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
23951 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
23952 printf("*** so that the correct libraries are found at run-time))\n");
23953 }
23954 }
23955 return 1;
23956 }
23957
23958 _ACEOF
23959 rm -f conftest$ac_exeext
23960 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23961 (eval $ac_link) 2>&5
23962 ac_status=$?
23963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23964 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23966 (eval $ac_try) 2>&5
23967 ac_status=$?
23968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23969 (exit $ac_status); }; }; then
23970 :
23971 else
23972 echo "$as_me: program exited with status $ac_status" >&5
23973 echo "$as_me: failed program was:" >&5
23974 sed 's/^/| /' conftest.$ac_ext >&5
23975
23976 ( exit $ac_status )
23977 no_gtk=yes
23978 fi
23979 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23980 fi
23981 CFLAGS="$ac_save_CFLAGS"
23982 LIBS="$ac_save_LIBS"
23983 fi
23984 fi
23985 if test "x$no_gtk" = x ; then
23986 echo "$as_me:$LINENO: result: yes" >&5
23987 echo "${ECHO_T}yes" >&6
23988 wx_cv_lib_gtk=1.2.3
23989 else
23990 echo "$as_me:$LINENO: result: no" >&5
23991 echo "${ECHO_T}no" >&6
23992 if test "$GTK_CONFIG" = "no" ; then
23993 echo "*** The gtk-config script installed by GTK could not be found"
23994 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
23995 echo "*** your path, or set the GTK_CONFIG environment variable to the"
23996 echo "*** full path to gtk-config."
23997 else
23998 if test -f conf.gtktest ; then
23999 :
24000 else
24001 echo "*** Could not run GTK test program, checking why..."
24002 CFLAGS="$CFLAGS $GTK_CFLAGS"
24003 LIBS="$LIBS $GTK_LIBS"
24004 cat >conftest.$ac_ext <<_ACEOF
24005 /* confdefs.h. */
24006 _ACEOF
24007 cat confdefs.h >>conftest.$ac_ext
24008 cat >>conftest.$ac_ext <<_ACEOF
24009 /* end confdefs.h. */
24010
24011 #include <gtk/gtk.h>
24012 #include <stdio.h>
24013
24014 int
24015 main ()
24016 {
24017 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
24018 ;
24019 return 0;
24020 }
24021 _ACEOF
24022 rm -f conftest.$ac_objext conftest$ac_exeext
24023 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24024 (eval $ac_link) 2>conftest.er1
24025 ac_status=$?
24026 grep -v '^ *+' conftest.er1 >conftest.err
24027 rm -f conftest.er1
24028 cat conftest.err >&5
24029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24030 (exit $ac_status); } &&
24031 { ac_try='test -z "$ac_c_werror_flag"
24032 || test ! -s conftest.err'
24033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24034 (eval $ac_try) 2>&5
24035 ac_status=$?
24036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24037 (exit $ac_status); }; } &&
24038 { ac_try='test -s conftest$ac_exeext'
24039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24040 (eval $ac_try) 2>&5
24041 ac_status=$?
24042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24043 (exit $ac_status); }; }; then
24044 echo "*** The test program compiled, but did not run. This usually means"
24045 echo "*** that the run-time linker is not finding GTK or finding the wrong"
24046 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
24047 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
24048 echo "*** to the installed location Also, make sure you have run ldconfig if that"
24049 echo "*** is required on your system"
24050 echo "***"
24051 echo "*** If you have an old version installed, it is best to remove it, although"
24052 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
24053 echo "***"
24054 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
24055 echo "*** came with the system with the command"
24056 echo "***"
24057 echo "*** rpm --erase --nodeps gtk gtk-devel"
24058 else
24059 echo "$as_me: failed program was:" >&5
24060 sed 's/^/| /' conftest.$ac_ext >&5
24061
24062 echo "*** The test program failed to compile or link. See the file config.log for the"
24063 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
24064 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
24065 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
24066 fi
24067 rm -f conftest.err conftest.$ac_objext \
24068 conftest$ac_exeext conftest.$ac_ext
24069 CFLAGS="$ac_save_CFLAGS"
24070 LIBS="$ac_save_LIBS"
24071 fi
24072 fi
24073 GTK_CFLAGS=""
24074 GTK_LIBS=""
24075 :
24076 fi
24077
24078
24079 rm -f conf.gtktest
24080
24081 fi
24082 fi
24083
24084 if test -z "$wx_cv_lib_gtk"; then
24085 wx_cv_lib_gtk=none
24086 else
24087 wx_cv_cflags_gtk=$GTK_CFLAGS
24088 wx_cv_libs_gtk=$GTK_LIBS
24089 fi
24090
24091
24092 fi
24093
24094
24095 if test "$gtk_version_cached" = 1; then
24096 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
24097 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
24098 fi
24099
24100 case "$wx_cv_lib_gtk" in
24101 2.0) WXGTK20=1
24102 TOOLKIT_VERSION=2
24103 ;;
24104 1.2.7) WXGTK127=1
24105 WXGTK12=1
24106 ;;
24107 1.2.3) WXGTK12=1
24108 ;;
24109 *) { { echo "$as_me:$LINENO: error:
24110 Please check that gtk-config is in path, the directory
24111 where GTK+ libraries are installed (returned by
24112 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
24113 equivalent variable and GTK+ is version 1.2.3 or above.
24114 " >&5
24115 echo "$as_me: error:
24116 Please check that gtk-config is in path, the directory
24117 where GTK+ libraries are installed (returned by
24118 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
24119 equivalent variable and GTK+ is version 1.2.3 or above.
24120 " >&2;}
24121 { (exit 1); exit 1; }; }
24122 ;;
24123 esac
24124
24125 if test "$WXGTK20" = 1; then
24126 save_CFLAGS="$CFLAGS"
24127 save_LIBS="$LIBS"
24128 CFLAGS="$CFLAGS $GTK_CFLAGS"
24129 LIBS="$LIBS $GTK_LIBS"
24130
24131
24132 for ac_func in pango_font_family_is_monospace
24133 do
24134 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24135 echo "$as_me:$LINENO: checking for $ac_func" >&5
24136 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24137 if eval "test \"\${$as_ac_var+set}\" = set"; then
24138 echo $ECHO_N "(cached) $ECHO_C" >&6
24139 else
24140 cat >conftest.$ac_ext <<_ACEOF
24141 /* confdefs.h. */
24142 _ACEOF
24143 cat confdefs.h >>conftest.$ac_ext
24144 cat >>conftest.$ac_ext <<_ACEOF
24145 /* end confdefs.h. */
24146 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24147 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24148 #define $ac_func innocuous_$ac_func
24149
24150 /* System header to define __stub macros and hopefully few prototypes,
24151 which can conflict with char $ac_func (); below.
24152 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24153 <limits.h> exists even on freestanding compilers. */
24154
24155 #ifdef __STDC__
24156 # include <limits.h>
24157 #else
24158 # include <assert.h>
24159 #endif
24160
24161 #undef $ac_func
24162
24163 /* Override any gcc2 internal prototype to avoid an error. */
24164 #ifdef __cplusplus
24165 extern "C"
24166 {
24167 #endif
24168 /* We use char because int might match the return type of a gcc2
24169 builtin and then its argument prototype would still apply. */
24170 char $ac_func ();
24171 /* The GNU C library defines this for functions which it implements
24172 to always fail with ENOSYS. Some functions are actually named
24173 something starting with __ and the normal name is an alias. */
24174 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24175 choke me
24176 #else
24177 char (*f) () = $ac_func;
24178 #endif
24179 #ifdef __cplusplus
24180 }
24181 #endif
24182
24183 int
24184 main ()
24185 {
24186 return f != $ac_func;
24187 ;
24188 return 0;
24189 }
24190 _ACEOF
24191 rm -f conftest.$ac_objext conftest$ac_exeext
24192 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24193 (eval $ac_link) 2>conftest.er1
24194 ac_status=$?
24195 grep -v '^ *+' conftest.er1 >conftest.err
24196 rm -f conftest.er1
24197 cat conftest.err >&5
24198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24199 (exit $ac_status); } &&
24200 { ac_try='test -z "$ac_c_werror_flag"
24201 || test ! -s conftest.err'
24202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24203 (eval $ac_try) 2>&5
24204 ac_status=$?
24205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24206 (exit $ac_status); }; } &&
24207 { ac_try='test -s conftest$ac_exeext'
24208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24209 (eval $ac_try) 2>&5
24210 ac_status=$?
24211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24212 (exit $ac_status); }; }; then
24213 eval "$as_ac_var=yes"
24214 else
24215 echo "$as_me: failed program was:" >&5
24216 sed 's/^/| /' conftest.$ac_ext >&5
24217
24218 eval "$as_ac_var=no"
24219 fi
24220 rm -f conftest.err conftest.$ac_objext \
24221 conftest$ac_exeext conftest.$ac_ext
24222 fi
24223 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24224 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24225 if test `eval echo '${'$as_ac_var'}'` = yes; then
24226 cat >>confdefs.h <<_ACEOF
24227 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24228 _ACEOF
24229
24230 fi
24231 done
24232
24233
24234 echo "$as_me:$LINENO: checking if GTK+ is version >= 2.4" >&5
24235 echo $ECHO_N "checking if GTK+ is version >= 2.4... $ECHO_C" >&6
24236 cat >conftest.$ac_ext <<_ACEOF
24237 /* confdefs.h. */
24238 _ACEOF
24239 cat confdefs.h >>conftest.$ac_ext
24240 cat >>conftest.$ac_ext <<_ACEOF
24241 /* end confdefs.h. */
24242
24243 #include <gtk/gtk.h>
24244
24245 int
24246 main ()
24247 {
24248
24249 #if !GTK_CHECK_VERSION(2,4,0)
24250 #error "Not GTK+ 2.4"
24251 #endif
24252
24253 ;
24254 return 0;
24255 }
24256 _ACEOF
24257 rm -f conftest.$ac_objext
24258 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24259 (eval $ac_compile) 2>conftest.er1
24260 ac_status=$?
24261 grep -v '^ *+' conftest.er1 >conftest.err
24262 rm -f conftest.er1
24263 cat conftest.err >&5
24264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24265 (exit $ac_status); } &&
24266 { ac_try='test -z "$ac_c_werror_flag"
24267 || test ! -s conftest.err'
24268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24269 (eval $ac_try) 2>&5
24270 ac_status=$?
24271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24272 (exit $ac_status); }; } &&
24273 { ac_try='test -s conftest.$ac_objext'
24274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24275 (eval $ac_try) 2>&5
24276 ac_status=$?
24277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24278 (exit $ac_status); }; }; then
24279
24280 cat >>confdefs.h <<\_ACEOF
24281 #define __WXGTK24__ 1
24282 _ACEOF
24283
24284 echo "$as_me:$LINENO: result: yes" >&5
24285 echo "${ECHO_T}yes" >&6
24286
24287 else
24288 echo "$as_me: failed program was:" >&5
24289 sed 's/^/| /' conftest.$ac_ext >&5
24290
24291
24292 echo "$as_me:$LINENO: result: no" >&5
24293 echo "${ECHO_T}no" >&6
24294
24295 fi
24296 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24297
24298 CFLAGS="$save_CFLAGS"
24299 LIBS="$save_LIBS"
24300 else
24301 if test "$wxUSE_UNICODE" = "yes"; then
24302 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
24303 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
24304 wxUSE_UNICODE=no
24305 fi
24306 fi
24307
24308 if test "$USE_DARWIN" != 1; then
24309
24310 for ac_func in poll
24311 do
24312 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24313 echo "$as_me:$LINENO: checking for $ac_func" >&5
24314 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24315 if eval "test \"\${$as_ac_var+set}\" = set"; then
24316 echo $ECHO_N "(cached) $ECHO_C" >&6
24317 else
24318 cat >conftest.$ac_ext <<_ACEOF
24319 /* confdefs.h. */
24320 _ACEOF
24321 cat confdefs.h >>conftest.$ac_ext
24322 cat >>conftest.$ac_ext <<_ACEOF
24323 /* end confdefs.h. */
24324 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24325 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24326 #define $ac_func innocuous_$ac_func
24327
24328 /* System header to define __stub macros and hopefully few prototypes,
24329 which can conflict with char $ac_func (); below.
24330 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24331 <limits.h> exists even on freestanding compilers. */
24332
24333 #ifdef __STDC__
24334 # include <limits.h>
24335 #else
24336 # include <assert.h>
24337 #endif
24338
24339 #undef $ac_func
24340
24341 /* Override any gcc2 internal prototype to avoid an error. */
24342 #ifdef __cplusplus
24343 extern "C"
24344 {
24345 #endif
24346 /* We use char because int might match the return type of a gcc2
24347 builtin and then its argument prototype would still apply. */
24348 char $ac_func ();
24349 /* The GNU C library defines this for functions which it implements
24350 to always fail with ENOSYS. Some functions are actually named
24351 something starting with __ and the normal name is an alias. */
24352 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24353 choke me
24354 #else
24355 char (*f) () = $ac_func;
24356 #endif
24357 #ifdef __cplusplus
24358 }
24359 #endif
24360
24361 int
24362 main ()
24363 {
24364 return f != $ac_func;
24365 ;
24366 return 0;
24367 }
24368 _ACEOF
24369 rm -f conftest.$ac_objext conftest$ac_exeext
24370 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24371 (eval $ac_link) 2>conftest.er1
24372 ac_status=$?
24373 grep -v '^ *+' conftest.er1 >conftest.err
24374 rm -f conftest.er1
24375 cat conftest.err >&5
24376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24377 (exit $ac_status); } &&
24378 { ac_try='test -z "$ac_c_werror_flag"
24379 || test ! -s conftest.err'
24380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24381 (eval $ac_try) 2>&5
24382 ac_status=$?
24383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24384 (exit $ac_status); }; } &&
24385 { ac_try='test -s conftest$ac_exeext'
24386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24387 (eval $ac_try) 2>&5
24388 ac_status=$?
24389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24390 (exit $ac_status); }; }; then
24391 eval "$as_ac_var=yes"
24392 else
24393 echo "$as_me: failed program was:" >&5
24394 sed 's/^/| /' conftest.$ac_ext >&5
24395
24396 eval "$as_ac_var=no"
24397 fi
24398 rm -f conftest.err conftest.$ac_objext \
24399 conftest$ac_exeext conftest.$ac_ext
24400 fi
24401 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24402 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24403 if test `eval echo '${'$as_ac_var'}'` = yes; then
24404 cat >>confdefs.h <<_ACEOF
24405 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24406 _ACEOF
24407
24408 fi
24409 done
24410
24411 fi
24412
24413 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
24414 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
24415
24416 AFMINSTALL=afminstall
24417 TOOLKIT=GTK
24418 GUIDIST=GTK_DIST
24419
24420 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
24421 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
24422 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
24423 echo $ECHO_N "(cached) $ECHO_C" >&6
24424 else
24425 ac_check_lib_save_LIBS=$LIBS
24426 LIBS="-lgdk $LIBS"
24427 cat >conftest.$ac_ext <<_ACEOF
24428 /* confdefs.h. */
24429 _ACEOF
24430 cat confdefs.h >>conftest.$ac_ext
24431 cat >>conftest.$ac_ext <<_ACEOF
24432 /* end confdefs.h. */
24433
24434 /* Override any gcc2 internal prototype to avoid an error. */
24435 #ifdef __cplusplus
24436 extern "C"
24437 #endif
24438 /* We use char because int might match the return type of a gcc2
24439 builtin and then its argument prototype would still apply. */
24440 char gdk_im_open ();
24441 int
24442 main ()
24443 {
24444 gdk_im_open ();
24445 ;
24446 return 0;
24447 }
24448 _ACEOF
24449 rm -f conftest.$ac_objext conftest$ac_exeext
24450 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24451 (eval $ac_link) 2>conftest.er1
24452 ac_status=$?
24453 grep -v '^ *+' conftest.er1 >conftest.err
24454 rm -f conftest.er1
24455 cat conftest.err >&5
24456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24457 (exit $ac_status); } &&
24458 { ac_try='test -z "$ac_c_werror_flag"
24459 || test ! -s conftest.err'
24460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24461 (eval $ac_try) 2>&5
24462 ac_status=$?
24463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24464 (exit $ac_status); }; } &&
24465 { ac_try='test -s conftest$ac_exeext'
24466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24467 (eval $ac_try) 2>&5
24468 ac_status=$?
24469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24470 (exit $ac_status); }; }; then
24471 ac_cv_lib_gdk_gdk_im_open=yes
24472 else
24473 echo "$as_me: failed program was:" >&5
24474 sed 's/^/| /' conftest.$ac_ext >&5
24475
24476 ac_cv_lib_gdk_gdk_im_open=no
24477 fi
24478 rm -f conftest.err conftest.$ac_objext \
24479 conftest$ac_exeext conftest.$ac_ext
24480 LIBS=$ac_check_lib_save_LIBS
24481 fi
24482 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
24483 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
24484 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
24485 cat >>confdefs.h <<\_ACEOF
24486 #define HAVE_XIM 1
24487 _ACEOF
24488
24489 fi
24490
24491
24492
24493 if test "$wxUSE_GPE" = "yes"; then
24494 echo "$as_me:$LINENO: checking for gpewidget library" >&5
24495 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6
24496
24497 ac_find_libraries=
24498 for ac_dir in $SEARCH_LIB /usr/lib;
24499 do
24500 for ac_extension in a so sl dylib; do
24501 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
24502 ac_find_libraries=$ac_dir
24503 break 2
24504 fi
24505 done
24506 done
24507
24508 if test "$ac_find_libraries" != "" ; then
24509
24510 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
24511 result=$?
24512 if test $result = 0; then
24513 ac_path_to_link=""
24514 else
24515 ac_path_to_link=" -L$ac_find_libraries"
24516 fi
24517
24518 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
24519 WXGPE=1
24520 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
24521 echo "${ECHO_T}found at $ac_find_libraries" >&6
24522 else
24523 echo "$as_me:$LINENO: result: not found" >&5
24524 echo "${ECHO_T}not found" >&6
24525 fi
24526
24527 fi
24528 fi
24529
24530 if test "$wxUSE_MGL" = 1; then
24531 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
24532 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
24533 if test "x$MGL_ROOT" = x ; then
24534 echo "$as_me:$LINENO: result: not found" >&5
24535 echo "${ECHO_T}not found" >&6
24536 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
24537 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
24538 { (exit 1); exit 1; }; }
24539 else
24540 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
24541 echo "${ECHO_T}$MGL_ROOT" >&6
24542 fi
24543
24544 echo "$as_me:$LINENO: checking for libmgl location" >&5
24545 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
24546 case "${host}" in
24547 *-*-linux* )
24548 if test "x$wxUSE_SHARED" = xyes ; then
24549 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
24550 else
24551 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
24552 fi
24553 ;;
24554 *-pc-msdosdjgpp )
24555 mgl_os_candidates="dos32/dj2"
24556 ;;
24557 *)
24558 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
24559 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
24560 { (exit 1); exit 1; }; }
24561 esac
24562
24563 mgl_lib_type=""
24564 mgl_os=""
24565
24566 for mgl_os_i in $mgl_os_candidates ; do
24567 if test "x$mgl_os" = x ; then
24568 if test "$wxUSE_DEBUG_FLAG" = yes ; then
24569 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
24570 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
24571 mgl_lib_type=debug
24572 mgl_os=$mgl_os_i
24573 fi
24574 fi
24575 if test "x$mgl_lib_type" = x ; then
24576 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
24577 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
24578 mgl_lib_type=release
24579 mgl_os=$mgl_os_i
24580 fi
24581 fi
24582 fi
24583 done
24584
24585 if test "x$mgl_os" = x ; then
24586 echo "$as_me:$LINENO: result: not found" >&5
24587 echo "${ECHO_T}not found" >&6
24588 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
24589 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
24590 { (exit 1); exit 1; }; }
24591 fi
24592 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
24593 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
24594
24595 wxUSE_UNIVERSAL="yes"
24596
24597 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
24598 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
24599
24600 AFMINSTALL=afminstall
24601 TOOLKIT=MGL
24602 GUIDIST=MGL_DIST
24603 fi
24604
24605 if test "$wxUSE_MICROWIN" = 1; then
24606 echo "$as_me:$LINENO: checking for MicroWindows" >&5
24607 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
24608 if test "x$MICROWINDOWS" = x ; then
24609 echo "$as_me:$LINENO: result: not found" >&5
24610 echo "${ECHO_T}not found" >&6
24611 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
24612 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
24613 { (exit 1); exit 1; }; }
24614 else
24615 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
24616 echo "${ECHO_T}$MICROWINDOWS" >&6
24617 fi
24618
24619 if test -f $MICROWINDOWS/lib/libmwin.a; then
24620 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
24621 echo "${ECHO_T}MicroWindows' libraries found." >&6
24622 else
24623 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
24624 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
24625 { (exit 1); exit 1; }; }
24626 fi
24627
24628 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
24629 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
24630
24631 wxUSE_UNIVERSAL="yes"
24632
24633 AFMINSTALL=afminstall
24634 TOOLKIT=MICROWIN
24635 GUIDIST=MICROWIN_DIST
24636
24637 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
24638 fi
24639
24640 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
24641 echo "$as_me:$LINENO: checking for X" >&5
24642 echo $ECHO_N "checking for X... $ECHO_C" >&6
24643
24644
24645 # Check whether --with-x or --without-x was given.
24646 if test "${with_x+set}" = set; then
24647 withval="$with_x"
24648
24649 fi;
24650 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
24651 if test "x$with_x" = xno; then
24652 # The user explicitly disabled X.
24653 have_x=disabled
24654 else
24655 if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then
24656 # Both variables are already set.
24657 have_x=yes
24658 else
24659 if test "${ac_cv_have_x+set}" = set; then
24660 echo $ECHO_N "(cached) $ECHO_C" >&6
24661 else
24662 # One or both of the vars are not set, and there is no cached value.
24663 ac_x_includes=no ac_x_libraries=no
24664 rm -fr conftest.dir
24665 if mkdir conftest.dir; then
24666 cd conftest.dir
24667 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
24668 cat >Imakefile <<'_ACEOF'
24669 acfindx:
24670 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
24671 _ACEOF
24672 if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
24673 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
24674 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
24675 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
24676 for ac_extension in a so sl; do
24677 if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
24678 test -f $ac_im_libdir/libX11.$ac_extension; then
24679 ac_im_usrlibdir=$ac_im_libdir; break
24680 fi
24681 done
24682 # Screen out bogus values from the imake configuration. They are
24683 # bogus both because they are the default anyway, and because
24684 # using them would break gcc on systems where it needs fixed includes.
24685 case $ac_im_incroot in
24686 /usr/include) ;;
24687 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
24688 esac
24689 case $ac_im_usrlibdir in
24690 /usr/lib | /lib) ;;
24691 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
24692 esac
24693 fi
24694 cd ..
24695 rm -fr conftest.dir
24696 fi
24697
24698 # Standard set of common directories for X headers.
24699 # Check X11 before X11Rn because it is often a symlink to the current release.
24700 ac_x_header_dirs='
24701 /usr/X11/include
24702 /usr/X11R6/include
24703 /usr/X11R5/include
24704 /usr/X11R4/include
24705
24706 /usr/include/X11
24707 /usr/include/X11R6
24708 /usr/include/X11R5
24709 /usr/include/X11R4
24710
24711 /usr/local/X11/include
24712 /usr/local/X11R6/include
24713 /usr/local/X11R5/include
24714 /usr/local/X11R4/include
24715
24716 /usr/local/include/X11
24717 /usr/local/include/X11R6
24718 /usr/local/include/X11R5
24719 /usr/local/include/X11R4
24720
24721 /usr/X386/include
24722 /usr/x386/include
24723 /usr/XFree86/include/X11
24724
24725 /usr/include
24726 /usr/local/include
24727 /usr/unsupported/include
24728 /usr/athena/include
24729 /usr/local/x11r5/include
24730 /usr/lpp/Xamples/include
24731
24732 /usr/openwin/include
24733 /usr/openwin/share/include'
24734
24735 if test "$ac_x_includes" = no; then
24736 # Guess where to find include files, by looking for Intrinsic.h.
24737 # First, try using that file with no special directory specified.
24738 cat >conftest.$ac_ext <<_ACEOF
24739 /* confdefs.h. */
24740 _ACEOF
24741 cat confdefs.h >>conftest.$ac_ext
24742 cat >>conftest.$ac_ext <<_ACEOF
24743 /* end confdefs.h. */
24744 #include <X11/Intrinsic.h>
24745 _ACEOF
24746 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24747 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
24748 ac_status=$?
24749 grep -v '^ *+' conftest.er1 >conftest.err
24750 rm -f conftest.er1
24751 cat conftest.err >&5
24752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24753 (exit $ac_status); } >/dev/null; then
24754 if test -s conftest.err; then
24755 ac_cpp_err=$ac_c_preproc_warn_flag
24756 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
24757 else
24758 ac_cpp_err=
24759 fi
24760 else
24761 ac_cpp_err=yes
24762 fi
24763 if test -z "$ac_cpp_err"; then
24764 # We can compile using X headers with no special include directory.
24765 ac_x_includes=
24766 else
24767 echo "$as_me: failed program was:" >&5
24768 sed 's/^/| /' conftest.$ac_ext >&5
24769
24770 for ac_dir in $ac_x_header_dirs; do
24771 if test -r "$ac_dir/X11/Intrinsic.h"; then
24772 ac_x_includes=$ac_dir
24773 break
24774 fi
24775 done
24776 fi
24777 rm -f conftest.err conftest.$ac_ext
24778 fi # $ac_x_includes = no
24779
24780 if test "$ac_x_libraries" = no; then
24781 # Check for the libraries.
24782 # See if we find them without any special options.
24783 # Don't add to $LIBS permanently.
24784 ac_save_LIBS=$LIBS
24785 LIBS="-lXt $LIBS"
24786 cat >conftest.$ac_ext <<_ACEOF
24787 /* confdefs.h. */
24788 _ACEOF
24789 cat confdefs.h >>conftest.$ac_ext
24790 cat >>conftest.$ac_ext <<_ACEOF
24791 /* end confdefs.h. */
24792 #include <X11/Intrinsic.h>
24793 int
24794 main ()
24795 {
24796 XtMalloc (0)
24797 ;
24798 return 0;
24799 }
24800 _ACEOF
24801 rm -f conftest.$ac_objext conftest$ac_exeext
24802 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24803 (eval $ac_link) 2>conftest.er1
24804 ac_status=$?
24805 grep -v '^ *+' conftest.er1 >conftest.err
24806 rm -f conftest.er1
24807 cat conftest.err >&5
24808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24809 (exit $ac_status); } &&
24810 { ac_try='test -z "$ac_c_werror_flag"
24811 || test ! -s conftest.err'
24812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24813 (eval $ac_try) 2>&5
24814 ac_status=$?
24815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24816 (exit $ac_status); }; } &&
24817 { ac_try='test -s conftest$ac_exeext'
24818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24819 (eval $ac_try) 2>&5
24820 ac_status=$?
24821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24822 (exit $ac_status); }; }; then
24823 LIBS=$ac_save_LIBS
24824 # We can link X programs with no special library path.
24825 ac_x_libraries=
24826 else
24827 echo "$as_me: failed program was:" >&5
24828 sed 's/^/| /' conftest.$ac_ext >&5
24829
24830 LIBS=$ac_save_LIBS
24831 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
24832 do
24833 # Don't even attempt the hair of trying to link an X program!
24834 for ac_extension in a so sl; do
24835 if test -r $ac_dir/libXt.$ac_extension; then
24836 ac_x_libraries=$ac_dir
24837 break 2
24838 fi
24839 done
24840 done
24841 fi
24842 rm -f conftest.err conftest.$ac_objext \
24843 conftest$ac_exeext conftest.$ac_ext
24844 fi # $ac_x_libraries = no
24845
24846 if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then
24847 # Didn't find X anywhere. Cache the known absence of X.
24848 ac_cv_have_x="have_x=no"
24849 else
24850 # Record where we found X for the cache.
24851 ac_cv_have_x="have_x=yes \
24852 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
24853 fi
24854 fi
24855
24856 fi
24857 eval "$ac_cv_have_x"
24858 fi # $with_x != no
24859
24860 if test "$have_x" != yes; then
24861 echo "$as_me:$LINENO: result: $have_x" >&5
24862 echo "${ECHO_T}$have_x" >&6
24863 no_x=yes
24864 else
24865 # If each of the values was on the command line, it overrides each guess.
24866 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
24867 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
24868 # Update the cache value to reflect the command line values.
24869 ac_cv_have_x="have_x=yes \
24870 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
24871 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
24872 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
24873 fi
24874
24875 if test "$no_x" = yes; then
24876 # Not all programs may use this symbol, but it does not hurt to define it.
24877
24878 cat >>confdefs.h <<\_ACEOF
24879 #define X_DISPLAY_MISSING 1
24880 _ACEOF
24881
24882 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
24883 else
24884 if test -n "$x_includes"; then
24885 X_CFLAGS="$X_CFLAGS -I$x_includes"
24886 fi
24887
24888 # It would also be nice to do this for all -L options, not just this one.
24889 if test -n "$x_libraries"; then
24890 X_LIBS="$X_LIBS -L$x_libraries"
24891 # For Solaris; some versions of Sun CC require a space after -R and
24892 # others require no space. Words are not sufficient . . . .
24893 case `(uname -sr) 2>/dev/null` in
24894 "SunOS 5"*)
24895 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
24896 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
24897 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
24898 cat >conftest.$ac_ext <<_ACEOF
24899 /* confdefs.h. */
24900 _ACEOF
24901 cat confdefs.h >>conftest.$ac_ext
24902 cat >>conftest.$ac_ext <<_ACEOF
24903 /* end confdefs.h. */
24904
24905 int
24906 main ()
24907 {
24908
24909 ;
24910 return 0;
24911 }
24912 _ACEOF
24913 rm -f conftest.$ac_objext conftest$ac_exeext
24914 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24915 (eval $ac_link) 2>conftest.er1
24916 ac_status=$?
24917 grep -v '^ *+' conftest.er1 >conftest.err
24918 rm -f conftest.er1
24919 cat conftest.err >&5
24920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24921 (exit $ac_status); } &&
24922 { ac_try='test -z "$ac_c_werror_flag"
24923 || test ! -s conftest.err'
24924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24925 (eval $ac_try) 2>&5
24926 ac_status=$?
24927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24928 (exit $ac_status); }; } &&
24929 { ac_try='test -s conftest$ac_exeext'
24930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24931 (eval $ac_try) 2>&5
24932 ac_status=$?
24933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24934 (exit $ac_status); }; }; then
24935 ac_R_nospace=yes
24936 else
24937 echo "$as_me: failed program was:" >&5
24938 sed 's/^/| /' conftest.$ac_ext >&5
24939
24940 ac_R_nospace=no
24941 fi
24942 rm -f conftest.err conftest.$ac_objext \
24943 conftest$ac_exeext conftest.$ac_ext
24944 if test $ac_R_nospace = yes; then
24945 echo "$as_me:$LINENO: result: no" >&5
24946 echo "${ECHO_T}no" >&6
24947 X_LIBS="$X_LIBS -R$x_libraries"
24948 else
24949 LIBS="$ac_xsave_LIBS -R $x_libraries"
24950 cat >conftest.$ac_ext <<_ACEOF
24951 /* confdefs.h. */
24952 _ACEOF
24953 cat confdefs.h >>conftest.$ac_ext
24954 cat >>conftest.$ac_ext <<_ACEOF
24955 /* end confdefs.h. */
24956
24957 int
24958 main ()
24959 {
24960
24961 ;
24962 return 0;
24963 }
24964 _ACEOF
24965 rm -f conftest.$ac_objext conftest$ac_exeext
24966 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24967 (eval $ac_link) 2>conftest.er1
24968 ac_status=$?
24969 grep -v '^ *+' conftest.er1 >conftest.err
24970 rm -f conftest.er1
24971 cat conftest.err >&5
24972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24973 (exit $ac_status); } &&
24974 { ac_try='test -z "$ac_c_werror_flag"
24975 || test ! -s conftest.err'
24976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24977 (eval $ac_try) 2>&5
24978 ac_status=$?
24979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24980 (exit $ac_status); }; } &&
24981 { ac_try='test -s conftest$ac_exeext'
24982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24983 (eval $ac_try) 2>&5
24984 ac_status=$?
24985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24986 (exit $ac_status); }; }; then
24987 ac_R_space=yes
24988 else
24989 echo "$as_me: failed program was:" >&5
24990 sed 's/^/| /' conftest.$ac_ext >&5
24991
24992 ac_R_space=no
24993 fi
24994 rm -f conftest.err conftest.$ac_objext \
24995 conftest$ac_exeext conftest.$ac_ext
24996 if test $ac_R_space = yes; then
24997 echo "$as_me:$LINENO: result: yes" >&5
24998 echo "${ECHO_T}yes" >&6
24999 X_LIBS="$X_LIBS -R $x_libraries"
25000 else
25001 echo "$as_me:$LINENO: result: neither works" >&5
25002 echo "${ECHO_T}neither works" >&6
25003 fi
25004 fi
25005 LIBS=$ac_xsave_LIBS
25006 esac
25007 fi
25008
25009 # Check for system-dependent libraries X programs must link with.
25010 # Do this before checking for the system-independent R6 libraries
25011 # (-lICE), since we may need -lsocket or whatever for X linking.
25012
25013 if test "$ISC" = yes; then
25014 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
25015 else
25016 # Martyn Johnson says this is needed for Ultrix, if the X
25017 # libraries were built with DECnet support. And Karl Berry says
25018 # the Alpha needs dnet_stub (dnet does not exist).
25019 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
25020 cat >conftest.$ac_ext <<_ACEOF
25021 /* confdefs.h. */
25022 _ACEOF
25023 cat confdefs.h >>conftest.$ac_ext
25024 cat >>conftest.$ac_ext <<_ACEOF
25025 /* end confdefs.h. */
25026
25027 /* Override any gcc2 internal prototype to avoid an error. */
25028 #ifdef __cplusplus
25029 extern "C"
25030 #endif
25031 /* We use char because int might match the return type of a gcc2
25032 builtin and then its argument prototype would still apply. */
25033 char XOpenDisplay ();
25034 int
25035 main ()
25036 {
25037 XOpenDisplay ();
25038 ;
25039 return 0;
25040 }
25041 _ACEOF
25042 rm -f conftest.$ac_objext conftest$ac_exeext
25043 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25044 (eval $ac_link) 2>conftest.er1
25045 ac_status=$?
25046 grep -v '^ *+' conftest.er1 >conftest.err
25047 rm -f conftest.er1
25048 cat conftest.err >&5
25049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25050 (exit $ac_status); } &&
25051 { ac_try='test -z "$ac_c_werror_flag"
25052 || test ! -s conftest.err'
25053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25054 (eval $ac_try) 2>&5
25055 ac_status=$?
25056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25057 (exit $ac_status); }; } &&
25058 { ac_try='test -s conftest$ac_exeext'
25059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25060 (eval $ac_try) 2>&5
25061 ac_status=$?
25062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25063 (exit $ac_status); }; }; then
25064 :
25065 else
25066 echo "$as_me: failed program was:" >&5
25067 sed 's/^/| /' conftest.$ac_ext >&5
25068
25069 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
25070 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
25071 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
25072 echo $ECHO_N "(cached) $ECHO_C" >&6
25073 else
25074 ac_check_lib_save_LIBS=$LIBS
25075 LIBS="-ldnet $LIBS"
25076 cat >conftest.$ac_ext <<_ACEOF
25077 /* confdefs.h. */
25078 _ACEOF
25079 cat confdefs.h >>conftest.$ac_ext
25080 cat >>conftest.$ac_ext <<_ACEOF
25081 /* end confdefs.h. */
25082
25083 /* Override any gcc2 internal prototype to avoid an error. */
25084 #ifdef __cplusplus
25085 extern "C"
25086 #endif
25087 /* We use char because int might match the return type of a gcc2
25088 builtin and then its argument prototype would still apply. */
25089 char dnet_ntoa ();
25090 int
25091 main ()
25092 {
25093 dnet_ntoa ();
25094 ;
25095 return 0;
25096 }
25097 _ACEOF
25098 rm -f conftest.$ac_objext conftest$ac_exeext
25099 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25100 (eval $ac_link) 2>conftest.er1
25101 ac_status=$?
25102 grep -v '^ *+' conftest.er1 >conftest.err
25103 rm -f conftest.er1
25104 cat conftest.err >&5
25105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25106 (exit $ac_status); } &&
25107 { ac_try='test -z "$ac_c_werror_flag"
25108 || test ! -s conftest.err'
25109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25110 (eval $ac_try) 2>&5
25111 ac_status=$?
25112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25113 (exit $ac_status); }; } &&
25114 { ac_try='test -s conftest$ac_exeext'
25115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25116 (eval $ac_try) 2>&5
25117 ac_status=$?
25118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25119 (exit $ac_status); }; }; then
25120 ac_cv_lib_dnet_dnet_ntoa=yes
25121 else
25122 echo "$as_me: failed program was:" >&5
25123 sed 's/^/| /' conftest.$ac_ext >&5
25124
25125 ac_cv_lib_dnet_dnet_ntoa=no
25126 fi
25127 rm -f conftest.err conftest.$ac_objext \
25128 conftest$ac_exeext conftest.$ac_ext
25129 LIBS=$ac_check_lib_save_LIBS
25130 fi
25131 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
25132 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
25133 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
25134 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
25135 fi
25136
25137 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
25138 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
25139 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
25140 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
25141 echo $ECHO_N "(cached) $ECHO_C" >&6
25142 else
25143 ac_check_lib_save_LIBS=$LIBS
25144 LIBS="-ldnet_stub $LIBS"
25145 cat >conftest.$ac_ext <<_ACEOF
25146 /* confdefs.h. */
25147 _ACEOF
25148 cat confdefs.h >>conftest.$ac_ext
25149 cat >>conftest.$ac_ext <<_ACEOF
25150 /* end confdefs.h. */
25151
25152 /* Override any gcc2 internal prototype to avoid an error. */
25153 #ifdef __cplusplus
25154 extern "C"
25155 #endif
25156 /* We use char because int might match the return type of a gcc2
25157 builtin and then its argument prototype would still apply. */
25158 char dnet_ntoa ();
25159 int
25160 main ()
25161 {
25162 dnet_ntoa ();
25163 ;
25164 return 0;
25165 }
25166 _ACEOF
25167 rm -f conftest.$ac_objext conftest$ac_exeext
25168 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25169 (eval $ac_link) 2>conftest.er1
25170 ac_status=$?
25171 grep -v '^ *+' conftest.er1 >conftest.err
25172 rm -f conftest.er1
25173 cat conftest.err >&5
25174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25175 (exit $ac_status); } &&
25176 { ac_try='test -z "$ac_c_werror_flag"
25177 || test ! -s conftest.err'
25178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25179 (eval $ac_try) 2>&5
25180 ac_status=$?
25181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25182 (exit $ac_status); }; } &&
25183 { ac_try='test -s conftest$ac_exeext'
25184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25185 (eval $ac_try) 2>&5
25186 ac_status=$?
25187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25188 (exit $ac_status); }; }; then
25189 ac_cv_lib_dnet_stub_dnet_ntoa=yes
25190 else
25191 echo "$as_me: failed program was:" >&5
25192 sed 's/^/| /' conftest.$ac_ext >&5
25193
25194 ac_cv_lib_dnet_stub_dnet_ntoa=no
25195 fi
25196 rm -f conftest.err conftest.$ac_objext \
25197 conftest$ac_exeext conftest.$ac_ext
25198 LIBS=$ac_check_lib_save_LIBS
25199 fi
25200 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
25201 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
25202 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
25203 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
25204 fi
25205
25206 fi
25207 fi
25208 rm -f conftest.err conftest.$ac_objext \
25209 conftest$ac_exeext conftest.$ac_ext
25210 LIBS="$ac_xsave_LIBS"
25211
25212 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
25213 # to get the SysV transport functions.
25214 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
25215 # needs -lnsl.
25216 # The nsl library prevents programs from opening the X display
25217 # on Irix 5.2, according to T.E. Dickey.
25218 # The functions gethostbyname, getservbyname, and inet_addr are
25219 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
25220 echo "$as_me:$LINENO: checking for gethostbyname" >&5
25221 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
25222 if test "${ac_cv_func_gethostbyname+set}" = set; then
25223 echo $ECHO_N "(cached) $ECHO_C" >&6
25224 else
25225 cat >conftest.$ac_ext <<_ACEOF
25226 /* confdefs.h. */
25227 _ACEOF
25228 cat confdefs.h >>conftest.$ac_ext
25229 cat >>conftest.$ac_ext <<_ACEOF
25230 /* end confdefs.h. */
25231 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
25232 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25233 #define gethostbyname innocuous_gethostbyname
25234
25235 /* System header to define __stub macros and hopefully few prototypes,
25236 which can conflict with char gethostbyname (); below.
25237 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25238 <limits.h> exists even on freestanding compilers. */
25239
25240 #ifdef __STDC__
25241 # include <limits.h>
25242 #else
25243 # include <assert.h>
25244 #endif
25245
25246 #undef gethostbyname
25247
25248 /* Override any gcc2 internal prototype to avoid an error. */
25249 #ifdef __cplusplus
25250 extern "C"
25251 {
25252 #endif
25253 /* We use char because int might match the return type of a gcc2
25254 builtin and then its argument prototype would still apply. */
25255 char gethostbyname ();
25256 /* The GNU C library defines this for functions which it implements
25257 to always fail with ENOSYS. Some functions are actually named
25258 something starting with __ and the normal name is an alias. */
25259 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
25260 choke me
25261 #else
25262 char (*f) () = gethostbyname;
25263 #endif
25264 #ifdef __cplusplus
25265 }
25266 #endif
25267
25268 int
25269 main ()
25270 {
25271 return f != gethostbyname;
25272 ;
25273 return 0;
25274 }
25275 _ACEOF
25276 rm -f conftest.$ac_objext conftest$ac_exeext
25277 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25278 (eval $ac_link) 2>conftest.er1
25279 ac_status=$?
25280 grep -v '^ *+' conftest.er1 >conftest.err
25281 rm -f conftest.er1
25282 cat conftest.err >&5
25283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25284 (exit $ac_status); } &&
25285 { ac_try='test -z "$ac_c_werror_flag"
25286 || test ! -s conftest.err'
25287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25288 (eval $ac_try) 2>&5
25289 ac_status=$?
25290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25291 (exit $ac_status); }; } &&
25292 { ac_try='test -s conftest$ac_exeext'
25293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25294 (eval $ac_try) 2>&5
25295 ac_status=$?
25296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25297 (exit $ac_status); }; }; then
25298 ac_cv_func_gethostbyname=yes
25299 else
25300 echo "$as_me: failed program was:" >&5
25301 sed 's/^/| /' conftest.$ac_ext >&5
25302
25303 ac_cv_func_gethostbyname=no
25304 fi
25305 rm -f conftest.err conftest.$ac_objext \
25306 conftest$ac_exeext conftest.$ac_ext
25307 fi
25308 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
25309 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
25310
25311 if test $ac_cv_func_gethostbyname = no; then
25312 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
25313 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
25314 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
25315 echo $ECHO_N "(cached) $ECHO_C" >&6
25316 else
25317 ac_check_lib_save_LIBS=$LIBS
25318 LIBS="-lnsl $LIBS"
25319 cat >conftest.$ac_ext <<_ACEOF
25320 /* confdefs.h. */
25321 _ACEOF
25322 cat confdefs.h >>conftest.$ac_ext
25323 cat >>conftest.$ac_ext <<_ACEOF
25324 /* end confdefs.h. */
25325
25326 /* Override any gcc2 internal prototype to avoid an error. */
25327 #ifdef __cplusplus
25328 extern "C"
25329 #endif
25330 /* We use char because int might match the return type of a gcc2
25331 builtin and then its argument prototype would still apply. */
25332 char gethostbyname ();
25333 int
25334 main ()
25335 {
25336 gethostbyname ();
25337 ;
25338 return 0;
25339 }
25340 _ACEOF
25341 rm -f conftest.$ac_objext conftest$ac_exeext
25342 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25343 (eval $ac_link) 2>conftest.er1
25344 ac_status=$?
25345 grep -v '^ *+' conftest.er1 >conftest.err
25346 rm -f conftest.er1
25347 cat conftest.err >&5
25348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25349 (exit $ac_status); } &&
25350 { ac_try='test -z "$ac_c_werror_flag"
25351 || test ! -s conftest.err'
25352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25353 (eval $ac_try) 2>&5
25354 ac_status=$?
25355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25356 (exit $ac_status); }; } &&
25357 { ac_try='test -s conftest$ac_exeext'
25358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25359 (eval $ac_try) 2>&5
25360 ac_status=$?
25361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25362 (exit $ac_status); }; }; then
25363 ac_cv_lib_nsl_gethostbyname=yes
25364 else
25365 echo "$as_me: failed program was:" >&5
25366 sed 's/^/| /' conftest.$ac_ext >&5
25367
25368 ac_cv_lib_nsl_gethostbyname=no
25369 fi
25370 rm -f conftest.err conftest.$ac_objext \
25371 conftest$ac_exeext conftest.$ac_ext
25372 LIBS=$ac_check_lib_save_LIBS
25373 fi
25374 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
25375 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
25376 if test $ac_cv_lib_nsl_gethostbyname = yes; then
25377 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
25378 fi
25379
25380 if test $ac_cv_lib_nsl_gethostbyname = no; then
25381 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
25382 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
25383 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
25384 echo $ECHO_N "(cached) $ECHO_C" >&6
25385 else
25386 ac_check_lib_save_LIBS=$LIBS
25387 LIBS="-lbsd $LIBS"
25388 cat >conftest.$ac_ext <<_ACEOF
25389 /* confdefs.h. */
25390 _ACEOF
25391 cat confdefs.h >>conftest.$ac_ext
25392 cat >>conftest.$ac_ext <<_ACEOF
25393 /* end confdefs.h. */
25394
25395 /* Override any gcc2 internal prototype to avoid an error. */
25396 #ifdef __cplusplus
25397 extern "C"
25398 #endif
25399 /* We use char because int might match the return type of a gcc2
25400 builtin and then its argument prototype would still apply. */
25401 char gethostbyname ();
25402 int
25403 main ()
25404 {
25405 gethostbyname ();
25406 ;
25407 return 0;
25408 }
25409 _ACEOF
25410 rm -f conftest.$ac_objext conftest$ac_exeext
25411 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25412 (eval $ac_link) 2>conftest.er1
25413 ac_status=$?
25414 grep -v '^ *+' conftest.er1 >conftest.err
25415 rm -f conftest.er1
25416 cat conftest.err >&5
25417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25418 (exit $ac_status); } &&
25419 { ac_try='test -z "$ac_c_werror_flag"
25420 || test ! -s conftest.err'
25421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25422 (eval $ac_try) 2>&5
25423 ac_status=$?
25424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25425 (exit $ac_status); }; } &&
25426 { ac_try='test -s conftest$ac_exeext'
25427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25428 (eval $ac_try) 2>&5
25429 ac_status=$?
25430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25431 (exit $ac_status); }; }; then
25432 ac_cv_lib_bsd_gethostbyname=yes
25433 else
25434 echo "$as_me: failed program was:" >&5
25435 sed 's/^/| /' conftest.$ac_ext >&5
25436
25437 ac_cv_lib_bsd_gethostbyname=no
25438 fi
25439 rm -f conftest.err conftest.$ac_objext \
25440 conftest$ac_exeext conftest.$ac_ext
25441 LIBS=$ac_check_lib_save_LIBS
25442 fi
25443 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
25444 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
25445 if test $ac_cv_lib_bsd_gethostbyname = yes; then
25446 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
25447 fi
25448
25449 fi
25450 fi
25451
25452 # lieder@skyler.mavd.honeywell.com says without -lsocket,
25453 # socket/setsockopt and other routines are undefined under SCO ODT
25454 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
25455 # on later versions), says Simon Leinen: it contains gethostby*
25456 # variants that don't use the name server (or something). -lsocket
25457 # must be given before -lnsl if both are needed. We assume that
25458 # if connect needs -lnsl, so does gethostbyname.
25459 echo "$as_me:$LINENO: checking for connect" >&5
25460 echo $ECHO_N "checking for connect... $ECHO_C" >&6
25461 if test "${ac_cv_func_connect+set}" = set; then
25462 echo $ECHO_N "(cached) $ECHO_C" >&6
25463 else
25464 cat >conftest.$ac_ext <<_ACEOF
25465 /* confdefs.h. */
25466 _ACEOF
25467 cat confdefs.h >>conftest.$ac_ext
25468 cat >>conftest.$ac_ext <<_ACEOF
25469 /* end confdefs.h. */
25470 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
25471 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25472 #define connect innocuous_connect
25473
25474 /* System header to define __stub macros and hopefully few prototypes,
25475 which can conflict with char connect (); below.
25476 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25477 <limits.h> exists even on freestanding compilers. */
25478
25479 #ifdef __STDC__
25480 # include <limits.h>
25481 #else
25482 # include <assert.h>
25483 #endif
25484
25485 #undef connect
25486
25487 /* Override any gcc2 internal prototype to avoid an error. */
25488 #ifdef __cplusplus
25489 extern "C"
25490 {
25491 #endif
25492 /* We use char because int might match the return type of a gcc2
25493 builtin and then its argument prototype would still apply. */
25494 char connect ();
25495 /* The GNU C library defines this for functions which it implements
25496 to always fail with ENOSYS. Some functions are actually named
25497 something starting with __ and the normal name is an alias. */
25498 #if defined (__stub_connect) || defined (__stub___connect)
25499 choke me
25500 #else
25501 char (*f) () = connect;
25502 #endif
25503 #ifdef __cplusplus
25504 }
25505 #endif
25506
25507 int
25508 main ()
25509 {
25510 return f != connect;
25511 ;
25512 return 0;
25513 }
25514 _ACEOF
25515 rm -f conftest.$ac_objext conftest$ac_exeext
25516 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25517 (eval $ac_link) 2>conftest.er1
25518 ac_status=$?
25519 grep -v '^ *+' conftest.er1 >conftest.err
25520 rm -f conftest.er1
25521 cat conftest.err >&5
25522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25523 (exit $ac_status); } &&
25524 { ac_try='test -z "$ac_c_werror_flag"
25525 || test ! -s conftest.err'
25526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25527 (eval $ac_try) 2>&5
25528 ac_status=$?
25529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25530 (exit $ac_status); }; } &&
25531 { ac_try='test -s conftest$ac_exeext'
25532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25533 (eval $ac_try) 2>&5
25534 ac_status=$?
25535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25536 (exit $ac_status); }; }; then
25537 ac_cv_func_connect=yes
25538 else
25539 echo "$as_me: failed program was:" >&5
25540 sed 's/^/| /' conftest.$ac_ext >&5
25541
25542 ac_cv_func_connect=no
25543 fi
25544 rm -f conftest.err conftest.$ac_objext \
25545 conftest$ac_exeext conftest.$ac_ext
25546 fi
25547 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
25548 echo "${ECHO_T}$ac_cv_func_connect" >&6
25549
25550 if test $ac_cv_func_connect = no; then
25551 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
25552 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
25553 if test "${ac_cv_lib_socket_connect+set}" = set; then
25554 echo $ECHO_N "(cached) $ECHO_C" >&6
25555 else
25556 ac_check_lib_save_LIBS=$LIBS
25557 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
25558 cat >conftest.$ac_ext <<_ACEOF
25559 /* confdefs.h. */
25560 _ACEOF
25561 cat confdefs.h >>conftest.$ac_ext
25562 cat >>conftest.$ac_ext <<_ACEOF
25563 /* end confdefs.h. */
25564
25565 /* Override any gcc2 internal prototype to avoid an error. */
25566 #ifdef __cplusplus
25567 extern "C"
25568 #endif
25569 /* We use char because int might match the return type of a gcc2
25570 builtin and then its argument prototype would still apply. */
25571 char connect ();
25572 int
25573 main ()
25574 {
25575 connect ();
25576 ;
25577 return 0;
25578 }
25579 _ACEOF
25580 rm -f conftest.$ac_objext conftest$ac_exeext
25581 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25582 (eval $ac_link) 2>conftest.er1
25583 ac_status=$?
25584 grep -v '^ *+' conftest.er1 >conftest.err
25585 rm -f conftest.er1
25586 cat conftest.err >&5
25587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25588 (exit $ac_status); } &&
25589 { ac_try='test -z "$ac_c_werror_flag"
25590 || test ! -s conftest.err'
25591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25592 (eval $ac_try) 2>&5
25593 ac_status=$?
25594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25595 (exit $ac_status); }; } &&
25596 { ac_try='test -s conftest$ac_exeext'
25597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25598 (eval $ac_try) 2>&5
25599 ac_status=$?
25600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25601 (exit $ac_status); }; }; then
25602 ac_cv_lib_socket_connect=yes
25603 else
25604 echo "$as_me: failed program was:" >&5
25605 sed 's/^/| /' conftest.$ac_ext >&5
25606
25607 ac_cv_lib_socket_connect=no
25608 fi
25609 rm -f conftest.err conftest.$ac_objext \
25610 conftest$ac_exeext conftest.$ac_ext
25611 LIBS=$ac_check_lib_save_LIBS
25612 fi
25613 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
25614 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
25615 if test $ac_cv_lib_socket_connect = yes; then
25616 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
25617 fi
25618
25619 fi
25620
25621 # Guillermo Gomez says -lposix is necessary on A/UX.
25622 echo "$as_me:$LINENO: checking for remove" >&5
25623 echo $ECHO_N "checking for remove... $ECHO_C" >&6
25624 if test "${ac_cv_func_remove+set}" = set; then
25625 echo $ECHO_N "(cached) $ECHO_C" >&6
25626 else
25627 cat >conftest.$ac_ext <<_ACEOF
25628 /* confdefs.h. */
25629 _ACEOF
25630 cat confdefs.h >>conftest.$ac_ext
25631 cat >>conftest.$ac_ext <<_ACEOF
25632 /* end confdefs.h. */
25633 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
25634 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25635 #define remove innocuous_remove
25636
25637 /* System header to define __stub macros and hopefully few prototypes,
25638 which can conflict with char remove (); below.
25639 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25640 <limits.h> exists even on freestanding compilers. */
25641
25642 #ifdef __STDC__
25643 # include <limits.h>
25644 #else
25645 # include <assert.h>
25646 #endif
25647
25648 #undef remove
25649
25650 /* Override any gcc2 internal prototype to avoid an error. */
25651 #ifdef __cplusplus
25652 extern "C"
25653 {
25654 #endif
25655 /* We use char because int might match the return type of a gcc2
25656 builtin and then its argument prototype would still apply. */
25657 char remove ();
25658 /* The GNU C library defines this for functions which it implements
25659 to always fail with ENOSYS. Some functions are actually named
25660 something starting with __ and the normal name is an alias. */
25661 #if defined (__stub_remove) || defined (__stub___remove)
25662 choke me
25663 #else
25664 char (*f) () = remove;
25665 #endif
25666 #ifdef __cplusplus
25667 }
25668 #endif
25669
25670 int
25671 main ()
25672 {
25673 return f != remove;
25674 ;
25675 return 0;
25676 }
25677 _ACEOF
25678 rm -f conftest.$ac_objext conftest$ac_exeext
25679 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25680 (eval $ac_link) 2>conftest.er1
25681 ac_status=$?
25682 grep -v '^ *+' conftest.er1 >conftest.err
25683 rm -f conftest.er1
25684 cat conftest.err >&5
25685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25686 (exit $ac_status); } &&
25687 { ac_try='test -z "$ac_c_werror_flag"
25688 || test ! -s conftest.err'
25689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25690 (eval $ac_try) 2>&5
25691 ac_status=$?
25692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25693 (exit $ac_status); }; } &&
25694 { ac_try='test -s conftest$ac_exeext'
25695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25696 (eval $ac_try) 2>&5
25697 ac_status=$?
25698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25699 (exit $ac_status); }; }; then
25700 ac_cv_func_remove=yes
25701 else
25702 echo "$as_me: failed program was:" >&5
25703 sed 's/^/| /' conftest.$ac_ext >&5
25704
25705 ac_cv_func_remove=no
25706 fi
25707 rm -f conftest.err conftest.$ac_objext \
25708 conftest$ac_exeext conftest.$ac_ext
25709 fi
25710 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
25711 echo "${ECHO_T}$ac_cv_func_remove" >&6
25712
25713 if test $ac_cv_func_remove = no; then
25714 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
25715 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
25716 if test "${ac_cv_lib_posix_remove+set}" = set; then
25717 echo $ECHO_N "(cached) $ECHO_C" >&6
25718 else
25719 ac_check_lib_save_LIBS=$LIBS
25720 LIBS="-lposix $LIBS"
25721 cat >conftest.$ac_ext <<_ACEOF
25722 /* confdefs.h. */
25723 _ACEOF
25724 cat confdefs.h >>conftest.$ac_ext
25725 cat >>conftest.$ac_ext <<_ACEOF
25726 /* end confdefs.h. */
25727
25728 /* Override any gcc2 internal prototype to avoid an error. */
25729 #ifdef __cplusplus
25730 extern "C"
25731 #endif
25732 /* We use char because int might match the return type of a gcc2
25733 builtin and then its argument prototype would still apply. */
25734 char remove ();
25735 int
25736 main ()
25737 {
25738 remove ();
25739 ;
25740 return 0;
25741 }
25742 _ACEOF
25743 rm -f conftest.$ac_objext conftest$ac_exeext
25744 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25745 (eval $ac_link) 2>conftest.er1
25746 ac_status=$?
25747 grep -v '^ *+' conftest.er1 >conftest.err
25748 rm -f conftest.er1
25749 cat conftest.err >&5
25750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25751 (exit $ac_status); } &&
25752 { ac_try='test -z "$ac_c_werror_flag"
25753 || test ! -s conftest.err'
25754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25755 (eval $ac_try) 2>&5
25756 ac_status=$?
25757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25758 (exit $ac_status); }; } &&
25759 { ac_try='test -s conftest$ac_exeext'
25760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25761 (eval $ac_try) 2>&5
25762 ac_status=$?
25763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25764 (exit $ac_status); }; }; then
25765 ac_cv_lib_posix_remove=yes
25766 else
25767 echo "$as_me: failed program was:" >&5
25768 sed 's/^/| /' conftest.$ac_ext >&5
25769
25770 ac_cv_lib_posix_remove=no
25771 fi
25772 rm -f conftest.err conftest.$ac_objext \
25773 conftest$ac_exeext conftest.$ac_ext
25774 LIBS=$ac_check_lib_save_LIBS
25775 fi
25776 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
25777 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
25778 if test $ac_cv_lib_posix_remove = yes; then
25779 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
25780 fi
25781
25782 fi
25783
25784 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
25785 echo "$as_me:$LINENO: checking for shmat" >&5
25786 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
25787 if test "${ac_cv_func_shmat+set}" = set; then
25788 echo $ECHO_N "(cached) $ECHO_C" >&6
25789 else
25790 cat >conftest.$ac_ext <<_ACEOF
25791 /* confdefs.h. */
25792 _ACEOF
25793 cat confdefs.h >>conftest.$ac_ext
25794 cat >>conftest.$ac_ext <<_ACEOF
25795 /* end confdefs.h. */
25796 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
25797 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25798 #define shmat innocuous_shmat
25799
25800 /* System header to define __stub macros and hopefully few prototypes,
25801 which can conflict with char shmat (); below.
25802 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25803 <limits.h> exists even on freestanding compilers. */
25804
25805 #ifdef __STDC__
25806 # include <limits.h>
25807 #else
25808 # include <assert.h>
25809 #endif
25810
25811 #undef shmat
25812
25813 /* Override any gcc2 internal prototype to avoid an error. */
25814 #ifdef __cplusplus
25815 extern "C"
25816 {
25817 #endif
25818 /* We use char because int might match the return type of a gcc2
25819 builtin and then its argument prototype would still apply. */
25820 char shmat ();
25821 /* The GNU C library defines this for functions which it implements
25822 to always fail with ENOSYS. Some functions are actually named
25823 something starting with __ and the normal name is an alias. */
25824 #if defined (__stub_shmat) || defined (__stub___shmat)
25825 choke me
25826 #else
25827 char (*f) () = shmat;
25828 #endif
25829 #ifdef __cplusplus
25830 }
25831 #endif
25832
25833 int
25834 main ()
25835 {
25836 return f != shmat;
25837 ;
25838 return 0;
25839 }
25840 _ACEOF
25841 rm -f conftest.$ac_objext conftest$ac_exeext
25842 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25843 (eval $ac_link) 2>conftest.er1
25844 ac_status=$?
25845 grep -v '^ *+' conftest.er1 >conftest.err
25846 rm -f conftest.er1
25847 cat conftest.err >&5
25848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25849 (exit $ac_status); } &&
25850 { ac_try='test -z "$ac_c_werror_flag"
25851 || test ! -s conftest.err'
25852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25853 (eval $ac_try) 2>&5
25854 ac_status=$?
25855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25856 (exit $ac_status); }; } &&
25857 { ac_try='test -s conftest$ac_exeext'
25858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25859 (eval $ac_try) 2>&5
25860 ac_status=$?
25861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25862 (exit $ac_status); }; }; then
25863 ac_cv_func_shmat=yes
25864 else
25865 echo "$as_me: failed program was:" >&5
25866 sed 's/^/| /' conftest.$ac_ext >&5
25867
25868 ac_cv_func_shmat=no
25869 fi
25870 rm -f conftest.err conftest.$ac_objext \
25871 conftest$ac_exeext conftest.$ac_ext
25872 fi
25873 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
25874 echo "${ECHO_T}$ac_cv_func_shmat" >&6
25875
25876 if test $ac_cv_func_shmat = no; then
25877 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
25878 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
25879 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
25880 echo $ECHO_N "(cached) $ECHO_C" >&6
25881 else
25882 ac_check_lib_save_LIBS=$LIBS
25883 LIBS="-lipc $LIBS"
25884 cat >conftest.$ac_ext <<_ACEOF
25885 /* confdefs.h. */
25886 _ACEOF
25887 cat confdefs.h >>conftest.$ac_ext
25888 cat >>conftest.$ac_ext <<_ACEOF
25889 /* end confdefs.h. */
25890
25891 /* Override any gcc2 internal prototype to avoid an error. */
25892 #ifdef __cplusplus
25893 extern "C"
25894 #endif
25895 /* We use char because int might match the return type of a gcc2
25896 builtin and then its argument prototype would still apply. */
25897 char shmat ();
25898 int
25899 main ()
25900 {
25901 shmat ();
25902 ;
25903 return 0;
25904 }
25905 _ACEOF
25906 rm -f conftest.$ac_objext conftest$ac_exeext
25907 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25908 (eval $ac_link) 2>conftest.er1
25909 ac_status=$?
25910 grep -v '^ *+' conftest.er1 >conftest.err
25911 rm -f conftest.er1
25912 cat conftest.err >&5
25913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25914 (exit $ac_status); } &&
25915 { ac_try='test -z "$ac_c_werror_flag"
25916 || test ! -s conftest.err'
25917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25918 (eval $ac_try) 2>&5
25919 ac_status=$?
25920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25921 (exit $ac_status); }; } &&
25922 { ac_try='test -s conftest$ac_exeext'
25923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25924 (eval $ac_try) 2>&5
25925 ac_status=$?
25926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25927 (exit $ac_status); }; }; then
25928 ac_cv_lib_ipc_shmat=yes
25929 else
25930 echo "$as_me: failed program was:" >&5
25931 sed 's/^/| /' conftest.$ac_ext >&5
25932
25933 ac_cv_lib_ipc_shmat=no
25934 fi
25935 rm -f conftest.err conftest.$ac_objext \
25936 conftest$ac_exeext conftest.$ac_ext
25937 LIBS=$ac_check_lib_save_LIBS
25938 fi
25939 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
25940 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
25941 if test $ac_cv_lib_ipc_shmat = yes; then
25942 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
25943 fi
25944
25945 fi
25946 fi
25947
25948 # Check for libraries that X11R6 Xt/Xaw programs need.
25949 ac_save_LDFLAGS=$LDFLAGS
25950 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
25951 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
25952 # check for ICE first), but we must link in the order -lSM -lICE or
25953 # we get undefined symbols. So assume we have SM if we have ICE.
25954 # These have to be linked with before -lX11, unlike the other
25955 # libraries we check for below, so use a different variable.
25956 # John Interrante, Karl Berry
25957 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
25958 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
25959 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
25960 echo $ECHO_N "(cached) $ECHO_C" >&6
25961 else
25962 ac_check_lib_save_LIBS=$LIBS
25963 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
25964 cat >conftest.$ac_ext <<_ACEOF
25965 /* confdefs.h. */
25966 _ACEOF
25967 cat confdefs.h >>conftest.$ac_ext
25968 cat >>conftest.$ac_ext <<_ACEOF
25969 /* end confdefs.h. */
25970
25971 /* Override any gcc2 internal prototype to avoid an error. */
25972 #ifdef __cplusplus
25973 extern "C"
25974 #endif
25975 /* We use char because int might match the return type of a gcc2
25976 builtin and then its argument prototype would still apply. */
25977 char IceConnectionNumber ();
25978 int
25979 main ()
25980 {
25981 IceConnectionNumber ();
25982 ;
25983 return 0;
25984 }
25985 _ACEOF
25986 rm -f conftest.$ac_objext conftest$ac_exeext
25987 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25988 (eval $ac_link) 2>conftest.er1
25989 ac_status=$?
25990 grep -v '^ *+' conftest.er1 >conftest.err
25991 rm -f conftest.er1
25992 cat conftest.err >&5
25993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25994 (exit $ac_status); } &&
25995 { ac_try='test -z "$ac_c_werror_flag"
25996 || test ! -s conftest.err'
25997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25998 (eval $ac_try) 2>&5
25999 ac_status=$?
26000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26001 (exit $ac_status); }; } &&
26002 { ac_try='test -s conftest$ac_exeext'
26003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26004 (eval $ac_try) 2>&5
26005 ac_status=$?
26006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26007 (exit $ac_status); }; }; then
26008 ac_cv_lib_ICE_IceConnectionNumber=yes
26009 else
26010 echo "$as_me: failed program was:" >&5
26011 sed 's/^/| /' conftest.$ac_ext >&5
26012
26013 ac_cv_lib_ICE_IceConnectionNumber=no
26014 fi
26015 rm -f conftest.err conftest.$ac_objext \
26016 conftest$ac_exeext conftest.$ac_ext
26017 LIBS=$ac_check_lib_save_LIBS
26018 fi
26019 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
26020 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
26021 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
26022 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
26023 fi
26024
26025 LDFLAGS=$ac_save_LDFLAGS
26026
26027 fi
26028
26029
26030 if test "$no_x" = "yes"; then
26031 { { echo "$as_me:$LINENO: error: X11 not found" >&5
26032 echo "$as_me: error: X11 not found" >&2;}
26033 { (exit please use --x-includes and/or --x-libraries options); exit please use --x-includes and/or --x-libraries options; }; }
26034 fi
26035
26036 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
26037 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
26038 AFMINSTALL=afminstall
26039 COMPILED_X_PROGRAM=0
26040
26041 fi
26042
26043 if test "$wxUSE_X11" = 1; then
26044 if test "$wxUSE_NANOX" = "yes"; then
26045 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
26046 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
26047 if test "x$MICROWIN" = x ; then
26048 echo "$as_me:$LINENO: result: not found" >&5
26049 echo "${ECHO_T}not found" >&6
26050 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
26051 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
26052 { (exit 1); exit 1; }; }
26053 else
26054 echo "$as_me:$LINENO: result: $MICROWIN" >&5
26055 echo "${ECHO_T}$MICROWIN" >&6
26056 cat >>confdefs.h <<\_ACEOF
26057 #define wxUSE_NANOX 1
26058 _ACEOF
26059
26060 fi
26061 fi
26062
26063 if test "$wxUSE_UNICODE" = "yes"; then
26064
26065 succeeded=no
26066
26067 if test -z "$PKG_CONFIG"; then
26068 # Extract the first word of "pkg-config", so it can be a program name with args.
26069 set dummy pkg-config; ac_word=$2
26070 echo "$as_me:$LINENO: checking for $ac_word" >&5
26071 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
26072 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
26073 echo $ECHO_N "(cached) $ECHO_C" >&6
26074 else
26075 case $PKG_CONFIG in
26076 [\\/]* | ?:[\\/]*)
26077 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
26078 ;;
26079 *)
26080 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26081 for as_dir in $PATH
26082 do
26083 IFS=$as_save_IFS
26084 test -z "$as_dir" && as_dir=.
26085 for ac_exec_ext in '' $ac_executable_extensions; do
26086 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
26087 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
26088 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
26089 break 2
26090 fi
26091 done
26092 done
26093
26094 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
26095 ;;
26096 esac
26097 fi
26098 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
26099
26100 if test -n "$PKG_CONFIG"; then
26101 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
26102 echo "${ECHO_T}$PKG_CONFIG" >&6
26103 else
26104 echo "$as_me:$LINENO: result: no" >&5
26105 echo "${ECHO_T}no" >&6
26106 fi
26107
26108 fi
26109
26110 if test "$PKG_CONFIG" = "no" ; then
26111 echo "*** The pkg-config script could not be found. Make sure it is"
26112 echo "*** in your path, or set the PKG_CONFIG environment variable"
26113 echo "*** to the full path to pkg-config."
26114 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
26115 else
26116 PKG_CONFIG_MIN_VERSION=0.9.0
26117 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
26118 echo "$as_me:$LINENO: checking for pangox" >&5
26119 echo $ECHO_N "checking for pangox... $ECHO_C" >&6
26120
26121 if $PKG_CONFIG --exists "pangox" ; then
26122 echo "$as_me:$LINENO: result: yes" >&5
26123 echo "${ECHO_T}yes" >&6
26124 succeeded=yes
26125
26126 echo "$as_me:$LINENO: checking PANGOX_CFLAGS" >&5
26127 echo $ECHO_N "checking PANGOX_CFLAGS... $ECHO_C" >&6
26128 PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox"`
26129 echo "$as_me:$LINENO: result: $PANGOX_CFLAGS" >&5
26130 echo "${ECHO_T}$PANGOX_CFLAGS" >&6
26131
26132 echo "$as_me:$LINENO: checking PANGOX_LIBS" >&5
26133 echo $ECHO_N "checking PANGOX_LIBS... $ECHO_C" >&6
26134 PANGOX_LIBS=`$PKG_CONFIG --libs "pangox"`
26135 echo "$as_me:$LINENO: result: $PANGOX_LIBS" >&5
26136 echo "${ECHO_T}$PANGOX_LIBS" >&6
26137 else
26138 PANGOX_CFLAGS=""
26139 PANGOX_LIBS=""
26140 ## If we have a custom action on failure, don't print errors, but
26141 ## do set a variable so people can do so.
26142 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
26143
26144 fi
26145
26146
26147
26148 else
26149 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
26150 echo "*** See http://www.freedesktop.org/software/pkgconfig"
26151 fi
26152 fi
26153
26154 if test $succeeded = yes; then
26155
26156 CXXFLAGS="$CXXFLAGS $PANGOX_CFLAGS"
26157 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
26158
26159 else
26160
26161 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
26162 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
26163 { (exit 1); exit 1; }; }
26164
26165
26166 fi
26167
26168
26169 succeeded=no
26170
26171 if test -z "$PKG_CONFIG"; then
26172 # Extract the first word of "pkg-config", so it can be a program name with args.
26173 set dummy pkg-config; ac_word=$2
26174 echo "$as_me:$LINENO: checking for $ac_word" >&5
26175 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
26176 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
26177 echo $ECHO_N "(cached) $ECHO_C" >&6
26178 else
26179 case $PKG_CONFIG in
26180 [\\/]* | ?:[\\/]*)
26181 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
26182 ;;
26183 *)
26184 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26185 for as_dir in $PATH
26186 do
26187 IFS=$as_save_IFS
26188 test -z "$as_dir" && as_dir=.
26189 for ac_exec_ext in '' $ac_executable_extensions; do
26190 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
26191 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
26192 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
26193 break 2
26194 fi
26195 done
26196 done
26197
26198 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
26199 ;;
26200 esac
26201 fi
26202 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
26203
26204 if test -n "$PKG_CONFIG"; then
26205 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
26206 echo "${ECHO_T}$PKG_CONFIG" >&6
26207 else
26208 echo "$as_me:$LINENO: result: no" >&5
26209 echo "${ECHO_T}no" >&6
26210 fi
26211
26212 fi
26213
26214 if test "$PKG_CONFIG" = "no" ; then
26215 echo "*** The pkg-config script could not be found. Make sure it is"
26216 echo "*** in your path, or set the PKG_CONFIG environment variable"
26217 echo "*** to the full path to pkg-config."
26218 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
26219 else
26220 PKG_CONFIG_MIN_VERSION=0.9.0
26221 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
26222 echo "$as_me:$LINENO: checking for pangoft2" >&5
26223 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
26224
26225 if $PKG_CONFIG --exists "pangoft2" ; then
26226 echo "$as_me:$LINENO: result: yes" >&5
26227 echo "${ECHO_T}yes" >&6
26228 succeeded=yes
26229
26230 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
26231 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
26232 PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2"`
26233 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
26234 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
26235
26236 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
26237 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
26238 PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2"`
26239 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
26240 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
26241 else
26242 PANGOFT2_CFLAGS=""
26243 PANGOFT2_LIBS=""
26244 ## If we have a custom action on failure, don't print errors, but
26245 ## do set a variable so people can do so.
26246 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
26247
26248 fi
26249
26250
26251
26252 else
26253 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
26254 echo "*** See http://www.freedesktop.org/software/pkgconfig"
26255 fi
26256 fi
26257
26258 if test $succeeded = yes; then
26259
26260 CXXFLAGS="$CXXFLAGS $PANGOFT2_CFLAGS"
26261 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
26262
26263 else
26264
26265 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
26266 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
26267 wxUSE_PRINTING_ARCHITECTURE="no"
26268
26269
26270 fi
26271
26272
26273 succeeded=no
26274
26275 if test -z "$PKG_CONFIG"; then
26276 # Extract the first word of "pkg-config", so it can be a program name with args.
26277 set dummy pkg-config; ac_word=$2
26278 echo "$as_me:$LINENO: checking for $ac_word" >&5
26279 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
26280 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
26281 echo $ECHO_N "(cached) $ECHO_C" >&6
26282 else
26283 case $PKG_CONFIG in
26284 [\\/]* | ?:[\\/]*)
26285 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
26286 ;;
26287 *)
26288 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26289 for as_dir in $PATH
26290 do
26291 IFS=$as_save_IFS
26292 test -z "$as_dir" && as_dir=.
26293 for ac_exec_ext in '' $ac_executable_extensions; do
26294 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
26295 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
26296 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
26297 break 2
26298 fi
26299 done
26300 done
26301
26302 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
26303 ;;
26304 esac
26305 fi
26306 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
26307
26308 if test -n "$PKG_CONFIG"; then
26309 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
26310 echo "${ECHO_T}$PKG_CONFIG" >&6
26311 else
26312 echo "$as_me:$LINENO: result: no" >&5
26313 echo "${ECHO_T}no" >&6
26314 fi
26315
26316 fi
26317
26318 if test "$PKG_CONFIG" = "no" ; then
26319 echo "*** The pkg-config script could not be found. Make sure it is"
26320 echo "*** in your path, or set the PKG_CONFIG environment variable"
26321 echo "*** to the full path to pkg-config."
26322 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
26323 else
26324 PKG_CONFIG_MIN_VERSION=0.9.0
26325 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
26326 echo "$as_me:$LINENO: checking for pangoxft" >&5
26327 echo $ECHO_N "checking for pangoxft... $ECHO_C" >&6
26328
26329 if $PKG_CONFIG --exists "pangoxft" ; then
26330 echo "$as_me:$LINENO: result: yes" >&5
26331 echo "${ECHO_T}yes" >&6
26332 succeeded=yes
26333
26334 echo "$as_me:$LINENO: checking PANGOXFT_CFLAGS" >&5
26335 echo $ECHO_N "checking PANGOXFT_CFLAGS... $ECHO_C" >&6
26336 PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft"`
26337 echo "$as_me:$LINENO: result: $PANGOXFT_CFLAGS" >&5
26338 echo "${ECHO_T}$PANGOXFT_CFLAGS" >&6
26339
26340 echo "$as_me:$LINENO: checking PANGOXFT_LIBS" >&5
26341 echo $ECHO_N "checking PANGOXFT_LIBS... $ECHO_C" >&6
26342 PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft"`
26343 echo "$as_me:$LINENO: result: $PANGOXFT_LIBS" >&5
26344 echo "${ECHO_T}$PANGOXFT_LIBS" >&6
26345 else
26346 PANGOXFT_CFLAGS=""
26347 PANGOXFT_LIBS=""
26348 ## If we have a custom action on failure, don't print errors, but
26349 ## do set a variable so people can do so.
26350 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
26351
26352 fi
26353
26354
26355
26356 else
26357 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
26358 echo "*** See http://www.freedesktop.org/software/pkgconfig"
26359 fi
26360 fi
26361
26362 if test $succeeded = yes; then
26363
26364 cat >>confdefs.h <<\_ACEOF
26365 #define HAVE_PANGO_XFT 1
26366 _ACEOF
26367
26368 CXXFLAGS="$CXXFLAGS $PANGOXFT_CFLAGS"
26369 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
26370
26371 else
26372
26373 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
26374 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
26375
26376
26377 fi
26378
26379 save_CFLAGS="$CFLAGS"
26380 save_LIBS="$LIBS"
26381 CFLAGS="$CFLAGS $PANGOX_CFLAGS"
26382 LIBS="$LIBS $PANGOX_LIBS"
26383
26384 for ac_func in pango_font_family_is_monospace
26385 do
26386 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26387 echo "$as_me:$LINENO: checking for $ac_func" >&5
26388 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26389 if eval "test \"\${$as_ac_var+set}\" = set"; then
26390 echo $ECHO_N "(cached) $ECHO_C" >&6
26391 else
26392 cat >conftest.$ac_ext <<_ACEOF
26393 /* confdefs.h. */
26394 _ACEOF
26395 cat confdefs.h >>conftest.$ac_ext
26396 cat >>conftest.$ac_ext <<_ACEOF
26397 /* end confdefs.h. */
26398 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26399 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26400 #define $ac_func innocuous_$ac_func
26401
26402 /* System header to define __stub macros and hopefully few prototypes,
26403 which can conflict with char $ac_func (); below.
26404 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26405 <limits.h> exists even on freestanding compilers. */
26406
26407 #ifdef __STDC__
26408 # include <limits.h>
26409 #else
26410 # include <assert.h>
26411 #endif
26412
26413 #undef $ac_func
26414
26415 /* Override any gcc2 internal prototype to avoid an error. */
26416 #ifdef __cplusplus
26417 extern "C"
26418 {
26419 #endif
26420 /* We use char because int might match the return type of a gcc2
26421 builtin and then its argument prototype would still apply. */
26422 char $ac_func ();
26423 /* The GNU C library defines this for functions which it implements
26424 to always fail with ENOSYS. Some functions are actually named
26425 something starting with __ and the normal name is an alias. */
26426 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26427 choke me
26428 #else
26429 char (*f) () = $ac_func;
26430 #endif
26431 #ifdef __cplusplus
26432 }
26433 #endif
26434
26435 int
26436 main ()
26437 {
26438 return f != $ac_func;
26439 ;
26440 return 0;
26441 }
26442 _ACEOF
26443 rm -f conftest.$ac_objext conftest$ac_exeext
26444 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26445 (eval $ac_link) 2>conftest.er1
26446 ac_status=$?
26447 grep -v '^ *+' conftest.er1 >conftest.err
26448 rm -f conftest.er1
26449 cat conftest.err >&5
26450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26451 (exit $ac_status); } &&
26452 { ac_try='test -z "$ac_c_werror_flag"
26453 || test ! -s conftest.err'
26454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26455 (eval $ac_try) 2>&5
26456 ac_status=$?
26457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26458 (exit $ac_status); }; } &&
26459 { ac_try='test -s conftest$ac_exeext'
26460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26461 (eval $ac_try) 2>&5
26462 ac_status=$?
26463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26464 (exit $ac_status); }; }; then
26465 eval "$as_ac_var=yes"
26466 else
26467 echo "$as_me: failed program was:" >&5
26468 sed 's/^/| /' conftest.$ac_ext >&5
26469
26470 eval "$as_ac_var=no"
26471 fi
26472 rm -f conftest.err conftest.$ac_objext \
26473 conftest$ac_exeext conftest.$ac_ext
26474 fi
26475 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26476 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26477 if test `eval echo '${'$as_ac_var'}'` = yes; then
26478 cat >>confdefs.h <<_ACEOF
26479 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26480 _ACEOF
26481
26482 fi
26483 done
26484
26485 CFLAGS="$save_CFLAGS"
26486 LIBS="$save_LIBS"
26487 fi
26488
26489 wxUSE_UNIVERSAL="yes"
26490
26491 if test "$wxUSE_NANOX" = "yes"; then
26492 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
26493 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"
26494 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
26495 else
26496 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
26497 fi
26498
26499 TOOLKIT=X11
26500 GUIDIST=X11_DIST
26501 fi
26502
26503 if test "$wxUSE_MOTIF" = 1; then
26504 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
26505 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
26506
26507 ac_find_includes=
26508 for ac_dir in $SEARCH_INCLUDE /usr/include;
26509 do
26510 if test -f "$ac_dir/Xm/Xm.h"; then
26511 ac_find_includes=$ac_dir
26512 break
26513 fi
26514 done
26515
26516 if test "$ac_find_includes" != "" ; then
26517 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
26518 echo "${ECHO_T}found in $ac_find_includes" >&6
26519
26520 if test "x$ac_find_includes" = "x/usr/include"; then
26521 ac_path_to_include=""
26522 else
26523 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
26524 result=$?
26525 if test $result = 0; then
26526 ac_path_to_include=""
26527 else
26528 ac_path_to_include=" -I$ac_find_includes"
26529 fi
26530 fi
26531
26532 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
26533 else
26534 cat >conftest.$ac_ext <<_ACEOF
26535 /* confdefs.h. */
26536 _ACEOF
26537 cat confdefs.h >>conftest.$ac_ext
26538 cat >>conftest.$ac_ext <<_ACEOF
26539 /* end confdefs.h. */
26540
26541 #include <Xm/Xm.h>
26542
26543 int
26544 main ()
26545 {
26546
26547 int version;
26548 version = xmUseVersion;
26549
26550 ;
26551 return 0;
26552 }
26553 _ACEOF
26554 rm -f conftest.$ac_objext
26555 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26556 (eval $ac_compile) 2>conftest.er1
26557 ac_status=$?
26558 grep -v '^ *+' conftest.er1 >conftest.err
26559 rm -f conftest.er1
26560 cat conftest.err >&5
26561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26562 (exit $ac_status); } &&
26563 { ac_try='test -z "$ac_c_werror_flag"
26564 || test ! -s conftest.err'
26565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26566 (eval $ac_try) 2>&5
26567 ac_status=$?
26568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26569 (exit $ac_status); }; } &&
26570 { ac_try='test -s conftest.$ac_objext'
26571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26572 (eval $ac_try) 2>&5
26573 ac_status=$?
26574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26575 (exit $ac_status); }; }; then
26576
26577 echo "$as_me:$LINENO: result: found in default search path" >&5
26578 echo "${ECHO_T}found in default search path" >&6
26579 COMPILED_X_PROGRAM=1
26580
26581 else
26582 echo "$as_me: failed program was:" >&5
26583 sed 's/^/| /' conftest.$ac_ext >&5
26584
26585
26586 echo "$as_me:$LINENO: result: no" >&5
26587 echo "${ECHO_T}no" >&6
26588 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of Xm/Xm.h" >&5
26589 echo "$as_me: error: please set CFLAGS to contain the location of Xm/Xm.h" >&2;}
26590 { (exit 1); exit 1; }; }
26591
26592
26593 fi
26594 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26595 fi
26596
26597 if test "$COMPILED_X_PROGRAM" = 0; then
26598 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
26599 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
26600
26601 ac_find_libraries=
26602 for ac_dir in $SEARCH_LIB /usr/lib;
26603 do
26604 for ac_extension in a so sl dylib; do
26605 if test -f "$ac_dir/libXm.$ac_extension"; then
26606 ac_find_libraries=$ac_dir
26607 break 2
26608 fi
26609 done
26610 done
26611
26612 if test "$ac_find_libraries" != "" ; then
26613 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
26614 echo "${ECHO_T}found at $ac_find_libraries" >&6
26615
26616
26617 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
26618 result=$?
26619 if test $result = 0; then
26620 ac_path_to_link=""
26621 else
26622 ac_path_to_link=" -L$ac_find_libraries"
26623 fi
26624
26625 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
26626 else
26627 save_CFLAGS=$CFLAGS
26628 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
26629
26630 cat >conftest.$ac_ext <<_ACEOF
26631 /* confdefs.h. */
26632 _ACEOF
26633 cat confdefs.h >>conftest.$ac_ext
26634 cat >>conftest.$ac_ext <<_ACEOF
26635 /* end confdefs.h. */
26636
26637 #include <Xm/Xm.h>
26638
26639 int
26640 main ()
26641 {
26642
26643 int version;
26644 version = xmUseVersion;
26645
26646 ;
26647 return 0;
26648 }
26649 _ACEOF
26650 rm -f conftest.$ac_objext
26651 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26652 (eval $ac_compile) 2>conftest.er1
26653 ac_status=$?
26654 grep -v '^ *+' conftest.er1 >conftest.err
26655 rm -f conftest.er1
26656 cat conftest.err >&5
26657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26658 (exit $ac_status); } &&
26659 { ac_try='test -z "$ac_c_werror_flag"
26660 || test ! -s conftest.err'
26661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26662 (eval $ac_try) 2>&5
26663 ac_status=$?
26664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26665 (exit $ac_status); }; } &&
26666 { ac_try='test -s conftest.$ac_objext'
26667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26668 (eval $ac_try) 2>&5
26669 ac_status=$?
26670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26671 (exit $ac_status); }; }; then
26672
26673 echo "$as_me:$LINENO: result: found in default search path" >&5
26674 echo "${ECHO_T}found in default search path" >&6
26675 COMPILED_X_PROGRAM=1
26676
26677 else
26678 echo "$as_me: failed program was:" >&5
26679 sed 's/^/| /' conftest.$ac_ext >&5
26680
26681
26682 echo "$as_me:$LINENO: result: no" >&5
26683 echo "${ECHO_T}no" >&6
26684 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
26685 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
26686 { (exit 1); exit 1; }; }
26687
26688
26689 fi
26690 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26691
26692 CFLAGS=$save_CFLAGS
26693 fi
26694 fi
26695
26696 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
26697 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
26698 libp_link=""
26699 libsm_ice_link=""
26700 libs_found=0
26701 for libp in "" " -lXp"; do
26702 if test "$libs_found" = "0"; then
26703 for libsm_ice in "" " -lSM -lICE"; do
26704 if test "$libs_found" = "0"; then
26705 save_LIBS="$LIBS"
26706 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
26707 save_CFLAGS=$CFLAGS
26708 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
26709
26710 cat >conftest.$ac_ext <<_ACEOF
26711 /* confdefs.h. */
26712 _ACEOF
26713 cat confdefs.h >>conftest.$ac_ext
26714 cat >>conftest.$ac_ext <<_ACEOF
26715 /* end confdefs.h. */
26716
26717 #include <Xm/Xm.h>
26718 #include <Xm/List.h>
26719
26720 int
26721 main ()
26722 {
26723
26724 XmString string = NULL;
26725 Widget w = NULL;
26726 int position = 0;
26727 XmListAddItem(w, string, position);
26728
26729 ;
26730 return 0;
26731 }
26732 _ACEOF
26733 rm -f conftest.$ac_objext conftest$ac_exeext
26734 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26735 (eval $ac_link) 2>conftest.er1
26736 ac_status=$?
26737 grep -v '^ *+' conftest.er1 >conftest.err
26738 rm -f conftest.er1
26739 cat conftest.err >&5
26740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26741 (exit $ac_status); } &&
26742 { ac_try='test -z "$ac_c_werror_flag"
26743 || test ! -s conftest.err'
26744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26745 (eval $ac_try) 2>&5
26746 ac_status=$?
26747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26748 (exit $ac_status); }; } &&
26749 { ac_try='test -s conftest$ac_exeext'
26750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26751 (eval $ac_try) 2>&5
26752 ac_status=$?
26753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26754 (exit $ac_status); }; }; then
26755
26756 libp_link="$libp"
26757 libsm_ice_link="$libsm_ice"
26758 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
26759 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
26760 libs_found=1
26761
26762 else
26763 echo "$as_me: failed program was:" >&5
26764 sed 's/^/| /' conftest.$ac_ext >&5
26765
26766
26767
26768 fi
26769 rm -f conftest.err conftest.$ac_objext \
26770 conftest$ac_exeext conftest.$ac_ext
26771
26772 LIBS="$save_LIBS"
26773 CFLAGS=$save_CFLAGS
26774 fi
26775 done
26776 fi
26777 done
26778
26779 if test "$libs_found" = "0"; then
26780 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
26781 echo "${ECHO_T}can't find the right libraries" >&6
26782 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
26783 echo "$as_me: error: can't link a simple motif program" >&2;}
26784 { (exit 1); exit 1; }; }
26785 fi
26786
26787 save_CFLAGS=$CFLAGS
26788 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
26789 echo "$as_me:$LINENO: checking for Motif 2" >&5
26790 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
26791 cat >conftest.$ac_ext <<_ACEOF
26792 /* confdefs.h. */
26793 _ACEOF
26794 cat confdefs.h >>conftest.$ac_ext
26795 cat >>conftest.$ac_ext <<_ACEOF
26796 /* end confdefs.h. */
26797
26798 #include <Xm/Xm.h>
26799
26800 int
26801 main ()
26802 {
26803
26804 #if XmVersion < 2000
26805 #error "Not Motif 2"
26806 #endif
26807
26808 ;
26809 return 0;
26810 }
26811 _ACEOF
26812 rm -f conftest.$ac_objext
26813 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26814 (eval $ac_compile) 2>conftest.er1
26815 ac_status=$?
26816 grep -v '^ *+' conftest.er1 >conftest.err
26817 rm -f conftest.er1
26818 cat conftest.err >&5
26819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26820 (exit $ac_status); } &&
26821 { ac_try='test -z "$ac_c_werror_flag"
26822 || test ! -s conftest.err'
26823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26824 (eval $ac_try) 2>&5
26825 ac_status=$?
26826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26827 (exit $ac_status); }; } &&
26828 { ac_try='test -s conftest.$ac_objext'
26829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26830 (eval $ac_try) 2>&5
26831 ac_status=$?
26832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26833 (exit $ac_status); }; }; then
26834
26835 cat >>confdefs.h <<\_ACEOF
26836 #define __WXMOTIF20__ 1
26837 _ACEOF
26838
26839 echo "$as_me:$LINENO: result: found" >&5
26840 echo "${ECHO_T}found" >&6
26841
26842 else
26843 echo "$as_me: failed program was:" >&5
26844 sed 's/^/| /' conftest.$ac_ext >&5
26845
26846
26847 cat >>confdefs.h <<\_ACEOF
26848 #define __WXMOTIF20__ 0
26849 _ACEOF
26850
26851 echo "$as_me:$LINENO: result: not found" >&5
26852 echo "${ECHO_T}not found" >&6
26853
26854 fi
26855 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26856 CFLAGS=$save_CFLAGS
26857
26858 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
26859 TOOLKIT=MOTIF
26860 GUIDIST=MOTIF_DIST
26861 fi
26862
26863 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
26864 if test "$wxUSE_LIBXPM" = "sys"; then
26865 echo "$as_me:$LINENO: checking for Xpm library" >&5
26866 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
26867
26868 ac_find_libraries=
26869 for ac_dir in $SEARCH_LIB /usr/lib;
26870 do
26871 for ac_extension in a so sl dylib; do
26872 if test -f "$ac_dir/libXpm.$ac_extension"; then
26873 ac_find_libraries=$ac_dir
26874 break 2
26875 fi
26876 done
26877 done
26878
26879 if test "$ac_find_libraries" != "" ; then
26880
26881 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
26882 result=$?
26883 if test $result = 0; then
26884 ac_path_to_link=""
26885 else
26886 ac_path_to_link=" -L$ac_find_libraries"
26887 fi
26888
26889 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
26890 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
26891 echo "${ECHO_T}found at $ac_find_libraries" >&6
26892
26893 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
26894 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
26895 if test "${wx_cv_x11_xpm_h+set}" = set; then
26896 echo $ECHO_N "(cached) $ECHO_C" >&6
26897 else
26898
26899 save_CFLAGS=$CFLAGS
26900 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
26901
26902 cat >conftest.$ac_ext <<_ACEOF
26903 /* confdefs.h. */
26904 _ACEOF
26905 cat confdefs.h >>conftest.$ac_ext
26906 cat >>conftest.$ac_ext <<_ACEOF
26907 /* end confdefs.h. */
26908
26909 #include <X11/xpm.h>
26910
26911 int
26912 main ()
26913 {
26914
26915 int version;
26916 version = XpmLibraryVersion();
26917
26918 ;
26919 return 0;
26920 }
26921 _ACEOF
26922 rm -f conftest.$ac_objext
26923 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26924 (eval $ac_compile) 2>conftest.er1
26925 ac_status=$?
26926 grep -v '^ *+' conftest.er1 >conftest.err
26927 rm -f conftest.er1
26928 cat conftest.err >&5
26929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26930 (exit $ac_status); } &&
26931 { ac_try='test -z "$ac_c_werror_flag"
26932 || test ! -s conftest.err'
26933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26934 (eval $ac_try) 2>&5
26935 ac_status=$?
26936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26937 (exit $ac_status); }; } &&
26938 { ac_try='test -s conftest.$ac_objext'
26939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26940 (eval $ac_try) 2>&5
26941 ac_status=$?
26942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26943 (exit $ac_status); }; }; then
26944 wx_cv_x11_xpm_h=yes
26945 else
26946 echo "$as_me: failed program was:" >&5
26947 sed 's/^/| /' conftest.$ac_ext >&5
26948
26949 wx_cv_x11_xpm_h=no
26950
26951 fi
26952 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26953
26954 CFLAGS=$save_CFLAGS
26955
26956
26957 fi
26958 echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
26959 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6
26960
26961 if test $wx_cv_x11_xpm_h = "yes"; then
26962 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
26963 cat >>confdefs.h <<\_ACEOF
26964 #define wxHAVE_LIB_XPM 1
26965 _ACEOF
26966
26967 else
26968 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
26969 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
26970 fi
26971 fi
26972
26973 fi
26974
26975 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
26976 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
26977 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
26978 echo $ECHO_N "(cached) $ECHO_C" >&6
26979 else
26980 ac_check_lib_save_LIBS=$LIBS
26981 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $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 XShapeQueryExtension ();
26996 int
26997 main ()
26998 {
26999 XShapeQueryExtension ();
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_Xext_XShapeQueryExtension=yes
27027 else
27028 echo "$as_me: failed program was:" >&5
27029 sed 's/^/| /' conftest.$ac_ext >&5
27030
27031 ac_cv_lib_Xext_XShapeQueryExtension=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_Xext_XShapeQueryExtension" >&5
27038 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
27039 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
27040
27041 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
27042 wxHAVE_XEXT_LIB=1
27043
27044 fi
27045
27046
27047 if test "$wxHAVE_XEXT_LIB" = 1; then
27048 save_CFLAGS="$CFLAGS"
27049 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
27050
27051 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
27052 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
27053 cat >conftest.$ac_ext <<_ACEOF
27054 /* confdefs.h. */
27055 _ACEOF
27056 cat confdefs.h >>conftest.$ac_ext
27057 cat >>conftest.$ac_ext <<_ACEOF
27058 /* end confdefs.h. */
27059
27060 #include <X11/Xlib.h>
27061 #include <X11/extensions/shape.h>
27062
27063 int
27064 main ()
27065 {
27066
27067 int dummy1, dummy2;
27068 XShapeQueryExtension((Display*)NULL,
27069 (int*)NULL, (int*)NULL);
27070
27071 ;
27072 return 0;
27073 }
27074 _ACEOF
27075 rm -f conftest.$ac_objext
27076 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27077 (eval $ac_compile) 2>conftest.er1
27078 ac_status=$?
27079 grep -v '^ *+' conftest.er1 >conftest.err
27080 rm -f conftest.er1
27081 cat conftest.err >&5
27082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27083 (exit $ac_status); } &&
27084 { ac_try='test -z "$ac_c_werror_flag"
27085 || test ! -s conftest.err'
27086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27087 (eval $ac_try) 2>&5
27088 ac_status=$?
27089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27090 (exit $ac_status); }; } &&
27091 { ac_try='test -s conftest.$ac_objext'
27092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27093 (eval $ac_try) 2>&5
27094 ac_status=$?
27095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27096 (exit $ac_status); }; }; then
27097
27098 cat >>confdefs.h <<\_ACEOF
27099 #define HAVE_XSHAPE 1
27100 _ACEOF
27101
27102 echo "$as_me:$LINENO: result: found" >&5
27103 echo "${ECHO_T}found" >&6
27104
27105 else
27106 echo "$as_me: failed program was:" >&5
27107 sed 's/^/| /' conftest.$ac_ext >&5
27108
27109
27110 echo "$as_me:$LINENO: result: not found" >&5
27111 echo "${ECHO_T}not found" >&6
27112
27113 fi
27114 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27115 CFLAGS="$save_CFLAGS"
27116
27117 fi
27118 fi
27119
27120 if test "$wxUSE_MAC" = 1; then
27121 echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
27122 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6
27123 if test "$GCC" = yes; then
27124 echo "$as_me:$LINENO: result: gcc" >&5
27125 echo "${ECHO_T}gcc" >&6
27126 CPPFLAGS_PASCAL="-fpascal-strings"
27127 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
27128 echo "$as_me:$LINENO: result: xlc" >&5
27129 echo "${ECHO_T}xlc" >&6
27130 CPPFLAGS_PASCAL="-qmacpstr"
27131 else
27132 echo "$as_me:$LINENO: result: none" >&5
27133 echo "${ECHO_T}none" >&6
27134 fi
27135
27136 if test "x$wxUSE_UNIX" = "xyes"; then
27137 CPPFLAGS="$CPPFLAGS $CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon"
27138 else
27139 CPPFLAGS="$CPPFLAGS $CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON"
27140 fi
27141
27142 TOOLKIT=MAC
27143 GUIDIST=MACX_DIST
27144 WXBASEPORT="_carbon"
27145 fi
27146
27147 if test "$wxUSE_COCOA" = 1; then
27148 TOOLKIT=COCOA
27149 GUIDIST=COCOA_DIST
27150 fi
27151
27152 if test "$wxUSE_PM" = 1; then
27153 TOOLKIT=PM
27154 GUIDIST=PM_DIST
27155 echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
27156 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6
27157 if test "${wx_cv_spbcdata+set}" = set; then
27158 echo $ECHO_N "(cached) $ECHO_C" >&6
27159 else
27160
27161 cat >conftest.$ac_ext <<_ACEOF
27162 /* confdefs.h. */
27163 _ACEOF
27164 cat confdefs.h >>conftest.$ac_ext
27165 cat >>conftest.$ac_ext <<_ACEOF
27166 /* end confdefs.h. */
27167
27168 #define INCL_PM
27169 #include <os2.h>
27170
27171 int
27172 main ()
27173 {
27174
27175 SPBCDATA test;
27176
27177 ;
27178 return 0;
27179 }
27180 _ACEOF
27181 rm -f conftest.$ac_objext
27182 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27183 (eval $ac_compile) 2>conftest.er1
27184 ac_status=$?
27185 grep -v '^ *+' conftest.er1 >conftest.err
27186 rm -f conftest.er1
27187 cat conftest.err >&5
27188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27189 (exit $ac_status); } &&
27190 { ac_try='test -z "$ac_c_werror_flag"
27191 || test ! -s conftest.err'
27192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27193 (eval $ac_try) 2>&5
27194 ac_status=$?
27195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27196 (exit $ac_status); }; } &&
27197 { ac_try='test -s conftest.$ac_objext'
27198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27199 (eval $ac_try) 2>&5
27200 ac_status=$?
27201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27202 (exit $ac_status); }; }; then
27203 wx_cv_spbcdata=yes
27204 else
27205 echo "$as_me: failed program was:" >&5
27206 sed 's/^/| /' conftest.$ac_ext >&5
27207
27208 wx_cv_spbcdata=no
27209
27210 fi
27211 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27212
27213
27214 fi
27215 echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
27216 echo "${ECHO_T}$wx_cv_spbcdata" >&6
27217
27218 if test $wx_cv_spbcdata = "yes"; then
27219 cat >>confdefs.h <<\_ACEOF
27220 #define HAVE_SPBCDATA 1
27221 _ACEOF
27222
27223 fi
27224 fi
27225
27226 if test "$TOOLKIT" = "PM" ; then
27227 TOOLKIT_DIR="os2"
27228 else
27229 TOOLKIT_DIR=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
27230 fi
27231
27232 if test "$wxUSE_UNIVERSAL" = "yes"; then
27233 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
27234 WIDGET_SET=univ
27235 fi
27236
27237 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
27238 DISTDIR="wx\$(TOOLKIT)"
27239 else
27240 USE_GUI=0
27241
27242 TOOLKIT_DIR="base"
27243
27244 if test "$USE_WIN32" = 1 ; then
27245 TOOLKIT="MSW"
27246 fi
27247
27248 GUIDIST="BASE_DIST"
27249 DISTDIR="wxBase"
27250 fi
27251
27252
27253
27254
27255 IODBC_C_SRC=""
27256
27257
27258 if test "$TOOLKIT" != "MSW" ; then
27259
27260 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
27261
27262 if test "${ac_cv_header_sql_h+set}" = set; then
27263 echo "$as_me:$LINENO: checking for sql.h" >&5
27264 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
27265 if test "${ac_cv_header_sql_h+set}" = set; then
27266 echo $ECHO_N "(cached) $ECHO_C" >&6
27267 fi
27268 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
27269 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
27270 else
27271 # Is the header compilable?
27272 echo "$as_me:$LINENO: checking sql.h usability" >&5
27273 echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
27274 cat >conftest.$ac_ext <<_ACEOF
27275 /* confdefs.h. */
27276 _ACEOF
27277 cat confdefs.h >>conftest.$ac_ext
27278 cat >>conftest.$ac_ext <<_ACEOF
27279 /* end confdefs.h. */
27280 $ac_includes_default
27281 #include <sql.h>
27282 _ACEOF
27283 rm -f conftest.$ac_objext
27284 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27285 (eval $ac_compile) 2>conftest.er1
27286 ac_status=$?
27287 grep -v '^ *+' conftest.er1 >conftest.err
27288 rm -f conftest.er1
27289 cat conftest.err >&5
27290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27291 (exit $ac_status); } &&
27292 { ac_try='test -z "$ac_c_werror_flag"
27293 || test ! -s conftest.err'
27294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27295 (eval $ac_try) 2>&5
27296 ac_status=$?
27297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27298 (exit $ac_status); }; } &&
27299 { ac_try='test -s conftest.$ac_objext'
27300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27301 (eval $ac_try) 2>&5
27302 ac_status=$?
27303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27304 (exit $ac_status); }; }; then
27305 ac_header_compiler=yes
27306 else
27307 echo "$as_me: failed program was:" >&5
27308 sed 's/^/| /' conftest.$ac_ext >&5
27309
27310 ac_header_compiler=no
27311 fi
27312 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27313 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27314 echo "${ECHO_T}$ac_header_compiler" >&6
27315
27316 # Is the header present?
27317 echo "$as_me:$LINENO: checking sql.h presence" >&5
27318 echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
27319 cat >conftest.$ac_ext <<_ACEOF
27320 /* confdefs.h. */
27321 _ACEOF
27322 cat confdefs.h >>conftest.$ac_ext
27323 cat >>conftest.$ac_ext <<_ACEOF
27324 /* end confdefs.h. */
27325 #include <sql.h>
27326 _ACEOF
27327 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27328 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
27329 ac_status=$?
27330 grep -v '^ *+' conftest.er1 >conftest.err
27331 rm -f conftest.er1
27332 cat conftest.err >&5
27333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27334 (exit $ac_status); } >/dev/null; then
27335 if test -s conftest.err; then
27336 ac_cpp_err=$ac_c_preproc_warn_flag
27337 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
27338 else
27339 ac_cpp_err=
27340 fi
27341 else
27342 ac_cpp_err=yes
27343 fi
27344 if test -z "$ac_cpp_err"; then
27345 ac_header_preproc=yes
27346 else
27347 echo "$as_me: failed program was:" >&5
27348 sed 's/^/| /' conftest.$ac_ext >&5
27349
27350 ac_header_preproc=no
27351 fi
27352 rm -f conftest.err conftest.$ac_ext
27353 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27354 echo "${ECHO_T}$ac_header_preproc" >&6
27355
27356 # So? What about this header?
27357 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27358 yes:no: )
27359 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
27360 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
27361 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the compiler's result" >&5
27362 echo "$as_me: WARNING: sql.h: proceeding with the compiler's result" >&2;}
27363 ac_header_preproc=yes
27364 ;;
27365 no:yes:* )
27366 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
27367 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
27368 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
27369 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
27370 { echo "$as_me:$LINENO: WARNING: sql.h: see the Autoconf documentation" >&5
27371 echo "$as_me: WARNING: sql.h: see the Autoconf documentation" >&2;}
27372 { echo "$as_me:$LINENO: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&5
27373 echo "$as_me: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&2;}
27374 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
27375 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
27376 { echo "$as_me:$LINENO: WARNING: sql.h: in the future, the compiler will take precedence" >&5
27377 echo "$as_me: WARNING: sql.h: in the future, the compiler will take precedence" >&2;}
27378 (
27379 cat <<\_ASBOX
27380 ## ----------------------------------------- ##
27381 ## Report this to wx-dev@lists.wxwidgets.org ##
27382 ## ----------------------------------------- ##
27383 _ASBOX
27384 ) |
27385 sed "s/^/$as_me: WARNING: /" >&2
27386 ;;
27387 esac
27388 echo "$as_me:$LINENO: checking for sql.h" >&5
27389 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
27390 if test "${ac_cv_header_sql_h+set}" = set; then
27391 echo $ECHO_N "(cached) $ECHO_C" >&6
27392 else
27393 ac_cv_header_sql_h=$ac_header_preproc
27394 fi
27395 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
27396 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
27397
27398 fi
27399 if test $ac_cv_header_sql_h = yes; then
27400 found_sql_h=1
27401 fi
27402
27403
27404 if test "x$found_sql_h" = "x1" ; then
27405 echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
27406 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6
27407 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
27408 echo $ECHO_N "(cached) $ECHO_C" >&6
27409 else
27410 ac_check_lib_save_LIBS=$LIBS
27411 LIBS="-liodbc $LIBS"
27412 cat >conftest.$ac_ext <<_ACEOF
27413 /* confdefs.h. */
27414 _ACEOF
27415 cat confdefs.h >>conftest.$ac_ext
27416 cat >>conftest.$ac_ext <<_ACEOF
27417 /* end confdefs.h. */
27418
27419 /* Override any gcc2 internal prototype to avoid an error. */
27420 #ifdef __cplusplus
27421 extern "C"
27422 #endif
27423 /* We use char because int might match the return type of a gcc2
27424 builtin and then its argument prototype would still apply. */
27425 char SQLAllocEnv ();
27426 int
27427 main ()
27428 {
27429 SQLAllocEnv ();
27430 ;
27431 return 0;
27432 }
27433 _ACEOF
27434 rm -f conftest.$ac_objext conftest$ac_exeext
27435 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27436 (eval $ac_link) 2>conftest.er1
27437 ac_status=$?
27438 grep -v '^ *+' conftest.er1 >conftest.err
27439 rm -f conftest.er1
27440 cat conftest.err >&5
27441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27442 (exit $ac_status); } &&
27443 { ac_try='test -z "$ac_c_werror_flag"
27444 || test ! -s conftest.err'
27445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27446 (eval $ac_try) 2>&5
27447 ac_status=$?
27448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27449 (exit $ac_status); }; } &&
27450 { ac_try='test -s conftest$ac_exeext'
27451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27452 (eval $ac_try) 2>&5
27453 ac_status=$?
27454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27455 (exit $ac_status); }; }; then
27456 ac_cv_lib_iodbc_SQLAllocEnv=yes
27457 else
27458 echo "$as_me: failed program was:" >&5
27459 sed 's/^/| /' conftest.$ac_ext >&5
27460
27461 ac_cv_lib_iodbc_SQLAllocEnv=no
27462 fi
27463 rm -f conftest.err conftest.$ac_objext \
27464 conftest$ac_exeext conftest.$ac_ext
27465 LIBS=$ac_check_lib_save_LIBS
27466 fi
27467 echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
27468 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6
27469 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
27470 ODBC_LINK=" -liodbc"
27471 else
27472
27473 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
27474 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6
27475 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
27476 echo $ECHO_N "(cached) $ECHO_C" >&6
27477 else
27478 ac_check_lib_save_LIBS=$LIBS
27479 LIBS="-lunixodbc $LIBS"
27480 cat >conftest.$ac_ext <<_ACEOF
27481 /* confdefs.h. */
27482 _ACEOF
27483 cat confdefs.h >>conftest.$ac_ext
27484 cat >>conftest.$ac_ext <<_ACEOF
27485 /* end confdefs.h. */
27486
27487 /* Override any gcc2 internal prototype to avoid an error. */
27488 #ifdef __cplusplus
27489 extern "C"
27490 #endif
27491 /* We use char because int might match the return type of a gcc2
27492 builtin and then its argument prototype would still apply. */
27493 char SQLAllocEnv ();
27494 int
27495 main ()
27496 {
27497 SQLAllocEnv ();
27498 ;
27499 return 0;
27500 }
27501 _ACEOF
27502 rm -f conftest.$ac_objext conftest$ac_exeext
27503 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27504 (eval $ac_link) 2>conftest.er1
27505 ac_status=$?
27506 grep -v '^ *+' conftest.er1 >conftest.err
27507 rm -f conftest.er1
27508 cat conftest.err >&5
27509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27510 (exit $ac_status); } &&
27511 { ac_try='test -z "$ac_c_werror_flag"
27512 || test ! -s conftest.err'
27513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27514 (eval $ac_try) 2>&5
27515 ac_status=$?
27516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27517 (exit $ac_status); }; } &&
27518 { ac_try='test -s conftest$ac_exeext'
27519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27520 (eval $ac_try) 2>&5
27521 ac_status=$?
27522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27523 (exit $ac_status); }; }; then
27524 ac_cv_lib_unixodbc_SQLAllocEnv=yes
27525 else
27526 echo "$as_me: failed program was:" >&5
27527 sed 's/^/| /' conftest.$ac_ext >&5
27528
27529 ac_cv_lib_unixodbc_SQLAllocEnv=no
27530 fi
27531 rm -f conftest.err conftest.$ac_objext \
27532 conftest$ac_exeext conftest.$ac_ext
27533 LIBS=$ac_check_lib_save_LIBS
27534 fi
27535 echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
27536 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6
27537 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
27538 ODBC_LINK=" -lunixodbc"
27539 else
27540
27541 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
27542 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6
27543 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
27544 echo $ECHO_N "(cached) $ECHO_C" >&6
27545 else
27546 ac_check_lib_save_LIBS=$LIBS
27547 LIBS="-lodbc $LIBS"
27548 cat >conftest.$ac_ext <<_ACEOF
27549 /* confdefs.h. */
27550 _ACEOF
27551 cat confdefs.h >>conftest.$ac_ext
27552 cat >>conftest.$ac_ext <<_ACEOF
27553 /* end confdefs.h. */
27554
27555 /* Override any gcc2 internal prototype to avoid an error. */
27556 #ifdef __cplusplus
27557 extern "C"
27558 #endif
27559 /* We use char because int might match the return type of a gcc2
27560 builtin and then its argument prototype would still apply. */
27561 char SQLAllocEnv ();
27562 int
27563 main ()
27564 {
27565 SQLAllocEnv ();
27566 ;
27567 return 0;
27568 }
27569 _ACEOF
27570 rm -f conftest.$ac_objext conftest$ac_exeext
27571 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27572 (eval $ac_link) 2>conftest.er1
27573 ac_status=$?
27574 grep -v '^ *+' conftest.er1 >conftest.err
27575 rm -f conftest.er1
27576 cat conftest.err >&5
27577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27578 (exit $ac_status); } &&
27579 { ac_try='test -z "$ac_c_werror_flag"
27580 || test ! -s conftest.err'
27581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27582 (eval $ac_try) 2>&5
27583 ac_status=$?
27584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27585 (exit $ac_status); }; } &&
27586 { ac_try='test -s conftest$ac_exeext'
27587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27588 (eval $ac_try) 2>&5
27589 ac_status=$?
27590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27591 (exit $ac_status); }; }; then
27592 ac_cv_lib_odbc_SQLAllocEnv=yes
27593 else
27594 echo "$as_me: failed program was:" >&5
27595 sed 's/^/| /' conftest.$ac_ext >&5
27596
27597 ac_cv_lib_odbc_SQLAllocEnv=no
27598 fi
27599 rm -f conftest.err conftest.$ac_objext \
27600 conftest$ac_exeext conftest.$ac_ext
27601 LIBS=$ac_check_lib_save_LIBS
27602 fi
27603 echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
27604 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6
27605 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
27606 ODBC_LINK=" -lodbc"
27607 fi
27608
27609
27610 fi
27611
27612
27613 fi
27614
27615 fi
27616 if test "x$ODBC_LINK" = "x" ; then
27617 if test "$wxUSE_ODBC" = "sys" ; then
27618 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
27619 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
27620 { (exit 1); exit 1; }; }
27621 else
27622 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
27623 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
27624 wxUSE_ODBC=builtin
27625 fi
27626 else
27627 wxUSE_ODBC=sys
27628 fi
27629 fi
27630 if test "$wxUSE_ODBC" != "no" ; then
27631 cat >>confdefs.h <<\_ACEOF
27632 #define wxUSE_ODBC 1
27633 _ACEOF
27634
27635 if test "$wxUSE_ODBC" = "builtin" ; then
27636 cat >>confdefs.h <<\_ACEOF
27637 #define wxUSE_BUILTIN_IODBC 1
27638 _ACEOF
27639
27640 fi
27641 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS db"
27642
27643 WXODBCFLAG="-D_IODBC_"
27644 fi
27645 fi
27646
27647
27648
27649 if test "$wxUSE_DISPLAY" = "yes"; then
27650 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
27651 echo "$as_me:$LINENO: checking for Xinerama" >&5
27652 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6
27653
27654 ac_find_libraries=
27655 for ac_dir in $SEARCH_LIB /usr/lib;
27656 do
27657 for ac_extension in a so sl dylib; do
27658 if test -f "$ac_dir/libXinerama.$ac_extension"; then
27659 ac_find_libraries=$ac_dir
27660 break 2
27661 fi
27662 done
27663 done
27664
27665 if test "$ac_find_libraries" != "" ; then
27666
27667 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
27668 result=$?
27669 if test $result = 0; then
27670 ac_path_to_link=""
27671 else
27672 ac_path_to_link=" -L$ac_find_libraries"
27673 fi
27674
27675 if test "$ac_path_to_link" != " -L/usr/lib" ; then
27676 LDFLAGS="$LDFLAGS $ac_path_to_link"
27677 fi
27678 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
27679 echo "$as_me:$LINENO: result: yes" >&5
27680 echo "${ECHO_T}yes" >&6
27681
27682 echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
27683 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6
27684
27685 ac_find_libraries=
27686 for ac_dir in $SEARCH_LIB /usr/lib;
27687 do
27688 for ac_extension in a so sl dylib; do
27689 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
27690 ac_find_libraries=$ac_dir
27691 break 2
27692 fi
27693 done
27694 done
27695
27696 if test "$ac_find_libraries" != "" ; then
27697 echo "$as_me:$LINENO: result: yes" >&5
27698 echo "${ECHO_T}yes" >&6
27699
27700 for ac_header in X11/extensions/xf86vmode.h
27701 do
27702 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27703 echo "$as_me:$LINENO: checking for $ac_header" >&5
27704 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27705 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27706 echo $ECHO_N "(cached) $ECHO_C" >&6
27707 else
27708 cat >conftest.$ac_ext <<_ACEOF
27709 /* confdefs.h. */
27710 _ACEOF
27711 cat confdefs.h >>conftest.$ac_ext
27712 cat >>conftest.$ac_ext <<_ACEOF
27713 /* end confdefs.h. */
27714
27715 #if HAVE_X11_XLIB_H
27716 #include <X11/Xlib.h>
27717 #endif
27718
27719
27720 #include <$ac_header>
27721 _ACEOF
27722 rm -f conftest.$ac_objext
27723 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27724 (eval $ac_compile) 2>conftest.er1
27725 ac_status=$?
27726 grep -v '^ *+' conftest.er1 >conftest.err
27727 rm -f conftest.er1
27728 cat conftest.err >&5
27729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27730 (exit $ac_status); } &&
27731 { ac_try='test -z "$ac_c_werror_flag"
27732 || test ! -s conftest.err'
27733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27734 (eval $ac_try) 2>&5
27735 ac_status=$?
27736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27737 (exit $ac_status); }; } &&
27738 { ac_try='test -s conftest.$ac_objext'
27739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27740 (eval $ac_try) 2>&5
27741 ac_status=$?
27742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27743 (exit $ac_status); }; }; then
27744 eval "$as_ac_Header=yes"
27745 else
27746 echo "$as_me: failed program was:" >&5
27747 sed 's/^/| /' conftest.$ac_ext >&5
27748
27749 eval "$as_ac_Header=no"
27750 fi
27751 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27752 fi
27753 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27754 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27755 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27756 cat >>confdefs.h <<_ACEOF
27757 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27758 _ACEOF
27759
27760 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
27761
27762 fi
27763
27764 done
27765
27766 else
27767 echo "$as_me:$LINENO: result: no" >&5
27768 echo "${ECHO_T}no" >&6
27769 fi
27770
27771 else
27772 echo "$as_me:$LINENO: result: no" >&5
27773 echo "${ECHO_T}no" >&6
27774 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
27775 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
27776 wxUSE_DISPLAY="no"
27777 fi
27778 elif test "$wxUSE_MSW" = 1; then
27779
27780
27781 for ac_header in multimon.h ddraw.h
27782 do
27783 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27784 echo "$as_me:$LINENO: checking for $ac_header" >&5
27785 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27786 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27787 echo $ECHO_N "(cached) $ECHO_C" >&6
27788 else
27789 cat >conftest.$ac_ext <<_ACEOF
27790 /* confdefs.h. */
27791 _ACEOF
27792 cat confdefs.h >>conftest.$ac_ext
27793 cat >>conftest.$ac_ext <<_ACEOF
27794 /* end confdefs.h. */
27795 #include <windows.h>
27796
27797 #include <$ac_header>
27798 _ACEOF
27799 rm -f conftest.$ac_objext
27800 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27801 (eval $ac_compile) 2>conftest.er1
27802 ac_status=$?
27803 grep -v '^ *+' conftest.er1 >conftest.err
27804 rm -f conftest.er1
27805 cat conftest.err >&5
27806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27807 (exit $ac_status); } &&
27808 { ac_try='test -z "$ac_c_werror_flag"
27809 || test ! -s conftest.err'
27810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27811 (eval $ac_try) 2>&5
27812 ac_status=$?
27813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27814 (exit $ac_status); }; } &&
27815 { ac_try='test -s conftest.$ac_objext'
27816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27817 (eval $ac_try) 2>&5
27818 ac_status=$?
27819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27820 (exit $ac_status); }; }; then
27821 eval "$as_ac_Header=yes"
27822 else
27823 echo "$as_me: failed program was:" >&5
27824 sed 's/^/| /' conftest.$ac_ext >&5
27825
27826 eval "$as_ac_Header=no"
27827 fi
27828 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27829 fi
27830 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27831 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27832 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27833 cat >>confdefs.h <<_ACEOF
27834 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27835 _ACEOF
27836
27837 else
27838
27839 wxUSE_DISPLAY="no"
27840 { echo "$as_me:$LINENO: WARNING: ddraw.h or multimon.h not found; disabling wxDisplay" >&5
27841 echo "$as_me: WARNING: ddraw.h or multimon.h not found; disabling wxDisplay" >&2;}
27842
27843 fi
27844
27845 done
27846
27847 fi
27848 fi
27849
27850
27851 if test "$wxUSE_MEDIACTRL" = "yes"; then
27852 if test "$wxUSE_MSW" = 1; then
27853 wxUSE_DIRECTSHOW="yes"
27854
27855 for ac_header in dshow.h
27856 do
27857 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27858 echo "$as_me:$LINENO: checking for $ac_header" >&5
27859 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27860 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27861 echo $ECHO_N "(cached) $ECHO_C" >&6
27862 else
27863 cat >conftest.$ac_ext <<_ACEOF
27864 /* confdefs.h. */
27865 _ACEOF
27866 cat confdefs.h >>conftest.$ac_ext
27867 cat >>conftest.$ac_ext <<_ACEOF
27868 /* end confdefs.h. */
27869 #include <windows.h>
27870
27871 #include <$ac_header>
27872 _ACEOF
27873 rm -f conftest.$ac_objext
27874 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27875 (eval $ac_compile) 2>conftest.er1
27876 ac_status=$?
27877 grep -v '^ *+' conftest.er1 >conftest.err
27878 rm -f conftest.er1
27879 cat conftest.err >&5
27880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27881 (exit $ac_status); } &&
27882 { ac_try='test -z "$ac_c_werror_flag"
27883 || test ! -s conftest.err'
27884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27885 (eval $ac_try) 2>&5
27886 ac_status=$?
27887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27888 (exit $ac_status); }; } &&
27889 { ac_try='test -s conftest.$ac_objext'
27890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27891 (eval $ac_try) 2>&5
27892 ac_status=$?
27893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27894 (exit $ac_status); }; }; then
27895 eval "$as_ac_Header=yes"
27896 else
27897 echo "$as_me: failed program was:" >&5
27898 sed 's/^/| /' conftest.$ac_ext >&5
27899
27900 eval "$as_ac_Header=no"
27901 fi
27902 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27903 fi
27904 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27905 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27906 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27907 cat >>confdefs.h <<_ACEOF
27908 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27909 _ACEOF
27910
27911 else
27912
27913 wxUSE_DIRECTSHOW="no"
27914 { echo "$as_me:$LINENO: WARNING: DirectShow not installed; consider installing the DirectX7 SDK or higher" >&5
27915 echo "$as_me: WARNING: DirectShow not installed; consider installing the DirectX7 SDK or higher" >&2;}
27916
27917 fi
27918
27919 done
27920
27921
27922 if test "$wxUSE_DIRECTSHOW" = "yes"; then
27923 cat >>confdefs.h <<\_ACEOF
27924 #define wxUSE_DIRECTSHOW 1
27925 _ACEOF
27926
27927 LIBS="$LIBS -lstrmiids"
27928 fi
27929 fi
27930
27931 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
27932 cat >>confdefs.h <<\_ACEOF
27933 #define wxUSE_MEDIACTRL 1
27934 _ACEOF
27935
27936 fi
27937
27938
27939 USE_OPENGL=0
27940 if test "$wxUSE_OPENGL" = "yes"; then
27941 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
27942 OPENGL_LIBS="-framework OpenGL -framework AGL"
27943 elif test "$wxUSE_MSW" = 1; then
27944 OPENGL_LIBS="-lopengl32 -lglu32"
27945 else
27946
27947
27948 ac_find_includes=
27949 for ac_dir in $SEARCH_INCLUDE /usr/include;
27950 do
27951 if test -f "$ac_dir/GL/gl.h"; then
27952 ac_find_includes=$ac_dir
27953 break
27954 fi
27955 done
27956
27957 if test "$ac_find_includes" != "" ; then
27958 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
27959 echo "${ECHO_T}found in $ac_find_includes" >&6
27960
27961 if test "x$ac_find_includes" = "x/usr/include"; then
27962 ac_path_to_include=""
27963 else
27964 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
27965 result=$?
27966 if test $result = 0; then
27967 ac_path_to_include=""
27968 else
27969 ac_path_to_include=" -I$ac_find_includes"
27970 fi
27971 fi
27972
27973 CPPFLAGS="$CPPFLAGS$ac_path_to_include"
27974 fi
27975
27976 if test "${ac_cv_header_GL_gl_h+set}" = set; then
27977 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
27978 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
27979 if test "${ac_cv_header_GL_gl_h+set}" = set; then
27980 echo $ECHO_N "(cached) $ECHO_C" >&6
27981 fi
27982 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
27983 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
27984 else
27985 # Is the header compilable?
27986 echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
27987 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
27988 cat >conftest.$ac_ext <<_ACEOF
27989 /* confdefs.h. */
27990 _ACEOF
27991 cat confdefs.h >>conftest.$ac_ext
27992 cat >>conftest.$ac_ext <<_ACEOF
27993 /* end confdefs.h. */
27994 $ac_includes_default
27995 #include <GL/gl.h>
27996 _ACEOF
27997 rm -f conftest.$ac_objext
27998 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27999 (eval $ac_compile) 2>conftest.er1
28000 ac_status=$?
28001 grep -v '^ *+' conftest.er1 >conftest.err
28002 rm -f conftest.er1
28003 cat conftest.err >&5
28004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28005 (exit $ac_status); } &&
28006 { ac_try='test -z "$ac_c_werror_flag"
28007 || test ! -s conftest.err'
28008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28009 (eval $ac_try) 2>&5
28010 ac_status=$?
28011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28012 (exit $ac_status); }; } &&
28013 { ac_try='test -s conftest.$ac_objext'
28014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28015 (eval $ac_try) 2>&5
28016 ac_status=$?
28017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28018 (exit $ac_status); }; }; then
28019 ac_header_compiler=yes
28020 else
28021 echo "$as_me: failed program was:" >&5
28022 sed 's/^/| /' conftest.$ac_ext >&5
28023
28024 ac_header_compiler=no
28025 fi
28026 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28027 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28028 echo "${ECHO_T}$ac_header_compiler" >&6
28029
28030 # Is the header present?
28031 echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
28032 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
28033 cat >conftest.$ac_ext <<_ACEOF
28034 /* confdefs.h. */
28035 _ACEOF
28036 cat confdefs.h >>conftest.$ac_ext
28037 cat >>conftest.$ac_ext <<_ACEOF
28038 /* end confdefs.h. */
28039 #include <GL/gl.h>
28040 _ACEOF
28041 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28042 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
28043 ac_status=$?
28044 grep -v '^ *+' conftest.er1 >conftest.err
28045 rm -f conftest.er1
28046 cat conftest.err >&5
28047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28048 (exit $ac_status); } >/dev/null; then
28049 if test -s conftest.err; then
28050 ac_cpp_err=$ac_c_preproc_warn_flag
28051 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
28052 else
28053 ac_cpp_err=
28054 fi
28055 else
28056 ac_cpp_err=yes
28057 fi
28058 if test -z "$ac_cpp_err"; then
28059 ac_header_preproc=yes
28060 else
28061 echo "$as_me: failed program was:" >&5
28062 sed 's/^/| /' conftest.$ac_ext >&5
28063
28064 ac_header_preproc=no
28065 fi
28066 rm -f conftest.err conftest.$ac_ext
28067 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28068 echo "${ECHO_T}$ac_header_preproc" >&6
28069
28070 # So? What about this header?
28071 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28072 yes:no: )
28073 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
28074 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
28075 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the compiler's result" >&5
28076 echo "$as_me: WARNING: GL/gl.h: proceeding with the compiler's result" >&2;}
28077 ac_header_preproc=yes
28078 ;;
28079 no:yes:* )
28080 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
28081 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
28082 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
28083 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
28084 { echo "$as_me:$LINENO: WARNING: GL/gl.h: see the Autoconf documentation" >&5
28085 echo "$as_me: WARNING: GL/gl.h: see the Autoconf documentation" >&2;}
28086 { echo "$as_me:$LINENO: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&5
28087 echo "$as_me: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&2;}
28088 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
28089 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
28090 { echo "$as_me:$LINENO: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&5
28091 echo "$as_me: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&2;}
28092 (
28093 cat <<\_ASBOX
28094 ## ----------------------------------------- ##
28095 ## Report this to wx-dev@lists.wxwidgets.org ##
28096 ## ----------------------------------------- ##
28097 _ASBOX
28098 ) |
28099 sed "s/^/$as_me: WARNING: /" >&2
28100 ;;
28101 esac
28102 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
28103 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
28104 if test "${ac_cv_header_GL_gl_h+set}" = set; then
28105 echo $ECHO_N "(cached) $ECHO_C" >&6
28106 else
28107 ac_cv_header_GL_gl_h=$ac_header_preproc
28108 fi
28109 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
28110 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
28111
28112 fi
28113 if test $ac_cv_header_GL_gl_h = yes; then
28114
28115 found_gl=0
28116
28117 echo "$as_me:$LINENO: checking for -lGL" >&5
28118 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
28119
28120 ac_find_libraries=
28121 for ac_dir in $SEARCH_LIB /usr/lib;
28122 do
28123 for ac_extension in a so sl dylib; do
28124 if test -f "$ac_dir/libGL.$ac_extension"; then
28125 ac_find_libraries=$ac_dir
28126 break 2
28127 fi
28128 done
28129 done
28130
28131 if test "$ac_find_libraries" != "" ; then
28132
28133 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
28134 result=$?
28135 if test $result = 0; then
28136 ac_path_to_link=""
28137 else
28138 ac_path_to_link=" -L$ac_find_libraries"
28139 fi
28140
28141 if test "$ac_path_to_link" != " -L/usr/lib" ; then
28142 LDFLAGS_GL="$ac_path_to_link"
28143 fi
28144
28145
28146 ac_find_libraries=
28147 for ac_dir in $SEARCH_LIB /usr/lib;
28148 do
28149 for ac_extension in a so sl dylib; do
28150 if test -f "$ac_dir/libGLU.$ac_extension"; then
28151 ac_find_libraries=$ac_dir
28152 break 2
28153 fi
28154 done
28155 done
28156
28157 if test "$ac_find_libraries" != "" ; then
28158
28159 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
28160 result=$?
28161 if test $result = 0; then
28162 ac_path_to_link=""
28163 else
28164 ac_path_to_link=" -L$ac_find_libraries"
28165 fi
28166
28167 if test "$ac_path_to_link" != " -L/usr/lib" -a \
28168 "$ac_path_to_link" != "$LDFLAGS_GL"; then
28169 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
28170 fi
28171
28172 found_gl=1
28173 OPENGL_LIBS="-lGL -lGLU"
28174 echo "$as_me:$LINENO: result: yes" >&5
28175 echo "${ECHO_T}yes" >&6
28176 fi
28177 fi
28178
28179 if test "$found_gl" != 1; then
28180 echo "$as_me:$LINENO: result: no" >&5
28181 echo "${ECHO_T}no" >&6
28182 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
28183 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
28184
28185 ac_find_libraries=
28186 for ac_dir in $SEARCH_LIB /usr/lib;
28187 do
28188 for ac_extension in a so sl dylib; do
28189 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
28190 ac_find_libraries=$ac_dir
28191 break 2
28192 fi
28193 done
28194 done
28195
28196 if test "$ac_find_libraries" != "" ; then
28197
28198 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
28199 result=$?
28200 if test $result = 0; then
28201 ac_path_to_link=""
28202 else
28203 ac_path_to_link=" -L$ac_find_libraries"
28204 fi
28205
28206 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
28207 OPENGL_LIBS="-lMesaGL -lMesaGLU"
28208 echo "$as_me:$LINENO: result: yes" >&5
28209 echo "${ECHO_T}yes" >&6
28210 else
28211 echo "$as_me:$LINENO: result: no" >&5
28212 echo "${ECHO_T}no" >&6
28213 fi
28214 fi
28215
28216 fi
28217
28218
28219
28220 if test "x$OPENGL_LIBS" = "x"; then
28221 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
28222 echo "$as_me: error: OpenGL libraries not available" >&2;}
28223 { (exit 1); exit 1; }; }
28224 fi
28225 fi
28226
28227 if test "$wxUSE_OPENGL" = "yes"; then
28228 USE_OPENGL=1
28229 cat >>confdefs.h <<\_ACEOF
28230 #define wxUSE_OPENGL 1
28231 _ACEOF
28232
28233 cat >>confdefs.h <<\_ACEOF
28234 #define wxUSE_GLCANVAS 1
28235 _ACEOF
28236
28237 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
28238 fi
28239 fi
28240
28241
28242 if test -n "$TOOLKIT" ; then
28243 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
28244 fi
28245
28246
28247
28248 if test "$wxUSE_SHARED" = "yes"; then
28249 case "${host}" in
28250 *-pc-msdosdjgpp )
28251 wxUSE_SHARED=no
28252 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
28253 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
28254 ;;
28255 esac
28256 fi
28257
28258 if test "$wxUSE_SHARED" = "yes"; then
28259
28260
28261 found_versioning=no
28262
28263
28264 if test $found_versioning = no ; then
28265 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
28266 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
28267 if test "${wx_cv_version_script+set}" = set; then
28268 echo $ECHO_N "(cached) $ECHO_C" >&6
28269 else
28270
28271 echo "VER_1 { *; };" >conftest.sym
28272 echo "int main() { return 0; }" >conftest.cpp
28273
28274 if { ac_try='
28275 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
28276 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
28277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28278 (eval $ac_try) 2>&5
28279 ac_status=$?
28280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28281 (exit $ac_status); }; } ; then
28282 if test -s conftest.stderr ; then
28283 wx_cv_version_script=no
28284 else
28285 wx_cv_version_script=yes
28286 fi
28287 else
28288 wx_cv_version_script=no
28289 fi
28290 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
28291
28292 fi
28293 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
28294 echo "${ECHO_T}$wx_cv_version_script" >&6
28295 if test $wx_cv_version_script = yes ; then
28296 LDFLAGS_VERSIONING="-Wl,--version-script,\$(top_builddir)version-script"
28297 fi
28298 fi
28299
28300
28301 case "${host}" in
28302 *-*-linux* | *-*-gnu* )
28303 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(top_builddir)lib"
28304 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
28305 ;;
28306
28307 *-*-solaris2* )
28308 if test "$GCC" = yes ; then
28309 CPPFLAGS="$CPPFLAGS -isystem /usr/openwin/include"
28310
28311 saveLdflags="$LDFLAGS"
28312 LDFLAGS="$saveLdflags -Wl,-rpath,/"
28313 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
28314 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
28315 cat >conftest.$ac_ext <<_ACEOF
28316 /* confdefs.h. */
28317 _ACEOF
28318 cat confdefs.h >>conftest.$ac_ext
28319 cat >>conftest.$ac_ext <<_ACEOF
28320 /* end confdefs.h. */
28321
28322 int
28323 main ()
28324 {
28325
28326 ;
28327 return 0;
28328 }
28329 _ACEOF
28330 rm -f conftest.$ac_objext conftest$ac_exeext
28331 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28332 (eval $ac_link) 2>conftest.er1
28333 ac_status=$?
28334 grep -v '^ *+' conftest.er1 >conftest.err
28335 rm -f conftest.er1
28336 cat conftest.err >&5
28337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28338 (exit $ac_status); } &&
28339 { ac_try='test -z "$ac_c_werror_flag"
28340 || test ! -s conftest.err'
28341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28342 (eval $ac_try) 2>&5
28343 ac_status=$?
28344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28345 (exit $ac_status); }; } &&
28346 { ac_try='test -s conftest$ac_exeext'
28347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28348 (eval $ac_try) 2>&5
28349 ac_status=$?
28350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28351 (exit $ac_status); }; }; then
28352
28353 echo "$as_me:$LINENO: result: yes" >&5
28354 echo "${ECHO_T}yes" >&6
28355 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(top_builddir)lib"
28356 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
28357
28358 else
28359 echo "$as_me: failed program was:" >&5
28360 sed 's/^/| /' conftest.$ac_ext >&5
28361
28362
28363 echo "$as_me:$LINENO: result: no" >&5
28364 echo "${ECHO_T}no" >&6
28365 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
28366 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
28367 LDFLAGS="$saveLdflags -Wl,-R,/"
28368 cat >conftest.$ac_ext <<_ACEOF
28369 /* confdefs.h. */
28370 _ACEOF
28371 cat confdefs.h >>conftest.$ac_ext
28372 cat >>conftest.$ac_ext <<_ACEOF
28373 /* end confdefs.h. */
28374
28375 int
28376 main ()
28377 {
28378
28379 ;
28380 return 0;
28381 }
28382 _ACEOF
28383 rm -f conftest.$ac_objext conftest$ac_exeext
28384 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28385 (eval $ac_link) 2>conftest.er1
28386 ac_status=$?
28387 grep -v '^ *+' conftest.er1 >conftest.err
28388 rm -f conftest.er1
28389 cat conftest.err >&5
28390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28391 (exit $ac_status); } &&
28392 { ac_try='test -z "$ac_c_werror_flag"
28393 || test ! -s conftest.err'
28394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28395 (eval $ac_try) 2>&5
28396 ac_status=$?
28397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28398 (exit $ac_status); }; } &&
28399 { ac_try='test -s conftest$ac_exeext'
28400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28401 (eval $ac_try) 2>&5
28402 ac_status=$?
28403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28404 (exit $ac_status); }; }; then
28405
28406 echo "$as_me:$LINENO: result: yes" >&5
28407 echo "${ECHO_T}yes" >&6
28408 SAMPLES_RPATH_FLAG="-Wl,-R,\$(top_builddir)lib"
28409 WXCONFIG_RPATH="-Wl,-R,\$libdir"
28410
28411 else
28412 echo "$as_me: failed program was:" >&5
28413 sed 's/^/| /' conftest.$ac_ext >&5
28414
28415
28416 echo "$as_me:$LINENO: result: no" >&5
28417 echo "${ECHO_T}no" >&6
28418
28419 fi
28420 rm -f conftest.err conftest.$ac_objext \
28421 conftest$ac_exeext conftest.$ac_ext
28422
28423 fi
28424 rm -f conftest.err conftest.$ac_objext \
28425 conftest$ac_exeext conftest.$ac_ext
28426 LDFLAGS="$saveLdflags"
28427 else
28428 SAMPLES_RPATH_FLAG="-R\$(top_builddir)lib"
28429 WXCONFIG_RPATH="-R\$libdir"
28430 fi
28431 ;;
28432
28433 powerpc-*-darwin* )
28434 SAMPLES_RPATH_POSTLINK="\$(top_builddir)change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
28435 cat <<EOF >change-install-names
28436 #!/bin/sh
28437 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
28438 inst_cmd="install_name_tool "
28439 for i in \${libnames} ; do
28440 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
28441 done
28442 \${inst_cmd} \${3}
28443 EOF
28444 chmod +x change-install-names
28445 ;;
28446
28447 *-*-cygwin* | *-*-mingw32* )
28448 TOOLCHAIN_DLL_DEFS="${TOOLCHAIN_DLL_DEFS} -DWXUSINGDLL=1"
28449 ;;
28450
28451 esac
28452
28453 if test $wxUSE_RPATH = "no"; then
28454 SAMPLES_RPATH_FLAG=''
28455 SAMPLES_RPATH_POSTLINK=''
28456 WXCONFIG_RPATH=''
28457 fi
28458
28459 SHARED=1
28460
28461 else
28462
28463 config_linkage_component="-static"
28464 SHARED=0
28465
28466 fi
28467
28468
28469 UNICODE=0
28470 lib_unicode_suffix=
28471 WX_CHARTYPE="ansi"
28472 if test "$wxUSE_UNICODE" = "yes"; then
28473 lib_unicode_suffix=u
28474 WX_CHARTYPE="unicode"
28475 UNICODE=1
28476 fi
28477
28478 lib_debug_suffix=
28479 WX_DEBUGTYPE="release"
28480 DEBUG_FLAG=0
28481 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
28482 lib_debug_suffix=d
28483 WX_DEBUGTYPE="debug"
28484 DEBUG_FLAG=1
28485 fi
28486
28487 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
28488 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
28489
28490 DEBUG_INFO=0
28491 if test "$wxUSE_DEBUG_INFO" = "yes"; then
28492 DEBUG_INFO=1
28493 fi
28494
28495 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
28496
28497 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
28498
28499 TOOLCHAIN_FULLNAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
28500
28501 if test "$cross_compiling" = "yes"; then
28502 HOST_SUFFIX="-$host_alias"
28503 TOOLCHAIN_NAME="$TOOLCHAIN_NAME$HOST_SUFFIX"
28504 TOOLCHAIN_FULLNAME="${host_alias}-$TOOLCHAIN_FULLNAME"
28505 fi
28506
28507 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
28508 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
28509
28510
28511
28512 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
28513 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
28514 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
28515
28516 LIBWXMACRES="\$(top_builddir)lib/${WX_RESOURCES_MACOSX_ASCII}"
28517
28518 # Extract the first word of "Rez", so it can be a program name with args.
28519 set dummy Rez; ac_word=$2
28520 echo "$as_me:$LINENO: checking for $ac_word" >&5
28521 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28522 if test "${ac_cv_prog_RESCOMP+set}" = set; then
28523 echo $ECHO_N "(cached) $ECHO_C" >&6
28524 else
28525 if test -n "$RESCOMP"; then
28526 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
28527 else
28528 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28529 for as_dir in $PATH
28530 do
28531 IFS=$as_save_IFS
28532 test -z "$as_dir" && as_dir=.
28533 for ac_exec_ext in '' $ac_executable_extensions; do
28534 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28535 ac_cv_prog_RESCOMP="Rez"
28536 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28537 break 2
28538 fi
28539 done
28540 done
28541
28542 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="/Developer/Tools/Rez"
28543 fi
28544 fi
28545 RESCOMP=$ac_cv_prog_RESCOMP
28546 if test -n "$RESCOMP"; then
28547 echo "$as_me:$LINENO: result: $RESCOMP" >&5
28548 echo "${ECHO_T}$RESCOMP" >&6
28549 else
28550 echo "$as_me:$LINENO: result: no" >&5
28551 echo "${ECHO_T}no" >&6
28552 fi
28553
28554 # Extract the first word of "DeRez", so it can be a program name with args.
28555 set dummy DeRez; ac_word=$2
28556 echo "$as_me:$LINENO: checking for $ac_word" >&5
28557 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28558 if test "${ac_cv_prog_DEREZ+set}" = set; then
28559 echo $ECHO_N "(cached) $ECHO_C" >&6
28560 else
28561 if test -n "$DEREZ"; then
28562 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
28563 else
28564 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28565 for as_dir in $PATH
28566 do
28567 IFS=$as_save_IFS
28568 test -z "$as_dir" && as_dir=.
28569 for ac_exec_ext in '' $ac_executable_extensions; do
28570 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28571 ac_cv_prog_DEREZ="DeRez"
28572 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28573 break 2
28574 fi
28575 done
28576 done
28577
28578 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
28579 fi
28580 fi
28581 DEREZ=$ac_cv_prog_DEREZ
28582 if test -n "$DEREZ"; then
28583 echo "$as_me:$LINENO: result: $DEREZ" >&5
28584 echo "${ECHO_T}$DEREZ" >&6
28585 else
28586 echo "$as_me:$LINENO: result: no" >&5
28587 echo "${ECHO_T}no" >&6
28588 fi
28589
28590 # Extract the first word of "SetFile", so it can be a program name with args.
28591 set dummy SetFile; ac_word=$2
28592 echo "$as_me:$LINENO: checking for $ac_word" >&5
28593 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28594 if test "${ac_cv_prog_SETFILE+set}" = set; then
28595 echo $ECHO_N "(cached) $ECHO_C" >&6
28596 else
28597 if test -n "$SETFILE"; then
28598 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
28599 else
28600 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28601 for as_dir in $PATH
28602 do
28603 IFS=$as_save_IFS
28604 test -z "$as_dir" && as_dir=.
28605 for ac_exec_ext in '' $ac_executable_extensions; do
28606 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28607 ac_cv_prog_SETFILE="SetFile"
28608 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28609 break 2
28610 fi
28611 done
28612 done
28613
28614 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
28615 fi
28616 fi
28617 SETFILE=$ac_cv_prog_SETFILE
28618 if test -n "$SETFILE"; then
28619 echo "$as_me:$LINENO: result: $SETFILE" >&5
28620 echo "${ECHO_T}$SETFILE" >&6
28621 else
28622 echo "$as_me:$LINENO: result: no" >&5
28623 echo "${ECHO_T}no" >&6
28624 fi
28625
28626
28627 MACSETFILE="\$(SETFILE)"
28628
28629 if test "$wxUSE_MAC" = 1; then
28630 MACRESCOMP="\$(RESCOMP) -d __DARWIN__ -t APPL Carbon.r ${LIBWXMACRES} -o"
28631
28632 MACRESWXCONFIG="${RESCOMP} -d __DARWIN__ -t APPL Carbon.r \\\${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
28633 else
28634 MACRESCOMP="echo -n | \$(RESCOMP) -d __DARWIN__ -t APPL ${LIBWXMACRES} -o"
28635 MACRESWXCONFIG="echo -n \\\| ${RESCOMP} -d __DARWIN__ -t APPL \\\${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
28636 fi
28637 else
28638 MACSETFILE="@true"
28639 MACRESWXCONFIG="@true"
28640
28641 if test "$wxUSE_PM" = 1; then
28642 MACRESCOMP="emxbind -ep"
28643 else
28644 MACRESCOMP="@true"
28645 fi
28646 fi
28647
28648
28649
28650 echo "$as_me:$LINENO: checking for mode_t" >&5
28651 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
28652 if test "${ac_cv_type_mode_t+set}" = set; then
28653 echo $ECHO_N "(cached) $ECHO_C" >&6
28654 else
28655 cat >conftest.$ac_ext <<_ACEOF
28656 /* confdefs.h. */
28657 _ACEOF
28658 cat confdefs.h >>conftest.$ac_ext
28659 cat >>conftest.$ac_ext <<_ACEOF
28660 /* end confdefs.h. */
28661 $ac_includes_default
28662 int
28663 main ()
28664 {
28665 if ((mode_t *) 0)
28666 return 0;
28667 if (sizeof (mode_t))
28668 return 0;
28669 ;
28670 return 0;
28671 }
28672 _ACEOF
28673 rm -f conftest.$ac_objext
28674 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28675 (eval $ac_compile) 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_objext'
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_type_mode_t=yes
28696 else
28697 echo "$as_me: failed program was:" >&5
28698 sed 's/^/| /' conftest.$ac_ext >&5
28699
28700 ac_cv_type_mode_t=no
28701 fi
28702 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28703 fi
28704 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
28705 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
28706 if test $ac_cv_type_mode_t = yes; then
28707 :
28708 else
28709
28710 cat >>confdefs.h <<_ACEOF
28711 #define mode_t int
28712 _ACEOF
28713
28714 fi
28715
28716 echo "$as_me:$LINENO: checking for off_t" >&5
28717 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
28718 if test "${ac_cv_type_off_t+set}" = set; then
28719 echo $ECHO_N "(cached) $ECHO_C" >&6
28720 else
28721 cat >conftest.$ac_ext <<_ACEOF
28722 /* confdefs.h. */
28723 _ACEOF
28724 cat confdefs.h >>conftest.$ac_ext
28725 cat >>conftest.$ac_ext <<_ACEOF
28726 /* end confdefs.h. */
28727 $ac_includes_default
28728 int
28729 main ()
28730 {
28731 if ((off_t *) 0)
28732 return 0;
28733 if (sizeof (off_t))
28734 return 0;
28735 ;
28736 return 0;
28737 }
28738 _ACEOF
28739 rm -f conftest.$ac_objext
28740 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28741 (eval $ac_compile) 2>conftest.er1
28742 ac_status=$?
28743 grep -v '^ *+' conftest.er1 >conftest.err
28744 rm -f conftest.er1
28745 cat conftest.err >&5
28746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28747 (exit $ac_status); } &&
28748 { ac_try='test -z "$ac_c_werror_flag"
28749 || test ! -s conftest.err'
28750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28751 (eval $ac_try) 2>&5
28752 ac_status=$?
28753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28754 (exit $ac_status); }; } &&
28755 { ac_try='test -s conftest.$ac_objext'
28756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28757 (eval $ac_try) 2>&5
28758 ac_status=$?
28759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28760 (exit $ac_status); }; }; then
28761 ac_cv_type_off_t=yes
28762 else
28763 echo "$as_me: failed program was:" >&5
28764 sed 's/^/| /' conftest.$ac_ext >&5
28765
28766 ac_cv_type_off_t=no
28767 fi
28768 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28769 fi
28770 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
28771 echo "${ECHO_T}$ac_cv_type_off_t" >&6
28772 if test $ac_cv_type_off_t = yes; then
28773 :
28774 else
28775
28776 cat >>confdefs.h <<_ACEOF
28777 #define off_t long
28778 _ACEOF
28779
28780 fi
28781
28782 echo "$as_me:$LINENO: checking for pid_t" >&5
28783 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
28784 if test "${ac_cv_type_pid_t+set}" = set; then
28785 echo $ECHO_N "(cached) $ECHO_C" >&6
28786 else
28787 cat >conftest.$ac_ext <<_ACEOF
28788 /* confdefs.h. */
28789 _ACEOF
28790 cat confdefs.h >>conftest.$ac_ext
28791 cat >>conftest.$ac_ext <<_ACEOF
28792 /* end confdefs.h. */
28793 $ac_includes_default
28794 int
28795 main ()
28796 {
28797 if ((pid_t *) 0)
28798 return 0;
28799 if (sizeof (pid_t))
28800 return 0;
28801 ;
28802 return 0;
28803 }
28804 _ACEOF
28805 rm -f conftest.$ac_objext
28806 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28807 (eval $ac_compile) 2>conftest.er1
28808 ac_status=$?
28809 grep -v '^ *+' conftest.er1 >conftest.err
28810 rm -f conftest.er1
28811 cat conftest.err >&5
28812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28813 (exit $ac_status); } &&
28814 { ac_try='test -z "$ac_c_werror_flag"
28815 || test ! -s conftest.err'
28816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28817 (eval $ac_try) 2>&5
28818 ac_status=$?
28819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28820 (exit $ac_status); }; } &&
28821 { ac_try='test -s conftest.$ac_objext'
28822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28823 (eval $ac_try) 2>&5
28824 ac_status=$?
28825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28826 (exit $ac_status); }; }; then
28827 ac_cv_type_pid_t=yes
28828 else
28829 echo "$as_me: failed program was:" >&5
28830 sed 's/^/| /' conftest.$ac_ext >&5
28831
28832 ac_cv_type_pid_t=no
28833 fi
28834 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28835 fi
28836 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
28837 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
28838 if test $ac_cv_type_pid_t = yes; then
28839 :
28840 else
28841
28842 cat >>confdefs.h <<_ACEOF
28843 #define pid_t int
28844 _ACEOF
28845
28846 fi
28847
28848 echo "$as_me:$LINENO: checking for size_t" >&5
28849 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
28850 if test "${ac_cv_type_size_t+set}" = set; then
28851 echo $ECHO_N "(cached) $ECHO_C" >&6
28852 else
28853 cat >conftest.$ac_ext <<_ACEOF
28854 /* confdefs.h. */
28855 _ACEOF
28856 cat confdefs.h >>conftest.$ac_ext
28857 cat >>conftest.$ac_ext <<_ACEOF
28858 /* end confdefs.h. */
28859 $ac_includes_default
28860 int
28861 main ()
28862 {
28863 if ((size_t *) 0)
28864 return 0;
28865 if (sizeof (size_t))
28866 return 0;
28867 ;
28868 return 0;
28869 }
28870 _ACEOF
28871 rm -f conftest.$ac_objext
28872 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28873 (eval $ac_compile) 2>conftest.er1
28874 ac_status=$?
28875 grep -v '^ *+' conftest.er1 >conftest.err
28876 rm -f conftest.er1
28877 cat conftest.err >&5
28878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28879 (exit $ac_status); } &&
28880 { ac_try='test -z "$ac_c_werror_flag"
28881 || test ! -s conftest.err'
28882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28883 (eval $ac_try) 2>&5
28884 ac_status=$?
28885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28886 (exit $ac_status); }; } &&
28887 { ac_try='test -s conftest.$ac_objext'
28888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28889 (eval $ac_try) 2>&5
28890 ac_status=$?
28891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28892 (exit $ac_status); }; }; then
28893 ac_cv_type_size_t=yes
28894 else
28895 echo "$as_me: failed program was:" >&5
28896 sed 's/^/| /' conftest.$ac_ext >&5
28897
28898 ac_cv_type_size_t=no
28899 fi
28900 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28901 fi
28902 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
28903 echo "${ECHO_T}$ac_cv_type_size_t" >&6
28904 if test $ac_cv_type_size_t = yes; then
28905 :
28906 else
28907
28908 cat >>confdefs.h <<_ACEOF
28909 #define size_t unsigned
28910 _ACEOF
28911
28912 fi
28913
28914 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
28915 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
28916 if test "${ac_cv_type_uid_t+set}" = set; then
28917 echo $ECHO_N "(cached) $ECHO_C" >&6
28918 else
28919 cat >conftest.$ac_ext <<_ACEOF
28920 /* confdefs.h. */
28921 _ACEOF
28922 cat confdefs.h >>conftest.$ac_ext
28923 cat >>conftest.$ac_ext <<_ACEOF
28924 /* end confdefs.h. */
28925 #include <sys/types.h>
28926
28927 _ACEOF
28928 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
28929 $EGREP "uid_t" >/dev/null 2>&1; then
28930 ac_cv_type_uid_t=yes
28931 else
28932 ac_cv_type_uid_t=no
28933 fi
28934 rm -f conftest*
28935
28936 fi
28937 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
28938 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
28939 if test $ac_cv_type_uid_t = no; then
28940
28941 cat >>confdefs.h <<\_ACEOF
28942 #define uid_t int
28943 _ACEOF
28944
28945
28946 cat >>confdefs.h <<\_ACEOF
28947 #define gid_t int
28948 _ACEOF
28949
28950 fi
28951
28952
28953 echo "$as_me:$LINENO: checking for ssize_t" >&5
28954 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
28955 if test "${ac_cv_type_ssize_t+set}" = set; then
28956 echo $ECHO_N "(cached) $ECHO_C" >&6
28957 else
28958 cat >conftest.$ac_ext <<_ACEOF
28959 /* confdefs.h. */
28960 _ACEOF
28961 cat confdefs.h >>conftest.$ac_ext
28962 cat >>conftest.$ac_ext <<_ACEOF
28963 /* end confdefs.h. */
28964 $ac_includes_default
28965 int
28966 main ()
28967 {
28968 if ((ssize_t *) 0)
28969 return 0;
28970 if (sizeof (ssize_t))
28971 return 0;
28972 ;
28973 return 0;
28974 }
28975 _ACEOF
28976 rm -f conftest.$ac_objext
28977 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28978 (eval $ac_compile) 2>conftest.er1
28979 ac_status=$?
28980 grep -v '^ *+' conftest.er1 >conftest.err
28981 rm -f conftest.er1
28982 cat conftest.err >&5
28983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28984 (exit $ac_status); } &&
28985 { ac_try='test -z "$ac_c_werror_flag"
28986 || test ! -s conftest.err'
28987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28988 (eval $ac_try) 2>&5
28989 ac_status=$?
28990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28991 (exit $ac_status); }; } &&
28992 { ac_try='test -s conftest.$ac_objext'
28993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28994 (eval $ac_try) 2>&5
28995 ac_status=$?
28996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28997 (exit $ac_status); }; }; then
28998 ac_cv_type_ssize_t=yes
28999 else
29000 echo "$as_me: failed program was:" >&5
29001 sed 's/^/| /' conftest.$ac_ext >&5
29002
29003 ac_cv_type_ssize_t=no
29004 fi
29005 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29006 fi
29007 echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
29008 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
29009 if test $ac_cv_type_ssize_t = yes; then
29010
29011 cat >>confdefs.h <<_ACEOF
29012 #define HAVE_SSIZE_T 1
29013 _ACEOF
29014
29015
29016 fi
29017
29018
29019
29020
29021 ac_ext=cc
29022 ac_cpp='$CXXCPP $CPPFLAGS'
29023 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29024 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29025 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29026
29027 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
29028 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
29029 if test "${wx_cv_size_t_is_uint+set}" = set; then
29030 echo $ECHO_N "(cached) $ECHO_C" >&6
29031 else
29032
29033 cat >conftest.$ac_ext <<_ACEOF
29034 /* confdefs.h. */
29035 _ACEOF
29036 cat confdefs.h >>conftest.$ac_ext
29037 cat >>conftest.$ac_ext <<_ACEOF
29038 /* end confdefs.h. */
29039 #include <stddef.h>
29040 int
29041 main ()
29042 {
29043
29044 return 0; }
29045
29046 struct Foo { void foo(size_t); void foo(unsigned int); };
29047
29048 int bar() {
29049
29050 ;
29051 return 0;
29052 }
29053 _ACEOF
29054 rm -f conftest.$ac_objext
29055 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29056 (eval $ac_compile) 2>conftest.er1
29057 ac_status=$?
29058 grep -v '^ *+' conftest.er1 >conftest.err
29059 rm -f conftest.er1
29060 cat conftest.err >&5
29061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29062 (exit $ac_status); } &&
29063 { ac_try='test -z "$ac_cxx_werror_flag"
29064 || test ! -s conftest.err'
29065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29066 (eval $ac_try) 2>&5
29067 ac_status=$?
29068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29069 (exit $ac_status); }; } &&
29070 { ac_try='test -s conftest.$ac_objext'
29071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29072 (eval $ac_try) 2>&5
29073 ac_status=$?
29074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29075 (exit $ac_status); }; }; then
29076 wx_cv_size_t_is_uint=no
29077 else
29078 echo "$as_me: failed program was:" >&5
29079 sed 's/^/| /' conftest.$ac_ext >&5
29080
29081 wx_cv_size_t_is_uint=yes
29082
29083 fi
29084 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29085
29086
29087 fi
29088 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
29089 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
29090
29091 if test "$wx_cv_size_t_is_uint" = "yes"; then
29092 cat >>confdefs.h <<\_ACEOF
29093 #define wxSIZE_T_IS_UINT 1
29094 _ACEOF
29095
29096 else
29097 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
29098 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
29099 if test "${wx_cv_size_t_is_ulong+set}" = set; then
29100 echo $ECHO_N "(cached) $ECHO_C" >&6
29101 else
29102 cat >conftest.$ac_ext <<_ACEOF
29103 /* confdefs.h. */
29104 _ACEOF
29105 cat confdefs.h >>conftest.$ac_ext
29106 cat >>conftest.$ac_ext <<_ACEOF
29107 /* end confdefs.h. */
29108 #include <stddef.h>
29109 int
29110 main ()
29111 {
29112
29113 return 0; }
29114
29115 struct Foo { void foo(size_t); void foo(unsigned long); };
29116
29117 int bar() {
29118
29119 ;
29120 return 0;
29121 }
29122 _ACEOF
29123 rm -f conftest.$ac_objext
29124 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29125 (eval $ac_compile) 2>conftest.er1
29126 ac_status=$?
29127 grep -v '^ *+' conftest.er1 >conftest.err
29128 rm -f conftest.er1
29129 cat conftest.err >&5
29130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29131 (exit $ac_status); } &&
29132 { ac_try='test -z "$ac_cxx_werror_flag"
29133 || test ! -s conftest.err'
29134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29135 (eval $ac_try) 2>&5
29136 ac_status=$?
29137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29138 (exit $ac_status); }; } &&
29139 { ac_try='test -s conftest.$ac_objext'
29140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29141 (eval $ac_try) 2>&5
29142 ac_status=$?
29143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29144 (exit $ac_status); }; }; then
29145 wx_cv_size_t_is_ulong=no
29146 else
29147 echo "$as_me: failed program was:" >&5
29148 sed 's/^/| /' conftest.$ac_ext >&5
29149
29150 wx_cv_size_t_is_ulong=yes
29151
29152 fi
29153 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29154
29155 fi
29156 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
29157 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
29158
29159 if test "$wx_cv_size_t_is_ulong" = "yes"; then
29160 cat >>confdefs.h <<\_ACEOF
29161 #define wxSIZE_T_IS_ULONG 1
29162 _ACEOF
29163
29164 fi
29165 fi
29166
29167 ac_ext=c
29168 ac_cpp='$CPP $CPPFLAGS'
29169 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29170 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29171 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29172
29173
29174
29175 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
29176 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
29177 if test "${wx_cv_struct_pw_gecos+set}" = set; then
29178 echo $ECHO_N "(cached) $ECHO_C" >&6
29179 else
29180
29181 cat >conftest.$ac_ext <<_ACEOF
29182 /* confdefs.h. */
29183 _ACEOF
29184 cat confdefs.h >>conftest.$ac_ext
29185 cat >>conftest.$ac_ext <<_ACEOF
29186 /* end confdefs.h. */
29187 #include <pwd.h>
29188 int
29189 main ()
29190 {
29191
29192 char *p;
29193 struct passwd *pw;
29194 p = pw->pw_gecos;
29195
29196 ;
29197 return 0;
29198 }
29199 _ACEOF
29200 rm -f conftest.$ac_objext
29201 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29202 (eval $ac_compile) 2>conftest.er1
29203 ac_status=$?
29204 grep -v '^ *+' conftest.er1 >conftest.err
29205 rm -f conftest.er1
29206 cat conftest.err >&5
29207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29208 (exit $ac_status); } &&
29209 { ac_try='test -z "$ac_c_werror_flag"
29210 || test ! -s conftest.err'
29211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29212 (eval $ac_try) 2>&5
29213 ac_status=$?
29214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29215 (exit $ac_status); }; } &&
29216 { ac_try='test -s conftest.$ac_objext'
29217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29218 (eval $ac_try) 2>&5
29219 ac_status=$?
29220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29221 (exit $ac_status); }; }; then
29222
29223 wx_cv_struct_pw_gecos=yes
29224
29225 else
29226 echo "$as_me: failed program was:" >&5
29227 sed 's/^/| /' conftest.$ac_ext >&5
29228
29229
29230 wx_cv_struct_pw_gecos=no
29231
29232
29233 fi
29234 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29235
29236
29237 fi
29238 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
29239 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
29240
29241 if test "$wx_cv_struct_pw_gecos" = "yes"; then
29242 cat >>confdefs.h <<\_ACEOF
29243 #define HAVE_PW_GECOS 1
29244 _ACEOF
29245
29246 fi
29247
29248
29249 if test "$wx_cv_sizeof_wchar_t" != "0"; then
29250 cat >>confdefs.h <<\_ACEOF
29251 #define wxUSE_WCHAR_T 1
29252 _ACEOF
29253
29254
29255 WCSLEN_FOUND=0
29256 WCHAR_LINK=
29257
29258 for ac_func in wcslen
29259 do
29260 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29261 echo "$as_me:$LINENO: checking for $ac_func" >&5
29262 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29263 if eval "test \"\${$as_ac_var+set}\" = set"; then
29264 echo $ECHO_N "(cached) $ECHO_C" >&6
29265 else
29266 cat >conftest.$ac_ext <<_ACEOF
29267 /* confdefs.h. */
29268 _ACEOF
29269 cat confdefs.h >>conftest.$ac_ext
29270 cat >>conftest.$ac_ext <<_ACEOF
29271 /* end confdefs.h. */
29272 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29273 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29274 #define $ac_func innocuous_$ac_func
29275
29276 /* System header to define __stub macros and hopefully few prototypes,
29277 which can conflict with char $ac_func (); below.
29278 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29279 <limits.h> exists even on freestanding compilers. */
29280
29281 #ifdef __STDC__
29282 # include <limits.h>
29283 #else
29284 # include <assert.h>
29285 #endif
29286
29287 #undef $ac_func
29288
29289 /* Override any gcc2 internal prototype to avoid an error. */
29290 #ifdef __cplusplus
29291 extern "C"
29292 {
29293 #endif
29294 /* We use char because int might match the return type of a gcc2
29295 builtin and then its argument prototype would still apply. */
29296 char $ac_func ();
29297 /* The GNU C library defines this for functions which it implements
29298 to always fail with ENOSYS. Some functions are actually named
29299 something starting with __ and the normal name is an alias. */
29300 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29301 choke me
29302 #else
29303 char (*f) () = $ac_func;
29304 #endif
29305 #ifdef __cplusplus
29306 }
29307 #endif
29308
29309 int
29310 main ()
29311 {
29312 return f != $ac_func;
29313 ;
29314 return 0;
29315 }
29316 _ACEOF
29317 rm -f conftest.$ac_objext conftest$ac_exeext
29318 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29319 (eval $ac_link) 2>conftest.er1
29320 ac_status=$?
29321 grep -v '^ *+' conftest.er1 >conftest.err
29322 rm -f conftest.er1
29323 cat conftest.err >&5
29324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29325 (exit $ac_status); } &&
29326 { ac_try='test -z "$ac_c_werror_flag"
29327 || test ! -s conftest.err'
29328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29329 (eval $ac_try) 2>&5
29330 ac_status=$?
29331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29332 (exit $ac_status); }; } &&
29333 { ac_try='test -s conftest$ac_exeext'
29334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29335 (eval $ac_try) 2>&5
29336 ac_status=$?
29337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29338 (exit $ac_status); }; }; then
29339 eval "$as_ac_var=yes"
29340 else
29341 echo "$as_me: failed program was:" >&5
29342 sed 's/^/| /' conftest.$ac_ext >&5
29343
29344 eval "$as_ac_var=no"
29345 fi
29346 rm -f conftest.err conftest.$ac_objext \
29347 conftest$ac_exeext conftest.$ac_ext
29348 fi
29349 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29350 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29351 if test `eval echo '${'$as_ac_var'}'` = yes; then
29352 cat >>confdefs.h <<_ACEOF
29353 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29354 _ACEOF
29355 WCSLEN_FOUND=1
29356 fi
29357 done
29358
29359
29360 if test "$WCSLEN_FOUND" = 0; then
29361 if test "$TOOLKIT" = "MSW"; then
29362 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
29363 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
29364 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
29365 echo $ECHO_N "(cached) $ECHO_C" >&6
29366 else
29367 ac_check_lib_save_LIBS=$LIBS
29368 LIBS="-lmsvcrt $LIBS"
29369 cat >conftest.$ac_ext <<_ACEOF
29370 /* confdefs.h. */
29371 _ACEOF
29372 cat confdefs.h >>conftest.$ac_ext
29373 cat >>conftest.$ac_ext <<_ACEOF
29374 /* end confdefs.h. */
29375
29376 /* Override any gcc2 internal prototype to avoid an error. */
29377 #ifdef __cplusplus
29378 extern "C"
29379 #endif
29380 /* We use char because int might match the return type of a gcc2
29381 builtin and then its argument prototype would still apply. */
29382 char wcslen ();
29383 int
29384 main ()
29385 {
29386 wcslen ();
29387 ;
29388 return 0;
29389 }
29390 _ACEOF
29391 rm -f conftest.$ac_objext conftest$ac_exeext
29392 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29393 (eval $ac_link) 2>conftest.er1
29394 ac_status=$?
29395 grep -v '^ *+' conftest.er1 >conftest.err
29396 rm -f conftest.er1
29397 cat conftest.err >&5
29398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29399 (exit $ac_status); } &&
29400 { ac_try='test -z "$ac_c_werror_flag"
29401 || test ! -s conftest.err'
29402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29403 (eval $ac_try) 2>&5
29404 ac_status=$?
29405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29406 (exit $ac_status); }; } &&
29407 { ac_try='test -s conftest$ac_exeext'
29408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29409 (eval $ac_try) 2>&5
29410 ac_status=$?
29411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29412 (exit $ac_status); }; }; then
29413 ac_cv_lib_msvcrt_wcslen=yes
29414 else
29415 echo "$as_me: failed program was:" >&5
29416 sed 's/^/| /' conftest.$ac_ext >&5
29417
29418 ac_cv_lib_msvcrt_wcslen=no
29419 fi
29420 rm -f conftest.err conftest.$ac_objext \
29421 conftest$ac_exeext conftest.$ac_ext
29422 LIBS=$ac_check_lib_save_LIBS
29423 fi
29424 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
29425 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
29426 if test $ac_cv_lib_msvcrt_wcslen = yes; then
29427 WCHAR_OK=1
29428 fi
29429
29430 else
29431 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
29432 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
29433 if test "${ac_cv_lib_w_wcslen+set}" = set; then
29434 echo $ECHO_N "(cached) $ECHO_C" >&6
29435 else
29436 ac_check_lib_save_LIBS=$LIBS
29437 LIBS="-lw $LIBS"
29438 cat >conftest.$ac_ext <<_ACEOF
29439 /* confdefs.h. */
29440 _ACEOF
29441 cat confdefs.h >>conftest.$ac_ext
29442 cat >>conftest.$ac_ext <<_ACEOF
29443 /* end confdefs.h. */
29444
29445 /* Override any gcc2 internal prototype to avoid an error. */
29446 #ifdef __cplusplus
29447 extern "C"
29448 #endif
29449 /* We use char because int might match the return type of a gcc2
29450 builtin and then its argument prototype would still apply. */
29451 char wcslen ();
29452 int
29453 main ()
29454 {
29455 wcslen ();
29456 ;
29457 return 0;
29458 }
29459 _ACEOF
29460 rm -f conftest.$ac_objext conftest$ac_exeext
29461 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29462 (eval $ac_link) 2>conftest.er1
29463 ac_status=$?
29464 grep -v '^ *+' conftest.er1 >conftest.err
29465 rm -f conftest.er1
29466 cat conftest.err >&5
29467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29468 (exit $ac_status); } &&
29469 { ac_try='test -z "$ac_c_werror_flag"
29470 || test ! -s conftest.err'
29471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29472 (eval $ac_try) 2>&5
29473 ac_status=$?
29474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29475 (exit $ac_status); }; } &&
29476 { ac_try='test -s conftest$ac_exeext'
29477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29478 (eval $ac_try) 2>&5
29479 ac_status=$?
29480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29481 (exit $ac_status); }; }; then
29482 ac_cv_lib_w_wcslen=yes
29483 else
29484 echo "$as_me: failed program was:" >&5
29485 sed 's/^/| /' conftest.$ac_ext >&5
29486
29487 ac_cv_lib_w_wcslen=no
29488 fi
29489 rm -f conftest.err conftest.$ac_objext \
29490 conftest$ac_exeext conftest.$ac_ext
29491 LIBS=$ac_check_lib_save_LIBS
29492 fi
29493 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
29494 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
29495 if test $ac_cv_lib_w_wcslen = yes; then
29496
29497 WCHAR_LINK=" -lw"
29498 WCSLEN_FOUND=1
29499
29500 fi
29501
29502 fi
29503 fi
29504
29505 if test "$WCSLEN_FOUND" = 1; then
29506 cat >>confdefs.h <<\_ACEOF
29507 #define HAVE_WCSLEN 1
29508 _ACEOF
29509
29510 fi
29511
29512 if test "$USE_HPUX" = 1 -a "x$GCC" != "xyes"; then
29513 CPPFLAGS="$CPPFLAGS -D_INCLUDE__STDC_A1_SOURCE "
29514 fi
29515
29516
29517 for ac_func in wcsrtombs
29518 do
29519 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29520 echo "$as_me:$LINENO: checking for $ac_func" >&5
29521 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29522 if eval "test \"\${$as_ac_var+set}\" = set"; then
29523 echo $ECHO_N "(cached) $ECHO_C" >&6
29524 else
29525 cat >conftest.$ac_ext <<_ACEOF
29526 /* confdefs.h. */
29527 _ACEOF
29528 cat confdefs.h >>conftest.$ac_ext
29529 cat >>conftest.$ac_ext <<_ACEOF
29530 /* end confdefs.h. */
29531 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29532 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29533 #define $ac_func innocuous_$ac_func
29534
29535 /* System header to define __stub macros and hopefully few prototypes,
29536 which can conflict with char $ac_func (); below.
29537 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29538 <limits.h> exists even on freestanding compilers. */
29539
29540 #ifdef __STDC__
29541 # include <limits.h>
29542 #else
29543 # include <assert.h>
29544 #endif
29545
29546 #undef $ac_func
29547
29548 /* Override any gcc2 internal prototype to avoid an error. */
29549 #ifdef __cplusplus
29550 extern "C"
29551 {
29552 #endif
29553 /* We use char because int might match the return type of a gcc2
29554 builtin and then its argument prototype would still apply. */
29555 char $ac_func ();
29556 /* The GNU C library defines this for functions which it implements
29557 to always fail with ENOSYS. Some functions are actually named
29558 something starting with __ and the normal name is an alias. */
29559 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29560 choke me
29561 #else
29562 char (*f) () = $ac_func;
29563 #endif
29564 #ifdef __cplusplus
29565 }
29566 #endif
29567
29568 int
29569 main ()
29570 {
29571 return f != $ac_func;
29572 ;
29573 return 0;
29574 }
29575 _ACEOF
29576 rm -f conftest.$ac_objext conftest$ac_exeext
29577 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29578 (eval $ac_link) 2>conftest.er1
29579 ac_status=$?
29580 grep -v '^ *+' conftest.er1 >conftest.err
29581 rm -f conftest.er1
29582 cat conftest.err >&5
29583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29584 (exit $ac_status); } &&
29585 { ac_try='test -z "$ac_c_werror_flag"
29586 || test ! -s conftest.err'
29587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29588 (eval $ac_try) 2>&5
29589 ac_status=$?
29590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29591 (exit $ac_status); }; } &&
29592 { ac_try='test -s conftest$ac_exeext'
29593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29594 (eval $ac_try) 2>&5
29595 ac_status=$?
29596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29597 (exit $ac_status); }; }; then
29598 eval "$as_ac_var=yes"
29599 else
29600 echo "$as_me: failed program was:" >&5
29601 sed 's/^/| /' conftest.$ac_ext >&5
29602
29603 eval "$as_ac_var=no"
29604 fi
29605 rm -f conftest.err conftest.$ac_objext \
29606 conftest$ac_exeext conftest.$ac_ext
29607 fi
29608 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29609 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29610 if test `eval echo '${'$as_ac_var'}'` = yes; then
29611 cat >>confdefs.h <<_ACEOF
29612 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29613 _ACEOF
29614
29615 fi
29616 done
29617
29618 else
29619 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
29620 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
29621 fi
29622
29623
29624
29625 ac_ext=cc
29626 ac_cpp='$CXXCPP $CPPFLAGS'
29627 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29628 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29629 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29630
29631
29632
29633 for ac_func in vsnprintf
29634 do
29635 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29636 echo "$as_me:$LINENO: checking for $ac_func" >&5
29637 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29638 if eval "test \"\${$as_ac_var+set}\" = set"; then
29639 echo $ECHO_N "(cached) $ECHO_C" >&6
29640 else
29641 cat >conftest.$ac_ext <<_ACEOF
29642 /* confdefs.h. */
29643 _ACEOF
29644 cat confdefs.h >>conftest.$ac_ext
29645 cat >>conftest.$ac_ext <<_ACEOF
29646 /* end confdefs.h. */
29647 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29648 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29649 #define $ac_func innocuous_$ac_func
29650
29651 /* System header to define __stub macros and hopefully few prototypes,
29652 which can conflict with char $ac_func (); below.
29653 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29654 <limits.h> exists even on freestanding compilers. */
29655
29656 #ifdef __STDC__
29657 # include <limits.h>
29658 #else
29659 # include <assert.h>
29660 #endif
29661
29662 #undef $ac_func
29663
29664 /* Override any gcc2 internal prototype to avoid an error. */
29665 #ifdef __cplusplus
29666 extern "C"
29667 {
29668 #endif
29669 /* We use char because int might match the return type of a gcc2
29670 builtin and then its argument prototype would still apply. */
29671 char $ac_func ();
29672 /* The GNU C library defines this for functions which it implements
29673 to always fail with ENOSYS. Some functions are actually named
29674 something starting with __ and the normal name is an alias. */
29675 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29676 choke me
29677 #else
29678 char (*f) () = $ac_func;
29679 #endif
29680 #ifdef __cplusplus
29681 }
29682 #endif
29683
29684 int
29685 main ()
29686 {
29687 return f != $ac_func;
29688 ;
29689 return 0;
29690 }
29691 _ACEOF
29692 rm -f conftest.$ac_objext conftest$ac_exeext
29693 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29694 (eval $ac_link) 2>conftest.er1
29695 ac_status=$?
29696 grep -v '^ *+' conftest.er1 >conftest.err
29697 rm -f conftest.er1
29698 cat conftest.err >&5
29699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29700 (exit $ac_status); } &&
29701 { ac_try='test -z "$ac_cxx_werror_flag"
29702 || test ! -s conftest.err'
29703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29704 (eval $ac_try) 2>&5
29705 ac_status=$?
29706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29707 (exit $ac_status); }; } &&
29708 { ac_try='test -s conftest$ac_exeext'
29709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29710 (eval $ac_try) 2>&5
29711 ac_status=$?
29712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29713 (exit $ac_status); }; }; then
29714 eval "$as_ac_var=yes"
29715 else
29716 echo "$as_me: failed program was:" >&5
29717 sed 's/^/| /' conftest.$ac_ext >&5
29718
29719 eval "$as_ac_var=no"
29720 fi
29721 rm -f conftest.err conftest.$ac_objext \
29722 conftest$ac_exeext conftest.$ac_ext
29723 fi
29724 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29725 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29726 if test `eval echo '${'$as_ac_var'}'` = yes; then
29727 cat >>confdefs.h <<_ACEOF
29728 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29729 _ACEOF
29730
29731 fi
29732 done
29733
29734
29735 if test "$ac_cv_func_vsnprintf" = "yes"; then
29736 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
29737 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
29738 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
29739 echo $ECHO_N "(cached) $ECHO_C" >&6
29740 else
29741
29742 cat >conftest.$ac_ext <<_ACEOF
29743 /* confdefs.h. */
29744 _ACEOF
29745 cat confdefs.h >>conftest.$ac_ext
29746 cat >>conftest.$ac_ext <<_ACEOF
29747 /* end confdefs.h. */
29748
29749 #include <stdio.h>
29750 #include <stdarg.h>
29751
29752 int
29753 main ()
29754 {
29755
29756 char *buf;
29757 va_list ap;
29758 vsnprintf(buf, 10u, "%s", ap);
29759
29760 ;
29761 return 0;
29762 }
29763 _ACEOF
29764 rm -f conftest.$ac_objext
29765 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29766 (eval $ac_compile) 2>conftest.er1
29767 ac_status=$?
29768 grep -v '^ *+' conftest.er1 >conftest.err
29769 rm -f conftest.er1
29770 cat conftest.err >&5
29771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29772 (exit $ac_status); } &&
29773 { ac_try='test -z "$ac_cxx_werror_flag"
29774 || test ! -s conftest.err'
29775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29776 (eval $ac_try) 2>&5
29777 ac_status=$?
29778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29779 (exit $ac_status); }; } &&
29780 { ac_try='test -s conftest.$ac_objext'
29781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29782 (eval $ac_try) 2>&5
29783 ac_status=$?
29784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29785 (exit $ac_status); }; }; then
29786 wx_cv_func_vsnprintf_decl=yes
29787 else
29788 echo "$as_me: failed program was:" >&5
29789 sed 's/^/| /' conftest.$ac_ext >&5
29790
29791
29792 cat >conftest.$ac_ext <<_ACEOF
29793 /* confdefs.h. */
29794 _ACEOF
29795 cat confdefs.h >>conftest.$ac_ext
29796 cat >>conftest.$ac_ext <<_ACEOF
29797 /* end confdefs.h. */
29798
29799 #include <stdio.h>
29800 #include <stdarg.h>
29801 using namespace std;
29802
29803 int
29804 main ()
29805 {
29806
29807 char *buf;
29808 va_list ap;
29809 vsnprintf(buf, 10u, "%s", ap);
29810
29811 ;
29812 return 0;
29813 }
29814 _ACEOF
29815 rm -f conftest.$ac_objext
29816 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29817 (eval $ac_compile) 2>conftest.er1
29818 ac_status=$?
29819 grep -v '^ *+' conftest.er1 >conftest.err
29820 rm -f conftest.er1
29821 cat conftest.err >&5
29822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29823 (exit $ac_status); } &&
29824 { ac_try='test -z "$ac_cxx_werror_flag"
29825 || test ! -s conftest.err'
29826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29827 (eval $ac_try) 2>&5
29828 ac_status=$?
29829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29830 (exit $ac_status); }; } &&
29831 { ac_try='test -s conftest.$ac_objext'
29832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29833 (eval $ac_try) 2>&5
29834 ac_status=$?
29835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29836 (exit $ac_status); }; }; then
29837 wx_cv_func_vsnprintf_decl=yes
29838 else
29839 echo "$as_me: failed program was:" >&5
29840 sed 's/^/| /' conftest.$ac_ext >&5
29841
29842 wx_cv_func_vsnprintf_decl=no
29843
29844 fi
29845 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29846
29847
29848 fi
29849 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29850
29851
29852 fi
29853 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
29854 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
29855
29856 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
29857 cat >>confdefs.h <<\_ACEOF
29858 #define HAVE_VSNPRINTF_DECL 1
29859 _ACEOF
29860
29861 fi
29862 fi
29863
29864 if test "$wxUSE_UNICODE" = yes; then
29865
29866
29867
29868
29869
29870
29871 for ac_func in wputc wputchar putws fputws wprintf vswprintf
29872 do
29873 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29874 echo "$as_me:$LINENO: checking for $ac_func" >&5
29875 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29876 if eval "test \"\${$as_ac_var+set}\" = set"; then
29877 echo $ECHO_N "(cached) $ECHO_C" >&6
29878 else
29879 cat >conftest.$ac_ext <<_ACEOF
29880 /* confdefs.h. */
29881 _ACEOF
29882 cat confdefs.h >>conftest.$ac_ext
29883 cat >>conftest.$ac_ext <<_ACEOF
29884 /* end confdefs.h. */
29885 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29886 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29887 #define $ac_func innocuous_$ac_func
29888
29889 /* System header to define __stub macros and hopefully few prototypes,
29890 which can conflict with char $ac_func (); below.
29891 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29892 <limits.h> exists even on freestanding compilers. */
29893
29894 #ifdef __STDC__
29895 # include <limits.h>
29896 #else
29897 # include <assert.h>
29898 #endif
29899
29900 #undef $ac_func
29901
29902 /* Override any gcc2 internal prototype to avoid an error. */
29903 #ifdef __cplusplus
29904 extern "C"
29905 {
29906 #endif
29907 /* We use char because int might match the return type of a gcc2
29908 builtin and then its argument prototype would still apply. */
29909 char $ac_func ();
29910 /* The GNU C library defines this for functions which it implements
29911 to always fail with ENOSYS. Some functions are actually named
29912 something starting with __ and the normal name is an alias. */
29913 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29914 choke me
29915 #else
29916 char (*f) () = $ac_func;
29917 #endif
29918 #ifdef __cplusplus
29919 }
29920 #endif
29921
29922 int
29923 main ()
29924 {
29925 return f != $ac_func;
29926 ;
29927 return 0;
29928 }
29929 _ACEOF
29930 rm -f conftest.$ac_objext conftest$ac_exeext
29931 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29932 (eval $ac_link) 2>conftest.er1
29933 ac_status=$?
29934 grep -v '^ *+' conftest.er1 >conftest.err
29935 rm -f conftest.er1
29936 cat conftest.err >&5
29937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29938 (exit $ac_status); } &&
29939 { ac_try='test -z "$ac_cxx_werror_flag"
29940 || test ! -s conftest.err'
29941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29942 (eval $ac_try) 2>&5
29943 ac_status=$?
29944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29945 (exit $ac_status); }; } &&
29946 { ac_try='test -s conftest$ac_exeext'
29947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29948 (eval $ac_try) 2>&5
29949 ac_status=$?
29950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29951 (exit $ac_status); }; }; then
29952 eval "$as_ac_var=yes"
29953 else
29954 echo "$as_me: failed program was:" >&5
29955 sed 's/^/| /' conftest.$ac_ext >&5
29956
29957 eval "$as_ac_var=no"
29958 fi
29959 rm -f conftest.err conftest.$ac_objext \
29960 conftest$ac_exeext conftest.$ac_ext
29961 fi
29962 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29963 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29964 if test `eval echo '${'$as_ac_var'}'` = yes; then
29965 cat >>confdefs.h <<_ACEOF
29966 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29967 _ACEOF
29968
29969 fi
29970 done
29971
29972
29973 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
29974 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
29975 cat >conftest.$ac_ext <<_ACEOF
29976 /* confdefs.h. */
29977 _ACEOF
29978 cat confdefs.h >>conftest.$ac_ext
29979 cat >>conftest.$ac_ext <<_ACEOF
29980 /* end confdefs.h. */
29981 #include <wchar.h>
29982 int
29983 main ()
29984 {
29985 &_vsnwprintf;
29986 ;
29987 return 0;
29988 }
29989 _ACEOF
29990 rm -f conftest.$ac_objext
29991 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29992 (eval $ac_compile) 2>conftest.er1
29993 ac_status=$?
29994 grep -v '^ *+' conftest.er1 >conftest.err
29995 rm -f conftest.er1
29996 cat conftest.err >&5
29997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29998 (exit $ac_status); } &&
29999 { ac_try='test -z "$ac_cxx_werror_flag"
30000 || test ! -s conftest.err'
30001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30002 (eval $ac_try) 2>&5
30003 ac_status=$?
30004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30005 (exit $ac_status); }; } &&
30006 { ac_try='test -s conftest.$ac_objext'
30007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30008 (eval $ac_try) 2>&5
30009 ac_status=$?
30010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30011 (exit $ac_status); }; }; then
30012 echo "$as_me:$LINENO: result: yes" >&5
30013 echo "${ECHO_T}yes" >&6
30014 cat >>confdefs.h <<\_ACEOF
30015 #define HAVE__VSNWPRINTF 1
30016 _ACEOF
30017
30018 else
30019 echo "$as_me: failed program was:" >&5
30020 sed 's/^/| /' conftest.$ac_ext >&5
30021
30022 echo "$as_me:$LINENO: result: no" >&5
30023 echo "${ECHO_T}no" >&6
30024 fi
30025 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext;
30026 fi
30027
30028 ac_ext=c
30029 ac_cpp='$CPP $CPPFLAGS'
30030 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30031 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30032 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30033
30034
30035
30036
30037 if test "$TOOLKIT" != "MSW"; then
30038
30039
30040
30041
30042 ac_ext=cc
30043 ac_cpp='$CXXCPP $CPPFLAGS'
30044 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30045 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30046 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30047
30048
30049
30050
30051 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
30052 if test "${with_libiconv_prefix+set}" = set; then
30053 withval="$with_libiconv_prefix"
30054
30055 for dir in `echo "$withval" | tr : ' '`; do
30056 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
30057 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
30058 done
30059
30060 fi;
30061
30062 echo "$as_me:$LINENO: checking for iconv" >&5
30063 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
30064 if test "${am_cv_func_iconv+set}" = set; then
30065 echo $ECHO_N "(cached) $ECHO_C" >&6
30066 else
30067
30068 am_cv_func_iconv="no, consider installing GNU libiconv"
30069 am_cv_lib_iconv=no
30070 cat >conftest.$ac_ext <<_ACEOF
30071 /* confdefs.h. */
30072 _ACEOF
30073 cat confdefs.h >>conftest.$ac_ext
30074 cat >>conftest.$ac_ext <<_ACEOF
30075 /* end confdefs.h. */
30076 #include <stdlib.h>
30077 #include <iconv.h>
30078 int
30079 main ()
30080 {
30081 iconv_t cd = iconv_open("","");
30082 iconv(cd,NULL,NULL,NULL,NULL);
30083 iconv_close(cd);
30084 ;
30085 return 0;
30086 }
30087 _ACEOF
30088 rm -f conftest.$ac_objext conftest$ac_exeext
30089 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30090 (eval $ac_link) 2>conftest.er1
30091 ac_status=$?
30092 grep -v '^ *+' conftest.er1 >conftest.err
30093 rm -f conftest.er1
30094 cat conftest.err >&5
30095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30096 (exit $ac_status); } &&
30097 { ac_try='test -z "$ac_cxx_werror_flag"
30098 || test ! -s conftest.err'
30099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30100 (eval $ac_try) 2>&5
30101 ac_status=$?
30102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30103 (exit $ac_status); }; } &&
30104 { ac_try='test -s conftest$ac_exeext'
30105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30106 (eval $ac_try) 2>&5
30107 ac_status=$?
30108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30109 (exit $ac_status); }; }; then
30110 am_cv_func_iconv=yes
30111 else
30112 echo "$as_me: failed program was:" >&5
30113 sed 's/^/| /' conftest.$ac_ext >&5
30114
30115 fi
30116 rm -f conftest.err conftest.$ac_objext \
30117 conftest$ac_exeext conftest.$ac_ext
30118 if test "$am_cv_func_iconv" != yes; then
30119 am_save_LIBS="$LIBS"
30120 LIBS="$LIBS -liconv"
30121 cat >conftest.$ac_ext <<_ACEOF
30122 /* confdefs.h. */
30123 _ACEOF
30124 cat confdefs.h >>conftest.$ac_ext
30125 cat >>conftest.$ac_ext <<_ACEOF
30126 /* end confdefs.h. */
30127 #include <stdlib.h>
30128 #include <iconv.h>
30129 int
30130 main ()
30131 {
30132 iconv_t cd = iconv_open("","");
30133 iconv(cd,NULL,NULL,NULL,NULL);
30134 iconv_close(cd);
30135 ;
30136 return 0;
30137 }
30138 _ACEOF
30139 rm -f conftest.$ac_objext conftest$ac_exeext
30140 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30141 (eval $ac_link) 2>conftest.er1
30142 ac_status=$?
30143 grep -v '^ *+' conftest.er1 >conftest.err
30144 rm -f conftest.er1
30145 cat conftest.err >&5
30146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30147 (exit $ac_status); } &&
30148 { ac_try='test -z "$ac_cxx_werror_flag"
30149 || test ! -s conftest.err'
30150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30151 (eval $ac_try) 2>&5
30152 ac_status=$?
30153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30154 (exit $ac_status); }; } &&
30155 { ac_try='test -s conftest$ac_exeext'
30156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30157 (eval $ac_try) 2>&5
30158 ac_status=$?
30159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30160 (exit $ac_status); }; }; then
30161 am_cv_lib_iconv=yes
30162 am_cv_func_iconv=yes
30163 else
30164 echo "$as_me: failed program was:" >&5
30165 sed 's/^/| /' conftest.$ac_ext >&5
30166
30167 fi
30168 rm -f conftest.err conftest.$ac_objext \
30169 conftest$ac_exeext conftest.$ac_ext
30170 LIBS="$am_save_LIBS"
30171 fi
30172
30173 fi
30174 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
30175 echo "${ECHO_T}$am_cv_func_iconv" >&6
30176 if test "$am_cv_func_iconv" = yes; then
30177
30178 cat >>confdefs.h <<\_ACEOF
30179 #define HAVE_ICONV 1
30180 _ACEOF
30181
30182 echo "$as_me:$LINENO: checking if iconv needs const" >&5
30183 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
30184 if test "${wx_cv_func_iconv_const+set}" = set; then
30185 echo $ECHO_N "(cached) $ECHO_C" >&6
30186 else
30187 cat >conftest.$ac_ext <<_ACEOF
30188 /* confdefs.h. */
30189 _ACEOF
30190 cat confdefs.h >>conftest.$ac_ext
30191 cat >>conftest.$ac_ext <<_ACEOF
30192 /* end confdefs.h. */
30193
30194 #include <stdlib.h>
30195 #include <iconv.h>
30196 extern
30197 #ifdef __cplusplus
30198 "C"
30199 #endif
30200 #if defined(__STDC__) || defined(__cplusplus)
30201 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
30202 #else
30203 size_t iconv();
30204 #endif
30205
30206 int
30207 main ()
30208 {
30209
30210 ;
30211 return 0;
30212 }
30213 _ACEOF
30214 rm -f conftest.$ac_objext
30215 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30216 (eval $ac_compile) 2>conftest.er1
30217 ac_status=$?
30218 grep -v '^ *+' conftest.er1 >conftest.err
30219 rm -f conftest.er1
30220 cat conftest.err >&5
30221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30222 (exit $ac_status); } &&
30223 { ac_try='test -z "$ac_cxx_werror_flag"
30224 || test ! -s conftest.err'
30225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30226 (eval $ac_try) 2>&5
30227 ac_status=$?
30228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30229 (exit $ac_status); }; } &&
30230 { ac_try='test -s conftest.$ac_objext'
30231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30232 (eval $ac_try) 2>&5
30233 ac_status=$?
30234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30235 (exit $ac_status); }; }; then
30236 wx_cv_func_iconv_const="no"
30237 else
30238 echo "$as_me: failed program was:" >&5
30239 sed 's/^/| /' conftest.$ac_ext >&5
30240
30241 wx_cv_func_iconv_const="yes"
30242
30243 fi
30244 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30245
30246 fi
30247 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
30248 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
30249
30250 iconv_const=
30251 if test "x$wx_cv_func_iconv_const" = "xyes"; then
30252 iconv_const="const"
30253 fi
30254
30255
30256 cat >>confdefs.h <<_ACEOF
30257 #define ICONV_CONST $iconv_const
30258 _ACEOF
30259
30260 fi
30261 LIBICONV=
30262 if test "$am_cv_lib_iconv" = yes; then
30263 LIBICONV="-liconv"
30264 fi
30265
30266
30267 LIBS="$LIBICONV $LIBS"
30268 ac_ext=c
30269 ac_cpp='$CPP $CPPFLAGS'
30270 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30271 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30272 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30273
30274
30275 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
30276
30277 for ac_func in sigaction
30278 do
30279 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30280 echo "$as_me:$LINENO: checking for $ac_func" >&5
30281 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30282 if eval "test \"\${$as_ac_var+set}\" = set"; then
30283 echo $ECHO_N "(cached) $ECHO_C" >&6
30284 else
30285 cat >conftest.$ac_ext <<_ACEOF
30286 /* confdefs.h. */
30287 _ACEOF
30288 cat confdefs.h >>conftest.$ac_ext
30289 cat >>conftest.$ac_ext <<_ACEOF
30290 /* end confdefs.h. */
30291 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30292 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30293 #define $ac_func innocuous_$ac_func
30294
30295 /* System header to define __stub macros and hopefully few prototypes,
30296 which can conflict with char $ac_func (); below.
30297 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30298 <limits.h> exists even on freestanding compilers. */
30299
30300 #ifdef __STDC__
30301 # include <limits.h>
30302 #else
30303 # include <assert.h>
30304 #endif
30305
30306 #undef $ac_func
30307
30308 /* Override any gcc2 internal prototype to avoid an error. */
30309 #ifdef __cplusplus
30310 extern "C"
30311 {
30312 #endif
30313 /* We use char because int might match the return type of a gcc2
30314 builtin and then its argument prototype would still apply. */
30315 char $ac_func ();
30316 /* The GNU C library defines this for functions which it implements
30317 to always fail with ENOSYS. Some functions are actually named
30318 something starting with __ and the normal name is an alias. */
30319 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30320 choke me
30321 #else
30322 char (*f) () = $ac_func;
30323 #endif
30324 #ifdef __cplusplus
30325 }
30326 #endif
30327
30328 int
30329 main ()
30330 {
30331 return f != $ac_func;
30332 ;
30333 return 0;
30334 }
30335 _ACEOF
30336 rm -f conftest.$ac_objext conftest$ac_exeext
30337 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30338 (eval $ac_link) 2>conftest.er1
30339 ac_status=$?
30340 grep -v '^ *+' conftest.er1 >conftest.err
30341 rm -f conftest.er1
30342 cat conftest.err >&5
30343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30344 (exit $ac_status); } &&
30345 { ac_try='test -z "$ac_c_werror_flag"
30346 || test ! -s conftest.err'
30347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30348 (eval $ac_try) 2>&5
30349 ac_status=$?
30350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30351 (exit $ac_status); }; } &&
30352 { ac_try='test -s conftest$ac_exeext'
30353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30354 (eval $ac_try) 2>&5
30355 ac_status=$?
30356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30357 (exit $ac_status); }; }; then
30358 eval "$as_ac_var=yes"
30359 else
30360 echo "$as_me: failed program was:" >&5
30361 sed 's/^/| /' conftest.$ac_ext >&5
30362
30363 eval "$as_ac_var=no"
30364 fi
30365 rm -f conftest.err conftest.$ac_objext \
30366 conftest$ac_exeext conftest.$ac_ext
30367 fi
30368 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30369 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30370 if test `eval echo '${'$as_ac_var'}'` = yes; then
30371 cat >>confdefs.h <<_ACEOF
30372 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30373 _ACEOF
30374
30375 fi
30376 done
30377
30378
30379 if test "$ac_cv_func_sigaction" = "no"; then
30380 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
30381 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
30382 wxUSE_ON_FATAL_EXCEPTION=no
30383 fi
30384
30385 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
30386
30387
30388 ac_ext=cc
30389 ac_cpp='$CXXCPP $CPPFLAGS'
30390 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30391 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30392 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30393
30394
30395 echo "$as_me:$LINENO: checking for sa_handler type" >&5
30396 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
30397 if test "${wx_cv_type_sa_handler+set}" = set; then
30398 echo $ECHO_N "(cached) $ECHO_C" >&6
30399 else
30400
30401 cat >conftest.$ac_ext <<_ACEOF
30402 /* confdefs.h. */
30403 _ACEOF
30404 cat confdefs.h >>conftest.$ac_ext
30405 cat >>conftest.$ac_ext <<_ACEOF
30406 /* end confdefs.h. */
30407 #include <signal.h>
30408 int
30409 main ()
30410 {
30411
30412 extern void testSigHandler(int);
30413
30414 struct sigaction sa;
30415 sa.sa_handler = testSigHandler;
30416
30417 ;
30418 return 0;
30419 }
30420 _ACEOF
30421 rm -f conftest.$ac_objext
30422 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30423 (eval $ac_compile) 2>conftest.er1
30424 ac_status=$?
30425 grep -v '^ *+' conftest.er1 >conftest.err
30426 rm -f conftest.er1
30427 cat conftest.err >&5
30428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30429 (exit $ac_status); } &&
30430 { ac_try='test -z "$ac_cxx_werror_flag"
30431 || test ! -s conftest.err'
30432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30433 (eval $ac_try) 2>&5
30434 ac_status=$?
30435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30436 (exit $ac_status); }; } &&
30437 { ac_try='test -s conftest.$ac_objext'
30438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30439 (eval $ac_try) 2>&5
30440 ac_status=$?
30441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30442 (exit $ac_status); }; }; then
30443
30444 wx_cv_type_sa_handler=int
30445
30446 else
30447 echo "$as_me: failed program was:" >&5
30448 sed 's/^/| /' conftest.$ac_ext >&5
30449
30450
30451 wx_cv_type_sa_handler=void
30452
30453 fi
30454 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30455
30456 fi
30457 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
30458 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
30459
30460 ac_ext=c
30461 ac_cpp='$CPP $CPPFLAGS'
30462 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30463 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30464 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30465
30466
30467 cat >>confdefs.h <<_ACEOF
30468 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
30469 _ACEOF
30470
30471 fi
30472 fi
30473
30474 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
30475
30476
30477 ac_ext=cc
30478 ac_cpp='$CXXCPP $CPPFLAGS'
30479 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30480 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30481 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30482
30483
30484 echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
30485 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6
30486 if test "${wx_cv_func_backtrace+set}" = set; then
30487 echo $ECHO_N "(cached) $ECHO_C" >&6
30488 else
30489
30490 cat >conftest.$ac_ext <<_ACEOF
30491 /* confdefs.h. */
30492 _ACEOF
30493 cat confdefs.h >>conftest.$ac_ext
30494 cat >>conftest.$ac_ext <<_ACEOF
30495 /* end confdefs.h. */
30496 #include <execinfo.h>
30497 int
30498 main ()
30499 {
30500
30501 void *trace[1];
30502 char **messages;
30503
30504 backtrace(trace, 1);
30505 messages = backtrace_symbols(trace, 1);
30506
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_cxx_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 wx_cv_func_backtrace=yes
30534 else
30535 echo "$as_me: failed program was:" >&5
30536 sed 's/^/| /' conftest.$ac_ext >&5
30537
30538 wx_cv_func_backtrace=no
30539
30540 fi
30541 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30542
30543
30544 fi
30545 echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
30546 echo "${ECHO_T}$wx_cv_func_backtrace" >&6
30547
30548
30549 if test "$wx_cv_func_backtrace" = "no"; then
30550 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
30551 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
30552 wxUSE_STACKWALKER=no
30553 else
30554 echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
30555 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6
30556 if test "${wx_cv_func_cxa_demangle+set}" = set; then
30557 echo $ECHO_N "(cached) $ECHO_C" >&6
30558 else
30559
30560 cat >conftest.$ac_ext <<_ACEOF
30561 /* confdefs.h. */
30562 _ACEOF
30563 cat confdefs.h >>conftest.$ac_ext
30564 cat >>conftest.$ac_ext <<_ACEOF
30565 /* end confdefs.h. */
30566 #include <cxxabi.h>
30567 int
30568 main ()
30569 {
30570
30571 int rc;
30572 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
30573
30574 ;
30575 return 0;
30576 }
30577 _ACEOF
30578 rm -f conftest.$ac_objext
30579 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30580 (eval $ac_compile) 2>conftest.er1
30581 ac_status=$?
30582 grep -v '^ *+' conftest.er1 >conftest.err
30583 rm -f conftest.er1
30584 cat conftest.err >&5
30585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30586 (exit $ac_status); } &&
30587 { ac_try='test -z "$ac_cxx_werror_flag"
30588 || test ! -s conftest.err'
30589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30590 (eval $ac_try) 2>&5
30591 ac_status=$?
30592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30593 (exit $ac_status); }; } &&
30594 { ac_try='test -s conftest.$ac_objext'
30595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30596 (eval $ac_try) 2>&5
30597 ac_status=$?
30598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30599 (exit $ac_status); }; }; then
30600 wx_cv_func_cxa_demangle=yes
30601 else
30602 echo "$as_me: failed program was:" >&5
30603 sed 's/^/| /' conftest.$ac_ext >&5
30604
30605 wx_cv_func_cxa_demangle=no
30606
30607 fi
30608 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30609
30610
30611 fi
30612 echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
30613 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6
30614
30615 if test "$wx_cv_func_cxa_demangle" = "yes"; then
30616 cat >>confdefs.h <<\_ACEOF
30617 #define HAVE_CXA_DEMANGLE 1
30618 _ACEOF
30619
30620 fi
30621 fi
30622
30623 ac_ext=c
30624 ac_cpp='$CPP $CPPFLAGS'
30625 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30626 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30627 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30628
30629 fi
30630
30631
30632
30633 for ac_func in mkstemp mktemp
30634 do
30635 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30636 echo "$as_me:$LINENO: checking for $ac_func" >&5
30637 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30638 if eval "test \"\${$as_ac_var+set}\" = set"; then
30639 echo $ECHO_N "(cached) $ECHO_C" >&6
30640 else
30641 cat >conftest.$ac_ext <<_ACEOF
30642 /* confdefs.h. */
30643 _ACEOF
30644 cat confdefs.h >>conftest.$ac_ext
30645 cat >>conftest.$ac_ext <<_ACEOF
30646 /* end confdefs.h. */
30647 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30648 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30649 #define $ac_func innocuous_$ac_func
30650
30651 /* System header to define __stub macros and hopefully few prototypes,
30652 which can conflict with char $ac_func (); below.
30653 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30654 <limits.h> exists even on freestanding compilers. */
30655
30656 #ifdef __STDC__
30657 # include <limits.h>
30658 #else
30659 # include <assert.h>
30660 #endif
30661
30662 #undef $ac_func
30663
30664 /* Override any gcc2 internal prototype to avoid an error. */
30665 #ifdef __cplusplus
30666 extern "C"
30667 {
30668 #endif
30669 /* We use char because int might match the return type of a gcc2
30670 builtin and then its argument prototype would still apply. */
30671 char $ac_func ();
30672 /* The GNU C library defines this for functions which it implements
30673 to always fail with ENOSYS. Some functions are actually named
30674 something starting with __ and the normal name is an alias. */
30675 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30676 choke me
30677 #else
30678 char (*f) () = $ac_func;
30679 #endif
30680 #ifdef __cplusplus
30681 }
30682 #endif
30683
30684 int
30685 main ()
30686 {
30687 return f != $ac_func;
30688 ;
30689 return 0;
30690 }
30691 _ACEOF
30692 rm -f conftest.$ac_objext conftest$ac_exeext
30693 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30694 (eval $ac_link) 2>conftest.er1
30695 ac_status=$?
30696 grep -v '^ *+' conftest.er1 >conftest.err
30697 rm -f conftest.er1
30698 cat conftest.err >&5
30699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30700 (exit $ac_status); } &&
30701 { ac_try='test -z "$ac_c_werror_flag"
30702 || test ! -s conftest.err'
30703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30704 (eval $ac_try) 2>&5
30705 ac_status=$?
30706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30707 (exit $ac_status); }; } &&
30708 { ac_try='test -s conftest$ac_exeext'
30709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30710 (eval $ac_try) 2>&5
30711 ac_status=$?
30712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30713 (exit $ac_status); }; }; then
30714 eval "$as_ac_var=yes"
30715 else
30716 echo "$as_me: failed program was:" >&5
30717 sed 's/^/| /' conftest.$ac_ext >&5
30718
30719 eval "$as_ac_var=no"
30720 fi
30721 rm -f conftest.err conftest.$ac_objext \
30722 conftest$ac_exeext conftest.$ac_ext
30723 fi
30724 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30725 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30726 if test `eval echo '${'$as_ac_var'}'` = yes; then
30727 cat >>confdefs.h <<_ACEOF
30728 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30729 _ACEOF
30730 break
30731 fi
30732 done
30733
30734
30735 echo "$as_me:$LINENO: checking for statfs" >&5
30736 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
30737 if test "${wx_cv_func_statfs+set}" = set; then
30738 echo $ECHO_N "(cached) $ECHO_C" >&6
30739 else
30740 cat >conftest.$ac_ext <<_ACEOF
30741 /* confdefs.h. */
30742 _ACEOF
30743 cat confdefs.h >>conftest.$ac_ext
30744 cat >>conftest.$ac_ext <<_ACEOF
30745 /* end confdefs.h. */
30746
30747 #if defined(__BSD__)
30748 #include <sys/param.h>
30749 #include <sys/mount.h>
30750 #else
30751 #include <sys/vfs.h>
30752 #endif
30753
30754 int
30755 main ()
30756 {
30757
30758 long l;
30759 struct statfs fs;
30760 statfs("/", &fs);
30761 l = fs.f_bsize;
30762 l += fs.f_blocks;
30763 l += fs.f_bavail;
30764
30765 ;
30766 return 0;
30767 }
30768 _ACEOF
30769 rm -f conftest.$ac_objext
30770 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30771 (eval $ac_compile) 2>conftest.er1
30772 ac_status=$?
30773 grep -v '^ *+' conftest.er1 >conftest.err
30774 rm -f conftest.er1
30775 cat conftest.err >&5
30776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30777 (exit $ac_status); } &&
30778 { ac_try='test -z "$ac_c_werror_flag"
30779 || test ! -s conftest.err'
30780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30781 (eval $ac_try) 2>&5
30782 ac_status=$?
30783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30784 (exit $ac_status); }; } &&
30785 { ac_try='test -s conftest.$ac_objext'
30786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30787 (eval $ac_try) 2>&5
30788 ac_status=$?
30789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30790 (exit $ac_status); }; }; then
30791
30792 wx_cv_func_statfs=yes
30793
30794 else
30795 echo "$as_me: failed program was:" >&5
30796 sed 's/^/| /' conftest.$ac_ext >&5
30797
30798
30799 wx_cv_func_statfs=no
30800
30801
30802 fi
30803 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30804
30805 fi
30806 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
30807 echo "${ECHO_T}$wx_cv_func_statfs" >&6
30808
30809 if test "$wx_cv_func_statfs" = "yes"; then
30810 wx_cv_type_statvfs_t="struct statfs"
30811 cat >>confdefs.h <<\_ACEOF
30812 #define HAVE_STATFS 1
30813 _ACEOF
30814
30815 else
30816 echo "$as_me:$LINENO: checking for statvfs" >&5
30817 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
30818 if test "${wx_cv_func_statvfs+set}" = set; then
30819 echo $ECHO_N "(cached) $ECHO_C" >&6
30820 else
30821 cat >conftest.$ac_ext <<_ACEOF
30822 /* confdefs.h. */
30823 _ACEOF
30824 cat confdefs.h >>conftest.$ac_ext
30825 cat >>conftest.$ac_ext <<_ACEOF
30826 /* end confdefs.h. */
30827
30828 #include <stddef.h>
30829 #include <sys/statvfs.h>
30830
30831 int
30832 main ()
30833 {
30834
30835 statvfs("/", NULL);
30836
30837 ;
30838 return 0;
30839 }
30840 _ACEOF
30841 rm -f conftest.$ac_objext
30842 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30843 (eval $ac_compile) 2>conftest.er1
30844 ac_status=$?
30845 grep -v '^ *+' conftest.er1 >conftest.err
30846 rm -f conftest.er1
30847 cat conftest.err >&5
30848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30849 (exit $ac_status); } &&
30850 { ac_try='test -z "$ac_c_werror_flag"
30851 || test ! -s conftest.err'
30852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30853 (eval $ac_try) 2>&5
30854 ac_status=$?
30855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30856 (exit $ac_status); }; } &&
30857 { ac_try='test -s conftest.$ac_objext'
30858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30859 (eval $ac_try) 2>&5
30860 ac_status=$?
30861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30862 (exit $ac_status); }; }; then
30863 wx_cv_func_statvfs=yes
30864 else
30865 echo "$as_me: failed program was:" >&5
30866 sed 's/^/| /' conftest.$ac_ext >&5
30867
30868 wx_cv_func_statvfs=no
30869
30870 fi
30871 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30872
30873 fi
30874 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
30875 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
30876
30877 if test "$wx_cv_func_statvfs" = "yes"; then
30878
30879
30880 ac_ext=cc
30881 ac_cpp='$CXXCPP $CPPFLAGS'
30882 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30883 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30884 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30885
30886
30887 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
30888 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
30889 if test "${wx_cv_type_statvfs_t+set}" = set; then
30890 echo $ECHO_N "(cached) $ECHO_C" >&6
30891 else
30892 cat >conftest.$ac_ext <<_ACEOF
30893 /* confdefs.h. */
30894 _ACEOF
30895 cat confdefs.h >>conftest.$ac_ext
30896 cat >>conftest.$ac_ext <<_ACEOF
30897 /* end confdefs.h. */
30898
30899 #include <sys/statvfs.h>
30900
30901 int
30902 main ()
30903 {
30904
30905 long l;
30906 statvfs_t fs;
30907 statvfs("/", &fs);
30908 l = fs.f_bsize;
30909 l += fs.f_blocks;
30910 l += fs.f_bavail;
30911
30912 ;
30913 return 0;
30914 }
30915 _ACEOF
30916 rm -f conftest.$ac_objext
30917 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30918 (eval $ac_compile) 2>conftest.er1
30919 ac_status=$?
30920 grep -v '^ *+' conftest.er1 >conftest.err
30921 rm -f conftest.er1
30922 cat conftest.err >&5
30923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30924 (exit $ac_status); } &&
30925 { ac_try='test -z "$ac_cxx_werror_flag"
30926 || test ! -s conftest.err'
30927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30928 (eval $ac_try) 2>&5
30929 ac_status=$?
30930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30931 (exit $ac_status); }; } &&
30932 { ac_try='test -s conftest.$ac_objext'
30933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30934 (eval $ac_try) 2>&5
30935 ac_status=$?
30936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30937 (exit $ac_status); }; }; then
30938 wx_cv_type_statvfs_t=statvfs_t
30939 else
30940 echo "$as_me: failed program was:" >&5
30941 sed 's/^/| /' conftest.$ac_ext >&5
30942
30943
30944 cat >conftest.$ac_ext <<_ACEOF
30945 /* confdefs.h. */
30946 _ACEOF
30947 cat confdefs.h >>conftest.$ac_ext
30948 cat >>conftest.$ac_ext <<_ACEOF
30949 /* end confdefs.h. */
30950
30951 #include <sys/statvfs.h>
30952
30953 int
30954 main ()
30955 {
30956
30957 long l;
30958 struct statvfs fs;
30959 statvfs("/", &fs);
30960 l = fs.f_bsize;
30961 l += fs.f_blocks;
30962 l += fs.f_bavail;
30963
30964 ;
30965 return 0;
30966 }
30967 _ACEOF
30968 rm -f conftest.$ac_objext
30969 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30970 (eval $ac_compile) 2>conftest.er1
30971 ac_status=$?
30972 grep -v '^ *+' conftest.er1 >conftest.err
30973 rm -f conftest.er1
30974 cat conftest.err >&5
30975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30976 (exit $ac_status); } &&
30977 { ac_try='test -z "$ac_cxx_werror_flag"
30978 || test ! -s conftest.err'
30979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30980 (eval $ac_try) 2>&5
30981 ac_status=$?
30982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30983 (exit $ac_status); }; } &&
30984 { ac_try='test -s conftest.$ac_objext'
30985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30986 (eval $ac_try) 2>&5
30987 ac_status=$?
30988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30989 (exit $ac_status); }; }; then
30990 wx_cv_type_statvfs_t="struct statvfs"
30991 else
30992 echo "$as_me: failed program was:" >&5
30993 sed 's/^/| /' conftest.$ac_ext >&5
30994
30995 wx_cv_type_statvfs_t="unknown"
30996
30997 fi
30998 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30999
31000
31001 fi
31002 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31003
31004 fi
31005 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
31006 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
31007
31008 ac_ext=c
31009 ac_cpp='$CPP $CPPFLAGS'
31010 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31011 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31012 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31013
31014
31015 if test "$wx_cv_type_statvfs_t" != "unknown"; then
31016 cat >>confdefs.h <<\_ACEOF
31017 #define HAVE_STATVFS 1
31018 _ACEOF
31019
31020 fi
31021 else
31022 wx_cv_type_statvfs_t="unknown"
31023 fi
31024 fi
31025
31026 if test "$wx_cv_type_statvfs_t" != "unknown"; then
31027 cat >>confdefs.h <<_ACEOF
31028 #define WX_STATFS_T $wx_cv_type_statvfs_t
31029 _ACEOF
31030
31031 else
31032 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
31033 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
31034 fi
31035
31036 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
31037
31038
31039 for ac_func in fcntl flock
31040 do
31041 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31042 echo "$as_me:$LINENO: checking for $ac_func" >&5
31043 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31044 if eval "test \"\${$as_ac_var+set}\" = set"; then
31045 echo $ECHO_N "(cached) $ECHO_C" >&6
31046 else
31047 cat >conftest.$ac_ext <<_ACEOF
31048 /* confdefs.h. */
31049 _ACEOF
31050 cat confdefs.h >>conftest.$ac_ext
31051 cat >>conftest.$ac_ext <<_ACEOF
31052 /* end confdefs.h. */
31053 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31054 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31055 #define $ac_func innocuous_$ac_func
31056
31057 /* System header to define __stub macros and hopefully few prototypes,
31058 which can conflict with char $ac_func (); below.
31059 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31060 <limits.h> exists even on freestanding compilers. */
31061
31062 #ifdef __STDC__
31063 # include <limits.h>
31064 #else
31065 # include <assert.h>
31066 #endif
31067
31068 #undef $ac_func
31069
31070 /* Override any gcc2 internal prototype to avoid an error. */
31071 #ifdef __cplusplus
31072 extern "C"
31073 {
31074 #endif
31075 /* We use char because int might match the return type of a gcc2
31076 builtin and then its argument prototype would still apply. */
31077 char $ac_func ();
31078 /* The GNU C library defines this for functions which it implements
31079 to always fail with ENOSYS. Some functions are actually named
31080 something starting with __ and the normal name is an alias. */
31081 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31082 choke me
31083 #else
31084 char (*f) () = $ac_func;
31085 #endif
31086 #ifdef __cplusplus
31087 }
31088 #endif
31089
31090 int
31091 main ()
31092 {
31093 return f != $ac_func;
31094 ;
31095 return 0;
31096 }
31097 _ACEOF
31098 rm -f conftest.$ac_objext conftest$ac_exeext
31099 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31100 (eval $ac_link) 2>conftest.er1
31101 ac_status=$?
31102 grep -v '^ *+' conftest.er1 >conftest.err
31103 rm -f conftest.er1
31104 cat conftest.err >&5
31105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31106 (exit $ac_status); } &&
31107 { ac_try='test -z "$ac_c_werror_flag"
31108 || test ! -s conftest.err'
31109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31110 (eval $ac_try) 2>&5
31111 ac_status=$?
31112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31113 (exit $ac_status); }; } &&
31114 { ac_try='test -s conftest$ac_exeext'
31115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31116 (eval $ac_try) 2>&5
31117 ac_status=$?
31118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31119 (exit $ac_status); }; }; then
31120 eval "$as_ac_var=yes"
31121 else
31122 echo "$as_me: failed program was:" >&5
31123 sed 's/^/| /' conftest.$ac_ext >&5
31124
31125 eval "$as_ac_var=no"
31126 fi
31127 rm -f conftest.err conftest.$ac_objext \
31128 conftest$ac_exeext conftest.$ac_ext
31129 fi
31130 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31131 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31132 if test `eval echo '${'$as_ac_var'}'` = yes; then
31133 cat >>confdefs.h <<_ACEOF
31134 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31135 _ACEOF
31136 break
31137 fi
31138 done
31139
31140
31141 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
31142 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
31143 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
31144 wxUSE_SNGLINST_CHECKER=no
31145 fi
31146 fi
31147
31148
31149 for ac_func in timegm
31150 do
31151 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31152 echo "$as_me:$LINENO: checking for $ac_func" >&5
31153 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31154 if eval "test \"\${$as_ac_var+set}\" = set"; then
31155 echo $ECHO_N "(cached) $ECHO_C" >&6
31156 else
31157 cat >conftest.$ac_ext <<_ACEOF
31158 /* confdefs.h. */
31159 _ACEOF
31160 cat confdefs.h >>conftest.$ac_ext
31161 cat >>conftest.$ac_ext <<_ACEOF
31162 /* end confdefs.h. */
31163 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31164 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31165 #define $ac_func innocuous_$ac_func
31166
31167 /* System header to define __stub macros and hopefully few prototypes,
31168 which can conflict with char $ac_func (); below.
31169 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31170 <limits.h> exists even on freestanding compilers. */
31171
31172 #ifdef __STDC__
31173 # include <limits.h>
31174 #else
31175 # include <assert.h>
31176 #endif
31177
31178 #undef $ac_func
31179
31180 /* Override any gcc2 internal prototype to avoid an error. */
31181 #ifdef __cplusplus
31182 extern "C"
31183 {
31184 #endif
31185 /* We use char because int might match the return type of a gcc2
31186 builtin and then its argument prototype would still apply. */
31187 char $ac_func ();
31188 /* The GNU C library defines this for functions which it implements
31189 to always fail with ENOSYS. Some functions are actually named
31190 something starting with __ and the normal name is an alias. */
31191 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31192 choke me
31193 #else
31194 char (*f) () = $ac_func;
31195 #endif
31196 #ifdef __cplusplus
31197 }
31198 #endif
31199
31200 int
31201 main ()
31202 {
31203 return f != $ac_func;
31204 ;
31205 return 0;
31206 }
31207 _ACEOF
31208 rm -f conftest.$ac_objext conftest$ac_exeext
31209 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31210 (eval $ac_link) 2>conftest.er1
31211 ac_status=$?
31212 grep -v '^ *+' conftest.er1 >conftest.err
31213 rm -f conftest.er1
31214 cat conftest.err >&5
31215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31216 (exit $ac_status); } &&
31217 { ac_try='test -z "$ac_c_werror_flag"
31218 || test ! -s conftest.err'
31219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31220 (eval $ac_try) 2>&5
31221 ac_status=$?
31222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31223 (exit $ac_status); }; } &&
31224 { ac_try='test -s conftest$ac_exeext'
31225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31226 (eval $ac_try) 2>&5
31227 ac_status=$?
31228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31229 (exit $ac_status); }; }; then
31230 eval "$as_ac_var=yes"
31231 else
31232 echo "$as_me: failed program was:" >&5
31233 sed 's/^/| /' conftest.$ac_ext >&5
31234
31235 eval "$as_ac_var=no"
31236 fi
31237 rm -f conftest.err conftest.$ac_objext \
31238 conftest$ac_exeext conftest.$ac_ext
31239 fi
31240 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31241 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31242 if test `eval echo '${'$as_ac_var'}'` = yes; then
31243 cat >>confdefs.h <<_ACEOF
31244 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31245 _ACEOF
31246
31247 fi
31248 done
31249
31250
31251
31252
31253 for ac_func in putenv setenv
31254 do
31255 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31256 echo "$as_me:$LINENO: checking for $ac_func" >&5
31257 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31258 if eval "test \"\${$as_ac_var+set}\" = set"; then
31259 echo $ECHO_N "(cached) $ECHO_C" >&6
31260 else
31261 cat >conftest.$ac_ext <<_ACEOF
31262 /* confdefs.h. */
31263 _ACEOF
31264 cat confdefs.h >>conftest.$ac_ext
31265 cat >>conftest.$ac_ext <<_ACEOF
31266 /* end confdefs.h. */
31267 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31268 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31269 #define $ac_func innocuous_$ac_func
31270
31271 /* System header to define __stub macros and hopefully few prototypes,
31272 which can conflict with char $ac_func (); below.
31273 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31274 <limits.h> exists even on freestanding compilers. */
31275
31276 #ifdef __STDC__
31277 # include <limits.h>
31278 #else
31279 # include <assert.h>
31280 #endif
31281
31282 #undef $ac_func
31283
31284 /* Override any gcc2 internal prototype to avoid an error. */
31285 #ifdef __cplusplus
31286 extern "C"
31287 {
31288 #endif
31289 /* We use char because int might match the return type of a gcc2
31290 builtin and then its argument prototype would still apply. */
31291 char $ac_func ();
31292 /* The GNU C library defines this for functions which it implements
31293 to always fail with ENOSYS. Some functions are actually named
31294 something starting with __ and the normal name is an alias. */
31295 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31296 choke me
31297 #else
31298 char (*f) () = $ac_func;
31299 #endif
31300 #ifdef __cplusplus
31301 }
31302 #endif
31303
31304 int
31305 main ()
31306 {
31307 return f != $ac_func;
31308 ;
31309 return 0;
31310 }
31311 _ACEOF
31312 rm -f conftest.$ac_objext conftest$ac_exeext
31313 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31314 (eval $ac_link) 2>conftest.er1
31315 ac_status=$?
31316 grep -v '^ *+' conftest.er1 >conftest.err
31317 rm -f conftest.er1
31318 cat conftest.err >&5
31319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31320 (exit $ac_status); } &&
31321 { ac_try='test -z "$ac_c_werror_flag"
31322 || test ! -s conftest.err'
31323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31324 (eval $ac_try) 2>&5
31325 ac_status=$?
31326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31327 (exit $ac_status); }; } &&
31328 { ac_try='test -s conftest$ac_exeext'
31329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31330 (eval $ac_try) 2>&5
31331 ac_status=$?
31332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31333 (exit $ac_status); }; }; then
31334 eval "$as_ac_var=yes"
31335 else
31336 echo "$as_me: failed program was:" >&5
31337 sed 's/^/| /' conftest.$ac_ext >&5
31338
31339 eval "$as_ac_var=no"
31340 fi
31341 rm -f conftest.err conftest.$ac_objext \
31342 conftest$ac_exeext conftest.$ac_ext
31343 fi
31344 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31345 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31346 if test `eval echo '${'$as_ac_var'}'` = yes; then
31347 cat >>confdefs.h <<_ACEOF
31348 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31349 _ACEOF
31350 break
31351 fi
31352 done
31353
31354
31355 HAVE_SOME_SLEEP_FUNC=0
31356 if test "$USE_BEOS" = 1; then
31357 cat >>confdefs.h <<\_ACEOF
31358 #define HAVE_SLEEP 1
31359 _ACEOF
31360
31361 HAVE_SOME_SLEEP_FUNC=1
31362 fi
31363
31364 if test "$USE_DARWIN" = 1; then
31365 cat >>confdefs.h <<\_ACEOF
31366 #define HAVE_USLEEP 1
31367 _ACEOF
31368
31369 HAVE_SOME_SLEEP_FUNC=1
31370 fi
31371
31372 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
31373 POSIX4_LINK=
31374
31375 for ac_func in nanosleep
31376 do
31377 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31378 echo "$as_me:$LINENO: checking for $ac_func" >&5
31379 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31380 if eval "test \"\${$as_ac_var+set}\" = set"; then
31381 echo $ECHO_N "(cached) $ECHO_C" >&6
31382 else
31383 cat >conftest.$ac_ext <<_ACEOF
31384 /* confdefs.h. */
31385 _ACEOF
31386 cat confdefs.h >>conftest.$ac_ext
31387 cat >>conftest.$ac_ext <<_ACEOF
31388 /* end confdefs.h. */
31389 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31390 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31391 #define $ac_func innocuous_$ac_func
31392
31393 /* System header to define __stub macros and hopefully few prototypes,
31394 which can conflict with char $ac_func (); below.
31395 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31396 <limits.h> exists even on freestanding compilers. */
31397
31398 #ifdef __STDC__
31399 # include <limits.h>
31400 #else
31401 # include <assert.h>
31402 #endif
31403
31404 #undef $ac_func
31405
31406 /* Override any gcc2 internal prototype to avoid an error. */
31407 #ifdef __cplusplus
31408 extern "C"
31409 {
31410 #endif
31411 /* We use char because int might match the return type of a gcc2
31412 builtin and then its argument prototype would still apply. */
31413 char $ac_func ();
31414 /* The GNU C library defines this for functions which it implements
31415 to always fail with ENOSYS. Some functions are actually named
31416 something starting with __ and the normal name is an alias. */
31417 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31418 choke me
31419 #else
31420 char (*f) () = $ac_func;
31421 #endif
31422 #ifdef __cplusplus
31423 }
31424 #endif
31425
31426 int
31427 main ()
31428 {
31429 return f != $ac_func;
31430 ;
31431 return 0;
31432 }
31433 _ACEOF
31434 rm -f conftest.$ac_objext conftest$ac_exeext
31435 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31436 (eval $ac_link) 2>conftest.er1
31437 ac_status=$?
31438 grep -v '^ *+' conftest.er1 >conftest.err
31439 rm -f conftest.er1
31440 cat conftest.err >&5
31441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31442 (exit $ac_status); } &&
31443 { ac_try='test -z "$ac_c_werror_flag"
31444 || test ! -s conftest.err'
31445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31446 (eval $ac_try) 2>&5
31447 ac_status=$?
31448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31449 (exit $ac_status); }; } &&
31450 { ac_try='test -s conftest$ac_exeext'
31451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31452 (eval $ac_try) 2>&5
31453 ac_status=$?
31454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31455 (exit $ac_status); }; }; then
31456 eval "$as_ac_var=yes"
31457 else
31458 echo "$as_me: failed program was:" >&5
31459 sed 's/^/| /' conftest.$ac_ext >&5
31460
31461 eval "$as_ac_var=no"
31462 fi
31463 rm -f conftest.err conftest.$ac_objext \
31464 conftest$ac_exeext conftest.$ac_ext
31465 fi
31466 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31467 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31468 if test `eval echo '${'$as_ac_var'}'` = yes; then
31469 cat >>confdefs.h <<_ACEOF
31470 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31471 _ACEOF
31472 cat >>confdefs.h <<\_ACEOF
31473 #define HAVE_NANOSLEEP 1
31474 _ACEOF
31475
31476 else
31477
31478 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
31479 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
31480 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
31481 echo $ECHO_N "(cached) $ECHO_C" >&6
31482 else
31483 ac_check_lib_save_LIBS=$LIBS
31484 LIBS="-lposix4 $LIBS"
31485 cat >conftest.$ac_ext <<_ACEOF
31486 /* confdefs.h. */
31487 _ACEOF
31488 cat confdefs.h >>conftest.$ac_ext
31489 cat >>conftest.$ac_ext <<_ACEOF
31490 /* end confdefs.h. */
31491
31492 /* Override any gcc2 internal prototype to avoid an error. */
31493 #ifdef __cplusplus
31494 extern "C"
31495 #endif
31496 /* We use char because int might match the return type of a gcc2
31497 builtin and then its argument prototype would still apply. */
31498 char nanosleep ();
31499 int
31500 main ()
31501 {
31502 nanosleep ();
31503 ;
31504 return 0;
31505 }
31506 _ACEOF
31507 rm -f conftest.$ac_objext conftest$ac_exeext
31508 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31509 (eval $ac_link) 2>conftest.er1
31510 ac_status=$?
31511 grep -v '^ *+' conftest.er1 >conftest.err
31512 rm -f conftest.er1
31513 cat conftest.err >&5
31514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31515 (exit $ac_status); } &&
31516 { ac_try='test -z "$ac_c_werror_flag"
31517 || test ! -s conftest.err'
31518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31519 (eval $ac_try) 2>&5
31520 ac_status=$?
31521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31522 (exit $ac_status); }; } &&
31523 { ac_try='test -s conftest$ac_exeext'
31524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31525 (eval $ac_try) 2>&5
31526 ac_status=$?
31527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31528 (exit $ac_status); }; }; then
31529 ac_cv_lib_posix4_nanosleep=yes
31530 else
31531 echo "$as_me: failed program was:" >&5
31532 sed 's/^/| /' conftest.$ac_ext >&5
31533
31534 ac_cv_lib_posix4_nanosleep=no
31535 fi
31536 rm -f conftest.err conftest.$ac_objext \
31537 conftest$ac_exeext conftest.$ac_ext
31538 LIBS=$ac_check_lib_save_LIBS
31539 fi
31540 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
31541 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
31542 if test $ac_cv_lib_posix4_nanosleep = yes; then
31543
31544 cat >>confdefs.h <<\_ACEOF
31545 #define HAVE_NANOSLEEP 1
31546 _ACEOF
31547
31548 POSIX4_LINK=" -lposix4"
31549
31550 else
31551
31552
31553 for ac_func in usleep
31554 do
31555 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31556 echo "$as_me:$LINENO: checking for $ac_func" >&5
31557 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31558 if eval "test \"\${$as_ac_var+set}\" = set"; then
31559 echo $ECHO_N "(cached) $ECHO_C" >&6
31560 else
31561 cat >conftest.$ac_ext <<_ACEOF
31562 /* confdefs.h. */
31563 _ACEOF
31564 cat confdefs.h >>conftest.$ac_ext
31565 cat >>conftest.$ac_ext <<_ACEOF
31566 /* end confdefs.h. */
31567 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31568 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31569 #define $ac_func innocuous_$ac_func
31570
31571 /* System header to define __stub macros and hopefully few prototypes,
31572 which can conflict with char $ac_func (); below.
31573 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31574 <limits.h> exists even on freestanding compilers. */
31575
31576 #ifdef __STDC__
31577 # include <limits.h>
31578 #else
31579 # include <assert.h>
31580 #endif
31581
31582 #undef $ac_func
31583
31584 /* Override any gcc2 internal prototype to avoid an error. */
31585 #ifdef __cplusplus
31586 extern "C"
31587 {
31588 #endif
31589 /* We use char because int might match the return type of a gcc2
31590 builtin and then its argument prototype would still apply. */
31591 char $ac_func ();
31592 /* The GNU C library defines this for functions which it implements
31593 to always fail with ENOSYS. Some functions are actually named
31594 something starting with __ and the normal name is an alias. */
31595 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31596 choke me
31597 #else
31598 char (*f) () = $ac_func;
31599 #endif
31600 #ifdef __cplusplus
31601 }
31602 #endif
31603
31604 int
31605 main ()
31606 {
31607 return f != $ac_func;
31608 ;
31609 return 0;
31610 }
31611 _ACEOF
31612 rm -f conftest.$ac_objext conftest$ac_exeext
31613 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31614 (eval $ac_link) 2>conftest.er1
31615 ac_status=$?
31616 grep -v '^ *+' conftest.er1 >conftest.err
31617 rm -f conftest.er1
31618 cat conftest.err >&5
31619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31620 (exit $ac_status); } &&
31621 { ac_try='test -z "$ac_c_werror_flag"
31622 || test ! -s conftest.err'
31623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31624 (eval $ac_try) 2>&5
31625 ac_status=$?
31626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31627 (exit $ac_status); }; } &&
31628 { ac_try='test -s conftest$ac_exeext'
31629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31630 (eval $ac_try) 2>&5
31631 ac_status=$?
31632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31633 (exit $ac_status); }; }; then
31634 eval "$as_ac_var=yes"
31635 else
31636 echo "$as_me: failed program was:" >&5
31637 sed 's/^/| /' conftest.$ac_ext >&5
31638
31639 eval "$as_ac_var=no"
31640 fi
31641 rm -f conftest.err conftest.$ac_objext \
31642 conftest$ac_exeext conftest.$ac_ext
31643 fi
31644 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31645 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31646 if test `eval echo '${'$as_ac_var'}'` = yes; then
31647 cat >>confdefs.h <<_ACEOF
31648 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31649 _ACEOF
31650 cat >>confdefs.h <<\_ACEOF
31651 #define HAVE_USLEEP 1
31652 _ACEOF
31653
31654 else
31655 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
31656 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
31657
31658 fi
31659 done
31660
31661
31662
31663 fi
31664
31665
31666
31667 fi
31668 done
31669
31670 fi
31671
31672
31673
31674 for ac_func in uname gethostname
31675 do
31676 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31677 echo "$as_me:$LINENO: checking for $ac_func" >&5
31678 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31679 if eval "test \"\${$as_ac_var+set}\" = set"; then
31680 echo $ECHO_N "(cached) $ECHO_C" >&6
31681 else
31682 cat >conftest.$ac_ext <<_ACEOF
31683 /* confdefs.h. */
31684 _ACEOF
31685 cat confdefs.h >>conftest.$ac_ext
31686 cat >>conftest.$ac_ext <<_ACEOF
31687 /* end confdefs.h. */
31688 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31689 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31690 #define $ac_func innocuous_$ac_func
31691
31692 /* System header to define __stub macros and hopefully few prototypes,
31693 which can conflict with char $ac_func (); below.
31694 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31695 <limits.h> exists even on freestanding compilers. */
31696
31697 #ifdef __STDC__
31698 # include <limits.h>
31699 #else
31700 # include <assert.h>
31701 #endif
31702
31703 #undef $ac_func
31704
31705 /* Override any gcc2 internal prototype to avoid an error. */
31706 #ifdef __cplusplus
31707 extern "C"
31708 {
31709 #endif
31710 /* We use char because int might match the return type of a gcc2
31711 builtin and then its argument prototype would still apply. */
31712 char $ac_func ();
31713 /* The GNU C library defines this for functions which it implements
31714 to always fail with ENOSYS. Some functions are actually named
31715 something starting with __ and the normal name is an alias. */
31716 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31717 choke me
31718 #else
31719 char (*f) () = $ac_func;
31720 #endif
31721 #ifdef __cplusplus
31722 }
31723 #endif
31724
31725 int
31726 main ()
31727 {
31728 return f != $ac_func;
31729 ;
31730 return 0;
31731 }
31732 _ACEOF
31733 rm -f conftest.$ac_objext conftest$ac_exeext
31734 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31735 (eval $ac_link) 2>conftest.er1
31736 ac_status=$?
31737 grep -v '^ *+' conftest.er1 >conftest.err
31738 rm -f conftest.er1
31739 cat conftest.err >&5
31740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31741 (exit $ac_status); } &&
31742 { ac_try='test -z "$ac_c_werror_flag"
31743 || test ! -s conftest.err'
31744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31745 (eval $ac_try) 2>&5
31746 ac_status=$?
31747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31748 (exit $ac_status); }; } &&
31749 { ac_try='test -s conftest$ac_exeext'
31750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31751 (eval $ac_try) 2>&5
31752 ac_status=$?
31753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31754 (exit $ac_status); }; }; then
31755 eval "$as_ac_var=yes"
31756 else
31757 echo "$as_me: failed program was:" >&5
31758 sed 's/^/| /' conftest.$ac_ext >&5
31759
31760 eval "$as_ac_var=no"
31761 fi
31762 rm -f conftest.err conftest.$ac_objext \
31763 conftest$ac_exeext conftest.$ac_ext
31764 fi
31765 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31766 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31767 if test `eval echo '${'$as_ac_var'}'` = yes; then
31768 cat >>confdefs.h <<_ACEOF
31769 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31770 _ACEOF
31771 break
31772 fi
31773 done
31774
31775
31776
31777
31778 ac_ext=cc
31779 ac_cpp='$CXXCPP $CPPFLAGS'
31780 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31781 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31782 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31783
31784
31785
31786 for ac_func in strtok_r
31787 do
31788 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31789 echo "$as_me:$LINENO: checking for $ac_func" >&5
31790 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31791 if eval "test \"\${$as_ac_var+set}\" = set"; then
31792 echo $ECHO_N "(cached) $ECHO_C" >&6
31793 else
31794 cat >conftest.$ac_ext <<_ACEOF
31795 /* confdefs.h. */
31796 _ACEOF
31797 cat confdefs.h >>conftest.$ac_ext
31798 cat >>conftest.$ac_ext <<_ACEOF
31799 /* end confdefs.h. */
31800 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31801 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31802 #define $ac_func innocuous_$ac_func
31803
31804 /* System header to define __stub macros and hopefully few prototypes,
31805 which can conflict with char $ac_func (); below.
31806 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31807 <limits.h> exists even on freestanding compilers. */
31808
31809 #ifdef __STDC__
31810 # include <limits.h>
31811 #else
31812 # include <assert.h>
31813 #endif
31814
31815 #undef $ac_func
31816
31817 /* Override any gcc2 internal prototype to avoid an error. */
31818 #ifdef __cplusplus
31819 extern "C"
31820 {
31821 #endif
31822 /* We use char because int might match the return type of a gcc2
31823 builtin and then its argument prototype would still apply. */
31824 char $ac_func ();
31825 /* The GNU C library defines this for functions which it implements
31826 to always fail with ENOSYS. Some functions are actually named
31827 something starting with __ and the normal name is an alias. */
31828 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31829 choke me
31830 #else
31831 char (*f) () = $ac_func;
31832 #endif
31833 #ifdef __cplusplus
31834 }
31835 #endif
31836
31837 int
31838 main ()
31839 {
31840 return f != $ac_func;
31841 ;
31842 return 0;
31843 }
31844 _ACEOF
31845 rm -f conftest.$ac_objext conftest$ac_exeext
31846 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31847 (eval $ac_link) 2>conftest.er1
31848 ac_status=$?
31849 grep -v '^ *+' conftest.er1 >conftest.err
31850 rm -f conftest.er1
31851 cat conftest.err >&5
31852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31853 (exit $ac_status); } &&
31854 { ac_try='test -z "$ac_cxx_werror_flag"
31855 || test ! -s conftest.err'
31856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31857 (eval $ac_try) 2>&5
31858 ac_status=$?
31859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31860 (exit $ac_status); }; } &&
31861 { ac_try='test -s conftest$ac_exeext'
31862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31863 (eval $ac_try) 2>&5
31864 ac_status=$?
31865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31866 (exit $ac_status); }; }; then
31867 eval "$as_ac_var=yes"
31868 else
31869 echo "$as_me: failed program was:" >&5
31870 sed 's/^/| /' conftest.$ac_ext >&5
31871
31872 eval "$as_ac_var=no"
31873 fi
31874 rm -f conftest.err conftest.$ac_objext \
31875 conftest$ac_exeext conftest.$ac_ext
31876 fi
31877 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31878 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31879 if test `eval echo '${'$as_ac_var'}'` = yes; then
31880 cat >>confdefs.h <<_ACEOF
31881 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31882 _ACEOF
31883
31884 fi
31885 done
31886
31887
31888 ac_ext=c
31889 ac_cpp='$CPP $CPPFLAGS'
31890 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31891 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31892 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31893
31894
31895 INET_LINK=
31896
31897 for ac_func in inet_addr
31898 do
31899 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31900 echo "$as_me:$LINENO: checking for $ac_func" >&5
31901 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31902 if eval "test \"\${$as_ac_var+set}\" = set"; then
31903 echo $ECHO_N "(cached) $ECHO_C" >&6
31904 else
31905 cat >conftest.$ac_ext <<_ACEOF
31906 /* confdefs.h. */
31907 _ACEOF
31908 cat confdefs.h >>conftest.$ac_ext
31909 cat >>conftest.$ac_ext <<_ACEOF
31910 /* end confdefs.h. */
31911 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31912 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31913 #define $ac_func innocuous_$ac_func
31914
31915 /* System header to define __stub macros and hopefully few prototypes,
31916 which can conflict with char $ac_func (); below.
31917 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31918 <limits.h> exists even on freestanding compilers. */
31919
31920 #ifdef __STDC__
31921 # include <limits.h>
31922 #else
31923 # include <assert.h>
31924 #endif
31925
31926 #undef $ac_func
31927
31928 /* Override any gcc2 internal prototype to avoid an error. */
31929 #ifdef __cplusplus
31930 extern "C"
31931 {
31932 #endif
31933 /* We use char because int might match the return type of a gcc2
31934 builtin and then its argument prototype would still apply. */
31935 char $ac_func ();
31936 /* The GNU C library defines this for functions which it implements
31937 to always fail with ENOSYS. Some functions are actually named
31938 something starting with __ and the normal name is an alias. */
31939 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31940 choke me
31941 #else
31942 char (*f) () = $ac_func;
31943 #endif
31944 #ifdef __cplusplus
31945 }
31946 #endif
31947
31948 int
31949 main ()
31950 {
31951 return f != $ac_func;
31952 ;
31953 return 0;
31954 }
31955 _ACEOF
31956 rm -f conftest.$ac_objext conftest$ac_exeext
31957 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31958 (eval $ac_link) 2>conftest.er1
31959 ac_status=$?
31960 grep -v '^ *+' conftest.er1 >conftest.err
31961 rm -f conftest.er1
31962 cat conftest.err >&5
31963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31964 (exit $ac_status); } &&
31965 { ac_try='test -z "$ac_c_werror_flag"
31966 || test ! -s conftest.err'
31967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31968 (eval $ac_try) 2>&5
31969 ac_status=$?
31970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31971 (exit $ac_status); }; } &&
31972 { ac_try='test -s conftest$ac_exeext'
31973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31974 (eval $ac_try) 2>&5
31975 ac_status=$?
31976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31977 (exit $ac_status); }; }; then
31978 eval "$as_ac_var=yes"
31979 else
31980 echo "$as_me: failed program was:" >&5
31981 sed 's/^/| /' conftest.$ac_ext >&5
31982
31983 eval "$as_ac_var=no"
31984 fi
31985 rm -f conftest.err conftest.$ac_objext \
31986 conftest$ac_exeext conftest.$ac_ext
31987 fi
31988 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31989 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31990 if test `eval echo '${'$as_ac_var'}'` = yes; then
31991 cat >>confdefs.h <<_ACEOF
31992 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31993 _ACEOF
31994 cat >>confdefs.h <<\_ACEOF
31995 #define HAVE_INET_ADDR 1
31996 _ACEOF
31997
31998 else
31999
32000 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
32001 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
32002 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
32003 echo $ECHO_N "(cached) $ECHO_C" >&6
32004 else
32005 ac_check_lib_save_LIBS=$LIBS
32006 LIBS="-lnsl $LIBS"
32007 cat >conftest.$ac_ext <<_ACEOF
32008 /* confdefs.h. */
32009 _ACEOF
32010 cat confdefs.h >>conftest.$ac_ext
32011 cat >>conftest.$ac_ext <<_ACEOF
32012 /* end confdefs.h. */
32013
32014 /* Override any gcc2 internal prototype to avoid an error. */
32015 #ifdef __cplusplus
32016 extern "C"
32017 #endif
32018 /* We use char because int might match the return type of a gcc2
32019 builtin and then its argument prototype would still apply. */
32020 char inet_addr ();
32021 int
32022 main ()
32023 {
32024 inet_addr ();
32025 ;
32026 return 0;
32027 }
32028 _ACEOF
32029 rm -f conftest.$ac_objext conftest$ac_exeext
32030 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32031 (eval $ac_link) 2>conftest.er1
32032 ac_status=$?
32033 grep -v '^ *+' conftest.er1 >conftest.err
32034 rm -f conftest.er1
32035 cat conftest.err >&5
32036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32037 (exit $ac_status); } &&
32038 { ac_try='test -z "$ac_c_werror_flag"
32039 || test ! -s conftest.err'
32040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32041 (eval $ac_try) 2>&5
32042 ac_status=$?
32043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32044 (exit $ac_status); }; } &&
32045 { ac_try='test -s conftest$ac_exeext'
32046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32047 (eval $ac_try) 2>&5
32048 ac_status=$?
32049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32050 (exit $ac_status); }; }; then
32051 ac_cv_lib_nsl_inet_addr=yes
32052 else
32053 echo "$as_me: failed program was:" >&5
32054 sed 's/^/| /' conftest.$ac_ext >&5
32055
32056 ac_cv_lib_nsl_inet_addr=no
32057 fi
32058 rm -f conftest.err conftest.$ac_objext \
32059 conftest$ac_exeext conftest.$ac_ext
32060 LIBS=$ac_check_lib_save_LIBS
32061 fi
32062 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
32063 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
32064 if test $ac_cv_lib_nsl_inet_addr = yes; then
32065 INET_LINK="nsl"
32066 else
32067
32068 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
32069 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
32070 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
32071 echo $ECHO_N "(cached) $ECHO_C" >&6
32072 else
32073 ac_check_lib_save_LIBS=$LIBS
32074 LIBS="-lresolv $LIBS"
32075 cat >conftest.$ac_ext <<_ACEOF
32076 /* confdefs.h. */
32077 _ACEOF
32078 cat confdefs.h >>conftest.$ac_ext
32079 cat >>conftest.$ac_ext <<_ACEOF
32080 /* end confdefs.h. */
32081
32082 /* Override any gcc2 internal prototype to avoid an error. */
32083 #ifdef __cplusplus
32084 extern "C"
32085 #endif
32086 /* We use char because int might match the return type of a gcc2
32087 builtin and then its argument prototype would still apply. */
32088 char inet_addr ();
32089 int
32090 main ()
32091 {
32092 inet_addr ();
32093 ;
32094 return 0;
32095 }
32096 _ACEOF
32097 rm -f conftest.$ac_objext conftest$ac_exeext
32098 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32099 (eval $ac_link) 2>conftest.er1
32100 ac_status=$?
32101 grep -v '^ *+' conftest.er1 >conftest.err
32102 rm -f conftest.er1
32103 cat conftest.err >&5
32104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32105 (exit $ac_status); } &&
32106 { ac_try='test -z "$ac_c_werror_flag"
32107 || test ! -s conftest.err'
32108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32109 (eval $ac_try) 2>&5
32110 ac_status=$?
32111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32112 (exit $ac_status); }; } &&
32113 { ac_try='test -s conftest$ac_exeext'
32114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32115 (eval $ac_try) 2>&5
32116 ac_status=$?
32117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32118 (exit $ac_status); }; }; then
32119 ac_cv_lib_resolv_inet_addr=yes
32120 else
32121 echo "$as_me: failed program was:" >&5
32122 sed 's/^/| /' conftest.$ac_ext >&5
32123
32124 ac_cv_lib_resolv_inet_addr=no
32125 fi
32126 rm -f conftest.err conftest.$ac_objext \
32127 conftest$ac_exeext conftest.$ac_ext
32128 LIBS=$ac_check_lib_save_LIBS
32129 fi
32130 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
32131 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
32132 if test $ac_cv_lib_resolv_inet_addr = yes; then
32133 INET_LINK="resolv"
32134 else
32135
32136 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
32137 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
32138 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
32139 echo $ECHO_N "(cached) $ECHO_C" >&6
32140 else
32141 ac_check_lib_save_LIBS=$LIBS
32142 LIBS="-lsocket $LIBS"
32143 cat >conftest.$ac_ext <<_ACEOF
32144 /* confdefs.h. */
32145 _ACEOF
32146 cat confdefs.h >>conftest.$ac_ext
32147 cat >>conftest.$ac_ext <<_ACEOF
32148 /* end confdefs.h. */
32149
32150 /* Override any gcc2 internal prototype to avoid an error. */
32151 #ifdef __cplusplus
32152 extern "C"
32153 #endif
32154 /* We use char because int might match the return type of a gcc2
32155 builtin and then its argument prototype would still apply. */
32156 char inet_addr ();
32157 int
32158 main ()
32159 {
32160 inet_addr ();
32161 ;
32162 return 0;
32163 }
32164 _ACEOF
32165 rm -f conftest.$ac_objext conftest$ac_exeext
32166 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32167 (eval $ac_link) 2>conftest.er1
32168 ac_status=$?
32169 grep -v '^ *+' conftest.er1 >conftest.err
32170 rm -f conftest.er1
32171 cat conftest.err >&5
32172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32173 (exit $ac_status); } &&
32174 { ac_try='test -z "$ac_c_werror_flag"
32175 || test ! -s conftest.err'
32176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32177 (eval $ac_try) 2>&5
32178 ac_status=$?
32179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32180 (exit $ac_status); }; } &&
32181 { ac_try='test -s conftest$ac_exeext'
32182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32183 (eval $ac_try) 2>&5
32184 ac_status=$?
32185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32186 (exit $ac_status); }; }; then
32187 ac_cv_lib_socket_inet_addr=yes
32188 else
32189 echo "$as_me: failed program was:" >&5
32190 sed 's/^/| /' conftest.$ac_ext >&5
32191
32192 ac_cv_lib_socket_inet_addr=no
32193 fi
32194 rm -f conftest.err conftest.$ac_objext \
32195 conftest$ac_exeext conftest.$ac_ext
32196 LIBS=$ac_check_lib_save_LIBS
32197 fi
32198 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
32199 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
32200 if test $ac_cv_lib_socket_inet_addr = yes; then
32201 INET_LINK="socket"
32202
32203 fi
32204
32205
32206
32207 fi
32208
32209
32210
32211 fi
32212
32213
32214
32215 fi
32216 done
32217
32218
32219
32220 for ac_func in inet_aton
32221 do
32222 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32223 echo "$as_me:$LINENO: checking for $ac_func" >&5
32224 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32225 if eval "test \"\${$as_ac_var+set}\" = set"; then
32226 echo $ECHO_N "(cached) $ECHO_C" >&6
32227 else
32228 cat >conftest.$ac_ext <<_ACEOF
32229 /* confdefs.h. */
32230 _ACEOF
32231 cat confdefs.h >>conftest.$ac_ext
32232 cat >>conftest.$ac_ext <<_ACEOF
32233 /* end confdefs.h. */
32234 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32235 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32236 #define $ac_func innocuous_$ac_func
32237
32238 /* System header to define __stub macros and hopefully few prototypes,
32239 which can conflict with char $ac_func (); below.
32240 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32241 <limits.h> exists even on freestanding compilers. */
32242
32243 #ifdef __STDC__
32244 # include <limits.h>
32245 #else
32246 # include <assert.h>
32247 #endif
32248
32249 #undef $ac_func
32250
32251 /* Override any gcc2 internal prototype to avoid an error. */
32252 #ifdef __cplusplus
32253 extern "C"
32254 {
32255 #endif
32256 /* We use char because int might match the return type of a gcc2
32257 builtin and then its argument prototype would still apply. */
32258 char $ac_func ();
32259 /* The GNU C library defines this for functions which it implements
32260 to always fail with ENOSYS. Some functions are actually named
32261 something starting with __ and the normal name is an alias. */
32262 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32263 choke me
32264 #else
32265 char (*f) () = $ac_func;
32266 #endif
32267 #ifdef __cplusplus
32268 }
32269 #endif
32270
32271 int
32272 main ()
32273 {
32274 return f != $ac_func;
32275 ;
32276 return 0;
32277 }
32278 _ACEOF
32279 rm -f conftest.$ac_objext conftest$ac_exeext
32280 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32281 (eval $ac_link) 2>conftest.er1
32282 ac_status=$?
32283 grep -v '^ *+' conftest.er1 >conftest.err
32284 rm -f conftest.er1
32285 cat conftest.err >&5
32286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32287 (exit $ac_status); } &&
32288 { ac_try='test -z "$ac_c_werror_flag"
32289 || test ! -s conftest.err'
32290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32291 (eval $ac_try) 2>&5
32292 ac_status=$?
32293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32294 (exit $ac_status); }; } &&
32295 { ac_try='test -s conftest$ac_exeext'
32296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32297 (eval $ac_try) 2>&5
32298 ac_status=$?
32299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32300 (exit $ac_status); }; }; then
32301 eval "$as_ac_var=yes"
32302 else
32303 echo "$as_me: failed program was:" >&5
32304 sed 's/^/| /' conftest.$ac_ext >&5
32305
32306 eval "$as_ac_var=no"
32307 fi
32308 rm -f conftest.err conftest.$ac_objext \
32309 conftest$ac_exeext conftest.$ac_ext
32310 fi
32311 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32312 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32313 if test `eval echo '${'$as_ac_var'}'` = yes; then
32314 cat >>confdefs.h <<_ACEOF
32315 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32316 _ACEOF
32317 cat >>confdefs.h <<\_ACEOF
32318 #define HAVE_INET_ATON 1
32319 _ACEOF
32320
32321 else
32322
32323 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
32324 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
32325 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
32326 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
32327 echo $ECHO_N "(cached) $ECHO_C" >&6
32328 else
32329 ac_check_lib_save_LIBS=$LIBS
32330 LIBS="-l$INET_LINK $LIBS"
32331 cat >conftest.$ac_ext <<_ACEOF
32332 /* confdefs.h. */
32333 _ACEOF
32334 cat confdefs.h >>conftest.$ac_ext
32335 cat >>conftest.$ac_ext <<_ACEOF
32336 /* end confdefs.h. */
32337
32338 /* Override any gcc2 internal prototype to avoid an error. */
32339 #ifdef __cplusplus
32340 extern "C"
32341 #endif
32342 /* We use char because int might match the return type of a gcc2
32343 builtin and then its argument prototype would still apply. */
32344 char inet_aton ();
32345 int
32346 main ()
32347 {
32348 inet_aton ();
32349 ;
32350 return 0;
32351 }
32352 _ACEOF
32353 rm -f conftest.$ac_objext conftest$ac_exeext
32354 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32355 (eval $ac_link) 2>conftest.er1
32356 ac_status=$?
32357 grep -v '^ *+' conftest.er1 >conftest.err
32358 rm -f conftest.er1
32359 cat conftest.err >&5
32360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32361 (exit $ac_status); } &&
32362 { ac_try='test -z "$ac_c_werror_flag"
32363 || test ! -s conftest.err'
32364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32365 (eval $ac_try) 2>&5
32366 ac_status=$?
32367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32368 (exit $ac_status); }; } &&
32369 { ac_try='test -s conftest$ac_exeext'
32370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32371 (eval $ac_try) 2>&5
32372 ac_status=$?
32373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32374 (exit $ac_status); }; }; then
32375 eval "$as_ac_Lib=yes"
32376 else
32377 echo "$as_me: failed program was:" >&5
32378 sed 's/^/| /' conftest.$ac_ext >&5
32379
32380 eval "$as_ac_Lib=no"
32381 fi
32382 rm -f conftest.err conftest.$ac_objext \
32383 conftest$ac_exeext conftest.$ac_ext
32384 LIBS=$ac_check_lib_save_LIBS
32385 fi
32386 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
32387 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
32388 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
32389 cat >>confdefs.h <<\_ACEOF
32390 #define HAVE_INET_ATON 1
32391 _ACEOF
32392
32393 fi
32394
32395
32396 fi
32397 done
32398
32399
32400 if test "x$INET_LINK" != "x"; then
32401 cat >>confdefs.h <<\_ACEOF
32402 #define HAVE_INET_ADDR 1
32403 _ACEOF
32404
32405 INET_LINK=" -l$INET_LINK"
32406 fi
32407
32408 fi
32409
32410
32411
32412 EXTRALIBS_ESD=
32413 echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
32414 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
32415 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
32416 echo $ECHO_N "(cached) $ECHO_C" >&6
32417 else
32418 ac_check_lib_save_LIBS=$LIBS
32419 LIBS="-lesd $LIBS"
32420 cat >conftest.$ac_ext <<_ACEOF
32421 /* confdefs.h. */
32422 _ACEOF
32423 cat confdefs.h >>conftest.$ac_ext
32424 cat >>conftest.$ac_ext <<_ACEOF
32425 /* end confdefs.h. */
32426
32427 /* Override any gcc2 internal prototype to avoid an error. */
32428 #ifdef __cplusplus
32429 extern "C"
32430 #endif
32431 /* We use char because int might match the return type of a gcc2
32432 builtin and then its argument prototype would still apply. */
32433 char esd_close ();
32434 int
32435 main ()
32436 {
32437 esd_close ();
32438 ;
32439 return 0;
32440 }
32441 _ACEOF
32442 rm -f conftest.$ac_objext conftest$ac_exeext
32443 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32444 (eval $ac_link) 2>conftest.er1
32445 ac_status=$?
32446 grep -v '^ *+' conftest.er1 >conftest.err
32447 rm -f conftest.er1
32448 cat conftest.err >&5
32449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32450 (exit $ac_status); } &&
32451 { ac_try='test -z "$ac_c_werror_flag"
32452 || test ! -s conftest.err'
32453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32454 (eval $ac_try) 2>&5
32455 ac_status=$?
32456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32457 (exit $ac_status); }; } &&
32458 { ac_try='test -s conftest$ac_exeext'
32459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32460 (eval $ac_try) 2>&5
32461 ac_status=$?
32462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32463 (exit $ac_status); }; }; then
32464 ac_cv_lib_esd_esd_close=yes
32465 else
32466 echo "$as_me: failed program was:" >&5
32467 sed 's/^/| /' conftest.$ac_ext >&5
32468
32469 ac_cv_lib_esd_esd_close=no
32470 fi
32471 rm -f conftest.err conftest.$ac_objext \
32472 conftest$ac_exeext conftest.$ac_ext
32473 LIBS=$ac_check_lib_save_LIBS
32474 fi
32475 echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
32476 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
32477 if test $ac_cv_lib_esd_esd_close = yes; then
32478
32479
32480 for ac_header in esd.h
32481 do
32482 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32483 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32484 echo "$as_me:$LINENO: checking for $ac_header" >&5
32485 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32486 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32487 echo $ECHO_N "(cached) $ECHO_C" >&6
32488 fi
32489 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32490 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32491 else
32492 # Is the header compilable?
32493 echo "$as_me:$LINENO: checking $ac_header usability" >&5
32494 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
32495 cat >conftest.$ac_ext <<_ACEOF
32496 /* confdefs.h. */
32497 _ACEOF
32498 cat confdefs.h >>conftest.$ac_ext
32499 cat >>conftest.$ac_ext <<_ACEOF
32500 /* end confdefs.h. */
32501 $ac_includes_default
32502 #include <$ac_header>
32503 _ACEOF
32504 rm -f conftest.$ac_objext
32505 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32506 (eval $ac_compile) 2>conftest.er1
32507 ac_status=$?
32508 grep -v '^ *+' conftest.er1 >conftest.err
32509 rm -f conftest.er1
32510 cat conftest.err >&5
32511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32512 (exit $ac_status); } &&
32513 { ac_try='test -z "$ac_c_werror_flag"
32514 || test ! -s conftest.err'
32515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32516 (eval $ac_try) 2>&5
32517 ac_status=$?
32518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32519 (exit $ac_status); }; } &&
32520 { ac_try='test -s conftest.$ac_objext'
32521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32522 (eval $ac_try) 2>&5
32523 ac_status=$?
32524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32525 (exit $ac_status); }; }; then
32526 ac_header_compiler=yes
32527 else
32528 echo "$as_me: failed program was:" >&5
32529 sed 's/^/| /' conftest.$ac_ext >&5
32530
32531 ac_header_compiler=no
32532 fi
32533 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32534 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32535 echo "${ECHO_T}$ac_header_compiler" >&6
32536
32537 # Is the header present?
32538 echo "$as_me:$LINENO: checking $ac_header presence" >&5
32539 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
32540 cat >conftest.$ac_ext <<_ACEOF
32541 /* confdefs.h. */
32542 _ACEOF
32543 cat confdefs.h >>conftest.$ac_ext
32544 cat >>conftest.$ac_ext <<_ACEOF
32545 /* end confdefs.h. */
32546 #include <$ac_header>
32547 _ACEOF
32548 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32549 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
32550 ac_status=$?
32551 grep -v '^ *+' conftest.er1 >conftest.err
32552 rm -f conftest.er1
32553 cat conftest.err >&5
32554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32555 (exit $ac_status); } >/dev/null; then
32556 if test -s conftest.err; then
32557 ac_cpp_err=$ac_c_preproc_warn_flag
32558 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
32559 else
32560 ac_cpp_err=
32561 fi
32562 else
32563 ac_cpp_err=yes
32564 fi
32565 if test -z "$ac_cpp_err"; then
32566 ac_header_preproc=yes
32567 else
32568 echo "$as_me: failed program was:" >&5
32569 sed 's/^/| /' conftest.$ac_ext >&5
32570
32571 ac_header_preproc=no
32572 fi
32573 rm -f conftest.err conftest.$ac_ext
32574 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32575 echo "${ECHO_T}$ac_header_preproc" >&6
32576
32577 # So? What about this header?
32578 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
32579 yes:no: )
32580 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
32581 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
32582 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
32583 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
32584 ac_header_preproc=yes
32585 ;;
32586 no:yes:* )
32587 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
32588 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
32589 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
32590 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
32591 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
32592 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
32593 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
32594 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
32595 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32596 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32597 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
32598 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
32599 (
32600 cat <<\_ASBOX
32601 ## ----------------------------------------- ##
32602 ## Report this to wx-dev@lists.wxwidgets.org ##
32603 ## ----------------------------------------- ##
32604 _ASBOX
32605 ) |
32606 sed "s/^/$as_me: WARNING: /" >&2
32607 ;;
32608 esac
32609 echo "$as_me:$LINENO: checking for $ac_header" >&5
32610 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32611 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32612 echo $ECHO_N "(cached) $ECHO_C" >&6
32613 else
32614 eval "$as_ac_Header=\$ac_header_preproc"
32615 fi
32616 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32617 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32618
32619 fi
32620 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32621 cat >>confdefs.h <<_ACEOF
32622 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32623 _ACEOF
32624
32625 EXTRALIBS_ESD="-lesd"
32626
32627 fi
32628
32629 done
32630
32631
32632 fi
32633
32634
32635
32636 echo "$as_me:$LINENO: checking for known CD-ROM interface" >&5
32637 echo $ECHO_N "checking for known CD-ROM interface... $ECHO_C" >&6
32638 cat >conftest.$ac_ext <<_ACEOF
32639 /* confdefs.h. */
32640 _ACEOF
32641 cat confdefs.h >>conftest.$ac_ext
32642 cat >>conftest.$ac_ext <<_ACEOF
32643 /* end confdefs.h. */
32644 #ifdef __linux__
32645 #include <linux/cdrom.h>
32646 #else
32647 /* For Solaris */
32648 #include <sys/cdio.h>
32649 #endif
32650
32651 int
32652 main ()
32653 {
32654 struct cdrom_tocentry entry, old_entry;
32655 ;
32656 return 0;
32657 }
32658 _ACEOF
32659 rm -f conftest.$ac_objext
32660 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32661 (eval $ac_compile) 2>conftest.er1
32662 ac_status=$?
32663 grep -v '^ *+' conftest.er1 >conftest.err
32664 rm -f conftest.er1
32665 cat conftest.err >&5
32666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32667 (exit $ac_status); } &&
32668 { ac_try='test -z "$ac_c_werror_flag"
32669 || test ! -s conftest.err'
32670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32671 (eval $ac_try) 2>&5
32672 ac_status=$?
32673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32674 (exit $ac_status); }; } &&
32675 { ac_try='test -s conftest.$ac_objext'
32676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32677 (eval $ac_try) 2>&5
32678 ac_status=$?
32679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32680 (exit $ac_status); }; }; then
32681 echo "$as_me:$LINENO: result: yes" >&5
32682 echo "${ECHO_T}yes" >&6
32683 cat >>confdefs.h <<\_ACEOF
32684 #define HAVE_KNOWN_CDROM_INTERFACE 1
32685 _ACEOF
32686
32687 else
32688 echo "$as_me: failed program was:" >&5
32689 sed 's/^/| /' conftest.$ac_ext >&5
32690
32691 echo "$as_me:$LINENO: result: no" >&5
32692 echo "${ECHO_T}no" >&6
32693 fi
32694 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32695
32696
32697 cat >confcache <<\_ACEOF
32698 # This file is a shell script that caches the results of configure
32699 # tests run on this system so they can be shared between configure
32700 # scripts and configure runs, see configure's option --config-cache.
32701 # It is not useful on other systems. If it contains results you don't
32702 # want to keep, you may remove or edit it.
32703 #
32704 # config.status only pays attention to the cache file if you give it
32705 # the --recheck option to rerun configure.
32706 #
32707 # `ac_cv_env_foo' variables (set or unset) will be overridden when
32708 # loading this file, other *unset* `ac_cv_foo' will be assigned the
32709 # following values.
32710
32711 _ACEOF
32712
32713 # The following way of writing the cache mishandles newlines in values,
32714 # but we know of no workaround that is simple, portable, and efficient.
32715 # So, don't put newlines in cache variables' values.
32716 # Ultrix sh set writes to stderr and can't be redirected directly,
32717 # and sets the high bit in the cache file unless we assign to the vars.
32718 {
32719 (set) 2>&1 |
32720 case `(ac_space=' '; set | grep ac_space) 2>&1` in
32721 *ac_space=\ *)
32722 # `set' does not quote correctly, so add quotes (double-quote
32723 # substitution turns \\\\ into \\, and sed turns \\ into \).
32724 sed -n \
32725 "s/'/'\\\\''/g;
32726 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
32727 ;;
32728 *)
32729 # `set' quotes correctly as required by POSIX, so do not add quotes.
32730 sed -n \
32731 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
32732 ;;
32733 esac;
32734 } |
32735 sed '
32736 t clear
32737 : clear
32738 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
32739 t end
32740 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
32741 : end' >>confcache
32742 if diff $cache_file confcache >/dev/null 2>&1; then :; else
32743 if test -w $cache_file; then
32744 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
32745 cat confcache >$cache_file
32746 else
32747 echo "not updating unwritable cache $cache_file"
32748 fi
32749 fi
32750 rm -f confcache
32751
32752
32753 CPP_MT_FLAG=
32754 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
32755
32756
32757 THREADS_LINK=
32758 THREADS_CFLAGS=
32759
32760 if test "$wxUSE_THREADS" = "yes" ; then
32761 if test "$USE_BEOS" = 1; then
32762 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
32763 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
32764 wxUSE_THREADS="no"
32765 fi
32766 fi
32767
32768 if test "$wxUSE_THREADS" = "yes" ; then
32769
32770
32771 THREAD_OPTS="-pthread"
32772 case "${host}" in
32773 *-*-solaris2* | *-*-sunos4* )
32774 if test "x$GCC" = "xyes"; then
32775 THREAD_OPTS="-pthreads $THREAD_OPTS"
32776 else
32777 THREAD_OPTS="-mt $THREAD_OPTS"
32778 fi
32779 ;;
32780 *-*-freebsd*)
32781 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
32782 ;;
32783 *-*-darwin* | *-*-cygwin* )
32784 THREAD_OPTS=""
32785 ;;
32786 *-*-aix*)
32787 THREAD_OPTS="pthreads"
32788 ;;
32789 *-hp-hpux* )
32790 if test "x$GCC" != "xyes"; then
32791 THREAD_OPTS=""
32792 fi
32793 ;;
32794
32795 *-*-irix* )
32796 if test "x$GCC" = "xyes"; then
32797 THREAD_OPTS=""
32798 fi
32799 ;;
32800
32801 *-*-*UnixWare*)
32802 if test "x$GCC" != "xyes"; then
32803 THREAD_OPTS="-Ethread"
32804 fi
32805 ;;
32806 esac
32807
32808 THREAD_OPTS="$THREAD_OPTS pthread none"
32809
32810 THREADS_OK=no
32811 for flag in $THREAD_OPTS; do
32812 case $flag in
32813 none)
32814 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
32815 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
32816 ;;
32817
32818 -*)
32819 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
32820 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
32821 THREADS_CFLAGS="$flag"
32822 ;;
32823
32824 *)
32825 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
32826 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
32827 THREADS_LINK="-l$flag"
32828 ;;
32829 esac
32830
32831 save_LIBS="$LIBS"
32832 save_CFLAGS="$CFLAGS"
32833 LIBS="$THREADS_LINK $LIBS"
32834 CFLAGS="$THREADS_CFLAGS $CFLAGS"
32835
32836 cat >conftest.$ac_ext <<_ACEOF
32837 /* confdefs.h. */
32838 _ACEOF
32839 cat confdefs.h >>conftest.$ac_ext
32840 cat >>conftest.$ac_ext <<_ACEOF
32841 /* end confdefs.h. */
32842 #include <pthread.h>
32843 int
32844 main ()
32845 {
32846 pthread_create(0,0,0,0);
32847 ;
32848 return 0;
32849 }
32850 _ACEOF
32851 rm -f conftest.$ac_objext conftest$ac_exeext
32852 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32853 (eval $ac_link) 2>conftest.er1
32854 ac_status=$?
32855 grep -v '^ *+' conftest.er1 >conftest.err
32856 rm -f conftest.er1
32857 cat conftest.err >&5
32858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32859 (exit $ac_status); } &&
32860 { ac_try='test -z "$ac_c_werror_flag"
32861 || test ! -s conftest.err'
32862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32863 (eval $ac_try) 2>&5
32864 ac_status=$?
32865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32866 (exit $ac_status); }; } &&
32867 { ac_try='test -s conftest$ac_exeext'
32868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32869 (eval $ac_try) 2>&5
32870 ac_status=$?
32871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32872 (exit $ac_status); }; }; then
32873 THREADS_OK=yes
32874 else
32875 echo "$as_me: failed program was:" >&5
32876 sed 's/^/| /' conftest.$ac_ext >&5
32877
32878 fi
32879 rm -f conftest.err conftest.$ac_objext \
32880 conftest$ac_exeext conftest.$ac_ext
32881
32882 LIBS="$save_LIBS"
32883 CFLAGS="$save_CFLAGS"
32884
32885 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
32886 echo "${ECHO_T}$THREADS_OK" >&6
32887 if test "x$THREADS_OK" = "xyes"; then
32888 break;
32889 fi
32890
32891 THREADS_LINK=""
32892 THREADS_CFLAGS=""
32893 done
32894
32895 if test "x$THREADS_OK" != "xyes"; then
32896 wxUSE_THREADS=no
32897 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
32898 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
32899 else
32900 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
32901 LIBS="$THREADS_LINK $LIBS"
32902
32903 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
32904 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
32905 flag=no
32906 case "${host}" in
32907 *-aix*)
32908 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
32909 flag="-D_THREAD_SAFE"
32910 ;;
32911 *-freebsd*)
32912 flag="-D_THREAD_SAFE"
32913 ;;
32914 *-hp-hpux* )
32915 flag="-D_REENTRANT"
32916 if test "x$GCC" != "xyes"; then
32917 flag="$flag -D_RWSTD_MULTI_THREAD"
32918 fi
32919 ;;
32920 *solaris* | alpha*-osf*)
32921 flag="-D_REENTRANT"
32922 ;;
32923 esac
32924 echo "$as_me:$LINENO: result: ${flag}" >&5
32925 echo "${ECHO_T}${flag}" >&6
32926 if test "x$flag" != xno; then
32927 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
32928 fi
32929
32930 if test "x$THREADS_CFLAGS" != "x"; then
32931 CFLAGS="$CFLAGS $THREADS_CFLAGS"
32932 CXXFLAGS="$CXXFLAGS $THREADS_CFLAGS"
32933 fi
32934 fi
32935 fi
32936
32937 if test "$wxUSE_THREADS" = "yes" ; then
32938
32939 for ac_func in thr_setconcurrency
32940 do
32941 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32942 echo "$as_me:$LINENO: checking for $ac_func" >&5
32943 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32944 if eval "test \"\${$as_ac_var+set}\" = set"; then
32945 echo $ECHO_N "(cached) $ECHO_C" >&6
32946 else
32947 cat >conftest.$ac_ext <<_ACEOF
32948 /* confdefs.h. */
32949 _ACEOF
32950 cat confdefs.h >>conftest.$ac_ext
32951 cat >>conftest.$ac_ext <<_ACEOF
32952 /* end confdefs.h. */
32953 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32954 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32955 #define $ac_func innocuous_$ac_func
32956
32957 /* System header to define __stub macros and hopefully few prototypes,
32958 which can conflict with char $ac_func (); below.
32959 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32960 <limits.h> exists even on freestanding compilers. */
32961
32962 #ifdef __STDC__
32963 # include <limits.h>
32964 #else
32965 # include <assert.h>
32966 #endif
32967
32968 #undef $ac_func
32969
32970 /* Override any gcc2 internal prototype to avoid an error. */
32971 #ifdef __cplusplus
32972 extern "C"
32973 {
32974 #endif
32975 /* We use char because int might match the return type of a gcc2
32976 builtin and then its argument prototype would still apply. */
32977 char $ac_func ();
32978 /* The GNU C library defines this for functions which it implements
32979 to always fail with ENOSYS. Some functions are actually named
32980 something starting with __ and the normal name is an alias. */
32981 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32982 choke me
32983 #else
32984 char (*f) () = $ac_func;
32985 #endif
32986 #ifdef __cplusplus
32987 }
32988 #endif
32989
32990 int
32991 main ()
32992 {
32993 return f != $ac_func;
32994 ;
32995 return 0;
32996 }
32997 _ACEOF
32998 rm -f conftest.$ac_objext conftest$ac_exeext
32999 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33000 (eval $ac_link) 2>conftest.er1
33001 ac_status=$?
33002 grep -v '^ *+' conftest.er1 >conftest.err
33003 rm -f conftest.er1
33004 cat conftest.err >&5
33005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33006 (exit $ac_status); } &&
33007 { ac_try='test -z "$ac_c_werror_flag"
33008 || test ! -s conftest.err'
33009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33010 (eval $ac_try) 2>&5
33011 ac_status=$?
33012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33013 (exit $ac_status); }; } &&
33014 { ac_try='test -s conftest$ac_exeext'
33015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33016 (eval $ac_try) 2>&5
33017 ac_status=$?
33018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33019 (exit $ac_status); }; }; then
33020 eval "$as_ac_var=yes"
33021 else
33022 echo "$as_me: failed program was:" >&5
33023 sed 's/^/| /' conftest.$ac_ext >&5
33024
33025 eval "$as_ac_var=no"
33026 fi
33027 rm -f conftest.err conftest.$ac_objext \
33028 conftest$ac_exeext conftest.$ac_ext
33029 fi
33030 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33031 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33032 if test `eval echo '${'$as_ac_var'}'` = yes; then
33033 cat >>confdefs.h <<_ACEOF
33034 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33035 _ACEOF
33036
33037 fi
33038 done
33039
33040
33041
33042 for ac_header in sched.h
33043 do
33044 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
33045 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33046 echo "$as_me:$LINENO: checking for $ac_header" >&5
33047 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
33048 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33049 echo $ECHO_N "(cached) $ECHO_C" >&6
33050 fi
33051 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
33052 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
33053 else
33054 # Is the header compilable?
33055 echo "$as_me:$LINENO: checking $ac_header usability" >&5
33056 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
33057 cat >conftest.$ac_ext <<_ACEOF
33058 /* confdefs.h. */
33059 _ACEOF
33060 cat confdefs.h >>conftest.$ac_ext
33061 cat >>conftest.$ac_ext <<_ACEOF
33062 /* end confdefs.h. */
33063 $ac_includes_default
33064 #include <$ac_header>
33065 _ACEOF
33066 rm -f conftest.$ac_objext
33067 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33068 (eval $ac_compile) 2>conftest.er1
33069 ac_status=$?
33070 grep -v '^ *+' conftest.er1 >conftest.err
33071 rm -f conftest.er1
33072 cat conftest.err >&5
33073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33074 (exit $ac_status); } &&
33075 { ac_try='test -z "$ac_c_werror_flag"
33076 || test ! -s conftest.err'
33077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33078 (eval $ac_try) 2>&5
33079 ac_status=$?
33080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33081 (exit $ac_status); }; } &&
33082 { ac_try='test -s conftest.$ac_objext'
33083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33084 (eval $ac_try) 2>&5
33085 ac_status=$?
33086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33087 (exit $ac_status); }; }; then
33088 ac_header_compiler=yes
33089 else
33090 echo "$as_me: failed program was:" >&5
33091 sed 's/^/| /' conftest.$ac_ext >&5
33092
33093 ac_header_compiler=no
33094 fi
33095 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33096 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
33097 echo "${ECHO_T}$ac_header_compiler" >&6
33098
33099 # Is the header present?
33100 echo "$as_me:$LINENO: checking $ac_header presence" >&5
33101 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
33102 cat >conftest.$ac_ext <<_ACEOF
33103 /* confdefs.h. */
33104 _ACEOF
33105 cat confdefs.h >>conftest.$ac_ext
33106 cat >>conftest.$ac_ext <<_ACEOF
33107 /* end confdefs.h. */
33108 #include <$ac_header>
33109 _ACEOF
33110 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
33111 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
33112 ac_status=$?
33113 grep -v '^ *+' conftest.er1 >conftest.err
33114 rm -f conftest.er1
33115 cat conftest.err >&5
33116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33117 (exit $ac_status); } >/dev/null; then
33118 if test -s conftest.err; then
33119 ac_cpp_err=$ac_c_preproc_warn_flag
33120 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
33121 else
33122 ac_cpp_err=
33123 fi
33124 else
33125 ac_cpp_err=yes
33126 fi
33127 if test -z "$ac_cpp_err"; then
33128 ac_header_preproc=yes
33129 else
33130 echo "$as_me: failed program was:" >&5
33131 sed 's/^/| /' conftest.$ac_ext >&5
33132
33133 ac_header_preproc=no
33134 fi
33135 rm -f conftest.err conftest.$ac_ext
33136 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
33137 echo "${ECHO_T}$ac_header_preproc" >&6
33138
33139 # So? What about this header?
33140 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
33141 yes:no: )
33142 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
33143 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
33144 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
33145 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
33146 ac_header_preproc=yes
33147 ;;
33148 no:yes:* )
33149 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
33150 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
33151 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
33152 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
33153 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
33154 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
33155 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
33156 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
33157 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
33158 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
33159 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
33160 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
33161 (
33162 cat <<\_ASBOX
33163 ## ----------------------------------------- ##
33164 ## Report this to wx-dev@lists.wxwidgets.org ##
33165 ## ----------------------------------------- ##
33166 _ASBOX
33167 ) |
33168 sed "s/^/$as_me: WARNING: /" >&2
33169 ;;
33170 esac
33171 echo "$as_me:$LINENO: checking for $ac_header" >&5
33172 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
33173 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33174 echo $ECHO_N "(cached) $ECHO_C" >&6
33175 else
33176 eval "$as_ac_Header=\$ac_header_preproc"
33177 fi
33178 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
33179 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
33180
33181 fi
33182 if test `eval echo '${'$as_ac_Header'}'` = yes; then
33183 cat >>confdefs.h <<_ACEOF
33184 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
33185 _ACEOF
33186
33187 fi
33188
33189 done
33190
33191 if test "$ac_cv_header_sched_h" = "yes"; then
33192 echo "$as_me:$LINENO: checking for sched_yield" >&5
33193 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
33194 if test "${ac_cv_func_sched_yield+set}" = set; then
33195 echo $ECHO_N "(cached) $ECHO_C" >&6
33196 else
33197 cat >conftest.$ac_ext <<_ACEOF
33198 /* confdefs.h. */
33199 _ACEOF
33200 cat confdefs.h >>conftest.$ac_ext
33201 cat >>conftest.$ac_ext <<_ACEOF
33202 /* end confdefs.h. */
33203 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
33204 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33205 #define sched_yield innocuous_sched_yield
33206
33207 /* System header to define __stub macros and hopefully few prototypes,
33208 which can conflict with char sched_yield (); below.
33209 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33210 <limits.h> exists even on freestanding compilers. */
33211
33212 #ifdef __STDC__
33213 # include <limits.h>
33214 #else
33215 # include <assert.h>
33216 #endif
33217
33218 #undef sched_yield
33219
33220 /* Override any gcc2 internal prototype to avoid an error. */
33221 #ifdef __cplusplus
33222 extern "C"
33223 {
33224 #endif
33225 /* We use char because int might match the return type of a gcc2
33226 builtin and then its argument prototype would still apply. */
33227 char sched_yield ();
33228 /* The GNU C library defines this for functions which it implements
33229 to always fail with ENOSYS. Some functions are actually named
33230 something starting with __ and the normal name is an alias. */
33231 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
33232 choke me
33233 #else
33234 char (*f) () = sched_yield;
33235 #endif
33236 #ifdef __cplusplus
33237 }
33238 #endif
33239
33240 int
33241 main ()
33242 {
33243 return f != sched_yield;
33244 ;
33245 return 0;
33246 }
33247 _ACEOF
33248 rm -f conftest.$ac_objext conftest$ac_exeext
33249 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33250 (eval $ac_link) 2>conftest.er1
33251 ac_status=$?
33252 grep -v '^ *+' conftest.er1 >conftest.err
33253 rm -f conftest.er1
33254 cat conftest.err >&5
33255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33256 (exit $ac_status); } &&
33257 { ac_try='test -z "$ac_c_werror_flag"
33258 || test ! -s conftest.err'
33259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33260 (eval $ac_try) 2>&5
33261 ac_status=$?
33262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33263 (exit $ac_status); }; } &&
33264 { ac_try='test -s conftest$ac_exeext'
33265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33266 (eval $ac_try) 2>&5
33267 ac_status=$?
33268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33269 (exit $ac_status); }; }; then
33270 ac_cv_func_sched_yield=yes
33271 else
33272 echo "$as_me: failed program was:" >&5
33273 sed 's/^/| /' conftest.$ac_ext >&5
33274
33275 ac_cv_func_sched_yield=no
33276 fi
33277 rm -f conftest.err conftest.$ac_objext \
33278 conftest$ac_exeext conftest.$ac_ext
33279 fi
33280 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
33281 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
33282 if test $ac_cv_func_sched_yield = yes; then
33283 cat >>confdefs.h <<\_ACEOF
33284 #define HAVE_SCHED_YIELD 1
33285 _ACEOF
33286
33287 else
33288
33289 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
33290 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
33291 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
33292 echo $ECHO_N "(cached) $ECHO_C" >&6
33293 else
33294 ac_check_lib_save_LIBS=$LIBS
33295 LIBS="-lposix4 $LIBS"
33296 cat >conftest.$ac_ext <<_ACEOF
33297 /* confdefs.h. */
33298 _ACEOF
33299 cat confdefs.h >>conftest.$ac_ext
33300 cat >>conftest.$ac_ext <<_ACEOF
33301 /* end confdefs.h. */
33302
33303 /* Override any gcc2 internal prototype to avoid an error. */
33304 #ifdef __cplusplus
33305 extern "C"
33306 #endif
33307 /* We use char because int might match the return type of a gcc2
33308 builtin and then its argument prototype would still apply. */
33309 char sched_yield ();
33310 int
33311 main ()
33312 {
33313 sched_yield ();
33314 ;
33315 return 0;
33316 }
33317 _ACEOF
33318 rm -f conftest.$ac_objext conftest$ac_exeext
33319 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33320 (eval $ac_link) 2>conftest.er1
33321 ac_status=$?
33322 grep -v '^ *+' conftest.er1 >conftest.err
33323 rm -f conftest.er1
33324 cat conftest.err >&5
33325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33326 (exit $ac_status); } &&
33327 { ac_try='test -z "$ac_c_werror_flag"
33328 || test ! -s conftest.err'
33329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33330 (eval $ac_try) 2>&5
33331 ac_status=$?
33332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33333 (exit $ac_status); }; } &&
33334 { ac_try='test -s conftest$ac_exeext'
33335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33336 (eval $ac_try) 2>&5
33337 ac_status=$?
33338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33339 (exit $ac_status); }; }; then
33340 ac_cv_lib_posix4_sched_yield=yes
33341 else
33342 echo "$as_me: failed program was:" >&5
33343 sed 's/^/| /' conftest.$ac_ext >&5
33344
33345 ac_cv_lib_posix4_sched_yield=no
33346 fi
33347 rm -f conftest.err conftest.$ac_objext \
33348 conftest$ac_exeext conftest.$ac_ext
33349 LIBS=$ac_check_lib_save_LIBS
33350 fi
33351 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
33352 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
33353 if test $ac_cv_lib_posix4_sched_yield = yes; then
33354 cat >>confdefs.h <<\_ACEOF
33355 #define HAVE_SCHED_YIELD 1
33356 _ACEOF
33357 POSIX4_LINK=" -lposix4"
33358 else
33359 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
33360 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
33361
33362 fi
33363
33364
33365
33366 fi
33367
33368 fi
33369
33370 HAVE_PRIOR_FUNCS=0
33371 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
33372 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
33373 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
33374 echo $ECHO_N "(cached) $ECHO_C" >&6
33375 else
33376 cat >conftest.$ac_ext <<_ACEOF
33377 /* confdefs.h. */
33378 _ACEOF
33379 cat confdefs.h >>conftest.$ac_ext
33380 cat >>conftest.$ac_ext <<_ACEOF
33381 /* end confdefs.h. */
33382 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
33383 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33384 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
33385
33386 /* System header to define __stub macros and hopefully few prototypes,
33387 which can conflict with char pthread_attr_getschedpolicy (); below.
33388 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33389 <limits.h> exists even on freestanding compilers. */
33390
33391 #ifdef __STDC__
33392 # include <limits.h>
33393 #else
33394 # include <assert.h>
33395 #endif
33396
33397 #undef pthread_attr_getschedpolicy
33398
33399 /* Override any gcc2 internal prototype to avoid an error. */
33400 #ifdef __cplusplus
33401 extern "C"
33402 {
33403 #endif
33404 /* We use char because int might match the return type of a gcc2
33405 builtin and then its argument prototype would still apply. */
33406 char pthread_attr_getschedpolicy ();
33407 /* The GNU C library defines this for functions which it implements
33408 to always fail with ENOSYS. Some functions are actually named
33409 something starting with __ and the normal name is an alias. */
33410 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
33411 choke me
33412 #else
33413 char (*f) () = pthread_attr_getschedpolicy;
33414 #endif
33415 #ifdef __cplusplus
33416 }
33417 #endif
33418
33419 int
33420 main ()
33421 {
33422 return f != pthread_attr_getschedpolicy;
33423 ;
33424 return 0;
33425 }
33426 _ACEOF
33427 rm -f conftest.$ac_objext conftest$ac_exeext
33428 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33429 (eval $ac_link) 2>conftest.er1
33430 ac_status=$?
33431 grep -v '^ *+' conftest.er1 >conftest.err
33432 rm -f conftest.er1
33433 cat conftest.err >&5
33434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33435 (exit $ac_status); } &&
33436 { ac_try='test -z "$ac_c_werror_flag"
33437 || test ! -s conftest.err'
33438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33439 (eval $ac_try) 2>&5
33440 ac_status=$?
33441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33442 (exit $ac_status); }; } &&
33443 { ac_try='test -s conftest$ac_exeext'
33444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33445 (eval $ac_try) 2>&5
33446 ac_status=$?
33447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33448 (exit $ac_status); }; }; then
33449 ac_cv_func_pthread_attr_getschedpolicy=yes
33450 else
33451 echo "$as_me: failed program was:" >&5
33452 sed 's/^/| /' conftest.$ac_ext >&5
33453
33454 ac_cv_func_pthread_attr_getschedpolicy=no
33455 fi
33456 rm -f conftest.err conftest.$ac_objext \
33457 conftest$ac_exeext conftest.$ac_ext
33458 fi
33459 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
33460 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
33461 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
33462 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
33463 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
33464 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
33465 echo $ECHO_N "(cached) $ECHO_C" >&6
33466 else
33467 cat >conftest.$ac_ext <<_ACEOF
33468 /* confdefs.h. */
33469 _ACEOF
33470 cat confdefs.h >>conftest.$ac_ext
33471 cat >>conftest.$ac_ext <<_ACEOF
33472 /* end confdefs.h. */
33473 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
33474 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33475 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
33476
33477 /* System header to define __stub macros and hopefully few prototypes,
33478 which can conflict with char pthread_attr_setschedparam (); below.
33479 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33480 <limits.h> exists even on freestanding compilers. */
33481
33482 #ifdef __STDC__
33483 # include <limits.h>
33484 #else
33485 # include <assert.h>
33486 #endif
33487
33488 #undef pthread_attr_setschedparam
33489
33490 /* Override any gcc2 internal prototype to avoid an error. */
33491 #ifdef __cplusplus
33492 extern "C"
33493 {
33494 #endif
33495 /* We use char because int might match the return type of a gcc2
33496 builtin and then its argument prototype would still apply. */
33497 char pthread_attr_setschedparam ();
33498 /* The GNU C library defines this for functions which it implements
33499 to always fail with ENOSYS. Some functions are actually named
33500 something starting with __ and the normal name is an alias. */
33501 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
33502 choke me
33503 #else
33504 char (*f) () = pthread_attr_setschedparam;
33505 #endif
33506 #ifdef __cplusplus
33507 }
33508 #endif
33509
33510 int
33511 main ()
33512 {
33513 return f != pthread_attr_setschedparam;
33514 ;
33515 return 0;
33516 }
33517 _ACEOF
33518 rm -f conftest.$ac_objext conftest$ac_exeext
33519 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33520 (eval $ac_link) 2>conftest.er1
33521 ac_status=$?
33522 grep -v '^ *+' conftest.er1 >conftest.err
33523 rm -f conftest.er1
33524 cat conftest.err >&5
33525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33526 (exit $ac_status); } &&
33527 { ac_try='test -z "$ac_c_werror_flag"
33528 || test ! -s conftest.err'
33529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33530 (eval $ac_try) 2>&5
33531 ac_status=$?
33532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33533 (exit $ac_status); }; } &&
33534 { ac_try='test -s conftest$ac_exeext'
33535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33536 (eval $ac_try) 2>&5
33537 ac_status=$?
33538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33539 (exit $ac_status); }; }; then
33540 ac_cv_func_pthread_attr_setschedparam=yes
33541 else
33542 echo "$as_me: failed program was:" >&5
33543 sed 's/^/| /' conftest.$ac_ext >&5
33544
33545 ac_cv_func_pthread_attr_setschedparam=no
33546 fi
33547 rm -f conftest.err conftest.$ac_objext \
33548 conftest$ac_exeext conftest.$ac_ext
33549 fi
33550 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
33551 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
33552 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
33553 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
33554 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
33555 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
33556 echo $ECHO_N "(cached) $ECHO_C" >&6
33557 else
33558 cat >conftest.$ac_ext <<_ACEOF
33559 /* confdefs.h. */
33560 _ACEOF
33561 cat confdefs.h >>conftest.$ac_ext
33562 cat >>conftest.$ac_ext <<_ACEOF
33563 /* end confdefs.h. */
33564 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
33565 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33566 #define sched_get_priority_max innocuous_sched_get_priority_max
33567
33568 /* System header to define __stub macros and hopefully few prototypes,
33569 which can conflict with char sched_get_priority_max (); below.
33570 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33571 <limits.h> exists even on freestanding compilers. */
33572
33573 #ifdef __STDC__
33574 # include <limits.h>
33575 #else
33576 # include <assert.h>
33577 #endif
33578
33579 #undef sched_get_priority_max
33580
33581 /* Override any gcc2 internal prototype to avoid an error. */
33582 #ifdef __cplusplus
33583 extern "C"
33584 {
33585 #endif
33586 /* We use char because int might match the return type of a gcc2
33587 builtin and then its argument prototype would still apply. */
33588 char sched_get_priority_max ();
33589 /* The GNU C library defines this for functions which it implements
33590 to always fail with ENOSYS. Some functions are actually named
33591 something starting with __ and the normal name is an alias. */
33592 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
33593 choke me
33594 #else
33595 char (*f) () = sched_get_priority_max;
33596 #endif
33597 #ifdef __cplusplus
33598 }
33599 #endif
33600
33601 int
33602 main ()
33603 {
33604 return f != sched_get_priority_max;
33605 ;
33606 return 0;
33607 }
33608 _ACEOF
33609 rm -f conftest.$ac_objext conftest$ac_exeext
33610 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33611 (eval $ac_link) 2>conftest.er1
33612 ac_status=$?
33613 grep -v '^ *+' conftest.er1 >conftest.err
33614 rm -f conftest.er1
33615 cat conftest.err >&5
33616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33617 (exit $ac_status); } &&
33618 { ac_try='test -z "$ac_c_werror_flag"
33619 || test ! -s conftest.err'
33620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33621 (eval $ac_try) 2>&5
33622 ac_status=$?
33623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33624 (exit $ac_status); }; } &&
33625 { ac_try='test -s conftest$ac_exeext'
33626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33627 (eval $ac_try) 2>&5
33628 ac_status=$?
33629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33630 (exit $ac_status); }; }; then
33631 ac_cv_func_sched_get_priority_max=yes
33632 else
33633 echo "$as_me: failed program was:" >&5
33634 sed 's/^/| /' conftest.$ac_ext >&5
33635
33636 ac_cv_func_sched_get_priority_max=no
33637 fi
33638 rm -f conftest.err conftest.$ac_objext \
33639 conftest$ac_exeext conftest.$ac_ext
33640 fi
33641 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
33642 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
33643 if test $ac_cv_func_sched_get_priority_max = yes; then
33644 HAVE_PRIOR_FUNCS=1
33645 else
33646 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
33647 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
33648 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
33649 echo $ECHO_N "(cached) $ECHO_C" >&6
33650 else
33651 ac_check_lib_save_LIBS=$LIBS
33652 LIBS="-lposix4 $LIBS"
33653 cat >conftest.$ac_ext <<_ACEOF
33654 /* confdefs.h. */
33655 _ACEOF
33656 cat confdefs.h >>conftest.$ac_ext
33657 cat >>conftest.$ac_ext <<_ACEOF
33658 /* end confdefs.h. */
33659
33660 /* Override any gcc2 internal prototype to avoid an error. */
33661 #ifdef __cplusplus
33662 extern "C"
33663 #endif
33664 /* We use char because int might match the return type of a gcc2
33665 builtin and then its argument prototype would still apply. */
33666 char sched_get_priority_max ();
33667 int
33668 main ()
33669 {
33670 sched_get_priority_max ();
33671 ;
33672 return 0;
33673 }
33674 _ACEOF
33675 rm -f conftest.$ac_objext conftest$ac_exeext
33676 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33677 (eval $ac_link) 2>conftest.er1
33678 ac_status=$?
33679 grep -v '^ *+' conftest.er1 >conftest.err
33680 rm -f conftest.er1
33681 cat conftest.err >&5
33682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33683 (exit $ac_status); } &&
33684 { ac_try='test -z "$ac_c_werror_flag"
33685 || test ! -s conftest.err'
33686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33687 (eval $ac_try) 2>&5
33688 ac_status=$?
33689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33690 (exit $ac_status); }; } &&
33691 { ac_try='test -s conftest$ac_exeext'
33692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33693 (eval $ac_try) 2>&5
33694 ac_status=$?
33695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33696 (exit $ac_status); }; }; then
33697 ac_cv_lib_posix4_sched_get_priority_max=yes
33698 else
33699 echo "$as_me: failed program was:" >&5
33700 sed 's/^/| /' conftest.$ac_ext >&5
33701
33702 ac_cv_lib_posix4_sched_get_priority_max=no
33703 fi
33704 rm -f conftest.err conftest.$ac_objext \
33705 conftest$ac_exeext conftest.$ac_ext
33706 LIBS=$ac_check_lib_save_LIBS
33707 fi
33708 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
33709 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
33710 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
33711
33712 HAVE_PRIOR_FUNCS=1
33713 POSIX4_LINK=" -lposix4"
33714
33715 fi
33716
33717
33718 fi
33719
33720
33721 fi
33722
33723
33724 fi
33725
33726
33727 if test "$HAVE_PRIOR_FUNCS" = 1; then
33728 cat >>confdefs.h <<\_ACEOF
33729 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
33730 _ACEOF
33731
33732 else
33733 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
33734 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
33735 fi
33736
33737 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
33738 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
33739 if test "${ac_cv_func_pthread_cancel+set}" = set; then
33740 echo $ECHO_N "(cached) $ECHO_C" >&6
33741 else
33742 cat >conftest.$ac_ext <<_ACEOF
33743 /* confdefs.h. */
33744 _ACEOF
33745 cat confdefs.h >>conftest.$ac_ext
33746 cat >>conftest.$ac_ext <<_ACEOF
33747 /* end confdefs.h. */
33748 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
33749 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33750 #define pthread_cancel innocuous_pthread_cancel
33751
33752 /* System header to define __stub macros and hopefully few prototypes,
33753 which can conflict with char pthread_cancel (); below.
33754 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33755 <limits.h> exists even on freestanding compilers. */
33756
33757 #ifdef __STDC__
33758 # include <limits.h>
33759 #else
33760 # include <assert.h>
33761 #endif
33762
33763 #undef pthread_cancel
33764
33765 /* Override any gcc2 internal prototype to avoid an error. */
33766 #ifdef __cplusplus
33767 extern "C"
33768 {
33769 #endif
33770 /* We use char because int might match the return type of a gcc2
33771 builtin and then its argument prototype would still apply. */
33772 char pthread_cancel ();
33773 /* The GNU C library defines this for functions which it implements
33774 to always fail with ENOSYS. Some functions are actually named
33775 something starting with __ and the normal name is an alias. */
33776 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
33777 choke me
33778 #else
33779 char (*f) () = pthread_cancel;
33780 #endif
33781 #ifdef __cplusplus
33782 }
33783 #endif
33784
33785 int
33786 main ()
33787 {
33788 return f != pthread_cancel;
33789 ;
33790 return 0;
33791 }
33792 _ACEOF
33793 rm -f conftest.$ac_objext conftest$ac_exeext
33794 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33795 (eval $ac_link) 2>conftest.er1
33796 ac_status=$?
33797 grep -v '^ *+' conftest.er1 >conftest.err
33798 rm -f conftest.er1
33799 cat conftest.err >&5
33800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33801 (exit $ac_status); } &&
33802 { ac_try='test -z "$ac_c_werror_flag"
33803 || test ! -s conftest.err'
33804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33805 (eval $ac_try) 2>&5
33806 ac_status=$?
33807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33808 (exit $ac_status); }; } &&
33809 { ac_try='test -s conftest$ac_exeext'
33810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33811 (eval $ac_try) 2>&5
33812 ac_status=$?
33813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33814 (exit $ac_status); }; }; then
33815 ac_cv_func_pthread_cancel=yes
33816 else
33817 echo "$as_me: failed program was:" >&5
33818 sed 's/^/| /' conftest.$ac_ext >&5
33819
33820 ac_cv_func_pthread_cancel=no
33821 fi
33822 rm -f conftest.err conftest.$ac_objext \
33823 conftest$ac_exeext conftest.$ac_ext
33824 fi
33825 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
33826 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
33827 if test $ac_cv_func_pthread_cancel = yes; then
33828 cat >>confdefs.h <<\_ACEOF
33829 #define HAVE_PTHREAD_CANCEL 1
33830 _ACEOF
33831
33832 else
33833 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
33834 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
33835 fi
33836
33837
33838
33839
33840 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
33841 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
33842 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
33843 echo $ECHO_N "(cached) $ECHO_C" >&6
33844 else
33845
33846 cat >conftest.$ac_ext <<_ACEOF
33847 /* confdefs.h. */
33848 _ACEOF
33849 cat confdefs.h >>conftest.$ac_ext
33850 cat >>conftest.$ac_ext <<_ACEOF
33851 /* end confdefs.h. */
33852 #include <pthread.h>
33853 int
33854 main ()
33855 {
33856
33857 pthread_mutexattr_t attr;
33858 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
33859
33860 ;
33861 return 0;
33862 }
33863 _ACEOF
33864 rm -f conftest.$ac_objext
33865 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33866 (eval $ac_compile) 2>conftest.er1
33867 ac_status=$?
33868 grep -v '^ *+' conftest.er1 >conftest.err
33869 rm -f conftest.er1
33870 cat conftest.err >&5
33871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33872 (exit $ac_status); } &&
33873 { ac_try='test -z "$ac_c_werror_flag"
33874 || test ! -s conftest.err'
33875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33876 (eval $ac_try) 2>&5
33877 ac_status=$?
33878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33879 (exit $ac_status); }; } &&
33880 { ac_try='test -s conftest.$ac_objext'
33881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33882 (eval $ac_try) 2>&5
33883 ac_status=$?
33884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33885 (exit $ac_status); }; }; then
33886
33887 wx_cv_type_pthread_mutexattr_t=yes
33888
33889 else
33890 echo "$as_me: failed program was:" >&5
33891 sed 's/^/| /' conftest.$ac_ext >&5
33892
33893
33894 wx_cv_type_pthread_mutexattr_t=no
33895
33896
33897 fi
33898 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33899
33900 fi
33901 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
33902 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
33903
33904 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
33905 cat >>confdefs.h <<\_ACEOF
33906 #define HAVE_PTHREAD_MUTEXATTR_T 1
33907 _ACEOF
33908
33909 else
33910 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
33911 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
33912 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
33913 echo $ECHO_N "(cached) $ECHO_C" >&6
33914 else
33915
33916 cat >conftest.$ac_ext <<_ACEOF
33917 /* confdefs.h. */
33918 _ACEOF
33919 cat confdefs.h >>conftest.$ac_ext
33920 cat >>conftest.$ac_ext <<_ACEOF
33921 /* end confdefs.h. */
33922 #include <pthread.h>
33923 int
33924 main ()
33925 {
33926
33927 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
33928
33929 ;
33930 return 0;
33931 }
33932 _ACEOF
33933 rm -f conftest.$ac_objext
33934 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33935 (eval $ac_compile) 2>conftest.er1
33936 ac_status=$?
33937 grep -v '^ *+' conftest.er1 >conftest.err
33938 rm -f conftest.er1
33939 cat conftest.err >&5
33940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33941 (exit $ac_status); } &&
33942 { ac_try='test -z "$ac_c_werror_flag"
33943 || test ! -s conftest.err'
33944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33945 (eval $ac_try) 2>&5
33946 ac_status=$?
33947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33948 (exit $ac_status); }; } &&
33949 { ac_try='test -s conftest.$ac_objext'
33950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33951 (eval $ac_try) 2>&5
33952 ac_status=$?
33953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33954 (exit $ac_status); }; }; then
33955
33956 wx_cv_type_pthread_rec_mutex_init=yes
33957
33958 else
33959 echo "$as_me: failed program was:" >&5
33960 sed 's/^/| /' conftest.$ac_ext >&5
33961
33962
33963 wx_cv_type_pthread_rec_mutex_init=no
33964
33965
33966 fi
33967 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33968
33969 fi
33970 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
33971 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
33972 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
33973 cat >>confdefs.h <<\_ACEOF
33974 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
33975 _ACEOF
33976
33977 else
33978 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
33979 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
33980 fi
33981 fi
33982 fi
33983
33984 else
33985 if test "$wxUSE_THREADS" = "yes" ; then
33986 case "${host}" in
33987 *-*-mingw32* )
33988 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
33989 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
33990 if test "${wx_cv_cflags_mthread+set}" = set; then
33991 echo $ECHO_N "(cached) $ECHO_C" >&6
33992 else
33993
33994 CFLAGS_OLD="$CFLAGS"
33995 CFLAGS="$CFLAGS -mthreads"
33996 cat >conftest.$ac_ext <<_ACEOF
33997 /* confdefs.h. */
33998 _ACEOF
33999 cat confdefs.h >>conftest.$ac_ext
34000 cat >>conftest.$ac_ext <<_ACEOF
34001 /* end confdefs.h. */
34002
34003 int
34004 main ()
34005 {
34006
34007 ;
34008 return 0;
34009 }
34010 _ACEOF
34011 rm -f conftest.$ac_objext
34012 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34013 (eval $ac_compile) 2>conftest.er1
34014 ac_status=$?
34015 grep -v '^ *+' conftest.er1 >conftest.err
34016 rm -f conftest.er1
34017 cat conftest.err >&5
34018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34019 (exit $ac_status); } &&
34020 { ac_try='test -z "$ac_c_werror_flag"
34021 || test ! -s conftest.err'
34022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34023 (eval $ac_try) 2>&5
34024 ac_status=$?
34025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34026 (exit $ac_status); }; } &&
34027 { ac_try='test -s conftest.$ac_objext'
34028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34029 (eval $ac_try) 2>&5
34030 ac_status=$?
34031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34032 (exit $ac_status); }; }; then
34033 wx_cv_cflags_mthread=yes
34034 else
34035 echo "$as_me: failed program was:" >&5
34036 sed 's/^/| /' conftest.$ac_ext >&5
34037
34038 wx_cv_cflags_mthread=no
34039
34040 fi
34041 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34042
34043
34044 fi
34045 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
34046 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
34047
34048 if test "$wx_cv_cflags_mthread" = "yes"; then
34049 CXXFLAGS="$CXXFLAGS -mthreads"
34050 TOOLCHAIN_DEFS="$TOOLCHAIN_DEFS -mthreads"
34051 LDFLAGS="$LDFLAGS -mthreads"
34052 else
34053 CFLAGS="$CFLAGS_OLD"
34054 fi
34055 ;;
34056 *-pc-os2*emx )
34057 CFLAGS="$CFLAGS -Zmt -D__ST_MT_ERRNO__"
34058 CXXFLAGS="$CXXFLAGS -Zmt -D__ST_MT_ERRNO__"
34059 LDFLAGS="$LDFLAGS -Zmt"
34060 ;;
34061 esac
34062 fi
34063 fi
34064
34065 if test "$wxUSE_THREADS" = "yes"; then
34066 cat >>confdefs.h <<\_ACEOF
34067 #define wxUSE_THREADS 1
34068 _ACEOF
34069
34070
34071 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
34072 else
34073 if test "$ac_cv_func_strtok_r" = "yes"; then
34074 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
34075 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
34076 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
34077 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D_REENTRANT"
34078 echo "$as_me:$LINENO: result: yes" >&5
34079 echo "${ECHO_T}yes" >&6
34080 else
34081 echo "$as_me:$LINENO: result: no" >&5
34082 echo "${ECHO_T}no" >&6
34083 fi
34084 fi
34085 fi
34086
34087 if test "$WXGTK20" = 1 ; then
34088 cat >>confdefs.h <<_ACEOF
34089 #define __WXGTK20__ $WXGTK20
34090 _ACEOF
34091
34092 WXGTK12=1
34093 fi
34094
34095 if test "$WXGTK12" = 1 ; then
34096 cat >>confdefs.h <<_ACEOF
34097 #define __WXGTK12__ $WXGTK12
34098 _ACEOF
34099
34100 fi
34101
34102 if test "$WXGTK127" = 1 ; then
34103 cat >>confdefs.h <<_ACEOF
34104 #define __WXGTK127__ $WXGTK127
34105 _ACEOF
34106
34107 fi
34108
34109 if test "$WXGPE" = 1 ; then
34110 cat >>confdefs.h <<_ACEOF
34111 #define __WXGPE__ $WXGPE
34112 _ACEOF
34113
34114 fi
34115
34116 WXDEBUG=
34117
34118 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
34119 WXDEBUG="-g"
34120 wxUSE_OPTIMISE=no
34121 fi
34122
34123 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
34124 wxUSE_DEBUG_INFO=yes
34125 WXDEBUG="-ggdb"
34126 fi
34127
34128 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
34129 cat >>confdefs.h <<\_ACEOF
34130 #define WXDEBUG 1
34131 _ACEOF
34132
34133 WXDEBUG_DEFINE="-D__WXDEBUG__"
34134 else
34135 if test "$wxUSE_GTK" = 1 ; then
34136 WXDEBUG_DEFINE="-DGTK_NO_CHECK_CASTS"
34137 fi
34138 fi
34139
34140 if test "$wxUSE_MEM_TRACING" = "yes" ; then
34141 cat >>confdefs.h <<\_ACEOF
34142 #define wxUSE_MEMORY_TRACING 1
34143 _ACEOF
34144
34145 cat >>confdefs.h <<\_ACEOF
34146 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
34147 _ACEOF
34148
34149 cat >>confdefs.h <<\_ACEOF
34150 #define wxUSE_DEBUG_NEW_ALWAYS 1
34151 _ACEOF
34152
34153 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
34154 fi
34155
34156 if test "$wxUSE_DMALLOC" = "yes" ; then
34157 DMALLOC_LIBS="-ldmalloc"
34158 fi
34159
34160 PROFILE=
34161 if test "$wxUSE_PROFILE" = "yes" ; then
34162 PROFILE=" -pg"
34163 fi
34164
34165 CODE_GEN_FLAGS=
34166 CODE_GEN_FLAGS_CXX=
34167 if test "$GCC" = "yes" ; then
34168 if test "$wxUSE_NO_RTTI" = "yes" ; then
34169 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fno-rtti"
34170 fi
34171 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
34172 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fno-exceptions"
34173 fi
34174 if test "$wxUSE_PERMISSIVE" = "yes" ; then
34175 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -fpermissive"
34176 fi
34177
34178 case "${host}" in
34179 powerpc*-*-aix* )
34180 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -mminimal-toc"
34181 ;;
34182 *-hppa* )
34183 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -ffunction-sections"
34184 ;;
34185 esac
34186 fi
34187
34188 OPTIMISE=
34189 if test "$wxUSE_OPTIMISE" = "no" ; then
34190 if test "$GCC" = yes ; then
34191 OPTIMISE="-O0"
34192 fi
34193 else
34194 if test "$GCC" = yes ; then
34195 OPTIMISE="-O2"
34196
34197 case "${host}" in
34198 i586-*-*|i686-*-* )
34199 OPTIMISE="${OPTIMISE} "
34200 ;;
34201 esac
34202 else
34203 OPTIMISE="-O"
34204 fi
34205 fi
34206
34207
34208 if test "x$WXWIN_COMPATIBILITY_2_2" = "xyes"; then
34209 cat >>confdefs.h <<\_ACEOF
34210 #define WXWIN_COMPATIBILITY_2_2 1
34211 _ACEOF
34212
34213
34214 WXWIN_COMPATIBILITY_2_4="yes"
34215 fi
34216
34217 if test "x$WXWIN_COMPATIBILITY_2_4" != "xno"; then
34218 cat >>confdefs.h <<\_ACEOF
34219 #define WXWIN_COMPATIBILITY_2_4 1
34220 _ACEOF
34221
34222 fi
34223
34224
34225 if test "$wxUSE_GUI" = "yes"; then
34226 cat >>confdefs.h <<\_ACEOF
34227 #define wxUSE_GUI 1
34228 _ACEOF
34229
34230
34231 fi
34232
34233
34234 if test "$wxUSE_UNIX" = "yes"; then
34235 cat >>confdefs.h <<\_ACEOF
34236 #define wxUSE_UNIX 1
34237 _ACEOF
34238
34239 fi
34240
34241
34242 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
34243
34244 HAVE_DL_FUNCS=0
34245 HAVE_SHL_FUNCS=0
34246 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
34247 if test "$USE_DARWIN" = 1; then
34248 HAVE_DL_FUNCS=1
34249 else
34250
34251 for ac_func in dlopen
34252 do
34253 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34254 echo "$as_me:$LINENO: checking for $ac_func" >&5
34255 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34256 if eval "test \"\${$as_ac_var+set}\" = set"; then
34257 echo $ECHO_N "(cached) $ECHO_C" >&6
34258 else
34259 cat >conftest.$ac_ext <<_ACEOF
34260 /* confdefs.h. */
34261 _ACEOF
34262 cat confdefs.h >>conftest.$ac_ext
34263 cat >>conftest.$ac_ext <<_ACEOF
34264 /* end confdefs.h. */
34265 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34266 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34267 #define $ac_func innocuous_$ac_func
34268
34269 /* System header to define __stub macros and hopefully few prototypes,
34270 which can conflict with char $ac_func (); below.
34271 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34272 <limits.h> exists even on freestanding compilers. */
34273
34274 #ifdef __STDC__
34275 # include <limits.h>
34276 #else
34277 # include <assert.h>
34278 #endif
34279
34280 #undef $ac_func
34281
34282 /* Override any gcc2 internal prototype to avoid an error. */
34283 #ifdef __cplusplus
34284 extern "C"
34285 {
34286 #endif
34287 /* We use char because int might match the return type of a gcc2
34288 builtin and then its argument prototype would still apply. */
34289 char $ac_func ();
34290 /* The GNU C library defines this for functions which it implements
34291 to always fail with ENOSYS. Some functions are actually named
34292 something starting with __ and the normal name is an alias. */
34293 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34294 choke me
34295 #else
34296 char (*f) () = $ac_func;
34297 #endif
34298 #ifdef __cplusplus
34299 }
34300 #endif
34301
34302 int
34303 main ()
34304 {
34305 return f != $ac_func;
34306 ;
34307 return 0;
34308 }
34309 _ACEOF
34310 rm -f conftest.$ac_objext conftest$ac_exeext
34311 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34312 (eval $ac_link) 2>conftest.er1
34313 ac_status=$?
34314 grep -v '^ *+' conftest.er1 >conftest.err
34315 rm -f conftest.er1
34316 cat conftest.err >&5
34317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34318 (exit $ac_status); } &&
34319 { ac_try='test -z "$ac_c_werror_flag"
34320 || test ! -s conftest.err'
34321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34322 (eval $ac_try) 2>&5
34323 ac_status=$?
34324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34325 (exit $ac_status); }; } &&
34326 { ac_try='test -s conftest$ac_exeext'
34327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34328 (eval $ac_try) 2>&5
34329 ac_status=$?
34330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34331 (exit $ac_status); }; }; then
34332 eval "$as_ac_var=yes"
34333 else
34334 echo "$as_me: failed program was:" >&5
34335 sed 's/^/| /' conftest.$ac_ext >&5
34336
34337 eval "$as_ac_var=no"
34338 fi
34339 rm -f conftest.err conftest.$ac_objext \
34340 conftest$ac_exeext conftest.$ac_ext
34341 fi
34342 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34343 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34344 if test `eval echo '${'$as_ac_var'}'` = yes; then
34345 cat >>confdefs.h <<_ACEOF
34346 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34347 _ACEOF
34348
34349 cat >>confdefs.h <<\_ACEOF
34350 #define HAVE_DLOPEN 1
34351 _ACEOF
34352
34353 HAVE_DL_FUNCS=1
34354
34355 else
34356
34357 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
34358 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
34359 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
34360 echo $ECHO_N "(cached) $ECHO_C" >&6
34361 else
34362 ac_check_lib_save_LIBS=$LIBS
34363 LIBS="-ldl $LIBS"
34364 cat >conftest.$ac_ext <<_ACEOF
34365 /* confdefs.h. */
34366 _ACEOF
34367 cat confdefs.h >>conftest.$ac_ext
34368 cat >>conftest.$ac_ext <<_ACEOF
34369 /* end confdefs.h. */
34370
34371 /* Override any gcc2 internal prototype to avoid an error. */
34372 #ifdef __cplusplus
34373 extern "C"
34374 #endif
34375 /* We use char because int might match the return type of a gcc2
34376 builtin and then its argument prototype would still apply. */
34377 char dlopen ();
34378 int
34379 main ()
34380 {
34381 dlopen ();
34382 ;
34383 return 0;
34384 }
34385 _ACEOF
34386 rm -f conftest.$ac_objext conftest$ac_exeext
34387 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34388 (eval $ac_link) 2>conftest.er1
34389 ac_status=$?
34390 grep -v '^ *+' conftest.er1 >conftest.err
34391 rm -f conftest.er1
34392 cat conftest.err >&5
34393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34394 (exit $ac_status); } &&
34395 { ac_try='test -z "$ac_c_werror_flag"
34396 || test ! -s conftest.err'
34397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34398 (eval $ac_try) 2>&5
34399 ac_status=$?
34400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34401 (exit $ac_status); }; } &&
34402 { ac_try='test -s conftest$ac_exeext'
34403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34404 (eval $ac_try) 2>&5
34405 ac_status=$?
34406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34407 (exit $ac_status); }; }; then
34408 ac_cv_lib_dl_dlopen=yes
34409 else
34410 echo "$as_me: failed program was:" >&5
34411 sed 's/^/| /' conftest.$ac_ext >&5
34412
34413 ac_cv_lib_dl_dlopen=no
34414 fi
34415 rm -f conftest.err conftest.$ac_objext \
34416 conftest$ac_exeext conftest.$ac_ext
34417 LIBS=$ac_check_lib_save_LIBS
34418 fi
34419 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
34420 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
34421 if test $ac_cv_lib_dl_dlopen = yes; then
34422
34423 cat >>confdefs.h <<\_ACEOF
34424 #define HAVE_DLOPEN 1
34425 _ACEOF
34426
34427 HAVE_DL_FUNCS=1
34428 DL_LINK=" -ldl$DL_LINK"
34429
34430 else
34431
34432
34433 for ac_func in shl_load
34434 do
34435 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34436 echo "$as_me:$LINENO: checking for $ac_func" >&5
34437 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34438 if eval "test \"\${$as_ac_var+set}\" = set"; then
34439 echo $ECHO_N "(cached) $ECHO_C" >&6
34440 else
34441 cat >conftest.$ac_ext <<_ACEOF
34442 /* confdefs.h. */
34443 _ACEOF
34444 cat confdefs.h >>conftest.$ac_ext
34445 cat >>conftest.$ac_ext <<_ACEOF
34446 /* end confdefs.h. */
34447 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34448 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34449 #define $ac_func innocuous_$ac_func
34450
34451 /* System header to define __stub macros and hopefully few prototypes,
34452 which can conflict with char $ac_func (); below.
34453 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34454 <limits.h> exists even on freestanding compilers. */
34455
34456 #ifdef __STDC__
34457 # include <limits.h>
34458 #else
34459 # include <assert.h>
34460 #endif
34461
34462 #undef $ac_func
34463
34464 /* Override any gcc2 internal prototype to avoid an error. */
34465 #ifdef __cplusplus
34466 extern "C"
34467 {
34468 #endif
34469 /* We use char because int might match the return type of a gcc2
34470 builtin and then its argument prototype would still apply. */
34471 char $ac_func ();
34472 /* The GNU C library defines this for functions which it implements
34473 to always fail with ENOSYS. Some functions are actually named
34474 something starting with __ and the normal name is an alias. */
34475 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34476 choke me
34477 #else
34478 char (*f) () = $ac_func;
34479 #endif
34480 #ifdef __cplusplus
34481 }
34482 #endif
34483
34484 int
34485 main ()
34486 {
34487 return f != $ac_func;
34488 ;
34489 return 0;
34490 }
34491 _ACEOF
34492 rm -f conftest.$ac_objext conftest$ac_exeext
34493 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34494 (eval $ac_link) 2>conftest.er1
34495 ac_status=$?
34496 grep -v '^ *+' conftest.er1 >conftest.err
34497 rm -f conftest.er1
34498 cat conftest.err >&5
34499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34500 (exit $ac_status); } &&
34501 { ac_try='test -z "$ac_c_werror_flag"
34502 || test ! -s conftest.err'
34503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34504 (eval $ac_try) 2>&5
34505 ac_status=$?
34506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34507 (exit $ac_status); }; } &&
34508 { ac_try='test -s conftest$ac_exeext'
34509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34510 (eval $ac_try) 2>&5
34511 ac_status=$?
34512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34513 (exit $ac_status); }; }; then
34514 eval "$as_ac_var=yes"
34515 else
34516 echo "$as_me: failed program was:" >&5
34517 sed 's/^/| /' conftest.$ac_ext >&5
34518
34519 eval "$as_ac_var=no"
34520 fi
34521 rm -f conftest.err conftest.$ac_objext \
34522 conftest$ac_exeext conftest.$ac_ext
34523 fi
34524 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34525 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34526 if test `eval echo '${'$as_ac_var'}'` = yes; then
34527 cat >>confdefs.h <<_ACEOF
34528 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34529 _ACEOF
34530
34531 cat >>confdefs.h <<\_ACEOF
34532 #define HAVE_SHL_LOAD 1
34533 _ACEOF
34534
34535 HAVE_SHL_FUNCS=1
34536
34537 else
34538
34539 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
34540 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
34541 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
34542 echo $ECHO_N "(cached) $ECHO_C" >&6
34543 else
34544 ac_check_lib_save_LIBS=$LIBS
34545 LIBS="-lshl_load $LIBS"
34546 cat >conftest.$ac_ext <<_ACEOF
34547 /* confdefs.h. */
34548 _ACEOF
34549 cat confdefs.h >>conftest.$ac_ext
34550 cat >>conftest.$ac_ext <<_ACEOF
34551 /* end confdefs.h. */
34552
34553 /* Override any gcc2 internal prototype to avoid an error. */
34554 #ifdef __cplusplus
34555 extern "C"
34556 #endif
34557 /* We use char because int might match the return type of a gcc2
34558 builtin and then its argument prototype would still apply. */
34559 char dld ();
34560 int
34561 main ()
34562 {
34563 dld ();
34564 ;
34565 return 0;
34566 }
34567 _ACEOF
34568 rm -f conftest.$ac_objext conftest$ac_exeext
34569 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34570 (eval $ac_link) 2>conftest.er1
34571 ac_status=$?
34572 grep -v '^ *+' conftest.er1 >conftest.err
34573 rm -f conftest.er1
34574 cat conftest.err >&5
34575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34576 (exit $ac_status); } &&
34577 { ac_try='test -z "$ac_c_werror_flag"
34578 || test ! -s conftest.err'
34579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34580 (eval $ac_try) 2>&5
34581 ac_status=$?
34582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34583 (exit $ac_status); }; } &&
34584 { ac_try='test -s conftest$ac_exeext'
34585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34586 (eval $ac_try) 2>&5
34587 ac_status=$?
34588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34589 (exit $ac_status); }; }; then
34590 ac_cv_lib_shl_load_dld=yes
34591 else
34592 echo "$as_me: failed program was:" >&5
34593 sed 's/^/| /' conftest.$ac_ext >&5
34594
34595 ac_cv_lib_shl_load_dld=no
34596 fi
34597 rm -f conftest.err conftest.$ac_objext \
34598 conftest$ac_exeext conftest.$ac_ext
34599 LIBS=$ac_check_lib_save_LIBS
34600 fi
34601 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
34602 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
34603 if test $ac_cv_lib_shl_load_dld = yes; then
34604
34605 HAVE_SHL_FUNCS=1
34606 DL_LINK=" -ldld$DL_LINK"
34607
34608 fi
34609
34610
34611 fi
34612 done
34613
34614
34615 fi
34616
34617
34618 fi
34619 done
34620
34621
34622 if test "$HAVE_DL_FUNCS" = 1; then
34623
34624 for ac_func in dlerror
34625 do
34626 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34627 echo "$as_me:$LINENO: checking for $ac_func" >&5
34628 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34629 if eval "test \"\${$as_ac_var+set}\" = set"; then
34630 echo $ECHO_N "(cached) $ECHO_C" >&6
34631 else
34632 cat >conftest.$ac_ext <<_ACEOF
34633 /* confdefs.h. */
34634 _ACEOF
34635 cat confdefs.h >>conftest.$ac_ext
34636 cat >>conftest.$ac_ext <<_ACEOF
34637 /* end confdefs.h. */
34638 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34639 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34640 #define $ac_func innocuous_$ac_func
34641
34642 /* System header to define __stub macros and hopefully few prototypes,
34643 which can conflict with char $ac_func (); below.
34644 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34645 <limits.h> exists even on freestanding compilers. */
34646
34647 #ifdef __STDC__
34648 # include <limits.h>
34649 #else
34650 # include <assert.h>
34651 #endif
34652
34653 #undef $ac_func
34654
34655 /* Override any gcc2 internal prototype to avoid an error. */
34656 #ifdef __cplusplus
34657 extern "C"
34658 {
34659 #endif
34660 /* We use char because int might match the return type of a gcc2
34661 builtin and then its argument prototype would still apply. */
34662 char $ac_func ();
34663 /* The GNU C library defines this for functions which it implements
34664 to always fail with ENOSYS. Some functions are actually named
34665 something starting with __ and the normal name is an alias. */
34666 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34667 choke me
34668 #else
34669 char (*f) () = $ac_func;
34670 #endif
34671 #ifdef __cplusplus
34672 }
34673 #endif
34674
34675 int
34676 main ()
34677 {
34678 return f != $ac_func;
34679 ;
34680 return 0;
34681 }
34682 _ACEOF
34683 rm -f conftest.$ac_objext conftest$ac_exeext
34684 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34685 (eval $ac_link) 2>conftest.er1
34686 ac_status=$?
34687 grep -v '^ *+' conftest.er1 >conftest.err
34688 rm -f conftest.er1
34689 cat conftest.err >&5
34690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34691 (exit $ac_status); } &&
34692 { ac_try='test -z "$ac_c_werror_flag"
34693 || test ! -s conftest.err'
34694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34695 (eval $ac_try) 2>&5
34696 ac_status=$?
34697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34698 (exit $ac_status); }; } &&
34699 { ac_try='test -s conftest$ac_exeext'
34700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34701 (eval $ac_try) 2>&5
34702 ac_status=$?
34703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34704 (exit $ac_status); }; }; then
34705 eval "$as_ac_var=yes"
34706 else
34707 echo "$as_me: failed program was:" >&5
34708 sed 's/^/| /' conftest.$ac_ext >&5
34709
34710 eval "$as_ac_var=no"
34711 fi
34712 rm -f conftest.err conftest.$ac_objext \
34713 conftest$ac_exeext conftest.$ac_ext
34714 fi
34715 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34716 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34717 if test `eval echo '${'$as_ac_var'}'` = yes; then
34718 cat >>confdefs.h <<_ACEOF
34719 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34720 _ACEOF
34721 cat >>confdefs.h <<\_ACEOF
34722 #define HAVE_DLERROR 1
34723 _ACEOF
34724
34725 else
34726
34727 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
34728 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
34729 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
34730 echo $ECHO_N "(cached) $ECHO_C" >&6
34731 else
34732 ac_check_lib_save_LIBS=$LIBS
34733 LIBS="-ldl $LIBS"
34734 cat >conftest.$ac_ext <<_ACEOF
34735 /* confdefs.h. */
34736 _ACEOF
34737 cat confdefs.h >>conftest.$ac_ext
34738 cat >>conftest.$ac_ext <<_ACEOF
34739 /* end confdefs.h. */
34740
34741 /* Override any gcc2 internal prototype to avoid an error. */
34742 #ifdef __cplusplus
34743 extern "C"
34744 #endif
34745 /* We use char because int might match the return type of a gcc2
34746 builtin and then its argument prototype would still apply. */
34747 char dlerror ();
34748 int
34749 main ()
34750 {
34751 dlerror ();
34752 ;
34753 return 0;
34754 }
34755 _ACEOF
34756 rm -f conftest.$ac_objext conftest$ac_exeext
34757 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34758 (eval $ac_link) 2>conftest.er1
34759 ac_status=$?
34760 grep -v '^ *+' conftest.er1 >conftest.err
34761 rm -f conftest.er1
34762 cat conftest.err >&5
34763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34764 (exit $ac_status); } &&
34765 { ac_try='test -z "$ac_c_werror_flag"
34766 || test ! -s conftest.err'
34767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34768 (eval $ac_try) 2>&5
34769 ac_status=$?
34770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34771 (exit $ac_status); }; } &&
34772 { ac_try='test -s conftest$ac_exeext'
34773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34774 (eval $ac_try) 2>&5
34775 ac_status=$?
34776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34777 (exit $ac_status); }; }; then
34778 ac_cv_lib_dl_dlerror=yes
34779 else
34780 echo "$as_me: failed program was:" >&5
34781 sed 's/^/| /' conftest.$ac_ext >&5
34782
34783 ac_cv_lib_dl_dlerror=no
34784 fi
34785 rm -f conftest.err conftest.$ac_objext \
34786 conftest$ac_exeext conftest.$ac_ext
34787 LIBS=$ac_check_lib_save_LIBS
34788 fi
34789 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
34790 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
34791 if test $ac_cv_lib_dl_dlerror = yes; then
34792 cat >>confdefs.h <<\_ACEOF
34793 #define HAVE_DLERROR 1
34794 _ACEOF
34795
34796 fi
34797
34798
34799
34800 fi
34801 done
34802
34803 fi
34804 fi
34805
34806 if test "$HAVE_DL_FUNCS" = 0; then
34807 if test "$HAVE_SHL_FUNCS" = 0; then
34808 if test "$USE_UNIX" = 1; then
34809 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
34810 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
34811 wxUSE_DYNAMIC_LOADER=no
34812 wxUSE_DYNLIB_CLASS=no
34813 else
34814 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
34815 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
34816 fi
34817 fi
34818 fi
34819 fi
34820 fi
34821
34822 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
34823 cat >>confdefs.h <<\_ACEOF
34824 #define wxUSE_DYNAMIC_LOADER 1
34825 _ACEOF
34826
34827 fi
34828 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
34829 cat >>confdefs.h <<\_ACEOF
34830 #define wxUSE_DYNLIB_CLASS 1
34831 _ACEOF
34832
34833 fi
34834
34835
34836
34837 if test "$wxUSE_PLUGINS" = "yes" ; then
34838 if test "$wxUSE_SHARED" = "no" ; then
34839 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
34840 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
34841 wxUSE_PLUGINS=no
34842 fi
34843 if test "$wxUSE_MONOLITHIC" = "yes" ; then
34844 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
34845 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
34846 wxUSE_PLUGINS=no
34847 fi
34848 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
34849 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
34850 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
34851 wxUSE_PLUGINS=no
34852 fi
34853 if test "$wxUSE_PLUGINS" = "yes" ; then
34854 cat >>confdefs.h <<\_ACEOF
34855 #define wxUSE_PLUGINS 1
34856 _ACEOF
34857
34858 fi
34859 fi
34860
34861
34862 if test "$wxUSE_STL" = "yes"; then
34863 cat >>confdefs.h <<\_ACEOF
34864 #define wxUSE_STL 1
34865 _ACEOF
34866
34867 fi
34868
34869 if test "$wxUSE_APPLE_IEEE" = "yes"; then
34870 cat >>confdefs.h <<\_ACEOF
34871 #define wxUSE_APPLE_IEEE 1
34872 _ACEOF
34873
34874 fi
34875
34876 if test "$wxUSE_TIMER" = "yes"; then
34877 cat >>confdefs.h <<\_ACEOF
34878 #define wxUSE_TIMER 1
34879 _ACEOF
34880
34881 fi
34882
34883 WITH_PLUGIN_SDL=0
34884 if test "$wxUSE_SOUND" = "yes"; then
34885 if test "$USE_UNIX" = "1" ; then
34886
34887 for ac_header in sys/soundcard.h
34888 do
34889 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34890 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34891 echo "$as_me:$LINENO: checking for $ac_header" >&5
34892 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
34893 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34894 echo $ECHO_N "(cached) $ECHO_C" >&6
34895 fi
34896 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
34897 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
34898 else
34899 # Is the header compilable?
34900 echo "$as_me:$LINENO: checking $ac_header usability" >&5
34901 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
34902 cat >conftest.$ac_ext <<_ACEOF
34903 /* confdefs.h. */
34904 _ACEOF
34905 cat confdefs.h >>conftest.$ac_ext
34906 cat >>conftest.$ac_ext <<_ACEOF
34907 /* end confdefs.h. */
34908 $ac_includes_default
34909 #include <$ac_header>
34910 _ACEOF
34911 rm -f conftest.$ac_objext
34912 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34913 (eval $ac_compile) 2>conftest.er1
34914 ac_status=$?
34915 grep -v '^ *+' conftest.er1 >conftest.err
34916 rm -f conftest.er1
34917 cat conftest.err >&5
34918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34919 (exit $ac_status); } &&
34920 { ac_try='test -z "$ac_c_werror_flag"
34921 || test ! -s conftest.err'
34922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34923 (eval $ac_try) 2>&5
34924 ac_status=$?
34925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34926 (exit $ac_status); }; } &&
34927 { ac_try='test -s conftest.$ac_objext'
34928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34929 (eval $ac_try) 2>&5
34930 ac_status=$?
34931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34932 (exit $ac_status); }; }; then
34933 ac_header_compiler=yes
34934 else
34935 echo "$as_me: failed program was:" >&5
34936 sed 's/^/| /' conftest.$ac_ext >&5
34937
34938 ac_header_compiler=no
34939 fi
34940 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34941 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
34942 echo "${ECHO_T}$ac_header_compiler" >&6
34943
34944 # Is the header present?
34945 echo "$as_me:$LINENO: checking $ac_header presence" >&5
34946 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
34947 cat >conftest.$ac_ext <<_ACEOF
34948 /* confdefs.h. */
34949 _ACEOF
34950 cat confdefs.h >>conftest.$ac_ext
34951 cat >>conftest.$ac_ext <<_ACEOF
34952 /* end confdefs.h. */
34953 #include <$ac_header>
34954 _ACEOF
34955 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
34956 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
34957 ac_status=$?
34958 grep -v '^ *+' conftest.er1 >conftest.err
34959 rm -f conftest.er1
34960 cat conftest.err >&5
34961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34962 (exit $ac_status); } >/dev/null; then
34963 if test -s conftest.err; then
34964 ac_cpp_err=$ac_c_preproc_warn_flag
34965 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
34966 else
34967 ac_cpp_err=
34968 fi
34969 else
34970 ac_cpp_err=yes
34971 fi
34972 if test -z "$ac_cpp_err"; then
34973 ac_header_preproc=yes
34974 else
34975 echo "$as_me: failed program was:" >&5
34976 sed 's/^/| /' conftest.$ac_ext >&5
34977
34978 ac_header_preproc=no
34979 fi
34980 rm -f conftest.err conftest.$ac_ext
34981 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
34982 echo "${ECHO_T}$ac_header_preproc" >&6
34983
34984 # So? What about this header?
34985 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
34986 yes:no: )
34987 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
34988 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
34989 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
34990 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
34991 ac_header_preproc=yes
34992 ;;
34993 no:yes:* )
34994 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
34995 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
34996 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
34997 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
34998 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
34999 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
35000 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
35001 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
35002 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
35003 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
35004 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
35005 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
35006 (
35007 cat <<\_ASBOX
35008 ## ----------------------------------------- ##
35009 ## Report this to wx-dev@lists.wxwidgets.org ##
35010 ## ----------------------------------------- ##
35011 _ASBOX
35012 ) |
35013 sed "s/^/$as_me: WARNING: /" >&2
35014 ;;
35015 esac
35016 echo "$as_me:$LINENO: checking for $ac_header" >&5
35017 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
35018 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35019 echo $ECHO_N "(cached) $ECHO_C" >&6
35020 else
35021 eval "$as_ac_Header=\$ac_header_preproc"
35022 fi
35023 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
35024 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
35025
35026 fi
35027 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35028 cat >>confdefs.h <<_ACEOF
35029 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35030 _ACEOF
35031
35032 fi
35033
35034 done
35035
35036
35037 if test "$wxUSE_LIBSDL" != "no"; then
35038
35039 # Check whether --with-sdl-prefix or --without-sdl-prefix was given.
35040 if test "${with_sdl_prefix+set}" = set; then
35041 withval="$with_sdl_prefix"
35042 sdl_prefix="$withval"
35043 else
35044 sdl_prefix=""
35045 fi;
35046
35047 # Check whether --with-sdl-exec-prefix or --without-sdl-exec-prefix was given.
35048 if test "${with_sdl_exec_prefix+set}" = set; then
35049 withval="$with_sdl_exec_prefix"
35050 sdl_exec_prefix="$withval"
35051 else
35052 sdl_exec_prefix=""
35053 fi;
35054 # Check whether --enable-sdltest or --disable-sdltest was given.
35055 if test "${enable_sdltest+set}" = set; then
35056 enableval="$enable_sdltest"
35057
35058 else
35059 enable_sdltest=yes
35060 fi;
35061
35062 if test x$sdl_exec_prefix != x ; then
35063 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
35064 if test x${SDL_CONFIG+set} != xset ; then
35065 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
35066 fi
35067 fi
35068 if test x$sdl_prefix != x ; then
35069 sdl_args="$sdl_args --prefix=$sdl_prefix"
35070 if test x${SDL_CONFIG+set} != xset ; then
35071 SDL_CONFIG=$sdl_prefix/bin/sdl-config
35072 fi
35073 fi
35074
35075
35076 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
35077 # Extract the first word of "sdl-config", so it can be a program name with args.
35078 set dummy sdl-config; ac_word=$2
35079 echo "$as_me:$LINENO: checking for $ac_word" >&5
35080 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
35081 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
35082 echo $ECHO_N "(cached) $ECHO_C" >&6
35083 else
35084 case $SDL_CONFIG in
35085 [\\/]* | ?:[\\/]*)
35086 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
35087 ;;
35088 *)
35089 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
35090 for as_dir in $PATH
35091 do
35092 IFS=$as_save_IFS
35093 test -z "$as_dir" && as_dir=.
35094 for ac_exec_ext in '' $ac_executable_extensions; do
35095 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
35096 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
35097 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
35098 break 2
35099 fi
35100 done
35101 done
35102
35103 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
35104 ;;
35105 esac
35106 fi
35107 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
35108
35109 if test -n "$SDL_CONFIG"; then
35110 echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
35111 echo "${ECHO_T}$SDL_CONFIG" >&6
35112 else
35113 echo "$as_me:$LINENO: result: no" >&5
35114 echo "${ECHO_T}no" >&6
35115 fi
35116
35117 min_sdl_version=1.2.0
35118 echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
35119 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6
35120 no_sdl=""
35121 if test "$SDL_CONFIG" = "no" ; then
35122 no_sdl=yes
35123 else
35124 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
35125 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
35126
35127 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
35128 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
35129 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
35130 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
35131 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
35132 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
35133 if test "x$enable_sdltest" = "xyes" ; then
35134 ac_save_CFLAGS="$CFLAGS"
35135 ac_save_LIBS="$LIBS"
35136 CFLAGS="$CFLAGS $SDL_CFLAGS"
35137 LIBS="$LIBS $SDL_LIBS"
35138 rm -f conf.sdltest
35139 if test "$cross_compiling" = yes; then
35140 echo $ac_n "cross compiling; assumed OK... $ac_c"
35141 else
35142 cat >conftest.$ac_ext <<_ACEOF
35143 /* confdefs.h. */
35144 _ACEOF
35145 cat confdefs.h >>conftest.$ac_ext
35146 cat >>conftest.$ac_ext <<_ACEOF
35147 /* end confdefs.h. */
35148
35149 #include <stdio.h>
35150 #include <stdlib.h>
35151 #include <string.h>
35152 #include "SDL.h"
35153
35154 char*
35155 my_strdup (char *str)
35156 {
35157 char *new_str;
35158
35159 if (str)
35160 {
35161 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
35162 strcpy (new_str, str);
35163 }
35164 else
35165 new_str = NULL;
35166
35167 return new_str;
35168 }
35169
35170 int main (int argc, char *argv[])
35171 {
35172 int major, minor, micro;
35173 char *tmp_version;
35174
35175 /* This hangs on some systems (?)
35176 system ("touch conf.sdltest");
35177 */
35178 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
35179
35180 /* HP/UX 9 (%@#!) writes to sscanf strings */
35181 tmp_version = my_strdup("$min_sdl_version");
35182 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
35183 printf("%s, bad version string\n", "$min_sdl_version");
35184 exit(1);
35185 }
35186
35187 if (($sdl_major_version > major) ||
35188 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
35189 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
35190 {
35191 return 0;
35192 }
35193 else
35194 {
35195 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
35196 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
35197 printf("*** best to upgrade to the required version.\n");
35198 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
35199 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
35200 printf("*** config.cache before re-running configure\n");
35201 return 1;
35202 }
35203 }
35204
35205
35206 _ACEOF
35207 rm -f conftest$ac_exeext
35208 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35209 (eval $ac_link) 2>&5
35210 ac_status=$?
35211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35212 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
35213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35214 (eval $ac_try) 2>&5
35215 ac_status=$?
35216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35217 (exit $ac_status); }; }; then
35218 :
35219 else
35220 echo "$as_me: program exited with status $ac_status" >&5
35221 echo "$as_me: failed program was:" >&5
35222 sed 's/^/| /' conftest.$ac_ext >&5
35223
35224 ( exit $ac_status )
35225 no_sdl=yes
35226 fi
35227 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
35228 fi
35229 CFLAGS="$ac_save_CFLAGS"
35230 LIBS="$ac_save_LIBS"
35231 fi
35232 fi
35233 if test "x$no_sdl" = x ; then
35234 echo "$as_me:$LINENO: result: yes" >&5
35235 echo "${ECHO_T}yes" >&6
35236
35237 EXTRALIBS_SDL="$SDL_LIBS"
35238 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
35239 cat >>confdefs.h <<\_ACEOF
35240 #define wxUSE_LIBSDL 1
35241 _ACEOF
35242
35243
35244 else
35245 echo "$as_me:$LINENO: result: no" >&5
35246 echo "${ECHO_T}no" >&6
35247 if test "$SDL_CONFIG" = "no" ; then
35248 echo "*** The sdl-config script installed by SDL could not be found"
35249 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
35250 echo "*** your path, or set the SDL_CONFIG environment variable to the"
35251 echo "*** full path to sdl-config."
35252 else
35253 if test -f conf.sdltest ; then
35254 :
35255 else
35256 echo "*** Could not run SDL test program, checking why..."
35257 CFLAGS="$CFLAGS $SDL_CFLAGS"
35258 LIBS="$LIBS $SDL_LIBS"
35259 cat >conftest.$ac_ext <<_ACEOF
35260 /* confdefs.h. */
35261 _ACEOF
35262 cat confdefs.h >>conftest.$ac_ext
35263 cat >>conftest.$ac_ext <<_ACEOF
35264 /* end confdefs.h. */
35265
35266 #include <stdio.h>
35267 #include "SDL.h"
35268
35269 int main(int argc, char *argv[])
35270 { return 0; }
35271 #undef main
35272 #define main K_and_R_C_main
35273
35274 int
35275 main ()
35276 {
35277 return 0;
35278 ;
35279 return 0;
35280 }
35281 _ACEOF
35282 rm -f conftest.$ac_objext conftest$ac_exeext
35283 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35284 (eval $ac_link) 2>conftest.er1
35285 ac_status=$?
35286 grep -v '^ *+' conftest.er1 >conftest.err
35287 rm -f conftest.er1
35288 cat conftest.err >&5
35289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35290 (exit $ac_status); } &&
35291 { ac_try='test -z "$ac_c_werror_flag"
35292 || test ! -s conftest.err'
35293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35294 (eval $ac_try) 2>&5
35295 ac_status=$?
35296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35297 (exit $ac_status); }; } &&
35298 { ac_try='test -s conftest$ac_exeext'
35299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35300 (eval $ac_try) 2>&5
35301 ac_status=$?
35302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35303 (exit $ac_status); }; }; then
35304 echo "*** The test program compiled, but did not run. This usually means"
35305 echo "*** that the run-time linker is not finding SDL or finding the wrong"
35306 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
35307 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
35308 echo "*** to the installed location Also, make sure you have run ldconfig if that"
35309 echo "*** is required on your system"
35310 echo "***"
35311 echo "*** If you have an old version installed, it is best to remove it, although"
35312 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
35313 else
35314 echo "$as_me: failed program was:" >&5
35315 sed 's/^/| /' conftest.$ac_ext >&5
35316
35317 echo "*** The test program failed to compile or link. See the file config.log for the"
35318 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
35319 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
35320 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
35321 fi
35322 rm -f conftest.err conftest.$ac_objext \
35323 conftest$ac_exeext conftest.$ac_ext
35324 CFLAGS="$ac_save_CFLAGS"
35325 LIBS="$ac_save_LIBS"
35326 fi
35327 fi
35328 SDL_CFLAGS=""
35329 SDL_LIBS=""
35330 wxUSE_LIBSDL="no"
35331 fi
35332
35333
35334 rm -f conf.sdltest
35335
35336 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
35337 WITH_PLUGIN_SDL=1
35338 fi
35339 fi
35340 fi
35341
35342 cat >>confdefs.h <<\_ACEOF
35343 #define wxUSE_SOUND 1
35344 _ACEOF
35345
35346 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
35347 fi
35348
35349 if test "$WXGTK20" = 1; then
35350 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
35351 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
35352
35353
35354 succeeded=no
35355
35356 if test -z "$PKG_CONFIG"; then
35357 # Extract the first word of "pkg-config", so it can be a program name with args.
35358 set dummy pkg-config; ac_word=$2
35359 echo "$as_me:$LINENO: checking for $ac_word" >&5
35360 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
35361 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
35362 echo $ECHO_N "(cached) $ECHO_C" >&6
35363 else
35364 case $PKG_CONFIG in
35365 [\\/]* | ?:[\\/]*)
35366 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
35367 ;;
35368 *)
35369 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
35370 for as_dir in $PATH
35371 do
35372 IFS=$as_save_IFS
35373 test -z "$as_dir" && as_dir=.
35374 for ac_exec_ext in '' $ac_executable_extensions; do
35375 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
35376 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
35377 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
35378 break 2
35379 fi
35380 done
35381 done
35382
35383 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
35384 ;;
35385 esac
35386 fi
35387 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
35388
35389 if test -n "$PKG_CONFIG"; then
35390 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
35391 echo "${ECHO_T}$PKG_CONFIG" >&6
35392 else
35393 echo "$as_me:$LINENO: result: no" >&5
35394 echo "${ECHO_T}no" >&6
35395 fi
35396
35397 fi
35398
35399 if test "$PKG_CONFIG" = "no" ; then
35400 echo "*** The pkg-config script could not be found. Make sure it is"
35401 echo "*** in your path, or set the PKG_CONFIG environment variable"
35402 echo "*** to the full path to pkg-config."
35403 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
35404 else
35405 PKG_CONFIG_MIN_VERSION=0.9.0
35406 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
35407 echo "$as_me:$LINENO: checking for libgnomeprintui-2.2 >= 2.8" >&5
35408 echo $ECHO_N "checking for libgnomeprintui-2.2 >= 2.8... $ECHO_C" >&6
35409
35410 if $PKG_CONFIG --exists "libgnomeprintui-2.2 >= 2.8" ; then
35411 echo "$as_me:$LINENO: result: yes" >&5
35412 echo "${ECHO_T}yes" >&6
35413 succeeded=yes
35414
35415 echo "$as_me:$LINENO: checking LIBGNOMEPRINTUI_CFLAGS" >&5
35416 echo $ECHO_N "checking LIBGNOMEPRINTUI_CFLAGS... $ECHO_C" >&6
35417 LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8"`
35418 echo "$as_me:$LINENO: result: $LIBGNOMEPRINTUI_CFLAGS" >&5
35419 echo "${ECHO_T}$LIBGNOMEPRINTUI_CFLAGS" >&6
35420
35421 echo "$as_me:$LINENO: checking LIBGNOMEPRINTUI_LIBS" >&5
35422 echo $ECHO_N "checking LIBGNOMEPRINTUI_LIBS... $ECHO_C" >&6
35423 LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8"`
35424 echo "$as_me:$LINENO: result: $LIBGNOMEPRINTUI_LIBS" >&5
35425 echo "${ECHO_T}$LIBGNOMEPRINTUI_LIBS" >&6
35426 else
35427 LIBGNOMEPRINTUI_CFLAGS=""
35428 LIBGNOMEPRINTUI_LIBS=""
35429 ## If we have a custom action on failure, don't print errors, but
35430 ## do set a variable so people can do so.
35431 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
35432
35433 fi
35434
35435
35436
35437 else
35438 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
35439 echo "*** See http://www.freedesktop.org/software/pkgconfig"
35440 fi
35441 fi
35442
35443 if test $succeeded = yes; then
35444
35445 CXXFLAGS="$CXXFLAGS $LIBGNOMEPRINTUI_CFLAGS"
35446 cat >>confdefs.h <<\_ACEOF
35447 #define wxUSE_LIBGNOMEPRINT 1
35448 _ACEOF
35449
35450
35451 else
35452
35453 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
35454 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
35455 wxUSE_LIBGNOMEPRINT="no"
35456
35457
35458 fi
35459
35460 fi
35461 fi
35462 fi
35463
35464
35465 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
35466 cat >>confdefs.h <<\_ACEOF
35467 #define wxUSE_CMDLINE_PARSER 1
35468 _ACEOF
35469
35470 fi
35471
35472 if test "$wxUSE_STOPWATCH" = "yes"; then
35473 cat >>confdefs.h <<\_ACEOF
35474 #define wxUSE_STOPWATCH 1
35475 _ACEOF
35476
35477 fi
35478
35479 if test "$wxUSE_DATETIME" = "yes"; then
35480 cat >>confdefs.h <<\_ACEOF
35481 #define wxUSE_DATETIME 1
35482 _ACEOF
35483
35484 fi
35485
35486 if test "$wxUSE_FILE" = "yes"; then
35487 cat >>confdefs.h <<\_ACEOF
35488 #define wxUSE_FILE 1
35489 _ACEOF
35490
35491 fi
35492
35493 if test "$wxUSE_FFILE" = "yes"; then
35494 cat >>confdefs.h <<\_ACEOF
35495 #define wxUSE_FFILE 1
35496 _ACEOF
35497
35498 fi
35499
35500 if test "$wxUSE_FILESYSTEM" = "yes"; then
35501 cat >>confdefs.h <<\_ACEOF
35502 #define wxUSE_FILESYSTEM 1
35503 _ACEOF
35504
35505 fi
35506
35507 if test "$wxUSE_FS_ZIP" = "yes"; then
35508 cat >>confdefs.h <<\_ACEOF
35509 #define wxUSE_FS_ZIP 1
35510 _ACEOF
35511
35512 fi
35513
35514 if test "$wxUSE_ZIPSTREAM" = "yes"; then
35515 cat >>confdefs.h <<\_ACEOF
35516 #define wxUSE_ZIPSTREAM 1
35517 _ACEOF
35518
35519 fi
35520
35521 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
35522 cat >>confdefs.h <<\_ACEOF
35523 #define wxUSE_ON_FATAL_EXCEPTION 1
35524 _ACEOF
35525
35526 fi
35527
35528 if test "$wxUSE_STACKWALKER" = "yes"; then
35529 cat >>confdefs.h <<\_ACEOF
35530 #define wxUSE_STACKWALKER 1
35531 _ACEOF
35532
35533 fi
35534
35535 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
35536 cat >>confdefs.h <<\_ACEOF
35537 #define wxUSE_SNGLINST_CHECKER 1
35538 _ACEOF
35539
35540 fi
35541
35542 if test "$wxUSE_BUSYINFO" = "yes"; then
35543 cat >>confdefs.h <<\_ACEOF
35544 #define wxUSE_BUSYINFO 1
35545 _ACEOF
35546
35547 fi
35548
35549 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
35550 cat >>confdefs.h <<\_ACEOF
35551 #define wxUSE_STD_IOSTREAM 1
35552 _ACEOF
35553
35554 fi
35555
35556 if test "$wxUSE_TEXTBUFFER" = "yes"; then
35557 cat >>confdefs.h <<\_ACEOF
35558 #define wxUSE_TEXTBUFFER 1
35559 _ACEOF
35560
35561 fi
35562
35563 if test "$wxUSE_TEXTFILE" = "yes"; then
35564 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
35565 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
35566 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
35567 else
35568 cat >>confdefs.h <<\_ACEOF
35569 #define wxUSE_TEXTFILE 1
35570 _ACEOF
35571
35572 fi
35573 fi
35574
35575 if test "$wxUSE_CONFIG" = "yes" ; then
35576 if test "$wxUSE_TEXTFILE" != "yes"; then
35577 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
35578 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
35579 else
35580 cat >>confdefs.h <<\_ACEOF
35581 #define wxUSE_CONFIG 1
35582 _ACEOF
35583
35584 cat >>confdefs.h <<\_ACEOF
35585 #define wxUSE_CONFIG_NATIVE 1
35586 _ACEOF
35587
35588 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
35589 fi
35590 fi
35591
35592 if test "$wxUSE_INTL" = "yes" ; then
35593 if test "$wxUSE_FILE" != "yes"; then
35594 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
35595 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
35596 else
35597 cat >>confdefs.h <<\_ACEOF
35598 #define wxUSE_INTL 1
35599 _ACEOF
35600
35601 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
35602 GUIDIST="$GUIDIST INTL_DIST"
35603 fi
35604 fi
35605
35606 if test "$wxUSE_LOG" = "yes"; then
35607 cat >>confdefs.h <<\_ACEOF
35608 #define wxUSE_LOG 1
35609 _ACEOF
35610
35611
35612 if test "$wxUSE_LOGGUI" = "yes"; then
35613 cat >>confdefs.h <<\_ACEOF
35614 #define wxUSE_LOGGUI 1
35615 _ACEOF
35616
35617 fi
35618
35619 if test "$wxUSE_LOGWINDOW" = "yes"; then
35620 cat >>confdefs.h <<\_ACEOF
35621 #define wxUSE_LOGWINDOW 1
35622 _ACEOF
35623
35624 fi
35625
35626 if test "$wxUSE_LOGDIALOG" = "yes"; then
35627 cat >>confdefs.h <<\_ACEOF
35628 #define wxUSE_LOG_DIALOG 1
35629 _ACEOF
35630
35631 fi
35632 fi
35633
35634 if test "$wxUSE_LONGLONG" = "yes"; then
35635 cat >>confdefs.h <<\_ACEOF
35636 #define wxUSE_LONGLONG 1
35637 _ACEOF
35638
35639 fi
35640
35641 if test "$wxUSE_GEOMETRY" = "yes"; then
35642 cat >>confdefs.h <<\_ACEOF
35643 #define wxUSE_GEOMETRY 1
35644 _ACEOF
35645
35646 fi
35647
35648 if test "$wxUSE_STREAMS" = "yes" ; then
35649 cat >>confdefs.h <<\_ACEOF
35650 #define wxUSE_STREAMS 1
35651 _ACEOF
35652
35653 fi
35654
35655
35656 if test "$wxUSE_DATETIME" = "yes"; then
35657
35658 for ac_func in strptime
35659 do
35660 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35661 echo "$as_me:$LINENO: checking for $ac_func" >&5
35662 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35663 if eval "test \"\${$as_ac_var+set}\" = set"; then
35664 echo $ECHO_N "(cached) $ECHO_C" >&6
35665 else
35666 cat >conftest.$ac_ext <<_ACEOF
35667 /* confdefs.h. */
35668 _ACEOF
35669 cat confdefs.h >>conftest.$ac_ext
35670 cat >>conftest.$ac_ext <<_ACEOF
35671 /* end confdefs.h. */
35672 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35673 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35674 #define $ac_func innocuous_$ac_func
35675
35676 /* System header to define __stub macros and hopefully few prototypes,
35677 which can conflict with char $ac_func (); below.
35678 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35679 <limits.h> exists even on freestanding compilers. */
35680
35681 #ifdef __STDC__
35682 # include <limits.h>
35683 #else
35684 # include <assert.h>
35685 #endif
35686
35687 #undef $ac_func
35688
35689 /* Override any gcc2 internal prototype to avoid an error. */
35690 #ifdef __cplusplus
35691 extern "C"
35692 {
35693 #endif
35694 /* We use char because int might match the return type of a gcc2
35695 builtin and then its argument prototype would still apply. */
35696 char $ac_func ();
35697 /* The GNU C library defines this for functions which it implements
35698 to always fail with ENOSYS. Some functions are actually named
35699 something starting with __ and the normal name is an alias. */
35700 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35701 choke me
35702 #else
35703 char (*f) () = $ac_func;
35704 #endif
35705 #ifdef __cplusplus
35706 }
35707 #endif
35708
35709 int
35710 main ()
35711 {
35712 return f != $ac_func;
35713 ;
35714 return 0;
35715 }
35716 _ACEOF
35717 rm -f conftest.$ac_objext conftest$ac_exeext
35718 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35719 (eval $ac_link) 2>conftest.er1
35720 ac_status=$?
35721 grep -v '^ *+' conftest.er1 >conftest.err
35722 rm -f conftest.er1
35723 cat conftest.err >&5
35724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35725 (exit $ac_status); } &&
35726 { ac_try='test -z "$ac_c_werror_flag"
35727 || test ! -s conftest.err'
35728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35729 (eval $ac_try) 2>&5
35730 ac_status=$?
35731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35732 (exit $ac_status); }; } &&
35733 { ac_try='test -s conftest$ac_exeext'
35734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35735 (eval $ac_try) 2>&5
35736 ac_status=$?
35737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35738 (exit $ac_status); }; }; then
35739 eval "$as_ac_var=yes"
35740 else
35741 echo "$as_me: failed program was:" >&5
35742 sed 's/^/| /' conftest.$ac_ext >&5
35743
35744 eval "$as_ac_var=no"
35745 fi
35746 rm -f conftest.err conftest.$ac_objext \
35747 conftest$ac_exeext conftest.$ac_ext
35748 fi
35749 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35750 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35751 if test `eval echo '${'$as_ac_var'}'` = yes; then
35752 cat >>confdefs.h <<_ACEOF
35753 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35754 _ACEOF
35755
35756 fi
35757 done
35758
35759
35760 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
35761 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
35762 if test "${wx_cv_var_timezone+set}" = set; then
35763 echo $ECHO_N "(cached) $ECHO_C" >&6
35764 else
35765
35766 cat >conftest.$ac_ext <<_ACEOF
35767 /* confdefs.h. */
35768 _ACEOF
35769 cat confdefs.h >>conftest.$ac_ext
35770 cat >>conftest.$ac_ext <<_ACEOF
35771 /* end confdefs.h. */
35772
35773 #include <time.h>
35774
35775 int
35776 main ()
35777 {
35778
35779 int tz;
35780 tz = timezone;
35781
35782 ;
35783 return 0;
35784 }
35785 _ACEOF
35786 rm -f conftest.$ac_objext
35787 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35788 (eval $ac_compile) 2>conftest.er1
35789 ac_status=$?
35790 grep -v '^ *+' conftest.er1 >conftest.err
35791 rm -f conftest.er1
35792 cat conftest.err >&5
35793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35794 (exit $ac_status); } &&
35795 { ac_try='test -z "$ac_c_werror_flag"
35796 || test ! -s conftest.err'
35797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35798 (eval $ac_try) 2>&5
35799 ac_status=$?
35800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35801 (exit $ac_status); }; } &&
35802 { ac_try='test -s conftest.$ac_objext'
35803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35804 (eval $ac_try) 2>&5
35805 ac_status=$?
35806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35807 (exit $ac_status); }; }; then
35808
35809 wx_cv_var_timezone=timezone
35810
35811 else
35812 echo "$as_me: failed program was:" >&5
35813 sed 's/^/| /' conftest.$ac_ext >&5
35814
35815
35816 cat >conftest.$ac_ext <<_ACEOF
35817 /* confdefs.h. */
35818 _ACEOF
35819 cat confdefs.h >>conftest.$ac_ext
35820 cat >>conftest.$ac_ext <<_ACEOF
35821 /* end confdefs.h. */
35822
35823 #include <time.h>
35824
35825 int
35826 main ()
35827 {
35828
35829 int tz;
35830 tz = _timezone;
35831
35832 ;
35833 return 0;
35834 }
35835 _ACEOF
35836 rm -f conftest.$ac_objext
35837 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35838 (eval $ac_compile) 2>conftest.er1
35839 ac_status=$?
35840 grep -v '^ *+' conftest.er1 >conftest.err
35841 rm -f conftest.er1
35842 cat conftest.err >&5
35843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35844 (exit $ac_status); } &&
35845 { ac_try='test -z "$ac_c_werror_flag"
35846 || test ! -s conftest.err'
35847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35848 (eval $ac_try) 2>&5
35849 ac_status=$?
35850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35851 (exit $ac_status); }; } &&
35852 { ac_try='test -s conftest.$ac_objext'
35853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35854 (eval $ac_try) 2>&5
35855 ac_status=$?
35856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35857 (exit $ac_status); }; }; then
35858
35859 wx_cv_var_timezone=_timezone
35860
35861 else
35862 echo "$as_me: failed program was:" >&5
35863 sed 's/^/| /' conftest.$ac_ext >&5
35864
35865
35866 cat >conftest.$ac_ext <<_ACEOF
35867 /* confdefs.h. */
35868 _ACEOF
35869 cat confdefs.h >>conftest.$ac_ext
35870 cat >>conftest.$ac_ext <<_ACEOF
35871 /* end confdefs.h. */
35872
35873 #include <time.h>
35874
35875 int
35876 main ()
35877 {
35878
35879 int tz;
35880 tz = __timezone;
35881
35882 ;
35883 return 0;
35884 }
35885 _ACEOF
35886 rm -f conftest.$ac_objext
35887 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35888 (eval $ac_compile) 2>conftest.er1
35889 ac_status=$?
35890 grep -v '^ *+' conftest.er1 >conftest.err
35891 rm -f conftest.er1
35892 cat conftest.err >&5
35893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35894 (exit $ac_status); } &&
35895 { ac_try='test -z "$ac_c_werror_flag"
35896 || test ! -s conftest.err'
35897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35898 (eval $ac_try) 2>&5
35899 ac_status=$?
35900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35901 (exit $ac_status); }; } &&
35902 { ac_try='test -s conftest.$ac_objext'
35903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35904 (eval $ac_try) 2>&5
35905 ac_status=$?
35906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35907 (exit $ac_status); }; }; then
35908
35909 wx_cv_var_timezone=__timezone
35910
35911 else
35912 echo "$as_me: failed program was:" >&5
35913 sed 's/^/| /' conftest.$ac_ext >&5
35914
35915
35916 if test "$USE_DOS" = 0 ; then
35917 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
35918 echo "$as_me: WARNING: no timezone variable" >&2;}
35919 fi
35920
35921
35922 fi
35923 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35924
35925
35926 fi
35927 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35928
35929
35930 fi
35931 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35932
35933
35934 fi
35935 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
35936 echo "${ECHO_T}$wx_cv_var_timezone" >&6
35937
35938 if test "x$wx_cv_var_timezone" != x ; then
35939 cat >>confdefs.h <<_ACEOF
35940 #define WX_TIMEZONE $wx_cv_var_timezone
35941 _ACEOF
35942
35943 fi
35944
35945
35946 for ac_func in localtime
35947 do
35948 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35949 echo "$as_me:$LINENO: checking for $ac_func" >&5
35950 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35951 if eval "test \"\${$as_ac_var+set}\" = set"; then
35952 echo $ECHO_N "(cached) $ECHO_C" >&6
35953 else
35954 cat >conftest.$ac_ext <<_ACEOF
35955 /* confdefs.h. */
35956 _ACEOF
35957 cat confdefs.h >>conftest.$ac_ext
35958 cat >>conftest.$ac_ext <<_ACEOF
35959 /* end confdefs.h. */
35960 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35961 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35962 #define $ac_func innocuous_$ac_func
35963
35964 /* System header to define __stub macros and hopefully few prototypes,
35965 which can conflict with char $ac_func (); below.
35966 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35967 <limits.h> exists even on freestanding compilers. */
35968
35969 #ifdef __STDC__
35970 # include <limits.h>
35971 #else
35972 # include <assert.h>
35973 #endif
35974
35975 #undef $ac_func
35976
35977 /* Override any gcc2 internal prototype to avoid an error. */
35978 #ifdef __cplusplus
35979 extern "C"
35980 {
35981 #endif
35982 /* We use char because int might match the return type of a gcc2
35983 builtin and then its argument prototype would still apply. */
35984 char $ac_func ();
35985 /* The GNU C library defines this for functions which it implements
35986 to always fail with ENOSYS. Some functions are actually named
35987 something starting with __ and the normal name is an alias. */
35988 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35989 choke me
35990 #else
35991 char (*f) () = $ac_func;
35992 #endif
35993 #ifdef __cplusplus
35994 }
35995 #endif
35996
35997 int
35998 main ()
35999 {
36000 return f != $ac_func;
36001 ;
36002 return 0;
36003 }
36004 _ACEOF
36005 rm -f conftest.$ac_objext conftest$ac_exeext
36006 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36007 (eval $ac_link) 2>conftest.er1
36008 ac_status=$?
36009 grep -v '^ *+' conftest.er1 >conftest.err
36010 rm -f conftest.er1
36011 cat conftest.err >&5
36012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36013 (exit $ac_status); } &&
36014 { ac_try='test -z "$ac_c_werror_flag"
36015 || test ! -s conftest.err'
36016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36017 (eval $ac_try) 2>&5
36018 ac_status=$?
36019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36020 (exit $ac_status); }; } &&
36021 { ac_try='test -s conftest$ac_exeext'
36022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36023 (eval $ac_try) 2>&5
36024 ac_status=$?
36025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36026 (exit $ac_status); }; }; then
36027 eval "$as_ac_var=yes"
36028 else
36029 echo "$as_me: failed program was:" >&5
36030 sed 's/^/| /' conftest.$ac_ext >&5
36031
36032 eval "$as_ac_var=no"
36033 fi
36034 rm -f conftest.err conftest.$ac_objext \
36035 conftest$ac_exeext conftest.$ac_ext
36036 fi
36037 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36038 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36039 if test `eval echo '${'$as_ac_var'}'` = yes; then
36040 cat >>confdefs.h <<_ACEOF
36041 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36042 _ACEOF
36043
36044 fi
36045 done
36046
36047
36048 if test "$ac_cv_func_localtime" = "yes"; then
36049 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
36050 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
36051 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
36052 echo $ECHO_N "(cached) $ECHO_C" >&6
36053 else
36054
36055 cat >conftest.$ac_ext <<_ACEOF
36056 /* confdefs.h. */
36057 _ACEOF
36058 cat confdefs.h >>conftest.$ac_ext
36059 cat >>conftest.$ac_ext <<_ACEOF
36060 /* end confdefs.h. */
36061
36062 #include <time.h>
36063
36064 int
36065 main ()
36066 {
36067
36068 struct tm tm;
36069 tm.tm_gmtoff++;
36070
36071 ;
36072 return 0;
36073 }
36074 _ACEOF
36075 rm -f conftest.$ac_objext
36076 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36077 (eval $ac_compile) 2>conftest.er1
36078 ac_status=$?
36079 grep -v '^ *+' conftest.er1 >conftest.err
36080 rm -f conftest.er1
36081 cat conftest.err >&5
36082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36083 (exit $ac_status); } &&
36084 { ac_try='test -z "$ac_c_werror_flag"
36085 || test ! -s conftest.err'
36086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36087 (eval $ac_try) 2>&5
36088 ac_status=$?
36089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36090 (exit $ac_status); }; } &&
36091 { ac_try='test -s conftest.$ac_objext'
36092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36093 (eval $ac_try) 2>&5
36094 ac_status=$?
36095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36096 (exit $ac_status); }; }; then
36097
36098 wx_cv_struct_tm_has_gmtoff=yes
36099
36100 else
36101 echo "$as_me: failed program was:" >&5
36102 sed 's/^/| /' conftest.$ac_ext >&5
36103
36104 wx_cv_struct_tm_has_gmtoff=no
36105
36106 fi
36107 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36108
36109 fi
36110 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
36111 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
36112 fi
36113
36114 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
36115 cat >>confdefs.h <<\_ACEOF
36116 #define WX_GMTOFF_IN_TM 1
36117 _ACEOF
36118
36119 fi
36120
36121
36122
36123 for ac_func in gettimeofday ftime
36124 do
36125 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36126 echo "$as_me:$LINENO: checking for $ac_func" >&5
36127 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36128 if eval "test \"\${$as_ac_var+set}\" = set"; then
36129 echo $ECHO_N "(cached) $ECHO_C" >&6
36130 else
36131 cat >conftest.$ac_ext <<_ACEOF
36132 /* confdefs.h. */
36133 _ACEOF
36134 cat confdefs.h >>conftest.$ac_ext
36135 cat >>conftest.$ac_ext <<_ACEOF
36136 /* end confdefs.h. */
36137 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36138 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36139 #define $ac_func innocuous_$ac_func
36140
36141 /* System header to define __stub macros and hopefully few prototypes,
36142 which can conflict with char $ac_func (); below.
36143 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36144 <limits.h> exists even on freestanding compilers. */
36145
36146 #ifdef __STDC__
36147 # include <limits.h>
36148 #else
36149 # include <assert.h>
36150 #endif
36151
36152 #undef $ac_func
36153
36154 /* Override any gcc2 internal prototype to avoid an error. */
36155 #ifdef __cplusplus
36156 extern "C"
36157 {
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 $ac_func ();
36162 /* The GNU C library defines this for functions which it implements
36163 to always fail with ENOSYS. Some functions are actually named
36164 something starting with __ and the normal name is an alias. */
36165 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36166 choke me
36167 #else
36168 char (*f) () = $ac_func;
36169 #endif
36170 #ifdef __cplusplus
36171 }
36172 #endif
36173
36174 int
36175 main ()
36176 {
36177 return f != $ac_func;
36178 ;
36179 return 0;
36180 }
36181 _ACEOF
36182 rm -f conftest.$ac_objext conftest$ac_exeext
36183 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36184 (eval $ac_link) 2>conftest.er1
36185 ac_status=$?
36186 grep -v '^ *+' conftest.er1 >conftest.err
36187 rm -f conftest.er1
36188 cat conftest.err >&5
36189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36190 (exit $ac_status); } &&
36191 { ac_try='test -z "$ac_c_werror_flag"
36192 || test ! -s conftest.err'
36193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36194 (eval $ac_try) 2>&5
36195 ac_status=$?
36196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36197 (exit $ac_status); }; } &&
36198 { ac_try='test -s conftest$ac_exeext'
36199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36200 (eval $ac_try) 2>&5
36201 ac_status=$?
36202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36203 (exit $ac_status); }; }; then
36204 eval "$as_ac_var=yes"
36205 else
36206 echo "$as_me: failed program was:" >&5
36207 sed 's/^/| /' conftest.$ac_ext >&5
36208
36209 eval "$as_ac_var=no"
36210 fi
36211 rm -f conftest.err conftest.$ac_objext \
36212 conftest$ac_exeext conftest.$ac_ext
36213 fi
36214 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36215 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36216 if test `eval echo '${'$as_ac_var'}'` = yes; then
36217 cat >>confdefs.h <<_ACEOF
36218 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36219 _ACEOF
36220 break
36221 fi
36222 done
36223
36224
36225 if test "$ac_cv_func_gettimeofday" = "yes"; then
36226 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
36227 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
36228 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
36229 echo $ECHO_N "(cached) $ECHO_C" >&6
36230 else
36231
36232
36233
36234 ac_ext=cc
36235 ac_cpp='$CXXCPP $CPPFLAGS'
36236 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36237 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36238 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36239
36240
36241 cat >conftest.$ac_ext <<_ACEOF
36242 /* confdefs.h. */
36243 _ACEOF
36244 cat confdefs.h >>conftest.$ac_ext
36245 cat >>conftest.$ac_ext <<_ACEOF
36246 /* end confdefs.h. */
36247
36248 #include <sys/time.h>
36249 #include <unistd.h>
36250
36251 int
36252 main ()
36253 {
36254
36255 struct timeval tv;
36256 gettimeofday(&tv, NULL);
36257
36258 ;
36259 return 0;
36260 }
36261 _ACEOF
36262 rm -f conftest.$ac_objext
36263 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36264 (eval $ac_compile) 2>conftest.er1
36265 ac_status=$?
36266 grep -v '^ *+' conftest.er1 >conftest.err
36267 rm -f conftest.er1
36268 cat conftest.err >&5
36269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36270 (exit $ac_status); } &&
36271 { ac_try='test -z "$ac_cxx_werror_flag"
36272 || test ! -s conftest.err'
36273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36274 (eval $ac_try) 2>&5
36275 ac_status=$?
36276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36277 (exit $ac_status); }; } &&
36278 { ac_try='test -s conftest.$ac_objext'
36279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36280 (eval $ac_try) 2>&5
36281 ac_status=$?
36282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36283 (exit $ac_status); }; }; then
36284 wx_cv_func_gettimeofday_has_2_args=yes
36285 else
36286 echo "$as_me: failed program was:" >&5
36287 sed 's/^/| /' conftest.$ac_ext >&5
36288
36289 cat >conftest.$ac_ext <<_ACEOF
36290 /* confdefs.h. */
36291 _ACEOF
36292 cat confdefs.h >>conftest.$ac_ext
36293 cat >>conftest.$ac_ext <<_ACEOF
36294 /* end confdefs.h. */
36295
36296 #include <sys/time.h>
36297 #include <unistd.h>
36298
36299 int
36300 main ()
36301 {
36302
36303 struct timeval tv;
36304 gettimeofday(&tv);
36305
36306 ;
36307 return 0;
36308 }
36309 _ACEOF
36310 rm -f conftest.$ac_objext
36311 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36312 (eval $ac_compile) 2>conftest.er1
36313 ac_status=$?
36314 grep -v '^ *+' conftest.er1 >conftest.err
36315 rm -f conftest.er1
36316 cat conftest.err >&5
36317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36318 (exit $ac_status); } &&
36319 { ac_try='test -z "$ac_cxx_werror_flag"
36320 || test ! -s conftest.err'
36321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36322 (eval $ac_try) 2>&5
36323 ac_status=$?
36324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36325 (exit $ac_status); }; } &&
36326 { ac_try='test -s conftest.$ac_objext'
36327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36328 (eval $ac_try) 2>&5
36329 ac_status=$?
36330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36331 (exit $ac_status); }; }; then
36332 wx_cv_func_gettimeofday_has_2_args=no
36333 else
36334 echo "$as_me: failed program was:" >&5
36335 sed 's/^/| /' conftest.$ac_ext >&5
36336
36337
36338 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
36339 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
36340 wx_cv_func_gettimeofday_has_2_args=unknown
36341
36342
36343 fi
36344 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36345
36346 fi
36347 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36348 ac_ext=c
36349 ac_cpp='$CPP $CPPFLAGS'
36350 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36351 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36352 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36353
36354
36355 fi
36356 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
36357 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
36358
36359 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
36360 cat >>confdefs.h <<\_ACEOF
36361 #define WX_GETTIMEOFDAY_NO_TZ 1
36362 _ACEOF
36363
36364 fi
36365 fi
36366
36367 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
36368 fi
36369
36370
36371 if test "$wxUSE_SOCKETS" = "yes"; then
36372 if test "$wxUSE_MGL" = "1"; then
36373 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
36374 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
36375 wxUSE_SOCKETS="no"
36376 fi
36377 fi
36378
36379 if test "$wxUSE_SOCKETS" = "yes"; then
36380 if test "$TOOLKIT" != "MSW"; then
36381 echo "$as_me:$LINENO: checking for socket" >&5
36382 echo $ECHO_N "checking for socket... $ECHO_C" >&6
36383 if test "${ac_cv_func_socket+set}" = set; then
36384 echo $ECHO_N "(cached) $ECHO_C" >&6
36385 else
36386 cat >conftest.$ac_ext <<_ACEOF
36387 /* confdefs.h. */
36388 _ACEOF
36389 cat confdefs.h >>conftest.$ac_ext
36390 cat >>conftest.$ac_ext <<_ACEOF
36391 /* end confdefs.h. */
36392 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
36393 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36394 #define socket innocuous_socket
36395
36396 /* System header to define __stub macros and hopefully few prototypes,
36397 which can conflict with char socket (); below.
36398 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36399 <limits.h> exists even on freestanding compilers. */
36400
36401 #ifdef __STDC__
36402 # include <limits.h>
36403 #else
36404 # include <assert.h>
36405 #endif
36406
36407 #undef socket
36408
36409 /* Override any gcc2 internal prototype to avoid an error. */
36410 #ifdef __cplusplus
36411 extern "C"
36412 {
36413 #endif
36414 /* We use char because int might match the return type of a gcc2
36415 builtin and then its argument prototype would still apply. */
36416 char socket ();
36417 /* The GNU C library defines this for functions which it implements
36418 to always fail with ENOSYS. Some functions are actually named
36419 something starting with __ and the normal name is an alias. */
36420 #if defined (__stub_socket) || defined (__stub___socket)
36421 choke me
36422 #else
36423 char (*f) () = socket;
36424 #endif
36425 #ifdef __cplusplus
36426 }
36427 #endif
36428
36429 int
36430 main ()
36431 {
36432 return f != socket;
36433 ;
36434 return 0;
36435 }
36436 _ACEOF
36437 rm -f conftest.$ac_objext conftest$ac_exeext
36438 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36439 (eval $ac_link) 2>conftest.er1
36440 ac_status=$?
36441 grep -v '^ *+' conftest.er1 >conftest.err
36442 rm -f conftest.er1
36443 cat conftest.err >&5
36444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36445 (exit $ac_status); } &&
36446 { ac_try='test -z "$ac_c_werror_flag"
36447 || test ! -s conftest.err'
36448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36449 (eval $ac_try) 2>&5
36450 ac_status=$?
36451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36452 (exit $ac_status); }; } &&
36453 { ac_try='test -s conftest$ac_exeext'
36454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36455 (eval $ac_try) 2>&5
36456 ac_status=$?
36457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36458 (exit $ac_status); }; }; then
36459 ac_cv_func_socket=yes
36460 else
36461 echo "$as_me: failed program was:" >&5
36462 sed 's/^/| /' conftest.$ac_ext >&5
36463
36464 ac_cv_func_socket=no
36465 fi
36466 rm -f conftest.err conftest.$ac_objext \
36467 conftest$ac_exeext conftest.$ac_ext
36468 fi
36469 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
36470 echo "${ECHO_T}$ac_cv_func_socket" >&6
36471 if test $ac_cv_func_socket = yes; then
36472 :
36473 else
36474
36475 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
36476 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
36477 if test "${ac_cv_lib_socket_socket+set}" = set; then
36478 echo $ECHO_N "(cached) $ECHO_C" >&6
36479 else
36480 ac_check_lib_save_LIBS=$LIBS
36481 LIBS="-lsocket $LIBS"
36482 cat >conftest.$ac_ext <<_ACEOF
36483 /* confdefs.h. */
36484 _ACEOF
36485 cat confdefs.h >>conftest.$ac_ext
36486 cat >>conftest.$ac_ext <<_ACEOF
36487 /* end confdefs.h. */
36488
36489 /* Override any gcc2 internal prototype to avoid an error. */
36490 #ifdef __cplusplus
36491 extern "C"
36492 #endif
36493 /* We use char because int might match the return type of a gcc2
36494 builtin and then its argument prototype would still apply. */
36495 char socket ();
36496 int
36497 main ()
36498 {
36499 socket ();
36500 ;
36501 return 0;
36502 }
36503 _ACEOF
36504 rm -f conftest.$ac_objext conftest$ac_exeext
36505 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36506 (eval $ac_link) 2>conftest.er1
36507 ac_status=$?
36508 grep -v '^ *+' conftest.er1 >conftest.err
36509 rm -f conftest.er1
36510 cat conftest.err >&5
36511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36512 (exit $ac_status); } &&
36513 { ac_try='test -z "$ac_c_werror_flag"
36514 || test ! -s conftest.err'
36515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36516 (eval $ac_try) 2>&5
36517 ac_status=$?
36518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36519 (exit $ac_status); }; } &&
36520 { ac_try='test -s conftest$ac_exeext'
36521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36522 (eval $ac_try) 2>&5
36523 ac_status=$?
36524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36525 (exit $ac_status); }; }; then
36526 ac_cv_lib_socket_socket=yes
36527 else
36528 echo "$as_me: failed program was:" >&5
36529 sed 's/^/| /' conftest.$ac_ext >&5
36530
36531 ac_cv_lib_socket_socket=no
36532 fi
36533 rm -f conftest.err conftest.$ac_objext \
36534 conftest$ac_exeext conftest.$ac_ext
36535 LIBS=$ac_check_lib_save_LIBS
36536 fi
36537 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
36538 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
36539 if test $ac_cv_lib_socket_socket = yes; then
36540 if test "$INET_LINK" != " -lsocket"; then
36541 INET_LINK="$INET_LINK -lsocket"
36542 fi
36543 else
36544
36545 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
36546 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
36547 wxUSE_SOCKETS=no
36548
36549
36550 fi
36551
36552
36553
36554 fi
36555
36556 fi
36557 fi
36558
36559 if test "$wxUSE_SOCKETS" = "yes" ; then
36560 if test "$TOOLKIT" != "MSW"; then
36561 ac_ext=cc
36562 ac_cpp='$CXXCPP $CPPFLAGS'
36563 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36564 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36565 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36566
36567 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
36568 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
36569 if test "${wx_cv_type_getsockname3+set}" = set; then
36570 echo $ECHO_N "(cached) $ECHO_C" >&6
36571 else
36572
36573 cat >conftest.$ac_ext <<_ACEOF
36574 /* confdefs.h. */
36575 _ACEOF
36576 cat confdefs.h >>conftest.$ac_ext
36577 cat >>conftest.$ac_ext <<_ACEOF
36578 /* end confdefs.h. */
36579
36580 #include <sys/types.h>
36581 #include <sys/socket.h>
36582
36583 int
36584 main ()
36585 {
36586
36587 socklen_t len;
36588 getsockname(0, 0, &len);
36589
36590 ;
36591 return 0;
36592 }
36593 _ACEOF
36594 rm -f conftest.$ac_objext
36595 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36596 (eval $ac_compile) 2>conftest.er1
36597 ac_status=$?
36598 grep -v '^ *+' conftest.er1 >conftest.err
36599 rm -f conftest.er1
36600 cat conftest.err >&5
36601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36602 (exit $ac_status); } &&
36603 { ac_try='test -z "$ac_cxx_werror_flag"
36604 || test ! -s conftest.err'
36605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36606 (eval $ac_try) 2>&5
36607 ac_status=$?
36608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36609 (exit $ac_status); }; } &&
36610 { ac_try='test -s conftest.$ac_objext'
36611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36612 (eval $ac_try) 2>&5
36613 ac_status=$?
36614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36615 (exit $ac_status); }; }; then
36616 wx_cv_type_getsockname3=socklen_t
36617 else
36618 echo "$as_me: failed program was:" >&5
36619 sed 's/^/| /' conftest.$ac_ext >&5
36620
36621
36622 CFLAGS_OLD="$CFLAGS"
36623 if test "$GCC" = yes ; then
36624 CFLAGS="$CFLAGS -Werror"
36625 fi
36626
36627 cat >conftest.$ac_ext <<_ACEOF
36628 /* confdefs.h. */
36629 _ACEOF
36630 cat confdefs.h >>conftest.$ac_ext
36631 cat >>conftest.$ac_ext <<_ACEOF
36632 /* end confdefs.h. */
36633
36634 #include <sys/types.h>
36635 #include <sys/socket.h>
36636
36637 int
36638 main ()
36639 {
36640
36641 size_t len;
36642 getsockname(0, 0, &len);
36643
36644 ;
36645 return 0;
36646 }
36647 _ACEOF
36648 rm -f conftest.$ac_objext
36649 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36650 (eval $ac_compile) 2>conftest.er1
36651 ac_status=$?
36652 grep -v '^ *+' conftest.er1 >conftest.err
36653 rm -f conftest.er1
36654 cat conftest.err >&5
36655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36656 (exit $ac_status); } &&
36657 { ac_try='test -z "$ac_cxx_werror_flag"
36658 || test ! -s conftest.err'
36659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36660 (eval $ac_try) 2>&5
36661 ac_status=$?
36662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36663 (exit $ac_status); }; } &&
36664 { ac_try='test -s conftest.$ac_objext'
36665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36666 (eval $ac_try) 2>&5
36667 ac_status=$?
36668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36669 (exit $ac_status); }; }; then
36670 wx_cv_type_getsockname3=size_t
36671 else
36672 echo "$as_me: failed program was:" >&5
36673 sed 's/^/| /' conftest.$ac_ext >&5
36674
36675 cat >conftest.$ac_ext <<_ACEOF
36676 /* confdefs.h. */
36677 _ACEOF
36678 cat confdefs.h >>conftest.$ac_ext
36679 cat >>conftest.$ac_ext <<_ACEOF
36680 /* end confdefs.h. */
36681
36682 #include <sys/types.h>
36683 #include <sys/socket.h>
36684
36685 int
36686 main ()
36687 {
36688
36689 int len;
36690 getsockname(0, 0, &len);
36691
36692 ;
36693 return 0;
36694 }
36695 _ACEOF
36696 rm -f conftest.$ac_objext
36697 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36698 (eval $ac_compile) 2>conftest.er1
36699 ac_status=$?
36700 grep -v '^ *+' conftest.er1 >conftest.err
36701 rm -f conftest.er1
36702 cat conftest.err >&5
36703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36704 (exit $ac_status); } &&
36705 { ac_try='test -z "$ac_cxx_werror_flag"
36706 || test ! -s conftest.err'
36707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36708 (eval $ac_try) 2>&5
36709 ac_status=$?
36710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36711 (exit $ac_status); }; } &&
36712 { ac_try='test -s conftest.$ac_objext'
36713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36714 (eval $ac_try) 2>&5
36715 ac_status=$?
36716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36717 (exit $ac_status); }; }; then
36718 wx_cv_type_getsockname3=int
36719 else
36720 echo "$as_me: failed program was:" >&5
36721 sed 's/^/| /' conftest.$ac_ext >&5
36722
36723 wx_cv_type_getsockname3=unknown
36724
36725 fi
36726 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36727
36728 fi
36729 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36730
36731 CFLAGS="$CFLAGS_OLD"
36732
36733
36734 fi
36735 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36736
36737 fi
36738 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
36739 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
36740
36741 if test "$wx_cv_type_getsockname3" = "unknown"; then
36742 wxUSE_SOCKETS=no
36743 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
36744 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
36745 else
36746 cat >>confdefs.h <<_ACEOF
36747 #define SOCKLEN_T $wx_cv_type_getsockname3
36748 _ACEOF
36749
36750 fi
36751 echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
36752 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6
36753 if test "${wx_cv_type_getsockopt5+set}" = set; then
36754 echo $ECHO_N "(cached) $ECHO_C" >&6
36755 else
36756
36757 cat >conftest.$ac_ext <<_ACEOF
36758 /* confdefs.h. */
36759 _ACEOF
36760 cat confdefs.h >>conftest.$ac_ext
36761 cat >>conftest.$ac_ext <<_ACEOF
36762 /* end confdefs.h. */
36763
36764 #include <sys/types.h>
36765 #include <sys/socket.h>
36766
36767 int
36768 main ()
36769 {
36770
36771 socklen_t len;
36772 getsockopt(0, 0, 0, 0, &len);
36773
36774 ;
36775 return 0;
36776 }
36777 _ACEOF
36778 rm -f conftest.$ac_objext
36779 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36780 (eval $ac_compile) 2>conftest.er1
36781 ac_status=$?
36782 grep -v '^ *+' conftest.er1 >conftest.err
36783 rm -f conftest.er1
36784 cat conftest.err >&5
36785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36786 (exit $ac_status); } &&
36787 { ac_try='test -z "$ac_cxx_werror_flag"
36788 || test ! -s conftest.err'
36789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36790 (eval $ac_try) 2>&5
36791 ac_status=$?
36792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36793 (exit $ac_status); }; } &&
36794 { ac_try='test -s conftest.$ac_objext'
36795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36796 (eval $ac_try) 2>&5
36797 ac_status=$?
36798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36799 (exit $ac_status); }; }; then
36800 wx_cv_type_getsockopt5=socklen_t
36801 else
36802 echo "$as_me: failed program was:" >&5
36803 sed 's/^/| /' conftest.$ac_ext >&5
36804
36805
36806 CFLAGS_OLD="$CFLAGS"
36807 if test "$GCC" = yes ; then
36808 CFLAGS="$CFLAGS -Werror"
36809 fi
36810
36811 cat >conftest.$ac_ext <<_ACEOF
36812 /* confdefs.h. */
36813 _ACEOF
36814 cat confdefs.h >>conftest.$ac_ext
36815 cat >>conftest.$ac_ext <<_ACEOF
36816 /* end confdefs.h. */
36817
36818 #include <sys/types.h>
36819 #include <sys/socket.h>
36820
36821 int
36822 main ()
36823 {
36824
36825 size_t len;
36826 getsockopt(0, 0, 0, 0, &len);
36827
36828 ;
36829 return 0;
36830 }
36831 _ACEOF
36832 rm -f conftest.$ac_objext
36833 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36834 (eval $ac_compile) 2>conftest.er1
36835 ac_status=$?
36836 grep -v '^ *+' conftest.er1 >conftest.err
36837 rm -f conftest.er1
36838 cat conftest.err >&5
36839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36840 (exit $ac_status); } &&
36841 { ac_try='test -z "$ac_cxx_werror_flag"
36842 || test ! -s conftest.err'
36843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36844 (eval $ac_try) 2>&5
36845 ac_status=$?
36846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36847 (exit $ac_status); }; } &&
36848 { ac_try='test -s conftest.$ac_objext'
36849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36850 (eval $ac_try) 2>&5
36851 ac_status=$?
36852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36853 (exit $ac_status); }; }; then
36854 wx_cv_type_getsockopt5=size_t
36855 else
36856 echo "$as_me: failed program was:" >&5
36857 sed 's/^/| /' conftest.$ac_ext >&5
36858
36859 cat >conftest.$ac_ext <<_ACEOF
36860 /* confdefs.h. */
36861 _ACEOF
36862 cat confdefs.h >>conftest.$ac_ext
36863 cat >>conftest.$ac_ext <<_ACEOF
36864 /* end confdefs.h. */
36865
36866 #include <sys/types.h>
36867 #include <sys/socket.h>
36868
36869 int
36870 main ()
36871 {
36872
36873 int len;
36874 getsockopt(0, 0, 0, 0, &len);
36875
36876 ;
36877 return 0;
36878 }
36879 _ACEOF
36880 rm -f conftest.$ac_objext
36881 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36882 (eval $ac_compile) 2>conftest.er1
36883 ac_status=$?
36884 grep -v '^ *+' conftest.er1 >conftest.err
36885 rm -f conftest.er1
36886 cat conftest.err >&5
36887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36888 (exit $ac_status); } &&
36889 { ac_try='test -z "$ac_cxx_werror_flag"
36890 || test ! -s conftest.err'
36891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36892 (eval $ac_try) 2>&5
36893 ac_status=$?
36894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36895 (exit $ac_status); }; } &&
36896 { ac_try='test -s conftest.$ac_objext'
36897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36898 (eval $ac_try) 2>&5
36899 ac_status=$?
36900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36901 (exit $ac_status); }; }; then
36902 wx_cv_type_getsockopt5=int
36903 else
36904 echo "$as_me: failed program was:" >&5
36905 sed 's/^/| /' conftest.$ac_ext >&5
36906
36907 wx_cv_type_getsockopt5=unknown
36908
36909 fi
36910 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36911
36912 fi
36913 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36914
36915 CFLAGS="$CFLAGS_OLD"
36916
36917
36918 fi
36919 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36920
36921 fi
36922 echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
36923 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6
36924
36925 if test "$wx_cv_type_getsockopt5" = "unknown"; then
36926 wxUSE_SOCKETS=no
36927 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
36928 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
36929 else
36930 cat >>confdefs.h <<_ACEOF
36931 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
36932 _ACEOF
36933
36934 fi
36935 ac_ext=c
36936 ac_cpp='$CPP $CPPFLAGS'
36937 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36938 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36939 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36940
36941 fi
36942 fi
36943
36944 if test "$wxUSE_SOCKETS" = "yes" ; then
36945 cat >>confdefs.h <<\_ACEOF
36946 #define wxUSE_SOCKETS 1
36947 _ACEOF
36948
36949 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
36950 fi
36951
36952 if test "$wxUSE_PROTOCOL" = "yes"; then
36953 if test "$wxUSE_SOCKETS" != "yes"; then
36954 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
36955 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
36956 wxUSE_PROTOCOL=no
36957 fi
36958 fi
36959
36960 if test "$wxUSE_PROTOCOL" = "yes"; then
36961 cat >>confdefs.h <<\_ACEOF
36962 #define wxUSE_PROTOCOL 1
36963 _ACEOF
36964
36965
36966 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
36967 cat >>confdefs.h <<\_ACEOF
36968 #define wxUSE_PROTOCOL_HTTP 1
36969 _ACEOF
36970
36971 fi
36972 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
36973 cat >>confdefs.h <<\_ACEOF
36974 #define wxUSE_PROTOCOL_FTP 1
36975 _ACEOF
36976
36977 fi
36978 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
36979 cat >>confdefs.h <<\_ACEOF
36980 #define wxUSE_PROTOCOL_FILE 1
36981 _ACEOF
36982
36983 fi
36984 else
36985 if test "$wxUSE_FS_INET" = "yes"; then
36986 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
36987 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
36988 wxUSE_FS_INET="no"
36989 fi
36990 fi
36991
36992 if test "$wxUSE_URL" = "yes"; then
36993 if test "$wxUSE_PROTOCOL" != "yes"; then
36994 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
36995 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
36996 wxUSE_URL=no
36997 fi
36998 if test "$wxUSE_URL" = "yes"; then
36999 cat >>confdefs.h <<\_ACEOF
37000 #define wxUSE_URL 1
37001 _ACEOF
37002
37003 fi
37004 fi
37005
37006 if test "$wxUSE_FS_INET" = "yes"; then
37007 cat >>confdefs.h <<\_ACEOF
37008 #define wxUSE_FS_INET 1
37009 _ACEOF
37010
37011 fi
37012
37013
37014 if test "$wxUSE_GUI" = "yes"; then
37015
37016 if test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
37017 { echo "$as_me:$LINENO: WARNING: Joystick not yet supported under Mac OS X... disabled" >&5
37018 echo "$as_me: WARNING: Joystick not yet supported under Mac OS X... disabled" >&2;}
37019 wxUSE_JOYSTICK=no
37020 fi
37021
37022 if test "$TOOLKIT" != "MSW"; then
37023 if test "$wxUSE_JOYSTICK" = "yes"; then
37024
37025 for ac_header in linux/joystick.h
37026 do
37027 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
37028 if eval "test \"\${$as_ac_Header+set}\" = set"; then
37029 echo "$as_me:$LINENO: checking for $ac_header" >&5
37030 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
37031 if eval "test \"\${$as_ac_Header+set}\" = set"; then
37032 echo $ECHO_N "(cached) $ECHO_C" >&6
37033 fi
37034 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
37035 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
37036 else
37037 # Is the header compilable?
37038 echo "$as_me:$LINENO: checking $ac_header usability" >&5
37039 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
37040 cat >conftest.$ac_ext <<_ACEOF
37041 /* confdefs.h. */
37042 _ACEOF
37043 cat confdefs.h >>conftest.$ac_ext
37044 cat >>conftest.$ac_ext <<_ACEOF
37045 /* end confdefs.h. */
37046 $ac_includes_default
37047 #include <$ac_header>
37048 _ACEOF
37049 rm -f conftest.$ac_objext
37050 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37051 (eval $ac_compile) 2>conftest.er1
37052 ac_status=$?
37053 grep -v '^ *+' conftest.er1 >conftest.err
37054 rm -f conftest.er1
37055 cat conftest.err >&5
37056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37057 (exit $ac_status); } &&
37058 { ac_try='test -z "$ac_c_werror_flag"
37059 || test ! -s conftest.err'
37060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37061 (eval $ac_try) 2>&5
37062 ac_status=$?
37063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37064 (exit $ac_status); }; } &&
37065 { ac_try='test -s conftest.$ac_objext'
37066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37067 (eval $ac_try) 2>&5
37068 ac_status=$?
37069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37070 (exit $ac_status); }; }; then
37071 ac_header_compiler=yes
37072 else
37073 echo "$as_me: failed program was:" >&5
37074 sed 's/^/| /' conftest.$ac_ext >&5
37075
37076 ac_header_compiler=no
37077 fi
37078 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37079 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
37080 echo "${ECHO_T}$ac_header_compiler" >&6
37081
37082 # Is the header present?
37083 echo "$as_me:$LINENO: checking $ac_header presence" >&5
37084 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
37085 cat >conftest.$ac_ext <<_ACEOF
37086 /* confdefs.h. */
37087 _ACEOF
37088 cat confdefs.h >>conftest.$ac_ext
37089 cat >>conftest.$ac_ext <<_ACEOF
37090 /* end confdefs.h. */
37091 #include <$ac_header>
37092 _ACEOF
37093 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
37094 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
37095 ac_status=$?
37096 grep -v '^ *+' conftest.er1 >conftest.err
37097 rm -f conftest.er1
37098 cat conftest.err >&5
37099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37100 (exit $ac_status); } >/dev/null; then
37101 if test -s conftest.err; then
37102 ac_cpp_err=$ac_c_preproc_warn_flag
37103 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
37104 else
37105 ac_cpp_err=
37106 fi
37107 else
37108 ac_cpp_err=yes
37109 fi
37110 if test -z "$ac_cpp_err"; then
37111 ac_header_preproc=yes
37112 else
37113 echo "$as_me: failed program was:" >&5
37114 sed 's/^/| /' conftest.$ac_ext >&5
37115
37116 ac_header_preproc=no
37117 fi
37118 rm -f conftest.err conftest.$ac_ext
37119 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
37120 echo "${ECHO_T}$ac_header_preproc" >&6
37121
37122 # So? What about this header?
37123 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
37124 yes:no: )
37125 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
37126 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
37127 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
37128 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
37129 ac_header_preproc=yes
37130 ;;
37131 no:yes:* )
37132 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
37133 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
37134 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
37135 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
37136 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
37137 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
37138 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
37139 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
37140 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
37141 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
37142 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
37143 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
37144 (
37145 cat <<\_ASBOX
37146 ## ----------------------------------------- ##
37147 ## Report this to wx-dev@lists.wxwidgets.org ##
37148 ## ----------------------------------------- ##
37149 _ASBOX
37150 ) |
37151 sed "s/^/$as_me: WARNING: /" >&2
37152 ;;
37153 esac
37154 echo "$as_me:$LINENO: checking for $ac_header" >&5
37155 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
37156 if eval "test \"\${$as_ac_Header+set}\" = set"; then
37157 echo $ECHO_N "(cached) $ECHO_C" >&6
37158 else
37159 eval "$as_ac_Header=\$ac_header_preproc"
37160 fi
37161 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
37162 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
37163
37164 fi
37165 if test `eval echo '${'$as_ac_Header'}'` = yes; then
37166 cat >>confdefs.h <<_ACEOF
37167 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
37168 _ACEOF
37169
37170 fi
37171
37172 done
37173
37174 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
37175 wxUSE_JOYSTICK=no
37176 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
37177 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
37178 fi
37179 fi
37180 fi
37181
37182 if test "$wxUSE_JOYSTICK" = "yes"; then
37183 cat >>confdefs.h <<\_ACEOF
37184 #define wxUSE_JOYSTICK 1
37185 _ACEOF
37186
37187 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
37188 fi
37189 fi
37190
37191
37192
37193 if test "$wxUSE_FONTMAP" = "yes" ; then
37194 cat >>confdefs.h <<\_ACEOF
37195 #define wxUSE_FONTMAP 1
37196 _ACEOF
37197
37198 fi
37199
37200 if test "$wxUSE_UNICODE" = "yes" ; then
37201 cat >>confdefs.h <<\_ACEOF
37202 #define wxUSE_UNICODE 1
37203 _ACEOF
37204
37205
37206 if test "$USE_WIN32" != 1; then
37207 wxUSE_UNICODE_MSLU=no
37208 fi
37209
37210 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
37211 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
37212 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
37213 if test "${ac_cv_lib_unicows_main+set}" = set; then
37214 echo $ECHO_N "(cached) $ECHO_C" >&6
37215 else
37216 ac_check_lib_save_LIBS=$LIBS
37217 LIBS="-lunicows $LIBS"
37218 cat >conftest.$ac_ext <<_ACEOF
37219 /* confdefs.h. */
37220 _ACEOF
37221 cat confdefs.h >>conftest.$ac_ext
37222 cat >>conftest.$ac_ext <<_ACEOF
37223 /* end confdefs.h. */
37224
37225
37226 int
37227 main ()
37228 {
37229 main ();
37230 ;
37231 return 0;
37232 }
37233 _ACEOF
37234 rm -f conftest.$ac_objext conftest$ac_exeext
37235 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37236 (eval $ac_link) 2>conftest.er1
37237 ac_status=$?
37238 grep -v '^ *+' conftest.er1 >conftest.err
37239 rm -f conftest.er1
37240 cat conftest.err >&5
37241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37242 (exit $ac_status); } &&
37243 { ac_try='test -z "$ac_c_werror_flag"
37244 || test ! -s conftest.err'
37245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37246 (eval $ac_try) 2>&5
37247 ac_status=$?
37248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37249 (exit $ac_status); }; } &&
37250 { ac_try='test -s conftest$ac_exeext'
37251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37252 (eval $ac_try) 2>&5
37253 ac_status=$?
37254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37255 (exit $ac_status); }; }; then
37256 ac_cv_lib_unicows_main=yes
37257 else
37258 echo "$as_me: failed program was:" >&5
37259 sed 's/^/| /' conftest.$ac_ext >&5
37260
37261 ac_cv_lib_unicows_main=no
37262 fi
37263 rm -f conftest.err conftest.$ac_objext \
37264 conftest$ac_exeext conftest.$ac_ext
37265 LIBS=$ac_check_lib_save_LIBS
37266 fi
37267 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
37268 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
37269 if test $ac_cv_lib_unicows_main = yes; then
37270
37271 cat >>confdefs.h <<\_ACEOF
37272 #define wxUSE_UNICODE_MSLU 1
37273 _ACEOF
37274
37275
37276 else
37277
37278 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
37279 Applications will only run on Windows NT/2000/XP!" >&5
37280 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
37281 Applications will only run on Windows NT/2000/XP!" >&2;}
37282 wxUSE_UNICODE_MSLU=no
37283
37284 fi
37285
37286 fi
37287 fi
37288
37289 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
37290 cat >>confdefs.h <<\_ACEOF
37291 #define wxUSE_EXPERIMENTAL_PRINTF 1
37292 _ACEOF
37293
37294 fi
37295
37296
37297 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
37298 cat >>confdefs.h <<\_ACEOF
37299 #define wxUSE_POSTSCRIPT 1
37300 _ACEOF
37301
37302 fi
37303
37304 cat >>confdefs.h <<\_ACEOF
37305 #define wxUSE_AFM_FOR_POSTSCRIPT 1
37306 _ACEOF
37307
37308
37309 cat >>confdefs.h <<\_ACEOF
37310 #define wxUSE_NORMALIZED_PS_FONTS 1
37311 _ACEOF
37312
37313
37314
37315 if test "$wxUSE_CONSTRAINTS" = "yes"; then
37316 cat >>confdefs.h <<\_ACEOF
37317 #define wxUSE_CONSTRAINTS 1
37318 _ACEOF
37319
37320 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
37321 fi
37322
37323 if test "$wxUSE_MDI" = "yes"; then
37324 cat >>confdefs.h <<\_ACEOF
37325 #define wxUSE_MDI 1
37326 _ACEOF
37327
37328
37329 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
37330 cat >>confdefs.h <<\_ACEOF
37331 #define wxUSE_MDI_ARCHITECTURE 1
37332 _ACEOF
37333
37334 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
37335 fi
37336 fi
37337
37338 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
37339 cat >>confdefs.h <<\_ACEOF
37340 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
37341 _ACEOF
37342
37343 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
37344 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
37345 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
37346 fi
37347 fi
37348
37349 if test "$wxUSE_HELP" = "yes"; then
37350 cat >>confdefs.h <<\_ACEOF
37351 #define wxUSE_HELP 1
37352 _ACEOF
37353
37354 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
37355
37356 if test "$wxUSE_MSW" = 1; then
37357 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
37358 cat >>confdefs.h <<\_ACEOF
37359 #define wxUSE_MS_HTML_HELP 1
37360 _ACEOF
37361
37362 fi
37363 fi
37364
37365 if test "$wxUSE_WXHTML_HELP" = "yes"; then
37366 if test "$wxUSE_HTML" = "yes"; then
37367 cat >>confdefs.h <<\_ACEOF
37368 #define wxUSE_WXHTML_HELP 1
37369 _ACEOF
37370
37371 else
37372 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
37373 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
37374 wxUSE_WXHTML_HELP=no
37375 fi
37376 fi
37377 fi
37378
37379 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
37380 if test "$wxUSE_CONSTRAINTS" != "yes"; then
37381 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
37382 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
37383 else
37384 cat >>confdefs.h <<\_ACEOF
37385 #define wxUSE_PRINTING_ARCHITECTURE 1
37386 _ACEOF
37387
37388 fi
37389 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
37390 fi
37391
37392 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
37393 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
37394 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
37395 { (exit 1); exit 1; }; }
37396 fi
37397
37398
37399 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
37400 -o "$wxUSE_CLIPBOARD" = "yes" \
37401 -o "$wxUSE_OLE" = "yes" \
37402 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
37403
37404 for ac_header in ole2.h
37405 do
37406 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
37407 if eval "test \"\${$as_ac_Header+set}\" = set"; then
37408 echo "$as_me:$LINENO: checking for $ac_header" >&5
37409 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
37410 if eval "test \"\${$as_ac_Header+set}\" = set"; then
37411 echo $ECHO_N "(cached) $ECHO_C" >&6
37412 fi
37413 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
37414 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
37415 else
37416 # Is the header compilable?
37417 echo "$as_me:$LINENO: checking $ac_header usability" >&5
37418 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
37419 cat >conftest.$ac_ext <<_ACEOF
37420 /* confdefs.h. */
37421 _ACEOF
37422 cat confdefs.h >>conftest.$ac_ext
37423 cat >>conftest.$ac_ext <<_ACEOF
37424 /* end confdefs.h. */
37425 $ac_includes_default
37426 #include <$ac_header>
37427 _ACEOF
37428 rm -f conftest.$ac_objext
37429 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37430 (eval $ac_compile) 2>conftest.er1
37431 ac_status=$?
37432 grep -v '^ *+' conftest.er1 >conftest.err
37433 rm -f conftest.er1
37434 cat conftest.err >&5
37435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37436 (exit $ac_status); } &&
37437 { ac_try='test -z "$ac_c_werror_flag"
37438 || test ! -s conftest.err'
37439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37440 (eval $ac_try) 2>&5
37441 ac_status=$?
37442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37443 (exit $ac_status); }; } &&
37444 { ac_try='test -s conftest.$ac_objext'
37445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37446 (eval $ac_try) 2>&5
37447 ac_status=$?
37448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37449 (exit $ac_status); }; }; then
37450 ac_header_compiler=yes
37451 else
37452 echo "$as_me: failed program was:" >&5
37453 sed 's/^/| /' conftest.$ac_ext >&5
37454
37455 ac_header_compiler=no
37456 fi
37457 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37458 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
37459 echo "${ECHO_T}$ac_header_compiler" >&6
37460
37461 # Is the header present?
37462 echo "$as_me:$LINENO: checking $ac_header presence" >&5
37463 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
37464 cat >conftest.$ac_ext <<_ACEOF
37465 /* confdefs.h. */
37466 _ACEOF
37467 cat confdefs.h >>conftest.$ac_ext
37468 cat >>conftest.$ac_ext <<_ACEOF
37469 /* end confdefs.h. */
37470 #include <$ac_header>
37471 _ACEOF
37472 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
37473 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
37474 ac_status=$?
37475 grep -v '^ *+' conftest.er1 >conftest.err
37476 rm -f conftest.er1
37477 cat conftest.err >&5
37478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37479 (exit $ac_status); } >/dev/null; then
37480 if test -s conftest.err; then
37481 ac_cpp_err=$ac_c_preproc_warn_flag
37482 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
37483 else
37484 ac_cpp_err=
37485 fi
37486 else
37487 ac_cpp_err=yes
37488 fi
37489 if test -z "$ac_cpp_err"; then
37490 ac_header_preproc=yes
37491 else
37492 echo "$as_me: failed program was:" >&5
37493 sed 's/^/| /' conftest.$ac_ext >&5
37494
37495 ac_header_preproc=no
37496 fi
37497 rm -f conftest.err conftest.$ac_ext
37498 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
37499 echo "${ECHO_T}$ac_header_preproc" >&6
37500
37501 # So? What about this header?
37502 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
37503 yes:no: )
37504 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
37505 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
37506 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
37507 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
37508 ac_header_preproc=yes
37509 ;;
37510 no:yes:* )
37511 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
37512 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
37513 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
37514 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
37515 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
37516 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
37517 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
37518 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
37519 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
37520 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
37521 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
37522 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
37523 (
37524 cat <<\_ASBOX
37525 ## ----------------------------------------- ##
37526 ## Report this to wx-dev@lists.wxwidgets.org ##
37527 ## ----------------------------------------- ##
37528 _ASBOX
37529 ) |
37530 sed "s/^/$as_me: WARNING: /" >&2
37531 ;;
37532 esac
37533 echo "$as_me:$LINENO: checking for $ac_header" >&5
37534 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
37535 if eval "test \"\${$as_ac_Header+set}\" = set"; then
37536 echo $ECHO_N "(cached) $ECHO_C" >&6
37537 else
37538 eval "$as_ac_Header=\$ac_header_preproc"
37539 fi
37540 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
37541 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
37542
37543 fi
37544 if test `eval echo '${'$as_ac_Header'}'` = yes; then
37545 cat >>confdefs.h <<_ACEOF
37546 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
37547 _ACEOF
37548
37549 fi
37550
37551 done
37552
37553
37554 if test "$ac_cv_header_ole2_h" = "yes" ; then
37555 if test "$GCC" = yes ; then
37556
37557
37558 ac_ext=cc
37559 ac_cpp='$CXXCPP $CPPFLAGS'
37560 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37561 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37562 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37563
37564
37565 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
37566 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
37567 cat >conftest.$ac_ext <<_ACEOF
37568 /* confdefs.h. */
37569 _ACEOF
37570 cat confdefs.h >>conftest.$ac_ext
37571 cat >>conftest.$ac_ext <<_ACEOF
37572 /* end confdefs.h. */
37573 #include <windows.h>
37574 #include <ole2.h>
37575 int
37576 main ()
37577 {
37578
37579 ;
37580 return 0;
37581 }
37582 _ACEOF
37583 rm -f conftest.$ac_objext
37584 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37585 (eval $ac_compile) 2>conftest.er1
37586 ac_status=$?
37587 grep -v '^ *+' conftest.er1 >conftest.err
37588 rm -f conftest.er1
37589 cat conftest.err >&5
37590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37591 (exit $ac_status); } &&
37592 { ac_try='test -z "$ac_cxx_werror_flag"
37593 || test ! -s conftest.err'
37594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37595 (eval $ac_try) 2>&5
37596 ac_status=$?
37597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37598 (exit $ac_status); }; } &&
37599 { ac_try='test -s conftest.$ac_objext'
37600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37601 (eval $ac_try) 2>&5
37602 ac_status=$?
37603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37604 (exit $ac_status); }; }; then
37605 echo "$as_me:$LINENO: result: no" >&5
37606 echo "${ECHO_T}no" >&6
37607 else
37608 echo "$as_me: failed program was:" >&5
37609 sed 's/^/| /' conftest.$ac_ext >&5
37610
37611 echo "$as_me:$LINENO: result: yes" >&5
37612 echo "${ECHO_T}yes" >&6
37613 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
37614 fi
37615 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37616 ac_ext=c
37617 ac_cpp='$CPP $CPPFLAGS'
37618 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37619 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37620 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37621
37622 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
37623 if test "$wxUSE_OLE" = "yes" ; then
37624 cat >>confdefs.h <<\_ACEOF
37625 #define wxUSE_OLE 1
37626 _ACEOF
37627
37628 fi
37629 fi
37630
37631 if test "$wxUSE_DATAOBJ" = "yes" ; then
37632 cat >>confdefs.h <<\_ACEOF
37633 #define wxUSE_DATAOBJ 1
37634 _ACEOF
37635
37636 fi
37637 else
37638 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
37639 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
37640
37641 wxUSE_CLIPBOARD=no
37642 wxUSE_DRAG_AND_DROP=no
37643 wxUSE_DATAOBJ=no
37644 wxUSE_OLE=no
37645 fi
37646
37647 if test "$wxUSE_METAFILE" = "yes"; then
37648 cat >>confdefs.h <<\_ACEOF
37649 #define wxUSE_METAFILE 1
37650 _ACEOF
37651
37652
37653 cat >>confdefs.h <<\_ACEOF
37654 #define wxUSE_ENH_METAFILE 1
37655 _ACEOF
37656
37657 fi
37658 fi
37659
37660 if test "$wxUSE_IPC" = "yes"; then
37661 if test "$wxUSE_SOCKETS" != "yes"; then
37662 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
37663 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
37664 fi
37665
37666 cat >>confdefs.h <<\_ACEOF
37667 #define wxUSE_IPC 1
37668 _ACEOF
37669
37670 fi
37671
37672 if test "$wxUSE_CLIPBOARD" = "yes"; then
37673 if test "$wxUSE_MGL" = 1; then
37674 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
37675 echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
37676 wxUSE_CLIPBOARD=no
37677 fi
37678
37679 if test "$wxUSE_CLIPBOARD" = "yes"; then
37680 cat >>confdefs.h <<\_ACEOF
37681 #define wxUSE_CLIPBOARD 1
37682 _ACEOF
37683
37684
37685 cat >>confdefs.h <<\_ACEOF
37686 #define wxUSE_DATAOBJ 1
37687 _ACEOF
37688
37689 fi
37690 fi
37691
37692 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
37693 if test "$wxUSE_GTK" = 1; then
37694 if test "$WXGTK12" != 1; then
37695 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
37696 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
37697 wxUSE_DRAG_AND_DROP=no
37698 fi
37699 fi
37700
37701 if test "$wxUSE_MOTIF" = 1; then
37702 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
37703 echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
37704 wxUSE_DRAG_AND_DROP=no
37705 fi
37706
37707 if test "$wxUSE_X11" = 1; then
37708 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
37709 echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
37710 wxUSE_DRAG_AND_DROP=no
37711 fi
37712
37713 if test "$wxUSE_MGL" = 1; then
37714 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
37715 echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
37716 wxUSE_DRAG_AND_DROP=no
37717 fi
37718
37719 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
37720 cat >>confdefs.h <<\_ACEOF
37721 #define wxUSE_DRAG_AND_DROP 1
37722 _ACEOF
37723
37724 fi
37725
37726 fi
37727
37728 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
37729 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
37730 fi
37731
37732 if test "$wxUSE_SPLINES" = "yes" ; then
37733 cat >>confdefs.h <<\_ACEOF
37734 #define wxUSE_SPLINES 1
37735 _ACEOF
37736
37737 fi
37738
37739
37740 USES_CONTROLS=0
37741 if test "$wxUSE_CONTROLS" = "yes"; then
37742 USES_CONTROLS=1
37743 fi
37744
37745 if test "$wxUSE_ACCEL" = "yes"; then
37746 cat >>confdefs.h <<\_ACEOF
37747 #define wxUSE_ACCEL 1
37748 _ACEOF
37749
37750 USES_CONTROLS=1
37751 fi
37752
37753 if test "$wxUSE_BUTTON" = "yes"; then
37754 cat >>confdefs.h <<\_ACEOF
37755 #define wxUSE_BUTTON 1
37756 _ACEOF
37757
37758 USES_CONTROLS=1
37759 fi
37760
37761 if test "$wxUSE_BMPBUTTON" = "yes"; then
37762 cat >>confdefs.h <<\_ACEOF
37763 #define wxUSE_BMPBUTTON 1
37764 _ACEOF
37765
37766 USES_CONTROLS=1
37767 fi
37768
37769 if test "$wxUSE_CALCTRL" = "yes"; then
37770 cat >>confdefs.h <<\_ACEOF
37771 #define wxUSE_CALENDARCTRL 1
37772 _ACEOF
37773
37774 USES_CONTROLS=1
37775 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
37776 fi
37777
37778 if test "$wxUSE_CARET" = "yes"; then
37779 cat >>confdefs.h <<\_ACEOF
37780 #define wxUSE_CARET 1
37781 _ACEOF
37782
37783 USES_CONTROLS=1
37784 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
37785 fi
37786
37787 if test "$wxUSE_COMBOBOX" = "yes"; then
37788 cat >>confdefs.h <<\_ACEOF
37789 #define wxUSE_COMBOBOX 1
37790 _ACEOF
37791
37792 USES_CONTROLS=1
37793 fi
37794
37795 if test "$wxUSE_CHOICE" = "yes"; then
37796 cat >>confdefs.h <<\_ACEOF
37797 #define wxUSE_CHOICE 1
37798 _ACEOF
37799
37800 USES_CONTROLS=1
37801 fi
37802
37803 if test "$wxUSE_CHOICEBOOK" = "yes"; then
37804 cat >>confdefs.h <<\_ACEOF
37805 #define wxUSE_CHOICEBOOK 1
37806 _ACEOF
37807
37808 USES_CONTROLS=1
37809 fi
37810
37811 if test "$wxUSE_CHECKBOX" = "yes"; then
37812 cat >>confdefs.h <<\_ACEOF
37813 #define wxUSE_CHECKBOX 1
37814 _ACEOF
37815
37816 USES_CONTROLS=1
37817 fi
37818
37819 if test "$wxUSE_CHECKLST" = "yes"; then
37820 cat >>confdefs.h <<\_ACEOF
37821 #define wxUSE_CHECKLISTBOX 1
37822 _ACEOF
37823
37824 USES_CONTROLS=1
37825 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS checklst"
37826 fi
37827
37828 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
37829 cat >>confdefs.h <<\_ACEOF
37830 #define wxUSE_DATEPICKCTRL 1
37831 _ACEOF
37832
37833 USES_CONTROLS=1
37834 fi
37835
37836 if test "$wxUSE_DISPLAY" = "yes"; then
37837 cat >>confdefs.h <<\_ACEOF
37838 #define wxUSE_DISPLAY 1
37839 _ACEOF
37840
37841 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display"
37842 fi
37843
37844 if test "$wxUSE_GAUGE" = "yes"; then
37845 cat >>confdefs.h <<\_ACEOF
37846 #define wxUSE_GAUGE 1
37847 _ACEOF
37848
37849 USES_CONTROLS=1
37850 fi
37851
37852 if test "$wxUSE_GRID" = "yes"; then
37853 cat >>confdefs.h <<\_ACEOF
37854 #define wxUSE_GRID 1
37855 _ACEOF
37856
37857 USES_CONTROLS=1
37858 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
37859 fi
37860
37861 if test "$wxUSE_IMAGLIST" = "yes"; then
37862 cat >>confdefs.h <<\_ACEOF
37863 #define wxUSE_IMAGLIST 1
37864 _ACEOF
37865
37866 fi
37867
37868 if test "$wxUSE_LISTBOOK" = "yes"; then
37869 cat >>confdefs.h <<\_ACEOF
37870 #define wxUSE_LISTBOOK 1
37871 _ACEOF
37872
37873 USES_CONTROLS=1
37874 fi
37875
37876 if test "$wxUSE_LISTBOX" = "yes"; then
37877 cat >>confdefs.h <<\_ACEOF
37878 #define wxUSE_LISTBOX 1
37879 _ACEOF
37880
37881 USES_CONTROLS=1
37882 fi
37883
37884 if test "$wxUSE_LISTCTRL" = "yes"; then
37885 if test "$wxUSE_IMAGLIST" = "yes"; then
37886 cat >>confdefs.h <<\_ACEOF
37887 #define wxUSE_LISTCTRL 1
37888 _ACEOF
37889
37890 USES_CONTROLS=1
37891 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
37892 else
37893 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
37894 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
37895 fi
37896 fi
37897
37898 if test "$wxUSE_NOTEBOOK" = "yes"; then
37899 cat >>confdefs.h <<\_ACEOF
37900 #define wxUSE_NOTEBOOK 1
37901 _ACEOF
37902
37903 USES_CONTROLS=1
37904 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
37905 fi
37906
37907
37908 if test "$wxUSE_RADIOBOX" = "yes"; then
37909 cat >>confdefs.h <<\_ACEOF
37910 #define wxUSE_RADIOBOX 1
37911 _ACEOF
37912
37913 USES_CONTROLS=1
37914 fi
37915
37916 if test "$wxUSE_RADIOBTN" = "yes"; then
37917 cat >>confdefs.h <<\_ACEOF
37918 #define wxUSE_RADIOBTN 1
37919 _ACEOF
37920
37921 USES_CONTROLS=1
37922 fi
37923
37924 if test "$wxUSE_SASH" = "yes"; then
37925 cat >>confdefs.h <<\_ACEOF
37926 #define wxUSE_SASH 1
37927 _ACEOF
37928
37929 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
37930 fi
37931
37932 if test "$wxUSE_SCROLLBAR" = "yes"; then
37933 cat >>confdefs.h <<\_ACEOF
37934 #define wxUSE_SCROLLBAR 1
37935 _ACEOF
37936
37937 USES_CONTROLS=1
37938 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
37939 fi
37940
37941 if test "$wxUSE_SLIDER" = "yes"; then
37942 cat >>confdefs.h <<\_ACEOF
37943 #define wxUSE_SLIDER 1
37944 _ACEOF
37945
37946 USES_CONTROLS=1
37947 fi
37948
37949 if test "$wxUSE_SPINBTN" = "yes"; then
37950 cat >>confdefs.h <<\_ACEOF
37951 #define wxUSE_SPINBTN 1
37952 _ACEOF
37953
37954 USES_CONTROLS=1
37955 fi
37956
37957 if test "$wxUSE_SPINCTRL" = "yes"; then
37958 cat >>confdefs.h <<\_ACEOF
37959 #define wxUSE_SPINCTRL 1
37960 _ACEOF
37961
37962 USES_CONTROLS=1
37963 fi
37964
37965 if test "$wxUSE_SPLITTER" = "yes"; then
37966 cat >>confdefs.h <<\_ACEOF
37967 #define wxUSE_SPLITTER 1
37968 _ACEOF
37969
37970 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
37971 fi
37972
37973 if test "$wxUSE_STATBMP" = "yes"; then
37974 cat >>confdefs.h <<\_ACEOF
37975 #define wxUSE_STATBMP 1
37976 _ACEOF
37977
37978 USES_CONTROLS=1
37979 fi
37980
37981 if test "$wxUSE_STATBOX" = "yes"; then
37982 cat >>confdefs.h <<\_ACEOF
37983 #define wxUSE_STATBOX 1
37984 _ACEOF
37985
37986 USES_CONTROLS=1
37987 fi
37988
37989 if test "$wxUSE_STATTEXT" = "yes"; then
37990 cat >>confdefs.h <<\_ACEOF
37991 #define wxUSE_STATTEXT 1
37992 _ACEOF
37993
37994 USES_CONTROLS=1
37995 fi
37996
37997 if test "$wxUSE_STATLINE" = "yes"; then
37998 cat >>confdefs.h <<\_ACEOF
37999 #define wxUSE_STATLINE 1
38000 _ACEOF
38001
38002 USES_CONTROLS=1
38003 fi
38004
38005 if test "$wxUSE_STATUSBAR" = "yes"; then
38006 cat >>confdefs.h <<\_ACEOF
38007 #define wxUSE_NATIVE_STATUSBAR 1
38008 _ACEOF
38009
38010 cat >>confdefs.h <<\_ACEOF
38011 #define wxUSE_STATUSBAR 1
38012 _ACEOF
38013
38014 USES_CONTROLS=1
38015
38016 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
38017 fi
38018
38019 if test "$wxUSE_TABDIALOG" = "yes"; then
38020 cat >>confdefs.h <<\_ACEOF
38021 #define wxUSE_TAB_DIALOG 1
38022 _ACEOF
38023
38024 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS tab"
38025 fi
38026
38027 if test "$wxUSE_TEXTCTRL" = "yes"; then
38028 cat >>confdefs.h <<\_ACEOF
38029 #define wxUSE_TEXTCTRL 1
38030 _ACEOF
38031
38032 USES_CONTROLS=1
38033 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
38034 fi
38035
38036 if test "$wxUSE_TOGGLEBTN" = "yes"; then
38037 if test "$wxUSE_COCOA" = 1 ; then
38038 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
38039 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
38040 wxUSE_TOGGLEBTN=no
38041 else
38042 if test "$wxUSE_PM" = 1; then
38043 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under PM... disabled" >&5
38044 echo "$as_me: WARNING: Toggle button not yet supported under PM... disabled" >&2;}
38045 wxUSE_TOGGLEBTN=no
38046 fi
38047 fi
38048 if test "$wxUSE_UNIVERSAL" = "yes"; then
38049 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&5
38050 echo "$as_me: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&2;}
38051 wxUSE_TOGGLEBTN=no
38052 fi
38053
38054 if test "$wxUSE_TOGGLEBTN" = "yes"; then
38055 cat >>confdefs.h <<\_ACEOF
38056 #define wxUSE_TOGGLEBTN 1
38057 _ACEOF
38058
38059 USES_CONTROLS=1
38060 fi
38061 fi
38062
38063 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
38064 cat >>confdefs.h <<\_ACEOF
38065 #define wxUSE_TOOLBAR_SIMPLE 1
38066 _ACEOF
38067
38068 wxUSE_TOOLBAR="yes"
38069 USES_CONTROLS=1
38070 fi
38071
38072 if test "$wxUSE_TOOLBAR" = "yes"; then
38073 cat >>confdefs.h <<\_ACEOF
38074 #define wxUSE_TOOLBAR 1
38075 _ACEOF
38076
38077 USES_CONTROLS=1
38078
38079 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
38080 wxUSE_TOOLBAR_NATIVE="yes"
38081 fi
38082
38083 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
38084 cat >>confdefs.h <<\_ACEOF
38085 #define wxUSE_TOOLBAR_NATIVE 1
38086 _ACEOF
38087
38088 USES_CONTROLS=1
38089 fi
38090
38091 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
38092 fi
38093
38094 if test "$wxUSE_TOOLTIPS" = "yes"; then
38095 if test "$wxUSE_MOTIF" = 1; then
38096 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
38097 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
38098 else
38099 if test "$wxUSE_UNIVERSAL" = "yes"; then
38100 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
38101 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
38102 else
38103 cat >>confdefs.h <<\_ACEOF
38104 #define wxUSE_TOOLTIPS 1
38105 _ACEOF
38106
38107 fi
38108 fi
38109 fi
38110
38111 if test "$wxUSE_TREECTRL" = "yes"; then
38112 if test "$wxUSE_IMAGLIST" = "yes"; then
38113 cat >>confdefs.h <<\_ACEOF
38114 #define wxUSE_TREECTRL 1
38115 _ACEOF
38116
38117 USES_CONTROLS=1
38118 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
38119 else
38120 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
38121 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
38122 fi
38123 fi
38124
38125 if test "$wxUSE_POPUPWIN" = "yes"; then
38126 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
38127 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
38128 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
38129 else
38130 if test "$wxUSE_PM" = 1; then
38131 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
38132 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
38133 else
38134 cat >>confdefs.h <<\_ACEOF
38135 #define wxUSE_POPUPWIN 1
38136 _ACEOF
38137
38138
38139 USES_CONTROLS=1
38140 fi
38141 fi
38142 fi
38143
38144 if test "$wxUSE_DIALUP" = "yes"; then
38145 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
38146 { echo "$as_me:$LINENO: WARNING: Dialup manager not yet supported under Mac OS X... disabled" >&5
38147 echo "$as_me: WARNING: Dialup manager not yet supported under Mac OS X... disabled" >&2;}
38148 else
38149 cat >>confdefs.h <<\_ACEOF
38150 #define wxUSE_DIALUP_MANAGER 1
38151 _ACEOF
38152
38153 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
38154 fi
38155 fi
38156
38157 if test "$wxUSE_TIPWINDOW" = "yes"; then
38158 if test "$wxUSE_PM" = 1; then
38159 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
38160 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
38161 else
38162 cat >>confdefs.h <<\_ACEOF
38163 #define wxUSE_TIPWINDOW 1
38164 _ACEOF
38165
38166 fi
38167 fi
38168
38169 if test "$USES_CONTROLS" = 1; then
38170 cat >>confdefs.h <<\_ACEOF
38171 #define wxUSE_CONTROLS 1
38172 _ACEOF
38173
38174 fi
38175
38176
38177 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
38178 cat >>confdefs.h <<\_ACEOF
38179 #define wxUSE_ACCESSIBILITY 1
38180 _ACEOF
38181
38182 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
38183 fi
38184
38185 if test "$wxUSE_DRAGIMAGE" = "yes"; then
38186 cat >>confdefs.h <<\_ACEOF
38187 #define wxUSE_DRAGIMAGE 1
38188 _ACEOF
38189
38190 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
38191 fi
38192
38193 if test "$wxUSE_EXCEPTIONS" = "yes"; then
38194 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
38195 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
38196 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
38197 else
38198 cat >>confdefs.h <<\_ACEOF
38199 #define wxUSE_EXCEPTIONS 1
38200 _ACEOF
38201
38202 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
38203 fi
38204 fi
38205
38206 USE_HTML=0
38207 if test "$wxUSE_HTML" = "yes"; then
38208 cat >>confdefs.h <<\_ACEOF
38209 #define wxUSE_HTML 1
38210 _ACEOF
38211
38212 USE_HTML=1
38213 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
38214 if test "$wxUSE_MAC" = 1; then
38215 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
38216 fi
38217 fi
38218 if test "$wxUSE_WEBKIT" = "yes"; then
38219 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
38220 old_CPPFLAGS="$CPPFLAGS"
38221 CPPFLAGS="$CPPFLAGS -x objective-c++"
38222 echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
38223 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6
38224 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
38225 echo $ECHO_N "(cached) $ECHO_C" >&6
38226 else
38227 cat >conftest.$ac_ext <<_ACEOF
38228 /* confdefs.h. */
38229 _ACEOF
38230 cat confdefs.h >>conftest.$ac_ext
38231 cat >>conftest.$ac_ext <<_ACEOF
38232 /* end confdefs.h. */
38233 #include <Carbon/Carbon.h>
38234
38235 #include <WebKit/HIWebView.h>
38236 _ACEOF
38237 rm -f conftest.$ac_objext
38238 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38239 (eval $ac_compile) 2>conftest.er1
38240 ac_status=$?
38241 grep -v '^ *+' conftest.er1 >conftest.err
38242 rm -f conftest.er1
38243 cat conftest.err >&5
38244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38245 (exit $ac_status); } &&
38246 { ac_try='test -z "$ac_c_werror_flag"
38247 || test ! -s conftest.err'
38248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38249 (eval $ac_try) 2>&5
38250 ac_status=$?
38251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38252 (exit $ac_status); }; } &&
38253 { ac_try='test -s conftest.$ac_objext'
38254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38255 (eval $ac_try) 2>&5
38256 ac_status=$?
38257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38258 (exit $ac_status); }; }; then
38259 ac_cv_header_WebKit_HIWebView_h=yes
38260 else
38261 echo "$as_me: failed program was:" >&5
38262 sed 's/^/| /' conftest.$ac_ext >&5
38263
38264 ac_cv_header_WebKit_HIWebView_h=no
38265 fi
38266 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38267 fi
38268 echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
38269 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6
38270 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
38271
38272 cat >>confdefs.h <<\_ACEOF
38273 #define wxUSE_WEBKIT 1
38274 _ACEOF
38275
38276 WEBKIT_LINK="-framework WebKit"
38277
38278 else
38279
38280 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
38281 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
38282 wxUSE_WEBKIT=no
38283
38284 fi
38285
38286
38287 CPPFLAGS="$old_CPPFLAGS"
38288 elif test "$wxUSE_COCOA" = 1; then
38289 cat >>confdefs.h <<\_ACEOF
38290 #define wxUSE_WEBKIT 1
38291 _ACEOF
38292
38293 else
38294 wxUSE_WEBKIT=no
38295 fi
38296 fi
38297
38298 USE_XRC=0
38299 if test "$wxUSE_XRC" = "yes"; then
38300 if test "$wxUSE_XML" != "yes"; then
38301 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
38302 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
38303 wxUSE_XRC=no
38304 else
38305 cat >>confdefs.h <<\_ACEOF
38306 #define wxUSE_XRC 1
38307 _ACEOF
38308
38309 USE_XRC=1
38310 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
38311 fi
38312 fi
38313
38314 if test "$wxUSE_MENUS" = "yes"; then
38315 cat >>confdefs.h <<\_ACEOF
38316 #define wxUSE_MENUS 1
38317 _ACEOF
38318
38319 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
38320 fi
38321
38322 if test "$wxUSE_METAFILE" = "yes"; then
38323 cat >>confdefs.h <<\_ACEOF
38324 #define wxUSE_METAFILE 1
38325 _ACEOF
38326
38327 fi
38328
38329 if test "$wxUSE_MIMETYPE" = "yes"; then
38330 cat >>confdefs.h <<\_ACEOF
38331 #define wxUSE_MIMETYPE 1
38332 _ACEOF
38333
38334 fi
38335
38336 if test "$wxUSE_MINIFRAME" = "yes"; then
38337 cat >>confdefs.h <<\_ACEOF
38338 #define wxUSE_MINIFRAME 1
38339 _ACEOF
38340
38341 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS minifram"
38342 fi
38343
38344 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
38345 cat >>confdefs.h <<\_ACEOF
38346 #define wxUSE_SYSTEM_OPTIONS 1
38347 _ACEOF
38348
38349 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
38350 "$TOOLKIT" = "MOTIF" -o "$TOOLKIT" = "COCOA"; then
38351 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
38352 fi
38353 fi
38354
38355
38356 if test "$wxUSE_VALIDATORS" = "yes"; then
38357 cat >>confdefs.h <<\_ACEOF
38358 #define wxUSE_VALIDATORS 1
38359 _ACEOF
38360
38361 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
38362 fi
38363
38364 if test "$wxUSE_PALETTE" = "yes" ; then
38365 cat >>confdefs.h <<\_ACEOF
38366 #define wxUSE_PALETTE 1
38367 _ACEOF
38368
38369 fi
38370
38371 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
38372 LIBS=" -lunicows $LIBS"
38373 fi
38374
38375
38376 if test "$wxUSE_IMAGE" = "yes" ; then
38377 cat >>confdefs.h <<\_ACEOF
38378 #define wxUSE_IMAGE 1
38379 _ACEOF
38380
38381
38382 if test "$wxUSE_GIF" = "yes" ; then
38383 cat >>confdefs.h <<\_ACEOF
38384 #define wxUSE_GIF 1
38385 _ACEOF
38386
38387 fi
38388
38389 if test "$wxUSE_PCX" = "yes" ; then
38390 cat >>confdefs.h <<\_ACEOF
38391 #define wxUSE_PCX 1
38392 _ACEOF
38393
38394 fi
38395
38396 if test "$wxUSE_IFF" = "yes" ; then
38397 cat >>confdefs.h <<\_ACEOF
38398 #define wxUSE_IFF 1
38399 _ACEOF
38400
38401 fi
38402
38403 if test "$wxUSE_PNM" = "yes" ; then
38404 cat >>confdefs.h <<\_ACEOF
38405 #define wxUSE_PNM 1
38406 _ACEOF
38407
38408 fi
38409
38410 if test "$wxUSE_XPM" = "yes" ; then
38411 cat >>confdefs.h <<\_ACEOF
38412 #define wxUSE_XPM 1
38413 _ACEOF
38414
38415 fi
38416
38417 if test "$wxUSE_ICO_CUR" = "yes" ; then
38418 cat >>confdefs.h <<\_ACEOF
38419 #define wxUSE_ICO_CUR 1
38420 _ACEOF
38421
38422 fi
38423 fi
38424
38425
38426 if test "$wxUSE_CHOICEDLG" = "yes"; then
38427 cat >>confdefs.h <<\_ACEOF
38428 #define wxUSE_CHOICEDLG 1
38429 _ACEOF
38430
38431 fi
38432
38433 if test "$wxUSE_COLOURDLG" = "yes"; then
38434 cat >>confdefs.h <<\_ACEOF
38435 #define wxUSE_COLOURDLG 1
38436 _ACEOF
38437
38438 fi
38439
38440 if test "$wxUSE_FILEDLG" = "yes"; then
38441 cat >>confdefs.h <<\_ACEOF
38442 #define wxUSE_FILEDLG 1
38443 _ACEOF
38444
38445 fi
38446
38447 if test "$wxUSE_FINDREPLDLG" = "yes"; then
38448 cat >>confdefs.h <<\_ACEOF
38449 #define wxUSE_FINDREPLDLG 1
38450 _ACEOF
38451
38452 fi
38453
38454 if test "$wxUSE_FONTDLG" = "yes"; then
38455 cat >>confdefs.h <<\_ACEOF
38456 #define wxUSE_FONTDLG 1
38457 _ACEOF
38458
38459 fi
38460
38461 if test "$wxUSE_DIRDLG" = "yes"; then
38462 if test "$wxUSE_TREECTRL" != "yes"; then
38463 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
38464 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
38465 else
38466 cat >>confdefs.h <<\_ACEOF
38467 #define wxUSE_DIRDLG 1
38468 _ACEOF
38469
38470 fi
38471 fi
38472
38473 if test "$wxUSE_MSGDLG" = "yes"; then
38474 cat >>confdefs.h <<\_ACEOF
38475 #define wxUSE_MSGDLG 1
38476 _ACEOF
38477
38478 fi
38479
38480 if test "$wxUSE_NUMBERDLG" = "yes"; then
38481 cat >>confdefs.h <<\_ACEOF
38482 #define wxUSE_NUMBERDLG 1
38483 _ACEOF
38484
38485 fi
38486
38487 if test "$wxUSE_PROGRESSDLG" = "yes"; then
38488 if test "$wxUSE_CONSTRAINTS" != "yes"; then
38489 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
38490 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
38491 else
38492 cat >>confdefs.h <<\_ACEOF
38493 #define wxUSE_PROGRESSDLG 1
38494 _ACEOF
38495
38496 fi
38497 fi
38498
38499 if test "$wxUSE_SPLASH" = "yes"; then
38500 cat >>confdefs.h <<\_ACEOF
38501 #define wxUSE_SPLASH 1
38502 _ACEOF
38503
38504 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
38505 fi
38506
38507 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
38508 if test "$wxUSE_CONSTRAINTS" != "yes"; then
38509 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
38510 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
38511 else
38512 cat >>confdefs.h <<\_ACEOF
38513 #define wxUSE_STARTUP_TIPS 1
38514 _ACEOF
38515
38516 fi
38517 fi
38518
38519 if test "$wxUSE_TEXTDLG" = "yes"; then
38520 cat >>confdefs.h <<\_ACEOF
38521 #define wxUSE_TEXTDLG 1
38522 _ACEOF
38523
38524 fi
38525
38526 if test "$wxUSE_WIZARDDLG" = "yes"; then
38527 cat >>confdefs.h <<\_ACEOF
38528 #define wxUSE_WIZARDDLG 1
38529 _ACEOF
38530
38531 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
38532 fi
38533
38534
38535 if test "$cross_compiling" = "yes"; then
38536 OSINFO="\"$host\""
38537 else
38538 OSINFO=`uname -s -r -m`
38539 OSINFO="\"$OSINFO\""
38540 fi
38541
38542 cat >>confdefs.h <<_ACEOF
38543 #define WXWIN_OS_DESCRIPTION $OSINFO
38544 _ACEOF
38545
38546
38547
38548 if test "x$prefix" != "xNONE"; then
38549 wxPREFIX=$prefix
38550 else
38551 wxPREFIX=$ac_default_prefix
38552 fi
38553
38554 cat >>confdefs.h <<_ACEOF
38555 #define wxINSTALL_PREFIX "$wxPREFIX"
38556 _ACEOF
38557
38558
38559
38560
38561 CORE_BASE_LIBS="net base"
38562 CORE_GUI_LIBS="adv core"
38563
38564 if test "$wxUSE_XML" = "yes" ; then
38565 CORE_BASE_LIBS="xml $CORE_BASE_LIBS"
38566 fi
38567 if test "$wxUSE_ODBC" != "no" ; then
38568 CORE_BASE_LIBS="odbc $CORE_BASE_LIBS"
38569 CORE_GUI_LIBS="dbgrid $CORE_GUI_LIBS"
38570 fi
38571 if test "$wxUSE_HTML" = "yes" ; then
38572 CORE_GUI_LIBS="html $CORE_GUI_LIBS"
38573 fi
38574 if test "$wxUSE_XRC" = "yes" ; then
38575 CORE_GUI_LIBS="xrc $CORE_GUI_LIBS"
38576 fi
38577
38578 if test "$wxUSE_GUI" != "yes"; then
38579 CORE_GUI_LIBS=""
38580 fi
38581
38582
38583
38584
38585
38586
38587
38588
38589 if test "$wxUSE_MAC" = 1 ; then
38590 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
38591 if test "$USE_DARWIN" = 1; then
38592 LDFLAGS="$LDFLAGS -framework QuickTime"
38593 else
38594 LDFLAGS="$LDFLAGS -lQuickTimeLib"
38595 fi
38596 fi
38597 if test "$USE_DARWIN" = 1; then
38598 LDFLAGS="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
38599 else
38600 LDFLAGS="$LDFLAGS -lCarbonLib"
38601 fi
38602 fi
38603 if test "$wxUSE_COCOA" = 1 ; then
38604 LDFLAGS="$LDFLAGS -framework Cocoa"
38605 if test "$wxUSE_MEDIACTRL" = "yes"; then
38606 LDFLAGS="$LDFLAGS -framework QuickTime"
38607 fi
38608 fi
38609
38610
38611 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
38612
38613 have_cos=0
38614 have_floor=0
38615
38616 for ac_func in cos
38617 do
38618 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38619 echo "$as_me:$LINENO: checking for $ac_func" >&5
38620 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38621 if eval "test \"\${$as_ac_var+set}\" = set"; then
38622 echo $ECHO_N "(cached) $ECHO_C" >&6
38623 else
38624 cat >conftest.$ac_ext <<_ACEOF
38625 /* confdefs.h. */
38626 _ACEOF
38627 cat confdefs.h >>conftest.$ac_ext
38628 cat >>conftest.$ac_ext <<_ACEOF
38629 /* end confdefs.h. */
38630 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38631 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38632 #define $ac_func innocuous_$ac_func
38633
38634 /* System header to define __stub macros and hopefully few prototypes,
38635 which can conflict with char $ac_func (); below.
38636 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38637 <limits.h> exists even on freestanding compilers. */
38638
38639 #ifdef __STDC__
38640 # include <limits.h>
38641 #else
38642 # include <assert.h>
38643 #endif
38644
38645 #undef $ac_func
38646
38647 /* Override any gcc2 internal prototype to avoid an error. */
38648 #ifdef __cplusplus
38649 extern "C"
38650 {
38651 #endif
38652 /* We use char because int might match the return type of a gcc2
38653 builtin and then its argument prototype would still apply. */
38654 char $ac_func ();
38655 /* The GNU C library defines this for functions which it implements
38656 to always fail with ENOSYS. Some functions are actually named
38657 something starting with __ and the normal name is an alias. */
38658 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38659 choke me
38660 #else
38661 char (*f) () = $ac_func;
38662 #endif
38663 #ifdef __cplusplus
38664 }
38665 #endif
38666
38667 int
38668 main ()
38669 {
38670 return f != $ac_func;
38671 ;
38672 return 0;
38673 }
38674 _ACEOF
38675 rm -f conftest.$ac_objext conftest$ac_exeext
38676 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38677 (eval $ac_link) 2>conftest.er1
38678 ac_status=$?
38679 grep -v '^ *+' conftest.er1 >conftest.err
38680 rm -f conftest.er1
38681 cat conftest.err >&5
38682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38683 (exit $ac_status); } &&
38684 { ac_try='test -z "$ac_c_werror_flag"
38685 || test ! -s conftest.err'
38686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38687 (eval $ac_try) 2>&5
38688 ac_status=$?
38689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38690 (exit $ac_status); }; } &&
38691 { ac_try='test -s conftest$ac_exeext'
38692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38693 (eval $ac_try) 2>&5
38694 ac_status=$?
38695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38696 (exit $ac_status); }; }; then
38697 eval "$as_ac_var=yes"
38698 else
38699 echo "$as_me: failed program was:" >&5
38700 sed 's/^/| /' conftest.$ac_ext >&5
38701
38702 eval "$as_ac_var=no"
38703 fi
38704 rm -f conftest.err conftest.$ac_objext \
38705 conftest$ac_exeext conftest.$ac_ext
38706 fi
38707 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38708 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38709 if test `eval echo '${'$as_ac_var'}'` = yes; then
38710 cat >>confdefs.h <<_ACEOF
38711 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38712 _ACEOF
38713 have_cos=1
38714 fi
38715 done
38716
38717
38718 for ac_func in floor
38719 do
38720 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38721 echo "$as_me:$LINENO: checking for $ac_func" >&5
38722 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38723 if eval "test \"\${$as_ac_var+set}\" = set"; then
38724 echo $ECHO_N "(cached) $ECHO_C" >&6
38725 else
38726 cat >conftest.$ac_ext <<_ACEOF
38727 /* confdefs.h. */
38728 _ACEOF
38729 cat confdefs.h >>conftest.$ac_ext
38730 cat >>conftest.$ac_ext <<_ACEOF
38731 /* end confdefs.h. */
38732 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38733 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38734 #define $ac_func innocuous_$ac_func
38735
38736 /* System header to define __stub macros and hopefully few prototypes,
38737 which can conflict with char $ac_func (); below.
38738 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38739 <limits.h> exists even on freestanding compilers. */
38740
38741 #ifdef __STDC__
38742 # include <limits.h>
38743 #else
38744 # include <assert.h>
38745 #endif
38746
38747 #undef $ac_func
38748
38749 /* Override any gcc2 internal prototype to avoid an error. */
38750 #ifdef __cplusplus
38751 extern "C"
38752 {
38753 #endif
38754 /* We use char because int might match the return type of a gcc2
38755 builtin and then its argument prototype would still apply. */
38756 char $ac_func ();
38757 /* The GNU C library defines this for functions which it implements
38758 to always fail with ENOSYS. Some functions are actually named
38759 something starting with __ and the normal name is an alias. */
38760 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38761 choke me
38762 #else
38763 char (*f) () = $ac_func;
38764 #endif
38765 #ifdef __cplusplus
38766 }
38767 #endif
38768
38769 int
38770 main ()
38771 {
38772 return f != $ac_func;
38773 ;
38774 return 0;
38775 }
38776 _ACEOF
38777 rm -f conftest.$ac_objext conftest$ac_exeext
38778 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38779 (eval $ac_link) 2>conftest.er1
38780 ac_status=$?
38781 grep -v '^ *+' conftest.er1 >conftest.err
38782 rm -f conftest.er1
38783 cat conftest.err >&5
38784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38785 (exit $ac_status); } &&
38786 { ac_try='test -z "$ac_c_werror_flag"
38787 || test ! -s conftest.err'
38788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38789 (eval $ac_try) 2>&5
38790 ac_status=$?
38791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38792 (exit $ac_status); }; } &&
38793 { ac_try='test -s conftest$ac_exeext'
38794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38795 (eval $ac_try) 2>&5
38796 ac_status=$?
38797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38798 (exit $ac_status); }; }; then
38799 eval "$as_ac_var=yes"
38800 else
38801 echo "$as_me: failed program was:" >&5
38802 sed 's/^/| /' conftest.$ac_ext >&5
38803
38804 eval "$as_ac_var=no"
38805 fi
38806 rm -f conftest.err conftest.$ac_objext \
38807 conftest$ac_exeext conftest.$ac_ext
38808 fi
38809 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38810 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38811 if test `eval echo '${'$as_ac_var'}'` = yes; then
38812 cat >>confdefs.h <<_ACEOF
38813 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38814 _ACEOF
38815 have_floor=1
38816 fi
38817 done
38818
38819 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
38820 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
38821 if test "$have_cos" = 1 -a "$have_floor" = 1; then
38822 echo "$as_me:$LINENO: result: yes" >&5
38823 echo "${ECHO_T}yes" >&6
38824 else
38825 echo "$as_me:$LINENO: result: no" >&5
38826 echo "${ECHO_T}no" >&6
38827 LIBS="$LIBS -lm"
38828 # use different functions to avoid configure caching
38829 have_sin=0
38830 have_ceil=0
38831
38832 for ac_func in sin
38833 do
38834 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38835 echo "$as_me:$LINENO: checking for $ac_func" >&5
38836 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38837 if eval "test \"\${$as_ac_var+set}\" = set"; then
38838 echo $ECHO_N "(cached) $ECHO_C" >&6
38839 else
38840 cat >conftest.$ac_ext <<_ACEOF
38841 /* confdefs.h. */
38842 _ACEOF
38843 cat confdefs.h >>conftest.$ac_ext
38844 cat >>conftest.$ac_ext <<_ACEOF
38845 /* end confdefs.h. */
38846 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38847 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38848 #define $ac_func innocuous_$ac_func
38849
38850 /* System header to define __stub macros and hopefully few prototypes,
38851 which can conflict with char $ac_func (); below.
38852 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38853 <limits.h> exists even on freestanding compilers. */
38854
38855 #ifdef __STDC__
38856 # include <limits.h>
38857 #else
38858 # include <assert.h>
38859 #endif
38860
38861 #undef $ac_func
38862
38863 /* Override any gcc2 internal prototype to avoid an error. */
38864 #ifdef __cplusplus
38865 extern "C"
38866 {
38867 #endif
38868 /* We use char because int might match the return type of a gcc2
38869 builtin and then its argument prototype would still apply. */
38870 char $ac_func ();
38871 /* The GNU C library defines this for functions which it implements
38872 to always fail with ENOSYS. Some functions are actually named
38873 something starting with __ and the normal name is an alias. */
38874 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38875 choke me
38876 #else
38877 char (*f) () = $ac_func;
38878 #endif
38879 #ifdef __cplusplus
38880 }
38881 #endif
38882
38883 int
38884 main ()
38885 {
38886 return f != $ac_func;
38887 ;
38888 return 0;
38889 }
38890 _ACEOF
38891 rm -f conftest.$ac_objext conftest$ac_exeext
38892 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38893 (eval $ac_link) 2>conftest.er1
38894 ac_status=$?
38895 grep -v '^ *+' conftest.er1 >conftest.err
38896 rm -f conftest.er1
38897 cat conftest.err >&5
38898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38899 (exit $ac_status); } &&
38900 { ac_try='test -z "$ac_c_werror_flag"
38901 || test ! -s conftest.err'
38902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38903 (eval $ac_try) 2>&5
38904 ac_status=$?
38905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38906 (exit $ac_status); }; } &&
38907 { ac_try='test -s conftest$ac_exeext'
38908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38909 (eval $ac_try) 2>&5
38910 ac_status=$?
38911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38912 (exit $ac_status); }; }; then
38913 eval "$as_ac_var=yes"
38914 else
38915 echo "$as_me: failed program was:" >&5
38916 sed 's/^/| /' conftest.$ac_ext >&5
38917
38918 eval "$as_ac_var=no"
38919 fi
38920 rm -f conftest.err conftest.$ac_objext \
38921 conftest$ac_exeext conftest.$ac_ext
38922 fi
38923 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38924 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38925 if test `eval echo '${'$as_ac_var'}'` = yes; then
38926 cat >>confdefs.h <<_ACEOF
38927 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38928 _ACEOF
38929 have_sin=1
38930 fi
38931 done
38932
38933
38934 for ac_func in ceil
38935 do
38936 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38937 echo "$as_me:$LINENO: checking for $ac_func" >&5
38938 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38939 if eval "test \"\${$as_ac_var+set}\" = set"; then
38940 echo $ECHO_N "(cached) $ECHO_C" >&6
38941 else
38942 cat >conftest.$ac_ext <<_ACEOF
38943 /* confdefs.h. */
38944 _ACEOF
38945 cat confdefs.h >>conftest.$ac_ext
38946 cat >>conftest.$ac_ext <<_ACEOF
38947 /* end confdefs.h. */
38948 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38949 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38950 #define $ac_func innocuous_$ac_func
38951
38952 /* System header to define __stub macros and hopefully few prototypes,
38953 which can conflict with char $ac_func (); below.
38954 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38955 <limits.h> exists even on freestanding compilers. */
38956
38957 #ifdef __STDC__
38958 # include <limits.h>
38959 #else
38960 # include <assert.h>
38961 #endif
38962
38963 #undef $ac_func
38964
38965 /* Override any gcc2 internal prototype to avoid an error. */
38966 #ifdef __cplusplus
38967 extern "C"
38968 {
38969 #endif
38970 /* We use char because int might match the return type of a gcc2
38971 builtin and then its argument prototype would still apply. */
38972 char $ac_func ();
38973 /* The GNU C library defines this for functions which it implements
38974 to always fail with ENOSYS. Some functions are actually named
38975 something starting with __ and the normal name is an alias. */
38976 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38977 choke me
38978 #else
38979 char (*f) () = $ac_func;
38980 #endif
38981 #ifdef __cplusplus
38982 }
38983 #endif
38984
38985 int
38986 main ()
38987 {
38988 return f != $ac_func;
38989 ;
38990 return 0;
38991 }
38992 _ACEOF
38993 rm -f conftest.$ac_objext conftest$ac_exeext
38994 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38995 (eval $ac_link) 2>conftest.er1
38996 ac_status=$?
38997 grep -v '^ *+' conftest.er1 >conftest.err
38998 rm -f conftest.er1
38999 cat conftest.err >&5
39000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39001 (exit $ac_status); } &&
39002 { ac_try='test -z "$ac_c_werror_flag"
39003 || test ! -s conftest.err'
39004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39005 (eval $ac_try) 2>&5
39006 ac_status=$?
39007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39008 (exit $ac_status); }; } &&
39009 { ac_try='test -s conftest$ac_exeext'
39010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39011 (eval $ac_try) 2>&5
39012 ac_status=$?
39013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39014 (exit $ac_status); }; }; then
39015 eval "$as_ac_var=yes"
39016 else
39017 echo "$as_me: failed program was:" >&5
39018 sed 's/^/| /' conftest.$ac_ext >&5
39019
39020 eval "$as_ac_var=no"
39021 fi
39022 rm -f conftest.err conftest.$ac_objext \
39023 conftest$ac_exeext conftest.$ac_ext
39024 fi
39025 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39026 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39027 if test `eval echo '${'$as_ac_var'}'` = yes; then
39028 cat >>confdefs.h <<_ACEOF
39029 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39030 _ACEOF
39031 have_ceil=1
39032 fi
39033 done
39034
39035 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
39036 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
39037 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
39038 echo "$as_me:$LINENO: result: yes" >&5
39039 echo "${ECHO_T}yes" >&6
39040 else
39041 echo "$as_me:$LINENO: result: no" >&5
39042 echo "${ECHO_T}no" >&6
39043 # not sure we should warn the user, crash, etc.
39044 fi
39045 fi
39046
39047 if test "$wxUSE_GUI" = "yes"; then
39048
39049
39050 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs \
39051 drawing dynamic erase event exec font image \
39052 minimal propsize rotate shaped widgets render"
39053
39054 if test "$wxUSE_MONOLITHIC" != "yes"; then
39055 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
39056 fi
39057 else
39058 SAMPLES_SUBDIRS="console"
39059 fi
39060
39061
39062 INCLUDES="-I\${top_builddir}lib/wx/include/${TOOLCHAIN_FULLNAME} \
39063 -I\${top_srcdir}/include $TOOLKIT_INCLUDE"
39064
39065 if test "$GXX" = yes ; then
39066 CWARNINGS="-Wall"
39067 CXXWARNINGS="$CWARNINGS -Wno-ctor-dtor-privacy"
39068 fi
39069
39070 EXTRA_CFLAGS="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE"
39071
39072 CPPFLAGS=`echo $WXDEBUG_DEFINE $INCLUDES $CPPFLAGS`
39073 CFLAGS=`echo $CODE_GEN_FLAGS $EXTRA_CFLAGS $CFLAGS $CWARNINGS`
39074 CXXFLAGS=`echo $CODE_GEN_FLAGS $CODE_GEN_FLAGS_CXX $EXTRA_CFLAGS $CXXFLAGS $CXXWARNINGS`
39075
39076 if test "x$MWCC" = "xyes"; then
39077
39078 CC="$CC -cwd source -I-"
39079 CXX="$CXX -cwd source -I-"
39080 fi
39081
39082
39083 LIBS=`echo $LIBS`
39084 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
39085 EXTRALIBS_XML="$EXPAT_LINK"
39086 EXTRALIBS_HTML="$MSPACK_LINK"
39087 EXTRALIBS_ODBC="$ODBC_LINK"
39088 if test "$wxUSE_GUI" = "yes"; then
39089 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK`
39090 fi
39091 if test "$wxUSE_OPENGL" = "yes"; then
39092 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
39093 fi
39094
39095 LDFLAGS="$LDFLAGS $PROFILE"
39096
39097 if test "$wxUSE_GTK" = 1; then
39098 WXCONFIG_INCLUDE=
39099 else
39100 WXCONFIG_INCLUDE="$TOOLKIT_INCLUDE"
39101 fi
39102
39103 WXCONFIG_EXTRALIBS="$LIBS"
39104
39105 if test "$wxUSE_REGEX" = "builtin" ; then
39106 wxconfig_3rdparty="$wxconfig_3rdparty regex${lib_unicode_suffix}"
39107 fi
39108 if test "$wxUSE_EXPAT" = "builtin" ; then
39109 wxconfig_3rdparty="$wxconfig_3rdparty expat"
39110 fi
39111 if test "$wxUSE_ODBC" = "builtin" ; then
39112 wxconfig_3rdparty="$wxconfig_3rdparty odbc"
39113 fi
39114 if test "$wxUSE_LIBTIFF" = "builtin" ; then
39115 wxconfig_3rdparty="$wxconfig_3rdparty tiff"
39116 fi
39117 if test "$wxUSE_LIBJPEG" = "builtin" ; then
39118 wxconfig_3rdparty="$wxconfig_3rdparty jpeg"
39119 fi
39120 if test "$wxUSE_LIBPNG" = "builtin" ; then
39121 wxconfig_3rdparty="$wxconfig_3rdparty png"
39122 fi
39123 if test "$wxUSE_ZLIB" = "builtin" ; then
39124 wxconfig_3rdparty="$wxconfig_3rdparty zlib"
39125 fi
39126 if test "$wxUSE_ODBC" = "builtin" ; then
39127 wxconfig_3rdparty="$wxconfig_3rdparty odbc"
39128 fi
39129
39130 for i in $wxconfig_3rdparty ; do
39131 WXCONFIG_EXTRALIBS="$WXCONFIG_EXTRALIBS -lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
39132 done
39133
39134
39135 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
39136 WXUNIV=1
39137 else
39138 WXUNIV=0
39139 fi
39140
39141
39142
39143
39144
39145
39146
39147
39148
39149 if test $wxUSE_MONOLITHIC = "yes" ; then
39150 MONOLITHIC=1
39151 else
39152 MONOLITHIC=0
39153 fi
39154
39155 if test $wxUSE_PLUGINS = "yes" ; then
39156 USE_PLUGINS=1
39157 else
39158 USE_PLUGINS=0
39159 fi
39160
39161 if test $wxUSE_ODBC != "no" ; then
39162 USE_ODBC=1
39163 else
39164 USE_ODBC=0
39165 fi
39166
39167 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
39168 OFFICIAL_BUILD=1
39169 else
39170 OFFICIAL_BUILD=0
39171 fi
39172
39173
39174
39175
39176
39177
39178
39179
39180
39181
39182
39183
39184
39185
39186
39187
39188
39189
39190
39191
39192
39193
39194
39195 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
39196
39197
39198
39199
39200
39201
39202
39203
39204 case "$TOOLKIT" in
39205 GTK)
39206 TOOLKIT_USER="GTK+"
39207 if test "$WXGTK20" = 1; then
39208 TOOLKIT_USER="$TOOLKIT_USER 2"
39209 fi
39210 ;;
39211
39212 *)
39213 TOOLKIT_USER=$TOOLKIT_LOWERCASE
39214 ;;
39215 esac
39216
39217
39218
39219
39220 if test "x$BAKEFILE_HOST" = "x"; then
39221 BAKEFILE_HOST="${host}"
39222 fi
39223
39224 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
39225
39226 if test -n "$ac_tool_prefix"; then
39227 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
39228 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
39229 echo "$as_me:$LINENO: checking for $ac_word" >&5
39230 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39231 if test "${ac_cv_prog_RANLIB+set}" = set; then
39232 echo $ECHO_N "(cached) $ECHO_C" >&6
39233 else
39234 if test -n "$RANLIB"; then
39235 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
39236 else
39237 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
39238 for as_dir in $PATH
39239 do
39240 IFS=$as_save_IFS
39241 test -z "$as_dir" && as_dir=.
39242 for ac_exec_ext in '' $ac_executable_extensions; do
39243 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39244 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
39245 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39246 break 2
39247 fi
39248 done
39249 done
39250
39251 fi
39252 fi
39253 RANLIB=$ac_cv_prog_RANLIB
39254 if test -n "$RANLIB"; then
39255 echo "$as_me:$LINENO: result: $RANLIB" >&5
39256 echo "${ECHO_T}$RANLIB" >&6
39257 else
39258 echo "$as_me:$LINENO: result: no" >&5
39259 echo "${ECHO_T}no" >&6
39260 fi
39261
39262 fi
39263 if test -z "$ac_cv_prog_RANLIB"; then
39264 ac_ct_RANLIB=$RANLIB
39265 # Extract the first word of "ranlib", so it can be a program name with args.
39266 set dummy ranlib; ac_word=$2
39267 echo "$as_me:$LINENO: checking for $ac_word" >&5
39268 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39269 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
39270 echo $ECHO_N "(cached) $ECHO_C" >&6
39271 else
39272 if test -n "$ac_ct_RANLIB"; then
39273 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
39274 else
39275 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
39276 for as_dir in $PATH
39277 do
39278 IFS=$as_save_IFS
39279 test -z "$as_dir" && as_dir=.
39280 for ac_exec_ext in '' $ac_executable_extensions; do
39281 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39282 ac_cv_prog_ac_ct_RANLIB="ranlib"
39283 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39284 break 2
39285 fi
39286 done
39287 done
39288
39289 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
39290 fi
39291 fi
39292 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
39293 if test -n "$ac_ct_RANLIB"; then
39294 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
39295 echo "${ECHO_T}$ac_ct_RANLIB" >&6
39296 else
39297 echo "$as_me:$LINENO: result: no" >&5
39298 echo "${ECHO_T}no" >&6
39299 fi
39300
39301 RANLIB=$ac_ct_RANLIB
39302 else
39303 RANLIB="$ac_cv_prog_RANLIB"
39304 fi
39305
39306 # Find a good install program. We prefer a C program (faster),
39307 # so one script is as good as another. But avoid the broken or
39308 # incompatible versions:
39309 # SysV /etc/install, /usr/sbin/install
39310 # SunOS /usr/etc/install
39311 # IRIX /sbin/install
39312 # AIX /bin/install
39313 # AmigaOS /C/install, which installs bootblocks on floppy discs
39314 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
39315 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
39316 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
39317 # OS/2's system install, which has a completely different semantic
39318 # ./install, which can be erroneously created by make from ./install.sh.
39319 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
39320 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
39321 if test -z "$INSTALL"; then
39322 if test "${ac_cv_path_install+set}" = set; then
39323 echo $ECHO_N "(cached) $ECHO_C" >&6
39324 else
39325 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
39326 for as_dir in $PATH
39327 do
39328 IFS=$as_save_IFS
39329 test -z "$as_dir" && as_dir=.
39330 # Account for people who put trailing slashes in PATH elements.
39331 case $as_dir/ in
39332 ./ | .// | /cC/* | \
39333 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
39334 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
39335 /usr/ucb/* ) ;;
39336 *)
39337 # OSF1 and SCO ODT 3.0 have their own names for install.
39338 # Don't use installbsd from OSF since it installs stuff as root
39339 # by default.
39340 for ac_prog in ginstall scoinst install; do
39341 for ac_exec_ext in '' $ac_executable_extensions; do
39342 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
39343 if test $ac_prog = install &&
39344 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
39345 # AIX install. It has an incompatible calling convention.
39346 :
39347 elif test $ac_prog = install &&
39348 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
39349 # program-specific install script used by HP pwplus--don't use.
39350 :
39351 else
39352 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
39353 break 3
39354 fi
39355 fi
39356 done
39357 done
39358 ;;
39359 esac
39360 done
39361
39362
39363 fi
39364 if test "${ac_cv_path_install+set}" = set; then
39365 INSTALL=$ac_cv_path_install
39366 else
39367 # As a last resort, use the slow shell script. We don't cache a
39368 # path for INSTALL within a source directory, because that will
39369 # break other packages using the cache if that directory is
39370 # removed, or if the path is relative.
39371 INSTALL=$ac_install_sh
39372 fi
39373 fi
39374 echo "$as_me:$LINENO: result: $INSTALL" >&5
39375 echo "${ECHO_T}$INSTALL" >&6
39376
39377 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
39378 # It thinks the first close brace ends the variable substitution.
39379 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
39380
39381 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
39382
39383 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
39384
39385 echo "$as_me:$LINENO: checking whether ln -s works" >&5
39386 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
39387 LN_S=$as_ln_s
39388 if test "$LN_S" = "ln -s"; then
39389 echo "$as_me:$LINENO: result: yes" >&5
39390 echo "${ECHO_T}yes" >&6
39391 else
39392 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
39393 echo "${ECHO_T}no, using $LN_S" >&6
39394 fi
39395
39396
39397 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
39398 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
39399 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
39400 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
39401 echo $ECHO_N "(cached) $ECHO_C" >&6
39402 else
39403 cat >conftest.make <<\_ACEOF
39404 all:
39405 @echo 'ac_maketemp="$(MAKE)"'
39406 _ACEOF
39407 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
39408 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
39409 if test -n "$ac_maketemp"; then
39410 eval ac_cv_prog_make_${ac_make}_set=yes
39411 else
39412 eval ac_cv_prog_make_${ac_make}_set=no
39413 fi
39414 rm -f conftest.make
39415 fi
39416 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
39417 echo "$as_me:$LINENO: result: yes" >&5
39418 echo "${ECHO_T}yes" >&6
39419 SET_MAKE=
39420 else
39421 echo "$as_me:$LINENO: result: no" >&5
39422 echo "${ECHO_T}no" >&6
39423 SET_MAKE="MAKE=${MAKE-make}"
39424 fi
39425
39426
39427
39428 if test -n "$ac_tool_prefix"; then
39429 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
39430 set dummy ${ac_tool_prefix}ar; ac_word=$2
39431 echo "$as_me:$LINENO: checking for $ac_word" >&5
39432 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39433 if test "${ac_cv_prog_AR+set}" = set; then
39434 echo $ECHO_N "(cached) $ECHO_C" >&6
39435 else
39436 if test -n "$AR"; then
39437 ac_cv_prog_AR="$AR" # Let the user override the test.
39438 else
39439 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
39440 for as_dir in $PATH
39441 do
39442 IFS=$as_save_IFS
39443 test -z "$as_dir" && as_dir=.
39444 for ac_exec_ext in '' $ac_executable_extensions; do
39445 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39446 ac_cv_prog_AR="${ac_tool_prefix}ar"
39447 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39448 break 2
39449 fi
39450 done
39451 done
39452
39453 fi
39454 fi
39455 AR=$ac_cv_prog_AR
39456 if test -n "$AR"; then
39457 echo "$as_me:$LINENO: result: $AR" >&5
39458 echo "${ECHO_T}$AR" >&6
39459 else
39460 echo "$as_me:$LINENO: result: no" >&5
39461 echo "${ECHO_T}no" >&6
39462 fi
39463
39464 fi
39465 if test -z "$ac_cv_prog_AR"; then
39466 ac_ct_AR=$AR
39467 # Extract the first word of "ar", so it can be a program name with args.
39468 set dummy ar; ac_word=$2
39469 echo "$as_me:$LINENO: checking for $ac_word" >&5
39470 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39471 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
39472 echo $ECHO_N "(cached) $ECHO_C" >&6
39473 else
39474 if test -n "$ac_ct_AR"; then
39475 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
39476 else
39477 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
39478 for as_dir in $PATH
39479 do
39480 IFS=$as_save_IFS
39481 test -z "$as_dir" && as_dir=.
39482 for ac_exec_ext in '' $ac_executable_extensions; do
39483 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39484 ac_cv_prog_ac_ct_AR="ar"
39485 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39486 break 2
39487 fi
39488 done
39489 done
39490
39491 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="ar"
39492 fi
39493 fi
39494 ac_ct_AR=$ac_cv_prog_ac_ct_AR
39495 if test -n "$ac_ct_AR"; then
39496 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
39497 echo "${ECHO_T}$ac_ct_AR" >&6
39498 else
39499 echo "$as_me:$LINENO: result: no" >&5
39500 echo "${ECHO_T}no" >&6
39501 fi
39502
39503 AR=$ac_ct_AR
39504 else
39505 AR="$ac_cv_prog_AR"
39506 fi
39507
39508 if test -n "$ac_tool_prefix"; then
39509 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
39510 set dummy ${ac_tool_prefix}strip; ac_word=$2
39511 echo "$as_me:$LINENO: checking for $ac_word" >&5
39512 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39513 if test "${ac_cv_prog_STRIP+set}" = set; then
39514 echo $ECHO_N "(cached) $ECHO_C" >&6
39515 else
39516 if test -n "$STRIP"; then
39517 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
39518 else
39519 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
39520 for as_dir in $PATH
39521 do
39522 IFS=$as_save_IFS
39523 test -z "$as_dir" && as_dir=.
39524 for ac_exec_ext in '' $ac_executable_extensions; do
39525 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39526 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
39527 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39528 break 2
39529 fi
39530 done
39531 done
39532
39533 fi
39534 fi
39535 STRIP=$ac_cv_prog_STRIP
39536 if test -n "$STRIP"; then
39537 echo "$as_me:$LINENO: result: $STRIP" >&5
39538 echo "${ECHO_T}$STRIP" >&6
39539 else
39540 echo "$as_me:$LINENO: result: no" >&5
39541 echo "${ECHO_T}no" >&6
39542 fi
39543
39544 fi
39545 if test -z "$ac_cv_prog_STRIP"; then
39546 ac_ct_STRIP=$STRIP
39547 # Extract the first word of "strip", so it can be a program name with args.
39548 set dummy strip; ac_word=$2
39549 echo "$as_me:$LINENO: checking for $ac_word" >&5
39550 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39551 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
39552 echo $ECHO_N "(cached) $ECHO_C" >&6
39553 else
39554 if test -n "$ac_ct_STRIP"; then
39555 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
39556 else
39557 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
39558 for as_dir in $PATH
39559 do
39560 IFS=$as_save_IFS
39561 test -z "$as_dir" && as_dir=.
39562 for ac_exec_ext in '' $ac_executable_extensions; do
39563 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39564 ac_cv_prog_ac_ct_STRIP="strip"
39565 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39566 break 2
39567 fi
39568 done
39569 done
39570
39571 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
39572 fi
39573 fi
39574 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
39575 if test -n "$ac_ct_STRIP"; then
39576 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
39577 echo "${ECHO_T}$ac_ct_STRIP" >&6
39578 else
39579 echo "$as_me:$LINENO: result: no" >&5
39580 echo "${ECHO_T}no" >&6
39581 fi
39582
39583 STRIP=$ac_ct_STRIP
39584 else
39585 STRIP="$ac_cv_prog_STRIP"
39586 fi
39587
39588 if test -n "$ac_tool_prefix"; then
39589 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
39590 set dummy ${ac_tool_prefix}nm; ac_word=$2
39591 echo "$as_me:$LINENO: checking for $ac_word" >&5
39592 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39593 if test "${ac_cv_prog_NM+set}" = set; then
39594 echo $ECHO_N "(cached) $ECHO_C" >&6
39595 else
39596 if test -n "$NM"; then
39597 ac_cv_prog_NM="$NM" # Let the user override the test.
39598 else
39599 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
39600 for as_dir in $PATH
39601 do
39602 IFS=$as_save_IFS
39603 test -z "$as_dir" && as_dir=.
39604 for ac_exec_ext in '' $ac_executable_extensions; do
39605 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39606 ac_cv_prog_NM="${ac_tool_prefix}nm"
39607 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39608 break 2
39609 fi
39610 done
39611 done
39612
39613 fi
39614 fi
39615 NM=$ac_cv_prog_NM
39616 if test -n "$NM"; then
39617 echo "$as_me:$LINENO: result: $NM" >&5
39618 echo "${ECHO_T}$NM" >&6
39619 else
39620 echo "$as_me:$LINENO: result: no" >&5
39621 echo "${ECHO_T}no" >&6
39622 fi
39623
39624 fi
39625 if test -z "$ac_cv_prog_NM"; then
39626 ac_ct_NM=$NM
39627 # Extract the first word of "nm", so it can be a program name with args.
39628 set dummy nm; ac_word=$2
39629 echo "$as_me:$LINENO: checking for $ac_word" >&5
39630 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39631 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
39632 echo $ECHO_N "(cached) $ECHO_C" >&6
39633 else
39634 if test -n "$ac_ct_NM"; then
39635 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
39636 else
39637 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
39638 for as_dir in $PATH
39639 do
39640 IFS=$as_save_IFS
39641 test -z "$as_dir" && as_dir=.
39642 for ac_exec_ext in '' $ac_executable_extensions; do
39643 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39644 ac_cv_prog_ac_ct_NM="nm"
39645 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39646 break 2
39647 fi
39648 done
39649 done
39650
39651 test -z "$ac_cv_prog_ac_ct_NM" && ac_cv_prog_ac_ct_NM=":"
39652 fi
39653 fi
39654 ac_ct_NM=$ac_cv_prog_ac_ct_NM
39655 if test -n "$ac_ct_NM"; then
39656 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
39657 echo "${ECHO_T}$ac_ct_NM" >&6
39658 else
39659 echo "$as_me:$LINENO: result: no" >&5
39660 echo "${ECHO_T}no" >&6
39661 fi
39662
39663 NM=$ac_ct_NM
39664 else
39665 NM="$ac_cv_prog_NM"
39666 fi
39667
39668
39669 case ${BAKEFILE_HOST} in
39670 *-hp-hpux* )
39671 INSTALL_DIR="mkdir -p"
39672 ;;
39673 *) INSTALL_DIR="$INSTALL -d"
39674 ;;
39675 esac
39676
39677
39678 LDFLAGS_GUI=
39679 case ${BAKEFILE_HOST} in
39680 *-*-cygwin* | *-*-mingw32* )
39681 LDFLAGS_GUI="-mwindows"
39682 esac
39683
39684
39685 fi
39686
39687 echo "$as_me:$LINENO: checking if make is GNU make" >&5
39688 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
39689 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
39690 echo $ECHO_N "(cached) $ECHO_C" >&6
39691 else
39692
39693 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
39694 egrep -s GNU > /dev/null); then
39695 bakefile_cv_prog_makeisgnu="yes"
39696 else
39697 bakefile_cv_prog_makeisgnu="no"
39698 fi
39699
39700 fi
39701 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
39702 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
39703
39704 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
39705 IF_GNU_MAKE=""
39706 else
39707 IF_GNU_MAKE="#"
39708 fi
39709
39710
39711
39712 PLATFORM_UNIX=0
39713 PLATFORM_WIN32=0
39714 PLATFORM_MSDOS=0
39715 PLATFORM_MAC=0
39716 PLATFORM_MACOS=0
39717 PLATFORM_MACOSX=0
39718 PLATFORM_OS2=0
39719 PLATFORM_BEOS=0
39720
39721 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
39722 case "${BAKEFILE_HOST}" in
39723 *-*-cygwin* | *-*-mingw32* )
39724 PLATFORM_WIN32=1
39725 ;;
39726 *-pc-msdosdjgpp )
39727 PLATFORM_MSDOS=1
39728 ;;
39729 *-pc-os2_emx | *-pc-os2-emx )
39730 PLATFORM_OS2=1
39731 ;;
39732 powerpc-*-darwin* )
39733 PLATFORM_MAC=1
39734 PLATFORM_MACOSX=1
39735 ;;
39736 *-*-beos* )
39737 PLATFORM_BEOS=1
39738 ;;
39739 powerpc-apple-macos* )
39740 PLATFORM_MAC=1
39741 PLATFORM_MACOS=1
39742 ;;
39743 * )
39744 PLATFORM_UNIX=1
39745 ;;
39746 esac
39747 else
39748 case "$BAKEFILE_FORCE_PLATFORM" in
39749 win32 )
39750 PLATFORM_WIN32=1
39751 ;;
39752 msdos )
39753 PLATFORM_MSDOS=1
39754 ;;
39755 os2 )
39756 PLATFORM_OS2=1
39757 ;;
39758 darwin )
39759 PLATFORM_MAC=1
39760 PLATFORM_MACOSX=1
39761 ;;
39762 unix )
39763 PLATFORM_UNIX=1
39764 ;;
39765 beos )
39766 PLATFORM_BEOS=1
39767 ;;
39768 * )
39769 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
39770 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
39771 { (exit 1); exit 1; }; }
39772 ;;
39773 esac
39774 fi
39775
39776
39777
39778
39779
39780
39781
39782
39783
39784
39785
39786 # Check whether --enable-omf or --disable-omf was given.
39787 if test "${enable_omf+set}" = set; then
39788 enableval="$enable_omf"
39789 bk_os2_use_omf="$enableval"
39790 fi;
39791
39792 case "${BAKEFILE_HOST}" in
39793 *-*-darwin* )
39794 CFLAGS="$CFLAGS -fno-common"
39795 CXXFLAGS="$CXXFLAGS -fno-common"
39796 ;;
39797
39798 *-pc-os2_emx | *-pc-os2-emx )
39799 if test "x$bk_os2_use_omf" = "xyes" ; then
39800 AR=emxomfar
39801 RANLIB=:
39802 LDFLAGS="-Zomf $LDFLAGS"
39803 CFLAGS="-Zomf $CFLAGS"
39804 CXXFLAGS="-Zomf $CXXFLAGS"
39805 OS2_LIBEXT="lib"
39806 else
39807 OS2_LIBEXT="a"
39808 fi
39809 ;;
39810
39811 i*86-*-beos* )
39812 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
39813 ;;
39814 esac
39815
39816
39817 SO_SUFFIX="so"
39818 SO_SUFFIX_MODULE="so"
39819 EXEEXT=""
39820 LIBPREFIX="lib"
39821 LIBEXT=".a"
39822 DLLPREFIX="lib"
39823 DLLPREFIX_MODULE=""
39824 DLLIMP_SUFFIX=""
39825
39826 case "${BAKEFILE_HOST}" in
39827 *-hp-hpux* )
39828 SO_SUFFIX="sl"
39829 SO_SUFFIX_MODULE="sl"
39830 ;;
39831 *-*-aix* )
39832 SO_SUFFIX="a"
39833 SO_SUFFIX_MODULE="a"
39834 ;;
39835 *-*-cygwin* | *-*-mingw32* )
39836 SO_SUFFIX="dll"
39837 SO_SUFFIX_MODULE="dll"
39838 DLLIMP_SUFFIX="dll.a"
39839 EXEEXT=".exe"
39840 DLLPREFIX=""
39841 ;;
39842 *-pc-msdosdjgpp )
39843 EXEEXT=".exe"
39844 DLLPREFIX=""
39845 ;;
39846 *-pc-os2_emx | *-pc-os2-emx )
39847 SO_SUFFIX="dll"
39848 SO_SUFFIX_MODULE="dll"
39849 DLLIMP_SUFFIX=$OS2_LIBEXT
39850 EXEEXT=".exe"
39851 DLLPREFIX=""
39852 LIBPREFIX=""
39853 LIBEXT=".$OS2_LIBEXT"
39854 ;;
39855 powerpc-*-darwin* )
39856 SO_SUFFIX="dylib"
39857 SO_SUFFIX_MODULE="bundle"
39858 ;;
39859 esac
39860
39861 if test "x$DLLIMP_SUFFIX" = "x" ; then
39862 DLLIMP_SUFFIX="$SO_SUFFIX"
39863 fi
39864
39865
39866
39867
39868
39869
39870
39871
39872
39873
39874
39875 PIC_FLAG=""
39876 if test "x$GCC" = "xyes"; then
39877 PIC_FLAG="-fPIC"
39878 fi
39879
39880 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
39881 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
39882
39883 case "${BAKEFILE_HOST}" in
39884 *-hp-hpux* )
39885 if test "x$GCC" != "xyes"; then
39886 LDFLAGS="$LDFLAGS -L/usr/lib"
39887
39888 SHARED_LD_CC="${CC} -b -o"
39889 SHARED_LD_CXX="${CXX} -b -o"
39890 PIC_FLAG="+Z"
39891 fi
39892 ;;
39893
39894 *-*-linux* )
39895 if test "x$GCC" != "xyes"; then
39896 echo "$as_me:$LINENO: checking for Intel compiler" >&5
39897 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
39898 if test "${bakefile_cv_prog_icc+set}" = set; then
39899 echo $ECHO_N "(cached) $ECHO_C" >&6
39900 else
39901
39902 cat >conftest.$ac_ext <<_ACEOF
39903 /* confdefs.h. */
39904 _ACEOF
39905 cat confdefs.h >>conftest.$ac_ext
39906 cat >>conftest.$ac_ext <<_ACEOF
39907 /* end confdefs.h. */
39908
39909 int
39910 main ()
39911 {
39912
39913 #ifndef __INTEL_COMPILER
39914 #error Not icc
39915 #endif
39916
39917 ;
39918 return 0;
39919 }
39920 _ACEOF
39921 rm -f conftest.$ac_objext
39922 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39923 (eval $ac_compile) 2>conftest.er1
39924 ac_status=$?
39925 grep -v '^ *+' conftest.er1 >conftest.err
39926 rm -f conftest.er1
39927 cat conftest.err >&5
39928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39929 (exit $ac_status); } &&
39930 { ac_try='test -z "$ac_c_werror_flag"
39931 || test ! -s conftest.err'
39932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39933 (eval $ac_try) 2>&5
39934 ac_status=$?
39935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39936 (exit $ac_status); }; } &&
39937 { ac_try='test -s conftest.$ac_objext'
39938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39939 (eval $ac_try) 2>&5
39940 ac_status=$?
39941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39942 (exit $ac_status); }; }; then
39943 bakefile_cv_prog_icc=yes
39944 else
39945 echo "$as_me: failed program was:" >&5
39946 sed 's/^/| /' conftest.$ac_ext >&5
39947
39948 bakefile_cv_prog_icc=no
39949
39950 fi
39951 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39952
39953 fi
39954 echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
39955 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
39956 if test "$bakefile_cv_prog_icc" = "yes"; then
39957 PIC_FLAG="-KPIC"
39958 fi
39959 fi
39960 ;;
39961
39962 *-*-solaris2* )
39963 if test "x$GCC" != xyes ; then
39964 SHARED_LD_CC="${CC} -G -o"
39965 SHARED_LD_CXX="${CXX} -G -o"
39966 PIC_FLAG="-KPIC"
39967 fi
39968 ;;
39969
39970 *-*-darwin* )
39971
39972 echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
39973 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6
39974 if test "${wx_cv_gcc31+set}" = set; then
39975 echo $ECHO_N "(cached) $ECHO_C" >&6
39976 else
39977
39978 cat >conftest.$ac_ext <<_ACEOF
39979 /* confdefs.h. */
39980 _ACEOF
39981 cat confdefs.h >>conftest.$ac_ext
39982 cat >>conftest.$ac_ext <<_ACEOF
39983 /* end confdefs.h. */
39984
39985 int
39986 main ()
39987 {
39988
39989 #if (__GNUC__ < 3) || \
39990 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
39991 #error old gcc
39992 #endif
39993
39994 ;
39995 return 0;
39996 }
39997 _ACEOF
39998 rm -f conftest.$ac_objext
39999 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40000 (eval $ac_compile) 2>conftest.er1
40001 ac_status=$?
40002 grep -v '^ *+' conftest.er1 >conftest.err
40003 rm -f conftest.er1
40004 cat conftest.err >&5
40005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40006 (exit $ac_status); } &&
40007 { ac_try='test -z "$ac_c_werror_flag"
40008 || test ! -s conftest.err'
40009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40010 (eval $ac_try) 2>&5
40011 ac_status=$?
40012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40013 (exit $ac_status); }; } &&
40014 { ac_try='test -s conftest.$ac_objext'
40015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40016 (eval $ac_try) 2>&5
40017 ac_status=$?
40018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40019 (exit $ac_status); }; }; then
40020
40021 wx_cv_gcc31=yes
40022
40023 else
40024 echo "$as_me: failed program was:" >&5
40025 sed 's/^/| /' conftest.$ac_ext >&5
40026
40027
40028 wx_cv_gcc31=no
40029
40030
40031 fi
40032 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40033
40034 fi
40035 echo "$as_me:$LINENO: result: $wx_cv_gcc31" >&5
40036 echo "${ECHO_T}$wx_cv_gcc31" >&6
40037 if test "$wx_cv_gcc31" = "no"; then
40038
40039 D='$'
40040 cat <<EOF >shared-ld-sh
40041 #!/bin/sh
40042 #-----------------------------------------------------------------------------
40043 #-- Name: distrib/mac/shared-ld-sh
40044 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
40045 #-- Author: Gilles Depeyrot
40046 #-- Copyright: (c) 2002 Gilles Depeyrot
40047 #-- Licence: any use permitted
40048 #-----------------------------------------------------------------------------
40049
40050 verbose=0
40051 args=""
40052 objects=""
40053 linking_flag="-dynamiclib"
40054
40055 while test ${D}# -gt 0; do
40056 case ${D}1 in
40057
40058 -v)
40059 verbose=1
40060 ;;
40061
40062 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
40063 # collect these options and values
40064 args="${D}{args} ${D}1 ${D}2"
40065 shift
40066 ;;
40067
40068 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
40069 # collect these options
40070 args="${D}{args} ${D}1"
40071 ;;
40072
40073 -dynamiclib|-bundle)
40074 linking_flag="${D}1"
40075 ;;
40076
40077 -*)
40078 echo "shared-ld: unhandled option '${D}1'"
40079 exit 1
40080 ;;
40081
40082 *.o | *.a | *.dylib)
40083 # collect object files
40084 objects="${D}{objects} ${D}1"
40085 ;;
40086
40087 *)
40088 echo "shared-ld: unhandled argument '${D}1'"
40089 exit 1
40090 ;;
40091
40092 esac
40093 shift
40094 done
40095
40096 #
40097 # Link one module containing all the others
40098 #
40099 if test ${D}{verbose} = 1; then
40100 echo "c++ -r -keep_private_externs -nostdlib ${D}{objects} -o master.${D}${D}.o"
40101 fi
40102 c++ -r -keep_private_externs -nostdlib ${D}{objects} -o master.${D}${D}.o
40103 status=${D}?
40104 if test ${D}{status} != 0; then
40105 exit ${D}{status}
40106 fi
40107
40108 #
40109 # Link the shared library from the single module created
40110 #
40111 if test ${D}{verbose} = 1; then
40112 echo "cc ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
40113 fi
40114 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
40115 status=${D}?
40116 if test ${D}{status} != 0; then
40117 exit ${D}{status}
40118 fi
40119
40120 #
40121 # Remove intermediate module
40122 #
40123 rm -f master.${D}${D}.o
40124
40125 exit 0
40126 EOF
40127
40128 chmod +x shared-ld-sh
40129
40130 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
40131 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
40132 SHARED_LD_CXX="$SHARED_LD_CC"
40133 SHARED_LD_MODULE_CXX="$SHARED_LD_MODULE_CC"
40134 else
40135 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
40136 SHARED_LD_MODULE_CC="\${CC} -bundle -single_module -headerpad_max_install_names -o"
40137 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
40138 SHARED_LD_MODULE_CXX="\${CXX} -bundle -single_module -headerpad_max_install_names -o"
40139 fi
40140
40141 PIC_FLAG="-dynamic -fPIC"
40142 ;;
40143
40144 *-*-aix* )
40145 if test "x$GCC" != "xyes"; then
40146 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
40147 set dummy makeC++SharedLib; ac_word=$2
40148 echo "$as_me:$LINENO: checking for $ac_word" >&5
40149 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40150 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
40151 echo $ECHO_N "(cached) $ECHO_C" >&6
40152 else
40153 if test -n "$AIX_CXX_LD"; then
40154 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
40155 else
40156 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
40157 for as_dir in $PATH
40158 do
40159 IFS=$as_save_IFS
40160 test -z "$as_dir" && as_dir=.
40161 for ac_exec_ext in '' $ac_executable_extensions; do
40162 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40163 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
40164 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40165 break 2
40166 fi
40167 done
40168 done
40169
40170 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
40171 fi
40172 fi
40173 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
40174 if test -n "$AIX_CXX_LD"; then
40175 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
40176 echo "${ECHO_T}$AIX_CXX_LD" >&6
40177 else
40178 echo "$as_me:$LINENO: result: no" >&5
40179 echo "${ECHO_T}no" >&6
40180 fi
40181
40182 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
40183 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
40184 fi
40185 ;;
40186
40187 *-*-beos* )
40188 SHARED_LD_CC="${LD} -nostart -o"
40189 SHARED_LD_CXX="${LD} -nostart -o"
40190 ;;
40191
40192 *-*-irix* )
40193 if test "x$GCC" != "xyes"; then
40194 PIC_FLAG="-KPIC"
40195 fi
40196 ;;
40197
40198 *-*-cygwin* | *-*-mingw32* )
40199 PIC_FLAG=""
40200 SHARED_LD_CC="\$(CC) -shared -o"
40201 SHARED_LD_CXX="\$(CXX) -shared -o"
40202 ;;
40203
40204 *-pc-os2_emx | *-pc-os2-emx )
40205 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
40206 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
40207 PIC_FLAG=""
40208
40209 D='$'
40210 cat <<EOF >dllar.sh
40211 #!/bin/sh
40212 #
40213 # dllar - a tool to build both a .dll and an .a file
40214 # from a set of object (.o) files for EMX/OS2.
40215 #
40216 # Written by Andrew Zabolotny, bit@freya.etu.ru
40217 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
40218 #
40219 # This script will accept a set of files on the command line.
40220 # All the public symbols from the .o files will be exported into
40221 # a .DEF file, then linker will be run (through gcc) against them to
40222 # build a shared library consisting of all given .o files. All libraries
40223 # (.a) will be first decompressed into component .o files then act as
40224 # described above. You can optionally give a description (-d "description")
40225 # which will be put into .DLL. To see the list of accepted options (as well
40226 # as command-line format) simply run this program without options. The .DLL
40227 # is built to be imported by name (there is no guarantee that new versions
40228 # of the library you build will have same ordinals for same symbols).
40229 #
40230 # dllar is free software; you can redistribute it and/or modify
40231 # it under the terms of the GNU General Public License as published by
40232 # the Free Software Foundation; either version 2, or (at your option)
40233 # any later version.
40234 #
40235 # dllar is distributed in the hope that it will be useful,
40236 # but WITHOUT ANY WARRANTY; without even the implied warranty of
40237 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
40238 # GNU General Public License for more details.
40239 #
40240 # You should have received a copy of the GNU General Public License
40241 # along with dllar; see the file COPYING. If not, write to the Free
40242 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
40243 # 02111-1307, USA.
40244
40245 # To successfuly run this program you will need:
40246 # - Current drive should have LFN support (HPFS, ext2, network, etc)
40247 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
40248 # - gcc
40249 # (used to build the .dll)
40250 # - emxexp
40251 # (used to create .def file from .o files)
40252 # - emximp
40253 # (used to create .a file from .def file)
40254 # - GNU text utilites (cat, sort, uniq)
40255 # used to process emxexp output
40256 # - GNU file utilities (mv, rm)
40257 # - GNU sed
40258 # - lxlite (optional, see flag below)
40259 # (used for general .dll cleanup)
40260 #
40261
40262 flag_USE_LXLITE=1;
40263
40264 #
40265 # helper functions
40266 # basnam, variant of basename, which does _not_ remove the path, _iff_
40267 # second argument (suffix to remove) is given
40268 basnam(){
40269 case ${D}# in
40270 1)
40271 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
40272 ;;
40273 2)
40274 echo ${D}1 | sed 's/'${D}2'${D}//'
40275 ;;
40276 *)
40277 echo "error in basnam ${D}*"
40278 exit 8
40279 ;;
40280 esac
40281 }
40282
40283 # Cleanup temporary files and output
40284 CleanUp() {
40285 cd ${D}curDir
40286 for i in ${D}inputFiles ; do
40287 case ${D}i in
40288 *!)
40289 rm -rf \`basnam ${D}i !\`
40290 ;;
40291 *)
40292 ;;
40293 esac
40294 done
40295
40296 # Kill result in case of failure as there is just to many stupid make/nmake
40297 # things out there which doesn't do this.
40298 if [ ${D}# -eq 0 ]; then
40299 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
40300 fi
40301 }
40302
40303 # Print usage and exit script with rc=1.
40304 PrintHelp() {
40305 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
40306 echo ' [-name-mangler-script script.sh]'
40307 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
40308 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
40309 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
40310 echo ' [*.o] [*.a]'
40311 echo '*> "output_file" should have no extension.'
40312 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
40313 echo ' The import library name is derived from this and is set to "name".a,'
40314 echo ' unless overridden by -import'
40315 echo '*> "importlib_name" should have no extension.'
40316 echo ' If it has the .o, or .a extension, it is automatically removed.'
40317 echo ' This name is used as the import library name and may be longer and'
40318 echo ' more descriptive than the DLL name which has to follow the old '
40319 echo ' 8.3 convention of FAT.'
40320 echo '*> "script.sh may be given to override the output_file name by a'
40321 echo ' different name. It is mainly useful if the regular make process'
40322 echo ' of some package does not take into account OS/2 restriction of'
40323 echo ' DLL name lengths. It takes the importlib name as input and is'
40324 echo ' supposed to procude a shorter name as output. The script should'
40325 echo ' expect to get importlib_name without extension and should produce'
40326 echo ' a (max.) 8 letter name without extension.'
40327 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
40328 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
40329 echo ' These flags will be put at the start of GCC command line.'
40330 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
40331 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
40332 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
40333 echo ' If the last character of a symbol is "*", all symbols beginning'
40334 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
40335 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
40336 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
40337 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
40338 echo ' C runtime DLLs.'
40339 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
40340 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
40341 echo ' unchanged to GCC at the end of command line.'
40342 echo '*> If you create a DLL from a library and you do not specify -o,'
40343 echo ' the basename for DLL and import library will be set to library name,'
40344 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
40345 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
40346 echo ' library will be renamed into gcc_s.a.'
40347 echo '--------'
40348 echo 'Example:'
40349 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
40350 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
40351 CleanUp
40352 exit 1
40353 }
40354
40355 # Execute a command.
40356 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
40357 # @Uses Whatever CleanUp() uses.
40358 doCommand() {
40359 echo "${D}*"
40360 eval ${D}*
40361 rcCmd=${D}?
40362
40363 if [ ${D}rcCmd -ne 0 ]; then
40364 echo "command failed, exit code="${D}rcCmd
40365 CleanUp
40366 exit ${D}rcCmd
40367 fi
40368 }
40369
40370 # main routine
40371 # setup globals
40372 cmdLine=${D}*
40373 outFile=""
40374 outimpFile=""
40375 inputFiles=""
40376 renameScript=""
40377 description=""
40378 CC=gcc.exe
40379 CFLAGS="-s -Zcrtdll"
40380 EXTRA_CFLAGS=""
40381 EXPORT_BY_ORDINALS=0
40382 exclude_symbols=""
40383 library_flags=""
40384 curDir=\`pwd\`
40385 curDirS=curDir
40386 case ${D}curDirS in
40387 */)
40388 ;;
40389 *)
40390 curDirS=${D}{curDirS}"/"
40391 ;;
40392 esac
40393 # Parse commandline
40394 libsToLink=0
40395 omfLinking=0
40396 while [ ${D}1 ]; do
40397 case ${D}1 in
40398 -ord*)
40399 EXPORT_BY_ORDINALS=1;
40400 ;;
40401 -o*)
40402 shift
40403 outFile=${D}1
40404 ;;
40405 -i*)
40406 shift
40407 outimpFile=${D}1
40408 ;;
40409 -name-mangler-script)
40410 shift
40411 renameScript=${D}1
40412 ;;
40413 -d*)
40414 shift
40415 description=${D}1
40416 ;;
40417 -f*)
40418 shift
40419 CFLAGS=${D}1
40420 ;;
40421 -c*)
40422 shift
40423 CC=${D}1
40424 ;;
40425 -h*)
40426 PrintHelp
40427 ;;
40428 -ex*)
40429 shift
40430 exclude_symbols=${D}{exclude_symbols}${D}1" "
40431 ;;
40432 -libf*)
40433 shift
40434 library_flags=${D}{library_flags}${D}1" "
40435 ;;
40436 -nocrt*)
40437 CFLAGS="-s"
40438 ;;
40439 -nolxl*)
40440 flag_USE_LXLITE=0
40441 ;;
40442 -* | /*)
40443 case ${D}1 in
40444 -L* | -l*)
40445 libsToLink=1
40446 ;;
40447 -Zomf)
40448 omfLinking=1
40449 ;;
40450 *)
40451 ;;
40452 esac
40453 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
40454 ;;
40455 *.dll)
40456 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
40457 if [ ${D}omfLinking -eq 1 ]; then
40458 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
40459 else
40460 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
40461 fi
40462 ;;
40463 *)
40464 found=0;
40465 if [ ${D}libsToLink -ne 0 ]; then
40466 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
40467 else
40468 for file in ${D}1 ; do
40469 if [ -f ${D}file ]; then
40470 inputFiles="${D}{inputFiles} ${D}file"
40471 found=1
40472 fi
40473 done
40474 if [ ${D}found -eq 0 ]; then
40475 echo "ERROR: No file(s) found: "${D}1
40476 exit 8
40477 fi
40478 fi
40479 ;;
40480 esac
40481 shift
40482 done # iterate cmdline words
40483
40484 #
40485 if [ -z "${D}inputFiles" ]; then
40486 echo "dllar: no input files"
40487 PrintHelp
40488 fi
40489
40490 # Now extract all .o files from .a files
40491 newInputFiles=""
40492 for file in ${D}inputFiles ; do
40493 case ${D}file in
40494 *.a | *.lib)
40495 case ${D}file in
40496 *.a)
40497 suffix=".a"
40498 AR="ar"
40499 ;;
40500 *.lib)
40501 suffix=".lib"
40502 AR="emxomfar"
40503 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
40504 ;;
40505 *)
40506 ;;
40507 esac
40508 dirname=\`basnam ${D}file ${D}suffix\`"_%"
40509 mkdir ${D}dirname
40510 if [ ${D}? -ne 0 ]; then
40511 echo "Failed to create subdirectory ./${D}dirname"
40512 CleanUp
40513 exit 8;
40514 fi
40515 # Append '!' to indicate archive
40516 newInputFiles="${D}newInputFiles ${D}{dirname}!"
40517 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
40518 cd ${D}curDir
40519 found=0;
40520 for subfile in ${D}dirname/*.o* ; do
40521 if [ -f ${D}subfile ]; then
40522 found=1
40523 if [ -s ${D}subfile ]; then
40524 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
40525 newInputFiles="${D}newInputFiles ${D}subfile"
40526 fi
40527 fi
40528 done
40529 if [ ${D}found -eq 0 ]; then
40530 echo "WARNING: there are no files in archive \\'${D}file\\'"
40531 fi
40532 ;;
40533 *)
40534 newInputFiles="${D}{newInputFiles} ${D}file"
40535 ;;
40536 esac
40537 done
40538 inputFiles="${D}newInputFiles"
40539
40540 # Output filename(s).
40541 do_backup=0;
40542 if [ -z ${D}outFile ]; then
40543 do_backup=1;
40544 set outFile ${D}inputFiles; outFile=${D}2
40545 fi
40546
40547 # If it is an archive, remove the '!' and the '_%' suffixes
40548 case ${D}outFile in
40549 *_%!)
40550 outFile=\`basnam ${D}outFile _%!\`
40551 ;;
40552 *)
40553 ;;
40554 esac
40555 case ${D}outFile in
40556 *.dll)
40557 outFile=\`basnam ${D}outFile .dll\`
40558 ;;
40559 *.DLL)
40560 outFile=\`basnam ${D}outFile .DLL\`
40561 ;;
40562 *.o)
40563 outFile=\`basnam ${D}outFile .o\`
40564 ;;
40565 *.obj)
40566 outFile=\`basnam ${D}outFile .obj\`
40567 ;;
40568 *.a)
40569 outFile=\`basnam ${D}outFile .a\`
40570 ;;
40571 *.lib)
40572 outFile=\`basnam ${D}outFile .lib\`
40573 ;;
40574 *)
40575 ;;
40576 esac
40577 case ${D}outimpFile in
40578 *.a)
40579 outimpFile=\`basnam ${D}outimpFile .a\`
40580 ;;
40581 *.lib)
40582 outimpFile=\`basnam ${D}outimpFile .lib\`
40583 ;;
40584 *)
40585 ;;
40586 esac
40587 if [ -z ${D}outimpFile ]; then
40588 outimpFile=${D}outFile
40589 fi
40590 defFile="${D}{outFile}.def"
40591 arcFile="${D}{outimpFile}.a"
40592 arcFile2="${D}{outimpFile}.lib"
40593
40594 #create ${D}dllFile as something matching 8.3 restrictions,
40595 if [ -z ${D}renameScript ] ; then
40596 dllFile="${D}outFile"
40597 else
40598 dllFile=\`${D}renameScript ${D}outimpFile\`
40599 fi
40600
40601 if [ ${D}do_backup -ne 0 ] ; then
40602 if [ -f ${D}arcFile ] ; then
40603 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
40604 fi
40605 if [ -f ${D}arcFile2 ] ; then
40606 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
40607 fi
40608 fi
40609
40610 # Extract public symbols from all the object files.
40611 tmpdefFile=${D}{defFile}_%
40612 rm -f ${D}tmpdefFile
40613 for file in ${D}inputFiles ; do
40614 case ${D}file in
40615 *!)
40616 ;;
40617 *)
40618 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
40619 ;;
40620 esac
40621 done
40622
40623 # Create the def file.
40624 rm -f ${D}defFile
40625 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
40626 dllFile="${D}{dllFile}.dll"
40627 if [ ! -z ${D}description ]; then
40628 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
40629 fi
40630 echo "EXPORTS" >> ${D}defFile
40631
40632 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
40633 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
40634
40635 # Checks if the export is ok or not.
40636 for word in ${D}exclude_symbols; do
40637 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
40638 mv ${D}{tmpdefFile}% ${D}tmpdefFile
40639 done
40640
40641
40642 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
40643 sed "=" < ${D}tmpdefFile | \\
40644 sed '
40645 N
40646 : loop
40647 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
40648 t loop
40649 ' > ${D}{tmpdefFile}%
40650 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
40651 else
40652 rm -f ${D}{tmpdefFile}%
40653 fi
40654 cat ${D}tmpdefFile >> ${D}defFile
40655 rm -f ${D}tmpdefFile
40656
40657 # Do linking, create implib, and apply lxlite.
40658 gccCmdl="";
40659 for file in ${D}inputFiles ; do
40660 case ${D}file in
40661 *!)
40662 ;;
40663 *)
40664 gccCmdl="${D}gccCmdl ${D}file"
40665 ;;
40666 esac
40667 done
40668 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
40669 touch "${D}{outFile}.dll"
40670
40671 doCommand "emximp -o ${D}arcFile ${D}defFile"
40672 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
40673 add_flags="";
40674 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
40675 add_flags="-ynd"
40676 fi
40677 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
40678 fi
40679 doCommand "emxomf -s -l ${D}arcFile"
40680
40681 # Successful exit.
40682 CleanUp 1
40683 exit 0
40684 EOF
40685
40686 chmod +x dllar.sh
40687 ;;
40688
40689 powerpc-apple-macos* | \
40690 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
40691 *-*-sunos4* | \
40692 *-*-osf* | \
40693 *-*-dgux5* | \
40694 *-*-sysv5* )
40695 ;;
40696
40697 *)
40698 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
40699 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
40700 { (exit 1); exit 1; }; }
40701 esac
40702
40703 if test "x$PIC_FLAG" != "x" ; then
40704 PIC_FLAG="$PIC_FLAG -DPIC"
40705 fi
40706
40707 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
40708 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
40709 fi
40710 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
40711 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
40712 fi
40713
40714
40715
40716
40717
40718
40719
40720
40721 USE_SOVERSION=0
40722 USE_SOVERLINUX=0
40723 USE_SOVERSOLARIS=0
40724 USE_SOSYMLINKS=0
40725 USE_MACVERSION=0
40726 SONAME_FLAG=
40727
40728 case "${BAKEFILE_HOST}" in
40729 *-*-linux* | *-*-freebsd* )
40730 SONAME_FLAG="-Wl,-soname,"
40731 USE_SOVERSION=1
40732 USE_SOVERLINUX=1
40733 USE_SOSYMLINKS=1
40734 ;;
40735
40736 *-*-solaris2* )
40737 SONAME_FLAG="-h "
40738 USE_SOVERSION=1
40739 USE_SOVERSOLARIS=1
40740 USE_SOSYMLINKS=1
40741 ;;
40742
40743 *-*-darwin* )
40744 USE_MACVERSION=1
40745 USE_SOVERSION=1
40746 USE_SOSYMLINKS=1
40747 ;;
40748 esac
40749
40750
40751
40752
40753
40754
40755
40756
40757
40758 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
40759 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
40760 DEPS_TRACKING=0
40761
40762 if test "x$GCC" = "xyes"; then
40763 DEPSMODE=gcc
40764 DEPS_TRACKING=1
40765 case "${BAKEFILE_HOST}" in
40766 powerpc-*-darwin* )
40767 DEPSFLAG_GCC="-no-cpp-precomp -MMD"
40768 ;;
40769 * )
40770 DEPSFLAG_GCC="-MMD"
40771 ;;
40772 esac
40773 echo "$as_me:$LINENO: result: gcc" >&5
40774 echo "${ECHO_T}gcc" >&6
40775 elif test "x$MWCC" = "xyes"; then
40776 DEPSMODE=gcc
40777 DEPS_TRACKING=1
40778 DEPSFLAG_GCC="-MMD"
40779 echo "$as_me:$LINENO: result: mwcc" >&5
40780 echo "${ECHO_T}mwcc" >&6
40781 else
40782 echo "$as_me:$LINENO: result: none" >&5
40783 echo "${ECHO_T}none" >&6
40784 fi
40785
40786 if test $DEPS_TRACKING = 1 ; then
40787
40788 D='$'
40789 cat <<EOF >bk-deps
40790 #!/bin/sh
40791
40792 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
40793 # script. It is used to track C/C++ files dependencies in portable way.
40794 #
40795 # Permission is given to use this file in any way.
40796
40797 DEPSMODE=${DEPSMODE}
40798 DEPSDIR=.deps
40799 DEPSFLAG_GCC="${DEPSFLAG_GCC}"
40800
40801 mkdir -p ${D}DEPSDIR
40802
40803 if test ${D}DEPSMODE = gcc ; then
40804 ${D}* ${D}{DEPSFLAG_GCC}
40805 status=${D}?
40806 if test ${D}{status} != 0 ; then
40807 exit ${D}{status}
40808 fi
40809 # move created file to the location we want it in:
40810 while test ${D}# -gt 0; do
40811 case "${D}1" in
40812 -o )
40813 shift
40814 objfile=${D}1
40815 ;;
40816 -* )
40817 ;;
40818 * )
40819 srcfile=${D}1
40820 ;;
40821 esac
40822 shift
40823 done
40824 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
40825 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
40826 if test -f ${D}depfile ; then
40827 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
40828 rm -f ${D}depfile
40829 else
40830 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
40831 if test -f ${D}depfile ; then
40832 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
40833 rm -f ${D}depfile
40834 fi
40835 fi
40836 exit 0
40837 else
40838 ${D}*
40839 exit ${D}?
40840 fi
40841 EOF
40842
40843 chmod +x bk-deps
40844 fi
40845
40846
40847
40848
40849 RESCOMP=
40850 SETFILE=
40851
40852 case ${BAKEFILE_HOST} in
40853 *-*-cygwin* | *-*-mingw32* )
40854 if test "$build" != "$host" ; then
40855 RESCOMP=$host_alias-windres
40856 else
40857 # Extract the first word of "windres", so it can be a program name with args.
40858 set dummy windres; ac_word=$2
40859 echo "$as_me:$LINENO: checking for $ac_word" >&5
40860 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40861 if test "${ac_cv_prog_RESCOMP+set}" = set; then
40862 echo $ECHO_N "(cached) $ECHO_C" >&6
40863 else
40864 if test -n "$RESCOMP"; then
40865 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
40866 else
40867 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
40868 for as_dir in $PATH
40869 do
40870 IFS=$as_save_IFS
40871 test -z "$as_dir" && as_dir=.
40872 for ac_exec_ext in '' $ac_executable_extensions; do
40873 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40874 ac_cv_prog_RESCOMP="windres"
40875 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40876 break 2
40877 fi
40878 done
40879 done
40880
40881 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="windres"
40882 fi
40883 fi
40884 RESCOMP=$ac_cv_prog_RESCOMP
40885 if test -n "$RESCOMP"; then
40886 echo "$as_me:$LINENO: result: $RESCOMP" >&5
40887 echo "${ECHO_T}$RESCOMP" >&6
40888 else
40889 echo "$as_me:$LINENO: result: no" >&5
40890 echo "${ECHO_T}no" >&6
40891 fi
40892
40893 fi
40894 ;;
40895
40896 *-*-darwin* | powerpc-apple-macos* )
40897 # Extract the first word of "Rez", so it can be a program name with args.
40898 set dummy Rez; ac_word=$2
40899 echo "$as_me:$LINENO: checking for $ac_word" >&5
40900 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40901 if test "${ac_cv_prog_RESCOMP+set}" = set; then
40902 echo $ECHO_N "(cached) $ECHO_C" >&6
40903 else
40904 if test -n "$RESCOMP"; then
40905 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
40906 else
40907 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
40908 for as_dir in $PATH
40909 do
40910 IFS=$as_save_IFS
40911 test -z "$as_dir" && as_dir=.
40912 for ac_exec_ext in '' $ac_executable_extensions; do
40913 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40914 ac_cv_prog_RESCOMP="Rez"
40915 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40916 break 2
40917 fi
40918 done
40919 done
40920
40921 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="/Developer/Tools/Rez"
40922 fi
40923 fi
40924 RESCOMP=$ac_cv_prog_RESCOMP
40925 if test -n "$RESCOMP"; then
40926 echo "$as_me:$LINENO: result: $RESCOMP" >&5
40927 echo "${ECHO_T}$RESCOMP" >&6
40928 else
40929 echo "$as_me:$LINENO: result: no" >&5
40930 echo "${ECHO_T}no" >&6
40931 fi
40932
40933 # Extract the first word of "SetFile", so it can be a program name with args.
40934 set dummy SetFile; ac_word=$2
40935 echo "$as_me:$LINENO: checking for $ac_word" >&5
40936 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40937 if test "${ac_cv_prog_SETFILE+set}" = set; then
40938 echo $ECHO_N "(cached) $ECHO_C" >&6
40939 else
40940 if test -n "$SETFILE"; then
40941 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
40942 else
40943 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
40944 for as_dir in $PATH
40945 do
40946 IFS=$as_save_IFS
40947 test -z "$as_dir" && as_dir=.
40948 for ac_exec_ext in '' $ac_executable_extensions; do
40949 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40950 ac_cv_prog_SETFILE="SetFile"
40951 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40952 break 2
40953 fi
40954 done
40955 done
40956
40957 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
40958 fi
40959 fi
40960 SETFILE=$ac_cv_prog_SETFILE
40961 if test -n "$SETFILE"; then
40962 echo "$as_me:$LINENO: result: $SETFILE" >&5
40963 echo "${ECHO_T}$SETFILE" >&6
40964 else
40965 echo "$as_me:$LINENO: result: no" >&5
40966 echo "${ECHO_T}no" >&6
40967 fi
40968
40969 ;;
40970 esac
40971
40972
40973
40974
40975
40976 BAKEFILE_BAKEFILE_M4_VERSION="0.1.5"
40977
40978
40979 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.1.5"
40980
40981
40982
40983 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
40984 if test "${enable_precomp_headers+set}" = set; then
40985 enableval="$enable_precomp_headers"
40986 bk_use_pch="$enableval"
40987 fi;
40988
40989 GCC_PCH=0
40990
40991 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
40992 if test "x$GCC" = "xyes"; then
40993 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
40994 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
40995 cat >conftest.$ac_ext <<_ACEOF
40996 /* confdefs.h. */
40997 _ACEOF
40998 cat confdefs.h >>conftest.$ac_ext
40999 cat >>conftest.$ac_ext <<_ACEOF
41000 /* end confdefs.h. */
41001
41002 int
41003 main ()
41004 {
41005
41006 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
41007 #error "no pch support"
41008 #endif
41009 #if (__GNUC__ < 3)
41010 #error "no pch support"
41011 #endif
41012 #if (__GNUC__ == 3) && \
41013 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
41014 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3)))
41015 #error "no pch support"
41016 #endif
41017
41018 ;
41019 return 0;
41020 }
41021 _ACEOF
41022 rm -f conftest.$ac_objext
41023 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41024 (eval $ac_compile) 2>conftest.er1
41025 ac_status=$?
41026 grep -v '^ *+' conftest.er1 >conftest.err
41027 rm -f conftest.er1
41028 cat conftest.err >&5
41029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41030 (exit $ac_status); } &&
41031 { ac_try='test -z "$ac_c_werror_flag"
41032 || test ! -s conftest.err'
41033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41034 (eval $ac_try) 2>&5
41035 ac_status=$?
41036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41037 (exit $ac_status); }; } &&
41038 { ac_try='test -s conftest.$ac_objext'
41039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41040 (eval $ac_try) 2>&5
41041 ac_status=$?
41042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41043 (exit $ac_status); }; }; then
41044
41045 echo "$as_me:$LINENO: result: yes" >&5
41046 echo "${ECHO_T}yes" >&6
41047 GCC_PCH=1
41048
41049 else
41050 echo "$as_me: failed program was:" >&5
41051 sed 's/^/| /' conftest.$ac_ext >&5
41052
41053
41054 echo "$as_me:$LINENO: result: no" >&5
41055 echo "${ECHO_T}no" >&6
41056
41057 fi
41058 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41059 if test $GCC_PCH = 1 ; then
41060
41061 D='$'
41062 cat <<EOF >bk-make-pch
41063 #!/bin/sh
41064
41065 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
41066 # script. It is used to generated precompiled headers.
41067 #
41068 # Permission is given to use this file in any way.
41069
41070 outfile="${D}{1}"
41071 header="${D}{2}"
41072 shift
41073 shift
41074
41075 compiler=
41076 headerfile=
41077 while test ${D}{#} -gt 0; do
41078 case "${D}{1}" in
41079 -I* )
41080 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
41081 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
41082 headerfile="${D}{incdir}/${D}{header}"
41083 fi
41084 ;;
41085 esac
41086 compiler="${D}{compiler} ${D}{1}"
41087 shift
41088 done
41089
41090 if test "x${D}{headerfile}" = "x" ; then
41091 echo "error: can't find header ${D}{header} in include paths" >2
41092 else
41093 if test -f ${D}{outfile} ; then
41094 rm -f ${D}{outfile}
41095 else
41096 mkdir -p \`dirname ${D}{outfile}\`
41097 fi
41098 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
41099 mkdir -p .deps
41100 # can do this because gcc is >= 3.4:
41101 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
41102 exit ${D}{?}
41103 fi
41104 EOF
41105
41106 chmod +x bk-make-pch
41107 fi
41108 fi
41109 fi
41110
41111
41112
41113 COND_BUILD_DEBUG="#"
41114 if test "x$BUILD" = "xdebug" ; then
41115 COND_BUILD_DEBUG=""
41116 fi
41117
41118 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
41119 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
41120 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
41121 fi
41122
41123 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
41124 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
41125 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
41126 fi
41127
41128 COND_BUILD_DEBUG_UNICODE_0="#"
41129 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
41130 COND_BUILD_DEBUG_UNICODE_0=""
41131 fi
41132
41133 COND_BUILD_DEBUG_UNICODE_1="#"
41134 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
41135 COND_BUILD_DEBUG_UNICODE_1=""
41136 fi
41137
41138 COND_BUILD_RELEASE="#"
41139 if test "x$BUILD" = "xrelease" ; then
41140 COND_BUILD_RELEASE=""
41141 fi
41142
41143 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
41144 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
41145 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
41146 fi
41147
41148 COND_BUILD_RELEASE_UNICODE_0="#"
41149 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
41150 COND_BUILD_RELEASE_UNICODE_0=""
41151 fi
41152
41153 COND_BUILD_RELEASE_UNICODE_1="#"
41154 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
41155 COND_BUILD_RELEASE_UNICODE_1=""
41156 fi
41157
41158 COND_DEBUG_FLAG_1="#"
41159 if test "x$DEBUG_FLAG" = "x1" ; then
41160 COND_DEBUG_FLAG_1=""
41161 fi
41162
41163 COND_DEBUG_INFO_0="#"
41164 if test "x$DEBUG_INFO" = "x0" ; then
41165 COND_DEBUG_INFO_0=""
41166 fi
41167
41168 COND_DEBUG_INFO_1="#"
41169 if test "x$DEBUG_INFO" = "x1" ; then
41170 COND_DEBUG_INFO_1=""
41171 fi
41172
41173 COND_DEPS_TRACKING_0="#"
41174 if test "x$DEPS_TRACKING" = "x0" ; then
41175 COND_DEPS_TRACKING_0=""
41176 fi
41177
41178 COND_DEPS_TRACKING_1="#"
41179 if test "x$DEPS_TRACKING" = "x1" ; then
41180 COND_DEPS_TRACKING_1=""
41181 fi
41182
41183 COND_GCC_PCH_1="#"
41184 if test "x$GCC_PCH" = "x1" ; then
41185 COND_GCC_PCH_1=""
41186 fi
41187
41188 COND_MONOLITHIC_0="#"
41189 if test "x$MONOLITHIC" = "x0" ; then
41190 COND_MONOLITHIC_0=""
41191 fi
41192
41193 COND_MONOLITHIC_0_SHARED_0="#"
41194 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
41195 COND_MONOLITHIC_0_SHARED_0=""
41196 fi
41197
41198 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
41199 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
41200 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
41201 fi
41202
41203 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
41204 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
41205 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
41206 fi
41207
41208 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1="#"
41209 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
41210 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1=""
41211 fi
41212
41213 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1="#"
41214 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
41215 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1=""
41216 fi
41217
41218 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
41219 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
41220 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
41221 fi
41222
41223 COND_MONOLITHIC_0_SHARED_1="#"
41224 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
41225 COND_MONOLITHIC_0_SHARED_1=""
41226 fi
41227
41228 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
41229 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
41230 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
41231 fi
41232
41233 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
41234 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
41235 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
41236 fi
41237
41238 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1="#"
41239 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
41240 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1=""
41241 fi
41242
41243 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1="#"
41244 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
41245 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1=""
41246 fi
41247
41248 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
41249 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
41250 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
41251 fi
41252
41253 COND_MONOLITHIC_0_USE_ODBC_1="#"
41254 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
41255 COND_MONOLITHIC_0_USE_ODBC_1=""
41256 fi
41257
41258 COND_MONOLITHIC_1="#"
41259 if test "x$MONOLITHIC" = "x1" ; then
41260 COND_MONOLITHIC_1=""
41261 fi
41262
41263 COND_MONOLITHIC_1_SHARED_0="#"
41264 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
41265 COND_MONOLITHIC_1_SHARED_0=""
41266 fi
41267
41268 COND_MONOLITHIC_1_SHARED_1="#"
41269 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
41270 COND_MONOLITHIC_1_SHARED_1=""
41271 fi
41272
41273 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
41274 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
41275 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
41276 fi
41277
41278 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
41279 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
41280 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
41281 fi
41282
41283 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
41284 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
41285 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
41286 fi
41287
41288 COND_PLATFORM_MACOSX_1="#"
41289 if test "x$PLATFORM_MACOSX" = "x1" ; then
41290 COND_PLATFORM_MACOSX_1=""
41291 fi
41292
41293 COND_PLATFORM_MACOSX_1_TOOLKIT_="#"
41294 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
41295 COND_PLATFORM_MACOSX_1_TOOLKIT_=""
41296 fi
41297
41298 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#"
41299 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
41300 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA=""
41301 fi
41302
41303 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="#"
41304 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
41305 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK=""
41306 fi
41307
41308 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="#"
41309 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
41310 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC=""
41311 fi
41312
41313 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1="#"
41314 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
41315 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1=""
41316 fi
41317
41318 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
41319 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41320 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
41321 fi
41322
41323 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF="#"
41324 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
41325 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF=""
41326 fi
41327
41328 COND_PLATFORM_MACOSX_1_TOOLKIT_X11="#"
41329 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
41330 COND_PLATFORM_MACOSX_1_TOOLKIT_X11=""
41331 fi
41332
41333 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
41334 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
41335 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
41336 fi
41337
41338 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
41339 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
41340 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
41341 fi
41342
41343 COND_PLATFORM_MACOS_1="#"
41344 if test "x$PLATFORM_MACOS" = "x1" ; then
41345 COND_PLATFORM_MACOS_1=""
41346 fi
41347
41348 COND_PLATFORM_MAC_1="#"
41349 if test "x$PLATFORM_MAC" = "x1" ; then
41350 COND_PLATFORM_MAC_1=""
41351 fi
41352
41353 COND_PLATFORM_OS2_1="#"
41354 if test "x$PLATFORM_OS2" = "x1" ; then
41355 COND_PLATFORM_OS2_1=""
41356 fi
41357
41358 COND_PLATFORM_UNIX_0="#"
41359 if test "x$PLATFORM_UNIX" = "x0" ; then
41360 COND_PLATFORM_UNIX_0=""
41361 fi
41362
41363 COND_PLATFORM_UNIX_1="#"
41364 if test "x$PLATFORM_UNIX" = "x1" ; then
41365 COND_PLATFORM_UNIX_1=""
41366 fi
41367
41368 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
41369 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
41370 COND_PLATFORM_UNIX_1_USE_GUI_1=""
41371 fi
41372
41373 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
41374 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
41375 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
41376 fi
41377
41378 COND_PLATFORM_WIN32_0="#"
41379 if test "x$PLATFORM_WIN32" = "x0" ; then
41380 COND_PLATFORM_WIN32_0=""
41381 fi
41382
41383 COND_PLATFORM_WIN32_1="#"
41384 if test "x$PLATFORM_WIN32" = "x1" ; then
41385 COND_PLATFORM_WIN32_1=""
41386 fi
41387
41388 COND_SHARED_0="#"
41389 if test "x$SHARED" = "x0" ; then
41390 COND_SHARED_0=""
41391 fi
41392
41393 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
41394 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
41395 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
41396 fi
41397
41398 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
41399 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
41400 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
41401 fi
41402
41403 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
41404 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
41405 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
41406 fi
41407
41408 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
41409 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
41410 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
41411 fi
41412
41413 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
41414 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
41415 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
41416 fi
41417
41418 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
41419 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
41420 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
41421 fi
41422
41423 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
41424 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
41425 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
41426 fi
41427
41428 COND_SHARED_0_WXUSE_EXPAT_BUILTIN="#"
41429 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
41430 COND_SHARED_0_WXUSE_EXPAT_BUILTIN=""
41431 fi
41432
41433 COND_SHARED_0_WXUSE_ODBC_BUILTIN="#"
41434 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
41435 COND_SHARED_0_WXUSE_ODBC_BUILTIN=""
41436 fi
41437
41438 COND_SHARED_0_WXUSE_REGEX_BUILTIN="#"
41439 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
41440 COND_SHARED_0_WXUSE_REGEX_BUILTIN=""
41441 fi
41442
41443 COND_SHARED_0_WXUSE_ZLIB_BUILTIN="#"
41444 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
41445 COND_SHARED_0_WXUSE_ZLIB_BUILTIN=""
41446 fi
41447
41448 COND_SHARED_1="#"
41449 if test "x$SHARED" = "x1" ; then
41450 COND_SHARED_1=""
41451 fi
41452
41453 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
41454 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
41455 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
41456 fi
41457
41458 COND_TOOLKIT_="#"
41459 if test "x$TOOLKIT" = "x" ; then
41460 COND_TOOLKIT_=""
41461 fi
41462
41463 COND_TOOLKIT_COCOA="#"
41464 if test "x$TOOLKIT" = "xCOCOA" ; then
41465 COND_TOOLKIT_COCOA=""
41466 fi
41467
41468 COND_TOOLKIT_COCOA_USE_GUI_1="#"
41469 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
41470 COND_TOOLKIT_COCOA_USE_GUI_1=""
41471 fi
41472
41473 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
41474 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41475 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
41476 fi
41477
41478 COND_TOOLKIT_GTK="#"
41479 if test "x$TOOLKIT" = "xGTK" ; then
41480 COND_TOOLKIT_GTK=""
41481 fi
41482
41483 COND_TOOLKIT_GTK_USE_GUI_1="#"
41484 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
41485 COND_TOOLKIT_GTK_USE_GUI_1=""
41486 fi
41487
41488 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0="#"
41489 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41490 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0=""
41491 fi
41492
41493 COND_TOOLKIT_MAC="#"
41494 if test "x$TOOLKIT" = "xMAC" ; then
41495 COND_TOOLKIT_MAC=""
41496 fi
41497
41498 COND_TOOLKIT_MAC_USE_GUI_1="#"
41499 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
41500 COND_TOOLKIT_MAC_USE_GUI_1=""
41501 fi
41502
41503 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
41504 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41505 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
41506 fi
41507
41508 COND_TOOLKIT_MGL="#"
41509 if test "x$TOOLKIT" = "xMGL" ; then
41510 COND_TOOLKIT_MGL=""
41511 fi
41512
41513 COND_TOOLKIT_MGL_USE_GUI_1="#"
41514 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
41515 COND_TOOLKIT_MGL_USE_GUI_1=""
41516 fi
41517
41518 COND_TOOLKIT_MOTIF="#"
41519 if test "x$TOOLKIT" = "xMOTIF" ; then
41520 COND_TOOLKIT_MOTIF=""
41521 fi
41522
41523 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
41524 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
41525 COND_TOOLKIT_MOTIF_USE_GUI_1=""
41526 fi
41527
41528 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
41529 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41530 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
41531 fi
41532
41533 COND_TOOLKIT_MSW="#"
41534 if test "x$TOOLKIT" = "xMSW" ; then
41535 COND_TOOLKIT_MSW=""
41536 fi
41537
41538 COND_TOOLKIT_MSW_USE_GUI_1="#"
41539 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
41540 COND_TOOLKIT_MSW_USE_GUI_1=""
41541 fi
41542
41543 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
41544 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41545 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
41546 fi
41547
41548 COND_TOOLKIT_PM="#"
41549 if test "x$TOOLKIT" = "xPM" ; then
41550 COND_TOOLKIT_PM=""
41551 fi
41552
41553 COND_TOOLKIT_PM_USE_GUI_1="#"
41554 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
41555 COND_TOOLKIT_PM_USE_GUI_1=""
41556 fi
41557
41558 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
41559 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41560 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
41561 fi
41562
41563 COND_TOOLKIT_WINCE="#"
41564 if test "x$TOOLKIT" = "xWINCE" ; then
41565 COND_TOOLKIT_WINCE=""
41566 fi
41567
41568 COND_TOOLKIT_WINCE_USE_GUI_1="#"
41569 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
41570 COND_TOOLKIT_WINCE_USE_GUI_1=""
41571 fi
41572
41573 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
41574 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41575 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
41576 fi
41577
41578 COND_TOOLKIT_X11="#"
41579 if test "x$TOOLKIT" = "xX11" ; then
41580 COND_TOOLKIT_X11=""
41581 fi
41582
41583 COND_TOOLKIT_X11_USE_GUI_1="#"
41584 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
41585 COND_TOOLKIT_X11_USE_GUI_1=""
41586 fi
41587
41588 COND_UNICODE_1="#"
41589 if test "x$UNICODE" = "x1" ; then
41590 COND_UNICODE_1=""
41591 fi
41592
41593 COND_USE_EXCEPTIONS_0="#"
41594 if test "x$USE_EXCEPTIONS" = "x0" ; then
41595 COND_USE_EXCEPTIONS_0=""
41596 fi
41597
41598 COND_USE_EXCEPTIONS_1="#"
41599 if test "x$USE_EXCEPTIONS" = "x1" ; then
41600 COND_USE_EXCEPTIONS_1=""
41601 fi
41602
41603 COND_USE_GUI_0="#"
41604 if test "x$USE_GUI" = "x0" ; then
41605 COND_USE_GUI_0=""
41606 fi
41607
41608 COND_USE_GUI_1="#"
41609 if test "x$USE_GUI" = "x1" ; then
41610 COND_USE_GUI_1=""
41611 fi
41612
41613 COND_USE_GUI_1_WXUNIV_0="#"
41614 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41615 COND_USE_GUI_1_WXUNIV_0=""
41616 fi
41617
41618 COND_USE_GUI_1_WXUNIV_1="#"
41619 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
41620 COND_USE_GUI_1_WXUNIV_1=""
41621 fi
41622
41623 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
41624 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
41625 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
41626 fi
41627
41628 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
41629 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
41630 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
41631 fi
41632
41633 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
41634 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
41635 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
41636 fi
41637
41638 COND_USE_ODBC_1="#"
41639 if test "x$USE_ODBC" = "x1" ; then
41640 COND_USE_ODBC_1=""
41641 fi
41642
41643 COND_USE_OPENGL_1="#"
41644 if test "x$USE_OPENGL" = "x1" ; then
41645 COND_USE_OPENGL_1=""
41646 fi
41647
41648 COND_USE_PLUGINS_0="#"
41649 if test "x$USE_PLUGINS" = "x0" ; then
41650 COND_USE_PLUGINS_0=""
41651 fi
41652
41653 COND_USE_SOSYMLINKS_1="#"
41654 if test "x$USE_SOSYMLINKS" = "x1" ; then
41655 COND_USE_SOSYMLINKS_1=""
41656 fi
41657
41658 COND_USE_SOVERLINUX_1="#"
41659 if test "x$USE_SOVERLINUX" = "x1" ; then
41660 COND_USE_SOVERLINUX_1=""
41661 fi
41662
41663 COND_USE_SOVERSION_0="#"
41664 if test "x$USE_SOVERSION" = "x0" ; then
41665 COND_USE_SOVERSION_0=""
41666 fi
41667
41668 COND_USE_SOVERSOLARIS_1="#"
41669 if test "x$USE_SOVERSOLARIS" = "x1" ; then
41670 COND_USE_SOVERSOLARIS_1=""
41671 fi
41672
41673 COND_USE_XRC_1="#"
41674 if test "x$USE_XRC" = "x1" ; then
41675 COND_USE_XRC_1=""
41676 fi
41677
41678 COND_WITH_PLUGIN_SDL_1="#"
41679 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
41680 COND_WITH_PLUGIN_SDL_1=""
41681 fi
41682
41683 COND_WXUNIV_0="#"
41684 if test "x$WXUNIV" = "x0" ; then
41685 COND_WXUNIV_0=""
41686 fi
41687
41688 COND_WXUNIV_1="#"
41689 if test "x$WXUNIV" = "x1" ; then
41690 COND_WXUNIV_1=""
41691 fi
41692
41693 COND_WXUSE_EXPAT_BUILTIN="#"
41694 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
41695 COND_WXUSE_EXPAT_BUILTIN=""
41696 fi
41697
41698 COND_WXUSE_LIBJPEG_BUILTIN="#"
41699 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
41700 COND_WXUSE_LIBJPEG_BUILTIN=""
41701 fi
41702
41703 COND_WXUSE_LIBPNG_BUILTIN="#"
41704 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
41705 COND_WXUSE_LIBPNG_BUILTIN=""
41706 fi
41707
41708 COND_WXUSE_LIBTIFF_BUILTIN="#"
41709 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
41710 COND_WXUSE_LIBTIFF_BUILTIN=""
41711 fi
41712
41713 COND_WXUSE_ODBC_BUILTIN="#"
41714 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
41715 COND_WXUSE_ODBC_BUILTIN=""
41716 fi
41717
41718 COND_WXUSE_REGEX_BUILTIN="#"
41719 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
41720 COND_WXUSE_REGEX_BUILTIN=""
41721 fi
41722
41723 COND_WXUSE_ZLIB_BUILTIN="#"
41724 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
41725 COND_WXUSE_ZLIB_BUILTIN=""
41726 fi
41727
41728
41729
41730 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
41731 { { 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
41732 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;}
41733 { (exit 1); exit 1; }; }
41734 fi
41735
41736
41737 if test "$wxUSE_SHARED" = "yes"; then
41738
41739 sanitised_bakefile_mess=`echo "$SHARED_LD_CXX" | tr -d '()'`
41740 EXE_LINKER=`eval echo "$sanitised_bakefile_mess"`
41741
41742 case "${host}" in
41743 *-pc-os2_emx | *-pc-os2-emx )
41744 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
41745 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
41746 cp -p ${srcdir}/src/os2/dllnames.sh .
41747 cp -p ${srcdir}/src/os2/dllar.sh .
41748 ;;
41749 esac
41750 else
41751
41752 EXE_LINKER="$CXX -o"
41753
41754 fi
41755
41756 GCC_PRAGMA_FLAGS=""
41757 PCH_FLAGS=""
41758 if test $GCC_PCH = 1 ; then
41759 GCC_PRAGMA_FLAGS="-DNO_GCC_PRAGMA"
41760 PCH_FLAGS="-DWX_PRECOMP"
41761 else
41762 case "${host}" in
41763 powerpc-*-darwin* )
41764 GCC_PRAGMA_FLAGS="-DNO_GCC_PRAGMA"
41765 ;;
41766 *-*-mingw32* )
41767 if test "$wxUSE_STL" = "yes" -o \
41768 "$wxUSE_NO_EXCEPTIONS" != "yes" -o \
41769 "$wxUSE_NO_RTTI" != "yes"; then
41770 echo "$as_me:$LINENO: checking if this MinGW version needs -DNO_GCC_PRAGMA" >&5
41771 echo $ECHO_N "checking if this MinGW version needs -DNO_GCC_PRAGMA... $ECHO_C" >&6
41772 cat >conftest.$ac_ext <<_ACEOF
41773 /* confdefs.h. */
41774 _ACEOF
41775 cat confdefs.h >>conftest.$ac_ext
41776 cat >>conftest.$ac_ext <<_ACEOF
41777 /* end confdefs.h. */
41778
41779 int
41780 main ()
41781 {
41782 #if !(__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 2))
41783 #error "Not GCC 3.2 or greater"
41784 #endif
41785
41786 ;
41787 return 0;
41788 }
41789 _ACEOF
41790 rm -f conftest.$ac_objext
41791 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41792 (eval $ac_compile) 2>conftest.er1
41793 ac_status=$?
41794 grep -v '^ *+' conftest.er1 >conftest.err
41795 rm -f conftest.er1
41796 cat conftest.err >&5
41797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41798 (exit $ac_status); } &&
41799 { ac_try='test -z "$ac_c_werror_flag"
41800 || test ! -s conftest.err'
41801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41802 (eval $ac_try) 2>&5
41803 ac_status=$?
41804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41805 (exit $ac_status); }; } &&
41806 { ac_try='test -s conftest.$ac_objext'
41807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41808 (eval $ac_try) 2>&5
41809 ac_status=$?
41810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41811 (exit $ac_status); }; }; then
41812 GCC_PRAGMA_FLAGS="-DNO_GCC_PRAGMA"
41813 echo "$as_me:$LINENO: result: yes" >&5
41814 echo "${ECHO_T}yes" >&6
41815 else
41816 echo "$as_me: failed program was:" >&5
41817 sed 's/^/| /' conftest.$ac_ext >&5
41818
41819 echo "$as_me:$LINENO: result: no" >&5
41820 echo "${ECHO_T}no" >&6
41821 fi
41822 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41823 fi
41824 ;;
41825 *-pc-os2_emx | *-pc-os2-emx )
41826 if test "$wxUSE_STL" = "yes"; then
41827 echo "$as_me:$LINENO: checking if this gcc version needs -DNO_GCC_PRAGMA" >&5
41828 echo $ECHO_N "checking if this gcc version needs -DNO_GCC_PRAGMA... $ECHO_C" >&6
41829 cat >conftest.$ac_ext <<_ACEOF
41830 /* confdefs.h. */
41831 _ACEOF
41832 cat confdefs.h >>conftest.$ac_ext
41833 cat >>conftest.$ac_ext <<_ACEOF
41834 /* end confdefs.h. */
41835
41836 int
41837 main ()
41838 {
41839 #if !(__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 2))
41840 #error "Not GCC 3.2 or greater"
41841 #endif
41842
41843 ;
41844 return 0;
41845 }
41846 _ACEOF
41847 rm -f conftest.$ac_objext
41848 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41849 (eval $ac_compile) 2>conftest.er1
41850 ac_status=$?
41851 grep -v '^ *+' conftest.er1 >conftest.err
41852 rm -f conftest.er1
41853 cat conftest.err >&5
41854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41855 (exit $ac_status); } &&
41856 { ac_try='test -z "$ac_c_werror_flag"
41857 || test ! -s conftest.err'
41858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41859 (eval $ac_try) 2>&5
41860 ac_status=$?
41861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41862 (exit $ac_status); }; } &&
41863 { ac_try='test -s conftest.$ac_objext'
41864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41865 (eval $ac_try) 2>&5
41866 ac_status=$?
41867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41868 (exit $ac_status); }; }; then
41869 GCC_PRAGMA_FLAGS="-DNO_GCC_PRAGMA"
41870 echo "$as_me:$LINENO: result: yes" >&5
41871 echo "${ECHO_T}yes" >&6
41872 else
41873 echo "$as_me: failed program was:" >&5
41874 sed 's/^/| /' conftest.$ac_ext >&5
41875
41876 echo "$as_me:$LINENO: result: no" >&5
41877 echo "${ECHO_T}no" >&6
41878 fi
41879 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41880 fi
41881 ;;
41882 esac
41883 fi
41884 CPPFLAGS="$PCH_FLAGS $GCC_PRAGMA_FLAGS $CPPFLAGS"
41885
41886
41887 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
41888
41889
41890
41891
41892
41893
41894
41895
41896
41897
41898
41899
41900
41901
41902
41903
41904
41905
41906
41907
41908
41909
41910
41911
41912
41913
41914
41915
41916
41917
41918
41919
41920
41921
41922
41923
41924
41925
41926
41927
41928
41929
41930
41931
41932
41933
41934
41935
41936
41937
41938
41939
41940
41941
41942
41943
41944
41945
41946
41947
41948
41949
41950
41951 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
41952 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
41953 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
41954 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
41955 echo $ECHO_N "(cached) $ECHO_C" >&6
41956 else
41957 cat >conftest.make <<\_ACEOF
41958 all:
41959 @echo 'ac_maketemp="$(MAKE)"'
41960 _ACEOF
41961 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
41962 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
41963 if test -n "$ac_maketemp"; then
41964 eval ac_cv_prog_make_${ac_make}_set=yes
41965 else
41966 eval ac_cv_prog_make_${ac_make}_set=no
41967 fi
41968 rm -f conftest.make
41969 fi
41970 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
41971 echo "$as_me:$LINENO: result: yes" >&5
41972 echo "${ECHO_T}yes" >&6
41973 SET_MAKE=
41974 else
41975 echo "$as_me:$LINENO: result: no" >&5
41976 echo "${ECHO_T}no" >&6
41977 SET_MAKE="MAKE=${MAKE-make}"
41978 fi
41979
41980
41981
41982 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
41983
41984
41985 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
41986
41987
41988 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
41989
41990
41991 ac_config_files="$ac_config_files version-script Makefile"
41992
41993
41994 ac_config_commands="$ac_config_commands wx-config
41995 "
41996
41997
41998
41999
42000 if test "$wxUSE_GUI" = "yes"; then
42001 SUBDIRS="samples demos utils contrib"
42002 else SUBDIRS="samples utils"
42003 fi
42004
42005
42006
42007 # Check whether --with-cppunit-prefix or --without-cppunit-prefix was given.
42008 if test "${with_cppunit_prefix+set}" = set; then
42009 withval="$with_cppunit_prefix"
42010 cppunit_config_prefix="$withval"
42011 else
42012 cppunit_config_prefix=""
42013 fi;
42014
42015 # Check whether --with-cppunit-exec-prefix or --without-cppunit-exec-prefix was given.
42016 if test "${with_cppunit_exec_prefix+set}" = set; then
42017 withval="$with_cppunit_exec_prefix"
42018 cppunit_config_exec_prefix="$withval"
42019 else
42020 cppunit_config_exec_prefix=""
42021 fi;
42022
42023 if test x$cppunit_config_exec_prefix != x ; then
42024 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
42025 if test x${CPPUNIT_CONFIG+set} != xset ; then
42026 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
42027 fi
42028 fi
42029 if test x$cppunit_config_prefix != x ; then
42030 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
42031 if test x${CPPUNIT_CONFIG+set} != xset ; then
42032 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
42033 fi
42034 fi
42035
42036 # Extract the first word of "cppunit-config", so it can be a program name with args.
42037 set dummy cppunit-config; ac_word=$2
42038 echo "$as_me:$LINENO: checking for $ac_word" >&5
42039 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
42040 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
42041 echo $ECHO_N "(cached) $ECHO_C" >&6
42042 else
42043 case $CPPUNIT_CONFIG in
42044 [\\/]* | ?:[\\/]*)
42045 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
42046 ;;
42047 *)
42048 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42049 for as_dir in $PATH
42050 do
42051 IFS=$as_save_IFS
42052 test -z "$as_dir" && as_dir=.
42053 for ac_exec_ext in '' $ac_executable_extensions; do
42054 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
42055 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
42056 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42057 break 2
42058 fi
42059 done
42060 done
42061
42062 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
42063 ;;
42064 esac
42065 fi
42066 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
42067
42068 if test -n "$CPPUNIT_CONFIG"; then
42069 echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
42070 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6
42071 else
42072 echo "$as_me:$LINENO: result: no" >&5
42073 echo "${ECHO_T}no" >&6
42074 fi
42075
42076 cppunit_version_min=1.8.0
42077
42078 echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
42079 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6
42080 no_cppunit=""
42081 if test "$CPPUNIT_CONFIG" = "no" ; then
42082 no_cppunit=yes
42083 else
42084 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
42085 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
42086 cppunit_version=`$CPPUNIT_CONFIG --version`
42087
42088 cppunit_major_version=`echo $cppunit_version | \
42089 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
42090 cppunit_minor_version=`echo $cppunit_version | \
42091 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
42092 cppunit_micro_version=`echo $cppunit_version | \
42093 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
42094
42095 cppunit_major_min=`echo $cppunit_version_min | \
42096 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
42097 cppunit_minor_min=`echo $cppunit_version_min | \
42098 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
42099 cppunit_micro_min=`echo $cppunit_version_min | \
42100 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
42101
42102 cppunit_version_proper=`expr \
42103 $cppunit_major_version \> $cppunit_major_min \| \
42104 $cppunit_major_version \= $cppunit_major_min \& \
42105 $cppunit_minor_version \> $cppunit_minor_min \| \
42106 $cppunit_major_version \= $cppunit_major_min \& \
42107 $cppunit_minor_version \= $cppunit_minor_min \& \
42108 $cppunit_micro_version \>= $cppunit_micro_min `
42109
42110 if test "$cppunit_version_proper" = "1" ; then
42111 echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
42112 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6
42113 else
42114 echo "$as_me:$LINENO: result: no" >&5
42115 echo "${ECHO_T}no" >&6
42116 no_cppunit=yes
42117 fi
42118 fi
42119
42120 if test "x$no_cppunit" = x ; then
42121 SUBDIRS="$SUBDIRS tests"
42122 else
42123 CPPUNIT_CFLAGS=""
42124 CPPUNIT_LIBS=""
42125 :
42126 fi
42127
42128
42129
42130
42131
42132 for subdir in `echo $SUBDIRS`; do
42133 if test -d ${srcdir}/${subdir} ; then
42134 if test "$wxUSE_GUI" = "yes"; then
42135 if test ${subdir} = "samples"; then
42136 makefiles="samples/Makefile.in $makefiles"
42137 for sample in `echo $SAMPLES_SUBDIRS`; do
42138 if test -d $srcdir/samples/$sample; then
42139 makefiles="samples/$sample/Makefile.in $makefiles"
42140 fi
42141 done
42142 else makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
42143 fi
42144 else if test ${subdir} = "samples"; then
42145 makefiles="samples/Makefile.in samples/console/Makefile.in"
42146 elif test ${subdir} = "utils"; then
42147 makefiles=""
42148 for util in HelpGen tex2rtf ; do
42149 if test -d $srcdir/utils/$util ; then
42150 makefiles="utils/$util/Makefile.in \
42151 utils/$util/src/Makefile.in \
42152 $makefiles"
42153 fi
42154 done
42155 else makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
42156 fi
42157 fi
42158
42159 for mkin in $makefiles ; do
42160 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
42161 ac_config_files="$ac_config_files $mk"
42162
42163 done
42164 fi
42165 done
42166
42167
42168 cat >confcache <<\_ACEOF
42169 # This file is a shell script that caches the results of configure
42170 # tests run on this system so they can be shared between configure
42171 # scripts and configure runs, see configure's option --config-cache.
42172 # It is not useful on other systems. If it contains results you don't
42173 # want to keep, you may remove or edit it.
42174 #
42175 # config.status only pays attention to the cache file if you give it
42176 # the --recheck option to rerun configure.
42177 #
42178 # `ac_cv_env_foo' variables (set or unset) will be overridden when
42179 # loading this file, other *unset* `ac_cv_foo' will be assigned the
42180 # following values.
42181
42182 _ACEOF
42183
42184 # The following way of writing the cache mishandles newlines in values,
42185 # but we know of no workaround that is simple, portable, and efficient.
42186 # So, don't put newlines in cache variables' values.
42187 # Ultrix sh set writes to stderr and can't be redirected directly,
42188 # and sets the high bit in the cache file unless we assign to the vars.
42189 {
42190 (set) 2>&1 |
42191 case `(ac_space=' '; set | grep ac_space) 2>&1` in
42192 *ac_space=\ *)
42193 # `set' does not quote correctly, so add quotes (double-quote
42194 # substitution turns \\\\ into \\, and sed turns \\ into \).
42195 sed -n \
42196 "s/'/'\\\\''/g;
42197 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
42198 ;;
42199 *)
42200 # `set' quotes correctly as required by POSIX, so do not add quotes.
42201 sed -n \
42202 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
42203 ;;
42204 esac;
42205 } |
42206 sed '
42207 t clear
42208 : clear
42209 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
42210 t end
42211 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
42212 : end' >>confcache
42213 if diff $cache_file confcache >/dev/null 2>&1; then :; else
42214 if test -w $cache_file; then
42215 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
42216 cat confcache >$cache_file
42217 else
42218 echo "not updating unwritable cache $cache_file"
42219 fi
42220 fi
42221 rm -f confcache
42222
42223 test "x$prefix" = xNONE && prefix=$ac_default_prefix
42224 # Let make expand exec_prefix.
42225 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
42226
42227 # VPATH may cause trouble with some makes, so we remove $(srcdir),
42228 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
42229 # trailing colons and then remove the whole line if VPATH becomes empty
42230 # (actually we leave an empty line to preserve line numbers).
42231 if test "x$srcdir" = x.; then
42232 ac_vpsub='/^[ ]*VPATH[ ]*=/{
42233 s/:*\$(srcdir):*/:/;
42234 s/:*\${srcdir}:*/:/;
42235 s/:*@srcdir@:*/:/;
42236 s/^\([^=]*=[ ]*\):*/\1/;
42237 s/:*$//;
42238 s/^[^=]*=[ ]*$//;
42239 }'
42240 fi
42241
42242 DEFS=-DHAVE_CONFIG_H
42243
42244 ac_libobjs=
42245 ac_ltlibobjs=
42246 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
42247 # 1. Remove the extension, and $U if already installed.
42248 ac_i=`echo "$ac_i" |
42249 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
42250 # 2. Add them.
42251 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
42252 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
42253 done
42254 LIBOBJS=$ac_libobjs
42255
42256 LTLIBOBJS=$ac_ltlibobjs
42257
42258
42259
42260 : ${CONFIG_STATUS=./config.status}
42261 ac_clean_files_save=$ac_clean_files
42262 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
42263 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
42264 echo "$as_me: creating $CONFIG_STATUS" >&6;}
42265 cat >$CONFIG_STATUS <<_ACEOF
42266 #! $SHELL
42267 # Generated by $as_me.
42268 # Run this file to recreate the current configuration.
42269 # Compiler output produced by configure, useful for debugging
42270 # configure, is in config.log if it exists.
42271
42272 debug=false
42273 ac_cs_recheck=false
42274 ac_cs_silent=false
42275 SHELL=\${CONFIG_SHELL-$SHELL}
42276 _ACEOF
42277
42278 cat >>$CONFIG_STATUS <<\_ACEOF
42279 ## --------------------- ##
42280 ## M4sh Initialization. ##
42281 ## --------------------- ##
42282
42283 # Be Bourne compatible
42284 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
42285 emulate sh
42286 NULLCMD=:
42287 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
42288 # is contrary to our usage. Disable this feature.
42289 alias -g '${1+"$@"}'='"$@"'
42290 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
42291 set -o posix
42292 fi
42293 DUALCASE=1; export DUALCASE # for MKS sh
42294
42295 # Support unset when possible.
42296 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
42297 as_unset=unset
42298 else
42299 as_unset=false
42300 fi
42301
42302
42303 # Work around bugs in pre-3.0 UWIN ksh.
42304 $as_unset ENV MAIL MAILPATH
42305 PS1='$ '
42306 PS2='> '
42307 PS4='+ '
42308
42309 # NLS nuisances.
42310 for as_var in \
42311 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
42312 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
42313 LC_TELEPHONE LC_TIME
42314 do
42315 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
42316 eval $as_var=C; export $as_var
42317 else
42318 $as_unset $as_var
42319 fi
42320 done
42321
42322 # Required to use basename.
42323 if expr a : '\(a\)' >/dev/null 2>&1; then
42324 as_expr=expr
42325 else
42326 as_expr=false
42327 fi
42328
42329 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
42330 as_basename=basename
42331 else
42332 as_basename=false
42333 fi
42334
42335
42336 # Name of the executable.
42337 as_me=`$as_basename "$0" ||
42338 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
42339 X"$0" : 'X\(//\)$' \| \
42340 X"$0" : 'X\(/\)$' \| \
42341 . : '\(.\)' 2>/dev/null ||
42342 echo X/"$0" |
42343 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
42344 /^X\/\(\/\/\)$/{ s//\1/; q; }
42345 /^X\/\(\/\).*/{ s//\1/; q; }
42346 s/.*/./; q'`
42347
42348
42349 # PATH needs CR, and LINENO needs CR and PATH.
42350 # Avoid depending upon Character Ranges.
42351 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
42352 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
42353 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
42354 as_cr_digits='0123456789'
42355 as_cr_alnum=$as_cr_Letters$as_cr_digits
42356
42357 # The user is always right.
42358 if test "${PATH_SEPARATOR+set}" != set; then
42359 echo "#! /bin/sh" >conf$$.sh
42360 echo "exit 0" >>conf$$.sh
42361 chmod +x conf$$.sh
42362 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
42363 PATH_SEPARATOR=';'
42364 else
42365 PATH_SEPARATOR=:
42366 fi
42367 rm -f conf$$.sh
42368 fi
42369
42370
42371 as_lineno_1=$LINENO
42372 as_lineno_2=$LINENO
42373 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
42374 test "x$as_lineno_1" != "x$as_lineno_2" &&
42375 test "x$as_lineno_3" = "x$as_lineno_2" || {
42376 # Find who we are. Look in the path if we contain no path at all
42377 # relative or not.
42378 case $0 in
42379 *[\\/]* ) as_myself=$0 ;;
42380 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42381 for as_dir in $PATH
42382 do
42383 IFS=$as_save_IFS
42384 test -z "$as_dir" && as_dir=.
42385 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
42386 done
42387
42388 ;;
42389 esac
42390 # We did not find ourselves, most probably we were run as `sh COMMAND'
42391 # in which case we are not to be found in the path.
42392 if test "x$as_myself" = x; then
42393 as_myself=$0
42394 fi
42395 if test ! -f "$as_myself"; then
42396 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
42397 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
42398 { (exit 1); exit 1; }; }
42399 fi
42400 case $CONFIG_SHELL in
42401 '')
42402 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42403 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
42404 do
42405 IFS=$as_save_IFS
42406 test -z "$as_dir" && as_dir=.
42407 for as_base in sh bash ksh sh5; do
42408 case $as_dir in
42409 /*)
42410 if ("$as_dir/$as_base" -c '
42411 as_lineno_1=$LINENO
42412 as_lineno_2=$LINENO
42413 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
42414 test "x$as_lineno_1" != "x$as_lineno_2" &&
42415 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
42416 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
42417 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
42418 CONFIG_SHELL=$as_dir/$as_base
42419 export CONFIG_SHELL
42420 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
42421 fi;;
42422 esac
42423 done
42424 done
42425 ;;
42426 esac
42427
42428 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
42429 # uniformly replaced by the line number. The first 'sed' inserts a
42430 # line-number line before each line; the second 'sed' does the real
42431 # work. The second script uses 'N' to pair each line-number line
42432 # with the numbered line, and appends trailing '-' during
42433 # substitution so that $LINENO is not a special case at line end.
42434 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
42435 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
42436 sed '=' <$as_myself |
42437 sed '
42438 N
42439 s,$,-,
42440 : loop
42441 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
42442 t loop
42443 s,-$,,
42444 s,^['$as_cr_digits']*\n,,
42445 ' >$as_me.lineno &&
42446 chmod +x $as_me.lineno ||
42447 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
42448 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
42449 { (exit 1); exit 1; }; }
42450
42451 # Don't try to exec as it changes $[0], causing all sort of problems
42452 # (the dirname of $[0] is not the place where we might find the
42453 # original and so on. Autoconf is especially sensible to this).
42454 . ./$as_me.lineno
42455 # Exit status is that of the last command.
42456 exit
42457 }
42458
42459
42460 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
42461 *c*,-n*) ECHO_N= ECHO_C='
42462 ' ECHO_T=' ' ;;
42463 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
42464 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
42465 esac
42466
42467 if expr a : '\(a\)' >/dev/null 2>&1; then
42468 as_expr=expr
42469 else
42470 as_expr=false
42471 fi
42472
42473 rm -f conf$$ conf$$.exe conf$$.file
42474 echo >conf$$.file
42475 if ln -s conf$$.file conf$$ 2>/dev/null; then
42476 # We could just check for DJGPP; but this test a) works b) is more generic
42477 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
42478 if test -f conf$$.exe; then
42479 # Don't use ln at all; we don't have any links
42480 as_ln_s='cp -p'
42481 else
42482 as_ln_s='ln -s'
42483 fi
42484 elif ln conf$$.file conf$$ 2>/dev/null; then
42485 as_ln_s=ln
42486 else
42487 as_ln_s='cp -p'
42488 fi
42489 rm -f conf$$ conf$$.exe conf$$.file
42490
42491 if mkdir -p . 2>/dev/null; then
42492 as_mkdir_p=:
42493 else
42494 test -d ./-p && rmdir ./-p
42495 as_mkdir_p=false
42496 fi
42497
42498 as_executable_p="test -f"
42499
42500 # Sed expression to map a string onto a valid CPP name.
42501 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
42502
42503 # Sed expression to map a string onto a valid variable name.
42504 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
42505
42506
42507 # IFS
42508 # We need space, tab and new line, in precisely that order.
42509 as_nl='
42510 '
42511 IFS=" $as_nl"
42512
42513 # CDPATH.
42514 $as_unset CDPATH
42515
42516 exec 6>&1
42517
42518 # Open the log real soon, to keep \$[0] and so on meaningful, and to
42519 # report actual input values of CONFIG_FILES etc. instead of their
42520 # values after options handling. Logging --version etc. is OK.
42521 exec 5>>config.log
42522 {
42523 echo
42524 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
42525 ## Running $as_me. ##
42526 _ASBOX
42527 } >&5
42528 cat >&5 <<_CSEOF
42529
42530 This file was extended by wxWidgets $as_me 2.5.3, which was
42531 generated by GNU Autoconf 2.59. Invocation command line was
42532
42533 CONFIG_FILES = $CONFIG_FILES
42534 CONFIG_HEADERS = $CONFIG_HEADERS
42535 CONFIG_LINKS = $CONFIG_LINKS
42536 CONFIG_COMMANDS = $CONFIG_COMMANDS
42537 $ $0 $@
42538
42539 _CSEOF
42540 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
42541 echo >&5
42542 _ACEOF
42543
42544 # Files that config.status was made for.
42545 if test -n "$ac_config_files"; then
42546 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
42547 fi
42548
42549 if test -n "$ac_config_headers"; then
42550 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
42551 fi
42552
42553 if test -n "$ac_config_links"; then
42554 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
42555 fi
42556
42557 if test -n "$ac_config_commands"; then
42558 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
42559 fi
42560
42561 cat >>$CONFIG_STATUS <<\_ACEOF
42562
42563 ac_cs_usage="\
42564 \`$as_me' instantiates files from templates according to the
42565 current configuration.
42566
42567 Usage: $0 [OPTIONS] [FILE]...
42568
42569 -h, --help print this help, then exit
42570 -V, --version print version number, then exit
42571 -q, --quiet do not print progress messages
42572 -d, --debug don't remove temporary files
42573 --recheck update $as_me by reconfiguring in the same conditions
42574 --file=FILE[:TEMPLATE]
42575 instantiate the configuration file FILE
42576 --header=FILE[:TEMPLATE]
42577 instantiate the configuration header FILE
42578
42579 Configuration files:
42580 $config_files
42581
42582 Configuration headers:
42583 $config_headers
42584
42585 Configuration commands:
42586 $config_commands
42587
42588 Report bugs to <bug-autoconf@gnu.org>."
42589 _ACEOF
42590
42591 cat >>$CONFIG_STATUS <<_ACEOF
42592 ac_cs_version="\\
42593 wxWidgets config.status 2.5.3
42594 configured by $0, generated by GNU Autoconf 2.59,
42595 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
42596
42597 Copyright (C) 2003 Free Software Foundation, Inc.
42598 This config.status script is free software; the Free Software Foundation
42599 gives unlimited permission to copy, distribute and modify it."
42600 srcdir=$srcdir
42601 INSTALL="$INSTALL"
42602 _ACEOF
42603
42604 cat >>$CONFIG_STATUS <<\_ACEOF
42605 # If no file are specified by the user, then we need to provide default
42606 # value. By we need to know if files were specified by the user.
42607 ac_need_defaults=:
42608 while test $# != 0
42609 do
42610 case $1 in
42611 --*=*)
42612 ac_option=`expr "x$1" : 'x\([^=]*\)='`
42613 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
42614 ac_shift=:
42615 ;;
42616 -*)
42617 ac_option=$1
42618 ac_optarg=$2
42619 ac_shift=shift
42620 ;;
42621 *) # This is not an option, so the user has probably given explicit
42622 # arguments.
42623 ac_option=$1
42624 ac_need_defaults=false;;
42625 esac
42626
42627 case $ac_option in
42628 # Handling of the options.
42629 _ACEOF
42630 cat >>$CONFIG_STATUS <<\_ACEOF
42631 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
42632 ac_cs_recheck=: ;;
42633 --version | --vers* | -V )
42634 echo "$ac_cs_version"; exit 0 ;;
42635 --he | --h)
42636 # Conflict between --help and --header
42637 { { echo "$as_me:$LINENO: error: ambiguous option: $1
42638 Try \`$0 --help' for more information." >&5
42639 echo "$as_me: error: ambiguous option: $1
42640 Try \`$0 --help' for more information." >&2;}
42641 { (exit 1); exit 1; }; };;
42642 --help | --hel | -h )
42643 echo "$ac_cs_usage"; exit 0 ;;
42644 --debug | --d* | -d )
42645 debug=: ;;
42646 --file | --fil | --fi | --f )
42647 $ac_shift
42648 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
42649 ac_need_defaults=false;;
42650 --header | --heade | --head | --hea )
42651 $ac_shift
42652 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
42653 ac_need_defaults=false;;
42654 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
42655 | -silent | --silent | --silen | --sile | --sil | --si | --s)
42656 ac_cs_silent=: ;;
42657
42658 # This is an error.
42659 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
42660 Try \`$0 --help' for more information." >&5
42661 echo "$as_me: error: unrecognized option: $1
42662 Try \`$0 --help' for more information." >&2;}
42663 { (exit 1); exit 1; }; } ;;
42664
42665 *) ac_config_targets="$ac_config_targets $1" ;;
42666
42667 esac
42668 shift
42669 done
42670
42671 ac_configure_extra_args=
42672
42673 if $ac_cs_silent; then
42674 exec 6>/dev/null
42675 ac_configure_extra_args="$ac_configure_extra_args --silent"
42676 fi
42677
42678 _ACEOF
42679 cat >>$CONFIG_STATUS <<_ACEOF
42680 if \$ac_cs_recheck; then
42681 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
42682 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
42683 fi
42684
42685 _ACEOF
42686
42687 cat >>$CONFIG_STATUS <<_ACEOF
42688 #
42689 # INIT-COMMANDS section.
42690 #
42691
42692 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
42693 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
42694 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
42695 LN_S="${LN_S}"
42696
42697
42698 _ACEOF
42699
42700
42701
42702 cat >>$CONFIG_STATUS <<\_ACEOF
42703 for ac_config_target in $ac_config_targets
42704 do
42705 case "$ac_config_target" in
42706 # Handling of arguments.
42707 "lib/wx/config/${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
42708 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
42709 "version-script" ) CONFIG_FILES="$CONFIG_FILES version-script" ;;
42710 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
42711 "$mk" ) CONFIG_FILES="$CONFIG_FILES $mk" ;;
42712 "wx-config" ) CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
42713 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h" ) CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
42714 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
42715 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
42716 { (exit 1); exit 1; }; };;
42717 esac
42718 done
42719
42720 # If the user did not use the arguments to specify the items to instantiate,
42721 # then the envvar interface is used. Set only those that are not.
42722 # We use the long form for the default assignment because of an extremely
42723 # bizarre bug on SunOS 4.1.3.
42724 if $ac_need_defaults; then
42725 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
42726 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
42727 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
42728 fi
42729
42730 # Have a temporary directory for convenience. Make it in the build tree
42731 # simply because there is no reason to put it here, and in addition,
42732 # creating and moving files from /tmp can sometimes cause problems.
42733 # Create a temporary directory, and hook for its removal unless debugging.
42734 $debug ||
42735 {
42736 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
42737 trap '{ (exit 1); exit 1; }' 1 2 13 15
42738 }
42739
42740 # Create a (secure) tmp directory for tmp files.
42741
42742 {
42743 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
42744 test -n "$tmp" && test -d "$tmp"
42745 } ||
42746 {
42747 tmp=./confstat$$-$RANDOM
42748 (umask 077 && mkdir $tmp)
42749 } ||
42750 {
42751 echo "$me: cannot create a temporary directory in ." >&2
42752 { (exit 1); exit 1; }
42753 }
42754
42755 _ACEOF
42756
42757 cat >>$CONFIG_STATUS <<_ACEOF
42758
42759 #
42760 # CONFIG_FILES section.
42761 #
42762
42763 # No need to generate the scripts if there are no CONFIG_FILES.
42764 # This happens for instance when ./config.status config.h
42765 if test -n "\$CONFIG_FILES"; then
42766 # Protect against being on the right side of a sed subst in config.status.
42767 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
42768 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
42769 s,@SHELL@,$SHELL,;t t
42770 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
42771 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
42772 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
42773 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
42774 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
42775 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
42776 s,@exec_prefix@,$exec_prefix,;t t
42777 s,@prefix@,$prefix,;t t
42778 s,@program_transform_name@,$program_transform_name,;t t
42779 s,@bindir@,$bindir,;t t
42780 s,@sbindir@,$sbindir,;t t
42781 s,@libexecdir@,$libexecdir,;t t
42782 s,@datadir@,$datadir,;t t
42783 s,@sysconfdir@,$sysconfdir,;t t
42784 s,@sharedstatedir@,$sharedstatedir,;t t
42785 s,@localstatedir@,$localstatedir,;t t
42786 s,@libdir@,$libdir,;t t
42787 s,@includedir@,$includedir,;t t
42788 s,@oldincludedir@,$oldincludedir,;t t
42789 s,@infodir@,$infodir,;t t
42790 s,@mandir@,$mandir,;t t
42791 s,@build_alias@,$build_alias,;t t
42792 s,@host_alias@,$host_alias,;t t
42793 s,@target_alias@,$target_alias,;t t
42794 s,@DEFS@,$DEFS,;t t
42795 s,@ECHO_C@,$ECHO_C,;t t
42796 s,@ECHO_N@,$ECHO_N,;t t
42797 s,@ECHO_T@,$ECHO_T,;t t
42798 s,@LIBS@,$LIBS,;t t
42799 s,@build@,$build,;t t
42800 s,@build_cpu@,$build_cpu,;t t
42801 s,@build_vendor@,$build_vendor,;t t
42802 s,@build_os@,$build_os,;t t
42803 s,@host@,$host,;t t
42804 s,@host_cpu@,$host_cpu,;t t
42805 s,@host_vendor@,$host_vendor,;t t
42806 s,@host_os@,$host_os,;t t
42807 s,@target@,$target,;t t
42808 s,@target_cpu@,$target_cpu,;t t
42809 s,@target_vendor@,$target_vendor,;t t
42810 s,@target_os@,$target_os,;t t
42811 s,@CC@,$CC,;t t
42812 s,@CFLAGS@,$CFLAGS,;t t
42813 s,@LDFLAGS@,$LDFLAGS,;t t
42814 s,@CPPFLAGS@,$CPPFLAGS,;t t
42815 s,@ac_ct_CC@,$ac_ct_CC,;t t
42816 s,@EXEEXT@,$EXEEXT,;t t
42817 s,@OBJEXT@,$OBJEXT,;t t
42818 s,@CPP@,$CPP,;t t
42819 s,@EGREP@,$EGREP,;t t
42820 s,@CXX@,$CXX,;t t
42821 s,@CXXFLAGS@,$CXXFLAGS,;t t
42822 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
42823 s,@RANLIB@,$RANLIB,;t t
42824 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
42825 s,@AR@,$AR,;t t
42826 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
42827 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
42828 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
42829 s,@STRIP@,$STRIP,;t t
42830 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
42831 s,@LN_S@,$LN_S,;t t
42832 s,@CXXCPP@,$CXXCPP,;t t
42833 s,@subdirs@,$subdirs,;t t
42834 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
42835 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
42836 s,@GTK_LIBS@,$GTK_LIBS,;t t
42837 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
42838 s,@X_CFLAGS@,$X_CFLAGS,;t t
42839 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
42840 s,@X_LIBS@,$X_LIBS,;t t
42841 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
42842 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
42843 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
42844 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
42845 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
42846 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
42847 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
42848 s,@RESCOMP@,$RESCOMP,;t t
42849 s,@DEREZ@,$DEREZ,;t t
42850 s,@SETFILE@,$SETFILE,;t t
42851 s,@LIBICONV@,$LIBICONV,;t t
42852 s,@EXTRALIBS_ESD@,$EXTRALIBS_ESD,;t t
42853 s,@SDL_CONFIG@,$SDL_CONFIG,;t t
42854 s,@SDL_CFLAGS@,$SDL_CFLAGS,;t t
42855 s,@SDL_LIBS@,$SDL_LIBS,;t t
42856 s,@LIBGNOMEPRINTUI_CFLAGS@,$LIBGNOMEPRINTUI_CFLAGS,;t t
42857 s,@LIBGNOMEPRINTUI_LIBS@,$LIBGNOMEPRINTUI_LIBS,;t t
42858 s,@CORE_BASE_LIBS@,$CORE_BASE_LIBS,;t t
42859 s,@CORE_GUI_LIBS@,$CORE_GUI_LIBS,;t t
42860 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
42861 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
42862 s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
42863 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
42864 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
42865 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
42866 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
42867 s,@VENDOR@,$VENDOR,;t t
42868 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
42869 s,@WX_FLAVOUR@,$WX_FLAVOUR,;t t
42870 s,@WX_LIB_FLAVOUR@,$WX_LIB_FLAVOUR,;t t
42871 s,@WXUNIV@,$WXUNIV,;t t
42872 s,@MONOLITHIC@,$MONOLITHIC,;t t
42873 s,@USE_PLUGINS@,$USE_PLUGINS,;t t
42874 s,@EXTRALIBS@,$EXTRALIBS,;t t
42875 s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
42876 s,@EXTRALIBS_HTML@,$EXTRALIBS_HTML,;t t
42877 s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
42878 s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
42879 s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
42880 s,@EXTRALIBS_SDL@,$EXTRALIBS_SDL,;t t
42881 s,@WITH_PLUGIN_SDL@,$WITH_PLUGIN_SDL,;t t
42882 s,@EXTRALIBS_GNOMEPRINT@,$EXTRALIBS_GNOMEPRINT,;t t
42883 s,@UNICODE@,$UNICODE,;t t
42884 s,@BUILD@,$BUILD,;t t
42885 s,@DEBUG_INFO@,$DEBUG_INFO,;t t
42886 s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
42887 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
42888 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
42889 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
42890 s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
42891 s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
42892 s,@CPPUNIT_CFLAGS@,$CPPUNIT_CFLAGS,;t t
42893 s,@CPPUNIT_LIBS@,$CPPUNIT_LIBS,;t t
42894 s,@SET_MAKE@,$SET_MAKE,;t t
42895 s,@MAKE_SET@,$MAKE_SET,;t t
42896 s,@ac_ct_AR@,$ac_ct_AR,;t t
42897 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
42898 s,@NM@,$NM,;t t
42899 s,@ac_ct_NM@,$ac_ct_NM,;t t
42900 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
42901 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
42902 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
42903 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
42904 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
42905 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
42906 s,@PLATFORM_MACOS@,$PLATFORM_MACOS,;t t
42907 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
42908 s,@PLATFORM_OS2@,$PLATFORM_OS2,;t t
42909 s,@PLATFORM_BEOS@,$PLATFORM_BEOS,;t t
42910 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
42911 s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
42912 s,@DLLIMP_SUFFIX@,$DLLIMP_SUFFIX,;t t
42913 s,@LIBPREFIX@,$LIBPREFIX,;t t
42914 s,@LIBEXT@,$LIBEXT,;t t
42915 s,@DLLPREFIX@,$DLLPREFIX,;t t
42916 s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
42917 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
42918 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
42919 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
42920 s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
42921 s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
42922 s,@PIC_FLAG@,$PIC_FLAG,;t t
42923 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
42924 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
42925 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
42926 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
42927 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
42928 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
42929 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
42930 s,@GCC_PCH@,$GCC_PCH,;t t
42931 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
42932 s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
42933 s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
42934 s,@COND_BUILD_DEBUG_UNICODE_0@,$COND_BUILD_DEBUG_UNICODE_0,;t t
42935 s,@COND_BUILD_DEBUG_UNICODE_1@,$COND_BUILD_DEBUG_UNICODE_1,;t t
42936 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
42937 s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
42938 s,@COND_BUILD_RELEASE_UNICODE_0@,$COND_BUILD_RELEASE_UNICODE_0,;t t
42939 s,@COND_BUILD_RELEASE_UNICODE_1@,$COND_BUILD_RELEASE_UNICODE_1,;t t
42940 s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
42941 s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
42942 s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
42943 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
42944 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
42945 s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
42946 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
42947 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
42948 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
42949 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
42950 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
42951 s,@COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1,;t t
42952 s,@COND_MONOLITHIC_0_SHARED_0_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1,;t t
42953 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
42954 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
42955 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
42956 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
42957 s,@COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1,;t t
42958 s,@COND_MONOLITHIC_0_SHARED_1_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1,;t t
42959 s,@COND_MONOLITHIC_0_USE_ODBC_1@,$COND_MONOLITHIC_0_USE_ODBC_1,;t t
42960 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
42961 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
42962 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
42963 s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
42964 s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
42965 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
42966 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
42967 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_@,$COND_PLATFORM_MACOSX_1_TOOLKIT_,;t t
42968 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
42969 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
42970 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
42971 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1,;t t
42972 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
42973 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF,;t t
42974 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_X11@,$COND_PLATFORM_MACOSX_1_TOOLKIT_X11,;t t
42975 s,@COND_PLATFORM_MACOSX_1_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_USE_GUI_1,;t t
42976 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
42977 s,@COND_PLATFORM_MACOS_1@,$COND_PLATFORM_MACOS_1,;t t
42978 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
42979 s,@COND_PLATFORM_OS2_1@,$COND_PLATFORM_OS2_1,;t t
42980 s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
42981 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
42982 s,@COND_PLATFORM_UNIX_1_USE_GUI_1@,$COND_PLATFORM_UNIX_1_USE_GUI_1,;t t
42983 s,@COND_PLATFORM_UNIX_1_USE_PLUGINS_0@,$COND_PLATFORM_UNIX_1_USE_PLUGINS_0,;t t
42984 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
42985 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
42986 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
42987 s,@COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0,;t t
42988 s,@COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0,;t t
42989 s,@COND_SHARED_0_TOOLKIT_PM_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0,;t t
42990 s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
42991 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
42992 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
42993 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
42994 s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
42995 s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
42996 s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
42997 s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
42998 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
42999 s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
43000 s,@COND_TOOLKIT_@,$COND_TOOLKIT_,;t t
43001 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
43002 s,@COND_TOOLKIT_COCOA_USE_GUI_1@,$COND_TOOLKIT_COCOA_USE_GUI_1,;t t
43003 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
43004 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
43005 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
43006 s,@COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0,;t t
43007 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
43008 s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
43009 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
43010 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
43011 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
43012 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
43013 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
43014 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
43015 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
43016 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
43017 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
43018 s,@COND_TOOLKIT_PM@,$COND_TOOLKIT_PM,;t t
43019 s,@COND_TOOLKIT_PM_USE_GUI_1@,$COND_TOOLKIT_PM_USE_GUI_1,;t t
43020 s,@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0,;t t
43021 s,@COND_TOOLKIT_WINCE@,$COND_TOOLKIT_WINCE,;t t
43022 s,@COND_TOOLKIT_WINCE_USE_GUI_1@,$COND_TOOLKIT_WINCE_USE_GUI_1,;t t
43023 s,@COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0,;t t
43024 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
43025 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
43026 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
43027 s,@COND_USE_EXCEPTIONS_0@,$COND_USE_EXCEPTIONS_0,;t t
43028 s,@COND_USE_EXCEPTIONS_1@,$COND_USE_EXCEPTIONS_1,;t t
43029 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
43030 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
43031 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
43032 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
43033 s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
43034 s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
43035 s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
43036 s,@COND_USE_ODBC_1@,$COND_USE_ODBC_1,;t t
43037 s,@COND_USE_OPENGL_1@,$COND_USE_OPENGL_1,;t t
43038 s,@COND_USE_PLUGINS_0@,$COND_USE_PLUGINS_0,;t t
43039 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
43040 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
43041 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
43042 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
43043 s,@COND_USE_XRC_1@,$COND_USE_XRC_1,;t t
43044 s,@COND_WITH_PLUGIN_SDL_1@,$COND_WITH_PLUGIN_SDL_1,;t t
43045 s,@COND_WXUNIV_0@,$COND_WXUNIV_0,;t t
43046 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
43047 s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
43048 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
43049 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
43050 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
43051 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
43052 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
43053 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
43054 s,@SHARED@,$SHARED,;t t
43055 s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
43056 s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
43057 s,@WXDEBUG_DEFINE@,$WXDEBUG_DEFINE,;t t
43058 s,@USE_GUI@,$USE_GUI,;t t
43059 s,@AFMINSTALL@,$AFMINSTALL,;t t
43060 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
43061 s,@TOOLKIT@,$TOOLKIT,;t t
43062 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
43063 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
43064 s,@TOOLCHAIN_FULLNAME@,$TOOLCHAIN_FULLNAME,;t t
43065 s,@TOOLCHAIN_DEFS@,$TOOLCHAIN_DEFS,;t t
43066 s,@TOOLCHAIN_DLL_DEFS@,$TOOLCHAIN_DLL_DEFS,;t t
43067 s,@cross_compiling@,$cross_compiling,;t t
43068 s,@WIDGET_SET@,$WIDGET_SET,;t t
43069 s,@WX_RELEASE@,$WX_RELEASE,;t t
43070 s,@WX_VERSION@,$WX_VERSION,;t t
43071 s,@WX_SUBVERSION@,$WX_SUBVERSION,;t t
43072 s,@WX_CHARTYPE@,$WX_CHARTYPE,;t t
43073 s,@WX_DEBUGTYPE@,$WX_DEBUGTYPE,;t t
43074 s,@WXCONFIG_EXTRALIBS@,$WXCONFIG_EXTRALIBS,;t t
43075 s,@WXCONFIG_INCLUDE@,$WXCONFIG_INCLUDE,;t t
43076 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
43077 s,@WXCONFIG_LDFLAGS_GUI@,$WXCONFIG_LDFLAGS_GUI,;t t
43078 s,@WX_LARGEFILE_FLAGS@,$WX_LARGEFILE_FLAGS,;t t
43079 s,@GCC_PRAGMA_FLAGS@,$GCC_PRAGMA_FLAGS,;t t
43080 s,@CODE_GEN_FLAGS@,$CODE_GEN_FLAGS,;t t
43081 s,@CODE_GEN_FLAGS_CXX@,$CODE_GEN_FLAGS_CXX,;t t
43082 s,@EXE_LINKER@,$EXE_LINKER,;t t
43083 s,@GUIDIST@,$GUIDIST,;t t
43084 s,@DISTDIR@,$DISTDIR,;t t
43085 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
43086 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
43087 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
43088 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
43089 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
43090 s,@RESFLAGS@,$RESFLAGS,;t t
43091 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
43092 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
43093 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
43094 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
43095 s,@MACRESCOMP@,$MACRESCOMP,;t t
43096 s,@MACSETFILE@,$MACSETFILE,;t t
43097 s,@MACRESWXCONFIG@,$MACRESWXCONFIG,;t t
43098 s,@GCC@,$GCC,;t t
43099 s,@DLLTOOL@,$DLLTOOL,;t t
43100 s,@CPPUNIT_CONFIG@,$CPPUNIT_CONFIG,;t t
43101 s,@LIBOBJS@,$LIBOBJS,;t t
43102 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
43103 CEOF
43104
43105 _ACEOF
43106
43107 cat >>$CONFIG_STATUS <<\_ACEOF
43108 # Split the substitutions into bite-sized pieces for seds with
43109 # small command number limits, like on Digital OSF/1 and HP-UX.
43110 ac_max_sed_lines=48
43111 ac_sed_frag=1 # Number of current file.
43112 ac_beg=1 # First line for current file.
43113 ac_end=$ac_max_sed_lines # Line after last line for current file.
43114 ac_more_lines=:
43115 ac_sed_cmds=
43116 while $ac_more_lines; do
43117 if test $ac_beg -gt 1; then
43118 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
43119 else
43120 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
43121 fi
43122 if test ! -s $tmp/subs.frag; then
43123 ac_more_lines=false
43124 else
43125 # The purpose of the label and of the branching condition is to
43126 # speed up the sed processing (if there are no `@' at all, there
43127 # is no need to browse any of the substitutions).
43128 # These are the two extra sed commands mentioned above.
43129 (echo ':t
43130 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
43131 if test -z "$ac_sed_cmds"; then
43132 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
43133 else
43134 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
43135 fi
43136 ac_sed_frag=`expr $ac_sed_frag + 1`
43137 ac_beg=$ac_end
43138 ac_end=`expr $ac_end + $ac_max_sed_lines`
43139 fi
43140 done
43141 if test -z "$ac_sed_cmds"; then
43142 ac_sed_cmds=cat
43143 fi
43144 fi # test -n "$CONFIG_FILES"
43145
43146 _ACEOF
43147 cat >>$CONFIG_STATUS <<\_ACEOF
43148 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
43149 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
43150 case $ac_file in
43151 - | *:- | *:-:* ) # input from stdin
43152 cat >$tmp/stdin
43153 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
43154 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
43155 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
43156 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
43157 * ) ac_file_in=$ac_file.in ;;
43158 esac
43159
43160 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
43161 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
43162 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
43163 X"$ac_file" : 'X\(//\)[^/]' \| \
43164 X"$ac_file" : 'X\(//\)$' \| \
43165 X"$ac_file" : 'X\(/\)' \| \
43166 . : '\(.\)' 2>/dev/null ||
43167 echo X"$ac_file" |
43168 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
43169 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
43170 /^X\(\/\/\)$/{ s//\1/; q; }
43171 /^X\(\/\).*/{ s//\1/; q; }
43172 s/.*/./; q'`
43173 { if $as_mkdir_p; then
43174 mkdir -p "$ac_dir"
43175 else
43176 as_dir="$ac_dir"
43177 as_dirs=
43178 while test ! -d "$as_dir"; do
43179 as_dirs="$as_dir $as_dirs"
43180 as_dir=`(dirname "$as_dir") 2>/dev/null ||
43181 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
43182 X"$as_dir" : 'X\(//\)[^/]' \| \
43183 X"$as_dir" : 'X\(//\)$' \| \
43184 X"$as_dir" : 'X\(/\)' \| \
43185 . : '\(.\)' 2>/dev/null ||
43186 echo X"$as_dir" |
43187 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
43188 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
43189 /^X\(\/\/\)$/{ s//\1/; q; }
43190 /^X\(\/\).*/{ s//\1/; q; }
43191 s/.*/./; q'`
43192 done
43193 test ! -n "$as_dirs" || mkdir $as_dirs
43194 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
43195 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
43196 { (exit 1); exit 1; }; }; }
43197
43198 ac_builddir=.
43199
43200 if test "$ac_dir" != .; then
43201 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
43202 # A "../" for each directory in $ac_dir_suffix.
43203 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
43204 else
43205 ac_dir_suffix= ac_top_builddir=
43206 fi
43207
43208 case $srcdir in
43209 .) # No --srcdir option. We are building in place.
43210 ac_srcdir=.
43211 if test -z "$ac_top_builddir"; then
43212 ac_top_srcdir=.
43213 else
43214 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
43215 fi ;;
43216 [\\/]* | ?:[\\/]* ) # Absolute path.
43217 ac_srcdir=$srcdir$ac_dir_suffix;
43218 ac_top_srcdir=$srcdir ;;
43219 *) # Relative path.
43220 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
43221 ac_top_srcdir=$ac_top_builddir$srcdir ;;
43222 esac
43223
43224 # Do not use `cd foo && pwd` to compute absolute paths, because
43225 # the directories may not exist.
43226 case `pwd` in
43227 .) ac_abs_builddir="$ac_dir";;
43228 *)
43229 case "$ac_dir" in
43230 .) ac_abs_builddir=`pwd`;;
43231 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
43232 *) ac_abs_builddir=`pwd`/"$ac_dir";;
43233 esac;;
43234 esac
43235 case $ac_abs_builddir in
43236 .) ac_abs_top_builddir=${ac_top_builddir}.;;
43237 *)
43238 case ${ac_top_builddir}. in
43239 .) ac_abs_top_builddir=$ac_abs_builddir;;
43240 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
43241 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
43242 esac;;
43243 esac
43244 case $ac_abs_builddir in
43245 .) ac_abs_srcdir=$ac_srcdir;;
43246 *)
43247 case $ac_srcdir in
43248 .) ac_abs_srcdir=$ac_abs_builddir;;
43249 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
43250 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
43251 esac;;
43252 esac
43253 case $ac_abs_builddir in
43254 .) ac_abs_top_srcdir=$ac_top_srcdir;;
43255 *)
43256 case $ac_top_srcdir in
43257 .) ac_abs_top_srcdir=$ac_abs_builddir;;
43258 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
43259 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
43260 esac;;
43261 esac
43262
43263
43264 case $INSTALL in
43265 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
43266 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
43267 esac
43268
43269 if test x"$ac_file" != x-; then
43270 { echo "$as_me:$LINENO: creating $ac_file" >&5
43271 echo "$as_me: creating $ac_file" >&6;}
43272 rm -f "$ac_file"
43273 fi
43274 # Let's still pretend it is `configure' which instantiates (i.e., don't
43275 # use $as_me), people would be surprised to read:
43276 # /* config.h. Generated by config.status. */
43277 if test x"$ac_file" = x-; then
43278 configure_input=
43279 else
43280 configure_input="$ac_file. "
43281 fi
43282 configure_input=$configure_input"Generated from `echo $ac_file_in |
43283 sed 's,.*/,,'` by configure."
43284
43285 # First look for the input files in the build tree, otherwise in the
43286 # src tree.
43287 ac_file_inputs=`IFS=:
43288 for f in $ac_file_in; do
43289 case $f in
43290 -) echo $tmp/stdin ;;
43291 [\\/$]*)
43292 # Absolute (can't be DOS-style, as IFS=:)
43293 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
43294 echo "$as_me: error: cannot find input file: $f" >&2;}
43295 { (exit 1); exit 1; }; }
43296 echo "$f";;
43297 *) # Relative
43298 if test -f "$f"; then
43299 # Build tree
43300 echo "$f"
43301 elif test -f "$srcdir/$f"; then
43302 # Source tree
43303 echo "$srcdir/$f"
43304 else
43305 # /dev/null tree
43306 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
43307 echo "$as_me: error: cannot find input file: $f" >&2;}
43308 { (exit 1); exit 1; }; }
43309 fi;;
43310 esac
43311 done` || { (exit 1); exit 1; }
43312 _ACEOF
43313 cat >>$CONFIG_STATUS <<_ACEOF
43314 sed "$ac_vpsub
43315 $extrasub
43316 _ACEOF
43317 cat >>$CONFIG_STATUS <<\_ACEOF
43318 :t
43319 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
43320 s,@configure_input@,$configure_input,;t t
43321 s,@srcdir@,$ac_srcdir,;t t
43322 s,@abs_srcdir@,$ac_abs_srcdir,;t t
43323 s,@top_srcdir@,$ac_top_srcdir,;t t
43324 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
43325 s,@builddir@,$ac_builddir,;t t
43326 s,@abs_builddir@,$ac_abs_builddir,;t t
43327 s,@top_builddir@,$ac_top_builddir,;t t
43328 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
43329 s,@INSTALL@,$ac_INSTALL,;t t
43330 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
43331 rm -f $tmp/stdin
43332 if test x"$ac_file" != x-; then
43333 mv $tmp/out $ac_file
43334 else
43335 cat $tmp/out
43336 rm -f $tmp/out
43337 fi
43338
43339 # Run the commands associated with the file.
43340 case $ac_file in
43341 lib/wx/config/${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
43342 lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
43343 esac
43344 done
43345 _ACEOF
43346 cat >>$CONFIG_STATUS <<\_ACEOF
43347
43348 #
43349 # CONFIG_HEADER section.
43350 #
43351
43352 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
43353 # NAME is the cpp macro being defined and VALUE is the value it is being given.
43354 #
43355 # ac_d sets the value in "#define NAME VALUE" lines.
43356 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
43357 ac_dB='[ ].*$,\1#\2'
43358 ac_dC=' '
43359 ac_dD=',;t'
43360 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
43361 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
43362 ac_uB='$,\1#\2define\3'
43363 ac_uC=' '
43364 ac_uD=',;t'
43365
43366 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
43367 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
43368 case $ac_file in
43369 - | *:- | *:-:* ) # input from stdin
43370 cat >$tmp/stdin
43371 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
43372 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
43373 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
43374 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
43375 * ) ac_file_in=$ac_file.in ;;
43376 esac
43377
43378 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
43379 echo "$as_me: creating $ac_file" >&6;}
43380
43381 # First look for the input files in the build tree, otherwise in the
43382 # src tree.
43383 ac_file_inputs=`IFS=:
43384 for f in $ac_file_in; do
43385 case $f in
43386 -) echo $tmp/stdin ;;
43387 [\\/$]*)
43388 # Absolute (can't be DOS-style, as IFS=:)
43389 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
43390 echo "$as_me: error: cannot find input file: $f" >&2;}
43391 { (exit 1); exit 1; }; }
43392 # Do quote $f, to prevent DOS paths from being IFS'd.
43393 echo "$f";;
43394 *) # Relative
43395 if test -f "$f"; then
43396 # Build tree
43397 echo "$f"
43398 elif test -f "$srcdir/$f"; then
43399 # Source tree
43400 echo "$srcdir/$f"
43401 else
43402 # /dev/null tree
43403 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
43404 echo "$as_me: error: cannot find input file: $f" >&2;}
43405 { (exit 1); exit 1; }; }
43406 fi;;
43407 esac
43408 done` || { (exit 1); exit 1; }
43409 # Remove the trailing spaces.
43410 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
43411
43412 _ACEOF
43413
43414 # Transform confdefs.h into two sed scripts, `conftest.defines' and
43415 # `conftest.undefs', that substitutes the proper values into
43416 # config.h.in to produce config.h. The first handles `#define'
43417 # templates, and the second `#undef' templates.
43418 # And first: Protect against being on the right side of a sed subst in
43419 # config.status. Protect against being in an unquoted here document
43420 # in config.status.
43421 rm -f conftest.defines conftest.undefs
43422 # Using a here document instead of a string reduces the quoting nightmare.
43423 # Putting comments in sed scripts is not portable.
43424 #
43425 # `end' is used to avoid that the second main sed command (meant for
43426 # 0-ary CPP macros) applies to n-ary macro definitions.
43427 # See the Autoconf documentation for `clear'.
43428 cat >confdef2sed.sed <<\_ACEOF
43429 s/[\\&,]/\\&/g
43430 s,[\\$`],\\&,g
43431 t clear
43432 : clear
43433 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
43434 t end
43435 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
43436 : end
43437 _ACEOF
43438 # If some macros were called several times there might be several times
43439 # the same #defines, which is useless. Nevertheless, we may not want to
43440 # sort them, since we want the *last* AC-DEFINE to be honored.
43441 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
43442 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
43443 rm -f confdef2sed.sed
43444
43445 # This sed command replaces #undef with comments. This is necessary, for
43446 # example, in the case of _POSIX_SOURCE, which is predefined and required
43447 # on some systems where configure will not decide to define it.
43448 cat >>conftest.undefs <<\_ACEOF
43449 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
43450 _ACEOF
43451
43452 # Break up conftest.defines because some shells have a limit on the size
43453 # of here documents, and old seds have small limits too (100 cmds).
43454 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
43455 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
43456 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
43457 echo ' :' >>$CONFIG_STATUS
43458 rm -f conftest.tail
43459 while grep . conftest.defines >/dev/null
43460 do
43461 # Write a limited-size here document to $tmp/defines.sed.
43462 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
43463 # Speed up: don't consider the non `#define' lines.
43464 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
43465 # Work around the forget-to-reset-the-flag bug.
43466 echo 't clr' >>$CONFIG_STATUS
43467 echo ': clr' >>$CONFIG_STATUS
43468 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
43469 echo 'CEOF
43470 sed -f $tmp/defines.sed $tmp/in >$tmp/out
43471 rm -f $tmp/in
43472 mv $tmp/out $tmp/in
43473 ' >>$CONFIG_STATUS
43474 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
43475 rm -f conftest.defines
43476 mv conftest.tail conftest.defines
43477 done
43478 rm -f conftest.defines
43479 echo ' fi # grep' >>$CONFIG_STATUS
43480 echo >>$CONFIG_STATUS
43481
43482 # Break up conftest.undefs because some shells have a limit on the size
43483 # of here documents, and old seds have small limits too (100 cmds).
43484 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
43485 rm -f conftest.tail
43486 while grep . conftest.undefs >/dev/null
43487 do
43488 # Write a limited-size here document to $tmp/undefs.sed.
43489 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
43490 # Speed up: don't consider the non `#undef'
43491 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
43492 # Work around the forget-to-reset-the-flag bug.
43493 echo 't clr' >>$CONFIG_STATUS
43494 echo ': clr' >>$CONFIG_STATUS
43495 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
43496 echo 'CEOF
43497 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
43498 rm -f $tmp/in
43499 mv $tmp/out $tmp/in
43500 ' >>$CONFIG_STATUS
43501 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
43502 rm -f conftest.undefs
43503 mv conftest.tail conftest.undefs
43504 done
43505 rm -f conftest.undefs
43506
43507 cat >>$CONFIG_STATUS <<\_ACEOF
43508 # Let's still pretend it is `configure' which instantiates (i.e., don't
43509 # use $as_me), people would be surprised to read:
43510 # /* config.h. Generated by config.status. */
43511 if test x"$ac_file" = x-; then
43512 echo "/* Generated by configure. */" >$tmp/config.h
43513 else
43514 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
43515 fi
43516 cat $tmp/in >>$tmp/config.h
43517 rm -f $tmp/in
43518 if test x"$ac_file" != x-; then
43519 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
43520 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
43521 echo "$as_me: $ac_file is unchanged" >&6;}
43522 else
43523 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
43524 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
43525 X"$ac_file" : 'X\(//\)[^/]' \| \
43526 X"$ac_file" : 'X\(//\)$' \| \
43527 X"$ac_file" : 'X\(/\)' \| \
43528 . : '\(.\)' 2>/dev/null ||
43529 echo X"$ac_file" |
43530 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
43531 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
43532 /^X\(\/\/\)$/{ s//\1/; q; }
43533 /^X\(\/\).*/{ s//\1/; q; }
43534 s/.*/./; q'`
43535 { if $as_mkdir_p; then
43536 mkdir -p "$ac_dir"
43537 else
43538 as_dir="$ac_dir"
43539 as_dirs=
43540 while test ! -d "$as_dir"; do
43541 as_dirs="$as_dir $as_dirs"
43542 as_dir=`(dirname "$as_dir") 2>/dev/null ||
43543 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
43544 X"$as_dir" : 'X\(//\)[^/]' \| \
43545 X"$as_dir" : 'X\(//\)$' \| \
43546 X"$as_dir" : 'X\(/\)' \| \
43547 . : '\(.\)' 2>/dev/null ||
43548 echo X"$as_dir" |
43549 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
43550 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
43551 /^X\(\/\/\)$/{ s//\1/; q; }
43552 /^X\(\/\).*/{ s//\1/; q; }
43553 s/.*/./; q'`
43554 done
43555 test ! -n "$as_dirs" || mkdir $as_dirs
43556 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
43557 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
43558 { (exit 1); exit 1; }; }; }
43559
43560 rm -f $ac_file
43561 mv $tmp/config.h $ac_file
43562 fi
43563 else
43564 cat $tmp/config.h
43565 rm -f $tmp/config.h
43566 fi
43567 done
43568 _ACEOF
43569 cat >>$CONFIG_STATUS <<\_ACEOF
43570
43571 #
43572 # CONFIG_COMMANDS section.
43573 #
43574 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
43575 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
43576 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
43577 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
43578 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
43579 X"$ac_dest" : 'X\(//\)[^/]' \| \
43580 X"$ac_dest" : 'X\(//\)$' \| \
43581 X"$ac_dest" : 'X\(/\)' \| \
43582 . : '\(.\)' 2>/dev/null ||
43583 echo X"$ac_dest" |
43584 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
43585 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
43586 /^X\(\/\/\)$/{ s//\1/; q; }
43587 /^X\(\/\).*/{ s//\1/; q; }
43588 s/.*/./; q'`
43589 { if $as_mkdir_p; then
43590 mkdir -p "$ac_dir"
43591 else
43592 as_dir="$ac_dir"
43593 as_dirs=
43594 while test ! -d "$as_dir"; do
43595 as_dirs="$as_dir $as_dirs"
43596 as_dir=`(dirname "$as_dir") 2>/dev/null ||
43597 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
43598 X"$as_dir" : 'X\(//\)[^/]' \| \
43599 X"$as_dir" : 'X\(//\)$' \| \
43600 X"$as_dir" : 'X\(/\)' \| \
43601 . : '\(.\)' 2>/dev/null ||
43602 echo X"$as_dir" |
43603 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
43604 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
43605 /^X\(\/\/\)$/{ s//\1/; q; }
43606 /^X\(\/\).*/{ s//\1/; q; }
43607 s/.*/./; q'`
43608 done
43609 test ! -n "$as_dirs" || mkdir $as_dirs
43610 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
43611 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
43612 { (exit 1); exit 1; }; }; }
43613
43614 ac_builddir=.
43615
43616 if test "$ac_dir" != .; then
43617 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
43618 # A "../" for each directory in $ac_dir_suffix.
43619 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
43620 else
43621 ac_dir_suffix= ac_top_builddir=
43622 fi
43623
43624 case $srcdir in
43625 .) # No --srcdir option. We are building in place.
43626 ac_srcdir=.
43627 if test -z "$ac_top_builddir"; then
43628 ac_top_srcdir=.
43629 else
43630 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
43631 fi ;;
43632 [\\/]* | ?:[\\/]* ) # Absolute path.
43633 ac_srcdir=$srcdir$ac_dir_suffix;
43634 ac_top_srcdir=$srcdir ;;
43635 *) # Relative path.
43636 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
43637 ac_top_srcdir=$ac_top_builddir$srcdir ;;
43638 esac
43639
43640 # Do not use `cd foo && pwd` to compute absolute paths, because
43641 # the directories may not exist.
43642 case `pwd` in
43643 .) ac_abs_builddir="$ac_dir";;
43644 *)
43645 case "$ac_dir" in
43646 .) ac_abs_builddir=`pwd`;;
43647 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
43648 *) ac_abs_builddir=`pwd`/"$ac_dir";;
43649 esac;;
43650 esac
43651 case $ac_abs_builddir in
43652 .) ac_abs_top_builddir=${ac_top_builddir}.;;
43653 *)
43654 case ${ac_top_builddir}. in
43655 .) ac_abs_top_builddir=$ac_abs_builddir;;
43656 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
43657 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
43658 esac;;
43659 esac
43660 case $ac_abs_builddir in
43661 .) ac_abs_srcdir=$ac_srcdir;;
43662 *)
43663 case $ac_srcdir in
43664 .) ac_abs_srcdir=$ac_abs_builddir;;
43665 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
43666 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
43667 esac;;
43668 esac
43669 case $ac_abs_builddir in
43670 .) ac_abs_top_srcdir=$ac_top_srcdir;;
43671 *)
43672 case $ac_top_srcdir in
43673 .) ac_abs_top_srcdir=$ac_abs_builddir;;
43674 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
43675 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
43676 esac;;
43677 esac
43678
43679
43680 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
43681 echo "$as_me: executing $ac_dest commands" >&6;}
43682 case $ac_dest in
43683 wx-config ) rm -f wx-config
43684 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
43685 ;;
43686 esac
43687 done
43688 _ACEOF
43689
43690 cat >>$CONFIG_STATUS <<\_ACEOF
43691
43692 { (exit 0); exit 0; }
43693 _ACEOF
43694 chmod +x $CONFIG_STATUS
43695 ac_clean_files=$ac_clean_files_save
43696
43697
43698 # configure is writing to config.log, and then calls config.status.
43699 # config.status does its own redirection, appending to config.log.
43700 # Unfortunately, on DOS this fails, as config.log is still kept open
43701 # by configure, so config.status won't be able to write to it; its
43702 # output is simply discarded. So we exec the FD to /dev/null,
43703 # effectively closing config.log, so it can be properly (re)opened and
43704 # appended to by config.status. When coming back to configure, we
43705 # need to make the FD available again.
43706 if test "$no_create" != yes; then
43707 ac_cs_success=:
43708 ac_config_status_args=
43709 test "$silent" = yes &&
43710 ac_config_status_args="$ac_config_status_args --quiet"
43711 exec 5>/dev/null
43712 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
43713 exec 5>>config.log
43714 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
43715 # would make configure fail if this is the last instruction.
43716 $ac_cs_success || { (exit 1); exit 1; }
43717 fi
43718
43719 #
43720 # CONFIG_SUBDIRS section.
43721 #
43722 if test "$no_recursion" != yes; then
43723
43724 # Remove --cache-file and --srcdir arguments so they do not pile up.
43725 ac_sub_configure_args=
43726 ac_prev=
43727 for ac_arg in $ac_configure_args; do
43728 if test -n "$ac_prev"; then
43729 ac_prev=
43730 continue
43731 fi
43732 case $ac_arg in
43733 -cache-file | --cache-file | --cache-fil | --cache-fi \
43734 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
43735 ac_prev=cache_file ;;
43736 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
43737 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
43738 | --c=*)
43739 ;;
43740 --config-cache | -C)
43741 ;;
43742 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
43743 ac_prev=srcdir ;;
43744 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
43745 ;;
43746 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
43747 ac_prev=prefix ;;
43748 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
43749 ;;
43750 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
43751 esac
43752 done
43753
43754 # Always prepend --prefix to ensure using the same prefix
43755 # in subdir configurations.
43756 ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args"
43757
43758 ac_popdir=`pwd`
43759 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
43760
43761 # Do not complain, so a configure script can configure whichever
43762 # parts of a large source tree are present.
43763 test -d $srcdir/$ac_dir || continue
43764
43765 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
43766 echo "$as_me: configuring in $ac_dir" >&6;}
43767 { if $as_mkdir_p; then
43768 mkdir -p "$ac_dir"
43769 else
43770 as_dir="$ac_dir"
43771 as_dirs=
43772 while test ! -d "$as_dir"; do
43773 as_dirs="$as_dir $as_dirs"
43774 as_dir=`(dirname "$as_dir") 2>/dev/null ||
43775 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
43776 X"$as_dir" : 'X\(//\)[^/]' \| \
43777 X"$as_dir" : 'X\(//\)$' \| \
43778 X"$as_dir" : 'X\(/\)' \| \
43779 . : '\(.\)' 2>/dev/null ||
43780 echo X"$as_dir" |
43781 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
43782 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
43783 /^X\(\/\/\)$/{ s//\1/; q; }
43784 /^X\(\/\).*/{ s//\1/; q; }
43785 s/.*/./; q'`
43786 done
43787 test ! -n "$as_dirs" || mkdir $as_dirs
43788 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
43789 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
43790 { (exit 1); exit 1; }; }; }
43791
43792 ac_builddir=.
43793
43794 if test "$ac_dir" != .; then
43795 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
43796 # A "../" for each directory in $ac_dir_suffix.
43797 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
43798 else
43799 ac_dir_suffix= ac_top_builddir=
43800 fi
43801
43802 case $srcdir in
43803 .) # No --srcdir option. We are building in place.
43804 ac_srcdir=.
43805 if test -z "$ac_top_builddir"; then
43806 ac_top_srcdir=.
43807 else
43808 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
43809 fi ;;
43810 [\\/]* | ?:[\\/]* ) # Absolute path.
43811 ac_srcdir=$srcdir$ac_dir_suffix;
43812 ac_top_srcdir=$srcdir ;;
43813 *) # Relative path.
43814 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
43815 ac_top_srcdir=$ac_top_builddir$srcdir ;;
43816 esac
43817
43818 # Do not use `cd foo && pwd` to compute absolute paths, because
43819 # the directories may not exist.
43820 case `pwd` in
43821 .) ac_abs_builddir="$ac_dir";;
43822 *)
43823 case "$ac_dir" in
43824 .) ac_abs_builddir=`pwd`;;
43825 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
43826 *) ac_abs_builddir=`pwd`/"$ac_dir";;
43827 esac;;
43828 esac
43829 case $ac_abs_builddir in
43830 .) ac_abs_top_builddir=${ac_top_builddir}.;;
43831 *)
43832 case ${ac_top_builddir}. in
43833 .) ac_abs_top_builddir=$ac_abs_builddir;;
43834 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
43835 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
43836 esac;;
43837 esac
43838 case $ac_abs_builddir in
43839 .) ac_abs_srcdir=$ac_srcdir;;
43840 *)
43841 case $ac_srcdir in
43842 .) ac_abs_srcdir=$ac_abs_builddir;;
43843 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
43844 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
43845 esac;;
43846 esac
43847 case $ac_abs_builddir in
43848 .) ac_abs_top_srcdir=$ac_top_srcdir;;
43849 *)
43850 case $ac_top_srcdir in
43851 .) ac_abs_top_srcdir=$ac_abs_builddir;;
43852 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
43853 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
43854 esac;;
43855 esac
43856
43857
43858 cd $ac_dir
43859
43860 # Check for guested configure; otherwise get Cygnus style configure.
43861 if test -f $ac_srcdir/configure.gnu; then
43862 ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'"
43863 elif test -f $ac_srcdir/configure; then
43864 ac_sub_configure="$SHELL '$ac_srcdir/configure'"
43865 elif test -f $ac_srcdir/configure.in; then
43866 ac_sub_configure=$ac_configure
43867 else
43868 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
43869 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
43870 ac_sub_configure=
43871 fi
43872
43873 # The recursion is here.
43874 if test -n "$ac_sub_configure"; then
43875 # Make the cache file name correct relative to the subdirectory.
43876 case $cache_file in
43877 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
43878 *) # Relative path.
43879 ac_sub_cache_file=$ac_top_builddir$cache_file ;;
43880 esac
43881
43882 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
43883 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
43884 # The eval makes quoting arguments work.
43885 eval $ac_sub_configure $ac_sub_configure_args \
43886 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
43887 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
43888 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
43889 { (exit 1); exit 1; }; }
43890 fi
43891
43892 cd $ac_popdir
43893 done
43894 fi
43895
43896
43897 echo
43898 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
43899 echo ""
43900 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_USER:-base only}"
43901 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
43902
43903 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
43904 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
43905 echo " Should wxWidgets be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
43906
43907 echo " What level of wxWidgets compatibility should be enabled?"
43908 echo " wxWidgets 2.2 ${WXWIN_COMPATIBILITY_2_2:-no}"
43909 echo " wxWidgets 2.4 ${WXWIN_COMPATIBILITY_2_4:-yes}"
43910
43911 echo " Which libraries should wxWidgets use?"
43912 echo " jpeg ${wxUSE_LIBJPEG-none}"
43913 echo " png ${wxUSE_LIBPNG-none}"
43914 echo " regex ${wxUSE_REGEX}"
43915 echo " tiff ${wxUSE_LIBTIFF-none}"
43916 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
43917 echo " xpm ${wxUSE_LIBXPM-none}"
43918 fi
43919 echo " zlib ${wxUSE_ZLIB}"
43920 echo " odbc ${wxUSE_ODBC}"
43921 echo " expat ${wxUSE_EXPAT}"
43922 echo " libmspack ${wxUSE_LIBMSPACK}"
43923 echo " sdl ${wxUSE_LIBSDL}"
43924 echo " gnomeprint ${wxUSE_LIBGNOMEPRINT-none}"
43925
43926 echo ""
43927